/* COASTY CLEAN SERVICES LIMITED - site stylesheet
   Art direction: coastal clean. Deep harbour teal, sparing sun-amber accent,
   cool sea-mist neutrals, soft shape language (rounded panels, pill buttons). */

:root {
  /* Colour */
  --primary: #12505e;
  --primary-deep: #0d3d48;
  --primary-ink: #082a33;
  --accent: #9a5b00;
  --accent-bright: #f4b860;
  --accent-bright-hover: #f7c87f;
  --foam: #9ed9cf;
  --bg: #f6f9f9;
  --surface: #ffffff;
  --mist: #e8f0f1;
  --tile: #e1efed;
  --border: #d3e0e2;
  --border-strong: #7a9095;
  --text-dark: #13242a;
  --text-light: #4d6268;
  --text-on-dark: #e9f2f3;
  --text-on-dark-muted: #b0c6ca;

  /* Translucent layers */
  --glass: rgba(246, 249, 249, 0.84);
  --hair-dark: rgba(255, 255, 255, 0.14);
  --veil: rgba(255, 255, 255, 0.08);
  --dot-dark: rgba(255, 255, 255, 0.08);
  --glow: rgba(158, 217, 207, 0.30);
  --glow-warm: rgba(244, 184, 96, 0.16);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(8, 42, 51, 0.05);
  --shadow-md: 0 1px 2px rgba(8, 42, 51, 0.04), 0 8px 24px rgba(8, 42, 51, 0.07);
  --shadow-lg: 0 2px 4px rgba(8, 42, 51, 0.06), 0 24px 48px rgba(8, 42, 51, 0.20);

  /* Spacing scale */
  --s0: 0.25rem;
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;

  /* Shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --line: 1px;
  --line-bar: 2px;
  --line-thick: 3px;

  /* Layout */
  --container: 1140px;
  --gutter: 1.25rem;
  --measure: 66ch;
  --nav-h: 4.5rem;
  --dot-size: 22px;

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.25rem, 5vw, 4rem);
  --fs-page: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: 1.2rem;
  --fs-lead: 1.15rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Buttons and motion */
  --btn-pad-y: 0.8rem;
  --btn-pad-x: 1.6rem;
  --t-fast: 180ms;

  /* Focus colour (overridden on dark surfaces) */
  --focus: var(--accent);

  /* Shared hero background craft */
  --hero-bg:
    radial-gradient(60rem 30rem at 88% 0%, var(--glow), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, var(--glow-warm), transparent 60%),
    radial-gradient(var(--dot-dark) 1px, transparent 1.6px) 0 0 / var(--dot-size) var(--dot-size),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 55%, var(--primary-ink) 100%);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  color: inherit;
}

p { margin: 0 0 var(--s3); max-width: var(--measure); }

a { color: var(--primary); }

svg { display: block; }

:focus-visible {
  outline: var(--line-thick) solid var(--focus);
  outline-offset: var(--line-thick);
  border-radius: var(--radius-sm);
}

.on-dark { --focus: var(--accent-bright); }

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

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(var(--s7) * -1);
  z-index: 100;
  background: var(--primary);
  color: var(--surface);
  padding: var(--s1) var(--s3);
  border-radius: var(--radius-sm);
}

.skip-link:focus { top: var(--s3); }

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--line) solid var(--border);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--text-dark);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -12%;
  height: 38%;
  border-radius: 50% 50% 0 0;
  background: var(--foam);
  opacity: 0.35;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-name small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  position: relative;
  display: block;
  padding: var(--s1) 0;
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--line-thick);
  border-radius: var(--radius-pill);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-links a[aria-current="page"] { font-weight: 700; color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s0);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: var(--line) solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: var(--line-bar);
  border-radius: var(--radius-pill);
  background: var(--text-dark);
  transition: transform var(--t-fast) ease, opacity var(--t-fast) ease;
}

.navbar.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(calc(var(--s0) + var(--line-bar))) rotate(45deg); }
.navbar.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.navbar.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(calc((var(--s0) + var(--line-bar)) * -1)) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: var(--line-bar) solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease,
    background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { background: var(--primary-deep); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover { background: var(--tile); }

.on-dark .btn-primary { background: var(--accent-bright); color: var(--primary-ink); }
.on-dark .btn-primary:hover { background: var(--accent-bright-hover); }
.on-dark .btn-outline { color: var(--text-on-dark); border-color: var(--text-on-dark-muted); }
.on-dark .btn-outline:hover { background: var(--veil); border-color: var(--text-on-dark); }

.btn-sm { padding: var(--s1) var(--s4); font-size: 0.95rem; }

/* Shared type helpers */
.eyebrow {
  display: inline-block;
  margin-bottom: var(--s2);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.on-dark .eyebrow { color: var(--accent-bright); }

.lead { font-size: var(--fs-lead); color: var(--text-light); }

.text-link {
  color: var(--primary);
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.text-link:hover { color: var(--primary-deep); text-decoration-thickness: var(--line-bar); }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: var(--s7) 0 calc(var(--s7) + var(--s5));
  overflow: hidden;
  color: var(--text-on-dark);
  background: var(--hero-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--s6);
}

.hero h1 { font-size: var(--fs-hero); max-width: 15ch; color: var(--surface); }

.hero-lead { font-size: 1.2rem; color: var(--text-on-dark-muted); max-width: 46ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s5);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--line) * -1);
  width: 100%;
  height: clamp(2.5rem, 6vw, 5rem);
}

