/* Plus Jakarta Sans, self-hosted (SIL Open Font License 1.1; see ../assets/fonts/plus-jakarta-sans/OFL.txt).
   Served from the website itself: no request to Google Fonts. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans/PlusJakartaSans-wght.ttf?v=89b3fb38aa") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   RAQ.lk homepage prototype v2: styles
   Colour values: docs/PORTAL_STYLE_AUDIT.md (verified portal values).
   Rules: design/COLOUR_AND_TYPOGRAPHY_SPEC.md
   ========================================================= */

:root {
  /* Brand (verified portal values) */
  --green-700: #1e670b;
  --green-800: #164a08;
  --green-900: #14330d;
  --gold-400: #facc15;
  --gold-500: #eab308;

  /* Neutrals (verified portal values) */
  --white: #ffffff;
  --warm-50: #fffdf5;
  --ink-900: #1a1a1a;
  --ink-700: #4a4a4a;
  --ink-500: #6a6a6a;
  --line: #e5e5e5;
  --line-soft: #ededed;
  --danger: #8a2929;

  /* Derived tints (transparency of verified colours) */
  --green-tint: rgba(30, 103, 11, 0.06);
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.78);
  --on-dark-line: rgba(255, 255, 255, 0.14);
  --on-dark-line-strong: rgba(255, 255, 255, 0.32);

  /* Typography */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --section-y: 56px; /* Decision #98: tightened from 72px */
  --radius-sm: 6px;
  --radius-md: 8px;
  --header-h: 68px;
}


@media (min-width: 768px) { :root { --gutter: 40px; --section-y: 72px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; --section-y: 88px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink-700);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--ink-900); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-800); }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea, button { font-family: inherit; }
strong { color: var(--ink-900); font-weight: 600; }

:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .section--dark :focus-visible, .enquiry__panel :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-400); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Review bar (prototype only) ---------- */
.review-bar { background: var(--ink-900); color: rgba(255,255,255,0.86); font-size: 12.5px; line-height: 1.5; }
.review-bar__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.review-bar__text { margin: 0; }
.review-bar__text strong { color: #fff; margin-right: 6px; }
.review-bar__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.review-bar__toggle { font: inherit; font-size: 12px; color: rgba(255,255,255,0.88); background: transparent; border: 0; padding: 5px 10px; cursor: pointer; min-height: 30px; }
.review-bar__toggle[aria-pressed="true"] { background: #fff; color: var(--ink-900); font-weight: 600; }
.review-bar__toggle { border: 1px solid rgba(255,255,255,0.32); border-radius: var(--radius-sm); }
html.clean .review-bar { display: none; }
/* Visitor view for design review: hide temporary development labels, keep unresolved-item markers */
html.review-view .soon, html.review-view .form__proto { display: none; }

/* Review markers */
.tbc {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 500; line-height: 1.7; letter-spacing: 0;
  color: var(--ink-900); background: var(--warm-50); border: 1px dashed var(--gold-500); border-radius: 4px; padding: 1px 7px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; text-transform: none;
}
.tbc--dark { background: transparent; color: var(--on-dark); border-color: var(--gold-400); }
.soon {
  display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 0 6px; border: 1px solid var(--line);
  border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); line-height: 18px; background: var(--white);
}
.review-bar .soon { background: transparent; color: rgba(255,255,255,0.86); border-color: rgba(255,255,255,0.4); }
html.hide-markers .tbc, html.hide-markers .soon, html.hide-markers .status, html.hide-markers .form__proto,
html.hide-markers .why__note, html.hide-markers .partners__note { display: none; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.btn--gold { background: var(--gold-400); color: var(--ink-900); }
.btn--gold:hover { background: #fff; color: var(--ink-900); }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-800); color: #fff; }
.btn--ghost-dark { color: #fff; border-color: var(--on-dark-line-strong); background: transparent; }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .15s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.arrow-link { font-weight: 600; color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(30, 103, 11, 0.4); }
.arrow-link.is-pending { cursor: default; }
html.hide-markers .arrow-link.is-pending { text-decoration-color: rgba(30, 103, 11, 0.4); }

/* ---------- Kicker (section label) ---------- */
.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700);
}
.kicker { align-items: flex-start; }
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--gold-400); flex: none; margin-top: 0.68em; }
.kicker--on-dark { color: var(--on-dark-muted); }

