:root {
  --ink: #173044;
  --muted: #617384;
  --paper: #fffdf7;
  --sky: #75d4f4;
  --mint: #62d9cc;
  --mint-dark: #117d80;
  --pink: #ff7fae;
  --pink-dark: #d94d83;
  --cream: #fff5df;
  --line: rgba(23, 48, 68, .14);
  --shadow: 0 24px 60px rgba(36, 93, 118, .15);
  --radius: 24px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  transition: color .8s ease, background .8s ease;
}
body.is-locked { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}
em { color: var(--pink-dark); font-style: normal; }

/* Entry */
.entry {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #daf6ff;
  transition: opacity .8s ease, visibility .8s ease;
}
.entry.is-leaving { opacity: 0; visibility: hidden; }
.entry__image {
  position: absolute;
  inset: 0;
  background: url("assets/hero-hq.png") 50% 50% / cover no-repeat;
  transform: scale(1.005);
  animation: entry-drift 12s ease-in-out infinite alternate;
}
.entry__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 27%, rgba(255,255,255,.12) 58%, rgba(255,255,255,0) 100%);
}
.entry__content {
  position: relative;
  width: min(1240px, calc(100% - 80px));
  padding-right: 55%;
}
.title-lockup { margin: 0; line-height: .94; letter-spacing: -.07em; }
.title-lockup span { display: block; font-size: clamp(42px, 5vw, 76px); font-weight: 500; }
.title-lockup strong { display: block; margin-top: 8px; color: var(--pink-dark); font-size: clamp(66px, 7.3vw, 116px); font-weight: 950; text-shadow: 4px 4px 0 #fff; }
.entry__copy { margin: 30px 0 26px; color: #4b6172; font-size: 17px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 260px;
  padding: 17px 20px 17px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ef5e98);
  box-shadow: 0 14px 35px rgba(220, 74, 133, .3);
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.primary-button i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--pink-dark); background: #fff; font-style: normal; }
.primary-button:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 20px 40px rgba(220, 74, 133, .38); }
.entry__sound {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 8px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
}
.sound-bars { display: flex; align-items: end; gap: 2px; height: 14px; }
.sound-bars i { width: 2px; height: 7px; background: currentColor; animation: sound 1s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { height: 13px; animation-delay: -.35s; }
.sound-bars i:nth-child(3) { height: 9px; animation-delay: -.7s; }
[aria-pressed="false"] .sound-bars i { animation-play-state: paused; height: 3px; }
.entry__hint { position: absolute; right: 24px; bottom: 18px; margin: 0; color: rgba(23,48,68,.64); font-size: 11px; letter-spacing: .08em; }
.entry__summer-mark { position: absolute; top: 7vh; right: 5vw; z-index: 2; display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 10px; padding: 13px 17px; border: 1px solid rgba(23,48,68,.22); color: var(--ink); background: rgba(255,255,255,.65); box-shadow: 8px 8px 0 rgba(98,217,204,.38); backdrop-filter: blur(10px); transform: rotate(2deg); }
.entry__summer-mark span { grid-column: 1 / -1; font-size: 9px; font-weight: 900; letter-spacing: .22em; }
.entry__summer-mark strong { font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.entry__summer-mark i { color: var(--pink-dark); font-size: 25px; font-style: normal; font-weight: 950; line-height: 1; }
.entry__polaroids { position: absolute; left: 51%; bottom: 4vh; z-index: 2; display: flex; gap: 10px; color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.entry__polaroids span { padding: 7px 10px; background: rgba(23,48,68,.72); box-shadow: 0 8px 20px rgba(23,48,68,.12); backdrop-filter: blur(6px); transform: rotate(-2deg); }
.entry__polaroids span:nth-child(2) { color: var(--ink); background: rgba(255,255,255,.82); transform: translateY(-7px) rotate(1deg); }
.entry__polaroids span:nth-child(3) { background: rgba(217,77,131,.82); transform: rotate(3deg); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(255,253,247,.88); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand strong { color: var(--pink-dark); font-size: 21px; letter-spacing: -.04em; }
.brand span { font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 800; }
.site-nav a, .site-nav button { position: relative; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
.site-nav a::after, .site-nav button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--pink); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav button:hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 12px; font-weight: 900; }

/* Hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: #e9faff; }
.hero__backdrop { position: absolute; inset: 0; background: url("assets/backgrounds/campus-day.webp") center / cover no-repeat; }
.hero__gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240,252,255,.98) 0%, rgba(240,252,255,.88) 39%, rgba(240,252,255,.18) 72%, rgba(240,252,255,.36)); }
.hero__copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(32px, calc((100vw - var(--max)) / 2));
  width: min(520px, 44vw);
  transform: translateY(-48%);
}
.hero__copy h2 { margin: 0; font-size: clamp(46px, 5.6vw, 82px); line-height: 1.08; letter-spacing: -.075em; }
.hero__copy > p:not(.eyebrow) { max-width: 490px; margin: 26px 0; color: #516b7a; font-size: 17px; }
.down-link { display: inline-flex; align-items: center; gap: 30px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-weight: 900; }
.hero__choa {
  position: absolute;
  z-index: 3;
  right: max(30px, calc((100vw - var(--max)) / 2));
  bottom: 7vh;
  width: min(470px, 37vw);
  padding: 0;
  border: 12px solid #fff;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: rotate(2deg);
  transition: transform .24s ease;
}
.hero__choa::after { content: "CHOA · DAY 01"; position: absolute; right: 10px; bottom: 7px; padding: 4px 8px; color: #fff; background: rgba(23,48,68,.75); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.hero__choa:hover { transform: rotate(0) translateY(-7px); }
.hero__choa.is-boing { animation: boing .48s ease; }
.hero__bubble {
  position: absolute;
  z-index: 2;
  left: -34px;
  top: -62px;
  width: max-content;
  max-width: min(400px, 80vw);
  padding: 13px 18px;
  border: 2px solid var(--pink);
  border-radius: 18px 18px 4px 18px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(74,95,111,.18);
  font-size: 14px;
  font-weight: 800;
  transform: rotate(-2deg);
}
.hero__bubble::after { content: ""; position: absolute; right: 26px; bottom: -12px; width: 18px; height: 18px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); background: #fff; transform: rotate(45deg); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 900; letter-spacing: .16em; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 42px; background: var(--ink); animation: scroll 1.8s ease-in-out infinite; }

/* Sections */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 130px 28px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.12; letter-spacing: -.07em; }
.section-heading h2, .condition__panel h2, .prologue__copy h2, .finale h2 { word-break: keep-all; overflow-wrap: normal; }
.section-heading--wide { max-width: 760px; }
.section-heading--wide > p:last-child { max-width: 590px; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.profile { display: grid; grid-template-columns: .85fr 1fr 1.05fr; gap: 58px; align-items: center; }
.profile .section-heading h2 { font-size: clamp(38px, 3.8vw, 54px); }
.profile .section-heading h2 span, .profile .section-heading h2 em { display: block; white-space: nowrap; }
.profile__photo { position: relative; padding: 12px 12px 62px; background: #fff; box-shadow: var(--shadow); transform: rotate(-2deg); }
.profile__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profile__photo p { position: absolute; left: 20px; right: 20px; bottom: 13px; margin: 0; color: #405867; font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; font-size: 14px; font-weight: 750; line-height: 1.55; text-align: center; word-break: keep-all; }
.photo-tape { position: absolute; z-index: 2; top: -13px; left: 50%; width: 95px; height: 28px; background: rgba(255,226,136,.75); transform: translateX(-50%) rotate(3deg); }
.profile__lead { margin: 0 0 26px; font-size: 20px; font-weight: 750; line-height: 1.7; word-break: keep-all; overflow-wrap: normal; }
.profile dl { margin: 0; }
.profile dl div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.profile dt { color: var(--pink-dark); font-weight: 900; }
.profile dd { margin: 0; color: var(--muted); }
.profile blockquote { margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--mint); background: #effcf9; font-size: 17px; font-weight: 900; word-break: keep-all; overflow-wrap: normal; }

.condition { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); gap: 70px; padding-inline: max(28px, calc((100vw - var(--max)) / 2)); background: #eafbf8; }
.condition__panel h2 { margin: 0; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.15; letter-spacing: -.065em; }
.condition__panel > p { max-width: 680px; color: var(--muted); }
.condition__panel ul { display: grid; gap: 10px; margin: 28px 0; padding: 0; list-style: none; }
.condition__panel li { position: relative; padding-left: 28px; font-weight: 750; }
.condition__panel li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-dark); font-weight: 950; }
.condition__aside { padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.8); font-size: 14px; }
.thermometer { align-self: center; overflow: hidden; border: 1px solid rgba(17,125,128,.18); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.thermometer__sky { position: relative; height: 150px; overflow: hidden; background: linear-gradient(#65cef7, #daf6ff); }
.sun { position: absolute; z-index: 3; top: 28px; right: 56px; width: 68px; height: 68px; padding: 0; border: 0; border-radius: 50%; background: #fff4a8; box-shadow: 0 0 0 18px rgba(255,244,168,.22), 0 0 42px #fff4a8; cursor: pointer; scroll-margin-top: 120px; opacity: 1; transform: translate(var(--sun-x, 0), var(--sun-y, 0)); transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .55s ease, background .8s ease, box-shadow .8s ease; }
.sun:hover { box-shadow: 0 0 0 24px rgba(255,244,168,.19), 0 0 50px #fff4a8; }
.sun:focus-visible { outline: 3px solid var(--pink-dark); outline-offset: 8px; }
.sun.is-gone { opacity: 0; pointer-events: none; transform: translate(-260px, 115px) scale(.25); }
.day-reset { position: absolute; z-index: 5; top: 18px; right: 18px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(8,20,47,.72); box-shadow: 0 8px 22px rgba(0,0,0,.22); font-size: 11px; font-weight: 900; cursor: pointer; backdrop-filter: blur(8px); transition: transform .2s ease, background .2s ease; }
.day-reset:hover { background: #d94d83; transform: translateY(-2px); }
.cloud { position: absolute; left: 55px; bottom: 32px; width: 110px; height: 34px; border-radius: 30px; background: #fff; box-shadow: 28px -20px 0 5px #fff, 62px -7px 0 2px #fff; pointer-events: none; }
.thermometer__readout { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 20px; padding: 24px 28px 12px; }
.thermometer__readout span { color: var(--muted); font-size: 13px; font-weight: 850; }
.thermometer__readout strong { grid-row: span 2; font-size: 42px; line-height: 1; }
.thermometer__readout small { color: var(--mint-dark); font-weight: 900; }
.temp-track { height: 8px; margin: 8px 28px 20px; overflow: hidden; border-radius: 9px; background: #e8eef0; }
.temp-track i { display: block; width: 18%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #ffdb71, #ff657a); transition: width .4s ease; }
.temp-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 22px; }
.temp-actions button { padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; font-weight: 850; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.temp-actions button:hover { border-color: var(--pink); transform: translateY(-3px); }
.thermometer > p { min-height: 48px; margin: 18px 22px 22px; padding: 13px 16px; border-radius: 12px; color: #48606d; background: var(--cream); font-size: 13px; font-weight: 800; }

/* Bucket */
.bucket__progress { display: flex; align-items: center; gap: 24px; margin: 38px 0 28px; }
.bucket__progress span { min-width: 144px; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.bucket__progress span strong { color: var(--pink-dark); font-size: 24px; }
.bucket__progress > i { flex: 1; height: 8px; overflow: hidden; border-radius: 8px; background: #e8edef; }
.bucket__progress b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--mint), var(--pink)); transition: width .4s ease; }
.bucket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bucket-card { position: relative; min-height: 300px; overflow: hidden; padding: 0; border: 0; border-radius: 18px; color: #fff; background: #173044; text-align: left; box-shadow: 0 16px 32px rgba(34,73,92,.14); transition: transform .25s ease, box-shadow .25s ease, background .8s ease; }
.bucket-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 22px 38px rgba(34,73,92,.22); }
.bucket-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .45s ease, filter .35s ease; }
.bucket-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(9,31,45,.9)); }
.bucket-card:hover img { transform: scale(1.055); }
.bucket-card > span, .bucket-card > strong, .bucket-card > small { position: absolute; z-index: 2; left: 20px; right: 20px; }
.bucket-card > span { top: 18px; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.bucket-card > strong { bottom: 49px; font-size: 18px; }
.bucket-card > small { bottom: 24px; color: rgba(255,255,255,.74); }

/* Album */
.album { max-width: none; padding-inline: max(28px, calc((100vw - var(--max)) / 2)); background: #f8f1e4; }
.album-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 38px 0 30px; }
.album-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.album-filters button { padding: 10px 14px; border: 1px solid rgba(23,48,68,.13); border-radius: 999px; background: rgba(255,255,255,.65); font-size: 12px; font-weight: 850; cursor: pointer; transition: background .2s ease, transform .2s ease, color .2s ease; }
.album-filters button span { margin-left: 4px; color: var(--muted); font-size: 10px; }
.album-filters button:hover { transform: translateY(-2px); }
.album-filters button.is-active { color: #fff; border-color: var(--pink-dark); background: var(--pink-dark); }
.album-filters button.is-active span { color: rgba(255,255,255,.7); }
.album-toolbar > p { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.album-toolbar > p strong { color: var(--pink-dark); font-size: 18px; }
.album-mode { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--mint-dark); background: rgba(255,255,255,.72); font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.photo-card {
  position: relative;
  padding: 10px 10px 19px;
  border: 0;
  background: #fff;
  box-shadow: 0 12px 26px rgba(77,72,61,.13);
  text-align: left;
  cursor: pointer;
  transform: rotate(var(--turn, -1deg));
  transition: transform .25s ease, box-shadow .25s ease;
}
.photo-card:nth-child(3n) { --turn: 1.2deg; }
.photo-card:nth-child(4n) { --turn: -.3deg; }
.photo-card:hover { z-index: 2; transform: translateY(-8px) rotate(0); box-shadow: 0 20px 34px rgba(77,72,61,.22); }
.photo-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #dcebed; }
.photo-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card__image span { position: absolute; top: 8px; left: 8px; padding: 4px 7px; color: #fff; background: rgba(23,48,68,.72); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.photo-card h3 { margin: 13px 5px 5px; font-size: 15px; }
.photo-card p { position: relative; min-height: 62px; margin: 9px 4px 1px; padding: 11px 12px; border: 1px solid rgba(217,77,131,.34); border-radius: 14px 14px 4px 14px; color: #425766; background: #fffafb; font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; font-size: 12.5px; font-weight: 650; line-height: 1.55; word-break: keep-all; }
.photo-card p::after { content: ""; position: absolute; right: 15px; bottom: -6px; width: 10px; height: 10px; border-right: 1px solid rgba(217,77,131,.34); border-bottom: 1px solid rgba(217,77,131,.34); background: #fffafb; transform: rotate(45deg); }
.photo-card::before { content: ""; position: absolute; z-index: 3; top: -8px; left: 50%; width: 66px; height: 20px; background: rgba(255,224,132,.63); transform: translateX(-50%) rotate(2deg); }
.load-more { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 55px auto 0; padding: 15px 23px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 900; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.load-more:hover { color: #fff; background: var(--ink); transform: translateY(-3px); }
.album-pager { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 54px; }
.album-pager button { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 32px; line-height: 1; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.album-pager button:hover:not(:disabled) { color: #fff; background: var(--ink); transform: translateY(-4px) scale(1.04); }
.album-pager button:disabled { opacity: .25; cursor: default; }
.album-pager strong { min-width: 62px; text-align: center; font-size: 13px; letter-spacing: .1em; }
.gallery-cta { display:flex; justify-content:center; margin-top:48px; }
.gallery-cta a { display:inline-flex; align-items:center; gap:18px; padding:15px 22px; border:1px solid var(--ink); border-radius:999px; font-size:13px; font-weight:900; transition:color .2s ease,background .2s ease,transform .2s ease; }
.gallery-cta a:hover { color:#fff; background:var(--ink); transform:translateY(-3px); }

/* Prologue + finale */
.prologue { display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.prologue__image { min-height: 560px; border-radius: var(--radius); background: linear-gradient(0deg, rgba(8,31,50,.2), transparent), url("assets/backgrounds/street-day.webp") center / cover; box-shadow: var(--shadow); }
.prologue__copy h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.12; letter-spacing: -.07em; }
.prologue__copy > p:not(.eyebrow) { margin: 25px 0; color: var(--muted); }
.primary-button--dark { background: var(--ink); box-shadow: 0 14px 35px rgba(23,48,68,.22); }
.primary-button--dark i { color: var(--ink); }
.finale { position: relative; display: grid; min-height: 78vh; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.finale__backdrop { position: absolute; inset: 0; background: linear-gradient(rgba(8,27,55,.28), rgba(8,27,55,.76)), url("assets/backgrounds/festival-night.webp") center / cover; }
.finale__copy { position: relative; z-index: 1; padding: 40px; }
.finale .eyebrow { color: #9bece4; }
.finale h2 { margin: 0 0 30px; font-size: clamp(44px, 6vw, 84px); line-height: 1.12; letter-spacing: -.065em; }
.finale a { display: inline-flex; gap: 24px; padding-bottom: 7px; border-bottom: 1px solid #fff; font-weight: 900; }
.finale__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 36px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; min-height: 150px; padding: 30px max(28px, calc((100vw - var(--max)) / 2)); background: #122b3d; color: #fff; }
.site-footer p { display: flex; flex-direction: column; margin: 0; }
.site-footer p span { color: rgba(255,255,255,.55); font-size: 11px; }
.site-footer a, .site-footer button { padding: 8px 0; border: 0; color: inherit; background: transparent; font-size: 11px; font-weight: 900; letter-spacing: .12em; cursor: pointer; }

.audio-control { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid rgba(23,48,68,.16); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 8px 25px rgba(23,48,68,.15); backdrop-filter: blur(12px); cursor: pointer; }
.audio-control b { font-size: 10px; letter-spacing: .1em; }

/* Dialogs */
dialog { padding: 0; border: 0; }
dialog::backdrop { background: rgba(7,20,31,.84); backdrop-filter: blur(8px); }
.photo-modal { width: min(1120px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow: visible; border-radius: 20px; background: #fffdf7; box-shadow: 0 40px 100px rgba(0,0,0,.34); }
.photo-modal figure { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); margin: 0; }
.photo-modal__image { position: relative; display: grid; min-height: 520px; place-items: center; padding: 18px; border: 0; color: inherit; background: #e8f6f5; cursor: pointer; }
.photo-modal__image img { width: 100%; max-height: calc(100vh - 84px); object-fit: contain; box-shadow: 0 14px 34px rgba(24,60,75,.14); }
.photo-modal__image.is-boing img { animation: photo-boing .46s ease; }
.photo-modal__talk { position: absolute; z-index: 3; left: 50%; bottom: 30px; width: max-content; max-width: calc(100% - 56px); padding: 13px 17px; border: 2px solid var(--pink); border-radius: 18px 18px 5px 18px; color: #253d4d; background: rgba(255,255,255,.96); box-shadow: 0 12px 28px rgba(21,48,64,.2); font-size: 14px; font-weight: 850; line-height: 1.55; text-align: left; word-break: keep-all; transform: translateX(-50%); }
.photo-modal__talk::after { content: ""; position: absolute; right: 24px; bottom: -10px; width: 15px; height: 15px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); background: #fff; transform: rotate(45deg); }
.photo-modal figcaption { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
.photo-modal figcaption > p { color: var(--mint-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.photo-modal h2 { margin: 6px 0 26px; font-size: 38px; letter-spacing: -.05em; }
.photo-modal blockquote { position: relative; margin: 0; padding: 22px; border: 2px solid var(--pink); border-radius: 20px 20px 4px 20px; background: #fff; font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.75; word-break: keep-all; }
.photo-modal blockquote::after { content: ""; position: absolute; right: 22px; bottom: -11px; width: 17px; height: 17px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); background: #fff; transform: rotate(45deg); }
.modal-close, .webtoon-modal header button { position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.modal-arrow { position: absolute; z-index: 4; top: 50%; display: grid; width: 48px; height: 64px; place-items: center; border: 0; color: #fff; background: var(--pink-dark); font-size: 36px; cursor: pointer; transform: translateY(-50%); transition: transform .2s ease; }
.modal-arrow:hover { transform: translateY(-50%) scale(1.08); }
.modal-arrow--prev { left: -24px; border-radius: 999px 5px 5px 999px; }
.modal-arrow--next { right: -24px; border-radius: 5px 999px 999px 5px; }

.webtoon-modal { width: min(920px, 100vw); height: 100vh; max-height: 100vh; overflow: auto; background: #0a1721; color: #fff; }
.webtoon-modal header { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; min-height: 88px; padding: 16px 72px 16px 24px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(10,23,33,.9); backdrop-filter: blur(16px); }
.webtoon-modal header p { margin: 0; color: #86e4dc; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.webtoon-modal header h2 { margin: 3px 0 0; font-size: 20px; }
.webtoon-modal header button { position: fixed; top: 18px; right: max(18px, calc((100vw - 900px) / 2 + 18px)); background: var(--pink-dark); }
.webtoon-reader { width: min(720px, 100%); margin: 0 auto; background: #fff; }
.webtoon-reader img { width: 100%; }
.reader-top { display: block; margin: 30px auto; padding: 12px 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: transparent; cursor: pointer; }

@keyframes entry-drift { to { transform: scale(1.018) translate3d(-5px, -3px, 0); } }
@keyframes sound { to { height: 3px; } }
@keyframes scroll { 0%,100% { transform: scaleY(.35); transform-origin: top; } 50% { transform: scaleY(1); } }
@keyframes boing { 0%,100% { transform: rotate(2deg) scale(1); } 35% { transform: rotate(-1deg) scale(1.045,.96); } 65% { transform: rotate(1deg) scale(.985,1.025); } }
@keyframes photo-boing { 0%,100% { transform: scale(1); } 35% { transform: scale(1.035,.965) rotate(-.4deg); } 68% { transform: scale(.99,1.02) rotate(.3deg); } }

/* Hidden sunset mode */
.night-toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; max-width: calc(100vw - 40px); padding: 12px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(9,22,48,.9); box-shadow: 0 14px 34px rgba(4,12,35,.32); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity .3s ease, transform .3s ease; }
.night-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
body.night-mode { --ink: #edf7ff; --muted: #abc2d5; --paper: #0d1930; --line: rgba(210,232,255,.16); color: #edf7ff; background: #0d1930; }
body.night-mode .site-header.is-scrolled { background: rgba(9,19,40,.9); }
body.night-mode .site-nav { color: #edf7ff; }
body.night-mode .hero { background: #09152d; }
body.night-mode .hero__backdrop { background-image: url("assets/backgrounds/campus-night.webp"); }
body.night-mode .hero__gradient { background: linear-gradient(90deg, rgba(7,16,38,.97) 0%, rgba(7,16,38,.83) 40%, rgba(7,16,38,.17) 75%, rgba(7,16,38,.3)); }
body.night-mode .hero__copy > p:not(.eyebrow), body.night-mode .profile dd, body.night-mode .section-heading--wide > p:last-child { color: #b9cde0; }
body.night-mode .profile__photo, body.night-mode .photo-card { color: #173044; background: #f9fbff; }
body.night-mode .profile blockquote { color: #dceeff; background: #172948; }
body.night-mode .condition { background: #111f3b; }
body.night-mode .condition__panel > p { color: #d7e7f5; }
body.night-mode .condition__aside { color: #f4f9ff !important; background: #203354; box-shadow: inset 0 0 0 1px rgba(160,207,255,.17); }
body.night-mode .condition__panel li { color: #edf7ff; }
body.night-mode .thermometer { color: #173044; background: #eaf1ff; }
body.night-mode .thermometer__sky { background: linear-gradient(#071635, #243d70); }
body.night-mode .sun { background: #ffb05e; box-shadow: 0 0 0 18px rgba(255,123,80,.18), 0 0 44px #ff865f; }
body.night-mode .bucket { background: #0d1930; }
body.night-mode .album { background: #111b31; }
body.night-mode .album-mode { color: #ff9bc2; background: rgba(24,38,69,.84); }
body.night-mode .album-toolbar > p { color: #c9dced; }
body.night-mode .album-pager button { color: #edf7ff; border-color: #edf7ff; }
body.night-mode .photo-card p { color: #f1eaf5; border-color: rgba(255,126,174,.48); background: #25314d; }
body.night-mode .photo-card p::after { border-color: rgba(255,126,174,.48); background: #25314d; }
body.night-mode .load-more { color: #edf7ff; border-color: #edf7ff; }
body.night-mode .prologue__image { background-image: linear-gradient(0deg, rgba(8,31,50,.2), transparent), url("assets/backgrounds/street-night.webp"); }
body.night-mode .prologue__copy > p:not(.eyebrow) { color: #b9cde0; }
body.night-mode .site-footer { background: #071124; }
body.night-mode .audio-control { color: #edf7ff; border-color: rgba(255,255,255,.18); background: rgba(13,25,48,.9); }
body.night-mode .photo-modal { color: #edf7ff; background: #121d35; }
body.night-mode .photo-modal__image { background: #0b1630; }
body.night-mode .photo-modal blockquote { color: #f5eefa; border-color: #ff7fae; background: #25314d; }
body.night-mode .photo-modal blockquote::after { border-color: #ff7fae; background: #25314d; }
body.night-mode .site-nav.is-open { color: #edf7ff; background: rgba(9,19,40,.98); }

@media (max-width: 1050px) {
  .profile { grid-template-columns: 1fr 1fr; }
  .profile .section-heading { grid-column: 1 / -1; }
  .condition { grid-template-columns: 1fr 420px; gap: 36px; }
  .bucket-grid, .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__choa { width: 40vw; }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 18px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); background: rgba(255,253,247,.96); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav button { padding: 13px 0; text-align: left; }
  .brand span { display: none; }

  .entry { align-items: end; }
  .entry__image { background-position: 64% 36%; }
  .entry__wash { background: linear-gradient(0deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 38%, rgba(255,255,255,.12) 76%, rgba(255,255,255,0)); }
  .entry__content { width: 100%; padding: 30px 24px 58px; }
  .entry__content .eyebrow { margin-bottom: 9px; }
  .title-lockup span { font-size: 38px; }
  .title-lockup strong { font-size: 57px; }
  .entry__copy { margin: 18px 0; font-size: 14px; }
  .primary-button { width: 100%; min-width: 0; }
  .entry__hint { display: none; }
  .entry__summer-mark { top: 18px; right: 18px; transform: scale(.8) rotate(2deg); transform-origin: top right; }
  .entry__polaroids { display: none; }

  .hero { min-height: 970px; }
  .hero__backdrop { background-position: 58% center; }
  .hero__gradient { background: linear-gradient(180deg, rgba(240,252,255,.95) 0%, rgba(240,252,255,.75) 50%, rgba(240,252,255,.2)); }
  .hero__copy { top: 120px; left: 22px; width: calc(100% - 44px); transform: none; }
  .hero__copy h2 { font-size: 48px; }
  .hero__copy > p:not(.eyebrow) { font-size: 14px; }
  .hero__choa { right: 26px; bottom: 88px; width: calc(100% - 52px); }
  .hero__bubble { left: 0; top: -70px; max-width: 92%; font-size: 13px; }
  .scroll-cue { display: none; }

  .section { padding: 88px 20px; }
  .section-heading h2, .condition__panel h2, .prologue__copy h2 { font-size: 43px; }
  .profile { display: flex; flex-direction: column; gap: 38px; align-items: stretch; }
  .profile__photo { margin: 0 8px; }
  .profile__lead { font-size: 17px; line-height: 1.75; }
  .profile blockquote { font-size: 15px; line-height: 1.75; }
  .profile dl div { grid-template-columns: 74px 1fr; font-size: 13px; }

  .condition { grid-template-columns: 1fr; padding-inline: 20px; }
  .thermometer { width: 100%; }
  .temp-actions { grid-template-columns: 1fr; }
  .thermometer__readout strong { font-size: 36px; }

  .bucket-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .bucket-card { min-height: 260px; }
  .bucket-card > strong { font-size: 15px; }
  .album-toolbar { align-items: flex-start; flex-direction: column; }
  .photo-grid { gap: 28px 12px; }
  .photo-card { padding: 7px 7px 14px; }
  .photo-card h3 { font-size: 13px; }
  .photo-card p { min-height: 0; padding: 9px 10px; font-size: 11.5px; }

  .prologue { grid-template-columns: 1fr; gap: 40px; }
  .prologue__image { min-height: 400px; }
  .finale { min-height: 72vh; }
  .finale h2 { font-size: 46px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 22px; }

  .photo-modal { width: 100%; max-height: 100vh; border-radius: 0; }
  .photo-modal figure { grid-template-columns: 1fr; max-height: 100vh; overflow: auto; }
  .photo-modal__image { min-height: 0; padding: 52px 12px 12px; }
  .photo-modal__image img { max-height: 58vh; }
  .photo-modal__talk { bottom: 20px; max-width: calc(100% - 32px); font-size: 12.5px; }
  .photo-modal figcaption { padding: 22px 24px 38px; }
  .photo-modal h2 { margin: 2px 0 16px; font-size: 28px; }
  .photo-modal blockquote { font-size: 15px; }
  .modal-arrow { top: 38%; width: 38px; height: 52px; font-size: 30px; }
  .modal-arrow--prev { left: 0; border-radius: 0 999px 999px 0; }
  .modal-arrow--next { right: 0; border-radius: 999px 0 0 999px; }
  .modal-close { position: fixed; }
  .webtoon-modal header button { right: 16px; }
}

@media (max-width: 430px) {
  .title-lockup span { font-size: 33px; }
  .title-lockup strong { font-size: 50px; }
  .hero { min-height: 900px; }
  .hero__copy h2 { font-size: 43px; }
  .bucket-grid { grid-template-columns: 1fr; }
  .bucket-card { min-height: 280px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .album-filters button { padding: 9px 11px; }
  .audio-control { right: 12px; bottom: 12px; }
  .night-toast { bottom: 72px; border-radius: 16px; text-align: center; }
}

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