/*
Theme Name: 41 Whitfield Street
Theme URI: https://www.41whitfieldstreet.co.uk/
Author: 41 Whitfield Street
Description: A heritage-inspired, conversion-focused multi-page theme for 41 Whitfield Street, Fitzrovia. Creates Home, Spaces, About, Hire, Events & Pop-ups, Stay and Contact pages on activation, with an Events manager, Smoobu booking integration for venue hire and stays, an enquiry form, sticky mobile booking bar and full Customizer control of every section.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whitfield41
Tags: one-column, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #1f1a17;
  --ink-soft: #4a403a;
  --muted: #7b6f66;
  --paper: #faf6f0;
  --paper-2: #f2ebe1;
  --line: #e4d9cb;
  --accent: #9a4a33;       /* Pollock's terracotta */
  --accent-dark: #7a3624;
  --brass: #b08a4f;
  --night: #171310;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -20px rgba(31, 26, 23, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 62ch; }
em.serif, .serif-i { font-family: var(--serif); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, color .3s ease;
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.site-header.is-solid, body:not(.has-hero) .site-header {
  background: rgba(250, 246, 240, .94); backdrop-filter: blur(10px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: baseline; gap: 6px; color: inherit; text-decoration: none; font-family: var(--serif); font-size: 24px; line-height: 1; }
.brand small { font-size: 15px; font-style: italic; opacity: .8; }
.brand img { max-height: 48px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.main-nav a { color: inherit; text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav .sub-menu { display: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 12px 20px; }
.header-phone { color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 1020px) {
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 84px 0 0 0; background: var(--paper); color: var(--ink);
    padding: 32px var(--gutter); transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; font-family: var(--serif); font-size: 32px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  body.nav-open .main-nav { transform: none; }
  body.nav-open .site-header { background: var(--paper); color: var(--ink); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) { .header-cta .btn { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--night); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,16,.45) 0%, rgba(23,19,16,.1) 35%, rgba(23,19,16,.85) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero .wrap { position: relative; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 140px; }
.hero .eyebrow { color: #e7c99b; }
.hero h1 { max-width: 14ch; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #e7c99b; }
.hero .lead { color: rgba(255,255,255,.85); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn-ghost { color: #fff; }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Quick availability bar */
.quickbook {
  position: relative; z-index: 2; margin-top: -48px;
}
.quickbook-inner {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0; overflow: hidden;
}
.qb-item { padding: 22px 26px; border-right: 1px solid var(--line); }
.qb-item:last-of-type { border-right: 0; }
.qb-item strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.qb-item span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.quickbook .btn { margin: 16px; align-self: center; }
@media (max-width: 900px) {
  .quickbook { margin-top: -24px; }
  .hero .wrap { padding-bottom: 72px; }
  .quickbook-inner { grid-template-columns: 1fr 1fr; }
  .qb-item:nth-child(2) { border-right: 0; }
  .qb-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quickbook .btn { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--night); color: var(--paper); }
.section-dark .lead { color: rgba(250,246,240,.75); }
.section-dark .eyebrow { color: #e7c99b; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { max-width: 16ch; margin: 0; }
.section-head .lead { margin: 0; max-width: 46ch; }

/* Story split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-media .stamp {
  position: absolute; right: -24px; bottom: 40px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-size: 15px; line-height: 1.25; padding: 20px; box-shadow: var(--shadow);
  transform: rotate(-8deg);
}
.split-media .stamp b { display: block; font-size: 34px; font-weight: 400; }
.timeline { list-style: none; padding: 0; margin: 32px 0 36px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 26px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline b { font-family: var(--serif); font-weight: 400; font-size: 20px; display: block; }
.timeline span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media .stamp { right: 12px; } }

/* Floors */
.floors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.floor {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.floor:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.floor-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.floor-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.floor:hover .floor-media img { transform: scale(1.05); }
.floor-tag { position: absolute; top: 16px; left: 16px; background: rgba(250,246,240,.95); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.floor-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.floor-body p { color: var(--ink-soft); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.floor-body .btn { margin-top: auto; align-self: flex-start; }
.floors-note { text-align: center; margin-top: 36px; color: var(--muted); }
@media (max-width: 960px) { .floors { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Uses grid */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(250,246,240,.15); border: 1px solid rgba(250,246,240,.15); border-radius: var(--radius-lg); overflow: hidden; }
.use { background: var(--night); padding: 36px 32px; transition: background .3s ease; }
.use:hover { background: #221c18; }
.use .num { font-family: var(--serif); font-style: italic; color: #e7c99b; font-size: 18px; }
.use h3 { margin: 10px 0 8px; font-size: 26px; }
.use p { color: rgba(250,246,240,.7); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(4) { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gallery figure:nth-child(4) { grid-row: span 1; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 24px; align-items: stretch; }
.price-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card.featured { background: var(--accent); color: #fff; border-color: var(--accent); }
.price-card .label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .75; }
.price { font-family: var(--serif); font-size: 64px; line-height: 1; margin: 16px 0 6px; }
.price small { font-family: var(--sans); font-size: 15px; opacity: .7; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.price-card li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid rgba(0,0,0,.07); font-size: 15px; }
.price-card.featured li { border-color: rgba(255,255,255,.18); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); font-weight: 700; }
.price-card.featured li::before { color: #f3d7ad; }
.price-card .btn { margin-top: auto; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Booking */
.booking-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin-bottom: 28px; gap: 4px; flex-wrap: wrap; }
.booking-tabs button { border: 0; background: transparent; padding: 12px 22px; border-radius: 999px; font: 600 15px var(--sans); color: var(--ink-soft); cursor: pointer; }
.booking-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.booking-panel { background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow); }
.booking-panel[hidden] { display: none; }
.booking-panel iframe { width: 100%; min-height: 720px; border: 0; }
.booking-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.booking-empty strong { display: block; font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 26px; margin-bottom: 8px; }
.booking-assurance { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin-top: 26px; font-size: 14px; color: var(--muted); }
.booking-assurance span::before { content: "●"; color: var(--brass); margin-right: 8px; font-size: 10px; vertical-align: middle; }

/* Enquiry form */
.enquiry { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.contact-list span { color: var(--muted); font-size: 14px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.form { background: #fff; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font: 16px var(--sans);
  background: var(--paper); color: var(--ink); transition: border-color .2s ease, background .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 20px; width: 100%; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 15px; }
.notice.ok { background: #e8f1e6; color: #2f5b2a; }
.notice.err { background: #f7e3dd; color: var(--accent-dark); }
@media (max-width: 860px) { .enquiry { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.4) sepia(.15); }
.nearby { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nearby li { background: #fff; border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); }
.nearby b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.nearby span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 26px; color: var(--accent); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; max-width: 70ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--accent); color: #fff; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: "41"; position: absolute; right: -20px; bottom: -80px; font-family: var(--serif); font-size: 340px; line-height: 1; opacity: .08; pointer-events: none; }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-band .btn-ghost { color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(250,246,240,.75); padding: 80px 0 40px; font-size: 15px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: #e7c99b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #e7c99b; margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand { font-family: var(--serif); font-size: 34px; color: var(--paper); line-height: 1.1; margin-bottom: 14px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(250,246,240,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky mobile booking bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: rgba(31,26,23,.96); padding: 10px; border-radius: 18px; box-shadow: var(--shadow);
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { padding: 14px 12px; font-size: 14px; }
  .mobile-bar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
  body { padding-bottom: 0; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding: 170px 0 60px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); margin: 0; }
.page-hero.has-image { position: relative; color: #fff; padding: 220px 0 80px; background: var(--night); overflow: hidden; }
.page-hero.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero.has-image .wrap { position: relative; }
.entry { padding: clamp(56px, 8vw, 100px) 0; }
.entry-content { max-width: 760px; margin: 0 auto; }
.entry-content > .alignwide { max-width: 1100px; margin-left: calc(50% - min(550px, 50vw - var(--gutter))); margin-right: calc(50% - min(550px, 50vw - var(--gutter))); }
.entry-content > .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 2em 0; padding: 4px 0 4px 26px; font-family: var(--serif); font-size: 24px; font-style: italic; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.post-card a { color: inherit; text-decoration: none; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card .body { padding: 24px; }
.post-card time { font-size: 13px; color: var(--muted); }
.pagination { margin-top: 48px; display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--paper); }


/* ---------- Multi-page components ---------- */
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero .lead { margin-top: 18px; }
.page-hero.has-image { min-height: 62vh; display: flex; align-items: flex-end; }
.page-hero.has-image img { opacity: 1; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,16,.5) 0%, rgba(23,19,16,.15) 40%, rgba(23,19,16,.85) 100%); }
.page-hero.has-image .wrap { z-index: 1; }
.page-hero.has-image .eyebrow { color: #e7c99b; }
.page-hero.has-image .lead { color: rgba(255,255,255,.85); }

.subnav { position: sticky; top: 84px; z-index: 40; background: rgba(250,246,240,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 16px 0; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.active { color: var(--ink); border-color: var(--accent); }

.is-flipped .split { direction: rtl; }
.is-flipped .split > * { direction: ltr; }
.is-flipped.split { direction: rtl; }
.is-flipped.split > * { direction: ltr; }
@media (max-width: 860px) { .is-flipped .split, .is-flipped.split { direction: ltr; } }
.floor-detail .split-media img { aspect-ratio: 4/5; }
.floor-rate { display: flex; gap: 32px; margin: 8px 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.floor-rate b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.floor-rate span { font-size: 13px; color: var(--muted); }

.downloads { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.downloads h3 { margin-bottom: 6px; }
.downloads p { margin: 0; color: var(--ink-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps .step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.steps b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 4px; }
.steps li > span:last-child { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.event-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.section-alt .event-card { background: var(--paper); }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-date { position: absolute; top: 16px; right: 16px; z-index: 1; background: var(--ink); color: var(--paper); border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1.1; }
.event-date b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.event-date span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.event-media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.event-body { padding: 26px; padding-right: 96px; }
.event-media + .event-body { padding-right: 26px; }
.event-kind { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.event-body h3 { margin: 10px 0 8px; }
.event-body h3 a { color: inherit; text-decoration: none; }
.event-body p { color: var(--ink-soft); font-size: 15px; }
.event-link { font-size: 14px; font-weight: 600; text-decoration: none; }
.events-empty { text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 48px 24px; }
.events-empty p { max-width: 52ch; margin: 0 auto 20px; color: var(--ink-soft); }

.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial .stars { color: var(--brass); letter-spacing: .3em; margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; }
.testimonial figcaption { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.address { font-weight: 600; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.sticky, .bypostauthor, .gallery-caption { }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
}

.site-footer .btn-light { color: var(--ink); }
.site-footer .btn-light:hover { color: var(--ink); }