/* ---------- Section intro ---------- */
.section { padding: var(--section-y) 0; }
.section--warm { background: var(--warm-50); }
.section--dark { background: var(--green-800); color: var(--on-dark-muted); }
.section-intro { max-width: 760px; margin-bottom: 36px; }
.section-intro__title { font-size: clamp(2rem, 1.45rem + 2vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.028em; margin-bottom: 20px; }
.section-intro__text { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; color: var(--ink-700); max-width: 58ch; }
.section-intro--on-dark .section-intro__title { color: #fff; }
.section-intro--on-dark .section-intro__text { color: var(--on-dark-muted); }
@media (min-width: 900px) { .section-intro { margin-bottom: 48px; } } /* Decision #98: tightened from 72px */

.fineprint { margin: 48px 0 0; font-size: 14.5px; color: var(--ink-500); max-width: 76ch; padding-top: 20px; border-top: 1px solid var(--line); }
.fineprint--on-dark { color: var(--on-dark-muted); border-top-color: var(--on-dark-line); }
.reviewer-note { margin: 12px 0 0; }
.why__note + .why__note { margin-top: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 51, 13, 0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink-900); }
.brand__mark { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; color: var(--green-700); padding-bottom: 3px; border-bottom: 3px solid var(--gold-400); line-height: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; padding-left: 14px; border-left: 1px solid var(--line); }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-900); }
.brand__tag { font-size: 12px; color: var(--ink-500); }
@media (max-width: 479px) { .brand__tag { display: none; } }

.nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-900); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--ink-900); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
.primary-nav.is-open { display: block; }
.primary-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-900); text-decoration: none; font-weight: 500; font-size: 17px; }
.primary-nav__list a:hover { color: var(--green-700); }
.primary-nav__cta { margin-top: 20px; width: 100%; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; align-items: center; gap: 32px; padding: 0; border: 0; background: transparent; }
  .primary-nav__list { display: flex; gap: 28px; }
  .primary-nav__list a { padding: 8px 0; border: 0; font-size: 15px; position: relative; }
  .primary-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .15s ease; }
  .primary-nav__list a:hover::after { transform: scaleX(1); }
  .primary-nav__cta { margin: 0; width: auto; }
}

