/* ============================================================
   WISE TOWN · DESIGN SYSTEM
   ============================================================ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  /* ── Base color scale (warm neutral, derived from #231815) ── */
  --color-white: #FFFFFF;

  --color-base-50:  #FDFDFD;
  --color-base-100: #F6F6F6;
  --color-base-200: #E8E7E6;
  --color-base-300: #D7D5D4;
  --color-base-400: #A8A3A1;
  --color-base-500: #7A7471;
  --color-base-600: #5D5653;
  --color-base-700: #473F3C;
  --color-base-800: #352B28;
  --color-base-900: #231815;
  --color-base-950: #120C0B;

  /* ── Semantic aliases ── */
  --color-bg:      var(--color-base-50);   /* #FDFDFD */
  --color-text:    var(--color-base-900);  /* #231815 */
  --color-text-strong: var(--color-base-950);
  --color-border:  var(--color-base-200);
  --color-divider: var(--color-base-200);
  --color-muted:   var(--color-base-500);
  --color-subtle:  var(--color-base-600);
  --color-surface: var(--color-base-100);

  /* ── Accent (hierarchy: primary > secondary > tertiary) ── */
  --color-primary:   #20A3DE;  /* primary CTAs / active / key links */
  --color-secondary: #E63082;  /* section emphasis / hover accents */
  --color-tertiary:  #EBA614;  /* small tags, decorative bullets */

  /* ── Typography ── */
  --font-main: "Pretendard";
  --line-height-default: 1.4;
  --letter-spacing-default: -0.0035em;

  /* ── Geometry ── */
  --radius-button: 10px;
  --radius-card: 10px;
  --nav-h: 72px;

  /* ── Grid ── */
  --grid-margin: 16px;
  --grid-gutter: 17px;
  --grid-max: 1440px;

  /* ── Easing ── */
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET + GLOBAL TYPOGRAPHY
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scrollbar-gutter: stable;
}
html, body {
  font-family: var(--font-main), sans-serif;
  line-height: var(--line-height-default);
  letter-spacing: var(--letter-spacing-default);
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body,
h1, h2, h3, h4, h5, h6,
p, a, li, span,
button, input, textarea, select, label,
nav, header, footer, main, section, article, aside {
  font-family: var(--font-main), sans-serif;
  color: var(--color-text);
  line-height: var(--line-height-default);
  letter-spacing: var(--letter-spacing-default);
  word-break: keep-all;
  overflow-wrap: break-word;
}

body {
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  width: 100%;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(253, 253, 253, 0.96);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--color-border); }

.navbar { width: 100%; height: var(--nav-h); }
.navbar-inner {
  width: 100%;
  max-width: 1408px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo-text {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1 1 auto;
}
.nav-menu a {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-menu a:hover { opacity: 1; }
.nav-menu a.active {
  font-weight: 700;
  opacity: 1;
  color: var(--color-primary);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  padding: 3px;
  background: var(--color-white);
}
.nav-lang a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-button);
  opacity: 0.55;
  transition: opacity .25s var(--ease-out-soft), background .25s var(--ease-out-soft), color .25s var(--ease-out-soft);
}
.nav-lang a:hover { opacity: 1; }
.nav-lang a.active {
  opacity: 1;
  background: var(--color-primary);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--color-text); transition: all 0.3s; }

@media (max-width: 1024px) {
  .navbar-inner { padding: 0 24px; }
  .nav-menu { gap: 20px; }
}
@media (max-width: 860px) {
  .navbar-inner { padding: 0 20px; gap: 16px; }
  .nav-menu { gap: 14px; }
  .nav-menu a { font-size: 11px; }
  .nav-lang a { padding: 5px 9px; font-size: 10px; }
}
@media (max-width: 600px) {
  .navbar-inner { padding: 0 16px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--color-bg);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid var(--color-border);
  }
  .nav-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: var(--nav-h);
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 480px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #2f4a22 0%, #25401b 100%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%); }
.hero-content {
  position: absolute;
  bottom: 64px; left: 56px; right: 56px;
  max-width: 760px;
}
.hero-title {
  color: var(--color-white);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-sub { max-width: 620px; margin-bottom: 28px; }
.hero-sub p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 10px;
}

