/* Novastak — production stylesheet
   Mobile-first. Tokens first. No framework. */

:root {
  --navy-950: #071015;
  --navy-900: #0a151c;
  --ink: #14232e;
  --ink-soft: #3a5160;
  --ink-faint: #3e5563;
  --line: #d5dde4;
  --line-strong: #c2ccd6;
  --paper: #f3f5f7;
  --white: #ffffff;
  --teal-50: #e7f3f2;
  --teal: #0a5c57;
  --teal-mid: #0e7c75;
  --teal-bright: #1d9a93;
  --teal-ink: #084843;
  --shadow: 0 10px 30px rgba(10, 21, 28, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 4.25rem;
  --wrap: 72rem;
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-ink);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.6rem 0.9rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
}

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

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

@media (min-width: 768px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 3rem));
  }
}

@media (min-width: 1440px) {
  .wrap {
    width: min(74rem, calc(100% - 4rem));
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--ink-faint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.why .eyebrow,
.contact-intro .eyebrow {
  color: #9ec9c5;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h2 {
  font-family: var(--font);
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.lede {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.25rem);
}

section[id],
.hero,
.trust,
#consultation {
  scroll-margin-top: 4.75rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head .lede {
  margin-top: 0.85rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  max-width: 100%;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(10, 92, 87, 0.28);
}

.btn-primary:hover {
  background: var(--teal-ink);
  box-shadow: 0 12px 32px rgba(29, 154, 147, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}

.btn-light:hover {
  background: var(--teal-50);
  color: var(--navy-900);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 2rem;
}

.section-cta p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.why .section-cta p {
  color: #c5d3db;
}

@media (max-width: 359px) {
  .logo-tag {
    display: none;
  }
}

@media (max-width: 479px) {
  .btn-row .btn,
  .section-cta .btn {
    width: 100%;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 21, 28, 0.92);
  color: var(--white);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(29, 154, 147, 0.22);
}

.site-header.is-compact .header-inner {
  min-height: 3.65rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--white);
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
}

.logo-tag {
  color: #c5d3db;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--white);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform var(--ease), opacity var(--ease);
}

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

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  display: none;
}

.nav-panel.is-open {
  display: block;
}

.site-nav a {
  color: #d5e0e6;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-header :focus-visible {
  outline-color: var(--teal-bright);
}

.header-cta {
  display: none;
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

@media (max-width: 1023px) {
  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0 1.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: min(var(--wrap), calc(100% - 2rem));
    margin-inline: auto;
  }

  .site-nav > a,
  .nav-sub {
    min-height: 2.75rem;
  }

  .site-nav > a,
  .nav-parent,
  .nav-sub-panel a {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.15rem;
    font-size: 1.05rem;
  }

  .nav-mobile-cta {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .has-open-nav {
    overflow: hidden;
  }
}

.nav-sub {
  position: relative;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  color: #d5e0e6;
  font-weight: 500;
  font-size: 0.92rem;
  text-align: left;
}

.nav-parent:hover,
.nav-parent[aria-expanded="true"] {
  color: var(--white);
}

.nav-caret {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.nav-sub-panel {
  display: none;
  padding-left: 0.75rem;
}

.nav-sub.is-open .nav-sub-panel,
.nav-parent[aria-expanded="true"] + .nav-sub-panel {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .nav-toggle,
  .nav-mobile-cta {
    display: none;
  }

  .nav-panel {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem 1.15rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .site-nav > a,
  .nav-parent {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .nav-parent {
    width: auto;
  }

  .nav-sub-panel {
    position: absolute;
    top: calc(100% - 0.2rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 16.5rem;
    padding: 0.55rem;
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-sub-panel a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.7rem;
    color: var(--ink);
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .nav-sub-panel a:hover {
    background: var(--paper);
    color: var(--teal-ink);
  }

  .nav-sub:hover .nav-sub-panel,
  .nav-sub:focus-within .nav-sub-panel,
  .nav-sub.is-open .nav-sub-panel {
    display: block;
  }
}

/* Hero */

.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: clip;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-media::before {
  background-image:
    linear-gradient(rgba(29, 154, 147, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 154, 147, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.45;
  animation: grid-shift 28s linear infinite;
}

.hero-media::after {
  background:
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(29, 154, 147, 0.28), transparent 60%),
    linear-gradient(105deg, rgba(7, 16, 21, 0.94) 0%, rgba(10, 21, 28, 0.72) 48%, rgba(10, 21, 28, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 16, 21, 0.2), rgba(7, 16, 21, 0.72));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 8vw, 6.5rem);
}

.hero-grid > *,
.split > *,
.bento > *,
.contact-grid > * {
  min-width: 0;
}

.hero h1 {
  max-width: 11.5em;
  color: #f3f7f8;
}

.hero .lede {
  margin-top: 1.05rem;
  color: #c5d3db;
  max-width: 36rem;
}

.hero-panel {
  background: rgba(7, 16, 21, 0.58);
  border: 1px solid rgba(29, 154, 147, 0.32);
  border-radius: 16px;
  padding: 1.35rem 1.45rem 0.35rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28), 0 0 40px rgba(29, 154, 147, 0.12);
}

.hero-panel-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ec9c5;
}

.hero-panel-list li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #b7c6d0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero-panel-list li:first-child {
  border-top: 0;
  padding-top: 0.45rem;
}

.hero-panel-list strong {
  display: block;
  color: #f3f7f8;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.12rem;
}

.hero-panel-num {
  color: #9ec9c5;
  font-size: 0.82rem;
  font-weight: 600;
  padding-top: 0.18rem;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.82fr);
    align-items: center;
    gap: 4rem;
  }
}

/* Trust strip */

.trust {
  background: var(--white);
  color: var(--ink);
  padding-block: 1.85rem 2rem;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  gap: 1.25rem 2rem;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}

@media (min-width: 1100px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Problem cards */

.problems {
  background: var(--white);
}

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

.problem-card {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.problem-card:hover {
  border-color: var(--teal-mid);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(10, 21, 28, 0.08);
}

.problem-card h3 {
  margin-bottom: 0.4rem;
}

.problem-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Services bento */

.services {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(29, 154, 147, 0.08), transparent 50%),
    var(--paper);
}

.bento {
  display: grid;
  gap: 1rem;
}

.svc-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.svc-card:hover {
  color: inherit;
  border-color: var(--teal-mid);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 21, 28, 0.1), 0 0 24px rgba(29, 154, 147, 0.12);
}

.svc-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 500ms ease;
}

.svc-card:hover .svc-media img {
  transform: scale(1.07);
}

.svc-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
}

