/* Lux + Logic
 * Shared stylesheet. Component rules and their responsive states live together.
 * Breakpoints intentionally remain unchanged; navigation also uses 700px and
 * galleries use 750px in JavaScript. Keep those pairs in sync.
 */

/* Foundations and shared layout */
:root {
  --paper: #f4f0e8;
  --ink: #171713;
  --muted: #625e56;
  --line: #d9d1c5;
  --cream: #ebe4d8;
  --max: 1280px;
  --section-space: 80px;
  --content-gap: 32px;
  --card-gap: 32px;
  color-scheme: only light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wrap {
  margin-inline: auto;
  width: min(calc(100% - 80px),var(--max));
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.eyebrow,
.kicker,
.n {
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  font-size: 11px;
  letter-spacing: .11em;
}
h1 {
  margin-top: 0;
  font-weight: 500;
  margin-bottom: 0;
  font-size: clamp(44px,7.4vw,104px);
  line-height: .96;
  letter-spacing: -.06em;
  max-width: 1120px;
}
h2 {
  margin-top: 0;
  font-weight: 500;
  margin-bottom: 0;
  font-size: clamp(34px,4.6vw,64px);
  line-height: 1.04;
  letter-spacing: -.045em;
  max-width: 950px;
  text-wrap: balance;
}
h3,
p {
  margin-top: 0;
}
.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: var(--content-gap);
}
.technical {
  font-family: "SFMono-Regular",Consolas,monospace;
  letter-spacing: .06em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 10px;
  line-height: 1.8;
}
.small {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: var(--paper);
  z-index: 30;
}
.skip-link:focus {
  top: 12px;
}
section {
  padding: 80px 0;
}
.section-intro {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 36px;
  margin-bottom: var(--content-gap);
}
.beyond {
  border-top: 1px solid var(--line);
}
.text-link {
  display: inline-block;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.text-link:hover {
  color: var(--muted);
}
.projects-hero .kicker {
  margin-bottom: 24px;
}
.projects-hero h1 {
  font-size: clamp(44px,7vw,96px);
  max-width: 1100px;
  line-height: 1;
  margin-bottom: 28px;
}
.case-study {
  border-top: 1px solid var(--line);
}
.case-lede {
  font-size: 24px;
  line-height: 1.4;
  max-width: 42ch;
}
main>section {
  padding-block: var(--section-space);
}
main>section+section {
  border-top: 1px solid var(--line);
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media(max-width:850px) {
  .wrap {
    width: calc(100% - 48px);
  }
  section {
    padding: 60px 0;
  }
  :root {
    --section-space: 60px;
    --content-gap: 28px;
    --card-gap: 28px;
  }
}
@media(max-width:600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  section {
    padding: 52px 0;
  }
  h1 {
    font-size: clamp(37px,8.6vw,52px);
    line-height: 1;
    letter-spacing: -.055em;
  }
  h2 {
    font-size: clamp(32px,7.7vw,44px);
    line-height: 1.08;
  }
  .section-head {
    gap: 14px;
  }
  .section-intro {
    font-size: 16px;
  }
  :root {
    --section-space: 52px;
    --content-gap: 26px;
    --card-gap: 24px;
  }
}
@media(max-width:700px) {
  html {
    scroll-padding-top: 96px;
  }
}

/* Main navigation */
nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  margin-right: auto;
}
.stacked-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .85;
  font-size: 24px;
}
.nav-center {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.nav-right {
  font-size: 13px;
}
.nav-right a {
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
nav a:hover {
  color: var(--muted);
}
nav[aria-label="Main navigation"] .nav-right a {
  border-bottom: 0;
  padding-bottom: 0;
}
nav[aria-label="Main navigation"] {
  position: relative;
}
nav[aria-label="Main navigation"] a[aria-current] {
  text-decoration: none;
}
.nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}
.nav-indicator.is-ready {
  transition: transform 480ms cubic-bezier(.65,0,.25,1),width 480ms cubic-bezier(.65,0,.25,1);
}
.menu-toggle,
nav[aria-label="Main navigation"] .nav-right {
  display: none;
}
@media(max-width:700px) {
  nav {
    min-height: 100px;
    flex-wrap: wrap;
    padding: 18px 0;
  }
  .brand {
    order: 0;
  }
  .nav-right {
    order: 1;
  }
  .nav-center {
    order: 2;
    width: 100%;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 14px 20px;
  }
  .stacked-logo {
    font-size: 21px;
  }
  nav[aria-label="Main navigation"].has-mobile-menu {
    min-height: 76px;
    flex-wrap: nowrap;
    padding: 0;
    gap: 12px;
  }
  .has-mobile-menu .brand {
    order: 0;
  }
  .has-mobile-menu .nav-right {
    order: 1;
  }
  .has-mobile-menu .nav-right a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
  }
  .has-mobile-menu .menu-toggle {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 240ms ease;
  }
  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .has-mobile-menu .nav-center {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    width: auto;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    gap: 0;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  .has-mobile-menu.menu-open .nav-center {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .has-mobile-menu .nav-center a {
    display: block;
    min-height: 48px;
    padding: 12px 0;
    line-height: 24px;
  }
  .has-mobile-menu .nav-indicator {
    display: none;
  }
  nav[aria-label="Main navigation"].has-mobile-menu a[aria-current] {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
  }
  .menu-toggle:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 2px;
  }
  nav[aria-label="Main navigation"] .nav-right {
    display: block;
  }
}
@media(max-width:1050px) {
  nav {
    gap: 22px;
  }
  .nav-center {
    gap: 18px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .nav-indicator.is-ready,
  .menu-toggle span {
    transition: none;
  }
}

/* Opening image and headline */
.hero-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-meta {
  display: grid;
  grid-template-columns: minmax(0,580px);
  gap: 16px;
  color: var(--muted);
  margin-top: 26px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
}
.hero-image {
  background: var(--cream);
  margin-top: 32px;
  height: clamp(340px,43vw,580px);
  position: relative;
  overflow: hidden;
}
.hero-image img {
  object-fit: cover;
  object-position: 70% center;
}
.hero {
  padding: 40px 0 0;
}
.hero-top .small {
  font-size: 14px;
}
.hero .hero-top {
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(44px,6.8vw,96px);
  line-height: 1.01;
  letter-spacing: -.045em;
}
.hero .hero-meta {
  display: block;
  max-width: 58ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
}
.hero-meta p {
  margin: 0 0 12px;
}
.hero-meta p:last-child {
  margin-bottom: 0;
}
.hero-scope {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
main>.hero {
  padding-top: 40px;
  padding-bottom: var(--section-space);
}
.hero-image .hero-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(.22,1,.36,1);
}
.hero-image.lights-off .hero-dark {
  opacity: 1;
}
.hero-moon {
  position: absolute;
  z-index: 2;
  transform: translate(-50%,-50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  border-radius: 3px;
}
.hero-moon:disabled {
  pointer-events: none;
}
.hero-moon:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}
.hero-sun {
  position: absolute;
  z-index: 2;
  transform: translate(-50%,-50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  border-radius: 3px;
}
.hero-sun:disabled {
  pointer-events: none;
}
.hero-sun:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}
.hero-rocker {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  transform-origin: center;
  backface-visibility: hidden;
}
.hero-rocker-night {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 420ms cubic-bezier(.22,1,.36,1);
}
.lights-off .hero-rocker-night {
  opacity: 1;
}
@media(max-width:850px) {
  .hero {
    padding-top: 32px;
  }
  .hero-image {
    height: 410px;
  }
  main>.hero {
    padding-top: 32px;
  }
}
@media(max-width:600px) {
  .hero-top {
    margin-bottom: 28px;
  }
  .hero-meta {
    font-size: 15px;
    margin-top: 22px;
  }
  .hero-image {
    margin-top: 28px;
  }
  .hero h1 {
    font-size: clamp(40px,9.5vw,56px);
    line-height: 1.04;
  }
  .hero h1 br {
    display: none;
  }
  .hero .hero-meta {
    font-size: 16px;
    margin-top: 24px;
  }
  .hero-scope {
    margin-top: 18px;
  }
}
@media(max-width:750px) {
  .hero-image {
    height: clamp(260px,65vw,390px);
  }
  .hero-image img {
    object-position: 64% center;
  }
}
@media(prefers-reduced-motion:reduce) {
  .hero-image .hero-dark,
  .hero-rocker-night {
    transition: none;
  }
}

/* Services */
.services-index {
  border-top: 1px solid var(--line);
  margin-left: clamp(24px,4vw,64px);
}
.service-row {
  display: grid;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  gap: 24px;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr);
}
.service-row h3 {
  font-weight: 500;
  margin: 0;
  font-size: clamp(23px,2.2vw,30px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  grid-column: auto;
}
.services-index h3 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line);
}
.services-index h3 a:hover {
  text-decoration-color: currentColor;
}
.services-index h3 .link-arrow {
  margin-left: .2em;
}
@media(max-width:600px) {
  .service-row {
    padding: 22px 0;
  }
  .service-row h3 {
    font-size: 24px;
  }
}
@media(max-width:700px) {
  .service-row {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .services-index {
    margin-left: 20px;
  }
  .service-row p {
    grid-column: 1;
  }
}
@media(min-width:701px) {
  .service-row {
    grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr);
  }
  .service-row p {
    grid-column: 2;
  }
}

/* Approach and rescue */
.manifesto {
  background: var(--paper);
  color: var(--ink);
  border-block: 1px solid var(--line);
  padding: 76px 0;
}
.manifesto .kicker {
  color: var(--muted);
  margin-bottom: 24px;
}
.manifesto blockquote {
  margin: 0;
  font-weight: 500;
  font-size: clamp(36px,5.4vw,74px);
  line-height: 1.03;
  letter-spacing: -.045em;
  max-width: 1000px;
  text-wrap: balance;
}
.step {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 18px;
}
.step h3 {
  font-weight: 500;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.step p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}
.manifesto-note {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 62ch;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--card-gap);
}
.approach-grid .step {
  display: flex;
  gap: 22px;
}
.manifesto h2 {
  font-size: clamp(36px,5.4vw,74px);
  line-height: 1.03;
  letter-spacing: -.045em;
  max-width: 1000px;
  text-wrap: balance;
}
.rescue-link {
  display: inline-block;
  margin-top: 24px;
}
main>.manifesto {
  border-bottom: 0;
}
@media(max-width:850px) {
  .step {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
  }
}
@media(max-width:600px) {
  .manifesto {
    padding: 56px 0;
  }
  .manifesto blockquote {
    font-size: 38px;
    line-height: 1.08;
  }
  .manifesto-note {
    font-size: 16px;
    margin-top: 24px;
  }
  .step {
    display: flex;
    gap: 18px;
  }
  .step h3 {
    font-size: 24px;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
}
@media(max-width:700px) {
  .manifesto h2 {
    font-size: 38px;
    line-height: 1.08;
  }
}

/* Lighting and control galleries */
.capabilities {
  border-top: 1px solid var(--line);
}
.capability-intro {
  max-width: 76ch;
  margin-bottom: var(--content-gap);
}
.capability-intro p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 18px;
}
.capability-intro p:last-child {
  margin-bottom: 0;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--card-gap);
}
.capability-card {
  background: var(--cream);
  min-width: 0;
}
.capability-photo {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--paper);
}
.capability-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.capability-copy {
  padding: 24px 28px 28px;
}
.capability-copy .kicker {
  margin-bottom: 12px;
}
.capability-copy h3 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}
.capability-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}
.capabilities .section-head {
  margin-bottom: var(--content-gap);
}
.gallery-fan {
  display: flex;
  gap: 0;
  height: 490px;
  border: 1px solid var(--line);
  overflow: hidden;
  --open-image: 600px;
}
.gallery-fan .capability-card {
  position: relative;
  min-width: 0;
  flex: 0 0 92px;
  overflow: hidden;
  background: var(--paper);
  border: 0;
  border-right: 1px solid var(--line);
  transition: flex-basis 600ms cubic-bezier(.65,0,.25,1),flex-grow 600ms cubic-bezier(.65,0,.25,1);
}
.gallery-fan .capability-card:last-child {
  border-right: 0;
}
.gallery-fan .capability-card.is-open {
  flex: 1 0 92px;
}
.gallery-tab {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  text-align: left;
  transition: color 240ms ease,background-color 240ms ease;
}
.gallery-tab-label {
  position: absolute;
  left: 32px;
  top: 50%;
  width: 420px;
  transform: translate(-50%,-50%) rotate(-90deg);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.gallery-tab-title {
  font-size: 21px;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.gallery-tab-subtitle {
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-tab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}
.gallery-fan .capability-photo {
  position: absolute;
  inset: 0 0 0 64px;
  aspect-ratio: auto;
  height: 100%;
  margin: 0;
}
.gallery-fan .capability-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-fan .capability-copy {
  position: absolute;
  bottom: 0;
  left: 64px;
  right: 0;
  padding: 24px;
  background: var(--paper);
  pointer-events: none;
  visibility: hidden;
  clip-path: inset(100% 0 0);
  transition: clip-path 180ms cubic-bezier(.4,0,1,1),visibility 0s 180ms;
}
.gallery-fan .capability-copy h3,
.gallery-fan .capability-copy .kicker {
  display: none;
}
.gallery-fan .capability-copy p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  min-width: 200px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 70ms ease,transform 140ms ease;
}
.gallery-fan .is-open .capability-copy {
  visibility: visible;
  clip-path: inset(0);
  transition: clip-path 360ms cubic-bezier(.22,1,.36,1) 80ms,visibility 0s;
}
.gallery-fan .is-open .capability-copy p {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms ease 180ms,transform 320ms cubic-bezier(.22,1,.36,1) 150ms;
}
@media(max-width:600px) {
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .capability-intro p {
    font-size: 16px;
  }
  .capability-copy {
    padding: 22px;
  }
  .capability-copy h3 {
    font-size: 25px;
  }
}
@media(max-width:1000px) {
  .gallery-fan .capability-card,
  .gallery-fan .capability-card.is-open {
    flex-basis: 72px;
  }
}
@media(max-width:750px) {
  .gallery-fan {
    display: block;
    height: auto;
  }
  .gallery-fan .capability-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    height: auto;
    display: grid;
    grid-template-rows: 76px 0fr;
    transition: grid-template-rows 380ms cubic-bezier(.22,1,.36,1);
  }
  .gallery-fan .capability-card:last-child {
    border-bottom: 0;
  }
  .gallery-fan .capability-card.is-open {
    grid-template-rows: 76px 1fr;
  }
  .gallery-tab {
    inset: 0 64px auto 0;
    height: 76px;
    border: 0;
    width: 100%;
    right: 0;
    padding-right: 32px;
  }
  .gallery-tab-label {
    position: static;
    transform: none;
    width: auto;
    padding: 14px 18px;
    gap: 6px;
  }
  .gallery-tab-title {
    font-size: 19px;
  }
  .gallery-tab-subtitle {
    font-size: 9px;
  }
  .gallery-fan .capability-copy {
    left: 0;
    position: static;
    padding: 18px;
  }
  .gallery-fan .capability-copy p {
    min-width: 0;
    font-size: 14px;
  }
  .gallery-fan .gallery-panel {
    grid-row: 2;
    min-height: 0;
    overflow: hidden;
  }
  .gallery-fan .capability-photo,
  .gallery-fan .is-open .capability-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
  }
  .gallery-tab::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 26px;
    font-size: 22px;
  }
  .is-open .gallery-tab::after {
    content: '−';
  }
  .gallery-fan .capability-copy {
    clip-path: none;
    transition: visibility 0s 90ms;
  }
  .gallery-fan .is-open .capability-copy {
    transition-delay: 0s;
  }
  .gallery-fan .is-open .capability-copy p {
    transition-delay: 100ms,80ms;
  }
}
@media(prefers-reduced-motion:reduce) {
  .gallery-fan .capability-card {
    transition: none!important;
  }
  .gallery-fan .capability-copy,
  .gallery-fan .capability-copy p {
    transition: none!important;
    transform: none!important;
  }
  .gallery-tab {
    transition: none!important;
  }
}
@media(min-width:751px) {
  .gallery-fan .capability-card {
    transition: flex-grow 520ms cubic-bezier(.22,1,.36,1),flex-basis 520ms cubic-bezier(.22,1,.36,1);
  }
  .gallery-fan .capability-photo img {
    width: var(--open-image);
    max-width: none;
  }
  .gallery-fan .capability-copy {
    width: var(--open-image);
    box-sizing: border-box;
    right: auto;
    visibility: hidden;
  }
  .gallery-fan .is-open .capability-copy {
    visibility: visible;
  }
}

