/* ==========================================================================
   Impactis Consulting — public site

   Built from the client's page templates: their palette (navy, blue, teal,
   gold), Inter, and their rhythm of white, soft and navy bands. Two shades
   are added for text only — the template's teal and gold fall below 4.5:1 on
   white at body sizes, so small text uses --teal-ink and --gold-ink instead.

   One bold element: the Strategy2Results® dial in the hero (partials/dial).
   Everything else stays quiet.
   ========================================================================== */

:root {
  --navy: #071f3a;
  --navy-deep: #06192e;
  --blue: #123e66;
  --teal: #1a8f8a;
  --teal-ink: #12726e;
  --teal-pale: #b9d9d6;
  --teal-bright: #6cc7c1;
  --gold: #c99a2e;
  --gold-hover: #d9ac45;
  --gold-ink: #8a6918;
  --ink: #102033;
  --text: #33465a;
  --muted: #5d6b7c;
  --line: #d9e2ea;
  --line-strong: #b9c7d4;
  --soft: #f4f8fb;
  --white: #fff;
  --on-navy: #d7e2eb;
  --on-navy-muted: #9fb0c2;
  --error: #b42318;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 8px;
  --radius-sm: 4px;
  --wrap: 1120px;
  --gutter: 24px;
  --header-h: 76px;
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 66px; }
}

/* Base ---------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Header and navigation ------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(7, 31, 58, .5); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { flex: none; }
.brand img { height: 46px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: .9375rem;
  font-weight: 500;
  color: #304050;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav__link:hover { color: var(--navy); background: var(--soft); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
}

.nav__toggle,
.nav__scrim { display: none; }

@media (max-width: 960px) {
  .brand img { height: 40px; }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font: inherit;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
  }

  .nav__toggle-bars { display: grid; gap: 4px; width: 18px; }
  .nav__toggle-bars span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-is-open .nav__toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-is-open .nav__toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-is-open .nav__toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .nav-is-open .nav__menu { display: flex; }

  .nav__links { flex-direction: column; gap: 0; }
  .nav__link {
    padding: 14px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link:hover { background: none; }
  .nav__link.is-active { color: var(--teal-ink); }
  .nav__link.is-active::after { display: none; }

  .nav__cta { align-self: flex-start; }

  .nav-is-open .nav__scrim {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: -1;
    background: rgba(7, 31, 58, .45);
  }
}

/* Buttons ------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  font: inherit;
  font-size: .96875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); }

.btn--sm { min-height: 40px; padding: 9px 16px; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }

/* Hero ---------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 104px) 0 clamp(64px, 8vw, 96px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

/* A blueprint grid, fading in towards the right where the dial sits — the
   drawing board the Strategy Architecture is worked out on. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  pointer-events: none;
}

.hero__inner { position: relative; }

.hero--split .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-pale);
}

.hero__title {
  max-width: 22ch;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.022em;
  color: var(--white);
}
.hero--split .hero__title { font-size: clamp(2.5rem, 4.4vw, 3.5rem); }

.lead {
  max-width: 44rem;
  margin: 22px 0 0;
  font-size: clamp(1.125rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  color: #e7eef4;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero--compact { padding: clamp(48px, 7vw, 72px) 0 clamp(44px, 6vw, 64px); }
.hero--compact .hero__title { font-size: clamp(2.25rem, 4.4vw, 3.25rem); }

@media (max-width: 960px) {
  .hero--split .hero__inner { grid-template-columns: minmax(0, 1fr); }
}

/* Photographs -------------------------------------------------------------------
   People doing the work each section describes. The files are cropped to their
   slot (see README › Photography); aspect-ratio only re-crops them for narrow
   screens. */

.photo { margin: 0; }
.photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--line);
  border-radius: var(--radius);
}
.photo figcaption {
  margin-top: 10px;
  font-size: .875rem;
  color: var(--muted);
}

/* In a navy hero the photo stands forward of the blueprint grid. */
.photo--hero img,
.photo--hero-wide img { box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .7); }
.photo--hero img { aspect-ratio: 4 / 5; }
.photo--hero-wide img { aspect-ratio: 5 / 4; }
.photo--portrait img { aspect-ratio: 4 / 5; }
.photo--contact img { aspect-ratio: 4 / 5; }

@media (max-width: 960px) {
  .photo--hero img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
}

@media (max-width: 860px) {
  .photo--portrait img { aspect-ratio: 3 / 2; object-position: 50% 62%; }
  .photo--contact img { aspect-ratio: 3 / 2; object-position: 50% 22%; }
}

