@charset "UTF-8";
/* ==========================================================================
   Aster Architects
   Modernist design system inverted: the whole site sits on neutral-900 with a
   single red accent, zero radius, 2px rules and monochrome photography.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  --paper: #f3f2f2;
  --n900: #2d2b2b;
  --n800: #444141;
  --n700: #605d5d;

  --accent: #ec3013;
  --accent-600: #dd2b0f;
  --accent-400: #ff9783;
  --accent-300: #ffc4b8;

  --color-text: var(--paper);
  --color-bg: var(--n900);

  /* Tints of the page colour on the dark ground. */
  --on-92: color-mix(in srgb, var(--paper) 92%, transparent);
  --on-84: color-mix(in srgb, var(--paper) 84%, transparent);
  --on-76: color-mix(in srgb, var(--paper) 76%, transparent);
  --on-72: color-mix(in srgb, var(--paper) 72%, transparent);
  --on-66: color-mix(in srgb, var(--paper) 66%, transparent);
  --on-42: color-mix(in srgb, var(--paper) 42%, transparent);
  --rule: color-mix(in srgb, var(--paper) 22%, transparent);
  --rule-soft: color-mix(in srgb, var(--paper) 16%, transparent);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --edge: clamp(20px, 5vw, 72px);
  --wrap: 1320px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--n900);
  color: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

p { margin: 0 0 12px; }

a { color: var(--accent-400); text-decoration: none; }
a:hover { color: var(--accent-300); }

img { display: block; max-width: 100%; }
figure { margin: 0; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 45%, transparent); }

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

.skip-link {
  position: absolute;
  top: -100px; left: var(--edge);
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
}
.skip-link:focus { top: 8px; color: var(--paper); }

@keyframes aster-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.section { padding: clamp(52px, 7vw, 104px) var(--edge) 0; }
.section--last { padding-bottom: clamp(52px, 7vw, 104px); }
.section--flush { padding-top: 0; }

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */

.kicker {
  display: block;
  margin: 0 0 16px;
  color: var(--accent-400);
  font-size: 12.5px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker--dot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.kicker--dot::before {
  content: "";
  width: 10px; height: 10px;
  flex: none;
  background: var(--accent);
}

.display {
  margin: 0 0 0 -0.058em;
  font-size: clamp(40px, 6.6vw, 100px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.display > span { display: block; }

.h-page {
  margin: 0 0 0 -0.04em;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.h-page > span { display: block; }

.h-section {
  max-width: 24ch;
  margin: 0 0 0 -0.03em;
  font-size: clamp(27px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.h-section--wide { max-width: 34ch; }

.h-sub {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.16;
}

.lede {
  max-width: 42ch;
  margin: 0;
  color: var(--on-76);
  font-size: 16px;
  line-height: 28px;
}

.prose {
  max-width: 52ch;
  color: var(--on-76);
  font-size: 15px;
  line-height: 27px;
}
.prose--bright { color: var(--on-84); }
.prose--wide { max-width: 60ch; }

.tnum { font-feature-settings: "tnum" 1; }

/* --------------------------------------------------------------------------
   5. Buttons and inputs
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.24s linear, border-color 0.24s linear, color 0.24s linear;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--accent-600); border-color: var(--accent-600); color: var(--paper); }
.btn-secondary { border-color: var(--on-42); color: var(--paper); }
.btn-secondary:hover { background: color-mix(in srgb, var(--paper) 10%, transparent); color: var(--paper); }
.btn-ghost { padding: 13px 0; color: var(--accent-400); }
.btn-ghost:hover { color: var(--accent-300); background: transparent; }

/* A short rule that trails a label — the design's recurring device. */
.rule-tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-400);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rule-tick::after {
  content: "";
  width: 14px; height: 2px;
  background: var(--accent);
}

.field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--on-72);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, var(--paper) 36%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  caret-color: var(--accent);
}
.input::placeholder { color: var(--on-42); }
.input:hover { border-color: color-mix(in srgb, var(--paper) 60%, transparent); }
.input:focus-visible { border-color: var(--accent); outline-offset: 0; }
textarea.input { min-height: 104px; resize: vertical; }
select.input { appearance: none; padding-right: 40px; }
.field__hint { margin: 7px 0 0; color: var(--on-66); font-size: 12.5px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   6. Photography
   -------------------------------------------------------------------------- */

.shot {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--n800);
  filter: grayscale(1) contrast(1.08);
}
.shot > img { width: 100%; height: 100%; object-fit: cover; }
.shot--fill { position: absolute; inset: 0; height: 100%; }
.shot--reveal { transition: filter 0.5s ease; }
a:hover .shot--reveal { filter: grayscale(0) contrast(1.02); }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */

.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px clamp(16px, 3vw, 40px);
  padding: 10px var(--edge);
  border-bottom: 2px solid var(--rule-soft);
  color: var(--on-66);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  line-height: 15px;
  text-transform: uppercase;
}
.strip__flag { display: flex; align-items: center; gap: 10px; }
.strip__flag::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--accent);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 2px solid var(--rule);
  background: var(--n900);
}
.masthead__inner { display: flex; align-items: stretch; }

