/* ==========================================================================
   Touraddu
   Layout idea: the client's photographs hung on the logo's slate ground.
   Thin white line-work (the T, the 360° ring, the print frames) carries
   the brand; colour comes from the photographs.
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour: taken from the logo, plus one tint from the lagoon photographs */
  --slate: #5c6765;
  --slate-d: #566260;
  --slate-l: #626c6b;
  --ink: #26302e;
  --ink-soft: #4b5654;
  --mist: #eef1f0;
  --paper: #ffffff;
  --lagoon: #a4e8df;
  --rule: rgba(38, 48, 46, 0.16);
  --rule-light: rgba(255, 255, 255, 0.28);
  --ground: linear-gradient(100deg, var(--slate-d), var(--slate-l));

  /* type */
  --display: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --text: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;

  /* space */
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 5.25rem;

  color-scheme: light;
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.005em; }

p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

::selection { background: var(--slate); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: #fff; }

.wrap {
  width: min(100% - 2 * var(--gutter), 76rem);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: #fff;
  color: var(--ink);
  font: 500 1rem/1 var(--display);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* A fine grain on the slate grounds, so they read as a surface. */
.ground {
  background-color: var(--slate);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--ground);
  color: #fff;
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.7rem 1.75rem;
  border: 1.5px solid currentColor;
  font: 500 1.0625rem/1.1 var(--display);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn--solid { background: #fff; border-color: #fff; color: var(--ink); }
.btn--solid:hover { background: var(--lagoon); border-color: var(--lagoon); }
.btn--line { color: #fff; }
.btn--line:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ink { color: var(--ink); }
.btn--ink:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.text-link {
  font: 500 1.0625rem/1.2 var(--display);
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.35em;
}

/* ---------- photographs: a thin white line inside the edge, like the hollow stem of the T ---------- */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--slate);
}
.photo picture,
.hero__slide picture,
.vision__photo picture { display: block; width: 100%; height: 100%; }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo::after {
  content: "";
  position: absolute;
  inset: clamp(0.6rem, 1.3vw, 0.95rem);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
  transition: inset 0.45s ease;
}

/* ---------- header ---------- */

.site-header {
  position: absolute; /* fixed once the script is running, see .js below */
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background-color: var(--slate);
  background-image: var(--ground);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: opacity 0.35s ease;
}
.site-header.is-solid::before { opacity: 1; }
.js .site-header { position: fixed; }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height 0.35s ease;
}
.site-header.is-solid .site-header__bar { height: 4.25rem; }

.brand { display: block; flex: none; padding: 0.4rem 0; }
.brand img { width: auto; height: 2.5rem; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem clamp(1.25rem, 2.6vw, 2.5rem);
}
.site-nav a {
  position: relative;
  display: block;
  padding: 0.6rem 0;
  font: 500 1.0625rem/1.1 var(--display);
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 55.99em) {
  .site-header__bar { flex-wrap: wrap; height: auto; min-height: 4.25rem; padding-block: 0.5rem; }
  .site-header.is-solid .site-header__bar { height: auto; }
  .brand img { height: 2.125rem; }

  /* with JavaScript: a full-screen menu */
  .js .site-header__bar { flex-wrap: nowrap; }
  .js .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3rem; height: 3rem;
    margin-right: -0.6rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before {
    display: block;
    width: 1.75rem; height: 1.5px;
    background: currentColor;
    transition: transform 0.3s ease;
  }
  .nav-toggle__bars { transform: translateY(-4px); }
  .nav-toggle__bars::before { content: ""; transform: translateY(8px); }
  .nav-open .nav-toggle__bars { transform: rotate(45deg); }
  .nav-open .nav-toggle__bars::before { transform: rotate(-90deg); }

  .js .brand { position: relative; z-index: 2; }
  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: center;
    padding: 6rem var(--gutter) 3rem;
    background-color: var(--slate);
    background-image: var(--ground);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .js.nav-open .site-nav { visibility: visible; opacity: 1; transition-delay: 0s; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav li + li { border-top: 1px solid var(--rule-light); }
  .js .site-nav a { padding: 1.15rem 0; font-size: clamp(1.625rem, 7vw, 2.25rem); letter-spacing: -0.01em; }
  .js .site-nav a::after { display: none; }
  .js.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 88vh, 52rem);
  min-height: clamp(34rem, 88svh, 52rem);
  padding: calc(var(--header-h) + 2rem) 0 clamp(6.5rem, 12vh, 8rem);
  overflow: hidden;
  background: var(--slate);
  color: #fff;
}

.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero__slide.is-active { z-index: 2; opacity: 1; }
.hero__slide.is-leaving { z-index: 1; opacity: 1; transition: none; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 60% 40%);
}
.hero__slide.is-active img,
.hero__slide.is-leaving img { animation: hero-drift 9s ease-out both; }
@keyframes hero-drift {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

/* the photograph melts into the slate where the words sit */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(38, 48, 46, 0.55) 0, rgba(38, 48, 46, 0) 11rem),
    linear-gradient(90deg, rgba(50, 60, 58, 0.92) 0%, rgba(58, 68, 66, 0.78) 30%, rgba(74, 86, 84, 0.34) 54%, rgba(86, 98, 96, 0) 74%),
    linear-gradient(0deg, rgba(38, 48, 46, 0.5) 0, rgba(38, 48, 46, 0) 9rem),
    radial-gradient(26rem 15rem at 100% 100%, rgba(38, 48, 46, 0.6), rgba(38, 48, 46, 0) 100%);
}

