/* AUZ Gallery Pty Ltd — gallery-wall direction: cool white walls, aubergine, viridian, sharp frames */

:root {
  /* Colour */
  --primary: #3A2433;
  --primary-deep: #26161F;
  --primary-tint: #F1EAEE;
  --accent: #1F6B5C;
  --accent-hover: #17574A;
  --accent-light: #8FD6C3;
  --accent-tint: #E3F0EC;
  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --wall-2: #EBEBE6;
  --floor: #DEDCD5;
  --border: #D9D9D2;
  --stone: #8A8A84;
  --text-light: #55554F;
  --text-dark: #1D1B21;
  --on-dark: #F1ECEF;
  --on-dark-muted: #CDBFC8;
  --footer-bar: #1B0F16;
  --line-dark: rgba(241, 236, 239, 0.14);
  --grid-line: rgba(29, 27, 33, 0.035);
  --spot: rgba(255, 255, 255, 0.95);
  --band-glow: rgba(143, 214, 195, 0.12);
  --nav-bg: rgba(245, 245, 242, 0.82);

  /* Artwork pigments (hero illustration only) */
  --frame: #2B2328;
  --mat: #FBFBF8;
  --pig-ochre: #C98B2B;
  --pig-indigo: #2E3A6E;
  --pig-rose: #C77A86;
  --pig-euc: #6F8F78;
  --pig-sand: #E4D3B4;

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --text-hero: clamp(2.25rem, 5vw, 4rem);
  --text-page: clamp(2rem, 4vw, 3rem);
  --text-h2: clamp(1.6rem, 3vw, 2.4rem);
  --text-h3: 1.25rem;
  --text-lead: clamp(1.075rem, 1.4vw, 1.2rem);
  --text-body: 1.0625rem;
  --text-small: 0.875rem;
  --text-tiny: 0.75rem;
  --text-eyebrow: 0.78rem;
  --measure: 66ch;

  /* Spacing */
  --s0: 0.25rem;
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4.5rem;
  --s7: 6rem;

  /* Layout */
  --container: 1140px;
  --gutter: 1.375rem;
  --nav-h: 4.25rem;
  --mark: 2.25rem;
  --toc-w: 14rem;
  --tile: 2.75rem;

  /* Shape */
  --radius: 2px;
  --hair: 1px;
  --rule: 2px;
  --frame-w: 8px;
  --mat-w: 10px;
  --btn-pad: 0.8rem 1.6rem;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(29, 27, 33, 0.06);
  --shadow-md: 0 1px 2px rgba(29, 27, 33, 0.04), 0 8px 24px rgba(29, 27, 33, 0.07);
  --shadow-art: 0 2px 3px rgba(29, 27, 33, 0.18), 0 18px 30px -12px rgba(29, 27, 33, 0.38);

  /* Motion */
  --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(--text-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;
  color: var(--text-dark);
  margin: 0;
}

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

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: var(--rule) solid var(--accent); outline-offset: 3px; }

ul, ol { margin: 0; }

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

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

.eyebrow {
  display: block;
  margin: 0 0 var(--s2);
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--text-light);
  max-width: 54ch;
}

/* ---------- 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(--s3);
  min-height: var(--nav-h);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: var(--mark);
  height: var(--mark);
  background: var(--primary);
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.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);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--s0);
  height: var(--rule);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a.active { font-weight: 600; }

.nav-cta { padding: var(--s1) var(--s3); font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--s0);
  width: var(--tile);
  height: var(--tile);
  padding: 0 var(--s1);
  background: transparent;
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: var(--rule);
  background: var(--text-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: var(--btn-pad);
  font: 600 0.975rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  border: var(--rule) solid transparent;
  border-radius: var(--radius);
  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); box-shadow: var(--shadow-md); }

.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: var(--accent-hover); color: var(--surface); }

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

.btn-outline-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn-outline-light:hover { background: var(--on-dark); color: var(--primary-deep); }

/* ---------- Hero (gallery wall) ---------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 70% at 74% 0%, var(--spot), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 calc(var(--s7) * 2 - 1px), var(--grid-line) calc(var(--s7) * 2 - 1px) calc(var(--s7) * 2)),
    linear-gradient(180deg, var(--bg), var(--wall-2));
}

.hero { padding: var(--s7) 0 calc(var(--s7) + var(--s3)); }

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--s3);
  background: linear-gradient(180deg, var(--border), var(--floor) var(--s0), var(--floor));
}

.page-hero { padding: var(--s6) 0 calc(var(--s6) + var(--s3)); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s6);
  align-items: center;
  min-height: 52vh;
}

.hero-copy { position: relative; z-index: 1; min-width: 0; }

.hero-title {
  font-size: var(--text-hero);
  line-height: 1.05;
  margin-bottom: var(--s3);
  max-width: 15ch;
}

.page-title {
  font-size: var(--text-page);
  margin-bottom: var(--s2);
  max-width: 22ch;
}

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

/* The hang: rail, cords, frames, wall label */
.hang {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 5;
  overflow: hidden;
}

