/* ==========================================================================
   KS Law Chambers — stylesheet
   Palette derived from the firm mark: deep black, antique gold, warm ivory.
   Type: Playfair Display for headings, Open Sans for body and UI.
   ========================================================================== */

:root {
  --ink:        #0b0e13;
  --ink-2:      #141922;
  --ink-3:      #1d232e;
  --line:       rgba(200, 168, 102, 0.22);
  --line-soft:  rgba(255, 255, 255, 0.10);

  --gold:       #c8a866;
  --gold-lt:    #e2cd97;
  --gold-dk:    #8a6f36;
  --gold-bar:   #efe2c0;   /* light gold menu bar */
  --gold-bar-2: #e4d3a6;

  --ivory:      #f6f3ec;
  --paper:      #ffffff;
  --muted:      #8b93a1;
  --muted-dk:   #5d6470;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;   /* headings */
  --sans:  "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;  /* body */

  --wrap: 1200px;

  --r-btn:   999px;
  --r-card:  16px;
  --r-media: 14px;

  --ease:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease2: cubic-bezier(0.34, 1.4, 0.44, 1);
  --hdr:   78px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: normal;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* Visible keyboard focus. :focus-visible keeps it off mouse clicks.
   Dark ring by default (gold on white is only 2.3:1); gold on dark panels. */
:focus-visible {
  outline: 3px solid var(--gold-dk);
  outline-offset: 3px;
  border-radius: 3px;
}
.site-header :focus-visible { outline-color: var(--ink); }
.hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible,
.quote-band :focus-visible, .site-footer :focus-visible, .float:focus-visible,
.skip-link:focus-visible { outline-color: var(--gold-lt); }

/* ---------------------------------------------------------------- disclaimer gate */
.gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 8, 12, 0.92);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.gate[hidden] { display: none; }
.gate-open { overflow: hidden; }   /* locks the page behind the dialog */

.gate-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  width: min(1000px, 100%);
  margin: auto;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}

.gate-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 40px 28px;
  background: var(--ink);
  border-right: 1px solid var(--line);
}
.gate-brand img { width: 92px; height: 92px; border-radius: 50%; margin-bottom: 14px; }
.gate-brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
.gate-brand-sub {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.gate-body { padding: clamp(28px, 4vw, 44px); color: #ffffff; }
.gate-body h2 { color: #ffffff; margin-bottom: 0.5em; }
.gate-body p  { font-size: 0.92rem; color: rgba(255,255,255,0.86); }
.gate-body ul { margin: 0 0 26px; padding-left: 20px; }
.gate-body li {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  margin-bottom: 12px;
}
.gate-body li::marker { color: var(--gold); }

/* Buttons sized by their own padding, as everywhere else on the site. */
.gate-actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* The dialog takes focus on open so it is announced; it is a container, not a
   control, so it shows no ring. Buttons still get one when tabbed to. */
.gate:focus, .gate:focus-visible { outline: none; }
/* Gold ring reads on the dark panel; the default dark ring would disappear. */
.gate :focus-visible { outline-color: var(--gold-lt); }

.gate-declined {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  text-align: center;
  background: var(--ink);
  color: #ffffff;
}
.gate-declined-inner { width: min(760px, 100%); }
.gate-declined img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; }
.gate-declined h1 { font-size: clamp(1.5rem, 3vw, 2rem); color: #ffffff; margin-bottom: 0.4em; }
.gate-declined-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  max-width: 52ch;
  margin: 0 auto 36px;
}
.gate-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
  padding: 30px 0;
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gate-contact h2 {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.gate-contact p, .gate-contact address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #ffffff;
  margin: 0;
}
.gate-contact a { transition: color 0.25s; }
.gate-contact a:hover { color: var(--gold); }

@media (max-width: 760px) {
  .gate-panel { grid-template-columns: 1fr; }
  .gate-actions .btn { flex: 1 1 100%; }   /* full width only on phones */
  .gate-brand {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
    padding: 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .gate-brand img { width: 52px; height: 52px; margin-bottom: 0; }
  .gate-brand-sub { display: none; }
}

/* Off-screen until tabbed to */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--r-btn);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: normal;
  margin: 0 0 0.6em;
}

/* Playfair carries more visual weight than a sans at the same size, so the
   display scale is pulled back slightly. */
h1 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }

