/* ============================================================
   Homepage refresh (November 2026)
   Loaded last on the homepage only. Calmer header, a hero that
   fits one screen, a featured case study, an inverse "About" band
   for contrast, one contact path, and a footer that holds the
   display preferences.
   ============================================================ */

/* ---------- header: four links and one action ---------- */
.focused-home .header-actions { gap: 0; }
.focused-home .primary-nav ul { gap: 2px; }

/* ---------- hero: fits one screen ---------- */
/* leaves the client strip peeking above the fold, so the page invites a scroll */
.focused-home .atelier-hero { min-height: calc(100svh - 96px - 72px); }
.focused-home .atelier-stage { min-height: 0; padding-block: clamp(24px, 4.5vh, 64px); }
.focused-home .atelier-copy { padding: 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: clamp(20px, 3.4vh, 32px);
  padding: 7px 14px 7px 12px; border: 1px solid var(--border-2); border-radius: 999px;
}
.hero-kicker .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.focused-home .atelier-title { font-size: clamp(3.2rem, min(6.4vw, 9.6vh), 7rem); margin-bottom: clamp(20px, 3.4vh, 30px); }
.focused-home .atelier-lede { max-width: 48ch; margin-bottom: clamp(20px, 3.4vh, 28px); }
.focused-home .hero-proof { margin-top: clamp(20px, 3.4vh, 30px); }

/* ---------- client strip: quiet proof instead of a loud ribbon ---------- */
.client-strip { border-block: 1px solid var(--border); background: var(--bg-2); }
.client-strip-inner { display: flex; align-items: center; gap: 18px 40px; padding-block: 22px; flex-wrap: wrap; }
.client-strip p { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-dim); }
.client-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 40px; }
.client-strip li { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; letter-spacing: -.02em; color: var(--text); display: flex; align-items: center; gap: 40px; }
.client-strip li + li::before { content: "◆"; font-size: .5rem; color: var(--accent-text, var(--accent)); margin-left: -26px; margin-right: -14px; }

/* ---------- browser frame: one consistent way to show a website ---------- */
.browser-frame {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.browser-frame .browser-bar { flex: 0 0 auto; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.browser-frame .browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.browser-frame .browser-url {
  margin-left: 10px; font: .62rem var(--mono); color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.browser-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; flex: none; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.browser-frame:hover { border-color: var(--accent-border, var(--accent)); transform: translateY(-4px); box-shadow: 0 30px 70px -40px #000; }
.browser-frame:hover img { transform: scale(1.02); }
/* the frame replaces the old bare thumbnail box */
.project-visual.browser-frame { aspect-ratio: auto; border-radius: 10px; }
.project-visual.browser-frame img { aspect-ratio: 16 / 10; height: auto; }
.project-visual.browser-frame img.probus-thumb { object-fit: cover; background: none; }
.project-visual.browser-frame img.zebbly-product-shot { object-fit: contain; object-position: center; background: #f8f4e9; }
.project-visual.browser-frame img.radio-product-shot { object-position: center 30%; }

/* ---------- selected work ---------- */
.work-head { margin-bottom: clamp(36px, 5vw, 56px); }
.work-head h2, .apps-head h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.4rem); font-weight: 400; line-height: 1; letter-spacing: -.055em;
}
.work-head h2 em, .apps-head h2 em { color: var(--accent-text, var(--accent)); }

.feature-case {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--border);
}
.feature-visual img { aspect-ratio: 16 / 10; }
.feature-copy h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 6px 0 18px; }
.feature-lede { font-size: 1.08rem; line-height: 1.6; color: var(--text-mid); max-width: 40ch; }
.feature-facts { display: grid; gap: 0; margin: 28px 0 32px; border-top: 1px solid var(--border-2); }
.feature-facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border-2); }
.feature-facts dt { font: .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); padding-top: 3px; }
.feature-facts dd { font-size: .95rem; color: var(--text); }

.client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }

.concepts { margin-top: clamp(64px, 8vw, 112px); }
.concepts-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.concepts-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.04em; }
.concepts-head p { max-width: 52ch; font-size: .92rem; color: var(--text-dim); }
.concept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.concept-grid .project-info h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.concept-grid .project-info > p:last-child { font-size: .92rem; }

/* ---------- apps ---------- */
.focused-home .section.apps { background: var(--bg); border: 0; padding-top: 0; }
.apps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--border); }
.apps-head .atelier-textlink { flex: 0 0 auto; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }

/* ---------- services: three tappable cards, then the steps ---------- */
.services-band { background: var(--bg-2); border-top: 1px solid var(--border); }
.services-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.services-head h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 400; line-height: 1; letter-spacing: -.055em; margin-top: 16px; }
.services-head h2 em { color: var(--accent-text, var(--accent)); }
.services-head .section-sub { margin-top: 20px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 260px;
  padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--border-2); border-radius: 12px;
  background: var(--surface); overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); opacity: 0; transition: opacity .4s; pointer-events: none;
}
.svc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-border, var(--border-2)); color: var(--accent-text, var(--accent)); margin-bottom: 8px; }
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); font-weight: 500; letter-spacing: -.035em; }
.svc-card p { font-size: .95rem; line-height: 1.6; color: var(--text-mid); }
.svc-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--text); }
.svc-more span { color: var(--accent-text, var(--accent)); transition: transform .3s var(--ease); }
.svc-card:hover { border-color: var(--accent-border, var(--accent)); transform: translateY(-4px); box-shadow: 0 30px 60px -40px #000; }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover .svc-more span { transform: translateX(4px); }

.steps { margin-top: clamp(48px, 6vw, 80px); }
.steps > h3 { font-size: .68rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps ol::before { content: ""; position: absolute; top: 18px; left: 18px; right: 18px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--border-2)); }
.steps li { position: relative; display: grid; gap: 16px; }
.step-dot {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--accent); color: var(--accent-text, var(--accent)); font-size: .85rem;
}
.steps h4 { font-size: 1.08rem; font-weight: 500; letter-spacing: -.025em; margin-bottom: 6px; }
.steps p { font-size: .93rem; line-height: 1.55; color: var(--text-mid); max-width: 34ch; }

/* ---------- about: dark like the rest, lifted by a soft accent glow ---------- */
.about-band { background: var(--bg); border-top: 1px solid var(--border); overflow: clip; }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-portrait { position: relative; margin: 0; isolation: isolate; }
.about-portrait::before { content: ""; position: absolute; inset: -12% -14% 0; z-index: -1; background: radial-gradient(closest-side, var(--accent-soft), transparent 75%); filter: blur(10px); pointer-events: none; }
.about-portrait img { border: 1px solid var(--border-2); }
.about-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 10px; }
.about-portrait figcaption { margin-top: 14px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.about-copy h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 400; line-height: 1; letter-spacing: -.055em; margin: 18px 0 28px; }
.about-copy h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; color: var(--accent-text, var(--accent)); }
.about-lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text); margin-bottom: 14px; max-width: 46ch; }
.about-copy > p:not(.eyebrow):not(.about-lede) { color: var(--text-mid); max-width: 52ch; }
.about-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 36px 0; }
.about-facts li { border-top: 1px solid var(--border-2); padding-top: 14px; display: grid; gap: 6px; }
.about-facts strong { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.about-facts span { font-size: .88rem; line-height: 1.5; color: var(--text-mid); }
.about-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ---------- contact: one path ---------- */
.focused-home .contact > .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "head form" "faq form"; grid-template-rows: auto 1fr; gap: 32px clamp(40px, 6vw, 96px); align-items: start;
}
.focused-home .contact .section-head { grid-area: head; margin: 0; }
.focused-home .contact .contact-card { grid-area: form; }
.focused-home .contact .contact-faq { grid-area: faq; }
.contact-direct { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 26px; font-size: .95rem; color: var(--text-mid); }
.contact-direct .contact-email {
  font: 500 .95rem var(--font); margin: 0; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px;
}
/* ---------- email actions ----------
   The address itself is never shown: one control opens a draft, one
   copies it. Both are .mailbtn: an icon and a label on a "face". The
   copy button carries a second face (a drawn check and "Copied") that
   main.js adds; .is-done rolls one face out and the other in, and
   .is-copied floods the button with the accent from the pressed point.
   Everything is a transition on a class, so paused motion just swaps. */
.contact-direct > span { flex: 0 0 100%; }
.mailbtn { display: inline-grid; align-items: center; justify-items: center; }
.mailbtn-face {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .55em; white-space: nowrap;
  transition: transform .5s var(--ease), opacity .28s ease;
}
.mailbtn-done { opacity: 0; transform: translateY(85%); pointer-events: none; }
.mailbtn.is-done .mailbtn-face:not(.mailbtn-done) { opacity: 0; transform: translateY(-85%); }
.mailbtn.is-done .mailbtn-done { opacity: 1; transform: none; transition-delay: .08s; }

