/* NUNU Housing
   Warm cream / greige / charcoal palette with a sand accent, matching the original site.
   Instrument Sans for headings, Inter for text. */

:root {
  --cream: #FDFCFA;
  --greige: #EFECE8;
  --stone: #D8D4CF;
  --ink: #1A1A1A;
  --charcoal: #2C2C2C;
  --gray: #4A4A4A;
  --sand: #C8B198;
  --sand-deep: #8A7358;
  --hair: rgba(26, 26, 26, 0.16);

  --serif: "Instrument Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1180px;
  --header-h: 96px;
  --radius: 4px;
  --radius-card: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--gray);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hide the page for a moment while a saved language is being applied */
@keyframes unhide { to { visibility: visible; } }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus, var(--ink));
  outline-offset: 3px;
  border-radius: 2px;
}
.is-dark, .cta-band, .site-footer, .hero { --focus: #FFFFFF; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

/* ---------- Type ---------- */

.display, .display-2, .h2, .h3, .footer-tag { font-family: var(--serif); color: var(--ink); }

.display {
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display-2 {
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 {
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
}
.h3 {
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--gray);
  max-width: 48ch;
}
.muted { color: var(--gray); opacity: 0.9; }
.measure { max-width: 62ch; margin-inline: auto; text-align: left; }

/* ---------- Buttons and links ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: 500 0.8125rem/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--cream); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-primary::before { background: var(--sand-deep); }
.btn-primary:hover { border-color: var(--sand-deep); }

.btn-white { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-white::before { background: var(--sand); }
.btn-white:hover { border-color: var(--sand); color: var(--ink); }

.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  transition: text-underline-offset 0.3s var(--ease), color 0.2s ease;
}
.link:hover { text-underline-offset: 3px; color: var(--sand-deep); }
.is-dark .link { color: var(--cream); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 68px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }

.site-nav a:not(.btn) {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--sand-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 12px; flex: none; }

.lang {
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang button {
  appearance: none;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 0.8125rem/1 var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lang button:last-child { border-right: 0; }
.lang button:hover { background: var(--greige); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.lang button:focus-visible { outline-offset: -3px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: 600 0.9rem/1 var(--sans);
  cursor: pointer;
}
.nav-toggle:active { transform: scale(0.97); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), background-color 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; left: 0; top: -5px; }
.nav-toggle-bars::after { position: absolute; left: 0; top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav-toggle .lbl-close { display: none; }
.nav-toggle[aria-expanded="true"] .lbl-open { display: none; }
.nav-toggle[aria-expanded="true"] .lbl-close { display: inline; }

@media (max-width: 1180px) {
  .header-tools { margin-left: auto; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 16px var(--gutter) 48px;
    overflow-y: auto;
    background: var(--charcoal);
    color: var(--cream);
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease), visibility 0s linear 0.6s;
    --focus: #FFFFFF;
  }
  .site-nav[data-open="true"] {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.6s var(--ease), visibility 0s;
  }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  }
  .site-nav[data-open="true"] li {
    opacity: 1;
    transform: none;
    transition-delay: calc(140ms + var(--i, 0) * 45ms);
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 18px 0;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 6vw, 2.3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--cream);
    white-space: normal;
  }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .nav-cta { border-bottom: 0; padding-top: 32px; }
  .site-nav .btn { width: 100%; }
  .site-nav .btn-primary { background: var(--cream); border-color: var(--cream); color: var(--ink); }
  .site-nav .btn-primary::before { background: var(--sand); }
  .site-nav .btn-primary:hover { border-color: var(--sand); color: var(--ink); }
}

@media (max-width: 420px) {
  .brand img { height: 52px; }
  .header-inner { gap: 12px; }
  .lang button { padding: 0 9px; }
  .nav-toggle { padding: 0 11px; gap: 8px; }
}

/* ---------- Hero: full-bleed photo ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(600px, calc(100svh - var(--header-h)), 860px);
  padding-block: clamp(56px, 7vw, 96px);
  background: #b9ad9d;
  color: #fff;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
/* Keep the photo bright and welcoming, only a soft veil for legibility */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(20, 16, 12, 0.28) 0%, rgba(20, 16, 12, 0.04) 38%, rgba(20, 16, 12, 0.04) 55%, rgba(20, 16, 12, 0.46) 100%);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; flex: 1; }
.hero .display {
  color: var(--cream);
  font-weight: 400;
  max-width: 14ch;
  margin-inline: auto;
  text-shadow: 0 2px 28px rgba(20, 16, 12, 0.35);
}
.hero .lede {
  margin: auto auto 0;
  padding-top: 48px;
  color: var(--cream);
  font-weight: 400;
  text-shadow: 0 1px 14px rgba(20, 16, 12, 0.55);
}
.hero .btn-row { justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
.hero .btn {
  border-color: rgba(253, 252, 250, 0.9);
  color: var(--cream);
  background: rgba(20, 16, 12, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero .btn::before { background: var(--cream); }
.hero .btn:hover { color: var(--ink); }
.hero .btn-primary { background: var(--cream); color: var(--ink); backdrop-filter: none; }
.hero .btn-primary::before { background: var(--sand); }
.hero .btn-primary:hover { border-color: var(--sand); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 1s var(--ease) both; }
  .hero-copy > .lede { animation-delay: 0.12s; }
  .hero-copy > .btn-row { animation-delay: 0.24s; }
  .hero-bg img { animation: settle 2.2s var(--ease) backwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
}

/* ---------- Sections: centred, alternating cream / greige ---------- */

.sec {
  padding-block: clamp(72px, 9vw, 128px);
  text-align: center;
}
.sec.is-mist { background: var(--greige); }
.sec-grid { display: block; }

.sec-label {
  display: block;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-deep);
}
.sec-body { min-width: 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lede { margin: 20px auto 0; }

.is-dark { background: var(--charcoal); color: rgba(255, 255, 255, 0.82); }
.is-dark .h2, .is-dark .h3 { color: #fff; }
.is-dark .sec-label { color: var(--sand); }

/* Statement */
.statement {
  background: var(--greige);
  padding-block: clamp(72px, 10vw, 140px);
  text-align: center;
}
.statement .display-2 { max-width: 20ch; margin-inline: auto; font-weight: 300; }

/* Rounded outlined card, shared */
.steps li, .service, .pillar, .cases > div, .board-col {
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--cream);
}
.is-mist .steps li, .is-mist .service, .is-mist .pillar { background: var(--cream); }

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}
.steps li {
  counter-increment: step;
  padding: 28px 24px 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.steps li:hover { transform: translateY(-4px); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--sand);
}
.steps h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.3; margin-bottom: 8px; color: var(--ink); }
.steps p { color: var(--gray); }

@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}
.service {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.4s var(--ease);
}
.service:hover { transform: translateY(-4px); }
.service p + p { margin-top: 8px; }
.service .note { font-size: 0.93rem; color: var(--sand-deep); }
.service-action { margin-top: auto; padding-top: 12px; }
.service-action:empty { display: none; }

@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }

/* Remote viewings: dark band, white cards */
.remote-intro { max-width: 60ch; margin: 24px auto 0; color: rgba(255, 255, 255, 0.84); }

.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-block: clamp(40px, 5vw, 56px) 20px;
  text-align: left;
}
.cases > div { padding: 28px 28px 32px; background: #fff; border-color: #fff; }
.cases h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.cases p { color: var(--gray); }

.is-dark .steps li { background: #fff; border-color: #fff; }
.is-dark .steps li::before { color: var(--sand-deep); }
.is-dark .steps h3 { margin: 0; }

.remote-foot {
  margin-top: clamp(40px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.remote-foot p { max-width: 54ch; color: rgba(255, 255, 255, 0.78); font-size: 0.97rem; }

@media (max-width: 700px) { .cases { grid-template-columns: 1fr; } }

/* Independent */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  text-align: left;
}
.pillar { padding: 32px 28px 36px; transition: transform 0.4s var(--ease); }
.pillar:hover { transform: translateY(-4px); }
.pillar-k {
  margin-bottom: 36px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-deep);
}
.pillar h3 { margin-bottom: 12px; }
.pillar p:last-child { color: var(--gray); }

@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr; } .pillar-k { margin-bottom: 16px; } }

/* About */
.about-text { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 64ch; text-align: left; }
.about-text p { line-height: 1.8; }
.about-text p + p { margin-top: 1.1em; }
.signature { margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--hair); max-width: 64ch; text-align: left; }
.signature strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.015em; color: var(--ink); }
.signature span { color: var(--sand-deep); }

/* Pricing */
.board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}
.board-col { display: flex; flex-direction: column; padding: clamp(28px, 3.6vw, 48px); }
.board-col > .h3 { margin-bottom: 28px; }

.figure {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.figure small {
  display: block;
  margin-top: 10px;
  font: 500 0.78rem/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-deep);
}
.board-col .sub { margin-top: 14px; color: var(--gray); }
.rule { border: 0; border-top: 1px solid var(--hair); margin: 28px 0; }
.callout {
  margin: 24px 0 28px;
  padding: 16px 20px;
  background: var(--greige);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
}
.board-col h4 { margin-bottom: 6px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.board-col .push { margin-top: auto; padding-top: 32px; }

.checks { margin-top: 20px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--sand-deep);
  border-bottom: 2px solid var(--sand-deep);
  transform: rotate(-45deg);
}

