/*
 * LavaEgg public-site redesign mockup — REVIEW ONLY (revision 3).
 *
 * Isolated to docs/design/lavaegg-redesign/. Not part of the production static site,
 * the Wasm bundle, or any hosting deploy. No imports, no remote fonts, no image URLs:
 * every image and video is an element in the HTML so the stylesheet stays self-contained.
 *
 * Design: warm white and cream surfaces with focused molten accents. The dark surfaces
 * are the media panels that carry the real LavaEgg motion assets (the hero flow loop,
 * the hatching-egg loop, the AI-savings and who-we-work-with scenes), the Bindi stage,
 * the floating egg-mark card, and the featured package card. Motion is video plus CSS glow and
 * reveal moments. Every automatic motion is bounded: decorative clips play once for at most
 * five seconds (site.js) and CSS animations run a fixed number of iterations that finish
 * within five seconds, so nothing needs a pause control. All of it stops under
 * prefers-reduced-motion or without JavaScript, and the real still artwork is what remains.
 */

:root {
    color-scheme: light;
    --lava: #ff6a1f;
    --lava-hot: #ffb347;
    --lava-deep: #c4500f;
    --lava-glow: rgba(255, 122, 40, 0.5);
    --ember-tint: #fff1e6;
    --ink: #1b1512;
    --ink-soft: #4b3f37;
    --muted: #6f6159;
    --line: #efe3d9;
    --line-strong: #dccabd;
    --paper: #fffaf5;
    --paper-warm: #fbf1e8;
    --paper-deep: #f6e9dd;
    --dark: #0d0a09;
    --dark-2: #1b1310;
    --dark-3: #2b1a12;
    --on-dark: #fff8f3;
    --on-dark-soft: rgba(255, 248, 243, 0.78);
    --focus: #ff8a3d;
    --focus-dark: #b84a0a;
    --shadow-card: 0 1px 2px rgba(27, 21, 18, 0.05), 0 18px 44px rgba(92, 44, 16, 0.09);
    --shadow-lift: 0 2px 4px rgba(27, 21, 18, 0.06), 0 28px 64px rgba(120, 52, 14, 0.16);
    --shadow-panel: 0 40px 90px rgba(92, 42, 12, 0.24), 0 0 0 1px rgba(255, 138, 61, 0.3);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shell: min(1180px, calc(100% - 40px));
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "SF Pro Display", "Avenir Next", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 68px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--paper);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    overflow-x: clip;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.02;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.75rem, 1.5rem + 5.2vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem);
}

h3 {
    font-size: 1.3rem;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

p {
    margin: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Focus ------------------------------------------------------------------ */

:focus-visible {
    outline: 3px solid var(--focus-dark);
    outline-offset: 3px;
    border-radius: 6px;
}

.on-dark :focus-visible {
    outline-color: var(--focus);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--on-dark);
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus-visible {
    top: 12px;
    outline-color: var(--focus);
}

/* ---- Media pairs -------------------------------------------------------------- */

/*
 * Every motion asset is a still image plus a muted video clip that shares the same
 * poster. The still is always in the DOM; the video only displays once site.js has
 * confirmed motion is available (no reduced-motion preference, not a narrow viewport)
 * and has activated the deferred source while the panel is on screen. The clip plays
 * once, for at most five seconds, and then settles on its current frame.
 */

.media-still,
.media-motion {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-still {
    z-index: 1;
}

.media-motion {
    z-index: 2;
    display: none;
    pointer-events: none;
}

html.motion-ready .media-motion {
    display: block;
}

/* ---- Review banner ---------------------------------------------------------- */

.mockup-banner {
    position: relative;
    z-index: 8;
    background: var(--ember-tint);
    color: var(--ink);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(196, 80, 15, 0.28);
}

.mockup-banner .shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 8px 0;
}

.mockup-banner strong {
    color: var(--lava-deep);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.mockup-banner span {
    color: var(--ink-soft);
}

/* ---- Header ----------------------------------------------------------------- */

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 7;
    background: rgba(255, 250, 245, 0.86);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-name {
    color: var(--ink);
}

.brand-name em {
    font-style: normal;
    color: var(--lava);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.nav-toggle-icon {
    position: relative;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.nav-toggle-icon::before {
    top: -6px;
}

.nav-toggle-icon::after {
    top: 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-soft);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover {
    color: var(--ink);
    background: var(--ember-tint);
}

.nav-link[aria-current="page"] {
    color: var(--lava-deep);
    background: var(--ember-tint);
}

/* ---- Buttons ---------------------------------------------------------------- */

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.25s var(--ease-snap), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.button.primary {
    background: linear-gradient(135deg, var(--lava-hot) 0%, var(--lava) 55%, #ff4d1a 100%);
    color: #1a0d06;
    box-shadow: 0 10px 30px var(--lava-glow);
}

.button.primary::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid var(--lava);
    opacity: 0;
    pointer-events: none;
    animation: pulse-ring 2.8s var(--ease) 1;
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px var(--lava-glow);
}

.button.ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.6);
    color: var(--ink);
}

.on-dark .button.ghost {
    border-color: rgba(255, 248, 243, 0.35);
    background: transparent;
    color: var(--on-dark);
}

.button.ghost:hover {
    background: rgba(255, 138, 61, 0.14);
}

.button.small {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--lava-deep);
}

.text-link::after {
    content: "→";
    transition: transform 0.25s var(--ease-snap);
}

.text-link:hover::after {
    transform: translateX(4px);
}

/* ---- Sections ------------------------------------------------------------------- */

.section {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: clamp(56px, 8vw, 104px) 0;
}

.section.compact {
    padding-top: 20px;
}

.section.warm {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.section-seam {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lava) 30%, var(--lava-hot) 50%, var(--lava) 70%, transparent);
    transform: scaleX(0);
    transform-origin: 50% 50%;
    opacity: 0.85;
    transition: transform 1.1s var(--ease-snap);
    pointer-events: none;
}

[data-reveal].is-visible .section-seam {
    transform: scaleX(1);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lava-deep);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lava), var(--lava-hot));
}

.on-dark .eyebrow {
    color: var(--lava-hot);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 28px;
}