.hang::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--s0);
  background: var(--frame);
  z-index: 2;
}

.frame {
  position: absolute;
  background: var(--mat);
  border: var(--frame-w) solid var(--frame);
  padding: var(--mat-w);
  box-shadow: var(--shadow-art);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  bottom: 100%;
  height: 100vh;
  border-left: var(--hair) solid var(--stone);
}
.frame::before { left: 18%; }
.frame::after { right: 18%; }

.frame-a { left: 4%; top: 15%; width: 46%; height: 58%; }
.frame-b { left: 57%; top: 11%; width: 38%; height: 31%; }
.frame-c { left: 57%; top: 52%; width: 25%; height: 35%; }

.art { width: 100%; height: 100%; }

.art-a {
  background:
    radial-gradient(circle at 34% 36%, var(--pig-indigo) 0 17%, transparent 17.5%),
    radial-gradient(circle at 68% 70%, var(--pig-rose) 0 23%, transparent 23.5%),
    linear-gradient(160deg, var(--pig-sand) 0 56%, var(--pig-ochre) 56% 100%);
}

.art-b {
  background: linear-gradient(180deg, var(--primary) 0 40%, var(--pig-rose) 40% 47%, var(--pig-ochre) 47% 100%);
}

.art-c {
  background:
    radial-gradient(circle at 50% 112%, var(--pig-indigo) 0 42%, transparent 42.5%),
    repeating-linear-gradient(135deg, var(--pig-euc) 0 var(--s0), var(--mat) var(--s0) var(--s1));
}

.wall-label {
  position: absolute;
  left: 4%;
  top: 80%;
  width: 40%;
  padding: var(--s1) var(--s2);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-tiny);
  line-height: 1.45;
  color: var(--text-light);
}

.wall-label-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-dark);
}

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

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

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

.section-title { font-size: var(--text-h2); margin-bottom: var(--s2); }

.section-intro { color: var(--text-light); }

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

/* Value props: three columns hung from a rule */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.value {
  padding-top: var(--s3);
  border-top: var(--rule) solid var(--primary);
}

.value h3 { font-size: var(--text-h3); margin-bottom: var(--s1); }
.value p { color: var(--text-light); margin: 0; }

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

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

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

.icon-tile {
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  margin-bottom: var(--s3);
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: var(--radius);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { font-size: var(--text-h3); margin-bottom: var(--s0); }

.service-medium {
  margin: 0 0 var(--s2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-light);
}

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

.service-list {
  margin: var(--s2) 0 0;
  padding-left: var(--s3);
  color: var(--text-light);
  font-size: 0.95rem;
}
.service-list li { margin-bottom: var(--s0); }

/* Dark full-bleed band */
.band-dark {
  padding: var(--s7) 0;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, var(--band-glow), transparent 60%),
    var(--primary-deep);
}

.band-dark h2,
.band-dark h3 { color: var(--on-dark); }
.band-dark p { color: var(--on-dark-muted); }
.band-dark .eyebrow { color: var(--accent-light); }
.band-dark a:not(.btn) { color: var(--accent-light); }
.band-dark :focus-visible { outline-color: var(--accent-light); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s6);
  align-items: center;
}

.split-copy { min-width: 0; }
.split-visual { min-width: 0; }

.split-reverse .split-visual { order: -1; }

.split-copy .btn { margin-top: var(--s2); }

.plan {
  padding: var(--s4);
  color: var(--accent-light);
  border: var(--hair) solid var(--line-dark);
  background:
    repeating-linear-gradient(0deg, transparent 0 calc(var(--s4) - 1px), var(--line-dark) calc(var(--s4) - 1px) var(--s4)),
    repeating-linear-gradient(90deg, transparent 0 calc(var(--s4) - 1px), var(--line-dark) calc(var(--s4) - 1px) var(--s4));
}

.plan svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.plan .plan-works { stroke-width: 5; stroke: var(--on-dark); }

.plan text {
  fill: var(--on-dark-muted);
  stroke: none;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* Specimen wall label (about page) */
.label-card {
  padding: var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 26rem;
}

.label-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  margin: 0 0 var(--s1);
  color: var(--text-dark);
}

.label-card dl { margin: var(--s3) 0 0; }

.label-card dt {
  font-size: var(--text-tiny);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.label-card dd { margin: 0 0 var(--s2); }
.label-card dd:last-child { margin-bottom: 0; }

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

.cred-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: var(--hair) solid var(--border);
  border-bottom: var(--hair) solid var(--border);
}

.cred-item {
  padding: var(--s3) var(--s3) var(--s3) 0;
}

.cred-item + .cred-item {
  padding-left: var(--s3);
  border-left: var(--hair) solid var(--border);
}

.cred-label {
  display: block;
  font-size: var(--text-small);
  color: var(--text-light);
}

.cred-value {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* Steps (a real sequence) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  list-style: none;
  padding: 0;
}

.step { border-top: var(--hair) solid var(--border); padding-top: var(--s3); }

.step-num {
  display: block;
  margin-bottom: var(--s1);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
}

