/* ============================================================
   Dublin History — global stylesheet
   Aesthetic: museum-classical, warm cream + claret + verdigris
   Fonts: Cormorant Garamond (display) + Crimson Pro (body)
   ============================================================ */

:root {
  --cream: #f4ecd8;
  --cream-soft: #faf5e7;
  --paper: #fbf6e9;
  --ink: #1f1a13;
  --ink-soft: #3a3027;
  --muted: #6b6151;
  --rule: #c9bfa8;
  --claret: #6b1f2b;
  --claret-deep: #4a141d;
  --verdigris: #2c4a3e;
  --gilt: #a47e3a;
  --gilt-soft: #c9a35a;
  --shadow-sm: 0 1px 2px rgba(31, 26, 19, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 26, 19, 0.12);
  --shadow-lg: 0 30px 60px rgba(31, 26, 19, 0.18);
  --maxw: 1200px;
  --maxw-narrow: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Crimson Pro', 'Iowan Old Style', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1200px 600px at 10% -20%, rgba(164, 126, 58, 0.08), transparent 60%),
    radial-gradient(1000px 500px at 110% 110%, rgba(107, 31, 43, 0.06), transparent 60%);
}

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

a { color: var(--claret); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--claret-deep); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Didot', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.15rem; line-height: 1.3; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gilt);
  margin-bottom: 0.8rem;
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--gilt);
  margin: 1.2rem 0;
}

.rule--center { margin: 1.2rem auto; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 233, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
}
.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand small {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: var(--gilt);
  margin-top: 4px;
  text-transform: uppercase;
}

.brand:hover { text-decoration: none; color: var(--claret); }

.nav { display: flex; gap: 1.6rem; align-items: center; }

.nav a {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--ink-soft);
  position: relative;
}

.nav a:hover { color: var(--claret); text-decoration: none; }

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: var(--claret);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after,
.nav a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 0.5rem 0.8rem;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .nav { display: none; flex-direction: column; gap: 1rem; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    padding: 1.5rem;
    border-bottom: 1px solid var(--rule);
    align-items: flex-start;
  }
  .nav-toggle { display: inline-block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #2c2419 0%, #1a1510 100%);
}

.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
  filter: saturate(0.92) contrast(1.05);
}

.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(31, 26, 19, 0.15) 0%,
    rgba(31, 26, 19, 0.35) 50%,
    rgba(31, 26, 19, 0.85) 100%);
}

.hero__content {
  position: relative;
  color: var(--cream-soft);
  padding: 4rem 1.5rem 5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.hero__content .eyebrow { color: var(--gilt-soft); }

.hero__title {
  color: var(--cream-soft);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: -0.005em;
  line-height: 1.02;
  font-weight: 400;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}

.hero__title em {
  font-style: italic;
  color: var(--gilt-soft);
  font-weight: 400;
}

.hero__lede {
  margin-top: 1.4rem;
  max-width: 56ch;
  font-size: 1.18rem;
  line-height: 1.55;
  color: rgba(250, 245, 231, 0.86);
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn:hover { background: var(--ink); color: var(--cream); text-decoration: none; }

.btn--gilt { color: var(--cream-soft); border-color: var(--gilt-soft); }
.btn--gilt:hover { background: var(--gilt); border-color: var(--gilt); color: var(--ink); }

.btn--solid { background: var(--claret); color: var(--cream-soft); border-color: var(--claret); }
.btn--solid:hover { background: var(--claret-deep); border-color: var(--claret-deep); color: var(--cream-soft); }

/* ---------- Sections ---------- */

section { padding: 5.5rem 0; }
section.tight { padding: 3.5rem 0; }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head .rule { margin: 1.2rem auto; }

/* ---------- Welcome / lede ---------- */

.welcome {
  text-align: center;
}
.welcome p {
  max-width: 62ch;
  margin: 0 auto 1em;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.welcome p::first-letter {
  font-family: 'Cormorant Garamond', serif;
  float: left;
  font-size: 3.6rem;
  line-height: 0.9;
  margin: 0.18em 0.12em 0 0;
  color: var(--claret);
}

.welcome p:not(:first-of-type)::first-letter {
  all: unset;
}

/* ---------- Attractions grid ---------- */

.attractions {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.attractions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #2a2218;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card__media img { transform: scale(1.04); }

.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 26, 19, 0.45) 100%);
  pointer-events: none;
}

.card__body {
  padding: 1.5rem 1.5rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__era {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gilt);
  margin-bottom: 0.4rem;
}

.card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
  line-height: 1.15;
  color: var(--ink);
}

