/* AdMaven Lab — light editorial agency.
   Layout: asymmetric hero, bento services, dark figure band, case grid,
   quote trio, press marquee, split contact. One accent (ultramarine). */
:root {
    --paper:   #f3f3f1;   /* cool neutral ground, not warm cream */
    --surface: #ffffff;
    --ink:     #141416;   /* near-black */
    --ink-2:   #1b1b1e;
    --muted:   #68686d;
    --line:    #e2e2dd;
    --accent:  #2e2bff;   /* electric ultramarine — the single pop */
    --accent-ink: #ffffff;
    --radius:  14px;
    --wrap:    1180px;
    --fs-display: "Sora", "Segoe UI", system-ui, sans-serif;
    --fs-body:    "Inter Tight", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--fs-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    opacity: 1;
}
body.preload { opacity: 0; }
body { transition: opacity .5s ease; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.display { font-family: var(--fs-display); font-weight: 800; letter-spacing: -.03em; line-height: 1; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100; }
.skip:focus { left: 0; }

/* Buttons — one radius scale (pill), one contact label */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--fs-body); font-weight: 600; font-size: .95rem; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #211fcc; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wide { width: 100%; }

.eyebrow { font-family: var(--fs-body); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
.section-title { font-family: var(--fs-display); font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; text-wrap: balance; margin: 0 0 36px; max-width: 20ch; }

/* Nav — single line, <72px */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fs-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; margin-inline-start: 10px; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.lang-btn { border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; padding: 2px; }
.lang-btn.is-active { color: var(--accent); }
.burger { display: none; width: 42px; height: 38px; background: none; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); }

/* Hero — asymmetric split */
.hero { padding-block: clamp(40px, 6vw, 76px) clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero .display { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin: 0 0 22px; text-wrap: balance; }
.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; border-radius: 18px; background: var(--ink); }
.hero-chip { position: absolute; left: -14px; bottom: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(20,20,22,.14); display: flex; flex-direction: column; gap: 2px; }
.chip-num { font-family: var(--fs-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; color: var(--accent); line-height: 1; }
.chip-lbl { font-size: .78rem; color: var(--muted); max-width: 16ch; }

/* Clients */
.clients { padding-block: 8px 40px; }
.clients-row { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.clients-cap { font-size: .82rem; letter-spacing: .04em; color: var(--muted); margin: 0; }
.logo-wall { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; padding: 0; margin: 0; color: var(--ink); opacity: .62; }
.logo-wall svg { display: block; }

/* Sections */
.section { padding-block: clamp(56px, 7vw, 92px); }
.section-soft { background: var(--surface); border-block: 1px solid var(--line); }

/* Services bento — asymmetric, varied fills */
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tile-top { display: flex; align-items: baseline; gap: 12px; }
.tile-k { font-family: var(--fs-display); font-weight: 700; font-size: .9rem; color: var(--muted); }
.tile h3 { font-family: var(--fs-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; margin: 0; }
.tile p { color: var(--muted); font-size: .96rem; margin: 0; }
.tile-lead { grid-row: span 2; justify-content: space-between; }
.tile-lead h3 { font-size: 1.5rem; }
.tile-lead p { font-size: 1.05rem; color: var(--ink-2); }
.tile-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tile-accent .tile-k, .tile-accent p { color: color-mix(in srgb, #fff 82%, transparent); }
.tile-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile-ink .tile-k, .tile-ink p { color: #a7a7ad; }

/* Figure band — dark, no cards */
.band { background: var(--ink); color: #fff; padding-block: clamp(44px, 6vw, 72px); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fig { display: flex; flex-direction: column; gap: 8px; }
.fig strong { font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; }
.fig:nth-child(3) strong { color: #6d6bff; }
.fig span { color: #9a9aa2; font-size: .92rem; }

/* Cases — card grid with thumb */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.case:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20,20,22,.12); }
.case-thumb { aspect-ratio: 16 / 10; background: var(--ink); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.case-tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 999px; padding: 3px 11px; margin-bottom: 6px; }
.case-metric { font-size: 2.4rem; margin: 0; }
.case h3 { font-family: var(--fs-display); font-weight: 600; font-size: 1.04rem; margin: 2px 0 4px; }
.case-note { color: var(--muted); font-size: .92rem; margin: 0; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--line); }
.quote figcaption b { font-family: var(--fs-display); font-weight: 600; font-size: .95rem; display: block; }
.quote figcaption i { color: var(--muted); font-style: normal; font-size: .85rem; }

/* Press marquee */
.press { padding-block: 44px; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.press-cap { text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin: 0 0 22px; }
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: inline-flex; gap: 56px; white-space: nowrap; will-change: transform; animation: slide 28s linear infinite; }
.marquee-track span { font-family: var(--fs-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); opacity: .32; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Contact split */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-lead { color: var(--muted); font-size: 1.05rem; max-width: 42ch; }
.contact-meta { margin-top: 26px; display: flex; flex-direction: column; gap: 6px; }
.contact-mail { font-family: var(--fs-display); font-weight: 600; font-size: 1.2rem; color: var(--accent); }
.contact-off { color: var(--muted); font-size: .92rem; margin: 0; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field textarea { resize: vertical; }
.form-hint { min-height: 1.2em; font-size: .9rem; color: var(--accent); margin: 2px 0 0; }

/* About */
.about { max-width: 70ch; }
.about-lead { color: var(--muted); font-size: 1.1rem; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px; }
.foot-row { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; margin-inline-start: auto; }
.foot-links a { color: var(--muted); font-size: .92rem; }
.foot-links a:hover { color: var(--ink); }
.foot-small { width: 100%; color: #8a8a90; font-size: .82rem; margin: 6px 0 0; }

/* Scroll reveal — enhancement only; resting state is visible */
.reveal { opacity: 1; }
body.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
body.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { max-width: 520px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .tile-lead { grid-row: auto; grid-column: 1 / -1; }
    .cases, .quotes { grid-template-columns: repeat(2, 1fr); }
    .band-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 8px 0; font-size: 1rem; }
    .nav-actions .btn-ink { display: none; }
    .burger { display: block; }
    .nav-row { position: relative; }
    .cases, .quotes, .bento { grid-template-columns: 1fr; }
    .band-grid { grid-template-columns: 1fr 1fr; }
    .hero-chip { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; }
    body.js .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    body.preload { opacity: 1; }
}
