﻿:root {
  color-scheme: light;
  font-family: "Open Sans", 'Inter', "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  --bg: #000000;
  --title: #ff6509;
  --subtitle: #f3f3f4;
  --text: #e1e1e1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f8f2ec;
  color: #090909;
}

html {
  scroll-behavior: smooth;
}

html,
body,
* {
  cursor: url("img/cursor-burbuja.png") 16 16, auto;
}

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

section {
  scroll-margin-top: 40px;
}

#hero {
  scroll-margin-top: 120px;
}

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

p {
  color: var(--text);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
  padding: 2rem max(5vw, calc((100vw - 1560px) / 2));
  position: relative;
  top: auto;
  background: rgba(248, 242, 236, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(9, 9, 9, 0.14);
  z-index: 100;
}

@media (min-width: 641px) {
  header {
    position: sticky;
    top: 0;
  }
}

.logo a {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #090909;
  font-weight: 900;
}

.logo a:hover {
  cursor: pointer;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
}

nav a {
  color: #090909;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.5s ease;
}

nav a:hover {
  color: var(--title);
  cursor: pointer;
}

nav a.is-active {
  color: var(--title);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(9, 9, 9, 0.16);
  border-radius: 999px;
  background: rgba(248, 242, 236, 0.82);
  color: #090909;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  cursor: pointer;
}

.menu-toggle div {
  font-size: 1.25rem;
  line-height: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  background: var(--title);
  color: #090909;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.header-cta:hover {
  cursor: pointer;
  background: #ff8842;
  transform: translateY(-1px);
}

main {
  padding-bottom: 3.5rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 128px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5.5rem;
  text-align: center;
}

.hero-content {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
  padding: 0.55rem 1.2rem;
  border: 1.5px solid var(--title);
  border-radius: 999px;
  color: #090909;
  font-weight: 700;
  background: rgba(248, 242, 236, 0.72);
}

.hero-label-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--title);
}

.hero-label-text {
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-tag {
  position: absolute;
  right: 0;
  top: 13rem;
  margin: 0;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--title);
  border-radius: 999px;
  color: #090909;
  font-size: 0.95rem;
  font-weight: 800;
  transform: rotate(7deg);
  background: rgba(248, 242, 236, 0.88);
}

.hero-title {
  margin: 0;
  color: #090909;
  font-size: clamp(4.4rem, 9vw, 8.3rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.hero-title > span:last-child {
  display: block;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.06em;
  font-size: 6rem;
  margin-top: 1.5rem;
}

.hero-title em {
  color: var(--title);
  font-style: italic;
}

.hero-avatar-pill {
  display: inline-flex;
  width: clamp(54px, 5vw, 76px);
  height: clamp(90px, 8vw, 126px);
  margin: 0 0.12em;
  overflow: hidden;
  vertical-align: middle;
  border-radius: 999px;
  background: var(--title);
}

.hero-avatar-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-description {
  margin: 1.8rem 0 1.8rem;
  color: #7b7772;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.45;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 200px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--title);
  color: var(--subtitle);
  font-size: 1.08rem;
  font-weight: 500;
  transition: background-color 0.5s ease;
}

.hero-cta:hover {
  cursor: pointer;
  background: #ff8842;
}

.intro {
  background: #f8f2ec;
  padding: 5rem 2rem 4.25rem;
}

.intro-inner {
  max-width: 1460px;
  margin: 0 auto;
  text-align: center;
}

.intro-kicker {
  margin: 0 0 1.2rem;
  color: #7b7772;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-style: italic;
  line-height: 1;
}

.intro h2 {
  max-width: 1440px;
  margin: 0 auto;
  color: #090909;
  font-size: clamp(3rem, 5.7vw, 5.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.intro h2 span {
  color: var(--title);
  font-weight: 400;
}

.intro-tags {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.intro-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--title);
  border-radius: 999px;
  color: #090909;
  background: rgba(248, 242, 236, 0.72);
  font-size: 1rem;
  font-weight: 500;
}

.intro-tags i {
  color: var(--title);
  font-size: 1rem;
  font-weight: lighter;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #0f766e;
  color: var(--subtitle);
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.18);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.04);
  color: #111827;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 2rem;
  height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  background: var(--subtitle);
  overflow: hidden;
  flex-shrink: 0;
}

.social-icon.figma {
  background: #101010;
}

.social-icon.illustrator {
  background: #330000;
}

.social-icon.photoshop {
  background: #001E36;
}

.social-icon.premiere {
  background: #00005B;
}

.social-icon.illustrator img {
  transform: translateX(-1px);
}

.social-icon img,
.social-icon svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  display: block;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-background {
  width: 100%;
  max-width: 480px;
  position: absolute;
  bottom: -40%;
  right: 8%;
  transform: rotate(350deg);
  z-index: 0;
  pointer-events: none;
}

.hero-image-wrapper {
  position: relative;
  width: min(360px, 100%);
  height: 520px;
  aspect-ratio: 1 / 1.15;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(32, 32, 32, 1);
  background: var(--subtitle);
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-accent,
.accent-left,
.accent-right {
  display: none;
}

.academic {
  padding: 5.5rem 2rem 6rem;
  background: #f8f2ec;
}

.subjects {
  padding: 5.5rem 2rem 6rem;
  background: #f8f2ec;
}

.team {
  padding: 5.5rem 2rem 6rem;
  background: #f8f2ec;
}

.subjects-inner,
.team-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  gap: 0;
  padding-top: 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--title);
  font-weight: 700;
  font-size: 1rem;
}

