/* ==========================================================================
   ValQ Studio — main stylesheet
   1. Tokens  2. Base  3. Layout  4. Type  5. Buttons  6. Header/Nav
   7. Hero  8. Sections & cards  9. Mockups  10. Pricing & comparison
   11. Forms  12. Footer  13. Motion  14. Utilities  15. Responsive
   ========================================================================== */

/* 0. Self-hosted fonts (SIL Open Font License — see assets/fonts/) ---------- */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --charcoal: #171714;
    --ink-2: #24231F;
    --ink-3: #2F2D28;
    --ivory: #F4EFE6;
    --ivory-deep: #ECE5D8;
    --paper: #FBF8F2;
    --stone: #DAD5CB;
    --stone-soft: #E6E0D5;
    --copper: #C47B53;
    --copper-light: #D69472;
    --copper-text: #9A5532;      /* copper for text on light backgrounds (AA) */
    --copper-tint: rgba(196, 123, 83, .12);
    --olive: #5E7A4E;

    --text: #171714;
    --text-muted: #5E5A52;
    --text-on-dark: #F4EFE6;
    --text-on-dark-muted: #ADA79B;

    --line: rgba(23, 23, 20, .12);
    --line-strong: rgba(23, 23, 20, .22);
    --line-on-dark: rgba(244, 239, 230, .12);

    --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;

    --shadow-sm: 0 1px 2px rgba(23, 23, 20, .06), 0 2px 8px rgba(23, 23, 20, .04);
    --shadow: 0 2px 4px rgba(23, 23, 20, .05), 0 12px 32px -8px rgba(23, 23, 20, .14);
    --shadow-lg: 0 4px 8px rgba(23, 23, 20, .06), 0 30px 60px -20px rgba(23, 23, 20, .32);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(72px, 9vw, 128px);
    --header-h: 72px;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur: .25s;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }
::selection { background: var(--copper); color: var(--charcoal); }

:focus-visible { outline: 2px solid var(--copper-text); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible,
.site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--copper-light); }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(760px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section-tight-top { padding-top: clamp(24px, 4vw, 48px); }
.section-dark { background: var(--charcoal); color: var(--text-on-dark); }
.section-stone { background: var(--stone-soft); }
.section-ivory-deep { background: var(--ivory-deep); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 1rem; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .lead { margin-inline: auto; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head-row > div { max-width: 680px; }
.section-note { max-width: 420px; color: var(--text-muted); font-size: .97rem; margin: 0; }
.section-note-on-dark { color: var(--text-on-dark-muted); }
.section-foot { margin-top: 40px; }

/* 4. Type ------------------------------------------------------------------ */
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.15; }
.display-hero, .display-1, .display-2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.022em;
    font-optical-sizing: auto;
    text-wrap: balance;
}
.display-hero { font-size: clamp(2.7rem, 5.6vw + .4rem, 5.4rem); line-height: 1.02; }
.display-hero em { font-style: italic; font-weight: 400; color: var(--copper-light); }
.display-1 { font-size: clamp(2.35rem, 4.2vw + .3rem, 4.1rem); line-height: 1.05; }
.display-2 { font-size: clamp(1.9rem, 2.8vw + .4rem, 3rem); line-height: 1.1; }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.4vw + .8rem, 1.8rem); letter-spacing: -.012em; line-height: 1.2; }
.h4 { font-size: 1.2rem; letter-spacing: -.01em; }
.h5 { font-size: 1.02rem; letter-spacing: -.005em; }

.lead { font-size: clamp(1.08rem, .35vw + 1rem, 1.25rem); line-height: 1.6; color: var(--text-muted); max-width: 640px; }
.lead-on-dark { color: var(--text-on-dark-muted); }
.lead a { color: var(--text); }

.eyebrow {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-size: .76rem; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--copper-text);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow-on-dark { color: var(--copper-light); }
h2.eyebrow { font-weight: 500; line-height: 1.4; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--line-strong); transition: gap var(--dur) var(--ease), border-color var(--dur); }
.link-arrow:hover { gap: 12px; border-color: currentColor; }
.link-arrow-on-dark { color: var(--ivory); border-color: var(--line-on-dark); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1.05em; height: 1.05em; }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
    --btn-bg: var(--charcoal); --btn-fg: var(--ivory); --btn-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 11px 20px;
    border: 1px solid var(--btn-bd); border-radius: var(--radius-sm);
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur), border-color var(--dur), color var(--dur);
}
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-dark { --btn-bg: var(--charcoal); --btn-fg: var(--ivory); }
.btn-copper { --btn-bg: var(--copper); --btn-fg: var(--charcoal); }
.btn-ivory { --btn-bg: var(--ivory); --btn-fg: var(--charcoal); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--line-strong); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(244, 239, 230, .28); }
.btn .icon { transition: transform var(--dur) var(--ease); }

@media (hover: hover) {
    .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }
    .btn:hover .icon { transform: translateX(3px); }
    .btn-copper:hover { --btn-bg: var(--copper-light); }
    .btn-dark:hover { --btn-bg: var(--ink-3); }
    .btn-outline:hover { --btn-bd: var(--charcoal); }
    .btn-ghost-light:hover { --btn-bd: rgba(244, 239, 230, .6); --btn-bg: rgba(244, 239, 230, .06); }
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.badge-copper { background: var(--copper); color: var(--charcoal); }
.badge-sm { font-size: .68rem; padding: 2px 8px; }