.mailbtn-ico {
  flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease);
}
.mailbtn-ico > * { transition: transform .4s var(--ease), stroke-dashoffset .45s var(--ease); }
/* envelope: the flap swings up off its crease and the whole thing lifts a touch */
.env-flap { transform-origin: 12px 6.2px; }
.mailbtn:hover .mailbtn-env, .mailbtn:focus-visible .mailbtn-env { transform: translateY(-1px) rotate(-4deg); }
.mailbtn:hover .env-flap, .mailbtn:focus-visible .env-flap { transform: scaleY(-.82); }
/* copy: the two sheets slide apart */
.mailbtn:hover .copy-back, .mailbtn:focus-visible .copy-back { transform: translate(-1.6px, -1.6px); }
.mailbtn:hover .copy-front, .mailbtn:focus-visible .copy-front { transform: translate(1.6px, 1.6px); }
/* check: pops in and draws itself once the face has arrived */
.mailbtn-check { stroke-width: 2.4; transform: scale(.5) rotate(-12deg); }
.mailbtn-check path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mailbtn.is-copied .mailbtn-check { transform: none; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) .12s; }
.mailbtn.is-copied .mailbtn-check path { stroke-dashoffset: 0; transition-delay: .16s; }
.mailbtn.is-done:not(.is-copied) .mailbtn-check { display: none; }

