/* ==========================================================================
   Marcos Ferrir · Beauty Expert
   ========================================================================== */

:root {
  --black: #070707;
  --ink: #0d0d0d;
  --coal: #161616;
  --line: rgba(255, 255, 255, .1);
  --cream: #f4efe6;
  --cream-2: #ece5d6;
  --line-dark: rgba(13, 13, 13, .12);
  --gold: #c9a24d;
  --gold-2: #e6c87a;
  --gold-3: #8f6f2c;
  --gold-dim: rgba(201, 162, 77, .35);
  --white: #fbf8f2;
  --muted: rgba(251, 248, 242, .64);
  --muted-d: rgba(13, 13, 13, .66);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --header-h: 88px;
  --split: 54%;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.9rem, 1.55rem + 3.7vw, 5.3rem); }
h2 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem); }
h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
em { font-style: italic; color: var(--gold-2); font-weight: 400; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }

/* Cream surfaces */
.on-cream { background: var(--cream); color: var(--ink); }
.on-cream em { color: var(--gold-3); }
.on-cream .eyebrow { color: var(--gold-3); }
.on-cream .eyebrow::before { background: var(--gold-3); }
.on-cream .section-number { color: var(--muted-d); }
.on-cream .section-number::after { background: var(--line-dark); }
.on-cream .lead, .on-cream p { color: var(--muted-d); }
.on-cream h2, .on-cream h3 { color: var(--ink); }
.on-cream .link-arrow { color: var(--ink); border-color: rgba(143, 111, 44, .45); }
.on-cream .link-arrow:hover { border-color: var(--gold-3); }
.on-cream .link-arrow span { color: var(--gold-3); }
.on-cream .cities { color: var(--muted-d); }
.on-cream .cities i { color: var(--gold-3); }

/* Skip link */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: #160f02; padding: .6rem 1rem; border-radius: 4px;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--gold); flex: none; }

.section-number {
  display: flex; align-items: center; gap: 1.25rem;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  color: var(--muted);
}
.section-number::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
  line-height: 1.4; font-weight: 400;
  color: var(--muted);
}

.cities { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.cities i { font-style: normal; color: var(--gold); margin-inline: .7rem; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-weight: 400; font-size: .78rem;
  letter-spacing: .24em; text-transform: uppercase;
  padding: 1.05rem 2.2rem; border-radius: 999px; border: 0; cursor: pointer;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  color: #160f02;
  box-shadow: 0 12px 32px -14px rgba(201, 162, 77, .7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(201, 162, 77, .85); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--gold-dim); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: .72rem 1.5rem; font-size: .68rem; }
.btn-lg { padding: 1.25rem 2.8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold-dim); padding-bottom: .4rem;
  transition: border-color .3s;
}
.link-arrow span { color: var(--gold); transition: transform .35s var(--ease); }
.link-arrow:hover { border-color: var(--gold); }
.link-arrow:hover span { transform: translate(3px, 3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: var(--black);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s;
}
.site-header.scrolled { box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 100%; }
.brand { display: block; position: relative; z-index: 61; }
.brand img { height: 48px; width: auto; }

.nav {
  display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem);
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
}
.nav a:not(.btn) { position: relative; padding-block: .3rem; color: var(--muted); transition: color .3s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; position: relative; z-index: 61;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer; place-items: center;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: var(--white);
  transform: translate(-50%, -4px); transition: transform .35s var(--ease);
}
.nav-toggle span:last-child { transform: translate(-50%, 4px); }
.nav-toggle[aria-expanded="true"] span { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, 0) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: grid; align-items: center;
  padding-top: var(--header-h);
  background: var(--black);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3rem, 8vh, 6rem); }
