:root {
  --black: #030200;
  --black-lift: #0F0C08;
  --panel: #14100A;
  --gold-light: #EBDDBB;
  --gold: #C9AD7E;
  --gold-mid: #B1956E;
  --bronze: #8A6F45;
  --text: #E9E4D8;
  --text-dim: #B9B2A2;
  --hairline: rgba(201, 173, 126, 0.35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  background: var(--black);
  color: var(--text);
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { border-bottom: 1px solid var(--hairline); background: var(--black); position: sticky; top: 0; z-index: 50; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 52px; width: auto; display: block; }
.brand span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem; font-weight: 600; color: var(--gold-light); white-space: nowrap;
}
nav ul { display: flex; gap: 12px 26px; list-style: none; flex-wrap: wrap; }
nav > ul { align-items: center; }
/* Top-level labels: space above matches the underline's 3px + 1px below, so the text is truly centred */
nav > ul > li > a:not(.nav-cta) { display: inline-block; }
nav > ul > li > a:not(.nav-cta), nav > ul > li > details > summary { padding-top: 4px; }
nav > ul > li { font-size: 0.92rem; } /* match the links so "Services" lines up with them */
nav a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  color: var(--text); padding-bottom: 3px; border-bottom: 1px solid transparent;
}
nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--bronze); }

/* Paw divider — the paw itself is assets/paw.svg, drawn to match the logo */
.paw-divider { display: flex; align-items: center; gap: 14px; margin: 0 auto; max-width: 420px; }
.paw-divider::before, .paw-divider::after { content: ""; flex: 1; border-top: 1px solid var(--gold-mid); }
.paw-divider svg { width: 22px; height: 22px; fill: var(--gold); flex: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--gold); color: #14100A;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 14px 34px; border: 1px solid var(--gold);
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(201, 173, 126, 0.12); color: var(--gold-light); }

/* Pairs of buttons: centred, with a gap whether side by side or stacked */
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; max-width: 320px; text-align: center; }
}

/* Page title block for interior pages */
.page-head { text-align: center; padding-top: 64px; padding-bottom: 30px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 16px; }
.page-head .paw-divider { margin-bottom: 18px; }
.page-head p { max-width: 40em; margin: 0 auto; color: var(--text-dim); }

/* Sections */
section { padding: 56px 0; }
.section-title { text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 40px; }

