:root {
  color-scheme: light;
  --navy: #052447;
  --navy-deep: #031a34;
  --teal: #087d7a;
  --teal-soft: #e8f4f2;
  --green: #5ab660;
  --ink: #102033;
  --muted: #5d6b76;
  --paper: #f7f9f7;
  --white: #ffffff;
  --line: rgba(5, 36, 71, 0.14);
  --shadow: 0 22px 70px rgba(5, 36, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(8, 125, 122, 0.09), transparent 24rem),
    radial-gradient(circle at 10% 2%, rgba(90, 182, 96, 0.12), transparent 22rem),
    linear-gradient(180deg, #fbfcfb 0%, var(--paper) 48%, #eef5f2 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(5, 36, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 36, 71, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

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

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

#signal-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  opacity: 0.2;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 36, 71, 0.93);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-actions,
.contact-section {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.site-header nav {
  gap: clamp(0.75rem, 2vw, 1.6rem);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  font-weight: 750;
}

.site-header nav a:hover {
  color: var(--white);
}

.hero {
  display: grid;
  min-height: 82vh;
  grid-template-columns: minmax(0, 1.04fr) minmax(21rem, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 60rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.95;
}

h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.12;
}

.hero-text {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--line);
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button.ghost {
  background: var(--white);
  color: var(--navy);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel-top {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--navy), #074f6a);
  color: var(--white);
}

.hero-panel-top span,
.metric-grid span,
.process-step span,
.intention span {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-weight: 900;
}

.hero-panel-top strong {
  display: block;
  max-width: 28rem;
  font-size: clamp(1.35rem, 2.6vw, 2.5rem);
  line-height: 1.06;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.metric-grid div {
  min-height: 12rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-grid span,
.process-step span,
.intention span {
  color: var(--teal);
}

.metric-grid strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.metric-grid p,
.value-card p,
.process-step p,
.daily-panel li,
.deliverable-panel li,
.intention p {
  color: var(--muted);
  line-height: 1.58;
}

.intro-band {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
  background: var(--navy);
  color: var(--white);
}

.intro-band p {
  max-width: 72rem;
  margin: 0 auto;
  font-size: clamp(1.45rem, 3vw, 3rem);
  font-weight: 750;
  line-height: 1.18;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.value-grid,
.intentions-grid,
.process,
.split-section,
.commitment-grid {
  perspective: 1200px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.value-card,
.intention,
.process-step,
.daily-panel,
.deliverable-panel,
.flyer-card,
.contact-section {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 40px rgba(5, 36, 71, 0.08);
}

.value-card {
  min-height: 18rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.icon-line {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.5rem;
  place-items: center;
  border: 1px solid rgba(8, 125, 122, 0.28);
  color: var(--teal);
  font-size: 2rem;
  font-weight: 900;
}

.intentions-section {
  background: rgba(232, 244, 242, 0.72);
}

.intentions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.intention {
  min-height: 13rem;
  padding: 1.25rem;
}

.intention p {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 750;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  min-height: 17rem;
  padding: 1.35rem;
  border-top: 6px solid var(--teal);
}

.process-step:nth-child(2) {
  border-top-color: #0870a8;
}

.process-step:nth-child(3) {
  border-top-color: #0d9b91;
}

.process-step:nth-child(4) {
  border-top-color: #35a76d;
}

.process-step:nth-child(5) {
  border-top-color: var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: #f0f6f4;
}

.daily-panel,
.deliverable-panel {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.flyer-section {
  padding-top: clamp(3rem, 7vw, 6rem);
}

.flyer-card {
  position: relative;
  display: block;
  max-width: min(68rem, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.flyer-card img {
  width: 100%;
  height: auto;
}

.flyer-card span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 850;
}

.commitment-band {
  margin: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.commitment-grid span {
  padding: 1rem;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  line-height: 1.45;
}

.contact-section {
  justify-content: space-between;
  gap: 2rem;
  margin: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--navy), #064965);
  color: var(--white);
}

.contact-section h2,
.contact-section .section-kicker {
  color: var(--white);
}

.contact-section h2 {
  max-width: 17ch;
}

.contact-link {
  color: var(--white);
  font-size: clamp(1.15rem, 2.5vw, 2.2rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.depth-box {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 440ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease, box-shadow 240ms ease, filter 240ms ease, opacity 240ms ease;
  will-change: transform;
  cursor: pointer;
  perspective: 1400px;
  isolation: isolate;
}

.depth-box::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(90, 182, 96, 0.18), transparent 32%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.depth-box:hover,
.depth-box:focus-visible {
  border-color: rgba(8, 125, 122, 0.36);
}

.depth-box:focus-visible {
  outline: 2px solid rgba(8, 125, 122, 0.55);
  outline-offset: 4px;
}

.depth-box.is-advanced {
  z-index: 9;
  transform: translate3d(var(--lift-x, 0px), var(--lift-y, -10px), 112px) scale(var(--lift-scale, 1.08));
  border-color: rgba(8, 125, 122, 0.45);
  box-shadow: 0 38px 110px rgba(5, 36, 71, 0.28), 0 0 0 1px rgba(8, 125, 122, 0.12);
  filter: none;
  opacity: 1;
  overflow: visible;
}

.depth-box.is-advanced::after {
  opacity: 1;
}

.depth-card-front,
.depth-card-back {
  min-height: inherit;
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.depth-card-front {
  height: 100%;
  background: inherit;
  position: relative;
  z-index: 1;
}

.depth-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  overflow: auto;
  padding: clamp(0.9rem, 2vw, 1.35rem);
  background: linear-gradient(135deg, var(--navy), #07546a);
  color: var(--white);
  transform: rotateY(180deg);
  z-index: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.depth-card-back h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.1rem, 1.65vw, 1.65rem);
  line-height: 1.15;
}

.depth-card-back p {
  max-width: 30rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.52;
}

.depth-card-back small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.depth-box.is-advanced .depth-card-front {
  transform: rotateY(-180deg);
  z-index: 0;
}

.depth-box.is-advanced .depth-card-back {
  transform: rotateY(0deg);
  z-index: 1;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate].depth-box.is-visible.is-advanced {
  transform: translate3d(var(--lift-x, 0px), var(--lift-y, -10px), 112px) scale(var(--lift-scale, 1.08));
}

@media (max-width: 1120px) {
  .value-grid,
  .intentions-grid,
  .process,
  .commitment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card:last-child,
  .intention:last-child,
  .process-step:last-child,
  .commitment-grid span:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .section-heading,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 11vw, 5rem);
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 0.94rem;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .metric-grid,
  .value-grid,
  .intentions-grid,
  .process,
  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .value-card:last-child,
  .intention:last-child,
  .process-step:last-child,
  .commitment-grid span:last-child {
    grid-column: auto;
  }

  .contact-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
