/* NOOR Travels Pty Ltd — styles.css
   Art direction: "lagoon at dusk" — deep desaturated teal, a sparing saffron light,
   cool mineral neutrals, Palatino display over a system sans. Soft shape language. */

:root {
  /* Colour */
  --primary: #1B4B4F;
  --primary-deep: #0F2E31;
  --primary-soft: #2C6469;
  --accent: #E2A445;
  --accent-strong: #EDB862;
  --accent-ink: #8A5508;
  --bg: #F4F7F6;
  --surface: #FFFFFF;
  --surface-2: #E8EFED;
  --tint: #DDEBE8;
  --border: #D3DEDB;
  --border-strong: #788B89;
  --text-dark: #16272A;
  --text-muted: #4A5E61;
  --text-light: #E9F1EF;
  --text-light-muted: #AFC6C2;
  --footer-bg: #0C2527;
  --footer-bar: #133236;
  --line-dark: rgba(233, 241, 239, 0.14);
  --glow: rgba(226, 164, 69, 0.30);
  --glow-soft: rgba(226, 164, 69, 0.12);
  --dot: rgba(233, 241, 239, 0.13);
  --nav-bg: rgba(244, 247, 246, 0.84);
  --wash: rgba(127, 140, 140, 0.14);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 46, 49, 0.06);
  --shadow-md: 0 1px 2px rgba(15, 46, 49, 0.04), 0 8px 24px rgba(15, 46, 49, 0.07);
  --shadow-lg: 0 2px 4px rgba(8, 26, 28, 0.14), 0 24px 48px rgba(8, 26, 28, 0.30);

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

  /* Shape and layout */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --hair: 1px;
  --rule: 2px;
  --ring: 3px;
  --container: 1140px;
  --gutter: 1.25rem;
  --measure: 66ch;
  --tile: 3rem;
  --mark: 2.25rem;
  --toggle: 2.75rem;
  --nav-h: 4.25rem;
  --toc-w: 15rem;

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --fs-hero: clamp(2.25rem, 5vw, 4rem);
  --fs-page: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h2-sm: clamp(1.3rem, 2.4vw, 1.7rem);
  --fs-h3: 1.25rem;
  --fs-lead: 1.15rem;
  --fs-body: 1.0625rem;
  --fs-ui: 0.95rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  --ease: 180ms ease;
}

