/* Calm Stone Room — design archetype E.
   Warm sepia / sandstone palette, Cormorant Garamond display serif,
   card grid with soft rounded image frames, generous reading typography. */

:root {
  --sand:      #faf5ec;        /* page background */
  --sand-deep: #f1e9d7;        /* card background */
  --sand-warm: #e7dac2;        /* divider warm tone */
  --cream:     #fffaf1;
  --stone:     #d4a574;        /* accent sandstone */
  --stone-dark:#a8814d;
  --sage:      #9caf88;        /* category accent */
  --sage-dark: #6f8862;
  --ink:       #3a312b;
  --ink-soft:  #6b5d54;
  --ink-faint: #9c8e80;
  --line:      rgba(108, 85, 60, 0.18);
  --line-soft: rgba(108, 85, 60, 0.10);
  --display:   'Cormorant Garamond', 'Garamond', Georgia, serif;
  --body:      'Lora', Georgia, serif;
  --sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-soft: 22px;
  --radius-medium: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--sand);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.72' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.35 0 0 0 0 0.22 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* -------- LAYOUT CONTAINERS -------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 36px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 36px; }

/* -------- HEADER / NAV -------- */
.site-header {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, var(--cream), transparent);
}
.site-header .wrap {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand-text {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--ink);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: var(--body);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.6px;
  font-weight: 400;
  margin-top: 2px;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.site-nav a:hover { color: var(--stone-dark); }
.site-nav .issue {
  font-family: var(--body);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.2px;
  font-size: 13px;
  color: var(--ink-faint);
  font-weight: 400;
}

/* -------- HOME HERO -------- */
.home-hero {
  padding: 80px 0 56px;
  text-align: center;
  position: relative;
}
.home-hero .kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 22px;
}
.home-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 66px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 820px;
}
.home-hero .tagline {
  font-family: var(--body);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}
.home-hero .scroll-hint {
  margin-top: 48px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.home-hero .scroll-hint::after {
  content: ""; display: block; width: 1px; height: 36px;
  background: var(--ink-faint); margin: 14px auto 0;
}

/* Soft hero image (organic rounded frame) */
.home-hero-image {
  margin: 0 auto 64px;
  max-width: 1100px;
  padding: 0 36px;
}
.home-hero-image figure {
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 18px 50px -28px rgba(108, 85, 60, 0.35);
}
.home-hero-image img {
  width: 100%; height: 460px; object-fit: cover;
  filter: sepia(0.12) saturate(0.95);
}

/* -------- CATEGORY NAVIGATION (pills) -------- */
.cat-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin: 0 0 80px;
  padding: 0 36px;
}
.cat-nav a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--sand-deep);
  border: 1px solid var(--line-soft);
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.cat-nav a:hover {
  background: var(--stone);
  color: var(--cream);
  border-color: transparent;
}

/* -------- CATEGORY SECTIONS -------- */
.cat-section { padding: 70px 0; }
.cat-section + .cat-section { border-top: 1px solid var(--line-soft); }

.cat-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 36px;
  margin-bottom: 46px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cat-header-text { max-width: 640px; }
.cat-header .cat-number {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 12px;
}
.cat-header h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.cat-header .cat-lede {
  font-family: var(--body);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
}
.cat-header .cat-see-all {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--stone-dark);
  padding-bottom: 4px;
  align-self: flex-end;
  transition: color 0.25s ease;
}
.cat-header .cat-see-all:hover { color: var(--stone-dark); }

/* -------- ARTICLE CARDS GRID -------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 44px;
}

.card {
  background: transparent;
  display: flex; flex-direction: column;
  transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-4px); }

.card-image {
  border-radius: var(--radius-soft);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 14px 40px -28px rgba(108, 85, 60, 0.35);
  background: var(--sand-deep);
}
.card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: sepia(0.10) saturate(0.95);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.card:hover .card-image img {
  transform: scale(1.03);
  filter: sepia(0.05) saturate(1.02);
}

.card-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 10px;
}
.card-meta .dot { color: var(--ink-faint); margin: 0 6px; }
.card-meta .date { color: var(--ink-faint); letter-spacing: 1.2px; }

.card-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.25s ease;
}
.card:hover .card-title { color: var(--stone-dark); }
.card-subhead {
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 0;
}

/* -------- ARTICLE PAGE -------- */
.article-hero {
  padding: 50px 0 0;
}
.article-hero .badge-row {
  display: flex; justify-content: center; gap: 14px;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}
.article-hero .badge-row .cat-badge {
  background: var(--sage);
  color: var(--cream);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.article-hero .badge-row .date-badge {
  color: var(--ink-faint);
  padding: 5px 0;
}

.article-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 22px;
  color: var(--ink);
}
.article-hero .subhead {
  font-family: var(--body);
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 18px;
  color: var(--ink-soft);
}
.article-hero .byline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-faint);
  margin-bottom: 50px;
}
.article-hero .byline .name { color: var(--ink-soft); font-weight: 500; }

.article-hero-image {
  max-width: 1180px;
  margin: 0 auto 64px;
  padding: 0 36px;
}
.article-hero-image figure {
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 20px 60px -32px rgba(108, 85, 60, 0.4);
}
.article-hero-image img {
  width: 100%; height: 520px; object-fit: cover;
  filter: sepia(0.10) saturate(0.95);
}

