/*
Theme Name: Erik Hattrem Portfolio 1.3.7
Theme URI: https://hattipop.no/
Author: Erik Hattrem
Description: Eget WordPress-tema for fotografi, kommunikasjon og historisk arkiv.
Version: 1.3.7
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: erik-hattrem
*/

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  --ink: #171512;
  --ink-soft: #24211d;
  --paper: #e8e0d3;
  --paper-soft: #f2ece2;
  --muted: #b9b1a5;
  --line: #5c574f;
  --oxide: #c55337;
  --display: "Manrope Variable", Manrope, "Helvetica Neue", Arial, sans-serif;
  --sans: "Manrope Variable", Manrope, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper-soft);
  font-family: var(--sans);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--paper-soft);
  outline-offset: 4px;
}

.archive-hero {
  display: grid;
  min-height: 900px;
  grid-template-columns: 184px 1fr;
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.035), transparent 22%),
    var(--ink);
}

.archive-index {
  position: relative;
  z-index: 4;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid rgba(23, 21, 18, 0.18);
  background:
    linear-gradient(rgba(23, 21, 18, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 18, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 14px 14px;
  color: var(--ink);
}

.index-wordmark {
  margin: 30px 0 0 31px;
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
}

.index-list {
  margin-top: 92px;
}

.index-button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 52px;
  grid-template-columns: 31px 1fr;
  align-items: center;
  gap: 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 0 14px 0 32px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-align: left;
  transition: color 180ms ease, border-color 180ms ease;
}

.index-button::before {
  position: absolute;
  top: 50%;
  left: 9px;
  width: 0;
  height: 2px;
  background: var(--oxide);
  content: "";
  transform: translateY(-50%);
  transition: width 180ms ease;
}

.index-button:hover,
.index-button.is-active {
  color: var(--oxide);
}

.index-button.is-active {
  border-bottom-color: var(--oxide);
}

.index-button:hover::before,
.index-button.is-active::before {
  width: 10px;
}

.index-caption {
  margin: auto 0 31px 32px;
  color: #625c53;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.archive-stage {
  min-width: 0;
  padding: 0 42px 56px 43px;
}

.site-header {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(232, 224, 211, 0.16);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-transform: uppercase;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.brand span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: none;
}

.site-header .brand span {
  font-size: 9px;
  letter-spacing: 0.06em;
}

.site-header nav {
  display: flex;
  gap: clamp(30px, 5vw, 66px);
  font-size: 14px;
}

.site-header nav a {
  position: relative;
  padding: 8px 0;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--paper-soft);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.hero-grid {
  display: grid;
  min-height: 748px;
  grid-template-columns: minmax(390px, 0.82fr) minmax(520px, 1.3fr);
  gap: 34px;
  padding-top: 18px;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 98px 0 16px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--oxide);
}

