/* Tokens: light by default, dark via prefers-color-scheme. Accent is the brand gold from the logo. */
:root {
  --bg: #f1f1ee;
  --surface: #ffffff;
  --surface-2: #e7e7e3;
  --ink: #141414;
  --ink-2: #55554f;
  --line: rgba(20, 20, 20, 0.1);
  --accent: #bc924a;
  --accent-ink: #141414;
  --dark: #161615;
  --on-dark: #f1f1ee;
  --on-dark-2: #a3a39b;
  --radius: 20px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
  --body: "Satoshi", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0e;
    --surface: #181817;
    --surface-2: #222220;
    --ink: #eeeeea;
    --ink-2: #9c9c94;
    --line: rgba(238, 238, 234, 0.1);
    --dark: #1d1d1b;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--ink-2); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Grain on a fixed, non-scrolling layer only */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(40px, 5.6vw, 84px); max-width: 16ch;
}
.lead { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); max-width: 52ch; margin-top: 24px; }

/* Buttons: pill system */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 16px;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn i { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover i { transform: translate(2px, -2px); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: var(--accent-ink); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 18px 30px; font-size: 18px; }

/* Nav: floating pill */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0;
  width: min(calc(100% - 2 * var(--pad)), var(--max));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px; padding: 0 10px 0 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), translate .5s var(--ease);
}
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--line);
}
.nav.is-hidden { translate: -50% -140%; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 30px; font-size: 15px; }
.nav__links a { position: relative; color: var(--ink-2); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; }
.menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 100dvh; padding: 104px var(--pad) 0; overflow: hidden; }
.hero__copy {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end;
}
.hero__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.045em;
  font-size: clamp(40px, 4.4vw, 72px); line-height: 0.98;
}
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .word > span { display: inline-block; }
.hero__sub { color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero__media {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  clip-path: inset(50% 4% 3% 4% round 20px);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: translateY(26vh); will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,9,.82), rgba(10,10,9,.25) 60%, rgba(10,10,9,.1)); opacity: 0; }
.hero__statement {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(40px, 8vh, 96px);
  max-width: var(--max); margin: 0 auto; color: #f1f1ee; opacity: 0;
}
.hero__statement-big { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-size: clamp(36px, 5vw, 80px); max-width: 15ch; }
.hero__statement-small { margin-top: 18px; color: rgba(241,241,238,.75); font-size: 18px; }

/* Areas bento */
.areas, .method, .faq { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 12vw, 168px) var(--pad); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.tile {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 340px; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  transition: transform .5s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--x) var(--y), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}
.tile:hover::before { opacity: 1; }
.tile:hover { transform: translateY(-4px); }
.tile--wide { grid-column: span 2; }
.tile h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(28px, 2.6vw, 40px); margin-bottom: 12px; }
.tile p { color: var(--ink-2); max-width: 46ch; }
.tile__icon { font-size: 44px; color: var(--accent); }
.tile--dark { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.tile--dark p { color: var(--on-dark-2); }
.tile--accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tile--accent p { color: rgba(20,20,20,.72); }
.tile--accent .tile__icon { color: var(--accent-ink); }
.tile--accent::before { background: radial-gradient(420px circle at var(--x) var(--y), rgba(255,255,255,.35), transparent 60%); }
.tile__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }
.tile--photo { color: #f1f1ee; border-color: transparent; background: #121211; }
.tile--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: .55; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.tile--photo:hover img { transform: scale(1.1); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12,12,11,.92) 30%, rgba(12,12,11,.2)); }
.tile--photo p { color: rgba(241,241,238,.78); }

