/* Self-hosted OFL fonts from @fontsource/manrope 5.3.0 and
   @fontsource-variable/source-serif-4 5.3.0. Same families and weights
   as the previous Google Fonts CSS: Manrope 400/500/600/700 and
   Source Serif 4 variable opsz 8-60 + weight. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/manrope-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/manrope-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/manrope-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/manrope-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source-serif-4-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source-serif-4-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0f0f12;
  --bg-2: #16161b;
  --panel: #191920;
  --panel-2: #21222b;
  --ink: #f4f2ec;
  --ink-soft: #d8d6ce;
  --muted: #9a988f;
  --line: #292a31;
  --line-2: #3a3b45;
  --cream: #f4f0e6;
  --cream-2: #fffaf0;
  --cream-ink: #17160f;
  --amber: #e8c15a;
  --amber-2: #f4d888;
  --amber-3: #c69a38;
  --terra: #e88f6b;
  --focus: #f4d888;
  --error: #f6a99a;
  --error-bg: #3a1c1c;
  --field-bg: #101013;
  --field-border: #40414b;
  --space: clamp(1.1rem, 4vw, 2.25rem);
  --rail: min(75rem, calc(100% - (2 * var(--space))));
  --rail-narrow: 52rem;
  --tap: 2.75rem;
  --radius: 1rem;
  --radius-lg: 1.6rem;
  --header-h: 4.5rem;
  --shadow: 0 1.75rem 4rem rgba(0, 0, 0, 0.5);
  --shadow-warm: 0 1.5rem 3rem rgba(232, 193, 90, 0.16);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Source Serif 4", Georgia, "Iowan Old Style", serif;
}

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

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

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.03125rem;
  line-height: 1.7;
  letter-spacing: 0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 42rem at 82% -8%, rgba(232, 193, 90, 0.18), transparent 60%),
    radial-gradient(48rem 34rem at 4% 6%, rgba(232, 143, 107, 0.12), transparent 58%),
    radial-gradient(72rem 60rem at 50% 118%, rgba(232, 193, 90, 0.08), transparent 62%),
    linear-gradient(180deg, #131318 0%, #0f0f12 44%, #0b0b0e 100%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--amber-2);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: rgba(232, 193, 90, 0.28);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 30;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  background: var(--amber);
  color: var(--cream-ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.9), rgba(15, 15, 18, 0.62));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent) 1;
}

.header-inner {
  width: var(--rail);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: block;
  line-height: 0;
  max-width: min(13.5rem, 62vw);
  flex: 0 1 auto;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand img,
.brand-footer img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 2.4rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 0.65rem;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--amber-3);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -0.35rem;
}

.nav-toggle-bars::after {
  top: 0.35rem;
}

.nav-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1.1rem var(--space) 1.5rem;
  background: rgba(13, 13, 16, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-panel {
  display: flex;
}

nav[aria-label="Primary"] {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

nav[aria-label="Primary"] a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.25rem 0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}

nav[aria-label="Primary"] a[aria-current="page"],
nav[aria-label="Primary"] a:hover {
  color: var(--amber-2);
}

/* Buttons */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber-2), var(--amber) 55%, var(--amber-3));
  color: var(--cream-ink);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  min-height: var(--tap);
  box-shadow: 0 0.85rem 2rem rgba(232, 193, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover {
  color: var(--cream-ink);
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 1.2rem 2.6rem rgba(232, 193, 90, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.button:active {
  transform: translateY(0);
}

.button-secondary {
  background: rgba(245, 237, 224, 0.03);
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(245, 237, 224, 0.07);
  color: var(--ink);
  border-color: var(--amber-3);
  filter: none;
}

.button-header {
  width: 100%;
}

/* Layout rails */
.hero,
.section,
.cta-band,
.page {
  width: var(--rail);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding: 2.5rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-2);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

h1,
h2,
h3 {
  margin: 0 0 0.95rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

h1,
h2 {
  font-family: var(--display);
  background: linear-gradient(180deg, #fffaf0 0%, #e6ddca 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.6rem);
  max-width: 15ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.7rem);
  max-width: 20ch;
}

h3 {
  font-size: 1.2rem;
  color: var(--ink);
}

.lede,
.lede-secondary,
.section-intro p,
.experience-copy p,
.cta-band p {
  color: var(--ink-soft);
}

.page p {
  color: var(--ink-soft);
}

.lede {
  margin: 0 0 1.15rem;
  font-size: clamp(1.06rem, 0.98rem + 0.45vw, 1.28rem);
  max-width: 42rem;
  color: var(--ink-soft);
}

.lede-secondary {
  margin: 0 0 1.7rem;
  max-width: 38rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.7rem;
}

.trust-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0.5rem rgba(232, 193, 90, 0.6);
}

/* Hero visual: the logo only, sitting on the page */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 128%;
  height: 128%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 193, 90, 0.2), rgba(232, 143, 107, 0.1) 42%, transparent 68%);
  filter: blur(8px);
  z-index: -1;
}

.hero-mark {
  width: min(11rem, 42vw);
  height: auto;
  filter: drop-shadow(0 1rem 2.5rem rgba(0, 0, 0, 0.5));
}

.hero-visual-label {
  display: none;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  position: relative;
}

.section + .section,
.experience {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent) 1;
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  position: relative;
  padding: 1.6rem 1.4rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.4rem;
  right: 1.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--terra));
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-3);
  box-shadow: var(--shadow), var(--shadow-warm);
}

.card:hover::before {
  opacity: 1;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card-index {
  display: block;
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--amber-2);
}

