/* Geist, Latin subset, one variable file (400 to 700). The fallback face is sized to Geist so the swap does not shift the layout. */
@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 101%; ascent-override: 100%; descent-override: 30%; line-gap-override: 0%; }

/* Black and white base; logo colours (ivory, sage, slate) only mark what matters. Mapped onto TWP Builder's --twp-* vars. */
:root {
  --ring: var(--fg); --ease: cubic-bezier(.2, .7, .2, 1);
  --lift: 0 18px 36px -18px rgba(0,0,0,.3);
  --bg: #FFFFFF; --fg: #000000; --soft: #F4F4F4; --line: #E6E6E6; --muted: #6B6B6B;
  --ivory: #FFFBE6; --sage: #D5DDD7; --slate: #76858C; --charcoal: #30363E;
  --block: #000000;
  --twp-accent: var(--fg); --twp-ink: var(--fg); --twp-paper: var(--bg); --twp-line: var(--line); --twp-muted: var(--muted);
}
:root[data-theme="dark"] { --bg: #000000; --fg: #FFFFFF; --soft: #111111; --line: #262626; --muted: #9A9A9A; --block: #161616; --lift: 0 18px 40px -16px rgba(255,255,255,.18); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html:has(:focus-visible) { scroll-behavior: auto; } /* keyboard focus scrolls instantly */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.55 "Geist", "Geist Fallback", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
/* the ring follows the surface it sits on: white on black blocks, black on ivory */
.on-black, .svc--dark, .plan--pick, .t-pos, .site-footer, .till, .cs-quote, .way--main, .pos-block, .trust { --ring: #fff; }
.svc--ivory, .t-seo, .cs-card, .stat:first-child { --ring: #000; }
.cs-card:nth-child(2n) { --ring: var(--fg); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 500; transform: translateY(-250%); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
h1 { font-size: clamp(46px, 8.4vw, 124px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--muted); }
.ph { outline: 1px dashed var(--slate); outline-offset: 2px; border-radius: 4px; } /* placeholder content */

/* icons: one inline sprite, drawn with currentColor */
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--fg); }

/* buttons: on hover a layer sweeps up and inverts the fill (--sw = layer colour, --swfg = text colour on it) */
.btn { --sw: var(--bg); --swfg: var(--fg); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 500; border: 1px solid var(--fg); transition: color .2s var(--ease), border-color .2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--sw); transform: translateY(101%); transition: transform .22s var(--ease); }
.btn .i { width: 18px; height: 18px; }
button.btn { font: inherit; font-weight: 500; cursor: pointer; } /* <button> does not inherit the page font by default */
.btn--fill { background: var(--fg); color: var(--bg); }
.btn--line { --sw: var(--fg); --swfg: var(--bg); }
.btn--ivory { --sw: var(--block); --swfg: var(--ivory); background: var(--ivory); color: #000; border-color: var(--ivory); }
.on-black .btn--line { border-color: #fff; color: #fff; --sw: #fff; --swfg: #000; }
@media (hover: hover) {
  :is(.btn:hover, a:hover span.btn)::before { transform: none; }
  :is(.btn:hover, a:hover span.btn) { color: var(--swfg); }
}
.btn:focus-visible::before { transform: none; }
.btn:focus-visible { color: var(--swfg); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::before { transition: none; } }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: translateY(1px); } }
/* link-style buttons and text links get an arrow that slides on hover */
.btn--go::after, .cs-card .btn::after, .svc-pos > .btn::after, .post--featured .btn::after, .head > .btn::after, .text-link::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .25s var(--ease); }
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.btn:hover, a:hover span.btn, a:hover .text-link, .text-link:hover)::after { transform: translateX(4px); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 34px; width: auto; }
.logo .ivory { display: none; }
:root[data-theme="dark"] .logo .dark { display: none; } :root[data-theme="dark"] .logo .ivory { display: block; }
.right { display: flex; align-items: center; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; padding: 0; }
.round { transition: transform .18s var(--ease), background-color .18s, border-color .18s; }
.round:hover { border-color: var(--fg); background: var(--soft); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .round:hover { transform: translateY(-2px); } .logo:hover img { transform: scale(1.05); } }
.logo img { transform-origin: left center; transition: transform .18s var(--ease); }
.round .i { width: 20px; height: 20px; }
.theme svg { transition: transform .3s; }
:root[data-theme="dark"] .theme svg { transform: rotate(180deg); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* nav: inline on desktop, a native popover panel on phones */
nav[popover] { position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; width: auto; height: auto; overflow: visible; display: flex; gap: 32px; font-size: 15px; }
.top nav a { color: var(--muted); transition: color .2s; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--fg); }
/* desktop: padding makes each link a 44px tap target; an underline draws in on hover and stays on the current page */
@media (min-width: 921px) {
  .top nav a:not(.btn) { position: relative; padding: 12px 0; }
  .top nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .top nav a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (min-width: 921px) and (hover: hover) { .top nav a:not(.btn):hover::after { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .top nav a::after { transition: none; } }
.menu-btn, .nav-cta { display: none; }
@media (max-width: 920px) {
  nav[popover] { display: none; }
  nav[popover]:popover-open { display: flex; flex-direction: column; gap: 2px; position: fixed; inset: 80px 12px auto 12px; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); box-shadow: 0 24px 64px rgba(0,0,0,.14); font-size: 20px; }
  .top nav a { color: var(--fg); padding: 14px 16px; border-radius: 14px; }
  .top nav a:hover { background: var(--soft); }
  .top nav .nav-cta { display: flex; margin-top: 8px; color: var(--bg); }
    .menu-btn { display: grid; }
}
@media (max-width: 520px) { .logo img { height: 28px; } .right .btn--fill { display: none; } }

/* hero */
.hero { padding: 112px 0 72px; }
.hero h1 { max-width: 14ch; }
.hero-foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-top: 48px; }
.hero-foot p { font-size: 20px; color: var(--muted); max-width: 46ch; }
.tagline { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--sage); color: #000; font-size: 14px; font-weight: 500; margin-bottom: 36px; }
.tagline i { width: 8px; height: 8px; border-radius: 50%; background: #000; }
@media (max-width: 760px) { .hero { padding: 56px 0 40px; } .hero-foot { grid-template-columns: 1fr; margin-top: 32px; } .hero-foot p { font-size: 18px; } }

section { padding: 120px 0; }
section + section { padding-top: 0; }
@media (max-width: 760px) { section { padding: 72px 0; } }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 48px; }
.head h2 { max-width: 14ch; }
.head p { color: var(--muted); max-width: 40ch; }
@media (max-width: 760px) { .head { margin-bottom: 32px; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { background: var(--soft); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; }
.tile p { color: var(--muted); margin-top: 12px; max-width: 38ch; }
.tile .for { display: block; font-size: 14px; color: var(--muted); margin-top: 20px; }
.t-pos { grid-column: span 4; background: var(--block); color: #fff; }
.t-pos p, .t-pos .for { color: #B3B3B3; }
.t-pos .ic { background: var(--sage); color: #000; }
.t-seo { grid-column: span 2; background: var(--ivory); color: #000; }
.t-seo p { color: #4A4A4A; }
.t-seo .big { font-size: 96px; font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.t-a, .t-b, .t-c { grid-column: span 2; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .t-pos { grid-column: span 2; } .t-seo, .t-a, .t-b, .t-c { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile { grid-column: auto !important; min-height: 0; padding: 28px 24px; gap: 28px; } .t-seo .big { font-size: 72px; } }

/* POS block */
.pos-block { background: var(--block); color: #fff; border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.pos-block > div > p { color: #B3B3B3; margin: 20px 0 32px; max-width: 42ch; }
.checks { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks .i { color: var(--slate); width: 20px; height: 20px; }
.on-black .checks .i { color: var(--sage); }
.screen { aspect-ratio: 4 / 3; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #A8A8A8; font-size: 15px; }
@media (max-width: 900px) { .pos-block { grid-template-columns: 1fr; padding: 40px 24px; gap: 40px; border-radius: 24px; } }

/* industries */
.industries { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.industries li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: clamp(16px, 2vw, 20px); font-weight: 500; }
.industries .i { color: var(--slate); }

/* steps: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; margin: 0; padding: 0; }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: #000; font-size: 16px; font-weight: 600; margin-bottom: 24px; }
.steps p { color: var(--muted); margin-top: 10px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; } .steps b { grid-row: span 2; margin: 0; } .steps p { margin-top: 4px; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan .price { font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li .i { width: 18px; height: 18px; color: var(--slate); }
.plan--pick { background: var(--block); color: #fff; border-color: var(--block); }
.plan--pick ul { color: #B3B3B3; }
.plan--pick li .i { color: var(--sage); }
.badge { align-self: start; background: var(--ivory); color: #000; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan--pick { order: -1; } }

/* work */
.work { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.work article:first-child { grid-row: span 2; }
.work .img { background: var(--soft); border-radius: 24px; aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.work article:first-child .img { aspect-ratio: auto; height: calc(100% - 80px); min-height: 320px; }
.work h3 { font-size: 19px; }
.work p { font-size: 15px; margin-top: 4px; }
@media (max-width: 800px) { .work { grid-template-columns: 1fr; gap: 28px; } .work article:first-child .img { height: auto; aspect-ratio: 16 / 10; min-height: 0; } }


/* ---------- inner pages ---------- */
.page-hero { padding: 96px 0 72px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 96px); max-width: 14ch; }
.page-hero p { font-size: 20px; color: var(--muted); max-width: 52ch; margin-top: 28px; }
section.tight { padding-top: 0; }
@media (max-width: 760px) { .page-hero { padding: 56px 0 40px; } .page-hero p { font-size: 18px; margin-top: 20px; } }

/* services: one card per service */
.svc-list { display: grid; gap: 12px; }
.svc { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; background: var(--soft); border-radius: 32px; padding: 56px; scroll-margin-top: 88px; }
.svc h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 24px; }
.svc .for { font-size: 15px; color: var(--muted); margin-top: 12px; }
.svc .lede { font-size: 19px; margin-bottom: 28px; max-width: 48ch; }
.svc--dark { background: var(--block); color: #fff; }
.svc--dark .ic { background: var(--sage); color: #000; }
.svc--dark .for { color: #B3B3B3; }
.svc--ivory { background: var(--ivory); color: #000; }
.svc--ivory .ic { background: #fff; color: #000; }
.svc--ivory .for, .svc--ivory .checks .i { color: #4A4A4A; }
.svc--ivory .btn--fill { background: #000; color: #fff; border-color: #000; --sw: #fff; --swfg: #000; }
.svc--ivory .btn--line { border-color: #000; color: #000; --sw: #000; --swfg: #fff; }
.svc-pos { display: flex; align-items: center; gap: 20px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 24px; }
.svc-pos strong { display: block; font-size: 19px; font-weight: 600; }
.svc-pos > span:nth-child(2) { flex: 1; color: var(--muted); }
.svc-pos .ic { background: var(--soft); }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; border-radius: 24px; }
  .svc h2 { margin-top: 20px; }
  .svc-pos { flex-wrap: wrap; padding: 24px; }
  .svc-pos .btn { flex: 1 1 100%; }
}

/* pricing tabs: radio inputs, no JS (site.js only reads #seo style links) */
.tab-input { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--soft); border-radius: 999px; margin-bottom: 24px; }
.tabs label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 500; color: var(--muted); cursor: pointer; }
.tabs label .i { width: 18px; height: 18px; }
.tabs label:hover { color: var(--fg); }
#tab-seo:checked ~ .tabs [for="tab-seo"], #tab-ai:checked ~ .tabs [for="tab-ai"], #tab-web:checked ~ .tabs [for="tab-web"] { background: var(--fg); color: var(--bg); }
#tab-seo:focus-visible ~ .tabs [for="tab-seo"], #tab-ai:focus-visible ~ .tabs [for="tab-ai"], #tab-web:focus-visible ~ .tabs [for="tab-web"] { outline: 2px solid var(--slate); outline-offset: 2px; }
.panel { display: none; }
#tab-seo:checked ~ .p-seo, #tab-ai:checked ~ .p-ai, #tab-web:checked ~ .p-web { display: grid; }
.panel .note { grid-column: 1 / -1; color: var(--muted); margin-bottom: 4px; }
.plan .per { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan--pick .per { color: #B3B3B3; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.extra { display: flex; gap: 16px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 24px; }
.extra:hover { border-color: var(--fg); }
.extra .ic { background: var(--soft); flex: none; }
.extra p { color: var(--muted); font-size: 15px; margin-top: 2px; }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tabs { display: flex; border-radius: 24px; } .tabs label { flex: 1 1 100%; } }

/* FAQ: native details/summary */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--soft); border-radius: 20px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 64ch; }

/* about */
.about-intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.founder-photo { margin: 0; border-radius: 32px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { font-size: 19px; color: var(--muted); max-width: 54ch; }
.about-copy p + p { margin-top: 16px; }
.founder-line { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.founder-line > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.founder-avatar { display: none; width: 72px; height: 72px; flex: none; border-radius: 20px; object-fit: cover; object-position: 50% 20%; }
.founder-line strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.founder-line span { color: var(--muted); }
.cred-pills { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cred-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 15px; }
.cred-pills .i { width: 16px; height: 16px; color: var(--slate); }
.cred-pills .main { background: var(--sage); color: #000; font-weight: 500; }
.cred-pills .main .i { color: #000; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.social { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.social .i { width: 19px; height: 19px; }
.social:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principle { background: var(--soft); border-radius: 24px; padding: 32px; display: grid; gap: 14px; align-content: start; }
.principle p { color: var(--muted); }
@media (max-width: 860px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { display: none; } /* phones and tablets: a small avatar next to the name instead of a full-screen portrait */
  .founder-avatar { display: block; }
  .founder-line > div { flex-direction: column; gap: 2px; }
  .about-copy p { font-size: 18px; }
  .principles { grid-template-columns: 1fr; } .principle { padding: 28px 24px; }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.ways { display: grid; gap: 10px; }
.way { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--soft); border-radius: 20px; }
a.way:hover { background: var(--line); }
.way small { display: block; font-size: 14px; color: var(--muted); }
.way strong { font-weight: 500; font-size: 18px; }
.way--main { background: var(--block); color: #fff; }
.way--main small { color: #B3B3B3; }
.way--main .ic { background: var(--ivory); color: #000; }
a.way--main:hover { background: var(--charcoal); }
.form { background: var(--soft); border-radius: 32px; padding: 40px; display: grid; gap: 20px; }
.form h2 { font-size: clamp(28px, 3vw, 36px); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--fg); outline-offset: 0; }
.form .btn { justify-self: start; }
.form .hint { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form { padding: 28px 20px; border-radius: 24px; } .form .two { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }
.plan .ic { background: var(--soft); }
.plan--pick .ic { background: var(--sage); color: #000; }
.plan--pick .muted { color: #B3B3B3; }
.panel .note { order: -2; }
.plan ul { align-content: start; }
.plan .from { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 6px; }
.plan--pick .from { color: #B3B3B3; }

/* POS page */
.pos-hero h1 { max-width: 13ch; }
.pos-hero .actions { margin-top: 36px; }
.till { margin: 72px 0 0; border-radius: 28px; background: #0E0E0E; color: #fff; padding: 12px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.till-bar { display: flex; align-items: center; gap: 14px; padding: 6px 10px 14px; font-size: 13px; color: #A8A8A8; }
.till-dots { display: flex; gap: 6px; }
.till-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2C2C2C; }
.till-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.till-items, .till-cart { background: #181818; border-radius: 18px; padding: 20px; }
.till-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #232323; color: #A8A8A8; font-size: 15px; margin-bottom: 14px; }
.till-search .i { width: 18px; height: 18px; }
.till-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.till-tile { background: #232323; border-radius: 14px; padding: 16px; display: grid; gap: 18px; font-size: 15px; }
.till-tile b { font-weight: 500; }
.till-tile span { color: var(--sage); }
.till-tile:first-child { outline: 2px solid var(--ivory); outline-offset: -2px; }
.page-hero .till-h { color: #B8B8B8; font-size: 14px; max-width: none; margin: 0 0 12px; } /* beats ".page-hero p", which would make it muted grey and 20px */
.till-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; }
.till-line em { font-style: normal; color: #A8A8A8; margin-left: 4px; }
.till-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 16px; padding-top: 14px; border-top: 1px dashed #333; }
.till-total strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.till-pay { background: var(--ivory); color: #000; border-radius: 999px; text-align: center; padding: 14px; font-weight: 500; }
.t-half { grid-column: span 3; }
.principles.four { grid-template-columns: repeat(4, 1fr); }
.trust { display: grid; gap: 10px; }
.trust-row { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.06); border-radius: 20px; padding: 22px; }
.trust-row .ic { background: var(--sage); color: #000; flex: none; }
.trust-row strong { display: block; font-weight: 600; margin-bottom: 4px; }
.trust-row span:last-child { color: #B3B3B3; }
.trust-row strong { color: #fff; }
@media (max-width: 960px) { .t-half { grid-column: span 1; } .principles.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .till { margin-top: 48px; border-radius: 22px; } .till-body { grid-template-columns: 1fr; } .till-grid { grid-template-columns: 1fr 1fr; } .till-tile:nth-child(n+5) { display: none; } }
@media (max-width: 600px) { .principles.four { grid-template-columns: 1fr; } }

/* quote rows reuse the POS link card */
.quote-row { margin-top: 12px; }

/* portfolio: filters reuse the tab pills */
#f-all:checked ~ .tabs [for="f-all"], #f-web:checked ~ .tabs [for="f-web"], #f-seo:checked ~ .tabs [for="f-seo"], #f-ai:checked ~ .tabs [for="f-ai"], #f-software:checked ~ .tabs [for="f-software"] { background: var(--fg); color: var(--bg); }
#f-all:focus-visible ~ .tabs [for="f-all"], #f-web:focus-visible ~ .tabs [for="f-web"], #f-seo:focus-visible ~ .tabs [for="f-seo"], #f-ai:focus-visible ~ .tabs [for="f-ai"], #f-software:focus-visible ~ .tabs [for="f-software"] { outline: 2px solid var(--slate); outline-offset: 2px; }
#f-web:checked ~ .work-grid .proj:not(.web), #f-seo:checked ~ .work-grid .proj:not(.seo), #f-ai:checked ~ .work-grid .proj:not(.ai), #f-software:checked ~ .work-grid .proj:not(.software) { display: none; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 12px; }
.home-work { grid-template-columns: repeat(3, 1fr); }
.proj h3 { font-size: 21px; margin: 10px 0 6px; }
.proj p { font-size: 16px; max-width: 52ch; }
.proj-meta, .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.tag { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; }
.sample { padding: 4px 10px; border-radius: 999px; background: var(--sage); color: #000; font-size: 12px; font-weight: 500; }
@media (max-width: 900px) { .home-work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .work-grid, .home-work { grid-template-columns: 1fr; } }

/* illustrations built in CSS */
.mock { aspect-ratio: 16 / 10; border-radius: 24px; display: grid; place-items: center; padding: 8%; overflow: hidden; }
.m-soft { background: var(--soft); } .m-ivory { background: var(--ivory); } .m-black { background: #000; } .m-sage { background: var(--sage); }
.browser { width: 100%; max-width: 440px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(0,0,0,.35); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #EFEFEF; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #CFCFCF; }
.browser-body { padding: 14px; display: grid; gap: 10px; }
.b-hero { background: #111; border-radius: 10px; padding: 16px; display: grid; gap: 7px; }
.b-hero i { height: 8px; border-radius: 4px; background: #fff; width: 70%; } .b-hero i + i { width: 45%; background: #666; }
.b-hero b { width: 64px; height: 18px; border-radius: 999px; background: var(--ivory); margin-top: 4px; }
.b-row, .b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.b-row i { height: 38px; border-radius: 8px; background: #F0F0F0; }
.b-grid i { aspect-ratio: 1; border-radius: 8px; background: #F0F0F0; } .b-grid i:nth-child(2), .b-grid i:nth-child(6) { background: var(--sage); }
.serp { width: 100%; max-width: 420px; display: grid; gap: 10px; }
.serp-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.3); }
.serp-row span:last-child { flex: 1; display: grid; gap: 6px; }
.serp-row span:last-child i { height: 7px; border-radius: 4px; background: #E3E3E3; } .serp-row span:last-child i + i { width: 60%; }
.serp-row.top { outline: 2px solid #000; } .serp-row.top span:last-child i:first-child { background: #000; }
.serp-pin { width: 32px; height: 32px; border-radius: 10px; background: var(--soft); color: #000; display: grid; place-items: center; }
.serp-pin .i { width: 18px; height: 18px; }
.flow { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; color: #fff; }
.node { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #1C1C1C; font-size: 14px; white-space: nowrap; }
.node .i { width: 16px; height: 16px; color: var(--sage); }
.node--ai { background: var(--ivory); color: #000; } .node--ai .i { color: #000; }
.wire { width: 18px; height: 2px; background: #444; }
.dash { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.3); }
.dash-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.dash-top i { height: 34px; border-radius: 8px; background: #F0F0F0; } .dash-top i:first-child { background: #000; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: #000; } .bars i:nth-child(odd) { background: #CFCFCF; }
.doc { width: 70%; max-width: 300px; background: #fff; border-radius: 14px; padding: 18px; display: grid; gap: 8px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.3); }
.doc > b { height: 10px; width: 50%; border-radius: 4px; background: #000; } .doc > i { height: 7px; border-radius: 4px; background: #E3E3E3; }
.bars.small { height: 60px; margin: 6px 0; }
@media (max-width: 480px) { .node { padding: 8px 10px; font-size: 12px; } .wire { width: 10px; } }

/* blog */
.post a { display: block; }
.post h3 { font-size: 21px; margin: 10px 0 6px; }
.post p { font-size: 16px; }
.cover { aspect-ratio: 16 / 10; border-radius: 24px; display: grid; place-items: center; }
.cover .big { width: 56px; height: 56px; stroke-width: 1.4; }
.c-soft { background: var(--soft); } .c-ivory { background: var(--ivory); color: #000; } .c-black { background: #000; color: #fff; } .c-sage { background: var(--sage); color: #000; }
.post--featured a { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.post--featured .cover { aspect-ratio: 16 / 11; }
.post--featured h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 14px 0 12px; }
.post--featured .btn { margin-top: 24px; }
.post a:hover h2, .post a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 12px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } .post--featured a { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .tabs--scroll { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; border-radius: 999px; scrollbar-width: none; }
  .tabs--scroll label { flex: none; }
}

/* portfolio: SEO case study cards */
.cs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-card { display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: 24px; background: var(--ivory); color: #000; }
.cs-card:nth-child(2n) { background: var(--soft); color: var(--fg); }
.cs-card h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 20px; max-width: 22ch; }
.cs-card { --c-bg: var(--ivory); --c-fg: #000; }
.cs-card:nth-child(2n) { --c-bg: var(--soft); --c-fg: var(--fg); }
.cs-card .btn { margin-top: auto; align-self: flex-start; border-color: currentColor; color: inherit; --sw: var(--c-fg); --swfg: var(--c-bg); }
.cs-card .tag { border-color: rgba(0,0,0,.15); }
.cs-card:nth-child(2n) .tag { border-color: var(--line); }
.cs-metric strong, .cs-metric > span { font-size: clamp(48px, 6vw, 80px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.cs-metric small { display: block; font-size: 15px; margin-top: 8px; opacity: .7; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .cs-cards { grid-template-columns: 1fr; } .cs-card { padding: 28px 24px; } }

/* case study page */
.cs-hero .back { margin: -10px 0 18px; }
.cs-hero .proj-meta { margin: 0 0 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--soft); border-radius: 24px; padding: 28px; display: grid; gap: 8px; align-content: start; }
.stat:first-child { background: var(--ivory); color: #000; }
.stat strong { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat > span { color: var(--muted); font-size: 15px; }
.stat:first-child > span { color: #4A4A4A; }
.cs-layout { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.cs-story h2 { font-size: clamp(28px, 3vw, 40px); margin: 56px 0 16px; }
.cs-story h2:first-child { margin-top: 0; }
.cs-story > p { font-size: 19px; color: var(--muted); max-width: 62ch; }
.cs-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 24px; }
.cs-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.cs-steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: #000; font-weight: 600; }
.cs-steps h3 { font-size: 19px; margin: 10px 0 6px; }
.cs-steps p { color: var(--muted); }
.shot { margin-top: 28px; aspect-ratio: 16 / 9; color: var(--muted); }
.cs-quote { margin: 48px 0 0; padding: 36px; border-radius: 24px; background: var(--block); color: #fff; }
.cs-quote p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -.01em; }
.cs-quote cite { display: block; margin-top: 20px; font-style: normal; color: #B3B3B3; }
.cs-facts { position: sticky; top: 96px; background: var(--soft); border-radius: 24px; padding: 28px; display: grid; gap: 24px; }
.cs-facts dl { margin: 0; display: grid; gap: 14px; }
.cs-facts dt { font-size: 14px; color: var(--muted); }
.cs-facts dd { margin: 2px 0 0; font-weight: 500; }
@media (max-width: 960px) { .stats { grid-template-columns: 1fr 1fr; } .cs-layout { grid-template-columns: 1fr; gap: 40px; } .cs-facts { position: static; order: -1; } }
@media (max-width: 480px) { .stat { padding: 22px 20px; } .cs-quote { padding: 28px 22px; } }

/* footer */
.site-footer { background: var(--block); color: #fff; padding: 96px 0 40px; }
.site-footer.no-cta { padding-top: 72px; }
.cta-band { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; padding: 48px; border-radius: 32px; background: rgba(255,255,255,.07); margin-bottom: 80px; }
.cta-band h2 { font-size: clamp(40px, 6vw, 80px); max-width: 11ch; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-grid > * { min-width: 0; } /* let columns shrink below the email field's built-in width */
.f-brand p { color: #B3B3B3; margin: 20px 0 32px; max-width: 34ch; }
.f-col h3 { font-size: 14px; font-weight: 500; letter-spacing: 0; color: #A8A8A8; margin-bottom: 14px; }
.f-col a, .f-col span { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: -3.5px 0; color: #fff; } /* 44px tap target, same visual rhythm as before */
.f-col a { transition: color .2s; }
.f-col a:hover { color: var(--sage); }
.f-contact .i { width: 18px; height: 18px; color: var(--sage); }
.newsletter label { display: block; font-weight: 500; margin-bottom: 12px; }
.nl-row { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 6px; border-radius: 999px; background: rgba(255,255,255,.09); }
.nl-row:focus-within { outline: 2px solid var(--sage); outline-offset: 2px; }
.nl-row input { flex: 1; width: 0; min-width: 0; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.nl-row input::placeholder { color: #A8A8A8; }
.nl-row input:focus-visible { outline: none; }
.nl-row .btn { flex: none; min-height: 44px; padding: 0 20px; font-size: 15px; }
.twp-hp { position: absolute !important; left: -9999px; } /* spam trap fields */
.nl-status { margin-top: 10px; font-size: 14px; color: #A8A8A8; min-height: 1.4em; }
.nl-status.ok { color: var(--sage); }
.site-footer .socials { margin-top: 28px; }
.site-footer .social { border-color: rgba(255,255,255,.2); color: #fff; }
.site-footer .social:hover { background: #fff; border-color: #fff; color: #000; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 16px; margin-top: 62px; font-size: 14px; color: #A8A8A8; }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.f-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.f-bottom a { color: inherit; }
.f-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .site-footer { padding: 72px 0 32px; }
  .cta-band { padding: 32px 24px; border-radius: 24px; margin-bottom: 56px; }
  .cta-band .actions { width: 100%; }
  .footer-grid { gap: 36px 24px; }
  .f-bottom { margin-top: 48px; }
}
@media (max-width: 380px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- polish: hover, mock, page transitions ---------- */

/* cards lift 4px with a soft shadow; plain image blocks (projects, posts) lift their picture. Pointer devices only, no movement under reduced motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile, .plan, .svc, .cs-card, .extra, .svc-pos, .way, .proj .mock, .post .cover { transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, border-color .18s; }
  .tile:hover, .plan:hover, .svc:hover, .cs-card:hover, .extra:hover, a.svc-pos:hover, a.way:hover, .proj:hover .mock, .post a:hover .cover { transform: translateY(-4px); box-shadow: var(--lift); }
}
@media (hover: hover) {
  a.plan:hover, a.svc-pos:hover, .extra:hover { border-color: var(--fg); }
  .proj:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
}

/* home: the website mock in the dark block */
.screen { position: relative; padding: 6%; overflow: hidden; }
.site-mock { width: 100%; max-width: 400px; background: #fff; color: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.sm-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #EFEFEF; }
.sm-bar > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #CFCFCF; }
.sm-url { flex: 1; min-width: 0; height: 20px; padding: 0 10px; display: flex; align-items: center; border-radius: 999px; background: #fff; font-size: 11px; color: #6B6B6B; white-space: nowrap; overflow: hidden; }
.sm-body { display: grid; gap: 12px; padding: 14px; }
.sm-nav { display: flex; align-items: center; justify-content: space-between; }
.sm-nav b { width: 44px; height: 10px; border-radius: 3px; background: #000; }
.sm-nav span { display: flex; gap: 8px; } .sm-nav i { width: 22px; height: 6px; border-radius: 3px; background: #CFCFCF; }
.sm-hero { display: grid; gap: 7px; padding: 16px; border-radius: 10px; background: var(--ivory); }
.sm-hero i { height: 9px; width: 78%; border-radius: 4px; background: #000; } .sm-hero i + i { width: 52%; background: #4A4A4A; }
.sm-hero b { width: 72px; height: 20px; margin-top: 6px; border-radius: 999px; background: #000; }
.sm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sm-cards i { height: 44px; border-radius: 8px; background: #F0F0F0; } .sm-cards i:nth-child(2) { background: var(--sage); }
.sm-phone { position: absolute; right: 7%; bottom: 8%; width: 21%; min-width: 64px; aspect-ratio: 9 / 17; padding: 12px 8px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: #fff; border: 3px solid #1C1C1C; box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); overflow: hidden; }
.sm-phone i { flex: none; height: 6px; border-radius: 3px; background: #CFCFCF; } .sm-phone i:first-child { height: 30%; max-height: 52px; background: var(--ivory); border-radius: 5px; }
.sm-phone b { flex: none; width: 60%; height: 10px; border-radius: 999px; background: #000; }

/* portfolio and home: cards that are open slots, not fake results */
.cs-metric .ic { margin-bottom: 20px; background: rgba(0,0,0,.08); color: inherit; }
.cs-card:nth-child(2n) .cs-metric .ic { background: var(--bg); }
.cs-metric small { font-size: 17px; line-height: 1.45; max-width: 34ch; opacity: .8; margin-top: 0; }
.cs-card .proj-meta { margin-top: 24px; }
.mock + .proj-meta { margin-top: 16px; }

/* page transitions: same-origin navigations fade and rise a little, the header stays put. No effect where unsupported or under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .16s ease-out both; }
  ::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
  ::view-transition-group(site-header) { animation-duration: 0s; }
  ::view-transition-old(site-header) { display: none; }
  ::view-transition-new(site-header) { animation: none; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
}
