/* Noel Thomson Architecture: concept by Vendrato. Design elevation, Oct 2026.
   Concept: the site is a drawing set. Sheet index navigation, title blocks, red-line markups on the practice's own photos.
   Palette from the hand-drawn logo: drawing paper, ink, logo paper blue, crayon blue, marker yellow (the one action colour).
   Red is used only for the red-line markups. */
:root {
  --paper: #f3f2ec;
  --paper-2: #e8e6dd;
  --sheet: #fbfaf6;
  --ink: #15171a;
  --ink-2: #353a40;
  --muted: #4b5056;
  --rule: rgba(21, 23, 26, .16);
  --rule-2: rgba(21, 23, 26, .42);
  --sky: #c6dfec;
  --crayon: #5490c0;
  --blue: #235d89;
  --yellow: #f2e205;
  --yellow-2: #ddce00;
  --red: #c62f1e;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --gut: 20px;
  --sec: 80px;
  --hd: 64px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}
@media (min-width: 768px) { :root { --gut: 32px; --sec: 112px; --hd: 76px; } }
@media (min-width: 1200px) { :root { --gut: 40px; --sec: 128px; } }

html { scroll-padding-top: calc(var(--hd) + 16px); -webkit-text-size-adjust: 100%; }
body.nt { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink-2); background: var(--paper); overflow-x: clip; font-variation-settings: "wdth" 100; }
@media (min-width: 768px) { body.nt { font-size: 18px; } }
.nt img { display: block; max-width: 100%; height: auto; }
.nt a { color: inherit; }
.nt :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.nt p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nt-skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--yellow); color: var(--ink); padding: 12px 16px; font-weight: 600; }
.nt-skip:focus { left: 16px; top: 16px; }

