/* Page layout — flush-left, asymmetric, whitespace-structured */

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap > .hero { padding-top: calc(var(--nav-h) + var(--space-6)); }

section { padding: var(--space-8) 0; }
section > .body { max-width: 66ch; }
section > .body p { font-size: 17px; line-height: 1.65; }

#framework { padding-top: var(--space-7); }

.kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.head { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.14; margin-bottom: var(--space-5); }
.sub-head { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: var(--space-2); }

/* Hero — copy left, photograph right with a blended left edge */
.hero { padding: calc(var(--nav-h) + var(--space-6)) 0 0; }
.hero-split .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
  min-height: 460px;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; }
h1.display,
h1.display.long {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 28ch;
  text-align: left;
  text-wrap: balance;
}
.display .tail { display: block; margin-top: 0.28em; color: inherit; }
.hero .sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 48ch;
  text-align: left;
  margin: var(--space-6) 0 0;
}
.hero .sub + .sub { margin-top: var(--space-3); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-5); }
.hero .row { margin-top: auto; padding-top: var(--space-5); }
.hero .sub strong { font-weight: 500; color: var(--color-accent); }
.hero-bg {
  position: relative;
  align-self: stretch;
  height: auto;
  min-height: 440px;
  margin-top: calc(-1 * var(--space-6));
  margin-right: calc(-1 * var(--gutter));
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
  opacity: 0.94;
  filter: contrast(1.04);
}

/* 3 O rings */
.o-vis {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-7);
}
.o-list { list-style: none; margin: 0; padding: 0; }
.o-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-divider);
}
.o-item:last-child { border-bottom: 1px solid var(--color-divider); }
.o-item .num {
  grid-row: 1;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  padding-top: 6px;
}
.o-item h2, .o-item p { grid-column: 2; }
.o-item h2 { font-size: 21px; margin-bottom: var(--space-2); }
.o-item[data-o="1"] h2, .o-item[data-o="1"] .num { color: var(--color-accent-900); }
.o-item[data-o="2"] h2, .o-item[data-o="2"] .num { color: var(--color-accent-600); }
.o-item[data-o="3"] h2, .o-item[data-o="3"] .num { color: #3f8ab0; }
.o-item p { font-size: 17px; line-height: 1.65; color: var(--color-muted); max-width: 56ch; margin: 0; }

/* Full-bleed elements */
.statement-band,
.bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.statement-band {
  background: transparent;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.statement-row {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.statement-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-top: 0.55em;
  border-top: 2px solid var(--color-accent);
}
.statement {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  max-width: 34ch;
  margin: 0;
}
.statement .line { display: block; }
.statement .line.alt { color: var(--color-accent); }

@media (max-width: 720px) {
  .statement-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .statement-label { justify-self: start; }
}
.bleed img { display: block; width: 100%; height: 320px; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* About intro */
.lede { font-size: 19px; line-height: 1.6; color: var(--color-muted); max-width: 56ch; }
.pull,
.pull.wide {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(22px, 2.7vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-heading);
  max-width: 34ch;
  margin: var(--space-5) auto 0;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  text-align: center;
  text-wrap: pretty;
}
.pull .q { color: var(--color-accent); }
.pull, .pull.wide { max-width: 58ch; }
@media (max-width: 860px) { .brk { display: none; } }

/* removed: the balance sketch */
.intro-row { display: block; }

/* Two-column sections */
.cols {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  align-items: start;
}
.cols-flip { grid-template-columns: 400px 1fr; }
.cols .body { max-width: 66ch; }
.cols .body p { font-size: 17px; line-height: 1.65; }

.photo { margin: 0; }
.photo .print { overflow: hidden; background: var(--color-surface); }
.photo.portrait .print { aspect-ratio: 4 / 5; }
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
/* the portrait stays in colour; its white studio ground is multiplied into the
   page tone and the frame edges are faded off so it sits in the paper */
#about-intro { padding-bottom: var(--space-4); }
#about { padding-top: var(--space-5); }
#about .body > p { font-size: 16px; line-height: 1.6; }
#about .body { max-width: none; padding-right: var(--space-4); }
#about.cols { grid-template-columns: minmax(0, 1fr) 300px; }
#about .photo.portrait { max-width: 300px; justify-self: end; }
#about .photo .print { background: var(--color-surface); border-radius: 12px; aspect-ratio: 4 / 5; }
#about .photo img {
  filter: contrast(1.05) saturate(1.12);
  mix-blend-mode: multiply;
  --feather: 34px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%);
  -webkit-mask-composite: source-over;
  mask-image: linear-gradient(to right, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%);
  mask-composite: add;
}
.photo figcaption {
  font-size: 15px;
  color: var(--color-faint);
  margin-top: var(--space-3);
}

/* Approach photo — cropped to the subject */
.photo.medic .print { aspect-ratio: 4 / 5; }
.photo.medic img {
  object-position: 50% 27%;
  transform: scale(1.7);
  transform-origin: 50% 27%;
}

/* Timeline — a spine down the left with a dot per entry, no rules */
.timeline {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0 0 0 var(--space-5);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  bottom: 6px;
  border-left: 1px solid var(--color-divider);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: var(--space-3);
  padding: 7px 0;
  border: 0;
}
.timeline li:last-child { border-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-5) + 1px);
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-accent);
}
.tl-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-top: 3px;
}
#about .timeline p { font-size: 14.5px; line-height: 1.55; color: var(--color-muted); margin: 0; max-width: none; }

/* Offers */
.premise { color: var(--color-text); margin-top: var(--space-4); }
.offers { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.offers li {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-divider);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 66ch;
}
.offers li:last-child { border-bottom: 1px solid var(--color-divider); }
.lead-in {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
}

