/* NEMORA — site styles. Self-hosted fonts; no third-party requests. */
@font-face { font-family: "Nemora Serif"; src: url(fonts/serif.woff) format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Nemora Serif"; src: url(fonts/serif-italic.woff) format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-500.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-600.woff) format("woff"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0f1119; --bg-2: #151826; --bg-3: #1b1f30; --line: rgba(233, 225, 205, .09); --line-2: rgba(233, 225, 205, .16);
  --text: #ece6d8; --text-2: #b8b2a4; --muted: #9a958a;
  --gold: #c9a35a; --gold-2: #e8cf97; --gold-3: #a8873f;
  --serif: "Nemora Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --r: 18px; --r-sm: 12px;
  --wrap: 1180px;
  --head-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; color-scheme: dark; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; color: #f5efe2; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.g, .g { font-style: italic; color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(201, 163, 90, .35); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--text-2); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font: 600 .98rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #15120b; box-shadow: 0 10px 30px -14px rgba(201, 163, 90, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-line { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { box-shadow: 0 14px 40px -14px rgba(232, 207, 151, .9), inset 0 1px 0 rgba(255,255,255,.4); }
  .btn-line:hover { border-color: rgba(232, 207, 151, .5); color: #fff; }
  .link-arrow:hover svg { transform: translateX(4px); }
}

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color 240ms ease, border-color 240ms ease; border-bottom: 1px solid transparent; }
.site-head.scrolled, .site-head.open { background: rgba(15, 17, 25, .82); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 14px; border-radius: 999px; transition: color 160ms ease; }
.nav a[aria-current="page"] { color: var(--gold-2); }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 10px 20px; font-size: .92rem; color: #15120b; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: #fff; } }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); background: transparent; border-radius: 50%; cursor: pointer; position: relative; touch-action: manipulation; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 220ms var(--ease-out), opacity 160ms ease; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head-h) + 48px) 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(900px 600px at 78% 30%, rgba(201,163,90,.16), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(80,90,150,.18), transparent 60%), linear-gradient(180deg, #11131c, var(--bg)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 26px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #6fcf97; box-shadow: 0 0 0 4px rgba(111,207,151,.15); }

