/* Evolv-To POC: tokens, reset, nav, hero, buttons */
:root {
    --ink: #121212;
    --ink-2: #1b1b1b;
    --ink-3: #262626;
    --paper: #faf8f5;
    --paper-2: #f3efe9;
    --line: rgba(18, 18, 18, 0.08);
    --line-dark: rgba(255, 255, 255, 0.12);
    --muted: #6b6560;
    --muted-dark: rgba(255, 255, 255, 0.55);
    --accent: #af3a4e;
    --accent-hover: #c4465c;
    --accent-soft: rgba(175, 58, 78, 0.1);
    --font-head: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Schibsted Grotesk', 'Segoe UI', Arial, sans-serif;
    --r-sm: 6px;
    --r-md: 6px;
    --r-lg: 6px;
    --gutter: clamp(1.25rem, 5vw, 6rem);
    --nav-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--accent) var(--paper-2); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; border: 2px solid var(--paper-2); }
body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 6rem var(--gutter); }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: #fff; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 0.85rem; border-radius: 6px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dark .eyebrow { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dark .eyebrow::before { background: var(--accent); }
.h-xl { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 600; }
.h-lg { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; }
.h-md { font-size: 1.25rem; font-weight: 600; }
.accent { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.dark .lead { color: var(--muted-dark); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 3.5rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 1.5rem; border-radius: var(--r-sm); border: 1px solid transparent;
    font-weight: 600; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(18, 18, 18, 0.2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }
.btn svg { width: 16px; height: 16px; }

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 var(--gutter); background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 2rem; font-size: 0.93rem; font-weight: 500; color: #3d3833; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem;
    min-height: 100vh; padding: calc(var(--nav-h) + 4rem) var(--gutter) 4rem;
    overflow: hidden; position: relative;
}
.hero::after {
    content: ""; position: absolute; right: -12vw; bottom: -18vw; width: 48vw; height: 48vw;
    border-radius: 50%; background: radial-gradient(circle, rgba(175, 58, 78, 0.18), rgba(175, 58, 78, 0) 65%);
    pointer-events: none;
}
.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; max-width: 40rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 0.9rem; color: var(--muted); font-size: 0.9rem; }
.hero-proof .marks { display: flex; }
.hero-proof .marks img {
    width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper);
    margin-right: -10px; object-fit: cover; background: #fff;
}