/* type */
.nt h1, .nt h2, .nt h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; font-optical-sizing: auto; }
.nt h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: .98; letter-spacing: -.03em; }
.nt h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.022em; }
.nt h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.012em; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.tb-code { font-family: var(--sans); font-variation-settings: "wdth" 72; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-variant-numeric: tabular-nums; }
.role { margin-top: 10px !important; font-variation-settings: "wdth" 80; font-weight: 500; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1.5px solid transparent; border-radius: 2px; font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .16s, color .16s, border-color .16s, transform .12s var(--ease); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { min-height: 54px; padding: 0 24px; font-size: 16px; }
.btn--call { background: var(--yellow); color: var(--ink) !important; border-color: var(--ink); }
.btn--call:hover { background: var(--ink); color: var(--yellow) !important; }
.btn--line { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper) !important; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lnk { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 0 38% no-repeat; transition: background-size .35s var(--ease); padding: 2px 0; }
.lnk svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.lnk:hover { background-size: 100% 38%; }
.lnk:hover svg { transform: translateX(3px); }
.lnk--light { color: var(--paper); }
.lnk--light:hover { color: var(--ink); background-size: 100% 100%; }

/* header: sheet index */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(243, 242, 236, .96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(21, 23, 26, .5); }
.hd__in { display: flex; align-items: center; gap: 16px; height: var(--hd); transition: height .25s var(--ease); }
.hd.is-scrolled .hd__in { height: calc(var(--hd) - 10px); }
.hd__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.hd__brand img { width: 62px; height: auto; border: 1px solid var(--ink); }
.hd__name { display: block; font: 600 15px/1.08 var(--sans); font-variation-settings: "wdth" 80; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.hd__nav { display: none; }
.hd__nav a { position: relative; display: inline-flex; align-items: baseline; gap: 7px; padding: 12px 2px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.hd__nav a .tb-code { font-size: 12px; color: var(--muted); }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 7px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); z-index: -1; }
.hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__nav a[aria-current="page"] { color: var(--ink); }
.hd__act { display: flex; align-items: center; gap: 8px; }
.hd__act .btn { padding: 0 14px; }
.hd__num { display: none; }
.hd__menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.hd__menu svg { width: 24px; height: 24px; }
.mnav { border-top: 1px solid var(--rule); background: var(--paper); }
.mnav .wrap { display: grid; padding-top: 8px; padding-bottom: 16px; }
.mnav a { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 28px; text-decoration: none; color: var(--ink); }
.mnav a .tb-code { width: 22px; font-size: 13px; color: var(--muted); }
.hd__tag { display: none; padding-left: 14px; border-left: 1.5px solid var(--ink); font-size: 14px; color: var(--muted); line-height: 1.2; }
@media (min-width: 1200px) { .hd__tag { display: block; } }
.hd__brand { gap: 14px; }
@media (min-width: 1080px) {
  .hd__nav { display: flex; gap: 26px; margin-right: 12px; }
  .hd__menu { display: none; }
  .mnav { display: none !important; }
  .hd__num { display: inline; }
  .hd__callword { display: none; }
}

/* title block */
.tb { position: relative; background: var(--sheet); border: 1.5px solid var(--ink); color: var(--ink); font-size: 15px; line-height: 1.35; }
.tb dl { margin: 0; display: grid; }
.tb dl > div { display: grid; grid-template-columns: 104px 1fr; border-bottom: 1px solid var(--ink); }
.tb dt { padding: 10px 12px; border-right: 1px solid var(--ink); font-variation-settings: "wdth" 72; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tb dd { margin: 0; padding: 10px 12px; overflow-wrap: anywhere; min-width: 0; }
.tb dd a { text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.tb__sheet { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 12px; font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.tb__sheet span { font-family: var(--sans); font-variation-settings: "wdth" 72; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.k { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 4px 0 2px; border: 1.5px solid var(--red); border-radius: 50%; color: var(--red); font: 600 12px/1 var(--sans); vertical-align: 1px; }
.tb .k:first-child { margin-left: 0; }

/* red-line markups */
.rl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rl-p { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.rl-lead { stroke-width: 2.5; }
.rl-dot { fill: var(--red); }
.rl-key circle, .rl-rev path { fill: #fff; stroke: var(--red); stroke-width: 3; vector-effect: non-scaling-stroke; }
.rl-key text { fill: var(--red); font-family: var(--sans); font-weight: 600; text-anchor: middle; }
.rl-p { stroke-width: 2.5px; }
@media (min-width: 768px) { .rl-p { stroke-width: 3px; } .rl-lead { stroke-width: 1.75px; } }
.js .rl.is-pending .rl-p { stroke-dashoffset: 1; }
.js .rl.is-pending .rl-key, .js .rl.is-pending .rl-dot { opacity: 0; }
.js .rl .rl-p { transition: stroke-dashoffset .9s var(--ease-io); }
.js .rl .rl-key, .js .rl .rl-dot { transition: opacity .4s ease .7s; }

/* hero */
.hero { display: grid; background: var(--paper); }
.hero__copy { order: 2; padding: 28px var(--gut) 8px; }
.hero__h { max-width: 11ch; }
.hero__lede { margin-top: 20px; max-width: 34em; font-size: 17px; color: var(--ink-2); }
.hero__fig { order: 1; margin: 0; position: relative; }
.hero__img { position: relative; height: 38vh; min-height: 230px; max-height: 340px; overflow: hidden; background: var(--paper-2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__fig figcaption { display: none; }
.hero__fig figcaption .tb { background: none; border: 0; }
.hero__fig figcaption .tb dl > div:not(:last-child), .hero__fig figcaption .tb__sheet { display: none; }
.hero__fig figcaption .tb dl > div { display: block; border: 0; }
.hero__fig figcaption .tb dt { display: none; }
.hero__fig figcaption .tb dd { padding: 0; }
@media (max-width: 767px) {
  .hero__copy .cta { margin-top: 22px; }
  .hero__copy .btn--lg { flex: 1 1 auto; }
  .hero__lede { font-size: 16px; }
}
@media (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: min(calc(100svh - var(--hd)), 860px); }
  .hero__copy { order: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px 40px 64px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
  .hero__h { max-width: 9.5ch; }
  .hero__lede { font-size: 19px; margin-top: 28px; }
  .hero__fig { order: 0; display: grid; }
  .hero__img { height: auto; max-height: none; min-height: 100%; }
  .hero__fig figcaption { padding: 0; font-size: 15px; display: block !important; position: absolute; left: -1px; bottom: 28px; width: min(380px, 70%); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55); }
  .tb--hero dl > div { grid-template-columns: 84px 1fr; }
  .hero__fig figcaption .tb { background: var(--sheet); border: 1.5px solid var(--ink); }
  .hero__fig figcaption .tb dl > div, .hero__fig figcaption .tb dl > div:not(:last-child) { display: grid; border-bottom: 1px solid var(--ink); }
  .hero__fig figcaption .tb dt { display: block; padding: 10px 12px; }
  .hero__fig figcaption .tb dd { padding: 10px 12px; }
  .hero__fig figcaption .tb__sheet { display: flex; }
}
@media (min-width: 768px) { .nt .hero__h { font-size: clamp(56px, 6.1vw, 96px); } }

/* sections */
.sec { padding: var(--sec) 0; }
.sec--tight { padding-top: calc(var(--sec) * .6); }
.sec--paper2 { background: var(--paper-2); }
.sec--sky { background: var(--sky); }
.sec--ink { background: var(--ink); color: rgba(243, 242, 236, .82); }
.sec--ink h2, .sec--ink h3, .sec--ink .tb-code { color: var(--paper); }
.split-head { display: grid; gap: 16px; margin-bottom: 48px; }
.split-head p { max-width: 36em; color: var(--muted); }
@media (min-width: 900px) { .split-head { grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: 72px; } .split-head p { padding-bottom: 6px; } }

/* drawing register */
.sec--reg { padding-top: calc(var(--sec) * .8); }
.reg { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.reg li { border-bottom: 1px solid var(--rule-2); }
.reg a { display: grid; grid-template-columns: 54px 1fr 28px; gap: 4px 12px; align-items: baseline; padding: 18px 0; text-decoration: none; color: var(--ink); position: relative; }
.reg__code { grid-row: span 2; font-size: 13px; color: var(--muted); }
.reg__t { font-family: var(--serif); font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }
.reg__p, .reg__s { font-size: 15px; color: var(--muted); }
.reg__p { grid-column: 2; }
.reg__d, .reg__s { display: none; }
.reg__go { grid-row: 1; grid-column: 3; align-self: center; }
.reg__go svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.reg__hd { display: none; }
.reg a::before { content: ""; position: absolute; inset: 0 -12px; background: var(--sheet); opacity: 0; transition: opacity .2s; z-index: -1; }
.reg a:hover::before { opacity: 1; }
.reg a:hover .reg__go svg { transform: translateX(4px); }
.reg a:hover .reg__t { background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 100% 30% no-repeat; }
.reg__pv { position: fixed; left: 0; top: 0; z-index: 40; width: 320px; aspect-ratio: 3 / 2; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity .18s, transform .25s var(--ease); border: 1.5px solid var(--ink); background: var(--sheet); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.reg__pv img { width: 100%; height: 100%; object-fit: cover; }
.reg__pv.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (min-width: 900px) {
  .reg__hd { display: grid; grid-template-columns: 90px 5fr 2fr 2fr 3fr 40px; gap: 24px; padding: 12px 0; font-variation-settings: "wdth" 72; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .reg a { grid-template-columns: 90px 5fr 2fr 2fr 3fr 40px; gap: 24px; padding: 26px 0; }
  .reg__code { grid-row: auto; font-size: 15px; color: var(--ink); }
  .reg__t { font-size: clamp(30px, 2.6vw, 40px); }
  .reg__p { grid-column: auto; }
  .reg__d, .reg__s { display: block; font-size: 16px; color: var(--muted); }
  .reg__go { grid-row: auto; grid-column: auto; justify-self: end; }
}

/* figures */
.fig { margin: 0; }
.fig__img { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.fig__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.fig__img:hover img { transform: scale(1.03); }
.fig figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 0 0; border-top: 0; font-size: 15px; color: var(--muted); }
.fig figcaption strong { color: var(--ink); font-weight: 600; }
.fig--dwg .fig__img { background: #fff; border: 1.5px solid var(--ink); padding: clamp(10px, 2vw, 24px); }
.fig--dwg .fig__img img { object-fit: contain; }
a.fig__img:hover img { transform: scale(1.03); }
.fig--dwg a.fig__img:hover img { transform: scale(1.015); }
.sec--ink .fig figcaption { color: rgba(243, 242, 236, .7); }
.sec--ink .fig figcaption strong { color: var(--paper); }

/* feature spreads */
.sec--feat { padding-top: 0; }
.spread { display: grid; gap: 28px; }
.spread__t .tb-code { display: block; margin-bottom: 16px; }
.spread__t h2 { max-width: 14ch; }
.spread__t p { margin-top: 20px; max-width: 34em; }
.spread--mill .spread__a .fig__img { aspect-ratio: 3 / 2; }
.spread--mill .spread__b .fig__img { aspect-ratio: 5 / 4; }
.spread--davids .spread__a .fig__img { aspect-ratio: 1544 / 1280; }
.spread--davids .spread__b .fig__img { aspect-ratio: 1920 / 1357; }
@media (min-width: 900px) {
  .spread { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
  .spread--mill .spread__a { grid-column: 1 / 9; grid-row: 1; }
  .spread--mill .spread__b { grid-column: 8 / 13; grid-row: 1; align-self: end; margin-bottom: -96px; position: relative; z-index: 2; box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .6); background: var(--paper); }
  .spread--mill .spread__b figcaption { padding: 12px 12px 4px; }
  .spread--mill .spread__t { grid-column: 1 / 7; grid-row: 2; margin-top: 64px; }
  .spread--davids { align-items: start; }
  .spread--davids .spread__a { grid-column: 1 / 8; grid-row: 1 / 3; }
  .spread--davids .spread__t { grid-column: 9 / 13; grid-row: 1; padding-top: 8px; }
  .spread--davids .spread__b { grid-column: 9 / 13; grid-row: 2; margin-top: 48px; }
}
.sec--sky .fig figcaption { color: var(--ink-2); }

/* full-bleed band with markups */
.band { position: relative; background: var(--ink); color: var(--paper); }
.band__img .fig { position: relative; }
.band__img .fig__img { height: clamp(340px, 62vw, 860px); }
.band__img figcaption { position: absolute; left: var(--gut); right: var(--gut); bottom: 16px; padding: 10px 14px !important; width: auto; max-width: 560px; background: var(--sheet); border: 1.5px solid var(--ink); color: var(--ink) !important; }
.band__img figcaption span { color: var(--ink-2); }
.band__img .k { background: #fff; }
.band__t { padding-top: 40px; padding-bottom: 56px; display: grid; gap: 14px; }
.band__t .tb-code { color: var(--paper); }
.band__t p { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.22; letter-spacing: -.012em; color: var(--paper); max-width: 34ch; }
@media (min-width: 900px) {
  .band__t { grid-template-columns: 2fr 10fr; gap: 24px; padding-top: 64px; padding-bottom: 88px; }
  .band__img figcaption { left: auto; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); bottom: 28px; }
}

/* editorial service list */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc li { border-bottom: 1px solid var(--rule-2); }
.svc a, .svc li > div { display: grid; gap: 10px; padding: 26px 0 28px; text-decoration: none; color: var(--ink-2); }
.svc__n { font-family: var(--serif); font-size: clamp(32px, 4vw, 58px); line-height: 1.02; letter-spacing: -.022em; color: var(--ink); }
.svc__d { max-width: 38em; }
.svc__m { font-variation-settings: "wdth" 80; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.svc a .svc__n { transition: color .2s; }
.svc a:hover .svc__n { background: linear-gradient(var(--yellow), var(--yellow)) 0 86% / 100% 26% no-repeat; }
@media (min-width: 900px) {
  .svc a, .svc li > div { grid-template-columns: 6fr 4fr 2fr; gap: 32px; align-items: baseline; padding: 36px 0 38px; }
  .svc__m { text-align: right; }
  .svc--plain li > div { grid-template-columns: 5fr 7fr; }
}

/* director */
.dir { display: grid; gap: 40px; }
.dir__fig .fig__img { aspect-ratio: 4 / 5; }
.dir__fig .fig__img img { object-position: 50% 20%; }
.dir__t .tb-code { display: block; margin-bottom: 20px; }
.dir__q { margin: 0; }
.dir__q p { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; letter-spacing: -.02em; color: var(--paper); text-wrap: balance; }
.dir__src { margin-top: 18px !important; font-size: 15px; color: rgba(243, 242, 236, .66); }
.facts { margin: 36px 0 0; border-top: 1px solid rgba(243, 242, 236, .3); }
.facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(243, 242, 236, .3); }
.facts dt { font-variation-settings: "wdth" 72; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 242, 236, .66); padding-top: 3px; }
.facts dd { margin: 0; color: var(--paper); }
@media (min-width: 900px) {
  .dir { grid-template-columns: 5fr 1fr 6fr; align-items: end; }
  .dir__fig { grid-column: 1; }
  .dir__t { grid-column: 3; }
}

/* council timeline */
.tl { position: relative; }
.tl__axis { display: none; }
.tl__events { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--ink); }
.tl__events li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0 16px 20px; }
.tl__events li::before { content: ""; position: absolute; left: -7px; top: 26px; width: 12px; height: 12px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 50%; }
.tl__year { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.tl__names { font-size: 18px; color: var(--ink); padding-top: 8px; line-height: 1.45; }
.tl__also { margin-top: 32px !important; max-width: 46em; color: var(--muted); }
@media (min-width: 900px) {
  .tl { height: 420px; margin-left: calc(16.66% + 4px); }
  .tl__axis { display: block; position: absolute; left: 0; right: 0; top: 210px; height: 1px; }
  .tl__line { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--ink); transform-origin: left; }
  .tl__tick { position: absolute; top: -5px; width: 1px; height: 10px; background: var(--ink); }
  .tl__tick--maj { top: -10px; height: 20px; }
  .tl__tick i { display: none; }
  .tl__events { border: 0; position: absolute; inset: 0; }
  .tl__events li { position: absolute; left: var(--x); top: 210px; display: block; padding: 34px 0 0 0; width: max-content; transform: translateX(-12px); }
  .tl__events li:nth-child(even) { top: auto; bottom: 210px; padding: 0 0 34px; display: flex; flex-direction: column-reverse; }
  .tl__events li::before { left: 5px; top: -8px; width: 14px; height: 14px; }
  .tl__events li:nth-child(even)::before { top: auto; bottom: -8px; }
  .tl__events li::after { content: ""; position: absolute; left: 12px; top: 8px; width: 1px; height: 22px; background: var(--ink); }
  .tl__events li:nth-child(even)::after { top: auto; bottom: 8px; }
  .tl__year { font-size: 56px; display: block; }
  .tl__names { display: block; padding-top: 10px; font-size: 17px; }
  .tl__events li:nth-child(even) .tl__names { padding: 0 0 10px; }
  .tl__also { margin-left: calc(16.66% + 4px) !important; }
  .js .tl.is-pending .tl__line { transform: scaleX(0); }
  .js .tl .tl__line { transition: transform 1.1s var(--ease-io); }
  .js .tl.is-pending .tl__events li { opacity: 0; transform: translate(-12px, 10px); }
  .js .tl .tl__events li { transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.5s + var(--i) * 120ms); }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) { .js .tl.is-pending .tl__events li { transform: translateX(-12px); } }

/* FAQ */
.faq { display: grid; gap: 40px; }
.faq__h .tb-code { display: block; margin-bottom: 16px; }
.faq__h p { margin-top: 16px; color: var(--muted); max-width: 26em; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq__i { padding: 26px 0 28px; border-bottom: 1px solid var(--rule-2); }
.faq__i h3 { font-size: clamp(23px, 2vw, 28px); }
.faq__i p { margin-top: 12px; max-width: 60ch; }
@media (min-width: 900px) {
  .faq { grid-template-columns: 4fr 1fr 7fr; }
  .faq__h { position: sticky; top: calc(var(--hd) + 32px); align-self: start; }
  .faq__list { grid-column: 3; }
}

/* closing band */
.close { background: var(--ink); color: rgba(243, 242, 236, .8); padding: var(--sec) 0; }
.close__in { display: grid; gap: 40px; }
.close h2 { color: var(--paper); max-width: 16ch; }
.close__t p { margin-top: 20px; max-width: 32em; }
.close__tel { display: block; white-space: nowrap; font-family: var(--serif); font-size: clamp(48px, 7vw, 108px); line-height: .95; letter-spacing: -.035em; color: var(--yellow) !important; text-decoration: none; font-variant-numeric: lining-nums; }
.close__tel span { display: block; margin-bottom: 14px; font: 600 14px/1 var(--sans); font-variation-settings: "wdth" 72; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 242, 236, .66); }
.close__tel:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 10px; }
.close__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.close .btn--call:hover { background: var(--paper); color: var(--ink) !important; }
.close__mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--paper) !important; text-underline-offset: 4px; word-break: break-all; }
.close__mail svg { width: 20px; height: 20px; flex: none; }
.close__addr { margin-top: 24px !important; font-size: 15px; color: rgba(243, 242, 236, .62); }
@media (min-width: 900px) { .close__in { grid-template-columns: 5fr 7fr; align-items: end; } }

/* inner page head */
.ph { padding-top: 40px; }
.ph__grid { display: grid; gap: 32px; padding-bottom: 40px; }
.ph h1 { max-width: 13ch; }
.ph__lede { margin-top: 22px; max-width: 36em; font-size: 18px; }
.ph__lede a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.ph__photo .fig__img { height: clamp(300px, 56vw, 760px); }
.ph__photo figcaption { padding: 12px var(--gut) 0; max-width: var(--wrap); margin: 0 auto; }
.tb--ph { align-self: end; }
@media (max-width: 899px) { .tb--ph { display: none; } }
@media (min-width: 900px) {
  .ph { padding-top: 72px; }
  .ph__grid { grid-template-columns: 8fr 4fr; gap: 48px; padding-bottom: 64px; align-items: end; }
  .ph h1 { font-size: clamp(56px, 6.2vw, 100px); max-width: 12ch; }
  .ph__lede { font-size: 20px; }
}

/* numbered stage index (big numerals in the margin) */
.stages { display: grid; gap: 48px; }
.idx { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.idx li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule-2); }
.idx__n { font-family: var(--serif); font-size: 52px; line-height: .9; color: var(--ink); font-variant-numeric: lining-nums; }
.idx h3 { font-size: clamp(24px, 2.2vw, 30px); }
.idx p { margin-top: 6px; color: var(--muted); }
.stages__aside h3 { margin-bottom: 18px; }
.stages__aside p + p { margin-top: 1em; }
@media (min-width: 900px) {
  .stages { grid-template-columns: 7fr 1fr 4fr; }
  .stages__aside { grid-column: 3; position: sticky; top: calc(var(--hd) + 32px); align-self: start; padding: 28px; background: var(--sheet); border: 1.5px solid var(--ink); }
  .idx li { grid-template-columns: 110px 1fr; padding: 28px 0; }
  .idx__n { font-size: 80px; }
}

/* project sheets + asymmetric mosaics */
.sheet { padding-top: 8px; }
.sheet + .sheet { margin-top: clamp(72px, 9vw, 128px); }
.sheet__hd { display: grid; gap: 8px; margin-bottom: 28px; }
.sheet__hd p { color: var(--muted); max-width: 44em; }
.sheet__hd h3 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.mosaic { display: grid; gap: 24px; }
.mosaic .fig__img { aspect-ratio: 3 / 2; }
.mosaic .fig--dwg .fig__img { aspect-ratio: auto; }
@media (min-width: 900px) {
  .sheet__hd { grid-template-columns: 2fr 6fr 4fr; gap: 24px; align-items: baseline; border-top: 1.5px solid var(--ink); padding-top: 18px; margin-bottom: 36px; }
  .sheet__code { font-size: 15px; }
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
  .mosaic .fig__img { aspect-ratio: auto; height: 100%; }
  .mosaic .fig { display: grid; grid-template-rows: 1fr auto; }
  /* two photos: big + small offset */
  .mosaic--two .m1 { grid-column: 1 / 9; } .mosaic--two .m1 .fig__img { aspect-ratio: 3 / 2; }
  .mosaic--two .m2 { grid-column: 9 / 13; margin-top: 30%; } .mosaic--two .m2 .fig__img { aspect-ratio: 4 / 5; }
  /* three: wide lead, portrait + landscape stacked under */
  .mosaic--three .m1 { grid-column: 1 / 13; } .mosaic--three .m1 .fig__img { aspect-ratio: 21 / 9; }
  .mosaic--three .m2 { grid-column: 1 / 8; } .mosaic--three .m2 .fig__img { aspect-ratio: 4 / 3; }
  .mosaic--three .m3 { grid-column: 9 / 12; } .mosaic--three .m3 .fig__img { aspect-ratio: 3 / 4; }
  /* drawings side by side, uncropped */
  .mosaic--dwg .m1 { grid-column: 1 / 8; } .mosaic--dwg .m2 { grid-column: 8 / 13; margin-top: 18%; }
  .mosaic--dwg .fig__img { height: auto; }
  /* four: photo lead + two drawings + photo */
  .mosaic--four .m1 { grid-column: 1 / 8; grid-row: 1 / 3; } .mosaic--four .m1 .fig__img { aspect-ratio: 4 / 3.4; }
  .mosaic--four .m2 { grid-column: 8 / 13; } .mosaic--four .m2 .fig__img { aspect-ratio: auto; height: auto; }
  .mosaic--four .m3 { grid-column: 8 / 13; } .mosaic--four .m3 .fig__img { aspect-ratio: auto; height: auto; }
  .mosaic--four .m4 { grid-column: 3 / 10; } .mosaic--four .m4 .fig__img { aspect-ratio: 16 / 9; }
  /* five: lead + rail */
  .mosaic--five .m1 { grid-column: 1 / 8; grid-row: 1 / 3; } .mosaic--five .m1 .fig__img { aspect-ratio: 4 / 3.5; }
  .mosaic--five .m2, .mosaic--five .m3 { grid-column: 8 / 13; } .mosaic--five .m2 .fig__img, .mosaic--five .m3 .fig__img { aspect-ratio: 16 / 10; }
  .mosaic--five .m4 { grid-column: 1 / 6; } .mosaic--five .m4 .fig__img { aspect-ratio: 4 / 3; }
  .mosaic--five .m5 { grid-column: 6 / 13; } .mosaic--five .m5 .fig__img { aspect-ratio: 16 / 9; }
  /* six */
  .mosaic--six .m1 { grid-column: 1 / 9; } .mosaic--six .m1 .fig__img { aspect-ratio: 16 / 10; }
  .mosaic--six .m2 { grid-column: 9 / 13; margin-top: 18%; } .mosaic--six .m2 .fig__img { aspect-ratio: 4 / 5; }
  .mosaic--six .m3 { grid-column: 1 / 5; } .mosaic--six .m3 .fig__img { aspect-ratio: 4 / 5; }
  .mosaic--six .m4 { grid-column: 5 / 13; } .mosaic--six .m4 .fig__img { aspect-ratio: 16 / 9; }
  .mosaic--six .m5 { grid-column: 1 / 8; } .mosaic--six .m5 .fig__img { aspect-ratio: 3 / 2; }
  .mosaic--six .m6 { grid-column: 8 / 13; margin-top: 12%; } .mosaic--six .m6 .fig__img { aspect-ratio: 4 / 3; }
}

/* research band, about */
.research { display: grid; gap: 24px; }
.research .tb-code { display: block; margin-bottom: 16px; }
@media (min-width: 900px) { .research { grid-template-columns: 5fr 1fr 6fr; } .research .prose { grid-column: 3; } }
.noel { display: grid; gap: 40px; }
.noel__fig .fig__img { aspect-ratio: 4 / 5; } .noel__fig img { object-position: 50% 20%; }
.noel__t .tb-code { display: block; margin-bottom: 16px; }
.noel__t .prose { margin-top: 28px; }
@media (min-width: 900px) { .noel { grid-template-columns: 5fr 1fr 6fr; align-items: start; } .noel__t { grid-column: 3; padding-top: 24px; } }
.quals { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.quals li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule-2); }
.quals li span:first-child { font-family: var(--serif); font-size: 24px; color: var(--ink); line-height: 1.15; }
@media (min-width: 900px) { .quals { margin-left: calc(16.66% + 4px); } .quals li { grid-template-columns: 4fr 8fr; gap: 32px; align-items: baseline; } }
.claire { display: grid; gap: 40px; }
.claire__t .tb-code { display: block; margin-bottom: 16px; }
.claire__t .prose { margin-top: 28px; }
.claire__fig .fig__img { aspect-ratio: 4 / 5; max-width: 420px; } .claire__fig img { object-position: 50% 25%; }
@media (min-width: 900px) { .claire { grid-template-columns: 6fr 2fr 4fr; align-items: end; } .claire__fig { grid-column: 3; } }
.approach { display: grid; gap: 28px; }
.approach__q { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 68px); line-height: 1.06; letter-spacing: -.025em; color: var(--paper); max-width: 22ch; text-wrap: balance; }
.approach__t { max-width: 40em; }
@media (min-width: 900px) { .approach__t { margin-left: calc(41.66%); } }

/* contact */
.ph--contact { padding-bottom: var(--sec); }
.ct { display: grid; gap: 40px; }
.ct h1 { max-width: 14ch; }
.ct__tel { display: inline-block; margin-top: 28px; font-family: var(--serif); font-size: clamp(54px, 8vw, 120px); line-height: 1; letter-spacing: -.035em; color: var(--ink); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 100% 22% no-repeat; }
.ct__tel:hover { background-size: 100% 100%; }
.ct .tb { display: block !important; }
@media (min-width: 900px) { .ct { grid-template-columns: 7fr 1fr 4fr; align-items: end; } .ct .tb { grid-column: 3; } .ph--contact { padding-top: 72px; } }
.enq { display: grid; gap: 40px; }
.enq__t .tb-code { display: block; margin-bottom: 16px; }
.enq__t > p { margin-top: 16px; max-width: 30em; }
.enq__t .fig { margin-top: 36px; }
.enq__t .fig__img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .enq { grid-template-columns: 5fr 1fr 6fr; } .form { grid-column: 3; } }
.form { display: grid; gap: 18px; padding: 24px; background: var(--sheet); border: 1.5px solid var(--ink); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; padding: 36px; } .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-variation-settings: "wdth" 80; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--rule-2); border-radius: 2px; transition: border-color .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.form__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__note { font-size: 15px; color: var(--muted); }
.form__msg { padding: 16px 18px; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); }
.form__msg a { font-weight: 600; }

