/* ==========================================================================
   Sakura Therapy & Wellness
   Palette and type taken from the Claude Design canvas (turn 3).
   The mockup was drawn at a fixed 1080px; everything here is the fluid
   translation of it.
   ========================================================================== */

:root {
  --maroon: #6B413F;
  --maroon-dark: #543432;
  --rose: #C39D98;
  --olive: #5A604C;
  --sage: #AAB39C;
  --sand: #D9CFBC;
  --ink: #302A27;
  --cream: #F9F7F4;

  /* The canvas used #8A8578 for meta text. That lands under 4.5:1 on cream,
     so secondary text is darkened here and #8A8578 is kept for borders only. */
  --muted: #6F6A5E;
  --hairline: rgba(90, 96, 76, 0.22);
  --hairline-strong: rgba(90, 96, 76, 0.35);

  --serif: Lora, Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --measure: 700px;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 17px/1.9 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--maroon); }

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--maroon);
  color: var(--cream);
  padding: 12px 20px;
  font: 500 13px/1 var(--sans);
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--cream); }

.wrap { padding-inline: var(--gutter); }

/* -------------------------------------------------------------- header -- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.site-header__logo img {
  height: clamp(46px, 6vw, 72px);
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.nav a:not(.btn),
.nav__current {
  font: 400 10.5px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
  white-space: nowrap;
}

.nav__current {
  font-weight: 600;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 4px;
}

.nav a:not(.btn):hover { border-bottom: 1px solid var(--rose); padding-bottom: 4px; }

/* --------------------------------------------------------------- button -- */

.btn {
  display: inline-block;
  font: 500 11.5px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid var(--maroon);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn--solid { background: var(--maroon); color: var(--cream); }
.btn--solid:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: var(--cream); }

.btn--ghost { color: var(--maroon); background: transparent; }
.btn--ghost:hover { background: var(--sand); color: var(--maroon); }

.btn--sm { padding: 13px 22px; font-size: 10.5px; letter-spacing: 0.16em; }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 104px) var(--gutter) clamp(48px, 7vw, 84px);
  text-align: center;
}

.hero__motif {
  position: absolute;
  top: 29px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(150px, 22vw, 228px);
  opacity: 0.12;
  pointer-events: none;
}

.hero h1 {
  position: relative;
  font-size: clamp(21px, 2.9vw, 27px);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 860px;
  text-wrap: pretty;
}

.intro {
  padding: 0 var(--gutter) clamp(56px, 8vw, 92px);
  display: flex;
  justify-content: center;
}
.intro > div { max-width: var(--measure); }
.intro p { margin: 0 0 34px; text-wrap: pretty; }

/* ---------------------------------------------------------------- bands -- */

.band {
  padding: clamp(52px, 7vw, 78px) var(--gutter);
}

.band--mission {
  background: var(--maroon);
  text-align: center;
}
.band--mission > img {
  height: 15px;
  width: auto;
  margin: 0 auto 24px;
  filter: brightness(3.6);
  opacity: 0.85;
}
.band--mission > p {
  font: italic 400 clamp(20px, 2.8vw, 26px)/1.65 var(--serif);
  color: var(--cream);
  margin: 0 auto;
  max-width: 720px;
  text-wrap: pretty;
}