/* ---------- Hero ---------- */
.hero { background: var(--green-800); color: var(--on-dark); padding: 56px 0 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title { color: #fff; font-weight: 600; font-size: clamp(2.5rem, 1.55rem + 4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.034em; margin-bottom: 28px; max-width: 13ch; }
.hero__place { display: block; color: var(--gold-400); }
.hero__lead { font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.6; color: var(--on-dark-muted); max-width: 50ch; margin-bottom: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }

.hero__map { display: none; margin: 0; }
.map { display: block; width: 100%; height: auto; overflow: visible; }
.map__grid line { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.map__labels text { fill: var(--on-dark-muted); font-family: var(--font-body); font-size: 19px; letter-spacing: 0.04em; }
.map__land { fill: rgba(30, 103, 11, 0.55); stroke: rgba(250, 204, 21, 0.7); stroke-width: 1.25; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero__map-caption { margin-top: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); text-align: center; }

@media (min-width: 900px) {
  .hero { padding: 96px 0 104px; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .hero__map { display: block; justify-self: center; width: 100%; max-width: 330px; }
}
@media (min-width: 1200px) { .hero__map { max-width: 360px; } }

/* ---------- Services ---------- */
.services { display: grid; gap: 56px; }
.svc { display: flex; flex-direction: column; }
.photo-slot, .svc__photo, .svc__question { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.svc__photo { display: block; overflow: hidden; background: var(--warm-50); }
.svc__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: var(--warm-50); border: 1px solid var(--line); padding: 24px;
}
.photo-slot::before, .photo-slot::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--gold-500); border-style: solid; }
.photo-slot::before { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.photo-slot::after { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }
.photo-slot__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-700); }
.photo-slot__hint { font-size: 14px; color: var(--ink-500); max-width: 28ch; line-height: 1.5; }

.svc__question { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: var(--green-800); }
.svc__question-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 10px; }
.svc__question-text { font-family: var(--font-head); font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: #fff; max-width: 16ch; }

.svc__body { display: flex; flex-direction: column; flex: 1; padding-top: 28px; }
.svc__title { font-size: clamp(1.5rem, 1.35rem + 0.5vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.svc__desc { font-size: 16.5px; color: var(--ink-700); margin-bottom: 22px; max-width: 42ch; }
.svc__list { border-top: 1px solid var(--line); margin-bottom: 26px; flex: 1; }
.svc__list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; line-height: 1.45; color: var(--ink-900); }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1.5px; background: var(--green-700); }
.svc__link { margin: 0; font-size: 16px; }

@media (min-width: 700px) and (max-width: 1099px) {
  .services { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
}
@media (min-width: 1100px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* ---------- Who we help ---------- */
.who { display: grid; gap: 48px; }
.who__head .section-intro__title { max-width: 14ch; }
.who__grid { display: grid; border-top: 1px solid var(--ink-900); }
.who__item { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.who__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.who__item p { font-size: 16px; max-width: 46ch; }
.partners { display: grid; gap: 8px 48px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--green-700); border-radius: var(--radius-sm); }
.partners__title { font-size: 19px; font-weight: 600; }
.partners__text { font-size: 16px; max-width: 60ch; }
@media (min-width: 700px) {
  .who__grid { grid-template-columns: 1fr 1fr; }
  .who__item:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--line); }
  .who__item:nth-child(even) { padding-left: 40px; }
}
@media (min-width: 1100px) {
  .who { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 80px; }
  .who__head { grid-row: span 2; align-self: start; position: sticky; top: calc(var(--header-h) + 48px); }
  .partners { grid-template-columns: 1fr 2fr; align-items: baseline; }
  .partners__note { grid-column: 2; }
}

/* ---------- Why RAQ ---------- */
.why { display: grid; gap: 56px; }
.why__title { font-size: clamp(1.875rem, 1.35rem + 2vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.026em; margin-bottom: 24px; max-width: 20ch; }
.why__text { font-size: 18px; line-height: 1.6; max-width: 52ch; }
.why__note { margin-top: 20px; }
.why__points { display: grid; margin: 0; }
.why__point { padding: 24px 0; border-top: 1px solid var(--line); }
.why__point dt { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
.why__point dt::before { content: ""; width: 8px; height: 8px; background: var(--gold-400); border-radius: 50%; flex: none; }
.why__point dd { margin: 0 0 0 20px; font-size: 16px; max-width: 40ch; }
@media (min-width: 700px) {
  .why__points { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 1100px) {
  .why { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 96px; align-items: start; }
  .why__points { padding-top: 40px; }
}

/* ---------- How we work ---------- */
.steps { display: grid; border-top: 1px solid var(--on-dark-line-strong); }
.step { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--on-dark-line); }
.step__no { grid-row: span 2; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--gold-400); padding-top: 3px; }
.step__title { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.step p { font-size: 15.5px; color: var(--on-dark-muted); max-width: 40ch; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 48px; border-top: 0; }
  .step { display: block; padding: 0; border-bottom: 0; }
  .step__no { display: block; font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--on-dark-line-strong); }
  .step__title { font-size: 19px; margin-bottom: 10px; }
  .step p { font-size: 16px; max-width: 30ch; }
}

/* ---------- Quality & GMP ---------- */
.quality__head { display: grid; gap: 4px; margin-bottom: 48px; }
.quality__head .section-intro__title { max-width: 18ch; }
@media (min-width: 900px) {
  .quality__head { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
  .quality__head .section-intro__title { margin-bottom: 0; }
}
.standards { display: grid; border-top: 1px solid var(--ink-900); border-bottom: 1px solid var(--line); }
.standard { padding: 28px 0; }
.standard + .standard { border-top: 1px solid var(--line); }
.standard__code { font-family: var(--font-head); font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--green-700); margin-bottom: 10px; }
.standard__desc { font-size: 16.5px; color: var(--ink-900); }
@media (min-width: 800px) {
  .standards { grid-template-columns: repeat(3, 1fr); }
  .standard { padding: 36px 32px 40px; }
  .standard:first-child { padding-left: 0; }
  .standard + .standard { border-top: 0; border-left: 1px solid var(--line); }
}
.quality__foot { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: baseline; margin-top: 32px; }
.quality__support { font-size: 16px; max-width: 70ch; margin: 0; }

/* ---------- Insights ---------- */
.articles { display: grid; gap: 0; margin-bottom: 40px; }
.article { padding: 26px 0 30px; border-top: 1px solid var(--ink-900); display: flex; flex-direction: column; gap: 12px; }
.article__cat { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700); }
.article__title { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; flex: 1; }
.article__meta { margin: 0; }
.status { display: inline-block; font-size: 12.5px; color: var(--ink-500); font-weight: 500; padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
@media (min-width: 800px) { .articles { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Enquiry ---------- */
.enquiry { display: grid; }
.enquiry__panel { background: var(--green-800); color: var(--on-dark-muted); padding: var(--section-y) var(--gutter); }
.enquiry__title { font-size: clamp(2rem, 1.45rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; color: #fff; margin-bottom: 18px; }
.enquiry__lead { font-size: 18px; line-height: 1.6; max-width: 40ch; }
.confidential { margin: 36px 0; padding: 22px 0 0; border-top: 1px solid var(--on-dark-line-strong); font-size: 15.5px; }
.confidential__title { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 6px; }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--on-dark-line); font-size: 15px; }
.contact-list dt { font-weight: 600; color: #fff; }
.contact-list dd { margin: 0; }
.enquiry__form-wrap { background: var(--warm-50); padding: var(--section-y) var(--gutter); }
@media (min-width: 1000px) {
  .enquiry { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .enquiry__panel { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: 64px; }
  .enquiry__form-wrap { padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-left: 64px; }
}

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 20px; }
@media (min-width: 640px) { .form { padding: 40px; } }
.form__proto { font-size: 13px; color: var(--ink-900); background: var(--warm-50); border: 1px dashed var(--gold-500); border-radius: 4px; padding: 6px 12px; margin-bottom: 24px; display: inline-block; }
.form__row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 15px; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--ink-500); font-size: 14px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink-900);
  background: #fff; border: 1px solid #b5b5b5; border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234a4a4a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(30, 103, 11, 0.2); }
.field__hint { font-size: 13.5px; color: var(--ink-500); margin: 6px 0 0; }
.field__error { font-size: 13.5px; color: var(--danger); margin: 6px 0 0; font-weight: 500; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-bottom: 28px; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green-700); }
.field--check label { font-weight: 400; font-size: 14.5px; color: var(--ink-700); margin: 0; }
.field--check .field__error { grid-column: 2; }
.form__required { font-size: 13px; color: var(--ink-500); margin: 12px 0 0; }
.form__status { margin-top: 16px; }
.form__status:empty { display: none; }
.form__status .ok { border: 1px solid var(--green-700); background: var(--green-tint); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink-900); font-size: 15px; }
.form__status .ok strong { display: block; color: var(--green-700); margin-bottom: 4px; }
.form__status .err { color: var(--danger); font-size: 15px; font-weight: 500; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--on-dark-muted); padding: 64px 0 32px; font-size: 15px; }
.footer-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--on-dark-line); }
.footer-brand__name { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 4px; }
.footer-brand__tag { color: var(--gold-400); font-size: 14px; font-weight: 500; margin: 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 40px 0; border-bottom: 1px solid var(--on-dark-line); }
.footer-col__title { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.is-pending-dark { color: var(--on-dark-muted); }
.footer-contact .tbc { font-size: 12px; }
.footer-bottom { padding-top: 28px; display: grid; gap: 12px; font-size: 13.5px; }
.footer-legal { max-width: 84ch; }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(5, 1fr); }
  .footer-bottom { grid-template-columns: 3fr 1fr; align-items: start; }
  .footer-copy { text-align: right; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- v2.2: Insights holding state and dark "Next phase" tag ---------- */
.insights-holding { margin: 0; padding: 28px 0 0; border-top: 1px solid var(--ink-900); font-size: 17px; color: var(--ink-700); max-width: 70ch; }
.insights-holding a { font-weight: 600; }
.soon--dark { background: transparent; color: var(--on-dark-muted); border-color: var(--on-dark-line-strong); }

/* ---------- Official logo (design/assets/raq-official-logo.png; web copies in site/mockups/assets/logo/) ---------- */
.brand__logo { display: block; width: 44px; height: auto; aspect-ratio: 818 / 816; object-fit: contain; flex: none; }
.brand { gap: 12px; }
.brand__text { padding-left: 0; border-left: 0; }
@media (max-width: 479px) { .brand__logo { width: 40px; } }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand__logo { display: block; width: 56px; height: auto; aspect-ratio: 818 / 816; object-fit: contain; flex: none; }
@media (min-width: 768px) { .brand__logo { width: 48px; } }

/* Historical company details (added 18 Oct 2026) */
.contact-list__note { margin-top: 12px; }
.footer-copy .tbc, .footer-contact .tbc { font-size: 12px; }
.contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--gold-400); }