/* The Strategy2Results® dial ------------------------------------------------- */

.dial { width: 100%; max-width: 460px; margin: 0; justify-self: center; }
.dial svg { width: 100%; height: auto; overflow: visible; }
.dial text { font-family: var(--font); }

/* Light: on white or soft bands. */
.dial__arc {
  fill: none;
  stroke: rgba(7, 31, 58, .14);
  stroke-width: 10;
  stroke-linecap: round;
}
.dial__q {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  fill: var(--muted);
}
.dial__arc.is-current { stroke: var(--gold); stroke-width: 12; }
.dial__q.is-current { fill: var(--gold-ink); }

.dial__web { fill: rgba(26, 143, 138, .08); stroke: rgba(26, 143, 138, .5); stroke-width: 1.5; }
.dial__core { fill: var(--navy); stroke: var(--teal); stroke-width: 1.5; }
.dial__core-label { font-size: 16px; font-weight: 700; fill: var(--white); }
.dial__node { fill: var(--teal); stroke: var(--soft); stroke-width: 3; }
.dial__node-label { font-size: 16px; font-weight: 600; fill: var(--teal-ink); }

.dial__caption {
  max-width: 40ch;
  margin: 8px auto 0;
  font-size: .9375rem;
  line-height: 1.5;
  text-align: center;
  color: var(--text);
}

/* Dark: on navy. */
.dial--dark .dial__arc { stroke: rgba(255, 255, 255, .22); }
.dial--dark .dial__q { fill: rgba(255, 255, 255, .6); }
.dial--dark .dial__q.is-current { fill: var(--gold); }
.dial--dark .dial__web { fill: rgba(26, 143, 138, .12); stroke: rgba(108, 199, 193, .6); }
.dial--dark .dial__core { stroke: var(--teal-bright); }
.dial--dark .dial__node { fill: var(--teal-bright); stroke: var(--navy); }
.dial--dark .dial__node-label,
.dial--dark .dial__caption { fill: var(--teal-pale); color: var(--teal-pale); }

/* The one moment of motion on the site: once the dial scrolls into view, this
   quarter's arc draws itself in. site.js arms it; without the script, or with
   reduced motion, the arc is simply there. */
.dial.is-armed .dial__arc.is-current {
  stroke-dasharray: 100 120;
  stroke-dashoffset: 101;
  transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .35, 1) .2s;
}
.dial.is-armed.is-drawn .dial__arc.is-current { stroke-dashoffset: 0; }

/* Bands and section headings -------------------------------------------------- */

.band { padding: clamp(56px, 8vw, 92px) 0; }
.band--soft { background: var(--soft); }

.band--navy { background: var(--navy); color: var(--white); }
.band--navy h2,
.band--navy h3 { color: var(--white); }
.band--navy p { color: var(--on-navy); }
.band--navy .kicker { color: var(--gold); }

.kicker {
  margin: 0 0 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.section-title {
  max-width: 30ch;
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.split > div > p { max-width: 60ch; }

/* Text beside a picture: centred on each other rather than top-aligned. */
.split--centre { align-items: center; }
.split--photo {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
}

@media (max-width: 860px) {
  .split,
  .split--photo { grid-template-columns: minmax(0, 1fr); }
}

.section-intro { max-width: 60ch; color: var(--text); }

/* Shared item headings: problems, cards, options, best-fit, review steps. */
.problem h3,
.card h3,
.option__title,
.fit__item h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

/* Home: the two tools ----------------------------------------------------------- */

.tools {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tool {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tool:hover { border-color: var(--teal); box-shadow: 0 14px 34px -24px rgba(7, 31, 58, .55); }

.tool__name { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.tool__body { color: var(--text); }
.tool__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal-ink);
}
.tool__more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .15s ease;
}
.tool:hover .tool__more svg { transform: translateX(3px); }

/* Home: the three problems -------------------------------------------------------- */

.problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
}

.problems--stacked { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 32px; }

.problem {
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--teal);
}
.problem p { color: var(--text); }

