/*
Theme Name: Gallivant Africa
Theme URI: https://gallivantafrica.com
Author: Gallivant Africa
Description: Custom theme for Gallivant Africa — Africa's independent standard of 5-star luxury. Star ratings for hotels, restaurants, spas and airlines.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gallivant-africa
*/

/* ---------------------------------- Tokens ---------------------------------- */
:root {
  --ink: #16161f;          /* deep charcoal-navy */
  --navy: #1a1a2e;         /* brand navy */
  --navy-soft: #23233a;
  --cream: #f6f1e9;        /* page background */
  --cream-2: #efe7da;      /* alt section background */
  --paper: #fffdf9;
  --coral: #e2726a;        /* brand coral (accents, icons) */
  --coral-deep: #c14b3e;   /* buttons — passes contrast with white */
  --brass: #c9a87c;        /* seal / fine rules */
  --text: #2b2b35;
  --text-dim: #5c5c68;
  --text-inverse: #f3efe8;
  --rule: rgba(26, 26, 46, 0.14);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(22, 22, 31, 0.14);
}

/* ---------------------------------- Reset / base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; width: auto; height: auto;
  position: fixed; top: 10px; left: 10px; z-index: 999;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius);
}

/* Eyebrow + section headers */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral-deep); font-weight: 500; margin-bottom: 0.9rem; display: block;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .underline {
  width: 54px; height: 2px; background: var(--coral); margin: 1.1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1rem 1.9rem; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral-deep); color: #fff; }