.team-inner {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.subjects-inner h2,
.team-inner h2,
.works-inner h2,
.academic-details h2,
.design-decisions-heading h2 {
  line-height: 1.05;
  color: #090909;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.06em;
}

.subjects-inner h2,
.team-inner h2 {
  margin: 0 0 2rem;
}

.works-inner h2,
.academic-details h2,
.design-decisions-heading h2 {
  margin: 0 0 4rem;
}

.subjects-inner p,
.team-inner p,
.academic-details p,
.design-decisions-heading p,
.works-inner p,
.process-heading p {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #7b7772;
  font-style: italic;
  text-align: center;
}

.subject-card,
.academic-details {
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.subject-card h3,
.team-card h3,
.academic-details h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.subject-card p,
.academic-details p {
  margin: 0;
  line-height: 1.7;
}

.subject-card li {
  margin: 0 0 0.7rem;
  line-height: 1.7;
  color: #505050;
  font-size: 1rem;
}

.subject-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  height: 420px;
  margin-top: 2rem;
}

.subject-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.subject-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.subject-card {
  position: relative;
  flex: 0 0 140px;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #efe6df;
  border: 1px solid #d7cbc2;
  border-radius: 8px;
  box-shadow: none;
  transition: flex-basis 1s ease, background-color 1s ease, border-color 1s ease, transform 1s ease;
}

.subject-card:focus-visible {
  outline: 3px solid var(--title);
  outline-offset: 4px;
}

.subject-card.is-active {
  flex-basis: 390px;
  background: #f4e3d6;
  border: 1.5px solid #ffb07a;
}

.subject-card:not(.is-active) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3ebe4;
}