.band--closing {
  background: var(--cream);
  text-align: center;
  padding-block: clamp(56px, 8vw, 80px);
}
.band--closing p {
  font: italic 400 clamp(20px, 2.6vw, 25px)/1.65 var(--serif);
  color: var(--maroon);
  margin: 0 auto 32px;
  max-width: 640px;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- about -- */

.eyebrow {
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 24px;
}

.about-split {
  padding: clamp(56px, 8vw, 84px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #EAE4DA;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.about-split p {
  font-size: 16.5px;
  margin: 0 0 22px;
  max-width: 560px;
  text-wrap: pretty;
}

.link-underline {
  font: 400 11.5px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 5px;
}

/* The About teaser now sits on the maroon band, so its type turns cream. */
.band--mission .about-teaser__inner {
  margin: 0 auto;
  text-align: left;
}
.band--mission .eyebrow { color: rgba(249, 247, 244, 0.75); }
.band--mission .about-teaser__quote { color: var(--cream); }
.band--mission .link-underline {
  color: var(--cream);
  border-bottom-color: rgba(249, 247, 244, 0.55);
}
.band--mission .about-teaser__photo { background: rgba(249, 247, 244, 0.12); }

/* ------------------------------------------------------- about teaser -- */

.about-teaser {
  padding: clamp(58px, 8vw, 88px) var(--gutter) 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 720px) {
  .band--mission .about-teaser__inner { text-align: center; }
}
.about-teaser__inner {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.5vw, 48px);
  max-width: 940px;
}
.about-teaser__photo {
  flex: none;
  width: clamp(165px, 23vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #EAE4DA;
}
.about-teaser__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.about-teaser .eyebrow { margin-bottom: 14px; }
.about-teaser__quote {
  font: italic 400 clamp(19px, 2.5vw, 23px)/1.7 var(--serif);
  color: var(--maroon);
  margin: 0 0 20px;
  text-wrap: pretty;
}

/* --------------------------------------------------------- page links -- */

.page-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.page-links a {
  font: 400 10.5px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}
.page-links a:hover { border-bottom-color: var(--rose); }

/* ------------------------------------------------------------- services -- */

.band--services { background: var(--rose); }
.band--services .eyebrow { color: var(--ink); margin-bottom: 32px; }

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(48, 42, 39, 0.25);
}
.service-row__name {
  font: 400 clamp(20px, 2.4vw, 24px)/1.3 var(--serif);
  color: var(--ink);
}
.service-row a {
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.service-row a:hover { border-bottom-color: var(--ink); }

.service-card {
  background: var(--rose);
  padding: clamp(26px, 3vw, 34px);
  border-radius: 12px;
}
/* Softened over the cream ground: rose for individual, sage for couples. */
.service-card--rose { background: rgba(195, 157, 152, 0.42); }
.service-card--sage { background: rgba(170, 179, 156, 0.42); }
.service-card h2,
.service-card h3 {
  font-size: clamp(21px, 2.6vw, 25px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 16px;
}
.service-card p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.service-card p:last-child { margin-bottom: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
  align-items: stretch;
}

/* ------------------------------------------------------ interior layout -- */

.page {
  padding: clamp(44px, 6vw, 60px) var(--gutter) clamp(48px, 7vw, 72px);
}

.page h1 {
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.35;
  margin: 0 0 30px;
}

.page--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 258px);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.page--narrow { max-width: 1080px; margin-inline: auto; }

.prose p {
  font-size: 16.5px;
  margin: 0 0 22px;
  text-wrap: pretty;
}

.pullquote {
  font: italic 400 19px/1.75 var(--serif);
  color: var(--maroon);
  margin: 30px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--rose);
  text-wrap: pretty;
}

/* Credentials read as quiet secondary information: no fill, hairline rules
   and the brand's line-dot-line ornament on top, in olive. */
.factbox {
  font: 400 12.5px/1.9 var(--sans);
  color: var(--ink);
}
.factbox__item {
  margin: 0;
  line-height: 1.7;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.factbox__item:first-of-type { padding-top: 0; }
.factbox__item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.factbox__item strong {
  display: block;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 7px;
}

/* Line-dot-line, drawn rather than imaged so it can take the olive. */
.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--olive);
  opacity: 0.85;
}
.ornament span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
  flex: none;
}

.section-rule {
  border-top: 1px solid var(--hairline);
  padding-top: clamp(36px, 5vw, 52px);
  margin-top: clamp(36px, 5vw, 52px);
}

/* ----------------------------------------------------------------- fees -- */

.fee-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(90, 96, 76, 0.2);
  font: 400 14.5px/1.4 var(--sans);
}
.fee-row:last-child { border-bottom: 0; }
.fee-row__price { font-family: var(--mono); color: var(--muted); }

/* -------------------------------------------------- about on wide screens -- */

/* Below 1100px the portrait and credentials sit stacked above the text.
   Above it, they move into a side column so the page uses the width instead
   of leaving half the screen empty beside a narrow column of prose. */
@media (min-width: 1100px) {
  .page--about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: clamp(40px, 5vw, 64px);
    align-items: start;
  }
  .page--about > h1 { grid-column: 1; grid-row: 1; }
  .page--about > .prose { grid-column: 1; grid-row: 2; }
  .page--about > .about-top {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: block;
    margin-bottom: 0;
  }
  .page--about > .about-top .portrait { margin-bottom: 18px; }
}

/* ------------------------------------------------------ reading width -- */

/* Page shells are wide so photos, cards and rows use the screen, but a line
   of body text stays near 70 characters, where prose is comfortable to read. */
