/* Chapman Herbert Architects, website concept by Vendrato.
   Idea: the site is laid like a Mount Gambier limestone wall. Every stone is one of the practice's buildings.
   Palette from the practice's own brand (zincalume header grey, Monument greys, logo red) and its materials (limestone, mortar). */
:root {
  --canvas: #ECE7DD;      /* sawn Mount Gambier limestone */
  --stone: #E2DBCD;       /* stone face, blank stones */
  --mortar: #CFC6B5;      /* joints */
  --zinc: #ABB3B5;        /* zincalume: the practice's header ground */
  --ink: #2B2D2F;         /* Monument */
  --ink-2: #45484B;
  --ink-3: #5C6064;
  --rule: rgba(43, 45, 47, .18);
  --red: #C4300F;         /* actions: the logo red, deepened for AA with white text */
  --red-dark: #A6280B;
  --logo-red: #E23818;
  --on-dark: #ECE7DD;
  --on-dark-2: #BFC3C4;
  --j: 6px;
  --gut: clamp(16px, 3vw, 40px);
  --wrap: 1360px;
  --sec: clamp(72px, 9vw, 144px);
  --display: 'Josefin Sans', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --ui: 'Alegreya Sans', 'Gill Sans', system-ui, sans-serif;
  --text: 'Alegreya', Georgia, 'Times New Roman', serif;
  --lime: url(https://imagedelivery.net/23Z_HuudOItjLqoJUZHfPQ/spec/chapman-herbert/images/generated/mount-gambier-limestone/w=720,q=82,f=auto,fit=scale-down);
  --lime-b: url(https://imagedelivery.net/23Z_HuudOItjLqoJUZHfPQ/spec/chapman-herbert/images/generated/mount-gambier-limestone-b/w=720,q=82,f=auto,fit=scale-down);
  --lime-c: url(https://imagedelivery.net/23Z_HuudOItjLqoJUZHfPQ/spec/chapman-herbert/images/generated/mount-gambier-limestone-c/w=720,q=82,f=auto,fit=scale-down);
  --wash: linear-gradient(rgba(236, 231, 221, .5), rgba(236, 231, 221, .5));
  --tex: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .36 0 0 0 0 .32 0 0 0 0 .26 0 0 0 .2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='520'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.018' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 18px/1.6 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--canvas); padding: 10px 14px; font-family: var(--display); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ink); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 2px; font: 500 16px/1 var(--ui); letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--line { border-color: rgba(43, 45, 47, .45); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: rgba(43, 45, 47, .06); }
.btn--ink { background: var(--ink); color: var(--canvas); }
.btn--ink:hover { background: #000; }
.btn--line-ink { border-color: rgba(43, 45, 47, .5); color: var(--ink); background: transparent; }
.btn--line-ink:hover { border-color: var(--ink); background: rgba(255, 255, 255, .25); }
.link { display: inline-flex; align-items: center; gap: 8px; font: 500 16px/1.3 var(--ui); color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding: 10px 0 4px; }
.link:hover { color: var(--red); }
.link svg { transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link--light { color: var(--on-dark); }
.link--light:hover { color: #fff; }

/* header: the practice's zincalume band, logo as published */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--canvas); color: var(--ink); border-bottom: var(--j) solid var(--mortar); transition: box-shadow .2s; }
.hdr.is-scrolled { box-shadow: 0 1px 0 rgba(43, 45, 47, .25); }
.hdr__in { width: min(1440px, 100% - 2 * var(--gut)); margin-inline: auto; align-items: stretch; display: flex; align-items: center; gap: 28px; height: 84px; transition: height .25s var(--ease); }
.hdr.is-scrolled .hdr__in { height: 64px; }
.hdr__logo { flex: none; display: flex; align-items: center; align-self: stretch; background: var(--zinc); padding: 0 10px 0 4px; margin-left: calc(var(--gut) * -1); padding-left: calc(var(--gut) - 6px); }
.hdr__logo img { height: 76px; width: auto; transition: height .25s var(--ease); }
.hdr.is-scrolled .hdr__logo img { height: 58px; }
.hdr__nav { display: flex; gap: 28px; align-items: center; }
.hdr__nav a { font: 500 16px/1 var(--ui); text-decoration: none; padding: 14px 0; border-bottom: 2px solid transparent; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { border-bottom-color: var(--ink); }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.hdr__nav a { font-family: var(--ui) !important; font-size: 17px !important; }
.hdr__tel { font: 500 15px/1.15 var(--ui); text-decoration: none; text-align: right; }
.hdr__tel span { display: block; font-weight: 400; font-size: 14px; color: #34383B; }
.hdr__tel:hover { color: var(--red-dark); }
.hdr__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(43, 45, 47, .4); border-radius: 2px; color: var(--ink); cursor: pointer; }
.drawer { background: var(--canvas); border-top: 1px solid rgba(43, 45, 47, .2); padding: 8px var(--gut) 20px; }
.drawer nav a { display: block; font: 400 28px/1.2 var(--display); text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(43, 45, 47, .15); }
.drawer__calls { display: grid; gap: 8px; margin-top: 16px; }
.drawer__calls a { font: 400 16px/1.3 var(--ui); text-decoration: none; padding: 10px 0; }
.drawer__calls b { display: block; font-weight: 500; font-size: 22px; }

/* hero: a coursed Mount Gambier limestone wall; the headline is cut along the courses */
.hero { background: var(--mortar); }
.hwall { --c: clamp(50px, 8.4vw, 132px); position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); grid-template-rows: repeat(5, var(--c)) auto; gap: var(--j); padding: var(--j); }
.hstone { grid-area: var(--d); min-width: 0; position: relative; overflow: hidden; display: block; background-color: var(--stone); background-image: linear-gradient(rgba(236, 231, 221, .3), rgba(236, 231, 221, .3)), var(--tex, var(--lime)); background-size: auto, var(--ts, 520px); background-position: 0 0, var(--tx, 0 0); filter: brightness(var(--tone, 1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 1px 0 0 rgba(255, 255, 255, .3), inset 0 -2px 4px rgba(60, 50, 35, .1), inset -1px 0 0 rgba(60, 50, 35, .08); }
.hstone--p { filter: none; }
.hstone--p img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hstone--p:hover img, .hstone--p:focus-visible img { transform: scale(1.04); }
.hstone__tag { position: absolute; left: 0; bottom: 0; max-width: 100%; background: var(--canvas); padding: 6px 10px 7px; font: 500 14px/1.25 var(--ui); color: var(--ink); transform: translateY(101%); transition: transform .4s var(--ease); }
.hstone--anchor .hstone__tag { transform: none; padding: 8px 14px 9px; font-size: 15px; }
.hstone--p:hover .hstone__tag, .hstone--p:focus-visible .hstone__tag { transform: none; }
.hstone--p:focus-visible { outline-offset: -4px; outline-width: 3px; }
.incised { position: absolute; z-index: 2; left: calc(var(--j) + clamp(16px, 2.2vw, 40px)); top: calc(var(--j) + var(--c) + var(--j)); margin: 0; font-size: calc(var(--c) * .64); line-height: calc(var(--c) + var(--j)); letter-spacing: -.025em; color: rgba(52, 46, 38, .92); mix-blend-mode: multiply; text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 0 rgba(30, 24, 16, .45); pointer-events: none; text-wrap: nowrap; }
.incised span { display: block; height: calc(var(--c) + var(--j)); padding-top: calc(var(--c) * .06); }
.hcta { grid-column: 1 / -1; position: relative; background-color: var(--canvas); background-image: linear-gradient(rgba(236, 231, 221, .75), rgba(236, 231, 221, .75)), var(--lime-c); background-size: auto, 640px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.hcta__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 4vw, 72px); align-items: center; padding: clamp(20px, 2.2vw, 32px) clamp(16px, 2.2vw, 40px); }
.hcta__p { margin: 0; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 58ch; }
.hcta__act { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-self: end; }
.hcta__calls { margin: 0; font: 400 16px/1.5 var(--ui); color: var(--ink-2); }
.hcta__calls a { color: var(--ink); font-weight: 500; text-decoration-color: rgba(43, 45, 47, .35); text-underline-offset: 4px; white-space: nowrap; }
.hcta__calls a:hover { color: var(--red-dark); }
/* intro: one statement */
.intro { padding-block: var(--sec) clamp(48px, 6vw, 96px); }
.intro__h { font-size: clamp(28px, 3.3vw, 50px); line-height: 1.12; max-width: 30em; letter-spacing: -.025em; }
.offer { margin-top: 28px; border-top: 1px solid var(--rule); }
.offer li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* feature: Main Corner at near-native size, caption beside */
.feature { padding-block: var(--sec); display: grid; grid-template-columns: 8fr 4fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.feature__fig { margin: 0; background: var(--ink); }
.feature__fig img { width: 100%; aspect-ratio: 1360 / 600; object-fit: cover; }
.feature__text h2 { font-size: clamp(30px, 3vw, 46px); line-height: 1.05; }
.feature__meta { margin: 10px 0 18px; font: 400 16px/1.4 var(--ui); color: var(--ink-3); }
.feature__text p { font-size: 17px; color: var(--ink-2); }

/* materials schedule */
.mats { background: var(--stone); padding-block: var(--sec); }
.mats__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 6vw, 112px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.mats__head h2 { font-size: clamp(40px, 5.6vw, 88px); line-height: .98; }
.mats__head p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.mats__lead { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 72px); align-items: center; padding-bottom: clamp(40px, 5vw, 80px); }
.mats__fig { margin: 0; max-width: 700px; }
.mat__also { margin: 16px 0 0; font-size: 16px; color: var(--ink-2); max-width: 52ch; }
.mats__fig img { width: 100%; aspect-ratio: 680 / 448; object-fit: cover; }
.mat__name--lead { font-size: clamp(34px, 4vw, 60px) !important; margin-bottom: 18px; }
.mats__leadtext blockquote p { font-size: clamp(21px, 2vw, 28px) !important; line-height: 1.4 !important; }
.mat { display: grid; grid-template-columns: 4fr 6fr 2fr; gap: clamp(20px, 3vw, 48px); padding-block: clamp(20px, 2.4vw, 32px); border-top: var(--j) solid var(--mortar); align-items: start; }
.mat__name { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; }
.mat blockquote, .mats__leadtext blockquote { margin: 0; }
.mat blockquote p, .mats__leadtext blockquote p { font-style: italic; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; margin: 0 0 10px; }
.mat__src { font: 400 15px/1.45 var(--ui); color: var(--ink-3); margin: 0 0 6px; }
.mat__used { font: 500 15px/1.45 var(--ui); color: var(--ink-2); margin: 0; }
.mat__stone { display: block; text-decoration: none; }
.mat__stone img { aspect-ratio: 2; width: 100%; object-fit: cover; }
.mat__stone span { display: block; font: 400 14px/1.35 var(--ui); padding-top: 8px; color: var(--ink-2); }
.mat__stone:hover span { color: var(--red); }

/* building types: one course per type, the photograph stone as long as its project count */
.sectors { padding-block: var(--sec) 0; }
.sectors__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 6vw, 112px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.sectors__head h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.06; }
.sectors__head p { margin: 0; color: var(--ink-2); font-size: 17px; }
.tcourses { background: var(--mortar); padding: var(--j); display: grid; gap: var(--j); margin-bottom: var(--sec); }
.tcourse { display: flex; gap: var(--j); height: clamp(60px, 6.2vw, 92px); text-decoration: none; color: var(--ink); }
.tcourse__photo { flex-basis: 0; min-width: 0; overflow: hidden; background: var(--stone); }
.tcourse__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tcourse__stone { flex-basis: 0; min-width: 190px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 clamp(14px, 2vw, 28px); background-color: var(--stone); background-image: linear-gradient(rgba(236, 231, 221, .32), rgba(236, 231, 221, .32)), var(--lime); background-size: auto, 520px; background-position: 0 0, var(--tx, 0 0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.tcourse__name { font: 400 clamp(20px, 2.2vw, 34px)/1.05 var(--display); letter-spacing: -.02em; color: rgba(43, 40, 34, .95); text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.tcourse__n { font: 500 16px/1 var(--ui); color: var(--ink-2); white-space: nowrap; }
.tcourse:hover .tcourse__name, .tcourse:focus-visible .tcourse__name { color: var(--red-dark); }
.tcourse:hover img { transform: scale(1.04); }
.tcourse:focus-visible { outline-offset: -3px; }

.mat__proj { margin-top: 4px; }
.mat { grid-template-columns: 4fr 6fr 2fr; }
/* services: stages as stone courses */
.scourses { background: var(--mortar); padding: var(--j); display: grid; gap: var(--j); }
.scourse { display: flex; gap: var(--j); }
.scourse__stone { flex: 1 1 auto; min-width: 0; padding: clamp(20px, 2.4vw, 36px); background-color: var(--stone); background-image: var(--wash), var(--lime); background-size: auto, 520px; background-position: 0 0, var(--tx, 0 0); }
.scourse__stone h2 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; margin-bottom: 10px; color: rgba(43, 40, 34, .95); text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.scourse__stone p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.scourse__rest { flex-basis: 0; min-width: 40px; background-color: var(--stone); background-image: var(--wash), var(--lime-b); background-size: auto, 600px; background-position: 0 0, var(--tx, 0 0); }
.faq__item { border-top: var(--j) solid var(--mortar) !important; }

/* one-line services band */
.svcline { display: grid; grid-template-columns: 5fr 7fr; gap: 16px clamp(28px, 6vw, 112px); border-top: var(--j) solid var(--mortar); padding-block: clamp(40px, 5vw, 72px) var(--sec); align-items: start; }
.svcline h2 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; grid-row: span 2; }
.svcline p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.svcline .link { justify-self: start; }

/* services (home) */
.svc { padding-block: 0 var(--sec); }
.svc__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 112px); border-top: var(--j) solid var(--mortar); padding-top: clamp(40px, 5vw, 80px); }
.svc__head h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; margin-bottom: 20px; }
.svc__head p { color: var(--ink-2); }
.stages li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.stages li:first-child { padding-top: 0; }
.stages h3, .stages h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; margin-bottom: 10px; display: flex; gap: 14px; align-items: baseline; }
.stages__n { font: 500 16px/1 var(--ui); color: var(--red); min-width: 14px; }
.stages p { margin: 0; color: var(--ink-2); max-width: 60ch; }

/* awards: date stones laid on the Monument field */
.awards { background: var(--ink); color: var(--on-dark); padding-block: var(--sec); }
.awards__top { display: grid; grid-template-columns: 6fr 4fr 2fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.awards__top h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; }
.awards__top p { margin: 0; color: var(--on-dark-2); font-size: 17px; }
.dwall { max-width: 1520px; margin: 0 auto; padding-inline: var(--j); }
.dcourse { display: flex; gap: var(--j); margin: 0 0 var(--j); padding: 0; list-style: none; }
.dcourse > li { flex: 1 1 0; min-width: 0; }
.dcourse .half { flex: .5 1 0; background-color: var(--stone); background-image: var(--wash), var(--lime); background-size: auto, 520px; background-position: 0 0, 200px 90px; }
.dcourse .half--fill { flex: 1 1 0; }
.dstone { background-color: var(--stone); background-image: var(--wash), var(--lime); background-size: auto, 520px; background-position: var(--tx, 0 0); color: var(--ink); padding: clamp(18px, 2vw, 28px); min-height: clamp(180px, 15vw, 230px); display: flex; flex-direction: column; }
.dstone__y { font: 400 clamp(32px, 3vw, 46px)/1 var(--display); letter-spacing: -.02em; color: rgba(52, 46, 38, .8); text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 -1px 0 rgba(0, 0, 0, .15); margin-bottom: auto; padding-bottom: 14px; }
.dstone__name { font: 500 17px/1.35 var(--ui); margin: 0 0 6px; }
.dstone__proj { font: 400 16px/1.4 var(--ui); margin: 0; color: var(--ink-2); }
.dstone__proj a { text-underline-offset: 3px; text-decoration-color: rgba(43, 45, 47, .4); }
.dstone__proj a:hover { color: var(--red-dark); }
/* awards with citations (practice page) */
.awards__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.awards__head { position: sticky; top: 112px; }
.awards__head h2 { font-size: clamp(34px, 4vw, 62px); line-height: 1.02; margin-bottom: 20px; }
.awards__head p { color: var(--on-dark-2); }
.awards__list { border-top: 1px solid rgba(236, 231, 221, .3); }
.award { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(236, 231, 221, .16); }
.award__y { font: 400 30px/1 var(--display); color: var(--on-dark); padding-top: 2px; }
.award__name { font: 500 18px/1.35 var(--ui); margin: 0 0 4px; }
.award__proj { margin: 0; color: var(--on-dark-2); font-size: 16px; }
.award__proj a { color: var(--on-dark); text-decoration-color: rgba(236, 231, 221, .45); text-underline-offset: 3px; }
.award__note { margin: 10px 0 0; color: var(--on-dark-2); font-size: 16px; font-style: italic; max-width: 64ch; }

/* people */
.team { padding-block: var(--sec); }
.team__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.team__head h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; }
.people { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 96px); border-top: 1px solid var(--ink); }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.person img { width: 112px; height: 112px; object-fit: cover; filter: grayscale(1) sepia(.15) contrast(1.02); }
.person h3 { font-size: 28px; line-height: 1.1; }
.person__role { font: 400 15px/1.4 var(--ui); color: var(--ink-3); margin: 6px 0 12px; }
.person p:last-child { margin-bottom: 0; }
.person p { font-size: 16px; color: var(--ink-2); }

/* faq */
.faq { padding-block: 0 var(--sec); }
.faq h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; margin-bottom: 36px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 96px); }
.faq__item { border-top: 1px solid var(--rule); padding: 22px 0 10px; }
.faq__item h3 { font: 500 20px/1.3 var(--ui); letter-spacing: -.01em; margin-bottom: 10px; }
.faq__item p { font-size: 16.5px; color: var(--ink-2); }

