@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-soft: #f6f7f8;
  --mist: #e6e9ee;
  --slate: #b6bec8;
  --ink: #191a1c;
  --muted: #72777e;
  --line: rgba(25, 26, 28, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  --max-width: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
img { -webkit-user-drag: none; user-select: none; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

button { cursor: pointer; }

.container {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(25, 26, 28, 0.08);
  backdrop-filter: blur(12px);
}

.site-header--overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.48), transparent);
  border-bottom: 0;
  color: white;
}

.site-header--overlay.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(25, 26, 28, 0.08);
  color: var(--ink);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
}

.brand {
  font-size: 1.28rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.9rem;
}

.nav-links a {
  position: relative;
  padding: 1.9rem 0;
  color: #858a90;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-header--overlay .nav-links a { color: rgba(255, 255, 255, 0.74); }
.site-header--overlay.is-scrolled .nav-links a { color: #858a90; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.site-header--overlay .nav-links a:hover,
.site-header--overlay .nav-links a[aria-current="page"] { color: white; }
.site-header--overlay.is-scrolled .nav-links a:hover,
.site-header--overlay.is-scrolled .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-links a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 1.1rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.45rem;
  line-height: 1;
}

.mobile-nav { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: white;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.34) 46%, rgba(0, 0, 0, 0.58));
  content: "";
}

