/* ==========================================================================
   DALI ROOM Auction Watch — design system
   Edit colours, spacing and type here. Everything else inherits.
   ========================================================================== */

:root {
  --ivory:        #F6F0E6;
  --ivory-deep:   #EFE7D9;
  --paper:        #FCFAF5;
  --ink:          #1C1A18;
  --ink-soft:     #55504A;
  --ink-faint:    #8A8379;
  --navy:         #0B3653;
  --navy-soft:    #14496D;
  --rust:         #C85C3C;
  --rust-dark:    #A9482B;
  --gold:         #C9922D;
  --line:         #E2D8C6;

  --green:        #2F6B4F;
  --amber:        #A9761B;
  --grey:         #6E6A64;
  --red:          #9E3A2C;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 4px;
  --shell: 1180px;
  --shadow: 0 1px 2px rgba(28, 26, 24, .04), 0 8px 24px rgba(28, 26, 24, .05);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-dark); text-decoration: underline; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }

.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 .7em;
}
.muted { color: var(--ink-faint); }
.tiny { font-size: .8rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}
.brand { font-family: var(--serif); font-size: 1.42rem; letter-spacing: .04em; color: var(--ink); text-transform: uppercase; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand span { text-transform: lowercase; font-size: .78em; color: var(--ink-soft); letter-spacing: 0; }
.brand small {
  display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-top: 2px;
}
.brand-block { display: flex; flex-direction: column; align-items: flex-start; }
.brand-community {
  font-family: var(--sans); font-size: .72rem;
  color: var(--rust); margin-top: 3px; white-space: nowrap;
}
.brand-community:hover { color: var(--rust-dark); text-decoration: underline; }
@media (max-width: 720px) {
  .brand-community { font-size: .66rem; }
}
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav a {
  color: var(--ink); font-size: .84rem; white-space: nowrap;
}
.site-nav a:hover { color: var(--rust); text-decoration: none; }
.site-nav a.is-active { color: var(--rust); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 11px; font-size: .85rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 1119px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 6px 22px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .93rem; font-weight: 500;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--rust); color: #fff; }
.btn--primary:hover { background: var(--rust-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--rust); border-color: var(--rust); }
.btn--ghost:hover { background: rgba(200, 92, 60, .07); color: var(--rust-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); color: #fff; }
.btn--block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Hero ---------- */
.hero { padding: 62px 0 46px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow);
}
.hero__panel h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 34px; } .hero { padding: 40px 0 32px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 18px 16px; text-align: center; }
.stat__num { font-family: var(--sans); font-weight: 600; font-size: 1.75rem; line-height: 1.1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.stat__label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head h2 { margin-bottom: 0; }

/* ---------- Filter bar ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 26px;
}
.filters input[type="search"] { flex: 1 1 220px; min-width: 180px; }
input, select, textarea {
  font-family: var(--sans); font-size: .92rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 12px; width: 100%;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%), linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(11, 54, 83, .25); outline-offset: 1px; border-color: var(--navy); }
.filters select { flex: 0 1 auto; width: auto; }
label { display: block; font-size: .82rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }

/* ---------- Lot cards ---------- */
.lot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.lot-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.lot-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lot-card__title { font-family: var(--serif); font-size: 1.22rem; line-height: 1.25; margin: 0; }
.lot-card__title a { color: var(--ink); }
.lot-card__title a:hover { color: var(--rust); text-decoration: none; }
.lot-card__meta { font-size: .84rem; color: var(--ink-faint); margin: 0; }
.lot-card__house { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.lot-card__price { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin: 0; font-variant-numeric: lining-nums; }
.lot-card__est { font-size: .84rem; color: var(--ink-faint); margin: 0; }
.lot-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; }
.lot-card__thumb { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 9px; border-radius: 2px; border: 1px solid;
  white-space: nowrap;
}
.badge--sold { color: var(--green); border-color: rgba(47, 107, 79, .35); background: rgba(47, 107, 79, .07); }
.badge--upcoming { color: var(--navy); border-color: rgba(11, 54, 83, .3); background: rgba(11, 54, 83, .06); }
.badge--passed { color: var(--grey); border-color: rgba(110, 106, 100, .3); background: rgba(110, 106, 100, .06); }
.badge--pending { color: var(--amber); border-color: rgba(169, 118, 27, .35); background: rgba(169, 118, 27, .08); }
.badge--withdrawn { color: var(--red); border-color: rgba(158, 58, 44, .3); background: rgba(158, 58, 44, .06); }
.badge--soft { color: var(--ink-faint); border-color: var(--line); background: transparent; }

/* ---------- Feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tile__icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif);
  font-size: 1.25rem; margin-bottom: 16px;
}
.tile h3 { margin-bottom: .35em; }
.tile p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .8em; }

/* ---------- Detail page ---------- */
.detail { display: grid; grid-template-columns: 1.35fr .65fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; gap: 30px; } }
.spec { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 42%; font-weight: 500; color: var(--ink-faint); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 18px; }
.price-block { font-family: var(--serif); font-size: 2.1rem; color: var(--navy); line-height: 1.1; font-variant-numeric: lining-nums; }

