/* Manmar v4 "launch-ready": bone, deep forest, aged-brass hairlines.
   Cormorant Garamond for display + the letter, Schibsted Grotesk for everything functional.
   Reference grammar: Bugatti DESIGN.md (photography as the only voltage, regular-weight display,
   wide-tracked wordmark, hairlines, zero radius), translated to a light, warm canvas. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bone: #eeede7;
  --linen: #e5e3da;
  --tone: #d8d5ca;
  --forest: #1e2b24;
  --ink: #1e2b24;
  --ink-2: #4f5b53;
  --rule: #cfccc1;
  --brass: #7a6a40;
  --on-forest: #f1f0ea;
  --forest-hover: #2b3b32;
  --error: #9b2c22;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1400px;
  --section: clamp(96px, 11vw, 176px);
  --header: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 10;
  --z-dock: 20;
  --z-grain: 30;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bone: #141a16;
    --linen: #1a211c;
    --tone: #232b26;
    --forest: #dfe3da;
    --ink: #e9e8e1;
    --ink-2: #a9b1a9;
    --rule: #2e3832;
    --brass: #c4ae7c;
    --on-forest: #141a16;
    --forest-hover: #f1f0ea;
    --error: #f0a094;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media (pointer: fine) { html { overscroll-behavior: none; } }

body {
  margin: 0;
  background-color: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Paper grain on a fixed, non-interactive layer (no repaint while scrolling). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
[hidden] { display: none !important; }
picture { display: block; height: 100%; }
::selection { background: var(--forest); color: var(--on-forest); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 50;
  background: var(--forest); color: var(--on-forest); padding: 12px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.btn-solid:focus-visible, .dock a:focus-visible { outline-color: var(--on-forest); outline-offset: -5px; }

/* Display type */
.hero h1, .services h2, .steam h2, .letter h2, .reviews h2, .contact h2, .service-list h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.services h2, .reviews h2, .contact h2 { font-size: clamp(2.75rem, 4.6vw, 4.25rem); line-height: 1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bone) 90%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule); }
.bar {
  display: flex; align-items: center; gap: 48px; height: var(--header);
  padding-inline: var(--gutter);
}
.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.34em; text-decoration: none;
  margin-right: -0.34em;
}
.nav { display: flex; gap: 36px; margin-right: auto; }
.nav a, .bar-phone {
  font-size: 0.9375rem; text-decoration: none; color: var(--ink-2);
  transition: color 0.25s var(--ease);
}
.nav a:hover, .bar-phone:hover { color: var(--ink); }
.bar-actions { display: flex; align-items: center; gap: 32px; }
.bar-phone { font-variant-numeric: tabular-nums; }

/* Buttons: zero radius everywhere, one label per intent. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  font: inherit; font-size: 1rem; font-weight: 500; white-space: nowrap;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease), opacity 0.3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn-solid { background: var(--forest); color: var(--on-forest); }
.btn-solid:hover { background: var(--forest-hover); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }

.link {
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 7px; text-decoration-color: var(--brass);
  transition: text-decoration-color 0.25s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

/* Hero: copy on the canvas, photo bleeding to the right edge, full height. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  min-height: calc(100svh - var(--header));
  border-top: 1px solid var(--rule);
}
.hero-copy {
  grid-column: 1; grid-row: 1;
  align-self: end;
  padding-block: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 104px);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-inline-end: clamp(32px, 5vw, 88px);
}
.hero-media { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; background: var(--tone); }
.hero-media img { position: absolute; inset: 0; object-position: 60% 55%; }
.hello {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.2;
  color: var(--brass);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 4.3vw, 5.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 17ch;
}
.hero-lead {
  margin-top: clamp(28px, 3vw, 40px);
  max-width: 34ch;
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 44px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 1.1s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.26s; }
  .hero-media img { animation: settle 2.4s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
}

/* Services: sticky intro + photo on the left, the list on the right. */
.services { padding-block: var(--section); }
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 8vw, 144px);
}
.services-head { align-self: start; position: sticky; top: calc(var(--header) + 48px); }
.services-head > p { margin-top: 24px; max-width: 32ch; color: var(--ink-2); }
.services-media { margin-top: 48px; aspect-ratio: 4 / 5; max-width: 420px; overflow: hidden; background: var(--tone); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { padding: 40px 0 44px; border-top: 1px solid var(--rule); }
.service-list li:first-child { border-top-color: var(--brass); }
.service-list li:last-child { border-bottom: 1px solid var(--rule); }
.service-list h3 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.05; }
.service-list p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }

/* Steam: headline, then a full-bleed film, then the notes. */
.steam { padding-bottom: var(--section); }
.steam-head h2 {
  font-size: clamp(2.125rem, 3.8vw, 3.5rem);
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.steam-media { position: relative; background: var(--tone); aspect-ratio: 16 / 9; max-height: 82svh; overflow: hidden; }
.steam-media video { filter: saturate(0.9) sepia(0.08) contrast(0.98); }
.steam-media figcaption {
  position: absolute; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px);
}
.video-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
  color: #f1f0ea; background: rgba(30, 43, 36, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 240, 234, 0.25); border-radius: 0;
  padding: 10px 16px 10px 14px; cursor: pointer; min-height: 44px;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.video-toggle:hover { background: rgba(30, 43, 36, 0.8); border-color: rgba(241, 240, 234, 0.5); }
.video-toggle:focus-visible { outline-color: #f1f0ea; outline-offset: 3px; }
.video-toggle-icon { position: relative; width: 12px; height: 12px; flex: none; }
.video-toggle-icon::before, .video-toggle-icon::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor;
}
.video-toggle-icon::before { left: 1px; }
.video-toggle-icon::after { right: 1px; }
.video-toggle.is-paused .video-toggle-icon::before {
  left: 2px; width: 0; background: none;
  border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.video-toggle.is-paused .video-toggle-icon::after { display: none; }
.steam-notes {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
  column-gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(48px, 5vw, 72px);
}
.steam-intro { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.3; max-width: 24ch; }
.note { border-top: 1px solid var(--rule); padding-top: 18px; }
.note h3 { font-size: 1.0625rem; font-weight: 500; }
.note p { margin-top: 6px; color: var(--ink-2); max-width: 30ch; }

/* About: the letter. The one place on the page that is allowed to be ornate. */
.about { background: var(--linen); padding-block: var(--section); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(48px, 9vw, 160px);
  align-items: center;
}
.about-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tone); }
.about-media img { transform: scale(1.06); transform-origin: 35% 40%; }
.letter { max-width: 34rem; }
.letter h2 { font-size: clamp(2.5rem, 4vw, 3.75rem); line-height: 1.05; margin-bottom: 36px; }
.letter p:not(.sig-name) {
  font-family: var(--serif); font-size: clamp(1.3125rem, 1.6vw, 1.5rem); line-height: 1.5;
  color: var(--ink);
}
.letter p + p { margin-top: 18px; }
.signature { margin-top: 40px; }
.sig { width: clamp(200px, 22vw, 270px); height: auto; overflow: visible; display: block; }
.sig text {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 96px;
  fill: var(--brass); stroke: var(--brass); stroke-width: 0.6;
}
.sig path { fill: none; stroke: var(--brass); stroke-width: 1.4; stroke-linecap: round; }
.sig-name {
  margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2);
  font-variant-caps: all-small-caps; letter-spacing: 0.12em;
}
/* Signature writes itself once when it scrolls into view (main.js adds .is-drawn). */
@media (prefers-reduced-motion: no-preference) {
  .js .sig text { fill-opacity: 0; stroke-dasharray: 700; stroke-dashoffset: 700; }
  .js .sig path { stroke-dasharray: 360; stroke-dashoffset: 360; }
  .js .sig.is-drawn text {
    transition: stroke-dashoffset 2.6s cubic-bezier(0.5, 0, 0.2, 1), fill-opacity 1.2s ease 1.8s;
    stroke-dashoffset: 0; fill-opacity: 1;
  }
  .js .sig.is-drawn path { transition: stroke-dashoffset 1.2s cubic-bezier(0.5, 0, 0.2, 1) 1.7s; stroke-dashoffset: 0; }
}

