/* Nabna Tech
   Light pages, near-black panels, one green. Urbanist for headings, Manrope for text.
   Palette taken from the Nabna Tech homepage design. */

:root {
  --ink: #0f1412;
  --ink-2: #17201c;
  --ink-3: #26322d;
  --muted: #56635d;
  --on-dark-muted: #a7b6af;
  --line: #dce3df;
  --band: #f2f5f3;
  --band-2: #eef3f0;
  --white: #ffffff;
  --green: #1db868;
  --green-hover: #19a65d;
  --green-bright: #3ddc84;
  --green-text: #0b7a43;
  --mint: #e2f6ea;
  --gold: #d6a445;
  --error: #b3261e;
  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7rem);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --text: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Geeza Pro", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint); color: var(--ink); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 20px; height: 7px; border-radius: 99px; background: var(--green); flex: none; }
.on-dark .eyebrow { color: var(--on-dark-muted); }
.display { font-family: var(--display); font-weight: 800; font-size: clamp(2.75rem, 6.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
.hl { color: var(--green-text); }
.on-dark .hl { color: var(--green-bright); }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; max-width: 38rem; }
.on-dark .lead { color: var(--on-dark-muted); }
.body-copy { color: var(--muted); display: grid; gap: 1rem; max-width: 40rem; font-size: 17px; }
.muted { color: var(--muted); }
.ar { font-family: var(--arabic); font-weight: 600; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .7rem 1.35rem; border-radius: 999px; border: 0; background: var(--green); color: var(--ink); text-decoration: none; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.btn:hover { background: var(--green-hover); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { background: var(--band); }
.on-dark .btn--line { color: var(--white); box-shadow: inset 0 0 0 1px var(--ink-3); }
.on-dark .btn--line:hover { background: var(--ink-2); }
.btn .arrow { transition: transform .15s ease-out; }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.text-link { color: var(--green-text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(11, 122, 67, .35); text-underline-offset: .25em; transition: text-decoration-color .15s ease-out; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-mark .k { fill: var(--ink); }
.brand-mark .g { fill: var(--green); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; color: var(--ink); white-space: nowrap; }
.brand-name b { font-weight: 800; color: var(--green-text); }
.brand-ar { padding-left: .65rem; border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1; }
.on-dark .brand-mark .k { fill: var(--white); }
.on-dark .brand-name { color: var(--white); }
.on-dark .brand-name b { color: var(--green-bright); }
.on-dark .brand-ar { color: var(--on-dark-muted); border-left-color: var(--ink-3); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.nav { display: none; gap: 1.75rem; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a { text-decoration: none; transition: color .15s ease-out; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { font-weight: 700; }
.bar-actions { display: none; align-items: center; gap: 1.25rem; }
.login { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .15s ease-out; }
.login:hover { color: var(--ink); }
.menu-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 1rem; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem; background: var(--white); }
.mobile-nav ul { margin-bottom: 1.25rem; }
.mobile-nav li a { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-size: 1.4rem; font-weight: 700; }
.mobile-nav li a span { color: var(--muted); font-family: var(--text); font-size: 13px; font-weight: 500; }
.mobile-nav li a[aria-current] { color: var(--green-text); }
@media (min-width: 1180px) {
  .nav, .bar-actions { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}
@media (max-width: 420px) { .brand-ar { display: none; } }

/* ---------- layout ---------- */
.section { padding-block: var(--section); }
.band { background: var(--band); }
.head { display: grid; gap: .9rem; margin-bottom: 2.5rem; }
.head .lead { max-width: 36rem; }
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.15fr; gap: 4rem; } }

/* ---------- dark panel (hero, Revenue Finder) ---------- */
.panel { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 5.5vw, 4rem); }
.hero { padding-block: 1.5rem 0; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero .lead { margin-top: 1.25rem; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem clamp(1.5rem, 4vw, 3rem); margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--ink-3); }
.stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.25rem); line-height: 1; letter-spacing: -0.02em; }
.stats span { display: block; margin-top: .45rem; max-width: 9rem; color: var(--on-dark-muted); font-size: 13px; line-height: 1.45; }
.stats--light { border-top-color: var(--line); }
.stats--light span { color: var(--muted); }

/* store mockup in the hero */
.mock { position: relative; max-width: 470px; width: 100%; justify-self: center; padding: 1.75rem 0 1.5rem; }
.mock-window { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 16px; padding: 12px; }
.mock-top { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.mock-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.mock-url { margin-left: 8px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-tile { background: var(--ink); border-radius: 10px; padding: 8px; }
.mock-tile i { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--ink-3); }
.mock-tile.is-green i { background: var(--green-bright); }
.mock-tile.is-gold i { background: var(--gold); }
.mock-tile u, .mock-tile s { display: block; height: 5px; border-radius: 3px; background: var(--ink-3); margin-top: 8px; text-decoration: none; }
.mock-tile s { width: 55%; margin-top: 5px; }
.mock-basket { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 12px; padding: 10px 10px 10px 14px; background: var(--ink); border-radius: 10px; color: var(--on-dark-muted); font-size: 12px; }
.mock-basket b { color: var(--white); }
.mock-basket span:last-child { padding: 6px 14px; border-radius: 999px; background: var(--green-bright); color: var(--ink); font-weight: 700; }
.chip { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: var(--white); color: var(--ink); border-radius: 12px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); font-size: 12px; line-height: 1.35; }
.chip--top { top: 0; right: -6%; }
.chip--bottom { bottom: 0; left: -4%; }
.chip .ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--mint); color: var(--green-text); }
.chip .ico svg { width: 14px; height: 14px; }
.chip b { font-family: var(--display); font-size: 1.15rem; color: var(--green-text); }
@media (max-width: 560px) { .chip--top { right: 0; } .chip--bottom { left: 0; } }

/* platforms strip */
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2.25rem; padding-block: 1.75rem; }
.platforms p { color: var(--muted); font-size: 13px; font-weight: 500; }
.platforms ul { display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; }
.platforms li { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--muted); }