/* ---------- Shared enquiry form additions (homepage + Contact, 18 Oct 2026) ---------- */
.field input[type="tel"] { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink-900); background: #fff; border: 1px solid #b5b5b5; border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease; }
.field.has-error input[type="tel"] { border-color: var(--danger); }
.field input[type="tel"]:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(30, 103, 11, 0.2); }
.error-summary { border: 2px solid var(--danger); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 24px; background: var(--white); }
.error-summary[hidden] { display: none; }
.error-summary__title { font-size: 17px; font-weight: 600; color: var(--danger); margin-bottom: 8px; }
.error-summary__title:focus { outline: 3px solid var(--danger); outline-offset: 4px; }
.error-summary li { margin: 4px 0; }
.error-summary a { color: var(--danger); font-weight: 500; text-decoration: underline; }
.form__note { font-size: 14.5px; color: var(--ink-700); background: var(--warm-50); border-left: 3px solid var(--gold-400); padding: 12px 14px; margin: 0 0 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.form__privacy { font-size: 14px; color: var(--ink-700); margin: 0 0 20px; }
.form__disabled { font-size: 13.5px; color: var(--ink-700); margin: 12px 0 0; }
.form__status .notice { border: 1px solid var(--ink-700); background: var(--warm-50); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink-900); font-size: 15px; }
.form__status .notice strong { display: block; margin-bottom: 4px; }
/* Development placeholder for links to pages not yet built (e.g. Privacy Notice) */
.pending-link { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }

/* UX F1 (21 Oct 2026): in the one-column layout the borderline question panel fits its text
   instead of copying the 4:3 photo shape, which left a tall empty block. */
@media (max-width: 699px) {
  .svc__question { aspect-ratio: auto; justify-content: flex-start; }
}

/* UX F4 (21 Oct 2026): section introductions limited to about 80 characters per line. */
.section-intro__text { max-width: 36em; }

/* Decision #95 (22 Oct 2026): MAH line under the homepage service overview. */
.services-mah { margin: 48px 0 0; font-size: 17px; line-height: 1.6; max-width: 40em; color: var(--ink-900); }
.services-mah a { font-weight: 600; }

/* Decision #96 (22 Oct 2026): print-friendly pages for visitors who keep a copy for reference */
@media print {
  .review-bar, .site-header, .skip-link, .nav-toggle, .hero__actions, .cta-band, .back-to-contents, .site-footer .footer-cols, .map-snapshot__light-toggle, .glance__start, .toc, .tbc, .note-line { display: none !important; }
  body, .page-hero, .section, .section--dark, .section--warm, .glance { background: #fff !important; color: #000 !important; }
  .page-hero *, .section--dark * { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
  details > summary { list-style: none; font-weight: 600; }
  .section, .page-hero { padding: 16px 0 !important; }
  h2, h3, .step, .nmra-flow__steps li, .after__item, .docgroup, tr { break-inside: avoid; }
  [class*="reveal"], .is-revealed { opacity: 1 !important; transform: none !important; }
}

/* 25 Oct 2026 (master review): second hero sentence, whole-card links on the service cards */
.hero__sub { font-size: 1rem; line-height: 1.65; color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 36px; }
.svc { position: relative; }
.svc__card-link { color: inherit; text-decoration: none; }
.svc__card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-sm); }
.svc:hover .svc__title, .svc:focus-within .svc__title { color: var(--green-700); }
.svc:hover .svc__card-link, .svc__card-link:focus-visible { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.svc__card-link:focus-visible { outline: none; }
.svc__card-link:focus-visible::after { outline: 3px solid var(--green-700); outline-offset: 4px; }
.svc .arrow-link { position: relative; z-index: 2; }
.article__title a { color: inherit; text-decoration: none; }
.article__title a:hover, .article__title a:focus-visible { color: var(--green-700); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* Five-step sequences (e.g. RAQ's borderline support) stay on one row on wide screens */
@media (min-width: 1100px) { .steps--five { grid-template-columns: repeat(5, 1fr); column-gap: 32px; } .steps--five .step p { max-width: 26ch; } }
/* A worded label among the standard codes: smaller, and allowed to wrap */
.standard__code--long { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25; overflow-wrap: anywhere; }
