
:root {
  --paper: #f4e6cc;
  --paper-light: #fff7e8;
  --paper-dark: #e5cfad;
  --ink: #30251d;
  --brown: #68452f;
  --red: #b83227;
  --red-dark: #8e251e;
  --orange: #e58a3c;
  --yellow: #f2c66d;
  --line: rgba(75, 49, 32, .2);
  --shadow: 7px 8px 0 rgba(65, 42, 28, .18);
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", sans-serif;
  --comic: "Space Grotesk", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

button, a {
  font: inherit;
}

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

button {
  color: inherit;
}

.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--red);
}

.section-wrap,
.section-pad {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 110px;
}

.navbar {
  height: 82px;
  width: min(1160px, calc(100% - 48px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--comic);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 1px;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand small {
  font: 700 8px var(--body);
  letter-spacing: 1.5px;
  color: var(--brown);
}

.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-6deg);
  font-family: var(--display);
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 12px;
  font-weight: 800;
}

.nav-links a {
  transition: color .2s, transform .2s;
}

.nav-links a:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.nav-links .nav-quiz {
  padding: 12px 17px;
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--paper-light);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* HERO */
.hero {
  min-height: 760px;
  padding-top: 90px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  position: relative;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.eyebrow,
.section-kicker {
  font-family: var(--comic);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184, 50, 39, .13);
}

.hero h1 {
  font: 900 clamp(58px, 8vw, 105px)/.91 var(--display);
  letter-spacing: -5px;
  text-shadow: 3px 4px 0 rgba(85, 54, 34, .12);
}

.outlined {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.red-word {
  color: var(--red);
  text-shadow: 3px 4px 0 rgba(91, 35, 26, .2);
}

.hero-description {
  max-width: 430px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.9;
  color: #725b48;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 0 21px;
  border: 2px solid var(--ink);
  font-family: var(--comic);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.button-red {
  background: var(--red);
  color: white;
}

.text-link {
  font-size: 11px;
  font-weight: 800;
  border-bottom: 1px solid var(--brown);
  padding-bottom: 5px;
}

.text-link span {
  margin-left: 8px;
  color: var(--red);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 65px;
  color: #8a735d;
  font: 700 9px var(--comic);
  letter-spacing: 1.3px;
}

.note-line {
  width: 38px;
  height: 2px;
  background: var(--orange);
}

.hero-art {
  min-height: 510px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-sun {
  width: 370px;
  height: 370px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
  position: absolute;
  top: 50px;
  right: 20px;
  box-shadow: 9px 10px 0 rgba(65, 42, 28, .18);
}

.hero-photo-frame {
  width: 310px;
  height: 390px;
  position: relative;
  z-index: 2;
  background: #8a6749;
  border: 8px solid var(--paper-light);
  outline: 2px solid var(--ink);
  box-shadow: 10px 12px 0 var(--ink);
  transform: rotate(4deg);
  overflow: hidden;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.35) contrast(1.05);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 7px;
  background: rgba(39, 29, 22, .88);
  color: white;
  text-align: center;
  font: 700 9px var(--comic);
  letter-spacing: 1px;
}

.comic-stamp {
  position: absolute;
  z-index: 3;
  top: 30px;
  left: 5px;
  background: var(--red);
  color: white;
  padding: 13px 17px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font: 800 12px/1.4 var(--comic);
  text-align: center;
  transform: rotate(-9deg);
}

.hero-burst {
  position: absolute;
  z-index: 4;
  right: -5px;
  top: 65px;
  background: var(--yellow);
  color: var(--red-dark);
  padding: 19px 15px;
  clip-path: polygon(50% 0%, 61% 26%, 91% 8%, 80% 39%, 100% 52%, 77% 66%, 88% 95%, 57% 79%, 45% 100%, 35% 76%, 4% 89%, 19% 59%, 0 43%, 29% 34%, 19% 5%);
  font: 900 12px var(--comic);
  transform: rotate(12deg);
}

.flag-card {
  position: absolute;
  z-index: 4;
  bottom: 38px;
  left: 10px;
  width: 160px;
  height: 90px;
  overflow: hidden;
  background: transparent;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-4deg);
  perspective: 500px;
}

.flag-cloth {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: left center;
  animation: flagSway 3.8s ease-in-out infinite;
}

.flag-red,
.flag-white {
  width: 100%;
  height: 50%;
}

.flag-red {
  background: #d71920;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.flag-white {
  background: #fffdf8;
}

.flag-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.2) 25%, transparent 42%, rgba(0,0,0,.09) 65%, transparent 80%);
  background-size: 200% 100%;
  animation: flagLight 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flagSway {
  0%, 100% { transform: perspective(500px) rotateY(-5deg) skewY(1deg); }
  50% { transform: perspective(500px) rotateY(7deg) skewY(-1deg); }
}

