/* Layout: editorial single column with wide image bands; ink-and-jade palette, marigold used sparingly */
:root {
  --paper: #f5f6f2;
  --paper-2: #e9ece4;
  --ink: #15292e;
  --ink-soft: #4a5b5c;
  --jade: #2e6b5c;
  --marigold: #c98a1e;
  --line: #d3d8cd;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10191b;
    --paper-2: #182427;
    --ink: #e8ece6;
    --ink-soft: #a9b6b2;
    --jade: #6fb3a0;
    --marigold: #e2a94a;
    --line: #2a3a3d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { 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: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--jade); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--marigold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 32px; padding-block: 20px;
}
.brand {
  font-family: var(--display); font-size: 1.6rem; color: var(--ink);
  text-decoration: none; letter-spacing: 0.01em;
}
.brand span { color: var(--jade); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 0.95rem;
  padding-block: 4px; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--marigold); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; max-width: 65ch; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--jade); font-weight: 600;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); }
.stack { display: grid; gap: 20px; }
.stack-lg { display: grid; gap: 32px; }

/* Sections */
section { padding-block: clamp(56px, 9vw, 104px); }
.band { background: var(--paper-2); }
.rule-top { border-top: 1px solid var(--line); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-img { aspect-ratio: 4 / 5; width: 100%; max-width: 100%; object-fit: cover; border-radius: 2px; }
.hero h1 em { font-style: italic; color: var(--jade); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 14px 26px; font-weight: 600; font-size: 0.98rem; border: 0; cursor: pointer;
  font-family: var(--body); border-radius: 2px;
}
.btn:hover { background: var(--jade); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Offer grid (home) */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.offer { display: grid; gap: 14px; align-content: start; min-width: 0; }
.offer img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.offer p { color: var(--ink-soft); font-size: 1rem; }
.offer a.more { font-weight: 600; text-decoration: none; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.fact strong { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 400; color: var(--ink); line-height: 1.1; }
.fact span { font-size: 0.92rem; color: var(--ink-soft); }

/* Expertise list (about) */
.expertise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.expertise div { border-top: 1px solid var(--line); padding-block: 22px; display: grid; gap: 8px; min-width: 0; }
.expertise h3 { font-size: 1.25rem; }
.expertise p { color: var(--ink-soft); font-size: 1rem; }
.who { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.who li { border: 1px solid var(--line); padding: 8px 14px; font-size: 0.95rem; border-radius: 2px; }

/* Packages (services) */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.package {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px;
  border-top: 3px solid var(--jade); padding-top: 24px; min-width: 0;
}
.package.featured { border-top-color: var(--marigold); }
.package .scope { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.package .best { font-size: 0.98rem; }
.package ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 0.98rem; }
.package .fit { font-size: 0.92rem; color: var(--ink-soft); font-style: italic; }

blockquote.pull {
  margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.3; max-width: 28ch; text-wrap: balance;
}
blockquote.pull::before { content: "\201C"; color: var(--marigold); display: block; font-size: 3.5rem; line-height: 0.6; margin-bottom: 14px; }

/* Contact form */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); padding: 12px 14px; border-radius: 2px; width: 100%;
}
.form textarea { min-height: 160px; resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 32px; font-size: 0.9rem; color: var(--ink-soft);
}
.site-footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 4 / 3; }
  .offers, .packages { grid-template-columns: 1fr; gap: 44px; }
  .expertise { grid-template-columns: 1fr; }
  .split.reverse > img { order: -1; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}

/* Tall photo that must show its full height (e.g. the Geneva chamber ceiling) */
.split img.tall { aspect-ratio: 3 / 4; object-position: 50% 0%; }
.photo-caption { display: grid; gap: 10px; margin: 0; min-width: 0; }
.photo-caption figcaption { font-size: 0.85rem; color: var(--ink-soft); }

/* Home service cards are text-only: a hairline sets each one off */
.offer { border-top: 1px solid var(--line); padding-top: 22px; }

/* In the Field photo wall: photos keep their natural shape, no cropping */
.gallery { columns: 3 300px; column-gap: 28px; }
.gallery figure { break-inside: avoid; margin: 0 0 32px; display: grid; gap: 10px; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { font-size: 0.9rem; color: var(--ink-soft); }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* Services page graphic: six service areas around "Policy to practice" (follows the site palette in light and dark) */
.hero-graphic { width: 100%; height: auto; max-width: 100%; display: block; }
.hero-graphic .g-bg { fill: var(--paper-2); }
.hero-graphic .g-tile { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; transition: stroke 0.2s ease; }
.hero-graphic .g-cell:hover .g-tile { stroke: var(--jade); }
.hero-graphic .g-hub { fill: var(--ink); }
.hero-graphic .g-ring { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 3 7; }
.hero-graphic .g-icon { fill: none; stroke: var(--jade); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-graphic .g-dot { fill: var(--marigold); }
.hero-graphic .g-name { fill: var(--ink); font-family: var(--body); font-size: 14px; font-weight: 600; text-anchor: middle; }
.hero-graphic .g-hub-big { fill: var(--paper); font-family: var(--display); font-size: 30px; text-anchor: middle; }
.hero-graphic .g-hub-small { fill: var(--marigold); font-family: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-anchor: middle; }