.btn-primary:hover { background: #a93d31; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); color: #fff; }

/* ---------------------------------- Header ---------------------------------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 40;
  padding: 1.1rem 0;
}
.site-header .wrap { display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand img.custom-logo { max-height: 56px; width: auto; }
.brand-name {
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; line-height: 1.15;
}
.brand-name span { display: block; font-size: 0.72rem; letter-spacing: 0.42em; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 1.9rem; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  color: rgba(255, 255, 255, 0.88); text-decoration: none; font-size: 0.92rem; font-weight: 400;
  padding: 0.5rem 0; white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: #fff; border-bottom: 1px solid var(--coral); }
.header-cta { margin-left: 1.8rem; flex: none; }
.header-cta .btn { padding: 0.7rem 1.3rem; }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255,255,255,0.6); color: #fff;
  border-radius: var(--radius); padding: 0.55rem 0.9rem; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; min-height: 44px; cursor: pointer;
}
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; margin-left: 0.8rem; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); padding: 1rem 1.5rem 1.5rem; margin: 0; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.4rem; flex-wrap: wrap; }
  .main-nav a { display: block; padding: 0.7rem 0; font-size: 1.05rem; }
  .header-cta { margin-left: auto; }
}

/* Solid header for inner pages */
.header-solid .site-header { position: relative; background: var(--ink); }

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative; color: var(--text-inverse);
  background:
    linear-gradient(100deg, rgba(20, 20, 32, 0.92) 0%, rgba(20, 20, 32, 0.72) 46%, rgba(20, 20, 32, 0.42) 100%),
    var(--hero-image, radial-gradient(120% 90% at 82% 20%, #4a3a3f 0%, #2a2438 42%, #16161f 100%));
  background-size: cover; background-position: center;
  padding: clamp(9rem, 16vw, 12.5rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero .lede { font-size: 1.15rem; max-width: 34rem; color: rgba(243, 239, 232, 0.92); margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* The seal — signature element */
.seal { justify-self: center; width: min(340px, 70vw); position: relative; }
.seal svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); }
.seal .seal-ring { transform-origin: 50% 50%; animation: seal-turn 60s linear infinite; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal .seal-ring { animation: none; } }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .seal { margin-top: 1rem; }
}

/* ---------------------------------- Pillars ---------------------------------- */
.pillars { background: var(--paper); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; }
@media (max-width: 940px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar { text-align: center; }
.pillar .icon {
  width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: #fdf3ef; display: grid; place-items: center; color: var(--coral-deep);
}
.pillar .icon svg { width: 34px; height: 34px; }
.pillar h3 { margin-bottom: 0.4rem; }
.pillar p { color: var(--text-dim); font-size: 0.98rem; margin: 0; }

/* ---------------------------------- Categories ---------------------------------- */
.categories { background: var(--cream-2); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.categories .wrap { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 940px) { .categories .wrap { grid-template-columns: 1fr; } }
.categories-intro h2 { margin-bottom: 1.4rem; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 940px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; background-color: var(--navy);
  display: flex; align-items: flex-end; justify-content: center; text-decoration: none;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 32, 0.85) 0%, rgba(20, 20, 32, 0.1) 55%);
}
.cat-card .cat-label {
  position: relative; z-index: 2; color: #fff; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.82rem; font-weight: 500; padding: 1.2rem; text-align: center;
}
.cat-card .cat-icon {
  position: absolute; z-index: 2; left: 50%; bottom: 4rem; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(22, 22, 31, 0.65); border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid; place-items: center; color: #fff;
}
.cat-card .cat-icon svg { width: 24px; height: 24px; }
.cat-card:hover .cat-icon { background: var(--coral-deep); border-color: var(--coral-deep); }

/* ---------------------------------- Services ---------------------------------- */
.services { background: var(--cream); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 940px) { .svc-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.svc-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc-media { aspect-ratio: 16 / 10; background: var(--navy) center / cover no-repeat; position: relative; }
.svc-media .svc-icon {
  position: absolute; left: 1.4rem; bottom: -28px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--rule);
  display: grid; place-items: center; color: var(--ink);
}
.svc-media .svc-icon svg { width: 24px; height: 24px; }
.svc-body { padding: 2.6rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.svc-body p { color: var(--text-dim); font-size: 0.98rem; flex: 1; }
.svc-link {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: var(--coral-deep); text-decoration: none;
}
.svc-link:hover { text-decoration: underline; }

/* ---------------------------------- CTA band ---------------------------------- */
.cta-band { background: var(--ink); color: var(--text-inverse); padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; margin: 0 auto 2rem; color: rgba(243, 239, 232, 0.85); }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: #101018; color: rgba(243, 239, 232, 0.75); padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(243, 239, 232, 0.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; }

/* ---------------------------------- Inner pages ---------------------------------- */
.page-hero { background: var(--ink); color: #fff; padding: 4.5rem 0 3.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0; }
.entry-content { padding: 3.5rem 0 5rem; max-width: 760px; margin-inline: auto; }
.entry-content .wrap { padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* ---------------------------------- Get Rated form ---------------------------------- */
.rate-form { max-width: 640px; margin: 0 auto; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.rate-form label { display: block; font-size: 0.85rem; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink); }
.rate-form input, .rate-form select, .rate-form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem; margin-bottom: 1.2rem;
  border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; color: var(--text);
}
.rate-form textarea { min-height: 140px; resize: vertical; }
.rate-form .btn { width: 100%; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* WordPress core alignment classes */
.alignwide { max-width: var(--wrap); }
.alignfull { width: 100%; max-width: none; }

/* ---------------------------------- Inner page heroes (Ratings / Services) ---------------------------------- */
.page-hero-lg {
  position: relative; color: var(--text-inverse);
  background:
    linear-gradient(100deg, rgba(20, 20, 32, 0.94) 0%, rgba(20, 20, 32, 0.72) 48%, rgba(20, 20, 32, 0.38) 100%),
    var(--page-hero-image, radial-gradient(120% 90% at 80% 15%, #4a3a3f 0%, #2a2438 45%, #16161f 100%));
  background-size: cover; background-position: center;
  padding: clamp(8.5rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.page-hero-lg h1 { color: #fff; max-width: 15ch; margin-bottom: 1.2rem; }
.page-hero-lg h1 .accent { color: var(--coral); font-style: italic; }
.page-hero-lg .lede { max-width: 32rem; font-size: 1.12rem; color: rgba(243, 239, 232, 0.9); margin: 0; }
.page-hero-lg .eyebrow { color: var(--coral); }
.page-hero-lg .rule { width: 44px; height: 3px; background: var(--coral); margin: 1.4rem 0; }

/* ---------------------------------- Rating scale ---------------------------------- */
.scale { background: var(--paper); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.scale-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 940px) { .scale-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }
@media (max-width: 560px) { .scale-grid { grid-template-columns: 1fr; } }
.scale-item { text-align: center; padding: 2rem 1.2rem; border-left: 1px solid var(--rule); }
.scale-item:first-child { border-left: 0; }
@media (max-width: 940px) { .scale-item { border-left: 0; } }
.scale-item.is-top { border: 1px solid var(--coral); border-radius: var(--radius); background: #fffaf6; }
.mini-seal { width: 110px; margin: 0 auto 1.2rem; }
.mini-seal svg { width: 100%; height: auto; }
.scale-item h3 {
  font-size: 1.25rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 0.2rem;
}
.scale-item .grade {
  display: block; font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: var(--coral-deep); margin-bottom: 0.8rem;
}
.scale-item p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

/* ---------------------------------- Split process sections (How We Rate / Our Approach) ---------------------------------- */
.process { background: var(--cream-2); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.process .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 940px) { .process .wrap { grid-template-columns: 1fr; } }
.process-intro h2 { margin-bottom: 1rem; }
.process-intro .rule { width: 44px; height: 3px; background: var(--coral); margin-bottom: 1.2rem; }
.process-intro p { color: var(--text-dim); font-size: 0.98rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; position: relative; }
.step .icon {
  width: 84px; height: 84px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--rule);
  display: grid; place-items: center; color: var(--coral-deep);
}
.step .icon svg { width: 32px; height: 32px; }
.step h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.step p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
@media (min-width: 941px) {
  .step + .step::before {
    content: "\2192"; position: absolute; left: -1.35rem; top: 34px;
    color: var(--brass); font-size: 1.2rem;
  }
}

/* ---------------------------------- Service detail cards ---------------------------------- */
.svc-detail { background: var(--cream); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.svc-detail .svc-body h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0; text-transform: none; }
.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.checklist li {
  position: relative; padding-left: 1.9rem; margin-bottom: 0.55rem;
  font-size: 0.95rem; color: var(--text-dim);
}
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.05rem;
  width: 1.25rem; height: 1.25rem; border: 1px solid var(--coral); border-radius: 50%;
  color: var(--coral-deep); font-size: 0.7rem; line-height: 1.25rem; text-align: center;
}

/* ---------------------------------- Trust columns ---------------------------------- */
.trust-cols { background: var(--paper); padding: clamp(4rem, 8vw, 6rem) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-col { text-align: center; padding: 0 1.6rem; border-left: 1px solid var(--rule); }
.trust-col:first-child { border-left: 0; }
@media (max-width: 940px) { .trust-col { border-left: 0; } }
.trust-col .icon { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--coral-deep); }
.trust-col .icon svg { width: 100%; height: 100%; }
.trust-col h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.trust-col p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

/* ---------------------------------- Image CTA band ---------------------------------- */
.cta-image {
  position: relative; color: var(--text-inverse);
  background:
    linear-gradient(100deg, rgba(20, 20, 32, 0.94) 0%, rgba(20, 20, 32, 0.62) 55%, rgba(20, 20, 32, 0.35) 100%),
    var(--cta-image, radial-gradient(120% 90% at 85% 30%, #43333a 0%, #241f33 50%, #14141d 100%));
  background-size: cover; background-position: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}
.cta-image h2 { color: #fff; max-width: 16ch; }
.cta-image p { max-width: 30rem; color: rgba(243, 239, 232, 0.88); margin-bottom: 2rem; }

/* ---------------------------------- Trust strip ---------------------------------- */
.trust-strip { background: #14141d; color: var(--text-inverse); padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 940px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .strip-grid { grid-template-columns: 1fr; } }
.strip-item { display: flex; gap: 0.9rem; align-items: center; }
.strip-item .icon { width: 40px; height: 40px; flex: none; color: var(--brass); }
.strip-item .icon svg { width: 100%; height: 100%; }
.strip-item strong { display: block; font-size: 0.95rem; font-weight: 600; color: #fff; }
.strip-item span { font-size: 0.85rem; color: rgba(243, 239, 232, 0.65); }

/* ---------------------------------- Mark of trust ---------------------------------- */
.mark-trust { background: var(--cream-2); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.mark-trust .wrap { display: grid; grid-template-columns: 300px 1.4fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 940px) { .mark-trust .wrap { grid-template-columns: 1fr; } }
.mark-photo {
  width: 280px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--navy) center / cover no-repeat; box-shadow: var(--shadow);
}
.mark-copy .rule { width: 44px; height: 3px; background: var(--coral); margin: 1rem 0 1.2rem; }
.mark-copy p { color: var(--text-dim); }
.mark-list { list-style: none; margin: 0; padding: 0; }
.mark-list li { position: relative; padding-left: 2.4rem; margin-bottom: 1.3rem; }
.mark-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.1rem;
  width: 1.6rem; height: 1.6rem; border: 1px solid var(--coral); border-radius: 50%;
  color: var(--coral-deep); font-size: 0.85rem; line-height: 1.6rem; text-align: center;
}
.mark-list strong { display: block; color: var(--ink); font-weight: 600; }
.mark-list span { font-size: 0.92rem; color: var(--text-dim); }

/* ---------------------------------- Methodology page ---------------------------------- */
.method-principles { background: var(--paper); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3.5rem; max-width: 960px; margin: 0 auto; }
@media (max-width: 780px) { .principle-grid { grid-template-columns: 1fr; } }
.principle { display: flex; gap: 1.3rem; align-items: flex-start; }
.principle .icon {
  width: 56px; height: 56px; flex: none; border-radius: 50%;
  background: #fdf3ef; display: grid; place-items: center; color: var(--coral-deep);
}
.principle .icon svg { width: 24px; height: 24px; }
.principle h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; margin-bottom: 0.3rem; }
.principle p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

.method-areas { background: var(--cream); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.area-row {
  display: grid; grid-template-columns: 90px 1fr 2fr; gap: 2rem; align-items: baseline;
  padding: 2rem 0; border-top: 1px solid var(--rule);
}
.area-row:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 780px) { .area-row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.6rem 0; } }
.area-num { font-family: var(--font-display); font-size: 2rem; color: var(--brass); }
.area-row h3 { font-size: 1.35rem; margin: 0; }
.area-row h3 .tag {
  display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral-deep); margin-top: 0.4rem;
}
.area-row p { color: var(--text-dim); font-size: 0.98rem; margin: 0; }

.method-integrity { background: var(--navy); color: var(--text-inverse); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.method-integrity .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; align-items: start; }
@media (max-width: 940px) { .method-integrity .wrap { grid-template-columns: 1fr; } }
.method-integrity h2 { color: #fff; }
.method-integrity .rule { width: 44px; height: 3px; background: var(--coral); margin: 1rem 0 1.2rem; }
.method-integrity .intro p { color: rgba(243, 239, 232, 0.82); }
.integrity-list { list-style: none; margin: 0; padding: 0; }
.integrity-list li {
  position: relative; padding: 1.3rem 0 1.3rem 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.integrity-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.integrity-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1.45rem;
  width: 1.6rem; height: 1.6rem; border: 1px solid var(--brass); border-radius: 50%;
  color: var(--brass); font-size: 0.85rem; line-height: 1.6rem; text-align: center;
}
.integrity-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 0.15rem; }
.integrity-list span { font-size: 0.95rem; color: rgba(243, 239, 232, 0.72); }
