/* Code & Clover: styles (shared by every page)
   Brand: gold #B68235, brown #76521F, logo ink #201F1D. Type: Lora (wordmark) + Poppins (tagline). */

:root {
  --bg: #17110c;
  --surface: #221911;
  --surface-2: #2e2218;
  --ink: #f3f2ef;
  --muted: #c4b5a0;
  --gold: #b68235;
  --gold-hi: #cc9a4d;
  --brown: #76521f;
  --field: #694819;
  --paper: #ffffff;
  --paper-2: #f3efe9;
  --paper-ink: #1c140d;
  --paper-muted: #5a4733;
  --on-gold: #1a120a;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 0.875rem;                                   /* 14px */
  --step-body: 1.0625rem;                                   /* 17px */
  --step-lead: clamp(1.25rem, 0.9rem + 1vw, 1.875rem);      /* 20–30px */
  --step-head: clamp(2.25rem, 1rem + 3.6vw, 4.75rem);       /* 36–76px */
  --step-display: clamp(3.25rem, 1rem + 6.2vw, 7rem);       /* 52–112px */

  --margin: clamp(1rem, 2.8vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7rem, 13vw, 13rem);
  --header: 5rem;
  --radius: 6px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, figure, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: var(--header); }
.amp { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--gold); color: var(--on-gold); border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.6rem;
  background: var(--gold); color: var(--on-gold);
  font-weight: 500; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
  border-radius: var(--radius);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.button:active { transform: scale(0.97); }
.button--small { min-height: 2.75rem; padding: 0 1.1rem; }
.text-link, .plate-link, .footer a, .starter-alt a, .menu-aside a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.text-link { font-size: 1.0625rem; color: var(--muted); text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--gold-hi); }
  .text-link:hover { color: var(--ink); }
  .text-link:hover, .plate-link:hover, .footer a:hover, .starter-alt a:hover, .menu-aside a:hover { text-decoration-color: currentColor; }
}

/* ======================================================================
   HEADER + MENU
   ====================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header);
  padding: 0 var(--margin);
  transition: transform 380ms var(--ease-out), background-color 240ms ease;
}
.site-header.is-solid { background: var(--bg); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { background: transparent; transform: none; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; border-radius: 4px; }
.brand svg { width: 46px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.3125rem; letter-spacing: -0.01em; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 0.625rem; }
.menu-button {
  display: inline-flex; align-items: center; gap: 0.75rem;
  min-height: 2.75rem; padding: 0 1.1rem 0 1rem;
  background: var(--surface-2); color: var(--ink);
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.menu-button:active { transform: scale(0.97); }
.menu-icon { position: relative; width: 20px; height: 12px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 320ms var(--ease-out), top 320ms var(--ease-out);
}
.menu-icon::before { top: 1px; }
.menu-icon::after { top: 9px; }
.menu-button[aria-expanded="true"] .menu-icon::before { top: 5px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { top: 5px; transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .menu-button:hover { background: #3c2c1f; }
}

.site-menu {
  position: fixed; inset: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: end;
  padding: calc(var(--header) + 2rem) var(--margin) 2.5rem;
  background: var(--surface);
  overflow-y: auto;
}
.js .site-menu { visibility: hidden; opacity: 0; transition: opacity 280ms ease, visibility 0s linear 280ms; }
.js .site-menu.is-open { visibility: visible; opacity: 1; transition: opacity 280ms ease; }
.menu-nav { grid-column: 1 / 8; }
.menu-links { display: grid; gap: 0.25rem; }
.menu-links a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--step-display);
  line-height: 1.08; letter-spacing: -0.03em;
  text-decoration: none;
  transition: color var(--t-hover) ease, transform 300ms var(--ease-out);
}
.menu-links a[aria-current="page"] { color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .menu-links a:hover { color: var(--gold-hi); transform: translateX(10px); }
}
.menu-aside { grid-column: 9 / 13; display: grid; gap: 1.75rem; padding-bottom: 0.75rem; font-size: 1.0625rem; }
.menu-aside p { color: var(--muted); }
.menu-aside .menu-big { font-family: var(--font-display); font-size: var(--step-lead); color: var(--ink); text-decoration: none; }
.menu-social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.menu-aside .button { justify-self: start; }

/* ======================================================================
   HOME HERO: two tones split at the middle; the name control on the right
   ====================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100svh;
}
.hero-main {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header) + 2rem) var(--margin) clamp(2.5rem, 7vh, 4.5rem);
  background: var(--bg);
}
.hero-copy { max-width: 40rem; }
.hero-title { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.hero-sentence { margin-top: 2rem; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero-side {
  display: grid; place-items: center;
  padding: calc(var(--header) + 3rem) var(--margin) 5rem;
  background: var(--surface);
}

/* the name control (a working piece of interface: its own borders are allowed) */
.namer { width: min(100%, 38rem); }
.namer-lockup {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--namer-size, var(--step-display));
  line-height: 1.02;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.namer-row { display: block; }