@keyframes flagLight {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.hero-date {
  position: absolute;
  z-index: 4;
  bottom: 5px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: rotate(5deg);
}

.hero-date strong {
  font: 900 60px/.8 var(--display);
  color: var(--red);
}

.hero-date span {
  font: 800 10px/1.3 var(--comic);
  letter-spacing: 1px;
}

.comic-scribble {
  position: absolute;
  top: 10px;
  right: 70px;
  color: var(--red);
  font-size: 70px;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-bottom {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.school-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.school-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper-light);
  border-radius: 50%;
  overflow: hidden;
}

.school-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.school-logo.logo-fallback::after {
  content: "S";
  font: 800 20px var(--display);
  color: var(--red);
}

.school-identity > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.school-identity b {
  font: 800 10px var(--comic);
}

.school-identity small {
  color: #88715c;
  font-size: 9px;
  letter-spacing: 1px;
}

.hero-team {
  width: 250px;
  padding: 16px;
  background: rgba(255, 248, 235, .97);
  border: 1px solid #c8a77c;
  border-radius: 8px 18px 8px 15px;
  box-shadow: 5px 6px 0 rgba(101, 65, 46, .18);
  transform: rotate(-1deg);
}

.team-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.team-heading > span {
  width: fit-content;
  background: var(--red);
  color: white;
  padding: 4px 7px;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.team-heading b {
  font: 700 13px var(--display);
  color: var(--brown);
}

.team-heading small {
  color: #88715c;
  font-size: 8px;
  letter-spacing: .8px;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.team-list li {
  min-height: 29px;
  padding: 5px 9px;
  background: #f1e1c8;
  border-left: 3px solid var(--orange);
  color: #503522;
  border-radius: 3px 8px 3px 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.team-list li > b {
  flex: 1;
  font-size: 10px;
  font-weight: 800;
}

.member-number {
  color: #9a7959;
  font: 700 8px var(--display);
  letter-spacing: .5px;
}

.team-list .developer-chip {
  background: var(--red);
  color: white;
  border-left-color: var(--yellow);
}

.developer-chip .member-number {
  color: #ffe1b5;
}

.developer-chip strong {
  margin-left: auto;
  font-size: 8px;
  color: #fff0d5;
  letter-spacing: .4px;
  white-space: nowrap;
}

.hero-side-label {
  position: absolute;
  right: -38px;
  top: 45%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right;
  font: 700 8px var(--comic);
  letter-spacing: 2px;
  color: #9c8368;
}

/* SHARED HEADINGS */
.section-kicker {
  margin-bottom: 22px;
}

.section-title {
  font: 800 clamp(40px, 6vw, 68px)/1.06 var(--display);
  letter-spacing: -2px;
}

.section-title span {
  color: var(--red);
  font-style: italic;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 45px;
}

.section-heading-row > p {
  max-width: 290px;
  color: #806b56;
  font-size: 13px;
  line-height: 1.8;
}

/* INTRO */
.intro-section {
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 90px;
}

.intro-lead {
  max-width: 410px;
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.8;
  color: #725b48;
}

.intro-copy > p {
  margin-bottom: 17px;
  color: #66513f;
  font-size: 14px;
  line-height: 1.9;
}

.quote-card {
  margin-top: 30px;
  padding: 24px;
  background: var(--red);
  color: white;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  border: 2px solid var(--ink);
}

.quote-mark {
  font: 900 55px/.7 var(--display);
  color: var(--yellow);
}

.quote-card p {
  font: 700 19px/1.5 var(--display);
  margin: 12px 0 18px;
}

.quote-source {
  font: 700 8px var(--comic);
  letter-spacing: 1.5px;
  color: #f9d9b5;
}

/* CONTEXT */
.context-section {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1160px) / 2));
  background: #e8d5b8;
  border-block: 1px solid var(--line);
}

.context-heading {
  margin-bottom: 38px;
}

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

.context-card {
  min-height: 300px;
  padding: 26px;
  border: 2px solid var(--ink);
  box-shadow: 5px 6px 0 rgba(48, 37, 29, .2);
  position: relative;
  overflow: hidden;
  transition: transform .25s;
}

.context-card:hover {
  transform: translateY(-7px) rotate(-1deg);
}

.context-card-dark {
  background: #47372a;
  color: #fff1dc;
}

.context-card-red {
  background: var(--red);
  color: white;
  transform: translateY(18px);
}

.context-card-cream {
  background: #fff3dc;
}

.card-number {
  font: 700 10px var(--comic);
  opacity: .7;
}

.card-icon {
  font-size: 40px;
  margin: 30px 0 18px;
}

.context-card h3 {
  font: 700 25px var(--display);
  margin-bottom: 12px;
}

.context-card p {
  font-size: 12px;
  line-height: 1.8;
  opacity: .85;
}

.card-tag {
  position: absolute;
  bottom: 22px;
  left: 26px;
  font: 700 8px var(--comic);
  letter-spacing: 1.5px;
  opacity: .7;
}

/* TIMELINE */
.timeline-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 25px;
  align-items: stretch;
}

