/* ==========================================================================
   SMK Mitra Industri 02 — Program Keahlian Animasi
   Palette is unchanged from the original site. Only the system is new.
   ========================================================================== */

:root {
  --dark: #050B18;
  --navy: #0D1F3C;
  --navy2: #162B50;
  --navy3: #1E3A6A;
  --blue: #2563B0;
  --blue2: #3B82D8;
  --sky: #60A8E8;
  --gold: #E8B320;
  --gold2: #F5C842;
  --cream: #F5F2EC;
  --offwhite: #FAFAF7;
  --muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.1);

  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.5);
  --surface: var(--navy);
  --surface-2: var(--navy2);
  --strip: #09152A;
  --cream-ink: #33415A;
  --cream-ink-2: #5A6680;

  --display: 'Outfit', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
  --nav-h: 76px;
  --pad-section: clamp(88px, 10vw, 140px);
}

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

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

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Layout ---------- */

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section {
  padding-block: var(--pad-section);
}

.section--dark {
  background: var(--dark);
}

.section--navy {
  background: var(--navy);
}

.section--cream {
  background: var(--cream);
  color: var(--navy);
}

section[id],
header[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* ---------- Type ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
}

h3 {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.12;
}

.lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}

.section--cream .lead {
  color: var(--cream-ink);
}

.section-head {
  margin-bottom: clamp(44px, 5vw, 72px);
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}

.section-head--split .lead {
  padding-bottom: 6px;
}

.program h2 {
  max-width: 24ch;
}

.program-heading .lead {
  margin-top: 20px;
  max-width: 60ch;
}

.about-head h2 {
  max-width: 20ch;
}

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}

.brand b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-3);
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--ink);
}

.nav-list a[aria-current='page'] {
  color: var(--ink);
}

.nav-list .nav-cta {
  margin-left: 14px;
}

.nav-list a.nav-cta {
  min-height: 48px;
  padding-inline: 18px;
  font-weight: 600;
  color: var(--navy);
}

.nav-list a.nav-cta:hover {
  color: var(--navy);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold2);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--navy {
  background: var(--navy);
  color: var(--ink);
}

.btn--navy:hover {
  background: var(--navy2);
}

.section--cream .btn--outline {
  border-color: rgba(13, 31, 60, 0.3);
  color: var(--navy);
}

.section--cream .btn--outline:hover {
  border-color: var(--navy);
  background: rgba(13, 31, 60, 0.05);
}

.btn--sm {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}

.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(5, 11, 24, 0.95) 0%,
      rgba(5, 11, 24, 0.82) 42%,
      rgba(5, 11, 24, 0.4) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding-block: 140px 48px;
}

.hero h1 {
  max-width: 15ch;
}

.hero-sub {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-stats {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 7vh, 80px);
}

.hero-stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--strip);
  overflow: hidden;
  padding-block: 15px;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 52s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-inline: 22px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.56);
  white-space: nowrap;
}

.ticker-item::after {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  flex-shrink: 0;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Program ---------- */

.program-list {
  display: grid;
  gap: 12px;
}

.bento-card {
  background: var(--navy2);
  padding: 24px 32px;
  cursor: pointer;
  transition: background 0.25s;
}

.bento-card:hover,
.bento-card.active {
  background: var(--navy3);
}

.program-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.program-kind {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}

.program-toggle {
  justify-self: end;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  transition: background 0.25s, border-color 0.25s;
}

.program-toggle::before,
.program-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.3s, background 0.25s;
}

.program-toggle::before {
  width: 16px;
  height: 2px;
}

.program-toggle::after {
  width: 2px;
  height: 16px;
}

.bento-card.active .program-toggle {
  background: var(--gold);
  border-color: var(--gold);
}

.bento-card.active .program-toggle::before,
.bento-card.active .program-toggle::after {
  background: var(--navy);
}

.bento-card.active .program-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.bento-desc {
  display: none;
}

.bento-card.active .bento-desc {
  display: block;
}

.bento-desc-inner {
  overflow: hidden;
}

.bento-desc p {
  max-width: 70ch;
  padding-top: 22px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}

.program-link::after {
  content: '→';
  transition: transform 0.2s;
}

.program-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Works ---------- */

.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.works-head h2 {
  max-width: 14ch;
}

.works-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 6px;
}

.works-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  min-height: 48px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--ink);
}

.filter-btn.active {
  background: var(--gold);
  border-color: transparent;
  color: var(--navy);
  font-weight: 600;
}

.action-sq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.action-sq-btn:hover {
  background: rgba(232, 179, 32, 0.1);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
}

.work-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.work-card--featured .work-info {
  padding-top: 0;
}

.work-card--featured .work-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.work-card--featured .work-desc {
  font-size: 16px;
  max-width: 40ch;
}

.work-card {
  position: relative;
  cursor: pointer;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy2);
}

.work-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-card:hover .work-thumb-bg {
  transform: scale(1.04);
}

.work-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 11, 24, 0.24);
  opacity: 0;
  transition: opacity 0.25s;
}

.work-card:hover .work-play-overlay,
.work-card:focus-visible .work-play-overlay {
  opacity: 1;
}