/* ---------- 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: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
  color: var(--text-dark);
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s3); max-width: var(--measure); }
ul, ol { max-width: var(--measure); }
a { color: var(--accent-ink); text-underline-offset: 0.2em; transition: color var(--ease); }
a:hover { color: var(--primary); }
svg { display: block; }
:focus-visible { outline: var(--ring) solid var(--accent-ink); outline-offset: var(--ring); border-radius: var(--radius-sm); }
.hero :focus-visible, .page-hero :focus-visible, .band-dark :focus-visible,
.cta-inner :focus-visible, .contact-card :focus-visible, .footer :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(-1 * var(--s6));
  z-index: 100;
  background: var(--primary);
  color: var(--text-light);
  padding: var(--s1) var(--s3);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--s3); color: var(--text-light); }

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

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--s2);
}
.hero .eyebrow, .page-hero .eyebrow, .band-dark .eyebrow, .contact-card .eyebrow { color: var(--accent); }

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--hair) solid var(--border);
}
.nav-inner {
  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:hover { color: var(--text-dark); }
.brand-mark {
  display: grid;
  place-items: center;
  width: var(--mark);
  height: var(--mark);
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand-name span { font-weight: 400; letter-spacing: -0.01em; color: var(--text-muted); }

.site-nav { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.nav-links a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  color: var(--text-dark);
  font-size: var(--fs-ui);
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--s-half);
  height: var(--rule);
  border-radius: var(--rule);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn):hover::after { transform: scaleX(0.4); }
.nav-links a.active { color: var(--primary); font-weight: 700; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { padding: 0.6rem 1.2rem; font-size: var(--fs-ui); }

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  border: var(--rule) 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(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--text-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-strong); color: var(--text-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; font-weight: 500; }
.btn-outline:hover { background: var(--wash); color: inherit; }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text-light);
  background:
    radial-gradient(circle at 86% 14%, var(--glow) 0, transparent 42%),
    radial-gradient(circle at 4% 96%, var(--glow-soft) 0, transparent 38%),
    linear-gradient(160deg, var(--primary-deep) 0%, var(--primary) 100%);
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.6px);
  background-size: var(--s4) var(--s4);
  -webkit-mask-image: linear-gradient(115deg, transparent 10%, var(--primary-deep) 75%);
  mask-image: linear-gradient(115deg, transparent 10%, var(--primary-deep) 75%);
}
.hero {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: var(--s7) 0 calc(var(--s7) + var(--s5));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s6)), 0 100%);
}
.hero h1, .page-hero h1 { color: var(--text-light); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s6);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero h1 { max-width: 15ch; }
.hero-lead { font-size: var(--fs-lead); color: var(--text-light-muted); max-width: 48ch; margin-bottom: var(--s5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 24rem; }
.ticket-back {
  position: absolute;
  inset: var(--s4) calc(-1 * var(--s3)) calc(-1 * var(--s3)) var(--s4);
  border-radius: var(--radius);
  background: var(--primary-soft);
  border: var(--hair) solid var(--line-dark);
  transform: rotate(4deg);
}
.ticket {
  position: relative;
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s3) var(--s4);
  background: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: var(--fs-small);
  font-weight: 600;
}
.ticket-head span:last-child { color: var(--accent); }
.ticket-route { padding: var(--s4) var(--s4) var(--s2); color: var(--primary); }
.ticket-route svg { width: 100%; height: auto; }
.ticket-rows { display: grid; gap: var(--s2); margin: 0; padding: 0 var(--s4) var(--s4); }
.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding-bottom: var(--s1);
  border-bottom: var(--hair) dashed var(--border);
  font-size: var(--fs-small);
}
.ticket-row dt { color: var(--text-muted); }
.ticket-row dd { margin: 0; font-weight: 600; text-align: right; }
.ticket-perf { position: relative; border-top: var(--rule) dashed var(--border); margin: 0 var(--s4); }
.ticket-perf::before, .ticket-perf::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--s2));
  width: var(--s4);
  height: var(--s4);
  border-radius: 50%;
  background: var(--primary-soft);
}
.ticket-perf::before { left: calc(-1 * (var(--s4) + var(--s2))); }
.ticket-perf::after { right: calc(-1 * (var(--s4) + var(--s2))); }
.ticket-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4) var(--s4);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.ticket-foot strong { font-family: var(--font-display); color: var(--primary); font-size: 1rem; }

.page-hero {
  padding: var(--s6) 0 calc(var(--s6) + var(--s4));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s5)), 0 100%);
}
.page-hero h1 { font-size: var(--fs-page); max-width: 22ch; }
.page-hero p { font-size: var(--fs-lead); color: var(--text-light-muted); max-width: 56ch; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 46rem; margin-bottom: var(--s5); }
.section-lead { font-size: var(--fs-lead); color: var(--text-muted); }
.section-foot { margin-top: var(--s5); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.value { padding-top: var(--s4); border-top: var(--rule) solid var(--primary); }
.value p { color: var(--text-muted); margin: 0; }
.value .icon-tile { margin-bottom: var(--s3); }

.icon-tile {
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--primary);
}
.icon-tile svg {
  width: var(--s4);
  height: var(--s4);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--s4);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s5) var(--s4) var(--s4);
  background: var(--bg);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
}
.service-card h3 { margin: 0; }
.service-card p { margin: 0; color: var(--text-muted); font-size: var(--fs-ui); }

/* Two-column bands */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.band-dark {
  padding: var(--s7) 0;
  color: var(--text-light);
  background:
    radial-gradient(circle at 100% 0%, var(--glow-soft) 0, transparent 45%),
    var(--primary-deep);
}
.band-dark h2, .band-dark h3 { color: var(--text-light); }
.band-dark p { color: var(--text-light-muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.step { display: grid; grid-template-columns: var(--tile) 1fr; gap: var(--s3); align-items: start; }
.step-num {
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  border-radius: 50%;
  border: var(--hair) solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
}
.step h3 { margin: var(--s-half) 0; font-size: 1.15rem; }
.step p { margin: 0; font-size: var(--fs-ui); }

/* Postcard visual */
.postcard {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s4);
  padding: var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg);
}
.postcard-scene {
  display: flex;
  align-items: flex-end;
  min-height: 12rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--tint) 0%, var(--surface-2) 100%);
  color: var(--primary);
}
.postcard-scene svg { width: 100%; height: auto; }
.postcard-side {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding-left: var(--s4);
  border-left: var(--hair) dashed var(--border-strong);
}
.postcard-stamp {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4.5rem;
  margin-bottom: var(--s2);
  border: var(--rule) dashed var(--accent-ink);
  border-radius: var(--radius-sm);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.postcard-line {
  padding-bottom: var(--s1);
  border-bottom: var(--hair) solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Credentials */
.creds { padding: var(--s5) 0; background: var(--surface); border-top: var(--hair) solid var(--border); border-bottom: var(--hair) solid var(--border); }
.creds-title { font-size: var(--fs-h2-sm); margin-bottom: var(--s4); }
.creds-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin: 0; }
.cred { display: flex; flex-direction: column; gap: var(--s-half); padding-left: var(--s3); border-left: var(--rule) solid var(--accent); }
.cred dt { font-size: var(--fs-small); color: var(--text-muted); }
.cred dd { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--primary); }