/* ---------- Notices ---------- */
.notice {
  border-left: 3px solid var(--gold); background: rgba(201, 146, 45, .07);
  padding: 16px 18px; font-size: .9rem; color: var(--ink-soft); border-radius: 0 var(--radius) var(--radius) 0;
}
.notice--info { border-color: var(--navy); background: rgba(11, 54, 83, .05); }
.notice--ok { border-color: var(--green); background: rgba(47, 107, 79, .07); color: var(--ink); }
.notice--warn { border-color: var(--rust); background: rgba(200, 92, 60, .07); }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { max-width: 620px; }
.field { margin-bottom: 20px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 9px; font-size: .93rem; color: var(--ink); }
.check input { width: auto; }
.form-status { margin-top: 16px; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }

/* ---------- States ---------- */
.state { padding: 46px 20px; text-align: center; color: var(--ink-faint); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #DCE6ED; margin-top: 62px; padding: 46px 0 30px; font-size: .9rem; }
.site-footer a { color: #F0D8A8; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer__brand { font-family: var(--serif); font-size: 1.3rem; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.site-footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .82rem; color: #A9BDCB; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 24px; } }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; z-index: 99; }

/* ==========================================================================
   DALI ROOM main site — components added on top of the Auction Watch system.
   All new components inherit the tokens above. No new colours, radii or
   shadows are introduced.
   ========================================================================== */

/* ---------- Accessibility / focus ---------- */
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { display: inline-block; white-space: nowrap; line-height: 1.12; }
.brand small { white-space: nowrap; }
.nav-toggle { min-height: 44px; min-width: 44px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

/* ---------- Mobile navigation panel ---------- */
@media (max-width: 1119px) {
  .site-header__inner { position: relative; }
  .site-nav { z-index: 39; box-shadow: var(--shadow); }
  .site-nav a { padding: 11px 0; min-height: 44px; }
  .site-nav a:last-child { border-bottom: 0; }
}

/* ---------- External link marker (not icon-only) ---------- */
.ext::after { content: " (external)"; font-size: .78em; color: var(--ink-faint); letter-spacing: .02em; }
.site-nav .ext::after, .site-footer .ext::after { content: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .82rem; color: var(--ink-faint); padding: 14px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { color: var(--ink-soft); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 52px 0 34px; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { max-width: 64ch; }

/* ---------- Editorial cards ---------- */
.ed-grid { display: grid; gap: 20px; }
.ed-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ed-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ed-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ed-grid--3, .ed-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ed-grid--2, .ed-grid--3, .ed-grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--rust); text-decoration: none; }
.card p { font-size: .93rem; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }
.card__more { margin-top: auto; padding-top: 14px; font-size: .88rem; font-weight: 500; }
.card:hover { box-shadow: var(--shadow); }
.card--flat:hover { box-shadow: none; }
.card__media { border-bottom: 1px solid var(--line); margin: -22px -24px 18px; }
.card__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius) var(--radius) 0 0; }

/* ---------- Feature panel ---------- */
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 32px;
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 34px; align-items: center;
}
.feature h2 { margin-bottom: .35em; }
.feature p { color: var(--ink-soft); max-width: 62ch; }
.feature__aside { border-left: 1px solid var(--line); padding-left: 30px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .feature__aside { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
}

/* ---------- Asymmetric discovery grid ---------- */
.discover { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; align-items: stretch; }
.discover .card--lead { grid-row: span 1; }
@media (max-width: 980px) { .discover { grid-template-columns: 1fr 1fr; } .discover .card--lead { grid-column: span 2; } }
@media (max-width: 620px) { .discover { grid-template-columns: 1fr; } .discover .card--lead { grid-column: span 1; } }

/* ---------- Linked strip ---------- */
.strip {
  margin-top: 20px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.strip h3 { margin: 0 0 .2em; }
.strip p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- Topic tiles ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }
.topic {
  display: block; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; color: var(--ink); min-height: 44px;
}
.topic:hover { text-decoration: none; border-color: var(--rust); color: var(--ink); }
.topic strong { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; display: block; margin-bottom: 4px; }
.topic span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Navy callout ---------- */
.navy-band { background: var(--navy); color: #DCE6ED; padding: 46px 0; }
.navy-band h2 { color: #fff; }
.navy-band p { color: #C7D6E1; max-width: 64ch; }
.navy-band .eyebrow { color: #F0D8A8; }
.navy-band__inner { display: grid; grid-template-columns: 1.5fr .5fr; gap: 34px; align-items: center; }
.navy-band .btn--light { background: #fff; color: var(--navy); }
.navy-band .btn--light:hover { background: #F0D8A8; color: var(--navy); }
@media (max-width: 860px) { .navy-band__inner { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- In-page table of contents ---------- */
.with-toc { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 46px; align-items: start; }
.with-toc > * { min-width: 0; }
.toc { position: sticky; top: 96px; font-size: .9rem; border-left: 1px solid var(--line); padding-left: 18px; }
.toc h2 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin-bottom: 2px; counter-increment: toc; }
.toc a { display: block; color: var(--ink-soft); padding: 8px 0; min-height: 44px; }
.toc a::before { content: counter(toc) ". "; color: var(--ink-faint); }
.toc a:hover, .toc a.is-current { color: var(--rust); text-decoration: none; }
.toc-mobile { display: none; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 26px; }
.toc-mobile select { max-width: 100%; }
@media (max-width: 1000px) {
  .with-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .with-toc > * { min-width: 0; }
  .toc { display: none; }
  .toc-mobile { display: block; }
}

/* ---------- Long-form article ---------- */
.article { max-width: 72ch; }
.article > section { padding-top: 8px; }
.article h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.article h3 { margin-top: 1.7em; }
.article h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-top: 1.5em; margin-bottom: .5em; }
.article p, .article li { font-size: 1rem; color: var(--ink); }
.article ul, .article ol { padding-left: 1.25em; }
.article li { margin-bottom: .5em; }
.article > section + section { border-top: 1px solid var(--line); margin-top: 46px; padding-top: 34px; }
.article blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; color: var(--ink);
}
.article blockquote cite { display: block; margin-top: 10px; font-family: var(--sans);
  font-size: .82rem; font-style: normal; color: var(--ink-faint); }
.article table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.4em 0; }
.article th, .article td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-family: var(--sans); font-weight: 600; color: var(--ink-soft); background: var(--paper); }
.table-wrap { overflow-x: auto; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 1.4em 0 0; padding: 0 0 0 24px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 14px; }
.timeline li::before {
  content: ""; position: absolute; left: -29px; top: 8px; width: 9px; height: 9px;
  background: var(--rust); border-radius: 50%; border: 2px solid var(--ivory);
}
.timeline .t-year { font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.timeline strong.t-title { font-family: var(--serif); font-size: 1.1rem; display: block; margin-bottom: 3px; }

/* ---------- Glossary ---------- */
.glossary-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2em 0 2em; padding: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.glossary-index a { font-size: .86rem; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--ink-soft); min-height: 44px; display: inline-flex; align-items: center; }
.glossary-index a:hover { border-color: var(--rust); color: var(--rust); text-decoration: none; }
.glossary { margin: 0; }
.glossary > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-family: var(--serif); font-weight: 600; font-size: 1.24rem; margin-bottom: .3em; }
.glossary dd { margin: 0; }
.glossary dd p { font-size: .97rem; }
.glossary .caution { font-size: .89rem; color: var(--ink-soft); border-left: 3px solid var(--gold);
  background: rgba(201, 146, 45, .07); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Resource cards ---------- */
.res-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.res-card h3 { font-size: 1.14rem; margin: 0; }
.res-card h3 a { color: var(--ink); }
.res-card h3 a:hover { color: var(--rust); text-decoration: none; }
.res-card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.res-card__domain { font-size: .8rem; color: var(--ink-faint); word-break: break-word; }
.res-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- Destination cards ---------- */
.dest-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.dest-card h3 { margin-bottom: .2em; }
.dest-card__place { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 12px; }
.dest-card p { font-size: .95rem; color: var(--ink-soft); }
.dest-card ul { padding-left: 1.2em; font-size: .93rem; color: var(--ink-soft); }
.dest-card li { margin-bottom: .4em; }
.dest-card__links { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: .9rem; }

/* ---------- Source list / last reviewed ---------- */
.sources { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.sources ol { padding-left: 1.3em; font-size: .86rem; color: var(--ink-soft); }
.sources li { margin-bottom: .5em; word-break: break-word; }
.byline { font-size: .84rem; color: var(--ink-faint); margin: 0 0 22px; }
.byline strong { color: var(--ink-soft); font-weight: 500; }

/* ---------- Empty page state ---------- */
.empty-state { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 62px 24px; text-align: center; }
.empty-state p { color: var(--ink-faint); font-size: 1.02rem; margin: 0 0 6px; }
.empty-state p.empty-state__note { font-size: .88rem; }

/* ---------- Broken-image fallback ---------- */
img.is-broken, .img-fallback {
  background: var(--ivory-deep) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64'><rect width='64' height='64' fill='%23EFE7D9'/><path d='M14 46l12-16 9 11 6-7 9 12z' fill='none' stroke='%238A8379' stroke-width='2'/></svg>") center / 64px no-repeat;
  min-height: 160px; border: 1px solid var(--line);
}

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: 20px; }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-34 { margin-bottom: 34px; }
.center { text-align: center; }
.narrow { max-width: 66ch; }
.narrow-center { max-width: 66ch; margin: 0 auto; }
.filters__count { font-size: .84rem; color: var(--ink-faint); margin-left: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
.section--tight { padding: 34px 0; }

/* Ensure the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }
