:root {
  --nst-pine: #1F3530;
  --nst-pine-soft: #2B453F;
  --nst-ivory: #F7F5F0;
  --nst-ivory-muted: #CED5CF;
  --nst-alabaster: #F8F7F3;
  --nst-white: #FFFFFF;
  --nst-border: #E4E1D8;
  --nst-cedar: #5E6F52;
  --nst-cedar-tint: #EEF2EA;
  --nst-ink: #1D2421;
  --nst-muted: #55615B;
  --nst-font-display: 'Cormorant Garamond', Georgia, serif;
  --nst-font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nst-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.nst-body {
  margin: 0;
  background-color: var(--nst-alabaster);
  color: var(--nst-ink);
  font-family: var(--nst-font-body);
  -webkit-font-smoothing: antialiased;
}

.nst-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Deep Pine-Slate Architectural Hero */
.nst-hero {
  position: relative;
}

.nst-hero-band {
  background-color: var(--nst-pine);
  color: var(--nst-ivory);
  padding: 40px 0 156px;
}

.nst-wordmark-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  padding-bottom: 22px;
  margin-bottom: 42px;
  border-bottom: 1px solid rgba(247, 245, 240, 0.16);
}

.nst-wordmark {
  font-family: var(--nst-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--nst-ivory);
}

.nst-edition {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nst-ivory-muted);
}

.nst-hero-title {
  margin: 0 0 20px;
  max-width: 880px;
  font-family: var(--nst-font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--nst-ivory);
}

.nst-hero-lead {
  margin: 0;
  max-width: 720px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--nst-ivory-muted);
}

.nst-hero-overlap {
  margin-top: -116px;
  position: relative;
  z-index: 2;
}

.nst-hero-figure {
  margin: 0;
}

.nst-photo-card {
  background: var(--nst-white);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius);
  padding: 10px;
  box-shadow: 0 18px 40px rgba(29, 36, 33, 0.07);
}

.nst-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.nst-figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--nst-muted);
}

/* Main Content */
.nst-main {
  padding: 64px 0 88px;
}

.nst-section {
  margin-bottom: 72px;
}

.nst-section:last-child {
  margin-bottom: 0;
}

.nst-section-head {
  margin-bottom: 28px;
}

.nst-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--nst-cedar);
  margin-bottom: 10px;
}

.nst-h2 {
  margin: 0 0 14px;
  font-family: var(--nst-font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.15;
  color: var(--nst-ink);
}

.nst-section-intro {
  margin: 0;
  max-width: 740px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--nst-muted);
}

.nst-prose {
  max-width: 820px;
}

.nst-p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.74;
  color: var(--nst-ink);
}

.nst-p:last-child {
  margin-bottom: 0;
}

/* 3 Criteria Cards */
.nst-criteria-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nst-card {
  background: var(--nst-white);
  border: 1px solid var(--nst-border);
  border-top: 3px solid var(--nst-cedar);
  border-radius: var(--nst-radius);
  padding: 24px;
}

.nst-card-title {
  margin: 0 0 10px;
  font-family: var(--nst-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--nst-pine);
}

.nst-card-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--nst-muted);
}

/* Photo + Text Spreads */
.nst-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.nst-spread-flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.nst-spread-media {
  margin: 0;
}

/* Filterable & Expandable Vertical Timeline */
.nst-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.nst-filter-btn {
  appearance: none;
  background: var(--nst-white);
  border: 1px solid var(--nst-border);
  color: var(--nst-ink);
  font-family: var(--nst-font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.nst-filter-btn:hover {
  border-color: var(--nst-cedar);
}

.nst-filter-btn.is-active {
  background: var(--nst-pine);
  border-color: var(--nst-pine);
  color: var(--nst-ivory);
}

.nst-filter-btn:focus-visible {
  outline: 2px solid var(--nst-cedar);
  outline-offset: 2px;
}

.nst-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.nst-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 88px;
  width: 1px;
  background: var(--nst-border);
}

.nst-tl-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  position: relative;
}

.nst-tl-item[hidden] {
  display: none;
}

.nst-tl-time {
  padding-top: 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--nst-cedar);
  font-variant-numeric: tabular-nums;
  position: relative;
}

.nst-tl-time::after {
  content: '';
  position: absolute;
  top: 23px;
  right: -17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nst-cedar);
  border: 2px solid var(--nst-alabaster);
}

.nst-tl-card {
  background: var(--nst-white);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius);
  overflow: hidden;
}

.nst-tl-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--nst-font-body);
}

.nst-tl-toggle:hover {
  background: #FCFBF8;
}

.nst-tl-toggle:focus-visible {
  outline: 2px solid var(--nst-cedar);
  outline-offset: -2px;
}

.nst-tl-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--nst-ink);
}

.nst-tl-badge {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--nst-cedar-tint);
  color: var(--nst-cedar);
}

.nst-tl-detail {
  padding: 0 22px 20px;
  border-top: 1px solid #F0EDE6;
}

.nst-tl-detail[hidden] {
  display: none;
}

.nst-tl-detail p {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.66;
  color: var(--nst-muted);
}

/* Two-column Comparison Block */
.nst-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.nst-compare-card {
  background: var(--nst-white);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius);
  padding: 28px;
}

.nst-compare-card-accent {
  border-color: #C7D1BE;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7F2 100%);
}

.nst-compare-head {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--nst-border);
}

.nst-compare-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--nst-cedar);
  margin-bottom: 6px;
}

.nst-compare-title {
  margin: 0;
  font-family: var(--nst-font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--nst-pine);
}

.nst-compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.nst-compare-list li {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--nst-ink);
  padding-left: 16px;
  position: relative;
}

.nst-compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nst-cedar);
}

/* Calm Relatives FAQ Accordion */
.nst-faq {
  display: grid;
  gap: 12px;
}

.nst-faq-item {
  background: var(--nst-white);
  border: 1px solid var(--nst-border);
  border-radius: var(--nst-radius);
}

.nst-faq-h3 {
  margin: 0;
}

.nst-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--nst-font-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.42;
  color: var(--nst-ink);
}

.nst-faq-btn:hover {
  color: var(--nst-pine);
}

.nst-faq-btn:focus-visible {
  outline: 2px solid var(--nst-cedar);
  outline-offset: -2px;
  border-radius: var(--nst-radius);
}

.nst-faq-plus {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.nst-faq-plus::before,
.nst-faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--nst-cedar);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nst-faq-plus::before {
  width: 14px;
  height: 1.5px;
}

.nst-faq-plus::after {
  width: 1.5px;
  height: 14px;
}

.nst-faq-btn[aria-expanded="true"] .nst-faq-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.nst-faq-body {
  padding: 0 24px 22px;
}

.nst-faq-body[hidden] {
  display: none;
}

.nst-faq-body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--nst-muted);
}

/* Minimal Footer */
.nst-footer {
  background: var(--nst-pine);
  color: var(--nst-ivory-muted);
  padding: 28px 0;
}

.nst-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.nst-footer-brand {
  font-family: var(--nst-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nst-ivory);
}

.nst-footer-disclaimer {
  margin: 0;
  font-size: 0.84rem;
}

.nst-footer-copy {
  font-size: 0.84rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .nst-criteria-grid {
    grid-template-columns: 1fr;
  }

  .nst-spread,
  .nst-spread-flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nst-compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nst-wrap {
    padding: 0 18px;
  }

  .nst-hero-band {
    padding: 28px 0 110px;
  }

  .nst-hero-overlap {
    margin-top: -78px;
  }

  .nst-timeline::before {
    display: none;
  }

  .nst-tl-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nst-tl-time {
    padding-top: 0;
  }

  .nst-tl-time::after {
    display: none;
  }

  .nst-tl-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 18px;
  }

  .nst-tl-detail {
    padding: 0 18px 18px;
  }

  .nst-faq-btn {
    padding: 18px;
  }

  .nst-faq-body {
    padding: 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nst-filter-btn,
  .nst-faq-plus::before,
  .nst-faq-plus::after {
    transition: none;
  }
}
