/* Arden & Vale Architects — shared styles
   Palette: lime wash, chalk, basalt, graphite, verdigris.
   Type: Archivo (variable width, condensed for display) + Newsreader (reading text). */

:root {
  --lime: #E7E6E1;
  --chalk: #F2F1EC;
  --basalt: #1E2220;
  --graphite: #5C625F;
  --verdigris: #2F5D50;
  --verdigris-deep: #24493F;
  --water: #C9D4CE;
  --stone: #D6D5CF;
  --error: #9B2C1F;
  --line: rgba(30, 34, 32, .18);
  --line-strong: rgba(30, 34, 32, .42);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --pad: clamp(16px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --max: 1440px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --fs-xs: .8125rem;
  --fs-s: .9375rem;
  --fs-b: 1.1875rem;
  --fs-m: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-l: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-xl: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);
  --space-section: clamp(5rem, 11vw, 10rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--lime);
  color: var(--basalt);
  font-family: var(--serif);
  font-size: var(--fs-b);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--verdigris); color: var(--chalk); }

:focus-visible { outline: 2px solid var(--verdigris); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--pad); top: -100px; z-index: 100;
  background: var(--basalt); color: var(--chalk); padding: .75rem 1rem;
  font: 500 var(--fs-s) var(--sans); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type roles ---------- */
.display {
  font-family: var(--sans);
  font-stretch: 62%;
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.005em;
}
.h-section { font-size: var(--fs-xl); }
.h-sub {
  font-family: var(--sans);
  font-stretch: 80%;
  font-weight: 500;
  font-size: var(--fs-m);
  line-height: 1.2;
  letter-spacing: -.005em;
}
.lede { font-size: var(--fs-m); line-height: 1.45; font-weight: 350; max-width: 34em; }
.meta {
  font-family: var(--sans);
  font-size: var(--fs-s);
  line-height: 1.45;
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
}
.prose p + p { margin-top: 1em; }
.prose { max-width: 36em; }

.link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .85rem 1.6rem;
  background: var(--basalt); color: var(--chalk);
  border: 1px solid var(--basalt);
  font: 500 1rem/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--verdigris); border-color: var(--verdigris); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--light { background: var(--chalk); color: var(--basalt); border-color: var(--chalk); }
.btn--light:hover { background: transparent; color: var(--chalk); border-color: var(--chalk); }
.btn--ghost { background: transparent; color: var(--basalt); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--basalt); color: var(--chalk); border-color: var(--basalt); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--lime);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.wordmark {
  display: inline-flex; align-items: baseline; gap: .55em;
  font-family: var(--sans); font-stretch: 75%; font-weight: 600;
  font-size: 1.3125rem; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
}
.wordmark__sub { font-weight: 400; font-stretch: 100%; font-size: .8125rem; color: var(--graphite); letter-spacing: .01em; }

.site-nav ul { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); }
.site-nav a {
  font-family: var(--sans); font-weight: 500; font-size: 1rem;
  text-decoration: none; padding-block: .4rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background-size: 100% 1px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-strong);
  font: 500 .9375rem/1 var(--sans); padding: .7rem 1rem; min-height: 44px; cursor: pointer;
}

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .wordmark__sub { display: none; }
  .site-nav { display: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--lime); padding: 2.5rem var(--pad);
    border-top: 1px solid var(--line);
  }
  .nav-open .site-nav ul { flex-direction: column; gap: .25rem; }
  .nav-open .site-nav a {
    display: inline-block;
    font-stretch: 62%; font-weight: 300; font-size: clamp(3.25rem, 17vw, 5rem); line-height: 1.05;
  }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--chalk { background: var(--chalk); }
.section--basalt { background: var(--basalt); color: var(--chalk); }
.section--verdigris { background: var(--verdigris); color: var(--chalk); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.section-head .lede { color: var(--graphite); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 9vw, 8rem); }
.hero__grid { row-gap: clamp(2rem, 4vw, 3rem); }
.hero__title { grid-column: 1 / -1; font-size: clamp(3.5rem, 18.5vw, 11rem); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: block; }
.hero__lede { grid-column: 1 / -1; }
.hero__figure { grid-column: 1 / -1; }