.section-head > div {
    display: grid;
    gap: 10px;
}

.section-head p {
    max-width: 40ch;
    color: var(--muted);
    font-size: 1.05rem;
}

/* ---- Reveal ------------------------------------------------------------------- */

[data-reveal] > .shell {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.8s var(--ease), transform 0.9s var(--ease-snap);
}

[data-reveal].is-visible > .shell {
    opacity: 1;
    transform: none;
}

html.no-js [data-reveal] > .shell {
    opacity: 1;
    transform: none;
}

/* ---- Hero ---------------------------------------------------------------------- */

/*
 * Cream surface, copy on the left, and one dark media panel on the right carrying the
 * hero flow loop (poster: the same still). The workflow circuits screen over the base of
 * the panel, sparks drift up through it, and the floating egg-mark card overlaps its corner.
 */

.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: clamp(36px, 6vw, 84px) 0 clamp(32px, 5vw, 64px);
    background:
        radial-gradient(70% 60% at 100% 0%, rgba(255, 179, 71, 0.18) 0%, transparent 60%),
        var(--paper);
}

.hero-guarantee {
    width: 100%;
    margin: 0 auto clamp(22px, 3vw, 36px);
    padding: 0 20px;
    color: var(--ink);
    font-size: clamp(1.5rem, 1.15rem + 1.45vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-align: center;
    text-wrap: pretty;
}

.hero-guarantee strong {
    color: var(--lava-deep);
    font-weight: 900;
}

.hero-capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: var(--shell);
    margin: 0 auto clamp(28px, 4vw, 48px);
    padding: 0;
    list-style: none;
}

.hero-capabilities li {
    display: flex;
    min-width: 0;
}

.hero-capability {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
}

.button.primary.hero-capability {
    background: var(--paper);
    color: var(--ink);
    border: 2px solid var(--lava);
    box-shadow: 0 8px 22px rgba(196, 80, 15, 0.12);
}

.button.primary.hero-capability:hover,
.button.primary.hero-capability:focus-visible {
    background: var(--paper-warm);
    border-color: var(--lava-hot);
    box-shadow: 0 16px 34px rgba(255, 106, 31, 0.2);
}

.hero-capability-media {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--dark);
}

.hero-capability-still,
.hero-capability-video {
    object-fit: cover;
    object-position: center;
}

.hero-capability-video {
    transition: transform 0.45s var(--ease-snap);
}

.hero-capability:hover .hero-capability-video,
.hero-capability:focus-visible .hero-capability-video {
    transform: scale(1.04);
}

.hero-capability-media-shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(13, 10, 9, 0.05) 28%, rgba(13, 10, 9, 0.82) 100%);
    pointer-events: none;
}

.hero-capability-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon label"
        "icon support";
    align-content: center;
    column-gap: 10px;
    row-gap: 4px;
    min-width: 0;
    padding: 14px 16px 16px;
    background: linear-gradient(135deg, #fffaf4 0%, #fff0e2 100%);
    color: var(--ink);
}

.hero-capability-icon {
    grid-area: icon;
    align-self: center;
    width: 1.55em;
    height: 1.55em;
    flex: 0 0 auto;
    color: var(--lava-deep);
}

.hero-capability-label {
    grid-area: label;
    min-width: 0;
    font-size: clamp(1.08rem, 0.98rem + 0.24vw, 1.28rem);
    font-weight: 900;
    letter-spacing: 0.012em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.hero-capability-support {
    grid-area: support;
    min-width: 0;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: clamp(14px, 2vw, 22px);
}

.hero-copy h1 {
    color: var(--ink);
    font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5rem);
}

.hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--lava-deep) 0%, var(--lava) 40%, #ff3d00 70%, var(--lava-hot) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: molten-shift 2.4s linear 2 alternate;
}

.hero-lead {
    max-width: 36ch;
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
    color: var(--ink-soft);
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-proof {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px;
    margin: clamp(8px, 2vw, 20px) 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    color: var(--muted);
}

.hero-proof li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-proof li::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lava);
    box-shadow: 0 0 10px var(--lava-glow);
}

.hero-proof strong {
    color: var(--ink);
    font-weight: 700;
}

.hero-visual {
    position: relative;
    padding: 0 0 34px 30px;
}

.hero-halo {
    position: absolute;
    inset: -8% -6% 0 0;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(55% 55% at 60% 50%, rgba(255, 128, 40, 0.42) 0%, rgba(255, 110, 30, 0.16) 45%, transparent 72%);
    filter: blur(34px);
    animation: halo-breathe 2.4s var(--ease) 2 alternate;
    pointer-events: none;
}

.hero-panel {
    position: relative;
    z-index: 1;
    margin: 0;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fff2df;
    border: 8px solid #ffe8cf;
    box-shadow: 0 18px 42px rgba(120, 70, 30, 0.16);
    isolation: isolate;
}

.hero-panel .media-still,
.hero-panel .media-motion {
    object-position: 44% 50%;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(255, 235, 211, 0.06) 0%, transparent 60%, rgba(13, 10, 9, 0.16) 100%);
    pointer-events: none;
}

.hero-circuits {
    position: absolute;
    left: 50%;
    bottom: -7%;
    z-index: 4;
    width: 104%;
    max-width: none;
    transform: translateX(-50%);
    mix-blend-mode: screen;
    opacity: 0.85;
    pointer-events: none;
    animation: circuit-pulse 2s var(--ease) 2 alternate;
}

html.motion-ready .hero-circuits {
    animation: circuit-assemble 2.4s ease-out both, circuit-pulse 1.2s var(--ease) 2.4s 2 alternate;
}

.hero-spark {
    position: absolute;
    z-index: 4;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle, #ffd276 0%, #ff6a1a 58%, transparent 100%);
    box-shadow: 0 0 16px rgba(255, 106, 26, 0.6);
    opacity: 0;
    animation: spark-drift 3.2s ease-in-out 1;
    pointer-events: none;
}

