/* ==========================================================================
   SUMA — site.css
   One stylesheet for every page. No runtime, no framework.
   Colors and type follow the SUMA design system (Brand Kit):
     Darkest green #01221b ground, Deep Green #10312a for featured surfaces, cream and sand inks, gold used sparingly
     Title: Canela · Subtitle: Raleway · Text: Work Sans
   ========================================================================== */

@font-face { font-family: "Canela"; src: url("fonts/Canela-Regular.otf") format("opentype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("fonts/Raleway-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-latin-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("fonts/MrsSaintDelafield-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* The brand greens */
  --forest: #01221b;      /* the darkest green in the design system — the page ground */
  --forest-2: #0c2a22;    /* panels and wells, lifted off the ground */
  --lift: #10312a;        /* Deep Green — featured surfaces */
  --lift-2: #173a30;      /* the next green up in the design system (green-800) */
  --ground: #08231c;      /* ink on cream buttons; the menu bar on the cream Vision page */
  /* Inks on green */
  --cream: #e6dcc8;
  --body: #cabfa3;
  --soft: #a6ad9d;
  --sage: #8fa396;
  --gold: #c9a67e;
  --gold-bright: #c8a766;
  --hair: rgba(255, 255, 255, 0.14);
  /* Paper grounds and their inks */
  --paper: #f7f1e5;
  --sheet: #f0e9d8;
  --ink: #10312a;
  --ink-body: #2f3833;
  --ink-muted: #5c6a60;
  --gold-ink: #9c7f4d;
  --hair-paper: #d9cdb0;
  /* Type (design-system names, so the ported Vision page resolves them) */
  --font-display: "Canela", "Cormorant Garamond", "Hoefler Text", Georgia, "Times New Roman", serif;
  --font-subtitle: "Raleway", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(112px, 16vw, 240px);
  --r-panel: 20px;
  --r-thumb: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 108px; background: var(--forest); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }
body { margin: 0; background: var(--forest); color: var(--body); font-family: var(--font-sans); font-weight: 300; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-wrap: pretty; overflow-x: clip; }
img, svg, iframe, video { display: block; max-width: 100%; }
p, h1, h2, h3, h4, figure, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(200, 167, 102, 0.4); }
.skip { position: absolute; left: -9999px; top: 12px; padding: 10px 16px; background: var(--cream); color: var(--ground); border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---- Type ---------------------------------------------------------------- */
.cn { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.016em; line-height: 1.08; color: var(--cream); text-wrap: balance; }
.h-hero { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -0.02em; }
.h-2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.h-3 { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.16; }
.h-feat { font-size: clamp(1.75rem, 2.6vw, 2.3rem); line-height: 1.1; }
.h-4 { font-size: 1.3rem; line-height: 1.2; }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.55; }
.small { font-size: 15px; }
.note { font-size: 13px; font-weight: 400; color: var(--soft); }
.bright { color: var(--cream); }
.eyebrow { font-family: var(--font-subtitle); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; line-height: 1.4; color: var(--gold); }

/* ---- Layout -------------------------------------------------------------- */
.wrap { max-width: 1288px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.col { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.col > p { max-width: 600px; }
/* A two-sentence line that sits as two rows on wide screens: one sentence per row */
.col > p.two-line { max-width: 880px; }
.two-line br { display: none; }
@media (min-width: 860px) { .two-line br { display: inline; } }
.section { padding: 0 0 var(--section); }
.section-top { padding-top: var(--section); }
.block-head { margin-bottom: clamp(44px, 5.5vw, 72px); }
.feats-head { margin-bottom: clamp(72px, 9vw, 128px); }
.feats-head > p { max-width: 720px; }
.feats-head strong { display: block; margin-top: clamp(16px, 1.6vw, 22px); font-weight: 600; color: var(--cream); }
.center { display: flex; justify-content: center; }

/* ---- Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.2; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-cream { background: var(--cream); color: var(--ground); border-color: var(--cream); }
.btn-cream:hover { background: #f3ecdc; border-color: #f3ecdc; }
.btn-ghost { color: var(--cream); border-color: rgba(230, 220, 200, 0.42); }
.btn-ghost:hover { background: rgba(230, 220, 200, 0.08); border-color: rgba(230, 220, 200, 0.7); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.arrow { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); gap: 9px; font-weight: 400; }
.arrow::after { content: "→"; transition: transform 0.25s ease; }
.arrow:hover::after { transform: translateX(4px); }

/* ---- Header -------------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 50; padding-top: 18px; pointer-events: none; }
.site-head .bar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px 28px; min-height: 68px; padding: 8px 10px 8px 26px; border-radius: 16px; background: rgba(12, 42, 34, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.site-head.scrolled .bar, .paper .site-head .bar, .site-head.open .bar { background: rgba(12, 42, 34, 0.94); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(1, 20, 15, 0.18); }
.paper .site-head .bar { background: rgba(8, 35, 28, 0.94); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 21px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0 clamp(22px, 2.8vw, 38px); font-size: 15px; font-weight: 400; color: var(--body); }
.site-nav a { position: relative; padding: 12px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cream); }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 20px; height: 1.5px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left center; transition: transform 0.26s cubic-bezier(0.33, 1, 0.68, 1); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-head .btn { min-height: 46px; padding: 0 24px; font-size: 15px; }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .site-head { padding-top: 10px; }
  .site-head .bar { flex-wrap: wrap; padding: 6px 8px 6px 18px; min-height: 58px; background: rgba(12, 42, 34, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .site-head .bar > .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: transparent; border: 0; color: var(--cream); font: 400 15px var(--font-sans); cursor: pointer; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 8px 14px; font-size: 18px; }
  .site-nav a { padding: 15px 0; border-top: 1px solid var(--hair); color: var(--cream); }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-head.open .site-nav { display: flex; }
}
@media (min-width: 821px) { .site-nav .nav-cta { display: none; } }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding: clamp(64px, 9vw, 132px) 0 0; }
.hero .lede { max-width: 620px; }
.hero .btn-row { margin-top: 12px; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--forest-2); }
.frame img { width: 100%; height: auto; }
.hero .frame { margin-top: clamp(52px, 7vw, 96px); }
.page-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 104px); }

/* ---- First principles: five words, one sentence at a time ---------------------- */
/* the Approach link lands with this heading just below the menu bar */
.principles { scroll-margin-top: calc(40px - var(--section)); }
.principles h2 { max-width: 900px; margin: 0 auto; text-align: center; }
.pwords { margin-top: clamp(48px, 6vw, 84px); }
.pwords svg { width: 22px; height: 22px; color: var(--gold); }
/* phones, and any browser without scripting: a plain ruled list */
.ptabs { display: none; }
.psays { border-bottom: 1px solid var(--hair); }
.psays p { padding: 24px 0; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.6; }
.psays strong { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-weight: 400; }
.psays strong .cn { font-size: 1.5rem; line-height: 1.15; }
/* wider screens: the five words in a row; the open word's sentence beneath. The rail under the open word
   fills over ten seconds, then the next word opens. */
@media (min-width: 861px) {
  .js .ptabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(10px, 1.4vw, 20px); }
  .js .ptabs button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
  .js .ptabs button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 6px; }
  .js .ptabs svg { margin-bottom: 14px; opacity: 0.5; transition: opacity 0.25s ease; }
  .js .ptabs .cn { font-size: clamp(1.25rem, 1.95vw, 1.75rem); line-height: 1.1; opacity: 0.45; transition: opacity 0.25s ease; }
  .js .ptabs button:hover .cn, .js .ptabs button:hover svg { opacity: 0.8; }
  .js .ptabs button[aria-selected="true"] .cn, .js .ptabs button[aria-selected="true"] svg { opacity: 1; }
  .js .ptabs i { display: block; align-self: stretch; height: 3px; margin-top: 18px; border-radius: 999px; background: rgba(230, 220, 200, 0.2); overflow: hidden; }
  .js .ptabs b { display: block; width: 100%; height: 100%; border-radius: 999px; background: var(--cream); transform: scaleX(0); transform-origin: left center; }
  .js .ptabs button[aria-selected="true"] b { animation: word-fill 10s linear forwards; animation-play-state: paused; }
  .js .pwords.run .ptabs button[aria-selected="true"] b { animation-play-state: running; }
  .js .psays { display: grid; margin-top: clamp(40px, 5vw, 64px); border-bottom: 0; }
  .js .psays p { grid-area: 1 / 1; justify-self: center; max-width: 800px; padding: 0; border: 0; text-align: center; font-size: clamp(1.12rem, 1.55vw, 1.35rem); line-height: 1.55; color: var(--cream); text-wrap: balance; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
  .js .psays p.on { opacity: 1; visibility: visible; transition: opacity 0.5s ease 0.12s, visibility 0s; }
  .js .psays strong { display: none; }
}
@keyframes word-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- Feature sections: copy with a rotating list, beside a square stage ------- */
.feat { display: flex; align-items: center; gap: clamp(36px, 6.4vw, 93px); }
.feat + .feat { margin-top: clamp(104px, 14vw, 200px); }
.feat.rev { flex-direction: row-reverse; }
.stage { flex: 0 0 36%; aspect-ratio: 1; position: relative; overflow: hidden; border-radius: var(--r-panel); background: linear-gradient(160deg, #133529 0%, #0a2720 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); container-type: inline-size; }
.feat-copy { flex: 1 1 0; min-width: 0; }
.feat-copy h3 { max-width: 621px; }
.feat-copy > p { font-size: 15.5px; line-height: 1.55; max-width: 490px; margin-top: 24px; }
.feat-list { display: flex; flex-direction: column; gap: 30px; margin-top: clamp(40px, 4.6vw, 64px); max-width: 621px; }
.feat-item { all: unset; box-sizing: border-box; display: flex; width: 100%; cursor: pointer; text-align: left; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.feat-item:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 6px; }
.feat-item .rail { flex: none; width: 8px; margin-right: 24px; align-self: stretch; padding: 3px 0; }
.feat-item .rail span { position: relative; display: block; width: 100%; height: 100%; min-height: 20px; border-radius: 999px; background: rgba(230, 220, 200, 0.2); overflow: hidden; }
.feat-item .rail b { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 999px; background: var(--cream); display: none; }
.feat-item .tx { flex: 1 1 0; min-width: 0; display: block; }
.feat-item .t { display: block; font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--cream); transition: opacity 0.2s ease; }
.feat-item .d { display: block; }
.feat-item .d span { display: block; padding-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--body); max-width: 78%; }
.js .feat-item .t { opacity: 0.72; }
.js .feat-item:hover .t { opacity: 0.9; }
.js .feat-item .d { overflow: hidden; max-height: 0; opacity: 0; }
.js .feat-item[aria-selected="true"] .t { opacity: 1; }
.js .feat-item[aria-selected="true"] .d { max-height: 220px; min-height: 3.4em; opacity: 1; transition: max-height 0.3s ease-out, opacity 0.3s ease-out; }
.js .feat-item[aria-selected="true"] .rail b { display: block; transform-origin: top center; animation: rail-fill 10s linear forwards; animation-play-state: paused; }
.js .feat.run .feat-item[aria-selected="true"] .rail b { animation-play-state: running; }
@keyframes rail-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 900px) {
  /* stacked: heading, intro, then the stage directly above its list, so a tap and its result are seen together */
  .feat, .feat.rev { flex-direction: column; align-items: stretch; gap: 0; }
  .feat-copy { display: contents; }
  .feat-copy h3 { order: 1; }
  .feat-copy > p { order: 2; margin-top: 20px; }
  .stage { order: 3; flex: none; width: 100%; max-width: 460px; margin: 36px auto 0; }
  .feat-list { order: 4; margin-top: 32px; gap: 24px; }
  .feat-item .rail { width: 5px; margin-right: 18px; }
  .feat-item .d span { max-width: none; }
}

/* Stage vignettes: small product moments. Everything is sized in em off the stage width. */
.vg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9em; padding: 8.5%; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; font-size: clamp(10px, 3.05cqw, 15px); font-weight: 400; line-height: 1.4; color: #16211d; }
.vg.on { opacity: 1; visibility: visible; transition: opacity 0.5s ease, visibility 0s; }
.ui { flex: none; width: 100%; background: #fbf9f4; border-radius: 1.1em; box-shadow: 0 1.4em 3.4em rgba(1, 20, 15, 0.5); overflow: hidden; }
.ui-pad { padding: 1.15em 1.25em; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0.9em 1.25em; border-bottom: 1px solid #e7e3d9; }
.ui-head b { font-weight: 600; font-size: 1.02em; letter-spacing: -0.005em; white-space: nowrap; }
.ui-head > span { font-size: 0.8em; color: #6b756f; white-space: nowrap; }
.ui-k { font-size: 0.78em; color: #6b756f; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 0.9em; padding: 0.78em 1.25em; border-bottom: 1px solid #efece4; }
.ui-row:last-child { border-bottom: 0; }
.ui-pad + .ui-row { border-top: 1px solid #efece4; }
.ui-row > div { min-width: 0; }
.ui-row strong { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row small { display: block; font-size: 0.8em; color: #6b756f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.28em 0.7em; border-radius: 999px; font-size: 0.76em; font-weight: 500; background: #eeeae0; color: #3b4741; white-space: nowrap; }
.chip::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; opacity: 0.7; }
.chip.go { background: #f6ecd6; color: #8a6a2a; }
.chip.ok { background: #e2ece4; color: #2c5a45; }
.ui-foot { padding: 0.8em 1.25em; background: #f4f0e6; font-size: 0.8em; color: #55625c; }
/* Views drawn the way the platform draws them: people with their scores, work orders in their tiers, operating results */
.ui-row.slim { justify-content: flex-start; padding: 0.56em 1.25em; }
.ui-row.slim > div { flex: 1; }
.av { flex: none; display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: 50%; background: #eeeae0; color: #3b4741; font-size: 0.7em; font-style: normal; font-weight: 600; letter-spacing: 0.02em; }
.sc { flex: none; display: inline-flex; align-items: center; gap: 0.4em; font-size: 1.05em; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: #2c5a45; }
.sc b, .sc { line-height: 1; }
.sc svg { width: 0.95em; height: 0.95em; }
.sc.lo { color: #b4543a; }
/* A vendor's visit: who, when, for what, and each step of the coordination */
.ui-head.vend { justify-content: flex-start; gap: 0.8em; }
.ui-head.vend > div { flex: 1; min-width: 0; }
.ui-head.vend small { display: block; font-size: 0.78em; color: #6b756f; }
.ui-head.vend .av { font-size: 0.72em; }
.visit { border-bottom: 1px solid #efece4; }
.visit h4 { margin-top: 0.2em; }
.visit p { margin-top: 0.25em; font-size: 0.9em; color: #55625c; }
.std.todo svg { color: #b9b3a3; }
.std.todo span { color: #6b756f; }
.tier { display: flex; align-items: center; justify-content: space-between; padding: 0.5em 1.3em 0.42em; background: #f4f0e6; font-size: 0.7em; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: #6b756f; }
.tier b { font-weight: 600; letter-spacing: 0; }
.tier.urgent { color: #b4543a; }
.tier + .ui-row { border-top: 0; }
.otab { padding: 0.5em 1.25em 0.9em; }
.oth, .otr { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr)); gap: 0 0.6em; align-items: start; }
.oth { padding: 0.5em 0 0.45em; font-size: 0.7em; color: #6b756f; }
.otr { padding: 0.7em 0; border-top: 1px solid #efece4; font-size: 0.88em; font-variant-numeric: tabular-nums; }
.oth span + span, .otr span + span { text-align: right; }
.otr strong { display: block; font-weight: 500; line-height: 1.25; }
.otr .fav { color: #2c5a45; font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 0.22em; height: 1.5em; margin-top: 0.5em; }
.bars u { flex: none; width: 0.5em; border-radius: 0.14em 0.14em 0 0; background: #cfdcd3; text-decoration: none; }
.bars u:last-child { background: #12332b; }
/* Text conversations are shown on a phone, which stands whole inside the stage with room around it. */
.vg.tel { padding: 5.5%; }
.ph { flex: none; height: 100%; aspect-ratio: 0.58; display: flex; padding: 0.42em; border-radius: 2.5em; background: #0b1512; box-shadow: 0 0 0 1px rgba(230, 220, 200, 0.2), 0 1.4em 3.4em rgba(1, 20, 15, 0.55); font-size: 0.86em; }
.ph-screen { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: 2.1em; background: #fbf9f4; overflow: hidden; }
.ph-screen::before { content: ""; position: absolute; z-index: 3; top: 0.55em; left: 50%; width: 4.4em; height: 1.25em; margin-left: -2.2em; border-radius: 999px; background: #0b1512; }
.ph-screen::after { content: ""; position: absolute; z-index: 3; bottom: 0.4em; left: 32%; right: 32%; height: 0.24em; border-radius: 999px; background: #16211d; opacity: 0.8; }
.ph-bar { position: relative; z-index: 3; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0.7em 1.5em 0.25em; font-size: 0.74em; font-weight: 600; }
.ph-bar span { display: flex; align-items: center; gap: 0.4em; }
.ph-bar svg { width: auto; height: 0.85em; }
.logo { flex: none; display: block; width: 2.3em; height: 2.3em; border-radius: 50%; overflow: hidden; }
.logo svg { display: block; width: 100%; height: 100%; }
.ph-head { flex: none; display: flex; flex-direction: column; align-items: center; gap: 0.3em; padding: 0.35em 1em 0.6em; border-bottom: 1px solid #e7e3d9; }
.ph-head b { font-size: 0.76em; font-weight: 500; white-space: nowrap; }
.ph-stamp { align-self: center; padding: 0.1em 0 0.2em; font-size: 0.66em; color: #8a918c; white-space: nowrap; }
.ph-input { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 0.7em 1.15em; padding: 0.32em 0.36em 0.32em 0.95em; border: 1px solid #dcd8cc; border-radius: 999px; font-size: 0.8em; color: #9aa09b; }
.ph-input i { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #12332b; color: #f3ecdc; }
.ph-input svg { width: 62%; height: 62%; }
/* the contact card as it arrives in the thread, then open and saved */
.ph-vcard { align-self: flex-start; display: flex; align-items: center; gap: 0.7em; max-width: 88%; padding: 0.6em 0.9em 0.6em 0.65em; border-radius: 1.15em; background: #ecebe5; }
.ph-vcard strong { display: block; font-size: 0.86em; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.ph-vcard small { display: block; font-size: 0.72em; color: #6b756f; }
.ph-sheet { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; padding-top: 2.2em; background: #fbf9f4; box-shadow: 0 -0.5em 1.8em rgba(1, 20, 15, 0.22); }
.sh-top { display: flex; align-items: center; justify-content: space-between; padding: 0.85em 1.1em 0.5em; font-size: 0.8em; color: #6b756f; }
.sh-top b { font-weight: 600; color: #16211d; }
.sh-top em { font-style: normal; font-weight: 600; color: #1f6b4f; }
.sh-id { display: flex; flex-direction: column; align-items: center; padding: 0.4em 1em 0.8em; text-align: center; }
.sh-id .logo { width: 4.7em; height: 4.7em; margin-bottom: 0.55em; }
.sh-id strong { font-size: 1.12em; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; }
.sh-id span { font-size: 0.8em; color: #6b756f; }
.sh-rows { margin: 0 0.8em; border-radius: 0.9em; background: #f1eee6; }
.sh-rows div { padding: 0.5em 0.9em; border-bottom: 1px solid #e4dfd2; }
.sh-rows div:last-child { border-bottom: 0; }
.sh-rows small { display: block; font-size: 0.68em; color: #8a6a2a; }
.sh-rows span { display: block; font-size: 0.86em; line-height: 1.3; white-space: nowrap; }
.sh-saved { align-self: center; display: flex; align-items: center; gap: 0.45em; margin: auto 0 1.3em; padding: 0.42em 1em 0.42em 0.8em; border-radius: 999px; background: #12332b; color: #f3ecdc; font-size: 0.78em; font-weight: 500; white-space: nowrap; }
.sh-saved svg { width: 1.05em; height: 1.05em; color: #c8a766; }
.chat { display: flex; flex-direction: column; gap: 0.55em; padding: 1.05em 1.05em 1.2em; }
.chat p { max-width: 86%; padding: 0.6em 0.9em; border-radius: 1.15em; font-size: 0.94em; line-height: 1.36; }
.chat .in { align-self: flex-start; background: #ecebe5; border-bottom-left-radius: 0.35em; }
.chat .out { align-self: flex-end; background: #12332b; color: #f3ecdc; border-bottom-right-radius: 0.35em; }
.ph .chat { flex: 1; min-height: 0; gap: 0.42em; padding: 0.7em 0.7em 0.5em; }
.ph .chat p { max-width: 82%; padding: 0.5em 0.8em; font-size: 0.9em; line-height: 1.34; }
.score { display: flex; align-items: center; gap: 1.1em; }
.ring { flex: none; width: 4.6em; height: 4.6em; border-radius: 50%; background: conic-gradient(#c8a766 0 78%, #ece7da 78% 100%); display: grid; place-items: center; }
.ring span { width: 3.85em; height: 3.85em; border-radius: 50%; background: #fbf9f4; display: grid; place-items: center; }
.ring b { font-size: 1.7em; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.score strong { display: block; font-weight: 600; }
.up { display: block; color: #2c5a45; font-weight: 500; font-size: 0.84em; }
.spark { width: 100%; height: 2.4em; margin-top: 0.9em; }
.dots { display: flex; flex-direction: column; gap: 0.5em; margin-top: 0.5em; }
.dots li { position: relative; padding-left: 1.1em; font-size: 0.9em; line-height: 1.35; }
.dots li::before { content: ""; position: absolute; left: 0.1em; top: 0.52em; width: 0.36em; height: 0.36em; border-radius: 50%; background: #16211d; }
.box { background: #f1eee6; border-radius: 0.8em; padding: 0.85em 1em; margin-top: 0.9em; font-size: 0.92em; line-height: 1.4; }
.box .ui-k { display: block; margin-bottom: 0.3em; font-size: 0.84em; }
.pill-btn { display: inline-flex; margin-top: 0.95em; padding: 0.5em 1em; border-radius: 999px; background: #12332b; color: #f3ecdc; font-size: 0.82em; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em 0.8em; font-size: 0.78em; color: #55625c; margin-bottom: 0.7em; }
.tags i { width: 0.5em; height: 0.5em; border-radius: 50%; background: #c0562f; display: inline-block; margin-right: 0.4em; }
.ui h4 { margin: 0; font-family: var(--font-sans); font-weight: 600; font-size: 1.1em; line-height: 1.28; letter-spacing: -0.01em; }
.flow-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45em; width: 100%; }
.flow-in span { padding: 0.34em 0.8em; border-radius: 999px; background: rgba(230, 220, 200, 0.1); box-shadow: inset 0 0 0 1px rgba(230, 220, 200, 0.2); color: var(--cream); font-size: 0.82em; white-space: nowrap; }
.std { display: flex; align-items: center; gap: 0.8em; padding: 0.74em 1.25em; border-bottom: 1px solid #efece4; }
.std:last-child { border-bottom: 0; }
.std svg { flex: none; width: 1.15em; height: 1.15em; color: #2c5a45; }
.std span { flex: 1; min-width: 0; }
.std b { font-weight: 500; white-space: nowrap; font-size: 0.9em; color: #55625c; }
.tl { padding: 1em 1.25em 1.1em; display: flex; flex-direction: column; }
.tl li { display: grid; grid-template-columns: 3.4em 1fr; gap: 0 0.8em; padding-bottom: 0.9em; }
.tl li:last-child { padding-bottom: 0; }
.tl time { font-size: 0.8em; color: #6b756f; padding-top: 0.14em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl li > div { position: relative; padding-left: 1.2em; }
.tl li > div::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.5em; height: 0.5em; border-radius: 50%; background: #12332b; }
.tl li > div::after { content: ""; position: absolute; left: 0.22em; top: 1.15em; bottom: -1.15em; width: 1px; background: #d9d4c7; }
.tl li:last-child > div::after { display: none; }
.tl strong { display: block; font-weight: 500; }
.tl small { display: block; font-size: 0.82em; color: #6b756f; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; }
.kv div { background: #f1eee6; border-radius: 0.8em; padding: 0.8em 0.9em; }
.kv b { display: block; font-size: 1.35em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.kv small { display: block; font-size: 0.78em; color: #55625c; margin-top: 0.15em; }
@media (prefers-reduced-motion: no-preference) {
  /* a vignette plays when its rotator first comes into view, and again each time its item opens */
  .js .feat:not(.seen) .vg .a, .js .feat:not(.seen) .sh-saved { opacity: 0; }
  .js .feat:not(.seen) .ph-sheet { transform: translateY(104%); }
  .js .feat.seen .vg.on .a { animation: vg-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 0.3s + 0.12s); }
  /* the card opens over the thread, Done is tapped, and it is saved */
  .js .feat.seen .vg.on .ph-sheet { animation: sheet-up 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) 2.2s both; }
  .js .feat.seen .vg.on .sh-top em { animation: tap 0.5s ease 4s both; }
  .js .feat.seen .vg.on .sh-saved { animation: vg-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 4.4s both; }
}
@keyframes vg-in { from { opacity: 0; transform: translateY(0.7em); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(104%); } to { transform: none; } }
@keyframes tap { 0%, 100% { transform: none; opacity: 1; } 45% { transform: scale(0.86); opacity: 0.5; } }

/* ---- Two ways to partner together --------------------------------------------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r-panel); overflow: hidden; }
.duo .side { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: clamp(34px, 4.2vw, 60px) clamp(26px, 4vw, 60px) clamp(38px, 4.6vw, 64px); --ac: var(--gold-bright); background: var(--lift); }
.duo .side.os { --ac: #a3bfae; background: var(--lift-2); }
.duo .head svg { display: block; width: 44px; height: 44px; margin-bottom: 20px; color: var(--ac); }
.duo .head p { font-size: 15.5px; margin-top: 12px; max-width: 44ch; }
.duo .label { margin-top: clamp(30px, 3.4vw, 46px); font-family: var(--font-subtitle); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; line-height: 1.5; text-transform: uppercase; color: var(--ac); }
.duo ul { display: grid; gap: 15px; align-content: start; margin-top: 22px; }
.duo li { display: flex; align-items: flex-start; gap: 14px; color: var(--cream); font-size: 16px; font-weight: 400; line-height: 1.45; }
.duo li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--ac); }
@media (max-width: 860px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo .side { display: block; }
}

/* ---- Stats ---------------------------------------------------------------- */
/* The Sason mark closes the sentence, in place of the name */
.col > .affil-line { max-width: 780px; font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.7; }
.affil-line .nw { white-space: nowrap; }
.affil { display: inline-block; vertical-align: middle; margin: -0.22em 0 0 0.1em; opacity: 0.94; transition: opacity 0.25s ease; }
.affil:hover, .affil:focus-visible { opacity: 1; }
.affil img { display: block; width: auto; height: 1.32em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 52px 32px; margin-top: clamp(52px, 6.5vw, 92px); }
.stat { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.stat .v { font-family: var(--font-display); font-size: clamp(2.4rem, 4.3vw, 3.9rem); line-height: 1; color: var(--gold-bright); white-space: nowrap; letter-spacing: -0.016em; }
.stat .k { font-size: 15px; font-weight: 400; }

/* ---- One day in a place (each image keeps its own proportions) --------------------- */
.day { display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(52px, 6.5vw, 92px); }
.day figure { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.day img { width: 100%; height: auto; border-radius: var(--r-thumb); }
.day figcaption { font-size: 13px; font-weight: 400; color: var(--soft); }
.day figcaption b { font-weight: 400; color: var(--cream); margin-right: 10px; font-variant-numeric: tabular-nums; }
/* Each figure's share of the row is its photo's width at a common height: 4:5, 4:3, and 2:1 */
.day .f1 { flex: 800 1 0; } .day .f2 { flex: 1333 1 0; } .day .f3 { flex: 2000 1 0; }
.js .day[data-day] figure { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.72, 0.18, 1); }
.js .day[data-day] figure.in { opacity: 1; transform: none; }
@media (max-width: 820px) {
  /* three rows, every image whole: door + lobby, stone + light, then the plaza */
  .day { flex-wrap: wrap; gap: 18px 12px; }
  .day .f1 { flex: 0 0 calc(37.5% - 6px); }
  .day .f1 + .f2 { flex: 0 0 calc(62.5% - 6px); }
  .day .f2 { flex: 0 0 calc(50% - 6px); }
  .day .f3 { flex: 0 0 100%; }
  .day figure { gap: 8px; }
  .day figcaption { font-size: 12px; }
}

/* ---- Closing band (the brand skyline) ---------------------------------------- */
.closing { position: relative; background: var(--forest); padding: clamp(64px, 8vw, 112px) 0 clamp(44px, 5.5vw, 80px); }
.closing .wrap { text-align: center; }
.closing h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); white-space: nowrap; }
@media (max-width: 340px) { .closing h2 { font-size: 1.75rem; } }
.closing .btn-row { justify-content: center; margin-top: clamp(26px, 3.4vw, 40px); }

/* ---- Footer --------------------------------------------------------------- */
/* The skyline opens the footer on every page. */
.site-foot { background: var(--forest); padding: 0 0 34px; color: var(--body); }
.site-foot .sky { width: 100%; line-height: 0; pointer-events: none; margin-bottom: clamp(36px, 4.4vw, 56px); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.foot-top nav, .foot-base nav { display: flex; flex-wrap: wrap; gap: 0 30px; font-size: 15px; font-weight: 400; }
.foot-top nav a, .foot-base nav a { padding: 12px 0; }
.site-foot a:hover { color: var(--cream); }
.foot-brand img { height: 19px; width: auto; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 40px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 13.5px; font-weight: 400; color: var(--sage); }
.foot-base nav { font-size: 13.5px; gap: 0 22px; }

/* ---- Stories index ------------------------------------------------------------ */
.filters { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--forest-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); margin-top: 6px; }
.filters button { border: 0; background: transparent; color: var(--body); font: 400 15px var(--font-sans); min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.filters button:hover { color: var(--cream); }
.filters button[aria-pressed="true"] { background: var(--cream); color: var(--ground); font-weight: 500; }
@media (max-width: 420px) { .filters button { padding: 0 14px; font-size: 14px; } }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.tile { grid-column: span 4; position: relative; display: flex; flex-direction: column; min-height: 400px; border-radius: var(--r-panel); overflow: hidden; background: var(--forest-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); color: var(--body); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 26px 60px rgba(1, 20, 15, 0.35); }
.tile.w8 { grid-column: span 8; }
.tile.w12 { grid-column: span 12; min-height: 0; }
.tile[hidden] { display: none; }
.tile .pad { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); flex: 1; min-width: 0; }
.tile h2 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.12; }
.tile.w8 h2, .tile.w12 h2 { font-size: clamp(1.8rem, 2.9vw, 2.6rem); max-width: 18ch; }
.tile p.sum { font-size: 15px; line-height: 1.5; max-width: 46ch; }
.tile .big { font-family: var(--font-display); color: var(--gold-bright); font-size: clamp(2.5rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; margin-top: auto; padding-top: 28px; }
.tile .big + p { font-size: 14px; font-weight: 400; color: var(--soft); margin-top: -4px; }
.tile .go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 400; color: var(--cream); }
.tile .big ~ .go { margin-top: 0; }
.tile .go::after { content: "→"; transition: transform 0.3s ease; }
.tile:hover .go::after { transform: translateX(5px); }
.tile .trio { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 4vw, 56px); margin-top: auto; padding-top: 28px; }
.tile .trio .big { margin: 0; padding: 0; font-size: clamp(2rem, 3.3vw, 3rem); }
.tile .trio .big + p { font-size: 14px; font-weight: 400; color: var(--soft); margin-top: 8px; }
.tile .trio + .go { margin-top: 0; padding-top: 24px; }
.tile.essay { background: var(--sheet); color: var(--ink-body); box-shadow: none; }
.tile.essay:hover { box-shadow: 0 26px 60px rgba(1, 20, 15, 0.35); }
.tile.essay .eyebrow { color: var(--gold-ink); }
.tile.essay h2 { color: var(--ink); }
.tile.essay .go { color: var(--ink); }
.tile.essay .scene { margin-top: auto; padding-top: 8px; line-height: 0; }
.tile.essay .scene svg { width: 100%; height: auto; }
.tile.essay .pad { flex: none; }
.tile.photo { flex-direction: row; align-items: stretch; }
.tile.photo .pad { flex: 1 1 0; }
.tile.photo .media { flex: 0 0 46%; display: flex; align-items: center; padding: clamp(18px, 2vw, 26px); padding-left: 0; }
.tile.photo .media img { width: 100%; height: auto; border-radius: var(--r-thumb); }
.tile.banner .pad { align-items: center; text-align: center; padding: clamp(44px, 6vw, 84px) clamp(24px, 4vw, 56px); gap: 20px; }
.tile.banner h2 { max-width: 20ch; font-size: clamp(2rem, 3.6vw, 3.1rem); }
.tile.banner .go { margin-top: 6px; padding-top: 0; }
@media (max-width: 1040px) { .tile { grid-column: span 6; } .tile.w8 { grid-column: span 12; } }
@media (max-width: 680px) {
  .tile, .tile.w8, .tile.w12 { grid-column: span 12; min-height: 0; }
  .tile.photo { flex-direction: column; }
  .tile.photo .media { flex: none; padding: 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px); }
  .tile .trio { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* ---- Story pages: a full-screen opening, then the reading ---------------------- */
.story-open { position: relative; min-height: 100svh; margin-top: -86px; padding-top: 86px; display: flex; flex-direction: column; }
.story-open > .wrap { width: 100%; }
.back-row { padding-top: 22px; }
.back { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 15px; font-weight: 400; color: var(--body); }
.back::before { content: "←"; transition: transform 0.25s ease; }
.back:hover { color: var(--cream); }
.back:hover::before { transform: translateX(-4px); }
.story-end { display: flex; justify-content: center; padding: 0 var(--gutter) var(--section); }
.story-open .inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(20px, 2.6vw, 30px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.story-open h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.022em; max-width: 17ch; }
.story-open .by { font-size: 15px; font-weight: 400; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.story-open .lede { max-width: 620px; }
.story-open .by b { font-weight: 500; color: var(--cream); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); width: 100%; border-top: 1px solid var(--hair); }
.facts div { padding: clamp(24px, 3vw, 40px) 12px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.facts div + div { border-left: 1px solid var(--hair); }
.facts .v { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; color: var(--gold-bright); letter-spacing: -0.016em; white-space: nowrap; }
.facts .k { font-size: 14px; font-weight: 400; color: var(--soft); }
@media (max-width: 820px) { .story-open { margin-top: -68px; padding-top: 68px; } }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div:nth-child(odd) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--hair); } }
@media (max-width: 440px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts div + div { border-left: 0; border-top: 1px solid var(--hair); } }
.read { max-width: 680px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 9vw, 128px); }
.es-copy, .read > p { font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: clamp(1.08rem, 1.2vw, 1.2rem); line-height: 1.62; }
.read > p { color: #d8cfb9; margin: 0 0 1.15em; }
.read > p.drop::first-letter { float: left; font-family: var(--font-display); font-size: 4.4em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--gold-bright); }
.read a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.read a:hover { color: var(--cream); }
.read figure { margin: 2.2em 0; }
.read figure img { width: 100%; height: auto; border-radius: 3px; }
.read figcaption { font-family: var(--font-sans); font-size: 13.5px; color: var(--soft); margin-top: 10px; }
.sig { margin-top: clamp(44px, 5.5vw, 72px); padding-top: 32px; border-top: 1px solid var(--hair); }
.sig .hand { font-family: "Mrs Saint Delafield", cursive; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 0.9; color: var(--cream); }
.sig .role { font-family: var(--font-subtitle); font-size: 10.5px; font-weight: 700; letter-spacing: 0.3em; color: var(--gold); margin-top: 12px; }
.case { max-width: 1040px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 9vw, 128px); display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.case-row { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr); gap: 16px clamp(28px, 5vw, 80px); align-items: start; }
.case-row > div { display: flex; flex-direction: column; gap: 18px; }
.case-row p { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.58; }
.case-row ol { counter-reset: n; display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.case-row ol li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--hair); color: var(--cream); font-size: clamp(1.02rem, 1.25vw, 1.14rem); font-weight: 400; line-height: 1.45; }
.case-row ol li strong { font-weight: 500; }
.case-row ol li span { color: var(--body); }
.case-row ol li span strong, .case-row ol li span:not(:has(strong)) { color: var(--cream); }
.case-row ol li::before { content: "0" counter(n); font-family: var(--font-display); color: var(--gold); font-size: 15px; padding-top: 3px; }
.case blockquote { font-family: var(--font-display); color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.16; letter-spacing: -0.016em; text-align: center; max-width: 24ch; margin: 0 auto; text-wrap: balance; }
@media (max-width: 760px) { .case-row { grid-template-columns: minmax(0, 1fr); } }

/* ---- Company -------------------------------------------------------------- */
/* Values: each on its own row, the name at the left and its sentence beside it, with a hairline between rows */
.values { border-top: 1px solid var(--hair); }
.values > div { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); align-items: baseline; gap: 12px clamp(28px, 5vw, 80px); padding: clamp(28px, 3.2vw, 42px) 0; border-bottom: 1px solid var(--hair); }
.values p { max-width: 62ch; }
@media (max-width: 760px) { .values > div { grid-template-columns: minmax(0, 1fr); } }
/* The team: each person on a beige card, a dark green pen portrait with the name beneath. The founding team's cards are
   large and the advisory board's about three-fifths their size, as on the earlier site. A card opens that person's bio. */
.team-label { margin-bottom: 18px; }
.team + .team-label { margin-top: clamp(44px, 5vw, 68px); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.team.advisors { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.person { min-width: 0; border-radius: var(--r-panel); background: #e5dbc6; color: var(--ink); transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.5s ease; }
.p-open { all: unset; box-sizing: border-box; display: block; width: 100%; padding: clamp(18px, 2.2vw, 30px) clamp(18px, 2.2vw, 30px) clamp(20px, 2.2vw, 28px); border-radius: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.p-open:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.team.advisors .p-open { padding: clamp(12px, 1.4vw, 20px) clamp(12px, 1.4vw, 20px) clamp(14px, 1.5vw, 20px); }
.p-pic { display: block; aspect-ratio: 1; }
.p-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.p-name { display: block; margin-top: 12px; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.2; color: var(--ink); }
.team.advisors .p-name { margin-top: 8px; font-size: clamp(1rem, 1.2vw, 1.12rem); }
@media (hover: hover) { .js .person:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(1, 20, 15, 0.35); } }
.p-more { padding: 0 clamp(18px, 2.2vw, 30px) 24px; }
.p-more .eyebrow { color: var(--gold-ink); }
.p-more .bio { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-body); }
.js .p-more { display: none; }
.js.no-dialog .p-more { display: block; }
.no-dialog .bio-dialog { display: none; }
.bio-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; font-weight: 500; color: #4d655d; transition: color 160ms ease; }
.bio-link:hover { color: var(--ink); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team.advisors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .team-label, .person { text-align: center; } }
@media (max-width: 560px) { .team { grid-template-columns: minmax(0, 1fr); } .team.advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team:not(.advisors) .p-pic { max-width: 240px; margin: 0 auto; } }
/* A person's bio, opened from their portrait */
.bio-dialog { box-sizing: border-box; width: min(720px, calc(100% - 48px)); max-width: none; max-height: 86vh; margin: auto; padding: clamp(24px, 3vw, 40px); border: 0; border-radius: 10px; background: var(--paper); color: var(--ink-body); box-shadow: 0 40px 90px -30px rgba(1, 20, 15, 0.8); overflow: auto; }
.bio-dialog[open] { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
.bio-dialog::backdrop { background: rgba(1, 20, 15, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bio-pic { align-self: start; aspect-ratio: 4 / 5; border-radius: 6px; background: #e5dbc6; overflow: hidden; }
.bio-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bio-dialog .eyebrow { color: var(--gold-ink); padding-right: 40px; }
.bio-dialog h3 { margin-top: 18px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; color: var(--ink); }
.bio-dialog .bio { margin-top: 18px; font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--ink-body); }
.bio-close { all: unset; box-sizing: border-box; position: absolute; top: 14px; right: 16px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background 160ms ease; }
.bio-close:hover { background: rgba(16, 49, 42, 0.08); }
.bio-close:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
@media (max-width: 640px) { .bio-dialog[open] { grid-template-columns: minmax(0, 1fr); } .bio-pic { max-width: 180px; } }
@media (prefers-reduced-motion: reduce) { .person { transition: none; } }
.cta-card { max-width: none; gap: 24px; padding: clamp(56px, 8vw, 112px) 24px; border-radius: var(--r-panel); background: var(--forest-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.cta-card h2 { max-width: 620px; }

/* ---- Let’s Talk ------------------------------------------------------------ */
.talk { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.talk .intro { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 130px; }
.talk .intro .btn { margin-top: 10px; }
@media (max-width: 900px) { .talk { grid-template-columns: minmax(0, 1fr); } .talk .intro { position: static; } }
form.msg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; border-radius: var(--r-panel); background: var(--forest-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); padding: clamp(22px, 3vw, 40px); }
form.msg .full { grid-column: 1 / -1; }
form.msg label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 400; color: var(--body); }
form.msg input, form.msg textarea { width: 100%; font: 400 16px/1.5 var(--font-sans); color: var(--cream); background: rgba(230, 220, 200, 0.06); border: 1px solid rgba(230, 220, 200, 0.18); border-radius: 12px; padding: 13px 16px; transition: border-color 0.2s ease, background-color 0.2s ease; }
form.msg textarea { min-height: 132px; resize: vertical; }
form.msg input:focus, form.msg textarea:focus { outline: 0; border-color: var(--gold-bright); background: rgba(230, 220, 200, 0.1); }
form.msg .hp { position: absolute; left: -9999px; }
form.msg .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
form.msg .status { font-size: 15px; }
form.msg .status.ok { color: var(--cream); }
@media (max-width: 560px) { form.msg { grid-template-columns: minmax(0, 1fr); } }

/* ---- The Vision page keeps its cream ground, as on the existing site ------------- */
body.paper { background: var(--paper); color: var(--ink-body); }
/* Vision: the essay page as it has always been */
.es-grid { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 200px); gap: clamp(24px, 4vw, 64px); align-items: start; }
.es-rail { position: sticky; top: 118px; border-left: 1px solid #d9cdb0; }
.es-rail .ol-eyebrow { font-family: var(--font-subtitle); font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: #9c7f4d; margin: 0 0 14px 18px; }
.es-rail ol { list-style: none; margin: 0; padding: 0; }
.es-rail button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; align-items: baseline; width: 100%; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent; transition: border-color 300ms ease; }
.es-rail .n { font-family: var(--font-subtitle); font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; color: #b7a98a; flex: none; transition: color 260ms ease; }
.es-rail .t { font-family: var(--font-sans); font-weight: 300; font-size: 13.5px; line-height: 1.4; color: #6b746e; transition: color 260ms ease; }
.es-rail button:hover .t { color: #10312a; }
.es-rail button:focus-visible { outline: 2px solid #9c7f4d; outline-offset: 2px; }
.es-rail button[data-on="true"] { border-left-color: #c8a766; }
.es-rail button[data-on="true"] .n { color: #9c7f4d; }
.es-rail button[data-on="true"] .t { color: #10312a; font-weight: 400; }
@media (max-width: 1100px) { .es-grid { grid-template-columns: minmax(0, 168px) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); } .es-spacer { display: none; } }
@media (max-width: 700px) { .es-grid { grid-template-columns: 1fr; } .es-rail { display: none; } }
#essay section[id] { scroll-margin-top: 0 !important; } /* the page-level scroll padding already clears the menu bar */
#essay .scp0:hover { background: #08231c !important; }
#essay .scp1:hover { background: rgba(16, 49, 42, 0.06); border-color: #10312a !important; }
.vision-head { max-width: 1240px; margin: 0 auto; padding: clamp(18px, 2.6vw, 36px) clamp(20px, 4vw, 56px) 0; text-align: center; }
.vision-title { margin-top: clamp(48px, 6vw, 84px); }
.film { position: relative; width: min(1080px, 100%, calc((100svh - 200px) * 1280 / 708)); min-width: min(100%, 520px); margin: 0 auto; aspect-ratio: 1280 / 708; border-radius: 14px; overflow: hidden; background: #0c0d0c; box-shadow: 0 30px 70px rgba(16, 49, 42, 0.22), 0 2px 8px rgba(16, 49, 42, 0.12); }
.film img, .film iframe, .film video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #0c0d0c; }
.film .play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; background: rgba(8, 35, 28, 0.1); cursor: pointer; transition: background-color 0.3s ease; }
.film .play:hover { background: rgba(8, 35, 28, 0); }
.film .play span { width: clamp(64px, 8vw, 92px); height: clamp(64px, 8vw, 92px); border-radius: 50%; background: rgba(247, 241, 229, 0.94); display: grid; place-items: center; color: #10312a; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.film .play:hover span { transform: scale(1.07); }
.film .play svg { width: 34%; height: 34%; }
.film .play[hidden] { display: none; }
.film .film-note { position: absolute; left: 50%; bottom: clamp(16px, 4%, 30px); transform: translateX(-50%); margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(8, 35, 28, 0.82); color: #f7f1e5; font-family: var(--font-sans); font-weight: 500; font-size: 13px; line-height: 1.3; letter-spacing: 0.01em; white-space: nowrap; pointer-events: none; }
/* legal */
.prose-wrap { max-width: 760px; margin: 0 auto; }
.legal-head { display: flex; flex-direction: column; gap: 18px; padding-bottom: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; border-bottom: 1px solid var(--hair); }
.legal-head h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.legal-head .note { font-size: 14px; }
.legal { font-size: 16.5px; line-height: 1.72; font-weight: 300; color: var(--body); padding-bottom: var(--section); }
.legal h2 { font-family: var(--font-display); font-weight: 400; color: var(--cream); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.2; margin: 40px 0 12px; }
.legal p, .legal li { margin: 0 0 16px; max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal strong { font-weight: 500; color: var(--cream); }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--cream); }

/* ---- Reveal on scroll ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.72, 0.18, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (max-width: 640px) { .m-c { text-align: center !important; margin-left: auto !important; margin-right: auto !important; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .day[data-day] figure { opacity: 1; transform: none; transition: none; }
  .js .feat-item[aria-selected="true"] .rail b { animation: none; }
  .js .ptabs button[aria-selected="true"] b { animation: none; transform: scaleX(1); }
  .tile, .tile .media img { transition: none; }
}
/* ---- Launch: the menu sits on the page and turns solid green once it scrolls; the footer opens without the skyline ---- */
.site-head { padding-top: 0; background: transparent; transition: background-color 0.35s ease, box-shadow 0.35s ease; }
.site-head .bar, .site-head.scrolled .bar, .paper .site-head .bar, .site-head.open .bar { min-height: 86px; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-head.scrolled, .site-head.open { background: var(--forest); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.paper .site-head { background: var(--ground); }
.site-nav { margin-left: auto; }
@media (max-width: 820px) {
  .site-head { padding-top: 0; }
  .site-head .bar, .site-head.scrolled .bar, .paper .site-head .bar, .site-head.open .bar { min-height: 68px; }
  .site-nav { margin-left: 0; padding: 6px 0 14px; }
}
.site-foot .sky { display: none; }
.site-foot { padding-top: clamp(36px, 4.4vw, 56px); }

@media print { .site-head, .site-foot, .closing { display: none; } }

/* ---- The menu, thinner and lighter: a shorter bar, a smaller mark, and a smaller button, on every page ---- */
.site-head .bar, .site-head.scrolled .bar, .paper .site-head .bar, .site-head.open .bar { min-height: 64px; }
.site-head .brand img { height: 18px; }
.site-head .site-nav { font-size: 14px; }
.site-head .btn { min-height: 36px; padding: 0 18px; font-size: 14px; font-weight: 400; }
.story-open { margin-top: -64px; padding-top: 64px; }
@media (max-width: 820px) {
  .site-head .bar, .site-head.scrolled .bar, .paper .site-head .bar, .site-head.open .bar { min-height: 56px; }
  .site-head .site-nav { font-size: 18px; }
  .story-open { margin-top: -56px; padding-top: 56px; }
}

/* On a phone the button that opens the menu shows three lines, and a cross while the menu is open.
   The word "Menu" or "Close" stays in the button for screen readers and is not drawn. */
@media (max-width: 820px) {
  .menu-btn { position: relative; width: 44px; min-height: 44px; padding: 0; font-size: 0; color: var(--cream); }
  .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; margin-top: -0.75px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease, box-shadow 0.2s ease; }
  .menu-btn::before { box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; }
  .site-head.open .menu-btn::before { box-shadow: none; transform: rotate(45deg); }
  .site-head.open .menu-btn::after { transform: rotate(-45deg); }
  .menu-btn:focus-visible { outline: 2px solid var(--gold-bright, #c8a766); outline-offset: 2px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .menu-btn::before, .menu-btn::after { transition: none; } }

/* The band that closes every page has the photograph of the plaza at dusk behind the line.
   A dark green wash lies over the photograph, and it is solid at the top and bottom edges so that the band meets the sections around it without a seam. */
.closing {
  background:
    linear-gradient(180deg, rgba(1, 34, 27, 1) 0%, rgba(1, 34, 27, 0.74) 30%, rgba(1, 34, 27, 0.74) 68%, rgba(1, 34, 27, 1) 100%),
    url("img/day-plaza.jpg") 50% 60% / cover no-repeat,
    var(--forest);
  padding: clamp(120px, 15vw, 210px) 0;
}
@media print { .closing { background: none; } }

/* Core values: each description starts further to the right, so that the right edge of its block of words meets the right end of the lines.
   The words inside the block are still set from the left. */
@media (min-width: 761px) { .values p { margin-left: auto; max-width: 58ch; } }

/* The empty space at each side of the page stays the same width on a desktop screen.
   From a window about 1020 pixels wide up to 1440 pixels wide, each side is 96 pixels and the content takes the rest.
   Wider windows keep the content at 1248 pixels, so only there do the sides grow. Phones and tablets keep their narrower sides. */
@media (min-width: 901px) {
  :root { --gutter: clamp(36px, calc(36px + (100vw - 901px) * 0.5), 96px); }
  .wrap { max-width: 1440px; }
}

/* ---- Phones and tablets only. Nothing below changes the desktop layout. ---- */
@media (max-width: 760px) {
  /* Company: the small labels above the portraits start at the left, in line with "Meet the team." */
  .team-label { text-align: left; }
}
@media (max-width: 900px) {
  /* Rotating list: each closed item is tall enough to tap with a thumb. */
  .feat-list { gap: 4px; }
  .feat-item { min-height: 44px; padding: 10px 0; }
}
@media (max-width: 560px) {
  /* Footer: the six small links sit in two even rows of three, so that no link is left alone on a line, and each one is big enough to tap. */
  .foot-base { gap: 0; }
  .foot-base nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; width: 100%; gap: 0 20px; }
  .foot-base nav a { min-width: 44px; padding: 12px 0; }
  .foot-top nav { gap: 0 24px; }
}
@media (max-width: 400px) {
  /* Footer on small phones: the four page links share one row. */
  .foot-top nav { width: 100%; justify-content: space-between; gap: 0 10px; }
}

/* Vision: the launch film is a file of our own and plays in the browser's plain player, with no outside branding. The frame has the film's own 16:9 shape. */
.film[data-film] { aspect-ratio: 16 / 9; width: min(1080px, 100%, calc((100svh - 200px) * 16 / 9)); }
.film[data-film] video { object-fit: cover; }
