/* Homepage sections below the fold. The hero's styles are inlined in index.html
   so the first paint never waits for a stylesheet. Shared pieces (header, footer,
   buttons, FAQ, industries chips) come from styles.css. */

.mono { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--plum-700); transform: translateY(-2px); }

/* ── marquee ─────────────────────────────────────────────────────────── */
.marquee { background: var(--gold); color: var(--plum-900); overflow: hidden; padding: 14px 0; border-block: 1px solid var(--plum-900); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.mq-track span { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); padding: 0 22px; white-space: nowrap; }
.mq-track span::after { content: "✳"; font-style: normal; margin-left: 44px; font-size: 0.7em; vertical-align: 0.2em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── section heads ───────────────────────────────────────────────────── */
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; max-width: 14ch; }
.sec-head p { max-width: 42ch; justify-self: end; }
.sec-dark { background: var(--plum-900); color: var(--on-dark); }
.sec-dark .sec-head h2 { color: var(--on-dark); }
.sec-dark .sec-head h2 em, .sec-dark .eyebrow { color: var(--gold); }
.sec-dark .sec-head p { color: var(--on-dark-muted); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* ── work on the bench ───────────────────────────────────────────────── */
.work { overflow: hidden; padding-bottom: clamp(60px, 8vw, 100px); }
.work-track { display: flex; gap: 28px; padding: 0 max(24px, calc((100vw - var(--container)) / 2 + 24px)); width: max-content; }
.work-card { width: min(78vw, 520px); flex: none; }
.wc-screen { border-radius: 20px; overflow: hidden; background: var(--w-bg, #2a1424); border: 1px solid var(--line); aspect-ratio: 16 / 11; display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(30, 13, 27, 0.45); }
.wc-chrome { display: flex; gap: 6px; align-items: center; padding: 12px 14px; background: rgba(0, 0, 0, 0.18); position: relative; z-index: 1; }
.wc-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.wc-chrome span { margin-left: 10px; font-family: var(--f-mono); font-size: 11px; color: rgba(255, 255, 255, 0.75); background: rgba(0, 0, 0, 0.2); padding: 3px 10px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wc-concept { margin-left: auto; flex: none; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--plum-900); background: var(--gold); padding: 4px 10px; border-radius: 999px; }
.wc-soon { background: var(--cream); }
.wc-face { flex: 1; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--w-ink, #fff);
  background-image: radial-gradient(circle at 85% 20%, var(--w-ac, #c5a059) 0 18%, transparent 18.5%), radial-gradient(circle at 70% 38%, color-mix(in srgb, var(--w-ac, #c5a059) 50%, transparent) 0 8%, transparent 8.5%); }
.wc-face.shot { padding: 0; background-image: none; position: relative; }
.wc-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wc-kind { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.wc-face strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.02em; margin-top: 6px; }
.wc-face em { font-style: italic; opacity: 0.85; margin-top: 6px; }
.wc-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline; padding: 20px 4px 0; }
.wc-meta > .mono { color: var(--plum-700); }
.wc-meta h3 { font-family: var(--f-body); font-size: 20px; font-weight: 600; letter-spacing: 0; }
.wc-meta p { grid-column: 2 / -1; font-size: 15px; }
.wc-kind-line { display: block; font-size: 11px; color: var(--plum-700); margin-bottom: 2px; }
.wc-meta a { font-weight: 600; border-bottom: 1.5px solid var(--gold); white-space: nowrap; }
.work-card.next .wc-screen { background: transparent; border: 2px dashed var(--plum-700); box-shadow: none; }
.work-card.next .wc-face { color: var(--plum-700); background-image: none; align-items: flex-start; }
.work-card.next .wc-chrome i { background: rgba(74, 37, 64, 0.3); }
.work-card.next .wc-chrome span { color: var(--plum-700); background: rgba(74, 37, 64, 0.08); }
/* Without the pinned scroll (reduced motion, no JS) the row scrolls sideways by hand. */
.work:not(.is-pinned) .work-pin { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.work:not(.is-pinned) .work-card { scroll-snap-align: center; }
@media (max-width: 899px) { .work-track { flex-direction: column; width: auto; padding: 0 24px; } .work-card { width: 100%; } }
@media (max-width: 560px) { .work-track { padding: 0 18px; } }

/* ── the toolkit: stacking cards ─────────────────────────────────────── */
.kit-list { display: grid; gap: 22px; }
.kit { position: sticky; top: calc(var(--header-h) + 16px + var(--i) * 14px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: #3e1f38; border: 1px solid var(--line-dark); border-radius: 28px; padding: clamp(22px, 4vw, 48px); min-height: 420px; box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.6); }
.kit:nth-child(even) { background: var(--plum-700); }
.kit > div > .mono { color: var(--gold); }
.kit h3 { color: var(--on-dark); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; margin: 12px 0 14px; }
.kit > div > p { color: var(--on-dark-muted); max-width: 40ch; }
.kit .tag { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--gold); border: 1px solid rgba(197, 160, 89, 0.4); padding: 5px 12px; border-radius: 999px; }
.kit .tag:hover { border-color: var(--gold); }
.demo { background: var(--cream); color: var(--ink); border-radius: 20px; padding: 20px; min-height: 300px; position: relative; overflow: hidden; }
.demo p { color: var(--muted); }
.demo .mono { color: var(--plum-700); }
@media (max-width: 820px) { .kit { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; } }

/* demo: whatsapp chat */
.chat { background: #efe7dd; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.chat-head { display: flex; align-items: center; gap: 10px; margin: -20px -20px 8px; padding: 12px 16px; background: #22433b; color: #fff; font-weight: 600; font-size: 14px; }
.chat-head i { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); }
.chat-head small { display: block; font-weight: 400; opacity: 0.75; font-size: 11px; }
.bub { max-width: 82%; padding: 8px 11px; border-radius: 12px; line-height: 1.35; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.bub.you { align-self: flex-end; background: #d7f6c8; border-top-right-radius: 4px; }
.bub.bot { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bub time { display: block; text-align: right; font-size: 10px; opacity: 0.5; margin-top: 2px; }
/* demo: qr catalogue */
.cat { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: start; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-item { border-radius: 12px; background: #eadfd2; aspect-ratio: 1; display: flex; align-items: flex-end; padding: 8px; font-size: 12px; font-weight: 600; background-image: radial-gradient(circle at 60% 40%, var(--plum-700) 0 22%, transparent 23%); }
.cat-item:nth-child(2) { background-image: linear-gradient(135deg, transparent 40%, var(--gold) 40% 60%, transparent 60%); }
.cat-item:nth-child(3) { background-image: radial-gradient(circle at 50% 45%, transparent 18%, var(--plum-700) 19% 26%, transparent 27%); }
.cat-item:nth-child(4) { background-image: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 14px); }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); aspect-ratio: 1; background: #fff; padding: 6px; border-radius: 10px; }
.qr i { background: var(--ink); }
.qr i.o { background: transparent; }
.cat small { display: block; text-align: center; font-family: var(--f-mono); font-size: 10px; margin-top: 6px; color: var(--muted); }
/* demo: reviews */
.stars { display: flex; gap: 6px; margin: 14px 0; }
.stars button { background: none; border: 0; font-size: 34px; line-height: 1; color: #d9cfc2; cursor: pointer; transition: transform 0.15s, color 0.15s; }
.stars button.on { color: var(--gold); }
.stars button:hover { transform: scale(1.15); }
.rv-out { font-size: 14px; min-height: 44px; }
.rv-out b { color: var(--ink); }
.rv-private { font-size: 13px; text-decoration: underline; color: var(--plum-700); background: none; border: 0; cursor: pointer; margin-top: 6px; }
/* demo: google */
.gsearch { border: 1px solid #dfe1e5; border-radius: 999px; padding: 10px 16px; font-size: 14px; display: flex; justify-content: space-between; color: #3c4043; background: #fff; }
.gres { margin-top: 16px; }
.gres cite { font-style: normal; font-size: 12px; color: #4d5156; }
.gres h4 { font-family: var(--f-body); color: #1a0dab; font-weight: 400; font-size: 19px; margin: 2px 0; letter-spacing: 0; }
.demo .gres p { font-size: 13px; color: #4d5156; }
.gbiz { margin-top: 14px; border: 1px solid #dfe1e5; border-radius: 12px; padding: 12px; font-size: 13px; background: #fff; }
.gbiz b { font-size: 15px; }
.gbiz .g-row { display: flex; gap: 8px; margin-top: 10px; }
.gbiz .g-row span { flex: 1; text-align: center; padding: 7px; border-radius: 999px; background: #e8f0fe; color: #1967d2; font-weight: 600; font-size: 12px; }
/* demo: bookings */
.days, .bk-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-slots { margin-top: 14px; }
.days button, .bk-slots button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.days button[aria-pressed="true"], .bk-slots button[aria-pressed="true"] { background: var(--plum-700); color: var(--cream); border-color: var(--plum-700); }
.bk-slots button:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.bk-out { margin-top: 16px; font-size: 14px; padding: 12px; border-radius: 12px; background: #efe7dd; min-height: 46px; color: var(--ink); }
/* demo: language */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 18px; }
.lang-switch button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.lang-card h4 { font-size: 30px; line-height: 1.1; }
.lang-card p { margin: 8px 0 16px; }

/* ── what we build ───────────────────────────────────────────────────── */
.build-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.build { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.build:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 30px 60px -30px rgba(28, 20, 24, 0.3); }
.build .mono { color: var(--plum-700); }
.build h3 { font-size: 26px; margin: 14px 0 10px; }
.build p { font-size: 15.5px; margin-bottom: 22px; }
.build .text-link { margin-top: auto; }
.build-more { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
@media (max-width: 1080px) { .build-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .build-grid { grid-template-columns: 1fr; } }

/* ── how it works ────────────────────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow-line { position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line); overflow: hidden; }
.flow-line i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.flow-step { position: relative; }
.flow-step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; position: relative; z-index: 1; color: var(--ink); }
.flow-step h3 { font-family: var(--f-body); font-size: 20px; font-weight: 600; letter-spacing: 0; margin: 18px 0 8px; }
.flow-step p { font-size: 15px; }
.flow-step .when { display: inline-block; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--plum-700); background: var(--mauve-100); padding: 4px 10px; border-radius: 999px; }
.flow-note { margin-top: 40px; font-size: 16px; }
.flow-note b { color: var(--ink); }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr 1fr; } .flow-line { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ── the brief ───────────────────────────────────────────────────────── */
.brief { background: var(--plum-700); color: var(--on-dark); overflow: hidden; }
.brief-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.brief h2 { color: var(--on-dark); font-size: clamp(40px, 5.4vw, 72px); line-height: 1; margin: 0 0 20px; }
.brief h2 em { color: var(--gold); }
.brief .eyebrow { color: var(--gold); }
.brief-side > p { color: var(--on-dark-muted); max-width: 36ch; }
.brief .contact-lines { margin-top: 32px; }
.brief-form { background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px; box-shadow: var(--shadow-2); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl > label, .fl-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.fl .opt { font-weight: 400; color: var(--muted); }
.fl input, .fl select, .fl textarea { width: 100%; border: 1px solid #ddd3cb; background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 16px; min-height: 48px; }
.fl textarea { min-height: 96px; resize: vertical; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: 2px solid var(--plum-700); outline-offset: 1px; }
.fl.invalid input { border-color: var(--error); }
.needs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.needs label { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #ddd3cb; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; cursor: pointer; background: var(--paper); }
.fl .needs input { flex: none; width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; border-radius: 4px; accent-color: var(--plum-700); }
.needs label:has(input:checked) { background: var(--plum-700); color: var(--cream); border-color: var(--plum-700); }
.needs label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--muted); font-size: 13px; }
.brief-form .form-msg { text-align: left; margin: 0; }
.brief-done { text-align: center; padding: 30px 10px; }
.brief-done h3 { font-size: 40px; margin: 10px 0; }
.brief-done p { margin-bottom: 22px; }
@media (max-width: 900px) { .brief-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; justify-content: center; } }

/* ── still mode ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
}