.timeline-years {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.year-button {
  padding: 15px 18px;
  text-align: left;
  border: 1px solid var(--line);
  background: transparent;
  font: 700 15px var(--comic);
  cursor: pointer;
  transition: .2s;
}

.year-button:hover,
.year-button.active {
  background: var(--red);
  color: white;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translateX(4px);
}

.timeline-detail {
  min-height: 320px;
  padding: 35px;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-detail-top,
.timeline-detail-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.timeline-label,
.timeline-detail-bottom {
  font: 700 9px var(--comic);
  letter-spacing: 1.5px;
  color: var(--red);
}

.timeline-big-year {
  font: 900 46px var(--display);
  color: #e7d4b8;
}

.timeline-detail h3 {
  font: 800 32px var(--display);
  margin: 22px 0 10px;
}

.timeline-detail > p {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.9;
  color: #715b48;
}

.timeline-detail-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 30px;
}

/* FIGURES */
.figures-section {
  background: #ead9bf;
  width: 100%;
  padding-inline: max(24px, calc((100% - 1160px) / 2));
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.figure-card {
  background: var(--paper-light);
  border: 2px solid var(--ink);
  box-shadow: 5px 6px 0 rgba(48, 37, 29, .16);
  transition: transform .25s;
}

.figure-card:hover {
  transform: translateY(-6px) rotate(.5deg);
}

.figure-featured {
  grid-row: span 2;
}

.figure-image {
  height: 220px;
  background: #b89a76;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.figure-featured .figure-image {
  height: 310px;
}

.figure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.3) contrast(1.05);
  transition: transform .4s;
}

.figure-card:hover .figure-image img {
  transform: scale(1.05);
}

.figure-index {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  background: var(--red);
  color: white;
  font: 700 8px var(--comic);
  letter-spacing: 1px;
}

.figure-info {
  padding: 20px;
}

.figure-role {
  color: var(--red);
  font: 700 8px var(--comic);
  letter-spacing: 1.5px;
}

.figure-info h3,
.figure-text-card h3 {
  font: 700 23px var(--display);
  margin: 8px 0;
}

.figure-info p,
.figure-text-card p {
  color: #78634e;
  font-size: 12px;
  line-height: 1.8;
}