p { margin: 0 0 1.1em; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.section        { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark  { background: var(--ink); color: var(--ivory); }
.section--ink2  { background: var(--ink-2); color: var(--ivory); }
.section--ivory { background: var(--ivory); }
/* White section with a hairline rule, for when it follows another light band */
.section--divide { background: var(--paper); border-top: 1px solid rgba(11,14,19,0.10); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
/* start alignment keeps an expanded card from stretching its whole row */
.grid-4 { grid-template-columns: repeat(4, 1fr); align-items: start; }

.lede { font-size: 1.06rem; color: var(--muted-dk); max-width: 68ch; }
.section--dark .lede, .section--ink2 .lede, .quote-band .lede { color: rgba(246, 243, 236, 0.72); }
/* Banner sub-text sits on near-black; it needs white, not the muted default. */
.page-hero .lede, .hero .lede { color: #ffffff; }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: var(--r-btn);
  cursor: pointer;
  background: transparent;
  color: var(--gold);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
              transform 0.35s var(--ease2), box-shadow 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible {
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(200, 168, 102, 0.30);
}
.btn:active { transform: translateY(-1px); }

.btn--dark { border-color: var(--ink); color: var(--ink); }
.btn--dark::before { background: var(--ink); }
.btn--dark:hover, .btn--dark:focus-visible {
  color: var(--gold);
  box-shadow: 0 12px 26px rgba(11, 14, 19, 0.26);
}

.btn--ghost { border-color: rgba(246,243,236,0.36); color: var(--ivory); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--gold); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, var(--gold-bar) 0%, var(--gold-bar-2) 100%);
  border-bottom: 1px solid rgba(138, 111, 54, 0.28);
  box-shadow: 0 1px 18px rgba(11, 14, 19, 0.10);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--hdr);
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(11,14,19,0.22);
  transition: transform 0.45s var(--ease2);
}
.brand:hover img { transform: rotate(-8deg) scale(1.07); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.brand-sub {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* darker than --gold-dk: needs 4.5:1 against the light gold bar */
  color: #6b552a;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(11, 14, 19, 0.74);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.32s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left center; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(11,14,19,0.28);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - var(--hdr));
  min-height: calc(100svh - var(--hdr));
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 9vw, 120px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: hero-pan 26s var(--ease) infinite alternate;
}
@keyframes hero-pan {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.2%, -1%, 0); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,14,19,0.94) 0%, rgba(11,14,19,0.80) 42%, rgba(11,14,19,0.52) 100%),
    radial-gradient(900px 460px at 82% 8%, rgba(200,168,102,0.20), transparent 62%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
/* 42ch holds the headline to two lines on desktop; text-wrap balance evens
   them out where supported. It still reflows on narrow screens. */
.hero h1 { max-width: 42ch; margin-bottom: 0; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }

/* ---------------------------------------------------------------- page banner */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 6vw, 84px);
}
/* Watermark: desaturated and held at 10% so it reads as texture, never as a
   photograph, and never competes with the headline sitting over it. */
.page-hero-mark {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  filter: grayscale(1) contrast(0.85);
  /* fades out toward the left, keeping the text side of the banner clean */
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,0.35) 38%, #000 78%);
          mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,0.35) 38%, #000 78%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(820px 400px at 84% 0%, rgba(200,168,102,0.16), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 0.3em; max-width: 20ch; }

.crumbs {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* 0.58 keeps this above 4.5:1 on the banner's lightest area (was 0.50, borderline) */
  color: rgba(246,243,236,0.58);
  margin-bottom: 24px;
}
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.crumbs a { transition: color 0.25s; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ---------------------------------------------------------------- cards */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(11,14,19,0.09);
  border-radius: var(--r-card);
  padding: 34px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease2), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(200,168,102,0) 0%, rgba(200,168,102,0.13) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-10px);
  border-color: rgba(200,168,102,0.55);
  box-shadow: 0 26px 56px rgba(11,14,19,0.16);
}
.card:hover::before { opacity: 1; }
.card:hover::after  { transform: scaleX(1); }

.card h3 { margin-bottom: 0.45em; transition: color 0.3s; }
.card:hover h3 { color: var(--gold-dk); }
.card p { color: var(--muted-dk); font-size: 0.95rem; margin-bottom: 0; }

.card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dk);
  margin-bottom: 18px;
  display: block;
  transition: transform 0.4s var(--ease2);
}
.card:hover .card-num { transform: translateX(4px); }

.card-link {
  margin-top: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dk);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: gap 0.35s var(--ease2);
}
.card-link::after { content: "→"; transition: transform 0.4s var(--ease2); }
.card:hover .card-link { gap: 14px; }
.card:hover .card-link::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- people */
.person {
  background: var(--paper);
  border: 1px solid rgba(11,14,19,0.09);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease2), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.person:hover {
  transform: translateY(-10px);
  border-color: rgba(200,168,102,0.55);
  box-shadow: 0 26px 56px rgba(11,14,19,0.16);
}