/* ---------- page head (inner pages) ---------- */
.page-head { background: var(--band); padding-block: clamp(3.5rem, 8vw, 6rem); }
.page-head .lead { margin-top: 1.25rem; }

/* ---------- service cards ---------- */
.cards { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.svc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .55rem; align-content: start; text-decoration: none; transition: border-color .15s ease-out; }
a.svc-card:hover { border-color: #b9c6bf; }
.svc-card p { color: var(--muted); font-size: 15px; }
/* animated border: a light travels around the card edge. One rotating layer
   (transform only), centred with margins so the spin doesn't overwrite it.
   Paused while off screen (site.js adds .is-in-view); still under reduced motion. */
.glow { position: relative; isolation: isolate; display: block; overflow: hidden; padding: 1px; border-radius: var(--radius); background: var(--line); text-decoration: none; transition: background-color .15s ease-out; }
.glow:hover { background: #b9c6bf; }
.glow-light { position: absolute; top: 50%; left: 50%; width: 200%; aspect-ratio: 1; margin: -100% 0 0 -100%; pointer-events: none; background: conic-gradient(from 0deg, transparent 0 62%, var(--green) 82%, transparent 96%); animation: glow-spin 6s linear infinite; animation-delay: var(--glow-delay, 0s); animation-play-state: paused; }
.glow.is-in-view .glow-light { animation-play-state: running; }
.glow > .svc-card { position: relative; height: 100%; border: 0; border-radius: calc(var(--radius) - 1px); }
@keyframes glow-spin { to { transform: rotate(1turn); } }
.icon-tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--mint); color: var(--green-text); margin-bottom: .6rem; }
.icon-tile svg { width: 18px; height: 18px; }
.svc-card .includes { margin-top: .6rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.svc-card .tags { margin-top: .4rem; }

.includes { display: grid; gap: .4rem; font-size: 14px; color: var(--muted); }
.includes li { position: relative; padding-left: 1.2rem; }
.includes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .3rem .7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--green-text); font-size: 12px; font-weight: 700; }

