/* =========================================================
   Meet the Mind · design tokens
   Derived from the logo: deep teal gradient #10262D → #338AA3
   ========================================================= */
:root {
  /* Brand teal scale */
  --teal-950: #0C1E24;
  --teal-900: #10262D;
  --teal-800: #173A44;
  --teal-700: #1F5262;
  --teal-600: #2A6B7E;   /* AA on light bg for text/links */
  --teal-500: #338AA3;   /* logo top, decorative only */
  --teal-200: #BCD6DD;
  --teal-100: #DCEAEE;
  --teal-50:  #EEF5F6;

  /* Warm accent */
  --copper-700: #8E4426;
  --copper-600: #A9532F; /* white text 5.3:1 */
  --copper-100: #F4E4DA;

  /* Neutrals */
  --bg: #F8F6F1;
  --sand: #F1ECE3;
  --surface: #FFFFFF;
  --ink: #142A31;
  --ink-soft: #46595F;
  --line: #E2DED5;
  --error: #B42318;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Oswald", "Arial Narrow", sans-serif;

  /* Spacing (spacious) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(16,38,45,.04), 0 8px 24px rgba(16,38,45,.06);
  --shadow-lg: 0 20px 50px rgba(16,38,45,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 var(--space-4); color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--copper-600); font-weight: 400; }
p { margin: 0 0 var(--space-4); }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); margin-bottom: var(--space-4); }
.eyebrow--light { color: var(--teal-200); }
.lead { font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--copper { background: var(--copper-600); color: #fff; }
.btn--copper:hover { background: var(--copper-700); color: #fff; }
.btn--teal { background: var(--teal-900); color: #fff; }
.btn--teal:hover { background: var(--teal-700); color: #fff; }
.btn--outline { border-color: var(--teal-900); color: var(--teal-900); background: transparent; }
.btn--outline:hover { background: var(--teal-900); color: #fff; }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--teal-100); color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-600); text-decoration: none; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--teal-900); color: #E6F0F2; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 40px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(248,246,241,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16,38,45,.05); }.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 84px; }

/* Wordmark recreated from the logo */
.brand { display: inline-grid; grid-template-columns: auto; justify-items: start; text-decoration: none; color: var(--teal-900); line-height: 1; }
.brand__meet { font-family: var(--font-display); font-style: italic; font-size: .95rem; justify-self: center; color: var(--teal-700); }
.brand__mind { font-family: var(--font-mark); font-weight: 400; font-size: 1.9rem; letter-spacing: .32em; margin-right: -.32em; color: var(--teal-900); }
.brand__i { color: var(--teal-500); text-shadow: 0 0 10px rgba(51,138,163,.55); }
.brand__name { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.brand--light, .brand--light .brand__mind { color: #fff; }
.brand--light .brand__meet { color: var(--teal-100); }
.brand--light .brand__i { color: #D6E6EB; text-shadow: 0 0 14px rgba(214,230,235,.8); }
.brand--light .brand__name { color: var(--teal-200); }

.nav ul { display: flex; gap: clamp(12px, 2vw, 32px); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--copper-600); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .nav__cta-mobile { display: none; }
.nav .nav__cta-mobile::after { content: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--sand) 100%); }
.hero::before { content: ""; position: absolute; right: -180px; top: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(51,138,163,.18), rgba(51,138,163,0) 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero__title em { display: block; }
.hero__accent { color: var(--copper-600); }
.form__title:has(+ .form__subtitle) { margin-bottom: 6px; }
.form__subtitle { margin: 0 0 24px; font-size: .9rem; color: var(--ink-soft); }
.chips + .accordion { margin-top: 18px; }
/* Copper-dot bullet list inside accordions */
.dot-list { list-style: none; margin: 0; padding: 2px 0 var(--space-4); display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.dot-list li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--copper-600); }
/* Step-by-step downward flow inside accordions */
.flow { list-style: none; margin: 0; padding: 4px 0 var(--space-4); counter-reset: flow; }
.flow li { counter-increment: flow; position: relative; padding: 0 0 18px 46px; min-height: 34px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--copper-600); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: linear-gradient(var(--copper-600), var(--copper-100)); border-radius: 2px; }
.flow strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; padding-top: 5px; }
.flow span { display: block; color: var(--ink-soft); font-size: .92rem; margin-top: 3px; }
.form__privacy { margin: 12px 0 0; font-size: .85rem; color: var(--ink-soft); text-align: center; }