.person-portrait {
  aspect-ratio: 4 / 5;
  background: radial-gradient(120% 90% at 50% 0%, #232a36 0%, #0b0e13 70%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.person-portrait::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(200,168,102,0.24);
  border-radius: 8px;
  pointer-events: none;
  transition: inset 0.5s var(--ease), border-color 0.4s;
}
.person:hover .person-portrait::after { inset: 10px; border-color: rgba(200,168,102,0.6); }
.person-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}
.person-portrait.has-photo { background: var(--ink); }
.person-portrait.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(11,14,19,0.42) 0%, rgba(11,14,19,0.05) 42%, transparent 70%);
  opacity: 0.9;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.person:hover .person-portrait.has-photo::before { opacity: 0.55; }
.person:hover .person-portrait img { transform: scale(1.07); }

.monogram {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  transition: transform 0.5s var(--ease2), color 0.4s;
}
.person:hover .monogram { transform: scale(1.12); color: var(--gold-lt); }

.person-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.grid-4 .person-body { padding: 20px 20px 22px; }
.grid-4 .person-meta { font-size: 0.8rem; }
.grid-4 .tag { font-size: 0.65rem; padding: 4px 9px; }

/* min-height reserves two lines so single-line names don't shorten the card */
.person-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em;
  margin: 0 0 6px;
  transition: color 0.3s;
}
.person:hover .person-name { color: var(--gold-dk); }
.person-role { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 14px; }
.person-meta { font-size: 0.84rem; color: var(--muted-dk); margin: 0 0 12px; }

/* ---- full-width profile drawer -------------------------------- */
.person-drawer {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.person-drawer-inner {
  position: relative;
  margin-top: 4px;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--paper);
  border: 1px solid rgba(200,168,102,0.5);
  border-radius: var(--r-card);
  box-shadow: 0 22px 50px rgba(11,14,19,0.12);
}
.section--ivory .person-drawer-inner { background: var(--paper); }

/* Name on the left, close on the far right of the same line. */
.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.drawer-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px 9px 18px;
  background: none;
  border: 1px solid rgba(138,111,54,0.4);
  border-radius: var(--r-btn);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.drawer-close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.drawer-close .x {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  line-height: 1;
}

.drawer-name { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; margin: 0 0 4px; }
.drawer-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dk);
}
.detail-enrol {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 18px;
}

/* Long bios read in two columns on wide screens so nothing runs away. */
.detail-bio { columns: 2; column-gap: 48px; margin-bottom: 26px; }
.detail-bio p {
  font-size: 0.9rem;
  color: var(--muted-dk);
  margin: 0 0 14px;
  break-inside: avoid;
}
/* Two columns. auto-fit collapses the spare track, so a person with only one
   block of detail still fills the width instead of leaving a gap. */
.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(11,14,19,0.10);
}
.detail-meta:first-child { border-top: 0; padding-top: 0; }
.detail-col > .person-sub:first-child { margin-top: 0; }
.detail-col .person-list + .person-sub { margin-top: 20px; }

.person-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin: 16px 0 8px;
}
.person-list {
  margin: 0 0 4px;
  padding-left: 16px;
  font-size: 0.82rem;
  color: var(--muted-dk);
}
.person-list li { margin-bottom: 5px; }