.ai-band { display: grid; gap: 1.25rem; align-items: center; margin-top: 1rem; padding: 1.5rem; background: var(--mint); border-radius: var(--radius-lg); }
.ai-band .ai-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--green); color: var(--ink); font-family: var(--display); font-weight: 800; }
.ai-band p { color: var(--muted); font-size: 14px; margin-top: .2rem; }
.ai-band .tags { margin-top: .8rem; }
.ai-band .tags li { border-color: transparent; }
@media (min-width: 900px) { .ai-band { grid-template-columns: auto 1fr auto; gap: 1.5rem; padding: 1.5rem 1.75rem; } }

.group-title { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.group-title + .cards { margin-bottom: 3.5rem; }
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--green); color: var(--ink); font-family: var(--text); font-size: 12px; font-weight: 700; }

/* ---------- work cards (home) ---------- */
.work { display: grid; gap: 1rem; }
@media (min-width: 900px) { .work { grid-template-columns: repeat(3, 1fr); } }
.work-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); text-decoration: none; transition: border-color .15s ease-out; }
.work-card:hover { border-color: #b9c6bf; }
.work-top { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; padding: 1.25rem; background: var(--ink); color: var(--white); overflow: hidden; }
.work-top .sector { color: var(--on-dark-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.work-top .name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; position: relative; }
.pixels { position: absolute; top: 4px; right: 4px; display: grid; grid-template-columns: repeat(3, 24px); gap: 6px; }
.pixels i { width: 24px; height: 24px; border-radius: 6px; background: var(--ink-3); }
.pixels i.o { background: transparent; }
.pixels i.g { background: var(--green-bright); }
.pixels i.y { background: var(--gold); }
.work-body { padding: 1.25rem; display: grid; gap: 1rem; flex: 1; align-content: start; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.metrics b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.metrics span { display: block; margin-top: .25rem; color: var(--muted); font-size: 12px; line-height: 1.35; }
.work-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- case study (case studies page) ---------- */
.case { display: grid; gap: 1.75rem; padding: clamp(1rem, 2.5vw, 1.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.case + .case { margin-top: 1.25rem; }
.case .frame { border-radius: 14px; overflow: hidden; background: var(--ink); padding: 10px 10px 0; align-self: start; }
.case .frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; }
.case .info { display: grid; gap: 1.1rem; align-content: start; padding: .25rem .25rem .5rem; }
.case .sector { color: var(--green-text); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case .name { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.05; letter-spacing: -0.02em; margin-top: .35rem; }
.case .scope { color: var(--muted); font-weight: 600; margin-top: .35rem; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.5rem; font-size: 14px; padding-block: .9rem; border-block: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { font-weight: 600; }
.case .metrics b { font-size: 1.75rem; }
@media (min-width: 960px) { .case { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; } .case.flip .frame { order: 2; } }

.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1rem; }
.clients li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; height: 92px; display: grid; place-items: center; padding: 1rem 1.5rem; }
.clients img { max-height: 50px; width: auto; object-fit: contain; }
@media (min-width: 760px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .clients { grid-template-columns: repeat(5, 1fr); } }

/* ---------- steps, values ---------- */
.steps { display: grid; gap: 1rem; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; display: grid; gap: .5rem; align-content: start; }
.steps .num { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 .4rem; justify-self: start; border-radius: 8px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; margin-bottom: .5rem; }
.steps li:last-child .num { background: var(--green); color: var(--ink); }
.steps p { color: var(--muted); font-size: 14px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(var(--steps, 4), 1fr); } }

.values { display: grid; gap: 1rem; }
.values > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .5rem; }
.values p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.pills li { padding: .4rem .85rem; border-radius: 999px; background: var(--mint); color: var(--green-text); font-size: 13px; font-weight: 700; }

/* ---------- Revenue Finder panel ---------- */
.offer { display: grid; gap: 2.5rem; }
.offer .tag { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--green-bright); color: var(--ink); font-size: 12px; font-weight: 700; margin-bottom: 1.25rem; }
.offer .lead { margin-top: 1.25rem; }
.offer .note { margin-top: 1.5rem; color: var(--on-dark-muted); font-size: 13px; max-width: 30rem; }
.offer .note b { color: var(--gold); }
.deliverables { display: grid; gap: .6rem; align-content: center; }
.deliverables li { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; padding: 1rem 1.1rem; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; }
.deliverables .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink-3); color: var(--green-bright); font-size: 12px; font-weight: 700; }
.deliverables b { display: block; font-family: var(--display); font-size: 1rem; }
.deliverables span:last-child { color: var(--on-dark-muted); font-size: 13px; }
@media (min-width: 960px) { .offer { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; } }

