/* ==========================================================================
   Real Custom Builds  |  styles.css  (v2)
   Built by EVEN Media, Austin TX
   Brand: black and yellow, from the RC logo. One typeface, two widths.
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --ink: #131313;
  --ink-2: #1c1c1c;
  --line-d: #262626;
  --line-d2: #343434;
  --paper: #f3f0e9;
  --paper-2: #e8e4db;
  --line-l: #d6d0c3;
  --yellow: #ffd700;
  --yellow-ink: #0a0a0a;
  --on-dark: #f3f0e9;
  --on-dark-muted: #a19d94;
  --on-light: #141414;
  --on-light-muted: #5f5b53;
  --ok: #2f9e5f;
  --bad: #c84b31;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 112%;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --header-h: 72px;
  --mobile-bar-h: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-snap: cubic-bezier(.76, 0, .24, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--on-dark);
  font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: var(--mobile-bar-h);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--black); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--yellow); color: var(--black); padding: 10px 14px; font-weight: 600; }
.skip-link:focus { top: 8px; }

/* Type ------------------------------------------------------------------- */
h1, h2, h3, .display {
  font-weight: 800; font-stretch: var(--wide);
  letter-spacing: -.035em; line-height: .96;
}
h1 { font-size: clamp(44px, 6.8vw, 92px); }
h2 { font-size: clamp(36px, 5.2vw, 68px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.08; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; max-width: 58ch; }
.light .lead { color: var(--on-light-muted); }
.dark .lead, .hero .lead { color: var(--on-dark-muted); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.label::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex: none; }
.dark .label { color: var(--on-dark-muted); }
.light .label { color: var(--on-light-muted); }

.hl { color: var(--yellow); }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.dark { background: var(--black); color: var(--on-dark); }
.light { background: var(--paper); color: var(--on-light); }
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.head h2 { max-width: 14ch; margin-top: 6px; }
@media (min-width: 900px) {
  .head.row { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .head.row .lead { max-width: 44ch; justify-self: end; padding-bottom: 6px; }
}
.brand-rule { height: 6px; background: var(--yellow); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; font-size: 15px; font-weight: 700; letter-spacing: .02em;
  border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-primary:hover { background: var(--on-dark); border-color: var(--on-dark); }
.light .btn-primary:hover { background: var(--black); border-color: var(--black); color: var(--paper); }
.btn-ghost { border-color: rgba(243,240,233,.3); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); }
.light .btn-ghost { border-color: rgba(20,20,20,.3); color: var(--on-light); }
.light .btn-ghost:hover { border-color: var(--on-light); }
.btn-dark { background: var(--black); color: var(--paper); border-color: var(--black); }
.btn-dark:hover { background: var(--ink-2); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(10,10,10,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line-d); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 28px; width: auto; }
.logo-word { font-weight: 800; font-stretch: var(--wide); font-size: 16px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; padding-left: 12px; border-left: 1px solid var(--line-d2); }
@media (min-width: 480px) { .logo img { height: 32px; } .logo-word { font-size: 18px; } }
.nav { display: none; }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.menu-btn .bars { width: 22px; height: 12px; position: relative; }
.menu-btn .bars span { position: absolute; left: 0; right: 0; height: 2px; background: var(--on-dark); transition: transform .3s var(--ease-snap), opacity .2s; }
.menu-btn .bars span:nth-child(1) { top: 0; }
.menu-btn .bars span:nth-child(2) { top: 5px; }
.menu-btn .bars span:nth-child(3) { top: 10px; }
.menu-open .menu-btn .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 45; background: var(--black);
  padding: 20px var(--gutter) 40px; display: flex; flex-direction: column;
  transform: translateY(-6px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; overflow-y: auto;
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav a { font-size: 34px; font-weight: 800; font-stretch: var(--wide); letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
.mobile-nav a.cta { color: var(--yellow); }
.mobile-nav .foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; color: var(--on-dark-muted); font-size: 15px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .menu-btn, .mobile-nav { display: none; }
  .nav { display: flex; gap: 2px; }
  .nav a { position: relative; padding: 10px 13px; font-size: 14px; font-weight: 500; color: var(--on-dark-muted); transition: color .2s; }
  .nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-snap); }
  .nav a:hover, .nav a.is-active { color: var(--on-dark); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .header-cta { display: flex; align-items: center; gap: 18px; }
  .header-cta .phone { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
  .header-cta .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--on-dark); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.25) 0%, rgba(10,10,10,.1) 30%, rgba(10,10,10,.78) 72%, var(--black) 100%);
}
.hero-body { position: relative; z-index: 1; padding: 140px 0 48px; }
.hero h1 { max-width: 13ch; margin: 22px 0 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; transform: translateY(108%); animation: riseIn 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .09s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .18s; }
@keyframes riseIn { to { transform: none; } }
.hero .lead { max-width: 50ch; color: #d8d4cb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .label, .hero .lead, .hero-actions { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero .label { animation-delay: .05s; color: var(--on-dark); font-size: 13px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero .lead { animation-delay: .4s; }
.hero-actions { animation-delay: .55s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Facts row under hero */
.facts { position: relative; z-index: 1; border-top: 1px solid var(--line-d); }
.facts .container { display: grid; grid-template-columns: 1fr 1fr; }
.fact { padding: 24px 20px 24px 0; border-right: 1px solid var(--line-d); opacity: 0; animation: factIn .7s var(--ease) forwards; }
.fact:nth-child(1) { animation-delay: .6s; }
.fact:nth-child(2) { animation-delay: .72s; }
.fact:nth-child(3) { animation-delay: .84s; }
.fact:nth-child(4) { animation-delay: .96s; }
@keyframes factIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fact:nth-child(even) { padding-left: 20px; border-right: 0; }
.fact:nth-child(n+3) { border-top: 1px solid var(--line-d); }
.fact-value { white-space: nowrap; font-weight: 800; font-stretch: var(--wide); font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1; }
.fact-value sup { font-size: .45em; color: var(--yellow); position: relative; top: -.1em; vertical-align: top; margin-left: 2px; }
.fact-label { font-size: 13px; color: var(--on-dark-muted); margin-top: 8px; }
@media (min-width: 900px) {
  .facts .container { grid-template-columns: repeat(4, 1fr); }
  .fact, .fact:nth-child(even) { padding: 28px 28px; border-right: 1px solid var(--line-d); border-top: 0 !important; }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; }
}

/* Trust line ------------------------------------------------------------- */
.trust { border-bottom: 1px solid var(--line-l); background: var(--paper); color: var(--on-light); }
.trust .container { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-top: 18px; padding-bottom: 18px; }
.trust span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.trust span::before { content: ""; width: 7px; height: 7px; background: var(--yellow); }
.trust .es { margin-left: auto; }

/* Services --------------------------------------------------------------- */
.services-grid { display: grid; gap: 40px; }
.services-intro { display: grid; gap: 20px; align-content: start; }
.services-intro .btn { justify-self: start; margin-top: 8px; }
.services-intro h2 { font-size: clamp(34px, 4.2vw, 56px); }
.services-photo { margin-top: 28px; display: none; }
.services-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.services-photo figcaption { font-size: 12px; color: var(--on-light-muted); margin-top: 10px; letter-spacing: .04em; }
@media (min-width: 980px) { .services-photo { display: block; } }
.service-list { border-top: 1px solid var(--line-l); }
.service {
  position: relative; display: grid; gap: 10px; padding: 26px 0 28px; border-bottom: 1px solid var(--line-l);
  transition: padding-left .35s var(--ease);
}
.service::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 0; background: var(--yellow); transition: width .35s var(--ease-snap); }
.service:hover { padding-left: 22px; }
.service:hover::before { width: 6px; }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.service-top .idx { font-size: 13px; font-weight: 600; color: var(--on-light-muted); letter-spacing: .06em; }
.service h3 { font-size: clamp(24px, 2.6vw, 34px); }
.service p { color: var(--on-light-muted); max-width: 60ch; }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--on-light-muted); }
.service .tags span::before { content: "/"; margin-right: 8px; color: var(--line-l); }
.service .tags span:first-child::before { content: none; }
@media (min-width: 980px) {
  .services-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .services-intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Projects --------------------------------------------------------------- */
.feature { position: relative; }
.feature-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.025); }
.feature-caption {
  background: var(--paper); color: var(--on-light); padding: 26px 24px 28px; display: grid; gap: 14px;
  margin: -40px var(--gutter) 0; position: relative;
}
.feature-caption .tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); }
.feature-caption h3 { font-size: clamp(26px, 3vw, 40px); }
.feature-caption p { color: var(--on-light-muted); font-size: 16px; }
.meta { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; font-size: 13px; padding-top: 14px; border-top: 1px solid var(--line-l); }
.meta b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); font-weight: 600; margin-bottom: 3px; }
.dark .meta { border-color: var(--line-d); }
.dark .meta b { color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .feature-media { aspect-ratio: 21 / 9; }
  .feature-caption { position: absolute; left: 0; bottom: 0; margin: 0; width: min(520px, 46%); padding: 32px 34px 36px; }
}