.payment {
  margin: clamp(56px, 7vw, 88px) auto 0;
  max-width: 720px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--greige);
  border-radius: var(--radius-card);
  text-align: center;
}
.payment .muted { margin-top: 10px; }
.payment-body { margin-top: 24px; }
.payment-body p { color: var(--gray); max-width: 54ch; margin-inline: auto; }
.payment-body p + p { margin-top: 1em; }

@media (max-width: 860px) { .board { grid-template-columns: 1fr; } }

/* FAQ */
.sec#faq { background: var(--greige); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; text-align: left; }
.faq-item { border: 1px solid var(--ink); border-radius: 14px; background: var(--cream); padding-inline: 24px; }
.faq-item h3 { margin: 0; }

.faq-q {
  appearance: none;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1.05rem/1.4 var(--sans);
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: var(--sand-deep); }
.faq-q:focus-visible { outline-offset: 2px; }

.faq-icon { position: relative; flex: none; width: 16px; height: 16px; margin-top: 5px; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.5s var(--spring);
}
.faq-icon::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq-icon::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg) scaleY(0); }
.faq-q[aria-expanded="true"] .faq-icon::before { transform: rotate(180deg); }

.faq-panel { display: block; }
.js .faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.js .faq-panel[data-open="true"] { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; min-height: 0; }
.js .faq-panel > div { visibility: hidden; transition: visibility 0s linear 0.5s; }
.js .faq-panel[data-open="true"] > div { visibility: visible; transition-delay: 0s; }
.faq-panel p { padding: 0 40px 24px 0; color: var(--gray); max-width: 64ch; }

/* Final call to action */
.cta-band {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.84);
  padding-block: clamp(72px, 9vw, 128px);
  text-align: center;
}
.cta-band .display-2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band .lede { margin: 20px auto 0; color: rgba(255, 255, 255, 0.82); }

.cta-rows {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-card);
}
.cta-row .h3 { color: #fff; font-size: 1.35rem; }
@media (max-width: 700px) { .cta-rows { grid-template-columns: 1fr; } .cta-row .btn { width: 100%; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding-block: clamp(64px, 8vw, 104px) 32px; }

.footer-tag {
  color: #fff;
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.footer-tag::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 28px; background: var(--sand); }

.footer-grid { margin-top: clamp(40px, 5vw, 72px); row-gap: 40px; }
.footer-brand { grid-column: 1 / 7; }
.footer-col { grid-column: span 3; }

.logo-chip { display: inline-block; padding: 10px 14px; margin-bottom: 20px; background: var(--cream); border-radius: 10px; }
.logo-chip img { height: 64px; width: auto; }
.footer-brand p { max-width: 44ch; }
.footer-brand .contact { margin-top: 16px; }
.footer-brand .contact a { color: #fff; font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--sand); }

.footer-col h2 { margin-bottom: 16px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); }
.footer-col li + li { margin-top: 10px; }
.footer-col a { text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { grid-column: span 6; }
}

/* ---------- Inner pages ---------- */

.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px); background: var(--greige); text-align: center; }
.page-head .display { font-size: clamp(2.4rem, 5.6vw, 4.2rem); max-width: 16ch; margin-inline: auto; }
.page-head .lede { margin: clamp(20px, 2.6vw, 28px) auto 0; max-width: 52ch; }

.prose { max-width: 68ch; }
.prose h2 { margin: 2.6rem 0 0.8rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1em; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.prose li { margin-bottom: 0.4em; }
.prose .updated { margin-top: 2.5rem; color: var(--sand-deep); }
.prose .back-links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 1.6rem; }

.notice {
  margin-bottom: 40px;
  padding: 16px 20px;
  background: var(--greige);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
  max-width: 68ch;
}
.notice[hidden] { display: none; }

@media print {
  .site-header, .skip-link, .lang { display: none; }
}

/* Inner pages: keep reading text left-aligned, centre the actions */
.prose { margin-inline: auto; text-align: left; }
.sec-body[style] { grid-column: auto !important; }
.sec .sec-body > .btn-row { justify-content: center; }
.sec .sec-body > .board { max-width: 880px; margin-inline: auto; }


/* ---------- Avant-garde touches ---------- */