.person-toggle {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid rgba(11,14,19,0.10);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
  cursor: pointer;
  text-align: left;
  transition: color 0.25s;
}
.person-toggle:hover { color: var(--ink); }
.person-toggle .plus {
  flex: none;
  width: 26px; height: 26px;
  border: 1px solid rgba(138,111,54,0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: transform 0.4s var(--ease2), background 0.3s, color 0.3s, border-color 0.3s;
}
.person-toggle:hover .plus { border-color: var(--gold); background: rgba(200,168,102,0.16); }
.person.is-open .person-toggle .plus {
  transform: rotate(135deg);
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.person.is-open { border-color: rgba(200,168,102,0.6); }
/* Holds the same footprint as the button so cards stay level, but shows
   nothing at all for people whose details have not been supplied yet. */
.person-toggle.is-empty {
  display: block;
  visibility: hidden;
  cursor: default;
  padding-bottom: 4px;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.tag {
  font-size: 0.68rem;
  padding: 5px 11px;
  border: 1px solid rgba(11,14,19,0.12);
  border-radius: 999px;
  color: var(--muted-dk);
  background: var(--ivory);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.person:hover .tag { border-color: rgba(200,168,102,0.4); background: rgba(200,168,102,0.10); }

/* ---------------------------------------------------------------- accordion */
.acc { border-top: 1px solid rgba(11,14,19,0.12); }
.acc-item {
  border-bottom: 1px solid rgba(11,14,19,0.12);
  border-radius: var(--r-card);
  padding-inline: 18px;
  transition: background 0.4s var(--ease);
}
.acc-item:hover { background: rgba(200,168,102,0.06); }
.acc-item.is-open { background: rgba(200,168,102,0.08); }
.acc-head {
  width: 100%;
  background: none;
  border: 0;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--ink);
  transition: color 0.25s, padding-left 0.35s var(--ease);
}
.acc-head:hover { color: var(--gold-dk); padding-left: 6px; }
.acc-head .plus {
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid rgba(138,111,54,0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-dk);
  font-size: 1.05rem;
  transition: transform 0.4s var(--ease2), background 0.3s, color 0.3s, border-color 0.3s;
}
.acc-head:hover .plus { border-color: var(--gold); background: rgba(200,168,102,0.16); }
.acc-item.is-open .plus { transform: rotate(135deg); background: var(--gold); color: var(--ink); border-color: var(--gold); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc-body-inner { padding: 0 0 30px; }
.acc-body-inner .lede { margin-bottom: 18px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li {
  font-size: 0.78rem;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-dk);
  background: var(--paper);
  transition: transform 0.3s var(--ease2), background 0.3s, border-color 0.3s, color 0.3s;
}
.pill-list li:hover {
  transform: translateY(-3px);
  background: rgba(200,168,102,0.14);
  border-color: var(--gold);
  color: var(--ink);
}

/* ---------------------------------------------------------------- quote */
.quote-band { background: var(--ink-2); color: var(--ivory); }
.quote { max-width: 940px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  color: var(--ivory);
}

/* ---------------------------------------------------------------- contact */
.info-block {
  padding: 24px 0;
  border-bottom: 1px solid rgba(11,14,19,0.10);
}
.info-block:first-child { padding-top: 0; }
.info-block h2 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin: 0 0 10px;
}
.info-block p, .info-block a { margin: 0; color: var(--ink); font-size: 0.97rem; line-height: 1.75; }
.info-block a { transition: color 0.25s; }
.info-block a:hover { color: var(--gold-dk); }

.map { border: 1px solid rgba(11,14,19,0.12); border-radius: var(--r-card); overflow: hidden; height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05); transition: filter 0.5s; }
.map:hover iframe { filter: grayscale(0) contrast(1); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #ffffff; padding: 72px 0 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; }
.site-footer h2 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { display: inline-block; transition: color 0.25s, transform 0.3s var(--ease2); }
.site-footer a:hover { color: var(--gold); transform: translateX(4px); }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-phones { display: block; margin-top: 14px; }
.footer-brand img { width: 92px; height: 92px; border-radius: 50%; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #ffffff;
}

/* Fine print */
.disclaimer {
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 34px;
  font-size: 0.66rem;
  line-height: 1.85;
  color: #ffffff;
}
.disclaimer .wrap { max-width: 1060px; padding-inline: clamp(28px, 8vw, 120px); }
.disclaimer strong {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- back to top */
.float {
  position: fixed;
  bottom: 30px;
  z-index: 70;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(11,14,19,0.30);
  transition: transform 0.35s var(--ease2), box-shadow 0.3s, opacity 0.3s, visibility 0.3s, background 0.3s, color 0.3s;
}
.float:hover { transform: translateY(-6px) scale(1.09); box-shadow: 0 16px 38px rgba(11,14,19,0.4); }
.float:active { transform: translateY(-2px) scale(1.02); }
.float svg { width: 25px; height: 25px; display: block; }

.float-top {
  left: 34px;
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.float-top.is-on { opacity: 1; visibility: visible; transform: none; }
.float-top:hover { background: var(--gold); color: var(--ink); }

/* ---------------------------------------------------------------- reveal */
/* Only hide for the reveal animation when JS is present to bring it back.
   Without scripts the content simply shows. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .js .nav-toggle { display: block; }
  .js .nav {
    position: fixed;
    inset: var(--hdr) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(180deg, var(--gold-bar) 0%, var(--gold-bar-2) 100%);
    border-bottom: 1px solid rgba(138,111,54,0.3);
    box-shadow: 0 14px 30px rgba(11,14,19,0.18);
    padding: 12px 24px 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .js .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid rgba(138,111,54,0.22); font-size: 0.95rem; }
  .disclaimer { padding-bottom: 92px; }
}

@media (max-width: 860px) {
  .detail-bio { columns: 1; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .person-drawer-inner { padding: 24px 20px; }
  /* Shrink the close button to its icon so the name keeps its line. */
  .drawer-head { gap: 14px; }
  .drawer-close { padding: 8px; border-radius: 50%; }
  .drawer-close span:not(.x) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .float { width: 50px; height: 50px; bottom: 20px; }
  .float-top { left: 20px; }
  .disclaimer { padding-bottom: 92px; }
}
