/* Property Club — shared styles for subpages (learn / faculty / programmes / products).
   The landing page (index.html) keeps its own inline styles; tokens here mirror it. */

:root {
  --wm-blue: #1a3a5c;
  --wm-blue-deep: #0f2540;
  --wm-highlight: #1F79C9;
  --wm-gold: #D4A017;
  --brand: #1D4ED8;
  --brand-soft: #DBEAFE;
  --success: #059669;
  --warn-soft: #FEF3C7;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #F3F4F6;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;
  --text: #0F172A;
  --text-soft: #334155;
  --text-muted: #64748B;
  --serif: 'Big Caslon', 'Playfair Display', Didot, Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ─── Nav ─── */
nav.top { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
nav.top .row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: 2px; line-height: 1; font-size: 26px; letter-spacing: -0.5px; }
.logo .prop { font-weight: 300; color: var(--wm-blue); }
.logo .club { font-weight: 800; color: var(--wm-blue); }
.nav-menu { display: flex; gap: 34px; font-size: 15px; color: var(--text-soft); }
.nav-menu a:hover { color: var(--wm-blue); }
.nav-menu a.active { color: var(--wm-blue); font-weight: 600; }
nav.top .links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.btn-primary { background: var(--wm-blue); color: white; }
.btn-primary:hover { background: var(--wm-blue-deep); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); background: white; }
.btn-ghost:hover { background: var(--surface-2); }

/* ─── Page hero ─── */
.page-hero { background: linear-gradient(135deg, var(--wm-blue-deep), var(--wm-blue)); color: white; padding: 84px 0 72px; }
.page-hero .eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--wm-gold); margin-bottom: 16px; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; margin-bottom: 18px; }
.page-hero h1 .gold { color: var(--wm-gold); }
.page-hero p.lede { font-size: 18px; color: rgba(255,255,255,.85); max-width: 640px; line-height: 1.6; }

/* ─── Legal doc prose (terms / privacy / ai-policy) ─── */
.legal-doc { max-width: 760px; margin: 0 auto; background: white; border: 1px solid var(--border); border-radius: 18px; padding: 44px 48px; }
.legal-doc h1 { font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--wm-blue); margin-bottom: 6px; }
.legal-doc h2 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--wm-blue); margin: 34px 0 10px; }
.legal-doc h2:first-of-type { margin-top: 22px; }
.legal-doc p { font-size: 15px; line-height: 1.7; color: var(--text-soft); margin-bottom: 14px; }
.legal-doc ul { margin: 0 0 14px 20px; }
.legal-doc li { font-size: 15px; line-height: 1.7; color: var(--text-soft); margin-bottom: 6px; }
.legal-doc a { text-decoration: underline; color: var(--wm-highlight); }
.legal-doc strong { color: var(--text); }
.legal-doc hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
/* Added 2026-08-02 for the /tools detail pages (Builder Brief 2) — h3 for
   FAQ questions one level below the h2 section headings, ol for numbered
   "how it works" steps. Kept in the shared sheet since /pricing, /faq and
   /community will need the same treatment. */