/* Hero workspace mock */
.mock {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 190px 1fr;
    background: var(--ink); color: #fff; border-radius: var(--r-lg);
    box-shadow: 0 40px 80px -30px rgba(18, 18, 18, 0.5);
    overflow: hidden; min-height: 520px; font-size: 0.82rem;
}
.mock-side { border-right: 1px solid var(--line-dark); padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mock-side .brand { font-size: 1rem; margin-bottom: 1rem; color: #fff; }
.mock-side .brand::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.mock-side a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.65rem; border-radius: var(--r-sm); color: var(--muted-dark); }
.mock-side a.on { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mock-side a::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: 0.6; }
.mock-main { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; background: var(--ink-2); }
.mock-main h3 { font-size: 1.15rem; }
.mock-main .sub { color: var(--muted-dark); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.stat { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 0.9rem 1rem; }
.stat .k { color: var(--muted-dark); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.stat .v { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; margin-top: 0.2rem; }
.stat .v small { font-size: 0.75rem; color: #6fd39a; margin-left: 0.4rem; font-family: var(--font-body); }
.mock-timeline { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.mock-timeline .row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 0.75rem; color: var(--muted-dark); }
.mock-timeline .bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.mock-timeline .bar i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--accent); }
.mock-timeline .bar.done i { background: #6fd39a; }

/* Photography credit above the footer. Was inline on three pages with a zero
   bottom margin, so it sat flush against the footer edge. */
.photo-credit {
    max-width: 74ch;
    margin: 3.5rem auto 4rem;
    padding: 1.75rem var(--gutter) 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.75;
    text-align: center;
}

@media (max-width: 900px) {
    .photo-credit { margin: 2.5rem auto 3rem; padding-top: 1.5rem; text-align: left; }
}

/* The Live nav item wears a dot only while the channel is on air, applied by
   js/nav.js from /api/ivs/stream-status. No dot is the failure state, so a
   broken check can never imply a broadcast that is not happening. */
.nav-links a.on-air { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); }
.nav-links a.on-air::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: navLivePulse 1.6s ease-in-out infinite; }
@keyframes navLivePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* The home strip, hidden until the same check says we are on air. */
.live-strip { display: block; background: var(--ink); color: #fff; padding: 0.9rem var(--gutter); }
.live-strip[hidden] { display: none; }
.live-strip .inner { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.live-strip .tag { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.28rem 0.7rem; border-radius: var(--r-sm); background: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.live-strip .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: navLivePulse 1.6s ease-in-out infinite; }
.live-strip p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.live-strip a { margin-left: auto; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }

/* Evolv-To POC: works strip, services, build, testimonials, engagement, thoughts */

/* Selected works strip */
.works { padding: 4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.works .label { text-align: center; color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2rem; }
.works-track { display: flex; gap: 1.25rem; width: max-content; animation: works-scroll 40s linear infinite; padding-left: var(--gutter); }
.works:hover .works-track { animation-play-state: paused; }
.work {
    width: 320px; flex: 0 0 auto; border-radius: var(--r-md); overflow: hidden;
    border: 1px solid var(--line); background: var(--paper-2);
}
.work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work span { display: block; padding: 0.75rem 1rem; font-weight: 600; font-size: 0.9rem; }
@keyframes works-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem;
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(18, 18, 18, 0.35); }
.card .icon { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* What we build */
.build { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.build-copy { display: flex; flex-direction: column; gap: 1.25rem; }
/* The one result on a showcase page: a rule down the left, no box and no container. */
.build-copy .result { border-left: 2px solid var(--accent); padding-left: 1rem; margin: 0; }
.checks { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.5rem; }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checks li::before {
    content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--muted); font-size: 0.95rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tile { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; min-height: 190px; }
.tile:nth-child(2), .tile:nth-child(3) { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tile .num { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; }
.tile p { font-size: 0.92rem; color: var(--muted-dark); }
.tile:nth-child(2) p, .tile:nth-child(3) p { color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.stars { color: var(--accent); letter-spacing: 0.1em; font-size: 0.85rem; }
.quote blockquote { margin: 0; font-size: 0.98rem; color: #2c2825; }
.quote .who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.quote .who i { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; }
.quote .who strong { display: block; font-size: 0.92rem; }
.quote .who span { color: var(--muted); font-size: 0.82rem; }

/* Engagement steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.step.hi { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); box-shadow: 0 30px 60px -30px rgba(18, 18, 18, 0.6); }
.step .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 6px; }
.step .n { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; }
.step .big { font-family: var(--font-head); font-size: 2rem; font-weight: 600; }
.step .big small { font-size: 0.95rem; font-weight: 400; color: var(--muted); font-family: var(--font-body); margin-left: 0.4rem; }
.step.hi .big small { color: var(--muted-dark); }
.step p { color: var(--muted); font-size: 0.95rem; }
.step.hi p { color: var(--muted-dark); }
.step ul { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; margin-top: 0.25rem; }
.step li { display: flex; gap: 0.6rem; align-items: flex-start; }
.step li::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; margin-top: 3px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23af3a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat; }
.step.hi li::before { background-color: rgba(255, 255, 255, 0.1); }
.step .btn { margin-top: auto; }

/* Thoughts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; transition: transform 0.25s; }
.post:hover { transform: translateY(-4px); }
.post .date { color: var(--muted); font-size: 0.8rem; }
.post h3 { font-size: 1.1rem; }
.post p { color: var(--muted); font-size: 0.92rem; }
.post .more { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 0.9rem; }

.card .more { margin-top: auto; padding-top: 0.5rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
a.card { color: inherit; }

/* Evolv-To POC: planner panels, CTA card, footer, responsive */

/* Planner two-panel layout (mirrors the live project planner treatment) */
.planner { display: grid; grid-template-columns: 1.6fr 1fr; }
.planner-form { background: var(--ink); color: #fff; padding: 5rem var(--gutter) 5rem; }
.planner-form .lead { color: var(--muted-dark); margin-bottom: 2rem; }
.planner-form .h-lg { margin-bottom: 0.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1.25rem; }
.field label {
    display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted-dark); margin-bottom: 0.45rem;
}
.field input, .field textarea, .field select {
    width: 100%; padding: 0.8rem 1rem; color: #fff; border-radius: 4px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
    font-size: 0.95rem; transition: border-color 0.2s, background 0.2s; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.09); }
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field select option { background: var(--ink); color: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin-top: 0.6rem; }
.field label.check, .check { display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; margin: 0; font-size: 0.95rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.check input { appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; min-width: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); cursor: pointer; }
.fine { font-size: 0.75rem; color: var(--muted-dark); line-height: 1.6; margin: 0 0 1.25rem; }
.fine a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.btn-block { display: flex; width: 100%; }
.form-error { color: #ff8a9c; font-size: 0.85rem; margin-top: 0.4rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #ff8a9c; }
.field.invalid .form-error { display: block; }
.form-done { text-align: center; padding: 3rem 1rem; display: none; }
.form-done svg { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 1rem; }
.form-done p { color: var(--muted-dark); max-width: 42ch; margin: 0.5rem auto 0; }
.planner-form.sent form { display: none; }
.planner-form.sent .form-done { display: block; }

.planner-info { background: var(--paper-2); padding: 5rem clamp(1.25rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 2rem; }
.planner-info .lead { font-size: 0.95rem; }
.methods { display: flex; flex-direction: column; gap: 1rem; }
.method { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.4rem; transition: transform 0.25s, box-shadow 0.25s; }
.method:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.method i { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.method i svg { width: 20px; height: 20px; }
.method .k { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.method .v { display: block; font-weight: 600; }
.next { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-md); padding: 1.5rem; }
.next h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.next li { display: flex; gap: 0.9rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: #333; }
.next li:last-child { border-bottom: 0; }
.next li b { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.8rem; display: grid; place-items: center; }

/* CTA card */
.cta-card {
    background: linear-gradient(135deg, #1b1b1b, #3a1620 60%, #4a1a27); color: #fff;
    border-radius: var(--r-lg); padding: 5rem 2rem; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.cta-card .lead { color: var(--muted-dark); }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* Footer */
.footer { background: #0c0c0c; color: #fff; padding: 4rem var(--gutter) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; gap: 2.5rem; }
.footer img.logo { width: 120px; margin-bottom: 1rem; }
.footer p { color: var(--muted-dark); font-size: 0.9rem; max-width: 30ch; }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { margin-bottom: 0.55rem; font-size: 0.92rem; color: var(--muted-dark); }
.footer li a:hover { color: #fff; }
.newsletter { display: flex; flex-direction: column; gap: 0.6rem; }
.newsletter input { width: 100%; padding: 0.75rem 1rem; border-radius: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: #fff; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 0.82rem; }
.socials { display: flex; gap: 0.75rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; }
.socials a:hover { border-color: #fff; }
.socials svg { width: 16px; height: 16px; }

/* Responsive */
@media (max-width: 1100px) {
    .cards, .posts { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .nav-links, .nav-cta .btn-outline { display: none; }
    .nav-toggle { display: block; }
    .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--paper); padding: 1.25rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem; }
    .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav-h) + 3rem); }
    .mock { grid-template-columns: 1fr; min-height: 0; }
    .mock-side { display: none; }
    .build, .quotes, .steps, .planner { grid-template-columns: 1fr; }
    .step.hi { transform: none; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .section { padding: 4rem var(--gutter); }
}
@media (max-width: 600px) {
    .cards, .posts, .tiles, .grid-2, .check-grid, .footer-grid { grid-template-columns: 1fr; }
    .mock-stats { grid-template-columns: 1fr; }
    .h-xl { font-size: 2.4rem; }
    .planner-form, .planner-info { padding-top: 3rem; padding-bottom: 3rem; }
}

/* Styled controls. The native input stays in the form, hidden; the drawn box carries the state. */
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.check .box { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); display: inline-block; transition: background 0.15s, border-color 0.15s; }
.check input:checked + .box { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--accent); }
.check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(175, 58, 78, 0.35); }
.sel { position: relative; }
.sel select { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sel-btn { width: 100%; text-align: left; padding: 0.8rem 2.5rem 0.8rem 1rem; color: #fff; border-radius: 4px; border: 1px solid var(--line-dark); font-size: 0.95rem; cursor: pointer; transition: border-color 0.2s, background 0.2s; background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") right 1rem center no-repeat; }
.sel-btn:focus-visible, .sel.open .sel-btn { outline: none; border-color: var(--accent); background-color: rgba(255, 255, 255, 0.09); }
.sel-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 4px; padding: 0.3rem; margin: 0; list-style: none; display: none; max-height: 260px; overflow: auto; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); }
.sel.open .sel-list { display: block; }
.sel-list li { padding: 0.6rem 0.75rem; border-radius: 3px; cursor: pointer; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.sel-list li:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.sel-list li[aria-selected="true"] { color: #fff; font-weight: 600; }

/* Evolv-To POC: inner page styles (headers, about, services, work, thoughts, legal, contact) */

.page-head { padding: calc(var(--nav-h) + 5rem) var(--gutter) 4rem; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -10vw; top: -20vw; width: 44vw; height: 44vw; border-radius: 50%; background: radial-gradient(circle, rgba(175, 58, 78, 0.28), rgba(175, 58, 78, 0) 65%); pointer-events: none; }
.page-head .inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; max-width: 52rem; }
.page-head .lead { color: var(--muted-dark); }
.crumbs { font-size: 0.82rem; color: var(--muted-dark); display: flex; gap: 0.5rem; }
.crumbs a:hover { color: #fff; }
.page-head.light { background: var(--paper-2); color: var(--ink); }
.page-head.light .lead { color: var(--muted); }
.page-head.light .crumbs { color: var(--muted); }

/* Nav active state */
.nav-links a.on { color: var(--accent); }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split .copy { display: flex; flex-direction: column; gap: 1.25rem; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trio .card h3 { font-size: 1.05rem; }
.numbered { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.numbered .card { flex-direction: row; gap: 1.25rem; align-items: flex-start; }
.numbered .n { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--accent); line-height: 1; min-width: 2.6rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stat-big { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 2rem; }
.stat-big .v { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; }
.stat-big .k { color: var(--muted-dark); font-size: 0.9rem; margin-top: 0.25rem; }

/* Services detail */
.service-rows { display: flex; flex-direction: column; gap: 1.25rem; }
.service-row { display: grid; grid-template-columns: 64px 1.2fr 1.6fr; gap: 2rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem; }
.service-row .icon { width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.service-row .icon svg { width: 26px; height: 26px; }
.service-row h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.service-row .tag { color: var(--muted); font-size: 0.95rem; }
.service-row ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; }
.service-row li { display: flex; gap: 0.6rem; align-items: flex-start; }
.service-row li::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; margin-top: 4px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23af3a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat; }
.service-row .btn { margin-top: 1rem; align-self: flex-start; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.process .card .n { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(18, 18, 18, 0.4); }
.work-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.work-card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.work-card .tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.work-card .tags span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.work-card p { color: var(--muted); font-size: 0.95rem; }
.work-card .more { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: 0.25rem; }

/* Thoughts list and article */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s; }
.post-card:hover { transform: translateY(-4px); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card h3 { font-size: 1.1rem; }
.post-card p { color: var(--muted); font-size: 0.92rem; }
.post-card .date { color: var(--muted); font-size: 0.8rem; }
.post-card .more { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 0.9rem; padding-top: 0.5rem; }
.article { max-width: 46rem; margin: 0 auto; padding: 4rem var(--gutter) 5rem; }
.article-hero { max-width: 62rem; margin: -3rem auto 0; padding: 0 var(--gutter); position: relative; z-index: 2; }
.article-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(18, 18, 18, 0.5); }
.article figure { margin: 0 0 2rem; }
.article figure.post-hero-image img { display: none; }
.article figcaption { font-size: 0.8rem; color: var(--muted); }
.article h2 { font-size: 1.6rem; margin: 2.25rem 0 0.75rem; }
.article h3 { font-size: 1.25rem; margin: 1.75rem 0 0.5rem; }
.article p { margin: 0 0 1.1rem; font-size: 1.05rem; line-height: 1.75; color: #2c2825; }
.article ul, .article ol { margin: 0 0 1.25rem 1.25rem; padding: 0; list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 0.4rem; font-size: 1.02rem; line-height: 1.65; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--accent); background: var(--paper-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.article-meta { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.92rem; }
.article-nav a { color: var(--accent); font-weight: 600; max-width: 45%; }
.subscribe-box { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 2.5rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; margin-top: 4rem; }
.subscribe-box .lead { color: var(--muted-dark); }
.subscribe-box form { display: flex; gap: 0.6rem; }
.subscribe-box input { flex: 1; padding: 0.8rem 1rem; border-radius: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: #fff; }
.subscribe-box input:focus { outline: none; border-color: var(--accent); }

/* Legal pages */
.legal { max-width: 50rem; margin: 0 auto; padding: 4rem var(--gutter) 5rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; }
.legal p { margin: 0 0 1rem; line-height: 1.7; color: #2c2825; }
.legal ul { margin: 0 0 1.25rem 1.25rem; list-style: disc; }
.legal li { margin-bottom: 0.4rem; line-height: 1.6; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; }

/* Form status */
.form-status { margin-top: 1rem; font-size: 0.9rem; display: none; }
.form-status.err { display: block; color: #ff8a9c; }
.form-status.ok { display: block; color: #6fd39a; }
/* Turnstile is configured invisible and renders a zero-height element, so there
   is nothing to reserve space for. The 1.25rem stays as ordinary field spacing.
   An interactive challenge, if one is ever escalated, sizes the wrapper itself. */
.turnstile-wrap { margin: 0 0 1.25rem; min-height: 0; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* FAQ */
.faq { max-width: 52rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.4rem; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); margin-top: 0.75rem; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem; }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 10rem); font-weight: 600; color: var(--accent); line-height: 1; }

@media (max-width: 1000px) {
    .post-list, .trio, .stats { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .service-row { grid-template-columns: 56px 1fr; }
    .service-row ul { grid-column: 2; }
}
@media (max-width: 700px) {
    .split, .numbered, .work-grid, .post-list, .trio, .stats, .process, .subscribe-box { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 1fr; }
    .service-row ul { grid-column: 1; }
    .subscribe-box form { flex-direction: column; }
    .article-nav { flex-direction: column; }
    .article-nav a { max-width: none; }
}

.page-head .inner .eyebrow { align-self: flex-start; }

/* About: hero with portrait, team row */
.page-head.about .inner { max-width: none; display: grid; grid-template-columns: minmax(0, 46rem) 300px; gap: 4rem; align-items: center; }
.page-head.about .portrait { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: #1b1b1b; }
.page-head.about .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team .member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; background: var(--paper-2); }
.team .member h3 { margin: 1.1rem 0 0.2rem; }
.team .member .role { color: var(--accent); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.team .member p { color: var(--muted); margin: 0.6rem 0 0.8rem; }
.team .member a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .page-head.about .inner { grid-template-columns: 1fr; } .page-head.about .portrait { max-width: 260px; } }
@media (max-width: 720px) { .team { grid-template-columns: 1fr; max-width: 360px; } }

/* Careers: role rows and the two-column you/we lists */
.roles { display: grid; gap: 4rem; }
.role-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.role-row.right .ph { order: 2; }
.role-row .ph { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.role-row .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.role-row .copy .eyebrow { align-self: flex-start; }
.role-row .copy h2 { margin-top: 1rem; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1.5rem 0 2rem; }
.role-cols h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.role-cols ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.role-cols ul.plain li { padding-left: 1rem; position: relative; color: var(--muted); line-height: 1.55; }
.role-cols ul.plain li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) { .role-row, .role-row.right { grid-template-columns: 1fr; } .role-row.right .ph { order: 0; } .role-cols { grid-template-columns: 1fr; } }

/* Evolv-To POC: product page layout (hero with screenshot, walkthrough, stories, questions, proof) */

.p-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; padding: calc(var(--nav-h) + 4rem) var(--gutter) 5rem; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.p-hero::after { content: ""; position: absolute; right: -10vw; top: -20vw; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(175, 58, 78, 0.28), rgba(175, 58, 78, 0) 65%); pointer-events: none; }
.p-hero .copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.25rem; }
.p-hero .copy .eyebrow { align-self: flex-start; }
.p-hero .lead { color: var(--muted-dark); max-width: 40rem; }
.p-hero .crumbs { color: var(--muted-dark); }
.shot { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); }
.shot::before { content: ""; display: block; height: 28px; background: #1f1f1f; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background-image: radial-gradient(circle, #ff5f57 5px, transparent 6px), radial-gradient(circle, #febc2e 5px, transparent 6px), radial-gradient(circle, #28c840 5px, transparent 6px); background-size: 20px 28px; background-repeat: no-repeat; background-position: 14px 0, 34px 0, 54px 0; }
.shot img { width: 100%; display: block; }

/* Walkthrough */
.walk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.walk .w { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.75rem; position: relative; }
.walk .w::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; color: var(--accent); line-height: 1; display: block; margin-bottom: 0.75rem; }
.walk .w h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.walk .w p { color: var(--muted); font-size: 0.95rem; }
.walk.three { grid-template-columns: repeat(3, 1fr); }

/* Stories: alternating image and copy */
.stories { display: flex; flex-direction: column; gap: 5rem; }
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.story:nth-child(even) .shot { order: 2; }
.story .copy { display: flex; flex-direction: column; gap: 1rem; }
.story h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.story p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.story .shot { box-shadow: 0 40px 80px -40px rgba(18, 18, 18, 0.5); border-color: var(--line); }

/* Proof */
.proof { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 3rem; align-items: center; }
.proof .lead { color: var(--muted-dark); }
.proof .site { display: flex; flex-direction: column; gap: 0.75rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 1.5rem; }
.proof .site .k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.proof .site strong { font-family: var(--font-head); font-size: 1.4rem; }
.proof .site .btn { align-self: flex-start; }

/* Questions */
.qa { max-width: 52rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.qa details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.4rem; }
.qa summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.qa summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.qa details[open] summary::after { content: "-"; }
.qa details p { color: var(--muted); margin-top: 0.75rem; line-height: 1.65; }

/* Closing ask */
.ask { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ask .lead { max-width: none; }
.ask .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

@media (max-width: 1000px) {
    .walk, .walk.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
    .p-hero, .story, .proof, .ask { grid-template-columns: 1fr; }
    .story:nth-child(even) .shot { order: 0; }
    .walk, .walk.three { grid-template-columns: 1fr; }
    .stories { gap: 3rem; }
    .proof { padding: 2rem; }
}

/* Device panel: a real product shot on a clean surface, not a browser frame. */
.device { position: relative; z-index: 1; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.device img { width: 100%; max-width: 430px; height: auto; display: block; }
.device .cap { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; }
.device-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .device-split { grid-template-columns: 1fr; } }

/* Evolv-To POC: reveals, blur-reveal, hero stagger, progress bar, shimmer, view transitions */

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s; will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="blur"] { filter: blur(8px); transform: none; }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

.hero-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-stagger.in > * { opacity: 1; transform: none; }

.blur-reveal { filter: blur(10px); opacity: 0.6; transform: scale(1.03); transition: filter 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.blur-reveal.in { filter: blur(0); opacity: 1; transform: none; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--accent), #e0637a); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.progress.on { opacity: 1; }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); display: grid; place-items: center; cursor: pointer; z-index: 60; opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s; }
.to-top.on { opacity: 1; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 18px; height: 18px; }

img[loading="lazy"]:not(.loaded) { background: linear-gradient(100deg, rgba(0, 0, 0, 0.04) 30%, rgba(0, 0, 0, 0.09) 50%, rgba(0, 0, 0, 0.04) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.textured { position: relative; }
.textured::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.035; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.dark.textured::before, .p-hero.textured::before, .panel.textured::before { mix-blend-mode: screen; opacity: 0.06; }

.float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s ease-in both fadeOut; }
::view-transition-new(root) { animation: 0.4s cubic-bezier(0.16, 1, 0.3, 1) both fadeIn; }
@keyframes fadeOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
    [data-reveal], .hero-stagger > *, .blur-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
    .float, img[loading="lazy"]:not(.loaded) { animation: none !important; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    .progress { display: none; }
}

@media (max-width: 900px) {
    [data-reveal="left"], [data-reveal="right"] { transform: translateY(24px); }
}

/* Evolv-To POC: editorial layer (display type, underline accent, asymmetric hero, list rows, video frames, dividers, nav motion) */

.u { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; }
.it { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.h-display { font-size: clamp(2.8rem, 6.2vw, 5.4rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.025em; }
.statement { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; color: #3d3833; }
.dark .statement, .panel .statement { color: rgba(255, 255, 255, 0.78); }

/* Nav motion */
.nav { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 10px 30px -20px rgba(18, 18, 18, 0.35); }
.nav.hidden { transform: translateY(-100%); }

/* Editorial hero: headline left, statement right, media below */
.ed-hero { padding: calc(var(--nav-h) + 5rem) var(--gutter) 3rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.ed-hero .statement { padding-bottom: 0.5rem; }
.ed-hero .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.ed-media { padding: 0 var(--gutter) 5rem; }
.frame { border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 60px 120px -50px rgba(18, 18, 18, 0.7); position: relative; }
.frame video, .frame img { width: 100%; display: block; }
.frame .cap { position: absolute; left: 1.25rem; bottom: 1.25rem; background: rgba(18, 18, 18, 0.75); color: #fff; padding: 0.5rem 0.9rem; border-radius: 6px; font-size: 0.8rem; backdrop-filter: blur(8px); display: flex; gap: 0.5rem; align-items: center; }
.frame .cap::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(175, 58, 78, 0.3); }

/* List rows (replaces card stacks) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 3rem 1.2fr 1.6fr auto; gap: 2rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s; }
.row:hover { padding-left: 0.75rem; }
/* Wider description track. Was an inline style on 100 rows, which no media query could override. */
.row.row-wide { grid-template-columns: 3rem 1fr 1.6fr; }
.row .n { font-family: 'Newsreader', Georgia, serif; font-style: italic; color: var(--accent); font-size: 1.2rem; }
.row h3 { font-size: 1.35rem; }
.row p { color: var(--muted); font-size: 0.98rem; }
.row .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s; }
.row:hover .arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateX(4px); }
.row .arrow svg { width: 16px; height: 16px; }
.dark .rows { border-color: var(--line-dark); }
.dark .row { border-color: var(--line-dark); }
.dark .row p { color: var(--muted-dark); }
.dark .row .arrow { border-color: var(--line-dark); }

/* Two-column section head, left aligned */
.head-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.head-2 .lead { max-width: none; }

/* Dark panel with constellation */
.panel { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 5rem 2rem; position: relative; overflow: hidden; min-height: 640px; display: grid; place-items: center; text-align: center; margin: 0 var(--gutter); }
.panel .center-copy { position: relative; z-index: 3; max-width: 40rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.panel .center-copy .lead { color: var(--muted-dark); }
.const { position: absolute; inset: 0; z-index: 1; }
.const .node { position: absolute; width: 150px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); cursor: grab; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s; background: #111; }
.const .node img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.const .node span { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.6rem; color: var(--muted-dark); background: #161616; }
.const .node:hover, .const .node.drag { transform: scale(1.35) !important; z-index: 5; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); cursor: grabbing; }
.const .node:hover span { color: #fff; }
.const svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.const svg.lines line { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }

/* Section dividers */
.divider { display: block; width: 100%; height: 60px; }
.divider svg { display: block; width: 100%; height: 100%; }

/* Video hero on product pages */
.p-hero .frame { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); }

/* Tabs (interactive admin walkthrough) */
.tabs { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.tabs .list { display: flex; flex-direction: column; gap: 0.25rem; }
.tabs .list button { text-align: left; background: none; border: 0; border-left: 2px solid transparent; padding: 0.8rem 1rem; cursor: pointer; color: var(--muted-dark); font-weight: 600; font-family: var(--font-body); transition: color 0.2s, border-color 0.2s, background 0.2s; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.tabs .list button.on { color: #fff; border-left-color: var(--accent); background: rgba(255, 255, 255, 0.05); }
.tabs .list button small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--muted-dark); margin-top: 0.15rem; }
.tabs .pane { display: none; }
.tabs .pane.on { display: block; animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.tabs .pane .frame { box-shadow: none; border: 1px solid var(--line-dark); }
.tabs .pane p { color: var(--muted-dark); margin-top: 1rem; max-width: 60ch; }

@media (max-width: 900px) {
    .ed-hero, .head-2, .tabs { grid-template-columns: 1fr; }
    /* The arrow column and 2rem gaps ate a third of a 393px screen. The whole
       row is the link, so the arrow is decorative and comes off on a phone. */
    .row { grid-template-columns: 2rem 1fr; gap: 1rem; }
    .row p { grid-column: 2; }
    .row .arrow { display: none; }
    .row.row-wide { grid-template-columns: 2rem 1fr; }
    .row.row-wide p { grid-column: 2; }
    /* Several heads put a button at justify-self:end inline, which strands it
       against the right edge under a full-width heading once this collapses. */
    .head-2 { gap: 1.5rem; }
    .head-2 > * { justify-self: start !important; }
    .panel { min-height: 0; padding: 4rem 1.25rem; margin: 0 1rem; }
    .const { display: none; }
    .tabs .list { flex-direction: row; overflow-x: auto; }
    .tabs .list button { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
    .tabs .list button.on { border-bottom-color: var(--accent); }
    .tabs .list button small { display: none; }
}

/* Evolv-To POC: showcase index and per-site detail pages */

.show-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.show { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; display: block; grid-column: span 6; aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.6); }
.show.wide { grid-column: span 12; aspect-ratio: 21 / 9; }
.show.third { grid-column: span 4; aspect-ratio: 4 / 3.4; }
.show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s; }
.show:hover img { transform: scale(1.04); filter: brightness(0.7); }
.show .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0)); display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.show .meta h3 { font-size: 1.4rem; }
.show .meta p { color: var(--muted-dark); font-size: 0.9rem; margin-top: 0.2rem; }
.show .meta .arrow { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); display: grid; place-items: center; flex-shrink: 0; transition: background 0.25s, transform 0.3s; }
.show:hover .meta .arrow { background: var(--accent); transform: translate(3px, -3px); }
.show .meta .arrow svg { width: 18px; height: 18px; }
.show .tag { position: absolute; top: 1rem; left: 1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(18, 18, 18, 0.7); backdrop-filter: blur(6px); padding: 0.35rem 0.7rem; border-radius: 6px; color: #fff; }

/* Detail page */
.site-hero { padding: calc(var(--nav-h) + 4rem) var(--gutter) 3rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: end; }
.site-hero .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.site-hero .facts .k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.site-hero .facts .v { font-weight: 600; margin-top: 0.15rem; }
.site-hero .facts .v a { color: var(--accent); }

.device { padding: 0 var(--gutter) 5rem; }
.device .bar { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.dev-btn { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0.5rem 1rem; font-weight: 600; font-size: 0.88rem; cursor: pointer; color: var(--muted); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.dev-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dev-view { display: none; }
.dev-view.on { display: block; animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.dev-view.desktop .frame img { width: 100%; }
.dev-view.mobile { display: none; }
.dev-view.mobile.on { display: flex; justify-content: center; }
.dev-view.mobile .phone { width: 330px; border-radius: 6px; padding: 12px; background: #111; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.dev-view.mobile .phone img { width: 100%; border-radius: 6px; display: block; }

.scroller { max-height: 720px; overflow-y: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(18, 18, 18, 0.5); scrollbar-width: thin; }
.scroller img { width: 100%; display: block; }
.scroller-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 0.75rem; }

.runs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.runs a { display: flex; align-items: center; gap: 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.25rem; font-weight: 600; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.3s; }
.runs a:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px -24px rgba(18, 18, 18, 0.35); }
.runs a .icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.runs a .icon svg { width: 18px; height: 18px; }

.next-site { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3rem; }
.next-site a { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--accent); }

@media (max-width: 900px) {
    .show, .show.wide, .show.third { grid-column: span 12; aspect-ratio: 16 / 10; }
    .site-hero { grid-template-columns: 1fr; }
    .runs { grid-template-columns: 1fr; }
    .scroller { max-height: 480px; }
}

/* Evolv-To POC: interactive components (horizontal carousel, expandable tiles, stat tiles, hotspot screenshots, phone-in-hand) */

/* Horizontal carousel with snap and arrows */
.carousel { position: relative; }
.carousel .track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scroll-behavior: smooth; padding: 0.25rem var(--gutter) 1.5rem; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 min(78vw, 520px); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s; }
.carousel .slide:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(18, 18, 18, 0.45); }
.carousel .slide img, .carousel .slide video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }
.carousel .slide .body { padding: 1.25rem 1.5rem 1.5rem; }
.carousel .slide h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.carousel .slide p { color: var(--muted); font-size: 0.95rem; }
.carousel .slide .more { display: inline-block; margin-top: 0.75rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.carousel .arrows { display: flex; gap: 0.5rem; }
.carousel .arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.carousel .arrows button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel .arrows svg { width: 18px; height: 18px; }
.dark .carousel .slide { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.dark .carousel .slide p { color: var(--muted-dark); }
.dark .carousel .arrows button { background: transparent; color: #fff; border-color: var(--line-dark); }

/* Expandable tiles (the reference site's "+" cards) */
.expand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.xt { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #1a0f12; color: #fff; min-height: 340px; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.08); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.xt:hover { transform: translateY(-4px); }
.xt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0.55; filter: saturate(0.6); transition: opacity 0.5s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s; }
.xt:hover img { opacity: 0.75; transform: scale(1.04); filter: saturate(1); }
.xt .lbl { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.xt .lbl h3 { font-size: 1.4rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.xt .plus { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-size: 1.6rem; line-height: 1; transition: transform 0.3s; }
.xt.open .plus { transform: rotate(45deg); }
.xt .body { position: absolute; inset: 0; padding: 1.75rem; background: rgba(18, 18, 18, 0.92); backdrop-filter: blur(6px); display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; opacity: 0; transform: translateY(12px); transition: opacity 0.35s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; }
.xt.open .body { opacity: 1; transform: none; pointer-events: auto; }
.xt .body p { color: var(--muted-dark); font-size: 0.98rem; line-height: 1.6; }
.xt .body a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Stat tiles in the accent color */
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stat-tile { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: 2.5rem 2rem; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-tile .big { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.stat-tile .k { font-size: 1rem; opacity: 0.9; }

/* Hotspots over a screenshot */
.hot { position: relative; }
.hot .dot { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(175, 58, 78, 0.25); cursor: pointer; transform: translate(-50%, -50%); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(175, 58, 78, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(175, 58, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(175, 58, 78, 0); } }
.hot .tip { position: absolute; transform: translate(-50%, 12px); background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-sm); font-size: 0.88rem; max-width: 240px; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 3; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.hot .dot:hover + .tip, .hot .dot.on + .tip { opacity: 1; transform: translate(-50%, 18px); }

/* Live embed frame */
.embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(18, 18, 18, 0.5); background: #fff; }
.embed iframe { display: block; width: 100%; height: 760px; border: 0; }

@media (max-width: 900px) {
    .expand-grid, .stat-tiles { grid-template-columns: 1fr; }
    .xt { min-height: 260px; }
    .embed iframe { height: 640px; }
}

.quote.slide { flex: 0 0 min(78vw, 480px); scroll-snap-align: start; }
.dark .quote { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.dark .quote blockquote { color: rgba(255,255,255,0.85); }
.dark .quote .who i { background: var(--accent); }

/* Hosting plan picker and order */
.order-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
.plans { display: flex; flex-direction: column; gap: 0.75rem; }
.plan { text-align: left; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 1.1rem 1.4rem; color: #fff; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: center; transition: border-color 0.2s, background 0.2s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); font-family: var(--font-body); }
.plan:hover { background: rgba(255, 255, 255, 0.07); transform: translateX(4px); }
.plan.on { border-color: var(--accent); background: rgba(175, 58, 78, 0.16); box-shadow: inset 4px 0 0 var(--accent); }
.plan .pn { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.plan .pp { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: #fff; }
.plan .pp small { font-size: 0.8rem; font-weight: 400; color: var(--muted-dark); margin-left: 0.15rem; }
.plan .ps { grid-column: 1 / -1; color: var(--muted-dark); font-size: 0.88rem; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }

/* Pricing estimate */
.est-summary { display: flex; flex-direction: column; gap: 0.5rem; }
.est-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); }
.est-line strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.est-line.total { border-bottom: 0; padding-top: 1rem; color: #fff; }
.est-line.total strong { font-size: 1.4rem; color: var(--accent); }
.est-line.total small { font-size: 0.75rem; color: var(--muted-dark); font-family: var(--font-body); font-weight: 400; }
.check.est { align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.check.est small { display: block; color: var(--muted-dark); font-size: 0.82rem; margin-top: 0.15rem; }
.stat-tile a { color: #fff; }

/* Evolv-To POC: photo-led compositions (inset panels, floating UI over photography, giant number blocks, the stack) */

/* Inset rounded panels instead of flat full-width bands */
.inset { margin: 0 var(--gutter); border-radius: var(--r-lg); overflow: hidden; position: relative; }
.inset.plum { background: #1c1114; color: #fff; }
.inset.cream { background: #f3ebe0; }
.inset > .pad { padding: clamp(2.5rem, 5vw, 5rem); }
.inset.plum .lead { color: rgba(255, 255, 255, 0.72); }
.inset.plum .eyebrow { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* Photo panel: full-bleed photograph, copy on the left, floating UI cards on the right */
.photo-panel { position: relative; min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; border-radius: var(--r-lg); overflow: hidden; margin: 0 var(--gutter); background: var(--ink); color: #fff; }
.photo-panel > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.85) contrast(0.95); }
.photo-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 12, 14, 0.96) 0%, rgba(18, 12, 14, 0.9) 38%, rgba(18, 12, 14, 0.45) 70%, rgba(18, 12, 14, 0.2) 100%); z-index: 1; opacity: 1; mix-blend-mode: normal; }
.photo-panel .copy { position: relative; z-index: 2; padding: clamp(2.5rem, 5vw, 5rem); display: flex; flex-direction: column; gap: 1.25rem; max-width: 40rem; }
.photo-panel .copy .lead { color: rgba(255, 255, 255, 0.78); }
.photo-panel .copy .eyebrow { align-self: flex-start; background: rgba(255, 255, 255, 0.1); color: #fff; }
.floats { position: relative; z-index: 2; min-height: 520px; }
.ui-float { position: absolute; width: 46%; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12); background: #111; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.ui-float img { width: 100%; display: block; }
.ui-float .lbl { position: absolute; left: 0.75rem; top: 0.75rem; background: rgba(18, 18, 18, 0.8); color: #fff; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 6px; }
.ui-float.a { right: 8%; top: 10%; transform: rotate(-3deg); }
.ui-float.b { right: 36%; top: 40%; width: 40%; transform: rotate(2deg); }
.ui-float.c { right: 4%; bottom: 8%; width: 34%; transform: rotate(-1deg); }
.photo-panel:hover .ui-float.a { transform: rotate(-1deg) translateY(-8px); }
.photo-panel:hover .ui-float.b { transform: rotate(0deg) translateY(-6px); }
.photo-panel:hover .ui-float.c { transform: rotate(0deg) translateY(-10px); }

/* Photo strip: who it is for, four portraits, hover reveals the product line */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.audience .p { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; }
.audience .p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.audience .p:hover img { transform: scale(1.06); }
.audience .p .t { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 2; }
.audience .p .t h3 { font-size: 1.3rem; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.audience .p .t p { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; margin-top: 0.25rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
.audience .p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 12, 14, 0.85), rgba(18, 12, 14, 0) 55%); }

/* Giant number blocks (pricing) */
.blocks { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 140px; gap: 1rem; }
.block { border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden; }
.block.accent { background: var(--accent); }
.block.plum { background: #1c1114; }
.block.photo { padding: 0; }
.block.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.block.photo .cap { position: absolute; left: 1.5rem; bottom: 1.5rem; right: 1.5rem; z-index: 2; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.block.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 12, 14, 0.8), rgba(18, 12, 14, 0) 60%); }
.block .huge { font-family: var(--font-head); font-weight: 600; font-size: clamp(3.4rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: -0.04em; }
.block .huge small { font-size: 0.32em; font-weight: 400; letter-spacing: 0; margin-left: 0.2em; opacity: 0.85; }
.block .k { font-size: 1.05rem; font-weight: 600; margin-top: 0.5rem; }
.block p { font-size: 0.95rem; opacity: 0.85; max-width: 34ch; }
.block a.more { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.b-6 { grid-column: span 6; } .b-4 { grid-column: span 4; } .b-8 { grid-column: span 8; } .b-3 { grid-column: span 3; }
.r-2 { grid-row: span 2; } .r-3 { grid-row: span 3; }

/* The stack: bills you pay today collapse into one */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.bills { position: relative; display: flex; flex-direction: column; gap: 0.6rem; }
.bill { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.9rem 1.2rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s, margin 0.7s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 10px 30px -20px rgba(18, 18, 18, 0.4); }
.bill strong { font-weight: 600; }
.bill span { color: var(--muted); font-size: 0.9rem; }
.bill .amt { font-family: var(--font-head); font-weight: 600; color: var(--accent); }
.bills.one .bill:not(.ours) { transform: translateY(-40px) scale(0.96); opacity: 0; margin-bottom: -3.6rem; pointer-events: none; }
.bill.ours { background: var(--ink); color: #fff; border-color: var(--ink); }
.bill.ours span { color: var(--muted-dark); }
.bill.ours .amt { color: #fff; font-size: 1.4rem; }
.stack .toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0.25rem; gap: 0.25rem; }
.stack .toggle button { border: 0; background: none; padding: 0.55rem 1.1rem; border-radius: 6px; font-weight: 600; cursor: pointer; color: var(--muted); font-family: var(--font-body); }
.stack .toggle button.on { background: var(--ink); color: #fff; }

@media (max-width: 900px) {
    .inset, .photo-panel { margin: 0 1rem; }
    .photo-panel { grid-template-columns: 1fr; min-height: 0; }
    .floats { min-height: 300px; }
    .ui-float { width: 60%; }
    .ui-float.b { right: 30%; top: 30%; width: 50%; }
    .ui-float.c { display: none; }
    .audience { grid-template-columns: 1fr 1fr; }
    .blocks { grid-auto-rows: auto; }
    .b-6, .b-4, .b-8, .b-3 { grid-column: span 12; }
    .r-2, .r-3 { grid-row: auto; }
    .block { min-height: 200px; }
    .block.photo { min-height: 260px; }
    .stack { grid-template-columns: 1fr; }
}

/* Calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.5); }
.calc-row { display: grid; grid-template-columns: 1fr 160px; gap: 1rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--line); cursor: text; }
.calc-row:last-of-type { border-bottom: 0; }
.calc-row strong { display: block; font-weight: 600; }
.calc-row small { display: block; color: var(--muted); font-size: 0.82rem; }
.calc-row .in { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); padding: 0 0.75rem; transition: border-color 0.2s, box-shadow 0.2s; }
.calc-row .in:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.calc-row .in i { font-style: normal; color: var(--muted); }
.calc-row input { width: 100%; border: 0; background: transparent; padding: 0.6rem 0.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; text-align: right; outline: none; -moz-appearance: textfield; }
.calc-row input::-webkit-outer-spin-button, .calc-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; margin-top: 1.75rem; }
.co { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.15rem; }
.co .k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.co strong { font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; }
.co small { color: var(--muted); font-size: 0.8rem; }
.co.ours { background: var(--ink); color: #fff; border-color: var(--ink); }
.co.ours .k, .co.ours small { color: var(--muted-dark); }
.co.diff strong { color: #2f8f5b; }
.co.diff.neg strong { color: var(--accent); }
@media (max-width: 600px) { .calc-out { grid-template-columns: 1fr; } .calc-row { grid-template-columns: 1fr; } }

/* Photographs stand alone: panel copy spans the full width when there are no floating screens */
.photo-panel:not(:has(.floats)) { grid-template-columns: 1fr; min-height: 480px; }
.photo-panel:not(:has(.floats)) .copy { max-width: 44rem; }

/* Deeper scrim for panels over a bright photo, so the copy stays legible. */
.photo-panel.deep::before { opacity: 1; mix-blend-mode: normal; background: linear-gradient(90deg, rgba(18, 12, 14, 0.98) 0%, rgba(18, 12, 14, 0.95) 46%, rgba(18, 12, 14, 0.72) 72%, rgba(18, 12, 14, 0.42) 100%); }
.photo-panel.deep > img.bg { filter: saturate(0.7) contrast(0.92) brightness(0.85); }

/* Evolv-To POC: typographic spreads over photography, photo-backed CTA and heroes, comparison slider, photo bands */

/* Spread: a landscape with the numbers set as type across it. No boxes. */
.spread { position: relative; margin: 0 var(--gutter); border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; }
.spread > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(0.95); }
.spread::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 10, 11, 0.94) 0%, rgba(14, 10, 11, 0.6) 45%, rgba(14, 10, 11, 0.25) 100%); }
.spread .top { position: relative; z-index: 2; padding: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem) 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.spread .top .lead { color: rgba(255, 255, 255, 0.78); max-width: 34rem; }
.spread .nums { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 2rem clamp(2rem, 5vw, 5rem) clamp(2rem, 4vw, 3.5rem); }
.spread .num { padding: 1.5rem 2rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.spread .num + .num { margin-left: 2rem; }
.spread .num .v { font-family: var(--font-head); font-weight: 600; font-size: clamp(3rem, 6.5vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; }
.spread .num .v small { font-size: 0.32em; font-weight: 400; letter-spacing: 0; margin-left: 0.15em; opacity: 0.8; }
.spread .num .k { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 1.15rem; margin-top: 0.4rem; color: rgba(255, 255, 255, 0.9); }
.spread .num p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.68); margin-top: 0.6rem; max-width: 30ch; }
.spread .num a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; margin-top: 0.6rem; }

/* Photo-backed CTA */
.cta-card.photo { background: var(--ink); position: relative; overflow: hidden; }
.cta-card.photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: contrast(0.95); }
.cta-card.photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14, 10, 11, 0.55), rgba(14, 10, 11, 0.9)); }
.cta-card.photo > *:not(img) { position: relative; z-index: 2; }

/* Product hero with a landscape behind the video */
.p-hero.photo { background: var(--ink); }
.p-hero.photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: contrast(0.95); z-index: 0; }
.p-hero.photo::after { z-index: 0; }

/* Photo band: full-bleed landscape with a single line of type, between sections */
.band { position: relative; margin: 0 var(--gutter); border-radius: var(--r-lg); overflow: hidden; min-height: 320px; display: grid; place-items: center; text-align: center; color: #fff; background: var(--ink); }
.band > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(14, 10, 11, 0.45); }
.band .line { position: relative; z-index: 2; padding: 3rem clamp(1.5rem, 5vw, 5rem); max-width: 52rem; }
.band .line h2 { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.2; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.band .line p { color: rgba(255, 255, 255, 0.8); margin-top: 0.75rem; }

/* Comparison slider: drag to reveal */
.compare { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); user-select: none; touch-action: pan-y; box-shadow: 0 40px 80px -40px rgba(18, 18, 18, 0.6); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.compare .after { clip-path: inset(0 0 0 50%); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); z-index: 3; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E"); background-size: 24px; background-repeat: no-repeat; background-position: center; }
.compare .tag { position: absolute; top: 1rem; z-index: 3; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 6px; background: rgba(18, 18, 18, 0.8); color: #fff; backdrop-filter: blur(6px); }
.compare .tag.l { left: 1rem; } .compare .tag.r { right: 1rem; }
.compare { cursor: ew-resize; }
.compare img { pointer-events: none; }

@media (max-width: 900px) {
    .spread, .band { margin: 0 1rem; }
    .spread .nums { grid-template-columns: 1fr; }
    .spread .num + .num { margin-left: 0; }
    .spread .top { flex-direction: column; }
}

.spread .eyebrow, .band .eyebrow { background: rgba(255, 255, 255, 0.14); color: #fff; }
.spread .eyebrow::before { background: var(--accent); }

/* Evolv-To POC: photographs placed as images beside content (not backgrounds) */

/* Split: photograph on one side, copy on the other */
.ph-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ph-split.flip > .ph { order: 2; }
.ph { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.5); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.ph.tall img { aspect-ratio: 3 / 4; }
.ph.wide img { aspect-ratio: 16 / 9; }
.ph figcaption { padding: 0.6rem 0.9rem; font-size: 0.78rem; color: var(--muted); }

/* Numbers beside a photograph, as type on the page */
.nums-inline { display: flex; flex-direction: column; gap: 1.25rem; }
.nums-inline .num { display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem; align-items: baseline; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.nums-inline .num .v { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.95; letter-spacing: -0.04em; }
.nums-inline .num .v small { font-size: 0.35em; font-weight: 400; letter-spacing: 0; margin-left: 0.15em; color: var(--muted); }
.nums-inline .num .k { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 1.15rem; }
.nums-inline .num p { grid-column: 2; color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }
.nums-inline .num a { grid-column: 2; color: var(--accent); font-weight: 600; margin-top: 0.4rem; }

/* Rows with a photograph that changes on hover */
.rows-photo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.rows-photo .ph { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.rows-photo .ph img { aspect-ratio: 4 / 5; transition: opacity 0.4s; }
.rows-photo .ph img.swap { opacity: 0; }

/* Thumbnail in a row */
.row.thumb { grid-template-columns: 96px 3rem 1.2fr 1.6fr auto; }
.row.thumb .ti { width: 96px; height: 64px; border-radius: var(--r-sm); object-fit: cover; display: block; }

/* Photo strip: a run of photographs */
.ph-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ph-strip .ph img { aspect-ratio: 1; }
.ph-strip .ph.w2 { grid-column: span 2; }
.ph-strip .ph.w2 img { aspect-ratio: 2 / 1; }

/* Testimonials over cream, with a portrait strip beside */
.dark.quiet { background: #1a1416; }

@media (max-width: 900px) {
    .ph-split, .rows-photo { grid-template-columns: 1fr; }
    .ph-split.flip > .ph { order: 0; }
    .rows-photo .ph { position: static; }
    .rows-photo .ph img { aspect-ratio: 16 / 10; }
    .ph-strip { grid-template-columns: 1fr 1fr; }
    /* Four columns plus 2rem gaps left the text 121px on a 393px screen.
       Thumbnail on the left, everything else stacked beside it. */
    .row.thumb { grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
    .row.thumb .ti { width: 64px; height: 44px; grid-row: 1 / span 3; }
    .row.thumb .n { grid-column: 2; }
    .row.thumb h3 { grid-column: 2; font-size: 1.1rem; }
    .row.thumb p { grid-column: 2; }
    .row.thumb .arrow { display: none; }
}

/* First fold: photograph with product screens, beside the headline on desktop, first on the phone */
.ed-hero:has(.hero-visual) { grid-template-columns: 1.05fr 1fr; grid-template-areas: "copy visual" "copy statement"; align-items: start; }
.ed-hero:has(.hero-visual) > div:first-child { grid-area: copy; }
.ed-hero .hero-visual { grid-area: visual; position: relative; }
.ed-hero:has(.hero-visual) .statement { grid-area: statement; margin-top: 1.5rem; }
.hero-visual .hv-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); display: block; box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.6); }
/* The home hero opens on our own work rather than a stock photograph. The screenshot is 8:5, so
   the slot takes that ratio and the whole screen is visible with nothing cropped off the edges.
   The hairline reads as the edge of a screen, it is not a container around a logo. */
.hero-visual .hv-photo.work { aspect-ratio: 8 / 5; box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.6), 0 0 0 1px rgba(18, 18, 18, 0.1); }
.hero-visual .hv-ui { position: absolute; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.2); background: #111; }
.hero-visual .hv-ui img { width: 100%; display: block; }
.hero-visual .hv-ui.a { width: 52%; right: -4%; bottom: -8%; transform: rotate(-2deg); }
.hero-visual .hv-ui.b { width: 38%; left: -5%; top: 10%; transform: rotate(2deg); }
@media (max-width: 900px) {
    .ed-hero:has(.hero-visual) { grid-template-columns: 1fr; grid-template-areas: "visual" "copy" "statement"; padding-top: calc(var(--nav-h) + 1.25rem); }
    .ed-hero .hero-visual { margin: 0 0 1.5rem; }
    .hero-visual .hv-photo { aspect-ratio: 5 / 4; }
    .hero-visual .hv-ui.a { width: 56%; right: -2%; bottom: -6%; }
    .hero-visual .hv-ui.b { width: 40%; left: -3%; top: 8%; }
    .ed-hero .h-display { font-size: clamp(2.2rem, 9vw, 3rem); }
    .ed-hero .eyebrow { font-size: 0.68rem; }
}

/* Evolv-To POC: video in the first fold, photo cards carousel, spotlight video cards, scattered avatars, quieter reveals */

/* Quieter scroll reveals: small, fast, no directional slides */
[data-reveal] { transform: translateY(10px); transition-duration: 0.5s; }
[data-reveal="left"], [data-reveal="right"] { transform: translateY(10px); }
[data-reveal="scale"] { transform: scale(0.985); }

/* First fold video */
.hero-visual .hv-video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); display: block; background: #000; box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.6); }

/* Photo cards: a person, one floating product screen, a title */
.pcard { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.pcard .pic { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.pcard .pic img.p { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.pcard:hover .pic img.p { transform: scale(1.05); }
.pcard .pic .ui { position: absolute; left: 8%; right: 8%; bottom: 8%; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.25); background: #111; transform: rotate(-2deg); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.pcard:hover .pic .ui { transform: rotate(0deg) translateY(-6px); }
.pcard .pic .ui img { width: 100%; display: block; }
.pcard .body { padding: 1.1rem 1.25rem 1.35rem; }
.pcard h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.pcard p { color: var(--muted); font-size: 0.92rem; }

/* Spotlight: click to play video cards */
.spot { flex: 0 0 min(86vw, 640px); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: #000; position: relative; aspect-ratio: 16 / 10; cursor: pointer; }
.spot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(14, 10, 11, 0.7), rgba(14, 10, 11, 0.05) 60%); transition: opacity 0.3s; }
.spot .play i { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); transition: transform 0.3s; }
.spot:hover .play i { transform: scale(1.08); }
.spot .play i svg { width: 28px; height: 28px; margin-left: 4px; }
.spot .cap { position: absolute; left: 1.25rem; bottom: 1.25rem; color: #fff; font-weight: 600; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.spot.playing .play { opacity: 0; pointer-events: none; }

/* Scattered avatars around a heading */
.avatars { position: relative; min-height: 220px; display: grid; place-items: center; text-align: center; padding: 2rem 0; }
.avatars .av { position: absolute; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 10px 24px -10px rgba(18, 18, 18, 0.5); animation: floaty 7s ease-in-out infinite; }
.avatars .av:nth-child(1) { left: 6%; top: 10%; } .avatars .av:nth-child(2) { left: 16%; bottom: 8%; animation-delay: 1s; } .avatars .av:nth-child(3) { left: 27%; top: 42%; width: 40px; height: 40px; animation-delay: 2s; }
.avatars .av:nth-child(4) { right: 6%; top: 12%; animation-delay: 0.5s; } .avatars .av:nth-child(5) { right: 17%; bottom: 6%; animation-delay: 1.5s; } .avatars .av:nth-child(6) { right: 28%; top: 40%; width: 40px; height: 40px; animation-delay: 2.5s; }
.avatars .center { position: relative; z-index: 2; max-width: 34rem; }

@media (max-width: 900px) {
    .avatars .av { width: 40px; height: 40px; }
    .avatars .av:nth-child(3), .avatars .av:nth-child(6) { display: none; }
    .spot { flex-basis: 86vw; }
}

/* Evolv-To POC: photographs with minimal rounding, and designed UI overlays (a notification, a status, a confirmation), built, not screenshots */

:root { --r-photo: 6px; }
.ph, .ph img, .pcard, .pcard .pic, .hero-visual .hv-photo, .hero-visual .hv-video, .photo-panel, .spot, .spread, .band, .show, .work-card, .work-card img, .compare, .p-hero .frame, .frame, .ed-media .frame, .rows-photo .ph, .ph-strip .ph { border-radius: 6px !important; }
.avatars .av { border-radius: 50% !important; }

.chip { position: absolute; display: flex; align-items: center; gap: 0.7rem; background: #fff; color: var(--ink); border-radius: 6px; padding: 0.65rem 0.9rem 0.65rem 0.65rem; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(18, 18, 18, 0.06); font-size: 0.82rem; line-height: 1.25; animation: floaty 7s ease-in-out infinite; max-width: 78%; z-index: 3; }
.chip .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chip .ic svg { width: 17px; height: 17px; }
.chip .ic.ok { background: #2f8f5b; }
.chip .ic.ink { background: var(--ink); }
.chip strong { display: block; font-weight: 600; }
.chip span { color: var(--muted); font-size: 0.76rem; }
.chip.tl { left: 6%; top: 8%; }
.chip.tr { right: 6%; top: 10%; animation-delay: 1.2s; }
.chip.bl { left: 6%; bottom: 10%; animation-delay: 0.6s; }
.chip.br { right: 6%; bottom: 8%; animation-delay: 1.8s; }
.hero-visual { position: relative; }
.pcard .pic .chip { max-width: 84%; }

@media (max-width: 600px) {
    .chip { font-size: 0.74rem; padding: 0.5rem 0.7rem 0.5rem 0.5rem; }
    .chip .ic { width: 28px; height: 28px; }
}

/* Evolv-To POC: concept diagrams (inline SVG), animated with CSS */

.diagram { width: 100%; max-width: 100%; display: block; }
.diagram text { font-family: 'Schibsted Grotesk', 'Segoe UI', Arial, sans-serif; }
.diagram .h { font-family: 'Familjen Grotesk', Arial, sans-serif; font-weight: 600; }
.diagram .node { fill: #fff; stroke: rgba(18, 18, 18, 0.12); stroke-width: 1.5; }
.diagram .node.dark { fill: #121212; stroke: #121212; }
.diagram .node.accent { fill: #af3a4e; stroke: #af3a4e; }
.diagram .node.soft { fill: #f3efe9; stroke: rgba(18, 18, 18, 0.08); }
.diagram .label { fill: #121212; font-size: 13px; font-weight: 600; }
.diagram .sub { fill: #6b6560; font-size: 11px; }
.diagram .light { fill: #fff; }
.diagram .muted-light { fill: rgba(255, 255, 255, 0.7); }
.diagram .wire { fill: none; stroke: rgba(18, 18, 18, 0.22); stroke-width: 2; stroke-linecap: round; }
.diagram .wire.flow { stroke: #af3a4e; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
.diagram .pulse { fill: #af3a4e; animation: pulsedot 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.diagram .dot { fill: #af3a4e; }
.diagram .ring { fill: none; stroke: #af3a4e; stroke-width: 2; opacity: 0.35; }
.diagram .bar { fill: #af3a4e; }
.diagram .bar.ok { fill: #2f8f5b; }
.diagram .bar.track { fill: rgba(18, 18, 18, 0.08); }
.diagram .glow { filter: drop-shadow(0 12px 24px rgba(18, 18, 18, 0.18)); }
.diagram .fade-in { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.diagram .d1 { animation-delay: 0.15s; } .diagram .d2 { animation-delay: 0.3s; } .diagram .d3 { animation-delay: 0.45s; } .diagram .d4 { animation-delay: 0.6s; } .diagram .d5 { animation-delay: 0.75s; } .diagram .d6 { animation-delay: 0.9s; }
.dark .diagram .node { fill: #1b1b1b; stroke: rgba(255, 255, 255, 0.14); }
.dark .diagram .node.soft { fill: #262626; stroke: rgba(255, 255, 255, 0.08); }
.dark .diagram .label { fill: #fff; }
.dark .diagram .sub { fill: rgba(255, 255, 255, 0.6); }
.dark .diagram .wire { stroke: rgba(255, 255, 255, 0.25); }
.dark .diagram .bar.track { fill: rgba(255, 255, 255, 0.1); }

.diagram-wrap { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(1rem, 3vw, 2.5rem); }
.dark .diagram-wrap { background: #161616; border-color: var(--line-dark); }

@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes pulsedot { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(2.2); opacity: 0; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .diagram .wire.flow, .diagram .pulse, .diagram .fade-in { animation: none; } }

/* Calm motion: opacity-only reveals, no transforms, no parallax */
[data-reveal], [data-reveal="left"], [data-reveal="right"], [data-reveal="scale"], [data-reveal="blur"] { transform: none !important; filter: none !important; transition: opacity 0.35s ease !important; }
.hero-stagger > * { transform: none !important; transition: opacity 0.4s ease !important; }
.blur-reveal { filter: none !important; transform: none !important; opacity: 1 !important; }
[data-parallax] { transform: none !important; }
.float, .chip, .avatars .av { animation: none !important; }
img { content-visibility: auto; }