/* Menu / rate lists with gold dot leaders */
dl.rates { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
dl.rates .group-note { color: var(--text-dim); font-size: 0.95rem; max-width: 42em; }
dl.rates .row dt {
  display: flex; align-items: baseline; gap: 12px; font-size: 1.02rem; color: var(--text);
}
dl.rates .row dt .leader {
  flex: 1; border-bottom: 1px dotted rgba(201, 173, 126, 0.55);
  transform: translateY(-4px); min-width: 32px;
}
dl.rates .row dt .price {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600;
  font-size: 1.15rem; color: var(--gold-light); white-space: nowrap;
}
dl.rates h3.rate-group {
  font-size: 1.45rem; margin: 26px 0 4px; border-bottom: 1px solid var(--hairline); padding-bottom: 8px;
}
dl.rates h3.rate-group:first-child { margin-top: 0; }
@media (max-width: 520px) {
  dl.rates .row dt .price { white-space: normal; text-align: right; }
}

/* Cards for services / people */
.panel {
  background: var(--panel); border: 1px solid var(--hairline);
  padding: 34px 32px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel h3 { font-size: 1.5rem; margin-bottom: 4px; }
.panel .cred { color: var(--gold); font-size: 0.88rem; letter-spacing: 0.08em; margin-bottom: 14px; }
.panel p { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 12px; }
.panel p:last-child { margin-bottom: 0; }

/* Inquire band */
.inquire { text-align: center; padding: 72px 0 84px; border-top: 1px solid var(--hairline); }
.inquire h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 18px 0 14px; }
.inquire p { max-width: 36em; margin: 0 auto 30px; color: var(--text-dim); }

footer {
  border-top: 1px solid var(--hairline); padding: 30px 0; font-size: 0.9rem; color: var(--text-dim);
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .brand span { font-size: 1.1rem; }
}

/* Services dropdown (no JS, works on touch via <details>) */
nav details { position: relative; }
nav summary {
  list-style: none; cursor: pointer;
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
nav summary::-webkit-details-marker { display: none; }
nav summary::after { content: " \25BE"; color: var(--gold); font-size: 0.8em; }
nav summary:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
nav details[open] summary { color: var(--gold); }
nav details:has(a[aria-current="page"]) > summary { color: var(--gold); } /* section of the current page */

/* Book & Pay: the menu's call to action */
nav a.nav-cta { display: inline-block; background: var(--gold); color: #14100A; border: 1px solid var(--gold); padding: 8px 18px; font-weight: 600; }
nav a.nav-cta:hover, nav a.nav-cta[aria-current="page"] { background: var(--gold-light); border-color: var(--gold-light); color: #14100A; }
nav details ul {
  position: absolute; top: calc(100% + 12px); left: -14px;
  background: var(--panel); border: 1px solid var(--hairline);
  padding: 8px 0; min-width: 230px; display: block; z-index: 60;
}
nav details ul li { display: block; }
nav details ul a { display: block; padding: 9px 18px; border-bottom: none; }
nav details ul a:hover { background: rgba(201, 173, 126, 0.1); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600;
  font-size: 1.3rem; color: var(--gold-light);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 0 20px; color: var(--text-dim); max-width: 46em; }

/* Testimonials */
.quote-card { background: var(--panel); border: 1px solid var(--hairline); padding: 34px 32px; }
.quote-card .mark { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 3rem; line-height: 1; color: var(--gold); }
.quote-card blockquote { color: var(--text); font-size: 1.02rem; margin: 6px 0 16px; }
.quote-card cite { color: var(--gold); font-style: normal; font-size: 0.9rem; letter-spacing: 0.06em; }
.placeholder-note { border: 1px dashed var(--bronze); color: var(--text-dim); padding: 14px 18px; font-size: 0.9rem; max-width: 640px; margin: 0 auto 34px; text-align: center; }

/* Photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 100%;
  margin-left: auto; margin-right: auto;
  gap: 10px;
  margin: 8px 0 4px;
}
.photo-strip img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border: 1px solid var(--hairline);
}
.photo-strip figcaption, .strip-caption {
  text-align: center; color: var(--text-dim); font-size: 0.88rem; margin-top: 12px;
}
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip img:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
}

.photo-strip.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 920px; }
@media (max-width: 760px) {
  .photo-strip.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .wrap[style*="minmax(0, 340px)"] { display: block !important; }
  .wrap[style*="minmax(0, 340px)"] img { max-width: 340px; margin: 0 auto 24px; display: block; }
}

/* Mosaic galleries: native orientations, complete rows */
.gallery { display: grid; gap: 10px; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; border: 1px solid var(--hairline); }
.gallery .tall { aspect-ratio: 3 / 4; }
.gallery .wide { aspect-ratio: 21 / 9; grid-column: 1 / -1; }
.gallery.g3 { grid-template-columns: repeat(3, 1fr); }
.gallery.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) {
  .gallery.g3, .gallery.g4 { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { aspect-ratio: 16 / 9; }
  .gallery .m-wide { grid-column: span 2; aspect-ratio: 3 / 2; }
}

/* Team member panel with headshot */
.person-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.person-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--hairline); display: block; align-self: center; }
@media (max-width: 700px) {
  .person-grid { grid-template-columns: 1fr; }
  .person-grid img { max-width: 260px; justify-self: center; }
}

/* Contact form */
.form-grid { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; text-align: left; }
.form-grid label { font-size: 0.88rem; letter-spacing: 0.05em; color: var(--gold); display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea {
  width: 100%; background: #0B0805; border: 1px solid var(--hairline);
  color: var(--text); font-family: 'Libre Franklin', Arial, sans-serif; font-size: 1rem;
  padding: 12px 14px;
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-grid button { justify-self: center; margin-top: 8px; cursor: pointer; font-family: 'Libre Franklin', Arial, sans-serif; }


/* Two-tier rates: junior price after senior */
dl.rates .price .sr { color: var(--gold); font-weight: 500; }
dl.rates .price .jr { color: var(--gold-mid); font-weight: 500; }


/* In the News */
.press-strip { max-width: 680px; margin: 0 auto; text-align: center; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 26px 16px; }
.press-strip .press-label { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--gold); margin: 0 0 10px; }
.press-strip .press-outlet { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; color: var(--gold-light); margin: 0 0 6px; }
.press-strip .press-headline { font-style: italic; color: var(--text); margin: 0 0 8px; }
.press-strip .press-note { color: var(--text-dim); font-size: 0.95rem; margin: 0 0 12px; }

/* Sticky header: keep in-page links (#contact etc.) from landing under it */
html { scroll-padding-top: 96px; }

/* Hamburger menu below 768px (only when site.js runs; without JS the nav simply wraps) */
.nav-toggle { display: none; }
@media (max-width: 767px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; cursor: pointer;
    border: 1px solid var(--hairline); color: var(--gold);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background-color: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .js .header-inner nav { display: none; flex-basis: 100%; }
  .js header.menu-open .header-inner nav {
    display: block; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto;
    border-top: 1px solid var(--hairline); padding: 6px 0 10px;
  }
  .js nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .js nav > ul > li > a, .js nav summary { display: block; padding: 12px 0; border-bottom: none; font-size: 1rem; }
  .js nav a[aria-current="page"] { color: var(--gold); }
  .js nav details ul { position: static; min-width: 0; border: 0; background: none; padding: 0 0 6px 18px; }
  .js nav details ul a { padding: 10px 0; font-size: 0.95rem; }
  .js nav details ul a:hover { background: none; color: var(--gold-light); }
  .js nav a.nav-cta { text-align: center; margin: 10px 0 4px; padding: 12px 18px; border: 1px solid var(--gold); }
}

/* Blog */
.post-list-wrap { max-width: 780px; }
.post-list { list-style: none; display: grid; gap: 22px; }
.post-list article { border-bottom: 1px solid var(--hairline); padding-bottom: 22px; }
.post-list time, .post-meta { font-size: 0.85rem; letter-spacing: 0.05em; color: var(--gold-mid); }
.post-list h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin: 6px 0 8px; }
.post-list h2 a { color: var(--gold-light); text-decoration: none; }
.post-list article { position: relative; }
/* The title link covers the whole entry, so the date and summary open the post too */
.post-list h2 a::after { content: ""; position: absolute; inset: 0; }
.post-list article:hover h2 a { color: var(--gold); }
.post-list h2 a:focus-visible { outline: none; }
.post-list h2 a:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 6px; }
.post-list p { color: var(--text-dim); }
.post-list-empty { text-align: center; color: var(--text-dim); }
.post-body { max-width: 42em; margin: 0 auto; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-top: 1.6em; }
.post-body img { width: 100%; height: auto; display: block; border: 1px solid var(--hairline); }
.post-body figcaption { font-size: 0.88rem; color: var(--text-dim); margin-top: 8px; text-align: center; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: 0.6em; }
.post-meta a { text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }
.post-body .post-sources { font-size: 0.9rem; color: var(--text-dim); }
.post-back a { text-decoration: none; font-size: 0.92rem; letter-spacing: 0.03em; }
.post-back a:hover { color: var(--gold-light); text-decoration: underline; }
.page-head .post-back-top { text-align: left; max-width: 42em; margin: -30px auto 28px; } /* lines up with the article text */

/* Headings: even line lengths, no lone word on the last line */
h1, h2, h3 { text-wrap: balance; }

/* Home hero: logo and intro side by side on wider screens, so the buttons show without scrolling */
.hero { text-align: center; padding: 40px 0 48px; }
.hero-logo { display: block; margin: 0 auto; width: min(372px, 68vw, 30vh); height: auto; } /* image is trimmed to the artwork */
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 18px 0 12px; }
.hero-text p { max-width: 37em; margin: 0 auto 24px; color: var(--text-dim); }
/* Short phones (e.g. iPhone SE): smaller logo and tighter spacing so the main button stays above the fold */
@media (max-width: 799px) and (max-height: 720px) {
  .hero { padding-top: 24px; }
  .hero-logo { width: min(372px, 68vw, 20vh); }
  .hero h1 { margin: 14px 0 10px; }
}
@media (min-width: 800px) {
  .hero { padding: 48px 0; }
  .hero-inner { display: flex; align-items: center; justify-content: center; gap: 48px; text-align: left; }
  .hero-logo { flex: none; margin: 0; width: min(338px, 32vw, calc((100vh - 177px) * 1.18)); }
  .hero-text p { margin-left: 0; }
  .hero-text .btn-row { justify-content: flex-start; }
}

/* Publications on author pages */
.pub-intro { text-align: center; color: var(--text-dim); max-width: 36em; margin: 0 auto 28px; }
.pub-list { list-style: none; display: grid; gap: 22px; }
.pub-list li { border-bottom: 1px solid var(--hairline); padding-bottom: 22px; color: var(--text-dim); }
.pub-list li p + p { margin-top: 8px; }
.pub-cite { color: var(--text); }
.pub-cite strong { color: var(--gold-light); }
.pub-links { font-size: 0.9rem; }
.page-head .author-ids { margin-top: 8px; font-size: 0.88rem; letter-spacing: 0.03em; }
.author-ids a { text-decoration: none; }
.author-ids a:hover { text-decoration: underline; }