/* ============================================================
   BUTTONS (unified — radius 10px)
   ============================================================ */
button, .btn, .button, a.button,
input[type="submit"], input[type="button"] {
  border-radius: var(--radius-button);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-button);
  border: 1.5px solid currentColor;
  background: transparent;
  cursor: pointer;
  min-width: 280px;
  width: fit-content;
  transition:
    background 0.55s var(--ease-out-soft),
    color 0.55s var(--ease-out-soft),
    border-color 0.55s var(--ease-out-soft);
}
.btn::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.btn .btn-arrow { display: none; }

.btn-white { color: var(--color-white); }
.btn-white:hover { background: var(--color-white); color: var(--color-text); }
.btn-black { color: var(--color-text); }
.btn-black:hover { background: var(--color-text); color: var(--color-white); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
section { padding: 80px 0; }

.grid-container {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

/* ============================================================
   INTRO BOX
   ============================================================ */
.intro-section { padding: 56px 40px; }
.intro-box {
  max-width: 640px;
  margin: 0 auto;
  border: 1.5px solid var(--color-text);
  border-radius: var(--radius-card);
  padding: 36px 48px;
  text-align: center;
}
.intro-box p { font-size: 14px; color: var(--color-subtle); }

/* ============================================================
   FEATURE
   ============================================================ */
.feature-section { padding: 60px 40px 0; }
.feature-heading { font-size: 17px; font-weight: 700; margin-bottom: 40px; max-width: 400px; }

/* ============================================================
   EXPAND GRID
   ============================================================ */
.expand-grid {
  display: flex;
  gap: var(--grid-gutter);
  height: 440px;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}
.expand-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-base-200);
  min-width: 168px;
}
.expand-item:first-child { flex: 4; }
.expand-grid:hover .expand-item { flex: 1; }
.expand-grid:hover .expand-item:hover { flex: 4; }

.expand-item-bg {
  position: absolute; inset: 0;
  background: var(--color-base-400) !important;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.expand-item:hover .expand-item-bg { transform: scale(1.05); }

.expand-item-bg.ph { background: var(--color-base-200); }
.expand-item-bg.ph::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 0.7px), var(--color-base-400) calc(50% - 0.7px), var(--color-base-400) calc(50% + 0.7px), transparent calc(50% + 0.7px)),
    linear-gradient(to bottom left,  transparent calc(50% - 0.7px), var(--color-base-400) calc(50% - 0.7px), var(--color-base-400) calc(50% + 0.7px), transparent calc(50% + 0.7px));
}

.expand-item-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  color: var(--color-white);
  z-index: 2;
}
.expand-item-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-button);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--color-white);
}
.expand-item-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  word-break: keep-all;
  color: var(--color-white);
}
.expand-item-desc {
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s 0.15s, transform 0.4s 0.15s;
  max-height: 0;
  overflow: hidden;
  color: var(--color-white);
}
.expand-item:first-child .expand-item-desc,
.expand-grid:hover .expand-item:hover .expand-item-desc {
  opacity: 0.9;
  transform: translateY(0);
  max-height: 80px;
}
.expand-grid:hover .expand-item:not(:hover) .expand-item-desc {
  opacity: 0;
  transform: translateY(6px);
  max-height: 0;
  transition-delay: 0s;
}
.slant-grid-wrap { display: none; }

/* ============================================================
   FULL-WIDTH IMAGE
   ============================================================ */
.full-img-wrap { width: 100%; height: 420px; overflow: hidden; position: relative; }
.full-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.full-img-ph {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #1e3a5a 0%, #c0521a 55%, #1a2a3a 100%);
}

/* ============================================================
   MISSION
   ============================================================ */
.mission-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  padding: 100px 40px;
  background: var(--color-bg);
}
.mission-img {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.mission-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
}
.mission-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 80px;
}
.mission-body { max-width: 520px; margin-bottom: 40px; }
.mission-body p {
  font-size: 14px;
  margin-bottom: 20px;
}
.mission-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border: 1.5px solid var(--color-text);
  border-radius: var(--radius-button);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
  min-width: 280px;
  transition:
    background 0.55s var(--ease-out-soft),
    color 0.55s var(--ease-out-soft),
    border-color 0.55s var(--ease-out-soft);
}
.mission-btn:hover { background: var(--color-text); color: var(--color-white); }
.mission-btn:hover .mission-btn-dot { background: var(--color-secondary); }
.mission-btn-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  transition: background 0.55s var(--ease-out-soft);
}