.legal-doc h3 { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--wm-blue); margin: 22px 0 8px; }
.legal-doc ol { margin: 0 0 14px 20px; }
.legal-doc ol li { font-size: 15px; line-height: 1.7; color: var(--text-soft); margin-bottom: 8px; }
.legal-doc .tool-cta { text-align: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.legal-doc .related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.legal-doc .related-links a { display: inline-block; background: var(--wm-soft, #f6f8fb); border: 1px solid var(--border); border-radius: 99px; padding: 7px 16px; text-decoration: none; font-weight: 600; font-size: 13.5px; color: var(--wm-blue); }
.legal-doc .related-links a:hover { background: var(--wm-blue); color: #fff; }
@media (max-width: 640px) { .legal-doc { padding: 30px 24px; } }

/* Added 2026-08-02 for /pricing (Builder Brief 3a) — comparison table. */
.legal-doc table.pricing-table { width: 100%; border-collapse: collapse; margin: 8px 0 26px; font-size: 14px; }
.legal-doc table.pricing-table th, .legal-doc table.pricing-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-doc table.pricing-table th { font-family: var(--serif); font-weight: 400; font-size: 15px; color: var(--wm-blue); background: var(--wm-soft, #f6f8fb); }
.legal-doc table.pricing-table td:first-child, .legal-doc table.pricing-table th:first-child { font-weight: 600; color: var(--text); }
.legal-doc table.pricing-table td.yes { color: #1e9e6a; font-weight: 700; }
.legal-doc table.pricing-table td.no { color: var(--text-muted); }
@media (max-width: 640px) { .legal-doc table.pricing-table { font-size: 12.5px; } .legal-doc table.pricing-table th, .legal-doc table.pricing-table td { padding: 8px 6px; } }

/* Added 2026-08-03 for /glossary (Builder Brief 4) — term pages + A-Z hub. */
.legal-doc .glossary-flag { background: #fff8e6; border: 1px solid #f0d98c; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: #7a5c00; line-height: 1.6; margin-bottom: 22px; }
.legal-doc .related-links span { display: inline-block; background: transparent; border: 1px dashed var(--border); border-radius: 99px; padding: 7px 16px; font-weight: 600; font-size: 13.5px; color: var(--text-muted); }
.legal-doc ul.sources-list { margin: 0 0 14px 20px; }
.legal-doc ul.sources-list li { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 6px; }
.legal-doc p.glossary-reviewed { font-size: 12.5px; color: var(--text-muted); margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.az-index { max-width: 900px; margin: 0 auto; }
.az-jump { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 40px; }
.az-jump a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wm-soft, #f6f8fb); border: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--wm-blue); text-decoration: none; }
.az-jump a:hover { background: var(--wm-blue); color: #fff; }
.az-group { margin-bottom: 30px; }
.az-group h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--wm-gold); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.az-list { columns: 2; column-gap: 40px; list-style: none; }
.az-list li { break-inside: avoid; margin-bottom: 10px; }
.az-list a { font-size: 14.5px; color: var(--wm-blue); text-decoration: none; }
.az-list a:hover { text-decoration: underline; }
.az-list .flag { color: #b8860b; margin-left: 4px; font-size: 12px; }
@media (max-width: 640px) { .az-list { columns: 1; } }

/* ─── Sections ─── */
section.block { padding: 72px 0; }
section.block.alt { background: white; }
.section-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--wm-gold); margin-bottom: 10px; }
h2.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); color: var(--wm-blue); line-height: 1.12; margin-bottom: 14px; }
p.section-sub { color: var(--text-soft); font-size: 16.5px; max-width: 660px; line-height: 1.65; }

/* ─── Faculty zig-zag ─── */
.zig { display: flex; align-items: center; gap: 56px; padding: 56px 0; border-bottom: 1px solid var(--border); }
.zig:last-child { border-bottom: 0; }
.zig.flip { flex-direction: row-reverse; }
.zig .photo { flex: 0 0 340px; }
.zig .photo img { width: 340px; height: 340px; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(15,37,64,.18); }
.zig .info .specialty { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--wm-gold); margin-bottom: 8px; }
.zig .info h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--wm-blue); margin-bottom: 12px; }
.zig .info p { color: var(--text-soft); font-size: 16px; line-height: 1.7; margin-bottom: 12px; max-width: 560px; }
.zig .info .inside { font-size: 14px; color: var(--text-muted); border-left: 3px solid var(--wm-gold); padding-left: 14px; line-height: 1.6; max-width: 540px; }
@media (max-width: 860px) {
  .zig, .zig.flip { flex-direction: column; align-items: flex-start; gap: 28px; }
  .zig .photo, .zig .photo img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; flex-basis: auto; }
}

/* ─── Programme sections ─── */
.prog { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 44px 48px; margin-bottom: 36px; }
.prog .step { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--wm-gold); margin-bottom: 8px; }
.prog h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--wm-blue); margin-bottom: 4px; }
.prog .oneword { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 20px; }
.prog .pp { margin-bottom: 16px; }
.prog .pp .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.prog .pp p { color: var(--text-soft); font-size: 15.5px; line-height: 1.65; max-width: 720px; }
.prog ul { margin: 6px 0 0 18px; color: var(--text-soft); font-size: 15px; line-height: 1.75; }
.prog .pricerow { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 6px; }
.prog .price { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px; }
.prog .price .amt { font-weight: 700; color: var(--wm-blue); font-size: 18px; }
.prog .price .per { font-size: 12.5px; color: var(--text-muted); }
.prog .after { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.prog .cta { margin-top: 22px; }

/* ladder strip */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.ladder .rung { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.ladder .rung .k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--wm-gold); margin-bottom: 6px; }
.ladder .rung .n { font-weight: 700; color: var(--wm-blue); margin-bottom: 4px; }
.ladder .rung p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr 1fr; } }