.card__excerpt {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

.card__more {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--claret);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__more::after { content: "→"; transition: transform .25s ease; }
.card:hover .card__more::after { transform: translateX(4px); }

/* ---------- Two-column info ---------- */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; gap: 2rem; } }

.info-block {
  border-top: 2px solid var(--gilt);
  padding-top: 1.4rem;
}

.info-block h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.info-block dl { margin: 0; }
.info-block dt {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
}
.info-block dd {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
}

/* ---------- Latest posts / journal ---------- */

.posts {
  background: var(--cream-soft);
}

.posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.post {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  display: flex;
  flex-direction: column;
}

.post__date {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gilt);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.post__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.post__title a { color: var(--ink); }
.post__title a:hover { color: var(--claret); text-decoration: none; }

.post__excerpt { color: var(--muted); font-size: 0.98rem; }

/* ---------- Detail page hero ---------- */

.subhero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.subhero__media { position: absolute; inset: 0; z-index: -1; background: #2a2218; }
.subhero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.subhero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,26,19,.1) 0%, rgba(31,26,19,.75) 100%);
}

.subhero__content {
  color: var(--cream-soft);
  padding: 3rem 1.5rem 3.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.subhero__content .eyebrow { color: var(--gilt-soft); }
.subhero__content h1 {
  color: var(--cream-soft);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  max-width: 16ch;
}

.subhero + section { padding-top: 4rem; }
@media (min-width: 768px) { .subhero + section { padding-top: 5.5rem; } }

.breadcrumb {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(250, 245, 231, 0.7);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(250, 245, 231, 0.85); }
.breadcrumb a:hover { color: var(--gilt-soft); text-decoration: none; }
.breadcrumb span { margin: 0 0.6rem; opacity: 0.6; }

/* ---------- Article body ---------- */

.prose {
  max-width: 68ch;
  margin: 0 auto;
}
.prose p {
  font-size: 1.12rem;
  line-height: 1.78;
  color: var(--ink-soft);
}
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 2rem; }
.prose blockquote {
  border-left: 2px solid var(--gilt);
  padding: 0.4rem 1.4rem;
  margin: 1.8rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--claret);
}
.prose blockquote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.figure {
  margin: 2rem 0;
}
.figure img { width: 100%; }
.figure figcaption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.6rem;
  text-align: center;
}

/* ---------- Schedule (tours) ---------- */

.schedule {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 2rem;
  margin: 2rem 0;
}

.schedule table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.schedule th, .schedule td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.schedule th {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gilt);
  border-bottom: 2px solid var(--gilt);
}
.schedule td.day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--ink);
  width: 20%;
}
.schedule td.times {
  font-feature-settings: "tnum";
  letter-spacing: 0.04em;
}
.schedule tr:last-child td { border-bottom: none; }