/* Article body */
.article-body {
  font-family: var(--body);
  font-size: 18.5px;
  line-height: 1.9;
  color: var(--ink);
}
.article-body p { margin-bottom: 26px; }
.article-body p:first-of-type::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 78px;
  line-height: 0.82;
  padding: 8px 16px 0 0;
  color: var(--stone-dark);
  font-weight: 500;
}
.article-body h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 50px 0 22px;
  position: relative;
}
.article-body h2::before {
  content: "";
  display: block;
  width: 32px; height: 2px;
  background: var(--stone);
  margin-bottom: 18px;
}
.article-body blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 26px;
  line-height: 1.42;
  color: var(--stone-dark);
  border: none;
  padding: 8px 0;
  margin: 40px 0 40px 0;
  text-align: center;
  position: relative;
}
.article-body blockquote::before,
.article-body blockquote::after {
  content: "";
  display: block;
  width: 48px; height: 1px;
  background: var(--stone);
  margin: 22px auto;
  opacity: 0.6;
}

.article-body figure {
  margin: 50px 0;
  text-align: center;
}
.article-body figure img {
  width: 100%;
  border-radius: var(--radius-medium);
  max-height: 520px;
  object-fit: cover;
  filter: sepia(0.10) saturate(0.95);
}
.article-body figcaption {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-faint);
  margin-top: 12px;
}

.article-end {
  text-align: center;
  margin: 60px 0 20px;
  color: var(--stone);
  font-size: 18px;
  letter-spacing: 14px;
  opacity: 0.7;
}

/* Author / sign-off */
.article-signoff {
  display: flex; align-items: center; gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 60px 0;
}
.article-signoff img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.article-signoff .name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.article-signoff .role {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-faint);
}

/* Related articles footer */
.related {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line-soft);
  margin-top: 40px;
}
.related-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone-dark);
  text-align: center;
  margin-bottom: 36px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.related-card .related-image {
  border-radius: var(--radius-medium);
  overflow: hidden;
  margin-bottom: 14px;
}
.related-card img {
  width: 100%; height: 180px; object-fit: cover;
  filter: sepia(0.10) saturate(0.95);
  transition: transform 0.4s ease;
}
.related-card:hover img { transform: scale(1.04); }
.related-card .related-cat {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 6px;
}
.related-card h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.22;
  color: var(--ink);
}

/* -------- ABOUT PAGE -------- */
.about-wrap { padding: 70px 0 80px; }
.about-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.about-hero .portrait {
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 18px 50px -28px rgba(108, 85, 60, 0.35);
}
.about-hero .portrait img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.92);
}
.about-hero .kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 18px;
}
.about-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 18px;
}
.about-hero .city {
  font-family: var(--body);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
}
.about-body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
}
.about-body h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 30px;
  margin: 40px 0 18px;
  color: var(--ink);
}
.about-body h2::before {
  content: "";
  display: block;
  width: 32px; height: 2px;
  background: var(--stone);
  margin-bottom: 16px;
}
.about-body p { margin-bottom: 22px; }
.about-body p:first-of-type::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 66px;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  color: var(--stone-dark);
  font-weight: 500;
}

/* -------- FOOTER -------- */
.site-footer {
  margin-top: 100px;
  padding: 60px 0 40px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(to top, var(--cream), transparent);
  text-align: center;
}
.site-footer .footer-mark {
  margin: 0 auto 18px;
  width: 36px; height: 36px;
}
.site-footer .footer-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.site-footer .footer-tagline {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-faint);
  margin: 8px 0 22px;
}
.site-footer .footer-links {
  display: flex; justify-content: center; gap: 22px;
  margin-bottom: 18px;
}
.site-footer .footer-links a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.site-footer .footer-links a:hover { color: var(--stone-dark); }
.site-footer .copy {
  font-family: var(--body);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-faint);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 960px) {
  .home-hero h1 { font-size: 48px; }
  .home-hero-image img { height: 340px; }
  .card-grid { grid-template-columns: 1fr; gap: 44px; }
  .cat-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cat-header .cat-see-all { align-self: flex-start; }
  .cat-header h2 { font-size: 36px; }
  .article-hero h1 { font-size: 42px; }
  .article-hero-image img { height: 360px; }
  .article-body { font-size: 17.5px; }
  .article-body h2 { font-size: 26px; }
  .article-body blockquote { font-size: 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 30px; }
  .about-hero .portrait img { height: 320px; }
  .about-hero h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  .site-header .wrap { gap: 12px; }
  .site-nav { gap: 16px; }
  .home-hero { padding: 56px 0 40px; }
  .home-hero h1 { font-size: 38px; }
  .home-hero .tagline { font-size: 17px; }
  .home-hero-image { padding: 0 22px; }
  .home-hero-image img { height: 260px; }
  .cat-nav { padding: 0 22px; }
  .cat-section { padding: 56px 0; }
  .cat-header h2 { font-size: 30px; }
  .card-image img { height: 240px; }
  .card-title { font-size: 24px; }
  .article-hero h1 { font-size: 34px; }
  .article-hero .subhead { font-size: 18px; }
  .article-hero-image { padding: 0 22px; }
  .article-hero-image img { height: 280px; }
  .article-body { font-size: 17px; line-height: 1.85; }
  .article-body p:first-of-type::first-letter { font-size: 60px; }
}