/* 6. Header / navigation --------------------------------------------------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--copper); color: var(--charcoal); font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.review-banner { background: var(--copper); color: var(--charcoal); font-size: .85rem; font-weight: 600; text-align: center; padding: 8px 16px; }
.review-flag { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px dashed var(--copper); border-radius: 4px; font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--copper-text); background: rgba(255, 255, 255, .6); vertical-align: middle; white-space: nowrap; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(23, 23, 20, .94);
    color: var(--ivory);
    border-bottom: 1px solid var(--line-on-dark);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-on-dark); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
.brand-sub { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; list-style: none; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text-on-dark-muted); text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; transition: color var(--dur); }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav-link:hover, .nav-link.is-active { color: var(--ivory); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 9px 16px; font-size: .92rem; }

.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--line-on-dark); border-radius: var(--radius-sm); color: var(--ivory); cursor: pointer; font-weight: 500; font-size: .92rem; }
.nav-toggle-icon { display: grid; gap: 5px; width: 18px; }
.nav-toggle-icon span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
    position: relative; overflow: hidden;
    background: var(--charcoal); color: var(--text-on-dark);
    padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px);
    isolation: isolate;
}
.hero::before { /* faint editorial grid */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(244, 239, 230, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 239, 230, .045) 1px, transparent 1px);
    background-size: 96px 96px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-ambient { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-ambient::before, .hero-ambient::after, .amb {
    content: ""; position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform;
}
.hero-ambient::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8%; top: max(-14vw, -200px); background: radial-gradient(circle, rgba(196, 123, 83, .30), transparent 65%); animation: drift-a 22s ease-in-out infinite alternate; }
.hero-ambient::after { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: -12%; top: min(42vw, 560px); background: radial-gradient(circle, rgba(244, 239, 230, .08), transparent 65%); animation: drift-b 26s ease-in-out infinite alternate; }
.amb { display: none; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-actions-center { justify-content: center; }
.hero-price-line { margin-top: 22px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; color: var(--text-on-dark-muted); }
.hero-visual { position: relative; }
.mockup-caption { margin: 14px 0 0; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-dark-muted); text-align: right; }

.product-name-kicker { display: block; font-family: var(--font-sans); font-weight: 600; font-size: clamp(1rem, .5vw + .9rem, 1.2rem); letter-spacing: 0; color: var(--copper-light); margin-bottom: 14px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 26px; font-size: .88rem; color: var(--text-on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--ivory); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Light page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.page-hero .lead { margin-top: 22px; }
.page-hero .display-1 { max-width: 900px; }
.page-hero-compact { padding-bottom: 8px; }
.page-hero-center { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.page-hero-center .eyebrow { justify-content: center; }
.page-hero-center .lead { margin-inline: auto; }

/* 8. Sections & cards ------------------------------------------------------ */
.check-list, .dash-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-check { width: 1.15em; height: 1.15em; margin-top: .2em; color: var(--copper-text); }
.check-list-sm { gap: 8px; font-size: .95rem; }
.check-list-on-dark .icon-check { color: var(--copper-light); }
.check-list-on-dark { color: var(--text-on-dark); }
.dash-list li { position: relative; padding-left: 26px; color: var(--text-muted); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: var(--text-muted); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.product-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--stone-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card-body { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); flex: 1; }
.product-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: .84rem; }
.product-card-category { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.product-card-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 1.2vw + 1rem, 2rem); letter-spacing: -.015em; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.product-card:has(.card-link:focus-visible) { outline: 2px solid var(--copper-text); outline-offset: 3px; }
.product-card-summary { color: var(--text-muted); margin: 0; }
.card-cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--copper-text); }
.card-cta .icon { transition: transform var(--dur) var(--ease); }
@media (hover: hover) {
    .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
    .product-card:hover .card-cta .icon { transform: translateX(4px); }
    .product-card:hover .mk-card-win { transform: translateY(-6px); }
    .product-card:hover .mk-card-phone { transform: translateY(-10px); }
}

.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .76rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .5); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }
.status-live .status-dot { background: var(--olive); }
.status-development .status-dot { background: var(--stone); box-shadow: inset 0 0 0 1px var(--text-muted); }
.status-neutral { font-weight: 500; color: var(--text-muted); }
.status-on-dark { color: var(--ivory); border-color: var(--line-on-dark); background: rgba(244, 239, 230, .06); font-family: var(--font-sans); letter-spacing: 0; text-transform: none; }

