/* jkmarcam.com stylesheet. Design system from the approved homepage mockup (visual direction A "Modern chambers",
   5 Revamp 2026\mockup\style.css): navy base, warm off-white, red for the primary button only.
   Fonts (owner's decision, 7 Nov 2026: a professional legal pairing, no Michroma anywhere):
     --display  Source Serif 4 (a sober book serif, the convention for law and IP firms) for headings, prices and quotes
     --label    Inter, uppercase with tracking, for the menu, eyebrows and small labels (echoes the logo descriptor)
     --body     Inter for running text
   Mobile-first, one file, no framework. Inner-page styles are appended at the end under "Inner pages". */
:root {
  --navy: #14213D;
  --navy-2: #1C2E55;        /* lighter navy for borders/hover on dark */
  --navy-ink: #0E1830;      /* darkest navy, footer */
  --cream: #F7F5F1;         /* warm off-white page background */
  --cream-2: #EEEAE2;       /* slightly deeper cream for strips */
  --paper: #FFFFFF;
  --ink: #1B1F24;
  --muted: #4E5668;         /* 7.4:1 on cream */
  --line: #DDD8CF;
  --red: #B3261E;           /* primary button only; white text 6.3:1 */
  --red-dark: #8E1D17;
  --gold: #C9A961;          /* thin accent rules and eyebrows on navy */
  --ok: #1E6B3A;
  --radius: 12px;
  --wrap: 1160px;
  --header-h: 72px;
  --display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --label: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(14, 24, 48, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;               /* 16px on phones, 17px from 640px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.25rem + 3.2vw, 3.4rem); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
small { font-size: 1rem; }      /* nothing on the page below 16px */
@media (min-width: 640px) { body { font-size: 1.0625rem; line-height: 1.65; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 8px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Eyebrows, rules, buttons ---------- */
/* Label font (Inter, uppercase): 1rem (never below 16px), semibold, .1em tracking. */
.eyebrow {
  display: inline-block; font-family: var(--label); font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1.3; color: var(--red-dark); margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.btn-row .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } }
.micro { font-size: 1rem; color: var(--muted); margin: 0; }
.on-dark .micro { color: rgba(255,255,255,.78); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,245,241,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; }
.brand img { height: 34px; width: auto; }
@media (min-width: 400px) { .brand img { height: 40px; } }
@media (min-width: 1024px) { .brand img { height: 46px; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 8px 12px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle .label { font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-toggle .bars { position: relative; display: block; width: 20px; height: 2px; background: currentColor; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }

.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.site-nav li { margin: 0; }
.site-nav a:not(.btn) { display: block; padding: 12px 8px; min-height: 48px; font-weight: 500; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); }
/* Menu labels in Inter, uppercase (owner, 7 Nov 2026: no Michroma; a plain professional sans for navigation). */
.site-nav li:not(.nav-phone):not(.nav-cta) a { font-family: var(--label); font-weight: 500; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.site-nav .nav-phone a { font-weight: 600; }
.site-nav .nav-cta { padding-top: 12px; border: 0; }
.site-nav .nav-cta .btn { width: 100%; }

/* Desktop menu row. Owner's decision 6 Nov 2026: uppercase labels on desktop (Inter since 7 Nov) and no phone number in the menu row
   (the phone stays in the phone-width menu, the footer, the contact page and the sticky bar). Below the breakpoint the
   Call / WhatsApp / Enquire bar stays visible so every screen has a way to call. */
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .brand { flex: 0 0 auto; }
  .site-nav { display: block; position: static; background: transparent; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 0; padding: 0; }
  .site-nav a:not(.btn) { padding: 10px 6px; border: 0; font-size: 1rem; white-space: nowrap; }
  .site-nav li:not(.nav-phone):not(.nav-cta) a { letter-spacing: .06em; }
  .site-nav a:not(.btn):hover { color: var(--red-dark); }
  .site-nav .nav-phone { display: none; }
  .site-nav .nav-cta { padding: 0; margin-left: 8px; }
  .site-nav .nav-cta .btn { width: auto; min-height: 44px; padding: 10px 18px; white-space: nowrap; }
}

/* ---------- Sections with background pictures ----------
   Dark sections: the photo keeps most of its colour (owner's own photos) under a ~60% navy wash, lightened on 6 Nov 2026
   at the owner's request ("blue mask too strong"). Text columns sit over the heavier end of the gradient.
   Light sections: the photo is a faint grayscale wash under cream so cards and ink text stay >= 10:1. */
.section { position: relative; isolation: isolate; padding: 56px 0; background-color: var(--cream); overflow: hidden; }
@media (min-width: 640px) { .section { padding: 80px 0; } }
@media (min-width: 900px) { .section { padding: 104px 0; } }
/* The picture is a real <img class="section-bg" loading="lazy"> inside the section (not a CSS background), so photos
   below the fold and on other pages load only when needed. The wash is the ::after overlay, values unchanged from the mockup. */
.section > .section-bg, .section > picture.section-bg > img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; filter: grayscale(.25) saturate(.9); pointer-events: none;
}
.section::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.section.light > .section-bg, .section.light > picture.section-bg > img { opacity: .16; filter: grayscale(1); }
.section.light::after { background: linear-gradient(180deg, rgba(247,245,241,.55), rgba(247,245,241,.2)); }
.section.on-dark { background-color: var(--navy); color: #fff; }
.section.on-dark::after { background: linear-gradient(180deg, rgba(20,33,61,.66), rgba(20,33,61,.58)); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a { color: #fff; }
.on-dark .muted, .on-dark p.lead { color: rgba(255,255,255,.86); }
.hero > picture.section-bg > img { object-position: 50% 60%; }
@media (min-width: 760px) { .hero > picture.section-bg > img { object-position: center; } }
.agents > .section-bg { object-position: 50% 70%; }

.section-intro { max-width: 720px; margin-bottom: 36px; }
.section-intro p { font-size: 1.1rem; color: var(--muted); }
.on-dark .section-intro p { color: rgba(255,255,255,.84); }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 40px; }
.hero::after { background: linear-gradient(100deg, rgba(20,33,61,.82) 0%, rgba(20,33,61,.62) 55%, rgba(20,33,61,.30) 100%); }
@media (min-width: 900px) { .hero { padding: 96px 0 80px; min-height: 640px; display: flex; align-items: center; } }
.hero-grid { display: grid; gap: 36px; align-items: center; max-width: 820px; }
.hero-grid h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); letter-spacing: -.015em; }
.hero-grid .lead { max-width: 640px; font-size: 1.2rem; }
.hero h1 { color: #fff; max-width: 15ch; }
@media (max-width: 639px) { .hero h1 { max-width: none; } }   /* the serif is wider; let the phone headline use the full width */
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero .lead { font-size: 1.15rem; max-width: 56ch; color: rgba(255,255,255,.9); }
@media (min-width: 900px) { .hero .lead { font-size: 1.25rem; } }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: #fff; font-weight: 500; }
.hero-points svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--gold); }
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; font-size: 1rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(14,24,48,.85)); }
.price-badge {
  position: absolute; top: 16px; left: 16px; background: var(--cream); color: var(--navy); border-radius: 10px; padding: 10px 14px;
  font-family: var(--display); line-height: 1.1; box-shadow: var(--shadow);
}
.price-badge strong { display: block; font-size: 1.5rem; font-weight: 600; }
.price-badge span { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy-ink); color: #fff; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.trust-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; } }
.clients-row { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.logo-title { font-family: var(--label); font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.stat { display: flex; align-items: center; gap: 12px; }
.stat .todo { display: inline-block; margin-top: 4px; }
.stat svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--gold); }
.stat strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.stat > div > span { display: block; font-size: 1rem; line-height: 1.35; color: rgba(255,255,255,.8); }
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 700px) { .logo-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .logo-strip { grid-template-columns: repeat(8, 1fr); } }
.logo-strip li { margin: 0; background: #fff; border-radius: 6px; padding: 8px; display: flex; align-items: center; justify-content: center; }
.logo-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; filter: grayscale(1); opacity: .9; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-5 { grid-template-columns: repeat(4, 1fr); } }
.service.wide { grid-column: 1 / -1; }
@media (min-width: 1024px) { .service.wide { grid-column: span 2; } }