@media (max-width: 720px) {
  .schedule { padding: 1.2rem; }
  .schedule table, .schedule thead, .schedule tbody, .schedule tr, .schedule th, .schedule td {
    display: block;
    width: 100%;
  }
  .schedule thead { display: none; }
  .schedule tr { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
  .schedule td { padding: 0.25rem 0; border: none; }
  .schedule td.day { font-size: 1.4rem; margin-bottom: 0.4rem; }
}

/* ---------- Notice / banner inside content ---------- */

.notice {
  background: var(--cream-soft);
  border-left: 3px solid var(--claret);
  padding: 1.4rem 1.8rem;
  margin: 2rem auto;
  max-width: var(--maxw-narrow);
}
.notice strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--claret);
  margin-bottom: 0.4rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #1c1812;
  color: rgba(250, 245, 231, 0.78);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer h2 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gilt-soft);
  margin: 0 0 1rem;
  font-weight: 500;
}
.site-footer a { color: rgba(250, 245, 231, 0.78); }
.site-footer a:hover { color: var(--gilt-soft); text-decoration: none; }
.site-footer p { margin: 0.3rem 0; font-size: 0.96rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--cream-soft);
  letter-spacing: 0.04em;
}
.footer-brand small {
  display: block;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--gilt-soft);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.45rem 0; }

.footer-bottom {
  border-top: 1px solid rgba(250, 245, 231, 0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 245, 231, 0.5);
  letter-spacing: 0.04em;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 9999;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.prose a,
.notice a,
.welcome a,
.cookie-banner p a,
.subhero__content p a,
.footer-bottom a,
.site-footer p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 240px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s;
}
.cookie-banner button:hover { background: var(--ink); color: var(--cream-soft); }
.cookie-banner button[data-consent="accept"] {
  background: var(--claret);
  color: var(--cream-soft);
  border-color: var(--claret);
}
.cookie-banner button[data-consent="accept"]:hover {
  background: var(--claret-deep);
  border-color: var(--claret-deep);
}

/* Customize modal */
.cookie-modal {
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(28, 24, 18, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal.is-open { display: flex; }
.cookie-modal__panel {
  background: var(--paper);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
}
.cookie-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.cookie-modal__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}
.cookie-modal__row:first-of-type { border-top: 1px solid var(--rule); }
.cookie-modal__row strong { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }
.cookie-modal__row p { font-size: 0.9rem; margin: 0.2rem 0 0; color: var(--muted); }

.toggle {
  position: relative;
  width: 42px; height: 22px;
  flex-shrink: 0;
  margin-top: 4px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span {
  position: absolute; inset: 0;
  background: var(--rule);
  border-radius: 999px;
  transition: .2s;
  cursor: pointer;
}
.toggle span::before {
  content: ""; position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: var(--paper);
  border-radius: 50%;
  transition: .2s;
}
.toggle input:checked + span { background: var(--claret); }
.toggle input:checked + span::before { transform: translateX(20px); }
.toggle input:disabled + span { opacity: 0.6; cursor: not-allowed; }

.cookie-modal__actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* ---------- Legal pages ---------- */

.legal { padding: 3rem 0 5rem; }
.legal h1 { margin-bottom: 0.4rem; }
.legal .meta {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.legal h2 { margin-top: 2.4rem; font-size: 1.5rem; }
.legal h3 { margin-top: 1.6rem; font-size: 1.2rem; }
.legal ol, .legal ul { padding-left: 1.4rem; }
.legal li { margin-bottom: 0.4rem; color: var(--ink-soft); }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.legal table th, .legal table td {
  text-align: left;
  padding: 0.7rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.legal table th { background: var(--cream-soft); font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: 0.06em; }
.legal .caps { text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.02em; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transition: opacity .8s ease;
}
.reveal.is-visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
}

/* ---------- Decorative ornament ---------- */

.ornament {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  color: var(--gilt);
  margin: 1.4rem auto;
  font-family: 'Cormorant Garamond', serif;
}
.ornament::before, .ornament::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--gilt);
  opacity: 0.5;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem; top: 1rem;
  background: var(--claret);
  color: var(--cream-soft);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

/* logo (brand) */
.brand__logo {
  display: inline-block;
  height: clamp(60px, 7vw, 88px); margin: -16px 0;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