.project-row { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 80px); }
.project { display: grid; gap: 18px; }
.project-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project-media img { transform: scale(1.03); }
.project-body { display: grid; gap: 10px; }
.project-body .tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.project-body p { color: var(--on-dark-muted); font-size: 16px; max-width: 56ch; }
.project-row { gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) {
  .project.split { grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
  .project.split .project-body { padding-bottom: 4px; }
}

.work-grid { display: grid; gap: 40px 24px; margin-top: clamp(48px, 7vw, 96px); }
.work-grid .project-media { aspect-ratio: 4 / 5; }
.work-grid h3 { font-size: clamp(20px, 1.9vw, 24px); }
.work-grid .project-body p { font-size: 15px; }
@media (min-width: 620px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }

/* Before / After */
.ba-wrap { margin-top: clamp(56px, 8vw, 110px); display: grid; gap: 24px; }
.ba-grid { display: grid; gap: 28px; }
.ba-grid figcaption { margin-top: 12px; font-size: 14px; color: var(--on-dark-muted); }
.ba-grid figcaption b { color: var(--on-dark); font-weight: 700; margin-right: 10px; }
@media (min-width: 760px) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ba { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--yellow); transform: translateX(-1px); pointer-events: none; }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat;
}
.ba .lbl { position: absolute; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--black); color: var(--on-dark); padding: 7px 10px; pointer-events: none; }
.ba .lbl-before { left: 14px; }
.ba .lbl-after { right: 14px; background: var(--yellow); color: var(--black); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }

/* Case band: a project told in words, full width, no photo */
.case-band { background: var(--yellow); color: var(--black); padding: clamp(26px, 4.4vw, 60px); display: grid; gap: 28px; }
.case-lead { display: grid; gap: 18px; align-content: start; }
.case-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.case-big { font-weight: 800; font-stretch: var(--wide); font-size: clamp(34px, 4.6vw, 62px); line-height: .98; letter-spacing: -.035em; max-width: 11ch; }
.case-body { display: grid; gap: 12px; }
.case-body h3 { font-size: clamp(22px, 2.3vw, 30px); }
.case-body p { color: rgba(10,10,10,.82); font-size: 16px; max-width: 58ch; }
.case-band .meta { border-top: 1px solid rgba(10,10,10,.28); margin-top: 6px; }
.case-band .meta b { color: rgba(10,10,10,.64); }
@media (min-width: 900px) { .case-band { grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; } }

/* Photo pair */
.pair { margin-top: clamp(56px, 8vw, 110px); display: grid; gap: 24px; }
.pair-head { display: grid; gap: 8px; }
.pair-head p { color: var(--on-dark-muted); font-size: 16px; }
.pair-grid { display: grid; gap: 16px; }
.pair-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--ink); }
.pair-grid figcaption { margin-top: 12px; font-size: 14px; color: var(--on-dark-muted); }
.pair-grid figcaption b { color: var(--on-dark); font-weight: 700; margin-right: 10px; }
@media (min-width: 760px) { .pair-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .pair-grid.three { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Process ---------------------------------------------------------------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line-l); }
.step-num { font-weight: 800; font-stretch: var(--wide); font-size: 56px; line-height: .85; letter-spacing: -.04em; color: var(--line-l); transition: color .5s; }
.step.is-visible .step-num { color: var(--on-light); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--on-light-muted); max-width: 46ch; }
.step .dur { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-muted); border-left: 3px solid var(--yellow); padding-left: 10px; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 0 40px; }
  .step { grid-template-columns: 1fr; gap: 28px; padding: 0; border: 0; align-content: start; }
  .step-num { font-size: clamp(88px, 9vw, 128px); padding-bottom: 22px; border-bottom: 1px solid var(--line-l); }
}

/* Owner ------------------------------------------------------------------ */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .stamp { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--black); padding: 12px 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.about-copy { display: grid; gap: 20px; }
.about-copy p { color: var(--on-dark-muted); }
.about-copy blockquote { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; font-stretch: 104%; letter-spacing: -.025em; line-height: 1.12; color: var(--on-dark); padding-left: 22px; border-left: 4px solid var(--yellow); margin: 6px 0; }
.points { display: grid; gap: 12px; margin-top: 6px; }
.points li { position: relative; padding-left: 22px; font-size: 16px; }
.points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--yellow); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