/* Vehicles sticky stack */
.cars { padding-top: clamp(64px, 8vw, 120px); }
.cars__intro { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(32px, 5vw, 64px); }
.stack__card { position: relative; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 0 var(--pad); }
.stack__inner {
  width: 100%; max-width: var(--max); min-height: min(76dvh, 640px);
  border-radius: var(--radius); padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; column-gap: 48px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--ink) 35%, transparent);
  will-change: transform;
}
.stack__card--dark .stack__inner { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.stack__card--dark .stack__inner p { color: var(--on-dark-2); }
.stack__card--muted .stack__inner { background: var(--surface-2); }
.stack__card--accent .stack__inner { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.stack__card--accent .stack__inner p { color: rgba(20,20,20,.75); }
.stack__card--accent .stack__inner i { color: var(--accent-ink); }
.stack__inner i { font-size: clamp(64px, 9vw, 140px); color: var(--accent); grid-column: 1; grid-row: 1; }
.stack__inner h3 { grid-column: 1; grid-row: 2; font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: .98; font-size: clamp(40px, 6vw, 96px); max-width: 10ch; }
.stack__inner p { grid-column: 2; grid-row: 2; align-self: end; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 21px); max-width: 38ch; justify-self: end; }

/* Method with scroll-drawn path */
.method__body { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(20px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); }
.method__path { width: 40px; height: 100%; overflow: visible; }
.method__track, .method__draw { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.method__track { stroke: var(--line); }
.method__draw { stroke: var(--accent); }
.steps { list-style: none; display: grid; gap: clamp(56px, 8vw, 112px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: baseline; }
.step h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-size: clamp(40px, 6vw, 96px); }
.step p { color: var(--ink-2); font-size: 18px; max-width: 40ch; }

/* FAQ */
.faq__list { margin-top: clamp(40px, 5vw, 64px); max-width: 900px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(21px, 2vw, 28px); line-height: 1.2;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; font-size: 24px; transition: transform .5s var(--ease); }
.qa[open] summary i { transform: rotate(45deg); }
.qa__body { overflow: hidden; }
.qa__body p { color: var(--ink-2); max-width: 64ch; padding-bottom: 28px; }

/* Contact */
.contact { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 12vw, 168px); overflow: hidden; }
.ticker { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(28px, 4vw, 56px); white-space: nowrap; }
.ticker__track i { color: var(--accent); font-size: .7em; }
.contact__box { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--pad) 0; }
.contact__title { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: .98; font-size: clamp(48px, 7.4vw, 124px); max-width: 13ch; }
.contact__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.contact__title .word > span { display: inline-block; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Contact channels + form */
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 6vw, 80px); }
.channels { list-style: none; display: grid; gap: 12px; }
.channel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; overflow-wrap: anywhere;
  transition: border-color .3s var(--ease), transform .4s var(--ease), background-color .3s var(--ease);
}
.channel > i:first-child { font-size: 30px; color: var(--accent); }
.channel small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); margin-bottom: 2px; }
.channel__go { font-size: 20px; color: var(--ink-2); transition: transform .4s var(--ease), color .3s; }
.channel:hover { border-color: var(--ink); transform: translateY(-2px); }
.channel:hover .channel__go { transform: translate(3px, -3px); color: var(--accent); }

.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field [aria-invalid="true"] { border-color: #c4402f; }
.field__error { min-height: 0; font-size: 14px; color: #b3382a; }
.field__error:empty { display: none; }
@media (prefers-color-scheme: dark) { .field__error { color: #f08a7a; } .field [aria-invalid="true"] { border-color: #f08a7a; } }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.form__submit { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ink); padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.form__status.is-error { color: #b3382a; }
@media (prefers-color-scheme: dark) { .form__status.is-error { color: #f08a7a; } }

.footer__links { display: grid; gap: 6px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); transition: color .3s; }
.footer__links a:hover { color: var(--ink); }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .form__row { grid-template-columns: 1fr; }
  .form__submit { justify-self: stretch; justify-content: center; }
  .channel { padding: 18px; gap: 14px; }
}

/* Footer */
.footer {
  max-width: var(--max); margin: 0 auto; padding: 48px var(--pad) 40px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: end;
  border-top: 1px solid var(--line); font-size: 15px;
}
.footer__mark { width: 56px; height: auto; }
.footer__info { display: flex; gap: 48px; flex-wrap: wrap; }

/* WhatsApp */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--ink) 45%, transparent);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.wa:hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.06); }

/* Tablet & mobile */
@media (max-width: 1023px) {
  .nav__links, .nav > .btn { display: none; }
  .nav { padding: 0 8px 0 20px; height: 60px; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; cursor: pointer;
  }
  .menu {
    display: flex; position: fixed; inset: 0; z-index: 45; background: var(--bg);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 96px var(--pad) 40px;
    font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(40px, 10vw, 64px); line-height: 1.15;
  }
  .menu[hidden] { display: none; }
  .menu .btn { font-family: var(--body); font-size: 17px; letter-spacing: 0; margin-top: 24px; }
}

@media (max-width: 899px) {
  .hero { padding-top: 96px; padding-bottom: 32px; }
  .hero__copy { grid-template-columns: 1fr; gap: 24px; }
  .hero__media { position: relative; inset: auto; margin-top: 32px; aspect-ratio: 4 / 4.6; clip-path: none; border-radius: var(--radius); }
  .hero__media img { transform: none; object-position: 50% 12%; }
  .hero__shade { opacity: 1; }
  .hero__statement { opacity: 1; left: 24px; right: 24px; bottom: 24px; }
  .hero__statement-big { font-size: 30px; }
  .hero__statement-small { font-size: 15px; margin-top: 10px; }
}

@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile { min-height: 280px; padding: 26px; }
  .stack__inner { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; min-height: 70dvh; row-gap: 20px; }
  .stack__inner i, .stack__inner h3, .stack__inner p { grid-column: 1; grid-row: auto; justify-self: start; }
  .stack__inner p { align-self: end; }
  .method__body { grid-template-columns: 28px 1fr; }
  .method__path { width: 24px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .hero__ctas .btn, .contact__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .footer { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .stack__card { min-height: auto; padding-block: 8px; }
}