/* Reviews: Google reviews mirrored by hand. Empty state until the first one exists. */
.reviews { padding-block: var(--section) 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 8vw, 144px);
  padding-bottom: var(--section);
  border-bottom: 1px solid var(--rule);
}
.reviews-head > p { margin-top: 24px; max-width: 32ch; color: var(--ink-2); }
.reviews-body { padding-top: 12px; }
.reviews-empty { border-top: 1px solid var(--brass); padding-top: 28px; max-width: 36rem; }
.reviews-empty-lead { font-family: var(--serif); font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.2; }
.reviews-empty > p + p { margin-top: 14px; color: var(--ink-2); max-width: 44ch; }
.reviews-google { margin-top: 32px; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.review { border-top: 1px solid var(--rule); padding: 36px 0 40px; }
.review:first-child { border-top-color: var(--brass); }
.review:last-child { border-bottom: 1px solid var(--rule); }
.review blockquote { margin: 0; }
.review blockquote p {
  font-family: var(--serif); font-size: clamp(1.3125rem, 1.7vw, 1.625rem); line-height: 1.4; max-width: 30em; overflow-wrap: anywhere;
}
.review blockquote p::before { content: "\201D"; }
.review blockquote p::after { content: "\201D"; }
.review footer { display: flex; gap: 18px; align-items: baseline; margin-top: 16px; font-size: 0.9375rem; color: var(--ink-2); }
.review-name { color: var(--ink); font-weight: 500; }
.review-src { font-variant-caps: all-small-caps; letter-spacing: 0.12em; }

/* Contact */
.contact { padding-block: var(--section); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 9vw, 160px);
}
.contact-side > p { margin-top: 24px; max-width: 34ch; color: var(--ink-2); }
.contact-list { margin-top: 48px; border-bottom: 1px solid var(--rule); }
.contact-list > div {
  display: grid; grid-template-columns: 7rem 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--rule);
}
.contact-list > div:first-child { border-top-color: var(--brass); }
.contact-list dt { color: var(--ink-2); font-size: 0.9375rem; font-variant-caps: all-small-caps; letter-spacing: 0.12em; }
.contact-list dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--brass); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; align-content: start; padding-top: 12px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full, .form-foot { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--ink-2);
  border-radius: 0;
  padding: 8px 0 10px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.field select {
  background-color: var(--bone); color: var(--ink);
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a6a40' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.field select option { color: var(--ink); background-color: var(--bone); }
.field ::placeholder { color: var(--ink-2); opacity: 0.8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--ink);
}
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.err { min-height: 1.2em; font-size: 0.875rem; color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 4px; }
.form-foot p { font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); max-width: 36ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 56px 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
  column-gap: clamp(32px, 5vw, 80px); row-gap: 40px;
  align-items: start;
}
.footer-brand .wordmark { display: inline-flex; }
.footer-brand p { margin-top: 14px; font-size: 0.9375rem; color: var(--ink-2); max-width: 30ch; }
.footer-brand .area-line { margin-top: 10px; max-width: 36ch; }
.footer-facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 7px 0; font-size: 0.9375rem; }
.footer-facts dt { color: var(--ink-2); font-variant-caps: all-small-caps; letter-spacing: 0.12em; }
.footer-facts dd { font-variant-numeric: tabular-nums; }
.footer-facts a { text-decoration: none; }
.footer-facts a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--brass); }
.privacy { font-size: 0.9375rem; }
.privacy summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 0; color: var(--ink); font-weight: 500;
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after {
  content: ""; width: 7px; height: 7px; border-right: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
  transform: translateY(-2px) rotate(45deg); transition: transform 0.25s var(--ease);
}
.privacy[open] summary::after { transform: translateY(1px) rotate(225deg); }
.privacy p { margin-top: 10px; color: var(--ink-2); line-height: 1.6; max-width: 40ch; }

