:root {
  --paper: #f3ebe2;
  --paper-deep: #e8ddd0;
  --cream: #faf6f1;
  --ink: #2a211c;
  --ink-soft: #5e5249;
  --muted: #8a7b70;
  --line: rgba(42, 33, 28, 0.12);
  --line-strong: rgba(42, 33, 28, 0.22);
  --terracotta: #a24b3a;
  --terracotta-dark: #7c3428;
  --gold: #b8956a;
  --gold-soft: #d4c0a4;
  --ok: #4f6b4a;
  --shadow: 0 18px 50px rgba(42, 33, 28, 0.1);
  --radius: 18px;
  --header: 92px;
  --serif: "Fraunces", "Times New Roman", serif;
  --body: "Literata", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.notice {
  position: relative;
  z-index: 12;
  background: var(--ink);
  color: #f3e6d8;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 9px 16px;
}

.notice a {
  color: var(--gold-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 11;
  background: rgba(243, 235, 226, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 560;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--terracotta-dark);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 40px;
}

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}

h1,
h2,
h3,
.display {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 0 0 20px;
}

.lede {
  font-family: var(--body);
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.92rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff8f3;
}

.btn-primary:hover {
  background: var(--terracotta-dark);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: -18px;
  bottom: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 230px;
  box-shadow: var(--shadow);
}

.hero-card small {
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

.section-head a {
  color: var(--terracotta-dark);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.meta {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.35rem;
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card .more {
  margin-top: auto;
  color: var(--terracotta);
  font-size: 0.88rem;
}

.featured {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.featured img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.featured-copy {
  padding: 36px 36px 36px 8px;
}

.featured-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 8px 0 14px;
}

.author-band {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(180deg, #efe4d7, #e8d8c8);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid var(--line);
}

.author-band img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.page-hero {
  padding: 56px 0 20px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 14ch;
  margin: 10px 0 16px;
}

.prose {
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 42rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.15em;
}

.prose h2 {
  font-size: 1.8rem;
  margin: 1.8em 0 0.6em;
}

.prose h3 {
  font-size: 1.3rem;
  margin: 1.4em 0 0.5em;
}

.prose a {
  color: var(--terracotta-dark);
}

.prose blockquote {
  margin: 2em 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--terracotta);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}

.note,
.callout,
.disclaimer {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 1.6em 0;
  font-size: 0.98rem;
}

.disclaimer {
  border-color: var(--gold);
  background: #f7efe4;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 1.5em 0;
}

.box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.box h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 42rem) 240px;
  gap: 64px;
  padding: 20px 0 80px;
  align-items: start;
}

.article-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
  margin: 18px 0 28px;
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 8px;
}

.byline img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.side {
  position: sticky;
  top: 110px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.side h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--muted);
}

.side a {
  display: block;
  text-decoration: none;
  margin: 0 0 10px;
}

.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--terracotta);
  z-index: 20;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  background: #eadfd3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer h3 {
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.site-footer p,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 12px;
  max-width: 36rem;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

.form button {
  width: fit-content;
  cursor: pointer;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.list-plain {
  list-style: none;
  padding: 0;
}

.list-plain li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 20px;
    top: 118px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 12px;
    min-width: 200px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .featured,
  .author-band,
  .article,
  .footer-grid,
  .split,
  .two-col,
  .grid-cards {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .article-hero img,
  .featured img {
    height: 260px;
    min-height: 0;
  }

  .featured-copy,
  .author-band {
    padding: 22px;
  }

  .hero-card {
    position: static;
    margin-top: 14px;
  }
}
