/*
Theme Name: Thamani Living
Theme URI: https://thamaniliving.co.uk
Author: Thamani Living Ltd
Description: Custom theme for Thamani Living Ltd. Property sourcing for investors, Rent2Rent guaranteed rent for landlords, and furnished rooms for working professionals. Includes Investment deals and Rooms to rent listings, editable FAQs and an enquiry form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: thamani
*/

/* Layout: a deep-green brand band opens and closes every page; between them, calm paper sections. */
:root {
  --brand: #123f39;
  --brand-deep: #0c2f2a;
  --gold: #d9bb80;
  --gold-hover: #e6cb94;
  --on-brand: #eef1ea;
  --on-brand-soft: #b9c7bf;

  --bg: #f4f6f2;
  --surface: #ffffff;
  --ink: #12302c;
  --ink-soft: #4b5f5a;
  --line: #d6ddd6;
  --accent: #8a6a2e;
  --accent-wash: #f1e9d7;
  --focus: #b8862c;
  --danger: #a3362b;

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-label: "Montserrat", "Century Gothic", "Segoe UI", sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --step--1: 0.85rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(2rem, 1.5rem + 1.9vw, 2.9rem);
  --step-4: clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem);
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e211e; --surface: #142d29; --ink: #e8ece6; --ink-soft: #a9b8b2;
    --line: #26413c; --accent: #d9bb80; --accent-wash: #22342c; --focus: #e2c68e; --danger: #e07a6e;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--brand-deep); padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--f-label); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.lede { color: var(--ink-soft); font-size: var(--step-1); max-width: 38rem; }
section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { display: grid; gap: 0.9rem; margin-bottom: 2.5rem; max-width: 44rem; }
.section-head h2, .h2 { font-size: var(--step-3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--f-label); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 0.9rem 1.5rem; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.btn-gold { background: var(--gold); color: var(--brand-deep); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { border-color: rgba(217,187,128,.55); color: var(--gold); background: transparent; }
.btn-line:hover { border-color: var(--gold); background: rgba(217,187,128,.08); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { opacity: .88; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--brand); border-bottom: 1px solid rgba(217,187,128,.18); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--gold); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--f-label); line-height: 1.15; }
.brand-name b { display: block; font-weight: 500; font-size: 1rem; letter-spacing: 0.28em; }
.brand-name small { display: block; font-size: 0.62rem; letter-spacing: 0.36em; color: var(--on-brand-soft); }
.nav-menu ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--on-brand); text-decoration: none; font-size: 0.92rem; }
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu a[aria-current="page"] { color: var(--gold); }
.nav-cta { padding: 0.6rem 1rem; font-size: 0.72rem; }
.menu-toggle { display: none; appearance: none; background: transparent; border: 1px solid rgba(217,187,128,.45); color: var(--gold); font-family: var(--f-label); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.55rem 0.8rem; border-radius: 2px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav-cta { display: none; }
  .nav { flex-wrap: wrap; }
  .nav-menu { display: none; width: 100%; padding-bottom: 1rem; }
  .nav-menu.open { display: block; }
  .nav-menu ul { flex-direction: column; gap: 0; }
  .nav-menu li a { display: block; padding: 0.75rem 0; border-top: 1px solid rgba(217,187,128,.15); }
}