.hero-wave path { fill: var(--bg); }

.hero-visual { position: relative; min-height: 25rem; }

.visual-back {
  position: absolute;
  top: 4%;
  right: 0;
  width: 78%;
  height: 86%;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--foam), var(--tile));
  transform: rotate(4deg);
  color: var(--primary);
}

.visual-back svg {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  width: 7rem;
  height: auto;
}

.checklist-card {
  position: relative;
  z-index: 1;
  width: min(100%, 21rem);
  margin-top: var(--s6);
  padding: var(--s4);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.checklist-label {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent);
}

.checklist-title {
  margin: 0 0 var(--s2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) 0;
  border-top: var(--line) solid var(--border);
  font-size: 0.95rem;
}

.check {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--surface);
}

.check svg { width: 1rem; height: 1rem; }

.check-pending {
  background: transparent;
  border: var(--line-bar) dashed var(--border-strong);
}

.checklist-foot {
  margin: var(--s2) 0 0;
  font-size: var(--fs-small);
  color: var(--text-light);
}

/* Inner page hero */
.page-hero {
  position: relative;
  padding: var(--s6) 0 calc(var(--s6) + var(--s5));
  overflow: hidden;
  color: var(--text-on-dark);
  background: var(--hero-bg);
}

.page-hero h1 { font-size: var(--fs-page); max-width: 20ch; color: var(--surface); }

.page-hero p { font-size: var(--fs-lead); color: var(--text-on-dark-muted); max-width: 56ch; margin-bottom: 0; }

/* Sections */
.section { padding: var(--s7) 0; }

.section-alt {
  background: var(--surface);
  border-top: var(--line) solid var(--border);
  border-bottom: var(--line) solid var(--border);
}

.section-head { max-width: 42rem; margin-bottom: var(--s5); }

.section-head h2,
.split h2,
.band-dark h2 { font-size: var(--fs-h2); }

.section-foot { margin: var(--s5) 0 0; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: var(--s4);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: var(--s5) var(--s4) var(--s4);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.section-alt .service-card { background: var(--bg); }

.service-card h3 { font-size: var(--fs-h3); }

.service-card p { color: var(--text-light); margin-bottom: 0; }

.glyph-tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--s3);
  border-radius: var(--radius-sm);
  background: var(--tile);
  color: var(--primary);
}

.glyph-tile svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-points {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: var(--s3) 0 0;
  border-top: var(--line) solid var(--border);
  display: grid;
  gap: var(--s1);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.card-points li,
.tick-list li {
  display: flex;
  gap: var(--s2);
}

.card-points li::before,
.tick-list li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.6em;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

/* Two-column bands */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--s6);
}

.split-center { align-items: center; }

.split-actions { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2); }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s3);
  padding: var(--s4);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
}

.steps h3 { font-size: 1.05rem; margin-bottom: var(--s0); letter-spacing: -0.01em; }

.steps p { margin: 0; color: var(--text-light); }

/* Full-bleed dark band */
.band-dark {
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
  background:
    radial-gradient(44rem 24rem at 100% 0%, var(--glow), transparent 60%),
    linear-gradient(180deg, var(--primary-ink), var(--primary-deep));
}

.band-dark p { color: var(--text-on-dark-muted); }

.band-dark .tick-list li::before { background: var(--accent-bright); }

.tick-list {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s2);
}

.band-art { color: var(--foam); }

.band-art svg {
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.band-art .art-sun { stroke: var(--accent-bright); }

/* Credentials */
.credentials { padding: var(--s6) 0 var(--s7); }

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  overflow: hidden;
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.cred-item { padding: var(--s4) var(--s5); }

.cred-item + .cred-item { border-left: var(--line) solid var(--border); }

.cred-item dt {
  margin-bottom: var(--s0);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-light);
}

.cred-item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

/* CTA strip */
.cta-strip { padding: 0 0 var(--s7); }

.section + .cta-strip,
.section-alt + .cta-strip { padding-top: var(--s7); }

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s6) var(--s5);
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
  background: var(--hero-bg);
  box-shadow: var(--shadow-md);
}

.cta-panel h2 { font-size: var(--fs-h2); margin-bottom: var(--s1); color: var(--surface); max-width: 22ch; }

.cta-panel p { margin: 0; color: var(--text-on-dark-muted); max-width: 52ch; }

.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Detail cards (about, contact) */
.detail-card {
  padding: var(--s5);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail-card h2 { font-size: 1.35rem; }

.detail-list { margin: 0; }

.detail-list div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: var(--s3);
  padding: var(--s2) 0;
  border-top: var(--line) solid var(--border);
}

.detail-list dt { font-size: var(--fs-small); font-weight: 600; color: var(--text-light); }

.detail-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Room lists (services) */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.room {
  padding: var(--s4);
  border-radius: var(--radius);
  background: var(--bg);
  border: var(--line) solid var(--border);
}