/* footer */
.ft { background: var(--paper-2); color: var(--ink-2); padding: 72px 0 40px; font-size: 16px; }
.ft__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.ft__brand img { width: 120px; border: 1px solid var(--ink); }
.ft__brand p { margin-top: 18px; max-width: 30em; }
.ft__h { margin-bottom: 14px !important; font-variation-settings: "wdth" 72; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft ul a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 36px; padding: 4px 0; text-underline-offset: 3px; word-break: break-word; }
.ft__idx .tb-code { font-size: 12px; color: var(--muted); }
.ft__base { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--rule-2); font-size: 15px; color: var(--muted); }
.ft__base a { color: var(--ink); text-underline-offset: 3px; }
@media (min-width: 900px) { .ft__grid { grid-template-columns: 6fr 3fr 3fr; } }

/* lightbox */
.lb { width: min(1280px, 94vw); max-height: 94vh; margin: auto; padding: 0; border: 1.5px solid var(--ink); background: var(--sheet); }
.lb::backdrop { background: rgba(21, 23, 26, .82); }
.lb img { width: 100%; max-height: calc(94vh - 80px); object-fit: contain; background: #fff; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 10px 10px 16px; font-size: 15px; color: var(--ink); }
.lb__bar button { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); background: var(--yellow); font: 600 15px var(--sans); cursor: pointer; }