.hero-spark:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.hero-spark:nth-child(2) { top: 30%; right: 14%; animation-delay: 0.3s; }
.hero-spark:nth-child(3) { top: 52%; left: 8%; animation-delay: 0.6s; }
.hero-spark:nth-child(4) { top: 64%; right: 8%; animation-delay: 0.9s; }
.hero-spark:nth-child(5) { bottom: 22%; left: 24%; animation-delay: 1.2s; }
.hero-spark:nth-child(6) { bottom: 30%; right: 26%; animation-delay: 1.5s; }

.hero-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 14px 7px 7px;
    border-radius: 999px;
    background: rgba(13, 10, 9, 0.7);
    border: 1px solid rgba(255, 179, 71, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--on-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-badge img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lava-hot);
    box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.7);
    animation: dot-pulse 1.8s ease-out 2;
}

.hero-logo-card {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(108px, 24%, 156px);
    aspect-ratio: 1;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff2df;
    border: 1px solid rgba(255, 128, 45, 0.32);
    box-shadow: 0 16px 36px rgba(120, 70, 30, 0.16);
    animation: card-float 2.4s ease-in-out 2;
}

.hero-logo-card .media-still {
    background: #fff2df;
    padding: 6%;
    object-fit: contain;
}

/* ---- Rails -------------------------------------------------------------------- */

.rail {
    position: relative;
}

.rail-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rail-count {
    min-width: 4ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--muted);
}

.rail-button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s var(--ease-snap), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.rail-button:hover:not(:disabled) {
    background: var(--ember-tint);
    border-color: var(--lava);
}

.rail-button:disabled {
    opacity: 0.4;
    cursor: default;
}

.rail-track {
    --rail-gap: 18px;
    /* Distance from the viewport edge to the shell edge, so the first card lines up with
       the heading. An explicit length: percentages inside scroll-padding resolve against
       the scroller itself, not the shell. */
    --rail-inset: max(20px, calc((100vw - 1180px) / 2));
    display: flex;
    gap: var(--rail-gap);
    margin-inline: calc(-1 * var(--rail-inset));
    padding: 14px var(--rail-inset) 32px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rail-inset);
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.rail-track::-webkit-scrollbar {
    display: none;
}

.rail-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.rail-track:focus-visible {
    outline-offset: -3px;
}

.rail-list {
    display: contents;
}

.rail-card {
    position: relative;
    flex: 0 0 min(320px, 80vw);
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 12px;
    padding: 20px 22px 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transition: transform 0.45s var(--ease-snap), box-shadow 0.45s var(--ease), border-color 0.3s var(--ease);
}

.rail-card::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--lava-hot), var(--lava));
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.5s var(--ease-snap);
}

.rail-card.is-active,
.rail-card:hover,
.rail-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(255, 106, 31, 0.35);
}

.rail-card.is-active::before,
.rail-card:hover::before,
.rail-card:focus-within::before {
    transform: scaleX(1);
}

.rail-card .index {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--lava-deep);
}

.rail-card p {
    color: var(--ink-soft);
    text-wrap: pretty;
}

.rail-media {
    position: relative;
    height: 160px;
    margin: -4px -6px 4px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(160deg, var(--dark-2), var(--dark-3));
}

.rail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.9s var(--ease-snap);
}

.rail-media.contain img {
    object-fit: contain;
    padding: 12px;
}

.rail-card.is-active .rail-media img,
.rail-card:hover .rail-media img {
    transform: scale(1.04);
}

.rail-card ul {
    display: grid;
    align-content: start;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.rail-card ul li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--lava);
    font-weight: 800;
}

.rail-card .card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
}

/* Package cards */

.plan-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

#consultation-form,
#project-message,
#consult-package,
.plans-section,
#compare,
#individual-services,
#custom-apps,
#next-steps,
[id$="-package"] {
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.plan-jumps a {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

.plan-swipe-hint {
    display: none;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.plans-section .rail-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.plans-section .package-card {
    flex-basis: calc((100% - 2 * var(--rail-gap)) / 3);
    min-width: 0;
    grid-template-rows: minmax(3.5em, auto) minmax(4.5em, auto) auto auto 1fr;
}

.package-card h3.index {
    font-size: 1.25rem;
    letter-spacing: 0;
}

.plan-heading { display: grid; gap: 6px; align-content: start; }
.plan-heading .plan-subtitle { font-size: 0.9rem; margin: 0; font-weight: 500; }
.plan-inclusions li { display: flex; align-items: center; gap: 10px; }
.plans-section .card-foot .button { width: 100%; justify-content: center; }
.rail-card .plan-inclusions li::before { content: none; }
.capability-icon { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: #fff2df; color: #873b19; font-size: 1.15rem; font-weight: 700; }
.capability-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 28px 0; }
.capability-overview li { display: flex; align-items: start; gap: 14px; }
.capability-overview h3 { font-size: 1.1rem; margin-bottom: 8px; }
.capability-overview p { color: var(--ink-soft); }
.trial-review-note { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.plan-custom-note { margin-top: 24px; font-size: 0.95rem; color: var(--ink-soft); }
.plan-help { padding: 24px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 16px; }
@media (max-width: 800px) {
    .capability-overview { grid-template-columns: 1fr; gap: 20px; }
}

.package-card .price-value {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink-soft);
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-unit {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
}

.package-card.featured .price-value {
    color: #503728;
}

.section-intro {
    max-width: 62ch;
    margin-block: 16px 24px;
}

.service-details {
    display: grid;
    gap: 12px;
    margin-block: 24px;
}

.service-details details {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 20px 24px;
    scroll-margin-top: 120px;
}

.service-details summary {
    cursor: pointer;
    font-weight: 750;
}

.service-availability {
    display: inline-block;
    margin-left: 16px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-soft);
}

.service-detail-body {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    max-width: 72ch;
}

.custom-project-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.custom-project {
    width: 100%;
    max-width: 560px;
}

.home-custom-project {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.intent-banner .text-link {
    display: inline-block;
    margin-top: 8px;
}

@media (max-width: 800px) {
    .plans-section .package-card {
        flex-basis: min(340px, 82vw);
    }

    .plan-swipe-hint {
        display: block;
    }

    .custom-project-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-availability {
        display: block;
        margin: 8px 0 0 18px;
    }
}

.package-card {
    flex-basis: min(300px, 82vw);
    /* name, fit line, price, inclusions (stretch), action */
    grid-template-rows: auto auto auto 1fr auto;
    background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 100%);
}

/*
 * Fit lines: one short "Good fit for" (services) or "For" (packages) sentence per card,
 * grounded in that card's existing scope. A label plus wrapping text, never a badge, so
 * it cannot overflow a narrow card.
 */
.fit {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.fit > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fit-label {
    flex: none;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lava-deep);
}

.package-card.featured .fit-label {
    color: #873b19;
}

/* How to choose (services view): three short steps, one line each on desktop. */
.choose-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    counter-reset: choose;
}

.choose-steps li {
    counter-increment: choose;
    display: grid;
    gap: 6px;
    padding: 18px 20px 20px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    text-wrap: pretty;
}

.choose-steps li::before {
    content: "0" counter(choose);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--lava-deep);
}

.choose-steps strong {
    display: block;
    color: var(--ink);
}

.package-card.featured {
    background: linear-gradient(170deg, #fff8ec 0%, #ffe1c7 100%);
    color: #30241c;
    border-color: rgba(255, 138, 61, 0.35);
    isolation: isolate;
}

.package-card.featured > :not(.card-texture, .pill) {
    position: relative;
    z-index: 1;
}

.card-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0.08;
    mix-blend-mode: multiply;
    pointer-events: none;
    user-select: none;
}

.package-card.featured p,
.package-card.featured ul {
    color: #503728;
}

.package-card.featured .index {
    color: #30241c;
}

.package-card.featured .text-link {
    color: #873b19;
}

.price {
    display: grid;
    gap: 2px;
}

.price-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.price-note {
    font-size: 0.82rem;
    color: var(--muted);
}

.package-card.featured .price-note {
    color: #503728;
}

.pill {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lava);
    color: #1a0d06;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.placeholder-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ember-tint);
    border: 1px dashed rgba(196, 80, 15, 0.5);
    color: var(--lava-deep);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- Compare table (packages view) ------------------------------------------- */

.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare th,
.compare td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.compare thead th {
    font-family: var(--font-display);
    font-weight: 800;
    background: var(--paper-warm);
}

.compare tbody th {
    font-weight: 600;
    color: var(--ink);
}

/* The service column stays put while the package columns scroll sideways. */
.compare thead th:first-child,
.compare tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 1px 0 0 var(--line);
}

.compare thead th:first-child {
    background: var(--paper-warm);
}

.compare td.yes {
    color: var(--lava-deep);
    font-weight: 800;
}

.compare td.no {
    color: var(--muted);
}

.compare .price-row th,
.compare .price-row td {
    border-bottom: 0;
    background: var(--paper-warm);
    font-weight: 700;
}

/* Legend: the same two marks the table uses, explained once, beside the heading. */
.compare-legend {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.compare-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-legend .mark {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 800;
}

.compare-legend .mark.yes {
    color: var(--lava-deep);
}

.compare-legend .mark.no {
    color: var(--muted);
}

/* Only shown on narrow viewports, where the table scrolls inside its frame. */
.compare-scroll-hint {
    display: none;
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.compare-notes {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.compare-note {
    margin: 0;
    max-width: 70ch;
}

.compare-note strong {
    color: var(--ink);
}

/* ---- Consultation: hatching-egg panel + form --------------------------------- */

.talk-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
}

.talk-panel {
    position: relative;
    min-height: 560px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--dark);
    color: var(--on-dark);
    box-shadow: var(--shadow-panel);
    isolation: isolate;
}

.talk-panel .media-still,
.talk-panel .media-motion {
    object-position: 50% 62%;
}

.talk-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(13, 10, 9, 0.78) 0%, rgba(13, 10, 9, 0.35) 34%, transparent 58%);
    pointer-events: none;
}

.talk-copy {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 14px;
    padding: clamp(24px, 3vw, 40px);
}

.talk-copy h1,
.talk-copy h2 {
    font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem);
}

.talk-copy p {
    max-width: 28ch;
    font-size: 1.1rem;
    color: var(--on-dark-soft);
}

.talk-steps {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    font-size: 0.95rem;
}

.talk-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--on-dark-soft);
}

.talk-steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 179, 71, 0.45);
    background: rgba(13, 10, 9, 0.4);
    color: var(--lava-hot);
    font-size: 0.74rem;
    font-weight: 800;
}

.form-card {
    padding: clamp(20px, 3vw, 32px);
    border-radius: var(--radius-xl);
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
}

.form-card h2,
.form-card h3 {
    font-size: 1.6rem;
}

.form-card > .form-help {
    margin-top: 6px;
    margin-bottom: 18px;
}

.intent-banner {
    display: none;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--ember-tint);
    border: 1px solid rgba(196, 80, 15, 0.35);
    color: var(--lava-deep);
    font-weight: 600;
    font-size: 0.95rem;
}

.intent-banner.is-visible {
    display: flex;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.form-field {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label,
.form-field legend {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink-soft);
}

.form-field legend {
    padding: 0;
    margin-bottom: 8px;
}

.optional {
    font-weight: 500;
    color: var(--muted);
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--paper);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:not([type="checkbox"]):focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--lava);
    box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.18);
    outline: none;
}

.form-field textarea {
    min-height: 92px;
    resize: vertical;
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.choice:has(input:checked) {
    background: var(--ember-tint);
    border-color: var(--lava);
    color: var(--lava-deep);
}

.choice input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--lava);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.form-help {
    font-size: 0.85rem;
    color: var(--muted);
}

.form-status {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: var(--ember-tint);
    border: 1px solid rgba(196, 80, 15, 0.35);
}

.form-status.is-error {
    background: #fff2f0;
    border: 1px solid #f0b1a8;
}

.form-status dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 14px;
    margin: 10px 0 0;
}

.form-status dt {
    font-weight: 700;
    color: var(--ink-soft);
}

.form-status dd {
    margin: 0;
}

/* ---- Compact page hero (services / packages views) ---------------------------- */

