:root {
  --ink: #1a2b2e;
  --teal: #0f5c63;
  --teal-deep: #0a3d42;
  --sand: #e8dcc8;
  --sand-light: #f6f0e6;
  --cream: #fbf7f0;
  --accent: #c45c26;
  --muted: #5c6b6e;
  --line: rgba(15, 92, 99, 0.15);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(15, 92, 99, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 92, 38, 0.06), transparent),
    var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { width: min(1120px, 92%); margin-inline: auto; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.lang a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0.6rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.lang a.active {
  background: var(--teal);
  color: #fff;
}

.site-header {
  padding: 1.25rem 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--teal); }

.hero {
  margin-top: 1.5rem;
  position: relative;
  min-height: min(78vh, 640px);
  border-radius: 0;
  overflow: hidden;
  background: var(--teal-deep);
}
.hero img {
  width: 100%;
  height: min(78vh, 640px);
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.02);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-1.5%); }
}
.hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(transparent, rgba(10, 61, 66, 0.92) 45%);
  color: #fff;
  max-width: 720px;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.hero-copy p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 38ch;
  margin-bottom: 1.25rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sand); color: var(--teal-deep); }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }

.disclaimer {
  margin: 1.25rem auto 0;
  width: min(1120px, 92%);
  padding: 0.85rem 1rem;
  background: var(--sand-light);
  border-left: 3px solid var(--accent);
  font-size: 0.88rem;
  color: var(--muted);
}

.magazine {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  margin: 3rem auto;
  width: min(1120px, 92%);
}
@media (max-width: 860px) {
  .magazine { grid-template-columns: 1fr; }
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.lead h2, .article h1, .page h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--teal-deep);
}
.lead p, .prose p { margin-bottom: 1rem; color: var(--ink); }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  color: var(--teal-deep);
}
.prose h3 { margin: 1.4rem 0 0.5rem; font-size: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-top: 3px solid var(--teal);
  box-shadow: 0 1px 0 var(--line);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 92, 99, 0.1);
}
.feature h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
  color: var(--teal-deep);
}
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.side-panel {
  position: sticky;
  top: 1.25rem;
  align-self: start;
}
.toc {
  background: #fff;
  padding: 1.25rem;
  border: 1px solid var(--line);
}
.toc h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--muted);
}
.toc ol { margin-left: 1.1rem; }
.toc a { text-decoration: none; color: var(--ink); font-size: 0.92rem; }
.toc li { margin-bottom: 0.55rem; }

.ad-note {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--sand-light);
  font-size: 0.85rem;
  color: var(--muted);
}
.ad-note strong { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem auto;
  width: min(1120px, 92%);
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { width: 100%; }

.quote-band {
  margin: 3rem 0;
  padding: 2.5rem 0;
  background: var(--teal-deep);
  color: #fff;
}
.quote-band blockquote {
  width: min(780px, 90%);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  font-style: italic;
}
.quote-band cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.75;
}

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 520px;
}
.form label { font-weight: 600; font-size: 0.92rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}
.form button {
  justify-self: start;
  cursor: pointer;
  background: var(--teal);
  color: #fff;
  border: 0;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
}

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
}
.site-footer a { color: var(--sand); }
.footer-grid {
  width: min(1120px, 92%);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: var(--serif);
  margin-bottom: 0.75rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.page { width: min(800px, 92%); margin: 2.5rem auto 3rem; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { text-decoration: none; }
