/* PINPAD — Swiss precision, playground personality. */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-latin.woff2?v=83d548cd73) format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-latin-italic.woff2?v=062ebe7340) format("woff2");
}

:root {
  --paper: #f4f0e8;
  --paper-2: #ebe5d8;
  --ink: #161513;
  --muted: #625e56;
  --rule: rgb(22 21 19 / 0.9);
  --hair: rgb(22 21 19 / 0.16);

  --coral: #ff6b57;
  --tomato: #e8442e;
  --blue: #4b6fa6;
  --butter: #f5cf4f;
  --green: #3f9e6a;

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 2vw, 28px);
  --margin: clamp(20px, 4.5vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--margin);
  top: -100px;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

.arrow {
  display: inline-block;
  margin-left: 0.3em;
  font-family: system-ui, sans-serif;
  transition: transform 0.35s var(--spring);
}
a:hover .arrow {
  transform: translate(3px, -1px);
}

/* ── Type helpers ─────────────────────────────────────────── */

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.9em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow__no {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.eyebrow__no::after {
  content: "";
  display: inline-block;
  width: 2.5em;
  height: 1px;
  margin-left: 0.9em;
  vertical-align: middle;
  background: currentColor;
}

.lede {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.more {
  margin-top: 2.5rem;
  font-weight: 600;
}
.more a {
  text-decoration: none;
  border-bottom: 2px solid;
  padding-bottom: 2px;
}

/* ── Masthead & footer ────────────────────────────────────── */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.dot {
  color: var(--coral);
  display: inline-block;
  transition: transform 0.5s var(--spring);
}
.wordmark:hover .dot {
  transform: translateY(-0.18em) scale(1.25);
}

.nav ul {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  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 0.35s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.footer {
  margin-top: clamp(5rem, 12vw, 10rem);
  background: var(--ink);
  color: var(--paper);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem var(--gutter);
  padding-block: clamp(3rem, 7vw, 6rem) 2rem;
}
.footer__hello {
  grid-column: 1 / -1;
  font-size: clamp(3rem, 10vw, 8.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.footer__hello a {
  text-decoration: none;
}
.footer__hello a:hover {
  color: var(--coral);
}
.footer__sign {
  grid-column: 1 / span 5;
  font-weight: 500;
}
.footer__nav {
  grid-column: 7 / span 3;
}
.footer__nav a {
  text-decoration: none;
}
.footer__nav a:hover {
  text-decoration: underline;
}
.footer__small {
  grid-column: 10 / span 3;
  font-size: 0.85rem;
  color: rgb(244 240 232 / 0.7);
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}
.hero__title {
  margin: 0.4rem 0 0 -0.04em;
  /* Sized so "PINPAD." spans the full grid width at every viewport. */
  font-size: clamp(3.8rem, 26vw, 25rem);
  font-weight: 760;
  line-height: 0.8;
  letter-spacing: -0.065em;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.hero__text {
  grid-column: 1 / span 6;
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 34rem;
}
.hero__tagline {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
.hero__text p:last-child {
  color: var(--muted);
}

/* The pin pad */
.pad {
  grid-column: 8 / span 5;
  align-self: start;
  justify-self: end;
  width: min(100%, 25rem);
}
.pad__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.pad__screen {
  display: flex;
  align-items: center;
  min-height: 3.6rem;
  margin: 0.6rem 0 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
}
.pad__dots {
  font-size: 2rem;
  letter-spacing: 0.35em;
  line-height: 1;
}
.pad__keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.key {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.12s var(--ease);
}
.key:hover {
  background: var(--paper-2);
}
.key.is-pressed,
.key:active {
  transform: scale(0.94);
}
.key__digit {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.key__shape {
  --r: 0deg;
  position: absolute;
  inset: 26%;
  background: var(--c);
  transform: rotate(var(--r));
  transition: transform 0.6s var(--spring), border-radius 0.5s var(--ease);
}
.key:hover .key__shape {
  transform: rotate(var(--r)) scale(1.12);
}
.shape--circle {
  border-radius: 50%;
}
.shape--triangle {
  clip-path: polygon(50% 4%, 100% 96%, 0 96%);
}
.shape--half {
  inset: 38% 22% 18%;
  border-radius: 999px 999px 0 0;
}
.shape--ring {
  background: none;
  border: 0.55rem solid var(--c);
  border-radius: 50%;
}
.shape--quarter {
  border-radius: 100% 0 0 0;
}
.shape--diamond {
  inset: 30%;
  --r: 45deg;
}
.shape--pill {
  inset: 38% 18%;
  border-radius: 999px;
}
.shape--plus {
  clip-path: polygon(36% 0, 64% 0, 64% 36%, 100% 36%, 100% 64%, 64% 64%, 64% 100%, 36% 100%, 36% 64%, 0 64%, 0 36%, 36% 36%);
}

/* ── Sections ─────────────────────────────────────────────── */

.section {
  margin-top: clamp(5rem, 11vw, 9rem);
}
.section--tight {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.section__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem var(--gutter);
  align-items: end;
  padding-top: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--rule);
}
.section__head .eyebrow {
  grid-column: 1 / -1;
}
.section__head h2 {
  grid-column: 1 / span 7;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.section__intro {
  grid-column: 8 / span 5;
  color: var(--muted);
  max-width: 30rem;
}

.page-head {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}
.page-head__title {
  margin-top: 1rem;
  font-size: clamp(3.2rem, 1.6rem + 7vw, 8.5rem);
  font-weight: 740;
  line-height: 0.88;
  letter-spacing: -0.058em;
  max-width: 12ch;
}
.page-head .lede {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 38rem;
}

/* ── Status chips & legend ───────────────────────────────── */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.18em 0.6em 0.2em 0.5em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.chip__mark {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: currentColor;
}
.chip--live .chip__mark {
  background: var(--green);
}
.chip--building .chip__mark {
  background: linear-gradient(90deg, var(--butter) 50%, transparent 50%);
  border: 1px solid currentColor;
  animation: spin 3s linear infinite;
}
.chip--concept .chip__mark {
  background: none;
  border: 1px dashed currentColor;
}
.chip--archived .chip__mark {
  height: 2px;
  border-radius: 0;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  padding-block: 1.25rem;
  border-block: 1px solid var(--hair);
}
.page-head + .wrap > .legend {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.legend dd {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 18rem;
}

/* ── Project gallery ──────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem) var(--gutter);
  align-items: start;
}
/* An asymmetric rhythm: wide, narrow (dropped), narrow, wide… */
.gallery > :nth-child(4n + 1) {
  grid-column: 1 / span 7;
}
.gallery > :nth-child(4n + 2) {
  grid-column: 9 / span 4;
  margin-top: clamp(3rem, 9vw, 9rem);
}
.gallery > :nth-child(4n + 3) {
  grid-column: 1 / span 5;
}
.gallery > :nth-child(4n + 4) {
  grid-column: 6 / span 7;
  margin-top: clamp(2rem, 6vw, 6rem);
}

.card__link {
  display: block;
  text-decoration: none;
}

.poster {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--accent);
  color: var(--poster-ink);
  box-shadow: 0 0 0 0 var(--ink);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.poster .motif {
  width: 100%;
  height: 100%;
}
.poster__no {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--poster-ink);
}
.card__link:hover .poster,
.card__link:focus-visible .poster {
  transform: translate(-6px, -6px);
  box-shadow: 6px 6px 0 0 var(--ink);
}

.card__body {
  display: grid;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  margin-top: 1rem;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
}
.meta__cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__name {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}
.card__tagline {
  max-width: 32rem;
}
.card__where {
  font-size: 0.9rem;
  font-weight: 600;
}
.card__where--soon {
  font-weight: 500;
  color: var(--muted);
  font-style: italic;
}

.card--slot .slot {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.75rem;
  aspect-ratio: 4 / 3;
  padding: 1.25rem;
  border: 1.5px dashed var(--ink);
  color: var(--ink);
}
.card--slot .poster__no {
  color: var(--muted);
}
.slot__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 300;
  line-height: 1;
  color: var(--hair);
  transition: transform 0.8s var(--spring), color 0.4s;
}
.card--slot:hover .slot__mark {
  transform: rotate(14deg) scale(1.08);
  color: var(--coral);
}
.slot p {
  position: relative;
  max-width: 22rem;
}

/* Motif animations: each poster has its own little behaviour on hover. */
.m-wave {
  transition: opacity 0.3s;
}
.card__link:hover .m-wave,
.project__poster:hover .m-wave {
  animation: echo 1.4s calc(var(--i) * 0.12s) var(--ease) infinite;
}
@keyframes echo {
  50% {
    opacity: 0.25;
  }
}
.m-spring {
  transition: transform 0.6s var(--spring);
}
.card__link:hover .m-spring,
.project__poster:hover .m-spring {
  transform: translateY(26px);
}

.m-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
}
.card__link:hover .m-line,
.project__poster:hover .m-line {
  animation: draw 1.6s calc(var(--i) * 0.15s) var(--ease) both;
}
@keyframes draw {
  from {
    stroke-dashoffset: 1000;
  }
}
.m-home {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s var(--spring);
}
.card__link:hover .m-home,
.project__poster:hover .m-home {
  transform: scale(1.25);
}

.m-cell {
  transition: fill 0.3s var(--d) var(--ease);
}
.card__link:hover .m-cell,
.project__poster:hover .m-cell {
  fill: var(--ink);
}

.m-lens {
  transition: transform 0.9s var(--spring);
}
.card__link:hover .m-lens,
.project__poster:hover .m-lens {
  transform: translateX(-116px);
}
.m-play {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s var(--spring);
}
.card__link:hover .m-play,
.project__poster:hover .m-play {
  transform: translateX(-8px) scale(1.2);
}

.m-drop {
  transition: transform 0.7s calc(var(--i) * 0.08s) var(--spring);
}
.card__link:hover .m-drop,
.project__poster:hover .m-drop {
  transform: translateY(70px);
}

/* ── Back catalogue index ────────────────────────────────── */

.index {
  border-top: 1px solid var(--rule);
}
.index__row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 9rem minmax(0, 15rem);
  gap: 0.5rem var(--gutter);
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid var(--hair);
  transition: background 0.25s var(--ease), padding 0.35s var(--ease);
}
.index__row:hover {
  background: var(--paper-2);
  padding-inline: 0.75rem;
}
.index__year {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.index__name strong {
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}
.index__what {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}
.index__addr {
  font-size: 0.95rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.index__offline {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.index__note {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

/* ── About strip ─────────────────────────────────────────── */

.about-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.about-strip .lede {
  grid-column: 1 / span 8;
}
.about-strip .more {
  grid-column: 1 / span 8;
}

/* ── Project page ────────────────────────────────────────── */

.crumbs {
  display: flex;
  gap: 0.6rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.crumbs a {
  color: var(--ink);
}

.project__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem var(--gutter);
  align-items: end;
  padding-top: clamp(2rem, 5vw, 4rem);
}
.project__intro {
  grid-column: 1 / span 5;
  display: grid;
  gap: 1rem;
}
.project__name {
  font-size: clamp(3.2rem, 1.4rem + 6vw, 7rem);
  font-weight: 750;
  line-height: 0.88;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}
.project__tagline {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.project__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.project__poster {
  grid-column: 6 / span 7;
}
.button {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 0 0 var(--accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 0 var(--accent);
}
.soon {
  font-size: 0.95rem;
  color: var(--muted);
}
.soon strong {
  color: var(--ink);
  font-weight: 600;
}

.project__body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem var(--gutter);
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.prose {
  grid-column: 1 / span 7;
  display: grid;
  align-content: start;
  gap: 1.1em;
  max-width: 40rem;
  font-size: 1.15rem;
}
.prose--big {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
  gap: 0.8em;
}
.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.facts {
  grid-column: 9 / span 4;
  display: grid;
  align-content: start;
}
.facts > div {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--hair);
}
.facts > div:first-child {
  padding-top: 0;
}
.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin-top: 0.3rem;
  font-weight: 500;
}
.facts__hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.shot {
  margin-top: clamp(3rem, 7vw, 6rem);
}
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  box-shadow: 10px 10px 0 0 var(--accent);
}
.shot figcaption {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 40rem;
}

.project__next {
  margin-top: clamp(4rem, 9vw, 7rem);
}
.project__next a {
  display: grid;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}
.project__next-name {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  transition: color 0.3s;
}
.project__next a:hover .project__next-name {
  color: var(--accent);
  -webkit-text-stroke: 1px var(--ink);
}

/* ── About & contact ─────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem var(--gutter);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.about .prose {
  grid-column: 1 / span 7;
}
.people {
  grid-column: 9 / span 4;
  display: grid;
  gap: 2rem;
  align-content: start;
}
.person {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
}
.person__badge {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 4.5rem;
  aspect-ratio: 1;
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  transition: transform 0.6s var(--spring), border-radius 0.6s var(--ease);
}
.person__badge--0 {
  background: var(--coral);
  border-radius: 50%;
}
.person__badge--1 {
  background: var(--butter);
}
.person:hover .person__badge--0 {
  border-radius: 0;
  transform: rotate(-8deg);
}
.person:hover .person__badge--1 {
  border-radius: 50%;
  transform: rotate(8deg);
}
.person__name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.person a {
  font-size: 0.95rem;
}

.contact {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.contact__list {
  border-top: 1px solid var(--rule);
}
.contact__list li {
  display: grid;
  grid-template-columns: minmax(8rem, 3fr) 9fr;
  gap: var(--gutter);
  align-items: baseline;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--hair);
}
.contact__who {
  font-weight: 600;
}
.contact__link {
  font-size: clamp(1.6rem, 1rem + 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}
.contact__list--small .contact__link {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
}
.contact__h {
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.contact__h + p {
  margin-block: 0.5rem 1.5rem;
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero__text {
    grid-column: 1 / span 7;
  }
  .pad {
    grid-column: 8 / -1;
  }
  .legend {
    grid-template-columns: repeat(2, 1fr);
  }
  .index__row {
    grid-template-columns: 4rem minmax(0, 1fr) 8.5rem;
  }
  .index__addr {
    grid-column: 2 / -1;
  }
  .project__intro,
  .project__poster,
  .prose,
  .facts,
  .about .prose,
  .people {
    grid-column: 1 / -1;
  }
  .facts {
    max-width: 30rem;
  }
}

@media (max-width: 720px) {
  .hero__text,
  .pad {
    grid-column: 1 / -1;
  }
  .pad {
    justify-self: stretch;
    width: 100%;
    margin-top: 1.5rem;
  }
  .section__head h2,
  .section__intro,
  .about-strip .lede,
  .about-strip .more {
    grid-column: 1 / -1;
  }
  .gallery > * {
    grid-column: 1 / -1 !important;
    margin-top: 0 !important;
  }
  .index__row {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }
  .index__status,
  .index__addr {
    grid-column: 2;
  }
  .legend {
    grid-template-columns: 1fr;
  }
  .footer__sign,
  .footer__nav,
  .footer__small {
    grid-column: 1 / -1;
  }
  .contact__list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