/* Experience / stats */
.experience {
  display: grid;
  gap: 2rem;
  padding: 3.5rem 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.stat-grid div {
  padding: 1.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  text-align: center;
}

.stat-grid dt {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-grid dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--amber-2);
}

/* CTA band */
.cta-band {
  display: grid;
  gap: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  padding: 2.25rem 1.7rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(40rem 24rem at 88% 8%, rgba(232, 193, 90, 0.2), transparent 60%),
    radial-gradient(32rem 20rem at 6% 100%, rgba(232, 143, 107, 0.16), transparent 60%),
    linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: none;
  margin-bottom: 0.6rem;
}

.cta-band p {
  margin: 0;
}

.cta-band .button {
  width: 100%;
}

/* What happens next */
.next-steps {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.next-steps li {
  position: relative;
  padding-left: 3rem;
  min-height: 2rem;
  color: var(--ink-soft);
}

.next-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--amber-3);
  background: rgba(232, 193, 90, 0.1);
  color: var(--amber-2);
  font-family: var(--display);
  font-weight: 600;
}

.next-steps strong {
  color: var(--ink);
  font-weight: 600;
}

/* Interior pages */
.page {
  padding: 2.75rem 0 3.5rem;
}

.page h1 {
  max-width: 18ch;
}

.page-narrow {
  max-width: var(--rail-narrow);
}

.page-legal {
  max-width: 56rem;
}

.page-legal h1,
.page-legal h2,
.page-legal h3 {
  max-width: none;
}

.page-legal h2,
.page-legal h3 {
  margin-top: 2rem;
}

.page-legal h3 {
  color: var(--ink);
}

.page-legal p {
  margin: 0 0 1rem;
}

/* Contact form */
.form-layout {
  display: grid;
  gap: 1.85rem;
}

.contact-form,
.form-result {
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-note,
.notices,
.optional,
.hint,
.disclaimer,
.copyright,
.footer-links,
.policy-updated {
  color: var(--muted);
}

.form-note {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}

.notices {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

.notices p {
  margin: 0 0 0.85rem;
}

.policy-updated {
  margin: 0 0 1.25rem;
}

.policy-list {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.policy-list li {
  margin-bottom: 0.4rem;
}

.field-grid {
  display: grid;
  gap: 0 1rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-height: var(--tap);
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--field-border);
  border-radius: 0.65rem;
  background: var(--field-bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 193, 90, 0.22);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) calc(50% - 0.15rem),
    calc(100% - 0.75rem) calc(50% - 0.15rem);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

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

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: var(--error);
}

.hint {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  background: var(--error-bg);
  color: var(--error);
  font-size: 0.95rem;
  border: 1px solid rgba(246, 169, 154, 0.3);
  border-radius: 0.65rem;
}

.form-result h2 {
  color: var(--ink);
}

.form-result[hidden],
.form-error[hidden],
.contact-form[hidden] {
  display: none;
}

.form-result:focus {
  outline: none;
}

.form-result:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 3rem var(--space) 1.85rem;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent) 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
}

.footer-grid,
.copyright {
  width: var(--rail);
  margin-left: auto;
  margin-right: auto;
}

.footer-grid {
  display: grid;
  gap: 1.85rem;
  margin-bottom: 1.6rem;
}

.brand-footer {
  margin-bottom: 1rem;
  max-width: 13rem;
}

.entity {
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: var(--ink);
}

.disclaimer {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-heading {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.95rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--amber-2);
}

.copyright {
  margin: 0 auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (min-width: 560px) {
  .hero-mark {
    width: min(13rem, 34vw);
  }
}

@media (min-width: 640px) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .actions .button,
  .cta-band .button,
  .page .actions .button {
    width: auto;
    min-width: 12rem;
  }

  .trust-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.6rem;
  }

  .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field-span {
    grid-column: 1 / -1;
  }
}

@media (min-width: 880px) {
  .brand,
  .brand-footer {
    max-width: none;
  }

  .brand img,
  .brand-footer img {
    height: 2.9rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.9fr);
    align-items: center;
    padding: 5rem 0 4.5rem;
    gap: 3.5rem;
  }

  .hero-visual {
    padding: 0;
  }

  .hero-mark {
    width: min(22rem, 28vw);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 3.5rem;
  }

  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.75rem 2.75rem;
  }

  .cta-band .button {
    width: auto;
    min-width: 13rem;
  }

  .form-layout {
    grid-template-columns: minmax(15rem, 0.82fr) minmax(0, 1.18fr);
    gap: 2.9rem;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }

  .section {
    padding: 4.75rem 0;
  }

  .experience {
    padding: 4.75rem 0;
  }

  .page {
    padding: 3.75rem 0 4.5rem;
  }

  .contact-form,
  .form-result {
    padding: 1.85rem;
  }
}

@media (min-width: 1040px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel,
  body.nav-open .nav-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    gap: 1.35rem;
  }

  nav[aria-label="Primary"] {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }

  nav[aria-label="Primary"] a {
    min-height: 2.5rem;
    font-size: 0.92rem;
  }

  nav[aria-label="Primary"] a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.35rem;
    height: 1px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
  }

  nav[aria-label="Primary"] a[aria-current="page"]::after,
  nav[aria-label="Primary"] a:hover::after {
    transform: scaleX(1);
  }

  .button-header {
    width: auto;
    min-width: 0;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

@media (min-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card-grid .card:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .card-grid .card:nth-child(n + 4) {
    grid-column: span 3;
  }

  .card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-two .card {
    grid-column: auto;
  }
}