/* reveal */
.js [data-reveal] { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-pending { opacity: 0; transform: translateY(18px); }
.js .fig[data-reveal] .fig__img { transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.js .fig[data-reveal].is-pending .fig__img { clip-path: inset(0 0 14% 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal].is-pending { opacity: 1; transform: none; }
  .js .fig[data-reveal].is-pending .fig__img { clip-path: none; }
  .js .rl.is-pending .rl-p { stroke-dashoffset: 0; }
  .js .rl.is-pending .rl-key, .js .rl.is-pending .rl-dot { opacity: 1; }
  .js .tl.is-pending .tl__line { transform: none; }
  .js .tl.is-pending .tl__events li { opacity: 1; }
  a.fig__img:hover img { transform: none; }
}
.cap1 { color: var(--muted); } .cap1 strong { color: var(--ink); }

/* round 2 */
.btn--light { background: transparent; color: var(--paper) !important; border-color: rgba(243, 242, 236, .8); }
.btn--light:hover { background: var(--paper); color: var(--ink) !important; }
.tb__logo { width: 150px; border: 1px solid var(--ink); }
.reg-head { display: grid; gap: 12px; margin-bottom: 36px; }
.reg-head p { color: var(--muted); max-width: 36em; }
@media (min-width: 900px) { .reg-head { grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: 48px; } }
.reg__th { display: none; }
@media (min-width: 900px) {
  .reg__hd, .reg a { grid-template-columns: 70px 120px 5fr 2fr 3fr 32px; gap: 28px; }
  .reg a { padding: 14px 0; align-items: center; }
  .reg__th { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
  .reg__th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .reg a:hover .reg__th img { transform: scale(1.06); }
  .reg__pv { display: none; }
}
/* mill feature */
.mill { display: grid; gap: 28px; }
.mill__t .tb-code { display: block; margin-bottom: 16px; }
.mill__t h2 { max-width: 18ch; }
.mill__t p { margin-top: 20px; max-width: 38em; }
.mill__tb .fig__img { padding: 0; border-width: 1.5px; }
.mill__a .fig__img { aspect-ratio: 3 / 2; }
.mill__b .fig__img { padding: 0; aspect-ratio: 1360 / 850; }
@media (min-width: 900px) {
  .mill { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; }
  .mill__t { grid-column: 1 / 6; grid-row: 1; align-self: end; }
  .mill__a { grid-column: 7 / 13; grid-row: 1; }
  .mill__tb { grid-column: 1 / 13; grid-row: 2; margin-top: 24px; }
  .mill__b { grid-column: 3 / 13; grid-row: 3; }
}
/* St David's */
.davids { display: grid; gap: 32px; }
.davids__a .fig__img { aspect-ratio: 1544 / 1280; }
.davids__t .tb-code { display: block; margin-bottom: 16px; }
.davids__t p { margin-top: 20px; max-width: 34em; }
.davids__b { margin-top: 32px; max-width: 360px; }
@media (min-width: 900px) { .davids { grid-template-columns: 8fr 4fr; gap: 48px; align-items: start; } .davids__t { padding-top: 8px; } }
/* architecture band */
.arch { background: var(--paper-2); }
.arch__img .fig__img { height: clamp(300px, 52vw, 720px); }
.arch__img figcaption { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gut) 0 !important; }
.arch__in { display: grid; gap: 40px; padding-top: 56px; padding-bottom: var(--sec); }
.arch__t h2 { max-width: 16ch; }
.arch__t p { margin-top: 20px; max-width: 34em; }
.svc__go svg { width: 24px; height: 24px; transition: transform .25s var(--ease); }
.svc a:hover .svc__go svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .arch__in { grid-template-columns: 5fr 1fr 6fr; padding-top: 80px; }
  .arch .svc { grid-column: 3; }
  .arch .svc a { grid-template-columns: 1fr 32px; gap: 8px 24px; padding: 28px 0; }
  .arch .svc__n { font-size: clamp(28px, 2.6vw, 38px); }
  .arch .svc__d { grid-column: 1; grid-row: 2; }
  .arch .svc__go { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
.dir__q footer { margin-top: 18px; font-size: 15px; color: rgba(243, 242, 236, .7); }
.faq__h .lnk { margin-top: 20px; }
/* heritage spec table */
.spec { border: 1.5px solid var(--ink); background: var(--sheet); }
.spec__row { display: grid; gap: 6px; padding: 20px; border-bottom: 1px solid var(--ink); }
.spec__row:last-child { border-bottom: 0; }
.spec__row--hd { display: none; }
.spec__n { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--ink); letter-spacing: -.015em; }
.spec__u { font-variation-settings: "wdth" 80; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
@media (min-width: 900px) {
  .spec__row { grid-template-columns: 4fr 6fr 2.4fr; gap: 0; padding: 0; }
  .spec__row > span { padding: 24px; border-right: 1px solid var(--ink); }
  .spec__row > span:last-child { border-right: 0; }
  .spec__row--hd { display: grid; }
  .spec__row--hd span { padding: 10px 24px; font-variation-settings: "wdth" 72; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}
/* single-photo sheet */
@media (min-width: 900px) { .mosaic--one .m1 { grid-column: 1 / 13; } .mosaic--one .m1 .fig__img { aspect-ratio: 21 / 9; } .mosaic--one .m1 img { object-position: 50% 45%; } }
/* contact sheet */
.cs { margin-top: clamp(72px, 9vw, 128px); padding: 24px; background: var(--ink); color: var(--paper); }
.cs h3 { color: var(--paper); font-size: clamp(24px, 2vw, 30px); }
.cs__grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.cs__grid li { display: grid; grid-template-columns: auto 1fr; gap: 6px 8px; align-content: start; }
.cs__img { grid-column: 1 / -1; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.cs__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cs__img:hover img { transform: scale(1.04); }
.cs__n { color: var(--yellow); font-size: 12px; }
.cs__c { font-size: 14px; line-height: 1.3; color: rgba(243, 242, 236, .85); }
@media (min-width: 900px) { .cs { padding: 32px; } .cs__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 899px) {
  .mill > *, .mill .fig { min-width: 0; }
  .mill__tb .fig__img { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .mill__tb .fig__img img { width: 760px; max-width: none; height: auto; }
  .mill__b .fig__img { overflow-x: auto; aspect-ratio: auto; }
  .mill__b .fig__img img { width: 820px; max-width: none; height: auto; }
}

/* ===== round 3: the page is a drawing sheet with a title-block rail ===== */
:root { --wrap: 1200px; --rail: 340px; --ink-2: #2c3035; }
body.nt { color: var(--ink-2); }
.split-head p, .reg-head p, .sh__t p, .sheet__hd p { color: var(--ink-2); }
/* yellow is for Call only */
.hd__nav a::after { background: var(--ink); height: 2px; bottom: 8px; }
.lnk { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 1.5px; background-position: 0 100%; }
.lnk:hover { background-size: 100% 1.5px; }
.lnk--light { background-image: linear-gradient(var(--paper), var(--paper)); }
.lnk--light:hover { color: var(--paper); background-size: 100% 1.5px; }
.reg a:hover .reg__t, .svc a:hover .svc__n { background: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(35, 93, 137, .35); }
.form__msg { background: var(--sheet); }
.ct__tel { background: none; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 8px; text-underline-offset: 10px; }
.tl__events li::before { background: var(--ink); }

/* frame */
.page { display: block; }
.rail { display: none; }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 242, 236, .97); border-top: 1.5px solid var(--ink); }
.callbar .btn { min-height: 48px; }
body.nt { padding-bottom: 72px; }
@media (max-width: 1099px) { .hd__act .btn { display: none; } }
@media (min-width: 1100px) {
  body.nt { padding-bottom: 0; }
  .callbar { display: none; }
  .hd { display: none; }
  .page { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); align-items: start; }
  .drawfield { min-width: 0; border-right: 1.5px solid var(--ink); }
  .rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--sheet); overflow-y: auto; }
  .rail > * { border-bottom: 1px solid var(--ink); }
  .rail__logo { display: block; padding: 20px 20px 18px; }
  .rail__logo img { width: 100%; max-width: 220px; }
  .rail__cell { padding: 10px 20px; font-size: 15px; line-height: 1.35; color: var(--ink); }
  .rail__k, .tb-k { display: block; margin-bottom: 4px; font-variation-settings: "wdth" 72; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .rail__idx { flex: 1; padding: 12px 20px; }
  .rail__idx ol { list-style: none; margin: 0; padding: 0; }
  .rail__idx > ol > li > a { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; font-family: var(--serif); font-size: 21px; line-height: 1.15; text-decoration: none; color: var(--ink); }
  .rail__idx > ol > li > a .tb-code { width: 14px; font-size: 12px; color: var(--muted); }
  .rail__idx > ol > li > a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .rail__idx > ol > li.is-cur > a { font-weight: 500; }
  .rail__sub { margin: 2px 0 8px 26px !important; border-left: 1px solid var(--rule-2); }
  .rail__sub a { display: flex; gap: 10px; padding: 4px 0 4px 12px; font-size: 14px; line-height: 1.3; text-decoration: none; color: var(--ink-2); position: relative; }
  .rail__sub a span { font-variation-settings: "wdth" 72; font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--muted); min-width: 34px; font-variant-numeric: tabular-nums; }
  .rail__sub a.is-on { color: var(--ink); font-weight: 600; }
  .rail__sub a.is-on::before { content: ""; position: absolute; left: -2px; top: 4px; bottom: 4px; width: 3px; background: var(--ink); }
  .rail__act { display: grid; gap: 8px; padding: 16px 20px; }
  .rail__act .btn { width: 100%; }
  .rail__sheet { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; padding: 10px 20px 14px; border-bottom: 0 !important; }
  .rail__sheet .rail__k { margin: 0 0 8px; }
  .rail__sheet strong { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: .9; color: var(--ink); }
  .rail__of { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
  .wrap { padding-left: 48px; padding-right: 48px; }
  .hero { min-height: min(100vh, 900px); }
  .hero__copy { padding-left: 48px !important; }
  .nt .hero__h { font-size: clamp(56px, 5.4vw, 92px); }
}
@media (min-width: 1100px) and (max-height: 760px) { .rail__logo img { max-width: 150px; } .rail__sub a { padding: 2px 0 2px 12px; } }
.ft__name { font-family: var(--serif); font-size: 28px; color: var(--ink); line-height: 1.1; }
.ft__brand p + p { margin-top: 12px; }

/* hero: phone crop zooms photo and markup together so they stay registered */
.hero__zoom { position: absolute; inset: 0; }
.hero__zoom img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .hero__img { aspect-ratio: 4 / 3; height: auto; max-height: none; min-height: 0; }
  .hero__zoom { transform: scale(1.32); transform-origin: 50% 44%; }
  .hero__fig figcaption { display: block; padding: 10px var(--gut) 0; font-size: 14px; color: var(--ink-2); }
  .hero__fig .tb { background: none; border: 0; font-size: 14px; }
  .hero__fig .tb dl > div:first-child, .hero__fig .tb dt, .hero__fig .tb__sheet { display: none; }
  .hero__fig .tb dl > div { display: block; border: 0; }
  .hero__fig .tb dd { padding: 0; }
  .hero__copy { padding-top: 22px; }
}

/* mill feature, round 3 order: text + photo, plan with clouds, title block */
@media (min-width: 900px) {
  .mill__t { grid-column: 1 / 6; grid-row: 1; align-self: end; }
  .mill__a { grid-column: 7 / 13; grid-row: 1; }
  .mill__b { grid-column: 1 / 13; grid-row: 2; margin-top: 16px; }
  .mill__tb { grid-column: 4 / 13; grid-row: 3; margin-top: 0; }
}
.mill__b .fig__img { position: relative; }
.mill__b figcaption span { color: var(--ink-2); }
@media (max-width: 899px) {
  .mill__b .fig__img img { width: 100%; max-width: 100%; }
  .mill__b .fig__img { overflow: hidden; aspect-ratio: 1360 / 850; }
  .mill__tb { display: none; }
}

/* services legend over the Haven drawing */
.svc-dwg .fig__img { aspect-ratio: auto; }
.legend { margin-top: 32px; border: 1.5px solid var(--ink); background: var(--sheet); }
.legend__h { padding: 10px 16px; border-bottom: 1px solid var(--ink); font-variation-settings: "wdth" 72; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legend ol { list-style: none; margin: 0; padding: 0; }
.legend li + li { border-top: 1px solid var(--ink); }
.legend a { display: grid; gap: 4px; padding: 16px; text-decoration: none; color: var(--ink-2); min-height: 44px; }
.legend strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--ink); }
.legend a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (min-width: 900px) {
  .legend ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .legend li + li { border-top: 0; border-left: 1px solid var(--ink); }
  .legend a { padding: 20px; height: 100%; align-content: start; }
}

/* director + credentials title block */
.dir { align-items: start; }
.dir__t h2 { color: var(--paper); }
.dir__role { margin-top: 10px !important; font-variation-settings: "wdth" 80; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 242, 236, .72); }
.dir__q { margin-top: 24px !important; max-width: 36em; font-family: var(--serif); font-size: 22px; line-height: 1.35; color: var(--paper); }
.creds { margin: 32px 0 0; border: 1px solid rgba(243, 242, 236, .55); }
.creds > div { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid rgba(243, 242, 236, .55); }
.creds > div:last-child { border-bottom: 0; }
.creds dt { padding: 10px 14px 0; font-variation-settings: "wdth" 72; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 242, 236, .72); }
.creds dd { margin: 0; padding: 4px 14px 12px; color: var(--paper); font-size: 16px; line-height: 1.45; }
@media (min-width: 640px) { .creds > div { grid-template-columns: 110px 1fr; } .creds dt { padding: 14px; border-right: 1px solid rgba(243, 242, 236, .55); } .creds dd { padding: 12px 14px; } }
@media (min-width: 900px) { .dir { grid-template-columns: 4fr 1fr 7fr; } .dir__fig .fig__img { aspect-ratio: 4 / 5; } }