.page-hero {
    position: relative;
    padding: clamp(40px, 6vw, 72px) 0 12px;
    background:
        radial-gradient(60% 70% at 100% 0%, rgba(255, 179, 71, 0.16) 0%, transparent 60%),
        var(--paper);
}

.page-hero .shell {
    display: grid;
    gap: 14px;
}

.page-hero .shell > .button {
    justify-self: start;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4rem);
}

.page-hero p {
    max-width: 40ch;
    color: var(--muted);
    font-size: 1.1rem;
}

/* ---- CTA strip ----------------------------------------------------------------- */

.cta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 24px 28px;
    border-radius: var(--radius-xl);
    background: linear-gradient(120deg, #fff 0%, var(--paper-warm) 100%);
    border: 1px solid rgba(255, 138, 61, 0.35);
    box-shadow: var(--shadow-card);
}

.cta-strip h2 {
    font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
}

/* ---- Chips and quiet pills ------------------------------------------------------ */

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chip:hover,
.chip.is-used {
    background: var(--ember-tint);
    border-color: var(--lava);
    color: var(--lava-deep);
}

.chip:disabled {
    opacity: 0.55;
    cursor: default;
}

.pill.quiet {
    position: static;
    background: var(--ember-tint);
    color: var(--lava-deep);
    border: 1px solid rgba(196, 80, 15, 0.35);
}

/* ---- Bindi: stage and simulated demo --------------------------------------------- */

/*
 * The stage is a dark panel carrying the real Bindi frames (idle, blink, thinking, ready,
 * speak, cheer). Exactly one frame is visible at a time; the script swaps the `hidden`
 * attribute to move between states. Without JavaScript, and under reduced or paused
 * motion, the idle frame simply stays put and the demo answers appear at once.
 * The demo panel is the #bindi-demo target the primary nav opens: it clears the sticky
 * header when jumped to, takes focus, and is highlighted while open.
 */

.bindi-section {
    background:
        radial-gradient(50% 60% at 0% 100%, rgba(255, 179, 71, 0.16) 0%, transparent 60%),
        var(--paper);
}

/* A compact head: the plain title, a three-item capability list, and one button that
 * opens the demo panel below (the same #bindi-demo route the primary nav uses). */
.bindi-head {
    margin-bottom: 22px;
}

.bindi-head h2 {
    font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
}

.bindi-lead {
    margin: 0;
    color: var(--ink-soft);
}

.bindi-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
    color: var(--ink);
}

.bindi-capabilities li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--lava-deep);
}

.bindi-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: stretch;
}

.bindi-stage {
    position: relative;
    display: grid;
    place-items: center;
    margin: 0;
    padding: clamp(20px, 3vw, 32px);
    min-height: 360px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        radial-gradient(70% 60% at 50% 90%, rgba(255, 122, 40, 0.35) 0%, transparent 65%),
        linear-gradient(170deg, #0a1a33 0%, var(--dark) 100%);
    color: var(--on-dark);
    box-shadow: var(--shadow-panel);
    isolation: isolate;
}

.bindi-frames {
    position: relative;
    z-index: 2;
    width: min(100%, 300px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(120, 180, 255, 0.25);
}

.bindi-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bindi-frame[hidden] {
    display: none;
}

.bindi-ring {
    position: absolute;
    z-index: 1;
    width: min(88%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 179, 71, 0.35);
    box-shadow: 0 0 60px rgba(255, 122, 40, 0.28), inset 0 0 40px rgba(80, 140, 255, 0.18);
    animation: ring-breathe 2.4s var(--ease) 2 alternate;
    pointer-events: none;
}

.bindi-stage[data-bindi-state="thinking"] .bindi-ring {
    border-color: rgba(120, 180, 255, 0.55);
}

.bindi-stage[data-bindi-state="speaking"] .bindi-ring,
.bindi-stage[data-bindi-state="cheer"] .bindi-ring {
    border-color: rgba(255, 179, 71, 0.75);
    box-shadow: 0 0 80px rgba(255, 122, 40, 0.45), inset 0 0 40px rgba(255, 122, 40, 0.2);
}

.bindi-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(13, 10, 9, 0.7);
    border: 1px solid rgba(255, 179, 71, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
}

.bindi-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lava-hot);
    animation: dot-pulse 1.8s ease-out 2;
}

.bindi-stage[data-bindi-state="thinking"] .bindi-status .dot {
    background: #7fb4ff;
}

.bindi-demo {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: clamp(18px, 2.6vw, 28px);
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    scroll-margin-top: calc(var(--header-h) + 16px);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.bindi-demo.is-open {
    border-color: var(--lava);
    box-shadow: var(--shadow-lift), 0 0 0 4px rgba(255, 106, 31, 0.18);
}

.bindi-demo:focus {
    outline: none;
}

.bindi-demo:focus-visible {
    outline: 3px solid var(--focus-dark);
    outline-offset: 4px;
}

.bindi-demo-note {
    margin: -4px 0 0;
}

.bindi-demo-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bindi-demo-hint {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lava-deep);
}

html.no-js .bindi-demo-foot {
    display: none;
}

.bindi-demo-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bindi-demo-head h3 {
    font-size: 1.5rem;
}

.bindi-transcript {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    max-height: 240px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.bindi-msg {
    display: flex;
}

.bindi-msg p {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.97rem;
    line-height: 1.45;
}

.bindi-msg.from-bindi p {
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-bottom-left-radius: 6px;
}

.bindi-msg.from-you {
    justify-content: flex-end;
}

.bindi-msg.from-you p {
    background: var(--ink);
    color: var(--on-dark);
    border-bottom-right-radius: 6px;
}

.bindi-msg.is-typing p::after {
    content: "…";
    margin-left: 2px;
    color: var(--lava-deep);
}

.bindi-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bindi-form {
    display: flex;
    gap: 10px;
}

.bindi-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--paper);
}

.bindi-form input:focus {
    border-color: var(--lava);
    box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.18);
    outline: none;
}

.bindi-nojs {
    display: none;
}

html.no-js .bindi-nojs {
    display: block;
}

html.no-js .bindi-form,
html.no-js .bindi-prompts {
    display: none;
}

/* ---- Bindi launcher (persistent, links to the home Bindi section) --------------- */