.play-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--navy);
  margin-left: 3px;
}

.work-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 4px 8px;
  background: rgba(5, 11, 24, 0.85);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.work-info {
  padding-top: 18px;
}

.work-title {
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}

.work-card:hover .work-title {
  color: var(--gold);
}

.work-desc {
  margin-top: 8px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.works-foot {
  margin-top: clamp(36px, 4vw, 52px);
  display: flex;
  justify-content: flex-start;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- About ---------- */

.about-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.about-head h2 {
  max-width: 15ch;
}

.about-quote {
  font-family: var(--display);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 28ch;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.about-copy {
  order: 1;
}

.about-media {
  order: 2;
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-id {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  background: var(--navy);
  color: var(--ink);
  padding: 26px 30px;
}

.about-id strong {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold);
}

.about-id span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  text-align: right;
  max-width: 18ch;
}

.about-copy p {
  max-width: 58ch;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--cream-ink);
}

.about-stats {
  display: flex;
  gap: 56px;
  margin: 36px 0;
}

.about-stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 3.1vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.about-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cream-ink-2);
}

/* ---------- News ---------- */

.news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.news-head h2 {
  max-width: 15ch;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.news-card:hover .news-title {
  color: var(--gold);
}

.news-card:hover .news-thumb {
  transform: scale(1.02);
}

.news-thumb {
  height: 176px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 0 0;
}

.news-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  margin-bottom: 14px;
}

.news-title {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}

.news-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.contact h2 {
  max-width: 12ch;
}

.contact .lead {
  margin-top: 18px;
  max-width: 50ch;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 4px;
  align-self: flex-start;
}

.contact-side {
  padding-top: 0;
}

.contact-label {
  display: block;
  margin-bottom: 26px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gold);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-line span {
  display: block;
  margin-bottom: 3px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.contact-line a,
.contact-line p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.contact-line a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.socials a:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
}

.socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* ---------- Footer ---------- */

.site-foot {
  background: var(--dark);
  min-height: 100vh;
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
}

.site-foot--compact {
  min-height: 0;
}

.site-foot > .wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.foot-close {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: 32px 16px;
}

.foot-close-line {
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.foot-mark {
  font-family: var(--display);
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--gold);
  white-space: nowrap;
  padding-block: 16px 0;
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(140px, 0.7fr));
  gap: 48px;
  padding-bottom: 48px;
}

.foot-brand .brand img {
  width: 46px;
  height: 46px;
}

.foot-brand .brand b {
  font-size: 16px;
}

.foot-line {
  margin: 26px 0 16px;
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.foot-brand p {
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

.footer-links h4 {
  margin-bottom: 18px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gold);
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a,
.footer-links span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.footer-links a:hover {
  color: var(--ink);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px;
  font-size: 13px;
  color: var(--ink-3);
}

.foot-bottom span {
  color: var(--gold);
}

/* ---------- Subpages ---------- */

.page-hero {
  position: relative;
  min-height: min(64vh, 620px);
  display: flex;
  align-items: flex-end;
  padding-block: 112px 56px;
  overflow: hidden;
  background: var(--navy);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(5, 11, 24, 0.94) 0%,
      rgba(5, 11, 24, 0.72) 55%,
      rgba(5, 11, 24, 0.4) 100%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

.crumb:hover {
  color: var(--gold2);
}

.page-hero h1 {
  font-size: clamp(44px, 5.6vw, 76px);
  max-width: 16ch;
}

.page-hero p {
  margin-top: 20px;
  max-width: 54ch;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
}

.page-hero--type {
  min-height: 540px;
  background: var(--navy);
}

.page-hero--type::after {
  display: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 64px;
  align-items: end;
}

.passport {
  background: var(--navy2);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.passport-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.passport-top b {
  color: var(--gold);
  letter-spacing: 0;
  font-size: 14px;
}

.passport-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.passport-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.passport-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.passport-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: var(--ink-2);
}

.passport-list li span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-body {
  padding-block: clamp(72px, 8vw, 112px) var(--pad-section);
}

.content-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.content-section + .content-section {
  margin-top: clamp(56px, 7vw, 96px);
}

.content-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  max-width: 13ch;
}

.prose p {
  max-width: 68ch;
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}

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

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose em {
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
}

.step h3,
.info-item h3 {
  font-size: clamp(20px, 1.7vw, 23px);
  margin-bottom: 10px;
}

.step p,
.info-item p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 46ch;
}

ol.steps {
  counter-reset: step;
  list-style: none;
}

ol.steps .step {
  position: relative;
  padding-top: 38px;
}

ol.steps .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-cta {
  background: var(--navy2);
  padding-block: clamp(48px, 6vw, 72px);
}

.page-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.page-cta h2 {
  font-size: clamp(26px, 3vw, 40px);
  max-width: 17ch;
}

/* ---------- Section rhythm ---------- */

#program {
  min-height: 100vh;
  padding-block: 82px;
  display: flex;
  align-items: center;
}

#student-works {
  min-height: 200vh;
  padding-block: 88px;
}