/* FAQ, single column */
.faq { display: block; max-width: 900px; }
.faq h2 { margin-bottom: 40px; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq__i h3 { font-size: clamp(24px, 2.2vw, 30px); }
.faq__i p { color: var(--ink-2); font-size: 18px; }

/* project sheet header = mini title block */
.sheet__tb { display: grid; border: 1.5px solid var(--ink); background: var(--sheet); margin-bottom: 24px; }
.sheet__tb > div { padding: 12px 16px; }
.sheet__tb > div + div { border-top: 1px solid var(--ink); }
.sheet__code { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--ink); }
.sheet__tb h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; }
.sheet__nt p { color: var(--ink-2); font-size: 16px; }
@media (min-width: 900px) {
  .sheet__tb { grid-template-columns: 150px 5fr 5fr; margin-bottom: 32px; }
  .sheet__tb > div + div { border-top: 0; border-left: 1px solid var(--ink); }
  .sheet__tb > div { padding: 14px 20px 18px; }
}
.ph__dwg .fig__img { height: auto !important; max-width: 1100px; margin: 0 auto; background: #fff; }
.ph__photo .ph__dwg { padding: 0 var(--gut); }
.ph__photo .ph__dwg figcaption { padding-left: 0; padding-right: 0; }
:root { --rail: 300px; }
.wrap.faq { margin-left: 0; max-width: 1000px; }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: min(100vh, 720px); }
  .hero__copy { padding-right: 32px; padding-bottom: 56px; }
  .nt .hero__h { font-size: clamp(52px, 4.9vw, 80px); max-width: none; }
}
@media (min-width: 1100px) {
  .rail__logo { padding: 16px 20px 14px; }
  .rail__logo img { max-width: 170px; }
  .rail__act { padding: 14px 20px; }
  .rail__idx { padding: 12px 20px; }
  .rail__idx > ol > li > a { font-size: 20px; padding: 5px 0; }
}
@media (min-width: 900px) { .mosaic--dwg1 .m1 { grid-column: 1 / 9; } .mosaic--dwg1 .fig__img { height: auto; } }
.lnk { min-height: 44px; }
.ft__base a, .tb dd a, .ph__lede a { display: inline-block; padding: 9px 0; margin: -9px 0; }
.ft__base p { line-height: 2; }
.field { min-width: 0; }
.field input, .field select, .field textarea { box-sizing: border-box; max-width: 100%; }
.ct__tel { white-space: nowrap; font-size: clamp(46px, 6vw, 92px); }
.callbar { transition: transform .3s var(--ease); }
.js .callbar:not(.is-shown) { transform: translateY(110%); }
@media (min-width: 900px) { .tl__year { font-size: 44px; } }
.tb-k { display: block; margin-bottom: 4px; font-variation-settings: "wdth" 72; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ===== round 4 ===== */
.nowrap { white-space: nowrap; }
.hd__brand img { width: 58px; border: 1px solid var(--ink); }
.ft__logo { width: 150px; border: 1px solid var(--ink); margin-bottom: 18px; }
.ft__mail { white-space: nowrap; font-size: 15px; }
@media (min-width: 900px) { .ft__grid { grid-template-columns: 5fr 4fr 2fr; } }
/* timeline: major ticks only, labelled */
@media (min-width: 900px) {
  .tl__tick:not(.tl__tick--maj) { display: none; }
  .tl__tick--maj i { display: block; top: 16px; }
  .tl__events li:nth-child(odd) .tl__year { margin-top: 18px; }
}
/* services: list beside the drawing, no boxes */
.legend { border: 0; background: none; margin-top: 8px; }
.legend__h { padding: 0 0 8px; border: 0; }
.legend li + li { border-top: 1px solid var(--rule-2) !important; border-left: 0 !important; }
.legend a { padding: 14px 0; }
.legend strong { font-size: 24px; }
@media (min-width: 900px) {
  .sec--svc .wrap { display: grid; grid-template-columns: 8fr 4fr; gap: 0 40px; align-items: start; }
  .sec--svc .split-head { grid-column: 1 / -1; }
  .legend { margin-top: 0; }
  .legend ol { display: block; }
  .legend a { padding: 14px 0; }
}
/* heritage services: editorial rows, not a boxed table */
.spec { border: 0; background: none; border-top: 1.5px solid var(--ink); }
.spec__row { border-bottom: 1px solid var(--rule-2); padding: 22px 0; }
@media (min-width: 900px) {
  .spec__row > span { border-right: 0 !important; padding: 26px 24px 26px 0; }
  .spec__row--hd span { padding: 10px 24px 10px 0; }
  .spec__row { padding: 0; }
}
/* credentials: rows only */
.creds { border: 0; border-top: 1px solid rgba(243, 242, 236, .55); }
.creds > div:last-child { border-bottom: 1px solid rgba(243, 242, 236, .55); }
@media (min-width: 640px) { .creds dt { border-right: 0; padding-left: 0; } .creds dd { padding-left: 0; } }
/* phone: director portrait beside the name */
@media (max-width: 899px) {
  .dir { grid-template-columns: 120px 1fr; gap: 20px 20px; }
  .dir__fig figcaption { display: none; }
  .dir__fig { grid-row: 1; grid-column: 1; }
  .dir__t { display: contents; }
  .dir__t h2 { grid-row: 1; grid-column: 2; align-self: end; font-size: 40px; }
  .dir__t > *:not(h2) { grid-column: 1 / -1; }
  .dir__role { margin-top: 0 !important; }
}
/* phone register thumbnails */
@media (max-width: 899px) {
  .reg a { grid-template-columns: 84px 1fr 24px; gap: 2px 14px; align-items: center; }
  .reg__th { display: block; grid-row: 1 / span 3; grid-column: 1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
  .reg__th img { width: 100%; height: 100%; object-fit: cover; }
  .reg__code { grid-row: 1; grid-column: 2; font-size: 12px; }
  .reg__t { grid-column: 2; grid-row: 2; font-size: 23px; }
  .reg__p { grid-column: 2; grid-row: 3; }
  .reg__go { grid-column: 3; grid-row: 1 / span 3; }
}
/* inner page head balance */
@media (min-width: 900px) { .ph__grid { grid-template-columns: 7fr 4fr; align-items: center; } .ph h1 { max-width: 15ch; font-size: clamp(54px, 5.4vw, 88px); } }
.ph__dwg .fig__img { max-width: none; padding: clamp(8px, 1.4vw, 18px); }

/* ===== round 4 critic fixes ===== */
.ft { margin: 0; }
.hero__lede, .ph__lede { margin-top: 28px !important; }
.js .callbar:not(.is-shown) { transform: none; }
body.nt { padding-bottom: 0; }
@media (max-width: 1099px) { .ft { padding-bottom: 112px; } }
.legend { margin-top: 32px; }
@media (min-width: 900px) { .sec--svc .legend { margin-top: 0; } }
/* rail: index scrolls inside, title block stays */
@media (min-width: 1100px) {
  .rail { overflow: hidden; }
  .rail__idx { min-height: 0; overflow-y: auto; }
  .rail__sub a { padding: 3px 0 3px 12px; }
}
/* timeline labels below the axis */
@media (min-width: 900px) { .tl__tick--maj i { top: 30px; } .tl__events li:nth-child(odd) { padding-top: 54px; } .tl__events li:nth-child(odd)::after { height: 42px; } }
/* gallery grid: aligned tops, two aspect ratios */
@media (min-width: 900px) {
  .mosaic .fig { margin-top: 0 !important; }
  .mosaic--two .m1 { grid-column: 1 / 9; } .mosaic--two .m1 .fig__img { aspect-ratio: 3 / 2; }
  .mosaic--two .m2 { grid-column: 9 / 13; } .mosaic--two .m2 .fig__img { aspect-ratio: 3 / 4.12; }
  .mosaic--three .m1 { grid-column: 1 / 13; } .mosaic--three .m1 .fig__img { aspect-ratio: 21 / 9; }
  .mosaic--three .m2 { grid-column: 1 / 7; } .mosaic--three .m3 { grid-column: 7 / 13; }
  .mosaic--three .m2 .fig__img, .mosaic--three .m3 .fig__img { aspect-ratio: 3 / 2; }
  .mosaic--four .m1 { grid-column: 1 / 8; grid-row: auto; } .mosaic--four .m1 .fig__img { aspect-ratio: 3 / 2; }
  .mosaic--four .m2 { grid-column: 8 / 13; } .mosaic--four .m3 { grid-column: 1 / 6; } .mosaic--four .m4 { grid-column: 6 / 13; }
  .mosaic--four .m4 .fig__img { aspect-ratio: 3 / 2; }
  .mosaic--dwg .m2 { margin-top: 0; }
  .mosaic--five .m1 { grid-row: auto; }
}
.mill__b figcaption::after { content: "Tap the plan to enlarge it."; display: block; width: 100%; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .mill__b figcaption::after { content: none; } }