/* How we compare (the firm's "Why Us" chart) */
.compare-wrap { margin-top: 48px; }
.compare-wrap h3 { font-size: 1.5rem; margin: 0 0 6px; }
.compare-wrap > p { color: var(--muted); margin: 0 0 18px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--body); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: 1rem; }
.compare thead th:nth-child(2) { background: #B3261E; color: #fff; }
.compare th.group { background: var(--cream); color: var(--navy); font-family: var(--display); font-size: 1.05rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.compare td.us { font-weight: 700; color: var(--navy); }
.compare td.them { color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare-note { font-size: 1rem; color: var(--muted); margin: 10px 0 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: 0 2px 10px rgba(14,24,48,.05); }
@media (min-width: 640px) { .card { padding: 26px 24px; } }
.on-dark .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.card h3 { margin-bottom: .4em; }
.card ul { padding-left: 1.1em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

/* Services */
.service { display: flex; flex-direction: column; }
.service .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cream-2); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.service .icon svg { width: 24px; height: 24px; }
.service .price { margin-top: auto; padding-top: 14px; font-family: var(--display); font-size: 1.35rem; color: var(--navy); font-weight: 600; }
.service .price small { display: block; font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.service .link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; text-decoration: none; }
.service .link::after { content: " \2192"; }
.service.featured { grid-column: 1 / -1; border-color: var(--navy); box-shadow: var(--shadow); }
@media (min-width: 1024px) { .service.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .service.featured .icon { grid-column: 1 / -1; } }
.inclusions { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.inclusions li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.inclusions svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
.on-dark .inclusions svg { color: var(--gold); }
.card .inclusions { padding-left: 0; }                 /* the generic .card ul indent would push the ticks in */
.service-note { margin: 10px 0 0; padding-left: 30px; font-size: 1rem; color: var(--muted); }   /* lines up with the text after the ticks */

/* How it works */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; margin: 0; padding: 20px 20px 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: .4em; }
.steps .dur { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); background: var(--cream); padding: 3px 10px; border-radius: 999px; }
.steps p { margin: 0; color: rgba(255,255,255,.88); font-size: 1rem; }

/* Why JK Marcam */
.why-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }
.proofs { display: grid; gap: 16px; }
.proof { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.proof .num { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--red-dark); line-height: 1; }
.proof h3 { margin-bottom: .3em; font-size: 1.2rem; }
.proof p, .proof ul { margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.partner { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 26px; position: sticky; top: calc(var(--header-h) + 16px); box-shadow: var(--shadow); }
.partner blockquote { margin: 0 0 18px; font-family: var(--display); font-size: 1.3rem; font-weight: 400; font-style: italic; letter-spacing: 0; line-height: 1.4; color: #fff; }
.partner blockquote::before { content: "\201C"; color: var(--gold); font-size: 2.4rem; line-height: 0; vertical-align: -.35em; margin-right: 4px; }
.person { display: flex; align-items: center; gap: 14px; }
.person img, .person .initials { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; }
.person .initials { display: grid; place-items: center; background: var(--gold); color: var(--navy); font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.person strong { display: block; }
.person span { font-size: 1rem; color: rgba(255,255,255,.8); }
.team-row { list-style: none; padding: 0; margin: 18px 0 0; display: flex; }
.team-row li { margin: 0 0 0 -10px; }
.team-row li:first-child { margin-left: 0; }
.team-row img, .team-row span { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); object-fit: cover; display: grid; place-items: center; background: var(--cream-2); color: var(--navy); font-size: 1rem; font-weight: 700; }
.team-note { font-size: 1rem; color: rgba(255,255,255,.8); margin: 10px 0 0; }

/* Consultation */
.consult-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .consult-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; } }
.quote { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 1.2rem; line-height: 1.45; margin: 0 0 18px; padding-left: 18px; border-left: 3px solid var(--gold); color: rgba(255,255,255,.92); }
.offer-card { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 28px 26px; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.offer-card h3 { color: var(--navy); }
.on-dark .offer-card a { color: var(--navy); }
.on-dark .offer-card .btn-primary { color: #fff; }
.on-dark .offer-card .btn-outline:hover { color: #fff; }
.on-dark .offer-card .micro { color: var(--muted); }
.offer-card ul { margin-bottom: 18px; }
.offer-card .btn-row { margin-top: 10px; }
.offer-card .micro { margin-top: 8px; }
.offer-card .inclusions svg { color: var(--ok); }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; margin: 0; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.6; }
.testimonial blockquote p::before { content: "\201C"; } .testimonial blockquote p::after { content: "\201D"; }
.testimonial figcaption { margin-top: auto; font-weight: 600; }
.testimonial figcaption span { display: block; font-weight: 400; font-size: 1rem; color: rgba(255,255,255,.8); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 10px; }

/* Insights */
.post { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post:hover h3 { color: var(--red-dark); }
.post .meta { font-size: 1rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.post .tag { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.post p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.post .link { margin-top: auto; font-weight: 600; color: var(--navy); }
.post .link::after { content: " \2192"; }

/* For law firms & agents */
.agents-inner { max-width: 760px; }
.agents-inner p { font-size: 1.1rem; }
.agents-facts { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; gap: 10px; }
@media (min-width: 640px) { .agents-facts { grid-template-columns: repeat(2, 1fr); } }
.agents-facts li { display: flex; gap: 10px; margin: 0; align-items: flex-start; }
.agents-facts svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; color: var(--gold); }

/* Closing CTA + contact */
.closing::after { background: linear-gradient(180deg, rgba(20,33,61,.7), rgba(14,24,48,.78)); }
.closing-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-item { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; text-decoration: none; color: #fff; }
.contact-item:hover { background: rgba(255,255,255,.14); color: #fff; }
.contact-item svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--gold); }
.contact-item strong { display: block; font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.contact-item address { font-style: normal; }
.map-note { font-size: 1rem; color: rgba(255,255,255,.78); margin-top: 12px; }

/* Footer */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.82); padding: 44px 0 100px; font-size: 1rem; }
@media (min-width: 1200px) { .site-footer { padding-bottom: 40px; } }   /* room for the contact bar while it shows (below 1200px) */
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: auto; } }
.site-footer img { height: 44px; width: auto; margin-bottom: 12px; }
.site-footer h2 { font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
.site-footer li { margin-bottom: 2px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 2px 0; }
.site-footer a:hover { color: var(--gold); }
.legal { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 1rem; color: rgba(255,255,255,.66); }

/* Mobile sticky bar: Call / WhatsApp / Enquire */
.contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--navy-ink); border-top: 1px solid rgba(255,255,255,.14); padding-bottom: env(safe-area-inset-bottom); }
.contact-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: #fff; text-decoration: none; font-size: 1rem; font-weight: 600; }
.contact-bar a svg { width: 22px; height: 22px; }
.contact-bar a.enquire { background: var(--red); }
@media (min-width: 1200px) { .contact-bar { display: none; } }   /* same breakpoint as the desktop menu row */

/* TODO markers for the owner (shown in the mockup only) */
.todo { display: inline-block; font-size: 1rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3; color: #7A4E00; background: #FFE8B3; border: 1px solid #E8C877; border-radius: 4px; padding: 1px 6px; vertical-align: middle; }


/* =====================================================================
   Inner pages (everything below is new for the full site; the homepage styles from the mockup are above)
   ===================================================================== */

/* Page head: dark band with the page title, used by every inner page */
.page-head { padding: 40px 0 36px; }
@media (min-width: 640px) { .page-head { padding: 56px 0 48px; } }
@media (min-width: 900px) { .page-head { padding: 72px 0 64px; } }
.page-head::after { background: linear-gradient(100deg, rgba(20,33,61,.84) 0%, rgba(20,33,61,.66) 55%, rgba(20,33,61,.40) 100%); }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head .lead { font-size: 1.15rem; max-width: 60ch; color: rgba(255,255,255,.9); }
.page-head .btn-row { margin-bottom: 0; }
.page-head .btn .ico { width: 18px; height: 18px; }
.breadcrumb { font-size: 1rem; margin: 0 0 14px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li { margin: 0; color: rgba(255,255,255,.78); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: rgba(255,255,255,.5); }
.breadcrumb a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li { display: inline-flex; align-items: center; }

/* Prose blocks (Markdown pages) */
.prose { max-width: 820px; }
.prose-narrow { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose p.lead { font-size: 1.15rem; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 1rem; background: #fff; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--navy); color: #fff; font-weight: 600; }
.prose figure { margin: 0 0 1.4em; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: 1rem; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .btn-row { margin-top: 20px; }

/* Callouts, notices, draft banner */
.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout .btn-row { margin: 16px 0 0; }
.notice { background: #FFF6DD; border: 1px solid #E8C877; color: #5B3A00; border-radius: 8px; padding: 10px 14px; font-size: 1rem; }
.draft-banner { background: #FFE8B3; color: #5B3A00; border-bottom: 1px solid #E8C877; padding: 10px 0; font-size: 1rem; }
.draft-banner code { font-family: ui-monospace, Consolas, monospace; }

/* Section rhythm helpers */
.section.tight { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 900px) { .section.tight { padding-top: 64px; padding-bottom: 64px; } }
.section.plain::after { background: none; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }
.btn .ico { width: 18px; height: 18px; }

/* Price panel (Pricing & Process, Singapore page) */
.price-panel { background: #fff; border: 1px solid var(--navy); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.price-panel .price { font-family: var(--display); font-size: 2.2rem; font-weight: 600; color: var(--navy); margin: 0 0 4px; line-height: 1.1; }
.price-panel .price small { display: block; font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.price-panel h2, .price-panel h3 { margin-bottom: .3em; }
.price-panel .inclusions { margin-top: 14px; }
.price-panel .btn-row { margin-bottom: 0; }

/* Service hub tiles */
.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cream-2); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.tile .icon svg { width: 24px; height: 24px; }
.tile:hover { border-color: var(--navy); }
.tile:hover h3 { color: var(--red-dark); }
.tile p { color: var(--muted); font-size: 1rem; }
.tile .price { margin-top: auto; padding-top: 12px; font-family: var(--display); font-size: 1.2rem; color: var(--navy); font-weight: 600; }
.tile .price small { display: block; font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.tile .link { font-weight: 600; color: var(--navy); margin-top: 6px; min-height: 44px; display: inline-flex; align-items: center; }
.tile .link::after { content: " \2192"; }

/* Watch tiers */
.tiers { display: grid; gap: 18px; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { display: flex; flex-direction: column; }
.tier.featured { border-color: var(--navy); box-shadow: var(--shadow); }
.tier .tier-price { font-family: var(--display); font-size: 1.9rem; font-weight: 600; color: var(--navy); line-height: 1.1; margin: 4px 0 2px; }
.tier .tier-price small { display: block; font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.tier .badge { display: inline-block; align-self: flex-start; font-family: var(--label); font-size: 1rem; font-weight: 600; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; color: #fff; background: var(--ok); border-radius: 999px; padding: 5px 12px; margin-bottom: 10px; }
.tier dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 1rem; }
.tier dt { color: var(--muted); }
.tier dd { margin: 0; font-weight: 500; }
.tier .link { margin-top: auto; padding-top: 14px; font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.tier .link::after { content: " \2192"; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--display); font-size: 1.15rem; color: var(--navy); padding: 14px 0; min-height: 48px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--red-dark); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-bottom: 1em; }

/* Client logo grids */
.logo-grid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 520px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.logo-grid li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.logo-grid img { width: 100%; max-height: 110px; object-fit: contain; }
.logo-grid .text-tile { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--navy); text-align: center; }
.logo-grid.featured li { border-color: var(--navy); }
.industry { margin-top: 36px; }
.industry h2 { font-size: 1.5rem; margin-bottom: 14px; }
.jump-links { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.jump-links li { margin: 0; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 500; }
.jump-links a:hover { border-color: var(--navy); }

/* Team and firm facts */
.team-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 520px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-grid li { margin: 0; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.team-grid img, .team-grid .initials { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; }
.team-grid .initials { display: grid; place-items: center; background: var(--cream-2); color: var(--navy); font-family: var(--display); font-weight: 600; font-size: 1.2rem; border: 2px solid var(--line); }
.team-grid strong { display: block; }
.team-grid span { color: var(--muted); font-size: 1rem; }
.partner.static { position: static; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.facts strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--navy); }
.facts span { color: var(--muted); font-size: 1rem; }

/* Insights list */
.post .draft-tag { font-weight: 700; color: #7A4E00; background: #FFE8B3; border: 1px solid #E8C877; border-radius: 4px; padding: 0 6px; }

/* Contact page */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.contact-card .contact-item { background: var(--cream); border-color: var(--line); color: var(--navy); }
.contact-card .contact-item:hover { background: var(--cream-2); color: var(--navy); }
.contact-card .contact-item svg { color: var(--red-dark); }
.contact-card .contact-item strong { color: var(--muted); }
.contact-card .map-note { color: var(--muted); }

/* Enquiry form */
.enquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.offer-card .enquiry-form { background: transparent; border: 0; padding: 0; }
.enquiry-form .notice { margin: 0 0 16px; }
.field-grid { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 1rem; color: var(--navy); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #8E8A80; border-radius: 8px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid #2563EB; outline-offset: 1px; border-color: var(--navy); }
.field.consent { flex-direction: row; align-items: flex-start; gap: 12px; }
.field.consent input { width: 24px; height: 24px; margin: 2px 0 0; flex: 0 0 24px; accent-color: var(--navy); }
.field.consent label { font-weight: 400; color: var(--ink); }
.enquiry-form .btn-row { margin: 10px 0 12px; }
.enquiry-form .btn-row.fallback { margin-top: 6px; }
.enquiry-form button.btn { width: 100%; }
@media (min-width: 640px) { .enquiry-form button.btn { width: auto; } }
.enquiry-form .micro { color: var(--muted); }
.enquiry-form .micro a { color: var(--navy); }
.offer-card .enquiry-form .btn-outline { color: var(--navy); }
.offer-card .enquiry-form .btn-outline:hover { color: #fff; }

/* Components whose base rule assumes a dark section, corrected on ANY section that is not .on-dark (light, plain, or no
   modifier). Fixed 6 Nov 2026: the Pricing & Process steps sit on a "section plain" and were white-on-cream. */
.section:not(.on-dark) .steps li { background: #fff; border-color: var(--line); }
.section:not(.on-dark) .steps p { color: var(--muted); }
.section:not(.on-dark) .steps h3 { color: var(--navy); }
.section:not(.on-dark) .steps li::before { color: var(--red-dark); }
.section:not(.on-dark) .quote { color: var(--navy); border-left-color: var(--red-dark); }
.section:not(.on-dark) .map-note { color: var(--muted); }
.section:not(.on-dark) .testimonial figcaption span { color: var(--muted); }
.section:not(.on-dark) .stars { color: var(--red-dark); }
.section:not(.on-dark) .contact-item { background: #fff; border-color: var(--line); color: var(--navy); }
.section:not(.on-dark) .contact-item:hover { background: var(--cream-2); color: var(--navy); }
.section:not(.on-dark) .contact-item svg { color: var(--red-dark); }
.section:not(.on-dark) .contact-item strong { color: var(--muted); }
.section:not(.on-dark) .agents-facts svg { color: var(--ok); }
.section:not(.on-dark) .hero-points li { color: var(--ink); }
.section:not(.on-dark) .breadcrumb li { color: var(--muted); }
.section:not(.on-dark) .breadcrumb a { color: var(--navy); }
/* .partner, .trust and .offer-card carry their own background colour, so .team-note, .stat and .person need no override. */

/* 404 */
.error-page { text-align: center; max-width: 640px; margin: 0 auto; }
.error-page .code { font-family: var(--display); font-size: 5rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 10px; }