.prose p,
.legal p,
.legal li,
.faq__a p,
.faq__a li { max-width: 70ch; }

/* ------------------------------------------------------- legal notices -- */

.legal { max-width: 860px; }

.legal h2 {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.35;
  margin: clamp(34px, 4vw, 46px) 0 14px;
  padding-top: clamp(20px, 2.5vw, 26px);
  border-top: 1px solid var(--hairline);
}
.legal__meta {
  font-size: 14.5px !important;
  line-height: 1.8;
}
.legal__shout {
  font: 600 13px/1.7 var(--sans) !important;
  letter-spacing: 0.03em;
  color: var(--maroon);
  border-left: 2px solid var(--rose);
  padding-left: 18px;
  margin: 26px 0 !important;
}
.legal ul,
.legal ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal li {
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 10px;
  text-wrap: pretty;
}
.legal li > ul { margin: 12px 0 4px; }
.legal p { font-size: 15.5px; line-height: 1.85; }

/* -------------------------------------------------------- service copy -- */


.fee-note {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  margin: 18px 0 0;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ faq -- */

.faq { border-top: 1px solid rgba(90, 96, 76, 0.2); }

.faq__item { border-bottom: 1px solid rgba(90, 96, 76, 0.2); }

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: 0;
  padding: 20px 2px;
  cursor: pointer;
  text-align: left;
  font: 400 17px/1.5 var(--serif);
  color: var(--ink);
}
.faq__q:hover { color: var(--maroon); }

.faq__sign {
  font: 300 20px/1 var(--sans);
  color: var(--maroon);
  flex: none;
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
}
.faq__item[data-open="true"] .faq__a { max-height: 2600px; }

.faq__a p {
  font-size: 15.5px;
  line-height: 1.85;
  padding-right: 28px;
  text-wrap: pretty;
}
.faq__a ul {
  margin: 0 0 18px;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}
.faq__a li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 4px;
  break-inside: avoid;
}

@media (max-width: 560px) {
  .faq__a ul { columns: 1; }
}

.faq__a > * { margin: 0 0 18px; }

/* -------------------------------------------------------------- contact -- */

.contact-head {
  padding: clamp(44px, 6vw, 56px) var(--gutter) 40px;
  text-align: center;
}
.contact-head h1 {
  font-size: clamp(25px, 3.6vw, 32px);
  line-height: 1.4;
  margin: 0 auto 18px;
  max-width: 640px;
  text-wrap: pretty;
}
.contact-head p {
  font-size: 15.5px;
  line-height: 1.9;
  margin: 0 auto;
  max-width: 580px;
}

.contact-grid {
  padding: 0 var(--gutter) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 270px);
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.contact-email {
  font: 400 clamp(19px, 3vw, 24px)/1.4 var(--serif);
  margin: 6px auto 18px !important;
  overflow-wrap: anywhere;
}
.contact-email a { text-decoration: none; border-bottom: 1px solid var(--rose); }
.contact-head p + p { margin-top: 0; }

.embed {
  border: 1px solid var(--hairline-strong);
  background: #fff;
}
.embed__label {
  background: var(--maroon);
  padding: 11px 18px;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}
.embed__slot { padding: 26px 24px 30px; }

/* --------------------------------------------------------------- footer -- */

/* The closing strip and footer sit on olive, so everything in them is cream. */
.cta-strip,
.site-footer {
  background: var(--olive);
  color: var(--cream);
}
.cta-strip a,
.site-footer a { color: var(--cream); }
.cta-strip a:hover,
.site-footer a:hover { color: #fff; }

.cta-strip {
  padding: clamp(32px, 4vw, 42px) var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-strip p { font-size: 12.5px; line-height: 1.9; margin: 0; }
.cta-strip .link-underline {
  border-bottom-color: rgba(249, 247, 244, 0.55);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: clamp(32px, 4vw, 46px) var(--gutter);
  border-top: 1px solid rgba(249, 247, 244, 0.18);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer__id { font: 400 12.5px/1.9 var(--sans); }

.site-footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font: 400 10px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }

/* The canvas flagged this as "worth repeating in the footer sitewide". */
.crisis {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(249, 247, 244, 0.22);
  font: 400 12px/1.8 var(--sans);
  color: rgba(249, 247, 244, 0.9);
}
.crisis strong { font-weight: 600; color: var(--cream); }

/* Placeholders need their own treatment on the dark ground. */
.site-footer .ph {
  color: var(--cream);
  background: rgba(249, 247, 244, 0.16);
}

/* ----------------------------------------------------------- about top -- */

/* Portrait and credentials sit above the description. */
.about-top {
  display: grid;
  grid-template-columns: minmax(0, 258px) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 36px);
  align-items: center;
  margin-bottom: clamp(34px, 4.5vw, 48px);
}
.about-top .portrait { width: 100%; }

@media (max-width: 720px) {
  .about-top { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .about-top .portrait { max-width: 260px; }
  .about-top .factbox { width: 100%; }
}

/* ---------------------------------------------------------- saki band -- */

.band--saki {
  background: var(--maroon);
  padding: clamp(48px, 6vw, 72px) var(--gutter);
}
.saki__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
  align-items: center;
}
.saki__photo img { width: 100%; height: auto; display: block; }
.band--saki p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--cream);
  text-wrap: pretty;
}