/* device showcase */
.showcase { position: relative; aspect-ratio: 16 / 12; }
.browser { position: absolute; inset: 0 8% 14% 0; border-radius: 14px; overflow: hidden; background: #0b0d14; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #161927; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: #2c3044; }
.browser-bar span { margin-left: 10px; font: 500 .7rem var(--sans); color: var(--muted); letter-spacing: .02em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; aspect-ratio: 9 / 18; border-radius: 26px; padding: 7px; background: #07080c; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.95); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }

/* ---------- facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 500 1.35rem/1.25 var(--serif); color: #f5efe2; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .92rem; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { max-width: 44ch; margin: 0; color: var(--text-2); }

/* work cards */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.work-card { grid-column: span 6; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.work-card.wide { grid-column: span 12; }
.work-media { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); aspect-ratio: 16 / 10; }
.work-card.wide .work-media { aspect-ratio: 21 / 9; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 500ms var(--ease-out); }
.work-media .tag { position: absolute; left: 16px; top: 16px; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(15,17,25,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: var(--gold-2); }
.work-meta { display: flex; justify-content: space-between; gap: 16px; padding: 20px 4px 0; align-items: baseline; }
.work-meta h3 { margin: 0; font-size: 1.6rem; }
.work-meta p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.work-meta .where { white-space: nowrap; color: var(--muted); font-size: .88rem; }
@media (hover: hover) and (pointer: fine) { .work-card:hover .work-media img { transform: scale(1.025); } }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card { background: var(--bg); padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.section.alt .card { background: var(--bg-2); }
.card .num { font: 500 .8rem var(--sans); letter-spacing: .2em; color: var(--gold); }
.card h3 { margin: 6px 0 4px; }
.card p { margin: 0; color: var(--text-2); font-size: .98rem; }
.card ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: .92rem; }
.card ul li { display: flex; gap: 10px; }
.card ul li::before { content: ""; width: 5px; height: 5px; margin-top: .65em; border-radius: 50%; background: var(--gold); flex: none; }

/* sectors */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.sectors li { list-style: none; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .95rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -1px; left: 0; padding-top: 14px; font: 600 .78rem var(--sans); letter-spacing: .2em; color: var(--gold); border-top: 1px solid var(--gold); width: 40px; }
.steps h3 { margin: 18px 0 8px; font-size: 1.35rem; }
.steps p { color: var(--text-2); font-size: .97rem; margin: 0; }

/* pricing */
.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: stretch; }
.price-card { position: relative; border-radius: 22px; padding: 44px; background: linear-gradient(180deg, rgba(232,207,151,.08), rgba(232,207,151,.02)); border: 1px solid rgba(232,207,151,.28); overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(232,207,151,.7), transparent 40%, transparent 60%, rgba(232,207,151,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 6px; }
.price b { font: 500 clamp(3rem, 6vw, 4.4rem)/1 var(--serif); color: #f5efe2; }
.price span { color: var(--text-2); }
.price-sub { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.price-aside { display: grid; gap: 16px; align-content: start; }
.note-card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--bg-2); }
.note-card h3 { font-size: 1.3rem; }
.note-card p { margin: 0; color: var(--text-2); font-size: .97rem; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 500 1.25rem/1.35 var(--serif); color: #f5efe2; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg) translateY(-3px); transition: transform 220ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .ans { padding: 0 0 24px; color: var(--text-2); max-width: 70ch; }
.faq .ans p:last-child { margin: 0; }

/* page head */
.page-head { position: relative; isolation: isolate; padding: calc(var(--head-h) + clamp(64px, 10vw, 120px)) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 420px at 85% 0%, rgba(201,163,90,.14), transparent 65%), linear-gradient(180deg, #11131c, var(--bg)); }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 16ch; }

/* case study rows */
.case { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case.flip > :first-child { order: 2; }
.case .showcase { aspect-ratio: 16 / 11.5; }
.case h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.case .kind { color: var(--gold); font: 600 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 24px 0 0; font-size: .95rem; }
.case dt { color: var(--muted); }
.case dd { margin: 0; color: var(--text-2); }

/* about */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.values div { border-top: 1px solid var(--line-2); padding-top: 24px; }
.values p { color: var(--text-2); margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 500; color: var(--text-2); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; font: 400 16px/1.5 var(--sans); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color 160ms ease, box-shadow 160ms ease; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,163,90,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e07a6a; }
.form .fine { font-size: .86rem; color: var(--muted); margin: 0; }
.form-msg { padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid rgba(111,207,151,.4); background: rgba(111,207,151,.08); color: #bfe9cf; font-size: .95rem; }
.form-msg.bad { border-color: rgba(224,122,106,.45); background: rgba(224,122,106,.08); color: #f3c3ba; }
.contact-aside { display: grid; gap: 16px; }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; transition: border-color 200ms ease, transform 140ms var(--ease-out); }
.contact-line:active { transform: scale(0.98); }
.contact-line svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.contact-line small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-line b { font-weight: 500; word-break: break-word; }
@media (hover: hover) and (pointer: fine) { .contact-line:hover { border-color: rgba(232,207,151,.4); } }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }

/* final cta */
.cta-band { position: relative; isolation: isolate; text-align: center; padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 50% 100%, rgba(201,163,90,.2), transparent 70%); }
.cta-band .mark { width: 64px; margin: 0 auto 28px; opacity: .95; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band p { margin: 0 auto 34px; max-width: 52ch; color: var(--text-2); }
.cta-band .cta-row { justify-content: center; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 64px 0 calc(32px + env(safe-area-inset-bottom, 0px)); font-size: .94rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-grid img { height: 36px; width: auto; margin-bottom: 16px; }
.foot-grid h2 { font: 600 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--text-2); }
@media (hover: hover) and (pointer: fine) { .foot-grid a:hover { color: #fff; } }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.foot-base a { color: var(--muted); }

/* ---------- reveal (motion only when allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* hero: plays on load in pure CSS, so the first screen (and the LCP image) never waits for JavaScript */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 600ms var(--ease-out) both; }
.js .hero .reveal:nth-child(2) { animation-delay: 60ms; }
.js .hero .reveal:nth-child(3) { animation-delay: 120ms; }
.js .hero .reveal:nth-child(4) { animation-delay: 180ms; }
.js .hero .reveal:nth-child(5) { animation-delay: 240ms; }
.js .hero-grid > .reveal:nth-child(2) { animation-delay: 140ms; }
/* press feedback on project cards */
.work-media { transition: transform 160ms var(--ease-out); }
.work-card:active .work-media { transform: scale(0.99); }
/* FAQ answers and form messages fade in rather than snapping */
@keyframes fade { from { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } }
.faq details[open] > :not(summary) { animation: fade-in 220ms var(--ease-out); }
.form-msg:not([hidden]) { animation: fade-in 220ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .js .hero .reveal { animation: fade 300ms ease both; }
  .work-media img, .work-media, .btn, .link-arrow svg, .contact-line { transition: none; }
  .btn:active, .contact-line:active, .work-card:active .work-media { transform: none; }
  .faq details[open] > :not(summary), .form-msg:not([hidden]) { animation: fade 200ms ease; }
  .nav, .nav.open { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split, .price-wrap, .contact-grid, .case { grid-template-columns: 1fr; gap: 44px; }
  .case.flip > :first-child { order: 0; }
  .hero { min-height: auto; }
  .showcase { max-width: 720px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  :root { --head-h: 68px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: calc(var(--head-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px; background: rgba(15,17,25,.97); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 160ms ease, transform 160ms var(--ease-out), visibility 0s linear 160ms; }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity 220ms ease, transform 220ms var(--ease-out), visibility 0s; }
  .nav a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 18px 0 0; min-height: 52px; border-bottom: 0; border-radius: 999px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card.wide { grid-column: auto; }
  .work-card.wide .work-media { aspect-ratio: 16 / 10; }
  .values { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .brand img { height: 34px; }
  .hero { padding-top: calc(var(--head-h) + 36px); }
  .cta-row .btn { flex: 1 1 100%; }
  .steps, .row2 { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li:nth-child(3) { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .facts li:first-child { border-top: 0; }
  .price-card { padding: 30px 22px; }
  .card { padding: 28px 22px; }
  .work-meta { flex-direction: column; gap: 4px; }
  .work-meta .where { white-space: normal; }
  .case dl { grid-template-columns: 1fr; gap: 2px; }
  .case dd { margin-bottom: 10px; }
  .phone { border-radius: 18px; padding: 5px; }
  .phone img { border-radius: 14px; }
  .browser-bar { height: 24px; }
  .browser img { height: calc(100% - 24px); }
}
.pt-sm { padding-top: 24px; }
.no-border { border-bottom: 0; }
.mt { margin-top: 28px; }
.nav .btn[aria-current="page"] { color: #15120b; }

/* ---------- guides ---------- */
.wrap.narrow { max-width: 760px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.meta { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.prose ul { padding-left: 1.2em; display: grid; gap: .55em; margin: 0 0 1.2em; }
.prose li::marker { color: var(--gold); }
.prose a, .lede a, .faq-more a { color: var(--gold-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--text); font-weight: 600; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); text-decoration: none; color: inherit; transition: border-color 200ms ease, transform 140ms var(--ease-out); }
.guide-card + .guide-card { margin-top: 16px; }
.guide-grid .guide-card + .guide-card { margin-top: 0; }
.guide-card h2, .guide-card h3 { font-size: 1.45rem; margin: 0; }
.guide-card p { color: var(--text-2); margin: 0; }
.guide-card .link-arrow { margin-top: auto; padding-top: 8px; }
.guide-card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .guide-card:hover { border-color: rgba(232,207,151,.4); } .guide-card:hover .link-arrow svg { transform: translateX(4px); } }
.link-stack { display: grid; gap: 14px; justify-items: start; }
.mt-sm { margin-top: 14px; }
.price-wrap > div:first-child .link-arrow { display: flex; width: fit-content; }
.faq-more { margin-top: 28px; color: var(--text-2); }
.case .link-arrow { margin-top: 18px; }
.card .link-arrow { margin-top: 16px; font-size: .92rem; }

/* ---------- footer + consent ---------- */
.foot-links { display: inline-flex; gap: 18px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 520px; margin-inline: auto; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(21,24,38,.97); box-shadow: 0 20px 60px -20px rgba(0,0,0,.7); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
@starting-style { .consent { opacity: 0; transform: translateY(12px); } }
.consent p { margin: 0 0 14px; font-size: .92rem; color: var(--text-2); }
.consent .cta-row { gap: 10px; }
.consent .btn { min-height: 44px; padding-inline: 18px; }
@media (prefers-reduced-motion: reduce) { .consent, .guide-card { transition: none; } .guide-card:active { transform: none; } }

/* ---------- packages ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.tier.popular { border-color: rgba(232, 207, 151, .55); background: linear-gradient(180deg, rgba(201,163,90,.08), rgba(201,163,90,0) 40%), var(--bg-2); box-shadow: 0 30px 80px -40px rgba(201,163,90,.45); }
.tier-flag { position: absolute; top: -12px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #15120b; font: 700 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tier-name { margin: 0; font: 600 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tier-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier-price b { font: 500 clamp(2.4rem, 4vw, 3rem)/1 var(--serif); color: #f5efe2; font-variant-numeric: tabular-nums; }
.tier-price span { color: var(--muted); font-size: .92rem; }
.tier h3 { font-size: 1.35rem; margin: 4px 0 0; }
.tier-desc { color: var(--text-2); margin: 0; }
.tier .ticks { margin: 6px 0 0; }
.tier .ticks li.plus { color: var(--gold-2); font-weight: 600; font-size: .92rem; list-style: none; padding: 0; }
.tier .btn { margin-top: auto; align-self: stretch; justify-content: center; }
.tier .ticks + .btn { margin-top: auto; }
.tier-foot { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.monthly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; margin-top: 28px; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-3); }
.monthly .price-sub { margin-bottom: 0; }
.price-aside.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.note-card a, .sec-head p a { color: var(--gold-2); text-underline-offset: 3px; }
@media (max-width: 1080px) { .tiers { grid-template-columns: 1fr; max-width: 620px; } .price-aside.three { grid-template-columns: 1fr; } .monthly { grid-template-columns: 1fr; gap: 18px; } }
.tier-monthly { margin: -4px 0 0; display: grid; gap: 6px; }
.tier-monthly b { font-weight: 600; color: var(--gold-2); }
.tier-monthly span { font-size: .88rem; color: var(--muted); line-height: 1.5; }
/* contact form honeypot: hidden from people, visible to bots */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ===================================================================
   Unslop pass (Oct 2026): quiet chrome, gold used like a glaze, not a glow.
   The client screenshots and the prices carry the colour; everything else stays still.
   =================================================================== */
:root { --r: 16px; --r-sm: 10px; --r-btn: 10px; }
em.g, .g { font-style: normal; color: inherit; }

/* labels: sentence case, no wide tracking */
.eyebrow { font: 500 .9rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--gold-2); margin-bottom: 16px; }
.case .kind, .contact-line small, .foot-grid h2, .tier-name { letter-spacing: 0; text-transform: none; }
.foot-grid h2 { font: 500 .9rem var(--sans); color: var(--text); }
.tier-name { font: 500 1rem var(--sans); color: var(--text); }
.case .kind { font: 500 .9rem var(--sans); }
.contact-line small { font-size: .82rem; }
.card .num { display: none; }
.steps li::before { font: 500 .85rem var(--sans); letter-spacing: 0; color: var(--gold-2); border-top-color: var(--gold-2); }

/* buttons: flat, no glow, a real radius instead of a pill */
.btn, .nav a, .nav .btn { border-radius: var(--r-btn); }
.btn { font-weight: 500; letter-spacing: 0; transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn-gold { background: var(--gold-2); box-shadow: none; color: #17130a; }
.btn-line { background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: #f1dcab; box-shadow: none; }
  .btn-line:hover { border-color: var(--text-2); }
}
@media (max-width: 860px) { .nav .btn { border-radius: var(--r-btn); } }

/* no light washes, grids or glows behind content */
.hero::before { background: var(--bg); }
.hero::after, .cta-band::before { content: none; }
.page-head::before { background: var(--bg); }
.hero-note .dot { box-shadow: none; }

/* client screenshots: quiet tag */
.work-media .tag { letter-spacing: 0; text-transform: none; font: 500 .8rem/1 var(--sans); border-radius: 6px; padding: 6px 10px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(15,17,25,.88); color: var(--text); }
.sectors li { border-radius: var(--r-btn); }

/* prices: the numbers are the moment, the cards stay plain */
.price-card { background: var(--bg-2); border-color: var(--line-2); border-radius: var(--r); }
.price-card::before { content: none; }
.tier.popular { border-color: var(--line-2); background: var(--bg-2); box-shadow: none; }
.tier-flag { display: none; }
.tier-price b { font-size: clamp(2.8rem, 4.6vw, 3.6rem); }

/* backstamp: the maker's mark from the bottom of Stoke pottery, used twice (hero and footer) */
.backstamp { display: inline-flex; align-items: center; gap: 12px; color: var(--text-2); font: 400 .95rem/1.2 var(--serif); }
.backstamp img { width: 28px; height: auto; opacity: .9; }
.backstamp span { display: block; }
.backstamp small { display: block; font: 400 .78rem/1.3 var(--sans); color: var(--muted); }
.hero .backstamp { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-grid .backstamp { margin-top: 20px; }

/* motion: one short entrance for the hero, nothing on scroll */
.js .reveal { opacity: 1; transform: none; transition: none; }
.js .hero .reveal { animation: fade 400ms ease both; }
.tier-price { flex-direction: column; align-items: flex-start; gap: 6px; }

/* ===================================================================
   Homepage v2: editorial hero, work wall, featured project, paper sections
   =================================================================== */
:root { --paper: #f2ede2; --paper-2: #fbf8f1; --paper-line: rgba(21,23,31,.12); --ink: #15171f; --ink-2: #4a4b52; --gold-ink: #7a5c20; }

.hero2 { padding: calc(var(--head-h) + 56px) 0 0; overflow: hidden; }
.hero2-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--line-2); font-size: .9rem; color: var(--text-2); }
.display { font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: .98; letter-spacing: -.025em; max-width: 14ch; margin: 0 0 44px; }
.hero2-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; padding-bottom: 72px; }
.hero2-row .lede { margin: 0; max-width: 46ch; }
.hero2-row .hero-note { margin-top: 18px; }
.hero2-row > div { justify-self: end; }

/* three real client sites, side by side, bleeding off both edges */
.wall { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 24px; align-items: end; width: max(1240px, 112vw); margin-left: 50%; transform: translateX(-50%); }
.frame { margin: 0; border-radius: 12px; overflow: hidden; background: #0b0d14; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame .browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #141722; border-bottom: 1px solid var(--line); }
.frame .browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a2e3d; }
.frame .browser-bar span { margin-left: 8px; font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall .w-left, .wall .w-right { margin-bottom: 48px; }
.wall .w-mid { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* client names */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.clients .wrap { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-block: 28px; }
.clients .muted { color: var(--muted); font-size: .9rem; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.clients a { font: 400 1.35rem/1.2 var(--serif); color: var(--text); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .clients a:hover { color: var(--gold-2); } }

/* featured project */
.feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 72px; }
.feature-media { display: block; text-decoration: none; }
.feature-copy h2 { margin-bottom: 16px; }
.built { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.built li { position: relative; padding-left: 22px; color: var(--text-2); }
.built li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gold-2); }
.work-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* paper sections: ivory, ink and gold-ink, like a printed price list */
.section.paper { background: var(--paper); color: var(--ink-2); }
.paper h2, .paper h3 { color: var(--ink); }
.paper .eyebrow { color: var(--gold-ink); }
.paper .eyebrow::before { background: var(--gold-ink); }
.paper .sec-head p, .paper p { color: var(--ink-2); }
.paper a:not(.btn) { color: var(--gold-ink); }
.rows { border-top: 1px solid var(--paper-line); }
.row-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--paper-line); align-items: baseline; }
.row-item h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.row-item p { margin: 0; }
.row-item span { font-size: .9rem; color: #6a6760; }
.paper .tier { background: var(--paper-2); border-color: var(--paper-line); color: var(--ink-2); }
.paper .tier-name, .paper .tier-price b, .paper .tier h3 { color: var(--ink); }
.paper .tier-price span { color: #6a6760; }
.paper .tier-monthly, .paper .tier-monthly b, .paper .tier .ticks li.plus { color: var(--gold-ink); }
.paper .tier p, .paper .tier li { color: var(--ink-2); }
.paper .btn-line { color: var(--ink); border-color: rgba(21,23,31,.25); }
@media (hover: hover) and (pointer: fine) { .paper .btn-line:hover { border-color: var(--ink); color: var(--ink); } }
.paper .tier-foot { color: #6a6760; }
.paper :focus-visible { outline-color: var(--gold-ink); }
.local .backstamp { margin-top: 28px; }

@media (max-width: 960px) {
  .hero2-row, .feature { grid-template-columns: 1fr; gap: 28px; }
  .hero2-row > div { justify-self: start; }
  .row-item { grid-template-columns: 1fr; gap: 8px; }
  .work-grid.three { grid-template-columns: 1fr; }
  .wall { grid-template-columns: 1fr 1.25fr 1fr; width: 170vw; gap: 12px; }
  .wall .w-left, .wall .w-right { margin-bottom: 24px; }
}
@media (max-width: 560px) {
  .display { font-size: clamp(2.6rem, 12vw, 3.4rem); margin-bottom: 28px; }
  .hero2 { padding-top: calc(var(--head-h) + 28px); }
  .hero2-top { margin-bottom: 24px; }
  .hero2-row { padding-bottom: 48px; }
  .clients a { font-size: 1.15rem; }
}
.work-grid.three .work-card { grid-column: auto; }
.work-grid.three .work-media { aspect-ratio: 16 / 10; }

/* phone: header number and a call button on phones */
.nav a.nav-call { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; min-height: 44px; padding: 10px 18px; font-size: .92rem; white-space: nowrap; color: var(--gold-2); }
.nav a.nav-call + .btn { margin-left: 8px; }
@media (max-width: 900px) { .nav a.nav-call { margin: 18px 0 0; justify-content: center; min-height: 52px; border-bottom: 0; } .nav a.nav-call + .btn { margin-left: 0; margin-top: 10px; } }
.call-fab { display: none; }
.btn svg, .call-fab svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 900px) {
  .call-fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--gold-2); color: #15120b; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.35); -webkit-tap-highlight-color: transparent; }
  .call-fab:active { transform: scale(.97); }
}
.hero-note a.tel { white-space: nowrap; color: var(--gold-2); }
.hero2 .hero-note { display: block; line-height: 1.6; }