.svc-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.svc-link {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}

.svc-card--feature {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.svc-card--feature p,
.svc-card--feature .svc-link {
  color: #c5d3db;
}

.svc-card--feature:hover {
  color: var(--white);
  border-color: var(--teal-bright);
}

.svc-card--feature .svc-media {
  aspect-ratio: 16 / 10;
}

@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-card--feature {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }

  .svc-card--feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .svc-card--feature .svc-media {
    aspect-ratio: auto;
    min-height: 14rem;
    height: 100%;
  }

  .svc-card--feature .svc-body {
    padding: 1.45rem 1.5rem 1.55rem;
  }
}

/* Split capability sections */

.split-section {
  background: var(--white);
}

.split-section.alt {
  background: var(--paper);
}

.split {
  display: grid;
  gap: 2rem;
}

.split-copy .lede {
  margin-top: 0.85rem;
}

.capability-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
  max-width: 38rem;
}

.capability-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--teal);
}

.note {
  margin-top: 1.15rem;
  max-width: 40rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.split-visual {
  display: grid;
  gap: 0;
  align-content: start;
}

.split-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(29, 154, 147, 0.22);
  box-shadow: 0 20px 40px rgba(10, 21, 28, 0.12);
}

.callout {
  padding: 1.4rem 1.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  margin-top: -2.25rem;
  margin-left: 1rem;
  margin-right: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 36px rgba(10, 21, 28, 0.1);
}

.callout h3 {
  margin-bottom: 0.45rem;
}

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

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.75rem;
    align-items: start;
  }

  .split.reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .split.reverse .split-copy {
    order: 2;
  }
}