/* in the contact row: the accent floods out from where it was pressed */
.btn.mailbtn { padding-inline: 1.05rem 1.15rem; }
.btn.mailbtn::after {
  content: ""; position: absolute; inset: -1px; z-index: 0; pointer-events: none;
  background: var(--accent);
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  transition: clip-path .6s var(--ease);
}
.btn.mailbtn.is-copied::after { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.btn.ghost.mailbtn.is-copied,
.btn.ghost.mailbtn.is-copied:hover,
.btn.ghost.mailbtn.is-copied:focus-visible { color: var(--accent-ink); }
.btn.mailbtn.is-copied .rip { display: none; }

/* in the footer: quiet links that carry the same icons and the same roll */
.footer-col .mailbtn { justify-items: start; }
.footer-col .mailbtn span { color: inherit; }
.footer-col .mailbtn-ico { width: 14px; height: 14px; opacity: .8; }
.footer-copy {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: var(--text-mid); cursor: pointer; text-align: left;
  transition: color .25s ease;
}
.footer-copy:hover, .footer-copy.is-copied { color: var(--accent-text, var(--accent)); }
.footer-copy.is-copied .mailbtn-ico { opacity: 1; }
.contact-form { text-align: left; padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-form .contact-label { display: block; margin-bottom: 12px; font-size: .68rem; padding: 0; }
.contact-form .chip-row { justify-content: flex-start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-size: .82rem; font-weight: 500; color: var(--text); }
.field > span em { font-style: normal; font-weight: 400; color: var(--text-dim); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-2); border-radius: 6px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field ::placeholder { color: var(--text-dim); }
.contact-form .contact-actions, .contact-form .contact-actions:last-of-type { justify-content: flex-start; margin: 4px 0 0; }
.contact-form .email-note { font-size: .82rem; color: var(--text-dim); margin: 0; }

/* ---------- footer ---------- */
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 36px 40px; padding: 40px 0 36px; border-top: 1px solid var(--border);
}
.footer-brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.footer-brand p { max-width: 32ch; font-size: .92rem; color: var(--text-mid); }
.footer-col { display: grid; gap: 10px; align-content: start; justify-items: start; font-size: .92rem; }
.footer-col > p.mono { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a, .footer-col span { color: var(--text-mid); }
.footer-col a:hover { color: var(--accent-text, var(--accent)); }
.footer-prefs .accent-picker { order: 0; padding: 4px; border: 1px solid var(--border-2); background: transparent; }
.footer-pref-row { display: flex; align-items: center; gap: 10px; }
.footer-prefs .theme-toggle { width: 36px; height: 36px; }

/* ---------- hero: a "latest launch" card ties the artwork to real work ---------- */
.hero-latest {
  display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(22px, 3.6vh, 34px);
  padding: 8px 18px 8px 8px; border: 1px solid var(--border-2); border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  transition: border-color .25s, transform .35s var(--ease);
}
.hero-latest img { width: 84px; height: 52px; object-fit: cover; object-position: center top; border-radius: 5px; display: block; }
.hero-latest > span:not(.hero-latest-arrow) { display: grid; gap: 2px; }
.hero-latest .mono { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text, var(--accent)); }
.hero-latest strong { font-size: .95rem; font-weight: 500; letter-spacing: -.02em; }
.hero-latest-arrow { margin-left: 8px; color: var(--text-dim); transition: transform .3s var(--ease); }
.hero-latest:hover { border-color: var(--accent); transform: translateY(-2px); }
.hero-latest:hover .hero-latest-arrow { transform: translateY(3px); color: var(--accent-text, var(--accent)); }

/* ---------- apps: Zebbly as a mirrored feature ---------- */
.feature-app { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.feature-app .feature-visual { order: 2; }
.feature-app .feature-copy { order: 1; }
.feature-app .feature-visual img { aspect-ratio: 757 / 381; object-fit: cover; background: #f8f4e9; }

/* ---------- contact: status after sending ---------- */
.form-status {
  margin: 0; padding: 12px 14px; border-radius: 6px; font-size: .88rem; line-height: 1.5;
  background: var(--accent-soft); border: 1px solid var(--accent-border, var(--accent)); color: var(--text);
  overflow-wrap: anywhere;
}
.contact-form > .field { margin: 0; }

/* ---------- about: a client quote, once there is one ---------- */
.about-quote { margin: 0 0 32px; padding-left: 20px; border-left: 3px solid var(--accent); }
.about-quote blockquote p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3; }
.about-quote figcaption { margin-top: 10px; font-size: .85rem; color: var(--text-mid); }

@media (max-width: 900px) {
  .feature-app { grid-template-columns: 1fr; }
  .feature-app .feature-visual { order: 0; }
}
@media (max-width: 620px) {
  /* desktop-only artwork: phones go straight from the pitch to the work */
  .focused-home .sculpture-stage { display: none; }
  .focused-home .atelier-hero { min-height: 0; }
  .focused-home .atelier-stage { padding-bottom: 36px; }
  .hero-latest { width: 100%; }
  .hero-latest-arrow { margin-left: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .feature-case, .about-grid { grid-template-columns: 1fr; }
  .concept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focused-home .contact > .wrap { grid-template-columns: 1fr; grid-template-areas: "head" "form" "faq"; grid-template-rows: none; }
  .about-portrait { max-width: 420px; }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 6px; align-items: start; }
  .svc-icon { grid-row: 1 / span 3; margin: 0; }
  .svc-more { padding-top: 8px; }
  .steps ol { grid-template-columns: 1fr; gap: 22px; }
  .steps ol::before { top: 18px; bottom: 18px; left: 18px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--border-2)); }
  .steps li { grid-template-columns: 36px 1fr; gap: 16px; }
}
@media (max-width: 620px) {
  .focused-home .atelier-stage { padding-block: 28px 0; min-height: 0; }
  .focused-home .atelier-copy { padding-top: 0; }
  .focused-home .sculpture-stage { position: relative; width: 100%; right: auto; height: 300px; margin-top: 8px; }
  .hero-kicker { font-size: .6rem; }
  .client-strip-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 18px; }
  .client-strip ul { flex-direction: column; gap: 6px; }
  .client-strip li + li::before { display: none; }
  .client-grid, .concept-grid, .app-grid, .field-row, .about-facts { grid-template-columns: 1fr; }
  .apps-head { flex-direction: column; align-items: flex-start; }
  .feature-facts > div { grid-template-columns: 84px 1fr; }
  .about-facts { gap: 14px; margin: 28px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 22px 18px; }
}

/* ============================================================
   Phones: same content and order, about half the scrolling.
   Side-by-side work becomes swipe rows; repeats are trimmed.
   ============================================================ */