/* ============================================================
   MANIFESTO INTRO (events page)
   ============================================================ */
.manifesto-intro { padding: 20px 40px 60px; }
.manifesto-intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-poster-card {
  display: block;
  margin-top: 20px;
  text-decoration: none;
  color: inherit;
}
.manifesto-poster-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transition: transform 0.35s var(--ease-out-soft), box-shadow 0.35s var(--ease-out-soft);
}
.manifesto-poster-card:hover .manifesto-poster-wrap {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.manifesto-poster-img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out-soft);
}
.manifesto-poster-card:hover .manifesto-poster-img {
  transform: scale(1.03);
}
.manifesto-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,10,8,0.88) 0%, rgba(14,10,8,0.0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-soft);
}
.manifesto-poster-card:hover .manifesto-poster-overlay {
  opacity: 1;
}
.manifesto-poster-overlay-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.manifesto-poster-overlay-title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.manifesto-poster-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-button);
  width: fit-content;
  transition: background 0.2s;
}
.manifesto-poster-card:hover .manifesto-poster-overlay-cta {
  background: #1b8ec0;
}
.manifesto-cover-caption {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 10px;
}
@media (max-width: 768px) {
  .manifesto-intro { padding: 12px 20px 40px; }
  .manifesto-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-cover-block { margin-top: 0; }
}

/* ============================================================
   MANIFESTO (dark section, intentional)
   ============================================================ */
.manifesto-section {
  background: var(--color-base-950);
  color: var(--color-white);
  padding: 120px 40px;
}
.manifesto-section *,
.manifesto-section p,
.manifesto-section h2,
.manifesto-section h3,
.manifesto-section a,
.manifesto-section li,
.manifesto-section span { color: inherit; }

.manifesto-inner { max-width: 1200px; margin: 0 auto; }
.manifesto-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.manifesto-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 72px;
}
.manifesto-title em { font-weight: 300; font-style: italic; }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-body p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}
.manifesto-callout {
  font-size: 16px !important;
  font-weight: 500;
  color: var(--color-white) !important;
  border-left: 2px solid rgba(255,255,255,0.4);
  padding-left: 20px;
  margin-top: 28px !important;
}
.manifesto-aside { display: flex; flex-direction: column; gap: 28px; }
.manifesto-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.manifesto-date-day { font-size: 14px; font-weight: 700; }
.manifesto-date-place { font-size: 14px; color: rgba(255,255,255,0.7); }
.manifesto-call { font-size: 17px; font-weight: 600; margin-top: 8px; }

.manifesto-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  padding: 16px 28px;
  border: 1.5px solid var(--color-white);
  border-radius: var(--radius-button);
  width: fit-content;
  min-width: 280px;
  margin-top: 8px;
  transition:
    background 0.55s var(--ease-out-soft),
    color 0.55s var(--ease-out-soft),
    border-color 0.55s var(--ease-out-soft);
}
.manifesto-link::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.manifesto-link .btn-arrow { display: none; }
.manifesto-link:hover { background: var(--color-white); color: var(--color-base-950); }

