:root {
  --ink: #10231f;
  --ink-2: #183c35;
  --paper: #f7f4ec;
  --paper-2: #eee7d8;
  --white: #ffffff;
  --muted: #64716d;
  --line: #d9d2c6;
  --red: #b4252d;
  --blue: #214f8e;
  --gold: #c89d35;
  --shadow: 0 18px 40px rgba(16, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-150%);
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(16, 35, 31, 0.82);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  color: var(--ink);
  border-bottom-color: rgba(16, 35, 31, 0.1);
  background: rgba(247, 244, 236, 0.94);
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-style: normal;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.58);
}

.brand strong,
.footer-brand span {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 0.76rem;
  line-height: 1.3;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled .site-nav a:hover {
  background: rgba(16, 35, 31, 0.07);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--red);
}

.site-nav .nav-cta:hover {
  background: #9d1f26;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 14, 17, 0.86) 0%, rgba(7, 14, 17, 0.68) 42%, rgba(7, 14, 17, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 14, 17, 0.78) 0%, rgba(7, 14, 17, 0.12) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 108px 0 56px;
}

.eyebrow,
.section-kicker,
.gallery-card span,
.activity-list span,
.news-card span,
.contact-panel span,
.pillars span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 16px;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: 3.45rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button-primary:hover {
  background: #9d1f26;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
}

.button-light {
  color: var(--ink);
  border-color: rgba(16, 35, 31, 0.2);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 44px 0 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 14, 17, 0.38);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.section {
  padding: 88px 0;
}

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

.intro-grid,
.activity-head,
.section-heading,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-copy h2 {
  margin: 12px 0 0;
  font-size: 2.3rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy p,
.intro-text p,
.activity-head > p,
.contact-grid > .section-copy > p {
  margin-top: 0;
  color: var(--muted);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.pillars article,
.news-card,
.gallery-card,
.contact-panel,
.activity-list article,
.activity-list .activity-card {
  border: 1px solid rgba(16, 35, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(16, 35, 31, 0.06);
}

.pillars article {
  min-height: 230px;
  padding: 22px;
}

.pillars h3,
.activity-list h3,
.news-card h3,
.feature-story h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.pillars p,
.activity-list p,
.news-card p,
.feature-story p {
  margin: 0;
  color: var(--muted);
}

.activity {
  color: var(--white);
  background: var(--ink);
}

.activity .section-copy h2,
.activity .activity-head > p {
  color: var(--white);
}

.activity .activity-head > p {
  opacity: 0.75;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 18px;
  margin-top: 46px;
}

.feature-story {
  overflow: hidden;
  border-radius: 8px;
  background: #0b1715;
}

.feature-story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-story div {
  padding: 28px;
}

.feature-story .text-link {
  margin-top: 18px;
}

.activity-list {
  display: grid;
  gap: 14px;
}

.activity-list article,
.activity-list .activity-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  color: var(--ink);
}

.activity-list img {
  width: 116px;
  height: 116px;
  border-radius: 6px;
  object-fit: cover;
}

.activity-list h3 {
  font-size: 1rem;
}

.gallery-section,
.contact-section {
  background: var(--paper-2);
}

.section-heading {
  align-items: end;
}

.section-heading .text-link {
  justify-self: end;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.gallery-card {
  overflow: hidden;
  min-height: 310px;
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(16, 35, 31, 0.12);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-card-img-focus {
  object-position: center 22%;
}

.gallery-card span,
.gallery-card strong {
  margin-inline: 16px;
}

.gallery-card span {
  margin-top: 16px;
}

.gallery-card strong {
  display: block;
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.24;
}

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

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.news-card {
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 24%;
}

.news-card div {
  padding: 22px;
}

.contact-section {
  border-top: 1px solid rgba(16, 35, 31, 0.08);
}

.contact-panel {
  display: grid;
  gap: 20px;
  padding: 28px;
  font-style: normal;
}

.contact-panel strong,
.contact-panel a {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.contact-panel a:not(.button) {
  color: var(--blue);
}

.contact-actions {
  margin-top: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 24px;
  height: 2px;
  margin-left: 10px;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 34px;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #0a1714;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(16, 35, 31, 0.12);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  .site-header.is-scrolled .site-nav a {
    min-height: 48px;
    color: var(--ink);
  }

  .site-nav a:hover,
  .site-header.is-scrolled .site-nav a:hover {
    background: rgba(16, 35, 31, 0.06);
  }

  .site-nav .nav-cta {
    color: var(--white);
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats div:first-child {
    padding-top: 0;
  }

  .hero-stats div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .intro-grid,
  .activity-head,
  .section-heading,
  .contact-grid,
  .activity-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading .text-link {
    justify-self: start;
  }

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

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    inset: 70px 12px auto 12px;
  }

  .hero {
    display: flex;
    align-items: flex-end;
    min-height: calc(100svh - 104px);
    color: var(--ink);
    background: var(--ink);
    isolation: isolate;
  }

  .hero .container {
    width: min(100% - 32px, 1120px);
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 70%;
    background: var(--paper);
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-media {
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;
    display: block;
    height: min(44%, 75vw);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  }

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

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(7, 14, 17, 0.08) 0%, rgba(7, 14, 17, 0.58) 100%),
      linear-gradient(90deg, rgba(180, 37, 45, 0.22) 0%, rgba(200, 157, 53, 0.14) 46%, rgba(33, 79, 142, 0.2) 100%);
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    z-index: 2;
    margin-top: 0;
    padding: 0;
    transform: translateY(18px);
  }

  .hero h1 {
    color: var(--ink);
    font-size: 2.16rem;
    line-height: 1.04;
  }

  .hero-lead {
    margin-top: 18px;
    padding-left: 14px;
    border-left: 3px solid var(--gold);
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .eyebrow {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 18px;
    padding: 8px 10px;
    color: var(--white);
    background: var(--red);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(16, 35, 31, 0.22);
  }

  .eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: auto;
  }

  .contact-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    min-height: 48px;
    padding-inline: 10px;
    font-size: 0.9rem;
    text-align: center;
  }

  .hero-actions .button-secondary {
    color: var(--ink);
    border-color: rgba(16, 35, 31, 0.18);
    background: rgba(255, 255, 255, 0.48);
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% + 32px);
    max-width: none;
    gap: 0;
    margin: 26px -16px 0;
    padding: 17px 12px 19px;
    border: 0;
    border-radius: 0;
    color: var(--white);
    background: var(--ink);
    box-shadow: inset 0 3px 0 var(--gold);
    backdrop-filter: none;
  }

  .hero-stats div,
  .hero-stats div:first-child,
  .hero-stats div:last-child {
    padding: 0 8px;
    border-bottom: 0;
  }

  .hero-stats div {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats div:last-child {
    border-right: 0;
  }

  .hero-stats dt {
    color: var(--white);
    font-size: 1.36rem;
  }

  .hero-stats dd {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .section {
    padding: 64px 0;
  }

  .section-copy h2 {
    font-size: 1.8rem;
  }

  .pillars,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .activity-list article,
  .activity-list .activity-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .activity-list img {
    width: 92px;
    height: 92px;
  }

  .feature-story div,
  .contact-panel,
  .news-card div {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: calc(100svh - 96px);
  }

  .hero::before {
    height: 86%;
  }

  .hero-media {
    height: 75vw;
  }

  .eyebrow {
    margin-bottom: 12px;
    padding: 7px 9px;
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: 1.82rem;
    line-height: 1.03;
  }

  .hero-lead {
    margin-top: 14px;
    padding-left: 11px;
    font-size: 0.88rem;
    line-height: 1.44;
  }

  .hero-actions {
    gap: 7px;
    margin-top: 18px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 0.8rem;
  }

  .hero-stats {
    margin-top: 22px;
    padding: 14px 12px 16px;
  }

  .hero-stats div,
  .hero-stats div:first-child,
  .hero-stats div:last-child {
    padding: 0 6px;
  }

  .hero-stats dt {
    font-size: 1.16rem;
  }

  .hero-stats dd {
    font-size: 0.6rem;
  }
}

@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;
  }
}
