:root {
  --bg: #f4efe4;
  --bg-elev: #faf6ec;
  --bg-dark: #14110b;
  --ink: #1a1611;
  --ink-soft: #4a4234;
  --ink-mute: #8a7d62;
  --ink-faint: #b6a98c;
  --line: #e6dcc4;
  --line-strong: #cfc2a3;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1180px;
  --shadow-md: 0 16px 48px rgba(60,40,10,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "kern";
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }

::selection { background: var(--ink); color: var(--bg-elev); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 228, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.brand-name { font-style: italic; }
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  transition: color .2s ease;
}
.nav-links a:not(.btn):after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover:after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .14s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg-elev);
}
.btn-primary:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 32px 88px;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 72px;
}
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  margin: 0 0 28px;
  font-weight: 500;
}
.eyebrow-light { color: rgba(245,238,222,0.55); }

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-feature-settings: "kern", "liga", "calt";
}

.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 36px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-art {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.hero-art img {
  width: 100%;
  max-width: 640px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
  border-radius: 2px;
}
.hero-art figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 4px;
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.cap-mark {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-size: 10.5px;
}
.cap-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ---------- Hairline rule ---------- */
.rule {
  margin: 0;
  border: 0;
  height: 1px;
  background: var(--line);
  max-width: calc(var(--maxw) - 64px);
  margin: 0 auto;
}

/* ---------- Sections ---------- */
.section { padding: 112px 32px; }
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.editorial {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 80px;
  align-items: start;
}
.aside-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 22ch;
  margin: 0;
}

.prose {
  max-width: 58ch;
}
.prose p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
}
.prose p:last-child { margin-bottom: 0; }

.lead-cap { color: var(--ink) !important; }

.dropcap {
  font-family: var(--serif);
  float: left;
  font-size: 78px;
  line-height: 0.86;
  padding: 8px 14px 0 0;
  margin-top: 4px;
  font-weight: 400;
  color: var(--ink);
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px !important;
  color: var(--ink-mute) !important;
  margin-top: 8px !important;
}

/* ---------- Dark section / Contact ---------- */
.section-dark {
  background: var(--bg-dark);
  color: #f0e8d3;
}
.contact {
  text-align: center;
  padding: 8px 0;
  max-width: 800px;
  margin: 0 auto;
}
.contact-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: #f7efd8;
}
.contact-heading em {
  font-style: italic;
  color: #f7efd8;
}
.contact-sub {
  color: rgba(247,239,216,0.6);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 44px;
  font-family: var(--sans);
}
.ig-line {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(247,239,216,0.35);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  color: #f7efd8;
  letter-spacing: 0.005em;
  transition: border-color .25s ease, transform .25s ease;
}
.ig-handle { display: inline-block; }
.ig-arrow {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7em;
  transition: transform .25s ease;
}
.ig-line:hover {
  border-bottom-color: #f7efd8;
}
.ig-line:hover .ig-arrow {
  transform: translateX(6px);
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.foot-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.foot-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.foot-meta .dot { color: var(--ink-faint); }
.foot-locale {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-art { order: -1; }
  .hero-art img { max-width: 520px; margin: 0 auto; }
  .hero-art figcaption { justify-content: center; max-width: 520px; margin: 0 auto; }
  .editorial {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section { padding: 80px 28px; }
  .hero { padding: 56px 28px 48px; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 44px; }
  .dropcap { font-size: 64px; padding-right: 10px; }
  .prose p { font-size: 16.5px; }
  .nav-inner { padding: 18px 22px; }
  .foot-inner { padding: 28px 22px; flex-direction: column; align-items: flex-start; gap: 10px; }
}