.room h3 { font-size: 1.05rem; }

.room .card-points { margin-top: 0; padding-top: 0; border-top: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: var(--s6);
}

.email-link {
  display: inline-block;
  margin-bottom: var(--s3);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.email-link:hover { color: var(--primary-deep); }

.contact-panel h2 { font-size: 1.35rem; }

.contact-panel h2:not(:first-of-type) { margin-top: var(--s5); }

.form-card {
  padding: var(--s5);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.form-card h2 { font-size: 1.5rem; }

.field { display: grid; gap: var(--s1); margin-bottom: var(--s4); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

.field label { font-weight: 600; font-size: 0.95rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s2) var(--s3);
  border: var(--line) solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-dark);
  font: inherit;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary); background: var(--surface); }

.field textarea { min-height: 9rem; resize: vertical; }

.form-note { margin: var(--s3) 0 0; font-size: var(--fs-small); color: var(--text-light); }

/* Legal pages */
.legal-layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  align-items: start;
  gap: var(--s6);
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
  padding: var(--s4);
  border: var(--line) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc-title { margin: 0 0 var(--s2); font-weight: 700; font-size: 0.95rem; }

.toc ol { margin: 0; padding-left: var(--s4); }

.toc li { margin-bottom: var(--s1); font-size: var(--fs-small); color: var(--text-light); }

.toc a { color: var(--text-light); text-decoration: none; }

.toc a:hover { color: var(--primary); text-decoration: underline; }

.prose h2 {
  font-size: 1.45rem;
  margin-top: var(--s5);
  scroll-margin-top: calc(var(--nav-h) + var(--s3));
}

.prose h2:first-child { margin-top: 0; }

.prose ul,
.prose ol { max-width: var(--measure); padding-left: var(--s4); margin: 0 0 var(--s3); }

.prose li { margin-bottom: var(--s1); }

.prose a { color: var(--primary); text-underline-offset: 0.2em; }

.meta-note { font-size: var(--fs-small); color: var(--text-light); }

.callout {
  max-width: var(--measure);
  margin: 0 0 var(--s4);
  padding: var(--s3) var(--s4);
  border-left: var(--line-thick) solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--tile);
}

.callout p:last-child { margin-bottom: 0; }

/* Footer */
.footer {
  padding-top: var(--s6);
  border-top: var(--line) solid var(--hair-dark);
  background: var(--primary-ink);
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: var(--s5);
  padding-bottom: var(--s6);
}

.footer .brand { color: var(--text-on-dark); }

.footer .brand-name small { color: var(--text-on-dark-muted); }

.footer .brand-mark { background: var(--foam); color: var(--primary-ink); }

.footer .brand-mark::after { background: var(--surface); }

.footer-blurb { margin: var(--s3) 0; max-width: 34ch; }

.footer-legal { margin: 0; font-size: var(--fs-small); line-height: 1.75; }

.footer-legal strong { color: var(--text-on-dark); }

.footer-title {
  margin: 0 0 var(--s3);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s2);
}

.footer-links a {
  color: var(--text-on-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.footer-bottom {
  padding: var(--s3) 0;
  border-top: var(--line) solid var(--hair-dark);
  background: var(--primary-deep);
  font-size: var(--fs-small);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}

.footer-bottom-inner p { margin: 0; }

.footer-bottom-links {
  display: flex;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-links a { color: var(--text-on-dark); text-decoration: none; }

.footer-bottom-links a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: var(--s5); }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: var(--s0);
    margin-top: var(--s1);
    padding: var(--s3);
    border: var(--line) solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .navbar.is-open .nav-links { display: flex; }

  .nav-links a:not(.btn) { padding: var(--s2) var(--s3); }

  .nav-links a:not(.btn)::after {
    top: 22%;
    bottom: 22%;
    right: auto;
    width: var(--line-thick);
    height: auto;
    transform: scaleY(0);
  }

  .nav-links a:not(.btn):hover::after,
  .nav-links a[aria-current="page"]::after { transform: scaleY(1); }

  .nav-links .btn { width: 100%; margin-top: var(--s1); }

  .hero { min-height: 0; padding: var(--s6) 0 calc(var(--s6) + var(--s4)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .section { padding: var(--s6) 0; }
  .credentials { padding: var(--s5) 0 var(--s6); }
  .cta-strip { padding-bottom: var(--s6); }
  .section + .cta-strip,
  .section-alt + .cta-strip { padding-top: var(--s6); }

  .split,
  .contact-grid,
  .legal-layout { grid-template-columns: 1fr; gap: var(--s5); }

  .toc { position: static; }

  .cred-strip { grid-template-columns: 1fr; }
  .cred-item + .cred-item { border-left: 0; border-top: var(--line) solid var(--border); }
  .cred-item { padding: var(--s3) var(--s4); }

  .room-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .cta-panel { padding: var(--s5) var(--s4); }
  .detail-card,
  .form-card { padding: var(--s4); }
  .detail-list div { grid-template-columns: 1fr; gap: var(--s0); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; }
  .btn:hover { transform: none; }
}