/* Hero */
.hero { background: var(--brand); color: var(--on-brand); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(217,187,128,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(217,187,128,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 80% 40%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 80% 40%, #000 0%, transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: var(--step-4); line-height: 1.05; margin-block: 1rem 1.25rem; }
.hero h1 em, .page-hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { color: var(--on-brand-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.logo-tile { margin: 0; border: 1px solid rgba(217,187,128,.3); padding: clamp(0.5rem, 1.5vw, 1rem); background: var(--brand-deep); max-width: 100%; }
.logo-tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(217,187,128,.2); font-size: 0.9rem; color: var(--on-brand-soft); list-style: none; }
.hero-facts li::before { content: "—"; color: var(--gold); margin-right: 0.5rem; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .logo-tile { max-width: 16rem; order: -1; } }

/* Audience tabs */
.paths { border: 1px solid var(--line); background: var(--surface); }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tab { appearance: none; background: transparent; border: 0; border-right: 1px solid var(--line); padding: 1.25rem 1.25rem 1.1rem; text-align: left; cursor: pointer; color: var(--ink-soft); font: inherit; display: grid; gap: 0.2rem; position: relative; }
.tab:last-child { border-right: 0; }
.tab .t-who { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; color: var(--ink); }
.tab .t-what { font-size: 0.88rem; }
.tab[aria-selected="true"] { background: var(--accent-wash); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.panel { padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3rem); }
.panel[hidden] { display: none; }
.panel h3 { font-size: 2rem; margin-bottom: 0.9rem; }
.panel p { color: var(--ink-soft); }
.panel .btn { margin-top: 1.5rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; align-content: start; }
.checks li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.6rem; }
.checks li::before { content: ""; width: 0.7rem; height: 0.7rem; margin-top: 0.45rem; border: 1.5px solid var(--accent); transform: rotate(45deg); }
@media (max-width: 760px) {
  .tabs { grid-template-columns: 1fr; }
  .tab { border-right: 0; border-bottom: 1px solid var(--line); }
  .tab:last-child { border-bottom: 0; }
  .tab[aria-selected="true"]::after { top: 0; bottom: 0; right: auto; width: 3px; height: auto; }
  .panel { grid-template-columns: 1fr; }
}

/* Process */
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 1.5rem 1.25rem 0 0; border-top: 1px solid var(--line); position: relative; display: grid; gap: 0.5rem; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.8rem; color: var(--accent); }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.steps h3 { font-size: 1.5rem; font-weight: 600; }
.steps p { color: var(--ink-soft); font-size: 0.93rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Deal pack */
.deal-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.stack { display: grid; gap: 1rem; align-content: start; }
.stack > p { color: var(--ink-soft); }
.pack { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(10,40,35,.45); font-family: var(--f-mono); font-size: 0.88rem; min-width: 0; }
.pack-head { background: var(--brand); color: var(--on-brand); padding: 1rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.pack-head b { font-family: var(--f-label); font-weight: 500; letter-spacing: 0.28em; font-size: 0.8rem; color: var(--gold); }
.pack-head span { font-size: 0.75rem; color: var(--on-brand-soft); }
.pack-body { padding: 1.25rem; display: grid; gap: 1.25rem; }
.pack-title { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; }
.pack-title small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.pack dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; font-variant-numeric: tabular-nums; }
.pack dt, .pack dd { padding: 0.5rem 0; border-bottom: 1px dashed var(--line); margin: 0; }
.pack dd { text-align: right; }
.pack .total { border-bottom: 0; font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kpi { background: var(--accent-wash); padding: 0.9rem; display: grid; gap: 0.15rem; }
.kpi b { font-family: var(--f-display); font-weight: 600; font-size: 2rem; }
.kpi span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.note { font-family: var(--f-body); font-size: 0.8rem; color: var(--ink-soft); max-width: 46rem; }
@media (max-width: 860px) { .deal-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 34rem; }
.compare th, .compare td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-label); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.7rem; color: var(--ink-soft); }
.compare thead th.us { color: var(--accent); }
.compare tbody th { font-weight: 600; width: 30%; }
.compare td.us { background: var(--accent-wash); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* Professionals */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.included div { background: var(--surface); padding: 1.1rem 1.2rem; display: grid; gap: 0.25rem; }
.included b { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; }
.included span { color: var(--ink-soft); font-size: 0.9rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0.5rem 0 0; }
.pills li { border: 1px solid var(--line); padding: 0.35rem 0.8rem; font-size: 0.85rem; border-radius: 999px; color: var(--ink-soft); background: var(--surface); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .included { grid-template-columns: 1fr; } }

/* Promise */
.promise { background: var(--brand); color: var(--on-brand); padding-block: clamp(3rem, 6vw, 4.5rem); }
.promise-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); }
.promise h2 { font-size: var(--step-3); }
.promise h2 span { color: var(--gold); font-style: italic; }
.promise .eyebrow { color: var(--gold); margin-bottom: 1rem; display: block; }
.promise-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.promise-list div { display: grid; gap: 0.35rem; border-top: 1px solid rgba(217,187,128,.25); padding-top: 1rem; }
.promise-list b { font-family: var(--f-display); font-weight: 600; color: var(--gold); font-size: 1.4rem; }
.promise-list p { color: var(--on-brand-soft); font-size: 0.93rem; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .promise-list { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.4rem; font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: 1.25rem; color: var(--ink-soft); max-width: 44rem; }
.faq .answer p + p { margin-top: 0.75rem; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-lines { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.contact-lines a { color: var(--accent); }
.enquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field.full, .enquiry fieldset, .form-foot, .form-status { grid-column: 1 / -1; }
.enquiry label, .enquiry legend { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.enquiry input, .enquiry select, .enquiry textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 0.7rem 0.8rem; width: 100%; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.enquiry textarea { min-height: 7.5rem; resize: vertical; }
.enquiry fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; background: var(--bg); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--ink-soft); max-width: 26rem; }
.form-status { padding: 0.9rem 1rem; background: var(--accent-wash); border-left: 3px solid var(--accent); font-size: 0.93rem; }
.form-status.error { border-left-color: var(--danger); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.listing-ref { grid-column: 1 / -1; font-size: 0.88rem; color: var(--ink-soft); }
.listing-ref b { color: var(--ink); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .enquiry { grid-template-columns: 1fr; } }

/* Listing pages */
.page-hero { background: var(--brand); color: var(--on-brand); padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.page-hero-inner > div { display: grid; gap: 0.9rem; max-width: 42rem; min-width: 0; }
.page-hero h1 { font-size: var(--step-4); }
.page-hero .lede { color: var(--on-brand-soft); }
.listings-section { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 7vw, 6rem); }
.listings-wrap { display: grid; gap: 1.75rem; }
.listings-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.filter a { text-decoration: none; font-size: 0.88rem; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.filter a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.count { font-family: var(--f-label); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.75rem; }
.listing { background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.listing-media { position: relative; display: block; aspect-ratio: 4 / 3; max-width: 100%; background: var(--brand-deep); overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.listing:hover .listing-media img { transform: scale(1.03); }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-brand-soft); font-family: var(--f-label); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.photo-count { position: absolute; right: 0.6rem; bottom: 0.6rem; background: rgba(12,47,42,.78); color: #f3ead6; font-family: var(--f-mono); font-size: 0.72rem; padding: 0.2rem 0.5rem; }
.status { position: absolute; left: 0.75rem; top: 0.75rem; font-family: var(--f-label); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.35rem 0.65rem; background: var(--gold); color: var(--brand-deep); }
.status.muted { background: #e9ece8; color: #3d4f4a; }
.listing-body { padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: 0.9rem; align-content: start; }
.tag { font-family: var(--f-label); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.listing h2 { font-size: 1.65rem; font-weight: 600; }
.listing h2 a { text-decoration: none; }
.listing h2 a:hover { color: var(--accent); }
.loc { color: var(--ink-soft); font-size: 0.92rem; }
.listing .loc { margin-top: -0.4rem; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.figs div { background: var(--accent-wash); padding: 0.65rem 0.7rem; display: grid; gap: 0.1rem; min-width: 0; }
.figs dt { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.figs dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.features { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.features li { font-size: 0.78rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.65rem; color: var(--ink-soft); }
.listing .btn { justify-self: start; }
.empty { border: 1px dashed var(--line); padding: 2.5rem 1.5rem; text-align: center; color: var(--ink-soft); display: grid; gap: 0.75rem; justify-items: center; }
.empty strong { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); }
.pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: 0.4rem 0.8rem; border: 1px solid var(--line); text-decoration: none; background: var(--surface); }
.pagination .current { background: var(--ink); color: var(--bg); }

/* Single listing */
.single-head { display: grid; gap: 0.6rem; margin-bottom: 1.75rem; }
.single-head h1 { font-size: var(--step-3); }
.back { font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--accent); }
.single-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.gallery { display: grid; gap: 0.6rem; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--brand-deep); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: rgba(12,47,42,.72); color: #f3ead6; font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.gal-btn:hover { background: rgba(12,47,42,.92); }
.gal-btn.prev { left: 0.75rem; } .gal-btn.next { right: 0.75rem; }
.thumbs { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; }
.thumbs button { flex: none; width: 5.5rem; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; background: var(--brand-deep); cursor: pointer; opacity: .7; }
.thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side { display: grid; gap: 1.25rem; position: sticky; top: 5.5rem; }
.side .pack-body { gap: 1rem; }
.entry { color: var(--ink-soft); max-width: 44rem; }
.entry > * + * { margin-top: 1rem; }
.entry h2, .entry h3 { color: var(--ink); }
.single-body { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .single-grid { grid-template-columns: 1fr; } .side { position: static; } }

/* Basic pages */
.page-content { max-width: 46rem; }
.page-content > * + * { margin-top: 1rem; }
.page-content h1 { font-size: var(--step-3); margin-bottom: 1.5rem; }

/* Footer */
.site-footer { background: var(--brand-deep); color: var(--on-brand-soft); padding-block: 3rem 2rem; font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer h3 { font-family: var(--f-label); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; color: var(--on-brand); }
.site-footer a:hover { color: var(--gold); }
.foot-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(217,187,128,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.8rem; }
.legal { margin-top: 1rem; font-size: 0.78rem; line-height: 1.6; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
