/* Fjordlys Lounge — norway.css
   Direction: "The place carries it" · type Boska · palette blush, sage, slate, olive.
   Idea: the light over Pipervika through one evening, from pale afternoon to olive night,
   becomes the swatch column and the ground of each chapter. */

:root {
  --bg: #a6b3bc;
  --surface: #b2bdc5;
  --ink: #1c1c1c;
  --muted: #38424a;
  --accent: #2c3620;
  --accent-ink: #e3e2da;
  --blush: #d6c4b8;
  --sage: #b7c8be;
  --mist: #b2bdc5;
  --slate: #a6b3bc;
  --olive: #2c3620;
  --pale: #e3e2da;
  --scrim: rgba(14, 16, 18, 0.42);

  --font: "Boska", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 8.6vw, 8.25rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 1.8vw, 1.75rem);
  --section: clamp(6rem, 11vw, 10rem);
  --radius: 12px;

  --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);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 300ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); font-weight: 400;
  line-height: 1.55; letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font); font-weight: 400; text-wrap: balance; hyphens: none; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
strong { font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nums { font-variant-numeric: tabular-nums; }

/* ---------- type roles ---------- */
.display { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.02em; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; }
.lead { font-size: var(--step-lead); line-height: 1.32; max-width: 44ch; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
.created { font-size: var(--step-small); color: var(--muted); margin-top: 3rem; }
.on-olive .created, .on-photo .created { color: var(--pale); }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.chapter { padding-block: calc(var(--section) * 0.75) calc(var(--section) * 0.6); }
.f-blush { background: var(--blush); color: var(--ink); }
.f-sage { background: var(--sage); color: var(--ink); }
.f-mist { background: var(--mist); color: var(--ink); }
.f-slate { background: var(--slate); color: var(--ink); }
.f-olive { background: var(--olive); color: var(--pale); }
.f-olive .muted { color: #c9cabd; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0 1.6rem; border-radius: 0;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-size: var(--step-body); white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:hover { background: #3c4a2c; }
.button:active { transform: scale(0.97); }
.button--pale { background: var(--pale); color: var(--olive); }
.button--pale:hover { background: #f0efe8; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link:hover, .link:focus-visible { text-decoration-color: currentColor; }
.ul { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
.arrow { display: inline-block; transition: transform var(--t-ui) var(--ease-out); }
a:hover .arrow, a:focus-visible .arrow { transform: translateX(6px); }

/* ---------- fixed header (takes the ink of the chapter under it) ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--margin); color: var(--header-ink, var(--ink)); background: var(--header-bg, transparent);
  transition: color var(--t-ui) ease, background-color var(--t-ui) ease, transform 500ms var(--ease-out), opacity 300ms ease;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top__mark { font-size: var(--step-lead); text-decoration: none; letter-spacing: -0.01em; }
.top__nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: var(--step-body); }
.top__nav a { text-decoration: none; }
.top__nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
.burger { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 0.25rem; font-size: var(--step-body); }
.burger__bars { position: relative; width: 22px; height: 12px; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.burger__bars::before { top: 0; } .burger__bars::after { bottom: 0; }
.burger:active { transform: scale(0.96); }
.is-hidden-top { transform: translateY(calc(-100% - var(--consent-h, 0px) - 4px)); }

/* full-screen menu: a solid olive sheet */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--olive); color: var(--pale);
  display: grid; grid-template-rows: auto 1fr auto; padding: 1rem var(--margin) 2rem;
  visibility: hidden; opacity: 0; transition: opacity var(--t-ui) ease, visibility 0s linear var(--t-ui);
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity var(--t-ui) ease; }
.menu__bar { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.menu__list { align-self: center; display: grid; gap: 0.4rem; }
.menu__list a { font-size: var(--step-head); line-height: 1.1; text-decoration: none; display: inline-block; transition: transform var(--t-ui) var(--ease-out); }
.menu__list a:hover, .menu__list a:focus-visible { transform: translateX(12px); }
.menu__foot { font-size: var(--step-small); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }

/* ---------- hero: swatch column beside the view ---------- */
.hero {
  height: 100svh; min-height: 560px; padding: 10px; background: var(--bg);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 10px;
}
.hero__panel { grid-column: 1 / 11; position: relative; overflow: hidden; border-radius: var(--radius); color: var(--pale); background: #4a3a2c; }
.hero__panel > img, .hero__panel > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__mark { position: absolute; top: 28px; left: 28px; z-index: 2; font-size: var(--step-lead); text-decoration: none; padding: 0.1em 0.45em; background: var(--scrim); }
.hero__title { position: absolute; z-index: 2; left: 0; right: 0; top: 13%; text-align: center; }
.hero__title h1 { display: inline-block; padding: 0.08em 0.35em 0.12em; background: var(--scrim); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: block; }
.hero__foot { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 36px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hero__sentence { grid-column: 1 / 5; font-size: var(--step-body); line-height: 1.45; padding: 0.7em 0.9em; background: var(--scrim); max-width: 36ch; }
.hero__cta { grid-column: 4 / 8; justify-self: center; }
.hero__created { grid-column: 8 / 11; justify-self: end; font-size: var(--step-small); padding: 0.3em 0.6em; background: var(--scrim); }
.swatches { grid-column: 11 / 13; display: grid; grid-template-rows: repeat(5, 1fr); border-radius: var(--radius); overflow: hidden; }
.swatches a { display: block; padding: 20px; font-size: var(--step-body); text-decoration: none; color: var(--ink); transition: padding-left var(--t-ui) var(--ease-out); }
.swatches a span { display: inline-block; transition: transform var(--t-ui) var(--ease-out); }
.swatches a:hover span, .swatches a:focus-visible span { transform: translateX(8px); }
.swatches a:nth-child(1) { background: var(--blush); }
.swatches a:nth-child(2) { background: var(--sage); }
.swatches a:nth-child(3) { background: var(--mist); }
.swatches a:nth-child(4) { background: #94a3ad; }
.swatches a:nth-child(5) { background: var(--olive); color: var(--pale); }
.swatches small { display: block; font-size: var(--step-small); color: var(--ink); margin-top: 0.25rem; }
.swatches a:nth-child(5) small { color: #c9cabd; }

/* ---------- about: wide photo, colour tile, facts ---------- */
.about__head { grid-column: 1 / 8; }
.about__lead { grid-column: 1 / 7; margin-top: 24px; }
.about__tiles { margin-top: 72px; align-items: start; row-gap: 2rem; }
.about__photo { grid-column: 1 / 9; position: relative; }
.about__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.about__note { position: absolute; top: 0; right: 0; width: 320px; padding: 20px; background: var(--bg); font-size: var(--step-body); line-height: 1.5; border-top-right-radius: 10px; }
.about__side { grid-column: 9 / 13; }
.tile { background: var(--sage); aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; padding: 1rem; overflow: hidden; }
.tile svg { width: 100%; height: 100%; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem var(--gutter); margin-top: 1.4rem; }
.facts dt { font-size: var(--step-small); color: var(--muted); }
.facts dd { font-size: var(--step-body); }
.about__more { grid-column: 1 / 7; margin-top: 2.5rem; }
.about__more2 { grid-column: 7 / 13; margin-top: 2.5rem; }

/* ---------- features: rows with margin photographs ---------- */
.feat__intro { min-height: 48svh; display: grid; align-content: center; padding-bottom: 2rem; }
.feat__intro > * { grid-column: 5 / 12; }
.feat__intro p { margin-top: 1.5rem; }
.feat__rows { display: grid; gap: clamp(4rem, 7vw, 6rem); margin-top: 2rem; }
.row { align-items: start; }
.row__index { grid-column: 1 / 5; align-self: start; }
.row__text { grid-column: 5 / 10; }
.row__text h3 { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1rem; }
.row__text p { max-width: 34ch; }
.row__pic { grid-column: 10 / 13; justify-self: end; width: 100%; }
.row__pic img { width: 100%; object-fit: cover; }
.row__pic--a { max-width: 240px; } .row__pic--a img { aspect-ratio: 4 / 5; }
.row__pic--b { max-width: 320px; } .row__pic--b img { aspect-ratio: 3 / 2; }
.row__pic--c { max-width: 200px; } .row__pic--c img { aspect-ratio: 1 / 1; }
.row__aside { font-size: var(--step-small); color: var(--muted); max-width: 24ch; }

/* ---------- showcase: one frame, three distances ---------- */
.show { position: relative; }
.show__track { position: relative; height: 190vh; }
.show__marker { position: absolute; left: 0; width: 2px; height: 2px; opacity: 0; } /* taste-skill-ignore: invisible scroll marker */
.show__stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 30vw 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: var(--gutter); align-items: end; padding-top: 64px; }
.show__a { grid-column: 1 / 4; grid-row: 1; text-align: center; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.02em; padding-bottom: 0.15em; }
.show__frame { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 5; overflow: hidden; position: relative; z-index: 1; max-height: 58svh; justify-self: center; width: 100%; }
.show__frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; transition: transform 700ms var(--ease-in-out); }
.show__b { grid-column: 1 / 4; grid-row: 3; text-align: center; position: relative; z-index: 2; margin-top: -0.3em; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.02em; max-width: none; align-self: start; }
.show__cap { grid-column: 3; grid-row: 2; align-self: start; max-width: 28ch; }
.show__cap p + p { margin-top: 0.6em; }
.is-s2 .show__frame img { transform: scale(1.8); transform-origin: 38% 78%; }
.is-s3 .show__frame img { transform: scale(3.2); transform-origin: 66% 30%; }
.show__method { padding-block: calc(var(--section) * 0.5) calc(var(--section) * 0.6); }
.show__method h3 { grid-column: 1 / 5; font-size: var(--step-lead); line-height: 1.3; }
.show__method .col1 { grid-column: 5 / 9; }
.show__method .col2 { grid-column: 9 / 13; }

/* ---------- journey: statement, table pushed right ---------- */
.jr__head { grid-column: 1 / 13; }
.jr__head .l1 { display: block; padding-left: 3vw; }
.jr__body { margin-top: 96px; align-items: end; }
.jr__left { grid-column: 1 / 6; align-self: start; display: grid; gap: 2.5rem; }
.jr__left img { width: 100%; object-fit: cover; }
.jr__pics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.jr__pics figure:nth-child(1) img { aspect-ratio: 4 / 5; }
.jr__pics figure:nth-child(2) { margin-top: 4rem; }
.jr__pics figure:nth-child(2) img { aspect-ratio: 4 / 5; }
.jr__pics figure:nth-child(3) { grid-column: 1 / 3; }
.jr__pics figure:nth-child(3) img { aspect-ratio: 16 / 9; }
.jr__word { grid-column: 7 / 8; align-self: start; font-size: var(--step-small); color: var(--muted); padding-top: 0.15em; }
.jr__table { grid-column: 8 / 13; align-self: start; }
.jr__row { display: grid; grid-template-columns: 4.2em 1fr auto; column-gap: 1rem; padding-top: 26px; font-size: var(--step-body); }
.jr__row:nth-child(4n) { padding-top: 44px; }
.jr__row:first-child { padding-top: 0; }
.jr__row .k { color: var(--muted); font-variant-numeric: tabular-nums; }
.jr__row .v { font-weight: 500; }
.jr__row .d { grid-column: 2 / 4; color: var(--ink); margin-top: 0.2rem; max-width: 46ch; }
.jr__row .r { text-align: right; color: var(--muted); }
.jr__pair { margin-top: calc(var(--section) * 0.6); align-items: start; }
.jr__pair figure:first-child { grid-column: 1 / 8; }
.jr__pair figure:last-child { grid-column: 9 / 13; margin-top: 8rem; }
.jr__pair img { width: 100%; object-fit: cover; }
.jr__pair figure:first-child img { aspect-ratio: 3 / 2; }
.jr__pair figure:last-child img { aspect-ratio: 4 / 5; }
figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 0.6rem; }

/* ---------- testimonial: portrait and offset quotation ---------- */
.tm__head { grid-column: 1 / 13; margin-bottom: 3rem; }
.tm__lead { align-items: start; }
.tm__portrait { grid-column: 2 / 6; }
.tm__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; max-height: 70svh; }
.tm__quote { grid-column: 7 / 13; margin-top: 120px; }
.tm__quote blockquote { font-size: var(--step-lead); line-height: 1.22; max-width: 26ch; }
.tm__who { margin-top: 32px; }
.tm__who strong { display: block; }
.tm__place { width: calc((100% - var(--gutter)) / 3); margin: 96px 0 0 calc((100% + var(--gutter)) / 2); }
.tm__place img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.voices { margin-top: calc(var(--section) * 0.6); row-gap: 4rem; }
.voice { grid-column: span 4; display: grid; grid-template-columns: 88px 1fr; column-gap: 1.1rem; align-content: start; }
.voice:nth-child(3n+2) { margin-top: 5rem; }
.voice:nth-child(3n) { margin-top: 2.5rem; }
.voice img { width: 88px; height: 88px; object-fit: cover; }
.voice__who { align-self: center; font-size: var(--step-small); }
.voice__who strong { display: block; font-size: var(--step-body); }
.voice blockquote { grid-column: 1 / 3; margin-top: 1rem; }

/* ---------- visit: card on a photograph ---------- */
.visit { position: relative; min-height: 100svh; color: var(--ink); }
.visit > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit__inner { position: relative; height: 100%; padding: 60px var(--margin); }
.card {
  position: sticky; top: 84px; width: 380px; max-width: 100%; background: var(--bg); border-radius: var(--radius);
  padding: 32px 32px 0; overflow: hidden; display: grid; gap: 1.1rem;
}
.card h2 { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.card address { font-style: normal; }
.hours { display: grid; gap: 0.35rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.status { font-size: var(--step-small); color: var(--muted); }
.status strong { color: var(--ink); }
.card .button { margin: 0.6rem -32px 0; min-height: 52px; width: calc(100% + 64px); }
.card .created { margin-top: 0; }
.visit__credit { position: absolute; right: var(--margin); bottom: 1rem; font-size: var(--step-small); color: var(--pale); background: var(--scrim); padding: 0.2em 0.5em; }

/* ---------- practical block on olive ---------- */
.prac__head { grid-column: 1 / 13; margin-bottom: 3.5rem; }
.prac__form { grid-column: 1 / 7; }
.prac__info { grid-column: 8 / 13; display: grid; gap: 2.2rem; align-content: start; }
.prac__info h3 { font-size: var(--step-lead); line-height: 1.2; margin-bottom: 0.6rem; }
.res a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; text-decoration: none; }
.res a span:first-child { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--t-hover) ease; }
.res a:hover span:first-child { text-decoration-color: currentColor; }
.res small { display: block; font-size: var(--step-small); color: #c9cabd; }

/* ---------- form ---------- */
.form { display: grid; gap: 1.1rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: var(--step-small); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: 0.7rem 0.9rem; border: 0; border-radius: 0;
  background: var(--pale); color: var(--ink); font-size: max(1rem, var(--step-body));
  transition: background-color var(--t-hover) ease;
}
.f-blush .field input, .f-blush .field select, .f-blush .field textarea,
.f-sage .field input, .f-sage .field select, .f-sage .field textarea { background: #eef0ea; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid currentColor; outline-offset: 2px; background: #fff; }
.field .err { display: block; min-height: 1.3em; font-size: var(--step-small); margin-top: 0.3rem; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { background: #f3dcd6; }
.form .button { justify-self: start; }

/* ---------- footer: photograph half, menu half ---------- */
.foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); min-height: 100svh; background: var(--sage); }
.foot__pic { grid-column: 1 / 7; position: relative; overflow: hidden; min-height: 50svh; }
.foot__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.foot__side { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gutter); padding: 80px var(--margin) 1.5rem 0; align-content: start; }
.foot__side > * { grid-column: 2 / 7; }
.foot__mark { font-size: var(--step-lead); text-decoration: none; }
.foot__menu { margin-top: 2.2rem; display: grid; gap: 0.5rem; }
.foot__menu a { font-size: var(--step-head); line-height: 1.05; text-decoration: none; display: inline-block; transition: transform var(--t-ui) var(--ease-out), color var(--t-ui) ease; }
.foot__menu:hover a { color: var(--muted); }
.foot__menu a:hover, .foot__menu a:focus-visible { transform: translateX(12px); color: var(--ink); }
.foot__blocks { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem var(--gutter); font-size: var(--step-body); }
.foot__blocks h2 { font-size: var(--step-body); font-weight: 500; margin-bottom: 0.4rem; }
.foot__blocks a { text-decoration: none; }
.foot__blocks a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot__legal { margin-top: 3rem; font-size: var(--step-small); color: var(--muted); display: grid; gap: 0.4rem; }
.foot__legal p { max-width: 70ch; }

/* ---------- inner pages: page hero (same swatch system) ---------- */
.prose { grid-column: 3 / 10; }
.prose__part + .prose__part { margin-top: 0; }
.prose__part h2 { margin-top: 2.6rem; }
.prose h2 { font-size: var(--step-lead); line-height: 1.25; margin: 2.6rem 0 0.8rem; }
.prose h3 { font-size: var(--step-body); font-weight: 500; margin: 1.4rem 0 0.4rem; }
.prose ul { padding-left: 1.2em; margin: 0.6rem 0 0; }
.prose li + li { margin-top: 0.35rem; }
.prose p { max-width: 68ch; }
.prose p + ul, .prose ul + p { margin-top: 0.8rem; }
.legal__aside { grid-column: 1 / 3; font-size: var(--step-small); position: sticky; top: 84px; align-self: start; }
.legal__aside a { display: block; text-decoration: none; padding: 0.2rem 0; }
.legal__aside a:hover { text-decoration: underline; }
.legal__head { padding-top: 140px; }
.legal__head h1 { grid-column: 1 / 13; }
.legal__head p { grid-column: 3 / 10; margin-top: 1.4rem; }
.legal__side { grid-column: 10 / 13; position: sticky; top: 100px; align-self: start; }
.office { font-size: var(--step-body); }
.office strong { display: block; }

/* about page */
.story__text { grid-column: 1 / 8; }
.story__text p:first-child { font-size: var(--step-lead); line-height: 1.32; max-width: 40ch; }
.story__side { grid-column: 9 / 13; display: grid; gap: 1.5rem; align-content: start; }
.story__side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.values__head { grid-column: 1 / 6; align-self: start; position: sticky; top: 100px; }
.values__list { grid-column: 7 / 13; display: grid; gap: 3rem; }
.values__list h3 { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.values__head .office { margin-top: 2rem; }
.team__head { grid-column: 1 / 9; margin-bottom: 3.5rem; }
.team__grid { row-gap: 3rem; align-items: start; }
.person { grid-column: span 3; }
.person:nth-child(2) { margin-top: 6rem; }
.person:nth-child(3) { margin-top: 2rem; }
.person:nth-child(4) { margin-top: 8rem; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person h3 { font-size: var(--step-lead); line-height: 1.2; margin-top: 1rem; }
.person .role { color: var(--muted); font-size: var(--step-small); margin: 0.2rem 0 0.7rem; }
.person p:last-child { font-size: var(--step-body); }
.ach__head { grid-column: 1 / 13; }
.ach__head .l1 { display: block; padding-left: 3vw; }
.ach__list { margin-top: 4rem; row-gap: 3rem; }
.ach { grid-column: span 4; }
.ach .n { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: block; }
.ach h3 { font-size: var(--step-lead); line-height: 1.2; margin: 0.7rem 0 0.4rem; }
.ach p { max-width: 34ch; }
.gal { row-gap: var(--gutter); align-items: start; }
.gal figure img { width: 100%; object-fit: cover; }
.gal .g1 { grid-column: 1 / 13; } .gal .g1 img { aspect-ratio: 21 / 9; }
.gal .g2 { grid-column: 1 / 8; } .gal .g2 img { aspect-ratio: 3 / 2; }
.gal .g3 { grid-column: 9 / 13; margin-top: 6rem; } .gal .g3 img { aspect-ratio: 4 / 5; }
.gal .g4 { grid-column: 1 / 5; } .gal .g4 img { aspect-ratio: 1 / 1; }
.gal .g5 { grid-column: 6 / 13; margin-top: 4rem; } .gal .g5 img { aspect-ratio: 16 / 10; }
.gal .g6 { grid-column: 7 / 13; } .gal .g6 img { aspect-ratio: 3 / 2; }
.gal .g6cap { grid-column: 1 / 6; align-self: end; }
.cta__head { grid-column: 1 / 8; }
.cta__text { grid-column: 1 / 7; margin-top: 1.5rem; }
.cta__actions { grid-column: 1 / 8; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.cta__office { grid-column: 9 / 13; grid-row: 1 / 4; align-self: end; }

/* contacts page */
.offices__head { grid-column: 1 / 13; }
.offices__head .l1 { display: block; padding-left: 3vw; }
.offices__body { margin-top: 80px; align-items: start; }
.offices__left { grid-column: 1 / 6; }
.offices__left img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 2rem; max-width: 22vw; }
.offices__table { grid-column: 7 / 13; }
.otable { width: 100%; border-collapse: collapse; font-size: var(--step-body); }
.otable caption { text-align: left; font-size: var(--step-small); color: var(--muted); padding-bottom: 0.8rem; }
.otable th, .otable td { text-align: left; vertical-align: top; padding: 13px 1rem 13px 0; font-weight: 400; }
.otable th { color: var(--muted); width: 26%; }
.otable td:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.otable + .otable { margin-top: 3rem; }
.write__intro { grid-column: 1 / 6; }
.write__intro p { margin-top: 1.4rem; }
.write__form { grid-column: 7 / 13; }
.map__head { grid-column: 1 / 7; }
.map__addr { grid-column: 8 / 13; align-self: end; }
.map__frame { margin-top: 2.5rem; height: min(70vh, 620px); }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }
.how__head { grid-column: 1 / 13; margin-bottom: 3rem; }
.how__col { grid-column: span 4; }
.how__col h3 { font-size: var(--step-lead); line-height: 1.2; margin-bottom: 0.7rem; }

/* success */
.done { min-height: 100svh; padding: 10px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 10px; }
.done__panel { grid-column: 1 / 8; border-radius: var(--radius); background: var(--blush); padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 4rem) 3rem; display: grid; align-content: center; gap: 1.6rem; }
.trip { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr auto; gap: 10px; min-height: 60svh; }
.trip figure { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 160px; }
.trip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip__a { grid-column: 1 / 3; }
.trip__cap { grid-column: 1 / 3; font-size: var(--step-small); color: var(--muted); padding: 0.2rem 0.2rem 0.4rem; }

/* ---------- cookie consent (top, solid, no shadow) ---------- */
.consent {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; background: var(--olive); color: var(--pale);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem;
  padding: 0.7rem var(--margin); font-size: var(--step-small);
}
.consent[hidden] { display: none; }
.consent p { max-width: 80ch; }
.consent__actions { display: flex; gap: 0.6rem; }
.consent button { min-height: 40px; padding: 0 1rem; background: var(--pale); color: var(--olive); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.consent button.ghost { background: #3c4a2c; color: var(--pale); }
.consent button:hover { background: #fff; color: var(--olive); }
.consent button:active { transform: scale(0.96); }

/* ---------- motion (content stays visible without script or with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(105%); animation: rise-line 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i, 0) * 90ms); }
  .js [data-load] { opacity: 0; transform: translateY(12px); animation: rise 520ms var(--ease-out) forwards; animation-delay: var(--d, 400ms); }
  .js .hero__panel > img { transform: scale(1.06); animation: settle 1400ms var(--ease-expo) 80ms forwards, drift 26s var(--ease-soft) 1.5s infinite alternate; }
  .js [data-reveal] { opacity: 0.2; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 55% 0); transition: clip-path 1100ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .shutter[data-reveal] img { transform: scale(1.1); transition: transform 1500ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  .js .show__b { opacity: 0; transform: translateY(0.25em); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-expo); }
  .js .show__cap { opacity: 0; transform: translateX(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-expo); }
  .js .is-s2 .show__b, .js .is-s3 .show__b { opacity: 1; transform: none; }
  .js .is-s3 .show__cap { opacity: 1; transform: none; }
  .js .foot__pic[data-reveal] { opacity: 1; transform: none; }
  .js .foot__pic img { transform: scale(1.08); transition: transform 2400ms var(--ease-soft); }
  .js .foot__pic.is-in img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .show__track { height: auto; }
  .show__stage { position: relative; height: auto; padding-block: 4rem; }
  .show__frame img, .top, .menu, .button, .arrow { transition: none; }
}
@keyframes rise-line { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05) translate(-0.8%, -0.6%); } }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .hero__panel { grid-column: 1 / 10; }
  .swatches { grid-column: 10 / 13; }
  .hero__sentence { grid-column: 1 / 6; }
  .hero__cta { grid-column: 6 / 11; justify-self: end; }
  .hero__created { display: none; }
  .about__photo { grid-column: 1 / 13; }
  .about__side { grid-column: 1 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
  .about__side .facts { margin-top: 0; }
  .feat__intro > * { grid-column: 1 / 12; }
  .row__index { display: none; }
  .row__text { grid-column: 1 / 8; }
  .row__pic { grid-column: 8 / 13; }
  .show__stage { grid-template-columns: 1fr 44vw 1fr; }
  .show__cap { grid-column: 1 / 4; grid-row: 4; justify-self: center; text-align: center; margin-top: 1rem; }
  .show__method h3 { grid-column: 1 / 13; margin-bottom: 1rem; }
  .show__method .col1 { grid-column: 1 / 7; } .show__method .col2 { grid-column: 7 / 13; }
  .jr__word { display: none; }
  .jr__left { grid-column: 1 / 5; }
  .jr__table { grid-column: 6 / 13; }
  .tm__portrait { grid-column: 1 / 6; }
  .voice { grid-column: span 6; }
  .voice:nth-child(n) { margin-top: 0; }
  .voice:nth-child(2n) { margin-top: 3rem; }
  .prac__form { grid-column: 1 / 13; }
  .prac__info { grid-column: 1 / 13; grid-template-columns: 1fr 1fr; gap: 2rem var(--gutter); margin-top: 3rem; }
  .foot__side > * { grid-column: 1 / 7; }
  .foot__side { padding-left: var(--margin); }
  .person { grid-column: span 6; }
  .ach { grid-column: span 6; }
  .how__col { grid-column: span 6; }
  .how__col:last-child { grid-column: 1 / 13; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --section: 5rem; }
  .grid > * { grid-column: 1 / -1 !important; }
  .top { height: 56px; }
  .top__nav .wide { display: none; }
  .hero { height: auto; min-height: 0; padding: 8px; grid-template-columns: 1fr; row-gap: 8px; }
  .hero__panel, .swatches { grid-column: 1 / -1; }
  .hero__panel { height: 64svh; min-height: 380px; }
  .hero__mark { display: none; }
  .hero__title { top: 21%; }
  .hero__foot { left: 16px; right: 16px; bottom: 20px; display: flex; justify-content: center; }
  .hero__sentence { display: none; }
  .hero__cta { justify-self: center; }
  .swatches { grid-template-rows: none; grid-auto-rows: 52px; }
  .swatches a { padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: var(--step-body); }
  .swatches small { margin: 0; }
  .phone-sentence { display: block !important; margin-bottom: 1.6rem; }
  .head { font-size: 9vw; line-height: 1.02; }
  .lead, .tm__quote blockquote { font-size: 1.25rem; }
  .about__tiles { margin-top: 40px; }
  .about__photo img { aspect-ratio: 4 / 3; }
  .about__note { position: static; width: auto; padding: 1rem 0 0; background: none; }
  .about__side { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 3 / 2; }
  .about__more2 { margin-top: 1rem; }
  .feat__intro { min-height: 44svh; }
  .feat__rows { gap: 64px; }
  .row__text h3, .values__list h3, .foot__menu a, .menu__list a { font-size: 9vw; }
  .row__pic { justify-self: start; margin-top: 1.4rem; max-width: none !important; }
  .feat__rows .row:nth-child(3n+1) .row__pic { width: 100%; }
  .feat__rows .row:nth-child(3n+2) .row__pic { width: 70%; justify-self: end; }
  .feat__rows .row:nth-child(3n) .row__pic { width: 55%; }
  .show__stage { grid-template-columns: 1fr 70vw 1fr; padding-top: 56px; }
  .show__a, .show__b, .display, .ach .n { font-size: 12vw; }
  .show__cap { max-width: 30ch; }
  .jr__head .l1, .ach__head .l1, .offices__head .l1 { padding-left: 0; }
  .jr__body { margin-top: 48px; }
  .jr__table { order: 1; }
  .jr__left { order: 2; margin-top: 3rem; }
  .jr__row { grid-template-columns: 1fr auto; }
  .jr__row .v { grid-column: 1 / 3; grid-row: 2; }
  .jr__row .k { grid-column: 1; grid-row: 1; }
  .jr__row .r { grid-column: 2; grid-row: 1; }
  .jr__row .d { grid-column: 1 / 3; grid-row: 3; }
  .tm__portrait { width: 72%; }
  .tm__quote { margin-top: 32px; }
  .tm__place { width: 44%; margin: 48px 0 0 auto; }
  .voice:nth-child(n) { margin-top: 0; }
  .visit { min-height: 0; display: grid; }
  .visit > img { position: relative; height: 70svh; }
  .visit__inner { padding: 0 16px 2rem; margin-top: -80px; }
  .card { position: relative; top: 0; width: 100%; padding: 24px 20px 0; }
  .card .button { margin: 0.6rem -20px 0; width: calc(100% + 40px); min-height: 56px; }
  .visit__credit { position: static; display: block; margin: 0 16px 1rem; background: none; color: var(--muted); padding: 0; }
  .prac__info { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .form .button { width: 100%; }
  .foot { grid-template-columns: 1fr; min-height: 0; }
  .foot__pic { grid-column: 1; height: 50svh; }
  .foot__side { grid-column: 1; grid-template-columns: 1fr; padding: 2.5rem 16px 2rem; }
  .foot__side > * { grid-column: 1; }
  .foot__menu { gap: 20px; }
  .foot__blocks { grid-template-columns: 1fr; }
  .person:nth-child(n) { margin-top: 0; }
  .gal .g3, .gal .g5 { margin-top: 0; }
  .offices__left img { max-width: 60%; margin-left: auto; }
  .offices__table { margin-top: 2.5rem; }
  .otable th { width: 34%; }
  .write__form { margin-top: 2rem; }
  .legal__aside { position: static; margin-bottom: 2rem; }
  .legal__side { margin-top: 2rem; }
  .done { grid-template-columns: 1fr; row-gap: 8px; }
  .done__panel, .trip { grid-column: 1; }
  .trip { min-height: 0; grid-template-rows: 220px 160px auto; }
  .done__panel { padding: 6rem 1.25rem 2.5rem; }
  .consent { padding: 0.6rem 16px; }
  .cta__office { grid-row: auto; margin-top: 2rem; }
}
.phone-sentence { display: none; }

/* moving picture: the tram that brings guests to the quay */
.clip { margin-top: 1.2rem; }
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.on-olive figcaption, .f-olive figcaption { color: #c9cabd; }

/* the consent bar sits above the page, not on it */
.has-consent body { padding-top: var(--consent-h, 0px); }
.has-consent .top { top: var(--consent-h, 0px); }
.has-consent .hero { height: calc(100svh - var(--consent-h, 0px)); }
@media (max-width: 760px) { .has-consent .hero { height: auto; } }

.legal__side { text-align: right; }
.foot__legal { font-size: var(--step-body); }
.foot__legal p:last-child { font-size: var(--step-small); }
.trip__cap { padding-inline: 0.6rem; }
@media (max-width: 760px) { .legal__side { text-align: left; } }
.voice .office { grid-column: 1 / 3; }
.gal .g2 img { object-position: 50% 100%; }
.how__clip { grid-column: 5 / 13; margin-top: 3rem; }
.how__clip figcaption { max-width: 60ch; }
