/* JAK Investment Group Australia Pty Ltd
   Art direction: ironbark green + burnished brass, cool stone neutrals,
   Palatino-style display serif over a system sans. Sharp shape language. */

:root {
  /* Colour */
  --primary: #1E3B36;
  --primary-soft: #2C514A;
  --primary-deep: #142925;
  --primary-tint: #E2EAE6;
  --accent: #7A5C1E;
  --accent-light: #D9B871;
  --accent-pale: #E8CF98;
  --bg: #F4F5F2;
  --surface: #FFFFFF;
  --surface-alt: #E9ECE7;
  --border: #D8DDD6;
  --border-strong: #B9C1B8;
  --text-dark: #18201E;
  --text-light: #56625D;
  --on-dark: #EEF1EE;
  --on-dark-muted: #AEBDB7;
  --footer-bar: #1B332F;
  --panel-top: rgba(238, 241, 238, 0.06);
  --panel-bottom: rgba(20, 41, 37, 0.55);
  --contour: rgba(238, 241, 238, 0.22);
  --line-on-dark: rgba(238, 241, 238, 0.06);
  --line-on-dark-strong: rgba(238, 241, 238, 0.2);
  --glow: rgba(217, 184, 113, 0.2);
  --nav-bg: rgba(244, 245, 242, 0.84);
  --focus-halo: rgba(30, 59, 54, 0.16);

  /* Type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, 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.25rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.15rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;
  --measure: 66ch;

  /* Spacing */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;
  --gutter: 1.25rem;
  --container: 1140px;

  /* Shape, size, depth, motion */
  --radius: 2px;
  --nav-h: 4.25rem;
  --mark: 2.4rem;
  --tile: 2.75rem;
  --icon: 1.5rem;
  --grid: 3rem;
  --cut: 4rem;
  --cut-sm: 2rem;
  --visual-w: 25rem;
  --btn-py: 0.8rem;
  --btn-px: 1.6rem;
  --bar-gap: 0.3rem;
  --shadow-sm: 0 1px 2px rgba(24, 32, 30, 0.04), 0 8px 24px rgba(24, 32, 30, 0.06);
  --shadow-md: 0 2px 4px rgba(24, 32, 30, 0.06), 0 12px 28px rgba(24, 32, 30, 0.12);
  --shadow-dark: 0 24px 60px rgba(8, 18, 16, 0.45);
  --t: 180ms ease;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s3);
}
p { margin: 0 0 var(--s3); }
a { color: var(--primary); }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.is-dark :focus-visible, .footer :focus-visible { outline-color: var(--accent-light); }

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

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

/* Header and navigation */
.site-header {
  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: 1px solid var(--border);
}
.navbar {
  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 {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--mark);
  height: var(--mark);
  background: var(--primary);
  color: var(--accent-light);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding-block: var(--s1);
  color: var(--text-dark);
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { font-weight: 600; }
.nav-cta { margin-left: var(--s1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--bar-gap);
  width: var(--tile);
  height: var(--tile);
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text-dark);
  transition: transform var(--t), opacity var(--t);
}
.navbar.open .nav-toggle-bar:nth-child(1) { transform: translateY(calc(2px + var(--bar-gap))) rotate(45deg); }
.navbar.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.navbar.open .nav-toggle-bar:nth-child(3) { transform: translateY(calc(-2px - var(--bar-gap))) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: var(--btn-py) var(--btn-px);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background-color var(--t), color var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--on-dark); }
.btn-primary:hover { background: var(--primary-soft); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-tint); }
.btn-sm { padding: var(--s1) var(--s3); font-size: 0.9rem; }
.is-dark .btn-primary { background: var(--accent-light); color: var(--primary-deep); }
.is-dark .btn-primary:hover { background: var(--accent-pale); box-shadow: var(--shadow-dark); }
.is-dark .btn-outline { color: var(--on-dark); border-color: var(--line-on-dark-strong); }
.is-dark .btn-outline:hover { border-color: var(--on-dark); background: var(--line-on-dark); }