/* CTA strip */
.cta-strip { padding: var(--s6) 0; }
.cta-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4) var(--s5);
  padding: var(--s5);
  border-radius: var(--radius);
  color: var(--text-light);
  background:
    radial-gradient(circle at 95% 0%, var(--glow) 0, transparent 40%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}
.cta-inner h2 { color: var(--text-light); font-size: var(--fs-h2-sm); margin-bottom: var(--s1); }
.cta-inner p { color: var(--text-light-muted); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* About: company details */
.prose-block p { color: var(--text-dark); }
.detail-list { margin: 0; background: var(--surface); border: var(--hair) solid var(--border); border-radius: var(--radius); overflow: hidden; }
.detail-row { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: var(--hair) solid var(--border); }
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { font-size: var(--fs-small); color: var(--text-muted); }
.detail-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Services page */
.service-list { display: grid; gap: var(--s5); }
.service-row {
  display: grid;
  grid-template-columns: var(--tile) 1.2fr 1fr;
  gap: var(--s4) var(--s5);
  padding-bottom: var(--s5);
  border-bottom: var(--hair) solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + var(--s4));
}
.service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.service-row h2 { font-size: var(--fs-h2-sm); }
.service-row p { color: var(--text-muted); margin: 0; }
.aside-title { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; color: var(--text-dark); margin-bottom: var(--s2); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.checklist li { position: relative; padding-left: var(--s4); font-size: var(--fs-ui); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: var(--s1);
  height: var(--s1);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 var(--s-half) var(--glow-soft);
}
.legal-note {
  padding: var(--s4);
  background: var(--tint);
  border-radius: var(--radius);
  border-left: var(--rule) solid var(--primary);
}
.legal-note h3 { margin-bottom: var(--s1); }
.legal-note p { margin: 0; font-size: var(--fs-ui); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s5); align-items: start; }
.contact-card {
  padding: var(--s5);
  border-radius: var(--radius);
  color: var(--text-light);
  background:
    radial-gradient(circle at 100% 0%, var(--glow) 0, transparent 45%),
    var(--primary);
}
.contact-card h2 { color: var(--text-light); font-size: var(--fs-h2-sm); }
.contact-card p { color: var(--text-light-muted); }
.contact-email {
  display: inline-block;
  margin-bottom: var(--s4);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--accent);
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--accent-strong); }
.contact-meta { margin: 0; display: grid; gap: var(--s2); padding-top: var(--s4); border-top: var(--hair) solid var(--line-dark); }
.contact-meta div { display: grid; grid-template-columns: 6rem 1fr; gap: var(--s2); font-size: var(--fs-small); }
.contact-meta dt { color: var(--text-light-muted); }
.contact-meta dd { margin: 0; color: var(--text-light); overflow-wrap: anywhere; }