/* Licence or consulting ------------------------------------------------------------ */

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.option {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.option__photo img { aspect-ratio: 16 / 9; border-radius: 0; }
.option__body { padding: 24px 28px 28px; }
.option p:not(.option__tag) { color: var(--text); }

.option__tag {
  margin: 0 0 10px;
  font-size: .875rem;
  font-weight: 800;
  color: var(--teal-ink);
}

.options--dark .option { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.options--dark .option p:not(.option__tag) { color: var(--on-navy); }
.options--dark .option__tag { color: var(--teal-bright); }

/* Cards ---------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card p { color: var(--text); }

/* The documents the Strategy Architecture produces. */
.card--output { border-top: 3px solid var(--teal); }

/* "The problem it addresses", beside a tool's definition. */
.card--problem {
  background: var(--soft);
  border: 0;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* About ---------------------------------------------------------------------- */

.statement {
  margin: 0;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -.015em;
  color: var(--navy);
}

.prose-block p { color: var(--text); max-width: 60ch; }

.offer { display: grid; gap: 24px; }
.offer__group { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.offer__group:last-child { padding-bottom: 0; border-bottom: 0; }

.offer__tool { margin-bottom: 14px; font-size: 1.125rem; }
.offer__tool a {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.offer__tool a:hover { color: var(--teal-ink); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill {
  padding: 8px 14px;
  font-size: .9375rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Quarterly Reviews: the four review outputs --------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step p { color: var(--text); }

.step__num {
  display: block;
  margin-bottom: 18px;
  font-size: 2.625rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--teal);
}

/* About: photographs from real sessions --------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(40px, 6vw, 64px);
}
.gallery .photo img { aspect-ratio: 4 / 3; }

/* Strategy Architecture: the working sheets beside the outputs they become ---- */

.outputs {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px 40px;
  align-items: start;
  margin-top: 40px;
}
.outputs__list { display: grid; gap: 16px; }

@media (max-width: 860px) {
  .outputs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}

/* Best fit -------------------------------------------------------------------- */

.fit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
}

.fit__item {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.fit__item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
}

/* Closing band ------------------------------------------------------------------ */

.closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 64px;
  align-items: end;
}
.closing .section-title { margin-bottom: 14px; }
.closing__copy p { max-width: 60ch; color: var(--text); }
.closing__copy a {
  font-weight: 600;
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.closing__copy a:hover { color: var(--navy); }

@media (max-width: 760px) {
  .closing__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* Contact -------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form-card__title { margin-bottom: 24px; font-size: 1.375rem; letter-spacing: -.01em; }
.form-card--sent p:not(.kicker) { color: var(--text); }
.form-card--sent .btn { margin-top: 8px; }

.field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.field__label {
  padding: 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
}
legend.field__label { margin-bottom: 10px; }
.field__optional { font-weight: 400; color: var(--muted); }

.input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26, 143, 138, .22); }
.input::placeholder { color: #7a8796; }
textarea.input { min-height: 160px; resize: vertical; }
.input.is-invalid { border-color: var(--error); }

.field__error { font-size: .875rem; font-weight: 500; color: var(--error); }

.form-alert {
  margin-bottom: 22px;
  padding: 12px 16px;
  color: var(--error);
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0 20px;
}

/* The enquiry type: real radio buttons, drawn as chips. */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: inline-block;
  padding: 9px 16px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { color: var(--white); background: var(--navy); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.form-note { margin: 4px 0 24px; font-size: .875rem; color: var(--muted); }
.form-note a { color: var(--teal-ink); }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__details { display: grid; gap: 26px; padding-top: 8px; }

.detail__label {
  margin: 0 0 6px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.detail a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.detail a:hover { border-bottom-color: var(--teal); }
.detail address { font-style: normal; color: var(--text); }

@media (max-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
}

/* Legal pages ------------------------------------------------------------------ */

.policy { max-width: 72ch; color: var(--text); }
.policy h2 {
  margin: 40px 0 12px;
  font-size: 1.375rem;
  letter-spacing: -.01em;
}
.policy ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.policy li { margin-bottom: .45rem; }
.policy a { color: var(--teal-ink); }
.policy strong { color: var(--ink); }

/* Footer ----------------------------------------------------------------------- */

.footer {
  padding-top: 64px;
  font-size: .9375rem;
  color: #cbd5df;
  background: var(--navy-deep);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand img { width: auto; height: 46px; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; color: var(--on-navy-muted); }

.footer__heading {
  margin: 0 0 14px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
}

.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a { color: #cbd5df; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer address { margin-top: 18px; font-style: normal; line-height: 1.6; color: var(--on-navy-muted); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 28px;
  font-size: .8125rem;
  color: var(--on-navy-muted);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__base p { margin: 0; }
.footer .footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

/* Collapse the multi-column grids ----------------------------------------------- */

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .problems,
  .cards,
  .fit,
  .options { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .steps,
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
