:root {
  --bg: #f3eee2;
  --surface: rgba(255, 251, 245, 0.86);
  --surface-strong: #fffaf0;
  --ink: #13232f;
  --muted: #52606c;
  --line: rgba(19, 35, 47, 0.12);
  --sea: #0f7c82;
  --sea-deep: #114b5f;
  --sand: #dfb66f;
  --coral: #d86b4f;
  --shadow: 0 24px 80px rgba(17, 75, 95, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 107, 79, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 124, 130, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 58%, #efe5d3 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(16px);
}

body::before {
  top: 88px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(15, 124, 130, 0.1);
}

body::after {
  left: -80px;
  bottom: 160px;
  width: 260px;
  height: 260px;
  background: rgba(223, 182, 111, 0.16);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero,
.ebook-section,
.gallery-section,
.news-grid,
.regions-section,
.essentials-section,
.agenda-section,
.newsletter-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.site-header,
.site-footer,
.hero,
.ebook-section,
.gallery-section,
.regions-section,
.essentials-section,
.agenda-section,
.newsletter-section {
  border-radius: var(--radius-xl);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 24px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--sea), var(--sea-deep));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.brand strong,
.hero h1,
.section-heading h2,
.feature-card h3,
.mini-card h3,
.essential-card h3,
.agenda-item h3,
.hero-panel h2,
.newsletter-section h2 {
  font-family: "Fraunces", serif;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.84rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.ebook-toggle,
.lang-picker select {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font: inherit;
}

.ebook-toggle {
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.lang-picker select {
  padding: 0 12px;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.feature-card a:hover,
.feature-card a:focus-visible {
  color: var(--sea-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.82fr);
  gap: 22px;
  padding: 36px;
  margin-bottom: 18px;
}

.hero::after,
.newsletter-section::after,
.regions-section::before {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  opacity: 0.85;
}

.hero::after {
  right: -30px;
  bottom: -34px;
  width: 240px;
  height: 140px;
  background:
    radial-gradient(circle at 14% 50%, transparent 26px, rgba(15, 124, 130, 0.14) 27px, rgba(15, 124, 130, 0.14) 35px, transparent 36px),
    radial-gradient(circle at 40% 64%, transparent 26px, rgba(15, 124, 130, 0.12) 27px, rgba(15, 124, 130, 0.12) 35px, transparent 36px),
    radial-gradient(circle at 66% 50%, transparent 26px, rgba(15, 124, 130, 0.1) 27px, rgba(15, 124, 130, 0.1) 35px, transparent 36px);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--coral);
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.7rem, 4.4vw, 5.1rem);
  line-height: 0.95;
}

.hero-text,
.section-copy,
.hero-panel p,
.feature-card p,
.mini-card p,
.essential-card p,
.agenda-item p,
.newsletter-section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--sea-deep), var(--sea));
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.hero-stats div,
.hero-panel,
.feature-card,
.mini-card,
.essential-card,
.agenda-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.hero-stats div {
  padding: 16px;
  border-radius: var(--radius-md);
}

.hero-stats dt {
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-stats dd {
  margin: 0;
  font-weight: 800;
}

.hero-panel {
  align-self: stretch;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(15, 124, 130, 0.1), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.56);
}

.panel-label,
.card-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.panel-label {
  color: var(--sea-deep);
  background: rgba(255, 255, 255, 0.78);
}

.hero-panel h2,
.section-heading h2,
.newsletter-section h2 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.panel-list {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.panel-list li + li {
  margin-top: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  padding: 30px;
  margin-bottom: 18px;
  border-radius: var(--radius-xl);
}

.ebook-section {
  padding: 30px;
  margin-bottom: 18px;
}

.gallery-section {
  padding: 30px;
  margin-bottom: 18px;
}

.ebook-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.chapter-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.chapter-number {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-deep);
  background: rgba(19, 35, 47, 0.08);
}

.chapter-card h3 {
  margin: 16px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
}

.chapter-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.gallery-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.9), rgba(239, 229, 211, 0.7));
}

