/* ==========================================================
   MS Productions — estilos
   Paleta oficial: preto #080808 · grafite #242424 · branco · dourado #C6A46A
   ========================================================== */
:root {
  --black: #080808;
  --surface: #111111;
  --graphite: #242424;
  --white: #ffffff;
  --text: #f2efe9;
  --muted: #9b978f;
  --gold: #C6A46A;
  --gold-soft: rgba(198, 164, 106, .55);
  --line: rgba(255, 255, 255, .12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: max(16px, 7vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grão de película sutil */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: var(--black); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* ---------- Tipografia ---------- */
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.06; }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
h2 { font-size: clamp(36px, 5vw, 62px); margin-bottom: 0; }
h3 { font-family: var(--serif); font-weight: 500; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em; color: var(--gold); margin-bottom: 0; }
.eyebrow-line { width: 28px; height: 1px; background: var(--gold); flex: none; }

.section-wrap { padding: clamp(80px, 11vw, 140px) var(--gutter); }
.section-index { font-size: 11px; letter-spacing: .2em; color: var(--muted); margin-bottom: 32px; }
.section-index span { color: var(--gold); margin: 0 8px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; }
.section-heading > p { color: var(--muted); font-size: 15px; max-width: 300px; margin: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 16px 24px; font: 600 13px var(--sans); letter-spacing: .06em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn span { font-size: 16px; transition: transform .35s var(--ease); }
.btn:hover span { transform: translate(3px, -3px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--white); }
.text-link { display: inline-flex; gap: 18px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 8px; font-size: 13px; letter-spacing: .04em; transition: color .3s, border-color .3s; }
.text-link span { color: var(--gold); }
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  height: 80px; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, height .4s var(--ease);
}
.topbar.scrolled { background: rgba(8, 8, 8, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); height: 68px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; object-fit: contain; transition: height .4s var(--ease); }
.topbar.scrolled .brand-logo { height: 44px; }
.brand.has-logo .brand-text { display: none; }
.brand-text { display: flex; align-items: center; gap: 10px; }
.brand-mark { font: 600 30px var(--serif); letter-spacing: -.1em; }
.brand-mark span { color: var(--gold); }
.brand-name { font-size: 9px; letter-spacing: .3em; color: #c9c5bc; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 13px; color: #d6d2ca; }
.nav a { position: relative; transition: color .3s; }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--white); }
.nav-cta { border: 1px solid var(--gold-soft); padding: 10px 16px; color: var(--white); transition: background .3s, color .3s; }
.nav-cta span { margin-left: 10px; color: var(--gold); }
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }
.nav-cta:hover span { color: var(--black); }
.menu-toggle { display: none; }