#about {
  min-height: 100vh;
  padding-block: 88px;
  display: flex;
  align-items: center;
}

#news {
  min-height: 100vh;
  padding-block: 96px;
  display: flex;
  align-items: center;
}

#contact {
  min-height: 100vh;
  padding-block: 96px;
  display: flex;
  align-items: center;
}

/* ---------- Modals (video + admin) ---------- */

.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 11, 24, 0.9);
}

.video-modal-overlay.active {
  display: flex;
}

.video-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: var(--dark);
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 18px;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.admin-modal {
  max-width: 440px;
  aspect-ratio: auto;
  padding: 28px;
  background: var(--cream);
  color: var(--navy);
}

.admin-modal h3 {
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.admin-modal label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.admin-modal input,
.admin-modal select,
.admin-modal textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(13, 31, 60, 0.22);
  border-radius: 0;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
}

.admin-modal textarea {
  resize: vertical;
}

.admin-modal .btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.admin-modal .btn--muted {
  border-color: rgba(13, 31, 60, 0.24);
  background: transparent;
  color: var(--navy);
}

.admin-modal .btn--navy {
  background: var(--navy);
  color: #fff;
}

.admin-login {
  max-width: 380px;
  aspect-ratio: auto;
  padding: 32px 28px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.admin-login h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
}

.admin-login p {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-3);
}

.admin-login input {
  width: 100%;
  margin-bottom: 20px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.2);
  font-size: 15px;
  text-align: center;
}

.admin-login input:focus {
  border-color: var(--gold);
  outline: none;
}

.admin-login .stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-login .btn--ghost {
  background: transparent;
  color: var(--ink-3);
}

.admin-login .btn--ghost:hover {
  color: #fff;
}

.delete-work-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #D32F2F;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

body.admin-mode-active [contenteditable='true'] {
  outline: 2px dashed rgba(232, 179, 32, 0.8);
  outline-offset: 4px;
}

body.admin-mode-active img,
body.admin-mode-active .news-thumb,
body.admin-mode-active .work-thumb-bg,
body.admin-mode-active .page-hero-media {
  cursor: pointer;
  outline: 3px dashed var(--sky);
  outline-offset: -3px;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero-sub,
  .hero-actions,
  .hero-stats {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-sub {
    animation-delay: 0.08s;
  }

  .hero-actions {
    animation-delay: 0.16s;
  }

  .hero-stats {
    animation-delay: 0.24s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {

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

  .ticker-track {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .brand small {
    display: none;
  }

  .bento-desc p,
  .bento-desc .btn {
    padding-left: 0;
    margin-left: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 24px;
    --nav-h: 64px;
  }

  body {
    font-size: 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand b {
    font-size: 14px;
  }

  .menu-btn {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    z-index: 190;
    width: min(360px, 100%);
    padding: 18px 24px 32px;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    overflow-y: auto;
  }

  body.menu-open .nav-list {
    transform: none;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-list a {
    height: 54px;
    padding-inline: 4px;
    font-size: 17px;
  }

  .nav-list .nav-cta {
    margin: 20px 0 0;
    justify-content: center;
  }

  .hero .wrap {
    padding-block: 120px 40px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .work-card--featured {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-card--featured .work-info {
    padding-top: 18px;
  }

  .work-card--featured .work-title {
    font-size: clamp(26px, 4vw, 34px);
  }

  .section-head--split,
  .about-head,
  .about-grid,
  .contact-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-quote {
    max-width: 34ch;
  }

  .about-grid {
    gap: 40px;
  }

  .works-grid {
    gap: 36px 24px;
  }

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

  .news-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .bento-desc p,
  .bento-desc .btn {
    padding-left: 0;
    margin-left: 0;
  }

  .page-hero {
    min-height: 480px;
  }

  .page-hero--type {
    min-height: 0;
  }

  .passport {
    max-width: 420px;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .content-section h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .program-head {
    gap: 16px;
  }

  .program-head h3 {
    font-size: 24px;
  }

  .bento-card {
    padding: 22px 22px 24px;
  }

  .bento-desc p {
    font-size: 15.5px;
  }

  .hero-stats {
    gap: 36px;
    margin-top: 44px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .work-title {
    font-size: 20px;
  }

  .works-tools {
    width: 100%;
  }

  .works-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .works-filter .filter-btn {
    width: 100%;
  }

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

  .news-card:last-child {
    grid-column: auto;
  }

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

  .field--wide {
    grid-column: auto;
  }

  .contact-form {
    margin-top: 32px;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .foot-top .footer-links:nth-child(2) {
    display: none;
  }

  .foot-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 420px;
    padding-block: 96px 40px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .page-cta .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .passport {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: calc(100svh - var(--nav-h));
  }

  .hero h1 {
    font-size: clamp(38px, 10.2vw, 52px);
    max-width: 11ch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section-head h2,
  .works-head h2,
  .news-head h2,
  .about-head h2 {
    max-width: 14ch;
  }

  .page-hero {
    padding-top: 88px;
  }

  .content-section {
    gap: 22px;
  }

  .steps {
    gap: 28px;
  }
}