/* On desktop the drawer is not a box at all — its children become direct flex
   children of the bar, so the nav and the CTA sit in the row. Below the
   breakpoint it becomes a real container and drops down as a panel. */
.masthead__drawer { display: contents; }

.brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
  flex: 0 0 auto;
  padding: clamp(14px, 1.6vw, 20px) clamp(20px, 3.4vw, 44px) clamp(14px, 1.6vw, 20px) var(--edge);
  border-right: 2px solid var(--rule);
  color: var(--paper);
}
/* The asterisk mark: three bars rotated within a red square. */
.brand__mark {
  position: relative;
  width: clamp(40px, 3.6vw, 50px);
  height: clamp(40px, 3.6vw, 50px);
  flex: none;
  background: var(--accent);
}
.brand__mark span {
  position: absolute;
  top: 50%; left: 50%;
  width: 62%; height: 2px;
  background: var(--paper);
}
.brand__mark span:nth-child(1) { transform: translate(-50%, -50%); }
.brand__mark span:nth-child(2) { transform: translate(-50%, -50%) rotate(60deg); }
.brand__mark span:nth-child(3) { transform: translate(-50%, -50%) rotate(120deg); }
.brand__name {
  display: block;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__sub {
  display: block;
  margin-top: 7px;
  color: var(--on-72);
  font-size: clamp(9px, 0.78vw, 10.5px);
  font-weight: 800;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.masthead__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 2.6vw, 40px);
  flex: 1 1 auto;
  padding: 12px clamp(18px, 3vw, 40px);
}
.masthead__nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.masthead__nav a:hover,
.masthead__nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent-400);
}

.masthead__cta {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex: 0 1 auto;
  padding: clamp(16px, 1.8vw, 22px) clamp(20px, 2.6vw, 34px);
  background: var(--accent);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.24s linear;
}
.masthead__cta:hover { background: var(--accent-600); color: var(--paper); }
.masthead__cta::after {
  content: "";
  width: clamp(20px, 2vw, 30px);
  height: 2px;
  flex: none;
  margin-left: auto;
  background: var(--paper);
}

/* The design's nav row used min-width:max-content and would overflow on any
   narrow screen. Below the breakpoint it becomes a drawer. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 0 var(--edge) 0 20px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; display: block; width: 16px; height: 9px; flex: none; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: currentColor;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

@media (max-width: 1000px) {
  .brand { border-right: 0; padding-right: 16px; }
  .nav-toggle { display: inline-flex; }
  .masthead__drawer {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--n900);
    border-bottom: 2px solid var(--rule);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  }
  .masthead__drawer[hidden] { display: none; }
  .masthead__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--edge) 16px;
  }
  .masthead__nav a {
    padding: 15px 0;
    border-bottom: 0;
    border-top: 1px solid var(--rule-soft);
    font-size: 13px;
  }
  .masthead__nav a[aria-current="page"] { border-bottom-color: transparent; }
  .masthead__cta { justify-content: center; margin: 0 var(--edge) 18px; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero > :first-child { animation: aster-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero > :last-child { animation: aster-rise 1s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

.hero-plate {
  position: relative;
  max-width: var(--wrap);
  margin: clamp(36px, 5vw, 64px) auto 0;
  animation: aster-rise 1.1s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-plate__media { position: relative; height: clamp(280px, 44vw, 560px); }
/* The figure notch: the page colour eats into the bottom-left of the image. */
.hero-plate__badge {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(16px, 2.4vw, 30px) clamp(22px, 3vw, 44px) clamp(12px, 2vw, 24px) 0;
  background: var(--n900);
  pointer-events: none;
}
.hero-plate__badge strong {
  color: var(--accent);
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.hero-plate__badge span {
  max-width: 12ch;
  color: var(--on-72);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 17px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. Figure row (hairline grid on the page colour)
   -------------------------------------------------------------------------- */

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 2px;
  max-width: var(--wrap);
  margin: clamp(34px, 4.5vw, 58px) auto 0;
  border-top: 2px solid var(--rule);
  background: var(--rule);
}
.figures > div {
  padding: clamp(20px, 2.6vw, 32px) clamp(16px, 2vw, 26px);
  background: var(--n900);
}
.figures > div:first-child { padding-left: 0; }
.figures > div:last-child { padding-right: 0; }
.figure__value {
  margin: 0 0 0 -0.045em;
  color: var(--accent);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.figure__label {
  margin: 14px 0 0;
  color: var(--on-72);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 18px;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .figures > div,
  .figures > div:first-child,
  .figures > div:last-child { padding-inline: clamp(14px, 3vw, 22px); }
}

/* --------------------------------------------------------------------------
   10. Section heads
   -------------------------------------------------------------------------- */

.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: clamp(22px, 4vw, 72px);
  align-items: end;
  max-width: var(--wrap);
  margin: 0 auto clamp(28px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   11. Discipline cards
   -------------------------------------------------------------------------- */

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 2px;
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--rule);
}
.discipline {
  display: flex;
  flex-direction: column;
  min-height: clamp(300px, 26vw, 380px);
  padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2vw, 26px) clamp(24px, 3vw, 34px);
  background: var(--n800);
  color: inherit;
  transition: background 0.3s linear;
}
.discipline:hover { background: var(--n700); color: inherit; }
.discipline__no {
  margin: 0;
  color: var(--on-42);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.discipline--accent .discipline__no { color: var(--accent); }
.discipline__foot { margin-top: auto; padding-top: clamp(24px, 4vw, 48px); }
.discipline__title { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; line-height: 1.16; }
.discipline__note { margin: 12px 0 0; color: var(--on-72); font-size: 14px; line-height: 24px; }
.discipline__more { margin-top: 18px; }
/* The card that carries an image instead of empty space. */
.discipline__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 104px;
  margin: clamp(18px, 2.4vw, 28px) clamp(-26px, -2vw, -18px) 0;
  background: var(--n700);
}
.discipline--media .discipline__foot { margin-top: 0; padding-top: clamp(20px, 2.4vw, 28px); }