/* offices: zincalume field */
.offices { background: var(--mortar); padding-block: var(--sec); }
.offices__h { font-size: clamp(32px, 4vw, 60px); line-height: 1.04; max-width: 18ch; margin-bottom: clamp(32px, 4vw, 56px); }
.offices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--j); background: transparent; }
.office { position: relative; overflow: hidden; background-color: var(--stone); background-image: var(--wash), var(--lime); background-size: auto, 520px; background-position: var(--tx, 0 0); padding: clamp(24px, 3.4vw, 52px); }
.office__year { margin: 0 0 6px; font: 400 clamp(56px, 6vw, 96px)/1 var(--display); letter-spacing: -.035em; color: rgba(52, 46, 38, .85); text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 0 rgba(30, 24, 16, .3); }
.office__since { font: 500 15px/1 var(--ui); color: var(--ink-3); margin: -8px 0 14px; position: relative; }
.office__name { font-size: clamp(36px, 4vw, 60px); line-height: 1; margin-bottom: 18px; position: relative; }
.office__addr { color: var(--ink-2); }
.office__phone { font: 400 clamp(24px, 2.2vw, 32px)/1.2 var(--display); margin-bottom: 6px; }
.office__phone a, .office__mail a { text-decoration: none; }
.office__phone a:hover, .office__mail a:hover { color: var(--red); }
.office__mail { font: 400 16px/1.4 var(--ui); color: var(--ink-2); overflow-wrap: anywhere; }
.office__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* footer */
.ftr { background: var(--ink); color: var(--on-dark-2); padding: 64px 0 32px; font: 400 15px/1.55 var(--ui); }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__grid { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(236, 231, 221, .16); }
.ftr__word { font-size: 24px; color: var(--on-dark); letter-spacing: -.01em; margin-bottom: 10px; }
.ftr__h { color: var(--on-dark); font-weight: 500; margin-bottom: 6px; }
.ftr__nav { display: grid; gap: 4px; align-content: start; }
.ftr__nav a { padding: 6px 0; }
.ftr__credit { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.ftr__credit p { margin: 0; }
.ftr__credit a { text-decoration: underline; text-underline-offset: 2px; }

.callbar { display: none; }

/* inner page heads */
.phead { padding-block: clamp(56px, 7vw, 112px) clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 96px); align-items: end; }
.phead h1 { font-size: clamp(38px, 5vw, 80px); line-height: 1.02; letter-spacing: -.03em; }
.phead__p { margin: 0; color: var(--ink-2); max-width: 52ch; }