.frame-wrap { position: relative; padding: 0 0 30px 30px; }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.frame::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: top; }

/* Dimension lines: a drawing-sheet annotation around the featured image */
.dim { position: absolute; color: var(--graphite); font: 500 .75rem/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.dim::before, .dim::after { content: ""; position: absolute; width: 11px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.dim--v { left: 11px; top: 0; bottom: 30px; width: 1px; background: currentColor; }
.dim--v::before { top: 0; left: -5px; }
.dim--v::after { bottom: 0; left: -5px; }
.dim--h { left: 30px; right: 0; bottom: 11px; height: 1px; background: currentColor; }
.dim--h::before { left: -5px; top: 0; }
.dim--h::after { right: -5px; top: 0; }
.dim span { position: absolute; top: 50%; left: 50%; background: var(--lime); padding: 3px 7px; white-space: nowrap; transform: translate(-50%, -50%); }
.dim--v span { transform: translate(-50%, -50%) rotate(-90deg); }

.hero__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-top: 1rem; padding-left: 30px; }
.hero__caption a { font-family: var(--sans); font-weight: 500; font-size: 1rem; }

@media (max-width: 1023px) {
  .hero__figure { order: 2; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__lede { grid-column: 1 / span 9; }
  .frame { aspect-ratio: 3 / 2; }
}
@media (min-width: 1024px) {
  .hero__title { grid-column: 1 / span 8; grid-row: 1; font-size: min(12.2vw, 11.25rem); }
  .hero__figure { grid-column: 9 / span 4; grid-row: 1 / span 2; }
  .hero__lede { grid-column: 1 / span 5; grid-row: 2; align-self: end; }
  .frame { aspect-ratio: 2 / 3; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
  .frame::after { transform: scaleY(1); animation: unveil 1.3s var(--ease) .35s forwards; }
  .frame img { transform: scale(1.08); animation: settle 2.2s var(--ease) .35s forwards; }
  .hero__lede, .hero__caption, .dim { opacity: 0; animation: fade .9s ease .95s forwards; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes unveil { to { transform: scaleY(0); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Scroll reveal (transform / opacity only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1.1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.filter button {
  background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer;
  padding: .55rem 0; min-height: 44px;
  font: 500 1rem/1 var(--sans); color: var(--graphite);
  transition: color .2s, border-color .2s;
}
.filter button:hover { color: var(--basalt); }
.filter button[aria-pressed="true"] { color: var(--basalt); border-bottom-color: var(--basalt); }
.filter sup { font-size: .68em; margin-left: .25em; font-variant-numeric: tabular-nums; }

/* ---------- Project grid ---------- */
.works {
  display: grid; grid-template-columns: minmax(0, 1fr);
  column-gap: var(--gap); row-gap: clamp(3rem, 6vw, 6rem);
  transition: opacity .22s ease;
}
.works.is-switching { opacity: 0; }
.work[hidden] { display: none; }
.work__link { display: block; text-decoration: none; }
.work__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.work[data-pos="1"] .work__media, .work[data-pos="2"] .work__media { aspect-ratio: 4 / 5; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.work__link:hover .work__media img { transform: scale(1.035); }
.work__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .3rem 1rem; margin-top: 1.1rem; }
.work__name { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .25s; }
.work__link:hover .work__name, .work__link:focus-visible .work__name { text-decoration-color: currentColor; }
.work__year { font-family: var(--sans); font-size: var(--fs-m); font-stretch: 80%; color: var(--graphite); font-variant-numeric: tabular-nums; }
.work__cat { text-align: right; }
.work__more { margin-top: .9rem; }

@media (min-width: 768px) {
  .works { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .work[data-pos="0"], .work[data-pos="2"] { grid-column: 1 / span 6; }
  .work[data-pos="1"], .work[data-pos="3"] { grid-column: 7 / span 6; padding-top: 6rem; }
}
@media (min-width: 1024px) {
  .work[data-pos="0"] { grid-column: 1 / span 7; }
  .work[data-pos="1"] { grid-column: 9 / span 4; padding-top: clamp(5rem, 11vw, 11rem); }
  .work[data-pos="2"] { grid-column: 2 / span 4; }
  .work[data-pos="3"] { grid-column: 7 / span 6; padding-top: clamp(3rem, 8vw, 8rem); }
}

.works-foot { margin-top: clamp(3rem, 6vw, 5rem); display: flex; justify-content: flex-end; }

/* ---------- Services ---------- */
.services__head { grid-column: 1 / -1; margin-bottom: 2.5rem; }
.services__head .lede { margin-top: 1rem; }
.services__list { grid-column: 1 / -1; }
.service { display: grid; gap: .6rem 2rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__name { font-size: var(--fs-l); }
.service p { max-width: 34em; }
.service .meta { margin-top: .6rem; }
@media (min-width: 1024px) {
  .services__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .services__list { grid-column: 6 / span 7; }
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding-block: 2.5rem; }
  .service__body { grid-column: 2; }
  .service__name { grid-row: 1 / span 2; }
}

/* ---------- Process ---------- */
.steps { display: grid; gap: 3rem var(--gap); grid-template-columns: minmax(0, 1fr); }
.step { border-top: 1px solid var(--basalt); padding-top: 1.25rem; }
.step__n { font-size: clamp(4rem, 3rem + 4vw, 7rem); display: block; margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.step__time { margin: .35rem 0 1rem; }
.step p:last-child { font-size: 1.0625rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Numbers band ---------- */
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem var(--gap); }
.figure-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .75rem; border-left: 1px solid rgba(242, 241, 236, .25); padding-left: 1rem; }
.figure-stat dd { font-size: clamp(4.5rem, 3rem + 7vw, 10rem); color: var(--chalk); }
.figure-stat dt { font-family: var(--sans); font-size: var(--fs-s); line-height: 1.4; color: rgba(242, 241, 236, .72); max-width: 16em; }
@media (min-width: 1024px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Testimonial ---------- */
.quote { grid-column: 1 / -1; }
.quote blockquote p {
  font-family: var(--serif); font-weight: 300; font-size: var(--fs-l); line-height: 1.28;
  letter-spacing: -.005em; max-width: 26em; text-indent: -.42em;
}
.quote figcaption { margin-top: 2rem; display: flex; flex-direction: column; gap: .15rem; }
.quote figcaption strong { font: 500 1rem/1.4 var(--sans); }
@media (min-width: 1024px) { .quote { grid-column: 2 / span 10; } }

/* ---------- Studio intro ---------- */
.intro__media { grid-column: 1 / -1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__text { grid-column: 1 / -1; margin-top: 2.5rem; }
.intro__text h2 { font-size: var(--fs-l); margin-bottom: 1.5rem; max-width: 14em; }
.intro__text .link { display: inline-block; margin-top: 2rem; }
@media (min-width: 1024px) {
  .intro__media { grid-column: 1 / span 6; }
  .intro__text { grid-column: 8 / span 5; margin-top: 0; align-self: end; }
}

/* ---------- CTA ---------- */
.cta__title { font-size: clamp(3.25rem, 2rem + 7vw, 9rem); max-width: 9em; }
.cta__row { display: grid; gap: 2rem; margin-top: clamp(2rem, 5vw, 4rem); }
.cta__row p { max-width: 30em; color: rgba(242, 241, 236, .86); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.cta__actions .link { color: var(--chalk); text-decoration-color: rgba(242, 241, 236, .45); }
@media (min-width: 1024px) { .cta__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; background: var(--lime); }
.footer__grid { row-gap: 2.5rem; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand .wordmark { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); font-weight: 500; }
.footer__brand p { margin-top: 1rem; max-width: 22em; font-size: 1.0625rem; color: var(--graphite); }
.footer__col { grid-column: 1 / -1; font-family: var(--sans); font-size: var(--fs-s); line-height: 1.6; }
.footer__col h2 { font: 500 var(--fs-s)/1.4 var(--sans); color: var(--graphite); margin-bottom: .6rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }
.footer__col address { font-style: normal; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--line);
  font: 400 var(--fs-xs)/1.5 var(--sans); color: var(--graphite);
}
@media (min-width: 600px) {
  .footer__brand { grid-column: 1 / span 12; }
  .footer__col { grid-column: span 4; }
}
@media (min-width: 1024px) {
  .footer__brand { grid-column: 1 / span 5; }
  .footer__col { grid-column: span 2; }
  .footer__col:first-of-type { grid-column: 7 / span 2; }
}

/* ---------- Inner page header ---------- */
.page-head { padding-block: clamp(3rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.page-head__title { grid-column: 1 / -1; font-size: clamp(4rem, 19vw, 13rem); }
.page-head__lede { grid-column: 1 / -1; margin-top: 2rem; }
@media (min-width: 1024px) {
  .page-head__title { grid-column: 1 / span 7; }
  .page-head__lede { grid-column: 8 / span 5; align-self: end; margin-top: 0; }
}

/* ---------- Case study ---------- */
.case__head { grid-column: 1 / -1; }
.case__head h2 { font-size: var(--fs-xl); }
.case__head .lede { margin-top: 1.5rem; }
.case__lead { grid-column: 1 / -1; margin-top: clamp(2.5rem, 5vw, 4rem); aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.case__lead img, .case__gallery img { width: 100%; height: 100%; object-fit: cover; }
.facts { grid-column: 1 / -1; margin-top: 3rem; font-family: var(--sans); font-size: var(--fs-s); }
.facts div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding-block: .85rem; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--graphite); }
.case__story { grid-column: 1 / -1; margin-top: 3rem; }
.case__story h3 { margin-bottom: 1rem; }
.case__story h3:not(:first-child) { margin-top: 2.5rem; }
.case__gallery { grid-column: 1 / -1; display: grid; gap: var(--gap); margin-top: clamp(3rem, 6vw, 5rem); }
.case__gallery figure { overflow: hidden; background: var(--stone); }
.case__gallery .g-tall { aspect-ratio: 4 / 5; }
.case__gallery .g-wide { aspect-ratio: 3 / 2; }
.plan figcaption { margin-top: .75rem; }
.case__gallery .g-stack { display: grid; gap: var(--gap); }
.plan { grid-column: 1 / -1; margin-top: clamp(3rem, 6vw, 5rem); }
.plan__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan svg { display: block; width: 100%; min-width: 560px; height: auto; background: var(--chalk); border: 1px solid var(--line); }
@media (min-width: 768px) {
  .case__gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .case__gallery .g-tall { grid-column: 1 / span 5; }
  .case__gallery .g-stack { grid-column: 6 / span 7; }
}
@media (min-width: 1024px) {
  .case__head { grid-column: 1 / span 8; }
  .facts { grid-column: 1 / span 4; }
  .case__story { grid-column: 6 / span 7; }
  .plan { grid-column: 2 / span 10; }
}

/* ---------- About ---------- */
.story__statement { grid-column: 1 / -1; font-family: var(--serif); font-weight: 300; font-size: var(--fs-l); line-height: 1.28; max-width: 22em; }
.story__body { grid-column: 1 / -1; margin-top: 2.5rem; }
.story__media { grid-column: 1 / -1; margin-top: clamp(3rem, 7vw, 6rem); aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__cap { grid-column: 1 / -1; margin-top: .75rem; }
@media (min-width: 1024px) {
  .story__statement { grid-column: 1 / span 6; }
  .story__body { grid-column: 8 / span 5; margin-top: .4rem; }
}

.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem var(--gap); }
.principle h3 { font-size: var(--fs-l); margin-bottom: 1rem; }
.principle p { max-width: 30em; }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 4.5rem; } }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gap); }
@media (min-width: 768px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person__portrait {
  position: relative; aspect-ratio: 4 / 5; background-color: var(--chalk);
  border: 1px solid var(--line); overflow: hidden;
}
.person__portrait span {
  position: absolute; left: .9rem; bottom: .5rem;
  font-size: clamp(3.25rem, 2rem + 4vw, 6rem); color: var(--basalt);
}
.person__portrait::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 42%;
  background: linear-gradient(to top, var(--chalk) 55%, transparent);
}
.person__portrait span { z-index: 1; }
.person h3 { margin-top: 1rem; }
.person .meta { margin-top: .15rem; }
.person p:last-child { margin-top: .6rem; font-size: 1rem; line-height: 1.5; }
/* Material hatches, as used on construction drawings */
.hatch--concrete { background-image: radial-gradient(rgba(30, 34, 32, .34) 1px, transparent 1.4px), radial-gradient(rgba(30, 34, 32, .2) 1px, transparent 1.4px); background-size: 14px 14px, 9px 9px; background-position: 0 0, 5px 7px; }
.hatch--timber { background-image: repeating-linear-gradient(0deg, rgba(30, 34, 32, .28) 0 1px, transparent 1px 9px); }
.hatch--cut { background-image: repeating-linear-gradient(45deg, rgba(30, 34, 32, .3) 0 1px, transparent 1px 10px); }
.hatch--cross { background-image: repeating-linear-gradient(45deg, rgba(30, 34, 32, .22) 0 1px, transparent 1px 12px), repeating-linear-gradient(-45deg, rgba(30, 34, 32, .22) 0 1px, transparent 1px 12px); }
.hatch--brick { background-image: linear-gradient(rgba(30, 34, 32, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 34, 32, .28) 1px, transparent 1px); background-size: 100% 14px, 28px 28px; }
.hatch--glass { background-image: repeating-linear-gradient(90deg, rgba(47, 93, 80, .32) 0 1px, transparent 1px 16px); }

/* ---------- Contact ---------- */
.contact__form { grid-column: 1 / -1; }
.contact__side { grid-column: 1 / -1; margin-top: 4rem; }
@media (min-width: 1024px) {
  .contact__form { grid-column: 1 / span 7; }
  .contact__side { grid-column: 9 / span 4; margin-top: 0; }
}
.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; gap: 1.6rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .45rem; }
.field label { font: 500 var(--fs-s)/1.3 var(--sans); }
.field label .opt { color: var(--graphite); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  background: var(--chalk); border: 1px solid var(--line-strong); border-radius: 0;
  font: 400 1rem/1.4 var(--sans); color: var(--basalt);
  transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--basalt) 50%), linear-gradient(-45deg, transparent 50%, var(--basalt) 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.75rem;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--basalt); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--verdigris); outline-offset: 0; border-color: var(--verdigris); background: #fff; }
.field__hint { font: 400 var(--fs-xs)/1.45 var(--sans); color: var(--graphite); }
.field__error { font: 500 var(--fs-xs)/1.45 var(--sans); color: var(--error); }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); box-shadow: inset 3px 0 0 var(--error); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: .5rem; }
.form__foot .meta { max-width: 26em; font-size: var(--fs-xs); }

.form-success { padding: clamp(2rem, 5vw, 3.5rem); background: var(--chalk); border-left: 3px solid var(--verdigris); }
.form-success h2 { font-size: var(--fs-xl); outline: none; }
.form-success p { margin-top: 1.25rem; max-width: 30em; }
.form-success .btn { margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) { animation: success-in .7s var(--ease); }
}
@keyframes success-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.details { display: grid; gap: 2rem; font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
.details h2 { font: 500 var(--fs-s)/1.4 var(--sans); color: var(--graphite); margin-bottom: .35rem; }
.details address { font-style: normal; }
.map { margin-top: 2.5rem; }
.map svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.map figcaption { margin-top: .75rem; }