.is-taupe { background: #5E574E; color: rgba(253, 252, 250, 0.84); --focus: #FFFFFF; }
.is-taupe .h2 { color: var(--cream); }
.is-taupe .sec-label { color: var(--sand); }
.is-taupe .lede { margin: 24px auto 0; color: rgba(253, 252, 250, 0.86); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Reviews */
.reviews { margin-block: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; text-align: left; }
.reviews-empty {
  grid-column: 1 / -1;
  padding: clamp(32px, 5vw, 64px);
  border: 1px dashed rgba(253, 252, 250, 0.45);
  border-radius: 18px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  text-align: center;
  color: var(--cream);
}
.reviews-empty::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; margin-bottom: 18px; color: var(--sand); }
.review { display: flex; flex-direction: column; gap: 22px; padding: 28px; background: var(--cream); color: var(--gray); border-radius: 18px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; color: var(--ink); }
.review footer { margin-top: auto; font-size: 0.9rem; }
.review footer strong { display: block; color: var(--ink); }
.review .verified { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand-deep); }
.review .verified a { color: inherit; text-underline-offset: 3px; }

/* Social icons */
.social { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(253, 252, 250, 0.45);
  border-radius: 50%;
  color: var(--cream);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--spring);
}
.social-btn:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateY(-3px); }

.cta-mail { margin-top: 20px; color: rgba(253, 252, 250, 0.9); }
.cta-mail a { color: var(--cream); font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--sand); }

.review blockquote { font-size: 1.05rem; line-height: 1.6; white-space: pre-line; }
.reviews { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.review-alt { margin-top: 14px; font-size: .92rem; }
.review-alt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }

/* Reviews carousel */
.reviews.is-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; margin-bottom: 20px; outline: none; }
.reviews.is-carousel::-webkit-scrollbar { display: none; }
.reviews.is-carousel .review { flex: 0 0 min(440px, 86%); scroll-snap-align: start; }
.review blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; overflow: hidden; }
.review.open blockquote { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review-more { align-self: flex-start; margin-top: -10px; padding: 0; border: 0; background: none; font: inherit; font-size: .88rem; color: var(--sand-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rev-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: clamp(32px, 4vw, 48px); }
.rev-nav[hidden] { display: none; }
.rev-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(253, 252, 250, 0.45); border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.rev-arrow:hover, .rev-arrow:focus-visible { background: var(--cream); color: var(--ink); }
.rev-dots { display: flex; gap: 8px; }
.rev-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(253, 252, 250, 0.4); cursor: pointer; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.rev-dot.on { background: var(--cream); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .reviews.is-carousel { scroll-behavior: auto; } }

/* Reviews: endless moving wall (modern) */
#reviews { overflow: hidden; }
.rv-wall { position: relative; width: 100vw; left: 50%; margin-left: -50vw; margin-block: clamp(40px, 5vw, 64px); overflow: hidden; text-align: left;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rv-track { display: flex; width: max-content; padding: 6px 0; animation: rv-scroll var(--rv-dur, 44s) linear infinite; }
.rv-wall:hover .rv-track, .rv-wall.is-paused .rv-track { animation-play-state: paused; }
@keyframes rv-scroll { to { transform: translateX(calc(-100% / 3)); } }
.rv-card { flex: none; width: min(380px, 82vw); margin-right: 20px; display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 24px;
  background: rgba(253, 252, 250, 0.07); border: 1px solid rgba(253, 252, 250, 0.14); border-radius: 22px; color: var(--cream);
  transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease); }
.rv-card:hover { transform: translateY(-4px); background: rgba(253, 252, 250, 0.11); border-color: rgba(200, 177, 152, 0.55); }
.rv-text { margin: 0; font-size: 1.02rem; line-height: 1.62; color: rgba(253, 252, 250, 0.92); white-space: pre-line;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.rv-more { align-self: flex-start; margin-top: -8px; padding: 0; border: 0; background: none; font: inherit; font-size: .85rem; color: var(--sand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-more[hidden] { display: none; }
.rv-who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(253, 252, 250, 0.12); }
.rv-who strong { display: block; font-size: .95rem; color: inherit; }
.rv-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--ink); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.rv-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); text-decoration: none; }
a.rv-src:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-ico { display: inline-grid; place-items: center; }
.rv-dialog { width: min(560px, calc(100% - 32px)); border: 0; border-radius: 22px; padding: 40px 34px 30px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.rv-dialog::backdrop { background: rgba(20, 19, 17, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rv-dialog .rv-full { margin: 0 0 24px; font-size: 1.08rem; line-height: 1.65; white-space: pre-line; }
.rv-dialog .rv-who { border-top-color: rgba(26, 26, 26, 0.12); }
.rv-dialog .rv-src { color: var(--sand-deep); }
.rv-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer; }
.rv-close:hover { background: var(--greige); }
@media (prefers-reduced-motion: reduce) {
  .rv-track { animation: none; }
  .rv-wall { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-card[aria-hidden="true"] { display: none; }
}