/* About and portrait */
.about-side p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
}
.about-lede {
  margin: 0;
  font-size: clamp(24px,2.5vw,34px);
  line-height: 1.3;
  letter-spacing: -.025em;
  max-width: 30ch;
}
.about-side,
.about-explanation {
  display: grid;
  gap: 24px;
}
.about-explanation>p:not(.about-lede) {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
#about .about-grid {
  grid-template-columns: minmax(0,1fr);
  gap: 32px;
  max-width: 960px;
}
#about .about-lede {
  font-size: clamp(26px,3vw,40px);
  line-height: 1.2;
  max-width: 34ch;
}
#about .about-explanation>p:not(.about-lede),
#about .about-side p {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.65;
}
#about .about-side {
  gap: 20px;
}
#about .about-bio {
  display: grid;
  grid-template-columns: minmax(180px,280px) minmax(0,1fr);
  gap: 36px;
  margin-top: 8px;
  align-items: start;
}
.about-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}
#about .about-bio .about-side {
  align-content: start;
}
#about .about-bio .about-portrait {
  align-self: start;
}
#about .about-portrait {
  filter: none;
}
@media(max-width:600px) {
  .about-lede {
    font-size: 26px;
    line-height: 1.3;
  }
  .about-explanation>p:not(.about-lede) {
    font-size: 16px;
  }
  #about .about-grid {
    gap: 28px;
  }
  #about .about-explanation>p:not(.about-lede),
  #about .about-side p {
    font-size: 16px;
  }
}
@media(max-width:850px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media(min-width:751px) {
  #about>.wrap {
    display: grid;
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
    grid-template-columns: minmax(0,1fr) minmax(240px,32%);
  }
  #about .section-head {
    grid-column: 1;
    grid-row: 1;
  }
  #about .about-grid,
  #about .about-bio {
    display: contents;
  }
  #about .about-explanation {
    grid-column: 1;
    grid-row: 2;
    max-width: 960px;
  }
  #about .about-bio .about-side {
    grid-column: 1;
    grid-row: 3;
    max-width: 960px;
    margin-top: 32px;
  }
  #about .about-bio .about-portrait {
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-self: end;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    align-self: stretch;
    object-fit: cover;
    object-position: 50% 25%;
    contain: size;
  }
}
@media(max-width:750px) {
  #about>.wrap {
    display: block;
  }
  #about .about-bio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 12px;
  }
  #about .about-bio .about-side {
    grid-column: 1;
    grid-row: 2;
  }
  #about .about-bio .about-portrait {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    height: auto;
    contain: none;
    aspect-ratio: 4/5;
    object-position: center top;
  }
}
/* Questions and disclosures */
.faq-group-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 0 0 24px;
}
.faq-list details p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 70ch;
  padding: 0 40px 24px 0;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 40px 22px 0;
  font-size: 18px;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 20px;
  font-size: 24px;
  font-weight: 400;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list summary:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}