.swipe-hint { display: none; }
@media (max-width: 620px) {
  /* swipe rows that run edge to edge, with the next card peeking in */
  .client-grid, .concept-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -1.1rem; padding: 0 1.1rem 6px; scroll-padding-inline: 1.1rem; scrollbar-width: none;
  }
  .client-grid::-webkit-scrollbar, .concept-grid::-webkit-scrollbar { display: none; }
  .client-grid > *, .concept-grid > * { scroll-snap-align: start; }
  .client-grid .project-info > p:last-child, .concept-grid .project-info > p:last-child { font-size: .88rem; line-height: 1.5; }
  .client-grid .project-info h3, .concept-grid .project-info h3 { font-size: 1.2rem; margin-bottom: 6px; }
  .client-grid .project-category, .concept-grid .project-category { margin-bottom: 6px; }
  .client-grid .project-info, .concept-grid .project-info { padding-top: 14px; }
  .swipe-hint { display: block; font: .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 12px; }
  .concepts { margin-top: 52px; }
  .concepts-head { margin-bottom: 14px; padding-top: 20px; }
  .concepts-head p { font-size: .85rem; }

  /* featured work: lighter on the details */
  .feature-case { gap: 22px; padding-bottom: 40px; margin-bottom: 40px; }
  .feature-copy h3 { font-size: 2rem; margin-bottom: 12px; }
  .feature-lede { font-size: 1rem; }
  .feature-facts { margin: 18px 0 22px; }
  .feature-facts > div { padding: 9px 0; }
  .feature-app .feature-facts { display: none; }
  .feature-app .feature-lede { margin-bottom: 20px; }
  .apps-head { padding-top: 48px; margin-bottom: 24px; gap: 14px; }

  /* services: tighter cards and steps */
  .services-head { margin-bottom: 24px; }
  .svc-grid { gap: 10px; }
  .svc-card { padding: 18px; }
  .svc-card p { font-size: .9rem; }
  .steps { margin-top: 40px; }
  .steps ol { gap: 16px; }
  .steps p { font-size: .88rem; }

  /* about: a small portrait beside the eyebrow, no repeated promises */
  .about-grid { grid-template-columns: 88px 1fr; gap: 0 18px; align-items: start; }
  .about-portrait { grid-column: 1; grid-row: 1; max-width: none; }
  .about-portrait img { aspect-ratio: 1; border-radius: 50%; object-position: center 22%; }
  .about-portrait::before, .about-portrait figcaption { display: none; }
  .about-copy { display: contents; }
  .about-copy > .eyebrow { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .about-copy > :not(.eyebrow) { grid-column: 1 / -1; }
  .about-copy h2 { font-size: 2.5rem; margin: 22px 0 18px; }
  .about-lede { font-size: 1.05rem; }
  .about-facts { display: none; }
  .about-actions { margin-top: 26px; }

  /* contact: tighter form */
  .contact-form { gap: 16px; }
  .contact-form .contact-label { margin-bottom: 8px; }
  .field textarea { min-height: 96px; }
  .focused-home .contact > .wrap { gap: 28px; }
  .contact-direct { margin-top: 18px; }

  /* footer: two short columns, smaller wordmark */
  .footer-word { font-size: 22vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 28px 0 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { display: none; }
  .footer-prefs { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 620px) {
  /* clients read as one line of proof, not a list */
  .client-strip ul { flex-direction: row; flex-wrap: wrap; gap: 4px 0; }
  .client-strip li { font-size: .92rem; gap: 0; }
  .client-strip li + li::before { display: inline; content: "·"; font-size: .92rem; color: var(--text-dim); margin: 0 8px; }
  /* the lede already says what was built */
  .feature-case:not(.feature-app) .feature-facts { display: none; }
  .feature-case:not(.feature-app) .feature-lede { margin-bottom: 20px; }
  /* whole service card is the link, so the text link becomes a corner arrow */
  .svc-card { padding-right: 44px; }
  .svc-more { position: absolute; right: 16px; top: 22px; padding: 0; font-size: 0; }
  .svc-more span { font-size: 1.1rem; }
  .svc-icon { grid-row: 1 / span 2; }
  /* chip choices scroll sideways on one line each */
  .contact-form .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding: 2px 18px; }
  .contact-form .chip-row::-webkit-scrollbar { display: none; }
  .contact-form .chip { flex: 0 0 auto; }
  /* the two buttons share the row and stretch to fill it */
  .contact-direct { column-gap: 8px; }
  .contact-direct .btn.mailbtn { flex: 1 1 auto; padding-inline: .6rem; font-size: .82rem; }
  .contact-direct .mailbtn-face { gap: .45em; }
}
@media (max-width: 620px) {
  /* the last few trims: titles carry the steps, the wordmark is a desktop flourish */
  .steps p, .services-head .section-sub, .footer-word { display: none; }
  .steps ol { gap: 14px; }
  .steps li { align-items: center; }
  .focused-home .section.apps { padding-top: 0; }
  .apps-head { padding-top: 44px; }
  .site-footer { padding-top: 24px; }
  .footer-word { margin-bottom: 4px; }
}

/* ============================================================
   Karbon refresh (late November 2026)
   Real work + the assistant demo replace the diamond in the hero;
   four services; a pricing band.
   ============================================================ */

/* ---------- hero: real work on the right ---------- */
.hero-showcase { position: relative; z-index: 2; grid-column: 2; align-self: center; padding: 40px 0 72px 24px; }
.hero-shot { box-shadow: 0 50px 100px -50px #000; }
.hero-shot img { aspect-ratio: 16 / 10; }
.hero-shot:hover { transform: translateY(-4px) rotate(-1.2deg); }
.hero-shot-tag { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 14px; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.hero-shot-tag .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
/* the showcase already shows the latest launch on wide screens */
@media (min-width: 621px) { .focused-home .hero-latest { display: none; } }
@media (max-width: 1100px) {
  /* keep the tilted screenshot off the intro copy */
  .focused-home .atelier-stage { column-gap: 28px; }
  .hero-showcase { padding: 32px 0 64px 8px; }
  .hero-chat { left: -18px; bottom: -36px; width: min(270px, 64%); }
  .hero-chat .hc-card { display: none; }
}
@media (max-width: 900px) {
  /* one column: the showcase sits under the copy, so put the chat beside the
     screenshot (just kissing its edge) instead of on top of the client's headline */
  .focused-home .atelier-stage { grid-template-columns: 1fr; }
  .hero-showcase {
    grid-column: 1; max-width: 780px; padding: 8px 0 40px;
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(230px, 1fr); align-items: end;
  }
  .hero-shot { grid-column: 1; grid-row: 1; }
  .hero-shot-tag { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .hero-chat { position: relative; left: auto; bottom: auto; width: auto; grid-column: 2; grid-row: 1 / span 2; margin-left: -18px; }
}
@media (max-width: 620px) {
  .hero-showcase { display: none; }
}

/* ---------- services: four cards ---------- */
.svc-grid.svc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .svc-grid.svc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .svc-grid.svc-grid-4 { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing-band { background: var(--bg); border-top: 1px solid var(--border); }
.pricing-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.pricing-head h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 400; line-height: 1; letter-spacing: -.055em; margin-top: 16px; }
.pricing-head h2 em { font-family: var(--serif); color: var(--accent-text, var(--accent)); }
.pricing-head .section-sub { margin-top: 20px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--border-2); border-radius: 14px; background: var(--surface);
}
.price-card.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 40px 80px -50px #000; }
.price-badge { position: absolute; top: -11px; left: 24px; padding: 4px 10px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.price-card h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.03em; }
.price { font-size: clamp(2.2rem, 3.2vw, 2.9rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--text); }
.price-from { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); vertical-align: middle; margin-right: 4px; }
.price-plus { font-size: .95rem; letter-spacing: -.01em; font-weight: 500; color: var(--text-mid); }
.price-for { font-size: .95rem; line-height: 1.55; color: var(--text-mid); }
.price-card ul { list-style: none; display: grid; gap: 10px; padding: 16px 0 0; margin: 0 0 8px; border-top: 1px solid var(--border-2); }
.price-card li { position: relative; padding-left: 26px; font-size: .92rem; line-height: 1.45; color: var(--text); }
.price-card li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-border, var(--accent)); }
.price-card li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 4px); width: 6px; height: 4px; border-left: 1.6px solid var(--accent-text, var(--accent)); border-bottom: 1.6px solid var(--accent-text, var(--accent)); transform: rotate(-45deg); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.care-plan { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; margin-top: clamp(14px, 1.8vw, 24px); padding: 22px clamp(24px, 2.6vw, 34px); border: 1px dashed var(--border-2); border-radius: 14px; }
.care-plan h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.care-plan p { margin-top: 6px; max-width: 70ch; font-size: .92rem; color: var(--text-mid); }
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 620px) {
  .pricing-head { margin-bottom: 28px; }
  .price-grid { gap: 22px; }
  .price-card { padding: 22px 20px; }
}
.pricing-more { margin-top: 22px; font-size: .92rem; color: var(--text-mid); } .pricing-more a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