.step h3 { font-size: 1.1rem; margin-bottom: var(--s1); }
.step p { color: var(--text-light); font-size: 0.975rem; margin: 0; }

.steps-dark .step { border-top-color: var(--line-dark); }
.steps-dark .step-num { color: var(--accent-light); }
.steps-dark .step p { color: var(--on-dark-muted); }

/* CTA strip */
.cta-strip {
  padding: var(--s6) 0;
  background: var(--primary-tint);
  border-top: var(--hair) solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.cta-inner h2 { font-size: var(--text-h2); margin-bottom: var(--s1); }
.cta-inner p { margin: 0; color: var(--text-light); }

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

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

.contact-card {
  padding: var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
}

.contact-card h2 { font-size: 1.5rem; margin-bottom: var(--s2); }

.contact-email {
  display: inline-block;
  margin-bottom: var(--s3);
  font-family: var(--font-display);
  font-size: 1.3rem;
  overflow-wrap: anywhere;
}

.contact-facts {
  list-style: none;
  padding: var(--s3) 0 0;
  margin: 0;
  border-top: var(--hair) solid var(--border);
  color: var(--text-light);
  font-size: 0.95rem;
}
.contact-facts li { margin-bottom: var(--s1); }
.contact-facts strong { color: var(--text-dark); }

.form { display: grid; gap: var(--s3); }

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

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

.field label { font-weight: 600; font-size: var(--text-small); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s1) var(--s2);
  font: inherit;
  color: var(--text-dark);
  background: var(--surface);
  border: var(--hair) solid var(--stone);
  border-radius: var(--radius);
  transition: border-color var(--ease), box-shadow var(--ease);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

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

/* ---------- Legal ---------- */
.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(--s3));
  font-size: var(--text-small);
}

.toc-title {
  display: block;
  margin-bottom: var(--s2);
  font-weight: 600;
  color: var(--text-dark);
}

.toc ol { list-style: none; padding: 0; border-left: var(--hair) solid var(--border); }
.toc li a {
  display: block;
  padding: var(--s0) var(--s2);
  color: var(--text-light);
  text-decoration: none;
}
.toc li a:hover { color: var(--accent); }

.prose { max-width: var(--measure); min-width: 0; }

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

.prose h3 { font-size: 1.1rem; margin: var(--s3) 0 var(--s1); }

.prose ul { padding-left: var(--s3); margin-bottom: var(--s2); }
.prose li { margin-bottom: var(--s1); }

.legal-meta {
  font-size: var(--text-small);
  color: var(--text-light);
  margin-bottom: var(--s4);
}

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

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

.footer-col { min-width: 0; }

.footer .brand { color: var(--on-dark); margin-bottom: var(--s3); }
.footer .brand:hover { color: var(--on-dark); }
.footer .brand-mark { background: var(--accent-light); color: var(--primary-deep); }

.footer-blurb { max-width: 34ch; }

.footer-reg { margin: 0; line-height: 1.7; color: var(--on-dark); font-size: var(--text-small); }

.footer-heading {
  margin: 0 0 var(--s2);
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: var(--s1); }

.footer a {
  color: var(--on-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer a:hover { color: var(--accent-light); text-decoration: underline; }
.footer :focus-visible { outline-color: var(--accent-light); }

.footer-bottom {
  background: var(--footer-bar);
  border-top: var(--hair) solid var(--line-dark);
  font-size: var(--text-small);
}

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

.footer-bottom p { margin: 0; max-width: none; }

.footer-legal { display: flex; gap: var(--s3); list-style: none; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cred-list { grid-template-columns: repeat(2, 1fr); }
  .cred-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .cred-item:nth-child(n + 3) { border-top: var(--hair) solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s1) var(--gutter) var(--s3);
    background: var(--surface);
    border-bottom: var(--hair) solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: var(--hair) solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; padding-top: var(--s2); }
  .nav-links a:not(.btn) { padding: var(--s2) 0; }
  .nav-links a:not(.btn)::after { bottom: var(--s1); right: auto; width: var(--s4); }
  .nav-cta { width: 100%; padding: var(--btn-pad); }

  .hero { padding: var(--s5) 0 calc(var(--s5) + var(--s3)); }
  .page-hero { padding: var(--s5) 0 calc(var(--s5) + var(--s3)); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s4); min-height: 0; }
  .hang { max-width: 30rem; }

  .section, .band-dark { padding: var(--s5) 0; }
  .credentials, .cta-strip { padding: var(--s5) 0; }
  .section-head { margin-bottom: var(--s4); }

  .values-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .split, .contact-grid, .legal-layout { grid-template-columns: 1fr; gap: var(--s4); }
  .split-reverse .split-visual { order: 0; }
  .toc { position: static; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .wall-label { display: none; }
  .frame { border-width: var(--s0); padding: var(--s0); }
  .steps, .cred-list, .footer-grid { grid-template-columns: 1fr; }
  .cred-item, .cred-item + .cred-item { padding-left: 0; border-left: 0; }
  .cred-item + .cred-item { border-top: var(--hair) solid var(--border); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
}

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