/* ─── Shop (products mockup) ─── */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
@media (max-width: 960px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .shop-grid { grid-template-columns: 1fr; } }
.product-card { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-card .thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--surface-2), #E8EDF3); display: grid; place-items: center; font-family: var(--serif); color: var(--wm-blue); font-size: 20px; text-align: center; padding: 20px; }
.product-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--wm-gold); margin-bottom: 6px; }
.product-card h4 { font-size: 17px; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.product-card p.desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.product-card .rowline { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.product-card .amt { font-weight: 700; color: var(--wm-blue); font-size: 17px; }
.product-card button { background: var(--wm-blue); color: white; border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 600; font-size: 13.5px; cursor: not-allowed; opacity: .65; }
.badge-soon { display: inline-block; background: var(--warn-soft); color: #854F0B; font-size: 10px; padding: 3px 9px; border-radius: 5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── Coming-soon / placeholder cards (Learn) ─── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: white; border: 1px dashed var(--border-strong); border-radius: 16px; padding: 26px; }
.post-card .cat { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--wm-gold); margin-bottom: 10px; }
.post-card h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--wm-blue); line-height: 1.3; margin-bottom: 8px; }
.post-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── CTA band ─── */
.cta-band { background: linear-gradient(135deg, var(--wm-blue-deep), var(--wm-blue)); color: white; text-align: center; padding: 72px 0; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.cta-band h2 .gold { color: var(--wm-gold); }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 26px; }

/* ─── Footer (4-column — added 2026-08-01, GEO/entity-consolidation pass) ───
   Real <nav> + real <h2> column headings (not images) so crawlers read the
   grouping. Same structure duplicated into index.html's own inline styles
   (that page doesn't link site.css — see the ft-* rules there). */
footer.site { background: var(--wm-blue-deep); color: rgba(255,255,255,.75); padding: 56px 0 32px; font-size: 13px; }
footer.site a { color: rgba(255,255,255,.75); }
footer.site a:hover { color: white; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ft-brand .logo { color: white; }
.ft-brand .logo .prop { color: rgba(255,255,255,.85); }
.ft-brand .logo .club { color: white; }
.ft-desc { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.55; margin: 12px 0 18px; max-width: 260px; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .15s, border-color .15s; }
.ft-social a:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.ft-social svg { width: 15px; height: 15px; fill: rgba(255,255,255,.85); }
.ft-col h2 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.42); margin-bottom: 14px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ft-col a { font-size: 13.5px; border-bottom: none; }
.ft-col a:hover { text-decoration: underline; }
.ft-bottom { padding-top: 22px; font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 900px; }
@media (max-width: 760px) {
  .ft-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .ft-brand { grid-column: 1 / -1; }
}

