/* Hallmark · shape: case file · genre: editorial · theme: custom (Ben's brand system, locked) · job: hire · idea: "the promise, then the proof straight under it" · vibe: "institutional, calm, exact, quietly confident"
 * paper: #FFFFFF (brand) · accent: #256868 teal (brand) · display: Archivo · body: Open Sans · hero: Ben's intro as the headline, the four confirmed figures right under it · nav: the site bar shared with the homepage · footer: granite, four columns shared with the homepage · imagery: real photos of The Professional Centre, the owner package built in code · signature: The Professional Centre at dusk, then "The building reached 100% occupancy" set large · surface: absolute
 * axes: light/grotesk-heavy/cool · posture: restrained · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, results pages read as lists; the case study leads with the building and lands on its one number */
/* Hallmark · dismissed 40 · teal and ink on #FFFFFF paper pass at 6.9:1 and 16:1; the check read the paper against itself */
/* Hallmark · answered F19 · four weights (300 figures, 400 statements, 600 and 700 heads); the light figures are Ben's stat style */
/* Hallmark · dismissed 77 · the two case studies are articles between the sections, so the page runs seven blocks: head, two cases, reporting, close, footer */
/* Hallmark · answered F15 · the 64px column gap holds in every section; 24px and 40px belong to the shared footer and the small fact list */

/* ---------- 1. Page head, with 2. Performance at a Glance beside it ---------- */
.res-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; padding-bottom: var(--space-8); }
@media (min-width: 1101px) { .res-top { min-height: calc(100svh - var(--head-h)); align-content: center; padding-block: var(--space-6); } }
.res-head { display: grid; gap: var(--space-5); justify-items: start; }
.res-head h1 { font-size: clamp(40px, 5.1vw, 84px); line-height: 1; max-width: 12em; }
.small-h { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; margin-bottom: var(--space-4); }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-5); }
.fig { display: grid; align-content: start; gap: var(--space-2); padding-top: var(--space-3); border-top: 2px solid var(--taurus-teal); }
.fig dt { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 4.9vw, 78px); line-height: .95; letter-spacing: -.04em; font-variation-settings: "wdth" 84; color: var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig .q { font-size: .3em; font-weight: 400; letter-spacing: 0; font-variation-settings: "wdth" 100; }
.fig dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text-muted); max-width: 15em; }
.js.motion .fig:nth-child(2) { transition-delay: .12s; }
.js.motion .fig:nth-child(3) { transition-delay: .24s; }
.js.motion .fig:nth-child(4) { transition-delay: .36s; }

/* ---------- 3. Case Study 1 ---------- */
.case { padding-bottom: var(--space-8); }
.case-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; }
.case-top h2 { max-width: 12em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); }
.facts div { padding-top: var(--space-25); border-top: 1px solid var(--rule); }
.facts dt { font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--heading); }
.hero-ph { margin-top: var(--space-6); }
.hero-ph .ph { aspect-ratio: 21 / 10; overflow: hidden; background: var(--fieldstone); }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }

.act { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-6); padding-top: var(--space-7); }
.act h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -.02em; padding-top: var(--space-3); border-top: 2px solid var(--taurus-teal); align-self: start; }
.statement { font-family: var(--font-display); font-weight: 400; font-size: clamp(21px, 2vw, 30px); line-height: 1.32; letter-spacing: -.018em; color: var(--heading); max-width: 30em; text-wrap: pretty; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: var(--space-55) minmax(0, 1fr); padding-block: var(--space-3); border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.5; }
.steps li::before { content: counter(st); font-family: var(--font-display); font-weight: 300; font-size: 15px; color: var(--text-muted); font-variant-numeric: tabular-nums; line-height: 1.7; }
.js.motion .steps li:nth-child(even) { transition-delay: .1s; }

.pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); margin-top: var(--space-7); align-items: end; }
.pair .ph { overflow: hidden; background: var(--fieldstone); }
.pair figure:first-child .ph { aspect-ratio: 3 / 2; }
.pair figure:last-child .ph { aspect-ratio: 4 / 3; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figure:first-child img { object-position: 40% 50%; }
.pair figure:last-child img { object-position: 0% 50%; }

.outcome { list-style: none; padding: 0; display: grid; }
.outcome li { padding-block: var(--space-4); border-top: 1px solid var(--rule); font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.2; letter-spacing: -.02em; color: var(--heading); }
.outcome li.big { padding-block: var(--space-5) 0; font-weight: 700; font-size: clamp(38px, 5vw, 80px); line-height: .98; letter-spacing: -.04em; color: var(--taurus-teal); text-wrap: balance; max-width: 11em; }
.js.motion .outcome li:nth-child(2) { transition-delay: .12s; }
.js.motion .outcome li.big { transition-delay: .3s; }

/* ---------- 4. Case Study 2: on granite ---------- */
.case.two { padding-block: var(--space-7); background: var(--surface-alt); color: var(--text); }
.case.two .case-top { display: block; }
.two-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "ch said" "ap said" "re said"; gap: 0 var(--space-6); }
.two-grid .act { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding-top: var(--space-6); }
.two-grid .act:nth-of-type(1) { grid-area: ch; }
.two-grid .act:nth-of-type(2) { grid-area: ap; }
.two-grid .act:nth-of-type(3) { grid-area: re; }
.case.two .act h3 { border-top-color: var(--glacier); }
.case.two .statement { color: var(--text); }
.said { grid-area: said; align-self: start; margin-top: var(--space-6); padding: var(--space-6) 0 0 var(--space-6); border-left: 1px solid var(--on-deep-rule); }
.said blockquote { margin: 0; }
.said p { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.25; letter-spacing: -.022em; color: var(--white); text-wrap: pretty; }
.said p::before { content: "“"; margin-left: -.42em; }
.said p::after { content: "”"; }
.said figcaption { display: grid; gap: var(--space-1); margin-top: var(--space-5); font-size: 15px; line-height: 1.4; color: var(--on-deep-muted); }
.said figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--white); }
.slot { padding: var(--space-4); border: 1px dashed var(--on-deep-muted); font-size: 16px; line-height: 1.5; color: var(--on-deep-muted); max-width: 30em; }

/* ---------- 5. Owner Reporting: the package, fanned out ---------- */
.report { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); align-items: center; padding-block: var(--space-8); }
.rep-copy { display: grid; gap: var(--space-4); }
.pack-list { list-style: none; padding: 0; margin-top: var(--space-3); counter-reset: pk; }
.pack-list li { counter-increment: pk; display: grid; grid-template-columns: var(--space-55) minmax(0, 1fr); padding-block: var(--space-3); border-top: 1px solid var(--rule); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--heading); }
.pack-list li:last-child { border-bottom: 1px solid var(--rule); }
.pack-list li::before { content: counter(pk); font-weight: 300; font-size: 15px; color: var(--text-muted); font-variant-numeric: tabular-nums; line-height: 1.8; }

.stack { position: relative; aspect-ratio: 7 / 6; background: var(--fieldstone); overflow: hidden; }
.stack figcaption { position: absolute; left: var(--space-4); bottom: var(--space-3); font-size: 13px; }
.sheet { position: absolute; left: 31%; top: 9%; width: 44%; aspect-ratio: 8.5 / 11; background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--paper-shadow); padding: 5% 4.5%; display: flex; flex-direction: column; gap: 3.2%; transform-origin: 50% 100%; transition: transform 1.1s var(--ease); }
.sheet .sh { font-family: var(--font-display); font-weight: 700; font-size: clamp(9px, .85vw, 13px); line-height: 1.2; color: var(--heading); }
.s5 { transform: translate(-58%, 7%) rotate(-9deg); }
.s4 { transform: translate(-30%, 3%) rotate(-5deg); }
.s3 { transform: translate(30%, 3%) rotate(5deg); }
.s2 { transform: translate(58%, 7%) rotate(9deg); }
.s1 { transform: none; }
.s2, .s3, .s4, .s5 { justify-content: flex-start; }
.s2::after, .s3::after, .s4::after, .s5::after { content: ""; display: block; height: 60%; margin-top: 14%; background: repeating-linear-gradient(to bottom, var(--rule) 0 2px, transparent 2px 14%); }
.js.motion .stack .sheet { transform: none; }
.js.motion .stack.in .s5 { transform: translate(-58%, 7%) rotate(-9deg); }
.js.motion .stack.in .s4 { transform: translate(-30%, 3%) rotate(-5deg); transition-delay: .08s; }
.js.motion .stack.in .s3 { transform: translate(30%, 3%) rotate(5deg); transition-delay: .08s; }
.js.motion .stack.in .s2 { transform: translate(58%, 7%) rotate(9deg); }
.mast { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding-bottom: 4%; border-bottom: 2px solid var(--taurus-teal); }
.mast img { width: 46%; height: auto; }
.mast span { font-size: clamp(7px, .62vw, 10px); line-height: 1.2; color: var(--text-muted); text-align: right; }
.s1 .sub { font-family: var(--font-display); font-weight: 600; font-size: clamp(7px, .62vw, 10px); color: var(--taurus-teal); margin-top: 3%; }
.ln { display: block; height: 4px; background: var(--rule); border-radius: var(--radius-1); }
.ln.w9 { width: 90%; } .ln.w8 { width: 80%; } .ln.w7 { width: 70%; } .ln.w5 { width: 50%; }
.row { display: block; height: 6px; background: linear-gradient(to right, var(--rule) 0 46%, transparent 46% 78%, var(--slate) 78% 100%); opacity: .55; }
.tot { display: block; height: 7px; margin-top: auto; padding-top: 3%; border-top: 1px solid var(--heading); background: linear-gradient(to right, transparent 0 74%, var(--taurus-teal) 74% 100%) bottom / 100% 7px no-repeat; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .res-top { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .res-head h1 { max-width: 14em; }
  .figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .case-top, .act, .pair, .report { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .facts { margin-top: var(--space-3); }
  .hero-ph .ph { aspect-ratio: 4 / 3; }
  .act { padding-top: var(--space-6); }
  .act h3 { justify-self: start; padding-right: var(--space-5); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .two-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ch" "said" "ap" "re"; }
  .said { padding: var(--space-5) 0 0 var(--space-4); }
  .report { padding-block: var(--space-7); }
  .stack { margin-top: var(--space-4); }
}
@media (max-width: 700px) {
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stack { aspect-ratio: 1 / 1; }
  .sheet { left: 26%; width: 50%; top: 8%; }
  .stack figcaption { right: var(--space-4); }
}

/* ---------- How we actually work + the three downloadable case studies ---------- */
.how { padding-block: var(--space-7) var(--space-6); border-top: 1px solid var(--rule); }
.how-list { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); counter-reset: none; }
.how-list li { display: grid; align-content: start; gap: var(--space-2); padding-top: var(--space-3); border-top: 2px solid var(--taurus-teal); }
.how-list .n { font-family: var(--font-display); font-weight: 300; font-size: 15px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.how-list h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -.02em; color: var(--heading); margin: 0; }
.how-list p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-muted); max-width: 26em; }

