/* ============================================================
   Jewel Tone Studio — jeweltonestudio.com
   Warm ivory + jewel accents design system
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --ivory:       #FBF7F0;
  --ivory-deep:  #F4EDE1;
  --paper:       #FFFFFF;
  --ink:         #1F1B16;
  --ink-soft:    #4A423A;
  --ink-mute:    #7A6F63;

  /* Jewels */
  --emerald:     #0E5C48;
  --emerald-lt:  #17795F;
  --sapphire:    #1B3C6E;
  --amethyst:    #5B3A7E;
  --ruby:        #8E2B3F;
  --gold:        #B08432;
  --gold-lt:     #D6B15F;

  /* Lines & shadow */
  --line:        #E3D8C6;
  --line-strong: #CDBFA6;
  --shadow-sm:   0 1px 2px rgba(31,27,22,.05), 0 2px 8px rgba(31,27,22,.05);
  --shadow-md:   0 4px 12px rgba(31,27,22,.07), 0 12px 32px rgba(31,27,22,.08);
  --shadow-lg:   0 8px 24px rgba(31,27,22,.09), 0 28px 64px rgba(31,27,22,.12);

  /* Type */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Inter", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rhythm */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-y: clamp(4rem, 9vw, 8rem);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--emerald); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--emerald-lt); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- Type scale ---------- */
.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.06;
}
.display-xl { font-size: clamp(2.9rem, 7.2vw, 5.4rem); }
.display-lg { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.1; }
.display-md { font-size: clamp(1.85rem, 3.6vw, 2.7rem); line-height: 1.14; }
.display-sm { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.22; }

.eyebrow {
  font-family: var(--body);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); max-width: 90px; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before { content: ""; flex: 1; height: 1px; background: linear-gradient(270deg, var(--line-strong), transparent); max-width: 90px; }

.lede { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.62; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.serif-quote { font-family: var(--display); font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); position: relative; }
.section-tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section-head { max-width: 42rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.bg-paper { background: var(--paper); }
.bg-deep  { background: var(--ivory-deep); }
.bg-ink   { background: var(--ink); color: var(--ivory); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .muted, .bg-ink .lede { color: #C9BFB1; }
.bg-emerald { background: var(--emerald); color: #EEF6F2; }
.bg-emerald h2, .bg-emerald h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.15fr .85fr; } .split.wide-right { grid-template-columns: .85fr 1.15fr; } }
.stack-sm > * + * { margin-top: .75rem; }
.center { text-align: center; }

/* ---------- Piano-key rule (signature motif) ---------- */
.keyrule {
  display: flex; height: 12px; width: 100%; max-width: 168px;
  border-radius: 3px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.keyrule span { flex: 1; background: var(--paper); border-right: 1px solid var(--line); }
.keyrule span:last-child { border-right: 0; }
.keyrule span.b { background: var(--ink); flex: .58; border-right: 0; }
.keyrule.centered { margin-inline: auto; }
.keyrule.gold { border-color: rgba(255,255,255,.35); background: #F6EFE2; }
.keyrule.gold span { background: #F6EFE2; border-right-color: #DCD0BC; }
.keyrule.gold span.b { background: var(--gold); }

.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--emerald); --btn-fg: #fff; --btn-bd: var(--emerald);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn-gold  { --btn-bg: var(--gold); --btn-bd: var(--gold); }
.btn-gold:hover { --btn-bg: #C4952F; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--emerald); --btn-bd: var(--emerald); }
.btn-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-sm { padding: .58rem 1.15rem; font-size: .85rem; }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
@media (max-width: 460px) { .btn { white-space: normal; text-align: center; } }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.btn-row.centered { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,247,240,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 24px rgba(31,27,22,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; min-width: 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { height: 36px; width: auto; }
@media (min-width: 1200px) { .brand img { height: 40px; } }
.brand-text { display: none; }
@media (min-width: 480px) { .brand-text { display: block; } }
/* Between 940 and 1180 the full nav is showing — give it the room. */
@media (min-width: 940px) and (max-width: 1179px) { .brand-text { display: none; } }
.brand-name { font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.05; letter-spacing: .01em; }
.brand-sub  { font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav { display: none; align-items: center; gap: .1rem; flex-wrap: nowrap; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  position: relative; padding: .5rem .6rem; border-radius: var(--r-sm); white-space: nowrap;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  transition: color .16s ease;
}
@media (min-width: 1200px) { .nav { gap: .3rem; } .nav a { padding: .5rem .85rem; font-size: .93rem; } }
.nav a::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .22rem;
  height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-cta { display: none; }
@media (min-width: 1080px) { .header-cta { display: inline-flex; } }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); cursor: pointer;
}
@media (min-width: 940px) { .burger { display: none; } }
.burger span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line);
  background: var(--ivory); padding: .6rem var(--gutter) 1.4rem;
}
.mobile-nav.open { display: block; }
@media (min-width: 940px) { .mobile-nav, .mobile-nav.open { display: none; } }
.mobile-nav a {
  display: block; padding: .85rem .2rem; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 500;
}
.mobile-nav a[aria-current="page"] { color: var(--emerald); font-weight: 600; }
.mobile-nav .btn { margin-top: 1.1rem; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media, .hero-media picture { position: absolute; inset: 0; display: block; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 62%; opacity: .46; filter: saturate(.92); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(115% 85% at 22% 12%, rgba(14,92,72,.42), transparent 62%),
    linear-gradient(180deg, rgba(24,20,16,.72) 0%, rgba(24,20,16,.55) 42%, rgba(24,20,16,.9) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(5rem, 15vw, 10.5rem); color: #fff; }
.hero-inner .eyebrow { color: var(--gold-lt); }
.hero-inner .eyebrow::after { background: linear-gradient(90deg, rgba(214,177,95,.55), transparent); }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { max-width: 46ch; font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: #E6DED2; line-height: 1.6; margin-top: 1.4rem; }
.hero .btn-row { margin-top: 2.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; margin-top: 3.2rem; padding-top: 1.9rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero-badge b { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 600; color: var(--gold-lt); line-height: 1; }
.hero-badge span { display: block; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: #BEB3A4; margin-top: .5rem; }

/* Page hero (interior pages) */
.page-hero { position: relative; overflow: hidden; background: var(--ivory-deep); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 85% 0%, rgba(14,92,72,.09), transparent 60%);
  z-index: 1;
}
/* Faint keyboard motif fading in from the right on wide screens */
.page-hero::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 46%;
  background: url("/assets/img/grand-keyboard.jpg") right center / cover no-repeat;
  opacity: .16; filter: grayscale(.35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  display: none; z-index: 0;
}
@media (min-width: 900px) { .page-hero::after { display: block; } }
.page-hero-inner { position: relative; z-index: 2; padding-block: clamp(3.25rem, 8vw, 6rem); max-width: 46rem; }
.page-hero h1 { margin-bottom: .55rem; }
.page-hero .lede { margin-top: 1.1rem; }
.crumbs { font-size: .8rem; color: var(--ink-mute); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--emerald); text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--ink-soft); }
.card-icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory-deep); color: var(--emerald); margin-bottom: 1.1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card-num {
  font-family: var(--display); font-size: 2.4rem; color: var(--gold);
  line-height: 1; margin-bottom: .5rem; font-weight: 600;
}

/* Fact strip */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.fact { background: var(--paper); padding: 1.6rem 1.35rem; text-align: center; }
.fact b { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; color: var(--emerald); line-height: 1.05; }
.fact span { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-top: .6rem; }

/* ---------- Figures / gallery ---------- */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.figure figcaption { font-size: .85rem; color: var(--ink-mute); margin-top: .8rem; font-style: italic; }
.figure-frame { position: relative; }
.figure-frame > picture, .figure-frame > img, .figure-frame > a { position: relative; z-index: 1; display: block; }
.figure-frame::after {
  content: ""; position: absolute; inset: 16px -16px auto 16px; height: 100%;
  border: 1px solid var(--gold); border-radius: var(--r-md); z-index: 0; opacity: .5; pointer-events: none;
}
@media (max-width: 620px) { .figure-frame::after { inset: 10px -10px auto 10px; } }

.gallery { display: grid; gap: clamp(.75rem, 1.6vw, 1.15rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.gallery a, .gallery .tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-md);
  background: var(--ivory-deep); box-shadow: var(--shadow-sm); text-decoration: none;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.gallery a:hover img, .gallery .tile:hover img { transform: scale(1.05); }
.gallery .tile-label {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2.2rem 1.1rem .95rem;
  background: linear-gradient(180deg, transparent, rgba(20,17,13,.86));
  color: #fff; font-size: .92rem; font-weight: 600; letter-spacing: .01em;
}
.gallery .tile-label small { display: block; font-weight: 400; font-size: .76rem; color: #D3C9BA; letter-spacing: .06em; text-transform: uppercase; margin-top: .2rem; }
.gallery.tall img { aspect-ratio: 3 / 4; }
.gallery.wide img { aspect-ratio: 16 / 9; }

/* ---------- Reviews ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: .9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .6rem 1.4rem .6rem .95rem; box-shadow: var(--shadow-sm);
}
.rating-badge .score { font-family: var(--display); font-size: 1.8rem; font-weight: 600; line-height: 1; color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.rating-badge .count { font-size: .82rem; color: var(--ink-mute); }

.quote-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.9rem 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .22s ease, box-shadow .22s ease;
}
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote-card blockquote {
  margin: 0; font-family: var(--display); font-size: 1.28rem; line-height: 1.45; color: var(--ink);
}
.quote-card .who { margin-top: auto; font-size: .85rem; color: var(--ink-mute); }
.quote-card .who b { color: var(--ink-soft); font-weight: 600; }
.quote-card .readmore { font-size: .84rem; font-weight: 600; text-decoration: none; }
.quote-card .readmore:hover { text-decoration: underline; }

/* ---------- Video ---------- */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-lg);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lazy YouTube facade */
.yt-lite { cursor: pointer; border: 0; padding: 0; margin: 0; position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: var(--ink); }
.yt-lite picture { position: absolute; inset: 0; display: block; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .3s ease; }
.yt-lite:hover img { transform: scale(1.03); opacity: .9; }
.yt-lite .play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 52px; border-radius: 12px;
  background: rgba(20,17,13,.72); display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.yt-lite:hover .play { background: var(--ruby); transform: scale(1.06); }
.yt-lite .play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }

/* ---------- Media/link list ---------- */
.linklist { display: grid; gap: .7rem; }
.linkrow {
  display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1rem 1.25rem; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.linkrow:hover { border-color: var(--emerald); transform: translateX(3px); box-shadow: var(--shadow-sm); color: var(--ink); }
.linkrow .lr-title { font-weight: 600; }
.linkrow .lr-sub { font-size: .84rem; color: var(--ink-mute); }
.linkrow .lr-arrow { margin-left: auto; color: var(--emerald); flex-shrink: 0; }
.linkrow .lr-arrow svg { width: 18px; height: 18px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .82rem 1rem; background: var(--ivory);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 1rem; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--emerald); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(14,92,72,.12);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: 1rem; }
.form-msg { margin-top: 1.1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .93rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok  { background: #E7F3ED; border: 1px solid #9FCBB6; color: #14503C; }
.form-msg.err { background: #FBEBEC; border: 1px solid #E0AAB0; color: #7C222F; }

/* Inline signup */
.signup { display: flex; flex-wrap: wrap; gap: .7rem; max-width: 520px; }
.signup input { flex: 1 1 240px; padding: .82rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--paper); }
.signup input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(14,92,72,.12); }
.bg-ink .signup input, .bg-emerald .signup input { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.28); color: #fff; }
.bg-ink .signup input::placeholder, .bg-emerald .signup input::placeholder { color: rgba(255,255,255,.55); }
.signup.centered { margin-inline: auto; justify-content: center; }

/* ---------- Info list (contact details) ---------- */
.info-list { display: grid; gap: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ico {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory-deep); color: var(--emerald);
}
.bg-ink .info-item .ico { background: rgba(255,255,255,.09); color: var(--gold-lt); }
.info-item .ico svg { width: 19px; height: 19px; }
.info-item h4 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 .25rem; font-weight: 600; font-family: var(--body); }
.bg-ink .info-item h4 { color: #A79C8D; }
.info-item p, .info-item a { margin: 0; font-size: 1.02rem; color: var(--ink); text-decoration: none; }
.bg-ink .info-item p, .bg-ink .info-item a { color: #EFE8DD; }
.info-item a:hover { color: var(--emerald); text-decoration: underline; }
.bg-ink .info-item a:hover { color: var(--gold-lt); }

/* ---------- Pull quote band ---------- */
.pullquote { text-align: center; }
.pullquote blockquote {
  margin: 0 auto; max-width: 24ch;
  font-family: var(--display); font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  line-height: 1.2; font-weight: 500; font-style: italic;
}
.pullquote .attrib { margin-top: 1.6rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Map ---------- */
.map-embed { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B7AC9C; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: #D8CFC2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-lt); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.site-footer h5 { font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-lt); margin: 0 0 1.05rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.11);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: #8E8578;
}
.dedication {
  margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold);
  background: rgba(255,255,255,.035); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--display); font-style: italic; font-size: 1.02rem; color: #CFC5B6; line-height: 1.5;
}

/* ---------- Reveal on scroll ---------- */
/* Progressive enhancement: only hide when JS is running, so a failed script
   or a no-JS visitor still sees every word. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Utilities ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--emerald); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px;
  background: var(--ivory-deep); border: 1px solid var(--line); font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft);
}
.pill.emerald { background: rgba(14,92,72,.09); border-color: rgba(14,92,72,.22); color: var(--emerald); }
.pill.gold { background: rgba(176,132,50,.1); border-color: rgba(176,132,50,.28); color: #8C6722; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.mt-md { margin-top: 1.6rem; }
.mb-md { margin-bottom: 1.6rem; }
.brand-tile {
  display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 1.1rem;
  background: var(--ivory-deep); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; padding: 8px;
}
.brand-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; align-items: center; }
.logo-row img { height: 62px; width: auto; border-radius: var(--r-sm); }
.prose h2 { font-family: var(--display); margin-top: 2.2rem; }
.prose h3 { font-family: var(--display); font-size: 1.4rem; margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
