:root {
  --ink: #10231d;
  --ink-2: #20382f;
  --pine: #0c241d;
  --pine-2: #14352b;
  --gold: #c49b55;
  --sand: #eee7d9;
  --paper: #fbf8ef;
  --line: rgba(32, 56, 47, 0.16);
  --shadow: 0 24px 70px rgba(16, 35, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 7vw;
  color: #fff9ea;
  background: linear-gradient(90deg, #0a1d17, #142c24);
  box-shadow: 0 12px 30px rgba(10, 29, 23, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(78px, 7.6vw, 108px);
  height: 50px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.brand-name {
  display: inline-block;
  transform: translateY(1px);
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
}

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

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 30px);
  font-size: 0.82rem;
  font-weight: 650;
}

.main-nav a {
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(196, 155, 85, 0.42);
  border-radius: 999px;
}

.language-switch button,
.nav-toggle {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.language-switch button {
  min-width: 42px;
  min-height: 30px;
  border-radius: 999px;
  color: #f7eddc;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-switch button.active {
  color: #0b211a;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  justify-self: end;
  font-size: 1.55rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 9vh 7vw;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 248, 239, 0.98) 0%, rgba(251, 248, 239, 0.72) 39%, rgba(251, 248, 239, 0.1) 78%),
    linear-gradient(180deg, rgba(16, 35, 29, 0) 70%, rgba(16, 35, 29, 0.74) 100%),
    url("assets/hero-mountains.png") center / cover no-repeat;
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8d6b34;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

h2 {
  font-size: clamp(2.7rem, 4.5vw, 5.2rem);
}

h3 {
  margin: 0;
  font-size: 1rem;
}

p {
  line-height: 1.72;
}

.hero-content p:not(.eyebrow),
.section-copy p,
.section-heading p,
.work-hero p,
.heritage p,
.resources p {
  max-width: 610px;
  color: #233b32;
  font-size: 1rem;
}

.actions,
.tabs,
.site-footer form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(16, 35, 29, 0.28);
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #fff8e9;
  background: var(--pine);
  border-color: var(--pine);
}

.button.secondary {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.24);
}

.button.muted {
  color: #533b1f;
  background: #dfcfaa;
  border-color: #dfcfaa;
}

.button.centered {
  width: max-content;
  margin: 24px auto 0;
}