.namer-name { display: inline-block; }
.namer-label { display: block; margin-top: 2.75rem; font-size: var(--step-small); color: var(--muted); }
.namer-input {
  display: block; width: 100%; height: 3.5rem; margin-top: 0.625rem; padding: 0 1rem;
  background: var(--bg); color: var(--ink);
  border: 1px solid #4a3a29; border-radius: var(--radius); /* taste-skill-ignore: form field */
  font-size: 1.0625rem;
  transition: border-color var(--t-hover) ease;
}
.namer-input::placeholder { color: #8f806c; }
.namer-input:hover { border-color: #6b5439; }
.namer-input:focus { outline: none; border-color: var(--gold); }
.namer-readout { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin-top: 0.875rem; font-size: var(--step-small); color: var(--muted); }
#namer-domain { color: var(--ink); }

/* ======================================================================
   PAGE HERO (inner pages)
   ====================================================================== */
.page-hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem;
  align-items: end;
  padding: calc(var(--header) + clamp(4rem, 9vw, 8rem)) var(--margin) clamp(4rem, 8vw, 7rem);
}
.page-title { grid-column: 1 / 8; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.03em; }
.page-intro { grid-column: 1 / 7; }
.page-lede { font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.page-side { grid-column: 8 / 13; grid-row: 1 / 3; align-self: end; }

/* jump list on the services hero */
.jump { display: grid; gap: 0.5rem; }
.jump a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface); border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--t-hover) ease;
}
.jump-name { font-family: var(--font-display); font-size: var(--step-lead); }
.jump-note { font-size: var(--step-small); color: var(--muted); text-align: right; }
@media (hover: hover) and (pointer: fine) {
  .jump a:hover { background: var(--surface-2); }
}

/* ======================================================================
   WORK: full-screen plates, one row along the bottom
   ====================================================================== */