/* Shared dark surface: survey grid + brass glow over ironbark green */
.hero-surface {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 60% 70% at 88% 8%, var(--glow), transparent 62%),
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
  background-size: auto, var(--grid) var(--grid), var(--grid) var(--grid), auto;
}
.eyebrow {
  display: block;
  margin-bottom: var(--s2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.is-dark .eyebrow { color: var(--accent-light); }

/* Home hero */
.hero {
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding-block: var(--s7) calc(var(--s7) + var(--cut));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s6);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-title {
  max-width: 18ch;
  margin-bottom: var(--s4);
  font-size: var(--fs-hero);
  line-height: 1.06;
  color: var(--on-dark);
}
.hero-lead {
  max-width: 52ch;
  margin-bottom: var(--s5);
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: var(--visual-w);
  aspect-ratio: 4 / 4.6;
}
.panel-back {
  position: absolute;
  inset: 0;
  transform: translate(var(--s4), var(--s4));
  border: 1px solid var(--line-on-dark-strong);
  border-radius: var(--radius);
}
.monogram-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: var(--s5);
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  border: 1px solid var(--line-on-dark-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
}
.contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--contour);
}
.contours .river { stroke: var(--accent-light); }
.monogram {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--on-dark);
}
.monogram-caption {
  position: relative;
  margin-top: var(--s1);
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
}
.monogram-meta {
  position: relative;
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid var(--line-on-dark-strong);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* Inner page hero */
.page-hero {
  padding-block: var(--s6) calc(var(--s6) + var(--cut-sm));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-sm)), 0 100%);
}
.page-title {
  max-width: 22ch;
  margin-bottom: var(--s3);
  font-size: var(--fs-page);
  color: var(--on-dark);
}
.page-lead {
  max-width: 60ch;
  margin: 0;
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}

/* Sections */
.section { padding-block: var(--s7); }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: var(--measure); margin-bottom: var(--s5); }
.section-title { font-size: var(--fs-h2); }
.lead { max-width: var(--measure); font-size: var(--fs-lead); color: var(--text-light); }
.section-head .lead { margin: 0; }
.section-foot { margin: var(--s5) 0 0; }
.text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color var(--t);
}
.text-link:hover { color: var(--accent); }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--s5); font-size: 1.5rem; scroll-margin-top: calc(var(--nav-h) + var(--s4)); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s4); font-size: var(--fs-h3); }
.prose ul { margin: 0 0 var(--s3); padding-left: var(--s4); }
.prose li { margin-bottom: var(--s1); }

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}
.principle { padding-top: var(--s4); border-top: 2px solid var(--primary); }
.principle-title { margin-bottom: var(--s2); font-size: var(--fs-h3); }
.principle p { margin: 0; color: var(--text-light); }

/* Services */
.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(--s2);
  padding: var(--s5) var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section-alt .service-card { background: var(--bg); }
.icon-tile {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--tile);
  height: var(--tile);
  margin-bottom: var(--s1);
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: var(--radius);
}
.icon-tile svg { width: var(--icon); height: var(--icon); }
.card-title { margin: 0; font-size: var(--fs-h3); }
.service-card p { margin: 0; font-size: 0.98rem; color: var(--text-light); }

.service-rows { border-bottom: 1px solid var(--border-strong); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s5);
  padding-block: var(--s5);
  border-top: 1px solid var(--border-strong);
}
.service-row-head { display: flex; align-items: flex-start; gap: var(--s3); }
.service-row-head h2 { margin: 0; font-size: 1.6rem; }
.service-row-body { max-width: var(--measure); }
.service-row-body ul { margin: 0; padding-left: var(--s4); color: var(--text-light); }
.service-row-body li { margin-bottom: var(--s1); }

/* Two-column band */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s6);
  align-items: center;
}
.split-copy { min-width: 0; }
.split-copy p { color: var(--text-dark); }
.split-visual {
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.split-caption { margin: var(--s3) 0 0; font-size: var(--fs-small); color: var(--text-light); }
.structure-diagram { width: 100%; height: auto; }
.sd-box { fill: var(--surface); stroke: var(--primary); stroke-width: 1.25; }
.sd-box-main { fill: var(--primary); stroke: var(--primary); }
.sd-line { fill: none; stroke: var(--accent); stroke-width: 1.25; }
.sd-text { font-family: var(--font-body); font-size: 13px; fill: var(--text-dark); text-anchor: middle; }
.sd-text-main { font-family: var(--font-display); font-size: 16px; fill: var(--on-dark); text-anchor: middle; }

/* Company details */
.detail-card {
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
}
.detail-card h2 { font-size: var(--fs-h3); }
.detail-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s2) var(--s4);
  margin: 0;
}
.detail-list dt { font-size: var(--fs-small); color: var(--text-light); }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }

/* Credentials strip */
.credentials { padding-block: var(--s6); background: var(--surface-alt); }
.credentials-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
}
.credential { padding-top: var(--s3); border-top: 1px solid var(--border-strong); }
.credential dt {
  margin-bottom: var(--s1);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.credential dd { margin: 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--text-dark); }

/* Notice */
.notice {
  max-width: var(--measure);
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.97rem;
}
.notice-title { margin-bottom: var(--s1); font-size: var(--fs-h3); }
.notice p:last-child { margin: 0; }

/* CTA band */
.cta-band { padding-block: var(--s6); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s5);
}
.cta-title { margin-bottom: var(--s2); font-size: var(--fs-h2); color: var(--on-dark); max-width: 24ch; }
.cta-text { max-width: 52ch; margin: 0; color: var(--on-dark-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s6);
  align-items: start;
}
.contact-card {
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
}
.contact-card h2 { font-size: var(--fs-h3); }
.contact-email {
  display: inline-block;
  margin-bottom: var(--s3);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--primary);
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}
.contact-email:hover { color: var(--accent); }
.contact-card p { color: var(--text-light); }
.contact-list { margin: 0 0 var(--s4); padding-left: var(--s4); color: var(--text-light); }
.contact-list li { margin-bottom: var(--s1); }

.form {
  display: grid;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.form-field { display: grid; gap: var(--s1); }
.form-label { font-size: 0.92rem; font-weight: 600; }
.form-input {
  width: 100%;
  padding: var(--s2) var(--s3);
  font: inherit;
  color: var(--text-dark);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-halo); }
.form-textarea { min-height: 9rem; resize: vertical; }
.form-note { margin: 0; font-size: var(--fs-small); color: var(--text-light); }

/* Legal pages */
.legal {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: var(--s6);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
  padding-left: var(--s4);
  border-left: 1px solid var(--border-strong);
}
.legal-toc-title {
  margin-bottom: var(--s2);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); font-size: var(--fs-small); }
.legal-toc a { color: var(--text-light); text-decoration: none; }
.legal-toc a:hover { color: var(--primary); text-decoration: underline; }
.legal-body { min-width: 0; }
.legal-updated { font-size: var(--fs-small); color: var(--text-light); }

/* Footer */
.footer {
  padding-top: var(--s6);
  font-size: 0.95rem;
  color: var(--on-dark-muted);
  background: var(--primary-deep);
  border-top: 1px solid var(--line-on-dark-strong);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--s5);
  padding-bottom: var(--s6);
}
.footer-about { min-width: 0; }
.footer .brand { color: var(--on-dark); }
.footer .brand-mark { background: var(--accent-light); color: var(--primary-deep); }
.footer .brand-sub { color: var(--on-dark-muted); }
.footer-blurb { max-width: 38ch; margin: var(--s3) 0; }
.footer-reg { margin: 0; font-size: var(--fs-small); }
.footer-heading {
  margin-bottom: var(--s3);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); overflow-wrap: anywhere; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer-list a:hover, .footer-legal-links a:hover { color: var(--accent-light); text-decoration: underline; }
.footer-email { overflow-wrap: anywhere; }
.footer-bottom { background: var(--footer-bar); border-top: 1px solid var(--line-on-dark-strong); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
  padding-block: var(--s4);
  font-size: var(--fs-small);
}
.footer-bottom-inner p { margin: 0; }
.footer-legal-links { display: flex; gap: var(--s4); }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: var(--s5); }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .navbar.open .nav-links { display: flex; }
  .nav-link { display: block; padding-block: var(--s2); border-bottom: 1px solid var(--border); }
  .nav-link::after { right: auto; width: 2rem; }
  .nav-cta { margin: var(--s3) 0 0; width: 100%; }

  .section { padding-block: var(--s6); }
  .hero { min-height: 0; padding-block: var(--s6) calc(var(--s6) + var(--cut-sm)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-sm)), 0 100%); }
  .page-hero { padding-block: var(--s5) calc(var(--s5) + var(--cut-sm)); }
  .hero-grid, .split, .contact-grid, .legal, .service-row { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { display: none; }
  .split { gap: var(--s5); }
  .principles { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .credentials-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row { gap: var(--s3); }
  .legal { gap: var(--s5); }
  .legal-toc { position: static; }
  .form, .contact-card, .detail-card, .split-visual { padding: var(--s4); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .credentials-list { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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