@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f4efe6;
  --bg-soft: #ede4d8;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --text: #1d1916;
  --muted: #6f655d;
  --line: rgba(29, 25, 22, 0.12);
  --accent: #b45f29;
  --accent-deep: #8f471c;
  --sage: #7d8771;
  --shadow: 0 24px 70px rgba(38, 30, 24, 0.12);
  --radius: 28px;
  --wrapper: min(1180px, calc(100vw - 40px));
  --copy: min(720px, 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(180, 95, 41, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f1e9 0%, #f0e8dc 44%, #f4efe6 100%);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

body:not(.home-page) main {
  padding-top: 104px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #d28c56 100%);
  z-index: 120;
  transition: width 0.15s linear;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
body:not(.home-page) .site-header {
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}

.header-inner {
  width: var(--wrapper);
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(29, 25, 22, 0.08);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 0;
  background: rgba(29, 25, 22, 0.08);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.96rem;
  color: rgba(29, 25, 22, 0.76);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-deep);
}

.nav-links .nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(29, 25, 22, 0.08);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 132px 0 72px;
  color: #fff8f2;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(14, 12, 10, 0.36), rgba(14, 12, 10, 0.54)), var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 9, 7, 0.48) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--wrapper);
  margin: 0 auto;
  min-height: calc(100svh - 204px);
  display: grid;
  align-items: end;
  gap: 40px;
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 242, 0.22);
  background: rgba(255, 248, 242, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.article-hero h1 {
  margin: 20px 0 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  max-width: 600px;
  font-size: 1.1rem;
  color: rgba(255, 248, 242, 0.84);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff9f4;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
}

.button-secondary {
  color: #fff9f4;
  border-color: rgba(255, 248, 242, 0.32);
  background: rgba(255, 248, 242, 0.08);
}

.button-tertiary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-note {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 248, 242, 0.08);
  border: 1px solid rgba(255, 248, 242, 0.18);
  backdrop-filter: blur(8px);
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 242, 0.72);
}

.section {
  padding: 84px 0;
}

.section-inner {
  width: var(--wrapper);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.page-hero h1,
.article-hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-head p,
.page-hero p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-led {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 28px;
}

.feature-story,
.insight-panel,
.cta-panel,
.policy-panel,
.archive-item,
.detail-panel,
.contact-panel,
.sidebar-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.feature-story {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
}

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

.feature-copy {
  padding: 28px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.feature-copy h3,
.split-story h3,
.archive-item h3,
.article-card h3,
.contact-panel h3,
.policy-panel h3 {
  margin: 14px 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.feature-copy p,
.split-story p,
.archive-item p,
.article-card p,
.policy-panel p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.insight-panel,
.cta-panel,
.policy-panel,
.detail-panel,
.contact-panel,
.sidebar-panel {
  border-radius: var(--radius);
  padding: 28px;
}

.pill-list,
.story-tags,
.link-list,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.pill-list li,
.story-tags li,
.filter-btn {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(29, 25, 22, 0.05);
  color: var(--text);
  font-size: 0.86rem;
}

.story-tags li {
  background: rgba(180, 95, 41, 0.12);
  color: var(--accent-deep);
}

.split-grid,
.policy-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.split-story {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.split-story img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-story-copy {
  padding: 24px;
}

.story-stream {
  display: grid;
  gap: 20px;
}

.home-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-metrics span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.1);
  border: 1px solid rgba(255, 248, 242, 0.18);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-list,
.topic-links,
.editorial-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compact-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.compact-list li,
.editorial-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.compact-list li:first-child,
.editorial-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.compact-list a,
.topic-links a,
.editorial-item a {
  color: inherit;
}

.compact-list h3,
.editorial-item h3 {
  margin: 8px 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.compact-list p,
.editorial-item p {
  margin: 0;
  color: var(--muted);
}

.topic-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.topic-links a {
  color: var(--accent-deep);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.story-entry {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.story-entry:first-child {
  border-top: 0;
  padding-top: 0;
}

.story-entry .story-index {
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.story-entry h3 {
  margin: 4px 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.story-entry p {
  margin: 0;
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 24px;
  align-items: start;
}

.page-hero,
.article-hero {
  width: var(--wrapper);
  margin: 0 auto;
}

.page-hero {
  padding: 24px 0 34px;
}

.page-hero .eyebrow,
.article-hero .eyebrow {
  background: rgba(180, 95, 41, 0.08);
  color: var(--accent-deep);
  border-color: rgba(180, 95, 41, 0.14);
}

.archive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 30px;
}

.filter-btn {
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.is-active {
  background: rgba(180, 95, 41, 0.14);
  border-color: rgba(180, 95, 41, 0.24);
  color: var(--accent-deep);
}

.archive-list {
  display: grid;
  gap: 20px;
}

.archive-item {
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  gap: 22px;
  align-items: center;
}

.archive-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
}

.archive-item.is-hidden {
  display: none;
}

.info-stack {
  display: grid;
  gap: 18px;
}

.policy-panel strong,
.contact-panel strong,
.sidebar-panel strong,
.detail-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.site-footer {
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: var(--wrapper);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.footer-top,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-shell {
  width: var(--wrapper);
  margin: 0 auto;
  padding-bottom: 84px;
}

.article-hero {
  padding: 8px 0 28px;
}

.article-hero figure {
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
}

.article-body {
  max-width: var(--copy);
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3 {
  margin: 36px 0 14px;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-body h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.article-body h3 {
  font-size: 1.42rem;
}

.article-body p,
.article-body li {
  color: #3f3833;
  font-size: 1.02rem;
}

.article-body ul {
  padding-left: 22px;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(180, 95, 41, 0.08);
  border-radius: 0 18px 18px 0;
  color: #3f3833;
}

.article-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 110px;
}

.key-points {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.key-points li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}

.related-links a {
  color: var(--accent-deep);
}

.field {
  display: grid;
  gap: 10px;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(29, 25, 22, 0.14);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

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

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(380px, calc(100vw - 32px));
  padding: 18px 18px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(29, 25, 22, 0.92);
  color: #f8f0e8;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  z-index: 110;
}

.cookie-banner p {
  margin: 10px 0 0;
  color: rgba(248, 240, 232, 0.8);
  font-size: 0.94rem;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner .button-secondary {
  border-color: rgba(248, 240, 232, 0.2);
}

.small-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 980px) {
  .hero-notes,
  .feature-led,
  .section-head,
  .trust-band,
  .article-layout,
  .archive-item,
  .split-grid,
  .editorial-grid,
  .policy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .story-entry {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body:not(.home-page) main {
    padding-top: 92px;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 72px 20px auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 24px;
    background: rgba(244, 239, 230, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .hero {
    padding-top: 110px;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .feature-copy,
  .insight-panel,
  .cta-panel,
  .policy-panel,
  .detail-panel,
  .contact-panel,
  .sidebar-panel,
  .archive-item {
    padding: 22px;
  }
}