.work-intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: end;
  padding: var(--section) var(--margin) clamp(3.5rem, 6vw, 6rem);
}
.work-title { grid-column: 1 / 7; font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.work-lede { grid-column: 8 / 13; max-width: 46ch; }

.plate {
  position: relative;
  height: 100vh; height: 100svh;
  overflow: clip;
  background: var(--bg);
}
.plate-pic, .plate-pic img { display: block; width: 100%; height: 100%; }
.plate-pic img {
  object-fit: cover;
  object-position: 50% 0;
  transform-origin: 50% 0;
  transform: translate3d(0, var(--drift, 0%), 0) scale(1.1);
  will-change: transform;
}
.plate-row {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 1.5rem;
  height: 5.625rem;
  padding: 0 var(--margin);
  background: var(--bg);
  color: var(--ink);
}
.plate-fact { flex: none; width: calc(34vw - var(--margin)); font-size: var(--step-small); color: var(--muted); }
.plate-name {
  flex: 1; min-width: 0;
  font-size: var(--step-lead);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.plate-name a { text-decoration: none; }
.plate-link { flex: none; font-size: var(--step-small); text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.plate-link span { display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
.plate-link:hover span { transform: translate(2px, -2px); }

/* ======================================================================
   HOME: what we do (index rows linking to the services page)
   ====================================================================== */
.offer {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  padding: var(--section) var(--margin);
}
.offer-head { grid-column: 1 / 5; }
.offer-title { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.offer-head p { margin-top: 1.5rem; max-width: 30ch; color: var(--muted); }
.offer-all { grid-column: 6 / 13; justify-self: start; margin-top: 1.5rem; }
.offer-list { grid-column: 6 / 13; display: grid; gap: 0.5rem; align-content: start; }
.offer-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.5rem;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  background: var(--surface); border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--t-hover) ease;
}
.offer-name { font-family: var(--font-display); font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.025em; transition: color var(--t-hover) ease; }
.offer-note { grid-column: 1; margin-top: 0.5rem; color: var(--muted); }
.offer-arrow { grid-column: 2; grid-row: 1 / 3; font-size: var(--step-lead); color: var(--gold); transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .offer-list a:hover { background: var(--surface-2); }
  .offer-list a:hover .offer-name { color: var(--gold-hi); }
  .offer-list a:hover .offer-arrow { transform: translateX(6px); }
}

/* ======================================================================
   SERVICES PAGE: website packages beside a sticky picture
   ====================================================================== */
.packages {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  padding: calc(var(--section) * 0.5) var(--margin) var(--section);
}
.packages-side { grid-column: 1 / 6; }
.packages-sticky { position: sticky; top: calc(var(--header) + 2rem); }
.section-title { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.section-intro { margin-top: 1.5rem; max-width: 40ch; }
.duo { position: relative; margin-top: 2.5rem; padding-right: 14%; padding-bottom: 8%; }
.duo-desk { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: 4px; background: var(--surface); }
.duo-phone {
  position: absolute; right: 0; bottom: 0;
  width: 28%; aspect-ratio: 500 / 1080; object-fit: cover; object-position: 50% 0;
  border: 6px solid var(--surface-2); border-radius: 18px;
  background: var(--surface);
}
.duo figcaption { margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.packages-list { grid-column: 7 / 13; display: grid; gap: 0.5rem; align-content: start; }
.pkg { padding: 1.75rem 2rem; background: var(--surface); border-radius: var(--radius); }
.pkg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
.pkg-name { font-size: var(--step-lead); line-height: 1.2; }
.pkg-size { flex: none; font-size: var(--step-small); color: var(--gold); white-space: nowrap; }
.pkg-desc { margin-top: 0.625rem; max-width: 46ch; color: var(--muted); }
.pkg--ask { background: transparent; padding-inline: 0; }
.pkg--ask .pkg-desc { color: var(--ink); }

/* ======================================================================
   SERVICES PAGE: advertising (ads per week)
   ====================================================================== */
.ads {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: center;
  padding: var(--section) var(--margin);
  background: var(--surface);
}
.ads-copy { grid-column: 1 / 7; }
.ads-picker { margin-top: 2.5rem; }
.ads-picker legend { font-size: var(--step-small); color: var(--muted); padding: 0; }
.ads-options { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.ads-options label { position: relative; }
.ads-options input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ads-options span {
  display: grid; place-items: center;
  width: 4rem; height: 4rem;
  background: var(--bg); color: var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-display); font-size: var(--step-lead);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.ads-options input:checked + span { background: var(--gold); color: var(--on-gold); }
.ads-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.ads-options label:active span { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .ads-options input:not(:checked):hover + span { background: var(--surface-2); }
}
.ads-copy .button { margin-top: 2rem; }
.ads-figure { grid-column: 8 / 13; }
.ads-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(9rem, 4rem + 16vw, 19rem);
  line-height: 0.8; letter-spacing: -0.05em;
  color: var(--gold);
}
.ads-unit { display: block; margin-top: 1.5rem; font-family: var(--font-display); font-size: var(--step-lead); }
.ads-month { display: block; margin-top: 0.5rem; color: var(--muted); }

/* ======================================================================
   SERVICES PAGE: business e-mail on paper
   ====================================================================== */
.mailbox {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem;
  padding: var(--section) var(--margin) calc(var(--section) * 0.6);
  background: var(--paper); color: var(--paper-ink);
}
.mailbox .section-title { grid-column: 1 / 6; }
.mailbox-copy { grid-column: 7 / 12; align-self: end; }
.mailbox-copy p + p { margin-top: 1rem; color: var(--paper-muted); }
.mailbox-address { grid-column: 1 / -1; min-width: 0; font-family: var(--font-display); line-height: 1; letter-spacing: -0.035em; }
.mailbox-address > span { display: inline-block; white-space: nowrap; font-size: 7vw; }
.mailbox-address .mail-domain { color: var(--brown); }

/* ======================================================================
   FEATURES: sticky picture beside an active list
   ====================================================================== */
.services {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  padding: var(--section) var(--margin);
}
.services-frame { grid-column: 1 / 7; }
.services-figure { position: sticky; top: calc(var(--header) + 3vh); }
.services-figure::before { content: ""; display: block; aspect-ratio: 16 / 10; }
.services-figure img {
  position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 10; height: auto;
  object-fit: cover; object-position: 30% 30%;
  background: var(--surface);
  opacity: 0;
  transition: opacity 320ms ease;
}
.services-figure img.fit-contain { object-fit: contain; object-position: 50% 50%; padding: 1.25rem 0; }
.services-figure img.is-active { opacity: 1; }
.services-figure figcaption { margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.services-list { grid-column: 8 / 13; }
.services-title { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 3rem; }
.svc-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 4rem; padding: 0.75rem 0;
  text-align: left;
}
.svc-name {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  line-height: 1.2;
  color: var(--muted);
  transition: color var(--t-hover) ease, transform 300ms var(--ease-out);
}
.svc-eg { flex: none; font-size: var(--step-small); color: var(--muted); text-align: right; }
.svc.is-active .svc-name { color: var(--ink); }
.svc-head:hover .svc-name { color: var(--ink); }
.svc-body { display: grid; grid-template-rows: 1fr; }
.svc-body > p { overflow: hidden; max-width: 42ch; color: var(--ink); }
.svc-body > p::after { content: ""; display: block; height: 1.25rem; }
.js .svc-body { grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.js .svc.is-active .svc-body { grid-template-rows: 1fr; }

/* ======================================================================
   ABOUT PAGE
   ====================================================================== */
.about { padding: calc(var(--header) + clamp(4rem, 9vw, 8rem)) var(--margin) var(--section); }
.about-row { display: grid; grid-template-columns: calc(34vw - var(--margin)) minmax(0, 1fr); }
.about-facts { display: grid; gap: 1.25rem; align-content: start; width: 11rem; margin-top: 1rem; font-size: var(--step-small); line-height: 1.45; }
.about-facts dt { color: var(--muted); }
.about-facts dd { color: var(--ink); }
.about-text { max-width: calc(56vw); }
.about-title { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.03em; }
.about-para { margin-top: 2.5rem; font-size: var(--step-lead); line-height: 1.38; max-width: 40ch; }

/* five phones in a row */
.phones { padding: 0 var(--margin) calc(var(--section) * 0.6); }
.phones-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: 3rem; }
.phones-head .section-title { grid-column: 1 / 7; }
.phones-head p { grid-column: 8 / 13; max-width: 42ch; color: var(--muted); }
.phones-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); }
.phone img {
  width: 100%; aspect-ratio: 500 / 1080; object-fit: cover; object-position: 50% 0;
  border: 6px solid var(--surface-2); border-radius: 22px;
  background: var(--surface);
  transition: transform 500ms var(--ease-out);
}
.phone a { display: block; text-decoration: none; border-radius: 22px; }
.phone figcaption { margin-top: 1rem; }
.phone-name { display: block; font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.2; }
.phone-trade { display: block; margin-top: 0.25rem; font-size: var(--step-small); color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .phone a:hover img { transform: translateY(-8px); }
}

/* principles: statement and explanation side by side */
.principles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: calc(var(--section) * 0.5) var(--margin) calc(var(--section) * 0.5); background: var(--surface); }
.principles .section-title { grid-column: 1 / -1; margin-bottom: 3.5rem; }
.principle { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; padding: 2rem 0; }
.principle h3 { grid-column: 1 / 6; font-size: var(--step-lead); line-height: 1.2; }
.principle p { grid-column: 7 / 12; max-width: 46ch; }

/* process: four lines that step across */
.process {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3.5rem;
  padding: var(--section) var(--margin);
}
.step--1 { grid-column: 1 / -1; }
.step--2 { grid-column: 3 / -1; }
.step--3 { grid-column: 5 / -1; }
.step--4 { grid-column: 7 / -1; }
.step-line { font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; white-space: nowrap; }
.step-line--gold { color: var(--gold); }
.step-note { margin-top: 0.75rem; max-width: 34ch; color: var(--muted); }

/* the record */
.record-section { padding: 0 var(--margin) var(--section); }
.about-row--record { grid-template-columns: calc(34vw - var(--margin)) 21rem 21rem; column-gap: 0; }
.about-word { font-size: var(--step-small); color: var(--ink); }
.record-head { color: var(--ink); margin-bottom: 0.875rem; font-size: var(--step-small); }
.record-col { min-width: 0; }
.record-col + .record-col { margin-left: 4rem; }
.record { display: grid; gap: 0.625rem; font-size: var(--step-small); line-height: 1.45; }
.record li { display: flex; justify-content: space-between; gap: 1rem; }
.record li span:first-child { color: var(--ink); }
.record li span:last-child { color: var(--muted); text-align: right; white-space: nowrap; }

/* closing band */
.cta-band {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: end;
  padding: var(--section) var(--margin) calc(var(--section) * 0.6);
  background: var(--field);
}
.cta-band h2 { grid-column: 1 / 8; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.03em; }
.cta-band-copy { grid-column: 8 / 13; }
.cta-band-copy .page-actions { margin-top: 1.75rem; }
.cta-band .text-link { color: var(--ink); }

/* ======================================================================
   CONTACT PAGE: every way to reach Janu, as large rows on paper
   ====================================================================== */
.methods { padding: calc(var(--section) * 0.5) var(--margin); background: var(--paper); color: var(--paper-ink); }
.methods-title { margin-bottom: 2rem; }
.method-list { display: grid; gap: 0.5rem; }
.method {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; align-items: center; column-gap: 2rem;
  padding: 1.75rem 2rem;
  background: var(--paper-2); border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--t-hover) ease;
}
.method-label { font-size: var(--step-small); color: var(--paper-muted); }
.method-value { min-width: 0; font-family: var(--font-display); font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.025em; overflow-wrap: anywhere; transition: color var(--t-hover) ease; }
.method-value span { white-space: nowrap; }
.method-action { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; white-space: nowrap; }
.method-action i { font-style: normal; display: inline-block; transition: transform 300ms var(--ease-out); }
.method--wa .method-value { color: var(--brown); }
@media (hover: hover) and (pointer: fine) {
  .method:hover { background: #ebe4da; }
  .method:hover .method-value { color: var(--brown); }
  .method:hover .method-action i { transform: translate(3px, -3px); }
}
.methods-note { margin-top: 2rem; color: var(--paper-muted); max-width: 60ch; }

/* ======================================================================
   QUOTE: the first step, already open (home, services, contact)
   ====================================================================== */
.start {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: end;
  padding: calc(var(--section) * 0.6) var(--margin);
  background: var(--field);
}
.start-copy { grid-column: 1 / 7; padding-bottom: 0.5rem; }
.start-title { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.03em; }
.start-sentence { margin-top: 1.75rem; max-width: 40ch; }
.start-copy .text-link { display: inline-block; margin-top: 1.5rem; color: var(--ink); }

.starter {
  grid-column: 8 / 13; justify-self: end;
  width: min(100%, 28rem);
  padding: 2rem;
  background: var(--paper); color: var(--paper-ink);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(20, 10, 2, 0.25), 0 36px 70px -24px rgba(20, 10, 2, 0.6); /* taste-skill-ignore: open dialog */
}
.starter-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--step-lead); line-height: 1.12; letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.starter-label { display: block; margin-top: 1.5rem; padding: 0; font-size: var(--step-small); color: var(--paper-muted); }
.starter-input {
  display: block; width: 100%; min-height: 3.25rem; margin-top: 0.5rem; padding: 0 0.875rem;
  background: #fff; color: var(--paper-ink);
  border: 1px solid #d6c9b6; border-radius: var(--radius); /* taste-skill-ignore: form field */
  font-size: 1.0625rem;
  transition: border-color var(--t-hover) ease;
}
textarea.starter-input { padding: 0.75rem 0.875rem; resize: vertical; line-height: 1.5; }
.starter-input::placeholder { color: #9a8a76; }
.starter-input:hover { border-color: #b9a78e; }
.starter-input:focus { outline: none; border-color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0 1rem;
  background: #efe8dd; color: var(--paper-muted);
  border-radius: 999px;
  font-size: var(--step-small);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.chips span::before { content: "+"; font-weight: 500; }
.chips input:checked + span { background: var(--paper-ink); color: #fff; }
.chips input:checked + span::before { content: ""; width: 0.6em; height: 0.32em; margin: 0 0.1em 0.2em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.button--wide { display: flex; width: 100%; margin-top: 1.75rem; }
.starter-alt { margin-top: 1rem; font-size: var(--step-small); color: var(--paper-muted); text-align: center; }
.starter-alt a { color: var(--paper-ink); text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }

/* ======================================================================
   FOOTER: the name runs edge to edge
   ====================================================================== */
.footer {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(5rem, 12vw, 10rem);
  padding: 4rem var(--margin) 1.25rem;
  background: var(--bg);
  font-size: var(--step-small); line-height: 1.7;
}
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); color: var(--muted); }
.footer-head { color: var(--ink); }
.footer a { text-decoration-color: transparent; }
.footer-mark { min-width: 0; }
.wordmark {
  font-family: var(--font-display); font-weight: 500;
  font-size: 16.5vw;
  line-height: 0.9; letter-spacing: -0.03em;
  white-space: nowrap;
  width: max-content;
}
.legal { margin-top: 1.25rem; color: var(--muted); }

/* ======================================================================
   PHONE AND TABLET
   ====================================================================== */
@media (max-width: 860px) {
  :root { --header: 4.25rem; }
  .brand svg { width: 40px; }
  .brand-name { font-size: 1.125rem; }
  .header-quote { display: none; }
  .site-menu { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 3rem; padding-top: calc(var(--header) + 1.5rem); }
  .menu-aside { gap: 1.25rem; }

  .hero { grid-template-columns: 1fr; }
  .hero-side { order: -1; min-height: 58svh; padding: calc(var(--header) + 2rem) var(--margin) 2.5rem; }
  .hero-main { min-height: 42svh; padding-top: 2.25rem; padding-bottom: 2.75rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-sentence { margin-top: 1.25rem; }
  .hero-actions { margin-top: 1.5rem; }
  .namer-label { margin-top: 1.75rem; }

  .page-hero { display: block; }
  .page-lede { margin-top: 1.5rem; }
  .page-intro { margin-top: 0; }
  .page-side { margin-top: 3rem; }

  .work-intro { display: block; }
  .work-lede { margin-top: 1.5rem; }
  .plate { height: 82svh; }
  .plate-row {
    height: auto;
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem;
    padding: 1rem var(--margin) 1.25rem;
  }
  .plate-name { white-space: normal; }
  .plate-fact { width: auto; }
  .plate-link { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .offer { display: block; }
  .offer-list { margin-top: 2.5rem; }
  .offer-list a { padding: 1.5rem 1.25rem; }

  .packages { display: block; }
  .packages-sticky { position: static; }
  .packages-list { margin-top: 3rem; }
  .pkg { padding: 1.5rem 1.25rem; }
  .pkg-top { flex-direction: column; gap: 0.375rem; }

  .ads { display: flex; flex-direction: column; align-items: flex-start; }
  .ads-copy { display: contents; }
  .ads-figure { order: 1; margin-top: 3rem; }
  #ads-quote { order: 2; margin-top: 2.5rem; }
  .ads-options span { width: 3.5rem; height: 3.5rem; }

  .mailbox { display: block; }
  .mailbox-copy { margin-top: 1.5rem; }
  .mailbox-address { margin-top: 3rem; }
  .mailbox-address > span { font-size: 9vw; }

  .services { display: flex; flex-direction: column; }
  .services-list { display: contents; }
  .services-title { order: -1; margin-bottom: 1.5rem; }
  .svc-list { padding-top: 1.5rem; }
  .services-frame { position: sticky; top: 0; z-index: 2; margin-inline: calc(var(--margin) * -1); background: var(--bg); }
  .services-figure { position: relative; top: 0; }
  .services-figure::before, .services-figure img { aspect-ratio: 4 / 3; }
  .services-figure figcaption { margin: 0; padding: 0.625rem var(--margin) 0.75rem; }
  .svc-head { min-height: 3.5rem; }
  .svc-eg { max-width: 40%; }

  .about-row { display: block; }
  .about-text { max-width: none; }
  .about-facts { display: grid; grid-template-columns: 1fr 1fr; width: auto; margin-top: 2.5rem; }
  .about .about-row { display: flex; flex-direction: column-reverse; }
  .record-col { max-width: 26rem; }
  .record-col + .record-col { margin-left: 0; margin-top: 2.5rem; }
  .about-word { margin-bottom: 1rem; }

  .phones-head { display: block; }
  .phones-head p { margin-top: 1.25rem; }
  .phones-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }

  .principles { display: block; }
  .principles .section-title { margin-bottom: 1.5rem; }
  .principle { display: block; padding: 1.5rem 0; }
  .principle p { margin-top: 0.75rem; }

  .process { display: block; }
  .step + .step { margin-top: 2.5rem; }
  .step--2 { padding-left: 6vw; }
  .step--3 { padding-left: 12vw; }
  .step--4 { padding-left: 18vw; }
  .step-line { white-space: normal; }

  .cta-band { display: block; }
  .cta-band-copy { margin-top: 1.75rem; }

  .method { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.25rem; padding: 1.25rem 1.25rem; }
  .method-label { grid-column: 1 / -1; }
  .method-value { font-size: var(--step-lead); }
  .method-action { font-size: var(--step-small); }

  .start { display: block; padding-top: 4.5rem; padding-bottom: 2.5rem; }
  .starter { width: 100%; margin-top: 2.5rem; padding: 1.5rem; }

  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}

@media (max-width: 600px) {
  .about-row--record { display: block; }
  .phones-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--gutter) / 2); }
  .strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-row li:last-child { grid-column: 1 / -1; }
}

/* Tablet: show each client site whole (16:10) with its row beneath, rather than a tall crop */
@media (min-width: 701px) and (max-width: 1100px) {
  .plate { height: auto; }
  .plate-pic { aspect-ratio: 16 / 10; height: auto; }
  .plate-row { position: relative; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .about-row--record { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .about-word { grid-column: 1 / -1; }
  .record-col + .record-col { margin-left: 2rem; }
  .phones-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
}

/* ======================================================================
   MOTION: content is visible without script; hidden states only under .js
   ====================================================================== */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(16px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js .namer { opacity: 0; transform: translateY(24px); animation: rise 1000ms var(--ease-out) 300ms forwards; }

  .js [data-reveal] {
    opacity: 0; transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .step[data-reveal] { transform: translateX(-28px); }
  .js .step[data-reveal].is-in { transform: none; }

  /* lists arrive row by row */
  .js [data-stagger] { opacity: 1; transform: none; }
  .js [data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-stagger].is-in > * { opacity: 1; transform: none; }
  .js [data-stagger].is-in > :nth-child(2) { transition-delay: 70ms; }
  .js [data-stagger].is-in > :nth-child(3) { transition-delay: 140ms; }
  .js [data-stagger].is-in > :nth-child(4) { transition-delay: 210ms; }
  .js [data-stagger].is-in > :nth-child(5) { transition-delay: 280ms; }
  .js [data-stagger].is-in > :nth-child(6) { transition-delay: 350ms; }
  .js [data-stagger].is-in > :nth-child(7) { transition-delay: 420ms; }

  /* the menu: links rise in turn as it opens */
  .js .site-menu .menu-links li, .js .site-menu .menu-aside { opacity: 0; transform: translateY(28px); transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-expo); }
  .js .site-menu.is-open .menu-links li, .js .site-menu.is-open .menu-aside { opacity: 1; transform: none; }
  .js .site-menu.is-open .menu-links li:nth-child(1) { transition-delay: 60ms; }
  .js .site-menu.is-open .menu-links li:nth-child(2) { transition-delay: 110ms; }
  .js .site-menu.is-open .menu-links li:nth-child(3) { transition-delay: 160ms; }
  .js .site-menu.is-open .menu-links li:nth-child(4) { transition-delay: 210ms; }
  .js .site-menu.is-open .menu-links li:nth-child(5) { transition-delay: 260ms; }
  .js .site-menu.is-open .menu-aside { transition-delay: 300ms; }

  .js .ads-number.is-rolling { animation: roll 420ms var(--ease-out); }

  .svc-head:hover .svc-name { transform: translateX(6px); }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes roll { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .plate-pic img { transform: scale(1.1); }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* small headings set in the text face */
.about-word, .record-head, .tips-head { font-family: var(--font-text); font-weight: 400; }

/* contact hero: what to mention */
.tips { padding: 1.75rem 2rem; background: var(--surface); border-radius: var(--radius); }
.tips-head { font-size: var(--step-small); color: var(--muted); }
.tips-list { display: grid; gap: 0.625rem; margin-top: 1rem; }
.tips-list li { display: flex; gap: 0.75rem; }
.tips-list li::before { content: "&"; font-family: var(--font-display); color: var(--gold); }
@media (max-width: 860px) {
  .tips { padding: 1.5rem 1.25rem; }
}

/* contact: see the work first */
.strip { padding: calc(var(--section) * 0.6) var(--margin); }
.strip-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: 2.5rem; }
.strip-head .section-title { grid-column: 1 / 7; }
.strip-head p { grid-column: 8 / 13; max-width: 42ch; color: var(--muted); }
.strip-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); }
.strip-row a { display: block; text-decoration: none; }
.strip-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: 4px; background: var(--surface); transition: transform 500ms var(--ease-out); }
.strip-row span { display: block; margin-top: 0.75rem; font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.2; }
.strip-row small { display: block; margin-top: 0.25rem; font-size: var(--step-small); color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .strip-row a:hover img { transform: translateY(-6px); }
}
@media (max-width: 860px) {
  .strip-head { display: block; }
  .strip-head p { margin-top: 1rem; }
  .strip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
}
.page-hero--tight { padding-bottom: clamp(3rem, 5vw, 4.5rem); }

/* tablet in portrait: keep two columns where the content has two parts */
@media (min-width: 601px) and (max-width: 860px) {
  .ads { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: var(--gutter); }
  .ads-copy { display: block; }
  .ads-figure { margin-top: 0; }
  #ads-quote { margin-top: 2rem; }
  .about-row--record { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.5rem; }
  .about-word { grid-column: 1 / -1; }
  .record-col { max-width: none; }
  .record-col + .record-col { margin-top: 0; }
}

@media (max-width: 600px) {
  .strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-row li:last-child { grid-column: 1 / -1; }
}