/* Manifesto program (May 15 launch detail) */
.manifesto-program {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.manifesto-program-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 14px;
}
.manifesto-program-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  margin-bottom: 8px;
}
.manifesto-program-place {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}
.manifesto-program-lede {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 760px;
  margin-bottom: 28px;
}
.manifesto-program-list {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.manifesto-program-list li {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  padding-left: 16px;
  position: relative;
}
.manifesto-program-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-tertiary);
}
.manifesto-program-list li strong { font-weight: 700; color: var(--color-white); }
.manifesto-program-context {
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  max-width: 760px;
  margin-bottom: 40px;
}
.manifesto-program-closing {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.manifesto-program-closing-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-tertiary);
  margin-bottom: 20px;
}
.manifesto-speakers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.manifesto-speaker { display: flex; flex-direction: column; gap: 4px; }
.manifesto-speaker-name { font-size: 18px; font-weight: 700; color: var(--color-white); }
.manifesto-speaker-role { font-size: 13px; color: rgba(255,255,255,0.65); }
@media (max-width: 768px) {
  .manifesto-program { margin-top: 48px; padding-top: 36px; }
  .manifesto-speakers { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   TWO COLUMN
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 72px 40px;
}
.two-col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  color: var(--color-tertiary);
}
.two-col-text { font-size: 15px; color: var(--color-subtle); }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-hero-card {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  margin-bottom: 4px;
  border-radius: var(--radius-card);
}
.project-hero-card .ph-img { position: absolute; inset: 0; background: linear-gradient(160deg, #1e3a5a 0%, #2a4a6a 60%, #1a2a3a 100%); }
.project-hero-card .ph-img.ocean { background: linear-gradient(160deg, #1a2a3a 0%, #1e3a5a 50%, #243060 100%); }
.project-hero-content { position: absolute; bottom: 36px; left: 36px; }
.project-hero-content h3 {
  color: var(--color-white);
  font-size: 28px; font-weight: 700;
  margin-bottom: 6px;
}
.project-hero-content p { color: rgba(255,255,255,0.8); font-size: 13px; }

.card-arrow {
  position: absolute;
  border: 1.5px solid rgba(255,255,255,0.8);
  color: var(--color-white);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  border-radius: var(--radius-button);
  transition: background 0.3s var(--ease-out-soft);
}
.card-arrow:hover { background: rgba(255,255,255,0.2); }
.card-arrow.top-right { top: 18px; right: 18px; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.project-card { position: relative; height: 280px; overflow: hidden; border-radius: var(--radius-card); }
.project-card .ph-img { position: absolute; inset: 0; }
.project-card .ph-img.p1 { background: linear-gradient(135deg, #4a3a2a 0%, #2a2018 100%); }
.project-card .ph-img.p2 { background: linear-gradient(135deg, #2a3a2a 0%, #1a2818 100%); }
.project-card .ph-img.p3 { background: linear-gradient(135deg, #1a1a2a 0%, #0a0a1a 100%); }

/* ============================================================
   PLACEHOLDER IMAGE
   ============================================================ */
.ph-img {
  width: 100%; height: 100%;
  background: var(--color-base-400);
  border-radius: var(--radius-card);
}
.ph-cross { display: none !important; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 12px;
  color: var(--color-muted);
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid var(--color-border);
}
.footer-nav a {
  color: var(--color-text);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.25s var(--ease-out-soft), color 0.25s var(--ease-out-soft);
}
.footer-nav a:hover { opacity: 1; color: var(--color-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
}
.footer-lang { display: flex; gap: 24px; }
.footer-lang a { color: var(--color-muted); transition: color 0.25s var(--ease-out-soft); }
.footer-lang a:hover { color: var(--color-primary); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  margin-top: var(--nav-h);
  padding: 80px 40px 60px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(20px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}
.page-hero h1 em { font-style: italic; font-weight: 300; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-carousel { position: relative; }
.about-img-row {
  display: flex;
  gap: 4px;
  overflow: hidden;
  padding: 0 40px;
  height: 280px;
}
.about-img-item { flex: 1; position: relative; overflow: hidden; border-radius: var(--radius-card); }

/* Carousel controls — hidden on desktop */
.about-nav,
.about-dots { display: none; }
.about-img-item .ph-img.a1 { background: linear-gradient(135deg, #c8b8a0 0%, #a89878 100%); }
.about-img-item .ph-img.a2 { background: linear-gradient(135deg, #8a9898 0%, #6a7878 100%); }
.about-img-item .ph-img.a3 { background: linear-gradient(135deg, #a0a8c0 0%, #808898 100%); }

.text-box-center {
  max-width: 580px;
  margin: 56px auto;
  border: 1.5px solid var(--color-text);
  padding: 36px 52px;
}
.text-box-center p {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-section { padding: 60px 40px 80px; }
.pillars-title { font-size: 18px; font-weight: 700; }

.pillar-row {
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid var(--color-border);
}
.pillar-row:last-child { border-bottom: 1px solid var(--color-border); }
.pillar-name {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  padding-top: 4px;
}
.pillar-name.muted { color: var(--color-muted); }
.pillar-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.pillar-body .tags { font-size: 13px; color: var(--color-muted); }
.pillar-img {
  aspect-ratio: 9 / 7;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.pillar-img .ph-img { background: var(--color-base-200); height: 100%; }

/* ============================================================
   EVENTS (news + detail)
   ============================================================ */
.events-header { padding: 40px 40px 0; }
.events-header h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 40px 40px 80px;
}
.news-featured-img {
  width: 100%; height: 380px;
  position: relative; overflow: hidden;
  margin-bottom: 20px;
  border-radius: var(--radius-card);
}
.news-featured-img .ph-img { background: var(--color-base-200); height: 100%; }
.news-date { font-size: 12px; color: var(--color-muted); margin-bottom: 8px; }
.news-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.news-meta { font-size: 12px; color: var(--color-muted); display: flex; gap: 16px; }

.news-list { display: flex; flex-direction: column; }
.news-item { padding: 22px 0; border-bottom: 1px solid var(--color-border); }
.news-item:first-child { border-top: 1px solid var(--color-border); }

.event-detail { padding: 60px 40px 80px; }
.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}
.event-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.event-value { font-size: 15px; font-weight: 600; margin-bottom: 24px; }

/* ============================================================
   TIMELINE (events schedule)
   ============================================================ */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-day {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
  align-items: start;
  border-radius: var(--radius-card);
  transition:
    background 0.6s var(--ease-out-soft),
    color 0.6s var(--ease-out-soft),
    padding 0.6s var(--ease-out-soft),
    margin 0.6s var(--ease-out-soft);
}
.timeline-day:last-child { border-bottom: 1px solid var(--color-border); }
.timeline-day:hover {
  background: var(--color-primary);
  color: var(--color-white);
  margin: 0 -40px;
  padding-left: 40px;
  padding-right: 40px;
}
/* force white text on all descendants when hovered */
.timeline-day:hover,
.timeline-day:hover h1,
.timeline-day:hover h2,
.timeline-day:hover h3,
.timeline-day:hover h4,
.timeline-day:hover h5,
.timeline-day:hover h6,
.timeline-day:hover p,
.timeline-day:hover li,
.timeline-day:hover span,
.timeline-day:hover strong,
.timeline-day:hover a { color: var(--color-white); }
.timeline-day:hover .timeline-day-month { color: rgba(255,255,255,0.7); }
.timeline-day:hover .timeline-day-tag {
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}
.timeline-day:hover .timeline-speaker span { color: rgba(255,255,255,0.75); }
.timeline-date { display: flex; flex-direction: column; gap: 4px; }
.timeline-day-num {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}
.timeline-day-month {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}
.timeline-day-tag {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  width: fit-content;
  color: var(--color-subtle);
  transition: border-color 0.6s var(--ease-out-soft), color 0.6s var(--ease-out-soft), background 0.6s var(--ease-out-soft);
}
.timeline-info { padding-top: 6px; }
.timeline-headline {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.timeline-subheadline {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.75;
  margin-bottom: 18px;
}
.timeline-location { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.timeline-context {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 22px;
  max-width: 640px;
}
.timeline-initiative {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  margin-bottom: 24px;
}
.timeline-day:hover .timeline-initiative {
  border-color: rgba(255,255,255,0.15);
}
.timeline-initiative-names {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 6px;
  color: var(--color-text);
  transition: color 0.3s;
}
.timeline-day:hover .timeline-initiative-names {
  color: #fff;
}
.timeline-initiative-orgs {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-subtle);
  transition: color 0.3s;
}
.timeline-day:hover .timeline-initiative-orgs {
  color: rgba(255,255,255,0.75);
}

.timeline-speakers {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.timeline-day:hover .timeline-speakers { border-color: rgba(255,255,255,0.15); }
.timeline-speakers-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}
.timeline-speaker {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.timeline-speaker strong { font-size: 15px; font-weight: 700; }
.timeline-speaker span { font-size: 13px; opacity: 0.7; }

.timeline-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  margin-bottom: 18px;
  align-items: start;
}
.timeline-block:last-child { margin-bottom: 0; }
.timeline-time {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 0;
  border-top: 2px solid currentColor;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-list li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
}
.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.timeline-list li strong { font-weight: 700; }
@media (max-width: 768px) {
  .timeline-day { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .timeline-day-num { font-size: 44px; }
  .timeline-block { grid-template-columns: 44px 1fr; gap: 14px; }
}

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */
.schedule-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.schedule-table th {
  text-align: left; padding: 12px 16px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-text);
  background: var(--color-surface);
}
.schedule-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  transition: background 0.5s var(--ease-out-soft);
}
.schedule-table tr:hover td { background: var(--color-surface); }
.day-cell { font-weight: 700; white-space: nowrap; }

/* ============================================================
   PROJECTS DETAIL
   ============================================================ */
.projects-header { padding: 0 40px 40px; }
.project-detail { padding: 0 40px 80px; }
.project-detail-hero {
  width: 100%; height: 500px;
  position: relative; overflow: hidden;
  margin-bottom: 60px;
  border-radius: var(--radius-card);
}
.project-detail-hero .ph-img {
  height: 100%;
  background: linear-gradient(160deg, #1a3a6a 0%, #1e4a7a 100%);
}
.project-meta { display: flex; gap: 40px; margin-bottom: 40px; }
.meta-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.meta-value { font-size: 14px; font-weight: 600; }

.project-body { max-width: 760px; }
.project-body p {
  font-size: 15px;
  color: var(--color-subtle);
  margin-bottom: 20px;
}

.video-embed { margin: 48px 0; }
.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius-card);
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 48px; }
.photo-grid-item { aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: var(--radius-card); }
.photo-grid-item .ph-img { height: 100%; background: var(--color-base-200); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px; }
  .manifesto-section { padding: 72px 20px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-title { margin-bottom: 40px; }
  .mission-section { grid-template-columns: 1fr; gap: 40px; padding: 60px 20px; }
  .mission-img { min-height: 320px; }
  .mission-title { margin-bottom: 32px; }
  .mission-btn { min-width: 0; width: 100%; }
  .pillar-row { grid-template-columns: 1fr; gap: 16px; }
  .pillar-img { display: none; }
  .event-detail-grid { grid-template-columns: 1fr; gap: 0; }
  .project-meta { flex-wrap: wrap; gap: 20px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-content { left: 20px; right: 20px; bottom: 32px; }
  .hero-sub p { font-size: 13px; }
  .container { padding: 0 20px; }
  section { padding: 48px 0; }

  .intro-section { padding: 36px 20px; }
  .intro-box { padding: 24px; }
  .feature-section { padding: 40px 20px 0; }

  .expand-grid {
    height: auto;
    padding: 0 var(--grid-margin);
    gap: 12px;
    flex-direction: column;
  }
  .expand-item, .expand-item:first-child { flex: 0 0 auto; height: 200px; min-width: 0; }
  .expand-grid:hover .expand-item, .expand-grid:hover .expand-item:hover { flex: 0 0 auto; }
  .expand-item-overlay { padding: 16px 18px; }
  .expand-item-title { font-size: 14px; }
  .expand-item-desc { font-size: 11px; opacity: 0.9; max-height: 60px; transform: none; }

  .full-img-wrap { height: 300px; }

  /* Carousel mode on mobile */
  .about-img-row {
    padding: 0 20px;
    height: 240px;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .about-img-row::-webkit-scrollbar { display: none; }
  .about-img-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .about-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(253, 253, 253, 0.9);
    color: var(--color-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 5;
    transition: background 0.25s var(--ease-out-soft);
  }
  .about-nav:hover { background: var(--color-white); }
  .about-nav.prev { left: 28px; }
  .about-nav.next { right: 28px; }
  .about-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }
  .about-dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-base-300);
    transition: background 0.25s var(--ease-out-soft), width 0.25s var(--ease-out-soft);
  }
  .about-dots span.active {
    background: var(--color-primary);
    width: 18px;
    border-radius: 999px;
  }
  .news-grid { grid-template-columns: 1fr; padding: 24px 20px 48px; gap: 40px; }
  .news-featured-img { height: 260px; }

  .pillars-section { padding: 40px 20px; }
  .pillar-row { grid-template-columns: 1fr; }

  .event-detail { padding: 40px 20px 48px; }
  .events-header { padding: 24px 20px 0; }

  .schedule-table th, .schedule-table td { padding: 10px 8px; font-size: 13px; }

  .project-detail { padding: 0 20px 48px; }
  .projects-header { padding: 0 20px 24px; }
  .project-detail-hero { height: 300px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid-item { height: 200px; }

  .project-grid { grid-template-columns: 1fr; }
  .project-card { height: 200px; }

  .page-hero { padding: 48px 20px 36px; }
  .text-box-center { margin: 36px 20px; padding: 24px; }

  .footer-nav { padding: 18px 20px; flex-wrap: wrap; gap: 14px; justify-content: center; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 10px; text-align: center; }
}

/* legacy nav classes hidden */
.lang-switch, .nav-links, .lang-current, .lang-menu, .lang-arrow { display: none !important; }

/* ============================================================
   MOBILE RESPONSIVE — COMPREHENSIVE FIXES
   ============================================================ */
@media (max-width: 768px) {
  /* ── Navbar ── */
  .navbar-inner { gap: 12px; padding: 0 16px; }
  .nav-lang { gap: 2px; padding: 2px; }
  .nav-lang a { padding: 5px 8px; font-size: 10px; }

  /* ── Buttons ── */
  .btn { min-width: 0; width: 100%; justify-content: space-between; padding: 14px 20px; }
  .mission-btn { min-width: 0; width: 100%; }

  /* ── Mission section ── */
  .mission-section { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .mission-img { min-height: 260px; }
  .mission-title { font-size: clamp(36px, 10vw, 56px); margin-bottom: 24px; }

  /* ── Manifesto section (home) ── */
  .manifesto-section { padding: 56px 20px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-program { padding: 32px 0 0; }
  .manifesto-program-title { font-size: clamp(18px, 4vw, 24px); }
  .manifesto-speakers { grid-template-columns: 1fr; gap: 12px; }

  /* ── Timeline ── */
  .timeline-day { grid-template-columns: 1fr; gap: 12px; }
  .timeline-date { display: flex; flex-direction: row; align-items: baseline; gap: 8px; }
  .timeline-day-num { font-size: 28px; }

  /* ── Hero ── */
  .hero-content { left: 20px; right: 20px; bottom: 32px; }
  .hero-title { font-size: clamp(24px, 7vw, 40px); }

  /* ── About page ── */
  .au-section { padding: 40px 20px; }
  .position-grid { grid-template-columns: 1fr; gap: 28px; }
  .professors-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item.span-2 { grid-column: span 1; }

  /* ── Event detail ── */
  .event-detail-grid { grid-template-columns: 1fr; }
  .manifesto-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .manifesto-intro { padding: 20px 20px 40px; }

  /* ── Footer ── */
  .footer-nav { flex-wrap: wrap; gap: 12px; justify-content: center; padding: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 20px; }
}

@media (max-width: 480px) {
  .nav-lang a { padding: 4px 6px; font-size: 9px; }
  .hero-title { font-size: clamp(22px, 8vw, 36px); }
  .btn { font-size: 13px; }
}

/* ============================================================
   MOBILE — iPhone 12 Pro Max TARGET (393 × 898 px)
   margin 20px · gutter 10px · 4 cols (~80px each)
   ============================================================ */
@media (max-width: 430px) {
  /* ── Navbar ── */
  .navbar-inner { padding: 0 16px; gap: 12px; }
  .nav-logo img { height: 22px; }
  .nav-menu.open {
    z-index: 300;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  }
  /* Language switcher compact */
  .nav-lang { gap: 1px; padding: 2px; }
  .nav-lang a { padding: 4px 7px; font-size: 10px; }
  /* Hamburger always visible */
  .nav-toggle { display: flex; }

  /* ── Hero ── */
  .hero-content { padding: 0 20px 48px; bottom: 0; left: 0; right: 0; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }

  /* ── Mission section — single column, image first ── */
  .mission-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px;
  }
  .mission-img {
    order: -1;
    min-height: 260px;
    width: 100%;
  }
  .mission-content { order: 1; }
  .mission-title { font-size: clamp(36px, 10vw, 56px); margin-bottom: 20px; }
  .mission-btn { min-width: 0; width: 100%; }

  /* ── Manifesto section ── */
  .manifesto-section { padding: 60px 20px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-title { margin-bottom: 40px; }
}