.subject-card:not(.is-active) .subject-card-heading {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.subject-card h3 {
  color: var(--title);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0;
}

.subject-card:not(.is-active) h3 {
  margin: 0;
  color: rgba(255, 101, 9, 0.7);
  font-size: 1.35rem;
  white-space: nowrap;
}

.subject-card:not(.is-active):hover {
  border-color: #ffb07a;
  transform: translateY(-12px);
}

.subject-card:not(.is-active):hover h3 {
  color: rgba(255, 101, 9, 1);
}

.subject-card .status {
  display: none;
}

.subject-card ul {
  color: #7b7772;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.subject-card:not(.is-active) ul {
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.status {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-approved {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.status-ongoing {
  background: rgba(251, 191, 36, 0.12);
  color: #d97706;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.team-card {
  position: relative;
  overflow: visible;
  min-height: 220px;
  padding: 5rem 2.5rem 0;
  background: #efe6df;
  border: 1px solid #d7cbc2;
  border-radius: 8px;
  transition: background-color 1s ease, border 1s ease, transform 1s ease;
}

a.team-card:hover {
  cursor: pointer;
  background: #f4e3d6;
  border: 1.5px solid #ffb07a;
  transform: translateY(-12px);
}

a.team-card:hover .team-number {
  color: rgba(255, 101, 9, 1);
}

a.team-card:focus-visible {
  outline: 3px solid var(--title);
  outline-offset: 4px;
}

.team-number {
  position: absolute;
  top: -3.25rem;
  right: 1.5rem;
  color: rgba(255, 101, 9, 0.2);
  font-size: clamp(5.5rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.06em;
  transition: color 1s ease;
}

.team-card h3 {
  position: relative;
  margin-top: 0.5rem;
  color: #090909;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
}

.team-card p {
  position: relative;
  max-width: 360px;
  margin: 0;
  color: #606060;
  font-size: 1.1rem;
  line-height: 1.55;
}

.academic-details {
  grid-column: 1 / -1;
  max-width: 1370px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

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

.academic-group {
  border-left: 1px solid #d7cbc2;
  padding-left: 3.5rem;
}

.academic-group:first-child {
  border-left: 0;
  padding-left: 0;
}

.academic-group h3 {
  margin: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #d7cbc2;
  color: rgba(255, 101, 9, 0.8);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.academic-group dl {
  margin: 0;
}

.academic-group dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #d7cbc2;
}

.academic-group dt {
  color: #7b7772;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.academic-group dd {
  margin: 0;
  color: #090909;
  font-size: 1rem;
  line-height: 1.5;
}

.works {
  padding: 5.5rem 2rem 6rem;
  background: #f8f2ec;
}

.works-inner {
  max-width: 1370px;
  margin: 0 auto;
  text-align: center;
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  text-align: left;
}

.work-cards a:hover {
  cursor: pointer;
}

.work-card {
  display: grid;
  gap: 1.25rem;
  cursor: pointer;
}

.work-card,
.work-card * {
  cursor: pointer;
}

.work-image {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border: 1px solid #d7cbc2;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(9, 9, 9, 0.1);
}

.work-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.work-card h3 {
  margin: 0;
  color: #090909;
  font-size: 1.25rem;
  font-weight: 700;
}

.work-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.work-tags span {
  padding: 0.45rem 0.85rem;
  border: 1px solid #c4c4c4;
  border-radius: 999px;
  color: #747474;
  background: rgba(248, 242, 236, 0.72);
  font-size: 0.85rem;
  font-weight: 700;
}

.design-decisions {
  padding: 5.5rem 2rem 6rem;
  background: #f8f2ec;
}

.design-decisions-inner {
  max-width: 1370px;
  margin: 0 auto;
}

.design-decisions-heading {
  margin-bottom: 3.5rem;
  text-align: center;
}

.design-decisions-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 4.5rem;
}

.decision-list {
  margin: 0;
}

.decision-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid #d7cbc2;
}

.decision-list div:last-child {
  border-bottom: 1px solid #d7cbc2;
}

.decision-list dt {
  color: #9a9691;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.decision-list dd {
  margin: 0;
  color: #090909;
  font-size: 1rem;
  line-height: 1.55;
}

.decision-copy {
  border-left: 1px solid #d7cbc2;
  padding-left: 4.5rem;
}

.decision-copy p {
  margin: 0 0 2rem;
  color: #090909;
  font-size: 1.05rem;
  line-height: 1.8;
}

.decision-copy p:last-child {
  margin-bottom: 0;
}

.process-page {
  background: #f8f2ec;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 42vw);
  align-items: start;
  min-height: 100vh;
  margin-top: -1px;
  padding-bottom: 0;
}

.process-media {
  position: sticky;
  top: 92px;
  grid-column: 2;
  grid-row: 1;
  height: calc(100vh - 92px);
  overflow: hidden;
  background: #efe6df;
  border-left: 1px solid #d7cbc2;
}

.process-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.process-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(12%) brightness(85%);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.process-carousel-image.is-active {
  opacity: 1;
}

.process-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.process-carousel-dots span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 100%;
  background: rgba(248, 242, 236, 0.6);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.process-carousel-dots span.is-active {
  background: var(--title);
  transform: scale(1.25);
}

.process-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0), rgba(9, 9, 9, 0.18));
  z-index: 0;
}

.process-scroll {
  grid-column: 1;
  grid-row: 1;
  min-height: calc(100vh - 92px);
  padding: 4rem 0;
}

.process-heading {
  max-width: 860px;
  margin: 0 auto 4rem;
  padding: 0 3.5rem;
}

.process-heading p {
  text-align: left;
}

.process-heading h1 {
  margin: 0;
  color: #090909;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.process-content {
  display: grid;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.process-content article {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-top: 1px solid #d7cbc2;
}

.process-content article:last-child {
  border-bottom: 0;
}

.process-content span {
  color: var(--title);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.process-content h2 {
  margin: 0;
  color: #090909;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
}

.process-content p {
  grid-column: 2;
  align-self: start;
  margin: 0 0 1rem;
  color: #505050;
  font-size: 1.05rem;
  line-height: 1.8;
}

.process-content p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: rgba(248, 242, 236, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(9, 9, 9, 0.14);
  padding: 2rem max(5vw, calc((100vw - 1560px) / 2));
}

.footer-inner {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #090909;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-brand {
  color: var(--title);
}

.footer-note {
  max-width: 1180px;
  margin: 1rem auto 0;
  line-height: 1.7;
  text-align: center;
}

.footer-note p {
  font-size: 0.8rem;
  color: #303030;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-note {
    text-align: center;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-tag {
    position: static;
    margin-bottom: 1rem;
    transform: rotate(0);
  }

  .intro {
    padding-top: 4rem;
  }

  .intro h2 {
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .subject-cards {
    overflow-x: auto;
    padding-bottom: 0.75rem;
    gap: 1rem;
  }

  .team-cards {
    grid-template-columns: 1fr;
  }

  .academic-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-cards {
    grid-template-columns: 1fr;
  }

  .academic-group,
  .academic-group:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .design-decisions-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .decision-copy {
    border-left: 0;
    padding-left: 0;
  }

  .process-content article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-media {
    position: relative;
    top: auto;
    height: 70vh;
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid #d7cbc2;
  }

  .process-scroll {
    min-height: auto;
  }

  .process-content p {
    grid-column: auto;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  header {
    gap: 1rem;
    padding: 1.75rem 2rem;
  }

  nav ul {
    gap: 1.25rem;
    justify-content: flex-end;
  }

  nav a {
    font-size: 0.95rem;
  }

  .hero {
    padding: 4rem 2rem 5rem;
  }

  .hero-title {
    font-size: clamp(5.2rem, 13vw, 7rem);
  }

  .intro,
  .subjects,
  .team,
  .works,
  .academic,
  .design-decisions {
    padding: 4.5rem 2rem 5rem;
  }

  .intro h2 {
    font-size: clamp(3.4rem, 7vw, 4.8rem);
  }

  .intro-tags {
    gap: 0.8rem;
  }

  .intro-tags span {
    min-height: 52px;
    padding: 0.7rem 1.15rem;
    font-size: 0.95rem;
  }

  .subjects-inner h2,
  .team-inner h2,
  .works-inner h2,
  .academic-details h2,
  .design-decisions-heading h2 {
    font-size: clamp(3.4rem, 7vw, 4.8rem);
  }

  .team-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .team-card {
    min-height: 230px;
    padding: 4rem 1.5rem 1.5rem;
  }

  .team-number {
    top: -2.35rem;
    right: 1rem;
    font-size: clamp(4.25rem, 9vw, 6rem);
  }

  .team-card h3 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    text-align: center;
  }

  .team-card p {
    font-size: 1rem;
  }
  .subject-cards {
    justify-content: flex-start;
    height: 390px;
    overflow-x: auto;
    padding-bottom: 0.75rem;
  }

  .subject-card {
    flex-basis: 112px;
  }

  .subject-card.is-active {
    flex-basis: 360px;
  }

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

  .work-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 1rem);
    justify-self: center;
  }

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

  .academic-group,
  .academic-group:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .academic-group:nth-child(3) {
    grid-column: 1 / -1;
  }

  .design-decisions-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .decision-copy {
    border-left: 0;
    padding-left: 0;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-media {
    position: relative;
    top: auto;
    grid-column: auto;
    grid-row: auto;
    height: 58vh;
    min-height: 460px;
    border-left: 0;
    border-bottom: 1px solid #d7cbc2;
  }

  .process-scroll {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
    padding: 4rem 0 5rem;
  }

  .process-heading,
  .process-content {
    max-width: 820px;
    padding: 0 2rem;
  }

  .process-content article {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .process-content p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  section {
    scroll-margin-top: 104px;
  }

  #hero {
    scroll-margin-top: 132px;
  }

  header {
    position: relative;
    top: auto;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding: 1rem 1.25rem 0.85rem;
  }

  .logo a {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 0 1.25rem;
    background: rgba(248, 242, 236, 1);
    border-bottom: 1px solid rgba(9, 9, 9, 0.14);
    box-shadow: 0 18px 34px rgba(9, 9, 9, 0.12);
    transform: translateY(-0.5rem);
    transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.45s ease, padding-top 0.45s ease, padding-bottom 0.45s ease;
  }

  nav ul {
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }

  nav a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(9, 9, 9, 0.12);
    font-size: 0.92rem;
    white-space: nowrap;
  }

  header.is-menu-open nav {
    max-height: 420px;
    padding-top: 0.4rem;
    padding-bottom: 0.7rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-cta {
    min-width: 0;
    width: 100%;
  }

  main {
    padding-bottom: 2rem;
  }

  .hero {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    padding: 3rem 1.25rem 4rem;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-label {
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
  }

  .hero-label-text {
    min-width: 0;
    font-size: 0.82rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-tag {
    display: none
  }

  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.75rem, 14vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    overflow-wrap: break-word;
  }

  .hero-title > span:last-child {
    margin-top: 1rem;
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3.4rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

  .hero-avatar-pill {
    width: 46px;
    height: 74px;
  }

  .hero-description {
    max-width: 100%;
    margin: 1.35rem 0 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
  }

  .intro {
    padding: 3.25rem 1.25rem;
  }

  .intro-kicker {
    font-size: 1.15rem;
  }

  .intro h2 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.05em;
  }

  .intro-tags {
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .intro-tags span {
    width: 100%;
    justify-content: center;
  }

  .subjects {
    padding: 3.5rem 1.25rem;
  }

  .team {
    padding: 3.5rem 1.25rem;
  }

  .academic {
    padding: 3.5rem 1.25rem;
  }

  .works {
    padding: 3.5rem 1.25rem;
  }

  .subjects-inner h2,
  .team-inner h2,
  .academic-details h2,
  .design-decisions-heading h2 {
    margin-bottom: 2.25rem;
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    line-height: 1;
  }

  .subjects-inner p,
  .team-inner p,
  .academic-details p,
  .design-decisions-heading p,
  .works-inner p,
  .process-heading p {
    font-size: 1.05rem;
  }

  .works-inner h2 {
    margin-bottom: 2.5rem;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .work-cards {
    gap: 2.5rem;
  }

  .work-image {
    aspect-ratio: 1.1 / 1;
    border-radius: 12px;
  }

  .work-card-footer {
    align-items: flex-start;
  }

  .work-card h3 {
    font-size: 1.5rem;
  }

  .work-tags {
    justify-content: flex-start;
  }

  .work-tags span {
    font-size: 1rem;
  }

  .team-card {
    min-height: 190px;
    padding: 3.4rem 1.5rem 1.5rem;
  }

  .team-number {
    top: -3rem;
    right: 1rem;
    font-size: clamp(3.5rem, 21vw, 5rem);
  }

  .team-card h3 {
    font-size: clamp(1.5rem, 9vw, 2.5rem);
    text-align: center;
  }

  .team-card p {
    font-size: 1rem;
  }

  .academic-details {
    padding: 0;
  }

  .academic-grid {
    gap: 2.5rem;
  }

  .academic-group dl div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1rem 0;
  }

  .academic-group dd {
    overflow-wrap: anywhere;
  }

  .design-decisions {
    padding: 3.5rem 1.25rem;
  }

  .design-decisions-heading {
    margin-bottom: 2.5rem;
  }

  .decision-list div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1rem 0;
  }

  .decision-copy p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .process-layout {
    display: flex;
    flex-direction: column;
  }

  .process-media {
    width: 100%;
    height: 420px;
    min-height: 0;
    border-left: 0;
    border-bottom: 1px solid #d7cbc2;
  }

  .process-scroll {
    width: 100%;
    padding: 3.5rem 0 4rem;
  }

  .process-heading,
  .process-content {
    padding: 0 1.25rem;
  }

  .process-heading {
    margin-bottom: 2.5rem;
  }

  .process-heading h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
    line-height: 0.98;
  }

  .process-content {
    gap: 0;
  }

  .process-content article {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 2rem 0;
  }

  .process-content span {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .process-content h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .process-content p {
    grid-column: auto;
    font-size: 1rem;
    line-height: 1.7;
  }

  .subject-cards {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .subject-card,
  .subject-card.is-active {
    flex-basis: auto;
    height: auto;
    min-height: 92px;
    padding: 1.25rem;
  }

  .subject-card:not(.is-active) .subject-card-heading {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .subject-card-heading {
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .subject-card h3 {
    font-size: 1.55rem;
  }

  .subject-card:not(.is-active) h3 {
    font-size: 1.35rem;
  }

  .subject-card li {
    font-size: 0.96rem;
  }

  .team-cards {
    grid-template-columns: 1fr;
    gap: 5rem;
    margin-top: 2.5rem;
  }

  .site-footer {
    padding: 1.75rem 1.25rem;
  }

  .footer-note p {
    font-size: 0.74rem;
    line-height: 1.6;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero-title {
    font-size: clamp(2.55rem, 13vw, 3.2rem);
  }

  .hero-title > span:last-child {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .hero-label {
    max-width: 100%;
  }
}