.hero-media { position: absolute; inset: 0; }
.hero-media .image-frame { position: absolute; inset: 0; }
.hero-media .image-frame picture { height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-content { position: relative; z-index: 1; width: min(56rem, calc(100% - 3rem)); text-align: center; }
.hero-label, .eyebrow { margin: 0 0 1rem; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; }
.hero h1 { margin: 0 0 2.25rem; font-size: clamp(1.75rem, 8.75vw, 2.1rem); font-weight: 300; letter-spacing: 0.1em; line-height: 1; white-space: nowrap; }
.hero .button { border-color: rgba(255, 255, 255, 0.88); color: white; }
.hero .button:hover { background: rgba(255, 255, 255, 0.12); }
.hero-label, .hero h1, .hero-cta, .scroll-indicator { opacity: 0; }
.hero-label { animation: hero-rise 800ms var(--ease) 100ms forwards; }
.hero h1 { animation: hero-scale 1000ms var(--ease) 200ms forwards; }
.hero-cta { animation: hero-rise 800ms var(--ease) 400ms forwards; }
.scroll-indicator { animation: hero-fade 1000ms var(--ease) 800ms forwards; }

.scroll-indicator {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  z-index: 1;
  width: 1.4rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator::after {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: white;
  content: "";
  transform: translateX(-50%);
  animation: scroll-dot 1.5s ease-in-out infinite;
}

@keyframes scroll-dot { 0%, 100% { opacity: 0.5; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 0.75rem); } }
@keyframes hero-rise { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes hero-scale { from { opacity: 0; scale: 0.95; } to { opacity: 1; scale: 1; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; letter-spacing: 0.12em; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; letter-spacing: 0.17em; }
}

.page-main { min-height: 100vh; padding-top: 5rem; }
.page-main--home { padding-top: 0; }
.section { padding: 7rem 0; }
.section--soft { background: var(--paper-soft); }
.section--mist { background: var(--mist); }
.section--slate { background: var(--slate); }
.section-heading { margin: 0 0 1.8rem; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 300; letter-spacing: 0.07em; line-height: 1.1; }
.section-intro { max-width: 43rem; margin: 0 auto 3.5rem; color: var(--muted); text-align: center; }
.narrow { width: min(52rem, 100%); margin: 0 auto; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.2rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.button:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.button--solid { background: var(--ink); color: white; }
.button--solid:hover { background: #3b3d40; }

.intro-copy { padding: 5.5rem 0 4rem; text-align: center; }
.intro-copy p { max-width: 43rem; margin: 0 auto; color: var(--muted); font-size: 1.22rem; line-height: 1.8; }
.intro-copy .intro-copy__label { margin-top: 2.8rem; color: var(--ink); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; justify-content: center; gap: 0.75rem; margin: 2.5rem auto 0; }
.tag { padding: 0.55rem 0.85rem; border: 1px solid var(--line); color: var(--muted); font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.split--reverse .split-media { order: 2; }
.split--reverse .split-copy { order: 1; }
.split-media { position: relative; overflow: hidden; }
.split-media .image-frame, .split-media .image-frame picture { height: 100%; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.portrait { aspect-ratio: 3 / 4; }
.split-copy h2 { margin: 0 0 1.8rem; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; line-height: 1.1; }
.split-copy p { margin: 0 0 1.25rem; color: var(--muted); }
.promo { position: relative; margin-top: 2rem; padding: 2rem; overflow: hidden; background: #1e2632; color: white; }
.promo h3 { margin: 0 0 0.75rem; font-size: 1.8rem; font-weight: 300; }
.promo p { color: #cbd0d7; }
.promo .button { border-color: white; color: white; }
.promo .button:hover { background: white; color: #1e2632; }

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 12rem 0;
  background: rgba(249, 250, 251, 0.5);
}
.about-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -10;
  width: 50%;
  height: 100%;
  background: rgba(243, 244, 246, 0.5);
  content: "";
  transform: skewX(-12deg) translateX(5rem);
}
.about-hero .container { position: relative; z-index: 1; width: min(80rem, 100%); padding-right: 2rem; padding-left: 2rem; }
.about-hero__content { max-width: 48rem; }
.about-hero h1 { margin: 0 0 2rem; font-size: clamp(3rem, 5.625vw, 4.5rem); font-weight: 300; letter-spacing: 0.15em; line-height: 1; }
.about-hero p { margin: 0; color: var(--muted); font-size: clamp(1.3rem, 2vw, 1.5rem); letter-spacing: 0.03em; line-height: 1.333333; }
.about-bio { padding: 0 0 5rem; }
.about-page .split { gap: 4rem; }
.about-page .promo { border-radius: 1rem; box-shadow: 0 1rem 1.8rem rgba(15, 23, 42, 0.18); }
.about-page .promo .button { border: 0; border-radius: 999px; background: white; color: #1e2632; }
.about-page .promo .button:hover { background: #f1f3f5; }
.about-amare__logo { display: grid; width: 8rem; height: 8rem; margin: 2rem auto 0; overflow: hidden; place-items: center; border-radius: 50%; background: #f1f2f3; box-shadow: 0 0.2rem 0.8rem rgba(25, 26, 28, 0.08); }
.about-amare__logo img { width: 100%; height: 100%; object-fit: cover; }
.about-skills__container { width: min(56rem, calc(100% - 3rem)); }
.about-skills__content { display: flex; flex-direction: column; align-items: center; gap: 3rem; text-align: center; }
.about-skills__notes { display: grid; gap: 0.6rem; color: var(--muted); }
.about-skills__notes p { margin: 0; }
.about-equipment { width: 100%; }
.about-equipment h3 { margin: 0 0 2rem; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 300; letter-spacing: 0.07em; line-height: 1.1; }
.about-equipment img { width: auto; height: 3rem; margin: 0 auto 3rem; object-fit: contain; }
.about-equipment ul { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.about-equipment li::before { display: inline-block; width: 0.3rem; height: 0.3rem; margin: 0 0.75rem 0.18rem 0; border-radius: 50%; background: #969ba1; content: ""; }
.about-services .section-heading { margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; }
.service-card { padding-top: 2rem; border-top: 1px solid rgba(25, 26, 28, 0.14); }
.service-icon { display: block; width: 1.5rem; height: 1.5rem; margin-bottom: 1.5rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1; }
.service-card h3 { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 300; letter-spacing: 0.07em; line-height: 1.3; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; text-align: center; }
.skills--services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.skills h3 { margin: 0 0 2rem; font-size: 2.3rem; font-weight: 300; }
.skills--services h3 { font-size: 1.8rem; }
.skill-note { margin: 0 0 0.85rem; color: var(--muted); }
.skills ul { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.skills li::before { display: inline-block; width: 0.3rem; height: 0.3rem; margin: 0 0.75rem 0.18rem 0; border-radius: 50%; background: #969ba1; content: ""; }
.logo-mark { width: 8rem; margin: 0 auto 2rem; }

.page-heading { padding: 7rem 0 3.8rem; text-align: center; }
.page-heading h1 { margin: 0 0 1rem; font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; letter-spacing: 0.1em; line-height: 1; }
.page-heading p { max-width: 40rem; margin: 0 auto; color: var(--muted); }
[data-page="portfolio"] .page-heading { padding: 4rem 0 1.8rem; }
[data-page="portfolio"] .page-heading h1 { font-size: clamp(1.5rem, 3.5vw, 3rem); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin-bottom: 3rem; }
.filter { padding: 0.65rem 1rem; border: 1px solid var(--line); background: transparent; color: var(--muted); font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; transition: all 200ms ease; }
.filter:hover, .filter.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.portfolio-gallery .container { width: calc(100% - 5rem); max-width: none; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.gallery-item { position: relative; grid-column: span 1; overflow: hidden; background: var(--paper-soft); cursor: zoom-in; }
.gallery-item--wide, .gallery-item--hero { grid-column: span 1; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.image-frame { position: relative; display: block; }
.image-frame picture { display: block; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms var(--ease), filter 700ms var(--ease); }
.gallery-item--wide img { aspect-ratio: 16 / 9; }
.gallery-item--hero img { aspect-ratio: 16 / 9; }
.gallery-item:hover img { filter: brightness(0.92); transform: scale(1.035); }
.gallery-item[data-reveal] { transition-delay: var(--delay, 0ms); }

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item--wide, .gallery-item--hero { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--hero { grid-column: span 3; }
  .gallery-item--hero img { aspect-ratio: 21 / 9; }
}

@media (min-width: 768px) {
  [data-page="home"] .site-header--overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, background 220ms ease, color 220ms ease;
  }
  [data-page="home"] .site-header--overlay.is-scrolled,
  [data-page="home"] .site-header--overlay:focus-within {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .skills--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.video-section { border-top: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem 3rem; }
.video-card h3 { margin: 1.35rem 0 0.75rem; font-size: 1.75rem; font-weight: 300; line-height: 1.2; }
.video-card p { margin: 0 0 1.5rem; color: var(--muted); font-size: 0.98rem; }
.video-thumb { position: relative; width: 100%; padding: 0; border: 0; overflow: hidden; background: #eceef0; cursor: pointer; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 700ms var(--ease); }
.video-thumb:hover img { transform: scale(1.03); }
.play { position: absolute; top: 50%; left: 50%; display: grid; width: 4.2rem; height: 4.2rem; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: white; transform: translate(-50%, -50%); transition: background 200ms ease, transform 200ms ease; }
.video-thumb:hover .play { background: rgba(255,255,255,.16); transform: translate(-50%, -50%) scale(1.06); }
.play::after { margin-left: 0.2rem; border-top: 0.5rem solid transparent; border-bottom: 0.5rem solid transparent; border-left: 0.7rem solid white; content: ""; }

.article-section-subheading { margin: -0.8rem 0 3rem; color: var(--muted); font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.article { width: 100%; max-width: none; padding-top: 2rem; border-top: 1px solid var(--line); }
.article h3 { max-width: 74rem; margin: 0 0 1.8rem; font-size: clamp(2.2rem, 4.5vw, 4.4rem); font-weight: 300; letter-spacing: 0.02em; line-height: 1.08; }
.article p { max-width: 72rem; margin: 0 0 1.25rem; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.article .button { margin-top: 1rem; }

.form { width: min(40rem, 100%); margin: 0 auto; }
.form-field { margin-bottom: 2rem; }
.form label { display: block; margin-bottom: 0.55rem; color: var(--muted); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.form input, .form textarea { width: 100%; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; color: var(--ink); }
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--ink); }
.form .button { margin-top: 1rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6rem; margin: 1.25rem 0 0; font-size: 0.95rem; text-align: center; }
.form-status.is-error { color: #a74747; }
.form-status.is-success { color: #3e7255; }
.socials { display: flex; justify-content: center; gap: 2rem; margin-top: 4rem; }
.socials a { display: inline-flex; color: var(--muted); transition: color 200ms ease, transform 200ms ease; }
.socials a:hover { color: var(--ink); transform: translateY(-0.2rem); }
.socials a:focus-visible { outline: 1px solid currentColor; outline-offset: 0.35rem; }
.social-icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.legal { max-width: 52rem; margin: 0 auto; }
.legal h2 { margin: 3.5rem 0 0.85rem; font-size: 2rem; font-weight: 300; line-height: 1.1; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.4rem; }

.site-footer { padding: 5.5rem 0 2rem; background: var(--slate); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.site-footer h2, .site-footer h3 { margin: 0 0 0.7rem; font-size: 1.65rem; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer h3 { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; }
.site-footer p { margin: 0.5rem 0 0; color: rgba(25, 26, 28, 0.6); font-size: 0.95rem; }
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a, .footer-contact a { color: rgba(25, 26, 28, 0.68); font-size: 0.95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--ink); }
.footer-rule { height: 1px; margin-bottom: 1.5rem; background: rgba(25, 26, 28, 0.17); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; color: rgba(25, 26, 28, 0.58); font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.06em; }

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.5rem; background: #ffffff; opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 1; display: grid; width: 1.5rem; height: 1.5rem; place-items: center; padding: 0 0 0.08rem; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-family: var(--sans); font-size: 1rem; font-weight: 300; line-height: 1; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.modal-close:hover { background: var(--ink); color: white; transform: scale(1.05); }
.modal-close:focus-visible { outline: 1px solid var(--ink); outline-offset: 0.25rem; }
.lightbox-stage { position: relative; display: inline-flex; max-width: min(95vw, 1400px); max-height: 88vh; }
.lightbox-close { top: -1.25rem; right: auto; left: -1.25rem; border: 0; border-radius: 0; background: transparent; color: var(--slate); }
.lightbox-close:hover { background: transparent; color: #9da5ae; }
.lightbox-image { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox-stage .image-watermark { position: absolute; top: 50%; left: 50%; color: #ffffff; font-family: var(--serif); font-size: 1.5625rem; font-weight: 300; letter-spacing: 0.18em; line-height: 1; opacity: 0.3; pointer-events: none; text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45); transform: translate(-50%, -50%); user-select: none; white-space: nowrap; }
.video-frame { width: min(92vw, 1200px); aspect-ratio: 16 / 9; border: 0; background: black; }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.page-enter { animation: page-enter 700ms var(--ease) both; }
[data-page="home"].page-enter { animation: none; }
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
  .container { width: min(var(--max-width), calc(100% - 2rem)); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: grid; max-height: 0; overflow: hidden; padding: 0 1rem; opacity: 0; transition: max-height 200ms var(--ease), padding 200ms var(--ease), opacity 200ms ease; }
  .mobile-nav.is-open { max-height: 20rem; padding: 0.5rem 1rem 1.25rem; opacity: 1; }
  .mobile-nav a { padding: 0.7rem 0; color: var(--muted); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; }
  .site-header--overlay .mobile-nav a { color: rgba(255,255,255,.8); }
  .split, .skills, .footer-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .split--reverse .split-media, .split--reverse .split-copy { order: initial; }
  .video-grid { grid-template-columns: 1fr; gap: 4rem; }
  .section { padding: 5rem 0; }
  .about-hero { padding: 8rem 0; }
  .about-hero .container { padding-right: 1.5rem; padding-left: 1.5rem; }
  .about-hero h1 { font-size: 3rem; }
  .about-bio { padding: 0 0 5rem; }
  .about-page .split { gap: 3.5rem; }
  .about-skills__container { width: min(56rem, calc(100% - 2rem)); }
  .services-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-heading { padding: 5.5rem 0 2.5rem; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand { font-size: 1rem; }
  .portfolio-gallery .container { width: calc(100% - 3rem); }
  .footer-bottom { flex-direction: column; }
  .page-heading h1 { font-size: 3.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