/* --------------------------------------------------------------------------
   12. Works index — native <details> so it opens without JavaScript
   -------------------------------------------------------------------------- */

.works { max-width: var(--wrap); margin: 0 auto; border-top: 2px solid var(--rule); }
.work { border-bottom: 2px solid var(--rule); }
.work > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 84px;
  gap: clamp(10px, 1.6vw, 22px);
  align-items: center;
  padding: clamp(16px, 2vw, 26px) 0;
  cursor: pointer;
  list-style: none;
  transition: background 0.24s linear;
}
.work > summary::-webkit-details-marker { display: none; }
.work > summary:hover { background: color-mix(in srgb, var(--paper) 7%, transparent); }
.work > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.work__num { color: var(--accent-400); font-size: 13px; font-weight: 800; }
.work__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px clamp(16px, 2.4vw, 40px);
  min-width: 0;
}
.work__title {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.work__place,
.work__type { flex: 0 1 170px; color: var(--on-72); font-size: 13.5px; line-height: 22px; }
.work__year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--on-72);
  font-size: 13.5px;
  line-height: 22px;
}
/* Plus that becomes a minus when the row is open. */
.work__plus { position: relative; width: 14px; height: 14px; flex: none; }
.work__plus::before,
.work__plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.work__plus::before { top: 6px; left: 0; width: 14px; height: 2px; }
.work__plus::after {
  top: 0; left: 6px; width: 2px; height: 14px;
  transition: transform 0.36s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-origin: center;
}
.work[open] .work__plus::after { transform: scaleY(0); }