/* Area ------------------------------------------------------------------- */
.area-grid { display: grid; gap: 40px; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.area-list li { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; }
.area-list li::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex: none; }
.area-note { margin-top: 28px; font-size: 15px; color: var(--on-light-muted); max-width: 44ch; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .area-list { grid-template-columns: repeat(3, 1fr); } }

/* Testimonials ----------------------------------------------------------- */
.quotes { display: grid; gap: 36px; border-top: 1px solid var(--line-l); padding-top: 40px; }
.quote { display: grid; gap: 18px; align-content: start; }
.quote .mark { font-size: 64px; line-height: .5; font-weight: 800; color: var(--yellow); height: 30px; }
.quote p { font-size: 19px; line-height: 1.45; letter-spacing: -.01em; }
.quote footer { font-size: 14px; color: var(--on-light-muted); display: grid; gap: 2px; }
.quote footer b { color: var(--on-light); font-weight: 600; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

.quote-feature { border-top: 1px solid var(--line-l); padding-top: 44px; display: grid; gap: 28px; max-width: 980px; }
.quote-feature .mark { font-size: 96px; line-height: .5; font-weight: 800; color: var(--yellow); height: 40px; display: block; }
.quote-feature p { font-size: clamp(24px, 3vw, 40px); font-weight: 600; font-stretch: 104%; line-height: 1.16; letter-spacing: -.025em; }
.quote-feature footer { font-size: 15px; color: var(--on-light-muted); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.quote-feature footer b { color: var(--on-light); font-weight: 700; }
.area-sub { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); margin-bottom: 20px; }

/* FAQ -------------------------------------------------------------------- */
.faq-grid { display: grid; gap: 36px; }
.faq-list { border-top: 1px solid var(--line-d); }
.faq-item { border-bottom: 1px solid var(--line-d); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 22px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; transition: color .2s; }
.faq-q:hover { color: var(--yellow); }
.faq-q .plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--yellow); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .3s var(--ease-snap); }
.faq-q .plus::before { width: 20px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 20px; }
.faq-q[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-snap); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--on-dark-muted); padding: 0 0 24px; max-width: 64ch; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .faq-grid .head { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; } }

/* Lead magnet ------------------------------------------------------------ */
.magnet { background: var(--yellow); color: var(--black); }
.magnet .container { display: grid; gap: 24px; padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 72px); }
.magnet h2 { font-size: clamp(30px, 4vw, 52px); max-width: 16ch; }
.magnet p { max-width: 54ch; color: rgba(10,10,10,.78); }
.magnet form { display: flex; flex-wrap: wrap; gap: 10px; }
.magnet input { flex: 1 1 240px; min-height: 54px; padding: 0 16px; border: 1.5px solid rgba(10,10,10,.35); background: rgba(255,255,255,.35); color: var(--black); }
.magnet input::placeholder { color: rgba(10,10,10,.55); }
.magnet input:focus { outline: 0; border-color: var(--black); background: rgba(255,255,255,.6); }
@media (min-width: 900px) { .magnet .container { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; } }

/* Quote form ------------------------------------------------------------- */
.quote-grid { display: grid; gap: 40px; }
.quote-side { display: grid; gap: 28px; align-content: start; }
.contact-list { display: grid; border-top: 1px solid var(--line-d); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--line-d); display: grid; gap: 4px; }
.contact-list b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.contact-list a, .contact-list .big { font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; }
.contact-list a:hover { color: var(--yellow); }
.contact-list small { color: var(--on-dark-muted); font-size: 14px; }
.espanol { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.espanol::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }

.form-wrap { background: var(--ink); border: 1px solid var(--line-d); }
.form-progress { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-d); }
.form-progress button { position: relative; padding: 16px 14px; text-align: left; display: grid; gap: 3px; color: var(--on-dark-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: default; }
.form-progress button b { font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--on-dark-muted); }
.form-progress button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-snap); }
.form-progress button.is-active b, .form-progress button.is-done b { color: var(--on-dark); }
.form-progress button.is-active::after, .form-progress button.is-done::after { transform: scaleX(1); }
.form-progress button.is-done { cursor: pointer; }
.form-progress button.is-done::before { content: ""; position: absolute; right: 14px; top: 18px; width: 8px; height: 8px; background: var(--yellow); }

.form-steps { padding: 28px 20px 24px; }
.form-step { display: none; animation: fadeUp .45s var(--ease); }
.form-step.is-active { display: grid; gap: 20px; }
.form-step h3 { font-size: 26px; }
.form-step .hint { color: var(--on-dark-muted); font-size: 15px; margin-top: -10px; }
fieldset.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }

.field { display: grid; gap: 8px; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--on-dark-muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; background: var(--black); border: 1.5px solid var(--line-d2); transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--yellow); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .choices { border-color: var(--bad); }
.field .err { display: none; color: #e8846d; font-size: 13px; }
.field.is-invalid .err { display: block; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; border: 1.5px solid transparent; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 10px 12px; border: 1.5px solid var(--line-d2); background: var(--black); font-size: 15px; font-weight: 500; line-height: 1.2; transition: border-color .2s, background .2s, color .2s; }
.choice input:hover + span { border-color: var(--on-dark-muted); }
.choice input:checked + span { border-color: var(--yellow); background: rgba(255,215,0,.08); color: var(--yellow); }
.choice input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (min-width: 620px) { .choices.cols-3 { grid-template-columns: repeat(3, 1fr); } .choices.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.form-nav .btn-back { color: var(--on-dark-muted); font-weight: 600; font-size: 15px; padding: 10px 0; }
.form-nav .btn-back:hover { color: var(--on-dark); }
.form-foot { padding: 16px 20px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--on-dark-muted); }
.form-success { display: none; padding: 48px 24px; text-align: center; }
.form-success.is-active { display: grid; gap: 14px; justify-items: center; }
.form-success .check { width: 56px; height: 56px; background: var(--yellow); display: grid; place-items: center; }
.form-success .check svg { width: 28px; height: 28px; }
.honey { position: absolute; left: -9999px; }
@media (min-width: 1024px) { .quote-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .form-steps { padding: 36px 36px 30px; } .form-foot { padding: 16px 36px; } }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--black); color: var(--on-dark); padding: 64px 0 40px; border-top: 1px solid var(--line-d); }
.footer-grid { display: grid; gap: 40px; }
.footer-brand { display: grid; gap: 18px; }
.footer-brand .logo img { height: 36px; width: auto; }
.footer-brand .logo-word { font-size: 20px; }
.footer-brand p { color: var(--on-dark-muted); font-size: 15px; max-width: 34ch; }
.footer h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 16px; font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-muted); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col .big { font-weight: 700; font-size: 20px; color: var(--on-dark); letter-spacing: -.01em; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--on-dark-muted); font-size: 13px; }
.footer-bottom a { color: var(--on-dark-muted); border-bottom: 1px solid var(--line-d2); }
.footer-bottom a:hover { color: var(--on-dark); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--on-dark-muted); border: 1px solid var(--line-d); padding: 8px 13px; transition: color .2s, border-color .2s; }
.footer-social a:hover { color: var(--black); background: var(--yellow); border-color: var(--yellow); }
.footer-social svg { width: 16px; height: 16px; }

/* Cookie consent -------------------------------------------------------- */
.cookie-bar { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 70; max-width: 540px; margin-left: auto; background: var(--ink-2); color: var(--on-dark); border: 1px solid var(--line-d2); padding: 16px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: 0 16px 50px rgba(0,0,0,.5); opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cookie-bar.is-in { opacity: 1; transform: none; }
.cookie-bar p { flex: 1 1 240px; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--on-dark-muted); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-btn { font-size: 13px; font-weight: 700; padding: 9px 16px; border: 1px solid var(--line-d2); transition: background .2s, color .2s, border-color .2s; }
.cookie-accept { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.cookie-accept:hover { filter: brightness(1.06); }
.cookie-decline { background: transparent; color: var(--on-dark); }
.cookie-decline:hover { border-color: var(--on-dark); }
@media (max-width: 1023px) { .cookie-bar { bottom: calc(var(--mobile-bar-h) + 12px); left: 12px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }

/* Mobile bar ------------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: var(--mobile-bar-h);
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; background: var(--black); border-top: 1px solid var(--line-d);
  padding-bottom: env(safe-area-inset-bottom); transition: transform .35s var(--ease);
}
.mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; border-right: 1px solid var(--line-d); }
.mobile-bar a svg { width: 18px; height: 18px; }
.mobile-bar a:last-child { border-right: 0; background: var(--yellow); color: var(--black); }
.mobile-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 1024px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* Reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Thank-you -------------------------------------------------------------- */
.thanks { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }
.thanks .inner { display: grid; gap: 22px; justify-items: center; max-width: 60ch; }

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero .label, .hero .lead, .hero-actions { opacity: 1; }
  .fact { opacity: 1; animation: none; }
}