/* ─── Product thumb variants (mockup polish) ─── */
.thumb.cover { position: relative; background: linear-gradient(150deg, var(--wm-blue-deep), var(--wm-blue) 55%, var(--wm-highlight)); color: white; }
.thumb.cover .booklet { background: white; color: var(--wm-blue-deep); width: 58%; aspect-ratio: 3/4.2; border-radius: 4px 10px 10px 4px; box-shadow: -6px 0 0 rgba(255,255,255,.35), 0 14px 30px rgba(10,26,47,.45); display: flex; flex-direction: column; justify-content: space-between; padding: 14px 12px; text-align: left; }
.thumb.cover .booklet .t { font-family: var(--serif); font-size: 14.5px; line-height: 1.25; }
.thumb.cover .booklet .a { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.thumb.cover .booklet.gold { background: linear-gradient(150deg, #f7e7bd, var(--wm-gold)); color: var(--wm-blue-deep); }
.thumb.cover .booklet.navy { background: linear-gradient(150deg, #17406E, #0A1A2F); color: white; }
.thumb.cover .booklet.navy .a { color: rgba(255,255,255,.65); }
.thumb.photo-thumb { padding: 0; }
.thumb.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.ticket { background: repeating-linear-gradient(-45deg, var(--wm-blue-deep), var(--wm-blue-deep) 14px, #12304f 14px, #12304f 28px); }
.thumb.ticket .stub { background: white; border-radius: 10px; padding: 14px 18px; width: 72%; text-align: left; box-shadow: 0 14px 30px rgba(10,26,47,.45); border-left: 6px dashed var(--wm-gold); }
.thumb.ticket .stub .e { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--wm-gold); font-weight: 800; }
.thumb.ticket .stub .n { font-family: var(--serif); font-size: 16px; color: var(--wm-blue-deep); line-height: 1.2; }
.thumb.giftcard { background: linear-gradient(135deg, #f3f5f8, #e3e9f0); }
.thumb.giftcard .card { background: linear-gradient(135deg, var(--wm-blue-deep), var(--wm-blue)); border-radius: 12px; width: 74%; aspect-ratio: 16/9.5; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 30px rgba(10,26,47,.35); text-align: left; }
.thumb.giftcard .card .l { color: white; font-size: 15px; }
.thumb.giftcard .card .l b { font-weight: 800; }
.thumb.giftcard .card .g { color: var(--wm-gold); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }

/* ─── Shop toolbar (search + filter chips) ─── */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; padding: 16px 18px; background: white; border: 1px solid var(--border); border-radius: 14px; }
.shop-toolbar input[type="search"] { flex: 1 1 220px; min-width: 200px; padding: 11px 16px; border: 1px solid var(--border-strong); border-radius: 9px; font-size: 14.5px; font-family: var(--sans); color: var(--text); background: var(--bg); outline: none; }
.shop-toolbar input[type="search"]:focus { border-color: var(--wm-highlight); background: white; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--border-strong); background: white; color: var(--text-soft); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-family: var(--sans); }
.chip:hover { border-color: var(--wm-blue); color: var(--wm-blue); }
.chip.active { background: var(--wm-blue); border-color: var(--wm-blue); color: white; }

/* ─── Shop hero collage ─── */
.shop-hero .shop-hero-row { display: flex; align-items: center; gap: 40px; }
.shop-hero-copy { flex: 1 1 55%; }
.shop-hero-shelf { flex: 1 1 45%; position: relative; height: 340px; }
.shop-hero-shelf img { position: absolute; width: 150px; border-radius: 6px; box-shadow: 0 24px 48px rgba(0,0,0,.45); }
.shop-hero-shelf .s1 { left: 6%; top: 34px; transform: rotate(-7deg); z-index: 3; }
.shop-hero-shelf .s2 { left: 32%; top: 4px; transform: rotate(3deg); z-index: 2; }
.shop-hero-shelf .s3 { left: 57%; top: 44px; transform: rotate(9deg); z-index: 4; }
.shop-hero-shelf .s4 { left: 80%; top: 14px; transform: rotate(-4deg); z-index: 1; width: 130px; }
@media (max-width: 900px) { .shop-hero-shelf { display: none; } }

/* ─── Mobile nav ─── */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--wm-blue); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; order: 3; }
  nav.top .links a:not(.btn) { display: none; }
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); flex-direction: column; gap: 0; padding: 8px 0; box-shadow: 0 16px 30px rgba(15,37,64,.12); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 28px; border-bottom: 1px solid var(--surface-2); }
}

/* Internal build flag — marks template/unconfirmed content in mocks
   (matches the index.html inline definition). */
.placeholder-flag { display: inline-block; background: #FEF3C7; color: #854F0B; font-size: 10px; padding: 2px 8px; border-radius: 4px; margin-left: 6px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }
