/* ==========================================================================
   NEXFOLD — styles.css
   Shopify development, migration & store operations studio
   --------------------------------------------------------------------------
   1. Tokens & fonts        5. Services + mini UIs      9. Process
   2. Base, type, utilities 6. Selected work + dialog  10. Beyond / Notes / FAQ
   3. Header & navigation   7. Storefront → stockroom  11. Contact & footer
   4. Hero & ticker         8. Quick fix               12. Responsive & motion
   ========================================================================== */

/* 1. TOKENS & FONTS ------------------------------------------------------ */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --forest: #071c18;
  --forest-2: #0d2822;
  --forest-3: #133129;
  --forest-4: #1a3d33;
  --lime: #b6f36b;
  --mint: #d8ff9e;
  --lime-ink: #2f5a3c;         /* lime's role on light backgrounds */
  --ivory: #f4f4ec;
  --paper: #ebeee4;
  --sage: #dfe6d5;
  --stone: #edf0e9;
  --white: #ffffff;
  --ink: #0b1512;
  --ink-2: #2b3a33;
  --muted: #57635d;
  --muted-dark: #94a59c;       /* muted text on dark */
  --line: #d2d9d1;
  --line-dark: rgba(255, 255, 255, .12);

  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --max: 1360px;
  --gutter: max(5vw, 24px);
  --header-h: 86px;
  --section-y: clamp(5.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --focus: var(--forest);
}