@media (max-width: 720px) {
  .saki__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .saki__photo { max-width: 290px; }
  .band--saki p { text-align: center; }
}

/* ------------------------------------------------- homepage additions -- */

.intro__offer {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--olive);
  margin: 0 !important;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.invite {
  padding: clamp(52px, 7vw, 76px) var(--gutter) clamp(44px, 6vw, 64px);
  text-align: center;
}
.invite__divider {
  height: 13px;
  width: auto;
  margin: 0 auto 26px;
  opacity: 0.8;
}
.invite__line {
  font: italic 400 clamp(19px, 2.5vw, 23px)/1.65 var(--serif);
  color: var(--maroon);
  margin: 0 auto 22px;
  max-width: 640px;
  text-wrap: pretty;
}
.invite__email {
  margin: 0;
  font: 400 clamp(16px, 2.2vw, 19px)/1.5 var(--serif);
  overflow-wrap: anywhere;
}
.invite__email a { text-decoration: none; border-bottom: 1px solid var(--rose); }

/* ------------------------------------------------------------- petals -- */

/* Drifting sakura petals. Built in JS (see site.js) so the markup stays
   clean and so visitors who ask for reduced motion never get them at all.
   Purely decorative: behind the content, and transparent to clicks. */

.petals {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.petal {
  position: absolute;
  top: -8vh;
  width: var(--size, 13px);
  height: var(--size, 13px);
  background: var(--tone, #C39D98);
  border-radius: 100% 0 100% 0;
  opacity: var(--opacity, 0.35);
  will-change: transform;
  animation: petal-fall var(--duration, 24s) linear var(--delay, 0s) infinite;
}

@keyframes petal-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(var(--drift, 40px), 55vh, 0) rotate(180deg);
  }
  100% {
    transform: translate3d(0, 118vh, 0) rotate(360deg);
  }
}

/* Belt and braces: the JS already skips these, but if a visitor turns the
   setting on after load, hide them rather than freezing them mid-air. */
@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
}

/* ---------------------------------------------------------- placeholder -- */

/* Content Cristina still needs to supply. Deliberately conspicuous —
   these should be visually obvious until they are replaced. */
.ph {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--maroon);
  background: rgba(195, 157, 152, 0.22);
  padding: 1px 5px;
  border-radius: 2px;
}

.ph-block {
  border: 1px dashed rgba(107, 65, 63, 0.4);
  padding: 14px 16px;
  font: 400 12.5px/1.8 var(--sans);
  color: #6B5A52;
  background: rgba(255, 255, 255, 0.35);
}
.ph-block + .ph-block { margin-top: 14px; }

/* --------------------------------------------------------- breakpoints -- */

@media (max-width: 900px) {
  .about-split,
  .page--split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-split .portrait,
  .page--split .portrait { max-width: 320px; }
  .service-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
  }
  .service-row__note { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  /* Logo on top, every page link visible in a centred row beneath it. */
  .site-header {
    flex-direction: column;
    gap: 16px;
    padding-block: 18px 16px;
  }
  .nav {
    /* Full width, not shrink-to-fit: a shrink-wrapped flex row can come out a
       fraction of a pixel narrower than its items and wrap the last link. */
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }
  .nav a:not(.btn),
  .nav__current { letter-spacing: 0.14em; }

  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 20px; }

  .about-teaser__inner { flex-direction: column; text-align: center; }
}

/* Small phones: tighten the link row so all five fit on one line. */
@media (max-width: 440px) {
  .nav { gap: 10px 13px; }
  .nav a:not(.btn),
  .nav__current { font-size: 10px; letter-spacing: 0.09em; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