/* Booking calendar under the contact form (spans both columns) */
.booking { grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.booking[hidden], .booking [hidden] { display: none; }
.booking__intro { text-align: center; max-width: 560px; margin: 0 auto; }
.booking__title { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: 8px; }
.booking__intro p { color: var(--ink-soft); }
.booking__note { font-size: .85rem; margin: 14px 0 0; }
.booking.is-loaded .booking__note { margin-bottom: 8px; }
.booking__frame iframe { display: block; width: 100%; height: 720px; border: 0; margin-top: 16px; border-radius: 16px; background: transparent; transition: height .25s var(--ease); }
@media (max-width: 760px) { .booking__frame iframe { height: 1050px; } }

/* Simple inner pages (privacy notice, 404) */
.page-header { border-bottom: 1px solid var(--line); }
.page-header .header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.page-header__back { color: var(--teal-900); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.page-header__back:hover { color: var(--teal-900); text-decoration: underline; }
.page { padding: clamp(48px, 7vw, 96px) 0; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }
.page h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin-top: var(--space-6, 40px); }
.page p, .page li { color: var(--ink-soft); }
.page ul { padding-left: 1.2em; list-style: disc; }
.page li::marker { color: var(--copper-600); }
.page li { margin-bottom: 6px; }
.page__meta { font-size: .9rem; }
.page--center { text-align: center; min-height: 60vh; display: grid; align-content: center; }
.page--center .btn-row { justify-content: center; }
.about__quote-accent { color: #E59A73; } /* lighter copper for the dark teal box */
.hero__tagline { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 500; line-height: 1.2; color: var(--teal-700); margin: 0 0 18px; }
.hero__lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-soft); max-width: 36em; }
.hero__lede p { margin: 0; }
/* Hero intro: lead line, benefit tiles with icons, credentials paragraph */
.hero__intro { color: var(--ink); font-weight: 500; }
.hero__intro strong { font-weight: 700; color: var(--copper-700); }
.hero__benefits { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero__benefits li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 18px rgba(16,38,45,.05); color: var(--teal-900); font-weight: 600; font-size: .95em; line-height: 1.25; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.hero__benefits li:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,38,45,.09); border-color: #E7CDBE; }
.hb__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #F8EAE1, #F2DCCD); color: var(--copper-700); }
.hb__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__about { border-left: 3px solid var(--copper-600); padding-left: 16px; font-size: .95em; line-height: 1.65; }
@media (max-width: 420px) { .hero__benefits { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__benefits li { animation: hb-rise .6s var(--ease) both; }
  .hero__benefits li:nth-child(1) { animation-delay: .15s; }
  .hero__benefits li:nth-child(2) { animation-delay: .25s; }
  .hero__benefits li:nth-child(3) { animation-delay: .35s; }
  .hero__benefits li:nth-child(4) { animation-delay: .45s; }
}
@keyframes hb-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.creds { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-soft); font-size: .95rem; }
.creds li { display: inline-flex; align-items: center; gap: 10px; }
.creds li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper-600); }

