:root {
  --teal-900: #0c3033;
  --teal-800: #174f55;
  --teal-700: #23676e;
  --teal-500: #5cb0c3;
  --teal-100: #e5f4f6;
  --ink: #24262a;
  --muted: #5b6368;
  --line: #d8e1e5;
  --paper: #ffffff;
  --wash: #f5f7f8;
  --gold: #d9a646;
  --shadow: 0 18px 48px rgba(12, 48, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 210px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  background: var(--wash);
  line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .brief-grid article,
  .research-grid article,
  .tool-list article,
  .resource-card,
  .stat-panel,
  .work-grid article,
  .video-card,
  .reference-grid article {
    animation: rise-in 620ms ease both;
  }

  .brief-grid article:nth-child(2),
  .research-grid article:nth-child(2),
  .tool-list article:nth-child(2),
  .work-grid article:nth-child(2),
  .video-card:nth-child(2),
  .reference-grid article:nth-child(2) {
    animation-delay: 80ms;
  }

  .brief-grid article:nth-child(3),
  .research-grid article:nth-child(3),
  .tool-list article:nth-child(3),
  .work-grid article:nth-child(3),
  .video-card:nth-child(3),
  .reference-grid article:nth-child(3) {
    animation-delay: 140ms;
  }

  .tool-list article:nth-child(4),
  .work-grid article:nth-child(4),
  .video-card:nth-child(4),
  .reference-grid article:nth-child(4) {
    animation-delay: 200ms;
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms ease, transform 620ms ease;
  }

  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--paper);
  color: var(--teal-900);
  padding: 0.7rem 1rem;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.main-nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(12, 48, 51, 0.95), rgba(35, 103, 110, 0.86)),
    radial-gradient(circle at 75% 10%, rgba(255, 255, 255, 0.18), transparent 30%);
  color: var(--paper);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.92;
}

.wordmark .script {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 400;
  text-transform: none;
}

.wordmark .name {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
}

.wordmark small {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-block: 0.35rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--teal-500);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  background: transparent;
  padding: 0.65rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--paper);
  margin: 6px 0;
}

.hero {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: var(--teal-900);
  color: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 48, 51, 0.95), rgba(12, 48, 51, 0.76) 48%, rgba(12, 48, 51, 0.2)),
    linear-gradient(0deg, rgba(12, 48, 51, 0.88), transparent 35%);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.9);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, calc(100% - 2rem));
  margin: auto 0 auto clamp(1rem, 10vw, 8rem);
  padding: 2.4rem 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal-500);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 4.7vw, 3.7rem);
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.lede {
  max-width: 690px;
  margin: 1.1rem 0 0;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 700;
}

.hero-actions,
.cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.button.primary {
  background: var(--teal-500);
  color: var(--teal-900);
}

.button.secondary {
  border: 2px solid rgba(255, 255, 255, 0.76);
  color: var(--paper);
}

.section-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.anchor-alias {
  position: relative;
  top: -210px;
}

.question-band {
  background: var(--paper);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.brief-grid,
.research-grid,
.reference-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.brief-grid article,
.research-grid article,
.reference-grid article,
.work-grid article,
.resource-card,
.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(12, 48, 51, 0.06);
}

.brief-grid article {
  background: linear-gradient(180deg, var(--teal-100), var(--paper));
}

.brief-grid span,
.video-card span,
.work-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--teal-700);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section,
.research-section,
.videos-section,
.sam-ai-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split p {
  font-size: 1.08rem;
}

.stat-panel {
  background: var(--teal-800);
  color: var(--paper);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stat-panel div {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-panel div:last-child {
  border-bottom: 0;
}

.stat-panel strong {
  display: block;
  color: var(--teal-500);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.6rem;
  line-height: 1;
}

.stat-panel span {
  display: block;
  margin-top: 0.55rem;
  font-weight: 700;
}

.section-heading {
  display: grid;
  gap: 0.2rem;
  max-width: 780px;
}

.research-section {
  background:
    linear-gradient(180deg, rgba(229, 244, 246, 0.7), rgba(245, 247, 248, 0.96)),
    radial-gradient(circle at 85% 15%, rgba(217, 166, 70, 0.18), transparent 32%);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
}

.toolkit-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background: var(--teal-900);
  color: var(--paper);
}

.toolkit-section .eyebrow {
  color: var(--gold);
}

.toolkit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 1.25rem;
  margin-top: 2rem;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.tool-list article {
  border-top: 5px solid var(--teal-500);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.4rem;
}

.tool-list p,
.resource-card p,
.reference-grid p,
.work-grid p,
.research-grid p,
.brief-grid p,
.video-card p {
  margin: 0;
}

.resource-card {
  background: var(--paper);
  color: var(--ink);
}

.resource-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.resource-card li + li {
  margin-top: 0.75rem;
}

.videos-section {
  background: var(--wash);
}

.sam-ai-section {
  background: var(--paper);
}

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--teal-900);
}

.references-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background: var(--paper);
}

.reference-grid a,
.resource-card a,
.work-grid a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--teal-700);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.cta-section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background:
    linear-gradient(90deg, rgba(12, 48, 51, 0.95), rgba(35, 103, 110, 0.92)),
    radial-gradient(circle at 20% 15%, rgba(92, 176, 195, 0.28), transparent 35%);
  color: var(--paper);
}

.cta {
  justify-content: space-between;
}

.cta p {
  max-width: 700px;
  margin-bottom: 0;
}

.site-footer {
  background: #081f21;
  color: var(--paper);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 2rem;
}

.footer-wordmark .script {
  font-size: 1.5rem;
}

.footer-wordmark .name {
  font-size: 1.65rem;
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: var(--teal-500);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--teal-900);
    padding: 0.75rem 1rem 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .brief-grid,
  .research-grid,
  .reference-grid,
  .work-grid,
  .split,
  .toolkit-layout,
  .video-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tool-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  section[id] {
    scroll-margin-top: 200px;
  }

  .main-nav {
    min-height: 82px;
  }

  .wordmark .script {
    font-size: 1.45rem;
  }

  .wordmark .name {
    font-size: 1.62rem;
  }

  .wordmark small {
    font-size: 0.62rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(12, 48, 51, 0.96), rgba(12, 48, 51, 0.68));
  }

  .hero-content {
    margin: auto 1rem;
  }

  .button {
    width: 100%;
  }
}