.work__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(20px, 3vw, 44px);
  padding: 0 0 clamp(24px, 3vw, 36px);
}
.work__body dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 18px;
  margin: clamp(22px, 2.6vw, 30px) 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--rule);
}
.work__body dt {
  color: var(--on-66);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.work__body dd { margin: 7px 0 0; font-size: 13.5px; line-height: 22px; }

@media (max-width: 720px) {
  .work > summary { grid-template-columns: 30px minmax(0, 1fr) 30px; }
  .work__year { flex-direction: column-reverse; align-items: flex-end; gap: 6px; font-size: 12px; }
}

/* Cursor label that follows the pointer over the index. Pointer devices only. */
.cursor-label {
  position: fixed;
  top: 0; left: 0;
  z-index: 40;
  padding: 8px 12px;
  background: var(--accent);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s linear;
}
@media (hover: none), (pointer: coarse) {
  .cursor-label { display: none; }
}

/* --------------------------------------------------------------------------
   13. Featured project band
   -------------------------------------------------------------------------- */

.featured { position: relative; margin-top: clamp(32px, 5vw, 64px); }
.featured__media { position: relative; height: clamp(440px, 60vw, 720px); }
.featured__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--n900) 90%, transparent),
    color-mix(in srgb, var(--n900) 22%, transparent) 66%
  );
  pointer-events: none;
}
.featured__copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) var(--edge);
  overflow: hidden;
}
.featured__copy > div { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.featured__copy .h-page { max-width: 22ch; }

/* On short viewports absolute copy over a fixed-height image can clip, so
   below this width the text sits under the photograph instead. */
@media (max-width: 720px) {
  .featured__media { height: clamp(280px, 60vw, 380px); }
  .featured__copy {
    position: static;
    inset: auto;
    padding: clamp(24px, 5vw, 36px) var(--edge) 0;
  }
  .featured__scrim { display: none; }
}

.record {
  padding: 0 var(--edge);
  background: var(--n800);
}
.record__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 2px;
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--rule-soft);
}
.record__grid > div {
  padding: clamp(20px, 2.6vw, 30px) clamp(16px, 2vw, 26px);
  background: var(--n800);
}
.record__grid > div:first-child { padding-left: 0; }
.record__grid > div:last-child { padding-right: 0; }
.record__grid dt {
  margin: 0;
  color: var(--on-66);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.record__grid dd { margin: 9px 0 0; font-size: 14px; line-height: 22px; }
@media (max-width: 760px) {
  .record__grid > div,
  .record__grid > div:first-child,
  .record__grid > div:last-child { padding-inline: clamp(14px, 3vw, 22px); }
}

/* --------------------------------------------------------------------------
   14. Split, list rows, credential tiles
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
}

.list-rows { margin-top: clamp(26px, 3.2vw, 38px); border-top: 2px solid var(--rule); }
.list-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 13.5px;
}
.list-row:last-child { border-bottom: 0; }
.list-row span:last-child { color: var(--on-66); }

.tile-stack { display: grid; gap: 2px; background: var(--rule); }
.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 2px;
}
.credentials > div { padding: 20px 18px; background: var(--n800); }
.credentials strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.credentials span {
  display: block;
  margin: 9px 0 0;
  color: var(--on-66);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Detail article, used on the discipline and stewardship pages. */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 60px) 0;
  border-bottom: 2px solid var(--rule);
  scroll-margin-top: 110px;
}
.detail:first-of-type { border-top: 2px solid var(--rule); }
@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   15. Quote band
   -------------------------------------------------------------------------- */

.quote-band {
  padding: clamp(52px, 7vw, 104px) var(--edge);
  background: var(--accent);
  color: var(--paper);
}
.quote-band blockquote {
  max-width: 30ch;
  margin: 0 0 0 -0.058em;
  font-size: clamp(27px, 4.2vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.quote-band figcaption {
  margin: clamp(28px, 4vw, 52px) 0 0;
  color: var(--on-92);
  font-size: 14.5px;
  line-height: 26px;
}

/* --------------------------------------------------------------------------
   16. Forms and alerts
   -------------------------------------------------------------------------- */

.enquiry-form {
  display: grid;
  gap: 18px;
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 2px solid var(--rule);
}
.enquiry-form__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 18px;
}
.enquiry-form__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.enquiry-form__foot span {
  max-width: 34ch;
  color: var(--on-66);
  font-size: 12.5px;
  line-height: 20px;
}

.alert {
  max-width: 640px;
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 2px solid var(--rule);
  border-left: 6px solid var(--accent);
  background: var(--n800);
  font-size: 15px;
  line-height: 1.7;
}
.alert > :last-child { margin-bottom: 0; }
.alert ul { margin: 10px 0 0; padding-left: 22px; }

/* --------------------------------------------------------------------------
   17. Page head
   -------------------------------------------------------------------------- */

.page-head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(36px, 5.5vw, 84px) 0 clamp(28px, 3.5vw, 44px);
}
.page-head__lede { max-width: 54ch; margin-top: clamp(20px, 2.5vw, 28px); }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: clamp(38px, 5vw, 64px) var(--edge) clamp(26px, 3vw, 40px);
  border-top: 2px solid var(--rule);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(24px, 3vw, 48px);
  max-width: var(--wrap);
  margin: 0 auto;
}
.site-footer__brand {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.site-footer__brand::before {
  content: "";
  width: 13px; height: 13px;
  flex: none;
  background: var(--accent);
  transform: translateY(-1px);
}
.site-footer h2 {
  margin: 0 0 16px;
  color: var(--accent-400);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer p, .site-footer li { color: var(--on-76); font-size: 14px; line-height: 25px; }
.site-footer a { color: var(--on-76); }
.site-footer a:hover { color: var(--accent-400); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--wrap);
  margin: clamp(30px, 4vw, 52px) auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  color: var(--on-66);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   19. Reveal + reduced motion
   -------------------------------------------------------------------------- */

[data-reveal].is-hidden { opacity: 0; transform: translateY(18px); }
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */

@media print {
  .masthead, .strip, .nav-toggle, .skip-link, .cursor-label, .featured__scrim { display: none !important; }
  body, .quote-band, .record, .discipline { background: #fff !important; color: #000 !important; }
  .shot { filter: none; }
  .work__body { display: grid !important; }
  body { font-size: 11pt; }
}
