:root {
  --forest-950: #09140f;
  --forest-900: #10231c;
  --forest-800: #18372b;
  --forest-700: #24523f;
  --moss-600: #4d7459;
  --larch-500: #7ea66f;
  --sage-300: #b9c9af;
  --ivory-50: #fbfaf5;
  --ivory-100: #f3f0e7;
  --ivory-200: #e6e0d2;
  --earth-500: #b87843;
  --ink: #142019;
  --muted: #687168;
  --line: rgba(20, 32, 25, 0.14);
  --white-line: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 22px 70px rgba(18, 36, 28, 0.1);
  --shadow-card: 0 14px 38px rgba(18, 36, 28, 0.08);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
}

html {
  scroll-behavior: smooth;
}

body.studio-page {
  min-height: 100vh;
  margin: 0;
  padding-bottom: 0;
  background: var(--ivory-100);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.studio-page a {
  color: inherit;
  text-decoration: none;
}

.studio-page img {
  display: block;
  width: auto;
  max-width: 100%;
}

.studio-page main,
.studio-page section,
.studio-page article,
.studio-page div,
.studio-page nav {
  min-width: 0;
}

.studio-page :focus-visible {
  outline: 3px solid rgba(126, 166, 111, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ivory-50);
  color: var(--forest-900);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.studio-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(20, 32, 25, 0.09);
  background: rgba(243, 240, 231, 0.88);
  backdrop-filter: blur(18px);
}

.studio-nav-wrap {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--forest-900);
}

.studio-brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(20, 32, 25, 0.12);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(18, 36, 28, 0.1);
}

.studio-brand-name {
  color: #2d543d;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.studio-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-opt-in {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.25rem 0.7rem;
  padding: 1rem;
  background: var(--ivory-100);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-sm);
}

.contact-opt-in .form-check-input {
  margin-top: 0.3rem;
}

.contact-opt-in label {
  margin: 0;
  font-weight: 700;
}

.contact-opt-in p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.subscription-result-page {
  min-height: 68vh;
  display: grid;
  align-items: center;
}