.hero-copy h1 {
  max-width: 600px;
  margin: 38px 0 0;
  font-family: var(--display);
  font-size: clamp(62px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero-intro {
  max-width: 480px;
  margin: 40px 0 0;
  color: #d6cec3;
  font-size: 17px;
  line-height: 1.65;
}

.paper-button {
  display: flex;
  width: 196px;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  background: var(--paper);
  padding: 0 22px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  transition: background 180ms ease, color 180ms ease;
}

.paper-button span {
  font-size: 20px;
  transition: transform 180ms ease;
}

.paper-button:hover {
  background: var(--oxide);
  color: var(--paper-soft);
}

.paper-button:hover span {
  transform: translateX(6px);
}

.project-meta {
  max-width: 298px;
  margin-top: auto;
  border-top: 1px solid rgba(232, 224, 211, 0.28);
  padding-top: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.project-meta p {
  margin: 0 0 8px;
}

.hero-image-wrap {
  position: relative;
  min-width: 0;
  height: 730px;
  overflow: visible;
  animation: reveal-image 620ms ease both;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  filter: none;
}

.demo-label {
  position: absolute;
  top: 13px;
  right: 13px;
  background: rgba(23, 21, 18, 0.78);
  padding: 8px 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-sheet {
  position: absolute;
  right: -18px;
  bottom: -16px;
  display: block;
  width: min(45vw, 450px);
  aspect-ratio: 1078 / 800;
  border: 1px solid #514a42;
  background: #12110f;
  padding: 7px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transform: rotate(0.5deg);
  transition: border-color 180ms ease, transform 300ms ease;
}

.contact-sheet:hover {
  border-color: var(--oxide);
  transform: rotate(0deg) translateY(-4px);
}

.contact-sheet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.works-section {
  background: var(--paper);
  padding: 130px clamp(24px, 6vw, 92px) 150px;
  color: var(--ink);
}

.works-section .eyebrow,
.about-section .eyebrow {
  color: #756d62;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 42px;
  margin-bottom: 82px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
  max-width: 860px;
  margin: -10px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 74px 28px;
}

.work-card {
  grid-column: span 4;
}

.work-card-2 {
  padding-top: 84px;
}

.work-card-3 {
  padding-top: 22px;
}

.work-card > a {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.work-image {
  display: block;
  overflow: visible;
  background: transparent;
}

.work-card-2 .work-image {
  aspect-ratio: auto;
}

.work-card-3 .work-image {
  aspect-ratio: auto;
}

.work-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: opacity 220ms ease;
}

.work-card > a:hover img {
  opacity: 0.92;
}

.work-caption {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.work-caption strong {
  display: block;
  margin-top: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
}

.about-section {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 42px;
  background: #d8cfc1;
  padding: 130px clamp(24px, 6vw, 92px);
  color: var(--ink);
}

.about-section > div > p {
  max-width: 650px;
  margin: 40px 0 0;
  color: #534d45;
  font-size: 18px;
  line-height: 1.75;
}

.about-section > div > p + p {
  border-top: 1px solid rgba(23, 21, 18, 0.2);
  margin-top: 34px;
  padding-top: 30px;
}

.about-section > div > p a {
  border-bottom: 1px solid var(--oxide);
  color: var(--ink);
}

.experience-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(197, 83, 55, 0.11), transparent 25%),
    var(--ink-soft);
  padding: 130px clamp(24px, 6vw, 92px) 145px;
}

.experience-heading {
  display: grid;
  grid-template-columns: 0.58fr 1.25fr 0.7fr;
  gap: 42px;
  align-items: start;
}

.experience-heading h2 {
  max-width: 760px;
  margin: -10px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.experience-heading > p:last-child {
  margin: 0;
  color: #c7beb2;
  font-size: 15px;
  line-height: 1.75;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 92px;
  border-top: 1px solid rgba(232, 224, 211, 0.24);
}

.experience-grid article {
  min-height: 310px;
  border-left: 1px solid rgba(232, 224, 211, 0.18);
  padding: 0;
}

.experience-grid article:first-child {
  border-left: 0;
}

.experience-grid article > a {
  display: flex;
  min-height: 310px;
  height: 100%;
  flex-direction: column;
  padding: 30px 30px 18px;
  transition: background 180ms ease, color 180ms ease;
}

.experience-grid article:first-child > a {
  padding-left: 0;
}

.experience-grid article > a:hover,
.experience-grid article > a:focus-visible {
  background: rgba(232, 224, 211, 0.06);
}

.experience-grid article > a > span {
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-grid h3 {
  max-width: 340px;
  margin: 52px 0 22px;
  font-family: var(--display);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.experience-grid p {
  max-width: 390px;
  margin: 0;
  color: #aaa195;
  font-size: 14px;
  line-height: 1.7;
}

.experience-grid b {
  margin-top: auto;
  padding-top: 28px;
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publications-section {
  background: var(--paper);
  padding: 130px clamp(24px, 6vw, 92px) 145px;
  color: var(--ink);
}

.publications-heading {
  display: grid;
  grid-template-columns: 0.58fr 1.25fr 0.7fr;
  gap: 42px;
  align-items: start;
}

.publications-heading h1,
.publications-heading h2 {
  max-width: 790px;
  margin: -10px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.publications-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 88px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.publication-grid > a {
  position: relative;
  min-height: 245px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 74px 34px 30px;
  transition: background 180ms ease, color 180ms ease;
}

.publication-grid > a:hover {
  background: var(--ink);
  color: var(--paper);
}

.publication-grid span,
.media-case span {
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-grid h2,
.publication-grid h3 {
  max-width: 560px;
  margin: 60px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.publication-grid b {
  position: absolute;
  top: 25px;
  right: 28px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
}

.media-case {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  align-items: end;
  gap: 48px;
  margin-top: 78px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.media-case h3 {
  max-width: 620px;
  margin: 26px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.media-case > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.media-case-links {
  display: grid;
  gap: 14px;
}

.media-case-links a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.publications-page {
  min-height: calc(100vh - 92px);
}

.experience-detail-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.experience-detail-intro {
  display: grid;
  grid-template-columns: 0.42fr 1.3fr 0.7fr;
  gap: 42px;
  background:
    radial-gradient(circle at 84% 26%, rgba(197, 83, 55, 0.13), transparent 27%),
    var(--ink);
  padding: 125px clamp(24px, 6vw, 92px) 112px;
  color: var(--paper);
}

.experience-detail-intro h1 {
  grid-column: 2 / 4;
  max-width: 1000px;
  margin: -14px 0 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.experience-detail-list {
  padding: 0 clamp(24px, 6vw, 92px);
}

.experience-detail-list > article {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.4fr);
  gap: clamp(48px, 8vw, 140px);
  border-bottom: 1px solid var(--line);
  padding: 105px 0 115px;
  scroll-margin-top: 24px;
}

.experience-detail-index span {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 74px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.experience-detail-index p {
  margin: 24px 0 0;
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-detail-copy {
  max-width: 840px;
}

.experience-detail-copy h2 {
  max-width: 720px;
  margin: 0 0 38px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.experience-detail-copy > p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.experience-detail-copy > p + p {
  margin-top: 24px;
}

.experience-detail-link {
  display: inline-block;
  margin-top: 38px;
  border-bottom: 1px solid var(--oxide);
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.experience-case {
  margin-top: 74px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.experience-case h3 {
  max-width: 650px;
  margin: 24px 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.experience-case > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.experience-case .media-case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 34px;
}

.experience-detail-link + .experience-detail-link {
  margin-left: 28px;
}

.communication-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.communication-intro {
  display: grid;
  grid-template-columns: 0.38fr 1.2fr 0.65fr;
  gap: 42px;
  background:
    radial-gradient(circle at 86% 22%, rgba(197, 83, 55, 0.14), transparent 27%),
    var(--ink);
  padding: 125px clamp(24px, 6vw, 92px) 112px;
  color: var(--paper);
}

.communication-intro h1 {
  max-width: 900px;
  margin: -14px 0 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.communication-intro > p:last-child {
  max-width: 390px;
  margin: 0;
  color: #aaa195;
  font-size: 15px;
  line-height: 1.75;
}

.communication-case {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1.4fr);
  gap: clamp(48px, 8vw, 140px);
}

.communication-romkapsel {
  border-bottom: 1px solid var(--line);
  padding: 105px clamp(24px, 6vw, 92px) 115px;
}

.communication-case-index span {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 74px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.communication-case-index p {
  margin: 24px 0 0;
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.communication-case-copy {
  max-width: 860px;
}

.communication-case-copy h2 {
  max-width: 760px;
  margin: 0 0 38px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.communication-case-copy > p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.communication-case-copy > p + p {
  margin-top: 24px;
}

.communication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 38px;
}

.communication-links a {
  border-bottom: 1px solid var(--oxide);
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.communication-content {
  padding: 105px clamp(24px, 6vw, 92px) 135px;
}

.communication-section-heading {
  display: grid;
  grid-template-columns: 0.38fr 1.4fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}

.communication-section-heading h2 {
  max-width: 760px;
  margin: -10px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.communication-featured {
  margin-top: 105px;
  border-top: 1px solid var(--line);
  padding-top: 94px;
}

.communication-feature-list {
  margin-top: 68px;
  border-top: 1px solid var(--line);
}

.communication-feature {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  border-bottom: 1px solid var(--line);
}

.communication-feature-image {
  display: block;
  background: #d8cec0;
}

.communication-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
  object-fit: contain;
}

.communication-feature-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding: 32px clamp(28px, 3vw, 48px) 38px;
  transition: background 180ms ease, color 180ms ease;
}

.communication-feature:hover .communication-feature-copy {
  background: var(--ink);
  color: var(--paper);
}

.communication-feature-number,
.communication-feature-client {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.communication-feature-number {
  color: var(--muted);
}

.communication-feature-client {
  margin-top: 12px;
  color: var(--oxide);
}

.communication-feature h3 {
  max-width: 520px;
  margin: auto 0 0;
  padding-top: 72px;
  font-family: var(--display);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.communication-feature-role {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.communication-feature-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.communication-feature-link span {
  font-size: 15px;
}

.communication-archive {
  margin-top: 105px;
  border-top: 1px solid var(--line);
  padding-top: 94px;
}

.communication-groups {
  margin-top: 68px;
  border-top: 1px solid var(--line);
}

.communication-groups details {
  border-bottom: 1px solid var(--line);
}

.communication-groups summary {
  display: grid;
  grid-template-columns: 1fr auto 28px;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
}

.communication-groups summary::-webkit-details-marker {
  display: none;
}

.communication-groups summary > span {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.025em;
}

.communication-groups summary small,
.communication-groups summary b {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.communication-groups details[open] summary b {
  transform: rotate(45deg);
}

.communication-groups details > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.communication-groups details a {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 20px 0;
}

.communication-groups details a:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 28px;
}

.communication-groups details a:nth-child(even) {
  padding-left: 28px;
}

.communication-groups details a span {
  font-size: 14px;
  line-height: 1.45;
}

.communication-groups details a b {
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
}

.legacy-archive {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.archive-page-header,
.archive-reading-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(24px, 6vw, 92px);
}

.archive-page-header .brand,
.archive-reading-header .brand {
  color: var(--ink);
}

.archive-page-header nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
}

.archive-page-header nav a {
  position: relative;
  padding: 10px 0;
}

.archive-page-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--oxide);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.archive-page-header nav a:hover::after,
.archive-page-header nav a.is-active::after {
  transform: scaleX(1);
}

.archive-page-header nav a.is-active {
  color: var(--oxide);
}

.archive-intro {
  display: grid;
  grid-template-columns: 0.42fr 1.3fr 0.7fr;
  gap: 42px;
  background:
    radial-gradient(circle at 84% 26%, rgba(197, 83, 55, 0.13), transparent 27%),
    var(--ink);
  padding: 125px clamp(24px, 6vw, 92px) 112px;
  color: var(--paper);
}

.archive-intro h1 {
  max-width: 820px;
  margin: -14px 0 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.archive-intro > p:nth-of-type(2) {
  max-width: 390px;
  margin: 0;
  color: #c7beb2;
  font-size: 15px;
  line-height: 1.75;
}

.archive-category-grid {
  display: grid;
  grid-column: 2 / 4;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 72px 0 0;
  background: rgba(232, 224, 211, 0.22);
}

.archive-category-card {
  display: grid;
  min-height: 176px;
  grid-template-rows: auto auto 1fr;
  background: var(--ink);
  padding: 24px 20px;
  transition: background 180ms ease, color 180ms ease;
}

.archive-category-card:hover,
.archive-category-card:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline-offset: -4px;
}

.archive-category-number {
  font-family: var(--display);
  font-size: 42px;
}

.archive-category-label {
  margin: 8px 0 0;
  color: #aaa195;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-category-open {
  align-self: end;
  margin-top: 32px;
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-category-open b {
  display: inline-block;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.archive-category-card:hover .archive-category-open b {
  transform: translateX(5px);
}

.archive-stories,
.archive-blog,
.silverland-section,
.technical-archive {
  padding: 130px clamp(24px, 6vw, 92px) 145px;
}

.archive-category-section {
  min-height: calc(100vh - 92px);
}

.archive-back {
  display: inline-block;
  margin-bottom: 76px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-section-heading {
  display: grid;
  grid-template-columns: 0.58fr 1.25fr 0.7fr;
  gap: 42px;
  align-items: start;
}

.archive-section-heading h1,
.archive-section-heading h2 {
  max-width: 790px;
  margin: -10px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.archive-section-heading > p:not(.eyebrow):last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.archive-section-heading--title-only h1 {
  grid-column: 2 / 4;
}

.archive-story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 82px 30px;
  margin-top: 96px;
}

.archive-subheading {
  margin: 94px 0 -28px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-story-grid article {
  grid-column: span 4;
}

.archive-story-grid article:nth-child(6n + 1),
.archive-story-grid article:nth-child(6n + 5) {
  grid-column: span 6;
}

.archive-story-image {
  display: block;
  overflow: visible;
  aspect-ratio: auto;
  margin-bottom: 24px;
  background: transparent;
}

.archive-story-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 220ms ease;
}

.archive-story-grid a:hover .archive-story-image img {
  opacity: 0.92;
}

.archive-story-number {
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-story-grid h2,
.archive-story-grid h3 {
  margin: 18px 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.archive-story-grid p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.archive-blog {
  background:
    radial-gradient(circle at 84% 20%, rgba(197, 83, 55, 0.11), transparent 26%),
    var(--ink-soft);
  color: var(--paper);
}

.archive-combined-blog {
  padding-top: 130px;
}

.archive-blog .archive-section-heading > p:last-child {
  color: #c7beb2;
}

.archive-blog-list {
  margin-top: 88px;
  border-top: 1px solid rgba(232, 224, 211, 0.22);
}

.archive-blog-list a {
  display: grid;
  grid-template-columns: 0.3fr 1.4fr 0.45fr auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid rgba(232, 224, 211, 0.18);
  padding: 26px 0;
}

.archive-blog-list span,
.archive-blog-list em,
.archive-blog-list b {
  color: #aaa195;
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-blog-list strong {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.silverland-section {
  background: #d8d0c4;
}

.silverland-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 52px 24px;
  margin-top: 92px;
}

.silverland-grid figure {
  grid-column: span 4;
  margin: 0;
}

.silverland-grid figure:nth-child(4n + 2),
.silverland-grid figure:nth-child(4n + 4) {
  grid-column: span 3;
}

.silverland-grid img {
  width: 100%;
  height: auto;
  filter: saturate(0.88);
}

.technical-groups {
  margin-top: 88px;
  border-top: 1px solid var(--line);
}

.technical-groups details {
  border-bottom: 1px solid var(--line);
}

.technical-groups summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  list-style: none;
}

.technical-groups summary::-webkit-details-marker {
  display: none;
}

.technical-groups summary span {
  font-family: var(--display);
  font-size: 31px;
}

.technical-groups summary b {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technical-groups ul {
  columns: 3;
  gap: 46px;
  margin: 0;
  padding: 0 0 36px;
  list-style: none;
}

.technical-groups li {
  break-inside: avoid;
  border-top: 1px solid rgba(89, 82, 73, 0.16);
  padding: 9px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.technical-groups li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.technical-groups li b {
  flex: 0 0 auto;
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}

.technical-groups li a:hover {
  color: var(--ink);
}

.technical-groups li a:hover b,
.technical-groups li a:focus-visible b {
  opacity: 1;
}

.archive-footer {
  display: flex;
  min-height: 170px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  padding: 48px clamp(24px, 6vw, 92px);
  color: #c7beb2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-reading-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.archive-reading-header > a:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.archive-reading-intro {
  display: grid;
  grid-template-columns: 0.45fr 1.35fr 0.6fr;
  gap: 42px;
  border-bottom: 1px solid var(--line);
  padding: 120px clamp(24px, 6vw, 92px) 110px;
}

.archive-reading-intro h1 {
  max-width: 900px;
  margin: -14px 0 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 102px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.archive-reading-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.archive-reading-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 110px 24px 150px;
}

.archive-reading-body p,
.archive-reading-body blockquote {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.55;
}

.archive-reading-body h2 {
  margin: 76px 0 28px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.archive-reading-body blockquote {
  margin: 70px -80px;
  border-top: 1px solid var(--oxide);
  border-bottom: 1px solid var(--oxide);
  padding: 34px 0;
  color: var(--oxide);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.archive-reading-body figure {
  width: min(1100px, calc(100vw - 48px));
  margin: 82px 50%;
  transform: translateX(-50%);
}

.archive-reading-body img {
  width: 100%;
  height: auto;
}

.archive-reading-footer {
  border-top: 1px solid var(--line);
  padding: 70px clamp(24px, 6vw, 92px);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.file-request-section {
  background: var(--paper);
  color: var(--ink);
  padding: 96px clamp(24px, 6vw, 92px);
}

.file-request-section .eyebrow {
  color: var(--oxide);
}

.file-request-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(250px, 0.72fr);
  gap: clamp(42px, 9vw, 140px);
  margin-top: 22px;
  background:
    radial-gradient(circle at 88% 6%, rgba(197, 83, 55, 0.16), transparent 30%),
    var(--ink-soft);
  padding: clamp(34px, 6vw, 76px);
  color: var(--paper-soft);
}

.file-request-main h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.file-request-main > p {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.file-request-action {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 42px;
  padding: 0 22px;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.file-request-action:hover {
  background: var(--oxide);
  color: var(--paper-soft);
  transform: translateY(-2px);
}

.file-request-note {
  align-self: end;
  max-width: 270px;
  margin: 0;
  border-left: 1px solid rgba(232, 224, 211, 0.32);
  padding-left: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-transform: uppercase;
}

.file-request-note span {
  display: block;
  margin-bottom: 12px;
  color: var(--oxide);
  font-size: 19px;
}

.contact-section {
  min-height: 680px;
  background:
    radial-gradient(circle at 80% 10%, rgba(197, 83, 55, 0.1), transparent 26%),
    var(--ink);
  padding: 110px clamp(24px, 6vw, 92px) 42px;
}

.contact-section h2 {
  max-width: 720px;
  margin-top: 24px;
}

.contact-intro {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(42px, 8vw, 130px);
  align-items: end;
}

.contact-copy p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-copy a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  border-bottom: 1px solid var(--oxide);
  padding-bottom: 7px;
  color: var(--paper-soft);
  font-size: clamp(17px, 2vw, 24px);
}

.contact-copy a span {
  color: var(--oxide);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 28px;
  margin-top: 88px;
  border-top: 1px solid rgba(232, 224, 211, 0.22);
  padding-top: 34px;
}

.contact-form label {
  display: grid;
  gap: 15px;
}

.contact-form label > span,
.contact-footer-line,
.contact-actions p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(232, 224, 211, 0.34);
  border-radius: 0;
  outline: 0;
  background: transparent;
  padding: 5px 0 14px;
  color: var(--paper-soft);
  font: 17px/1.5 var(--sans);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--oxide);
}

.contact-message {
  grid-column: 1 / -1;
}

.contact-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.contact-actions button {
  display: inline-flex;
  min-width: 210px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--paper);
  background: transparent;
  padding: 17px 20px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.contact-actions button:hover {
  background: var(--paper);
  color: var(--ink);
}

.contact-actions p {
  max-width: 440px;
  margin: 0;
  line-height: 1.65;
  text-align: right;
}

.contact-footer-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 88px;
  border-top: 1px solid rgba(232, 224, 211, 0.16);
  padding-top: 28px;
}

.contact-footer-line a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.project-page {
  min-height: 100vh;
  background: var(--ink);
}

.project-header {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(232, 224, 211, 0.16);
  margin: 0 clamp(22px, 4vw, 58px);
}

.project-header > a:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-intro {
  display: grid;
  grid-template-columns: 0.45fr 1.1fr 0.8fr;
  gap: 46px;
  padding: 112px clamp(22px, 7vw, 104px) 120px;
}

.project-intro--clean {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
}

.project-intro h1 {
  margin: -14px 0 0;
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.project-title > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
}

.project-details > p {
  max-width: 520px;
  margin: 0;
  color: #d1c8bb;
  font-size: 17px;
  line-height: 1.75;
}

.project-intro dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 52px 0 0;
  border-top: 1px solid rgba(232, 224, 211, 0.22);
  padding-top: 20px;
}

.project-intro dt,
.project-intro dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-intro dt {
  margin-bottom: 9px;
  color: #746e65;
}

.project-intro dd {
  color: var(--muted);
}

.project-demo-note {
  margin: 0;
  border-top: 1px solid #b8afa2;
  border-bottom: 1px solid #b8afa2;
  background: var(--paper);
  padding: 16px clamp(22px, 7vw, 104px);
  color: #6c6459;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 110px 28px;
  background: var(--paper);
  padding: 100px clamp(22px, 7vw, 104px) 150px;
}

.gallery-item {
  grid-column: span 6;
  margin: 0;
}

.gallery-item-2,
.gallery-item-4 {
  padding-top: 148px;
}

.gallery-item-3 {
  grid-column: 2 / span 8;
}

.gallery-item img {
  display: block;
  width: 100%;
  max-height: 1050px;
  object-fit: contain;
  object-position: top left;
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  color: #6d655b;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.project-footer {
  min-height: 420px;
  padding: 70px clamp(22px, 7vw, 104px);
}

.project-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(232, 224, 211, 0.22);
  border-bottom: 1px solid rgba(232, 224, 211, 0.22);
}

.project-footer nav a {
  display: grid;
  min-height: 220px;
  align-content: space-between;
  padding: 30px 34px 34px 0;
}

.project-footer nav a + a {
  border-left: 1px solid rgba(232, 224, 211, 0.22);
  padding-right: 0;
  padding-left: 34px;
  text-align: right;
}

.project-footer nav span,
.project-all-link {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-footer nav strong {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.project-all-link {
  display: inline-block;
  margin-top: 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}

.studio-shell {
  min-height: 100vh;
  background: #efe9df;
  color: var(--ink);
}

.studio-topbar {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d1c8bb;
  background: #181613;
  padding: 0 34px;
  color: var(--paper-soft);
}

.studio-brand {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.studio-brand strong {
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.studio-brand span,
.studio-account {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-account {
  display: flex;
  align-items: center;
  gap: 24px;
}

.studio-account a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  color: var(--paper-soft);
}

.studio-grid {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: 340px minmax(0, 1fr);
}

.studio-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid #d1c8bb;
  background:
    linear-gradient(rgba(23, 21, 18, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 18, 0.025) 1px, transparent 1px),
    #e8e0d3;
  background-size: 14px 14px;
  padding: 38px 26px 26px;
}

.studio-sidebar-heading,
.studio-editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.studio-sidebar-heading p,
.studio-editor-heading p,
.studio-upload p {
  margin: 0 0 8px;
  color: #756d62;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.studio-sidebar-heading h1,
.studio-editor-heading h2,
.studio-upload h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
}

.studio-sidebar-heading h1 {
  font-size: 32px;
}

.studio-sidebar-heading button {
  border: 1px solid #8c8376;
  background: transparent;
  padding: 10px 12px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.studio-project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 38px;
}

.studio-project-list > button {
  display: grid;
  min-height: 74px;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.studio-project-list > button:hover,
.studio-project-list > button.is-selected {
  border-color: #b5ab9d;
  background: rgba(255, 255, 255, 0.38);
}

.studio-project-index {
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 10px;
}

.studio-project-list strong,
.studio-project-list small {
  display: block;
}

.studio-project-list strong {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
}

.studio-project-list small {
  color: #756d62;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.studio-muted,
.studio-empty {
  color: #756d62;
  font-size: 13px;
  line-height: 1.6;
}

.studio-view-site {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid #8c8376;
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-editor {
  padding: 52px clamp(28px, 6vw, 94px) 80px;
}

.studio-editor-heading {
  margin-bottom: 48px;
}

.studio-editor-heading h2 {
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.025em;
}

.status-live,
.status-draft {
  border: 1px solid #b9b0a3;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-live {
  border-color: #63785d;
  color: #496342;
}

.studio-editor form {
  max-width: 940px;
}

.studio-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.studio-form-grid label,
.studio-alt-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.studio-form-grid label > span,
.studio-alt-field > span {
  color: #625c53;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-form-grid input,
.studio-form-grid select,
.studio-form-grid textarea,
.studio-alt-field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #a89f92;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 14px 13px;
  color: var(--ink);
  font: 15px/1.5 var(--sans);
}

.studio-form-grid textarea {
  border: 1px solid #b7ada0;
  resize: vertical;
}

.studio-form-grid input:focus,
.studio-form-grid select:focus,
.studio-form-grid textarea:focus,
.studio-alt-field input:focus {
  outline: 1px solid var(--oxide);
  outline-offset: 2px;
}

.studio-form-grid label > small {
  align-self: flex-end;
  color: #8b8276;
  font-family: var(--mono);
  font-size: 8px;
}

.studio-span-two {
  grid-column: 1 / -1;
}

.studio-upload {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  border: 1px dashed #9b9184;
  background:
    linear-gradient(135deg, rgba(197, 83, 55, 0.04), transparent 42%),
    rgba(255, 255, 255, 0.28);
  padding: 34px;
  overflow: hidden;
}

.studio-upload h3 {
  font-size: 28px;
}

.studio-upload > div > span {
  display: block;
  margin-top: 13px;
  color: #756d62;
  font-size: 12px;
}

.studio-file-button {
  position: relative;
  z-index: 2;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.studio-file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.studio-file-name {
  grid-column: 1 / -1;
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 10px;
}

.studio-cover-preview {
  position: absolute;
  top: 0;
  right: 0;
  width: 290px;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.studio-gallery-upload {
  min-height: 250px;
}

.studio-gallery-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
  width: 100%;
}

.studio-gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.72);
}

.studio-alt-field {
  margin-top: 26px;
}

.studio-publish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  border-top: 1px solid #c2b9ac;
  padding-top: 28px;
}

.studio-toggle {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.studio-toggle input {
  position: absolute;
  opacity: 0;
}

.studio-toggle > span {
  position: relative;
  width: 42px;
  height: 23px;
  border: 1px solid #8c8376;
  border-radius: 20px;
}

.studio-toggle > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #82796e;
  content: "";
  transition: transform 180ms ease, background 180ms ease;
}

.studio-toggle input:checked + span {
  border-color: var(--oxide);
}

.studio-toggle input:checked + span::after {
  background: var(--oxide);
  transform: translateX(19px);
}

.studio-toggle strong {
  font-size: 13px;
  font-weight: 400;
}

.studio-publish-row > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.studio-message {
  max-width: 250px;
  margin: 0;
  color: #625c53;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.studio-save {
  min-width: 166px;
  border: 0;
  background: var(--ink);
  padding: 16px 20px;
  color: var(--paper-soft);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-save:hover {
  background: var(--oxide);
}

.studio-save:disabled {
  cursor: wait;
  opacity: 0.55;
}

@keyframes reveal-image {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .archive-hero {
    grid-template-columns: 132px 1fr;
  }

  .index-button {
    grid-template-columns: 25px 1fr;
    padding-left: 22px;
    font-size: 11px;
  }

  .index-button::before {
    left: 5px;
  }

  .hero-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .contact-sheet {
    width: 390px;
    height: 300px;
  }
}

@media (max-width: 820px) {
  .archive-hero {
    display: block;
    min-height: auto;
  }

  .archive-index {
    position: sticky;
    top: 0;
    z-index: 20;
    display: block;
    border: 0;
    border-bottom: 1px solid rgba(23, 21, 18, 0.2);
  }

  .index-wordmark,
  .index-caption {
    display: none;
  }

  .index-list {
    display: flex;
    margin: 0;
    overflow-x: auto;
  }

  .index-button {
    min-width: max-content;
    min-height: 50px;
    grid-template-columns: 24px auto;
    padding: 0 22px;
    border-bottom: 2px solid transparent;
  }

  .index-button::before {
    display: none;
  }

  .archive-stage {
    padding: 0 20px 68px;
  }

  .site-header {
    height: 78px;
  }

  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
  }

  .hero-copy {
    padding: 64px 0 24px;
  }

  .hero-copy h1 {
    margin-top: 24px;
    font-size: clamp(54px, 16vw, 76px);
  }

  .hero-intro {
    margin-top: 28px;
    font-size: 15px;
  }

  .project-meta {
    margin-top: 54px;
  }

  .hero-image-wrap {
    height: min(118vw, 680px);
    margin-top: 18px;
  }

  .contact-sheet {
    right: -8px;
    bottom: -28px;
    width: min(75vw, 410px);
    height: auto;
  }

  .section-heading,
  .about-section,
  .experience-heading,
  .publications-heading,
  .archive-section-heading,
  .archive-intro,
  .archive-reading-intro {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .about-section h2,
  .experience-heading h2,
  .publications-heading h1,
  .publications-heading h2,
  .archive-section-heading h1,
  .archive-section-heading h2,
  .archive-intro h1,
  .archive-reading-intro h1 {
    margin-top: 0;
  }

  .experience-heading > p:last-child,
  .publications-heading > p:last-child,
  .archive-section-heading > p:not(.eyebrow):last-child {
    max-width: 610px;
  }

  .archive-section-heading--title-only h1 {
    grid-column: auto;
  }

  .archive-category-grid {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-story-grid article,
  .archive-story-grid article:nth-child(6n + 1),
  .archive-story-grid article:nth-child(6n + 5) {
    grid-column: span 6;
  }

  .archive-blog-list a {
    grid-template-columns: 0.25fr 1fr auto;
  }

  .archive-blog-list em {
    display: none;
  }

  .silverland-grid figure,
  .silverland-grid figure:nth-child(4n + 2),
  .silverland-grid figure:nth-child(4n + 4) {
    grid-column: span 6;
  }

  .technical-groups ul {
    columns: 2;
  }

  .archive-reading-intro > p:last-child {
    max-width: 610px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    margin-top: 68px;
  }

  .experience-grid article,
  .experience-grid article:first-child {
    min-height: 0;
    border-top: 1px solid rgba(232, 224, 211, 0.18);
    border-left: 0;
    padding: 0;
  }

  .experience-grid article:first-child {
    border-top: 0;
  }

  .experience-grid article > a,
  .experience-grid article:first-child > a {
    min-height: 0;
    padding: 32px 0 42px;
  }

  .experience-grid h3 {
    margin-top: 30px;
  }

  .experience-detail-intro {
    grid-template-columns: 1fr;
  }

  .experience-detail-intro h1 {
    grid-column: auto;
    margin-top: 0;
  }

  .experience-detail-list > article {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .experience-detail-link + .experience-detail-link {
    display: block;
    margin-left: 0;
  }

  .communication-intro,
  .communication-case,
  .communication-section-heading {
    grid-template-columns: 1fr;
  }

  .communication-intro h1 {
    margin-top: 0;
  }

  .communication-intro > p:last-child {
    max-width: 610px;
  }

  .communication-case {
    gap: 46px;
  }

  .communication-feature,
  .communication-groups details > div {
    grid-template-columns: 1fr;
  }

  .communication-feature-copy {
    min-height: 360px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .communication-groups details a,
  .communication-groups details a:nth-child(odd),
  .communication-groups details a:nth-child(even) {
    border-right: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .publication-grid {
    grid-template-columns: 1fr;
    margin-top: 68px;
  }

  .media-case {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .work-card {
    grid-column: span 6;
  }

  .work-card-2,
  .work-card-3 {
    padding-top: 0;
  }

  .contact-section {
    min-height: 0;
  }

  .file-request-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .file-request-panel {
    grid-template-columns: 1fr;
  }

  .file-request-note {
    max-width: 390px;
    border-top: 1px solid rgba(232, 224, 211, 0.32);
    border-left: 0;
    padding-top: 22px;
    padding-left: 0;
  }

  .contact-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-copy {
    max-width: 560px;
  }

  .project-intro {
    grid-template-columns: 1fr;
    padding-top: 74px;
  }

  .project-intro h1 {
    margin-top: 0;
  }

  .project-gallery {
    gap: 60px 20px;
  }

  .gallery-item,
  .gallery-item-3 {
    grid-column: span 12;
    padding-top: 0;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .studio-sidebar {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid #d1c8bb;
  }

  .studio-project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-view-site {
    margin-top: 36px;
  }
}

@media (max-width: 540px) {
  .brand strong {
    font-size: 14px;
  }

  .brand span {
    font-size: 9px;
  }

  .site-header nav a:nth-child(2) {
    display: none;
  }

  .works-section,
  .about-section,
  .experience-section,
  .publications-section,
  .archive-stories,
  .archive-blog,
  .silverland-section,
  .technical-archive {
    padding-top: 92px;
    padding-bottom: 100px;
  }

  .archive-page-header,
  .archive-reading-header {
    min-height: 78px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .archive-page-header nav {
    gap: 15px;
    font-size: 11px;
  }

  .archive-intro,
  .archive-reading-intro,
  .experience-detail-intro {
    padding: 80px 20px;
  }

  .experience-detail-list {
    padding: 0 20px;
  }

  .experience-detail-list > article {
    gap: 34px;
    padding: 74px 0 82px;
  }

  .archive-category-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 42px;
  }

  .archive-category-card {
    min-height: 154px;
  }

  .archive-back {
    margin-bottom: 54px;
  }

  .archive-story-grid {
    gap: 58px 16px;
    margin-top: 64px;
  }

  .archive-story-grid article,
  .archive-story-grid article:nth-child(6n + 1),
  .archive-story-grid article:nth-child(6n + 5) {
    grid-column: span 12;
  }

  .archive-blog-list a {
    grid-template-columns: 1fr auto;
    gap: 8px 20px;
  }

  .archive-blog-list span {
    grid-column: 1;
  }

  .archive-blog-list strong {
    grid-column: 1;
  }

  .archive-blog-list b {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .silverland-grid {
    gap: 28px 12px;
    margin-top: 64px;
  }

  .technical-groups ul {
    columns: 1;
  }

  .archive-footer {
    display: grid;
    align-items: start;
  }

  .archive-reading-body {
    padding-top: 78px;
    padding-bottom: 100px;
  }

  .archive-reading-body blockquote {
    margin-right: 0;
    margin-left: 0;
  }

  .section-heading {
    margin-bottom: 54px;
  }

  .work-grid {
    gap: 54px 16px;
  }

  .work-card {
    grid-column: 1 / -1;
  }

  .contact-section {
    padding-top: 78px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .contact-message,
  .contact-actions {
    grid-column: auto;
  }

  .contact-actions,
  .contact-footer-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions p {
    text-align: left;
  }

  .project-header {
    height: 78px;
  }

  .project-intro {
    gap: 28px;
    padding-bottom: 80px;
  }

  .project-intro h1 {
    font-size: 58px;
  }

  .project-gallery {
    padding-top: 70px;
    padding-bottom: 100px;
  }

  .project-footer {
    min-height: 0;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .project-footer nav {
    grid-template-columns: 1fr;
  }

  .project-footer nav a {
    min-height: 170px;
    padding: 26px 0;
  }

  .project-footer nav a + a {
    border-top: 1px solid rgba(232, 224, 211, 0.22);
    border-left: 0;
    padding: 26px 0;
  }

  .studio-topbar {
    height: auto;
    min-height: 72px;
    padding: 16px 20px;
  }

  .studio-brand span,
  .studio-account span {
    display: none;
  }

  .studio-sidebar {
    padding: 30px 20px;
  }

  .studio-project-list {
    grid-template-columns: 1fr;
  }

  .studio-editor {
    padding: 42px 20px 70px;
  }

  .studio-form-grid {
    grid-template-columns: 1fr;
  }

  .studio-span-two {
    grid-column: auto;
  }

  .studio-upload {
    grid-template-columns: 1fr;
  }

  .studio-publish-row,
  .studio-publish-row > div {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-message {
    max-width: none;
    text-align: left;
  }
}

.magazine-hero {
  min-height: 100svh;
  overflow: hidden;
  background: #f2eee5;
  padding: 0 24px 24px;
  color: #171714;
}

.magazine-header {
  display: flex;
  height: 94px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #c64e35;
}

.magazine-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
  text-transform: uppercase;
}

.magazine-brand strong {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.magazine-brand span {
  margin-left: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
}

.magazine-header nav {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4.2vw, 66px);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.magazine-header nav a {
  position: relative;
  padding: 10px 0;
}

.magazine-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: #c64e35;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease-out;
}

.magazine-header nav a:hover::after,
.magazine-header nav a.is-active::after {
  transform: scaleX(1);
}

.magazine-header nav a.is-active {
  color: #c64e35;
}

.magazine-layout {
  display: grid;
  height: calc(100svh - 118px);
  min-height: 700px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 0.72fr 0.74fr 1fr;
  gap: 12px 24px;
  padding-top: 16px;
}

.magazine-layout > a {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #d7d0c5;
}

.magazine-layout img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease-out;
}

.magazine-layout > a:hover img {
  transform: scale(1.015);
}

.magazine-main-image {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
}

.magazine-main-image img {
  object-position: 49% 50%;
}

.magazine-copy {
  display: flex;
  min-width: 0;
  grid-column: 9 / 13;
  grid-row: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 2px 8px;
}

.magazine-copy h1 {
  max-width: 460px;
  margin: 0;
  border-bottom: 1px solid #c64e35;
  padding-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.84;
  text-transform: uppercase;
}

.magazine-copy p {
  max-width: 470px;
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.65;
  text-transform: uppercase;
}

.magazine-copy p i {
  color: #c64e35;
  font-style: normal;
}

.magazine-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  padding-bottom: 5px;
  color: #c64e35;
  font-size: 15px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.magazine-copy > a span {
  display: inline-block;
  font-size: 29px;
  line-height: 0;
  transition: transform 220ms ease-out;
}

.magazine-copy > a:hover span {
  transform: translateX(18px);
}

.magazine-portrait {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
}

.magazine-portrait img {
  object-position: 50% 38%;
}

.magazine-detail {
  grid-row: 3;
}

.magazine-detail-left {
  grid-column: 1 / 6;
}

.magazine-detail-left img {
  object-position: 50% 31%;
}

.magazine-detail-right {
  grid-column: 6 / 9;
}

.magazine-detail-right img {
  object-position: 50% 50%;
}

@media (max-width: 980px) {
  .magazine-hero {
    overflow: visible;
    padding: 0 20px 20px;
  }

  .magazine-header {
    height: 84px;
  }

  .magazine-header nav {
    gap: 24px;
    font-size: 11px;
  }

  .magazine-layout {
    height: auto;
    min-height: 0;
    grid-template-rows: auto 480px 270px;
    gap: 12px;
    padding-top: 14px;
  }

  .magazine-copy {
    grid-column: 1 / 13;
    grid-row: 1;
    min-height: 230px;
    padding-right: 28%;
  }

  .magazine-copy > a {
    margin-top: 28px;
  }

  .magazine-main-image {
    grid-column: 1 / 9;
    grid-row: 2;
  }

  .magazine-portrait {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
  }

  .magazine-detail-left {
    grid-column: 1 / 6;
    grid-row: 3;
  }

  .magazine-detail-right {
    grid-column: 6 / 9;
    grid-row: 3;
  }
}

@media (max-width: 640px) {
  .magazine-hero {
    padding-right: 14px;
    padding-bottom: 14px;
    padding-left: 14px;
  }

  .magazine-header {
    height: 76px;
  }

  .magazine-brand strong {
    font-size: 25px;
  }

  .magazine-brand span {
    font-size: 8px;
  }

  .magazine-header nav {
    gap: 16px;
    font-size: 10px;
  }

  .magazine-header nav a:first-child,
  .magazine-header nav a:last-child {
    display: none;
  }

  .magazine-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 410px 260px 260px;
  }

  .magazine-copy {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 260px;
    padding: 26px 0 20px;
  }

  .magazine-copy h1 {
    font-size: clamp(50px, 16vw, 76px);
  }

  .magazine-copy p {
    max-width: 360px;
  }

  .magazine-main-image {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .magazine-portrait {
    grid-column: 1;
    grid-row: 3;
  }

  .magazine-detail-left {
    grid-column: 2;
    grid-row: 3;
  }

  .magazine-detail-right {
    grid-column: 1 / 3;
    grid-row: 4;
  }
}

/* Uncropped editorial revision: every photograph keeps its original frame. */
.magazine-hero {
  min-height: 100svh;
  overflow: visible;
  padding-bottom: 28px;
}

.magazine-brand strong {
  font-family: var(--display);
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.magazine-layout {
  display: grid;
  height: auto;
  min-height: 0;
  grid-template-columns: minmax(0, 2.06fr) minmax(320px, 0.94fr);
  grid-template-rows: auto;
  gap: 24px;
  align-items: start;
  padding-top: 20px;
}

.magazine-left {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.magazine-right {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.magazine-layout a {
  display: block;
  overflow: visible;
  background: transparent;
}

.magazine-layout img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: opacity 220ms ease;
}

.magazine-layout a:hover img {
  opacity: 0.92;
  transform: none;
}

.magazine-main-image,
.magazine-portrait {
  display: block;
}

.magazine-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.74fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.magazine-rebate {
  align-self: start;
  border: 1px solid rgba(23, 21, 18, 0.22);
  background: #0c0c0b !important;
  padding: 6px;
}

.magazine-copy {
  display: block;
  min-height: 0;
  padding: 18px 0 46px;
}

.magazine-copy h1 {
  max-width: 560px;
  padding-bottom: 17px;
  font-family: var(--display);
  font-size: clamp(42px, 3.9vw, 62px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.magazine-copy p {
  max-width: 520px;
  margin-top: 21px;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.72;
}

.magazine-copy > a {
  display: inline-flex;
  margin-top: 28px;
}

.magazine-portrait img {
  object-position: center;
}

@media (max-width: 980px) {
  .magazine-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .magazine-right {
    display: contents;
  }

  .magazine-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 30px 0 10px;
  }

  .magazine-portrait {
    grid-column: 1;
    grid-row: 2;
  }

  .magazine-left {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 640px) {
  .magazine-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }

  .magazine-copy,
  .magazine-portrait,
  .magazine-left {
    grid-column: 1;
  }

  .magazine-copy {
    grid-row: 1;
    min-height: 0;
    padding: 28px 0 12px;
  }

  .magazine-portrait {
    grid-row: 2;
  }

  .magazine-left {
    grid-row: 3;
  }

  .magazine-lower {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }

  .magazine-copy h1 {
    font-size: clamp(40px, 11vw, 56px);
  }
}

/* Shared navigation and secondary-page revision. */
.site-nav-mobile {
  display: none;
}

.site-nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 48px);
  font-size: 12px;
}

.site-nav-desktop a {
  position: relative;
  padding: 10px 0;
}

.site-nav-desktop a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--oxide);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav-desktop a:hover::after,
.site-nav-desktop a.is-active::after {
  transform: scaleX(1);
}

.site-nav-desktop a.is-active {
  color: var(--oxide);
}

.archive-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.communication-rir {
  border-bottom: 1px solid var(--line);
  padding: 105px clamp(24px, 6vw, 92px) 115px;
}

.publications-page .publication-grid {
  margin-top: 0;
}

.project-header {
  gap: 36px;
}

.project-header .site-nav-desktop {
  color: var(--paper-soft);
}

.project-back,
.archive-reading-back {
  grid-column: 1 / -1;
  width: max-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-back {
  margin-bottom: 36px;
}

.archive-reading-back {
  margin-bottom: 34px;
  color: #6d655b;
}

@media (max-width: 860px) {
  .site-nav-desktop {
    display: none !important;
  }

  .site-nav-mobile {
    position: relative;
    z-index: 40;
    display: block;
  }

  .site-nav-mobile summary {
    cursor: pointer;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    list-style: none;
    text-transform: uppercase;
  }

  .site-nav-mobile summary::-webkit-details-marker {
    display: none;
  }

  .site-nav-mobile summary::after {
    margin-left: 10px;
    color: var(--oxide);
    content: "+";
  }

  .site-nav-mobile[open] summary::after {
    content: "−";
  }

  .site-nav-mobile nav {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    display: grid !important;
    width: min(270px, calc(100vw - 28px));
    gap: 0 !important;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    color: var(--ink);
  }

  .site-nav-mobile nav a {
    display: block !important;
    border-bottom: 1px solid rgba(92, 87, 79, 0.28);
    padding: 16px 18px !important;
    font-family: var(--sans);
    font-size: 13px;
    text-transform: none;
  }

  .site-nav-mobile nav a:last-child {
    border-bottom: 0;
  }

  .site-nav-mobile nav a.is-active {
    color: var(--oxide);
  }

  .project-header .site-nav-mobile nav {
    border-color: rgba(232, 224, 211, 0.25);
    background: var(--ink-soft);
    color: var(--paper-soft);
  }

  .magazine-header .site-nav-mobile nav {
    background: #f2eee5;
  }

  .communication-rir {
    padding-top: 82px;
    padding-bottom: 88px;
  }
}

@media (max-width: 540px) {
  .archive-category-grid {
    grid-template-columns: 1fr;
  }

  .project-header {
    margin-right: 20px;
    margin-left: 20px;
  }
}

.studio-workspace {
  min-height: calc(100vh - 76px);
}

.studio-section-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #c6bdaf;
  background: #ddd4c7;
}

.studio-section-tabs button {
  display: grid;
  gap: 7px;
  border: 0;
  border-right: 1px solid #c6bdaf;
  background: transparent;
  padding: 20px 28px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.studio-section-tabs button:last-child {
  border-right: 0;
}

.studio-section-tabs button.is-active {
  background: var(--paper-soft);
  box-shadow: inset 0 -3px 0 var(--oxide);
}

.studio-section-tabs strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.studio-section-tabs span {
  color: #756d62;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-workspace .studio-grid {
  min-height: calc(100vh - 166px);
}

.studio-content-list {
  max-height: calc(100vh - 330px);
  overflow-y: auto;
}

.studio-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 46px;
  margin-top: 36px;
  border-top: 1px solid #c2b9ac;
  padding-top: 28px;
}

.studio-image-manager {
  margin-top: 58px;
  border-top: 1px solid #9e9487;
  padding-top: 34px;
}

.studio-image-manager-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.studio-image-manager-heading p,
.studio-archive-heading p {
  margin: 0 0 8px;
  color: #756d62;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-image-manager-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}

.studio-image-manager-heading > span {
  color: #756d62;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.studio-image-list {
  border-top: 1px solid #c2b9ac;
}

.studio-image-list article {
  display: grid;
  grid-template-columns: 140px minmax(260px, 1fr) minmax(170px, auto);
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid #c2b9ac;
  padding: 18px 0;
}

.studio-image-list article > img {
  display: block;
  width: 140px;
  height: 105px;
  object-fit: contain;
  object-position: left center;
}

.studio-image-fields {
  display: grid;
  gap: 12px;
}

.studio-image-fields label {
  display: grid;
  gap: 6px;
}

.studio-image-fields span {
  color: #756d62;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.studio-image-fields input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aaa092;
  background: rgba(255, 255, 255, 0.35);
  padding: 9px 10px;
  color: var(--ink);
}

.studio-image-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.studio-image-actions button,
.studio-archive-list article > button {
  border: 1px solid #9b9184;
  background: transparent;
  padding: 8px 10px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.studio-image-actions button:hover,
.studio-archive-list article > button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
}

.studio-image-actions button.is-danger {
  border-color: #a85743;
  color: #8d3f2d;
}

.studio-image-actions > span {
  color: #756d62;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.studio-archive-panel {
  padding: 54px clamp(24px, 6vw, 92px) 90px;
}

.studio-archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.studio-archive-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.studio-archive-heading > div > span {
  display: block;
  max-width: 620px;
  margin-top: 18px;
  color: #756d62;
  font-size: 14px;
}

.studio-archive-heading > a {
  border-bottom: 1px solid #8c8376;
  padding-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.studio-archive-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid #9e9487;
  border-left: 1px solid #9e9487;
}

.studio-archive-summary button {
  display: grid;
  gap: 16px;
  border: 0;
  border-right: 1px solid #9e9487;
  border-bottom: 1px solid #9e9487;
  background: transparent;
  padding: 22px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.studio-archive-summary button.is-active {
  background: var(--ink);
  color: var(--paper-soft);
}

.studio-archive-summary strong {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}

.studio-archive-summary span {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.studio-archive-message {
  margin: 24px 0 0;
  color: #625c53;
  font-size: 13px;
}

.studio-archive-list {
  margin-top: 42px;
  border-top: 1px solid #9e9487;
}

.studio-archive-list-head,
.studio-archive-list article {
  display: grid;
  grid-template-columns: 130px minmax(260px, 1fr) 110px 130px 80px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #c2b9ac;
  padding: 16px 10px;
}

.studio-archive-list-head {
  color: #756d62;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-archive-list article > span {
  color: var(--oxide);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.studio-archive-list article > strong {
  font-size: 14px;
  font-weight: 500;
}

.studio-archive-list article > input {
  width: 80px;
  border: 0;
  border-bottom: 1px solid #9e9487;
  background: rgba(255, 255, 255, 0.35);
  padding: 8px;
}

.studio-toggle-compact {
  gap: 8px;
}

.studio-toggle-compact > span {
  width: 34px;
  height: 20px;
}

.studio-toggle-compact > span::after {
  width: 12px;
  height: 12px;
}

.studio-toggle-compact input:checked + span::after {
  transform: translateX(14px);
}

@media (max-width: 900px) {
  .studio-section-tabs button {
    padding: 16px 18px;
  }

  .studio-section-tabs span {
    display: none;
  }

  .studio-image-list article {
    grid-template-columns: 110px 1fr;
  }

  .studio-image-list article > img {
    width: 110px;
    height: 88px;
  }

  .studio-image-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .studio-archive-list {
    overflow-x: auto;
  }

  .studio-archive-list-head,
  .studio-archive-list article {
    min-width: 820px;
  }
}

@media (max-width: 600px) {
  .studio-section-tabs strong {
    font-size: 16px;
  }

  .studio-section-tabs button {
    padding: 15px 10px;
    text-align: center;
  }

  .studio-image-manager-heading,
  .studio-archive-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-image-list article {
    grid-template-columns: 1fr;
  }

  .studio-image-list article > img {
    width: 100%;
    height: auto;
    max-height: 320px;
  }

  .studio-archive-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-archive-panel {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Gallery-first portfolio: no separate cover collage or cover upload. */
.portfolio-index {
  background: var(--paper-soft);
  padding: 0 clamp(16px, 2vw, 28px) 150px;
  color: var(--ink);
}

.portfolio-index-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(52px, 6vw, 88px) 0 clamp(38px, 4vw, 58px);
}

.portfolio-index-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.portfolio-index-heading p {
  margin: 0 0 7px;
  color: #756d62;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-index .work-grid {
  gap: clamp(42px, 5vw, 72px) clamp(18px, 2.5vw, 32px);
}

.portfolio-index .work-card,
.portfolio-index .work-card-2,
.portfolio-index .work-card-3 {
  grid-column: span 6;
  padding-top: 0;
}

/* With the embedded Silver & Bromoil chapter, the front page has seven
   portfolio entries. Center the last card instead of leaving an accidental
   empty half-row. */
.portfolio-index .work-card:last-child:nth-child(odd) {
  grid-column: 4 / span 6;
}

.portfolio-index .work-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8d0c3;
}

.portfolio-index .work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-index .work-caption {
  margin-top: 11px;
}

.portfolio-index .work-caption strong {
  font-size: clamp(22px, 2vw, 30px);
}

.project-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(78px, 10vw, 150px);
  padding-top: clamp(72px, 8vw, 118px);
}

.project-gallery .gallery-item,
.project-gallery .gallery-item-2,
.project-gallery .gallery-item-3,
.project-gallery .gallery-item-4 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 0;
}

.project-gallery .gallery-item img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.gallery-display-toolbar {
  background: var(--paper);
  padding: 0 clamp(22px, 7vw, 104px) 28px;
  transition: background-color 180ms ease;
}

.gallery-tone-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 16px;
  border: 1px solid #81786d;
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 14px;
  color: #3f3a34;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.gallery-tone-toggle:hover {
  border-color: var(--ink);
}

.gallery-tone-toggle:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 3px;
}

.gallery-tone-toggle-state {
  display: grid;
  min-width: 34px;
  min-height: 36px;
  place-items: center;
  border-left: 1px solid currentColor;
  font-weight: 500;
}

.gallery-tone-floating[hidden] {
  display: none;
}

@media (min-width: 821px) {
  .gallery-tone-floating {
    position: fixed;
    z-index: 30;
    top: calc(20px + env(safe-area-inset-top));
    left: clamp(16px, 2vw, 32px);
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(63, 58, 52, 0.5);
    background: rgba(232, 224, 211, 0.9);
    padding: 0 8px 0 10px;
    color: #3f3a34;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
  }

  body.admin-bar .gallery-tone-floating {
    top: calc(52px + env(safe-area-inset-top));
  }

  .gallery-tone-floating:hover {
    border-color: #3f3a34;
  }

  .gallery-tone-floating:focus-visible {
    outline: 2px solid var(--oxide);
    outline-offset: 3px;
  }

  .gallery-tone-floating-state {
    border-left: 1px solid currentColor;
    padding-left: 8px;
  }
}

.project-page.is-gallery-gray .gallery-display-toolbar,
.project-page.is-gallery-gray .project-gallery {
  background: #767676;
}

.project-page.is-gallery-gray .gallery-tone-toggle {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.project-page.is-gallery-gray .gallery-tone-toggle:hover {
  border-color: #fff;
}

.project-page.is-gallery-gray .gallery-tone-toggle-state {
  background: #f5f1e9;
  color: #2d2a26;
}

.project-page.is-gallery-gray .gallery-tone-floating {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(118, 118, 118, 0.92);
  color: #fff;
}

.project-page.is-gallery-gray .gallery-tone-floating:hover {
  border-color: #fff;
}

.project-page.is-gallery-gray .gallery-item figcaption {
  color: rgba(255, 255, 255, 0.9);
}

.gallery-chapter {
  width: 100%;
  max-width: 1040px;
  border-top: 1px solid #b8afa2;
  padding-top: clamp(26px, 3.5vw, 52px);
  color: #3f3a34;
}

.gallery-chapter-eyebrow,
.gallery-chapter-meta {
  margin: 0;
  color: #756d62;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.gallery-chapter h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.gallery-chapter-hero {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.32;
}

.gallery-chapter-copy {
  max-width: 660px;
  margin: 14px 0 0;
  color: #625c53;
  font-size: 15px;
  line-height: 1.65;
}

.gallery-chapter-meta {
  margin-top: 28px;
}

.project-page.is-gallery-gray .gallery-chapter {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.project-page.is-gallery-gray .gallery-chapter-eyebrow,
.project-page.is-gallery-gray .gallery-chapter-meta,
.project-page.is-gallery-gray .gallery-chapter-copy {
  color: rgba(255, 255, 255, 0.82);
}

/* One complete image should fit within a laptop viewport. Mobile keeps its
   full-width presentation, where reducing the image height would make it
   unnecessarily small. */
@media (min-width: 821px) {
  .project-gallery .gallery-item img {
    max-height: min(820px, calc(100vh - 144px));
  }
}

.studio-text-guide {
  margin-bottom: 34px;
  border-left: 3px solid var(--oxide);
  background: rgba(255, 255, 255, 0.32);
  padding: 18px 20px;
}

.studio-text-guide strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

.studio-text-guide p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #625c53;
  font-size: 13px;
  line-height: 1.55;
}

.studio-image-list article.is-main {
  box-shadow: inset 3px 0 0 var(--oxide);
  padding-left: 16px;
}

.studio-image-actions button.is-main {
  border-color: var(--oxide);
  background: var(--oxide);
  color: var(--paper-soft);
}

@media (max-width: 820px) {
  .portfolio-index-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-index .work-card,
  .portfolio-index .work-card-2,
  .portfolio-index .work-card-3 {
    grid-column: span 12;
  }

  .portfolio-index .work-card:last-child:nth-child(odd) {
    grid-column: span 12;
  }
}

@media (max-width: 540px) {
  .portfolio-index {
    padding-bottom: 100px;
  }

  .portfolio-index-heading {
    padding-top: 64px;
  }

  .portfolio-index-heading h1 {
    font-size: clamp(46px, 16vw, 72px);
  }

  .project-gallery {
    gap: 72px;
  }

  .gallery-display-toolbar {
    padding-bottom: 22px;
  }

  .gallery-tone-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