.more-projects { margin-top: 40px; padding: 28px clamp(22px, 3vw, 36px); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); display: grid; gap: 8px; }
.more-projects p { color: var(--text-muted); max-width: 720px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-on-dark); border: 1px solid var(--line-on-dark); border-radius: var(--radius-lg); overflow: hidden; }
.service-card { background: var(--charcoal); padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; transition: background-color .35s var(--ease); }
.service-card p { color: var(--text-on-dark-muted); margin: 0; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.service-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line-on-dark); color: var(--copper-light); transition: border-color .35s, transform .35s var(--ease); }
.service-num { font-family: var(--font-mono); font-size: .74rem; color: var(--text-on-dark-muted); letter-spacing: .08em; }
.service-title { font-family: var(--font-display); font-weight: 500; font-size: 1.38rem; letter-spacing: -.01em; }
@media (hover: hover) {
    .section-dark .service-card:hover { background: var(--ink-2); }
    .service-card:hover .service-icon { border-color: var(--copper); transform: translateY(-2px); }
}
/* Services on light pages */
.page-services .service-grid { background: var(--line); border-color: var(--line); }
.page-services .service-card { background: var(--paper); }
.page-services .service-card p { color: var(--text-muted); }
.page-services .service-icon { border-color: var(--line); color: var(--copper-text); }
.page-services .service-num { color: var(--text-muted); }
@media (hover: hover) { .page-services .service-card:hover { background: #fff; } }
.service-grid-detailed .check-list { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Technology marquee */
.section-tech { padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.tech-head { margin-bottom: 26px; }
.tech-head .eyebrow { margin: 0; color: var(--text-muted); }
.marquee { position: relative; display: flex; align-items: center; gap: 12px; padding-inline: var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; }
.marquee-track {
    flex: 1; display: flex; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-list { display: flex; flex: none; gap: clamp(32px, 5vw, 64px); padding-right: clamp(32px, 5vw, 64px); list-style: none; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-list, .marquee:focus-within .marquee-list, .marquee.is-paused .marquee-list, .marquee.is-offscreen .marquee-list { animation-play-state: paused; }
.tech-mark { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.08rem; color: var(--text); white-space: nowrap; }
.tech-glyph { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: .76rem; font-weight: 600; color: var(--copper-text); background: var(--paper); }
.marquee-toggle { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; color: var(--text); }
.marquee-toggle .icon-play { display: none; }
.marquee.is-paused .marquee-toggle .icon-play { display: block; }
.marquee.is-paused .marquee-toggle .icon-pause { display: none; }
.no-js .marquee-toggle { display: none; }

/* Process */
.process-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.process { list-style: none; position: relative; }
.process::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.process-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-block: 18px; }
.process-num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--stone-soft); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: .8rem; font-weight: 600; transition: background-color .4s, color .4s, border-color .4s; }
.process-step.is-visible .process-num { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.process-step:last-child .process-num { background: var(--copper); border-color: var(--copper); color: var(--charcoal); }
.process-title { font-size: 1.15rem; margin: 10px 0 6px; }
.process-body p { color: var(--text-muted); }

/* About / founders */
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-layout .section-head { margin-bottom: 0; }
.about-layout .link-arrow { margin-top: 26px; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.founder-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) { .founder-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.founder-avatar { position: relative; aspect-ratio: 1 / 1; }
.founder-avatar svg { width: 100%; height: 100%; }
.founder-photo { background: var(--stone-soft); overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.92); transition: transform .6s var(--ease); }
@media (hover: hover) { .founder-card:hover .founder-photo img { transform: scale(1.03); } }
.fa-bg { fill: var(--charcoal); }
.fa-ring { fill: none; stroke: rgba(244, 239, 230, .14); stroke-width: 1; }
.fa-band { fill: var(--copper); opacity: .9; }
.founder-avatar-b .fa-bg { fill: var(--ink-2); }
.founder-initials { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; color: var(--ivory); letter-spacing: .02em; }
.founder-body { padding: 20px 22px 24px; }
.founder-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, .6vw + .95rem, 1.32rem); letter-spacing: -.01em; line-height: 1.25; }
.founder-role { margin: 6px 0 0; color: var(--text-muted); font-size: .92rem; }
.page-about .founders { max-width: 880px; }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value-card { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--text-muted); }

/* Split problem/solution */
.split-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.split-card { padding: clamp(26px, 3vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.split-card-muted { background: var(--stone-soft); }
.split-card-accent { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.split-card-accent .icon-check { color: var(--copper-light); }
.split-label { margin: 0; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-text); }
.split-card-accent .split-label { color: var(--copper-light); }

/* Features & workflow */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.feature-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.feature-card p { color: var(--text-muted); }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--copper-tint); color: var(--copper-text); margin-bottom: 6px; }
@media (hover: hover) { .feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); } }
.notice-card { padding: clamp(26px, 3vw, 40px); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); display: grid; gap: 14px; justify-items: start; max-width: 760px; }
.notice-card p { color: var(--text-muted); }

.workflow { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.workflow-title { margin-bottom: 30px; }
.workflow-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0; counter-reset: wf; }
.workflow-step { position: relative; padding: 0 24px 0 0; display: grid; gap: 8px; align-content: start; }
.workflow-step::before { content: ""; position: absolute; top: 20px; left: 48px; right: 12px; height: 1px; background: var(--line-strong); }
.workflow-step:last-child::before { display: none; }
.workflow-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--charcoal); font-family: var(--font-mono); font-size: .76rem; font-weight: 600; margin-bottom: 10px; background: var(--ivory); }
.workflow-step p { color: var(--text-muted); font-size: .96rem; }

