/* Karetech — layout concept: a quiet regulatory dossier. Olive frame (header, opening section, footer),
   Paper and Card for reading areas, monospaced labels for regulatory terms.
   Colours follow the Karetech Colour Usage Guide (30 Sep 2026). Single light theme by design:
   the guide fixes Cream on Olive as the identity, so the page does not switch to a dark palette. */
:root {
  --olive: #485941;
  --cream: #FFFFEE;
  --deep-olive: #2E3B29;
  --paper: #F6F6E9;
  --card: #FBFBF1;
  --ink: #1E261B;
  --muted: #5B6653;
  --sage: #C8D3BC;
  --line: #D6D9C6;
  --field-border: #C3C8B1;
  --selected: #EEF0E2;
  --in-place: #3F7A4A;
  --not-yet: #9A6A1F;
  --error: #9B2C1F;

  --display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s-1: 0.8125rem; --s0: 1rem; --s1: 1.125rem; --s2: 1.5rem; --s3: 2rem; --s4: 2.75rem;
  --wrap: 72rem;
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--s0); line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--olive); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive); outline-offset: 2px;
}
.on-olive a:focus-visible, .cta-band a:focus-visible, .site-header a:focus-visible, .site-footer a:focus-visible { outline-color: var(--cream); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, var(--s4)); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, var(--s3)); }
h3 { font-size: var(--s1); font-family: var(--body); font-weight: 650; }
p { margin: 0; max-width: 65ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.eyebrow {
  font-family: var(--mono); font-size: var(--s-1); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
/* Keep the brand's own capitalisation inside uppercase labels */
.brand-case { text-transform: none; }
.lede { font-size: var(--s1); color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.75rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--olive); border-bottom: 1px solid var(--deep-olive);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.9rem; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--cream); margin-right: auto; }
.brand-mark { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--cream); }
.brand-sub { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--sage); text-transform: uppercase; }
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a { color: var(--cream); text-decoration: none; font-size: 0.95rem; padding-block: 0.25rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sage); }
.nav a[aria-current="page"] { border-bottom-color: var(--cream); color: var(--cream); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--body); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.8rem 1.3rem; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--olive); transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover { background: var(--deep-olive); border-color: var(--deep-olive); }
.btn-ghost { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-ghost:hover { background: var(--selected); }
.btn-light { background: var(--cream); color: var(--olive); border-color: var(--cream); }
.btn-light:hover { background: var(--selected); border-color: var(--selected); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline-light:hover { background: var(--deep-olive); }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-paper { background: var(--card); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.25rem; }

/* Hero */
.on-olive { background: var(--olive); color: var(--cream); }
.on-olive h1, .on-olive h2 { color: var(--cream); }
.on-olive .eyebrow { color: var(--sage); }
.on-olive .lede { color: var(--cream); }
.on-olive a:not(.btn) { color: var(--cream); }
.on-olive .route a { color: var(--olive); }
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.page-hero { padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero .wrap > * { max-width: 46rem; }

/* Route schematic */
.route {
  background: var(--card); color: var(--ink); border: 1px solid var(--deep-olive); border-radius: 10px; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0; min-width: 0;
}
.route-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.route-title span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.route-step { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.9rem; position: relative; padding-bottom: 1.1rem; }
.route-step:last-of-type { padding-bottom: 0; }
.route-step::before {
  content: ""; position: absolute; left: calc(1rem - 1px); top: 2rem; bottom: 0; width: 2px; background: var(--line);
}
.route-step:last-of-type::before { display: none; }
.route-dot {
  width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--olive); color: var(--olive);
  display: grid; place-items: center; font-family: var(--mono); font-size: 0.75rem; background: var(--card);
}
.route-step:last-of-type .route-dot { background: var(--olive); color: var(--cream); }
.route-step strong { display: block; font-size: 0.98rem; }
.route-lede { font-size: 0.95rem; line-height: 1.55; color: var(--ink); margin: 0; }
.route-note { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.route-step small { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--olive); background: var(--selected); padding: 0.1rem 0.4rem; border-radius: 3px; white-space: nowrap; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.item { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.1rem; border-top: 2px solid var(--olive); min-width: 0; }
.item p { color: var(--muted); font-size: 0.95rem; }
.item .tag { align-self: flex-start; }

.single-item { max-width: 34rem; }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.step-num { font-family: var(--mono); font-size: var(--s-1); color: var(--olive); letter-spacing: 0.06em; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Status notice */
.status {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.25rem; align-items: start;
}
.status-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 0.25rem 0.5rem; border-radius: 3px; white-space: nowrap; justify-self: start; }
.status p { color: var(--ink); }
.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.status-list li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.5rem; align-items: start; }
.status-list .mark { font-weight: 700; line-height: 1.6; }
.status-list .in-place .mark, .status-list .in-place .state { color: var(--in-place); }
.status-list .not-yet .mark, .status-list .not-yet .state { color: var(--not-yet); }
.status-list .state { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 0.35rem; font-weight: 600; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--selected); }
tr:last-child td { border-bottom: none; }
td:first-child { font-family: var(--mono); font-weight: 600; color: var(--olive); white-space: nowrap; }
.source { font-size: var(--s-1); color: var(--muted); margin-top: 0.75rem; }

/* Quote/principle */
.principle { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.3; max-width: 34ch; color: var(--ink); }

/* Team */
.person { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.person .role { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--olive); }
.person p { color: var(--muted); font-size: 0.95rem; }

/* Placeholder marker: must be replaced before launch */
/* Draft-only markers (see DRAFT in build.py). Yellow is deliberately outside the brand palette so it can't be mistaken for design. */
.todo { background: #FFE866; color: #1E261B; outline: 1px dashed #8A7400; padding: 0 0.25rem; border-radius: 2px; font-style: normal; }
mark.confirm { background: #FFE866; color: #1E261B; padding: 0 0.15em; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.confirm .brand-case, mark.confirm * { color: inherit; }
.draft-bar { background: #FFE866; color: #1E261B; font-size: 0.85rem; border-bottom: 1px solid #8A7400; }
.draft-bar .wrap { padding-block: 0.5rem; }
.draft-bar mark.confirm { outline: 1px solid #8A7400; }

/* Facts list */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.6rem 1.5rem; margin: 0; }
.facts dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.facts dd { margin: 0; }

/* CTA band */
.cta-band { background: var(--deep-olive); color: var(--cream); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--cream); margin-top: 0.5rem; }

/* Contact page without the enquiry form */
.contact-solo > * { max-width: 46rem; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
form { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; }
label .opt, legend .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--field-border); border-radius: var(--radius); padding: 0.7rem 0.8rem; width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.check input { width: auto; margin-top: 0.3rem; }
fieldset.markets { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.markets legend { font-size: 0.88rem; font-weight: 600; padding: 0; margin-bottom: 0.5rem; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.checks .check { color: var(--ink); align-items: center; }
.checks .check input { margin-top: 0; }
.steps-note { margin-top: 1.75rem; }
.form-note { font-size: var(--s-1); color: var(--muted); }
.form-msg { grid-column: 1 / -1; padding: 0.8rem 1rem; border-radius: var(--radius); background: var(--selected); font-size: 0.92rem; color: var(--ink); }
.form-msg.is-error { color: var(--error); }
.form-msg.is-ok { color: var(--in-place); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--error); }

/* Prose (privacy) */
.prose { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; }
.prose h2 { font-size: var(--s2); margin-top: 1rem; }
.prose ul { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }

/* Footer */
.site-footer { background: var(--olive); padding-block: 2.5rem; font-size: 0.88rem; color: var(--cream); }
.footer-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--cream); }
.notice-text { max-width: 60rem; line-height: 1.55; }
.notice-text strong { color: var(--cream); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 1.1rem; padding-bottom: 0.1rem; }
  .nav a { white-space: nowrap; }
  .header-cta { display: none; }
}
@media (max-width: 560px) {
  .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  form { grid-template-columns: minmax(0, 1fr); }
  .status { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .facts dd { margin-bottom: 0.6rem; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Visuals (v2) ---------- */
.illus { display: block; width: 100%; height: auto; }
.hero-art { min-width: 0; display: flex; justify-content: center; }
.hero-illus { max-width: 30rem; filter: drop-shadow(0 18px 30px rgba(30, 38, 27, 0.25)); }
.page-hero .hero-grid { align-items: center; }
.page-hero .hero-grid .stack > * { max-width: 46rem; }
.page-illus { max-width: 21rem; }
.icon { width: 3rem; height: 3rem; flex: none; }
.icon-grid { gap: 2rem 2.5rem; }
.icon-grid .item { border-top-width: 1px; border-top-color: var(--line); padding-top: 1.5rem; gap: 0.75rem; }
.step .icon { margin-bottom: 0.4rem; }
.step-extra { font-size: 0.88rem !important; border-top: 1px dashed var(--line); padding-top: 0.75rem; margin-top: 0.25rem; }
.hsa-note { color: var(--muted); }

/* Split section with role list */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .section-head { margin-bottom: 0; }
.callout { border-left: 3px solid var(--olive); padding: 0.4rem 0 0.4rem 1rem; font-weight: 600; color: var(--ink); }
.role-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.role-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; }
.role-num { font-family: var(--mono); font-weight: 600; font-size: 1.1rem; color: var(--cream); background: var(--olive);
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; }
.role-list strong { display: block; font-size: 1.05rem; }
.role-list small { color: var(--muted); font-size: 0.9rem; }

/* Stage flow: arrows between cards on wide screens */
.steps-flow .step { position: relative; }
@media (min-width: 901px) {
  .steps-flow .step:not(:last-child)::after {
    content: ""; position: absolute; right: -0.95rem; top: 2.6rem; width: 0.65rem; height: 0.65rem;
    border-top: 2px solid var(--olive); border-right: 2px solid var(--olive); transform: rotate(45deg); }
}

/* Region band */
.region { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; max-width: 50rem; }

/* CTA note */
.cta-note { font-size: 0.9rem; opacity: 0.9; max-width: 52ch; }

/* About */
.team-band { display: flex; flex-direction: column; gap: 1rem; }
.team-band .principle { max-width: 44ch; }
.direction { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rings-illus { max-width: 24rem; margin-inline: auto; }
.steps-stack { grid-template-columns: minmax(0, 1fr); }

/* Contact */
.contact-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-split > .stack-lg { max-width: 40rem; }
.checklist { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.checklist ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; color: var(--ink); }

@media (max-width: 900px) {
  .split, .direction, .contact-split { grid-template-columns: minmax(0, 1fr); }
  .page-hero .hero-art { display: none; }
  .hero-illus { max-width: 24rem; }
  .rings-illus { max-width: 18rem; }
}

/* ---------- Photos (homepage) ---------- */
figure { margin: 0; }
.hero-photo, .side-photo { border-radius: 12px; overflow: hidden; background: var(--deep-olive); min-width: 0; }
.hero-photo img, .side-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 4 / 3.4; box-shadow: 0 18px 40px rgba(30, 38, 27, 0.35); border: 1px solid var(--deep-olive); }
.hero-photo img { object-position: 55% 50%; }
.split-photo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.split-photo .side-photo { min-height: 26rem; }
.split-photo .side-photo img { object-position: 72% 40%; }
.split-photo .section-head { margin-bottom: 0; }
.work-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3rem); align-items: stretch; }
.side-photo.tall img { object-position: 50% 45%; }
@media (max-width: 900px) {
  .split-photo, .work-split { grid-template-columns: minmax(0, 1fr); }
  .split-photo .side-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .side-photo.tall { aspect-ratio: 4 / 3; }
}

/* ---------- Photo header (For Manufacturers) ---------- */
.photo-hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(26rem, 52vw, 36rem); display: flex; align-items: center; }
.photo-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(46, 59, 41, 0.97) 0%, rgba(72, 89, 65, 0.93) 38%, rgba(72, 89, 65, 0.55) 62%, rgba(72, 89, 65, 0.08) 100%); }
.photo-hero .wrap { width: 100%; }
.photo-hero-copy { max-width: 34rem; gap: 1.25rem; }
@media (max-width: 900px) {
  .photo-hero { min-height: 0; padding-top: 14rem; }
  .photo-hero-bg { height: 18rem; object-position: 75% 35%; }
  .photo-hero::before { background: linear-gradient(180deg, rgba(72, 89, 65, 0) 0, rgba(72, 89, 65, 0.2) 9rem, var(--olive) 17.5rem); }
}
.page-hero .wrap > .photo-hero-copy { max-width: 33rem; }
.photo-hero-home .photo-hero-bg { object-position: 62% 50%; }
.photo-hero-home .photo-hero-copy { max-width: 36rem; }
.page-hero .wrap > .photo-hero-copy.stack { max-width: 36rem; }
@media (min-width: 901px) {
  .photo-hero-home .photo-hero-bg { left: auto; right: 0; width: 70%; object-position: 50% 45%; }
  .photo-hero-home::before { background: linear-gradient(90deg, var(--olive) 0%, var(--olive) 32%, rgba(72, 89, 65, 0.75) 45%, rgba(72, 89, 65, 0.2) 65%, rgba(72, 89, 65, 0) 85%); }
}
@media (min-width: 901px) { .photo-hero-about .photo-hero-bg { object-position: 60% 30%; } }
@media (max-width: 900px) { .photo-hero-about .photo-hero-bg { object-position: 55% 30%; } }
.photo-hero-contact { min-height: clamp(20rem, 36vw, 26rem); }
@media (min-width: 901px) { .photo-hero-contact .photo-hero-bg { object-position: 60% 55%; } }
@media (max-width: 900px) { .photo-hero-contact .photo-hero-bg { object-position: 55% 50%; } }
.page-hero .wrap > .photo-hero-contact-copy, .photo-hero-contact .photo-hero-copy { max-width: 24rem; }
@media (min-width: 901px) {
  .photo-hero-contact .photo-hero-bg { width: 72%; object-position: 0% 70%; }
  .photo-hero-contact::before { background: linear-gradient(90deg, var(--olive) 0%, var(--olive) 28%, rgba(72, 89, 65, 0.6) 36%, rgba(72, 89, 65, 0.12) 50%, rgba(72, 89, 65, 0) 62%); }
}
@media (max-width: 900px) { .photo-hero-contact .photo-hero-bg { object-position: 30% 70%; } }
.photo-hero-contact .wrap > .photo-hero-copy.stack { max-width: 26rem; }
.cta-note a { color: var(--cream); }

/* Medical writing and consultancy */
.icon-grid .item-wide { grid-column: 1 / -1; }
.also-offer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.25rem; align-items: start; margin-top: 1.75rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.also-offer h3 { margin-bottom: 0.4rem; }
.also-offer p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; overflow-x: visible; gap: 0.35rem 1rem; }
  .nav a { font-size: 0.9rem; }
}
.std-list { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 60rem; }
.std-list li { color: var(--muted); }
.std-list strong { color: var(--ink); }