.cases { padding-block: var(--space-6) var(--space-8); }
.cases > h2 { margin-bottom: var(--space-5); }
.cs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); align-items: start; padding-block: var(--space-6); border-top: 1px solid var(--rule); }
.cs-ph { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fieldstone); position: sticky; top: var(--space-5); }
.cs-ph img { width: 100%; height: 100%; object-fit: cover; }
.cs-body { display: grid; gap: var(--space-3); justify-items: start; }
.cs-where { margin: 0; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--taurus-teal); }
.cs h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -.03em; color: var(--heading); }
.cs-dek { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 300; max-width: 36em; }
.cs-stats { justify-self: stretch; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-2) 0; }
.cs-stats div { padding-top: var(--space-2); border-top: 1px solid var(--taurus-teal); }
.cs-stats dt { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -.03em; color: var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-stats dd { margin: var(--space-1) 0 0; font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.cs-quote { margin: 0; padding: var(--space-4); background: var(--fieldstone); justify-self: stretch; }
.cs-quote p { margin: 0 0 var(--space-2); font-size: 17px; line-height: 1.55; color: var(--text); }
.cs-quote footer { font-size: 14px; color: var(--text-muted); }
.cs-quote b { color: var(--text); font-weight: 600; }
.cs-dl { margin-top: var(--space-1); flex-wrap: wrap; }
.cs-meta { font-weight: 400; font-size: 13px; opacity: .8; }
.cs-more { margin: var(--space-4) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--rule); max-width: 46em; }
.cs-more blockquote { margin: 0; }
.cs-more p { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; letter-spacing: -.015em; color: var(--heading); }
.cs-more figcaption { margin-top: var(--space-3); font-size: 15px; color: var(--text-muted); }
.cs-more b { color: var(--text); font-weight: 600; }
@media (max-width: 1100px) {
  .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .how-list { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .cs { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .cs-ph { position: static; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .cs-dl { white-space: normal; text-align: left; }
}
/* Cedar Coast quote leads the case studies; tighter gap before Owner Reporting */
.cs-more.cs-lead { margin: 0 0 var(--space-5); padding-top: 0; border-top: 0; }
.cases { padding-bottom: var(--space-4); }
.cases + .report { padding-top: var(--space-6); border-top: 1px solid var(--rule); }

/* Client quote, style C: teal tile with a quote mark, the punchline as a headline */
.qt-c { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); background: var(--fieldstone); margin-bottom: var(--space-5); }
.qt-c .tile { background: var(--taurus-teal); display: grid; place-items: center; padding: var(--space-6) var(--space-5); }
.qt-c .tile span { font-family: var(--font-display); font-weight: 800; font-size: clamp(180px, 18vw, 300px); line-height: .6; color: #fff; margin-top: .25em; }
.qt-c .body { margin: 0; padding: var(--space-6); display: grid; align-content: center; gap: var(--space-4); }
.qt-c .lead { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 64px); line-height: 1; letter-spacing: -.035em; color: var(--heading); }
.qt-c .rest { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text); max-width: 36em; }
.qt-c .by { padding-top: var(--space-3); border-top: 1px solid var(--rule); font-size: 15px; color: var(--text-muted); }
.qt-c .by b { font-family: var(--font-display); color: var(--text); font-size: 17px; }
@media (max-width: 800px) {
  .qt-c { grid-template-columns: minmax(0, 1fr); }
  .qt-c .tile { padding: var(--space-5) var(--space-4) var(--space-2); }
  .qt-c .tile span { font-size: 140px; }
  .qt-c .body { padding: var(--space-5) var(--space-4); }
}