.figure-text-card {
  padding: 25px;
  min-height: 220px;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

.text-card-symbol {
  font: 900 75px/.8 var(--display);
  color: rgba(184, 50, 39, .22);
  margin-bottom: 18px;
}

.text-card-note {
  display: block;
  margin-top: 25px;
  font: 700 8px var(--comic);
  letter-spacing: 1.3px;
  color: var(--red);
}

.archive-disclaimer,
.gallery-note {
  margin-top: 20px;
  font-size: 10px;
  color: #8a735d;
  line-height: 1.7;
}

.image-fallback {
  background:
    radial-gradient(circle at 50% 35%, #d6b58b 0 20%, transparent 21%),
    linear-gradient(135deg, #806147, #d1b28a);
  position: relative;
}

.image-fallback::after {
  content: "ARSIP FOTO";
  position: absolute;
  inset: auto 0 0;
  padding: 12px;
  text-align: center;
  background: rgba(48, 37, 29, .75);
  color: white;
  font: 700 10px var(--comic);
  letter-spacing: 2px;
}

/* IDEAS */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
}

.idea-panel {
  min-height: 420px;
  padding: 25px;
  border: 2px solid var(--ink);
  box-shadow: 5px 6px 0 rgba(48, 37, 29, .2);
  display: flex;
  flex-direction: column;
  transition: transform .25s;
}

.idea-panel:hover {
  transform: translateY(-7px) rotate(-1deg);
}

.idea-marhaen {
  background: #f1c87e;
}

.idea-self {
  background: #4d392b;
  color: #fff2dc;
  transform: translateY(18px);
}

.idea-non {
  background: var(--red);
  color: white;
}

.idea-top {
  display: flex;
  justify-content: space-between;
  font: 700 9px var(--comic);
  letter-spacing: 1px;
  opacity: .8;
}

.idea-illustration {
  font-size: 50px;
  margin: 40px 0 15px;
}

.idea-panel h3 {
  font: 800 31px var(--display);
  margin-bottom: 15px;
}

.idea-panel p {
  font-size: 12px;
  line-height: 1.9;
  opacity: .85;
}

.idea-bottom {
  margin-top: auto;
  padding-top: 25px;
  font: 700 8px var(--comic);
  letter-spacing: 1px;
}

/* TRIAL */
.trial-section {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 75px;
  align-items: center;
}

.trial-image {
  height: 440px;
  position: relative;
  border: 8px solid var(--paper-light);
  outline: 2px solid var(--ink);
  box-shadow: 9px 10px 0 var(--ink);
  background: #a58a69;
  transform: rotate(-2deg);
}

.trial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.3);
}

.trial-image > span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--red);
  color: white;
  padding: 9px 12px;
  font: 700 9px var(--comic);
  letter-spacing: 1px;
}

.trial-copy > p {
  margin-top: 20px;
  color: #715b48;
  font-size: 13px;
  line-height: 1.9;
}

.trial-quote {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  padding: 15px;
  background: #e8d5b8;
  border-left: 4px solid var(--red);
}

.trial-quote span {
  font: 900 27px var(--display);
  color: var(--red);
}

.trial-quote b {
  font: 700 9px var(--comic);
  letter-spacing: 1px;
}

/* GALLERY */
.gallery-section {
  width: 100%;
  background: #e8d5b8;
  padding-inline: max(24px, calc((100% - 1160px) / 2));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.gallery-item {
  height: 260px;
  position: relative;
  border: 2px solid var(--ink);
  background: #8d7051;
  box-shadow: 5px 6px 0 rgba(48, 37, 29, .2);
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
}

.gallery-large {
  height: 330px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.3);
  transition: transform .4s;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 17px 13px;
  color: white;
  background: linear-gradient(transparent, rgba(30, 22, 15, .9));
  font: 700 11px var(--comic);
}

.gallery-caption b {
  color: var(--yellow);
  margin-right: 8px;
}

/* ENDING */
.ending-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ending-section > p {
  max-width: 600px;
  margin: 25px auto;
  color: #78634e;
  font-size: 14px;
  line-height: 1.9;
}

.ending-stamp {
  width: 90px;
  height: 90px;
  margin: 0 auto 30px;
  display: grid;
  place-items: center;
  border: 3px double var(--red);
  border-radius: 50%;
  color: var(--red);
  font: 900 23px var(--display);
  transform: rotate(-12deg);
}