.hero-copy { display: flex; flex-direction: column; gap: 1.9rem; max-width: min(34rem, 100%); }
.hero-copy .eyebrow { margin-bottom: 0; }
.hero-copy .lead { max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.hero-copy .cities { margin-top: clamp(.5rem, 5vh, 3rem); }

.hero-visual {
  position: absolute; z-index: 1;
  inset: var(--header-h) 0 0 var(--split);
  overflow: hidden; background: var(--coal);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 28%; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(7, 7, 7, .75), transparent 22%),
    linear-gradient(to top, rgba(7, 7, 7, .5), transparent 38%);
}
.hero-visual figcaption {
  position: absolute; z-index: 2; right: 1.5rem; bottom: clamp(2rem, 7vh, 4.5rem);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: .68rem; letter-spacing: .42em; text-transform: uppercase;
  color: rgba(251, 248, 242, .75);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   Marquee strip
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); padding-block: 1.1rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-group {
  display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem;
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  color: var(--muted);
}
.marquee-group i { font-style: normal; color: var(--gold); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sobre
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem);
  align-items: center; margin-top: 3.5rem;
}
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 3px; }
.seal {
  position: absolute; top: -2.2rem; right: -1.6rem; width: 112px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--gold-dim); background: var(--black);
  display: grid; place-items: center; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .6);
}
.seal img { width: 100%; }
.stat {
  position: absolute; left: -1.5rem; bottom: 2.2rem;
  background: var(--black); color: var(--white);
  padding: 1.3rem 1.6rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; line-height: 1;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8);
}
.stat strong { font-family: var(--serif); font-weight: 500; font-size: 3.4rem; color: var(--gold-2); }
.stat sup { font-size: .45em; vertical-align: top; position: relative; top: .35em; margin-left: .05em; }
.stat span { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.about-copy { display: flex; flex-direction: column; gap: 1.4rem; }
.about-copy .eyebrow { margin-bottom: 0; }
.about-copy p:not(.lead):not(.cities) { max-width: 34rem; }
.about-copy .lead { max-width: 32rem; }
.about-copy .link-arrow { align-self: flex-start; margin-top: .5rem; }

/* --------------------------------------------------------------------------
   Portfólio
   -------------------------------------------------------------------------- */
.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: end;
  margin-top: 3rem;
}
.section-note { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); max-width: 22rem; padding-bottom: .5rem; }

.gallery { columns: 3; column-gap: 1.25rem; margin-top: 3.5rem; }
.g-item {
  display: block; position: relative; overflow: hidden; border-radius: 3px;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  margin-bottom: 1.25rem; background: var(--coal);
}
.g-item img { width: 100%; transition: transform 1s var(--ease); }
.g-item::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(to top, rgba(7, 7, 7, .6), transparent 45%);
  transition: opacity .5s;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.045); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-num {
  position: absolute; z-index: 1; left: 1rem; bottom: .9rem;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-2);
  opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease);
}
.g-item:hover .g-num { opacity: 1; transform: none; }
.g-item[hidden] { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }

/* Reels */
.reels { margin-top: var(--section); }
.reels-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.reels-head .eyebrow { margin-bottom: .8rem; }
.reels-hint { font-family: var(--serif); font-style: italic; color: var(--muted); padding-bottom: .4rem; }
.reels-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 290px); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem;
  scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent;
  overscroll-behavior-x: contain;
}
.reel {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 4px;
  background: var(--coal); scroll-snap-align: start;
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-play {
  position: absolute; inset: 0; border: 0; cursor: pointer; padding: 0;
  background: linear-gradient(to top, rgba(7, 7, 7, .55), transparent 50%);
  display: grid; place-items: center; transition: opacity .4s;
}
.reel-play::before {
  content: ""; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(251, 248, 242, .55); background: rgba(7, 7, 7, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background .4s;
}
.reel-play::after {
  content: ""; position: absolute; width: 0; height: 0;
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--gold-2);
  margin-left: 3px;
}
.reel-play:hover::before { transform: scale(1.08); background: rgba(7, 7, 7, .5); }
.reel.playing .reel-play { opacity: 0; }
.reel.playing .reel-play::after { border-width: 0 0 0 0; width: 14px; height: 16px; border-inline: 4px solid var(--gold-2); margin: 0; }
.reel.playing:hover .reel-play { opacity: 1; }

/* --------------------------------------------------------------------------
   Serviços
   -------------------------------------------------------------------------- */
.services { background: var(--ink); }
.services-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.services-intro { position: sticky; top: 6.5rem; }
.services-intro .section-number { margin-bottom: 3rem; }
.services-figure {
  width: min(100%, 360px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; margin-top: 2.5rem;
  border: 1px solid var(--line);
}
.services-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li {
  position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem;
  padding: 2.1rem 0 2.1rem .2rem; border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}
.service-list li::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold);
  transition: width .7s var(--ease);
}
.service-list li:hover { padding-left: 1rem; }
.service-list li:hover::before { width: 100%; }
.service-list li > span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15rem; padding-top: .45rem; }
.service-list h3 { margin-bottom: .55rem; }
.service-list p { color: var(--muted); max-width: 30rem; }

/* --------------------------------------------------------------------------
   Cinemático
   -------------------------------------------------------------------------- */
.cinematic {
  position: relative; overflow: hidden; background: var(--black);
  aspect-ratio: 21 / 9; min-height: 440px; max-height: 82vh;
}
.cinematic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.cinematic-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(2rem, 6vw, 5rem);
  background: linear-gradient(to top, rgba(7, 7, 7, .8), rgba(7, 7, 7, .1) 55%, transparent);
}
.cinematic-overlay .eyebrow { margin-bottom: 1rem; }
.cinematic-quote {
  font-family: var(--serif); font-weight: 400; line-height: 1.22;
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.6rem); max-width: 34rem;
}

/* --------------------------------------------------------------------------
   Experiência
   -------------------------------------------------------------------------- */