.hero__content { position: relative; }
.hero h1 {
  max-width: 11.5em;
  font-size: clamp(2.75rem, 6.3vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-shadow: 0 1px 24px rgba(38, 48, 46, 0.35);
}
.hero h1 span { display: block; }
.hero__sub {
  max-width: 24em;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(1.1875rem, 2vw, 1.5rem);
  line-height: 1.4;
  text-shadow: 0 1px 16px rgba(38, 48, 46, 0.5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* page-load sequence: the one orchestrated moment on the site */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span,
  .hero__sub,
  .hero__actions,
  .hero__dial { animation: hero-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1 span:nth-child(2) { animation-delay: 0.1s; }
  .hero__sub { animation-delay: 0.24s; }
  .hero__actions { animation-delay: 0.36s; }
  .hero__dial { animation-delay: 0.5s; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}

/* the 360° dial: one full turn per photograph */
.hero__dial { display: none; } /* the controls need the script */
.js .hero__dial {
  position: absolute;
  right: max(var(--gutter), calc((100% - 76rem) / 2));
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.dial {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.5rem; height: 5.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
}
.dial__face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__track { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.5; }
.dial__ticks { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 5; stroke-dasharray: 0.9 7.1285; }
.dial__arc {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  animation: dial-sweep var(--slide-time, 7s) linear forwards;
}
@keyframes dial-sweep { to { stroke-dashoffset: 0; } }
.is-paused .dial__arc,
.is-paused .hero__slide img { animation-play-state: paused; }

.dial__icon { position: relative; width: 1.125rem; height: 1.125rem; fill: currentColor; }
.dial__icon--play, .dial__icon--next { display: none; }
.is-paused .dial__icon--pause { display: none; }
.is-paused .dial__icon--play { display: block; }
.dial:hover .dial__track { stroke: rgba(255, 255, 255, 0.75); }

.picks { display: flex; gap: 0.25rem; }
.pick {
  min-width: 2.75rem; min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font: 500 1.0625rem/1 var(--display);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.pick span { display: inline-block; padding: 0.3rem 0.1rem; border-bottom: 1.5px solid transparent; }
.pick:hover { color: #fff; }
.pick[aria-pressed="true"] { color: #fff; }
.pick[aria-pressed="true"] span { border-bottom-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
  .hero__slide img { animation: none !important; }
  .dial__arc { animation: none; stroke-dashoffset: 0; }
  .dial__icon--pause, .dial__icon--play { display: none !important; }
  .dial__icon--next { display: block; }
}

@media (max-width: 47.99em) {
  .hero { align-items: end; padding-bottom: 8.75rem; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(38, 48, 46, 0.55) 0, rgba(38, 48, 46, 0) 9rem),
      linear-gradient(0deg, rgba(50, 60, 58, 0.94) 0%, rgba(58, 68, 66, 0.8) 38%, rgba(86, 98, 96, 0) 74%);
  }
  .js .hero__dial { right: auto; left: var(--gutter); bottom: 1.75rem; }
  .dial { width: 4.5rem; height: 4.5rem; }
}

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 3rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}
.section-head p { max-width: 26em; color: var(--ink-soft); font-size: 1.1875rem; }

/* about */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.about .photo { aspect-ratio: 3 / 2; }
.about h2 { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.about__text p { max-width: 34em; }

@media (max-width: 55.99em) {
  .about__grid { grid-template-columns: 1fr; }
}

/* services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.service { position: relative; display: flex; flex-direction: column; }
.service .photo { aspect-ratio: 4 / 5; margin-bottom: 1.375rem; }
.service .photo img { object-position: var(--focus, 50% 50%); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service h3 { margin-bottom: 0.5rem; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; }
.service .text-link { margin-top: auto; padding-top: 1.125rem; }
.service:hover .photo img { transform: scale(1.04); }
.service:hover .photo::after { inset: clamp(0.35rem, 0.8vw, 0.55rem); }
.service:hover .text-link { text-decoration-thickness: 2.5px; }
.service:focus-within .photo::after { inset: clamp(0.35rem, 0.8vw, 0.55rem); }

@media (max-width: 63.99em) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .service .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 35.99em) {
  .services__grid { grid-template-columns: 1fr; row-gap: 2.75rem; }
  .service .photo { aspect-ratio: 3 / 2; }
}

/* values: four quarter-turns make the full 360° */
.values { padding-block: clamp(4rem, 8vw, 6.5rem); }
.values__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}
.value {
  display: grid;
  justify-items: center;
  gap: 1.375rem;
  font: 500 clamp(1.1875rem, 2vw, 1.5rem)/1.2 var(--display);
  letter-spacing: 0.01em;
  text-align: center;
}
.value svg { width: clamp(7.5rem, 13vw, 10.5rem); height: auto; }
.value__ring { fill: none; stroke: rgba(255, 255, 255, 0.38); stroke-width: 1.5; }
.value__arc { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 116.24 348.72; }
.value__t { fill: none; stroke: #fff; stroke-width: 3; }

@media (max-width: 43.99em) {
  .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
}

/* vision: the white sand of the photograph runs into the white of the page */
.vision { padding-bottom: var(--section); }
.vision__photo {
  aspect-ratio: 2.1 / 1;
  max-height: 40rem;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 97%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 97%);
}
.vision__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.vision__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  margin-top: clamp(-9rem, -9vw, -1.5rem);
}
.vision__text { display: grid; gap: 1.25rem; max-width: 36em; }
.vision__text p:first-child { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; }

@media (max-width: 55.99em) {
  .vision__grid { grid-template-columns: 1fr; margin-top: -1rem; }
}
@media (max-width: 47.99em) {
  .vision__photo { aspect-ratio: 1.3 / 1; }
  .vision__photo img { object-position: 37% 100%; }
}

/* ---------- footer / contact ---------- */

.site-footer { background: var(--ink); color: #fff; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(3rem, 6vw, 4.5rem);
}
.contact__mail {
  display: inline-block;
  max-width: 100%;
  font: 400 clamp(1.5rem, 4.6vw, 3.5rem)/1.1 var(--display);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: text-decoration-color 0.25s, color 0.25s;
}
.contact__mail:hover { color: var(--lagoon); text-decoration-color: var(--lagoon); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
  gap: 2.5rem clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule-light);
}
.footer__logo img { width: 8.5rem; height: auto; }
.footer__title {
  margin-bottom: 1rem;
  font: 500 1.1875rem/1.2 var(--display);
  letter-spacing: 0.01em;
}
.footer__list { display: grid; gap: 0.5rem; font-size: 1.0625rem; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.3em; }
.footer__list a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 0.3em; }
.footer__list .mail { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgba(255, 255, 255, 0.5); }
address { font-style: normal; }
.footer__base {
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--rule-light);
  color: rgba(255, 255, 255, 0.72);
  font: 400 0.9375rem/1.4 var(--display);
  letter-spacing: 0.02em;
}

@media (max-width: 55.99em) {
  .contact { grid-template-columns: 1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
}
@media (max-width: 31.99em) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- service pages ---------- */

.page-head { padding: calc(4.25rem + clamp(3rem, 7vw, 5.5rem)) 0 clamp(8rem, 19vw, 16rem); }
.crumb { margin-bottom: 1.25rem; }
.crumb a { font: 500 1.0625rem/1.2 var(--display); letter-spacing: 0.01em; text-underline-offset: 0.35em; text-decoration-thickness: 1.5px; }
.page-head h1 { max-width: 14em; font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1; letter-spacing: -0.025em; }
.page-head__lead { max-width: 28em; margin-top: 1.25rem; font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.4; color: rgba(255, 255, 255, 0.92); }

/* the photograph sits half on the slate, half on the page */
.page-photo { margin-top: clamp(-13rem, -16vw, -6rem); display: grid; gap: clamp(0.75rem, 2vw, 1.5rem); }
.page-photo .photo { aspect-ratio: 2 / 1; }
.page-photo .photo img { object-position: var(--focus, 50% 50%); }
.page-photo--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-photo--pair .photo { aspect-ratio: 4 / 3; }
@media (max-width: 35.99em) {
  .page-photo .photo { aspect-ratio: 3 / 2; }
}

.page-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
  padding-block: clamp(3rem, 7vw, 5.5rem) var(--section);
}
.prose { display: grid; gap: 1.25rem; max-width: 38em; }
.prose > p:first-child { font-size: clamp(1.25rem, 2vw, 1.4375rem); line-height: 1.5; }
.prose ul { display: grid; margin-top: 0.25rem; border-top: 1px solid var(--rule); }
.prose li {
  position: relative;
  padding: 0.875rem 0 0.875rem 2.25rem;
  border-bottom: 1px solid var(--rule);
}
/* list marker: the hollow stem of the T, lying down */
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.5rem;
  width: 1.125rem; height: 0.4rem;
  border: 1.5px solid var(--slate);
}

.others { position: sticky; top: 6rem; padding: 1.75rem 0 0; border-top: 1.5px solid var(--ink); }
.others h2 { margin-bottom: 0.75rem; font-size: 1.1875rem; line-height: 1.2; letter-spacing: 0.01em; }
.others li { border-bottom: 1px solid var(--rule); }
.others li a {
  display: block;
  padding: 0.9rem 0;
  font: 500 1.25rem/1.25 var(--display);
  text-decoration: none;
  transition: padding-left 0.25s ease;
}
.others li a:hover { padding-left: 0.5rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.others .btn { margin-top: 1.75rem; }

@media (max-width: 55.99em) {
  .page-body { grid-template-columns: 1fr; }
  .others { position: static; }
}

/* ---------- 404 ---------- */

.lost { display: grid; align-content: center; min-height: 100vh; min-height: 100svh; padding-block: 7rem 4rem; }
.lost h1 { font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -0.025em; }
.lost p { margin: 1.25rem 0 2rem; font-size: 1.25rem; }

/* ---------- print ---------- */

@media print {
  .site-header, .js .hero__dial, .skip-link { display: none; }
  .hero, .ground, .site-footer { background: none !important; color: #000; }
}
