:root {
  --forest-950: #09271c;
  --forest-900: #0d3223;
  --forest-800: #123d2a;
  --forest-700: #1a5338;
  --forest-600: #2d6848;
  --leaf: #7e9a68;
  --gold: #d9ad59;
  --ochre: #b66d35;
  --earth: #865532;
  --cream: #f5f0e4;
  --parchment: #eee3cc;
  --paper: #fbf8f1;
  --ink: #1d251f;
  --muted: #667068;
  --white: #fffef9;
  --border: rgba(29, 37, 31, 0.14);
  --shadow: 0 24px 80px rgba(17, 46, 32, 0.15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest-950);
  border-radius: 6px;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 248, 241, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 35px rgba(12, 38, 26, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand__mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__text small {
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 18px;
  color: var(--forest-950);
  background: var(--gold);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 900px;
  padding: 160px 0 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(15, 58, 39, 0) 60%, rgba(216, 173, 89, 0.1)),
    var(--forest-800);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(30deg, transparent 12%, currentColor 12%, currentColor 13%, transparent 13%, transparent 87%, currentColor 87%, currentColor 88%, transparent 88%),
    linear-gradient(150deg, transparent 12%, currentColor 12%, currentColor 13%, transparent 13%, transparent 87%, currentColor 87%, currentColor 88%, transparent 88%);
  background-size: 90px 52px;
}

.hero__glow {
  position: absolute;
  top: -240px;
  right: -200px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(216, 173, 89, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(216, 173, 89, 0.035), 0 0 0 200px rgba(216, 173, 89, 0.025);
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(470px, 0.86fr);
  align-items: center;
  min-height: 570px;
  gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--forest-700);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.2vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

h1 em,
h2 em {
  color: var(--gold);
  font-weight: 400;
}

.hero__intro {
  max-width: 590px;
  margin-bottom: 38px;
  color: rgba(255, 254, 249, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--primary {
  color: var(--forest-950);
  background: var(--gold);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #e5be70;
}

.text-link {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  padding: 20px 0 70px;
}

.hero__image-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 0.86;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 240px 240px 16px 16px;
}

.hero__image-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 230px 230px 9px 9px;
  background: linear-gradient(180deg, transparent 48%, rgba(8, 29, 20, 0.7));
  pointer-events: none;
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  border-radius: 230px 230px 9px 9px;
}

.hero__badge {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: -54px;
  width: 120px;
  height: 120px;
  padding: 7px;
  background: var(--white);
  border: 8px solid var(--forest-800);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hero__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.hero__caption {
  position: absolute;
  z-index: 4;
  right: -26px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 275px;
  padding: 18px 22px;
  color: var(--forest-950);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero__caption p {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.85rem;
  line-height: 1.45;
}

.hero__caption-line {
  width: 2px;
  height: 42px;
  background: var(--ochre);
}

.identity-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 160px 160px 160px 1fr;
  align-items: stretch;
  min-height: 126px;
  margin-top: 44px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 24px 70px rgba(7, 31, 21, 0.22);
}

.identity-strip > div {
  display: grid;
  align-content: center;
  padding: 20px 28px;
  border-right: 1px solid var(--border);
}

.identity-strip strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.identity-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-strip blockquote {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 24px 38px;
  color: var(--forest-800);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.4;
}

.section {
  padding: 150px 0;
}

.story {
  padding-top: 205px;
  background: var(--paper);
}

.story__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 10vw, 140px);
}

.section-heading h2,
.homeland h2,
.leadership h2,
.beliefs h2,
.closing h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead,
.lead-light {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.45;
}

.lead {
  color: var(--forest-800);
}

.prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 38px;
  color: var(--muted);
}

.clans {
  display: grid;
  grid-template-columns: 250px 1fr;
  margin-top: 95px;
  border-top: 1px solid var(--border);
}

.clans__intro {
  padding: 38px 40px 20px 0;
  border-right: 1px solid var(--border);
}

.number-label {
  color: var(--ochre);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.clans__intro h3 {
  margin: 14px 0 4px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.clans__intro p {
  color: var(--muted);
  font-size: 0.82rem;
}

.clans__list {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 38px 0 0 40px;
}

.clans__list span,
.places span {
  padding: 7px 13px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.homeland {
  padding: 140px 0;
  color: var(--white);
  background: var(--forest-900);
  overflow: hidden;
}

.homeland__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.15fr;
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
}

.homeland__image {
  position: relative;
  min-height: 610px;
}

.homeland__image::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 173, 89, 0.25);
  border-radius: 50%;
}

.homeland__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 260px 260px 0 0;
  filter: saturate(0.78) contrast(1.04);
}

.image-note {
  position: absolute;
  right: -38px;
  bottom: 35px;
  padding: 19px 24px;
  color: var(--forest-950);
  background: var(--gold);
  box-shadow: var(--shadow);
}

.image-note span,
.flag-card small {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-note strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.25;
}

.homeland__content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.7);
}

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 175px;
  padding-right: 12px;
  overflow-y: auto;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.1);
}

