/* Witkowski Design · stylesheet
   Typeface: Cormorant (SIL Open Font License), self-hosted from assets/fonts. */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-latin-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --white: #fcfcfb;
  --ink: #1b1b1a;
  --grey: #686864;
  --line: #e2e2de;
  --stone: #f1f0ec;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;

  --gutter: clamp(1.25rem, 3.6vw, 3.5rem);
  --maxw: 1680px;
  --header-h: 6.75rem;
  --space: clamp(6rem, 12vw, 11rem);
  --ease: cubic-bezier(.25, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.skip {
  position: absolute; left: var(--gutter); top: -5rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .7rem 1.1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--grey); }
.small { font-size: 1rem; }
.narrow { max-width: 34em; margin-left: auto; margin-right: auto; }
.pad-bottom { padding-bottom: var(--space); }

/* ------------------------------------------------------------ type roles */
.eyebrow {
  display: block; margin: 0 0 1.75rem;
  font-size: .78rem; line-height: 1.4; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--grey);
}
.statement {
  font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.28; font-weight: 400; letter-spacing: -.005em;
  max-width: 28ch; margin: 0 auto 2.25rem;
}
.statement em { font-style: italic; }
.statement--small { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.statement--left { margin-left: 0; text-align: left; }
.text-link {
  display: inline-block; text-decoration: none; padding-bottom: .3rem; border-bottom: 1px solid currentColor;
  font-size: .78rem; line-height: 1.4; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.text-link:hover { opacity: .6; }
.arrow { display: inline-block; letter-spacing: 0; transition: transform .5s var(--ease); }
a:hover .arrow { transform: translateX(4px); }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; background: transparent;
  border: 1px solid var(--ink); padding: 1.05rem 2.6rem;
  font-size: .78rem; line-height: 1.2; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); }
.tag {
  display: inline-block; vertical-align: middle; border: 1px solid currentColor; color: var(--grey); padding: .1rem .5rem;
  font-size: .62rem; line-height: 1.5; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.tag--light { color: #fff; }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  padding: 0 var(--gutter);
  background: var(--white); color: var(--ink);
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -60% 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .44), rgba(0, 0, 0, .16) 55%, rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .5s var(--ease);
}
.site-header.is-over { background: transparent; color: #fff; }
.site-header.is-over::before { opacity: 1; }
.site-header.is-solid { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
body:not(.has-hero) #main { padding-top: var(--header-h); }

.nav { display: flex; gap: clamp(1.4rem, 2.4vw, 2.6rem); justify-self: start; }
.nav a, .langs a {
  text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  padding: .5rem 0; border-bottom: 1px solid transparent; transition: border-color .4s, opacity .4s;
}
.nav a:hover, .langs a:hover { border-bottom-color: currentColor; }
.nav a[aria-current="page"] { border-bottom-color: currentColor; }
.langs { display: flex; gap: 1.1rem; justify-self: end; }
.langs a { opacity: .72; }
.langs a[aria-current="true"], .langs a:hover { opacity: 1; }

.brand { display: block; justify-self: center; color: inherit; line-height: 0; }
.logo { height: clamp(2.6rem, 3.6vw, 3.4rem); width: auto; display: block; }
.site-header.is-over .logo { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .25)); }
.brand img.logo--light { display: none; }
.site-header.is-over .brand img.logo--light { display: block; }
.site-header.is-over .brand img.logo--dark { display: none; }

