:root {
  --color-ink: #25313a;
  --color-muted: #60707c;
  --color-paper: #fffdf8;
  --color-surface: #ffffff;
  --color-band: #f4f8ed;
  --color-mint: #d9ead7;
  --color-coral: #e96f57;
  --color-coral-dark: #bd4d3a;
  --color-teal: #2f7974;
  --color-yellow: #f6c85f;
  --color-border: #dce5dc;
  --shadow-soft: 0 18px 45px rgba(45, 70, 58, 0.14);
  --radius: 8px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  max-width: 780px;
}

.section-pad {
  padding-block: clamp(2.75rem, 6vw, 5.75rem);
}

.section-band {
  background: var(--color-band);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(220, 229, 220, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 104px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 96px;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
}

.story-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--color-teal);
  font-weight: 700;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.hero {
  padding-top: clamp(1.25rem, 3vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-teal);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 7vw, 4.35rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 1rem 0 0;
}

.lead {
  max-width: 60ch;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.btn-primary {
  background: var(--color-coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-coral-dark);
}

.btn-secondary {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: #fff;
}

.btn-secondary:hover {
  background: var(--color-mint);
}


.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.channel-grid,
.value-grid {
  display: grid;
  gap: 1rem;
}

.channel-card,
.value-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.channel-card {
  display: grid;
  gap: 0.5rem;
  min-height: 220px;
  padding: 1.2rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 121, 116, 0.6);
  box-shadow: var(--shadow-soft);
}

.channel-card-primary {
  background: linear-gradient(135deg, #fff, #fff7dd);
  border-color: rgba(233, 111, 87, 0.38);
}

.channel-card-feature {
  align-content: start;
}

.channel-card-with-image {
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  column-gap: 1rem;
}

.channel-card-with-image .channel-kicker,
.channel-card-with-image .channel-title,
.channel-card-with-image .channel-text,
.channel-card-with-image .channel-cta {
  grid-column: 2;
}

.channel-image {
  grid-row: 1 / span 4;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-band);
  border: 1px solid var(--color-border);
}

.channel-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.channel-image-logo {
  background: #fff;
  padding: 0.6rem;
}

.channel-image-logo img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.channel-logo {
  display: block;
  width: min(100%, 240px);
  margin-block: 0.35rem 0.25rem;
}

.channel-logo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.channel-kicker {
  color: var(--color-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel-title {
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.15;
}

.channel-text {
  color: var(--color-muted);
}

.channel-cta {
  align-self: end;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--color-coral-dark);
  font-weight: 850;
}

.channel-card-list .channel-kicker,
.channel-card-list .channel-title,
.channel-card-list .channel-text,
.channel-card-list .channel-cta,
.channel-card-list .channel-subtitle {
  grid-column: 2;
}

.channel-card-list .channel-cta,
.channel-card-list .channel-subtitle {
  text-decoration: none;
}

.channel-subtitle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: var(--color-teal);
  font-weight: 800;
}

.channel-subtitle:hover {
  color: var(--color-coral-dark);
}

.value-item {
  padding: 1.15rem;
}

.value-item p {
  color: var(--color-muted);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-grid p {
  color: var(--color-muted);
}

.social-links {
  display: grid;
  gap: 0.75rem;
}

.social-links a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
}

.social-links a::after {
  content: ">";
  color: var(--color-coral);
}

.social-links a:hover {
  border-color: var(--color-teal);
  background: var(--color-band);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.footer-inner {
  min-height: auto;
  padding-block: 1.25rem;
  flex-direction: column;
  align-items: flex-start;
}

.footer-inner p {
  margin: 0;
  color: var(--color-muted);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--color-teal);
  font-weight: 700;
}

.legal-page h1,
.not-found h1 {
  max-width: none;
  font-size: clamp(2.3rem, 8vw, 4.3rem);
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.legal-page p {
  color: var(--color-muted);
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.not-found .brand {
  margin-bottom: 2rem;
}

.not-found .btn {
  margin-top: 1.5rem;
}

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

@media (min-width: 720px) {
  h1 {
    max-width: 14ch;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  }

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

  .channel-card-primary {
    grid-row: span 2;
    min-height: 100%;
  }

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

  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .header-inner {
    min-height: 88px;
  }

  .story-link {
    font-size: 0.92rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }

  .btn,
  .hero-actions {
    width: 100%;
  }

  .channel-card-with-image {
    grid-template-columns: 1fr;
  }

  .channel-card-with-image .channel-kicker,
  .channel-card-with-image .channel-title,
  .channel-card-with-image .channel-text,
  .channel-card-with-image .channel-cta,
  .channel-card-with-image .channel-subtitle {
    grid-column: 1;
  }

  .channel-image {
    grid-row: auto;
  }
}