.ending-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 45px;
  color: var(--red);
  font: 700 9px var(--comic);
  letter-spacing: 2px;
}

.ending-line span {
  width: 40px;
  height: 1px;
  background: var(--orange);
}

/* QUIZ */
.quiz-section {
  width: 100%;
  background: #e8d5b8;
  padding-inline: max(24px, calc((100% - 1160px) / 2));
}

.quiz-card {
  max-width: 850px;
  margin: auto;
  padding: 40px;
  background: var(--paper-light);
  border: 2px solid var(--ink);
  box-shadow: 8px 9px 0 var(--ink);
}

.quiz-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quiz-heading h2 {
  font: 800 clamp(30px, 5vw, 46px)/1.1 var(--display);
}

.quiz-heading h2 span {
  color: var(--red);
  font-style: italic;
}

.quiz-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font: 900 38px var(--display);
  transform: rotate(8deg);
}

.quiz-progress-row {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  font: 700 9px var(--comic);
  letter-spacing: 1px;
  color: var(--red);
}

.quiz-progress {
  height: 7px;
  background: #e7d8c0;
  margin: 12px 0 28px;
  overflow: hidden;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--red);
  transition: width .3s;
}

.quiz-card h3 {
  font: 700 24px var(--display);
  margin-bottom: 20px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quiz-option {
  padding: 15px;
  text-align: left;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.quiz-option:hover:not(:disabled) {
  background: #f1e1c8;
  border-color: var(--ink);
}

.quiz-option.correct {
  background: #d9e7c7;
  border-color: #547344;
  color: #38522e;
}

.quiz-option.wrong {
  background: #f2d1c8;
  border-color: var(--red);
  color: var(--red-dark);
}

.quiz-option:disabled {
  cursor: default;
}

.quiz-feedback {
  min-height: 24px;
  margin-top: 15px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.quiz-next {
  margin-top: 15px;
}

.quiz-next:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.quiz-result {
  padding: 30px 0 5px;
  text-align: center;
}

.result-star {
  font-size: 60px;
  color: var(--orange);
}

.quiz-result h3 {
  font: 900 35px var(--display);
}

.quiz-result p {
  margin-bottom: 25px;
  color: #78634e;
  line-height: 1.8;
}

/* CLOSING */
.closing-section {
  min-height: 550px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background: var(--red);
  color: white;
  border-block: 3px solid var(--ink);
}

.closing-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.closing-label {
  font: 700 10px var(--comic);
  letter-spacing: 2px;
  color: #f4c68e;
}

.closing-inner h2 {
  margin-top: 25px;
  font: 900 clamp(48px, 8vw, 90px)/.95 var(--display);
  letter-spacing: -3px;
}

.closing-inner h2 span {
  color: var(--yellow);
  font-style: italic;
}

.closing-inner p {
  margin: 25px 0;
  color: #f6d8c1;
  font-size: 13px;
}

.button-cream {
  background: var(--paper-light);
  color: var(--ink);
}

.closing-decoration {
  position: absolute;
  right: 7%;
  top: 10%;
  color: rgba(255, 255, 255, .12);
  font-size: 320px;
  animation: spin 40s linear infinite;
}

/* FOOTER */
.footer {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.footer-top {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.footer-top > p {
  max-width: 320px;
  color: #806b56;
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

.footer-bottom {
  min-height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  color: #88715c;
  font-size: 9px;
  font-weight: 700;
}

.footer-creator {
  color: var(--red);
}

.footer-creator b {
  color: var(--ink);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  padding: 50px 20px;
  background: rgba(25, 19, 14, .94);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(900px, 95%);
  max-height: 75vh;
  object-fit: contain;
  border: 5px solid var(--paper-light);
  box-shadow: 6px 6px 0 var(--red);
}

.lightbox p {
  color: white;
  font-size: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: white;
  background: transparent;
  border: 0;
  font-size: 40px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 800px;
  }

  .hero h1 {
    font-size: clamp(52px, 8vw, 75px);
  }

  .hero-art {
    transform: scale(.85);
  }

  .hero-bottom {
    align-items: flex-end;
  }

  .hero-team {
    width: 235px;
  }

  .intro-grid {
    gap: 40px;
  }

  .trial-section {
    gap: 40px;
  }

  .figure-image {
    height: 180px;
  }

  .figure-featured .figure-image {
    height: 260px;
  }
}

@media (max-width: 680px) {
  .section-wrap,
  .section-pad,
  .navbar,
  .footer {
    width: min(100% - 36px, 520px);
  }

  .section-pad {
    padding-block: 75px;
  }

  .navbar {
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--paper-light);
    border: 1px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .nav-quiz {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 65px;
    padding-bottom: 30px;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(54px, 14vw, 76px);
    letter-spacing: -3px;
  }

  .hero-description {
    font-size: 13px;
    max-width: 390px;
  }

  .hero-note {
    margin-top: 30px;
  }

  .hero-art {
    min-height: 410px;
    margin-top: 20px;
    transform: scale(.88);
    transform-origin: center;
  }

  .hero-sun {
    width: 300px;
    height: 300px;
    right: 50%;
    transform: translateX(50%);
  }

  .hero-photo-frame {
    width: 250px;
    height: 315px;
  }

  .comic-stamp {
    left: 5%;
  }

  .hero-burst {
    right: 3%;
  }

  .flag-card {
    left: 2%;
    bottom: 10px;
  }

  .hero-date {
    right: 3%;
    bottom: 0;
  }

  .hero-bottom {
    position: relative;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin-top: -5px;
  }

  .hero-team {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

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

  .team-list li {
    padding: 7px 10px;
  }

  .hero-side-label {
    display: none;
  }

  .intro-grid,
  .trial-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section-title {
    font-size: clamp(39px, 10vw, 55px);
  }

  .intro-lead {
    font-size: 14px;
  }

  .context-section,
  .figures-section,
  .gallery-section,
  .quiz-section {
    padding-inline: 18px;
  }

  .context-cards,
  .ideas-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .context-card,
  .context-card-red,
  .idea-self {
    transform: none;
  }

  .context-card {
    min-height: 260px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .section-heading-row > p {
    max-width: 100%;
  }

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

  .timeline-years {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }

  .year-button {
    padding: 11px 3px;
    text-align: center;
    font-size: 11px;
  }

  .timeline-detail {
    min-height: 330px;
    padding: 23px;
  }

  .timeline-detail h3 {
    font-size: 26px;
  }

  .timeline-detail > p {
    font-size: 12px;
  }

  .figures-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }

  .figure-featured {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .figure-featured .figure-image {
    height: 300px;
  }

  .figure-image {
    height: 160px;
  }

  .figure-info {
    padding: 13px;
  }

  .figure-info h3,
  .figure-text-card h3 {
    font-size: 18px;
  }

  .figure-info p,
  .figure-text-card p {
    font-size: 10px;
  }

  .figure-text-card {
    min-height: 200px;
    padding: 15px;
  }

  .figure-text-card .text-card-symbol {
    font-size: 55px;
  }

  .idea-panel {
    min-height: 350px;
  }

  .trial-image {
    height: 310px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-large {
    grid-column: 1 / -1;
    height: 240px;
  }

  .gallery-item {
    height: 190px;
  }

  .quiz-card {
    padding: 23px 17px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-heading h2 {
    font-size: 31px;
  }

  .quiz-icon {
    width: 48px;
    height: 48px;
    font-size: 28px;
    flex-shrink: 0;
  }

  .closing-section {
    min-height: 470px;
  }

  .closing-inner h2 {
    font-size: clamp(47px, 12vw, 70px);
  }

  .closing-decoration {
    font-size: 180px;
    right: -10%;
    top: 25%;
  }

  .footer-top {
    padding-block: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top > p {
    text-align: left;
  }

  .footer-bottom {
    padding-block: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 50px;
  }

  .hero-art {
    transform: scale(.78);
    margin-inline: -20px;
  }

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

  .figure-featured {
    grid-column: auto;
  }

  .figure-image,
  .figure-featured .figure-image {
    height: 240px;
  }

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

  .gallery-large {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}