.burger { display: none; justify-self: start; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative; color: inherit; }
.burger span:not(.sr-only) { position: absolute; left: .4rem; right: .4rem; height: 1.5px; background: currentColor; }
.burger span:nth-child(1) { top: 1.05rem; }
.burger span:nth-child(2) { top: 1.6rem; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; padding: 0 var(--gutter) 2.5rem;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.menu-close {
  justify-self: start; background: none; border: 0; padding: .6rem 0; cursor: pointer;
  font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.menu__links { margin: auto 0; display: grid; gap: 1.1rem; text-align: center; }
.menu__links a { text-decoration: none; font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.menu__links a[aria-current="page"] { font-style: italic; }
.menu__foot { display: grid; gap: 1.25rem; justify-items: center; }
.menu__foot .langs { justify-self: center; gap: 1.6rem; }
.menu__foot > a { text-decoration: none; color: var(--grey); }

@media (max-width: 960px) {
  :root { --header-h: 5.25rem; }
  .site-header .nav, .site-header .langs { display: none; }
  .burger { display: block; }
  .logo { height: 2.35rem; }
}

/* ------------------------------------------------------------ hero: full-screen photograph */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 30rem; overflow: hidden; background: #3a3936; color: #fff; }
.hero__slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.8s var(--ease); }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.js .slide.is-active img { animation: drift 14s linear both; }
.hero.is-paused .slide img { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .22) 45%, rgba(0, 0, 0, .52));
}
.hero__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter) clamp(1.5rem, 3.5vw, 2.75rem);
}
.hero__caps { position: relative; flex: 1; min-height: 3.5rem; }
.hero__cap {
  position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: .25rem;
  color: #fff; text-decoration: none; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 2px 24px rgba(0, 0, 0, .35);
}
.hero__cap.is-active { opacity: 1; pointer-events: auto; }
.hero__title { font-size: .82rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; line-height: 1.4; }
.hero__meta { font-style: italic; font-size: 1.15rem; opacity: .92; }
a.hero__cap:hover .hero__title { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.hero__pause {
  flex: none; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; position: relative;
}
.hero__pause span { position: absolute; inset: 0; }
.hero__pause span::before, .hero__pause span::after { content: ""; position: absolute; top: 50%; width: 1.5px; height: .8rem; margin-top: -.4rem; background: currentColor; }
.hero__pause span::before { left: calc(50% - 3.5px); }
.hero__pause span::after { left: calc(50% + 2px); }
.hero__pause.is-paused span::before {
  left: calc(50% - 3px); width: 0; height: 0; margin-top: -.42rem; background: none;
  border-left: .62rem solid currentColor; border-top: .42rem solid transparent; border-bottom: .42rem solid transparent;
}
.hero__pause.is-paused span::after { display: none; }

.hero--project .hero__cap { position: relative; }
.hero--project .hero__title { font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-weight: 400; letter-spacing: .14em; line-height: 1.1; }
.hero--project .hero__meta { font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin-top: .4rem; }
.hero--project .tag { margin-top: .9rem; align-self: flex-start; }

/* ------------------------------------------------------------ reveal (only with JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ home: one screen, nothing to scroll */
body.is-home { overflow: hidden; }
.hero--home { height: 100vh; height: 100dvh; min-height: 0; }

.card { display: block; text-decoration: none; }
.card__img { display: block; overflow: hidden; background: var(--stone); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; margin-top: 1.1rem; }
.cap__title { font-size: .82rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.cap__meta { font-style: italic; color: var(--grey); font-size: 1.1rem; }
.card:hover .cap__title { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }

.timbro { background: var(--stone); padding: var(--space) 0; margin-top: var(--space); scroll-margin-top: var(--header-h); }
.timbro__name { font-style: italic; font-weight: 400; font-size: clamp(3.75rem, 9vw, 7rem); line-height: 1; margin: 0 0 1.75rem; }
.timbro p.narrow { margin-bottom: 2.25rem; }

.contact-band { padding: var(--space) 0; }
.contact-band .statement { margin-bottom: 1.25rem; }
.big-link { margin: 2.5rem 0 1.5rem; }
.big-link a {
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem); font-weight: 400; overflow-wrap: anywhere;
}
.big-link a:hover { font-style: italic; }
.inline-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; }
.inline-links a { text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid transparent; padding-bottom: .2rem; }
.inline-links a:hover { border-bottom-color: currentColor; }

/* ------------------------------------------------------------ inner page top */
.page-top { padding-top: clamp(4rem, 10vw, 8.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-title {
  font-size: clamp(1.7rem, 3.4vw, 2.75rem); font-weight: 500; line-height: 1.15;
  letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em;
}
.page-lead { font-style: italic; color: var(--grey); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.45; max-width: 36em; margin: 1.75rem auto 0; }

/* ------------------------------------------------------------ work */
.work-tools { display: grid; justify-items: center; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.filters, .views { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; }
.filters button, .views button {
  background: none; border: 0; padding: .45rem 0; cursor: pointer; color: var(--grey);
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
}
.filters sup { font-size: .6rem; letter-spacing: .05em; }
.views button { font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 1.05rem; font-weight: 500; }
.filters button:hover, .views button:hover { color: var(--ink); }
.filters button[aria-pressed="true"], .views button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.work { padding-bottom: var(--space); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 2.4vw, 2.5rem); }
.work-grid .card__img { aspect-ratio: 3 / 2; }
.work-list { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr) 4rem; gap: 1.5rem; align-items: baseline;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.row__title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; line-height: 1.2; }
.row__meta, .row__place { color: var(--grey); font-style: italic; font-size: 1.1rem; }
.row__year { text-align: right; font-size: .8rem; font-weight: 600; letter-spacing: .2em; }
.row:hover .row__title { font-style: italic; }
.empty { padding: 4rem 0; color: var(--grey); font-style: italic; }

/* ------------------------------------------------------------ project */
.project-info {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, 2.4vw, 2.5rem);
  padding-top: clamp(3rem, 6vw, 5rem); align-items: start;
}
.back-row { grid-column: 1 / -1; margin: 0; }
.facts { grid-column: 1 / span 4; }
.facts div { padding: .9rem 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin-bottom: .2rem; }
.facts dd { font-size: 1.2rem; line-height: 1.4; }
.project-text { grid-column: 6 / span 7; }
.project-text p { font-size: 1.3rem; line-height: 1.6; max-width: 36em; }
.project-text p:first-child { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.32; font-weight: 400; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.5rem); padding-top: var(--space); align-items: start; }
.gallery figure { background: var(--stone); }
.gallery .wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; }
.next { position: relative; display: block; height: 82vh; min-height: 26rem; margin-top: var(--space); overflow: hidden; color: #fff; text-decoration: none; background: #3a3936; }
.next__img, .next__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next__img img { transition: transform 2s var(--ease); }
.next:hover .next__img img { transform: scale(1.03); }
.next::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.next__text { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--gutter); }
.next__text .eyebrow { color: rgba(255, 255, 255, .85); }
.next__title { font-size: clamp(1.8rem, 4.4vw, 3.6rem); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; }

