/* Shared interior-page styles, drawn from the homepage's "In Passing" design. */
:root {
  --bg: #f7f1e7;
  --bg-warm: #e7e4da;
  --surface: #fbf7ef;
  --surface-2: #efede5;
  --ink: #262723;
  --ink-soft: #353630;
  --body: #494a44;
  --muted: #63645c;
  --accent: #40483c;
  --accent-2: #252a23;
  --accent-ink: #262a24;
  --accent-soft: rgba(64, 72, 60, .07);
  --accent-line: rgba(64, 72, 60, .32);
  --gold: #615849;
  --border: #d0ccbf;
  --border-strong: #bcb9ad;
  --radius: 0;
  --radius-sm: 0;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --serif: "STIX Two Text", "Baskerville Old Face", Baskerville, "Times New Roman", serif;
  --gutter: clamp(20px, 4.1667vw, 80px);
}

body { background: var(--bg); }
::selection { background: #c8cbbb; color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.container { width: calc(100% - 2 * var(--gutter)); max-width: 1504px; }
h1, h2, h3, .section-header h2, .section-title { font-family: var(--serif); font-weight: 400; }
.section-header h2, .section-title {
  font-size: clamp(2.25rem, 4.3vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.section { padding-block: clamp(48px, 7vw, 104px); }
.gradient-text { color: inherit; }
.badge, .cta-section .badge {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink-soft);
  font: 500 .93rem/1.4 var(--font);
  letter-spacing: -.015em;
  text-transform: none;
}
.badge::before { content: none; }

/* Match the homepage wordmark and three visible primary destinations. */
.navbar, .navbar.scrolled {
  position: relative;
  padding: clamp(18px, 1.6vw, 26px) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.navbar .container { gap: 1rem; }
.navbar .logo {
  display: block;
  font: 400 clamp(2.1rem, 3.25vw, 3.5rem)/1 var(--serif);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.navbar .nav-links { display: flex; gap: clamp(16px, 2.55vw, 45px); }
.navbar .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font: 400 clamp(.94rem, 1.3vw, 1.375rem)/1.3 var(--font);
  white-space: nowrap;
}
.navbar .nav-links a::after { content: none; }
.navbar .nav-links a:is(:hover, [aria-current="page"]), .footer a:hover {
  text-decoration: underline;
  text-underline-offset: .27em;
}
.breadcrumbs { padding-block: 14px; color: var(--ink-soft); }
.breadcrumbs a:hover { text-decoration: underline; }

.page-hero {
  isolation: isolate;
  background: var(--bg);
  padding: clamp(32px, 5.2vw, 80px) 0 clamp(44px, 6vw, 90px);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  max-width: 20ch;
  color: var(--ink);
  font: 400 clamp(3rem, 6.4vw, 7rem)/.98 var(--serif);
  letter-spacing: -.048em;
  text-wrap: balance;
}
.page-hero p { max-width: 52ch; margin-inline: 0; font-size: clamp(1rem, 1.36vw, 1.25rem); }
.page-hero .hero-bg-accent {
  width: 36%;
  opacity: .74;
  filter: grayscale(1);
  mask-image: linear-gradient(90deg, transparent, black 50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 50%);
  z-index: -1;
}
.page-hero:has(.hero-bg-accent) :is(h1, p) { max-width: min(61%, 52rem); }

.btn, .btn-primary, .btn-outline {
  min-height: 44px;
  padding: .8em 1.15em;
  border-radius: 0;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
}
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-primary:hover, .btn-outline:hover { transform: none; box-shadow: none; background: var(--accent); color: #fff; }
.cta-section {
  background: #282d26;
  padding: clamp(52px, 6.8vw, 104px) 0;
  color: #f4f1e7;
  text-align: left;
}
.cta-section::before { background: #282d26; }
.cta-section.cta-bg-image::before { background: #282b27eb; }
.cta-section .badge, .cta-section h2, .cta-section h2 .gradient-text { color: #f4f1e7; }
.cta-section h2 { font: 400 clamp(2.5rem, 4.8vw, 5rem)/1.04 var(--serif); max-width: 24ch; letter-spacing: -.045em; }
.cta-section p { color: #e3e1d7; margin-inline: 0; }
.editorial-cta-links { display: flex; align-items: baseline; gap: 16px 28px; flex-wrap: wrap; }
.cta-section :is(.btn-primary, .btn-outline) { background: transparent; border: 0; border-bottom: 1px solid currentColor; color: #f4f1e7; padding: .4em 0; }
.cta-section .btn:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

.footer { padding-block: clamp(40px, 5vw, 76px) 22px; background: #282d26; border-top: 1px solid #53574d; }
.footer-grid { gap: clamp(20px, 4vw, 64px); }
.footer-brand .logo { font: 400 clamp(1.8rem, 2.6vw, 2.9rem)/1 var(--serif); letter-spacing: -.05em; color: #f4f1e7; }
.footer-brand p, .footer-col a, .footer-bottom, .footer-social a { color: #d5d6cc; }
.footer-col h4 { text-transform: none; letter-spacing: -.02em; color: #f4f1e7; font: 400 1.35rem/1.25 var(--serif); }
.footer-col a:hover, .footer-social a:hover { color: #fff; }
.footer-social { gap: 18px; }
.footer-social a, .footer-social a:hover { width: auto; height: auto; border: 0; border-radius: 0; background: transparent; }

@media (max-width: 700px) {
  .navbar .logo { font-size: 1.85rem; }
  .navbar .nav-links { gap: clamp(10px, 3vw, 18px); }
  .navbar .nav-links a { font-size: .875rem; }
  .page-hero:has(.hero-bg-accent) :is(h1, p) { max-width: 100%; }
  .page-hero .hero-bg-accent { width: 65%; opacity: .11; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .navbar .container { flex-wrap: wrap; gap: 3px; }
  .navbar .nav-links { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body .animate-in { opacity: 1; transform: none; transition: none; }
}