.dock { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .bar { justify-content: space-between; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { grid-column: 1; grid-row: 1; height: 36svh; min-height: 240px; max-height: 400px; }
  .hero-media img { object-position: 50% 58%; }
  .hero-copy { grid-row: 2; padding-inline: var(--gutter); padding-block: 28px 72px; }
  .hero h1 { max-width: 10ch; }
  .services-grid, .contact-grid, .about-grid, .reviews-grid { grid-template-columns: 1fr; }
  .services-head { position: static; margin-bottom: 40px; }
  .services-media { max-width: none; aspect-ratio: 4 / 3; }
  .steam-media { aspect-ratio: 4 / 5; max-height: 70svh; }
  .steam-notes { grid-template-columns: 1fr; row-gap: 28px; }
  .about-media { aspect-ratio: 4 / 3; margin-bottom: 48px; }
  .reviews-head { margin-bottom: 40px; }
  .contact-side { margin-bottom: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --header: 64px; }
  .bar-phone { display: none; }
  .bar { justify-content: center; }
  .bar-actions { display: none; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.25rem); margin-top: 6px; max-width: 10ch; }
  .hero-lead { margin-top: 18px; font-size: 1rem; max-width: 30ch; }
  .hello { font-size: 1.25rem; }
  .hero-actions { margin-top: 24px; gap: 16px 28px; }
  .hero-actions .link { display: none; }
  .service-list li { padding: 28px 0 32px; }
  .steam-media figcaption { right: 16px; bottom: 16px; }
  .form { grid-template-columns: 1fr; gap: 28px; }
  .form-foot .btn { width: 100%; }
  .form-foot p { max-width: none; }
  .contact-list > div { grid-template-columns: 6.5rem 1fr; }
  .footer-inner { grid-template-columns: 1fr; row-gap: 32px; }
  .footer-brand { grid-column: auto; }

  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--forest);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; height: 60px;
    color: var(--on-forest); text-decoration: none; font-weight: 500;
    touch-action: manipulation;
  }
  .dock a + a { border-left: 1px solid color-mix(in srgb, var(--on-forest) 22%, transparent); }
}

/* Logo: twin-peak M with a brass leaf + Newsreader wordmark, outlined (symbol #logo). Ink follows currentColor, leaf follows --brass. */
.wordmark { display: inline-flex; align-items: center; margin-right: 0; letter-spacing: 0; text-transform: none; line-height: 0; }
.logo { height: 2.5rem; width: auto; aspect-ratio: 180.8 / 51.2; flex: none; }
.footer-brand .wordmark { font-size: inherit; }
.footer-brand .logo { height: 2.25rem; }
@media (max-width: 760px) { .logo { height: 2.25rem; } }

/* Services extra line + prices: same hairline grammar as the service list, tabular numerals, no badges. */
.service-extra { margin-top: 28px; color: var(--ink-2); max-width: 46ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.prices { padding-block: 0 var(--section); }
.prices-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 8vw, 144px);
}
.prices h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(2.75rem, 4.6vw, 4.25rem); line-height: 1; }
.prices-head > p { margin-top: 24px; max-width: 32ch; color: var(--ink-2); }
.price-headline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; padding: 28px 0; border-top: 1px solid var(--brass); border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums lining-nums; }
.price-headline .from { font-size: 1rem; color: var(--ink-2); }
.price-headline .amount { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.01em; }
.price-terms { margin-top: 28px !important; }
.price-quote { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink-2); }
.price-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 860px) {
  .prices-grid { grid-template-columns: 1fr; }
  .prices-head { margin-bottom: 36px; }
}