.hero__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Hero: text on the left, arched portrait on the right (portrait drops under the heading on phones) */
.hero { padding: clamp(32px, 4.5vw, 64px) 0 clamp(40px, 4.5vw, 64px); }
.hero__grid { display: block; }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: clamp(36px, 5vw, 88px); }
.hero__copy > .hero__title   { grid-column: 1; grid-row: 2; }
.hero__copy > .hero__tagline { grid-column: 1; grid-row: 3; }
.hero__copy > .hero__lede    { grid-column: 1; grid-row: 4; }
.hero__copy > .btn-row       { grid-column: 1; grid-row: 5; }
.hero__portrait { grid-column: 2; grid-row: 1 / -1; align-self: center; margin: 0; width: 100%; max-width: 440px; justify-self: end; aspect-ratio: 4 / 5; max-height: calc(100vh - 200px); min-height: 380px; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--teal-100); }
.hero__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 960px) {
  .hero__copy { grid-template-columns: 1fr; grid-template-rows: none; }
  .hero__copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .hero__portrait { justify-self: stretch; max-width: none; min-height: 0; max-height: none; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); margin: 6px 0 22px; }
  .hero__portrait img { object-position: 50% 8%; }
}
.gallery { padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(16px, 3vw, 40px); }
.gallery .hero__media { max-width: 940px; margin: 0 auto; }
.tile { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--teal-100); }
.tile--main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.03); }
/* Portrait video: tall on the left, the two photo tiles stacked on the right */
.hero__media:has(.tile--video) { grid-template-rows: 1fr 1fr; }
.tile--main.tile--video { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3 / 4; }
.hero__media:has(.tile--video) .tile:not(.tile--video) { aspect-ratio: auto; min-height: 0; }
.hero__media:has(.tile--video) .tile:not(.tile--video) img { position: absolute; inset: 0; }
.tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile--video img { display: block; object-position: center 20%; }
.tile .tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(16,38,45,.82); color: #fff; font-size: .85rem; font-weight: 600; }
.stat-chip { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 16px; max-width: min(380px, calc(100% - 40px)); padding: 16px 20px; border-radius: var(--radius); background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.stat-chip strong { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: var(--teal-900); white-space: nowrap; }
.stat-chip span { font-size: .85rem; line-height: 1.4; color: var(--ink-soft); }

/* ---------- Strip ---------- */
.strip { background: linear-gradient(120deg, var(--teal-900), var(--teal-700)); color: #EAF3F5; }
.strip__list { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.strip__list li { display: flex; gap: 12px; align-items: flex-start; }
.strip .ico { color: var(--teal-900); background: #CFE3E8; border-radius: 50%; padding: 3px; stroke-width: 2.6; width: 22px; height: 22px; }

/* ---------- Sections ---------- */
section[id] { scroll-margin-top: 84px; }
.section { padding: clamp(40px, 4.5vw, 64px) 0; }
/* Photo strip sits close to its neighbours; "For workplaces" follows it on the same background */
.section.gallery { padding: clamp(24px, 3vw, 40px) 0; }
.section.gallery + #workplaces { padding-top: clamp(16px, 2vw, 28px); }
.section--sand { background: var(--sand); }
.section--tint { background: var(--teal-50); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.split-head h2 { margin: 0; }
.split-head .lead { margin: 0; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 3.5vw, 44px); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-left: auto; margin-right: auto; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card > p, .card__pad > p { color: var(--ink-soft); }
.card .link-arrow { margin-top: auto; }
.card__actions { margin-top: auto; padding-top: var(--space-5, 24px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.card__actions .link-arrow { margin-top: 0; }
.card__kicker { font-size: .75rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-600) !important; margin-bottom: var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-800); font-size: .85rem; font-weight: 500; }

.card--service { padding: 0; overflow: hidden; }
.card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__img--top { object-position: center 55%; }
.cards--2 .card__img { aspect-ratio: 1 / 1; }

/* Client logo banner (scrolls left) */
.logos { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 44px) 0; overflow: hidden; }
.logos__title { text-align: center; margin-bottom: clamp(18px, 2.5vw, 28px); }
.logos__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; width: max-content; animation: logos-scroll 60s linear infinite; }
.logos__viewport:hover .logos__track { animation-play-state: paused; }
.logos__list { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); list-style: none; margin: 0; padding: 0 clamp(20px, 2.5vw, 36px); }
.logos__list li { flex: none; display: flex; align-items: center; justify-content: center; height: 64px; }
.logos__list img { height: 52px; width: auto; max-width: 170px; object-fit: contain; }
.logos__list img[src*="mayor-of-london"] { max-width: 220px; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .logos__list img { height: 40px; max-width: 130px; } .logos__list li { height: 52px; } .logos__track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; width: auto; }
  .logos__list { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
  .logos__list[aria-hidden="true"] { display: none; }
  .logos__viewport { -webkit-mask-image: none; mask-image: none; }
}
.card__media { position: relative; margin: 0; outline: none; }
.card__hover { position: absolute; inset: auto 0 0 0; padding: 48px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px); background: linear-gradient(to top, rgba(16, 38, 45, .92) 0%, rgba(16, 38, 45, .75) 60%, rgba(16, 38, 45, 0) 100%); color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.card__media:hover .card__hover, .card__media:focus-visible .card__hover, .card__media:focus .card__hover { opacity: 1; transform: none; }
@media (hover: none) { .card__hover { opacity: 1; transform: none; } }
.card__img--pathfinder { display: block; height: auto; object-position: center 15%; background: var(--teal-100); }
.card__pad { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.accordion { margin-top: auto; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; font-weight: 600; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--copper-600); transition: transform .25s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { color: var(--ink-soft); font-size: .95rem; padding-bottom: var(--space-4); margin: 0; }

/* ---------- Experience ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.media-split__img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1.05; }
.media-split__img img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: var(--space-6) 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat dt { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); line-height: 1; color: var(--copper-600); margin-bottom: 8px; }
.stat dd { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }

/* ---------- Events ---------- */
.events { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: clamp(16px, 3vw, 36px); align-items: center; padding: 22px clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .3s var(--ease); }
.event:hover { border-color: var(--teal-200); box-shadow: var(--shadow); }
.event__date { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 18px; background: linear-gradient(160deg, var(--teal-500), var(--teal-900)); color: #fff; line-height: 1; }
.event__day { font-family: var(--font-display); font-size: 2.2rem; align-self: end; }
.event__month { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; align-self: start; padding-top: 6px; }
.event__type { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-600); margin-bottom: 6px; }
.event h3 { font-size: 1.3rem; margin-bottom: 8px; }
.event__meta { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .95rem; margin: 0; }
.event__meta .ico { width: 18px; height: 18px; color: var(--teal-600); }
.event__soon { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--teal-50); border: 1px dashed var(--teal-200); color: var(--teal-700); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.events__note { text-align: center; margin-top: var(--space-6); color: var(--ink-soft); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.about__arch { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center 70%; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }.about__stack { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.about__portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 55% center; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__portrait--presenting { object-position: center top; }
.about__quote { margin: 0; padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--teal-700), var(--teal-900)); color: #fff; display: flex; align-items: center; justify-content: center; }
.about__quote p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.45; }
.about__copy > p { color: var(--ink-soft); }
.cred-list { display: grid; gap: 12px; margin-top: var(--space-6); }
.cred-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cred-list .ico { color: var(--copper-600); width: 24px; height: 24px; margin-top: 2px; }
.cred-list strong { display: block; font-weight: 600; }
.cred-list span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.quote__mark { width: 36px; height: 36px; fill: var(--teal-200); margin-bottom: 16px; }
.quote__title { font-size: 1.25rem; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 24px; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.quote blockquote p { margin: 0; }
.quote[hidden] { display: none; }
/* Review cards: soft pastel copper */
.quotes .quote { background: #F8EAE1; border-color: #EFD9CB; }
.quotes .quote figcaption { border-top-color: rgba(16, 38, 45, .12); }
.quotes__more { text-align: center; margin-top: var(--space-6); }
.quote figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: grid; }
.quote figcaption span { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Social ---------- */
.social { background: radial-gradient(120% 140% at 0% 0%, var(--teal-500) 0%, var(--teal-800) 45%, var(--teal-950) 100%); color: #E6F0F2; padding: clamp(40px, 4.5vw, 64px) 0; }
.social__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.social h2 { color: #fff; }
.social h2 em { color: #F0B79A; }
.social__copy p { color: #CFE0E4; font-size: 1.125rem; margin-bottom: var(--space-6); }
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.insta a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta__hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16,38,45,.55); color: #fff; opacity: 0; transition: opacity .25s var(--ease); }
.insta__hover .ico { width: 30px; height: 30px; }
.insta a:hover img, .insta a:focus-visible img { transform: scale(1.06); }
.insta a:hover .insta__hover, .insta a:focus-visible .insta__hover { opacity: 1; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.steps { display: grid; gap: 20px; margin: var(--space-6) 0; }
.steps li { display: flex; gap: 16px; }
.steps__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-900); color: #fff; font-weight: 700; }
.steps strong { display: block; font-size: 1.05rem; }
.steps p { margin: 2px 0 0; color: var(--ink-soft); }
.contact__alt { color: var(--ink-soft); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form__title { font-size: 1.6rem; margin-bottom: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #CBD5D8; border-radius: 12px;
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(51,138,163,.18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__help { font-size: .85rem; color: var(--ink-soft); margin: 6px 0 0; }
.field__error { font-size: .875rem; color: var(--error); font-weight: 600; margin: 6px 0 0; }
.form__status { margin: 14px 0 0; font-size: .95rem; color: var(--teal-700); font-weight: 600; min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-950); color: #B9CDD2; padding-top: var(--space-7); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: var(--space-7); }
.footer__blurb { margin-top: var(--space-5); max-width: 34em; }
.footer__head { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.footer ul { display: grid; gap: 4px; }
.footer a { color: #DCE8EB; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .footer__insta { gap: 10px; white-space: nowrap; }
.footer a.brand { display: inline-grid; min-height: 0; }
.footer a.brand:hover { text-decoration: none; }
.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; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; padding-bottom: 12px; font-size: .9rem; }
.footer__base p { margin: 0; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .header__cta { display: none; }
  .strip__list { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
  .nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--teal-900); border-radius: 2px; transition: transform .25s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  /* backdrop-filter would make the header the drawer's containing block */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg); padding: 100px 28px 32px; box-shadow: -20px 0 60px rgba(16,38,45,.2); transform: translateX(105%); transition: transform .3s var(--ease), visibility .3s; visibility: hidden; z-index: 2; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-toggle { position: relative; z-index: 3; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { font-size: 1.2rem; min-height: 52px; }
  .nav a::after { bottom: 10px; }
  .nav .nav__cta-mobile { display: inline-flex; font-size: 1.0625rem; color: #fff; }

  .hero__grid, .split-head, .media-split, .about, .social__grid, .contact__grid { grid-template-columns: 1fr; }
  .cards--3, .cards--2, .quotes { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .about__media { max-width: 560px; }
  .about__arch { min-height: 420px; }
  .split-head { align-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .header__inner { min-height: 72px; }
  .brand__mind { font-size: 1.6rem; }
  .hero__media { gap: 12px; }
  .tile--main { aspect-ratio: 4 / 3; }
  .btn-row .btn { width: 100%; }
  .strip__list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 16px; }
  .event { grid-template-columns: 72px 1fr; }
  .event__date { width: 72px; height: 72px; border-radius: 14px; }
  .event__day { font-size: 1.7rem; }
  .event__cta { grid-column: 1 / -1; width: 100%; }
  .about__arch { min-height: 340px; }
  .insta { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