/* projects: filters */
.pfilter { display: grid; gap: 12px; padding-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips { align-items: center; gap: 2px 4px !important; }
.chips__l { font: 500 14px/1 var(--ui); color: var(--ink-3); width: 56px; }
.chip { min-height: 44px; padding: 0 10px; border: 0; border-radius: 0; background: transparent; color: var(--ink-2); font: 400 16px/1 var(--ui); cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 8px; text-decoration-thickness: 2px; transition: color .15s, text-decoration-color .15s; }
.chip span { color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.chip:hover { color: var(--ink); text-decoration-color: var(--mortar); }
.chip[aria-pressed="true"] { color: var(--ink); font-weight: 500; text-decoration-color: var(--red); }

.fsels { display: none; gap: 10px; }
.fsel { display: grid; gap: 4px; font: 500 14px/1 var(--ui); color: var(--ink-3); }
.fsel select { min-height: 48px; font: 400 16px/1 var(--ui); color: var(--ink); background: var(--canvas); border: 1px solid rgba(43, 45, 47, .4); border-radius: 2px; padding: 0 10px; }
.pcount { margin: 6px 0 0; font: 500 16px/1.3 var(--ui); color: var(--ink-2); }

/* projects: the wall */
.pwall-wrap { background: var(--mortar); padding: var(--j) 0 0; }
.pwall { max-width: 1520px; margin-inline: auto; padding-inline: var(--j); overflow: hidden; }
.pcourse { display: flex; gap: var(--j); margin-bottom: var(--j); }
.pcourse > * { flex: 1 1 0; min-width: 0; }
.pcourse .half { flex: .5 1 0; background-color: var(--stone); background-image: var(--wash), var(--lime); background-size: auto, 520px; }
.pstone { position: relative; display: block; padding: 0; border: 0; border-radius: 0; background-color: var(--stone); background-image: var(--wash), var(--lime); background-size: auto, 520px; aspect-ratio: 1.62; overflow: hidden; cursor: pointer; text-align: left; color: var(--ink); font: inherit; }
.pstone img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.pstone:hover img { transform: scale(1.035); }
.pstone__tag { position: absolute; left: 0; bottom: 0; max-width: calc(100% - 12px); background: var(--canvas); padding: 8px 12px 9px; display: grid; gap: 1px; transition: background-color .4s; }
.pstone__name { font: 500 15px/1.25 var(--ui); }
.pstone__place { font: 400 14px/1.3 var(--ui); color: var(--ink-3); }
.pcourse > .pstone--award { flex-grow: 1.5; }
.pstone.is-off img { opacity: 0; transform: none; }
.pstone.is-off .pstone__tag { background: transparent; }
.pstone.is-off .pstone__name { color: var(--ink-3); text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.pstone.is-off .pstone__place { color: var(--ink-3); }
.pstone:focus-visible { outline-offset: -4px; outline-width: 3px; }

.pindex-wrap { padding-block: var(--sec); }
.pindex-wrap h2 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 24px; }
.pindex { width: 100%; border-collapse: collapse; font: 400 16px/1.4 var(--ui); }
.pindex th, .pindex td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.pindex thead th { font-weight: 500; color: var(--ink-3); font-size: 14px; border-bottom: 1px solid var(--ink); }
.pindex tbody th { font-weight: 500; }
.pindex tbody th a { text-decoration: none; border-bottom: 1px solid rgba(43, 45, 47, .3); }
.pindex tbody th a:hover { color: var(--red); border-color: currentColor; }
.pindex td { color: var(--ink-2); }
.pindex tr.is-off th, .pindex tr.is-off td { opacity: .45; }

/* project sheet dialog */
.sheet { width: min(1200px, 100% - 32px); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 0; background: var(--canvas); color: var(--ink); overflow: hidden; }
.sheet::backdrop { background: rgba(28, 29, 31, .78); }
.sheet__in { display: grid; grid-template-columns: 7fr 5fr; max-height: calc(100dvh - 48px); }
.sheet__media { background: var(--mortar); padding: var(--j); display: grid; gap: var(--j); align-content: start; overflow: auto; }
.sheet__main { margin: 0; background: var(--stone); }
.sheet__main img { width: 100%; aspect-ratio: 680 / 448; object-fit: cover; }
.sheet__thumbs { display: flex; flex-wrap: wrap; gap: var(--j); }
.sheet__thumbs button { padding: 0; border: 0; width: 96px; aspect-ratio: 1.5; background: var(--stone); cursor: pointer; opacity: .65; transition: opacity .15s; }
.sheet__thumbs button[aria-current="true"], .sheet__thumbs button:hover { opacity: 1; }
.sheet__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { position: relative; padding: 40px clamp(24px, 3vw, 44px) 28px; overflow: auto; display: flex; flex-direction: column; }
.sheet__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(43, 45, 47, .3); border-radius: 2px; cursor: pointer; color: var(--ink); }
.sheet__close:hover { border-color: var(--ink); }
.sheet__meta { font: 500 15px/1.4 var(--ui); color: var(--ink-3); margin: 0 52px 10px 0; }
.sheet__title { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; margin: 0 40px 18px 0; }
.sheet__awards { margin: 0 0 18px; border-top: var(--j) solid var(--mortar); padding-top: 10px; }
.sheet__awards li { font: 500 15px/1.4 var(--ui); color: var(--red-dark); padding: 4px 0; }
.sheet__body p { font-size: 17px; color: var(--ink-2); }
.sheet__credit { font: 400 14px/1.4 var(--ui) !important; color: var(--ink-3) !important; }
.sheet__foot { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

/* services page */
.svcpage { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 112px); padding-block: clamp(24px, 3vw, 48px) var(--sec); align-items: start; }
.svcpage__fig { margin: 0; position: sticky; top: 104px; }
.svcpage__fig img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
figcaption { font: 400 15px/1.45 var(--ui); color: var(--ink-3); padding-top: 10px; }
.stages--page li { padding: 28px 0; }
.stages--page h2 { font-size: clamp(28px, 3vw, 44px); }
.stages--page p { font-size: 18px; }
.also { background: var(--stone); padding-block: var(--sec); }
.also__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 112px); }
.also h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; }
.also__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); }
.also__list div { border-top: var(--j) solid var(--mortar); padding: 18px 0 22px; }
.also__list dt { font: 500 22px/1.2 var(--ui); margin-bottom: 8px; }
.also__list dd { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.why { padding-block: 0 var(--sec); }
.why h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; margin-bottom: 20px; max-width: 20ch; }
.offer--big { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); }
.offer--big li { font-size: 18px; }
.why__close { margin-top: 28px; font-size: 19px; max-width: 60ch; }