/* Reviews from the admin: brass stars above the quote, first name + month under it. Same hairline grammar as before. */
.stars { display: inline-flex; gap: 3px; margin-bottom: 18px; }
.star { width: 15px; height: 15px; color: var(--rule); }
.star.is-on { color: var(--brass); }
.star svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.review-date { font-variant-numeric: tabular-nums; }

/* Ennen ja jälkeen: one comparison per row, the slider is the only interactive thing. */
.work { padding-block: 0 var(--section); }
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 8vw, 144px);
}
.work h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(2.75rem, 4.6vw, 4.25rem); line-height: 1; }
.work-head { align-self: start; position: sticky; top: calc(var(--header) + 48px); }
.work-head > p { margin-top: 24px; max-width: 32ch; color: var(--ink-2); }
.work-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 5vw, 64px); }
.work-item { border-top: 1px solid var(--rule); padding-top: 28px; }
.work-item:first-child { border-top-color: var(--brass); }
/* Desktop: a portrait pair stays portrait but never taller than the viewport. */
.work-figure .cmp { max-height: min(640px, 75svh); width: min(100%, calc(min(640px, 75svh) * var(--ratio, 1.333))); }
.work-figure figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--ink-2); max-width: 46ch; }

.cmp {
  --pos: 50%;
  position: relative; width: 100%; overflow: hidden; background: var(--tone);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-label {
  position: absolute; bottom: 14px; z-index: 2; pointer-events: none;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; font-variant-caps: all-small-caps;
  color: #f1f0ea; background: rgba(30, 43, 36, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 240, 234, 0.25); padding: 5px 11px; line-height: 1.3;
}
.cmp-label--before { left: 14px; }
.cmp-label--after { right: 14px; }
.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -0.5px; width: 1px; background: rgba(241, 240, 234, 0.9); box-shadow: 0 0 0 0.5px rgba(30, 43, 36, 0.35); }
.cmp-knob {
  position: relative; width: 48px; height: 48px; flex: none; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(30, 43, 36, 0.6); color: #f1f0ea;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(241, 240, 234, 0.45); border-radius: 0; cursor: ew-resize;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cmp:hover .cmp-knob, .cmp.is-dragging .cmp-knob { background: rgba(30, 43, 36, 0.85); border-color: rgba(241, 240, 234, 0.8); }
.cmp-knob:focus-visible { outline: 2px solid #f1f0ea; outline-offset: 3px; }
.cmp-knob > span { position: relative; width: 20px; height: 10px; }
.cmp-knob > span::before, .cmp-knob > span::after {
  content: ""; position: absolute; top: 1px; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor;
}
.cmp-knob > span::before { left: 1px; transform: rotate(-45deg); }
.cmp-knob > span::after { right: 1px; transform: rotate(135deg); }

/* Without the slider script the pair is shown side by side. */
.work-figure .cmp:not(.is-live) { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; cursor: auto; aspect-ratio: auto; max-height: none; }
.work-figure .cmp:not(.is-live) img { position: static; height: auto; clip-path: none; aspect-ratio: var(--ratio, 1.333); }
.work-figure .cmp:not(.is-live) .cmp-handle { display: none; }

/* Several pairs: scroll-snap carousel. Touch drags the slider from the handle only; the rest of the photo swipes. */
.work-list.is-carousel {
  display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start;
}
.work-list.is-carousel::-webkit-scrollbar { display: none; }
.work-list.is-carousel:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; }
.is-carousel .work-item { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; border-top-color: var(--brass); }
.cmp--touch-handle { touch-action: pan-x pan-y pinch-zoom; }
.cmp--touch-handle .cmp-knob { touch-action: none; }
.cmp--touch-handle .cmp-knob::after { content: ""; position: absolute; inset: -16px; }
.work-main { min-width: 0; }
.work-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.work-btn {
  width: 48px; height: 48px; padding: 0; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.work-btn svg { width: 22px; height: 22px; }
.work-prev svg { transform: scaleX(-1); }
.work-btn:hover:not(:disabled) { background: var(--forest); color: var(--on-forest); }
.work-btn:active:not(:disabled) { transform: translateY(1px); }
.work-btn:focus-visible, .work-dot:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.work-btn:disabled { opacity: 0.3; cursor: default; }
.work-dots { display: flex; align-items: center; flex: 1; flex-wrap: wrap; }
.work-dot { width: 28px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.work-dot::before {
  content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px;
  background: var(--rule); transition: background-color 0.25s var(--ease);
}
.work-dot.is-on::before { background: var(--brass); }
.work-count { font-variant-numeric: tabular-nums; font-size: 0.9375rem; color: var(--ink-2); min-width: 4ch; text-align: right; margin: 0; }

@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-head { position: static; margin-bottom: 36px; }
  .work-list { gap: 36px; }
}

/* FAQ (Usein kysyttyä): same two-column grammar as Hinnat/Suositukset. */
.faq { padding-block: var(--section) 0; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(48px, 8vw, 144px);
  padding-bottom: var(--section);
  border-bottom: 1px solid var(--rule);
}
.faq h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(2.75rem, 4.6vw, 4.25rem); line-height: 1; }
.faq-head > p { margin-top: 24px; max-width: 32ch; color: var(--ink-2); }
.faq-list { border-top: 1px solid var(--brass); }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.2; }
.faq-item p { margin-top: 12px; color: var(--ink-2); max-width: 60ch; line-height: 1.6; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; row-gap: 32px; } }