.problem-list {
  margin-bottom: 48px;
}
.faq-list details.animated-disclosure {
  overflow: hidden;
  box-sizing: border-box;
}
.faq-list details.animated-disclosure summary::after {
  content: '+';
  transition: transform 240ms ease;
}
.faq-list details.animated-disclosure.is-expanded summary::after {
  transform: rotate(45deg);
}
#questions .problem-list + .faq-list {
  padding-top: 44px;
}
#questions .problem-list {
  margin-bottom: 0;
}
@media(max-width:600px) {
  .faq-list summary {
    font-size: 17px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .faq-list details.animated-disclosure summary::after {
    transition: none;
  }
}

/* Journal and story cards */
.all-projects {
  margin-top: 28px;
}
.blog-hero {
  padding-bottom: 40px;
}
.blog-hero .kicker {
  margin-bottom: 24px;
}
.blog-hero h1 {
  font-size: clamp(44px,6.8vw,92px);
  line-height: 1.02;
  margin-bottom: 28px;
}
.blog-card {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.blog-card>a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.blog-card img {
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 22px;
}
.blog-card .kicker {
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: clamp(24px,2.3vw,32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}
.blog-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 48ch;
}
.blog-card .text-link {
  margin-top: auto;
}
.blog-card a:hover h3 {
  color: var(--muted);
}
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 40px;
}
.blog-index-grid .blog-card h3 {
  font-size: 26px;
}
.journal-feed {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
}
.journal-feed .blog-card {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 24px 0 0;
  min-width: 0;
}
.journal-feed .blog-card>a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
}
.journal-feed .blog-card h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 0;
}
.journal-feed .blog-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.journal-feed .text-link {
  margin-top: auto;
  padding-top: 6px;
}
@media(max-width:700px) {
  .blog-index-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero h1 {
    font-size: clamp(39px,9vw,60px);
  }
}
@media(max-width:850px) {
  .journal-feed {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px) {
  .journal-feed {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Article pages */
header.article-heading {
  position: static;
  z-index: auto;
  background: none;
  border: 0;
  backdrop-filter: none;
  padding-top: 64px;
  padding-bottom: 44px;
}
.article-heading>.text-link {
  margin-bottom: 32px;
}
.article-heading .kicker {
  margin-bottom: 20px;
}
.article-heading h1 {
  font-size: clamp(38px,5.5vw,76px);
  line-height: 1.06;
  letter-spacing: -.045em;
  max-width: 1040px;
  text-wrap: balance;
}
.article-deck {
  font-size: 22px;
  line-height: 1.5;
  max-width: 62ch;
  margin: 24px 0 18px;
  color: var(--muted);
}
.article-byline {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0,720px);
  gap: 64px;
  padding-bottom: 64px;
}
nav.article-contents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  min-height: 0;
  height: max-content;
  position: sticky;
  top: 120px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.article-contents a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 180ms ease,text-decoration-color 180ms ease;
}
.article-contents a:hover {
  text-decoration: underline;
}
.article-body section {
  padding: 0;
  margin: 0 0 40px;
  scroll-margin-top: 0;
}
.article-body h2 {
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  text-wrap: initial;
}
.article-body p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 66ch;
}
.article-sources,
.article-cta {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 36px;
}
.article-sources h2 {
  font-size: 20px;
}
.article-sources p,
.article-sources li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.article-sources ul {
  padding-left: 18px;
}
.article-sources a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-cta h2 {
  font-size: 28px;
}
.article-cta p {
  font-size: 16px;
}
.related-articles {
  border-top: 1px solid var(--line);
}
.related-articles>.wrap>.kicker {
  margin-bottom: 24px;
}
.article-body figure {
  margin: 32px 0;
}
.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article-body figcaption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 10px;
}
.article-contents a[aria-current="location"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: currentColor;
}
@media(max-width:1050px) {
  .article-layout {
    grid-template-columns: 190px minmax(0,1fr);
    gap: 36px;
  }
}
@media(max-width:850px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  nav.article-contents {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }
  .article-contents .kicker {
    grid-column: 1/-1;
  }
}
@media(max-width:700px) {
  .article-heading h1 {
    font-size: clamp(36px,8vw,52px);
  }
  header.article-heading {
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .article-deck {
    font-size: 19px;
  }
  .article-body h2 {
    font-size: 27px;
  }
  .article-body p {
    font-size: 17px;
    line-height: 1.7;
  }
  nav.article-contents {
    grid-template-columns: 1fr;
  }
  .article-layout {
    padding-bottom: 40px;
  }
  .article-body section {
    scroll-margin-top: 0;
  }
}
@media(min-width:851px) {
  nav.article-contents {
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media(prefers-reduced-motion:reduce) {
  .article-contents a {
    transition: none!important;
  }
}

/* Contact and enquiry form */
.contact {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  gap: 28px;
}
.contact-side {
  display: grid;
  justify-items: start;
  gap: 22px;
}
.contact-link {
  font-size: 19px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.contact-intro {
  color: var(--muted);
  margin: 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.6;
}
.contact h2 {
  max-width: 860px;
}
.contact .small {
  font-size: 13px;
  line-height: 1.65;
  max-width: 65ch;
}
.contact-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}
#contact .contact-grid {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 36px 48px;
  align-items: start;
}
#contact .contact-grid>div:first-child {
  grid-column: 1/-1;
}
.contact-map {
  margin: 0;
  min-width: 0;
  width: 100%;
  align-self: stretch;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.contact-map iframe {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1);
  background: var(--paper);
}
.enquiry-form {
  width: 100%;
  display: grid;
  gap: 12px;
}
.enquiry-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 8px;
}
.enquiry-form label {
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.enquiry-form input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  padding: 14px;
  min-width: 0;
  transition: border-color 180ms ease,box-shadow 180ms ease;
}
.enquiry-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  padding: 14px;
  min-width: 0;
  display: block;
  resize: vertical;
  min-height: 170px;
  transition: border-color 180ms ease,box-shadow 180ms ease;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline-offset: 2px;
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}
.enquiry-message-wrap {
  position: relative;
  width: 100%;
}
.enquiry-example {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  pointer-events: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.enquiry-example:not(:empty)::after {
  content: '|';
  margin-left: 2px;
}
.enquiry-submit {
  justify-self: start;
  min-height: 44px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  margin: 8px 0;
}
.enquiry-form p {
  margin: 0;
}
.enquiry-form #enquiry-status:empty {
  display: none;
}
@media(max-width:600px) {
  .contact-intro {
    font-size: 16px;
  }
}
@media(max-width:750px) {
  #contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-map {
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .enquiry-fields {
    grid-template-columns: 1fr;
  }
  .contact-emails {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .contact-link {
    font-size: clamp(17px,4.7vw,21px);
    overflow-wrap: anywhere;
  }
}
@media(prefers-reduced-motion:reduce) {
  .enquiry-form input,
  .enquiry-form textarea {
    transition: none!important;
  }
}

/* Footer */
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 700;
  color: var(--ink);
  font-size: 26px;
  line-height: .88;
  letter-spacing: -.055em;
}
footer {
  display: flex;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 36px 0;
  gap: 28px;
}
.footer-lockup {
  display: flex;
  align-items: center;
  gap: clamp(24px,4vw,56px);
}
.footer-descriptor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .09em;
}
.footer-descriptor span {
  white-space: nowrap;
}
.footer-copyright {
  font-size: 10px;
  letter-spacing: .08em;
}
.footer-domain {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  margin-left: auto;
}
footer > .footer-copyright {
  margin-left: 0;
}
body>footer {
  border-top: 1px solid var(--line);
}
.footer-profile-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.footer-profile-link:hover {
  color: var(--ink);
}
@media(max-width:700px) {
  footer {
    flex-wrap: wrap;
  }
}
@media(max-width:480px) {
  footer {
    align-items: flex-start;
    gap: 24px;
    padding: 28px 0;
  }
  .footer-lockup {
    gap: 24px;
  }
  .footer-logo {
    font-size: 24px;
  }
  .footer-descriptor {
    font-size: 11px;
    line-height: 1.92;
  }
}
@media(max-width:850px) {
  .footer-domain {
    margin-left: 0;
  }
}
@media(max-width:600px) {
  .footer-copyright {
    flex-basis: auto;
  }
}

/* Shared arrows and motion */
.link-arrow {
  display: inline-block;
  width: .72em;
  height: .72em;
  width: 1cap;
  height: 1cap;
  vertical-align: baseline;
  flex-shrink: 0;
  overflow: visible;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.link-arrow .arrow-shaft {
  transform-origin: 3px 33px;
  transition: transform 360ms cubic-bezier(.22,1,.36,1);
}
.link-arrow .arrow-head {
  transition: transform 360ms cubic-bezier(.22,1,.36,1);
}
a:hover .arrow-shaft,
a:focus-visible .arrow-shaft,
button:hover .arrow-shaft,
button:focus-visible .arrow-shaft {
  transform: scale(1.24);
}
a:hover .arrow-head,
a:focus-visible .arrow-head,
button:hover .arrow-head,
button:focus-visible .arrow-head {
  transform: translate(6.72px,-6.72px);
}
@media(prefers-reduced-motion:reduce) {
  .link-arrow .arrow-shaft,
  .link-arrow .arrow-head,
  .link-arrow {
    transition: none!important;
    transform: none!important;
  }
}