/* Services — hairline columns, no cards */
.services { position: relative; }
.services-bg { display: none; }
.three {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-5);
}
.item {
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--color-divider);
}
.item h3 { font-size: 21px; margin-bottom: var(--space-2); }
.item p { font-size: 17px; line-height: 1.65; color: var(--color-muted); margin: 0; max-width: 52ch; }

/* Contact */
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 17px;
  margin-bottom: var(--space-6);
}
.cl { display: flex; align-items: center; gap: var(--space-3); }
.ico-wrap { display: inline-flex; }
.ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cl .sep { color: var(--color-divider); }
#contact .head { max-width: 24ch; }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-6);
  max-width: 720px;
}
.form .field:nth-child(3), .form .row { grid-column: 1 / -1; }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-8);
}
.qa { padding-top: var(--space-5); border-top: 1px solid var(--color-divider); }
.qa p { font-size: 17px; line-height: 1.65; color: var(--color-muted); margin: 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  margin-top: var(--space-7);
  border-top: 1px solid var(--color-divider);
  font-size: 15px;
  color: var(--color-faint);
}

@media (max-width: 980px) {
  .o-vis, .cols, .cols-flip, .three, .faq, .form {
    grid-template-columns: minmax(0, 1fr);
  }
  .o-rings { width: 320px; height: 320px; }
  .ring-2 { inset: 52px; }
  .ring-3 { inset: 104px; }
}

/* ---- 3 O panels (was framework-b.css) ---- */
/* Framework option B — 1a's layout: intro across the width, then three tinted panels,
   each with a filled circular O badge, a heading and its line. No diagram. */

.o-vis {
  display: block;
  margin-top: var(--space-7);
}
.o-rings { display: none; }

#framework > .body { max-width: 78ch; }

.o-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.o-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: 26px 24px;
  background: var(--color-surface);
  border: 0;
  border-radius: 28px;
  cursor: default;
}
.o-item:last-child { border-bottom: 0; }

/* the badge: a filled circle carrying a single O */
.o-item .num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 0;
  letter-spacing: 0;
  padding: 0;
  color: var(--color-bg);
}
.o-item .num::after {
  content: "O";
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
.o-item[data-o="1"] .num { background: var(--color-accent); color: var(--color-bg); }
.o-item[data-o="2"] .num { background: var(--color-accent-600); color: var(--color-bg); }
.o-item[data-o="3"] .num { background: var(--color-accent-700); color: var(--color-bg); }

.o-item[data-o="1"] h2 { color: var(--color-accent); }
.o-item[data-o="2"] h2 { color: var(--color-accent-600); }
.o-item[data-o="3"] h2 { color: var(--color-accent-700); }

.o-item h2, .o-item p { grid-column: auto; }
.o-item h2 { font-size: 23px; margin: 0; }
.o-item p { font-size: 16px; line-height: 1.65; color: var(--color-muted); max-width: none; margin: 0; }

@media (max-width: 980px) {
  .o-list { grid-template-columns: minmax(0, 1fr); }
}

.btn-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}

/* the framework announces itself, at the same size as the hero headline */
#framework .head {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-5);
  max-width: 22ch;
}
#framework .kicker { margin-bottom: var(--space-3); }

/* button label set on the same 12px label scale as the kickers */
.btn-outline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 24px;
}
/* the hero pair: one type treatment, one height, equal widths when they wrap */
.hero .row .btn { flex: 1 1 auto; min-width: 0; justify-content: center; text-align: center; }

/* the fuller description, revealed on hover, tap or keyboard focus */
.o-item { cursor: pointer; transition: background 0.18s ease; }
.o-item .more {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  color: var(--color-muted);
  transition: max-height 0.32s ease, opacity 0.24s ease, margin-top 0.32s ease;
}
.o-item:hover .more,
.o-item:focus .more,
.o-item:focus-within .more {
  max-height: 22em;
  opacity: 1;
  margin-top: 0.6em;
}
/* no tint on hover: the revealed line takes the panel's own blue instead */
.o-item[data-o="1"]:hover .more, .o-item[data-o="1"]:focus-within .more { color: var(--color-accent); }
.o-item[data-o="2"]:hover .more, .o-item[data-o="2"]:focus-within .more { color: var(--color-accent-600); }
.o-item[data-o="3"]:hover .more, .o-item[data-o="3"]:focus-within .more { color: var(--color-accent-700); }
.o-item:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .o-item .more { transition: none; }
}

/* this option has no diagram, so the inherited dimming must not apply */
.o-vis.is-focused .o-item,
.o-vis.is-focused .ring { opacity: 1; }

/* panels sit compact and grow only under the cursor */
@media (min-width: 981px) {
  .o-list { align-items: start; }
}

.sr {
  font-size: 12px;
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* the closing note, pulled up under the three panels and set to their full width */
.framework-note {
  max-width: none;
  margin: calc(-1 * var(--space-6)) 0 var(--space-6);
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-muted);
  text-align: center;
}

/* Contact — 2a layout: statement left, underlined form right */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.contact-intro .head { max-width: 26ch; margin-bottom: var(--space-5); }
.contact-note {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 48ch;
  margin: 0 0 var(--space-5);
}
.contact-intro .contact-lines { margin-bottom: 0; }
.form-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: none;
}
.form-stack .field { gap: 8px; }
.form-stack .input {
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--color-divider);
  border-radius: 0;
  background: transparent;
}
.form-stack .input:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}
.form-stack textarea.input { resize: vertical; }
.form-stack .row { margin-top: var(--space-2); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
}
