/* i4 Architecture concept (Vendrato). Hand-written; replaces the old Tailwind build. */
:root {
  --paper: #f3f2ee;
  --paper-2: #e8e6e0;
  --white: #ffffff;
  --ink: #121413;
  --ink-2: #272b29;
  --ink-3: #4a4f4c;
  --rule: #d3d1c9;
  --dark: #151716;
  --dark-2: #202322;
  --on-dark: #f3f2ee;
  --on-dark-2: #d0d3cf;
  --lime: #b6d440;
  --lime-2: #a3c12f;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1360px;
  --gut: 20px;
  --sec: 88px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --hh: 72px;
}
@media (min-width: 768px) { :root { --gut: 32px; --sec: 120px; } }
@media (min-width: 1200px) { :root { --gut: 40px; --sec: 144px; --hh: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-stretch: 100%; font-weight: 400;
  font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
.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(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--lime-2); outline-offset: 3px; }
.dark :focus-visible, .site-footer :focus-visible, .hero-panel :focus-visible { outline-color: var(--lime); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ic { flex: none; }

/* type: Archivo throughout, wide cut for display */
.display { font-stretch: 112%; font-weight: 500; letter-spacing: -0.036em; line-height: 0.96; font-size: clamp(42px, 7.4vw, 112px); }
.display-sm { font-size: clamp(44px, 7vw, 104px); }
.h2 { font-stretch: 108%; font-size: clamp(30px, 3.1vw, 44px); letter-spacing: -0.024em; line-height: 1.06; }
.h3 { font-stretch: 106%; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 16px; }
.statement { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.012em; line-height: 1.16; font-weight: 400; }

/* captions */
.cap { display: block; margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-3); }
.cap-name { color: var(--ink); font-weight: 500; font-size: 17px; }
.cap-type { margin-left: 10px; }
.cap-render { display: inline-block; margin-left: 10px; padding: 1px 8px; border: 1px solid currentColor; border-radius: 2px; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.cap-desc { display: block; margin-top: 4px; color: var(--ink-2); max-width: 46em; font-family: var(--serif); font-size: 17px; }
.dark .cap, .cap-ondark { color: var(--on-dark-2); }
.dark .cap-name { color: var(--on-dark); }

/* buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 2px; border: 1px solid transparent;
  font: 500 16px/1 var(--display); font-stretch: 104%; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--lime); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--lime); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ondark { border-color: rgba(243,242,238,.7); color: var(--on-dark); }
.btn-ondark:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.tlink {
  text-decoration-color: var(--lime);
  display: inline-flex; align-items: center; gap: 8px; font: 500 17px/1.3 var(--display); text-decoration: none; color: inherit;
  background: none; border: 0; border-bottom: 2px solid var(--lime-2); padding: 10px 0 4px; min-height: 44px; cursor: pointer;
}
.tlink .ic { transition: transform .16s var(--ease); }
.tlink:hover .ic { transform: translateX(4px); }
.tlink-ondark { color: var(--on-dark); }

/* header: paper, condenses once scrolled */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hh); color: var(--ink); background: var(--paper); box-shadow: 0 1px 0 rgba(0,0,0,0); transition: height .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease); }
.site-header.is-solid { background: rgba(243,242,238,.97); box-shadow: 0 1px 0 var(--rule); }
.header-row { display: flex; align-items: center; height: var(--hh); gap: 24px; transition: height .25s var(--ease); }
.brand { display: block; position: relative; flex: none; }
.logo { height: 54px; width: auto; transition: height .25s var(--ease); }
.logo-white { display: none; }
@media (min-width: 1200px) {
  .logo { height: 62px; }
}
.nav { display: none; gap: 36px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hcall { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.hcall span { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.header-actions .btn-sm { padding: 0 14px; display: none; }
@media (min-width: 640px) { .header-actions .btn-sm { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-actions { margin-left: 40px; gap: 24px; }
  .hcall span { display: inline; }
  .menu-btn { display: none; }
}
.mnav { background: var(--paper); border-top: 1px solid var(--rule); max-height: calc(100svh - var(--hh)); overflow: auto; }
.mnav nav { display: flex; flex-direction: column; padding-block: 12px 28px; }
.mnav nav > a { font-stretch: 108%; font-size: 30px; letter-spacing: -0.02em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.mnav nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mnav-contact { margin: 20px 0 0; font-size: 18px; line-height: 2.2; }

/* hero: the photograph full bleed, the headline set against it on a soft falloff */
.hero { position: relative; margin-top: var(--hh); min-height: calc(100svh - var(--hh)); display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); background: var(--dark); overflow: hidden; }
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.04); opacity: .5; } to { transform: none; opacity: 1; } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,15,0) 30%, rgba(14,16,15,.55) 58%, rgba(14,16,15,.9) 100%); }
.hero-band { position: relative; padding-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 10.6vw, 64px); max-width: 13ch; }
.hero-lead { margin: 16px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; color: #e6e7e3; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-cta .btn-primary { flex: 1 1 auto; background: var(--paper); color: var(--ink); }
.hero-cta .btn-primary:hover { background: var(--lime); }
.cap-hero { position: absolute; right: var(--gut); top: 14px; color: #fff; font-size: 15px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.5); text-align: right; }
.cap-hero .cap-name, .cap-hero .cap-type { color: #fff; }
@media (min-width: 1024px) {
  .hero { min-height: min(calc(100svh - var(--hh)), 980px); }
  .hero-scrim { background: linear-gradient(180deg, rgba(14,16,15,0) 40%, rgba(14,16,15,.5) 66%, rgba(14,16,15,.88) 100%), linear-gradient(90deg, rgba(14,16,15,.45) 0%, rgba(14,16,15,0) 55%); }
  .hero-band { display: grid; grid-template-columns: 8fr 4fr; gap: 24px 56px; align-items: end; padding-bottom: 64px; }
  .hero h1 { grid-column: 1; font-size: clamp(56px, 5.6vw, 92px); max-width: 13ch; }
  .hero-lead { grid-column: 2; grid-row: 1; font-size: 21px; margin: 0; }
  .hero-cta { grid-column: 1 / -1; margin-top: 8px; }
  .hero-cta .btn-primary { flex: none; }
  .cap-hero { top: auto; bottom: 24px; }
}

/* sections */
.sec { padding-block: var(--sec); }
.dark { background: var(--dark); color: var(--on-dark); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.sec-note { margin: 0; max-width: 30em; color: var(--ink-2); }
.dark .sec-note { color: var(--on-dark-2); }
.sec-note .tlink { margin-left: 6px; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 64px; } }

.intro-grid { display: grid; gap: 32px; }
.intro-copy { color: var(--ink-2); max-width: 36em; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; } .intro-copy { padding-top: 10px; } }

/* selected work: strict 12-column rows, one dominant image per row */
.work { padding-top: 0; }
.services { padding-top: 0; }
.services .wrap { border-top: 1px solid var(--rule); padding-top: var(--sec); }
.tiles { display: grid; gap: 48px 24px; }
.tile { margin: 0; min-width: 0; }
.tile-link { display: block; text-decoration: none; }
.tile-img { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 2; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile-link:hover .tile-img img { transform: scale(1.03); }
.tile .cap { margin-top: 16px; }
.tile-link:hover .cap-name { text-decoration: underline; text-underline-offset: 4px; }
.t-full .tile-img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(12, 1fr); gap: 72px 32px; }
  .t-full { grid-column: 1 / -1; }
  .t-full .tile-img { aspect-ratio: 21 / 9; }
  .t-7 { grid-column: span 7; }
  .t-5 { grid-column: span 5; }
  .t-7 .tile-img, .t-5 .tile-img { aspect-ratio: auto; height: clamp(360px, 36vw, 540px); }
}

/* services by phase (home) */
.svc-grid { display: grid; gap: 40px; }
.svc-head p { color: var(--ink-2); margin-top: 20px; max-width: 28em; }
.phases { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.services .sec-head { align-items: baseline; }
.ph { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.ph-t { font-stretch: 108%; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.018em; line-height: 1.1; }
.ph-s { font-weight: 500; margin: 0 0 6px; }
.ph-b p:last-child { margin: 0; color: var(--ink-2); }
.ph-a { margin: 0; color: var(--ink-2); max-width: 38em; }
@media (min-width: 1024px) {
  .ph { grid-template-columns: 5fr 7fr; gap: 48px; padding: 32px 0; align-items: baseline; }
}

/* FAQ, always visible */
.faq-grid { display: grid; gap: 40px; }
.faq-head p { color: var(--ink-2); margin-top: 20px; }
.qas { border-top: 1px solid var(--ink); }
.qa { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.qa h3 { font-stretch: 104%; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.012em; line-height: 1.25; margin-bottom: 10px; }
.qa p { margin: 0; color: var(--ink-2); max-width: 44em; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 72px; } .faq-head { position: sticky; top: calc(var(--hh) + 40px); align-self: start; } }

/* closing band */
.close { display: grid; }
.close-media { min-height: 300px; position: relative; }
.close-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close-body { padding: 56px var(--gut) 64px; }
.close-body > p { color: var(--on-dark-2); margin-top: 16px; }
.close-phone { margin: 28px 0 0 !important; }
.close-phone a { font-stretch: 112%; font-weight: 500; font-size: clamp(44px, 5.4vw, 80px); letter-spacing: -0.03em; line-height: 1; text-decoration: none; color: var(--on-dark); font-variant-numeric: tabular-nums; border-bottom: 3px solid var(--lime); padding-bottom: 4px; }
.close-phone a:hover { color: var(--lime); }
.close-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
@media (min-width: 1024px) {
  .close { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .close-body { padding: 112px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 112px 80px; align-self: center; }
}

/* footer */
.site-footer { background: #0e100f; color: var(--on-dark-2); padding-block: 72px 112px; font-size: 16px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-top { padding-bottom: 40px; border-bottom: 1px solid rgba(243,242,238,.14); }
.foot-line { font-stretch: 106%; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.015em; color: var(--on-dark); max-width: 26em; margin: 0; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-block: 0 40px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-logo { height: 72px; width: auto; }
.foot-h { font-size: 14px; font-weight: 500; color: var(--on-dark-2); margin-bottom: 10px; }
.foot-grid p { margin: 0; color: var(--on-dark); line-height: 1.7; }
.foot-links a { display: inline-block; margin-right: 16px; }
.credit { margin: 0; padding-top: 24px; border-top: 1px solid rgba(243,242,238,.14); font-size: 14px; color: var(--on-dark-2); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1024px) {
  .foot-grid { grid-template-columns: 1.2fr 1fr 1.2fr 1fr 1.3fr; }
  .site-footer { padding-bottom: 56px; }
}

/* mobile action bar, shown once the in-page call button has scrolled away */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(243,242,238,.97); box-shadow: 0 -1px 0 var(--rule); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.is-on { transform: none; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 2px; text-decoration: none; font-weight: 500; }
.mbar-call { background: var(--ink); color: var(--paper); }
.mbar-enq { border: 1px solid var(--ink); color: var(--ink); }
@media (min-width: 1024px) { .mbar { display: none; } }

/* inner page heroes */
.page-hero { padding-top: calc(var(--hh) + 64px); padding-bottom: 48px; }
.page-hero h1 { max-width: 14ch; }
.page-lead { max-width: 34em; font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ink-2); margin-top: 24px; }
@media (min-width: 1024px) { .page-hero { padding-top: calc(var(--hh) + 104px); padding-bottom: 64px; } .page-lead { font-size: 23px; } }
.split-hero { display: grid; gap: 40px; }
.split-hero h1 { max-width: 12ch; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .cap { margin-top: 12px; }
@media (min-width: 1024px) { .split-hero { grid-template-columns: 6fr 6fr; gap: 64px; align-items: end; } }

/* projects page: register + preview */
.reg-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 0 2px; margin-right: 18px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; font: 500 15px/1 var(--display); color: var(--ink); cursor: pointer; transition: border-color .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease); }
.chip:hover { border-bottom-color: var(--rule); }
.chip[aria-pressed="true"] { border-bottom-color: var(--ink); }
.reg { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.reg-row a { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; align-items: baseline; transition: padding .2s var(--ease); }
.reg-n { font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.reg-t { font-stretch: 106%; font-size: 21px; letter-spacing: -0.015em; font-weight: 500; line-height: 1.25; }
.reg-c { font-size: 15px; color: var(--ink-3); text-align: right; }
.reg-row a:hover .reg-t { text-decoration: underline; text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.reg-row.is-hidden { display: none; }
@media (min-width: 1024px) {
  .reg { columns: 2; column-gap: 64px; border-top: 0; }
  .reg-row { break-inside: avoid; }
  .reg-row:first-child a { border-top: 1px solid var(--ink); }
  .reg-row:nth-child(9) a { border-top: 1px solid var(--ink); }
  .reg-row a:hover { padding-left: 10px; }
}
.ix-float { display: none; }
@media (min-width: 1024px) {
  .ix-float { display: block; position: fixed; left: 0; top: 0; z-index: 30; width: 360px; height: 270px; object-fit: cover; pointer-events: none; opacity: 0; transform: translate3d(-9999px, 0, 0); transition: opacity .2s var(--ease); box-shadow: 0 16px 48px rgba(0,0,0,.28); }
  .ix-float.is-on { opacity: 1; }
}

/* project entries: three layouts in rotation */
.projs { padding-top: 48px; padding-bottom: var(--sec); }
.proj { display: grid; gap: 16px; padding-top: 72px; }
.proj.v-c { padding-top: 56px; }
.proj.is-hidden { display: none; }
.proj-text { border-top: 1px solid var(--ink); padding-top: 18px; }
.proj-n { display: block; font-size: 15px; color: var(--ink-3); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.proj-t { font-stretch: 110%; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.026em; line-height: 1.04; }
.proj-meta { margin: 12px 0 0; color: var(--ink-3); font-size: 16px; }
.proj-d { margin: 16px 0 8px; color: var(--ink-2); max-width: 30em; font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.proj-lead { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 2; cursor: zoom-in; }
.proj-lead img, .g-item img { width: 100%; height: 100%; object-fit: cover; }
.proj-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-item { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; cursor: zoom-in; }
.lb-hidden { display: none; }
@media (min-width: 1024px) {
  .proj { gap: 16px 48px; padding-top: 112px; }
  .proj-text { align-self: start; position: sticky; top: calc(var(--hh) + 32px); }
  .v-a { grid-template-columns: 4fr 8fr; grid-template-areas: "text lead" "text strip"; }
  .v-c { grid-template-columns: 4fr 8fr; grid-template-areas: "text lead"; }
  .v-c .proj-lead { aspect-ratio: 16 / 9; }
  .v-b { grid-template-columns: 5fr 7fr; grid-template-areas: "lead lead" "text strip"; }
  .v-b .proj-lead { aspect-ratio: 21 / 9; }
  .v-b .proj-text { position: static; margin-top: 16px; }
  .v-b { grid-template-columns: 4fr 8fr; }
  .v-b .proj-strip { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
  .proj-text { grid-area: text; } .proj-lead { grid-area: lead; } .proj-strip { grid-area: strip; gap: 16px; }
}

/* services page */
.sv-wrap { padding-top: 24px; }
.sv-intro { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.01em; max-width: 30em; margin-bottom: 72px; }
.sv-stage { display: grid; gap: 8px; border-top: 1px solid var(--ink); padding-top: 20px; margin-bottom: 72px; }
.sv-stage-h { font-size: 16px; font-weight: 500; color: var(--ink-3); }
.sv-list { list-style: none; margin: 0; padding: 0; }
.sv { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 28px 0 32px; border-bottom: 1px solid var(--rule); }
.sv:last-child { border-bottom: 0; }
.sv-n { font-stretch: 112%; font-size: 40px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sv-t { font-stretch: 108%; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.026em; line-height: 1.05; margin-bottom: 16px; }
.sv-lead { font-size: 19px; color: var(--ink); max-width: 36em; }
.sv-body p:not(.sv-lead) { color: var(--ink-2); max-width: 38em; }
.sv-body p:last-child { margin-bottom: 0; }
.sv-photo { margin: 0 calc(var(--gut) * -1) 72px; }
.sv-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.sv-photo .cap { padding: 12px var(--gut) 0; }
@media (min-width: 1024px) {
  .sv-stage { grid-template-columns: 3fr 9fr; gap: 48px; margin-bottom: 112px; }
  .sv { grid-template-columns: 120px 1fr; gap: 0 24px; padding: 36px 0 44px; }
  .sv:first-child { padding-top: 0; }
  .sv-n { font-size: 72px; }
  .sv-photo { margin: 0 0 112px; }
  .sv-photo .cap { padding-inline: 0; }
}

/* about */
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: clamp(320px, 62vh, 760px); object-fit: cover; object-position: 50% 45%; }
.about-photo .cap { margin-top: 12px; }
.about-grid { display: grid; gap: 32px; }
.about-copy { color: var(--ink-2); max-width: 36em; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; } .about-copy { padding-top: 10px; } }
.mosaic-sec { padding-top: 0; }
.mosaic { display: grid; gap: 40px 24px; }
.m { margin: 0; min-width: 0; }
.m img { width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.m .cap { margin-top: 12px; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); gap: 64px 32px; }
  .m-a { grid-column: span 7; } .m-b { grid-column: span 5; }
  .m-c { grid-column: span 5; } .m-d { grid-column: span 7; }
  .m-a img, .m-b img, .m-c img, .m-d img { aspect-ratio: auto; height: clamp(340px, 34vw, 500px); }
}
.facts { display: grid; gap: 56px; padding-top: 0; }
.fact { border-top: 1px solid var(--ink); padding-top: 20px; }
.fact p { color: var(--ink-2); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.places { list-style: none; margin: 0 0 16px; padding: 0; font-stretch: 108%; font-size: 26px; letter-spacing: -0.02em; line-height: 1.3; }
@media (min-width: 1024px) { .facts { grid-template-columns: 5fr 3fr 4fr; gap: 48px; } }

/* contact */
.contact-grid { display: grid; gap: 64px; padding-bottom: var(--sec); }
.big-phone { display: inline-block; font-stretch: 112%; font-weight: 500; font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -0.035em; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; margin-bottom: 40px; border-bottom: 3px solid var(--lime); padding-bottom: 6px; }
.big-phone:hover { border-bottom-color: var(--ink); }
.spec { margin: 0; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.spec dt { font-size: 15px; color: var(--ink-3); }
.spec dd { margin: 0; text-align: right; }
.first-call { margin-top: 48px; }
.first-call ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.first-call li { margin-bottom: 8px; }
.enq { background: var(--white); padding: 28px 20px; display: grid; gap: 18px; align-self: start; box-shadow: inset 0 0 0 1px var(--rule); }
.enq label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.enq input, .enq select, .enq textarea { width: 100%; font: 400 16px/1.4 var(--display); color: var(--ink); background: var(--paper); border: 1px solid #a9a79f; border-radius: 2px; padding: 12px 14px; min-height: 48px; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: 2px solid var(--lime-2); outline-offset: 0; border-color: var(--ink); }
.enq .row2 { display: grid; gap: 18px; }
.enq .btn { justify-self: start; }
.form-msg { margin: 0; padding: 14px 16px; background: var(--paper-2); font-size: 16px; }
@media (min-width: 640px) { .enq .row2 { grid-template-columns: 1fr 1fr; } .enq { padding: 40px; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 6fr 5fr; gap: 80px; } }
.contact-photo figure { margin: 0; }
.contact-photo img { width: 100%; height: clamp(300px, 56vh, 680px); object-fit: cover; }
.contact-photo .cap { margin-top: 12px; padding-bottom: var(--sec); }

/* lightbox */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,14,13,.96); color: var(--on-dark); }
.lb::backdrop { background: rgba(12,14,13,.9); }
.lb[open] { display: grid; place-items: center; animation: lbIn .22s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-fig { margin: 0; padding: 64px 16px 24px; display: grid; gap: 12px; justify-items: center; max-width: 100%; }
.lb-fig img { max-width: min(92vw, 1600px); max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; }
.lb-fig figcaption { font-size: 15px; color: var(--on-dark-2); max-width: 60em; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: rgba(243,242,238,.08); color: var(--on-dark); cursor: pointer; border-radius: 2px; }
.lb-btn:hover { background: rgba(243,242,238,.18); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* reveal motion */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img img, .hero-media img { animation: none; }
  .js .reveal { transform: none; transition: opacity .2s linear; }
  .tile-img img, .proj-lead img, .g-item img { transition: none; }
  .tile-link:hover .tile-img img, .proj-lead:hover img, .g-item:hover img { transform: none; }
  .ix-row, .reg-row a { transition: none; }
  .mbar, .site-header, .header-row, .logo { transition: none; }
}

/* comfortable tap targets for text links */
.foot-grid a { display: inline-block; padding: 11px 0; line-height: 1.3; }
.foot-grid p { line-height: 1.3; }
.foot-links a { min-width: 44px; }
.credit a { display: inline-block; padding: 13px 0; }
.spec dd a { display: inline-block; padding: 12px 0; }
.spec div { padding: 2px 0; }
.mnav-contact a { display: inline-block; padding: 6px 0; }
.faq-head a { display: inline-block; padding: 12px 0; }