/* ------------------------------------------------------------ services */
.service {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2.4vw, 2.5rem);
  padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h);
}
.service__name { grid-column: 1 / span 5; font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 400; line-height: 1.15; }
.service__body { grid-column: 7 / span 6; }
.service__body > p:first-child { font-size: 1.3rem; max-width: 34em; }
.service__list { font-style: italic; color: var(--grey); font-size: 1.15rem; }
.service__list .eyebrow { font-style: normal; margin: 1.75rem 0 .6rem; }
.process { padding-top: var(--space); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, 2.4vw, 2.5rem); margin: clamp(3rem, 6vw, 5rem) 0; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.step__num { display: block; font-style: italic; font-size: 1.6rem; color: var(--grey); line-height: 1; margin-bottom: 1rem; }
.step__name { font-size: .82rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-bottom: .75rem; }
.steps p { color: var(--grey); font-size: 1.12rem; line-height: 1.5; }

/* ------------------------------------------------------------ about */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem clamp(1rem, 2.4vw, 2.5rem); align-items: start; }
.portrait { grid-column: 2 / span 4; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--empty { display: flex; align-items: center; justify-content: center; }
.portrait--empty span { font-style: italic; color: var(--grey); }
.about__text { grid-column: 7 / span 5; }
.about__text p { max-width: 34em; }
.principles-wrap { padding-top: var(--space); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(1rem, 2.4vw, 2.5rem); }
.principles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 62rem; margin: 0 auto; }
.principles li { text-align: center; }
.principles h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 400; margin-bottom: .75rem; }
.principles p { color: var(--grey); max-width: 26em; margin: 0 auto; }

/* ------------------------------------------------------------ contact */
.contact-direct .big-link { margin-top: 0; }
.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 4rem; margin-top: 3rem; }
.contact-list dt { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin-bottom: .25rem; }
.contact-list dd { font-size: 1.3rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-bottom-color: currentColor; }
.form-wrap { padding: var(--space) var(--gutter); }
.form { max-width: 48rem; margin: 0 auto; }
.form .eyebrow { margin-bottom: 2.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.field { margin-bottom: 2rem; text-align: left; }
.field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #b9b9b3; background: transparent; border-radius: 0;
  padding: .55rem 0; font-size: 1.3rem; -webkit-appearance: none; appearance: none;
}
.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field [aria-invalid="true"] { border-bottom-color: #9b2c1f; }
.err { color: #9b2c1f; font-size: 1rem; margin: .35rem 0 0; font-style: italic; }
.err:empty { display: none; }
.form .note { margin-top: 1.5rem; color: var(--grey); font-size: 1.05rem; font-style: italic; }
.status:empty { display: none; }

/* ------------------------------------------------------------ privacy */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 400; margin: 3rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.facts--legal { margin-bottom: 2.5rem; }
.facts--legal div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; align-items: baseline; }
.todo {
  display: inline-block; background: #f3e9cf; color: #5b4519; border: 1px dashed #b8975a; padding: .05rem .5rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); }
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-top: 1.75rem; padding-bottom: 1.75rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey);
}
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.foot a { text-decoration: none; text-transform: none; letter-spacing: .06em; font-size: .95rem; font-weight: 500; color: var(--ink); }
.foot a:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }

.nf { min-height: 70vh; }
.nf .statement { margin-top: 1rem; }
.nf .btn { margin-top: 2.5rem; }

/* ------------------------------------------------------------ phones and tablets */
@media (max-width: 860px) {
  .project-info { grid-template-columns: 1fr; }
  .facts, .project-text { grid-column: 1 / -1; }
  .project-text { order: 2; }
  .facts { order: 3; }
  .service__name, .service__body { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding: 1.25rem 0 1.5rem; }
  .step__num { grid-row: 1 / span 2; margin: 0; }
  .about { grid-template-columns: 1fr; }
  .portrait, .about__text { grid-column: 1 / -1; }
  .principles, .principles--two { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; gap: .25rem 1rem; }
  .row__meta { grid-column: 1; grid-row: 2; }
  .row__place { display: none; }
  .row__year { grid-column: 2; grid-row: 1; }
}
@media (max-width: 700px) {
  body { font-size: 1.2rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .card__img { aspect-ratio: 4 / 5; }
  .gallery { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .facts--legal div { grid-template-columns: 1fr; gap: .1rem; }
  .foot { flex-direction: column; text-align: center; }
  .foot nav { justify-content: center; }
  .next { height: 70vh; }
}

/* ------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