.checklist { display: grid; gap: .6rem; }
.checklist li { position: relative; padding: .9rem 1rem .9rem 2.75rem; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; color: var(--white); font-size: 15px; }
.checklist li::before { content: ""; position: absolute; left: 1.1rem; top: 1.2rem; width: .65rem; height: .35rem; border-left: 2px solid var(--green-bright); border-bottom: 2px solid var(--green-bright); transform: rotate(-45deg); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; } }
.contact-rows { display: grid; gap: .75rem; margin-top: 2rem; }
.contact-rows a, .contact-rows div { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 700; font-size: 15px; }
.contact-rows a:hover span:last-child { color: var(--green-text); }
.contact-rows .icon-tile { margin: 0; width: 34px; height: 34px; }
.contact-rows .icon-tile svg { width: 16px; height: 16px; }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3.5vw, 2rem); }
.form-card > p { color: var(--muted); margin-top: .4rem; font-size: 15px; }
.form-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--band); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.field textarea { resize: vertical; min-height: 6.5rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #6f7c76; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c6bf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-text); box-shadow: 0 0 0 3px rgba(29, 184, 104, .2); }
.err { display: none; color: var(--error); font-size: 13px; }
.field :user-invalid { border-color: var(--error); }
.field :user-invalid ~ .err { display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--green-text); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-note { color: var(--muted); font-size: 13px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 14px; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-grid h2 { color: var(--on-dark-muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid li + li { margin-top: .55rem; }
.footer-grid ul a { color: var(--white); text-decoration: none; transition: color .15s ease-out; }
.footer-grid ul a:hover { color: var(--green-bright); }
.footer-grid .brand { margin-bottom: 1rem; }
.footer-grid p { max-width: 20rem; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ink-3); color: var(--white); font-size: 17px; transition: border-color .15s ease-out, color .15s ease-out; }
.socials a:hover { border-color: var(--green-bright); color: var(--green-bright); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-3); font-size: 13px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.wa-pill { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px -8px rgba(15, 20, 18, .45); transition: transform .15s ease-out; }
.wa-pill:hover { transform: translateY(-2px); }
.wa-pill iconify-icon { font-size: 18px; color: var(--green-bright); }

/* ---------- rolling word ("grow.") ----------
   Each letter is a reel of copies of itself that spins up and lands, like a
   slot machine. The invisible ghost letter sets the box, so the landed word
   lines up exactly with normal text. The window is taller than the line so
   descenders (the tail of the "g") are not clipped. */
.roll { white-space: nowrap; line-height: 1.05; --roll-pad: .15em; --roll-step: 1.35em; } /* step = 1.05em line + 2 x pad */
.roll-cell { position: relative; display: inline-block; }
.roll-ghost { visibility: hidden; }
.roll-win { position: absolute; left: -.04em; right: -.04em; top: calc(-1 * var(--roll-pad)); bottom: calc(-1 * var(--roll-pad)); overflow: hidden; }
.roll-reel { display: block; will-change: transform; transform: translate3d(0, calc(-1 * var(--roll-step) * var(--k, 0)), 0); }
.roll-reel > span { display: block; height: var(--roll-step); line-height: var(--roll-step); text-align: center; }

/* ---------- feature carousel of store homepages (home) ----------
   Left: a vertical reel of store names, the active one lit. Right: the active
   store's homepage, with the previous and next tilted, faded and greyed behind.
   site.js moves it every 3s (paused on hover, focus or off screen). */
.fc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 2.5rem; background: var(--band); }
.fc-left { position: relative; z-index: 3; min-height: 280px; overflow: hidden; background: var(--ink); }
.fc-left::before, .fc-left::after { content: ""; position: absolute; inset-inline: 0; height: 56px; z-index: 2; pointer-events: none; }
.fc-left::before { top: 0; background: linear-gradient(var(--ink), rgba(15, 20, 18, 0)); }
.fc-left::after { bottom: 0; background: linear-gradient(rgba(15, 20, 18, 0), var(--ink)); }
.fc-reel { position: absolute; inset: 0; }
.fc-item { position: absolute; top: 50%; left: 0; right: 0; height: 65px; margin-top: -32.5px; display: flex; align-items: center; justify-content: center; transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .9s ease; }
.fc-chip { display: inline-flex; align-items: center; gap: .9rem; padding: .95rem 1.75rem; border-radius: 999px; border: 1px solid var(--ink-3); background: transparent; color: var(--on-dark-muted); font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color .5s ease, color .5s ease, border-color .5s ease; }
.fc-chip svg { width: 18px; height: 18px; flex: none; }
.fc-chip:hover { border-color: #3d4b45; color: var(--white); }
.fc-chip[aria-pressed="true"] { background: var(--green-bright); border-color: var(--green-bright); color: var(--ink); }
.fc-right { position: relative; flex: 1; display: grid; place-items: center; min-height: 380px; padding: 3rem 1.5rem; overflow: hidden; }
.fc-stage { position: relative; width: min(100%, 560px); aspect-ratio: 16 / 11; }
.fc-card { position: absolute; inset: 0; margin: 0; overflow: hidden; border: 6px solid var(--white); border-radius: 1.75rem; background: var(--white); box-shadow: 0 24px 50px -24px rgba(15, 20, 18, .45); transform-origin: center; transition: transform .7s cubic-bezier(.3, 1.25, .5, 1), opacity .5s ease; }
.fc-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(1.75rem - 6px); transition: filter .7s ease; }
.fc-card[data-status="active"] { z-index: 2; transform: none; opacity: 1; }
.fc-card[data-status="prev"] { z-index: 1; transform: translateX(-100px) scale(.85) rotate(-3deg); opacity: .4; pointer-events: none; }
.fc-card[data-status="next"] { z-index: 1; transform: translateX(100px) scale(.85) rotate(3deg); opacity: .4; pointer-events: none; }
.fc-card[data-status="hidden"] { z-index: 0; transform: scale(.7); opacity: 0; pointer-events: none; }
.fc-card:not([data-status="active"]) img { filter: grayscale(1) blur(2px) brightness(.75); }
.fc-live { position: absolute; top: 1.1rem; left: 1.1rem; display: flex; align-items: center; gap: .55rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(15, 20, 18, .72); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transition: opacity .3s ease; }
.fc-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); }
.fc-cap { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: .45rem; padding: 6rem 1.5rem 1.4rem; background: linear-gradient(to top, rgba(15, 20, 18, .94), rgba(15, 20, 18, .55) 55%, rgba(15, 20, 18, 0)); color: var(--white); transition: opacity .45s ease, transform .45s ease; }
.fc-pill { justify-self: start; padding: .35rem .85rem; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fc-cap p { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.9vw, 1.25rem); line-height: 1.3; }
.fc-cap .fc-metrics { font-family: var(--text); font-size: 13px; font-weight: 600; color: var(--green-bright); }
.fc-card:not([data-status="active"]) .fc-cap { opacity: 0; transform: translateY(16px); }
.fc-card:not([data-status="active"]) .fc-live { opacity: 0; }
@media (min-width: 1000px) {
  .fc { flex-direction: row; min-height: 540px; border-radius: 3.5rem; }
  .fc-left { width: 40%; min-height: 0; }
  .fc-item { justify-content: flex-start; padding-left: 3.5rem; }
  .fc-right { padding: 3rem 2.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) { .fc-right { padding: 2rem 1.25rem; } .fc-stage { aspect-ratio: 4 / 5; width: min(100%, 360px); } }
@media (max-width: 520px) { .fc-cap { padding: 4.5rem 1rem 1rem; } .fc-cap p:not(.fc-metrics) { font-size: .95rem; } .fc-card[data-status="prev"] { transform: translateX(-40px) scale(.85) rotate(-3deg); } .fc-card[data-status="next"] { transform: translateX(40px) scale(.85) rotate(3deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .fc-card, .fc-item { transition: opacity .3s ease !important; }
}
