:root {
  --ink: #071018;
  --navy: #0c2436;
  --navy-mid: #024873;
  --teal: #0388a6;
  --teal-bright: #04adbf;
  --copper: #c4843c;
  --copper-deep: #8a5a24;
  --cream: #f3eee4;
  --paper: #faf7f1;
  --stone: #d9d1c3;
  --muted: #6f695e;
  --seal-red: #b42318;
  --white: #ffffff;
  --line: rgba(196, 180, 140, 0.28);
  --shadow: 0 24px 60px rgba(7, 16, 24, 0.16);
  --header-h: 108px;
  --wrap: 1180px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(2, 72, 115, 0.12);
}

button {
  -webkit-tap-highlight-color: rgba(2, 72, 115, 0.12);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--copper-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--copper);
}

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 38rem;
}

.section {
  padding: 6.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.dark {
  background: var(--ink);
  color: var(--cream);
}

.dark .lede,
.dark .muted {
  color: rgba(243, 238, 228, 0.72);
}

.dark .eyebrow {
  color: var(--copper);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow: visible;
  height: var(--header-h);
  background: rgba(250, 247, 241, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 241, 0.96);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer .brand img {
  width: 68px;
  height: 68px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav > a,
.nav-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav > a::after,
.has-menu.is-current .nav-parent::before,
.nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--navy-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav > a:hover::after,
.nav > a[aria-current="page"]::after,
.has-menu.is-current .nav-parent::before {
  transform: scaleX(1);
}

.has-menu.is-current .nav-parent::before {
  content: "";
  position: absolute;
  left: 0;
  right: 1.1rem;
  bottom: -6px;
  width: auto;
  height: 2px;
  background: var(--navy-mid);
}

.nav-parent .chevron {
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.has-menu.is-open .nav-parent .chevron {
  transform: rotate(225deg) translateY(-1px);
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  min-width: 15.5rem;
  padding: 0.45rem 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}

.nav-dropdown a {
  display: block;
  padding: 0.62rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: var(--cream);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  letter-spacing: 0.12em;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--cream);
}

.nav-cta::after {
  display: none;
}

.has-menu:hover .nav-dropdown,
.has-menu:focus-within .nav-dropdown,
.has-menu.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-toggle {
  display: none;
  min-width: 72px;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 34rem;
  height: calc(100vh - var(--header-h));
  max-height: 46rem;
  display: grid;
  place-items: end start;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.18) 0%, rgba(7, 16, 24, 0.78) 72%),
    linear-gradient(90deg, rgba(7, 16, 24, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 46rem;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: italic;
  color: #efd7a2;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 238, 228, 0.22);
  font-size: 0.92rem;
}

.hero-meta span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-meta b {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ticker {
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(196, 132, 60, 0.28);
  border-bottom: 1px solid rgba(196, 132, 60, 0.28);
}

.ticker-track {
  display: flex;
  gap: 2.8rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: ticker 28s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Cards and grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.grid-4,
.grid-3,
.resource-grid,
.pillar-grid,
.value-grid {
  display: grid;
  gap: 1.25rem;
}

.grid-4,
.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3,
.pillar-grid,
.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: var(--paper);
  padding: 1.6rem 1.4rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-card,
.pillar,
.value-card,
.benefit {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.resource-card img,
.portrait {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #111;
}

.resource-card .body,
.pillar,
.value-card,
.benefit {
  padding: 1.35rem 1.3rem 1.5rem;
}

.formula {
  color: var(--copper-deep);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.resource-card h3,
.pillar h3,
.value-card h3 {
  font-size: 1.7rem;
}

.resource-card p,
.pillar p,
.value-card p,
.benefit p {
  color: var(--muted);
  font-size: 0.98rem;
}

.resource-card a.more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.frame {
  position: relative;
  overflow: hidden;
  background: #111;
  box-shadow: 0 28px 50px rgba(7, 16, 24, 0.18);
}

.frame img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(7, 16, 24, 0.12);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border: 1px solid currentColor;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.btn-light {
  background: transparent;
  color: var(--cream);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--ink);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-cream:hover {
  background: var(--white);
  border-color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process li {
  list-style: none;
  padding: 1.6rem 1.3rem;
  border-right: 1px solid var(--line);
}

.process li:last-child {
  border-right: 0;
}

.process ol {
  display: contents;
}

.process strong {
  display: block;
  margin-bottom: 0.35rem;
}

.process span {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: 4.8rem 0 3.2rem;
  background:
    radial-gradient(circle at top right, rgba(4, 173, 191, 0.12), transparent 32%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.page-hero .lede {
  font-size: 1.2rem;
}

.split-dark {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.split-dark .copy {
  padding: 5.5rem 4rem;
}

.split-dark .media {
  min-height: 520px;
  background: #111 center / cover no-repeat;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.benefit {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(243, 238, 228, 0.12);
}

.partner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.partner img {
  width: 220px;
  max-width: 42%;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  padding: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-card + .contact-card {
  margin-top: 1rem;
}

.contact-card dt {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.contact-card dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  overflow-wrap: anywhere;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--stone);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(2, 72, 115, 0.28);
  border-color: var(--navy-mid);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note,
.form-success,
.form-error {
  font-size: 0.95rem;
}

.form-success {
  padding: 1rem 1.1rem;
  background: #e8f4ea;
  border: 1px solid #b7d8bb;
}

.form-error {
  color: var(--seal-red);
}

.hidden {
  display: none;
}

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(243, 238, 228, 0.12);
}

.site-footer .brand-copy small,
.site-footer a {
  color: rgba(243, 238, 228, 0.72);
}

.site-footer h4 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  color: rgba(243, 238, 228, 0.5);
  font-size: 0.85rem;
}

.page-hero,
.section[id] {
  scroll-margin-top: calc(var(--header-h) + 1.2rem);
}

.resource-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 1.2rem);
}

.resource-detail + .resource-detail {
  border-top: 1px solid var(--line);
}

.resource-detail:nth-child(even) {
  direction: rtl;
}

.resource-detail:nth-child(even) > * {
  direction: ltr;
}

.resource-photo {
  background: #111;
  overflow: hidden;
}

.resource-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.4rem 1.25rem 1.4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .has-menu:hover .nav-dropdown,
  .has-menu:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item,
  .nav-parent {
    width: 100%;
  }

  .nav-parent {
    justify-content: space-between;
    min-height: 48px;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav > a {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.35rem 0.7rem;
  }

  .has-menu.is-open .nav-dropdown,
  .has-menu.is-open:hover .nav-dropdown,
  .has-menu.is-open:focus-within .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .nav > a::after,
  .has-menu.is-current .nav-parent::before {
    display: none;
  }
}

@media (max-width: 980px) {
  .grid-2,
  .grid-4,
  .grid-3,
  .resource-grid,
  .pillar-grid,
  .value-grid,
  .process,
  .split-dark,
  .contact-grid,
  .resource-detail,
  .resource-detail:nth-child(even),
  .footer-grid,
  .benefit-list,
  .stat-row {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .grid-2 {
    gap: 1.75rem;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    place-items: end start;
  }

  .hero-content {
    padding: 3.2rem 0 2.4rem;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .lede,
  .page-hero .lede {
    font-size: 1.05rem;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 2.8rem 0 2.2rem;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  .process li,
  .split-dark .copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 0;
  }

  .process li:last-child {
    border-bottom: 0;
  }

  .split-dark .copy {
    padding: 2.4rem 1.25rem;
    border-bottom: 0;
  }

  .split-dark .media {
    min-height: 240px;
  }

  .frame img {
    min-height: 240px;
  }

  .resource-photo img {
    height: 240px;
  }

  .resource-detail {
    padding: 2.4rem 0;
    gap: 1.4rem;
  }

  .btn-row .btn {
    flex: 1 1 12rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .contact-card dd {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 88px;
  }

  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
  }

  body {
    font-size: 1rem;
  }

  .brand img,
  .site-footer .brand img {
    width: 60px;
    height: 60px;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .brand-copy small {
    font-size: 0.68rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero-content {
    padding: 2.4rem 0 2rem;
  }

  .hero-meta {
    gap: 1rem 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    font-size: 0.88rem;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-row .btn {
    width: 100%;
    flex: none;
  }

  .legal {
    flex-direction: column;
  }

  .partner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner img {
    width: 100%;
    max-width: 100%;
  }

  .ticker-track {
    letter-spacing: 0.12em;
    font-size: 0.72rem;
  }

  .stat {
    padding: 1.2rem 1rem;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .resource-grid,
  .value-grid,
  .pillar-grid,
  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }
}