.experience-head { max-width: 42rem; margin-top: 3rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.pillars article {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
  padding: 2.4rem; border-radius: 4px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
}
.pillars article::before {
  content: ""; position: absolute; inset: auto -30% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 77, .22), transparent 65%);
  opacity: 0; transition: opacity .6s;
}
.pillars article:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -36px rgba(0, 0, 0, .45); background: rgba(255, 255, 255, .78); }
.pillars article:hover::before { opacity: 1; }
.pillars span { font-family: var(--serif); font-style: italic; color: var(--gold-3); font-size: 1.15rem; }
.pillars h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); }

/* --------------------------------------------------------------------------
   Instagram
   -------------------------------------------------------------------------- */
.instagram { background: var(--cream-2); }
.instagram .section-head { margin-bottom: 3rem; }
.instagram .link-arrow { margin-bottom: .6rem; }
.insta-feed { min-height: 320px; }

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; text-align: center; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% -10%, rgba(201, 162, 77, .2), transparent 55%);
}
.contact-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 46rem; }
.contact-scarab { width: 124px; height: auto; filter: drop-shadow(0 20px 40px rgba(201, 162, 77, .25)); animation: float 7s ease-in-out infinite; }
.contact .eyebrow { margin-bottom: 0; }
.contact .lead { max-width: 30rem; }
.contact .btn { margin-top: .5rem; }
.contact-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem; margin-top: 1rem;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.contact-links a { border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.contact-links a:hover { color: var(--gold-2); border-color: var(--gold-dim); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.footer-inner .brand img { width: 150px; }
.footer-inner a:not(.brand):hover { color: var(--gold-2); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  box-shadow: 0 16px 36px -14px rgba(201, 162, 77, .9);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; fill: #160f02; }

/* --------------------------------------------------------------------------
   Lightbox (native <dialog>)
   -------------------------------------------------------------------------- */
.lightbox {
  border: 0; padding: 0; margin: 0; background: transparent; color: var(--white);
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; inset: 0;
}
.lightbox::backdrop { background: rgba(7, 7, 7, .95); }
.lightbox figure { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 3.5rem clamp(1rem, 6vw, 5rem); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 50px 100px -40px #000; }
.lightbox figcaption { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.05rem; letter-spacing: .1em; }
.lb-btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(22, 22, 22, .8); color: var(--white); cursor: pointer;
  font-family: var(--serif); font-size: 1.8rem; line-height: 1; display: grid; place-items: center;
  transition: border-color .3s, color .3s;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Focus */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --split: 50%; }
}

@media (max-width: 1024px) {
  .gallery { columns: 2; }
  .pillars { grid-template-columns: 1fr; }
  .pillars article { padding: 2rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { height: 40px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; justify-content: center;
    gap: 1.9rem; font-size: 1rem; background: rgba(7, 7, 7, .97);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav .btn { margin-top: 1rem; font-size: .8rem; padding: 1rem 2.2rem; }

  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-inner { padding-block: clamp(2.5rem, 8vh, 4rem) 2.75rem; }
  .hero-copy { max-width: none; }
  .hero-visual { position: static; width: 100%; aspect-ratio: 4 / 5; }
  .hero-visual::after { background: linear-gradient(to top, rgba(7, 7, 7, .55), transparent 42%); }
  .hero-visual figcaption {
    writing-mode: horizontal-tb; right: auto; left: var(--gutter); bottom: 1.2rem; letter-spacing: .3em;
  }

  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-media { margin-inline: 1.5rem 1rem; }
  .seal { right: -1rem; top: -1.6rem; width: 92px; }
  .stat { left: -1.5rem; }

  .section-head { grid-template-columns: 1fr; align-items: start; }
  .services-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-intro { position: static; }
  .services-figure { display: none; }
  .reels-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .reels-track { grid-auto-columns: min(66vw, 260px); }
}

@media (max-width: 700px) {
  .cinematic { aspect-ratio: 4 / 5; min-height: 0; max-height: none; }
  .cinematic-overlay { justify-content: flex-end; }
  .gallery { column-gap: .75rem; }
  .g-item { margin-bottom: .75rem; }
  .service-list li { grid-template-columns: 2.4rem 1fr; gap: 1rem; padding-block: 1.7rem; }
  .site-footer { padding-bottom: 5.5rem; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: 1.1rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lightbox figure { padding: 3rem 1rem 5rem; }
  .lightbox img { max-height: calc(100vh - 9rem); }
}

@media (max-width: 480px) {
  .hero-actions { gap: 1.25rem; }
  .btn { padding: 1rem 1.8rem; }
  .btn-lg { padding: 1.15rem 2rem; }
  .stat strong { font-size: 2.8rem; }
  .stat { padding: 1.1rem 1.25rem 1rem; }
  .marquee-group { font-size: 1.05rem; }
  .eyebrow { letter-spacing: .24em; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .contact-scarab { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