.subscription-result-card {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
  background: var(--ivory-50);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.subscription-result-card h1 {
  margin: 0.65rem 0 1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  line-height: 1;
}

.subscription-result-card .lead {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.studio-brand-name span {
  color: #202120;
}

.studio-navigation {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.studio-navigation a {
  position: relative;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: #59645c;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.studio-navigation a:hover,
.studio-navigation a.is-active {
  background: rgba(20, 32, 25, 0.06);
  color: var(--forest-900);
}

.studio-navigation a.is-active::after {
  position: absolute;
  right: 0.72rem;
  bottom: 0.44rem;
  left: 0.72rem;
  height: 2px;
  border-radius: 99px;
  background: var(--larch-500);
  content: '';
}

.studio-navigation .studio-admin-link {
  margin-left: 0.35rem;
  background: var(--forest-900);
  color: var(--ivory-50);
}

.studio-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.studio-nav-toggle span:not(.visually-hidden) {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest-900);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.studio-nav-toggle span:nth-child(2) {
  transform: translateY(-6px);
}
.studio-nav-toggle span:nth-child(4) {
  transform: translateY(6px);
}
.studio-nav-toggle[aria-expanded='true'] span:nth-child(2) {
  transform: rotate(45deg);
}
.studio-nav-toggle[aria-expanded='true'] span:nth-child(3) {
  opacity: 0;
}
.studio-nav-toggle[aria-expanded='true'] span:nth-child(4) {
  transform: rotate(-45deg);
}

.studio-hero {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.5rem);
  background: radial-gradient(circle at 78% 18%, rgba(126, 166, 111, 0.16), transparent 28%), linear-gradient(180deg, rgba(251, 250, 245, 0.4), transparent);
}

.studio-hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image: linear-gradient(120deg, transparent 48%, rgba(77, 116, 89, 0.12) 49%, transparent 50%), linear-gradient(60deg, transparent 48%, rgba(77, 116, 89, 0.08) 49%, transparent 50%);
  background-size: 92px 92px;
  mask-image: linear-gradient(to right, transparent, black 55%, transparent);
  content: '';
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  color: var(--forest-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: var(--larch-500);
  content: '';
}

.hero-title,
.page-title,
.section-title,
.project-title,
.article-page-title {
  margin: 0;
  color: var(--forest-900);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero-title {
  max-width: 10ch;
  font-size: clamp(3.7rem, 8vw, 7rem);
  line-height: 0.92;
}

.hero-title em {
  color: var(--moss-600);
  font-weight: 500;
}

.hero-copy,
.page-intro {
  max-width: 690px;
  margin: 1.6rem 0 0;
  color: #5c665f;
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  line-height: 1.72;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.studio-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.studio-button:hover {
  transform: translateY(-2px);
}

.studio-button--primary {
  background: var(--forest-900);
  color: var(--ivory-50) !important;
  box-shadow: 0 12px 28px rgba(16, 35, 28, 0.18);
}

.studio-button--primary:hover {
  background: var(--forest-800);
}

.studio-button--outline {
  border-color: var(--line);
  background: rgba(251, 250, 245, 0.65);
  color: var(--forest-900) !important;
}

.studio-button--outline:hover {
  border-color: rgba(20, 32, 25, 0.3);
  background: var(--ivory-50);
}

.content-management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.studio-button--management {
  min-height: 42px;
  gap: 0.45rem;
  border: 1px solid rgba(92, 54, 24, 0.28);
  background: var(--earth-500);
  color: var(--forest-950) !important;
  font-size: 0.76rem;
}

.studio-button--management:hover {
  border-color: var(--earth-500);
  background: #ca8c57;
}

.studio-button--management-secondary {
  border-color: var(--line);
  background: rgba(251, 250, 245, 0.72);
}

.content-card-edit {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 5;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(251, 250, 245, 0.72);
  border-radius: 999px;
  background: rgba(16, 35, 28, 0.92);
  color: var(--ivory-50) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(16, 35, 28, 0.2);
}

.content-card-edit:hover {
  background: var(--earth-500);
  color: var(--forest-950) !important;
}

.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.2rem;
}

.project-card-actions .text-link {
  margin-top: 0;
  padding-top: 0;
}

.content-inline-edit {
  color: #8b552d;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-inline-edit:hover {
  color: var(--forest-900);
}

.studio-lab {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 70% 24%, rgba(126, 166, 111, 0.32), transparent 23%), linear-gradient(145deg, #18372b, #0a1712 72%);
  box-shadow: 0 35px 90px rgba(12, 27, 21, 0.24);
  color: var(--ivory-50);
  isolation: isolate;
}

.studio-lab::before {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background: repeating-radial-gradient(ellipse at 92% 10%, transparent 0 34px, rgba(255, 255, 255, 0.24) 35px 36px);
  content: '';
}

.hero-project-media {
  background: linear-gradient(145deg, #234c39, #10231c 72%);
}

.hero-project-media::before {
  z-index: 1;
  opacity: 0.26;
}

.hero-project-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}

.hero-project-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 15, 0.08), rgba(8, 20, 15, 0.2) 42%, rgba(8, 20, 15, 0.82));
}

.lab-branch {
  position: absolute;
  top: 16%;
  left: 19%;
  width: 2px;
  height: 69%;
  background: linear-gradient(var(--sage-300), rgba(185, 201, 175, 0.12));
  transform: rotate(-28deg);
  transform-origin: bottom;
}

.lab-branch::before,
.lab-branch::after {
  position: absolute;
  width: 155px;
  height: 1px;
  background: linear-gradient(90deg, var(--sage-300), transparent);
  content: '';
  transform-origin: left;
}

.lab-branch::before {
  top: 35%;
  transform: rotate(-36deg);
}
.lab-branch::after {
  top: 62%;
  transform: rotate(34deg);
}

.lab-copy {
  position: absolute;
  top: 2rem;
  right: 2rem;
  left: 2rem;
  display: flex;
  justify-content: space-between;
  color: rgba(251, 250, 245, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.lab-core {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--white-line);
  border-radius: 24px;
  background: rgba(8, 20, 15, 0.56);
  backdrop-filter: blur(14px);
  z-index: 2;
}

.lab-core span {
  display: block;
  color: var(--larch-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-core strong {
  display: block;
  max-width: 12ch;
  margin-top: 0.5rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.lab-core a {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1.15rem;
  color: var(--ivory-50);
  font-size: 0.84rem;
  font-weight: 700;
}

.lab-node {
  position: absolute;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(251, 250, 245, 0.22);
  border-radius: 50%;
  background: rgba(251, 250, 245, 0.08);
  color: var(--ivory-50);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.3rem;
  backdrop-filter: blur(8px);
}

.lab-node--one {
  top: 24%;
  left: 17%;
}
.lab-node--two {
  top: 41%;
  right: 16%;
  width: 68px;
  height: 68px;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section--dark {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
  color: var(--ivory-100);
}

.section--dark .section-title,
.section--dark .section-kicker {
  color: var(--ivory-50);
}
.section--dark .section-copy {
  color: rgba(243, 240, 231, 0.7);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--forest-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 13ch;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.interest-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.interest-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(251, 250, 245, 0.76);
  box-shadow: var(--shadow-card);
}

.interest-card:first-child {
  grid-row: span 2;
  min-height: 616px;
  background: var(--forest-900);
  color: var(--ivory-100);
}
.interest-card:first-child p {
  color: rgba(243, 240, 231, 0.7);
}
.interest-card:nth-child(3) {
  background: #e4e8d9;
}

.interest-number {
  display: block;
  margin-bottom: clamp(4rem, 10vw, 10rem);
  color: var(--larch-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.interest-card:not(:first-child) .interest-number {
  margin-bottom: 3.4rem;
}

.interest-card:first-child .interest-number {
  margin-bottom: 2.4rem;
}

.curiosity-loop {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 330px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.42rem 0.85rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  color: rgba(243, 240, 231, 0.82);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
}

.curiosity-loop i {
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 201, 175, 0.7), transparent);
}

.interest-card h3 {
  max-width: 14ch;
  margin: 0 0 0.9rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.06;
}

.interest-card p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
}

.needle-motif {
  position: absolute;
  top: 12%;
  right: -4%;
  width: 220px;
  height: 220px;
  opacity: 0.22;
  border-left: 2px solid var(--larch-500);
  transform: rotate(32deg);
}

.needle-motif::before,
.needle-motif::after {
  position: absolute;
  width: 100px;
  height: 1px;
  background: var(--larch-500);
  content: '';
  transform-origin: left;
}

.needle-motif::before {
  top: 40%;
  transform: rotate(-42deg);
}
.needle-motif::after {
  top: 58%;
  transform: rotate(35deg);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.approach-card {
  min-height: 430px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--white-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.approach-card--mechanic {
  background: linear-gradient(145deg, rgba(126, 166, 111, 0.18), rgba(255, 255, 255, 0.035));
}

.approach-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  color: rgba(243, 240, 231, 0.65);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approach-label span:last-child {
  color: var(--larch-500);
}

.quiz-ui {
  max-width: 420px;
  padding: 1.4rem;
  border: 1px solid var(--white-line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.14);
}

.quiz-equation {
  margin-bottom: 1rem;
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.quiz-options span {
  padding: 0.7rem;
  border: 1px solid var(--white-line);
  border-radius: 9px;
  text-align: center;
}
.quiz-options span:nth-child(2) {
  border-color: var(--larch-500);
  background: rgba(126, 166, 111, 0.2);
}
.quiz-reward {
  margin-top: 1rem;
  color: var(--larch-500);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mechanic-model {
  max-width: 430px;
}
.mechanic-array {
  --array-padding: 1rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
  padding: var(--array-padding);
  border: 1px solid var(--white-line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.12);
}
.mechanic-array span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--larch-500);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.mechanic-array span:nth-child(n + 33) {
  background: #c49a62;
}
.mechanic-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 0.55rem;
  margin-top: 1rem;
  color: rgba(243, 240, 231, 0.75);
  font-weight: 600;
}
.mechanic-equation span {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--white-line);
  border-radius: 8px;
}
.mechanic-equation b {
  color: var(--larch-500);
}
.mechanic-equation strong {
  flex: 0 0 auto;
  margin-left: 0.1rem;
  color: var(--ivory-50);
  font-family: 'Source Serif 4', serif;
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
}
.mechanic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.5rem;
}
.mechanic-actions span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  color: rgba(243, 240, 231, 0.78);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(18, 36, 28, 0.14);
}

.project-art {
  position: relative;
  display: flex;
  min-height: 310px;
  align-items: flex-end;
  overflow: hidden;
  padding: 1.25rem;
  background: var(--forest-800);
  isolation: isolate;
}

.project-art img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-art img.project-image--contain,
.hero-project-image.project-image--contain {
  object-fit: contain;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.project-card:hover .project-art img {
  transform: scale(1.035);
}

.project-art::before,
.project-art::after {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  content: '';
}

.project-art::before {
  top: -90px;
  right: -50px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 0 32px rgba(255, 255, 255, 0.035),
    0 0 0 64px rgba(255, 255, 255, 0.025);
}
.project-art::after {
  bottom: -80px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.09);
  filter: blur(1px);
}
.project-art--math {
  background: linear-gradient(145deg, #234c39, #10231c 72%);
}
.project-art--mathoria {
  background: linear-gradient(145deg, #285a42, #10231c 72%);
}
.project-art--science {
  background: linear-gradient(145deg, #486543, #17372d 70%);
}
.project-art--language {
  background: linear-gradient(145deg, #b06d3c, #4c3428 74%);
}
.project-art--action {
  background: linear-gradient(145deg, #39444c, #151f25 72%);
}
.project-art--space {
  background: linear-gradient(145deg, #204b55, #101d2c 76%);
}
.project-art--racing {
  background: linear-gradient(145deg, #8b5638, #342b25 76%);
}
.project-art--harvest {
  background: linear-gradient(145deg, #9a8d48, #3e4d32 78%);
}
.project-art--sky {
  background: linear-gradient(145deg, #356a72, #18333e 76%);
}
.project-art--race-language {
  background: linear-gradient(145deg, #9f7041, #4f342d 78%);
}
.project-art--rhythm {
  background: linear-gradient(145deg, #496679, #252f48 76%);
}
.project-art--runner {
  background: linear-gradient(145deg, #4a6954, #24342b 76%);
}
.hero-project-media.project-art--mathoria {
  background: radial-gradient(circle at 74% 22%, rgba(201, 184, 99, 0.34), transparent 24%), linear-gradient(145deg, #285a42, #10231c 72%);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 20, 15, 0.44);
  color: var(--ivory-50);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.project-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--larch-500);
  content: '';
}

.project-card-body {
  padding: clamp(1.3rem, 3vw, 2rem);
}
.project-meta {
  margin-bottom: 0.65rem;
  color: var(--moss-600);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-card h3 {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.project-card-description {
  margin: 0.8rem 0 1.3rem;
  color: var(--muted);
}
.project-focus {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: #4c5a51;
  font-size: 0.9rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  color: var(--forest-800);
  font-weight: 700;
}
.text-link::after {
  content: '→';
  transition: transform 0.2s ease;
}
.text-link:hover::after {
  transform: translateX(4px);
}

.home-project-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-project-example {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}

.home-project-example--lead {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.home-project-example:not(.home-project-example--lead) {
  grid-template-rows: 310px minmax(0, 1fr);
}

.home-project-media {
  min-height: 310px;
}
.home-project-example:not(.home-project-example--lead) .home-project-media {
  min-height: 0;
}
.home-project-example--lead .home-project-media {
  min-height: 460px;
}
.home-project-media img {
  transition: transform 0.55s ease;
}
.home-project-example:hover .home-project-media img {
  transform: scale(1.025);
}
.home-project-index {
  position: relative;
  z-index: 2;
  color: rgba(251, 250, 245, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.home-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.home-project-copy h3 {
  max-width: 18ch;
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.home-project-example:not(.home-project-example--lead) .home-project-copy h3 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}
.home-project-copy .text-link {
  align-self: flex-start;
  margin-top: 1.4rem;
}
.home-project-all {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.4rem;
}

.project-category {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}
.project-category:first-of-type {
  padding-top: 2rem;
}
.project-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.5fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
.project-category-heading > div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.project-category-number {
  color: var(--moss-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.project-category-heading h2 {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.project-category-heading p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}
.project-feature-media {
  min-height: 480px;
}
.project-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.7rem, 4vw, 3.4rem);
}
.project-feature-copy h3 {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}
.project-feature-copy .text-link {
  align-self: flex-start;
}
.project-feature-copy .project-card-actions {
  margin-top: 1.3rem;
  padding-top: 0;
}

.project-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.project-collection-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}
.project-collection-media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
}
.project-collection-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem;
}
.project-collection-copy h3 {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.project-collection-copy .text-link {
  align-self: flex-start;
}
.project-collection-copy .project-card-actions {
  margin-top: auto;
  padding-top: 1.2rem;
}
.project-feature .project-focus,
.project-collection-card .project-focus {
  display: grid;
  gap: 0.35rem;
}
.project-feature .project-focus strong,
.project-collection-card .project-focus strong {
  color: var(--moss-600);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-media-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  max-width: none;
  place-items: center;
  padding: 2rem;
  color: rgba(251, 250, 245, 0.92);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.project-feature:hover img,
.project-collection-card:hover img {
  transform: scale(1.025);
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.subject-card {
  min-height: 270px;
  padding: 1.6rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(251, 250, 245, 0.62), transparent);
}

.subject-visual {
  position: relative;
  display: flex;
  width: 100%;
  height: 96px;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
  color: var(--moss-600);
}
.subject-visual--math span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Source Serif 4', serif;
  font-size: 1.2rem;
}
.subject-visual--language span {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
}
.subject-visual--language span:nth-child(2) {
  color: var(--earth-500);
  transform: translateY(12px);
}
.subject-visual--systems::before,
.subject-visual--logic::before {
  position: absolute;
  right: 15%;
  left: 10%;
  height: 1px;
  background: var(--line);
  content: '';
}
.subject-visual--systems span {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  border: 3px solid var(--ivory-100);
  border-radius: 50%;
  background: var(--moss-600);
}
.subject-visual--systems span:nth-child(2) {
  margin-left: 14%;
  transform: translateY(-25px);
}
.subject-visual--systems span:nth-child(3) {
  margin-left: 8%;
  transform: translateY(24px);
}
.subject-visual--systems span:nth-child(4) {
  margin-left: 12%;
}
.subject-visual--logic span {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  margin-right: 18%;
  border: 1px solid var(--moss-600);
  background: var(--ivory-100);
  transform: rotate(45deg);
}
.subject-visual--logic span:nth-child(2) {
  border-radius: 50%;
  transform: none;
}
.subject-visual--logic span:nth-child(3) {
  border-radius: 5px;
  transform: none;
}
.subject-card h3 {
  margin: 0 0 0.7rem;
  font-family: 'Source Serif 4', serif;
  font-size: 1.55rem;
  font-weight: 500;
}
.subject-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.experiment-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr);
  gap: 3rem;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background: #dfe4d4;
}

.experiment-panel::after {
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(36, 82, 63, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(36, 82, 63, 0.04),
    0 0 0 110px rgba(36, 82, 63, 0.03);
  content: '';
}

.experiment-panel .section-title {
  max-width: 10ch;
}
.experiment-aside {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.4rem;
  border: 1px solid rgba(36, 82, 63, 0.18);
  border-radius: 18px;
  background: rgba(251, 250, 245, 0.48);
}
.experiment-aside p {
  margin: 0;
  color: #4d5d53;
}

.page-hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.2rem, 7vw, 5.5rem);
}

.page-title {
  max-width: 12ch;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.94;
}
.page-hero .page-intro {
  max-width: 760px;
}
.page-hero--compact .page-title {
  max-width: 16ch;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
}

.projects-page .projects-hero {
  padding-bottom: clamp(2.8rem, 5vw, 4.5rem);
}
.about-page .section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.journal-page .page-hero {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.journal-content {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
}

.journal-category-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.65fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.journal-category-count {
  margin: 1.2rem 0 0;
  color: var(--moss-600);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journal-category-hero-visual {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--forest-800), var(--forest-950));
  box-shadow: var(--shadow-soft);
}

.journal-category-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.journal-topic-overview {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.journal-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.journal-topic-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-topic-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.journal-topic-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.journal-topic-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--forest-800), var(--forest-950));
}

.journal-topic-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.journal-topic-card:hover .journal-topic-visual img {
  transform: scale(1.035);
}

.journal-topic-count {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(251, 250, 245, 0.25);
  border-radius: 999px;
  background: rgba(9, 20, 15, 0.78);
  color: var(--ivory-50);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-topic-motif {
  position: relative;
  display: grid;
  width: 42%;
  min-width: 110px;
  gap: 13px;
  padding: 1.5rem;
  border: 1px solid rgba(251, 250, 245, 0.22);
  border-radius: 50%;
  background: rgba(126, 166, 111, 0.08);
  box-shadow: 0 0 0 24px rgba(126, 166, 111, 0.04);
}

.journal-topic-motif i {
  display: block;
  height: 1px;
  background: rgba(251, 250, 245, 0.6);
}

.journal-topic-motif i:nth-child(2) { width: 74%; }
.journal-topic-motif i:nth-child(3) { width: 48%; }

.journal-topic-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.journal-topic-copy h2 {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.journal-topic-copy p {
  margin: 0.7rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.journal-topic-copy .text-link {
  margin-top: auto;
}

.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}
.journal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.journal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}
.journal-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(145deg, #dfe4d4, #bdcbb5);
}
.journal-card .journal-card-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.journal-card-visual-mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: 38%;
  min-width: 82px;
  gap: 9px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(8, 20, 15, 0.28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transform: rotate(-3deg);
}
.journal-card-visual-mark::before {
  position: absolute;
  top: -18px;
  left: 18px;
  color: var(--larch-500);
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
  content: '“';
}
.journal-card-visual-mark i {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: rgba(243, 240, 231, 0.68);
}
.journal-card-visual-mark i:nth-child(2) {
  width: 76%;
}
.journal-card-visual-mark i:nth-child(3) {
  width: 52%;
}
.journal-card-body {
  padding: 1.4rem;
}

.journal-category-badge {
  position: relative;
  z-index: 4;
  display: inline-flex;
  margin: 0 0.55rem 0.55rem 0;
  padding: 0.35rem 0.58rem;
  border: 1px solid rgba(77, 116, 89, 0.2);
  border-radius: 999px;
  background: rgba(126, 166, 111, 0.1);
  color: var(--forest-700) !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.journal-category-badge:hover {
  background: rgba(126, 166, 111, 0.22);
}

.journal-category-badge--hero {
  margin-top: 1rem;
}
.journal-date {
  color: var(--moss-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.journal-card h2,
.journal-card h3 {
  margin: 0.55rem 0 0.65rem;
  font-family: 'Source Serif 4', serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.08;
}
.journal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.journal-card .stretched-link::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: '';
}
.journal-sidebar {
  position: sticky;
  top: 100px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(251, 250, 245, 0.58);
}
.journal-sidebar h2 {
  margin: 0 0 1rem;
  font-family: 'Source Serif 4', serif;
  font-size: 1.4rem;
  font-weight: 500;
}
.journal-sidebar a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: #536056;
  font-size: 0.9rem;
  font-weight: 600;
}
.journal-sidebar a:last-child {
  border-bottom: 0;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tag-cloud a {
  display: inline-flex;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
}
.load-more-wrap {
  grid-column: 1 / -1;
  padding-top: 1rem;
  text-align: center;
}
.journal-empty {
  position: relative;
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.4fr);
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--ivory-50), #e4e8d9);
  box-shadow: var(--shadow-card);
}
.journal-empty-copy {
  position: relative;
  z-index: 1;
}
.journal-empty h2 {
  max-width: 15ch;
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.journal-empty p {
  max-width: 52ch;
  margin: 1rem 0;
  color: var(--muted);
}
.journal-coming-soon {
  color: var(--moss-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.journal-empty-motif {
  position: relative;
  height: 250px;
  border: 1px solid rgba(36, 82, 63, 0.16);
  border-radius: 18px;
  background: rgba(251, 250, 245, 0.52);
  transform: rotate(3deg);
}
.journal-empty-motif::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18%;
  width: 1px;
  background: rgba(184, 120, 67, 0.24);
  content: '';
}
.journal-empty-motif span {
  display: block;
  width: 62%;
  height: 1px;
  margin: 42px 12% 0 auto;
  background: rgba(36, 82, 63, 0.18);
}
.journal-empty-motif i {
  position: absolute;
  right: 16%;
  bottom: 18%;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(36, 82, 63, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(36, 82, 63, 0.025);
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.project-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.92;
}
.project-hero-art {
  min-height: 460px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.project-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.35fr);
  gap: 2rem;
  align-items: start;
}
.content-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}
.content-panel h2 {
  margin: 0 0 1rem;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}
.project-rich-text {
  color: #4f5a52;
  line-height: 1.8;
}
.project-rich-text > :last-child {
  margin-bottom: 0;
}
.focus-panel {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--forest-900);
  color: var(--ivory-100);
}
.focus-panel span {
  color: var(--larch-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.focus-panel p {
  margin: 0.8rem 0 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  line-height: 1.25;
}
.platform-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.platform-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory-50);
  font-weight: 700;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.5fr);
  gap: 1.2rem;
}
.story-card {
  min-height: 420px;
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: var(--radius-md);
  background: var(--forest-900);
  color: var(--ivory-100);
}
.story-card--light {
  background: #dfe4d4;
  color: var(--ink);
}
.story-card h2 {
  margin: 0 0 1.3rem;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}
.story-card p {
  max-width: 54ch;
  color: rgba(243, 240, 231, 0.72);
}
.story-card--light p {
  color: #4f5e54;
}
.principles-list {
  display: grid;
  margin-top: 3rem;
}
.principle {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.principle strong {
  font-family: 'Source Serif 4', serif;
  font-size: 1.35rem;
  font-weight: 500;
}
.principle p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.7fr);
  gap: 1.2rem;
  align-items: start;
}
.contact-note,
.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}
.contact-note {
  background: var(--forest-900);
  color: var(--ivory-100);
}
.contact-note a {
  color: var(--larch-500);
  font-weight: 700;
}
.journal-sidebar-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.journal-sidebar-heading > a {
  padding: 0;
  border: 0;
  color: var(--forest-700);
  font-size: 0.72rem;
}
.journal-sidebar > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.journal-sidebar > a small {
  color: var(--moss-600);
}
.journal-sidebar > a.is-active {
  color: var(--forest-900);
  font-weight: 700;
}

.information-hero {
  padding-bottom: clamp(2.8rem, 5vw, 4rem);
}

.information-preview-banner {
  padding: 0.8rem 1rem;
  background: #f1e5cd;
  color: #66451f;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.information-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.information-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.information-updated {
  margin: 1.35rem 0 0;
  color: var(--moss-600);
  font-size: 0.84rem;
  font-weight: 700;
}

.information-content {
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
}

.information-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.information-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.information-nav {
  position: sticky;
  top: 108px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(251, 250, 245, 0.76);
}

.information-nav > strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--forest-900);
  font-family: 'Source Serif 4', serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.information-nav nav {
  display: grid;
  gap: 0.45rem;
}

.information-nav a {
  padding: 0.24rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.information-nav a:hover {
  color: var(--forest-700);
}

.information-nav-level-3 {
  padding-left: 0.75rem !important;
}

.information-sections {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}

.information-section {
  scroll-margin-top: 110px;
  padding: clamp(1.6rem, 4vw, 3.25rem);
}

.information-markdown {
  padding: clamp(1.6rem, 4vw, 3.25rem);
  color: #4f5e54;
  line-height: 1.78;
}

.information-markdown > :first-child {
  margin-top: 0;
}

.information-markdown > :last-child {
  margin-bottom: 0;
}

.information-markdown h2,
.information-markdown h3,
.information-markdown h4 {
  scroll-margin-top: 110px;
  color: var(--forest-900);
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
}

.information-markdown h2 {
  margin: 2.8rem 0 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  letter-spacing: -0.035em;
}

.information-markdown h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.4rem;
}

.information-markdown img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: var(--radius-md);
}

.information-markdown blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid rgba(77, 116, 89, 0.2);
  border-left: 4px solid var(--forest-700);
  border-radius: var(--radius-sm);
  background: #eef0e6;
}

.information-markdown blockquote p:last-child {
  margin-bottom: 0;
}

.information-markdown pre {
  overflow-x: auto;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--forest-900);
  color: #eef4ef;
}

.information-markdown table {
  display: block;
  overflow-x: auto;
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.information-markdown th,
.information-markdown td {
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.information-section + .information-section {
  border-top: 1px solid var(--line);
}

.information-section h2,
.information-section h3 {
  color: var(--forest-900);
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
}

.information-section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  letter-spacing: -0.035em;
}

.information-section h3 {
  margin: 1.6rem 0 0.65rem;
  font-size: 1.35rem;
}

.information-section p,
.information-section li {
  color: #4f5e54;
}

.information-section p:last-child,
.information-section ul:last-child {
  margin-bottom: 0;
}

.information-section ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.25rem;
}

.information-section a {
  color: var(--forest-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(36, 82, 63, 0.3);
  text-underline-offset: 0.18em;
}

.information-section a:hover {
  text-decoration-color: currentColor;
}

.information-subsection + .information-subsection {
  margin-top: 2rem;
}

.information-note,
.game-disclosure {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(77, 116, 89, 0.2);
  border-radius: var(--radius-sm);
  background: #eef0e6;
}

.information-note p,
.game-disclosure p:last-child {
  margin-bottom: 0;
}
.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field--full {
  grid-column: 1 / -1;
}
.studio-page .contact-form .form-control {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.studio-page .contact-form textarea.form-control {
  min-height: 190px;
  resize: vertical;
}
.studio-page .contact-form .form-control:focus {
  border-color: var(--moss-600);
  box-shadow: 0 0 0 3px rgba(77, 116, 89, 0.13);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.article-page-title {
  max-width: 14ch;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.96;
}
.article-meta {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.article-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.article-content {
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
  color: #38463d;
  font-size: 1.04rem;
  line-height: 1.85;
}
.article-content h1,
.article-content h2,
.article-content h3 {
  margin: 2em 0 0.7em;
  color: var(--forest-900);
  font-family: 'Source Serif 4', serif;
  font-weight: 500;
  line-height: 1.1;
}
.article-content h2 {
  font-size: 2.1rem;
}
.article-content h3 {
  font-size: 1.55rem;
}
.article-content a {
  color: var(--forest-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(36, 82, 63, 0.35);
  text-underline-offset: 3px;
}
.article-content img {
  height: auto;
  margin: 1.5rem 0;
  border-radius: 14px;
}
.article-content blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.4rem;
  border-left: 3px solid var(--larch-500);
  color: var(--muted);
  font-family: 'Source Serif 4', serif;
  font-size: 1.25rem;
}
.article-content pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 12px;
}

.newsletter-section {
  padding: 0 0 clamp(4.5rem, 9vw, 8rem);
}
.newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(300px, 0.4fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: var(--ivory-100);
  box-shadow: var(--shadow-soft);
}
.newsletter-title {
  margin: 0;
  color: var(--ivory-50);
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
}
.newsletter-copy {
  max-width: 54ch;
  margin: 0.75rem 0 0;
  color: rgba(243, 240, 231, 0.68);
}
.newsletter-box .section-kicker {
  color: var(--larch-500);
}
.newsletter-input-row {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.newsletter-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory-50);
  padding: 0.7rem 0.9rem;
}
.newsletter-input::placeholder {
  color: rgba(243, 240, 231, 0.45);
}
.newsletter-button {
  border: 0;
  border-radius: 999px;
  background: var(--larch-500);
  color: var(--forest-950);
  padding: 0.7rem 1rem;
  font-weight: 700;
}
.newsletter-alert {
  margin-top: 0.75rem;
  border-radius: 10px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
}

.studio-footer {
  margin-top: auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.5rem;
  background: var(--forest-950);
  color: rgba(243, 240, 231, 0.68);
}
.studio-brand--footer {
  color: var(--ivory-50);
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-start;
  padding-bottom: 3rem;
}
.footer-statement {
  margin: 1rem 0 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.35rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 0.85rem 2.5rem;
}
.footer-links a:hover {
  color: var(--ivory-50);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}
.footer-bottom a {
  color: var(--sage-300);
}
.footer-bottom a:hover {
  color: var(--ivory-50);
}

.error-main {
  display: grid;
  min-height: 70vh;
  align-items: center;
}

.error-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.error-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(120deg, transparent 48%, rgba(77, 116, 89, 0.12) 49%, transparent 50%),
    linear-gradient(60deg, transparent 48%, rgba(77, 116, 89, 0.08) 49%, transparent 50%);
  background-size: 92px 92px;
  mask-image: linear-gradient(to right, transparent, black 62%, transparent);
  content: '';
  pointer-events: none;
}

.error-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.75fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.error-copy {
  max-width: 680px;
}

.error-code {
  margin: 0 0 0.35rem;
  color: var(--moss-600);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(5.5rem, 15vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.error-copy .page-title {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.98;
}

.error-copy .page-intro {
  max-width: 580px;
}

.error-reference {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.error-reference code {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(251, 250, 245, 0.72);
  color: var(--forest-700);
  font-size: inherit;
}

.error-visual {
  position: relative;
  min-height: clamp(360px, 45vw, 510px);
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 66% 35%, rgba(126, 166, 111, 0.3), transparent 25%),
    linear-gradient(145deg, var(--forest-800), var(--forest-950) 74%);
  box-shadow: 0 35px 90px rgba(12, 27, 21, 0.24);
  color: var(--ivory-50);
  isolation: isolate;
}

.error-visual::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: repeating-radial-gradient(circle at 74% 32%, transparent 0 42px, rgba(255, 255, 255, 0.22) 43px 44px);
  content: '';
}

.error-visual::after {
  position: absolute;
  inset: auto -14% -34% 16%;
  height: 65%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(150deg, rgba(126, 166, 111, 0.18), rgba(9, 20, 15, 0.55));
  content: '';
}

.error-visual-label,
.error-visual-note {
  position: absolute;
  z-index: 3;
  color: var(--sage-300);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.error-visual-label {
  top: 2rem;
  left: 2rem;
}

.error-visual-note {
  right: 2rem;
  bottom: 1.8rem;
}

.error-visual > strong {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  z-index: 2;
  color: rgba(251, 250, 245, 0.08);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(8rem, 24vw, 16rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.75;
}

.error-orbit {
  position: absolute;
  top: 50%;
  left: 58%;
  z-index: 1;
  border: 1px solid rgba(185, 201, 175, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.error-orbit--outer {
  width: 310px;
  height: 310px;
}

.error-orbit--middle {
  width: 210px;
  height: 210px;
}

.error-orbit--inner {
  width: 112px;
  height: 112px;
  background: rgba(126, 166, 111, 0.08);
}

.error-waypoint {
  position: absolute;
  top: 50%;
  left: 58%;
  z-index: 4;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(251, 250, 245, 0.78);
  border-radius: 50%;
  background: var(--earth-500);
  box-shadow: 0 0 0 10px rgba(184, 120, 67, 0.12);
  transform: translate(-50%, -50%);
}

.error-waypoint i {
  position: absolute;
  top: -56px;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(transparent, rgba(251, 250, 245, 0.78));
}

.has-reveal-motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.has-reveal-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1199.98px) {
  .project-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-feature {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  }
}

@media (max-width: 991.98px) {
  .journal-category-hero {
    grid-template-columns: 1fr;
  }
  .journal-category-hero-visual {
    min-height: 300px;
  }
  .journal-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .information-hero-grid {
    grid-template-columns: 1fr;
  }
  .information-layout {
    grid-template-columns: 1fr;
  }
  .information-hero-image {
    width: min(100%, 747px);
    aspect-ratio: 16 / 9;
    justify-self: center;
  }
  .information-nav {
    position: static;
  }
  .information-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid,
  .project-hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .hero-title {
    max-width: 12ch;
  }
  .studio-lab {
    min-height: 460px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .interest-grid {
    grid-template-columns: 1fr 1fr;
  }
  .interest-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 440px;
  }
  .home-project-example--lead {
    grid-template-columns: 1fr;
  }
  .home-project-example--lead .home-project-media {
    min-height: 390px;
  }
  .project-category-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .project-feature {
    grid-template-columns: 1fr;
  }
  .project-feature-media {
    min-height: 400px;
  }
  .subjects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .journal-sidebar {
    position: static;
  }
  .journal-empty {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 2rem;
  }
  .project-details-grid,
  .about-story {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .journal-topic-grid {
    grid-template-columns: 1fr;
  }
  .journal-topic-overview {
    padding-bottom: 3.5rem;
  }
  .site-container {
    width: min(100% - 28px, 1200px);
  }
  .studio-nav-wrap {
    min-height: 76px;
  }
  .studio-brand-mark {
    width: 48px;
    height: 48px;
  }
  .studio-brand-name {
    font-size: 1.1rem;
  }
  .studio-nav-toggle {
    display: inline-flex;
  }
  .studio-navigation {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--ivory-50);
    box-shadow: var(--shadow-soft);
  }
  .studio-navigation.is-open {
    display: grid;
  }
  .studio-navigation a {
    padding: 0.85rem 1rem;
  }
  .studio-navigation a.is-active::after {
    display: none;
  }
  .studio-navigation .studio-admin-link {
    margin-left: 0;
  }
  .studio-hero {
    padding: 3.5rem 0 4.5rem;
  }
  .hero-title {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }
  .studio-lab {
    min-height: 390px;
    border-radius: 25px;
  }
  .lab-copy {
    top: 1.4rem;
    right: 1.4rem;
    left: 1.4rem;
  }
  .lab-core {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    padding: 1.25rem;
    border-radius: 18px;
  }
  .interest-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .interest-card:first-child {
    min-height: 390px;
  }
  .curiosity-loop {
    margin-bottom: 3rem;
  }
  .approach-card {
    min-height: 0;
  }
  .approach-label {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 2rem;
  }
  .mechanic-array {
    --array-padding: 0.8rem;
    gap: 4px;
  }
  .home-project-showcase {
    grid-template-columns: 1fr;
  }
  .home-project-example--lead {
    grid-column: auto;
  }
  .home-project-example:not(.home-project-example--lead) {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .home-project-media,
  .home-project-example--lead .home-project-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .home-project-copy {
    padding: 1.5rem;
  }
  .home-project-all {
    justify-content: flex-start;
  }
  .project-art {
    min-height: 250px;
  }
  .project-category {
    padding: 3.5rem 0;
  }
  .project-category-heading {
    margin-bottom: 1.5rem;
  }
  .project-category-heading > div {
    align-items: center;
  }
  .project-feature {
    border-radius: var(--radius-md);
  }
  .project-feature-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .project-feature-copy {
    padding: 1.5rem;
  }
  .project-support-grid {
    grid-template-columns: 1fr;
  }
  .project-collection-card {
    min-width: 0;
    width: 100%;
  }
  .subjects-grid {
    grid-template-columns: 1fr;
  }
  .subject-card {
    min-height: auto;
  }
  .subject-visual {
    margin-bottom: 1.5rem;
  }
  .experiment-panel {
    grid-template-columns: 1fr;
  }
  .journal-list {
    grid-template-columns: 1fr;
  }
  .journal-empty {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .journal-empty-motif {
    height: 190px;
  }
  .project-hero-art {
    min-height: 330px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field--full {
    grid-column: auto;
  }
  .newsletter-box {
    grid-template-columns: 1fr;
  }
  .newsletter-input-row {
    align-items: stretch;
    border-radius: 16px;
    flex-direction: column;
  }
  .footer-main,
  .footer-bottom {
    flex-direction: column;
  }
  .footer-links {
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 479.98px) {
  .site-container {
    width: calc(100% - 24px);
  }
  .section {
    padding: 4rem 0;
  }
  .page-hero {
    padding: 3.6rem 0 3rem;
  }
  .hero-title {
    font-size: clamp(3rem, 15.5vw, 4rem);
  }
  .page-title,
  .project-title,
  .article-page-title {
    font-size: clamp(2.85rem, 14vw, 4rem);
    overflow-wrap: anywhere;
  }
  .section-title {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .studio-button {
    width: 100%;
  }
  .studio-lab {
    min-height: 350px;
  }
  .lab-copy {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .lab-copy span:last-child {
    max-width: 50%;
    text-align: right;
  }
  .lab-core strong {
    font-size: 2rem;
  }
  .interest-card {
    padding: 1.4rem;
  }
  .interest-card:first-child {
    min-height: 420px;
  }
  .mechanic-array {
    --array-padding: 0.65rem;
    gap: 3px;
  }
  .home-project-copy h3 {
    font-size: 1.9rem;
  }
  .home-project-all .studio-button {
    width: 100%;
  }
  .project-category {
    padding: 3rem 0;
  }
  .project-category-heading h2 {
    font-size: 2.65rem;
  }
  .project-category-heading > div {
    gap: 0.7rem;
  }
  .project-feature-copy,
  .project-collection-copy {
    padding: 1.25rem;
  }
  .project-feature-copy h3 {
    font-size: 2.5rem;
  }
  .project-collection-copy h3 {
    font-size: 1.9rem;
  }
  .project-card-description {
    margin-bottom: 1rem;
  }
  .journal-empty {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }
  .journal-empty h2 {
    font-size: 2.45rem;
  }
  .journal-empty-motif {
    height: 160px;
  }
  .newsletter-box {
    padding: 1.35rem;
    border-radius: var(--radius-md);
  }
  .newsletter-title {
    font-size: 2.35rem;
  }
  .footer-links {
    gap: 0.75rem 1.5rem;
  }
  .information-nav nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359.98px) {
  .studio-brand-mark {
    width: 44px;
    height: 44px;
  }
  .studio-brand-name {
    font-size: 1rem;
  }
  .studio-nav-toggle {
    width: 44px;
    height: 44px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .page-title,
  .project-title,
  .article-page-title {
    font-size: 2.7rem;
  }
  .studio-lab {
    min-height: 325px;
  }
  .project-category-heading h2 {
    font-size: 2.35rem;
  }
  .project-media-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 991.98px) {
  .error-layout {
    grid-template-columns: 1fr;
  }
  .error-copy {
    max-width: 760px;
  }
  .error-visual {
    min-height: 380px;
  }
}

@media (max-width: 479.98px) {
  .error-section {
    padding: 3.5rem 0;
  }
  .error-layout {
    gap: 2.5rem;
  }
  .error-code {
    font-size: 5.5rem;
  }
  .error-visual {
    min-height: 310px;
    border-radius: var(--radius-md);
  }
  .error-visual-label {
    top: 1.4rem;
    left: 1.4rem;
  }
  .error-visual-note {
    right: 1.4rem;
    bottom: 1.3rem;
  }
  .error-orbit,
  .error-waypoint {
    left: 60%;
  }
  .error-orbit--outer {
    width: 250px;
    height: 250px;
  }
  .error-orbit--middle {
    width: 170px;
    height: 170px;
  }
  .error-orbit--inner {
    width: 90px;
    height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
