/* Akira Hu — portfolio. Hand-written stylesheet matching the original Adobe Portfolio theme values. */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/bebas-neue-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/bebas-neue-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; size-adjust: 94%; src: url(/fonts/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 94%;
  src: url(/fonts/jost-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 94%;
  src: url(/fonts/jost-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 400; font-display: swap; size-adjust: 94%;
  src: url(/fonts/jost-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 400; font-display: swap; size-adjust: 94%;
  src: url(/fonts/jost-latin-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 700; font-display: swap; size-adjust: 94%; src: url(/fonts/jost-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 700; font-display: swap; size-adjust: 94%; src: url(/fonts/jost-latin-700-italic.woff2) format("woff2"); }

:root {
  --bg: #111111;
  --text: #999999;
  --white: #ffffff;
  --nav: #aeaeae;
  --icon: #cccccc;
  --caption: #a9a9a9;
  --field: #373737;
  --font-display: "Bebas Neue", "Bebas Kai", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Jost", "Futura PT", Futura, "Century Gothic", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); font-family: var(--font-display); font-weight: 400; color: var(--text);
  letter-spacing: .02em; /* Bebas Neue runs ~6% narrower than the original Bebas Kai; this restores the same line lengths */
  animation: page-in .45s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body.is-leaving { opacity: 0; transition: opacity .25s ease; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100000; padding: 10px 16px; background: var(--white); color: var(--bg); font-size: 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- Social icons ---------- */
.social { font-size: 0; }
.social li { display: inline-block; vertical-align: middle; }
.social a { display: block; }
.social .icon { display: block; width: 30px; height: 30px; padding: 6px; fill: var(--icon); transition: fill .15s ease, opacity .15s ease; }
.social a:hover .icon, .social a:focus-visible .icon { fill: var(--white); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 3; display: flex; align-items: center; height: 160px; padding: 0 4% 10px; }
.site-nav { width: 30%; text-align: left; }
.site-nav a { display: inline-block; vertical-align: middle; padding-right: 20px; color: var(--nav);
  font-size: 19px; line-height: 19px; text-transform: uppercase; transition: color .15s ease; }
.site-nav a:last-child { padding-right: 0; }
.site-nav a:hover, .site-nav a.active { color: var(--white); }
.logo { flex: 1; width: 40%; max-width: 100%; margin: 0 auto; padding: 0 5%; text-align: center;
  font-size: 35px; line-height: 35px; text-transform: uppercase; color: var(--white); word-wrap: break-word; }
.logo a:hover { color: var(--white); }
.header-social { width: 30%; text-align: right; }
.header-social li { padding-left: 10px; }
.header-social li:first-child { padding-left: 0; }
.hamburger { display: none; }
.mobile-nav { display: none; }

/* ---------- Layout ---------- */
.site-content { width: 92%; margin: 0 4%; }
.page { max-width: 1400px; margin: 0 auto; }

/* ---------- Gallery covers ---------- */
.covers { display: flex; flex-wrap: wrap; }
.cover { position: relative; display: block; width: calc(50% - 2.5px); margin: 0 5px 5px 0; overflow: hidden; }
.cover:nth-child(2n) { margin-right: 0; }
.cover-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255, 255, 255, .03); transform: translateZ(0); }
.cover-image::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: 0; transition: opacity .2s ease; }
.cover-img { position: absolute; top: 50%; left: 50%; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; transform: translate(-50%, -50%); }
.cover .details { position: absolute; inset: 0; display: flex; align-items: center; padding: 8%; opacity: 0; transition: opacity .15s ease; }
.cover .details-inner { width: 100%; text-align: center; }
.cover:hover .cover-image::after, .cover:focus-visible .cover-image::after { opacity: .9; }
.cover:hover .details, .cover:focus-visible .details { opacity: 1; }
.cover .title { color: var(--white); font-size: 24px; line-height: 28px; padding-bottom: 3px; text-transform: uppercase; }
.cover .date { font-size: 16px; line-height: 20px; padding-top: 5px; color: var(--text); }
.cover .custom1, .cover .custom2 { font-size: 16px; line-height: 20px; padding-top: 12px; color: var(--text); }

/* Touch screens can't hover: keep the project title visible on a soft gradient (small upgrade) */
@media (hover: none) {
  .page-gallery .cover .details { opacity: 1; align-items: flex-end; padding: 0 6% 5%; background: linear-gradient(to top, rgba(17, 17, 17, .78), rgba(17, 17, 17, 0) 55%); }
  .page-gallery .cover .date, .page-gallery .cover .custom1, .page-gallery .cover .custom2 { display: none; }
}

/* ---------- Page header ---------- */
.page-header { max-width: 620px; margin: 0 auto; padding: 30px 0 80px; text-align: center; }
.page-header .title { color: var(--white); font-size: 30px; line-height: 34px; font-weight: 400; padding-bottom: 20px; }
.page-header .description { color: var(--text); font-size: 20px; line-height: 26px; padding-bottom: 20px; white-space: pre-line; word-wrap: break-word; }
.page-header .description a { color: var(--caption); text-decoration: underline; }

/* ---------- Modules ---------- */
.modules::after { content: ""; display: table; clear: both; }
.m-image { margin: 0 auto; padding-bottom: 20px; }
.m-image img { margin: 0 auto; }
.m-image .lb { display: block; cursor: zoom-in; }
.m-video { margin: 0 auto; padding-bottom: 40px; width: 100%; }
.m-text { max-width: 800px; margin: 0 auto; padding: 20px 0 40px; word-break: break-word; }
[style*="--font-body"] { letter-spacing: -.014em; } /* with size-adjust above, Jost matches Futura PT line lengths */
.underline { text-decoration: underline; } .italic { font-style: italic; } .bold { font-weight: 700; } .strikethrough { text-decoration: line-through; }

.rich-text { text-align: center; }
.rich-text div, .rich-text p { color: var(--text); font-size: 20px; line-height: 26px; padding-bottom: 20px; text-align: center; }
.rich-text .title { color: var(--white); font-size: 30px; line-height: 34px; padding-bottom: 20px; }
.rich-text .sub-title { color: var(--white); font-size: 24px; line-height: 30px; padding: 20px 0 30px; }
.rich-text a { color: var(--caption); text-decoration: underline; }
.rich-text .texteditor-inline-color a { color: inherit; }
.rich-text .texteditor-inline-fontsize a { font-size: inherit; }
.m-text.align-left .rich-text, .m-text.align-left .rich-text div, .m-text.align-left .rich-text p { text-align: left; }
.m-text.align-right .rich-text, .m-text.align-right .rich-text div, .m-text.align-right .rich-text p { text-align: right; }
.caption { max-width: 800px; margin: 0 auto; color: var(--caption); font-size: 16px; line-height: 16px; text-align: center; }
.caption div, .caption p { color: var(--caption); font-size: 16px; line-height: 16px; padding: 10px 0 20px; text-align: center; }

/* Multi-column rows */
.m-tree { display: flex; align-items: flex-start; }
.m-tree.valign-center { align-items: center; }
.m-tree.valign-bottom { align-items: flex-end; }
.m-col { min-width: 1px; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.m-col:first-child { border-left: 0; }
.m-col:last-child { border-right: 0; }
.m-col .m-text { padding-left: 0; padding-right: 0; }

/* Video (replaces Adobe's player: poster + big play button, native controls once playing) */
.video { position: relative; width: 100%; background: #000; overflow: hidden; }
.video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: transparent; }
.video .play svg { width: 88px; height: 88px; padding: 24px 22px 24px 28px; border-radius: 50%; background: rgba(255, 255, 255, .92); fill: #3a3a3a;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25); transition: transform .2s ease, background .2s ease; }
.video .play:hover svg, .video .play:focus-visible svg { transform: scale(1.06); background: #fff; }
.video.is-playing .play { display: none; }

/* ---------- You may also like ---------- */
.other-projects { padding: 60px 0; max-width: 1400px; margin: 0 auto; }
.other-title { color: var(--white); font-size: 24px; line-height: 26px; font-weight: 400; margin: 0 0 30px; text-align: left; }
.other-projects .cover:nth-child(n+3) { display: none; }
.other-projects .cover .title { font-size: 22px; line-height: 24px; padding-bottom: 0; text-transform: none; }
.other-projects .cover .date { padding-top: 10px; }

/* ---------- Back to top + footer ---------- */
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 3; width: 60px; height: 60px; border-radius: 60px; background: rgba(255, 255, 255, .15);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease; }
.to-top svg { position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; fill: var(--white); transform: translate(-50%, -50%); transition: fill .2s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--white); }
.to-top:hover svg { fill: var(--bg); }
.site-footer { clear: both; padding: 60px 0 100px; text-align: center; font-size: 18px; line-height: 20px; color: var(--text); }
.footer-social { text-align: center; }
.footer-social li { padding: 0 15px 30px 0; }
.footer-social li:last-child { padding-right: 0; }

/* ---------- Contact form ---------- */
.m-form { max-width: 600px; margin: 1px auto 40px; }
.contact-form label { display: block; color: var(--white); font-size: 16px; line-height: 16px; margin-bottom: 10px; text-align: left; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin: 0 0 30px; padding: 0 10px; border: 1px solid var(--field); border-radius: 3px;
  background: var(--field); color: var(--white); font-family: var(--font-display); font-size: 16px; text-align: left; outline: none; -webkit-appearance: none; appearance: none; }
.contact-form input { height: 42px; line-height: 42px; }
.contact-form textarea { height: 132px; padding-top: 13px; padding-bottom: 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #5a5a5a; }
.contact-form ::placeholder { color: rgba(255, 255, 255, .4); opacity: 1; }
.contact-form .field.error input, .contact-form .field.error textarea { border-color: #c00; }
.contact-form .field-error { color: #ff6b6b; font-size: 13px; line-height: 13px; margin: -22px 0 22px; text-align: left; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .submit { position: relative; display: inline-block; height: 40px; line-height: 40px; padding: 0 25px; border-radius: 20px; background: var(--white);
  color: var(--bg); font-size: 18px; transition: background .2s ease; }
.contact-form .submit:hover { background: rgba(255, 255, 255, .8); }
.contact-form .submit[disabled] { opacity: .6; cursor: progress; }
.contact-form .form-status { min-height: 20px; margin-top: 16px; font-size: 16px; line-height: 20px; text-align: left; color: var(--text); }
.contact-form .form-status.is-error { color: #ff6b6b; }
.form-sent { color: var(--text); font-size: 20px; line-height: 26px; text-align: center; padding: 20px 0; }

/* ---------- About (split screen) ---------- */
.splash { display: flex; min-height: 100vh; width: 100%; }
.splash-image { position: fixed; top: 0; left: 0; width: 50%; height: 100vh; overflow: hidden; background: #000; }
.splash.image-right .splash-image { left: auto; right: 0; }
.splash-img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.splash-content { display: flex; align-items: center; justify-content: center; width: 50%; margin-left: 50%; min-height: 100vh; padding: 60px 20px; }
.splash.image-right .splash-content { margin-left: 0; }
.splash-content .modules { width: 100%; }
.page-about .m-text { padding: 0; }
.page-about .rich-text div, .page-about .rich-text p { font-size: 16px; line-height: 20px; padding: 5px 0 10px; }
.page-about .rich-text .title { color: var(--white); font-size: 50px; line-height: 50px; font-weight: 700; padding: 0 0 5px; }
.page-about .rich-text .title div, .page-about .rich-text .title span { padding: 0; }
.m-social { text-align: center; }
.about-social li { padding: 40px 15px 15px 0; }
.about-social li:last-child { padding-right: 0; }
.about-social .icon { fill: var(--white); }
.about-social a:hover .icon { fill: var(--white); opacity: .8; }
.m-button { padding: 20px 0; text-align: center; }
.btn { display: inline-flex; align-items: center; max-width: 100%; padding: 0 30px; border-radius: 100px; background: var(--white); color: var(--bg);
  font-size: 18px; line-height: 48px; white-space: nowrap; transition: background .2s ease; }
.btn:hover { background: rgba(255, 255, 255, .8); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .95);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
.lightbox-figure { margin: 0; max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; }
.lightbox-figure img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 30px rgba(0, 0, 0, .08); }
.lb-btn { position: absolute; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; color: #222; opacity: .7; transition: opacity .15s ease; }
.lb-btn:hover, .lb-btn:focus-visible { opacity: 1; }
.lb-btn svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #555; font-size: 14px; letter-spacing: .05em; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
html.lb-lock, html.nav-lock { overflow: hidden; }

/* ---------- Tablet (≤ 980px About / ≤ 932px everything else) ---------- */
@media (max-width: 980px) {
  .splash { display: block; }
  .splash-image { position: relative; width: 100%; height: 50vh; }
  .splash-content { width: 100%; margin-left: 0; min-height: 0; padding: 40px 5% 50px; }
}
@media (max-width: 932px) {
  .site-header { padding: 0 5% 8px; }
  .site-nav, .header-social { display: none; }
  .logo { width: 100%; padding: 0 39px; font-size: 33px; line-height: 33px; }
  .hamburger { display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 30px 5%; -webkit-tap-highlight-color: transparent; }
  .hamburger i { display: block; width: 24px; height: 2px; margin-bottom: 4px; background: var(--white); }
  .hamburger i:last-child { margin-bottom: 0; }
  .mobile-nav { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; justify-content: center; padding: 50px 5% 0; background: var(--bg); text-align: center;
    overflow: auto; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
  .mobile-nav nav { padding-bottom: 80px; }
  .mobile-nav nav a { display: block; padding-bottom: 30px; color: var(--nav); font-size: 22px; line-height: 32px; text-transform: uppercase; }
  .mobile-nav nav a.active, .mobile-nav nav a:hover { color: var(--white); }
  .mobile-social { position: fixed; left: 0; bottom: 0; width: 100%; min-height: 80px; padding: 5%; background: var(--bg); white-space: nowrap; overflow-x: auto; overflow-y: hidden; text-align: center; }
  .mobile-social li { padding-right: 20px; }
  .mobile-social li:last-child { padding-right: 0; }
  .mobile-social .icon { width: 42px; height: 42px; padding: 9px; }
  .mobile-close { position: fixed; top: 0; right: 0; width: calc(10% + 20px); height: 110px; -webkit-tap-highlight-color: transparent; }
  .mobile-close::before, .mobile-close::after { content: ""; position: absolute; top: 40px; right: calc(5% + 9px); width: 2px; height: 20px; background: var(--white); }
  .mobile-close::before { transform: rotate(45deg); }
  .mobile-close::after { transform: rotate(-45deg); }

  .site-content { width: 100%; margin: 0; }
  .page-header { padding: 18px 5% 34px; }
  .page-header .title { font-size: 22px; line-height: 25px; padding-bottom: 14px; }
  .page-header .description { font-size: 17px; line-height: 22px; padding-bottom: 14px; }
  .m-image { padding-bottom: 14px; }
  .m-video { padding-bottom: 20px; }
  .m-text { padding: 14px 5% 20px; }
  .rich-text div, .rich-text p { font-size: 17px; line-height: 22px; padding-bottom: 14px; }
  .rich-text .title { font-size: 22px; line-height: 25px; padding-bottom: 14px; }
  .rich-text .sub-title { font-size: 18px; line-height: 23px; padding: 14px 0 18px; }
  .caption, .caption div, .caption p { font-size: 14px; line-height: 20px; }
  .caption { padding: 8px 5% 14px; }
  .cover .title { font-size: 18px; line-height: 21px; padding-bottom: 5px; }
  .cover .date { font-size: 14px; line-height: 20px; }
  .cover .custom1, .cover .custom2 { display: none; }
  .other-projects { padding: 28px 0; }
  .other-title { font-size: 18px; line-height: 20px; margin-bottom: 18px; padding: 0 5%; }
  .other-projects .cover .title { font-size: 17px; line-height: 19px; }
  .other-projects .cover .date { font-size: 14px; line-height: 20px; padding-top: 8px; }
  .to-top { display: none; }
  .site-footer { padding: 28px 5% 40px; font-size: 14px; line-height: 16px; }
  .footer-social li { padding: 0 12px 24px 0; }
  .m-form { padding: 0 5%; margin: 2px auto 20px; }
  .contact-form label { font-size: 13px; margin-bottom: 8px; }
  .contact-form input, .contact-form textarea { font-size: 16px; margin-bottom: 18px; } /* 16px stops iOS zooming into fields */
  .contact-form .field-error { margin: -10px 0 14px; }
  .contact-form .submit { font-size: 14px; height: 38px; line-height: 38px; }
  .page-about .rich-text .title { font-size: 31px; line-height: 31px; }
  .page-about .rich-text div, .page-about .rich-text p { font-size: 14px; line-height: 20px; padding: 5px 0 8px; }
  .about-social li { padding: 32px 12px 12px 0; }
  .btn { font-size: 14px; line-height: 46px; padding: 0 29px; }
  .lightbox-figure, .lightbox-figure img { max-width: 100vw; max-height: calc(100vh - 120px); }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}

/* ---------- Phone (≤ 540px) ---------- */
@media (max-width: 540px) {
  .site-header { padding-bottom: 6px; }
  .logo { font-size: 23px; line-height: 23px; }
  .mobile-close::before, .mobile-close::after { top: 30px; }
  .cover { width: 100%; margin-right: 0; }
  .cover .title { font-size: 15px; line-height: 18px; padding-bottom: 4px; }
  .page-header .title { font-size: 19px; line-height: 22px; padding-bottom: 13px; }
  .page-header .description { font-size: 14px; line-height: 18px; padding-bottom: 13px; }
  .m-image { padding-bottom: 13px; }
  .m-video { padding-bottom: 18px; }
  .m-text { padding-top: 13px; padding-bottom: 18px; }
  .rich-text .title, .rich-text .title span { font-size: 19px !important; line-height: 22px !important; }
  .rich-text .sub-title, .rich-text .sub-title span { font-size: 15px !important; line-height: 19px !important; }
  .rich-text div, .rich-text div span, .rich-text p, .rich-text p span { font-size: 14px !important; line-height: 18px !important; }
  .rich-text div, .rich-text p { padding-bottom: 13px; }
  .caption, .caption div, .caption p, .caption span { font-size: 14px !important; line-height: 20px !important; }
  .m-tree { display: block; }
  .m-col { border: 0; flex: none !important; }
  .m-col .m-blank { display: none; } /* side spacers would leave odd gaps once columns stack */
  .other-projects { padding: 25px 0; }
  .other-title { font-size: 15px; line-height: 16px; margin-bottom: 16px; }
  .other-projects .cover:nth-child(n+2) { display: none; }
  .other-projects .cover .title { font-size: 15px; line-height: 16px; }
  .other-projects .cover .date { padding-top: 7px; }
  .site-footer { padding: 25px 5% 34px; line-height: 20px; }
  .footer-social li { padding: 0 10px 20px 0; }
  .contact-form label { font-size: 12px; margin-bottom: 7px; }
  .contact-form input, .contact-form textarea { margin-bottom: 16px; }
  .contact-form input { height: 40px; line-height: 40px; }
  .page-about .rich-text .title, .page-about .rich-text .title span { font-size: 25px !important; line-height: 25px !important; }
  .page-about .rich-text div, .page-about .rich-text div span, .page-about .rich-text p, .page-about .rich-text p span { font-size: 14px !important; line-height: 20px !important; }
  .about-social li { padding: 26px 10px 10px 0; }
  .btn { line-height: 42px; padding: 0 26px; }
  .video .play svg { width: 60px; height: 60px; padding: 16px 14px 16px 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