.places span {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.flag-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.flag-card img {
  width: 64px;
  height: 42px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.flag-card p {
  display: grid;
  margin: 0;
}

.flag-card small {
  color: var(--gold);
}

.flag-card strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.culture {
  background: var(--cream);
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 80px;
}

.section-heading--split > p {
  margin-bottom: 10px;
  color: var(--muted);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.culture-card {
  min-height: 330px;
  padding: 38px;
  background: var(--paper);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.culture-card--feature {
  display: grid;
  grid-row: span 2;
  grid-template-rows: 1fr auto;
  padding: 0;
}

.culture-card__image {
  min-height: 480px;
  overflow: hidden;
}

.culture-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.culture-card--feature:hover img {
  transform: scale(1.035);
}

.culture-card__copy {
  padding: 34px 38px;
}

.culture-card h3 {
  margin: 50px 0 14px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.1;
}

.culture-card--feature h3 {
  margin-top: 12px;
}

.culture-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.culture-icon {
  float: right;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--forest-700);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.25rem;
}

.culture-card--earth {
  color: var(--white);
  background: var(--ochre);
}

.culture-card--earth .number-label,
.culture-card--earth p {
  color: rgba(255, 255, 255, 0.78);
}

.culture-card--earth .culture-icon {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.culture-card--dark {
  color: var(--white);
  background: var(--forest-800);
}

.culture-card--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.culture-card--dark .culture-icon {
  color: var(--gold);
  border-color: rgba(255, 255, 255, 0.25);
}

.beliefs {
  position: relative;
  padding: 150px 0;
  color: var(--white);
  background: var(--forest-950);
  overflow: hidden;
}

.beliefs__pattern {
  position: absolute;
  top: -270px;
  left: -230px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(216, 173, 89, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(216, 173, 89, 0.025), 0 0 0 150px rgba(216, 173, 89, 0.02);
}

.beliefs__layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(70px, 12vw, 170px);
}

.beliefs h2 {
  color: var(--white);
}

.beliefs__copy > p:not(.lead-light) {
  color: rgba(255, 255, 255, 0.62);
}

.lead-light {
  color: var(--parchment);
}

.beliefs__rituals {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.beliefs__rituals div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.beliefs__rituals span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.beliefs__rituals p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

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

.leadership__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(70px, 10vw, 145px);
}

.leadership__portrait {
  position: relative;
  padding-bottom: 42px;
}

.portrait-arch {
  position: relative;
  aspect-ratio: 0.79;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 250px 250px 6px 6px;
}

.portrait-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 240px 240px 2px 2px;
}

.portrait-caption {
  position: absolute;
  right: -25px;
  bottom: 12px;
  padding: 14px 20px;
  color: var(--cream);
  background: var(--forest-800);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.leadership__copy > p:not(.eyebrow, .lead) {
  color: var(--muted);
}

.leadership__copy .lead {
  margin-top: 32px;
}

.leadership__copy blockquote {
  position: relative;
  margin: 42px 0 0;
  padding: 30px 0 0 55px;
  color: var(--forest-800);
  border-top: 1px solid var(--border);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
}

.leadership__copy blockquote span {
  position: absolute;
  top: 23px;
  left: 0;
  color: var(--gold);
  font-size: 3.6rem;
  line-height: 1;
}

.gallery {
  padding: 145px 0 160px;
  color: var(--white);
  background: var(--forest-800);
}

.gallery__heading h2 {
  color: var(--white);
}

.gallery__heading > p {
  color: rgba(255, 255, 255, 0.65);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-rows: 310px 310px;
  gap: 14px;
  margin-top: 75px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #071d14;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item--wide {
  grid-row: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms ease;
}

.gallery-item--wide img {
  object-position: center;
}

.gallery-item--tall img {
  object-position: 45% center;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 26, 18, 0.82));
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.gallery-item b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: var(--sans);
  font-weight: 400;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  opacity: 0.9;
  transform: scale(1.035);
}

.closing {
  position: relative;
  padding: 145px 0;
  text-align: center;
  background: var(--parchment);
  overflow: hidden;
}

.closing__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at center, transparent 0 31px, rgba(18, 61, 42, 0.17) 32px 33px, transparent 34px);
  background-size: 90px 90px;
  mask-image: linear-gradient(90deg, #000, transparent 35%, transparent 65%, #000);
}

.closing__content {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.closing__content > img {
  width: 112px;
  height: 112px;
  margin-bottom: 30px;
  object-fit: contain;
  background: #fff;
  border: 6px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(34, 67, 45, 0.14);
}

.closing .eyebrow {
  color: var(--forest-700);
}

.closing h2 {
  color: var(--forest-950);
}

.closing h2 em {
  color: var(--ochre);
}

.closing__content > p:not(.eyebrow) {
  max-width: 610px;
  margin: 28px auto 34px;
  color: var(--muted);
}

.button--light {
  color: var(--white);
  background: var(--forest-800);
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--forest-950);
}

.site-footer {
  padding: 70px 0 25px;
  color: rgba(255, 255, 255, 0.75);
  background: #071e15;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  padding-bottom: 55px;
}

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

.footer__top > p {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.footer__top nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.72rem;
  font-weight: 700;
}

.footer__top nav a:hover,
.footer__top nav a:focus-visible {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__bottom p {
  margin: 0;
}

.footer__credit a {
  color: var(--gold);
  border-bottom: 1px solid rgba(217, 173, 89, 0.45);
  transition: color 180ms ease, border-color 180ms ease;
}

.footer__credit a:hover,
.footer__credit a:focus-visible {
  color: var(--white);
  border-color: var(--white);
}

.lightbox {
  width: min(94vw, 1080px);
  max-width: none;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(4, 17, 12, 0.94);
  backdrop-filter: blur(12px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox figcaption {
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-family: var(--serif);
}

.lightbox__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal--delay {
  transition-delay: 120ms;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
  }

  .hero__layout {
    grid-template-columns: 1fr 0.8fr;
    gap: 55px;
  }

  .hero__badge {
    left: -35px;
    width: 100px;
    height: 100px;
  }

  .hero__caption {
    right: -10px;
  }

  .identity-strip {
    grid-template-columns: repeat(3, 135px) 1fr;
  }

  .identity-strip > div {
    padding-inline: 22px;
  }

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

  .culture-card--feature {
    grid-row: span 2;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 280px 280px;
  }

  .gallery-item--wide {
    grid-column: span 2;
    grid-row: auto;
  }

  .gallery-item--tall {
    grid-row: span 2;
  }
}

@media (max-width: 850px) {
  .container {
    width: min(calc(100% - 36px), var(--max));
  }

  .nav-wrap {
    min-height: 78px;
  }

  .menu-toggle {
    z-index: 2;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 120px 10vw 60px;
    color: var(--white);
    background: var(--forest-950);
    transform: translateX(100%);
    transition: transform 260ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 400;
  }

  .site-nav .nav-cta {
    margin-top: 16px;
    color: var(--forest-950);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 800;
  }

  .site-header.is-scrolled .site-nav {
    color: var(--white);
  }

  .hero {
    padding-top: 135px;
  }

  .hero__layout,
  .story__layout,
  .homeland__layout,
  .beliefs__layout,
  .leadership__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__layout {
    gap: 40px;
  }

  .hero__copy {
    position: relative;
    z-index: 5;
    min-width: 0;
  }

  .hero__visual {
    width: min(100%, 540px);
    margin: 0 auto;
  }

  .hero__badge {
    left: -12px;
  }

  .identity-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .identity-strip blockquote {
    grid-column: span 3;
    justify-content: center;
    text-align: center;
    border-top: 1px solid var(--border);
  }

  .section,
  .homeland,
  .beliefs,
  .gallery {
    padding-block: 105px;
  }

  .story {
    padding-top: 155px;
  }

  .story__layout,
  .homeland__layout,
  .beliefs__layout,
  .leadership__layout {
    gap: 55px;
  }

  .clans {
    grid-template-columns: 190px 1fr;
  }

  .homeland__image {
    width: min(100%, 500px);
    min-height: 640px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .leadership__portrait {
    width: min(100%, 520px);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .brand--footer,
  .footer__top nav {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand__mark {
    width: 49px;
    height: 49px;
  }

  .brand__text strong {
    font-size: 0.96rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 13.5vw, 3.55rem);
    overflow-wrap: anywhere;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero__image-frame {
    aspect-ratio: 0.82;
  }

  .hero__caption {
    right: 0;
    bottom: 30px;
    width: 240px;
    padding: 14px 16px;
  }

  .hero__badge {
    width: 88px;
    height: 88px;
  }

  .identity-strip {
    margin-top: 20px;
  }

  .identity-strip > div {
    min-width: 0;
    padding: 18px 9px;
    text-align: center;
  }

  .identity-strip strong {
    font-size: 1.65rem;
  }

  .identity-strip span {
    font-size: 0.52rem;
  }

  .identity-strip blockquote {
    padding: 22px 18px;
    font-size: 1rem;
  }

  .section,
  .homeland,
  .beliefs,
  .gallery {
    padding-block: 82px;
  }

  .story {
    padding-top: 120px;
  }

  .prose-columns {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .clans {
    grid-template-columns: 1fr;
    margin-top: 65px;
  }

  .clans__intro {
    border-right: 0;
  }

  .clans__list {
    padding: 25px 0 0;
    border-top: 1px solid var(--border);
  }

  .homeland__image {
    min-height: 500px;
  }

  .image-note {
    right: -4px;
  }

  .places {
    max-height: 220px;
  }

  .culture-grid {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .culture-card--feature {
    grid-row: auto;
  }

  .culture-card__image {
    min-height: 430px;
  }

  .culture-card {
    min-height: 280px;
  }

  .culture-card h3 {
    margin-top: 30px;
  }

  .beliefs__layout {
    gap: 42px;
  }

  .portrait-caption {
    right: 0;
  }

  .leadership__copy blockquote {
    padding-left: 42px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 310px);
  }

  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .closing {
    padding-block: 90px;
  }

  .footer__bottom {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

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

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