.unesco-card {
  position: absolute;
  right: 7vw;
  bottom: 8vh;
  width: min(250px, 24vw);
  padding: 34px 28px;
  color: #fff7e4;
  text-align: center;
  background: rgba(10, 29, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.unesco-logo {
  width: 88px;
  height: auto;
  margin: 0 auto 14px;
  filter: invert(1) sepia(1) saturate(0.35) hue-rotate(350deg) brightness(1.18);
  opacity: 0.96;
}

.unesco-card strong,
.unesco-card p {
  display: block;
  margin: 10px 0 0;
}

.pillar-strip,
.quote-band,
.site-footer {
  color: #fff7e7;
  background: linear-gradient(90deg, #0a211a, #17382e);
}

.pillar-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 44px 7vw 40px;
}

.pillar-strip article,
.article-grid article {
  text-align: center;
}

.pillar-strip article {
  min-height: 150px;
  padding: 0 28px;
  border-right: 1px solid rgba(196, 155, 85, 0.45);
}

.pillar-strip article:last-child {
  border-right: 0;
}

.line-icon,
.work-grid span,
.article-grid span {
  display: block;
  color: var(--gold);
  font-size: 2.55rem;
  line-height: 1;
}

.pillar-strip h2 {
  margin-top: 18px;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.pillar-strip p,
.article-grid p {
  color: rgba(255, 247, 231, 0.82);
  font-size: 0.84rem;
}

.heritage,
.split-section,
.work-section,
.publications,
.magazine,
.resources {
  padding: clamp(64px, 8vw, 118px) 7vw;
}

.heritage {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.45fr) minmax(230px, 0.8fr);
  align-items: center;
  gap: 46px;
  background: linear-gradient(110deg, #fbf7eb, #eee4cf);
}

.map-panel {
  width: 100%;
  padding: clamp(10px, 1.6vw, 18px);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 250, 236, 0) 54%, rgba(251, 248, 239, 0.76) 86%, rgba(251, 248, 239, 0.96) 100%),
    linear-gradient(135deg, rgba(221, 205, 173, 0.58), rgba(255, 251, 241, 0.22));
  border: 1px solid rgba(151, 120, 73, 0.16);
  border-radius: 7px;
  box-shadow:
    inset 0 0 70px rgba(255, 255, 255, 0.58),
    0 22px 56px rgba(93, 70, 39, 0.08);
}

.map-panel img {
  width: 100%;
  border-radius: 5px;
  mix-blend-mode: multiply;
  opacity: 0.95;
  filter: sepia(0.16) saturate(0.9) contrast(1.04);
}

.heritage blockquote {
  margin: 0;
  color: #1d2f28;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  line-height: 1.22;
  text-align: center;
}

.heritage blockquote small {
  display: block;
  margin-top: 20px;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.split-section,
.work-hero,
.magazine {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 72px;
}

.split-section img,
.work-hero img {
  width: 100%;
  height: min(44vw, 520px);
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 38px 7vw;
  background: #eee4d0;
  border-block: 1px solid var(--line);
}

.stats article {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-right: 1px solid rgba(107, 82, 44, 0.23);
  text-align: center;
}

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

.stats strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.8rem;
}

.stats span {
  font-size: 0.82rem;
}

.quote-band {
  padding: 32px 7vw;
  text-align: center;
}

.quote-band p {
  margin: 0 auto;
  max-width: 920px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.quote-band p::before,
.quote-band p::after {
  color: var(--gold);
  font-size: 2.8rem;
  line-height: 0;
}

.quote-band p::before {
  content: "“";
  margin-right: 16px;
}

.quote-band p::after {
  content: "”";
  margin-left: 16px;
}

.work-section {
  background: linear-gradient(110deg, #f8f3e7 0%, #f3ecd9 52%, #e5ddca 100%);
}

.work-hero {
  margin-bottom: 52px;
}

.work-hero img {
  height: min(38vw, 460px);
  filter: sepia(0.16) saturate(0.78);
}

.work-grid,
.article-grid,
.book-grid {
  display: grid;
  gap: 22px;
}

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

.work-grid article,
.book,
.article-grid article {
  min-height: 240px;
  padding: 32px 26px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(32, 56, 47, 0.11);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 35, 29, 0.08);
}

.work-grid h3,
.article-grid h3 {
  margin: 18px 0 8px;
}

.work-grid p,
.book p {
  color: #3b4e46;
  font-size: 0.86rem;
}

.publications {
  background: #fbf8ef;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.tabs {
  margin-bottom: 30px;
}

.tabs button {
  min-height: 36px;
  padding: 0 18px;
  color: #243a32;
  background: #f2eadc;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
}

.tabs button.active {
  color: #fff8ea;
  background: var(--pine);
}

.book-grid {
  grid-template-columns: repeat(4, 1fr);
}

.book {
  min-height: 0;
  background: transparent;
  box-shadow: none;
}

.cover {
  display: grid;
  width: 100%;
  aspect-ratio: 0.72;
  place-items: center;
  padding: 24px;
  color: #f7ead4;
  border-radius: 3px;
  box-shadow: 0 18px 34px rgba(16, 35, 29, 0.22);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.08;
  text-align: center;
}

.cover.maroon { background: linear-gradient(155deg, #603048, #321927); }
.cover.green { background: linear-gradient(155deg, #315e45, #172b21); }
.cover.ochre { background: linear-gradient(155deg, #9d724e, #443225); }
.cover.black { background: linear-gradient(155deg, #2d2a25, #10100f); }

.book h3 {
  margin-top: 18px;
  line-height: 1.45;
}

.resource-publication {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(32, 56, 47, 0.14);
  border-radius: 8px;
}

.resource-publication h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.2rem, 1.7vw, 1.58rem);
  line-height: 1.18;
}

.resource-publication p {
  margin: 0 0 18px;
  line-height: 1.65;
}

.resource-badge {
  width: fit-content;
  padding: 7px 10px;
  color: #fff8ea;
  background: var(--pine);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-publication dl {
  display: grid;
  gap: 10px;
  margin: auto 0 22px;
}

.resource-publication dl div {
  display: grid;
  gap: 2px;
}

.resource-publication dt {
  color: #7b6952;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-publication dd {
  margin: 0;
  color: #1f352d;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.section-link {
  color: #8c6a36;
  font-weight: 800;
  text-decoration: none;
}

.section-link:hover {
  color: #0b241c;
}

.magazine {
  background: linear-gradient(110deg, #fbf8ef 0%, #efe4cf 100%);
  overflow: hidden;
}

.magazine-stack {
  position: relative;
  min-height: 430px;
}

.issue {
  position: absolute;
  inset: 10% auto auto 18%;
  width: min(315px, 58vw);
  aspect-ratio: 0.73;
  background: #f6f1e5;
  border: 1px solid #d2c1a0;
  box-shadow: 0 26px 55px rgba(16, 35, 29, 0.2);
}

.issue.back { transform: translate(66px, 16px) rotate(8deg); }
.issue.mid { transform: translate(35px, 3px) rotate(3deg); }
.issue.front {
  padding: 0;
  transform: rotate(-7deg);
  overflow: hidden;
}

.issue.front .real-magazine-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-grid {
  grid-template-columns: repeat(4, 1fr);
  padding: 50px 7vw;
  background: #eee4d0;
}

.article-grid article {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(107, 82, 44, 0.22);
  border-radius: 0;
  box-shadow: none;
}

.article-grid article:last-child {
  border-right: 0;
}

.article-grid p {
  color: #40534a;
}

.resources {
  text-align: center;
}

.resources h2 {
  max-width: 960px;
  margin: 0 auto 34px;
}

.resource-list {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  gap: 12px;
}

.resource-list > a,
.resource-list > span {
  padding: 18px 22px;
  background: #f0e6d1;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 750;
}

.resource-list > a > span,
.resource-list > span > span {
  display: inline;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #40534a;
  font-weight: 500;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 44px;
  align-items: center;
  padding: 76px 7vw;
  background: #f6efe2;
}

.contact-copy {
  max-width: 610px;
}

.contact-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.contact-copy p:not(.eyebrow) {
  color: #34483f;
  font-size: clamp(1.04rem, 1.45vw, 1.24rem);
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  color: #0b241c;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 56, 47, 0.13);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(16, 35, 29, 0.07);
}

.contact-link span {
  color: #8c6a36;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(1.08rem, 1.6vw, 1.36rem);
}

.contact-link:hover {
  border-color: rgba(140, 106, 54, 0.45);
  transform: translateY(-1px);
}

.contact-image {
  margin: 0;
}

.contact-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: center 42%;
  border: 1px solid rgba(32, 56, 47, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(16, 35, 29, 0.16);
}

.contact-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(32, 56, 47, 0.13);
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(16, 35, 29, 0.12);
}

.contact-panel .contact-image img {
  aspect-ratio: 1.8;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #243d34;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #10231d;
  background: #fffaf0;
  border: 1px solid rgba(32, 56, 47, 0.2);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 7vw;
}

.site-footer p {
  margin: 12px 0 0;
  color: rgba(255, 247, 231, 0.82);
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: flex-end;
}

.contact-emails a {
  color: #fff7e8;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 247, 232, 0.45);
}

.contact-emails a:hover {
  color: #d5a94f;
  border-color: #d5a94f;
}

.site-footer input {
  width: min(310px, 68vw);
  min-height: 46px;
  padding: 0 16px;
  color: #fff7e8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(196, 155, 85, 0.6);
  border-radius: 5px;
  font: inherit;
}

.site-footer input::placeholder {
  color: rgba(255, 247, 231, 0.56);
}

.site-footer .button.secondary {
  color: #fff7e8;
  border-color: rgba(196, 155, 85, 0.8);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .brand {
    order: 1;
  }

  .language-switch {
    order: 2;
  }

  .main-nav {
    order: 4;
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 7vw 28px;
    background: #0c241d;
    border-top: 1px solid rgba(196, 155, 85, 0.24);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pillar-strip,
  .work-grid,
  .book-grid,
  .article-grid,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .heritage,
  .split-section,
  .work-hero,
  .magazine,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .unesco-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(320px, 100%);
    margin-top: 36px;
  }

  .magazine-stack {
    min-height: 380px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 70px;
    padding: 0 20px;
    gap: 12px;
  }

  .brand {
    font-size: 1.42rem;
  }

  .brand-logo {
    width: 68px;
    height: 44px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    inset: 70px 0 auto;
  }

  .language-switch button {
    min-width: 36px;
  }

  .hero,
  .heritage,
  .split-section,
  .work-section,
  .publications,
  .magazine,
  .resources,
  .contact-section {
    padding-inline: 22px;
  }

  .hero {
    min-height: auto;
    padding-block: 72px 44px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(251, 248, 239, 0.96) 0%, rgba(251, 248, 239, 0.78) 55%, rgba(16, 35, 29, 0.25) 100%),
      url("assets/hero-mountains.png") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.35rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .pillar-strip,
  .work-grid,
  .book-grid,
  .article-grid,
  .stats {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .pillar-strip article,
  .stats article,
  .article-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(196, 155, 85, 0.32);
  }

  .pillar-strip article:last-child,
  .stats article:last-child,
  .article-grid article:last-child {
    border-bottom: 0;
  }

  .split-section,
  .work-hero,
  .magazine,
  .contact-section {
    gap: 34px;
  }

  .contact-section {
    padding-block: 54px;
  }

  .contact-image img {
    aspect-ratio: 1.25;
  }

  .split-section img,
  .work-hero img {
    height: 330px;
  }

  .heritage {
    gap: 34px;
  }

  .heritage blockquote {
    text-align: left;
  }

  .magazine-stack {
    min-height: 330px;
  }

  .issue {
    inset: 6% auto auto 10%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }
}