/*
 * One fixed link, bottom-right, on every page. It is always visible and always
 * reachable: there is no hidden state, no scroll-driven toggle, and nothing in the
 * script touches it. It sits above the sticky header and the media panels.
 */
.bindi-launcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-dark);
    border: 1px solid rgba(255, 179, 71, 0.45);
    box-shadow: 0 16px 40px rgba(27, 21, 18, 0.3), 0 0 30px rgba(255, 106, 31, 0.25);
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.25s var(--ease-snap);
}

.bindi-launcher img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.bindi-launcher:hover {
    transform: translateY(-2px);
}

.bindi-launcher:focus-visible {
    outline: 3px solid var(--lava-hot);
    outline-offset: 3px;
}

/* ---- Scene bands (AI savings, who we work with) ----------------------------------- */

/*
 * A full-width dark panel carrying one current-site loop over its still, with a short
 * copy block over a gradient on the left. The still is always present beneath the loop.
 */

.scene-panel {
    position: relative;
    min-height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--dark);
    color: var(--on-dark);
    box-shadow: var(--shadow-panel);
    isolation: isolate;
    display: grid;
    align-items: end;
}

.scene-panel .media-still,
.scene-panel .media-motion {
    object-position: 60% 50%;
}

.scene-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(90deg, rgba(13, 10, 9, 0.82) 0%, rgba(13, 10, 9, 0.45) 45%, transparent 70%),
        linear-gradient(180deg, transparent 50%, rgba(13, 10, 9, 0.55) 100%);
    pointer-events: none;
}

.scene-copy {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 14px;
    justify-items: start;
    max-width: 30rem;
    padding: clamp(24px, 3.5vw, 48px);
}

.scene-copy h2 {
    font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
}

.scene-points {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--on-dark-soft);
    font-size: 1rem;
}

.scene-points li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scene-points li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lava-hot);
    box-shadow: 0 0 12px var(--lava-glow);
}

.people-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.45fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: stretch;
}

.people-panel {
    min-height: 420px;
}

.people-panel .media-still,
.people-panel .media-motion {
    object-position: 50% 45%;
}

/* ---- Founder card / About page ----------------------------------------------------- */

.founder-card {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 10px;
    padding: clamp(20px, 2.6vw, 28px);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.founder-card p {
    color: var(--ink-soft);
    text-wrap: pretty;
}

.founder-portrait {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 12px 30px rgba(92, 44, 16, 0.22), 0 0 0 1px rgba(255, 138, 61, 0.4);
}

.founder-card.large .founder-portrait {
    width: 180px;
    height: 180px;
}

.founder-card h3 {
    font-size: 1.35rem;
}

.founder-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.founder-story {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.founder-story h2 {
    font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem);
}

.founder-story p {
    max-width: 44ch;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.founder-story .founder-lead {
    font-size: 1.15rem;
    color: var(--ink);
}

.founder-story .hero-actions {
    margin-top: 8px;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

/* ---- Social links ------------------------------------------------------------------- */

/*
 * The existing social icon SVGs are white glyphs, so each sits on a dark circular chip.
 * Every link opens in a new tab with rel="noopener noreferrer" and an explicit label.
 */

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--ink);
    border: 1px solid rgba(255, 179, 71, 0.35);
    transition: transform 0.2s var(--ease-snap), background-color 0.2s var(--ease);
}

.social-link img {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--lava-deep);
}

.social-link.labeled {
    width: auto;
    padding: 6px 14px 6px 8px;
    color: var(--on-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.social-links.large {
    margin-top: 12px;
}

.social-links.large .social-link {
    width: 46px;
    height: 46px;
}

/* ---- Account page: aside + tabbed mock forms ---------------------------------------- */

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
}

.account-aside {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(170deg, var(--dark-2) 0%, var(--dark-3) 100%);
    color: var(--on-dark);
    border: 1px solid rgba(255, 138, 61, 0.35);
    box-shadow: var(--shadow-panel);
    isolation: isolate;
}

.account-aside-copy {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    padding: clamp(24px, 3vw, 40px);
}

.account-aside-copy h2 {
    font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
}

.account-aside-shot {
    width: min(100%, 220px);
    margin-top: 10px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 179, 71, 0.35);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.account-card {
    display: grid;
    align-content: start;
    gap: 18px;
}

.account-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-divider::before,
.account-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.google-auth-button {
    width: 100%;
    border-color: var(--line-strong);
    background: #fff;
    color: var(--ink);
}

.google-auth-button:hover {
    background: var(--paper-warm);
}

.account-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--paper-warm);
    border: 1px solid var(--line);
}

.account-tab {
    flex: 1;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.account-tab[aria-selected="true"] {
    background: #fff;
    color: var(--lava-deep);
    box-shadow: var(--shadow-card);
}

.account-panel[hidden] {
    display: none;
}

.account-heading {
    font-size: 1.6rem;
}

.account-panel > .form-help {
    margin: 6px 0 16px;
}

html.no-js .account-panel[hidden] {
    display: block;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

html.no-js .account-tabs {
    display: none;
}

/* ---- Footer -------------------------------------------------------------------- */

.site-footer {
    padding: 28px 0 36px;
    background: var(--paper-warm);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 4px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
    color: var(--ink-soft);
}

.footer-links a:hover {
    color: var(--lava-deep);
}

.footer-inner .social-links {
    grid-column: 1;
}

.footer-note {
    grid-column: 2;
    text-align: end;
}

/* ---- Keyframes ----------------------------------------------------------------- */

@keyframes molten-shift {
    from { background-position: 0% 50%; }
    to { background-position: 220% 50%; }
}

@keyframes halo-breathe {
    from { transform: scale(0.94); opacity: 0.7; }
    to { transform: scale(1.06); opacity: 1; }
}

@keyframes circuit-pulse {
    from { opacity: 0.55; filter: brightness(0.95); }
    to { opacity: 0.95; filter: brightness(1.3); }
}

@keyframes circuit-assemble {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    22% { opacity: 0.85; }
    100% { clip-path: inset(0 0 0 0); opacity: 0.85; }
}

@keyframes spark-drift {
    0%, 100% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.7); }
    18% { opacity: 0.9; }
    50% { opacity: 0.4; transform: translate3d(0, -22px, 0) scale(1); }
    82% { opacity: 0; }
}

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.7); }
    100% { box-shadow: 0 0 0 12px rgba(255, 179, 71, 0); }
}