/* Galleria: same two-column grammar as Ennen ja jälkeen. Uniform 4:3 tiles, full photo in the lightbox. */
.gallery { padding-block: 0 var(--section); }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 8vw, 144px); }
.gallery h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(2.75rem, 4.6vw, 4.25rem); line-height: 1; }
.gallery-head { align-self: start; position: sticky; top: calc(var(--header) + 48px); }
.gallery-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); border-top: 1px solid var(--brass); padding-top: 28px; }
.gallery-item { min-width: 0; }
.gallery-tile { display: block; width: 100%; padding: 0; border: 0; background: var(--linen); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; touch-action: manipulation; }
.gallery-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) { .gallery-tile:hover img { transform: scale(1.03); } }
.gallery-tile { position: relative; }
.gallery-play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 26, 22, 0.62); color: #f1f0ea; border: 1px solid rgba(241, 240, 234, 0.5); pointer-events: none; }
.gallery-play svg { width: 22px; height: 22px; margin-left: 2px; }
.gallery-tile:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.gallery-cap { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-head { position: static; margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-tile img { transition: none; } }

.lb-open { overflow: hidden; }
.lb { border: 0; padding: 0; margin: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; background: #141a16; color: #f1f0ea; overscroll-behavior: contain; }
.lb::backdrop { background: #141a16; }
.lb[open] { display: grid; grid-template-rows: 1fr auto; }
.lb-stage { min-height: 0; display: grid; place-items: center; padding: 64px 16px 8px; touch-action: pan-y pinch-zoom; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; user-select: none; -webkit-user-select: none; }
.lb-vid { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; display: block; background: #000; }
.lb-vid[hidden], .lb-img[hidden] { display: none; }
.lb-meta { padding: 8px 20px max(20px, env(safe-area-inset-bottom)); text-align: center; min-height: 64px; }
.lb-cap { font-size: 1rem; max-width: 60ch; margin: 0 auto; overflow-wrap: anywhere; }
.lb-count { margin: 6px 0 0; font-size: 0.875rem; color: #a9b1a9; font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(241, 240, 234, 0.4); border-radius: 50%; background: rgba(20, 26, 22, 0.6); color: #f1f0ea; display: grid; place-items: center; cursor: pointer; padding: 0; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: #f1f0ea; color: #141a16; }
.lb-btn:focus-visible { outline: 2px solid #f1f0ea; outline-offset: 3px; }
.lb-btn[hidden] { display: none; }
.lb-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 860px) {
  .lb-prev, .lb-next { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); transform: none; width: 44px; height: 44px; }
  .lb-prev { transform: scaleX(-1); }
}