.form { padding: var(--s5); background: var(--surface); border: var(--hair) solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form h2 { font-size: var(--fs-h2-sm); margin-bottom: var(--s1); }
.form-note { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--s4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: flex; flex-direction: column; gap: var(--s-half); margin-bottom: var(--s3); min-width: 0; }
.field label { font-size: var(--fs-ui); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: var(--s2) var(--s3);
  font: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg);
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 var(--ring) var(--tint); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--ring) solid var(--accent-ink); outline-offset: var(--hair); }
.field textarea { min-height: 9rem; resize: vertical; }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: var(--toc-w) 1fr; gap: var(--s6); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + var(--s4)); padding-left: var(--s3); border-left: var(--rule) solid var(--border); font-size: var(--fs-small); }
.toc-title { font-weight: 700; margin-bottom: var(--s1); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.prose { min-width: 0; }
.prose h2 { font-size: var(--fs-h2-sm); margin-top: var(--s5); scroll-margin-top: calc(var(--nav-h) + var(--s4)); }
.prose h2:first-of-type { margin-top: 0; }
.prose ul { padding-left: var(--s4); margin: 0 0 var(--s3); }
.prose li { margin-bottom: var(--s1); }
.updated { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--s5); }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: var(--text-light-muted); border-top: var(--hair) solid var(--line-dark); font-size: var(--fs-ui); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--s5); padding-top: var(--s6); padding-bottom: var(--s5); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer .brand, .footer .brand:hover { color: var(--text-light); margin-bottom: var(--s3); }
.footer .brand-name span { color: var(--text-light-muted); }
.footer p { max-width: 40ch; }
.footer-reg { font-size: var(--fs-small); line-height: 1.7; }
.footer-title { font-family: var(--font-body); font-size: var(--fs-ui); font-weight: 700; letter-spacing: 0; color: var(--text-light); margin-bottom: var(--s3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.footer a { color: var(--text-light); text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { background: var(--footer-bar); border-top: var(--hair) solid var(--line-dark); font-size: var(--fs-small); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); padding-top: var(--s3); padding-bottom: var(--s3); }
.footer-bottom-inner p { margin: 0; max-width: none; }
.footer .footer-legal { display: flex; gap: var(--s4); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { gap: var(--s3); }
  .hero-inner { gap: var(--s5); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: var(--tile) 1fr; }
  .service-row > :last-child { grid-column: 2; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-half);
    width: var(--toggle);
    height: var(--toggle);
    padding: 0;
    background: var(--surface);
    border: var(--hair) solid var(--border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
  }
  .nav-toggle-bar { width: 1.25rem; height: var(--rule); border-radius: var(--rule); background: var(--text-dark); transition: transform var(--ease), opacity var(--ease); }
  .nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(calc(var(--s-half) + var(--rule))) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(calc(-1 * (var(--s-half) + var(--rule)))) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--surface);
    border-bottom: var(--hair) solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .navbar.nav-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: var(--s2) 0; border-bottom: var(--hair) solid var(--surface-2); }
  .nav-links a:not(.btn)::after { right: auto; width: var(--s5); bottom: var(--s-half); }
  .nav-cta { width: 100%; margin-top: var(--s3); }

  .hero { min-height: 0; padding: var(--s6) 0 calc(var(--s6) + var(--s4)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s4)), 0 100%); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .page-hero { padding: var(--s5) 0 calc(var(--s5) + var(--s4)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s3)), 0 100%); }

  .section, .band-dark { padding: var(--s6) 0; }
  .values-grid, .split, .contact-grid, .legal-layout { grid-template-columns: 1fr; }
  .split, .legal-layout { gap: var(--s5); }
  .creds-list { grid-template-columns: 1fr 1fr; }
  .postcard { grid-template-columns: 1fr; transform: none; }
  .postcard-side { padding-left: 0; padding-top: var(--s3); border-left: 0; border-top: var(--hair) dashed var(--border-strong); }
  .postcard-scene { min-height: 9rem; }
  .form-row { grid-template-columns: 1fr; }
  .form, .contact-card { padding: var(--s4); }
  .cta-inner { padding: var(--s4); }
  .toc { position: static; }
  .detail-row { grid-template-columns: 1fr; gap: var(--s-half); }
  .service-row { grid-template-columns: 1fr; }
  .service-row > :last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); padding-top: var(--s5); }
}

@media (max-width: 420px) {
  .creds-list { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

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