/* about */
.aboutfig { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 112px); align-items: end; padding-bottom: var(--sec); }
.aboutfig figure { margin: 0; }
.aboutfig img { width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.awards--full .awards__list { border-top-color: rgba(236, 231, 221, .3); }

/* contact */
.enq { padding-block: var(--sec); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 112px); }
.enq__head h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; margin-bottom: 16px; }
.enq__head p { color: var(--ink-2); font-size: 17px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__row { display: grid; gap: 6px; }
.form__row--full { grid-column: 1 / -1; }
.form label { font: 500 15px/1.2 var(--ui); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; font: 400 16px/1.4 var(--ui); color: var(--ink); background: #F6F3EE; border: 1px solid rgba(43, 45, 47, .4); border-radius: 2px; padding: 10px 12px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__note { margin: 0; font: 400 15px/1.4 var(--ui); color: var(--ink-3); }
.form__done { grid-column: 1 / -1; background: var(--ink); color: var(--on-dark); padding: 20px 22px; }
.form__done p { margin: 0; }
.form__done a { color: #fff; }

/* Alegreya runs small: normalise its x-height (Josefin display type is left as set) */
* { font-size-adjust: .5 !important; }
h1, h2, h3, h4, .incised, .incised span, .dstone__y, .award__y, .tcourse__name, .office__phone, .office__name, .mat__name, .sheet__title, .office__year, .hdr__logo { font-size-adjust: none !important; }

/* people beside their work */
.team__head p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 54ch; }
.person__award { display: flex; gap: 12px; align-items: baseline; margin: 14px 0 0; padding: 10px 14px; background-color: var(--stone); background-image: var(--wash), var(--lime); background-size: auto, 520px; font: 400 16px/1.4 var(--ui); color: var(--ink-2); }
.person__award span { font: 400 26px/1 var(--display); color: rgba(52, 46, 38, .85); text-shadow: 0 1px 0 rgba(255, 255, 255, .7); flex: none; }
.person__work { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; }
.person__worklabel { font: 500 15px/1 var(--ui); color: var(--ink-3); margin-right: 4px; }
.pchip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; background: var(--mortar); color: var(--ink); text-decoration: none; font: 500 15px/1 var(--ui); transition: background-color .15s, color .15s; }
.pchip b { font-weight: 400; color: var(--ink-3); }
.pchip:hover, .pchip:focus-visible { background: var(--ink); color: var(--canvas); }
.pchip:hover b, .pchip:focus-visible b { color: var(--on-dark-2); }
/* closing case: The Main Corner */
.feature__quote { margin: 0 0 16px; }
.feature__quote p { font-style: italic; font-size: 18px !important; color: var(--ink) !important; }
.feature__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.feature__strip { grid-column: 1 / -1; display: flex; gap: var(--j); background: var(--mortar); padding: var(--j); }
.feature__stone { flex: 1 1 0; min-width: 0; display: block; overflow: hidden; }
.feature__stone img { width: 100%; aspect-ratio: 1.6; object-fit: cover; transition: transform .8s var(--ease); }
.feature__stone:hover img { transform: scale(1.04); }

/* comfortable tap targets for inline links */
.hcta__calls a, .dstone__proj a, .office__phone a, .office__mail a, .ftr p a, .pindex tbody a, .award__proj a, .enq__head a, .form__done a { display: inline-block; padding-block: 7px; }
.hcta__calls { line-height: 1.25; }

/* reveal (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__tel { display: none; }
}
@media (max-width: 1099px) {
  .hcta__in { grid-template-columns: 1fr; }
  .hcta__act { justify-self: start; }
  .svcline { grid-template-columns: 1fr; }
  .svcline h2 { grid-row: auto; }
  .mats__head, .feature, .mats__lead, .sectors__head, .awards__top, .phead, .svc__grid, .awards__grid, .enq, .also__grid, .svcpage, .aboutfig { grid-template-columns: 1fr; }
  .tcourse { flex-wrap: wrap; }
  .tcourse .half { display: none; }

  .awards__head { position: static; }
  .svcpage__fig { position: static; }
  .mat { grid-template-columns: 1fr 1fr; }
  .mat__name { grid-column: 1 / -1; }
  .feature__label { margin-top: -64px; max-width: 640px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .sheet__in { grid-template-columns: 1fr; overflow: auto; }
  .sheet__media, .sheet__body { overflow: visible; }
}
@media (max-width: 899px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
  .hdr__in { height: 64px; gap: 12px; }
  .hdr__logo img { height: 56px; }
  .hdr.is-scrolled .hdr__logo img { height: 50px; }
  .hdr__act { gap: 10px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -1px 0 rgba(0, 0, 0, .2); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: var(--on-dark); font: 500 15px/1 var(--ui); text-decoration: none; border-right: 1px solid rgba(236, 231, 221, .16); }
  .callbar .callbar__enq { background: var(--red); color: #fff; border-right: 0; }
  body { padding-bottom: 56px; }
  body.sheet-open .callbar { display: none; }
  .people, .faq__grid, .also__list, .offer--big { grid-template-columns: 1fr; }
  .feature__strip { flex-wrap: wrap; }
  .feature__stone { flex-basis: 40%; }
}
@media (max-width: 759px) {
  :root { --j: 5px; }
  body { font-size: 17px; }
  .hwall { --c: 50px; grid-template-rows: 128px repeat(4, var(--c)) auto; }
  .hstone { grid-area: var(--m); }
  .m-hide { display: none; }
  .hstone__tag, .hstone--anchor .hstone__tag { display: none; }
  .incised { font-size: 31px; left: calc(var(--j) + 12px); top: calc(var(--j) + 128px + var(--j)); }
  .tcourse { height: auto; flex-wrap: wrap; }
  .tcourse__photo { height: 44px; flex-basis: 0; }
  .tcourse__stone { flex: 1 1 100% !important; order: -1; min-width: 0; padding: 10px 12px; }
  .tcourse__name { font-size: 20px; }
  .tcourse__n { font-size: 14px; }
  .dcourse > .dstone { flex: 1 1 100% !important; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 14px; padding: 14px 16px; }
  .dstone__y { font-size: 30px; padding: 0; margin: 0; flex: none; }
  .dstone__name { flex: 1 1 0; min-width: 0; margin: 0; }
  .dstone__proj { flex: 1 1 100%; padding-left: 0; margin-top: 4px; }
  .plaque__calls { display: none; }
  .plaque__cta .btn--line { display: none; }
  .dcourse { flex-wrap: wrap; }
  .dcourse .half { display: none; }
  .dstone--x { display: none; }
  .plaque { position: relative; top: auto; left: auto; width: auto; min-height: 0; margin: 0 var(--j) var(--j); padding: 24px 20px 22px; }
  .plaque__line { font-size: 14px; margin-bottom: 14px; }
  .plaque__h1 { font-size: clamp(36px, 10.4vw, 46px); max-width: none; }
  .plaque__p { font-size: 16.5px; margin-top: 14px; }
  .plaque__cta { margin-top: 18px; }
  .plaque__cta .btn { flex: 1 1 40%; padding: 0 12px; gap: 8px; }
  .plaque__cta .btn--red { flex-basis: 100%; }
  .hide-s { display: none; }
  .plaque__more { padding-top: 16px; }
  .hdr__act .btn { display: none; }
  .mat { grid-template-columns: 1fr; gap: 8px; }
  .mat blockquote p { font-size: 17px; }
  .scourse__rest { display: none; }
  .mat__stones { max-width: 100%; }
  .sector a { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .sector__ex { grid-column: 1 / -1; grid-row: 2; }
  .person { grid-template-columns: 80px 1fr; gap: 16px; }
  .person img { width: 80px; height: 80px; }
  .offices__grid { grid-template-columns: 1fr; }
  .award { grid-template-columns: 64px 1fr; gap: 14px; }
  .award__y { font-size: 24px; }
  .chips { display: none; }
  .fsels { display: grid; grid-template-columns: 1fr 1fr; }
  .pstone { aspect-ratio: 1.3; }
  .pstone__tag { padding: 6px 8px 7px; max-width: 100%; }
  .pstone__name { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pstone__place { display: none; }
  .pstone .pstone__tag { transform: none; }
  .pindex th:nth-child(3), .pindex td:nth-child(3), .pindex th:nth-child(4), .pindex td:nth-child(4) { display: none; }
  .form { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .sheet { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .sheet__in { max-height: 100dvh; height: 100dvh; }
  .sheet__thumbs button { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .stone:hover img, .pstone:hover img { transform: none; }
}