@keyframes pulse-ring {
    0% { opacity: 0.7; transform: scale(0.96); }
    100% { opacity: 0; transform: scale(1.18); }
}

@keyframes ring-breathe {
    from { transform: scale(0.96); opacity: 0.7; }
    to { transform: scale(1.04); opacity: 1; }
}

/* ---- Responsive ---------------------------------------------------------------- */

/* Seven nav items plus the consultation button need the full shell; below 980px the
   menu collapses behind the toggle. */
@media (max-width: 1120px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 20px 18px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(27, 21, 18, 0.12);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
    }

    .nav-link {
        display: block;
        padding: 12px 14px;
    }

    .nav-cta {
        justify-content: center;
    }
}

@media (max-width: 960px) {
    .bindi-grid,
    .people-grid,
    .founder-grid,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .bindi-stage {
        min-height: 360px;
    }

    .scene-panel,
    .people-panel {
        min-height: 420px;
    }

    .account-aside {
        min-height: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: start;
    }

    .footer-inner .social-links,
    .footer-note {
        grid-column: 1;
        text-align: start;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        justify-items: start;
    }

    .hero-lead {
        max-width: 42ch;
    }

    .hero-visual {
        padding: 0 0 30px 22px;
    }

    .hero-panel {
        aspect-ratio: 4 / 3;
    }

    .talk-grid {
        grid-template-columns: 1fr;
    }

    .talk-panel {
        min-height: 480px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .choose-steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .compare-scroll-hint {
        display: block;
    }

    .compare {
        font-size: 0.9rem;
    }

    .compare th,
    .compare td {
        padding: 10px 12px;
    }

    .compare tbody th {
        max-width: 42vw;
    }

    .bindi-stage {
        min-height: 320px;
        padding: 16px;
    }

    .bindi-frames {
        width: min(100%, 260px);
    }

    .bindi-msg p {
        max-width: 92%;
    }

    .bindi-form {
        flex-direction: column;
    }

    .scene-panel,
    .people-panel {
        min-height: 380px;
    }

    .scene-panel .media-still,
    .scene-panel .media-motion {
        object-position: 62% 50%;
    }

    .bindi-launcher {
        right: 12px;
        bottom: 12px;
        padding: 4px 12px 4px 4px;
        font-size: 0.82rem;
    }

    .bindi-launcher img {
        width: 34px;
        height: 34px;
    }

    .hero-capabilities {
        grid-template-columns: 1fr;
        gap: 16px;
        width: min(calc(100% - 40px), 360px);
    }

    .hero-capabilities li,
    .hero-capability {
        width: 100%;
    }

    .hero-capability {
        min-height: 208px;
    }

    .hero-copy h1 {
        font-size: clamp(2.3rem, 1.2rem + 6vw, 3.4rem);
    }

    .hero-actions .button {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .hero-panel {
        aspect-ratio: 1 / 1;
        border-radius: var(--radius-lg);
    }

    .hero-badge {
        top: 12px;
        right: 12px;
        font-size: 0.78rem;
    }

    .hero-circuits {
        width: 120%;
        bottom: -4%;
    }

    .hero-proof {
        gap: 4px 14px;
        font-size: 0.84rem;
    }

    .talk-panel {
        min-height: 440px;
    }

    .talk-panel .media-still,
    .talk-panel .media-motion {
        object-position: 50% 68%;
    }
}

/* ---- Reduced motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .media-motion {
        display: none !important;
    }

    .hero-spark,
    .hero-halo {
        display: none;
    }

    .bindi-ring {
        display: none;
    }

    .bindi-transcript {
        scroll-behavior: auto;
    }

    [data-reveal] > .shell {
        opacity: 1;
        transform: none;
    }

    [data-reveal] .section-seam {
        transform: scaleX(1);
    }

    .rail-track {
        scroll-behavior: auto;
    }
}

/* Local checkout: all controls and confirmations remain in this document. */
.pricing-banner {
    padding: 14px 18px;
    border: 1px solid #e4b992;
    border-radius: var(--radius-md);
    background: #fff2df;
    color: #503728;
    margin-block: 20px;
    max-width: 72ch;
}

.checkout-section > .shell {
    max-width: 820px;
}

.checkout-notice {
    position: sticky;
    top: var(--header-h);
    z-index: 6;
    padding: 14px 18px;
    margin-bottom: 24px;
    border: 2px solid #873b19;
    border-radius: var(--radius-md);
    background: #fff2df;
    color: #503728;
}

.checkout-controls {
    padding: 0;
    margin: 0;
    border: 0;
    min-width: 0;
}

.checkout-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 0;
    margin: 28px 0;
    list-style: none;
    color: var(--ink-soft);
}

.checkout-progress [aria-current="step"] {
    font-weight: 800;
    color: #873b19;
    border-bottom: 2px solid currentColor;
}

.checkout-card {
    display: grid;
    gap: 20px;
    padding: clamp(20px, 4vw, 36px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.checkout-card[hidden], .checkout-form[hidden] {
    display: none;
}

.checkout-card h2, .checkout-form [tabindex="-1"], .checkout-form input {
    scroll-margin-top: calc(var(--header-h) + 110px);
}

.checkout-card p { margin: 0; }
.checkout-plan { font-size: 1.25rem; font-weight: 750; }
.checkout-scope { margin: 0; padding-left: 20px; }
.checkout-total, .demo-payment-method {
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--paper-warm);
}
.checkout-confirmation { margin: 0; overflow-wrap: anywhere; }
.checkout-confirmation dt { font-weight: 750; margin-top: 12px; }
.checkout-confirmation dd { margin: 4px 0 0; }
.checkout-cancel { display: inline-block; margin: 24px 0; }
.checkout-error {
    padding: 20px;
    border: 1px solid #873b19;
    border-radius: var(--radius-md);
    background: #fff2df;
}

#project-work, #founder-experience { scroll-margin-top: calc(var(--header-h) + 24px); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.work-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.work-media { height: 280px; overflow: hidden; background: #f4e9df; border-bottom: 1px solid var(--line); }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-media.contain img { object-fit: contain; padding: 20px; }
.work-card-body { padding: 28px; display: grid; gap: 18px; }
.work-card-body p { margin: 0; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.work-tags li { padding: 5px 10px; border-radius: 999px; background: #fff2df; color: #873b19; font-size: 0.8rem; font-weight: 650; }
.work-evidence { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 700px) {
    .work-grid { grid-template-columns: 1fr; }
    .work-media { height: 230px; }
    .work-card-body { padding: 22px; }
}
/* Published catalog uses the approved horizontal-card layout, with native
   keyboard/touch scrolling and no static or invented prices. */
[data-redesign] .public-storefront-grid {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 1rem .25rem 1.5rem;
}
[data-redesign] .public-storefront-card {
    flex: 0 0 min(86vw, 25rem);
    scroll-snap-align: start;
    border: 1px solid #e4cfc2;
    border-radius: 1.5rem;
    background: #fffaf5;
    padding: 1.6rem;
}
[data-redesign] .public-storefront-media { width: 100%; max-height: 14rem; object-fit: cover; border-radius: 1rem; }
[data-redesign] .public-storefront-price { font-size: 1.8rem; font-weight: 650; }
[data-redesign] .public-storefront-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
[data-redesign] .public-storefront-actions { display: grid; gap: .75rem; margin-top: 1rem; }
[data-redesign] .public-storefront-actions section { display: grid; gap: .75rem; }
[data-redesign] .public-storefront-actions [hidden] { display: none; }
[data-redesign] .public-storefront-actions input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-inline-end: .5rem; }
[data-redesign] .public-storefront-card ul { padding-left: 1.2rem; }
[data-redesign] .public-storefront-badges { display: flex; gap: .5rem; font-size: .8rem; }
[data-redesign] .public-storefront-meta { font-size: .8rem; }
[data-redesign] [data-public-account] .form-field { margin-block: 1rem; }
[data-redesign] [data-account-status] { margin-top: 1rem; }
[data-redesign] .supporting-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; padding-block: 1.5rem; }
[data-redesign] .canonical-content .surface { padding: clamp(1.5rem, 4vw, 3rem); margin-block: 2rem; background: #fffaf5; border: 1px solid #e4cfc2; border-radius: 1.5rem; }
[data-redesign] .canonical-content .section-heading { margin-bottom: 1.5rem; }
[data-redesign] .canonical-content p { margin-block: .8rem; }
[data-redesign] .canonical-content ul { padding-left: 1.4rem; }
[data-redesign] .canonical-content .grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
[data-redesign] .canonical-content .hero-grid { display: grid; gap: 2rem; }
[data-redesign] .canonical-content .hero-panel { padding-block: 1rem; }
[data-redesign] .canonical-content .portfolio-grid { display: grid; gap: 2rem; }
[data-redesign] .canonical-content .portfolio-card { border-bottom: 1px solid #e4cfc2; padding-bottom: 2rem; }
[data-redesign] .canonical-content .portfolio-brand-logo { max-width: 5rem; max-height: 5rem; object-fit: contain; }
[data-redesign] .canonical-content .portfolio-media img { max-height: 28rem; object-fit: contain; }
[data-redesign] .canonical-content .store-badge img { width: 11rem; }
[data-redesign] .canonical-content .portfolio-gallery { display: flex; gap: 1rem; overflow-x: auto; }
[data-redesign] .canonical-content .portfolio-gallery img { max-height: 25rem; width: auto; }
[data-redesign] .canonical-content .platform-grid, [data-redesign] .canonical-content .card-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
[data-redesign] .canonical-content .check-list li { margin-block: .8rem; }
[data-redesign] .canonical-content .check-list strong { display: block; }
[data-redesign] .canonical-content .feature-list strong { display: block; }
[data-redesign] .canonical-content .feature-list li { margin-block: .8rem; }
[data-redesign] .canonical-content .portfolio-brand-lockup { display: flex; align-items: center; gap: 1rem; }
[data-redesign] .canonical-content .portfolio-badges { display: flex; flex-wrap: wrap; list-style: none; gap: .5rem; padding: 0; }
[data-redesign] .canonical-content .portfolio-badge { padding: .25rem .75rem; background: #ffeadc; border-radius: 2rem; }
[data-redesign] .canonical-content .portfolio-details-summary { cursor: pointer; padding-block: 1rem; color: #a93619; }
[data-redesign] .canonical-content .portfolio-shot { flex: 0 0 min(70vw, 18rem); }
[data-redesign] .canonical-content .app-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; align-items: center; }
[data-redesign] .canonical-content .app-carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; }
[data-redesign] .canonical-content .app-carousel-slide { flex: 0 0 90%; scroll-snap-align: start; margin: 0; }
[data-redesign] .canonical-content .app-carousel-nav { min-width: 2.5rem; min-height: 2.75rem; border-radius: 2rem; border: 1px solid #e4cfc2; background: #fffaf5; color: #a93619; cursor: pointer; }
[data-redesign] .portfolio-lightbox { width: min(94vw, 75rem); max-height: 94vh; padding: 1rem; border: 1px solid #e4cfc2; border-radius: 1.25rem; background: #fffaf5; color: #201c19; }
[data-redesign] .portfolio-lightbox:not([open]) { display: none; }
[data-redesign] .portfolio-lightbox::backdrop { background: #201c19c9; }
[data-redesign] .portfolio-lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
[data-redesign] .portfolio-lightbox-header h2 { font-size: 1rem; }
[data-redesign] .portfolio-lightbox-image { width: 100%; max-height: 70vh; object-fit: contain; }
[data-redesign] .portfolio-lightbox-close { padding: .6rem 1rem; border-radius: 2rem; background: #ffeadc; border: 1px solid #e4cfc2; cursor: pointer; }
[data-redesign] .footer-version { text-align: center; font-size: .8rem; padding: 1rem; }