/* ---------- Início ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 6vw;
  padding: 120px var(--gutter) 100px;
  background: radial-gradient(ellipse at 75% 45%, #1d1a15 0, var(--black) 60%);
}
.hero-content { position: relative; z-index: 2; grid-column: 1; grid-row: 1; }
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); margin: 28px 0 24px; }
.hero h1 .line { display: block; }
.hero-copy { font: italic 21px var(--serif); color: #e6dfd2; margin-bottom: 10px; }
.hero-note { font-size: 15px; color: var(--muted); max-width: 440px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }

.hero-media {
  position: relative; justify-self: center; grid-column: 2; grid-row: 1;
  height: min(74svh, 720px); aspect-ratio: 9 / 16;
  background: #151515 url("assets/hero-historia.jpg") center / cover no-repeat;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(198,164,106,.18);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,8,8,.55)); pointer-events: none; }
.rec { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: .2em; color: var(--white); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #e0483e; animation: blink 1.6s steps(2, start) infinite; }
.frame-corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; z-index: 2; }
.frame-corner.tl { top: -10px; left: -10px; border-width: 1px 0 0 1px; }
.frame-corner.tr { top: -10px; right: -10px; border-width: 1px 1px 0 0; }
.frame-corner.bl { bottom: -10px; left: -10px; border-width: 0 0 1px 1px; }
.frame-corner.br { bottom: -10px; right: -10px; border-width: 0 1px 1px 0; }
@keyframes blink { to { visibility: hidden; } }

.hero-footer { position: absolute; bottom: 26px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: #77736c; font-size: 10px; letter-spacing: .2em; z-index: 2; }

/* Entrada cinematográfica da abertura */
.js .hero .eyebrow, .js .hero h1 .line, .js .hero-copy, .js .hero-note, .js .hero-actions { opacity: 0; transform: translateY(28px); }
.js .hero-media { opacity: 0; transform: scale(1.04); clip-path: inset(12% 0 12% 0); }
.loaded .hero .eyebrow, .loaded .hero h1 .line, .loaded .hero-copy, .loaded .hero-note, .loaded .hero-actions { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.loaded .hero h1 .line:nth-child(1) { transition-delay: .15s; }
.loaded .hero h1 .line:nth-child(2) { transition-delay: .3s; }
.loaded .hero-copy { transition-delay: .45s; }
.loaded .hero-note { transition-delay: .55s; }
.loaded .hero-actions { transition-delay: .7s; }
.loaded .hero-media { opacity: 1; transform: none; clip-path: inset(0 0 0 0); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease), clip-path 1.6s var(--ease); }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Sobre ---------- */
.about { background: var(--black); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 8vw; align-items: end; margin-bottom: 90px; }
.about-copy h2 { margin-bottom: 32px; }
.about-copy p { color: #b9b5ad; max-width: 620px; }
.about-aside { padding-left: 28px; border-left: 1px solid var(--gold-soft); }
.aside-star { font-size: 28px; color: var(--gold); }
.about-aside p { font: italic 22px/1.5 var(--serif); margin: 12px 0 0; }
.about-aside em { color: var(--gold); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillars article { padding: 28px 28px 0 0; }
.pillars article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.pillars span, .steps span { font-size: 11px; color: var(--gold); letter-spacing: .15em; }
.pillars h3, .steps h3 { font-size: 21px; margin: 18px 0 10px; }
.pillars p, .steps p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Portfólio ---------- */
.portfolio { background: var(--surface); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); background: none; color: #c9c5bc; padding: 10px 16px; font: 500 12px var(--sans); letter-spacing: .05em; cursor: pointer; transition: all .3s var(--ease); }
.filter:hover { border-color: var(--gold-soft); color: var(--white); }
.filter.active { background: var(--gold); border-color: var(--gold); color: var(--black); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.work-card.hidden, .work-card.extra { display: none; }
.portfolio-more { display: flex; justify-content: center; margin-top: 56px; }
.portfolio-more[hidden] { display: none; }
.btn-outline { background: none; color: var(--white); border-color: var(--gold-soft); }
.btn-outline span { color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-outline:hover span { color: var(--black); transform: translateY(3px); }
.client-names { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 44px; align-items: baseline; }
.client-names li { font: 500 clamp(24px, 3vw, 38px)/1.2 var(--serif); color: #e9e4da; }
.client-names li::after { content: '✦'; font-size: 12px; color: var(--gold); margin-left: 44px; vertical-align: middle; }
.client-names li:last-child::after { display: none; }
.work-wide { grid-column: 1 / -1; }
.work-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--graphite); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 4; }
.work-media[data-video] { cursor: pointer; }
.work-wide .work-media { aspect-ratio: 21 / 9; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.9); }
.work-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,8,8,.55)); transition: opacity .6s; }
.lightbox-stage .yt-frame { display: block; border: 0; height: 84svh; width: auto; aspect-ratio: 9 / 16; max-width: 92vw; background: #000; }
.work-media[data-youtube] { cursor: pointer; }
.work-media[data-video]::before, .work-media[data-youtube]::before { content: '▶'; position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-content: center; padding-left: 4px; color: var(--white); font-size: 16px; }
.work-card:hover .work-media img { transform: scale(1.06); filter: saturate(1.05); }
.work-info { padding-top: 16px; }
.work-info span { font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.work-info h3 { font-size: 22px; margin: 4px 0 0; }
.portfolio-empty { color: var(--muted); padding: 40px 0; text-align: center; }
.portfolio-empty a { color: var(--gold); border-bottom: 1px solid var(--gold-soft); }

/* ---------- Frase ---------- */
.quote-band { text-align: center; padding: clamp(80px, 10vw, 130px) 20px; background: linear-gradient(180deg, var(--surface), var(--black)); }
.quote-mark { font: 72px/0.8 var(--serif); color: var(--gold); }
.quote-band p { font: italic clamp(28px, 4.4vw, 52px)/1.2 var(--serif); margin: 18px auto 22px; max-width: 900px; }
.quote-band p em { color: var(--gold); }
.quote-credit { font-size: 10px; letter-spacing: .3em; color: var(--muted); }

/* ---------- Serviços ---------- */
.services { background: var(--black); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 290px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(198,164,106,.12), transparent 60%); opacity: 0; transition: opacity .6s var(--ease); }
.service-card:hover::before { opacity: 1; }
/* Último card ocupa a linha inteira quando sobra sozinho (7 serviços em 3 colunas) */
.service-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; min-height: 220px; }
.service-card:last-child:nth-child(3n+1) p { max-width: 560px; }
.service-no { font-size: 11px; color: var(--gold); letter-spacing: .15em; }
.service-card h3 { font-size: 25px; line-height: 1.2; margin: 34px 0 12px; }
.service-card p { font-size: 14px; color: var(--muted); max-width: 320px; }
.service-card a { position: relative; margin-top: auto; padding-top: 18px; font-size: 12px; letter-spacing: .06em; color: #d9d5cd; display: inline-flex; gap: 10px; transition: color .3s; }
.service-card a span { color: var(--gold); }
.service-card a:hover { color: var(--gold); }

/* ---------- Processo ---------- */
.process { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps article { padding: 28px 28px 0 0; }
.steps article + article { padding-left: 28px; border-left: 1px solid var(--line); }

/* ---------- Clientes ---------- */
.clients { background: var(--black); }
.client-logos { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client-logos:empty { display: none; }
.client-logos li { background: var(--black); display: grid; place-items: center; padding: 28px; min-height: 110px; }
.client-logos img { max-height: 46px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .75; transition: all .4s; }
.client-logos li:hover img { filter: none; opacity: 1; }
.segments { display: flex; flex-wrap: wrap; gap: 12px; }
.segments span { border: 1px solid var(--line); padding: 12px 20px; font: italic 18px var(--serif); color: #dcd7ce; }

/* ---------- Orçamento ---------- */
.quote-form { background: linear-gradient(180deg, var(--surface), var(--graphite)); border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 7vw; align-items: start; }
.quote-intro h2 { margin-bottom: 24px; }
.quote-intro p { color: #b9b5ad; max-width: 420px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #c9c5bc; }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(8,8,8,.55); border: 1px solid rgba(255,255,255,.16); color: var(--white);
  padding: 14px 16px; font: 16px var(--sans); border-radius: 0; transition: border-color .3s, background .3s;
  color-scheme: dark;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(8,8,8,.8); }
.field.invalid input, .field.invalid select { border-color: #d0675c; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 6px; }
.form-status { margin: 0; font-size: 14px; color: var(--gold); }

/* ---------- Contato ---------- */
.contact { background: var(--black); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.contact-item { position: relative; padding: 32px 28px 32px 0; display: flex; flex-direction: column; gap: 6px; }
.contact-item + .contact-item { padding-left: 28px; border-left: 1px solid var(--line); }
.contact-item[hidden] { display: none; }
.contact-item[hidden] + .contact-item { padding-left: 0; border-left: 0; }
.contact-label { font-size: 11px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.contact-value { font: 500 24px var(--serif); }
.contact-sub { font-size: 14px; color: var(--muted); }
.contact-arrow { position: absolute; right: 24px; top: 32px; color: var(--gold); transition: transform .35s var(--ease); }
a.contact-item:hover .contact-value { color: var(--gold); }
a.contact-item:hover .contact-arrow { transform: translate(3px, -3px); }

footer { background: var(--black); border-top: 1px solid var(--line); padding: 28px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #77736c; font-size: 11px; letter-spacing: .08em; }
footer .brand-mark { font-size: 24px; }
footer .brand-logo { height: 64px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--black); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .35s var(--ease), background .3s; }
.wa-float[hidden] { display: none; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); background: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(5,5,5,.94); display: grid; place-items: center; padding: 60px 16px 24px; animation: fade .4s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox-stage img, .lightbox-stage video { max-width: min(92vw, 1400px); max-height: 84svh; width: auto; height: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border: 1px solid var(--line); background: none; color: var(--white); font-size: 18px; cursor: pointer; }
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
@keyframes fade { from { opacity: 0; } }
body.no-scroll { overflow: hidden; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr .8fr; gap: 5vw; }
  .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars article:nth-child(3), .steps article:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars article:nth-child(n+3), .steps article:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child:nth-child(3n+1) { grid-column: auto; }
  .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .quote-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 800px) {
  .topbar, .topbar.scrolled { height: 64px; }
  .topbar { background: linear-gradient(180deg, rgba(8,8,8,.7), transparent); }
  .topbar.scrolled { background: rgba(8,8,8,.92); }
  .brand-logo, .topbar.scrolled .brand-logo { height: 42px; }
  .client-names { gap: 10px 26px; }
  .client-names li::after { margin-left: 26px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; z-index: 51; }
  .menu-toggle span { width: 22px; height: 1px; background: var(--white); transition: transform .35s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 50; background: rgba(8,8,8,.98); flex-direction: column; justify-content: center; align-items: stretch; gap: 0; padding: 80px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font: 500 30px var(--serif); color: var(--white); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta { margin-top: 28px; font: 600 14px var(--sans); text-align: center; padding: 18px; border-bottom: 1px solid var(--gold-soft); }

  /* Abertura em tela cheia no celular */
  .hero { display: flex; align-items: flex-end; padding: 0 var(--gutter) 90px; }
  .hero-media { position: absolute; inset: 0; height: 100%; width: 100%; aspect-ratio: auto; box-shadow: none; }
  .hero-media::after { background: linear-gradient(180deg, rgba(8,8,8,.3) 0%, rgba(8,8,8,.1) 18%, rgba(8,8,8,.78) 42%, rgba(8,8,8,.92) 70%, var(--black) 100%); }
  .frame-corner { display: none; }
  .rec { top: 80px; left: var(--gutter); }
  .hero h1 { font-size: clamp(42px, 11vw, 64px); margin: 20px 0 16px; }
  .hero-copy { font-size: 19px; }
  .hero-note { font-size: 14px; margin-bottom: 28px; }
  .hero-actions { gap: 22px; }
  .hero-footer { bottom: 22px; }
  .hero-footer span:nth-child(2), .hero-footer span:nth-child(3) { display: none; }

  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .work-info span { font-size: 9px; letter-spacing: .14em; }
  .work-wide .work-media { aspect-ratio: 16 / 9; }
  .work-info h3 { font-size: 18px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .filter { white-space: nowrap; }
  .contact-item + .contact-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .pillars, .steps, .service-grid { grid-template-columns: 1fr; }
  .pillars article, .steps article, .pillars article + article, .steps article + article { padding: 24px 0; border-left: 0; margin-top: 0; border-top: 1px solid var(--line); }
  .pillars, .steps { border-top: 0; }
  .service-card { min-height: 0; padding: 26px 22px; }
  .service-card h3 { margin-top: 18px; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; justify-content: space-between; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .segments span { font-size: 16px; padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .eyebrow, .js .hero h1 .line, .js .hero-copy, .js .hero-note, .js .hero-actions, .js .hero-media { opacity: 1; transform: none; clip-path: none; }
}