/* Why */

.why {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(29, 154, 147, 0.22), transparent 55%),
    var(--navy-900);
  color: var(--white);
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 154, 147, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 154, 147, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.why .wrap {
  position: relative;
  z-index: 1;
}

.why .lede {
  color: #c5d3db;
}

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

.why-card {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(29, 154, 147, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color var(--ease), transform var(--ease);
}

.why-card:hover {
  border-color: var(--teal-bright);
  transform: translateY(-3px);
}

.why-card h3 {
  margin-bottom: 0.45rem;
}

.why-card p {
  color: #c5d3db;
  font-size: 0.98rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Process */

.process {
  background: var(--white);
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  padding: 1.3rem 1.3rem 1.3rem 1.45rem;
  border-left: 3px solid var(--teal-mid);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.step h3 {
  margin-bottom: 0.35rem;
}

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

.step-num {
  display: block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Industries */

.industries {
  background: var(--paper);
}

.chip-list {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 560px) {
  .chip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 800px) {
  .chip-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.chip {
  padding: 0.6rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
}

/* FAQ */

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.faq-item[open] {
  background: var(--white);
  border-color: var(--line-strong);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq-item .faq-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--ink-soft);
}

/* Contact */

.contact {
  background: var(--paper);
}

.contact-intro {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--navy-900);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.contact-intro-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.contact-intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(29, 154, 147, 0.22), transparent 60%),
    linear-gradient(105deg, rgba(7, 16, 21, 0.9), rgba(10, 21, 28, 0.72));
}

.contact-intro .wrap {
  position: relative;
  z-index: 1;
}

.contact-intro .lede {
  color: #c5d3db;
  margin-top: 0.8rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
}

.contact-detail {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-mid);
  border-radius: 12px;
  padding: 1.4rem 1.35rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.contact-detail:hover {
  color: inherit;
  border-color: var(--teal-mid);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 21, 28, 0.1);
}

.contact-detail h3 {
  margin-bottom: 0.45rem;
}

.contact-value {
  color: var(--teal-ink);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
}

.contact-card h3 {
  margin-bottom: 0.3rem;
}

.contact-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-next {
    grid-column: 1 / -1;
  }
}

.next-steps {
  margin: 0.55rem 0 0;
  padding-left: 1.35rem;
  list-style: decimal;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.next-steps li + li {
  margin-top: 0.4rem;
}

.placeholder {
  display: inline;
  padding: 0.05em 0.3em;
  background: var(--teal-50);
  color: var(--teal-ink);
  border-radius: 4px;
  font-size: 0.88em;
  font-weight: 600;
}

.faq-item summary h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  flex: 1;
}

/* Footer */

.site-footer {
  background: var(--navy-950);
  color: #c5d3db;
  padding-block: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer a {
  color: #d7e3ea;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-col h2 {
  font-family: var(--font);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b0c2ce;
  margin-bottom: 0.8rem;
}

.footer-col ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #b7c6d0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* Legal pages */

.legal-hero {
  background: var(--navy-900);
  color: var(--white);
  padding-block: 3rem;
}

.legal-hero p {
  margin-top: 0.7rem;
  color: #c5d3db;
}

.legal-body {
  background: var(--white);
  padding-block: 3rem 4.5rem;
}

.legal-body .wrap {
  max-width: 46rem;
}

.legal-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
}

.legal-body h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.45rem;
}

.legal-body p + p,
.legal-body ul {
  margin-top: 0.85rem;
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-body li {
  margin-bottom: 0.35rem;
}

.notice {
  padding: 0.9rem 1rem;
  background: var(--teal-50);
  border-left: 3px solid var(--teal-mid);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  margin: 1rem 0 1.5rem;
}

/* Utilities */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Compact header CTA on mid screens */
@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav {
    gap: 0.15rem 0.8rem;
  }

  .site-nav a,
  .nav-parent {
    font-size: 0.85rem;
  }
}

@keyframes grid-shift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 52px 52px, 52px 52px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .btn-row,
  .contact-intro,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: inherit;
    text-decoration: underline;
  }
}