/* 2. BASE, TYPE, UTILITIES ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.menu-open, html.dialog-open { overflow: hidden; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg { display: block; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.hero, .services, .layers, .beyond, .footer, .site-header, .mobile-menu { --focus: var(--lime); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--lime); padding: .8rem 1rem; color: var(--forest); font-weight: 700; border-radius: 4px; }
.skip-link:focus { top: 1rem; }

.section { padding: var(--section-y) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

h1, h2, h3 { font-weight: 700; letter-spacing: -.04em; line-height: .95; }
h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); }
h2 em, h1 em { font-style: normal; color: var(--lime); }
.intro h2 em, .problems h2 em, .process h2 em, .work h2 em { color: var(--lime-ink); }
h3 { font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.1; }

.kicker, .eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0; font: 400 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--lime-ink); }
.kicker i { font-style: normal; opacity: .65; display: inline-flex; align-items: center; gap: .7rem; }
.kicker i::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.kicker.light { color: var(--lime); }
.eyebrow { color: var(--lime); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(182, 243, 107, .14); }
.eyebrow.dark { color: var(--forest); }
.eyebrow.dark .dot { box-shadow: 0 0 0 5px rgba(7, 28, 24, .1); }

.icon { width: 1em; height: 1em; flex: none; }
.arr { position: relative; display: inline-grid; width: 1em; height: 1em; overflow: hidden; flex: none; }
.arr svg { grid-area: 1 / 1; width: 100%; height: 100%; transition: transform .45s var(--ease); }
.arr svg:last-child { transform: translate(-110%, 110%); }
:is(a, button):hover .arr svg:first-child, :is(a, button):focus-visible .arr svg:first-child { transform: translate(110%, -110%); }
:is(a, button):hover .arr svg:last-child, :is(a, button):focus-visible .arr svg:last-child { transform: none; }

.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: .9rem; padding: 0 1.7rem; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .92rem; letter-spacing: -.005em; line-height: 1; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease; }
.button-lime { background: var(--lime); color: var(--forest); box-shadow: 0 14px 34px -14px rgba(182, 243, 107, .55); }
.button-lime:hover { background: var(--mint); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(182, 243, 107, .7); }
.button-outline { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.button-outline:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.button-dark { background: var(--forest); color: var(--white); }
.button-dark:hover { background: var(--forest-3); }
.text-link { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .28); color: #dbe5e0; font-size: .9rem; font-weight: 700; transition: border-color .25s ease, color .25s ease; }
.text-link:hover { border-color: var(--lime); color: var(--lime); }
.text-link .icon { transition: transform .35s var(--ease); }
.text-link:hover .icon { transform: translateY(3px); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .85s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.visible { opacity: 1; transform: none; }

/* 3. HEADER & NAVIGATION ------------------------------------------------ */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease; }
.site-header.scrolled { background: rgba(7, 28, 24, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-color: var(--line-dark); }
.header-inner { height: var(--header-h); max-width: var(--max); margin: auto; padding: 0 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .8rem; width: max-content; }
/* Brand logo (PNG wordmark, 2172×724 canvas; the visible mark is ~41% of the canvas height).
   Sized by width only so the aspect ratio is never altered. */
.brand-logo { --logo-w: 164px; display: block; width: var(--logo-w); height: auto; object-fit: contain; margin-left: calc(var(--logo-w) * -.045); } /* negative margin = the PNG's transparent left padding (98/2172), so the visible mark sits flush */
.footer-brand .brand-logo { --logo-w: 200px; }
.desktop-nav { display: flex; align-items: center; gap: 2.2rem; font-size: .88rem; color: #d6e0db; }
.desktop-nav a { position: relative; padding: .4rem 0; transition: color .25s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--white); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: inline-flex; gap: .7rem; align-items: center; min-height: 44px; padding: 0 1.15rem; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; font-size: .84rem; font-weight: 700; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.header-cta:hover { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.menu-toggle, .mobile-menu { display: none; }

/* 4. HERO & TICKER ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--forest); padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 28, 24, .2), rgba(7, 28, 24, .24)), url('assets/hero/nexfold-optical-v2.webp') center / cover no-repeat; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, #000 30%, transparent 100%); }
.hero-glow { position: absolute; width: 720px; height: 720px; right: -160px; top: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(182, 243, 107, .14), transparent 62%); filter: blur(4px); }
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; min-height: clamp(720px, 88vh, 940px); padding: clamp(2.5rem, 5vh, 4.5rem) 28px calc(66px + 4rem); display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { max-width: none; margin: 1.6rem 0 1.6rem; font-size: clamp(3.2rem, 5.4vw, 4.9rem); line-height: .92; letter-spacing: -.045em; }
.hero-lede { max-width: 540px; color: #b6c5be; font-size: 1.1rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.2rem; }
.hero-disciplines { display: flex; flex-wrap: wrap; gap: .5rem 0; margin-top: 2.6rem; font: 400 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #8fa198; }
.hero-disciplines li { display: inline-flex; align-items: center; }
.hero-disciplines li + li::before { content: ""; width: 4px; height: 4px; margin: 0 .7rem; border-radius: 50%; background: var(--lime); opacity: .7; }
.availability { margin-top: 1.4rem; display: flex; align-items: center; gap: .7rem; font-size: .78rem; color: #8fa198; }
.availability span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(182, 243, 107, .35); } 55% { box-shadow: 0 0 0 8px rgba(182, 243, 107, 0); } }

/* Platform field — the three platforms as quiet supporting visuals (replaces the former CSS mockup).
   Same footprint as before (560px tall on desktop) so the hero layout is unchanged. */
.platform-field { position: relative; height: 560px; margin: 0; padding: 0; list-style: none; }
.platform { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; transform: translate(-50%, -50%); text-align: center; animation: float 9s ease-in-out infinite; }
.platform::before { content: ""; position: absolute; left: 50%; top: 42%; width: 190%; height: 190%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(7, 28, 24, .85) 0%, rgba(7, 28, 24, .45) 40%, transparent 70%); z-index: -1; } /* softly masks the grid behind each mark */
.platform-mark { width: var(--mark, 120px); height: var(--mark, 120px); fill: currentColor; color: #d8e3da; opacity: .4; transition: opacity .6s ease; }
.platform-name { display: grid; gap: .3rem; font: 400 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8fa198; }
.platform-name small { font-size: .82em; letter-spacing: .12em; color: #62736a; }
.platform-shopify { left: 34%; top: 44%; --mark: 172px; animation-delay: -2s; }
.platform-shopify .platform-mark { opacity: .56; filter: drop-shadow(0 0 42px rgba(182, 243, 107, .22)); }
.platform-wordpress { left: 72%; top: 22%; --mark: 116px; animation-delay: -5s; }
.platform-woocommerce { left: 71%; top: 74%; --mark: 176px; animation-delay: -7.5s; }
.platform-woocommerce .platform-mark { height: calc(var(--mark) * .225); margin: .5rem 0; } /* wide wordmark (viewBox 24×5.4) */
.platform-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.platform-links path { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 7; stroke-linecap: round; }
.platform-field:hover .platform-mark { opacity: .62; }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-6px); } }

.ticker { position: absolute; z-index: 3; left: 0; bottom: 0; width: 100%; overflow: hidden; border-top: 1px solid var(--line-dark); background: rgba(255, 255, 255, .025); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { width: max-content; min-height: 66px; display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; will-change: transform; font: 400 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #b9c7bf; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex: none; }
@keyframes ticker { to { transform: translateX(calc(-100% / 3)); } }

/* INTRO / ABOUT ---------------------------------------------------------- */
.intro { background: var(--ivory); }
.section-grid { display: grid; grid-template-columns: .28fr .72fr; gap: 3rem; align-items: start; }
.intro-statement h2 { max-width: 15ch; margin-bottom: 3.5rem; font-size: clamp(2.5rem, 4.8vw, 5rem); }
.intro-detail { padding-top: 2.2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem 4rem; align-items: start; }
.intro-detail > p { max-width: 540px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.intro-facts { display: grid; gap: 1rem; }
.intro-facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.intro-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.intro-facts dt { font: 400 .68rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding-top: .15rem; }
.intro-facts dd { font-weight: 700; font-size: .95rem; letter-spacing: -.01em; line-height: 1.45; }

/* 5. SERVICES ------------------------------------------------------------ */
.services { color: var(--white); background: var(--forest); }
.section-heading { display: grid; grid-template-columns: 1.2fr .6fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.section-heading h2 { margin-top: 1rem; }
.section-heading > p { max-width: 440px; color: var(--muted-dark); line-height: 1.7; }

.service-list { border-top: 1px solid var(--line-dark); }
.service { position: relative; border-bottom: 1px solid var(--line-dark); transition: opacity .7s ease, transform .85s var(--ease), background-color .3s ease; }
.service::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(182, 243, 107, .09), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .service:hover::before { opacity: 1; } }
.service.is-open { background: rgba(255, 255, 255, .02); }
.service-head { margin: 0; font: inherit; }
.service-toggle { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, .95fr) 56px; gap: 2rem; align-items: center; padding: 1.7rem 0; margin: 0; border: 0; background: none; color: inherit; text-align: left; }
.service-num { font: 400 .78rem/1 var(--mono); color: var(--lime); letter-spacing: .06em; transition: transform .35s var(--ease); }
.service-toggle:hover .service-num { transform: translateX(6px); }
.service-title { display: grid; gap: .55rem; }
.service-name { font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.service-summary { max-width: 560px; color: var(--muted-dark); font-size: .92rem; line-height: 1.55; }
.service-tags { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-start; }
.service-tags span { padding: .42rem .62rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #b7c4bd; font: 400 .68rem/1 var(--mono); letter-spacing: .02em; white-space: nowrap; transition: border-color .3s ease, color .3s ease; }
.service-toggle:hover .service-tags span { border-color: rgba(182, 243, 107, .45); color: #dce6e0; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; justify-self: end; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .45s var(--ease); }
.service-icon svg { width: 16px; height: 16px; }
.service-toggle:hover .service-icon { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.service-toggle[aria-expanded="true"] .service-icon { background: var(--lime); border-color: var(--lime); color: var(--forest); transform: rotate(45deg); }

.service-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.is-open > .service-panel { grid-template-rows: 1fr; }
.service-panel-inner { min-height: 0; overflow: hidden; }
.service-panel-inner > * { opacity: 0; transform: translateY(8px); transition: opacity .45s ease .05s, transform .55s var(--ease) .05s; }
.is-open .service-panel-inner > * { opacity: 1; transform: none; }
.service-panel-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem 4rem; padding: 0 0 0 calc(64px + 2rem); align-items: start; }
.is-open .service-panel-inner { padding-top: .4rem; padding-bottom: 2.4rem; }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .1rem 2rem; }
.capabilities li { position: relative; padding: .6rem 0 .6rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .9rem; color: #d3ddd7; }
.capabilities li::before { content: ""; position: absolute; left: 0; top: 1.12rem; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* Mini interfaces shown inside the open service */
.mini-ui { position: relative; min-height: 196px; overflow: hidden; border-radius: 12px; background: var(--forest-2); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); font: 400 10px/1.4 var(--mono); color: #c6d1cb; padding: 0 0 1rem; }
.mini-bar { display: flex; align-items: center; gap: .4rem; height: 30px; padding: 0 .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #8ea197; font-size: 9px; }
.mini-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.mini-bar span { margin-left: .5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-store-hero { margin: .9rem .9rem 0; height: 62px; border-radius: 6px; background: linear-gradient(135deg, #1d3f33, #2f5a44); position: relative; overflow: hidden; }
.mini-store-hero b { position: absolute; left: 12px; top: 14px; width: 42%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .8); }
.mini-store-hero b::after { content: ""; position: absolute; left: 0; top: 14px; width: 60%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.mini-store-hero em { position: absolute; left: 12px; bottom: 12px; width: 52px; height: 12px; border-radius: 3px; background: var(--lime); }
.mini-store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .6rem .9rem 0; }
.mini-store-grid span { height: 54px; border-radius: 5px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); position: relative; }
.mini-store-grid span::after { content: ""; position: absolute; left: 6px; right: 40%; bottom: 6px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.mini-code pre { margin: .8rem .9rem 0; font: inherit; font-size: 9.5px; line-height: 1.6; white-space: pre; overflow: hidden; color: #b8c6bf; }
.mini-code b { font-weight: 400; color: var(--lime); }
.mini-code em { font-style: normal; color: #e8c37a; }
.mini-flow { padding: 1rem .9rem .9rem; display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; align-items: center; gap: .3rem; }
.flow-node { padding: .55rem .5rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; text-align: center; }
.flow-node small { display: block; font-size: 8px; color: #8ea197; margin-bottom: .2rem; }
.flow-node b { font: 700 10px/1.2 var(--sans); color: var(--white); }
.flow-node.on { border-color: var(--lime); background: rgba(182, 243, 107, .1); }
.flow-line { height: 1px; background: repeating-linear-gradient(90deg, var(--lime) 0 3px, transparent 3px 6px); animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 6px 0; } }
.flow-foot { grid-column: 1 / -1; display: flex; gap: .4rem; margin-top: .7rem; }
.flow-foot span { flex: 1; text-align: center; padding: .35rem 0; border-radius: 99px; background: rgba(255, 255, 255, .06); font-size: 8.5px; color: #c6d1cb; }
.flow-foot span:last-child { background: rgba(182, 243, 107, .14); color: var(--lime); }
.mini-sheet table { width: calc(100% - 1.8rem); margin: .6rem .9rem 0; border-collapse: collapse; font-size: 9px; }
.mini-sheet th { text-align: left; font-weight: 400; color: #8ea197; padding: .3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mini-sheet td { padding: .38rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #d3ddd7; }
.mini-sheet td.ok, .mini-sheet th:last-child { text-align: right; color: var(--lime); }
.mini-pos { padding: 1rem .9rem .8rem; }
.pos-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.pos-head b { font: 700 11px/1 var(--sans); color: var(--white); }
.pos-head span { padding: .25rem .5rem; border-radius: 99px; background: rgba(182, 243, 107, .14); color: var(--lime); font-size: 8.5px; }
.pos-barcode { display: flex; gap: 3px; height: 34px; align-items: stretch; padding: 0 .2rem; }
.pos-barcode i { flex: 1; background: #dfe7e2; }
.pos-barcode i:nth-child(3n) { flex: 2; }
.pos-barcode i:nth-child(5n) { background: #97a8a0; }
.pos-rows { margin-top: .7rem; display: grid; gap: .3rem; }
.pos-rows span { display: flex; justify-content: space-between; padding: .35rem .5rem; border-radius: 4px; background: rgba(255, 255, 255, .05); font-size: 9px; }
.pos-rows span b { color: var(--white); font-weight: 400; }
.pos-rows span.on { background: rgba(182, 243, 107, .12); color: var(--lime); }
.pos-rows span.on b { color: var(--lime); }
.mini-markets { padding: .9rem .9rem .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.market { padding: .55rem .6rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; }
.market b { display: block; font: 700 11px/1.2 var(--sans); color: var(--white); }
.market span { font-size: 8.5px; color: #8ea197; }
.market.on { border-color: var(--lime); background: rgba(182, 243, 107, .1); }
.market-foot { grid-column: 1 / -1; margin-top: .25rem; font-size: 8.5px; color: #8ea197; text-align: center; }
.mini-diag { padding: .9rem .9rem .5rem; display: grid; gap: .35rem; }
.diag-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem .55rem; border-radius: 5px; background: rgba(255, 255, 255, .05); font-size: 9px; }
.diag-row span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.diag-row b { flex: none; padding: .2rem .45rem; border-radius: 99px; font-weight: 400; font-size: 8px; letter-spacing: .04em; }
.diag-row b.ok { background: rgba(182, 243, 107, .16); color: var(--lime); }
.diag-row b.wip { background: rgba(232, 195, 122, .16); color: #e8c37a; }
.mini-plan { padding: 1rem .9rem .6rem; }
.plan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.plan-head b { font: 700 11px/1 var(--sans); color: var(--white); }
.plan-head span { font-size: 8.5px; color: var(--lime); }
.plan-row { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.plan-row i { font-style: normal; font-size: 8.5px; color: #8ea197; }
.plan-row span { padding: .35rem .5rem; border-radius: 4px; font-size: 9px; color: var(--forest); background: var(--lime); }
.plan-row span.b { width: 70%; background: #dfe7e2; }
.plan-row span.c { width: 85%; background: #8fb865; }

/* 6. SELECTED STOREFRONT WORK — visual portfolio ---------------------------
   Rendered from data/theme-portfolio.js. Cards use 16:10 covers; the modal
   shows full-page screenshots inside a browser-style frame with view tabs. */
.work { background: var(--paper); }
.work-heading { display: grid; grid-template-columns: 1fr .45fr; align-items: end; gap: 4rem; margin-bottom: 2.4rem; }
.work-heading h2 { margin-top: 1rem; }
.work-heading > p { max-width: 420px; color: var(--muted); line-height: 1.7; }

/* Toolbar: filter chips + count */
.tp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tp-filters-wrap { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.tp-filters-label { flex: none; font: 400 .64rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.tp-filters { display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.tp-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid #c5cdc4; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: .84rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease); }
.tp-chip:hover { border-color: var(--forest); transform: translateY(-1px); }
.tp-chip[aria-pressed="true"] { background: var(--forest); color: var(--white); border-color: var(--forest); }
.tp-count { flex: none; margin: 0; font: 400 .68rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-align: right; }

/* Grid + cards */
.tp-grid { display: grid; grid-template-columns: repeat(var(--tp-cols, 2), minmax(0, 1fr)); gap: 1.8rem; align-items: start; }
.tp-card { position: relative; display: flex; flex-direction: column; border: 1px solid rgba(11, 21, 18, .12); border-radius: 10px; background: var(--white); overflow: hidden; opacity: 1; transform: none; transition: opacity .35s ease, transform .55s var(--ease), box-shadow .55s ease, border-color .3s ease; transition-delay: calc(var(--i, 0) * 60ms), calc(var(--i, 0) * 60ms), 0s, 0s; }
.tp-grid.is-filtering .tp-card { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.tp-card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -34px rgba(11, 21, 18, .45); border-color: rgba(11, 21, 18, .2); }
.tp-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e4e8dd; border-bottom: 1px solid var(--line); }
.tp-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.001); transition: transform 1s var(--ease); }
.tp-card:hover .tp-media img { transform: scale(1.03) translateY(-2.5%); }
.tp-badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: .42rem .65rem; border-radius: 99px; background: rgba(244, 244, 236, .94); color: var(--ink); font: 400 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.tp-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.25rem 1.2rem; }
.tp-title { margin: 0 0 .3rem; font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.2; }
.tp-link { all: unset; cursor: pointer; color: inherit; font: inherit; }
.tp-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is the click target; one focusable control */
.tp-card:has(.tp-link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.tp-meta { margin: 0; font: 400 .66rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tp-cta { flex: none; display: inline-flex; align-items: center; gap: .55rem; margin-top: .25rem; font-size: .82rem; font-weight: 700; color: var(--lime-ink); white-space: nowrap; }
.tp-card:hover .tp-cta .arr svg:first-child { transform: translate(110%, -110%); }
.tp-card:hover .tp-cta .arr svg:last-child { transform: none; }

/* Empty state, aside, no-JS */
.tp-empty { margin-top: 1rem; padding: 3rem 1.5rem; border: 1px dashed #b8c2b8; border-radius: 10px; text-align: center; color: var(--muted); }
.tp-empty-title { margin-bottom: .4rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.tp-empty .button { width: auto; margin-top: 1.4rem; }
.tp-aside { margin-top: 2rem; font-size: .84rem; color: var(--muted); }
.tp-aside a { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--ink); }
.tp-aside a:hover { color: var(--lime-ink); border-color: var(--lime-ink); }
.tp-noscript { display: grid; gap: .6rem; margin-bottom: 1rem; }
.tp-noscript li { padding: .8rem 0; border-top: 1px solid var(--line); }

/* Browse-the-design modal (browser-style frame) */
.tp-modal { width: min(1240px, calc(100vw - 2rem)); height: min(92vh, 1040px); margin: auto; padding: 0; border: 0; border-radius: 12px; background: var(--forest-2); color: var(--white); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7); overflow: hidden; --focus: var(--lime); }
.tp-modal::backdrop { background: rgba(7, 28, 24, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tp-modal[open] { display: flex; flex-direction: column; animation: dialog-in .45s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.tp-bar { flex: none; display: flex; align-items: center; gap: .8rem; height: 54px; padding: 0 .8rem 0 1.1rem; background: var(--forest); border-bottom: 1px solid var(--line-dark); }
.tp-dots { display: flex; gap: 6px; flex: none; }
.tp-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.tp-dots i:first-child { background: rgba(182, 243, 107, .55); }
.tp-url { flex: 1; min-width: 0; display: flex; align-items: center; height: 34px; padding: 0 .9rem; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font: 400 .7rem/1 var(--mono); color: #aebcb5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-open { flex: none; display: inline-flex; align-items: center; gap: .5rem; height: 36px; padding: 0 .9rem; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 700; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tp-open:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.tp-close { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; background: rgba(255, 255, 255, .04); color: var(--white); transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tp-close svg { width: 15px; height: 15px; }
.tp-close:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.tp-tabs-row { flex: none; display: flex; align-items: center; gap: 1rem; padding: .65rem 1.1rem; border-bottom: 1px solid var(--line-dark); background: var(--forest-2); }
.tp-tabs-row[hidden] { display: none; }
.tp-tabs-label { flex: none; font: 400 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8ea197; }
.tp-tabs { display: flex; gap: .4rem; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.tp-tabs::-webkit-scrollbar { display: none; }
.tp-tab { flex: none; height: 36px; padding: 0 .95rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; background: transparent; color: #dbe4df; font-size: .82rem; font-weight: 700; white-space: nowrap; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tp-tab:hover { border-color: rgba(255, 255, 255, .45); }
.tp-tab[aria-selected="true"] { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.tp-tabs-hint { margin-left: auto; flex: none; font: 400 .62rem/1 var(--mono); letter-spacing: .06em; color: #6f8078; }
.tp-stage { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #e6e9e0; scrollbar-gutter: stable; }
.tp-stage:focus-visible { outline-offset: -3px; }
.tp-stage-inner { min-height: 100%; transition: opacity .3s ease; }
.tp-stage.is-switching .tp-stage-inner { opacity: 0; }
.tp-view { display: block; width: 100%; height: auto; background: #fff; }
.tp-stage.is-mobile { overflow: hidden; display: flex; }
.tp-stage.is-mobile .tp-stage-inner { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; padding: 1.4rem 1rem; background: radial-gradient(70% 60% at 50% 40%, #e9ede2, #cfd6c8); }
.tp-phone { height: 100%; max-height: 780px; aspect-ratio: 430 / 880; max-width: 100%; padding: 10px; border-radius: 36px; background: #0b2119; box-shadow: 0 40px 70px -30px rgba(7, 28, 24, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tp-phone-screen { height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 27px; background: #fff; scrollbar-width: none; }
.tp-phone-screen::-webkit-scrollbar { display: none; }
.tp-info { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: .95rem 1.25rem; background: var(--forest); border-top: 1px solid var(--line-dark); }
.tp-info-text { min-width: 0; }
.tp-kicker { margin: 0 0 .3rem; font: 400 .62rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.tp-modal-title { margin: 0 0 .35rem; font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.15; }
.tp-summary { margin: 0; max-width: 72ch; font-size: .84rem; line-height: 1.5; color: #b6c5be; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.tp-chips li { padding: .3rem .55rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; font: 400 .6rem/1 var(--mono); letter-spacing: .04em; color: #c9d4ce; }
.tp-chips li.is-tag { color: #8ea197; border-style: dashed; }
.tp-info-actions { display: flex; align-items: center; gap: .8rem; }
.tp-info-toggle { display: none; }
.tp-info .button { min-height: 48px; padding: 0 1.3rem; font-size: .86rem; }

/* Lead form states */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.project-form.is-busy #form-submit { opacity: .7; pointer-events: none; }
.form-status.is-error { background: #fbe4df; color: #7a2e1f; }
.form-status a { font-weight: 700; text-decoration: underline; }
.form-note a { font-weight: 700; border-bottom: 1px solid currentColor; }

/* 7. FROM STOREFRONT TO STOCKROOM ---------------------------------------- */
.layers { position: relative; overflow: hidden; color: var(--white); background: var(--forest-2); }
.layers::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 100%, rgba(182, 243, 107, .08), transparent 70%); }
.layers-head { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: end; margin-bottom: 4.5rem; }
.layers-head h2 { margin-top: 1rem; }
.layers-head > div:last-child { display: grid; gap: 1.8rem; justify-items: start; }
.layers-head p { max-width: 520px; color: var(--muted-dark); line-height: 1.7; }
.layer-rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; padding-top: 2.6rem; border-top: 1px solid rgba(255, 255, 255, .18); container-type: inline-size; }
.layer-rail::before { content: ""; position: absolute; left: 0; top: -1px; width: 180px; height: 1px; background: linear-gradient(90deg, transparent, var(--lime), transparent); animation: comet 9s linear infinite; }
@keyframes comet { from { transform: translateX(-180px); } to { transform: translateX(100cqw); } }
.layer { position: relative; }
.layer-node { position: absolute; left: 0; top: calc(-2.6rem - 6px); width: 11px; height: 11px; border-radius: 50%; background: var(--forest-2); border: 1px solid var(--lime); transition: background-color .3s ease, box-shadow .3s ease; }
.layer:hover .layer-node { background: var(--lime); box-shadow: 0 0 0 6px rgba(182, 243, 107, .15); }
.layer-num { display: block; font: 400 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.layer h3 { margin: 1rem 0 1.2rem; font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.layer ul li { padding: .65rem 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #c9d4ce; font-size: .92rem; display: flex; justify-content: space-between; align-items: center; }
.layer ul li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(182, 243, 107, .35); transition: background-color .3s ease, transform .3s var(--ease); }
.layer:hover ul li::after { background: var(--lime); }

/* 8. QUICK FIX ----------------------------------------------------------- */
.problems { background: var(--ivory); }
.problems-head { display: grid; grid-template-columns: 1fr .5fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.problems-head h2 { margin-top: 1rem; }
.problems-head > p { color: var(--muted); line-height: 1.7; }
.problem-cloud { display: flex; flex-wrap: wrap; gap: .7rem; }
.problem-cloud a { display: inline-flex; align-items: center; gap: 1rem; min-height: 50px; padding: 0 1.3rem; border: 1px solid #c9d2c9; border-radius: 999px; background: rgba(255, 255, 255, .5); font-size: .92rem; font-weight: 700; letter-spacing: -.01em; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease); }
.problem-cloud a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-ink); opacity: .6; transition: background-color .25s ease, opacity .25s ease; }
.problem-cloud a:hover { background: var(--forest); color: var(--white); border-color: var(--forest); transform: translateY(-3px); }
.problem-cloud a:hover::after { background: var(--lime); opacity: 1; }

/* 9. PROCESS ------------------------------------------------------------- */
.process { background: var(--sage); }
.process-head { display: grid; grid-template-columns: 1fr .5fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.process-head h2 { margin-top: 1rem; }
.process-head > p { color: var(--muted); line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.step { position: relative; padding-top: 1.4rem; border-top: 1px solid #b3bfb2; transition: border-color .3s ease; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--forest); transition: width .5s var(--ease); }
.step:hover::before { width: 100%; }
.step-num { display: block; font: 400 .72rem/1 var(--mono); letter-spacing: .12em; color: var(--lime-ink); }
.step h3 { margin: 2.6rem 0 .8rem; font-size: 1.5rem; }
.step p { color: var(--muted); font-size: .9rem; line-height: 1.6; max-width: 26ch; }
.principles { margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid #b3bfb2; display: grid; grid-template-columns: 180px 1fr; gap: 2rem; }
.principles-label { font: 400 .7rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--lime-ink); }
.principles ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.principles li { display: grid; gap: .5rem; padding-left: 1rem; border-left: 1px solid #b3bfb2; }
.principles b { font-size: .95rem; letter-spacing: -.02em; }
.principles span { color: var(--muted); font-size: .84rem; line-height: 1.55; }

/* 10. BEYOND SHOPIFY / NOTES / FAQ --------------------------------------- */
.beyond { background: var(--forest); }
.beyond-card { position: relative; overflow: hidden; color: var(--white); display: grid; grid-template-columns: 1.15fr .85fr auto; align-items: center; gap: 3rem 4rem; padding: clamp(2rem, 4vw, 4rem); border: 1px solid var(--line-dark); border-radius: 6px; background: linear-gradient(135deg, #0d2d26, #071c18 70%); }
.beyond-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.beyond-card > * { position: relative; z-index: 1; }
.beyond-card h2 { margin: 1rem 0 1.4rem; font-size: clamp(2.4rem, 4vw, 4rem); }
.beyond-copy > p:last-child { max-width: 520px; color: var(--muted-dark); line-height: 1.7; }
.beyond-list { display: grid; gap: 0; counter-reset: beyond; }
.beyond-list li { counter-increment: beyond; display: flex; align-items: center; gap: 1.2rem; padding: .95rem 0; border-top: 1px solid var(--line-dark); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.beyond-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.beyond-list li::before { content: "0" counter(beyond); font: 400 .7rem/1 var(--mono); color: var(--lime); letter-spacing: .08em; }
.round-link { width: 156px; height: 156px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: var(--lime); color: var(--forest); font-weight: 700; font-size: .84rem; text-align: center; line-height: 1.25; transition: transform .4s var(--ease), background-color .25s ease; }
.round-link .icon { width: 1.1rem; height: 1.1rem; transition: transform .4s var(--ease); }
.round-link:hover { transform: rotate(-6deg) scale(1.04); background: var(--mint); }
.round-link:hover .icon { transform: translate(3px, -3px); }

.insights { background: var(--ivory); }
.insights-head { display: grid; grid-template-columns: 1fr .45fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.insights-head h2 { margin-top: 1rem; }
.insights-head > p { color: var(--muted); line-height: 1.7; }
.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
.note { border: 1px solid var(--line); border-radius: 6px; background: var(--white); overflow: hidden; transition: opacity .7s ease, transform .85s var(--ease), box-shadow .35s ease; }
.note:hover { box-shadow: 0 30px 60px -40px rgba(11, 21, 18, .35); }
.note-visual { position: relative; height: 230px; padding: 1.2rem 1.4rem; overflow: hidden; }
.note-visual > span { font: 400 .68rem/1 var(--mono); letter-spacing: .14em; }
.note-visual b { position: absolute; font-size: 4.6rem; line-height: .85; letter-spacing: -.06em; }
.v-1 { background: #17342d; color: #b7ff76; } .v-1 b { left: 1.4rem; bottom: 1.4rem; font-size: 6rem; }
.v-2 { background: #cdeaa1; color: #17342d; } .v-2 b { right: 1.4rem; bottom: 1.2rem; text-align: center; font-size: 3.6rem; }
.v-3 { background: #83987a; color: #f2ffe3; } .v-3 b { left: 1.4rem; bottom: 1.2rem; font-size: 3.8rem; }
.note-body { padding: 1.5rem 1.5rem 1.6rem; }
.note-topic { margin-bottom: .8rem; font: 400 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--lime-ink); }
.note-body h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -.025em; }
.note-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.is-open > .note-body > .note-panel { grid-template-rows: 1fr; }
.note-panel-inner { min-height: 0; overflow: hidden; }
.note-panel-inner p { color: var(--muted); font-size: .92rem; line-height: 1.65; margin-top: 1rem; }
.note-panel-inner p em { font-style: normal; font-family: var(--mono); font-size: .88em; color: var(--ink-2); }
.note-toggle { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.3rem; padding: .3rem 0; border: 0; border-bottom: 1px solid var(--ink); background: none; font-size: .84rem; font-weight: 700; color: var(--ink); transition: color .25s ease, border-color .25s ease; }
.note-toggle:hover { color: var(--lime-ink); border-color: var(--lime-ink); }
.note-toggle .icon { transition: transform .4s var(--ease); }
.note-toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }

.faq { background: var(--stone); display: grid; grid-template-columns: .42fr .58fr; gap: 5rem; padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--max)) / 2)); }
.faq > * { max-width: none; margin: 0; }
.faq-heading h2 { margin: 1rem 0 1.4rem; }
.faq-heading > p { color: var(--muted); line-height: 1.7; max-width: 30ch; }
.faq-list { border-top: 1px solid #c4cdc5; }
.faq-list details { border-bottom: 1px solid #c4cdc5; }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; transition: color .25s ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--lime-ink); }
.faq-list summary span { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #b8c3b8; border-radius: 50%; transition: transform .4s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease; }
.faq-list summary span svg { width: 14px; height: 14px; }
.faq-list details[open] summary span { transform: rotate(45deg); background: var(--forest); border-color: var(--forest); color: var(--white); }
.faq-body { max-width: 620px; padding: 0 3rem 1.6rem 0; color: var(--muted); line-height: 1.7; animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 11. CONTACT & FOOTER --------------------------------------------------- */
.contact { position: relative; background: var(--lime); container-type: inline-size; }
.contact-split { display: grid; grid-template-columns: minmax(0, 45.6%) minmax(0, 1fr); align-items: stretch; }
/* Both columns pad out to the same content edges as the rest of the page (site max-width + gutter) */
.contact-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 7rem 3rem 4rem max(var(--gutter), calc((100cqw - 1175px) / 2)); }
.contact-panel { background: var(--ivory); padding: 7rem var(--gutter) 4rem clamp(2rem, 4vw, 4.5rem); }
.contact-copy h2 { margin: 1.4rem 0 1.6rem; max-width: 9.5ch; }
.contact-copy h2 em { color: #3d6224; }
.contact-copy > p { max-width: 390px; color: #2f4a22; line-height: 1.7; font-size: .92rem; }
.contact-confidence { margin-top: 1.4rem; font-weight: 700; color: var(--forest); }
.contact-points { margin-top: 2.4rem; display: grid; gap: .6rem; }
.contact-points li { display: flex; align-items: center; gap: .8rem; font-size: .78rem; font-weight: 700; color: var(--forest); }
.contact-points li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.8 2.7L12 5' fill='none' stroke='%23b6f36b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.contact-direct { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: .4rem; }
.contact-direct span { font: 400 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .13em; color: #4f6c38; }
.contact-direct a { align-self: flex-start; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid rgba(7, 28, 24, .35); transition: border-color .25s ease; }
.contact-direct a:hover { border-color: var(--forest); }
.project-form { max-width: 510px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.project-form label > span, .project-form legend { display: block; margin-bottom: .6rem; font: 400 .66rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .11em; color: var(--ink-2); }
.project-form label > span small { color: #667069; text-transform: none; letter-spacing: 0; font-size: 1em; }
.project-form > label, .project-form fieldset, .project-form .field-row { display: block; margin-bottom: 1.25rem; }
.project-form .field-row { display: grid; }
.project-form input:not([type=radio]), .project-form textarea, .project-form select { width: 100%; padding: .7rem 0; border: 0; border-bottom: 1px solid #c6cec6; border-radius: 0; background: transparent; color: var(--ink); outline: none; transition: border-color .25s ease; font-size: .86rem; }
.project-form input::placeholder, .project-form textarea::placeholder { color: #727c76; opacity: 1; }
.project-form select.is-placeholder { color: #727c76; }
.project-form select option { color: var(--ink); }
.project-form input:focus, .project-form textarea:focus, .project-form select:focus { border-bottom-color: var(--forest); }
.project-form :is(input, textarea, select):focus-visible { outline: none; }
.project-form input:user-invalid, .project-form textarea:user-invalid { border-bottom-color: #b4432b; }
.project-form textarea { resize: vertical; min-height: 105px; line-height: 1.5; }
.project-form select { -webkit-appearance: none; appearance: none; padding-right: 1.6rem; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230b1512' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 14px no-repeat; }
.project-form fieldset { border: 0; padding: 0; min-width: 0; margin: 0 0 1.6rem; }
.project-form label.flash select { animation: field-flash 1.2s ease; }
@keyframes field-flash { 0%, 100% { border-bottom-color: #c6cec6; } 35% { border-bottom-color: var(--forest); box-shadow: 0 1px 0 var(--forest); } }
.button-dark { width: 100%; margin-top: .6rem; }
.form-note { margin-top: .9rem; text-align: center; color: #667069; font-size: .74rem; }
.form-status { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 4px; background: #dff0c8; color: #2d4726; font-size: .84rem; }

.footer { padding: 5rem var(--gutter) 2rem; color: var(--white); background: #061612; }
.footer-top { max-width: var(--max); margin: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: start; padding-bottom: 4.5rem; }
/* Large brand statement — inherits the site's display weight/tracking from h2; em picks up the existing lime rule */
.footer-statement { max-width: 11ch; margin: 2.6rem 0 0; font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: .94; letter-spacing: -.045em; }
.footer-brand p:not(.footer-statement) { max-width: 320px; margin: 2rem 0 1.2rem; color: #899b92; font-size: .9rem; line-height: 1.6; }
.footer-mail { font-weight: 700; font-size: .95rem; border-bottom: 1px solid rgba(255, 255, 255, .25); transition: border-color .25s ease, color .25s ease; }
.footer-mail:hover { color: var(--lime); border-color: var(--lime); }
.footer-links { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 3rem; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.footer-links p { margin-bottom: .4rem; font: 400 .64rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--lime); }
.footer-links a { color: #aab8b1; font-size: .84rem; transition: color .25s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max); margin: auto; padding-top: 1.8rem; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; color: #73857c; font-size: .74rem; }
.footer-bottom div { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--white); }
.to-top { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: .5rem; }
.to-top .icon { transition: transform .35s var(--ease); }
.to-top:hover .icon { transform: translateY(-3px); }

/* 12. RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1240px) {
  .service-toggle { grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, .8fr) 50px; gap: 1.5rem; }
  .service-tags span:nth-child(4) { display: none; }
  .service-panel-inner { padding-left: calc(56px + 1.5rem); grid-template-columns: minmax(0, 1fr) 270px; }
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .desktop-nav, .header-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; justify-self: end; width: 44px; height: 44px; margin-right: -8px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 22px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  /* height uses viewport units on purpose: the blurred header is a containing block for fixed descendants */
  .mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 99; overflow: auto; background: var(--forest); border-top: 1px solid var(--line-dark); }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; padding: 1rem 28px 2.5rem; }
  .mobile-menu-inner > a { display: flex; align-items: baseline; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; color: var(--white); opacity: 0; transform: translateY(14px); animation: menu-in .5s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 40ms); }
  .mobile-menu-inner > a span { font: 400 .7rem/1 var(--mono); color: var(--lime); letter-spacing: .1em; }
  .mobile-menu-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1.2rem; justify-items: start; opacity: 0; animation: menu-in .5s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 60ms); }
  .mobile-menu-mail { color: #aab8b1; font-size: .95rem; }
  @keyframes menu-in { to { opacity: 1; transform: none; } }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 3.5rem; gap: 3.5rem; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(3.4rem, 6.3vw, 6.6rem); }
  .section-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading, .work-heading, .layers-head, .problems-head, .process-head, .insights-head { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 3rem; }
  .section-heading > p, .work-heading > p, .layers-head p, .problems-head > p, .process-head > p, .insights-head > p { max-width: 560px; }
  .service-toggle { grid-template-columns: 48px minmax(0, 1fr) 46px; }
  .service-tags { display: none; }
  .service-panel-inner { padding-left: calc(48px + 1.5rem); grid-template-columns: minmax(0, 1fr) 260px; gap: 2rem 2.5rem; }
  .layer-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.5rem; }
  .layer:nth-child(n+3) { padding-top: 2.6rem; border-top: 1px solid rgba(255, 255, 255, .18); }
  .layer:nth-child(n+3) .layer-node { top: -6px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .step h3 { margin-top: 1.8rem; }
  .principles { grid-template-columns: 1fr; gap: 1.4rem; }
  .principles ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
  .beyond-card { grid-template-columns: 1fr 1fr; }
  .beyond-card .round-link { grid-column: 2; justify-self: end; }
  .note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-copy { padding-right: clamp(1.5rem, 3vw, 3rem); }
  .contact-panel { padding-left: clamp(1.5rem, 3vw, 3rem); }
  .footer-top { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer-statement { margin-top: 2.2rem; }
  .tp-info { grid-template-columns: 1fr; gap: .8rem; }
  .tp-info-actions { justify-content: flex-start; }
  .platform-field { width: min(680px, 100%); height: auto; justify-self: center; display: flex; justify-content: center; align-items: flex-start; gap: clamp(2.5rem, 8vw, 5rem); padding: 1.5rem 0 .5rem; }
  .platform { position: static; transform: none; animation: none; }
  .platform::before { display: none; }
  .platform-links { display: none; }
  .platform-shopify, .platform-wordpress, .platform-woocommerce { --mark: 84px; }
  .platform-shopify .platform-mark { filter: drop-shadow(0 0 28px rgba(182, 243, 107, .2)); }
  .platform-woocommerce { --mark: 150px; }
  .platform-woocommerce .platform-mark { height: calc(var(--mark) * .225); margin: calc(42px - var(--mark) * .1125) 0; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beyond-card { grid-template-columns: 1fr; gap: 2rem; }
  .beyond-card .round-link { grid-column: auto; justify-self: end; }
  .tp-toolbar { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .tp-count { text-align: left; }
  .tp-modal { width: calc(100vw - 1rem); height: calc(100dvh - 1rem); border-radius: 10px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-copy { padding: var(--section-y) var(--gutter) 3.2rem; }
  .contact-copy h2 { max-width: none; }
  .contact-copy > p { max-width: 560px; }
  .contact-direct { margin-top: 2.4rem; padding-top: 0; }
  .contact-panel { padding: 3rem var(--gutter) var(--section-y); }
  .project-form { max-width: none; }
}

@media (max-width: 720px) {
  :root { --section-y: 4.5rem; --gutter: 20px; }
  .header-inner { padding: 0 20px; }
  .brand-logo { --logo-w: 128px; }
  .footer-brand .brand-logo { --logo-w: 176px; }
  .mobile-menu-inner { padding: .6rem 20px 2rem; }
  h2 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  h3 { font-size: 1.3rem; }
  .button { min-height: 52px; padding: 0 1.4rem; font-size: .88rem; }
  .hero-inner { padding: 2.8rem 20px calc(60px + 3rem); gap: 3rem; }
  .hero h1 { margin: 1.3rem 0 1.2rem; font-size: clamp(2.6rem, 11.5vw, 4.6rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { margin-top: 1.8rem; gap: 1rem 1.6rem; }
  .hero-disciplines { margin-top: 2rem; font-size: .64rem; }
  .hero-disciplines li + li::before { margin: 0 .6rem; }
  .eyebrow { font-size: .62rem; letter-spacing: .1em; }
  .ticker-track { min-height: 58px; font-size: .62rem; gap: 1.6rem; }
  .intro-statement h2 { margin-bottom: 2.2rem; max-width: none; }
  .intro-detail { grid-template-columns: 1fr; gap: 2rem; padding-top: 1.8rem; }
  .intro-facts > div { grid-template-columns: 6rem 1fr; }
  .service-toggle { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: .9rem; padding: 1.3rem 0; }
  .service-name { font-size: 1.2rem; }
  .service-summary { font-size: .86rem; }
  .service-icon { width: 40px; height: 40px; }
  .service-icon svg { width: 14px; height: 14px; }
  .service-panel-inner { padding-left: 0; grid-template-columns: 1fr; gap: 1.2rem; }
  .is-open .service-panel-inner { padding-bottom: 1.8rem; }
  .capabilities { grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
  .capabilities li { font-size: .84rem; padding: .5rem 0 .5rem 1rem; }
  .capabilities li::before { top: .95rem; }
  .mini-ui { display: none; }
  .layer-rail { grid-template-columns: 1fr; gap: 0; padding-top: 0; border-top: 0; }
  .layer-rail::before { display: none; }
  .layer { padding: 1.8rem 0 1.8rem 1.6rem; border-left: 1px solid rgba(255, 255, 255, .18); }
  .layer:nth-child(n+3) { padding-top: 1.8rem; border-top: 0; }
  .layer-node, .layer:nth-child(n+3) .layer-node { top: 1.9rem; left: -6px; }
  .layer h3 { margin: .6rem 0 .8rem; font-size: 1.5rem; }
  .layer ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
  .layer ul li { font-size: .86rem; padding: .5rem 0; }
  .problem-cloud { gap: .5rem; }
  .problem-cloud a { min-height: 44px; padding: 0 1rem; font-size: .84rem; gap: .7rem; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 3.2rem 1fr; gap: .2rem 1rem; padding: 1.2rem 0; }
  .step-num { grid-row: 1 / 3; padding-top: .35rem; }
  .step h3 { margin: 0; font-size: 1.25rem; }
  .step p { max-width: none; font-size: .86rem; }
  .principles { margin-top: 2.5rem; }
  .principles ul { grid-template-columns: 1fr; gap: 0; }
  .principles li { grid-template-columns: 1fr; padding: .9rem 0; border-left: 0; border-top: 1px solid #b3bfb2; }
  .principles span { font-size: .84rem; }
  .beyond-card { padding: 1.8rem 1.4rem; }
  .beyond-card h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .beyond-list { grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
  .beyond-list li { font-size: .9rem; padding: .8rem 0; }
  .beyond-list li:nth-last-child(2) { border-bottom: 1px solid var(--line-dark); }
  .round-link { width: 128px; height: 128px; font-size: .78rem; }
  .note-grid { grid-template-columns: 1fr; gap: .8rem; }
  .note { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
  .note-visual { height: auto; min-height: 100%; padding: .7rem .6rem; }
  .note-visual > span { display: none; }
  .note-visual b { font-size: 1.5rem; letter-spacing: -.04em; }
  .v-1 b { left: .6rem; bottom: .7rem; font-size: 1.9rem; } .v-2 b { right: .6rem; bottom: .7rem; font-size: 1.15rem; } .v-3 b { left: .6rem; bottom: .7rem; font-size: 1.2rem; }
  .note-body { padding: 1.1rem 1.1rem 1.2rem; }
  .note-body h3 { font-size: 1.05rem; }
  .note-toggle { margin-top: .9rem; font-size: .8rem; }
  .faq-list summary { padding: 1.2rem 0; font-size: .98rem; gap: 1rem; }
  .faq-body { padding-right: 1rem; }
  .contact-copy h2 { margin-top: 1.1rem; }
  .contact-copy { padding-bottom: 2.6rem; }
  .contact-panel { padding-top: 2.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .project-form .field-row { margin-bottom: 0; }
  .project-form .field-row > label { margin-bottom: 1.5rem; }
  .footer { padding: 3.5rem var(--gutter) 1.6rem; }
  .footer-top { gap: 2.5rem; padding-bottom: 3rem; }
  .footer-statement { margin-top: 1.8rem; }
  .footer-brand p:not(.footer-statement) { margin-top: 1.4rem; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.5rem; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 1rem; }
  .footer-bottom div { display: none; }
  .to-top { grid-column: 2; }
  .work-heading { margin-bottom: 1.6rem; }
  .tp-toolbar { padding-top: 1.2rem; margin-bottom: 1.4rem; }
  .tp-filters-wrap { width: calc(100% + 40px); margin: 0 -20px; padding: 2px 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); }
  .tp-filters-wrap::-webkit-scrollbar { display: none; }
  .tp-filters { flex-wrap: nowrap; }
  .tp-chip { min-height: 38px; font-size: .8rem; }
  .tp-grid { grid-template-columns: 1fr !important; gap: 1.2rem; }
  .tp-body { flex-direction: column; gap: .5rem; padding: 1rem 1.05rem 1.1rem; }
  .tp-title { font-size: 1.1rem; }
  .tp-empty { padding: 2rem 1rem; }
  .tp-modal { width: 100vw; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
  .tp-bar { height: 50px; padding: 0 .6rem 0 .9rem; gap: .6rem; }
  .tp-dots { display: none; }
  .tp-open { padding: 0 .7rem; font-size: .74rem; }
  .tp-tabs-row { padding: .55rem .9rem; gap: .7rem; }
  .tp-tabs-label, .tp-tabs-hint { display: none; }
  .tp-tab { height: 34px; padding: 0 .8rem; font-size: .78rem; }
  .tp-stage.is-mobile .tp-stage-inner { padding: .9rem .8rem; }
  .tp-phone { aspect-ratio: auto; width: min(100%, 420px); border-radius: 26px; padding: 7px; }
  .tp-phone-screen { border-radius: 20px; }
  .tp-info { padding: .8rem .9rem; gap: .6rem; }
  .tp-info-body { display: none; }
  .tp-info.is-open .tp-info-body { display: block; }
  .tp-info-actions { display: grid; grid-template-columns: auto 1fr; gap: .6rem; }
  .tp-info-toggle { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: transparent; color: var(--white); font-size: .82rem; font-weight: 700; }
  .tp-info-toggle .icon { transition: transform .35s var(--ease); }
  .tp-info-toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
  .tp-info .button { min-height: 44px; width: 100%; font-size: .82rem; padding: 0 1rem; }
  .tp-modal-title { font-size: 1rem; margin-bottom: .2rem; }
  .tp-summary { -webkit-line-clamp: 4; }
  .hero-inner { gap: 2.2rem; }
  .platform-field { gap: clamp(1.4rem, 7vw, 2.8rem); padding: .4rem 0 0; }
  .platform { gap: .8rem; }
  .platform-shopify, .platform-wordpress { --mark: 56px; }
  .platform-woocommerce { --mark: 104px; }
  .platform-woocommerce .platform-mark { margin: calc(28px - var(--mark) * .1125) 0; }
  .platform-name { font-size: .56rem; letter-spacing: .12em; }
  .platform-name small { display: none; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: clamp(2.2rem, 11.5vw, 3.2rem); }
  .problem-cloud a { font-size: .8rem; }
  .capabilities li { font-size: .8rem; }
  .intro-facts > div { grid-template-columns: 1fr; gap: .25rem; }
  .platform-shopify, .platform-wordpress { --mark: 48px; }
  .platform-woocommerce { --mark: 90px; }
  .platform-woocommerce .platform-mark { margin: calc(24px - var(--mark) * .1125) 0; }
}

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .layer-rail::before, .platform { animation: none; }
  .tp-stage-inner { transition: none; }
}

@media print {
  .site-header, .ticker, .hero-bg, .menu-toggle, .tp-modal { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .service-panel, .note-panel { grid-template-rows: 1fr !important; }
}

/* Taste refinement: preserve the original composition and brand typography.
   Existing Instrument Serif is retained as part of this design's identity.
   Scope: navbar and hero only. Interactive controls retain the pill radius. */
:root { --header-h: 80px; }
.site-header { background: rgba(7, 28, 24, .94); }
.header-inner { position: relative; padding-inline: 40px; }
.header-inner::after { content: ""; position: absolute; bottom: 0; left: 40px; right: 40px; height: 1px; background: rgba(216, 227, 218, .14); }
.site-header.scrolled { background: rgba(7, 28, 24, .97); border-bottom-color: transparent; }
.site-header .brand-logo { --logo-w: 184px; }
.desktop-nav { gap: 30px; color: #b9c9c1; font-size: .85rem; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
.desktop-nav a::after { bottom: 5px; }
.header-cta { min-height: 44px; padding-inline: 20px; gap: 18px; border-color: rgba(216, 227, 218, .32); font-size: .82rem; }
.header-cta:active, .hero .button:active { transform: translateY(1px); }
.hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: clamp(660px, 83vh, 860px); padding: 60px 40px 120px; gap: 32px; }
.hero .eyebrow { color: #c3d5ca; font-size: .65rem; letter-spacing: .12em; line-height: 1.6; }
.hero .eyebrow .dot { width: 5px; height: 5px; flex: none; box-shadow: none; color: var(--lime); }
.hero h1 { margin: 24px 0; font-size: clamp(3.3rem, 5.55vw, 5rem); line-height: 1.04; letter-spacing: -.045em; }
.hero h1 em { line-height: 1.1; }
.hero-lede { max-width: 460px; font-size: 1rem; line-height: 1.75; color: #b9c9c1; }
.hero-actions { margin-top: 28px; gap: 28px; }
.hero .button-lime { padding-inline: 25px; min-height: 54px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.hero .button-lime:hover { box-shadow: 0 6px 22px -12px rgba(182, 243, 107, .4); }
.hero .text-link { min-height: 44px; font-size: .85rem; border-color: rgba(216, 227, 218, .35); }
.hero-disciplines { margin-top: 32px; color: #a5b8ad; font-size: .63rem; line-height: 1.5; letter-spacing: .07em; }
.hero-disciplines li + li::before { width: 2px; height: 2px; margin-inline: .6rem; background: #a5b8ad; }
.hero .availability { color: #a5b8ad; }
.hero .availability span { animation: none; box-shadow: none; }
.hero-grid { opacity: .4; background-size: 88px 88px; }
.hero-glow { opacity: .55; }
.hero .platform-field { height: 480px; }
.hero .platform { animation: none; }
.hero .platform-mark { color: #d8e3da; opacity: .68; }
.hero .platform-shopify { left: 33%; top: 46%; --mark: 158px; }
.hero .platform-shopify .platform-mark { opacity: .92; color: var(--lime); filter: none; }
.hero .platform-wordpress { left: 77%; top: 23%; --mark: 92px; }
.hero .platform-woocommerce { left: 76%; top: 76%; --mark: 146px; }
.hero .platform-name { color: #b9c9c1; font-size: .65rem; letter-spacing: .08em; line-height: 1.3; }
.hero .platform-name small { color: #a5b8ad; font-size: .65rem; letter-spacing: .03em; }
.hero .platform-links { opacity: .6; }
.hero .platform-field:hover .platform-mark { opacity: .85; }
.hero .ticker { background: rgba(216, 227, 218, .018); }
.hero .ticker-track { min-height: 58px; font-size: .65rem; letter-spacing: .1em; color: #a5b8ad; }
.hero .ticker-track i { width: 3px; height: 3px; opacity: .65; }
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 48px 40px 104px; gap: 44px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(3.4rem, 6.3vw, 5rem); }
  .hero .platform-field { height: auto; padding: 26px 0 0; border-top: 1px solid var(--line-dark); }
  .hero .platform-shopify, .hero .platform-wordpress { --mark: 64px; }
  .hero .platform-woocommerce { --mark: 120px; }
  .hero .platform-woocommerce .platform-mark { margin: calc(32px - var(--mark) * .1125) 0; }
}
@media (max-width: 620px) {
  .header-inner { padding-inline: 24px; }
  .header-inner::after { left: 24px; right: 24px; }
  .site-header .brand-logo { --logo-w: 168px; }
  .hero-inner { padding: 38px 24px 92px; gap: 32px; }
  .hero .eyebrow { font-size: .6rem; letter-spacing: .07em; }
  .hero h1 { margin-block: 22px; font-size: clamp(2.5rem, 10.7vw, 4rem); }
  .hero-lede { font-size: .95rem; line-height: 1.7; }
  .hero-actions { margin-top: 24px; gap: 14px 24px; }
  .hero .button-lime { min-height: 52px; padding-inline: 22px; }
  .hero-disciplines { margin-top: 26px; gap: 8px 0; }
  .hero .platform-field { width: 100%; gap: 24px; justify-content: space-between; }
  .hero .platform-shopify, .hero .platform-wordpress { --mark: 48px; }
  .hero .platform-woocommerce { --mark: 90px; }
  .hero .platform-woocommerce .platform-mark { margin: calc(24px - var(--mark) * .1125) 0; }
  .hero .platform-name { font-size: .56rem; letter-spacing: .04em; }
  .hero .platform-name small { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .site-header.scrolled { background: var(--forest); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Navbar ported from /Desktop/nexfold: compact floating glass capsule. */
@font-face { font-family: "Outfit Navigation"; src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
.site-header, .site-header.scrolled {
  top: 18px; left: 0; right: 0; padding: 0 18px; display: flex; justify-content: center;
  background: transparent; border: 0; pointer-events: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  color: #1c2419; font-family: "Outfit Navigation", sans-serif; --focus: #3b642c;
}
.site-header .header-inner {
  pointer-events: auto; position: relative; isolation: isolate; width: max-content; max-width: 100%; height: auto;
  min-height: 58px; display: flex; align-items: center; gap: 8px; margin: 0;
  background: rgba(244,247,238,.46); backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.48); border-radius: 999px; padding: 6px 6px 6px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), inset 0 -1px 0 rgba(28,36,25,.08), 0 16px 40px rgba(10,22,16,.22);
}
.site-header .header-inner::after { display: none; }
.site-header .header-inner::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg,rgba(255,255,255,.38),transparent 46%); }
.site-header .header-inner > * { position: relative; z-index: 1; }
.site-header.scrolled .header-inner { background: rgba(244,247,238,.62); border-color: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.7),0 12px 32px rgba(10,22,16,.16); }
.site-header .brand { width: 124px; min-height: 44px; display: flex; align-items: center; flex-shrink: 0; }
.site-header .brand-logo { --logo-w: 124px; }
.site-header .desktop-nav { display: flex; gap: 2px; align-items: center; font-size: 13px; color: #1c2419; }
.site-header .desktop-nav a { min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 600; transition: background .28s ease,color .28s ease; }
.site-header .desktop-nav a::after { display: none; }
.site-header .desktop-nav a:hover { color: #1c2419; background: rgba(28,36,25,.06); }
.site-header .desktop-nav a.is-active { color: #3b642c; background: rgba(59,100,44,.1); }
.site-header .header-cta { display: inline-flex; background: transparent; border: 1px solid #c5cebb; color: #1c2419; min-height: 44px; padding: 4px 6px 4px 16px; gap: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-header .header-cta .arr { width: 32px; height: 32px; border-radius: 50%; background: #d7e6c4; color: #1c2419; place-items: center; }
.site-header .header-cta .arr svg { width: 16px; height: 16px; }
.site-header .header-cta .arr svg:last-child { transform: translate(-32px,32px); }
.site-header .header-cta:hover { background: #1c2419; color: #f4f7ee; border-color: #1c2419; }
.site-header .header-cta:hover .arr svg:first-child { transform: translate(32px,-32px); }
.site-header .header-cta:hover .arr svg:last-child { transform: none; }
.site-header :is(a,button):focus-visible { outline: 2px solid #1c2419; outline-offset: 3px; }
.site-header .menu-toggle { display: none; }
@media (max-width: 1080px) {
  .site-header .header-inner { width: min(100%,520px); min-height: 56px; justify-content: space-between; padding: 6px 6px 6px 16px; }
  .site-header .brand { width: 128px; }
  .site-header .brand-logo { --logo-w: 128px; }
  .site-header .desktop-nav, .site-header .header-cta { display: none; }
  .site-header .menu-toggle { display: flex; position: relative; margin: 0; width: 44px; height: 44px; border: 1px solid #c5cebb; border-radius: 50%; background: transparent; }
  .site-header .menu-toggle span { position: absolute; left: 50%; margin-left: -8px; width: 16px; height: 1.5px; background: #1c2419; }
  .site-header .menu-toggle span:first-child { transform: translateY(-3px); }
  .site-header .menu-toggle span:last-child { transform: translateY(3px); }
  .site-header .menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .site-header .menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  /* Original full-screen mobile navigation, outside the floating header shell. */
  .site-header .mobile-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    z-index: 99; overflow: auto; background: var(--forest);
    border-top: 1px solid var(--line-dark); pointer-events: auto;
    font-family: var(--sans); color: var(--white);
  }
  .site-header .mobile-menu :is(a, button):focus-visible { outline-color: var(--lime); }

}
@media (prefers-reduced-transparency: reduce) { .site-header .header-inner, .site-header.scrolled .header-inner { background: #f4f7ee; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* Full-site polish: prioritize content over repeated decorative treatments. */
.reveal { opacity: 1; transform: none; }
.hero-inner { min-height: 660px; padding-bottom: 64px; }
.hero .availability { margin-top: 28px; }
.hero-grid { display: none; }
.hero-glow { display: none; }
@media (max-width: 767px) {
  .hero-bg { background-position: 72% center; background-image: linear-gradient(rgba(7, 28, 24, .65), rgba(7, 28, 24, .45)), url('assets/hero/nexfold-optical-v2.webp'); }
}
.hero .platform-links { display: none; }
.section { --section-y: clamp(64px, 7vw, 104px); }
.kicker { font-family: var(--sans); font-size: .85rem; text-transform: none; letter-spacing: 0; font-weight: 700; }
.service::before, .layers::before, .layer-rail::before, .layer-node, .layer-num, .layer ul li::after { display: none; }
.service-toggle { grid-template-columns: 40px minmax(0,1fr) 44px; gap: 24px; padding-block: 24px; }
.service-tags { display: none; }
.service-summary { max-width: 680px; }
.service-panel-inner { grid-template-columns: 1fr; padding-left: 64px; }
.capabilities { grid-template-columns: repeat(3,minmax(0,1fr)); }
.layer-rail { padding-top: 24px; }
.layer h3 { margin-top: 0; }
.layer ul li { border: 0; padding-block: 7px; }
.layers-head { margin-bottom: 40px; }
.problem-cloud { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 32px; }
.problem-cloud a { justify-content: space-between; padding: 16px 0; min-height: 56px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-weight: 400; }
.problem-cloud a::after { display: none; }
.problem-cloud a > .icon { width: 14px; height: 14px; flex-shrink: 0; }
.problem-cloud a:hover { transform: none; color: var(--lime-ink); background: transparent; border-color: var(--lime-ink); }
.problem-cloud a:hover::after { background: currentColor; }
.process { background: var(--ivory); border-top: 1px solid var(--line); }
.process-head, .insights-head, .work-heading { grid-template-columns: 1fr; gap: 20px; }
.process-head > p, .insights-head > p, .work-heading > p { max-width: 640px; }
.step h3 { margin-top: 20px; }
.principles { gap: 24px; }
.principles ul { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.beyond-card { padding: 0; border: 0; border-radius: 0; background: none; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; }
.beyond-card::after { display: none; }
.beyond-list li::before { display: none; }
.beyond-card .round-link { grid-column: 1; justify-self: start; width: auto; height: auto; min-height: 48px; padding: 12px 22px; border-radius: 999px; flex-direction: row; gap: 16px; }
.beyond-card .round-link:hover { transform: translateY(-2px); }
.note-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.note { display: block; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.note:hover { box-shadow: none; }
.note-body { display: grid; grid-template-columns: 140px minmax(0,1fr) 140px; column-gap: 40px; align-items: start; padding: 28px 0; }
.note-topic { font-family: var(--sans); font-size: .85rem; text-transform: none; letter-spacing: 0; margin: 4px 0 0; }
.note-body h3 { font-size: 1.5rem; line-height: 1.3; max-width: 34ch; }
.note-toggle { grid-column: 3; grid-row: 1; justify-self: end; min-height: 44px; margin: 0; }
.note-panel { grid-column: 2; grid-row: 2; }
.note-panel-inner p { font-size: 1rem; line-height: 1.7; }
.contact-copy h2 { max-width: 12ch; font-size: clamp(3rem, 4.5vw, 4.25rem); }
.project-form :is(input,textarea,select):focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.footer-statement { font-size: clamp(2.5rem,4vw,4rem); }
.footer-links a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-bottom { color: #a5b8ad; }
@media (max-width: 1080px) {
 .hero-inner { min-height: 0; padding-bottom: 48px; }
 .principles ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .note-body { grid-template-columns: 110px minmax(0,1fr) 130px; gap: 24px; }
}
@media (max-width: 680px) {
 .hero-inner { padding-bottom: 40px; }
 .service-toggle { grid-template-columns: 24px minmax(0,1fr) 40px; gap: 12px; }
 .service-name { font-size: 1.2rem; line-height: 1.25; }
 .service-panel-inner { padding-left: 36px; }
 .capabilities { grid-template-columns: 1fr; }
 .problem-cloud { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
 .problem-cloud a { gap: 12px; font-size: .9rem; }
 .problem-cloud a::after { flex-shrink: 0; }
 .principles ul { grid-template-columns: 1fr; }
 .beyond-card { grid-template-columns: 1fr; gap: 28px; }
 .note-body { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
 .note-body h3 { font-size: 1.3rem; }
 .note-panel { grid-column: 1; grid-row: 3; }
 .note-toggle { grid-column: 1; grid-row: 4; justify-self: start; }
 .note-topic { margin: 0; }
 .footer-links a { min-height: 44px; }
}

/* Hero: commerce imagery and the site's Instrument Sans display typography. */
.hero-bg { background: #071c18; }
.hero h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -.055em; line-height: 1.08; }
.hero h1 em { font-family: inherit; font-weight: inherit; line-height: inherit; }
.hero-visual { min-width: 0; align-self: center; }
.hero-commerce-image { display: block; width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; object-position: right center; }
.hero .platform-field { display: flex; height: auto; padding: 24px 0 0; gap: 24px; justify-content: space-around; align-items: center; border-top: 0; }
.hero .platform { position: static; transform: none; gap: 12px; flex: 1; }
.hero .platform::before { display: none; }
.hero .platform-shopify, .hero .platform-wordpress { --mark: 40px; }
.hero .platform-woocommerce { --mark: 94px; }
.hero .platform-woocommerce .platform-mark { margin: calc(20px - var(--mark) * .1125) 0; }
.hero .platform-name { font-size: .56rem; }
.hero .platform-name small { display: none; }
@media (max-width: 1080px) {
 .hero-visual { width: min(100%, 620px); justify-self: center; }
 .hero-commerce-image { aspect-ratio: 1.3; }
}
@media (max-width: 620px) {
 .hero h1 { font-size: clamp(2.4rem, 10.5vw, 4rem); letter-spacing: -.05em; }
 .hero .platform-field { padding-top: 20px; gap: 12px; }
}

/* Design-proof hero with platform marks in the quiet left-hand copy area. */
.hero-static { background: #071c18; }
.hero-static .hero-inner { min-height: 570px; padding-top: 40px; padding-bottom: 28px; }
.hero-static .hero-bg { background: #071c18; }
.hero-static-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-static .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,28,24,.8) 0%, rgba(7,28,24,.72) 38%, rgba(7,28,24,.35) 55%, transparent 75%), linear-gradient(0deg, #071c18 0%, rgba(7,28,24,.2) 22%, transparent 48%); }
.hero-platform-inline { display: flex; align-items: center; gap: 24px; width: max-content; max-width: 100%; margin: 22px 0 0; padding: 15px 0 0; border-top: 1px solid rgba(216,227,218,.22); list-style: none; }
.hero-platform-inline li { display: inline-flex; align-items: center; gap: 7px; color: #eef3ed; font: 600 .78rem/1.2 var(--sans); white-space: nowrap; }
.hero-platform-icon { display: block; width: 26px; height: 26px; flex: none; fill: currentColor; color: #eef3ed; }
.hero-platform-shopify { color: var(--lime); }
.hero-platform-woocommerce { width: 120px; height: 27px; }
.hero-static .availability { margin-top: 20px; }
@media (max-width: 1080px) {
 .hero-static .hero-bg { display: none; }
 .hero-static .hero-visual { width: 100%; max-width: 680px; padding-bottom: 0; }
 .hero-static .hero-visual::before { content: ""; display: block; height: clamp(260px, 50vw, 400px); background: url('assets/hero/design-proofs-clear-v5.webp') right center / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent); }
}
@media (max-width: 620px) {
 .hero-platform-inline { gap: 13px; margin-top: 20px; padding-top: 14px; }
 .hero-platform-inline li { gap: 4px; font-size: .66rem; }
 .hero-platform-icon { width: 21px; height: 21px; }
 .hero-platform-woocommerce { width: 87px; height: 23px; }
}