/* Showcase */
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.showcase-item { margin: 0; display: grid; gap: 14px; align-content: start; }
.showcase-wide { grid-column: span 2; }
.showcase-full { grid-column: 1 / -1; }
.showcase-frame { container-type: inline-size; padding: clamp(18px, 3vw, 36px); background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; min-height: 100%; }
.showcase-item figcaption { font-size: .95rem; color: var(--text-muted); }
.showcase-k { display: block; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.showcase-frame-phone { padding-block: clamp(18px, 2.4vw, 28px); }
.showcase-frame-phone .mk-phone { width: min(62%, 230px); }
.showcase-banquet .showcase-frame { padding: clamp(18px, 4vw, 56px); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.faq-icon { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
@media (hover: hover) { .faq-item summary:hover .faq-icon { border-color: var(--charcoal); } }
.faq-a { padding: 0 52px 24px 0; color: var(--text-muted); }
.faq-item[open] .faq-a { animation: faq-in .35s var(--ease); }

/* CTA band */
.cta-band { background: var(--charcoal); color: var(--ivory); padding-block: clamp(64px, 8vw, 112px); position: relative; overflow: hidden; border-top: 1px solid var(--line-on-dark); }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -60%; width: 50vw; height: 50vw; max-width: 620px; max-height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 123, 83, .22), transparent 65%); filter: blur(40px); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.cta-copy { max-width: 680px; }
.cta-copy .lead { margin-top: 18px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quote panel */
.quote-panel { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.quote-panel > div { max-width: 640px; }
.quote-panel .lead { margin-top: 16px; }

/* Prose (legal) */
.prose { font-size: 1.04rem; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: 2.2em 0 .6em; letter-spacing: -.01em; }
.prose ul { padding-left: 1.2em; display: grid; gap: .7em; margin-bottom: 1em; }
.prose p, .prose li { color: #3D3A34; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--stone-soft); padding: 1px 6px; border-radius: 4px; }

/* 9. Mockups (illustrative HTML/CSS interfaces, sized in em) ---------------- */
.mk-stage { position: relative; aspect-ratio: 1 / .9; width: 100%; }
.mk-layer { position: absolute; container-type: inline-size; transition: transform .6s var(--ease); will-change: transform; }
.mk-layer-back { top: 0; left: 0; width: 88%; }
.mk-layer-mid { left: 4%; bottom: 3%; width: 60%; }
.mk-layer-front { right: 0; bottom: 0; width: 29%; }
.mk-layer-front > .mk-phone { animation: float 7s ease-in-out infinite; }
.mk-layer-note { width: 46%; bottom: 0; right: 0; }

.mk-window, .mk-phone { font-size: 10px; }
@supports (container-type: inline-size) {
    .mk-layer > .mk-window, .showcase-frame > .mk-window, .mk-card-win > .mk-window { font-size: calc(100cqw / 44); }
    .mk-layer > .mk-kitchen, .mk-card-win > .mk-kitchen { font-size: calc(100cqw / 34); }
    .showcase-frame > .mk-kitchen { font-size: calc(100cqw / 44); }
    .mk-layer > .mk-phone, .mk-card-phone > .mk-phone { font-size: calc(100cqw / 17); }
    .showcase-frame-phone > .mk-phone { font-size: min(calc(100cqw * .62 / 17), 13.5px); }
    .mk-layer-note > .mk-note { font-size: calc(100cqw / 20); }
}

.mk-window {
    width: 100%;
    background: var(--paper); color: var(--charcoal);
    border-radius: 1em; overflow: hidden;
    border: 1px solid rgba(23, 23, 20, .14);
    box-shadow: 0 1em 3em -1em rgba(0, 0, 0, .45), 0 .2em .6em rgba(0, 0, 0, .12);
    font-family: var(--font-sans); line-height: 1.3; text-align: left;
}
.mk-chrome { display: flex; align-items: center; gap: 1.2em; padding: .8em 1.1em; background: var(--ivory-deep); border-bottom: 1px solid rgba(23, 23, 20, .08); }
.mk-dots { display: flex; gap: .45em; }
.mk-dots i { width: .7em; height: .7em; border-radius: 50%; background: var(--stone); }
.mk-dots i:first-child { background: var(--copper); }
.mk-url { font-size: 1em; font-weight: 600; color: var(--text-muted); }
.mk-app { display: grid; grid-template-columns: 9.5em 1fr; min-height: 22em; }
.mk-app-banquet { grid-template-columns: 1fr; }
.mk-side { background: var(--charcoal); color: var(--text-on-dark-muted); padding: 1.2em .8em; display: grid; gap: .3em; align-content: start; }
.mk-side-logo { width: 2em; height: 2em; border-radius: .5em; background: var(--copper); margin: 0 0 1.2em .4em; }
.mk-side-item { display: flex; align-items: center; gap: .6em; padding: .55em .6em; border-radius: .5em; font-size: 1.05em; }
.mk-side-item.is-active { background: rgba(244, 239, 230, .1); color: var(--ivory); }
.mk-ico { width: 1.3em; height: 1.3em; stroke-width: 1.8; }
.mk-main { padding: 1.4em 1.6em; display: grid; gap: 1.2em; align-content: start; }
.mk-topline { display: flex; justify-content: space-between; align-items: center; }
.mk-topline-gap { margin-top: .3em; }
.mk-h { font-size: 1.45em; font-weight: 600; font-family: var(--font-display); letter-spacing: -.01em; }
.mk-chip { font-size: .9em; font-weight: 600; padding: .25em .7em; border-radius: 1em; background: var(--stone-soft); }
.mk-chip-copper { background: var(--copper-tint); color: var(--copper-text); }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.mk-stat { padding: .9em; border: 1px solid rgba(23, 23, 20, .1); border-radius: .7em; display: grid; gap: .3em; background: #fff; }
.mk-stat-k { font-size: .95em; color: var(--text-muted); }
.mk-stat-v { font-size: 2em; font-weight: 600; font-family: var(--font-display); line-height: 1; }
.mk-bar { height: .35em; border-radius: 1em; background: var(--stone-soft); overflow: hidden; margin-top: .3em; }
.mk-bar i { display: block; height: 100%; background: var(--charcoal); border-radius: inherit; }
.mk-bar .w-70 { width: 70%; } .mk-bar .w-50 { width: 50%; background: var(--copper); } .mk-bar .w-35 { width: 35%; }
.mk-table { display: grid; border: 1px solid rgba(23, 23, 20, .1); border-radius: .7em; overflow: hidden; background: #fff; }
.mk-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; gap: .5em; padding: .65em 1em; font-size: 1.02em; border-top: 1px solid rgba(23, 23, 20, .07); }
.mk-row-head { border-top: 0; background: var(--paper); font-size: .88em; color: var(--text-muted); font-weight: 600; }
.mk-tag { justify-self: start; font-size: .9em; padding: .15em .6em; border-radius: .4em; background: var(--stone-soft); }
.mk-state { justify-self: start; font-size: .9em; font-weight: 600; padding: .15em .6em; border-radius: 1em; white-space: nowrap; }
.mk-state.is-prep { background: var(--copper-tint); color: var(--copper-text); }
.mk-state.is-ready { background: rgba(94, 122, 78, .14); color: #3F5733; }
.mk-state.is-out { background: var(--charcoal); color: var(--ivory); }
.mk-state.is-new { background: var(--stone-soft); color: var(--charcoal); }

.mk-kboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; padding: 1.1em; background: var(--ivory); min-height: 16em; }
.mk-kcol { display: grid; gap: .6em; align-content: start; }
.mk-kcol-h { display: flex; justify-content: space-between; font-size: .95em; font-weight: 600; padding-bottom: .5em; border-bottom: 2px solid var(--charcoal); }
.mk-kcol:nth-child(2) .mk-kcol-h { border-color: var(--copper); }
.mk-kcol:nth-child(3) .mk-kcol-h { border-color: var(--stone); }
.mk-kcol-h b { font-weight: 600; color: var(--text-muted); }
.mk-ticket { display: grid; gap: .25em; padding: .7em; border-radius: .6em; background: #fff; border: 1px solid rgba(23, 23, 20, .1); font-size: .95em; color: #3D3A34; box-shadow: 0 .15em .4em rgba(23, 23, 20, .05); }
.mk-ticket-h { font-weight: 600; color: var(--charcoal); }
.mk-ticket.is-ready { border-color: rgba(94, 122, 78, .5); box-shadow: inset .25em 0 0 var(--olive); }

.mk-phone { position: relative; width: 100%; aspect-ratio: 9 / 18.5; padding: .55em; border-radius: 2.4em; background: var(--charcoal); box-shadow: 0 1.5em 3em -1em rgba(0, 0, 0, .55), inset 0 0 0 .12em #3A3833; font-family: var(--font-sans); line-height: 1.3; text-align: left; }
.mk-phone-notch { position: absolute; top: 1em; left: 50%; transform: translateX(-50%); width: 4.4em; height: 1.1em; border-radius: 1em; background: var(--charcoal); z-index: 2; }
.mk-phone-screen { position: relative; height: 100%; border-radius: 1.9em; overflow: hidden; background: var(--paper); color: var(--charcoal); display: flex; flex-direction: column; gap: .7em; padding: 2.8em 1em 1em; }
.mk-p-head { display: grid; gap: .1em; }
.mk-p-sub { font-size: .78em; font-weight: 600; letter-spacing: .04em; color: var(--copper-text); text-transform: uppercase; }
.mk-p-title { font-family: var(--font-display); font-weight: 600; font-size: 1.6em; }
.mk-p-tabs { display: flex; gap: .4em; font-size: .78em; }
.mk-p-tabs span { padding: .3em .7em; border-radius: 1em; background: var(--stone-soft); }
.mk-p-tabs .is-active { background: var(--charcoal); color: var(--ivory); }
.mk-p-item { display: grid; grid-template-columns: 2.6em 1fr auto; gap: .6em; align-items: center; padding: .5em; background: #fff; border-radius: .7em; border: 1px solid rgba(23, 23, 20, .08); }
.mk-p-thumb { width: 2.6em; height: 2.6em; border-radius: .55em; }
.mk-p-thumb.t1 { background: linear-gradient(135deg, #C47B53, #8E4B2C); }
.mk-p-thumb.t2 { background: linear-gradient(135deg, #7C8F5C, #4F6038); }
.mk-p-thumb.t3 { background: linear-gradient(135deg, #CDB89A, #9C8466); }
.mk-p-name { display: grid; font-size: .82em; font-weight: 600; line-height: 1.25; }
.mk-p-name small { font-weight: 500; color: var(--text-muted); font-size: .92em; }
.mk-p-add { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 600; font-size: .85em; }
.mk-p-add.is-on { background: var(--copper); border-color: var(--copper); color: var(--charcoal); }
.mk-p-cta { margin-top: auto; display: grid; place-items: center; padding: .8em; border-radius: .8em; background: var(--charcoal); color: var(--ivory); font-size: .82em; font-weight: 600; }

.mk-delivery { padding: 0; gap: 0; }
.mk-map { flex: 1; min-height: 0; }
.mk-map svg { width: 100%; height: 100%; }
.mk-map-bg { fill: #E9E3D7; }
.mk-map-road { stroke: #fff; stroke-width: 7; fill: none; }
.mk-map-route { stroke: var(--copper); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 8 6; }
.mk-map-me { fill: var(--charcoal); stroke: #fff; stroke-width: 3; }
.mk-map-dest { fill: var(--copper); stroke: #fff; stroke-width: 3; }
.mk-dcard { display: grid; gap: .4em; padding: 1em; background: var(--paper); border-top: 1px solid var(--line); }
.mk-dcard-t { font-family: var(--font-display); font-weight: 600; font-size: 1.2em; }
.mk-dcard .mk-p-cta { margin-top: .3em; background: var(--copper); color: var(--charcoal); }

.mk-halls { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.mk-hall { display: grid; align-content: start; gap: .25em; padding: .6em; border-radius: .7em; background: #fff; border: 1px solid rgba(23, 23, 20, .1); }
.mk-hall-img { height: 5em; border-radius: .45em; margin-bottom: .3em; }
.mk-hall-img.hall-1 { background: linear-gradient(160deg, #3A3530, #171714 60%, #C47B53); }
.mk-hall-img.hall-2 { background: linear-gradient(160deg, #8B9A6B, #4F6038); }
.mk-hall-img.hall-3 { background: linear-gradient(160deg, #D9C8AE, #A98D6A); }
.mk-hall-name { font-weight: 600; font-size: 1.05em; }
.mk-hall-sub { font-size: .88em; color: var(--text-muted); }

/* Generic product mockup + uploaded screenshots */
.mk-stage-generic { aspect-ratio: 1 / .68; }
.mk-layer-generic { width: 100%; top: 0; }
.product-shot { margin: 0; display: grid; gap: 12px; }
.product-shot img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); }
.product-shot-hero img { border-color: var(--line-on-dark); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.product-shot figcaption { font-size: .95rem; color: var(--text-muted); }
.shot-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; align-items: start; }
.product-card-media.has-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Banquet calendar phone */
.mk-cal { gap: .55em; }
.mk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .22em; text-align: center; }
.mk-cal-w { font-size: .62em; font-weight: 600; color: var(--text-muted); padding-bottom: .2em; }
.mk-cal-d { display: grid; place-items: center; aspect-ratio: 1; border-radius: .45em; font-size: .7em; font-weight: 500; background: #fff; border: 1px solid rgba(23, 23, 20, .06); }
.mk-cal-d.is-booked { background: var(--copper-tint); color: var(--copper-text); border-color: rgba(196, 123, 83, .35); font-weight: 600; }
.mk-cal-d.is-booked2 { background: var(--stone-soft); }
.mk-cal-d.is-sel { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); font-weight: 600; }
.mk-cal-legend { display: flex; gap: .9em; font-size: .62em; color: var(--text-muted); }
.mk-cal-legend span { display: inline-flex; align-items: center; gap: .35em; }
.mk-cal-legend i { width: .8em; height: .8em; border-radius: .25em; }
.mk-cal-legend .b1 { background: var(--copper-tint); border: 1px solid rgba(196, 123, 83, .5); }
.mk-cal-legend .b3 { background: var(--charcoal); }
.mk-layer-note-left { left: 0; right: auto; bottom: 6%; width: 52%; }

.mk-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8em; padding: .9em 1em; border-radius: .9em; background: var(--paper); color: var(--charcoal); box-shadow: 0 1em 2.5em -.8em rgba(0, 0, 0, .5); border: 1px solid rgba(23, 23, 20, .12); font-family: var(--font-sans); line-height: 1.3; }
.mk-note-ico { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: .6em; background: var(--copper-tint); color: var(--copper-text); }
.mk-note-t { display: grid; font-weight: 600; font-size: 1.05em; }
.mk-note-t small { font-weight: 500; color: var(--text-muted); font-size: .85em; }
.mk-layer-note .mk-note { animation: float 8s ease-in-out infinite; }

/* Card media compositions */
.mk-card-stage { position: absolute; inset: 0; }
.mk-card-win { position: absolute; left: 7%; top: 12%; width: 74%; container-type: inline-size; transition: transform .5s var(--ease); }
.mk-card-win-wide { width: 86%; left: 7%; top: 10%; }
.mk-card-phone { position: absolute; right: 6%; top: 24%; width: 24%; container-type: inline-size; transition: transform .5s var(--ease); }

/* 10. Pricing & comparison ------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.pricing-grid-2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.pricing-grid-1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.compare-cols-2 { min-width: 520px; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.6vw, 36px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.price-card.is-recommended { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); box-shadow: var(--shadow-lg); }
.price-card.is-recommended::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--copper); pointer-events: none; }
@media (hover: hover) { .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }
.price-card.is-selected { outline: 2px solid var(--copper); outline-offset: 4px; }
.price-card-head { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.plan-number { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.is-recommended .plan-number { color: var(--text-on-dark-muted); }
.price-card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; letter-spacing: -.015em; line-height: 1.1; }
.price-card-product { display: block; font-family: var(--font-sans); font-size: .82rem; font-weight: 600; letter-spacing: 0; color: var(--text-muted); margin-bottom: 4px; }
.is-recommended .price-card-product { color: var(--text-on-dark-muted); }
.price-card-target { margin: 0; color: var(--text-muted); min-height: 3.2em; }
.is-recommended .price-card-target { color: var(--text-on-dark-muted); }
.price { margin: 10px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.is-recommended .price { border-color: var(--line-on-dark); }
.price-amount { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 3vw + 1rem, 3.4rem); letter-spacing: -.03em; line-height: 1; }
.rupee { font-family: var(--font-sans); font-weight: 500; font-size: .62em; vertical-align: .32em; margin-right: .08em; }
.price-model { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-text); font-weight: 600; }
.is-recommended .price-model { color: var(--copper-light); }
.price-card-note { font-size: .9rem; color: var(--text-muted); margin: 0 0 10px; }
.is-recommended .price-card-note { color: var(--text-on-dark-muted); }
.price-card .btn { margin-top: auto; }
.price-card-foot { margin: 0; font-size: .84rem; color: var(--text-muted); }
.is-recommended .price-card-foot { color: var(--text-on-dark-muted); }
.price-card-foot a { color: inherit; }
.pricing-footnote { margin: 28px auto 0; max-width: 720px; text-align: center; font-size: .9rem; color: var(--text-muted); }

.compare-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin: 0 0 20px; border-radius: var(--radius); background: var(--copper-tint); color: #5A3520; font-size: .95rem; }
.compare-notice .icon { margin-top: 2px; color: var(--copper-text); }
.compare-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin-bottom: 18px; font-size: .9rem; color: var(--text-muted); }
.compare-legend li { display: inline-flex; align-items: center; gap: 8px; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table th[scope="row"] { text-align: left; font-weight: 500; position: sticky; left: 0; z-index: 1; background: var(--paper); min-width: 190px; box-shadow: 1px 0 0 var(--line); }
.compare-table thead th { background: var(--ivory-deep); vertical-align: bottom; padding-block: 20px; }
.compare-feature-head { text-align: left !important; position: sticky; left: 0; z-index: 2; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; box-shadow: 1px 0 0 var(--line); }
.compare-plan-name { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.compare-plan-price { display: block; font-size: .86rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.compare-plan-price small { font-size: .78rem; }
.compare-table thead .badge { margin-top: 8px; }
.compare-table .is-recommended { background: rgba(196, 123, 83, .07); }
.compare-table thead .is-recommended { background: rgba(196, 123, 83, .16); }
.cell-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }
.cell-mark.is-included { background: var(--charcoal); color: var(--ivory); }
.cell-mark.is-not_included { color: var(--text-muted); border: 1px solid var(--line-strong); }
.cell-mark.is-addon { color: var(--copper-text); border: 1px solid var(--copper); }
.cell-mark.is-tbc { color: var(--text-muted); border: 1px dashed var(--line-strong); }
.cell-note { display: block; margin-top: 6px; font-size: .78rem; color: var(--text-muted); }

/* 11. Forms ---------------------------------------------------------------- */
.enquiry-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.enquiry-intro .lead { margin-top: 20px; }
.enquiry-intro .check-list { margin-top: 32px; }
.section-dark#enquiry:focus, .section-contact:focus { outline: none; }
.section-contact { padding-top: clamp(48px, 7vw, 96px); }
.form-card { background: var(--paper); color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px); }
.form-card-raised { border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 22px; letter-spacing: -.01em; }

.contact-steps { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-steps ol { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.contact-steps li { display: flex; gap: 14px; align-items: baseline; color: var(--text-muted); }
.contact-steps li span { font-family: var(--font-mono); font-size: .76rem; color: var(--copper-text); font-weight: 600; }
.contact-direct { list-style: none; display: grid; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct li { display: flex; align-items: center; gap: 12px; }
.contact-direct .icon { color: var(--copper-text); }

.enquiry-form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.form-label { font-size: .92rem; font-weight: 600; }
legend.form-label { padding: 0; margin-bottom: 10px; }
.req { color: var(--copper-text); }
.optional { font-weight: 400; color: var(--text-muted); font-size: .86rem; }
.enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form input[type="tel"], .enquiry-form select, .enquiry-form textarea {
    width: 100%; min-height: 48px; padding: 12px 14px;
    font: inherit; font-size: 1rem; color: var(--text);
    background: #FFFDF9; border: 1px solid #C9C1B3; border-radius: var(--radius-sm);
    transition: border-color var(--dur), box-shadow var(--dur);
    appearance: none; -webkit-appearance: none;
}
.enquiry-form textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.enquiry-form input:hover, .enquiry-form select:hover, .enquiry-form textarea:hover { border-color: #9E9586; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--copper-text); box-shadow: 0 0 0 3px rgba(196, 123, 83, .25); }
.enquiry-form [aria-invalid="true"] { border-color: #A3361F !important; }
.enquiry-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 54, 31, .2); }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 42px; cursor: pointer; }
.select-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-muted); }
.field-hint { margin: 0; font-size: .84rem; color: var(--text-muted); }
.field-error { margin: 0; font-size: .86rem; font-weight: 500; color: #A3361F; min-height: 0; }
.field-error:empty { display: none; }

.form-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid #C9C1B3; border-radius: 999px; font-size: .94rem; font-weight: 500; background: #FFFDF9; transition: background-color var(--dur), color var(--dur), border-color var(--dur); }
.choice input:checked + span { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.choice input:focus-visible + span { outline: 2px solid var(--copper-text); outline-offset: 2px; }
@media (hover: hover) { .choice:hover span { border-color: var(--charcoal); } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--charcoal); cursor: pointer; }
.check a { color: var(--text); }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-footnote { margin: 0; font-size: .84rem; color: var(--text-muted); }

.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: .96rem; }
.form-status:focus { outline: none; }
.form-status.is-success { background: rgba(94, 122, 78, .14); color: #2F4426; border: 1px solid rgba(94, 122, 78, .4); }
.form-status.is-error { background: rgba(163, 54, 31, .08); color: #7E2914; border: 1px solid rgba(163, 54, 31, .35); }
.enquiry-form.is-sent .form-grid, .enquiry-form.is-sent .form-choice, .enquiry-form.is-sent .form-actions { display: none; }
.btn-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--text-on-dark-muted); padding-block: clamp(56px, 7vw, 88px) 32px; border-top: 1px solid var(--line-on-dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-on-dark); }
.brand-on-dark { color: var(--ivory); }
.footer-lede { margin: 20px 0 24px; max-width: 360px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-title { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); margin-bottom: 16px; }
.footer-cols ul { list-style: none; display: grid; gap: 4px; }
.footer-cols a { display: inline-block; padding-block: 6px; text-decoration: none; color: var(--text-on-dark-muted); transition: color var(--dur); overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--ivory); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .86rem; }

/* 13. Motion --------------------------------------------------------------- */
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-visual-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-6%, 8%, 0); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(8%, -6%, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-enter { animation: hero-in .7s var(--ease) both; }
.hero-enter:nth-child(2) { animation-delay: .07s; }
.hero-enter:nth-child(3) { animation-delay: .14s; }
.hero-enter:nth-child(4) { animation-delay: .21s; }
.hero-enter:nth-child(5) { animation-delay: .28s; }
.hero-enter:nth-child(6) { animation-delay: .35s; }
.hero-enter-visual { animation: hero-visual-in .9s var(--ease) .2s both; }

/* Scroll reveal: content is only hidden once JS has confirmed it can reveal it. */
.reveal-ready [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .hero-ambient::before, .hero-ambient::after { animation: none; }
    .reveal-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
    .mk-layer { transform: none !important; }
    .marquee-track { -webkit-mask-image: none; mask-image: none; }
    .marquee-list { animation: none; flex-wrap: wrap; justify-content: center; gap: 18px 36px; padding: 0; flex: 1; }
    .marquee-list[aria-hidden="true"] { display: none; }
    .marquee-toggle { display: none; }
}

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

/* 15. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
    .site-nav { gap: 16px; }
    .nav-link { padding: 0 9px; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    /* Mobile navigation (only collapses when JavaScript is available) */
    .js .nav-toggle { display: inline-flex; }
    .js .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 16px var(--gutter) 24px;
        background: var(--charcoal); border-bottom: 1px solid var(--line-on-dark);
        box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
    .js .nav-list { flex-direction: column; gap: 0; }
    .js .nav-link { min-height: 52px; padding: 0 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-on-dark); }
    .js .nav-link::after { display: none; }
    .js .nav-link.is-active { color: var(--copper-light); }
    .js .nav-cta { min-height: 50px; }
    .no-js .header-inner { flex-wrap: wrap; padding-block: 12px; }
    .no-js .site-nav { flex-wrap: wrap; }
    .no-js .nav-list { flex-wrap: wrap; }

    .hero-grid, .process-layout, .about-layout, .faq-layout, .enquiry-layout { grid-template-columns: minmax(0, 1fr); }
    .process-intro, .faq-layout .section-head { position: static; }
    .hero-visual { max-width: 640px; }
    .pricing-grid, .pricing-grid-2, .pricing-grid-1 { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
    .price-card.is-recommended { order: -1; }
    .value-grid { grid-template-columns: minmax(0, 1fr); }
    .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-wide { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    body { font-size: 1rem; }
    .product-grid, .split-cards, .service-grid, .founders { grid-template-columns: minmax(0, 1fr); }
    .founders { max-width: 440px; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .workflow-step { padding: 0 0 26px 56px; }
    .workflow-step .workflow-num { position: absolute; left: 0; top: 0; }
    .workflow-step::before { left: 20px; top: 44px; bottom: 4px; right: auto; width: 1px; height: auto; }
    .faq-a { padding-right: 0; }
    .mockup-caption { text-align: left; }
    .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 600px) {
    /* Comparison table: feature name on its own line, three plan columns below (roles keep table semantics) */
    .compare-table { min-width: 0; font-size: .92rem; }
    .compare-table, .compare-table thead, .compare-table tbody { display: block; }
    .compare-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .compare-cols-2 tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .compare-cols-1 tr { grid-template-columns: minmax(0, 1fr); }
    .compare-feature-head { display: none; }
    .compare-table thead th { padding: 16px 4px 14px; }
    .compare-table th[scope="row"] { grid-column: 1 / -1; position: static; min-width: 0; padding: 12px 14px 4px; border-bottom: 0; box-shadow: none; background: var(--paper); font-weight: 600; }
    .compare-table td { padding: 6px 4px 12px; }
    .compare-plan-name { font-size: 1.05rem; }
    .compare-plan-price small { display: none; }
    .price-card-target { min-height: 0; }
}

@media (max-width: 520px) {
    .showcase-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: minmax(0, 1fr); }
    .brand-sub { display: none; }
    .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .form-actions .btn { width: 100%; }
}