.gallery-card figcaption {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.gallery-card strong {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.gallery-card span {
  color: var(--muted);
  line-height: 1.65;
}

.gallery-card small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading {
  grid-column: 1 / -1;
}

.section-heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.feature-card h3,
.mini-card h3,
.essential-card h3,
.agenda-item h3 {
  margin: 0;
}

.card-accent {
  background:
    linear-gradient(160deg, rgba(17, 75, 95, 0.96), rgba(15, 124, 130, 0.76)),
    var(--sea-deep);
  color: #fff;
}

.card-accent p,
.card-accent a,
.card-accent .card-tag {
  color: rgba(255, 255, 255, 0.9);
}

.feature-card,
.mini-card,
.essential-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-card {
  min-height: 100%;
}

.feature-card a {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
  text-decoration: none;
}

.card-tag {
  background: rgba(19, 35, 47, 0.08);
  color: var(--sea-deep);
}

.card-accent .card-tag {
  background: rgba(255, 255, 255, 0.16);
}

.feature-card h3,
.mini-card h3,
.essential-card h3 {
  margin-top: 18px;
  font-size: 1.5rem;
}

.regions-section,
.essentials-section,
.agenda-section,
.newsletter-section,
.ebook-section,
.gallery-section,
.site-footer {
  padding: 30px;
  margin-bottom: 18px;
}

.regions-section::before {
  top: 18px;
  right: 18px;
  width: 180px;
  height: 180px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(223, 182, 111, 0.2), transparent 64%);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  transform: translateY(-1px);
  background: var(--sea-deep);
  color: #fff;
}

.article-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(17, 75, 95, 0.12);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.article-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.article-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--sea-deep);
  text-decoration: none;
}

.article-layout {
  margin-bottom: 18px;
}

.article-page {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.article-page h1,
.article-page h2 {
  font-family: "Fraunces", serif;
  margin: 0;
}

.article-page h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1;
  max-width: 18ch;
}

.article-page h2 {
  margin-top: 30px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.article-page p {
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 78ch;
}

.article-page .button {
  margin-top: 28px;
}

.essentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.agenda-list {
  display: grid;
  gap: 14px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
}

.agenda-item span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(17, 75, 95, 0.12), rgba(15, 124, 130, 0.22));
  font-weight: 800;
  color: var(--sea-deep);
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: center;
}

.newsletter-section::after {
  top: -50px;
  right: -24px;
  width: 200px;
  height: 200px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(216, 107, 79, 0.16), transparent 68%);
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form input,
.newsletter-form button {
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid var(--line);
  font: inherit;
}

.newsletter-form input {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.78);
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--coral), #c55539);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 0;
}

.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;
}

body.ebook-mode {
  background:
    radial-gradient(circle at top left, rgba(223, 182, 111, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(17, 75, 95, 0.18), transparent 26%),
    linear-gradient(180deg, #f6f0df 0%, #efe4cd 56%, #e9dcc3 100%);
}

body.ebook-mode .hero,
body.ebook-mode .ebook-section,
body.ebook-mode .gallery-section,
body.ebook-mode .news-grid,
body.ebook-mode .regions-section,
body.ebook-mode .essentials-section,
body.ebook-mode .agenda-section,
body.ebook-mode .newsletter-section,
body.ebook-mode .site-footer {
  background:
    linear-gradient(180deg, rgba(255, 251, 240, 0.94), rgba(255, 248, 234, 0.9)),
    var(--surface);
  border-color: rgba(90, 72, 38, 0.18);
  box-shadow: 0 14px 40px rgba(90, 72, 38, 0.1);
}

body.ebook-mode .hero h1,
body.ebook-mode .section-heading h2,
body.ebook-mode .chapter-card h3 {
  max-width: 18ch;
}

@media (max-width: 1080px) {
  .hero,
  .ebook-chapters,
  .gallery-grid,
  .newsletter-section,
  .news-grid,
  .article-feed,
  .essentials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy,
  .hero-panel,
  .section-heading,
  .feature-card,
  .newsletter-section > * {
    grid-column: 1 / -1;
  }

  .mini-card:last-child,
  .essential-card:last-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .site-header,
  .hero,
  .ebook-section,
  .gallery-section,
  .news-grid,
  .regions-section,
  .essentials-section,
  .agenda-section,
  .newsletter-section,
  .site-footer,
  .article-page {
    padding: 22px;
  }

  .site-header,
  .section-heading-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-tools {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-stats,
  .ebook-chapters,
  .gallery-grid,
  .news-grid,
  .article-feed,
  .essentials-grid,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .agenda-item {
    grid-template-columns: 1fr;
  }

  .agenda-item span {
    width: 46px;
    height: 46px;
  }
}