:root {
  --ty-navy: #07234f;
  --ty-blue: #1556b8;
  --ty-coral: #f46a65;
  --ty-orange: #e99b22;
  --ty-cream: #f7f4ed;
  --ty-ink: #16243a;
}

.tongyeong-page { background: var(--ty-cream); color: var(--ty-ink); }
.ty-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.tongyeong-page em { color: var(--ty-blue); font-style: normal; }
.ty-section { padding-block: 132px; }
.section-index, .eyebrow { margin: 0 0 24px; color: var(--ty-blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-index.light { color: #9bc9ff; }
.section-lead { display: grid; grid-template-columns: 2fr 5fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.section-lead h2, .split-copy h2, .role-grid h2 { margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; }

.ty-hero {
  position: relative;
  isolation: isolate;
  padding: 158px 0 96px;
  overflow: hidden;
  background: var(--ty-navy) url('./assets/tongyeong-space-hero.webp') center 44% / cover no-repeat;
  color: #fff;
}
.ty-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 24, 57, .96) 0%, rgba(7, 35, 79, .87) 54%, rgba(7, 35, 79, .66) 100%);
  content: '';
}
.ty-hero-copy h1 { max-width: 950px; margin: 0; font-size: clamp(3.2rem, 7.7vw, 7.7rem); line-height: .98; letter-spacing: -.065em; }
.ty-hero-copy h1 em { color: #7ec7ff; }
.hero-summary { max-width: 760px; margin: 40px 0 56px; color: #dce8f7; font-size: clamp(1.08rem, 1.8vw, 1.4rem); line-height: 1.75; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0 0 70px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.24); }
.hero-meta div { display: grid; gap: 7px; }
.hero-meta dt { color: #8db5e1; font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-meta dd { margin: 0; font-size: 1rem; }
.cycle-hero { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.cycle-hero img, .wide-figure img, .image-frame img, .model-row img { display: block; width: 100%; height: auto; }

.overview-section { padding-bottom: 90px; }
.overview-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 80px; align-items: start; }
.overview-copy { margin: 0; font-size: 1.2rem; line-height: 1.85; }
.scope-stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid #b9c0ca; }
.scope-stats div { padding: 24px 18px 25px 0; border-bottom: 1px solid #b9c0ca; }
.scope-stats dt { color: var(--ty-navy); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.scope-stats dd { margin: 7px 0 0; color: #5d6673; }
.scope-stats .target dt { color: var(--ty-orange); }
.target-note { margin: 22px 0 0; color: #6c737c; font-size: .84rem; text-align: right; }

.space-story-section {
  position: relative;
  isolation: isolate;
  padding-block: 132px;
  overflow: hidden;
  background: var(--ty-navy) url('./assets/tongyeong-space-view.webp') center / cover no-repeat;
  color: #fff;
}
.space-story-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 24, 57, .94), rgba(4, 24, 57, .76));
  content: '';
}
.space-story-copy { max-width: 1240px; }
.space-story-copy h2 { max-width: 900px; margin: 0; font-size: clamp(2.5rem, 5.4vw, 5.4rem); line-height: 1.05; letter-spacing: -.05em; }
.space-story-copy h2 em { color: #9bd5ff; }
.space-story-copy > p:last-child { max-width: 680px; margin: 34px 0 0; color: #e1ebf6; font-size: 1.08rem; line-height: 1.8; }
.space-gallery { display: grid; grid-template-columns: 3fr 2fr; gap: 22px; margin-top: 72px; }
.space-gallery figure { overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.24); border-radius: 18px; background: #fff; }
.space-gallery img { display: block; width: 100%; height: 360px; object-fit: cover; transition: transform .4s ease; }
.space-gallery figure:hover img { transform: scale(1.02); }

.resource-section, .masterplan-section { padding-block: 120px; background: #fff; }
.split-layout { display: grid; grid-template-columns: 2fr 3fr; gap: 72px; align-items: center; }
.split-reverse { grid-template-columns: 3fr 2fr; }
.split-copy > p:not(.section-index) { max-width: 560px; margin: 28px 0 0; color: #5b6470; font-size: 1.08rem; line-height: 1.8; }
.image-frame { overflow: hidden; margin: 0; border-radius: 18px; box-shadow: 0 18px 48px rgba(7,35,79,.12); }
.resource-list { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid #ccd0d5; }
.resource-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid #ccd0d5; font-weight: 700; }
.resource-list span { color: var(--ty-blue); font-size: .75rem; }

.strategy-section { background: var(--ty-cream); }
.wide-figure { overflow: hidden; margin: 0; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(7,35,79,.1); }
.cycle-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 46px 0 0; padding: 0; list-style: none; }
.cycle-steps li { padding-top: 20px; border-top: 4px solid var(--ty-blue); }
.cycle-steps li:nth-child(3) { border-color: var(--ty-coral); }
.cycle-steps li:nth-child(4) { border-color: var(--ty-orange); }
.cycle-steps li:nth-child(5) { border-color: #6a55b5; }
.cycle-steps span { display: block; margin-bottom: 11px; color: #707987; font-size: .73rem; font-weight: 800; letter-spacing: .08em; }
.cycle-steps strong { display: block; font-size: 1.25rem; }
.cycle-steps p { margin: 8px 0 0; color: #626c78; font-size: .91rem; line-height: 1.55; }

.model-section { padding-bottom: 70px; }
.model-row { display: grid; grid-template-columns: 3fr 2fr; gap: 72px; align-items: center; margin-bottom: 120px; }
.model-row.reverse { grid-template-columns: 2fr 3fr; }
.model-row.reverse figure { order: 2; }
.model-row figure { overflow: hidden; margin: 0; border-radius: 18px; box-shadow: 0 16px 42px rgba(7,35,79,.12); }
.model-row h3 { margin: 8px 0 20px; color: var(--ty-navy); font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.model-row div > p:last-child { color: #5e6875; font-size: 1.08rem; line-height: 1.78; }
.model-no { margin: 0; color: var(--ty-coral); font-size: .82rem; font-weight: 800; letter-spacing: .1em; }

.role-section { padding-block: 130px; background: var(--ty-navy); color: #fff; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.role-grid h2 em { color: #7ec7ff; }
.role-grid ol { margin: 0; padding: 0; list-style: none; }
.role-grid li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); }
.role-grid li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.role-grid li > span { color: #7ec7ff; font-size: .75rem; font-weight: 800; }
.role-grid strong { font-size: 1.1rem; }
.role-grid li p { margin: 6px 0 0; color: #cbd9e9; line-height: 1.6; }

.next-projects { padding-block: 120px; }
.next-projects > div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.next-projects a { display: grid; gap: 38px; padding: 32px; border: 1px solid #bfc5ce; color: var(--ty-navy); text-decoration: none; transition: color .2s, background .2s, transform .2s; }
.next-projects a:hover { color: #fff; background: var(--ty-blue); transform: translateY(-3px); }
.next-projects span { font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.next-projects strong { font-size: 1.25rem; }

@media (max-width: 900px) {
  .ty-section, .resource-section, .masterplan-section, .role-section, .space-story-section { padding-block: 90px; }
  .section-lead, .overview-grid, .split-layout, .split-reverse, .model-row, .model-row.reverse, .role-grid { grid-template-columns: 1fr; gap: 38px; }
  .model-row.reverse figure { order: 0; }
  .cycle-steps { grid-template-columns: repeat(2, 1fr); }
  .model-row { margin-bottom: 84px; }
  .space-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ty-shell { width: min(100% - 30px, 1240px); }
  .ty-hero { padding: 120px 0 70px; }
  .hero-meta, .scope-stats, .next-projects > div { grid-template-columns: 1fr; }
  .cycle-steps { grid-template-columns: 1fr; }
  .section-lead { margin-bottom: 40px; }
  .target-note { text-align: left; }
  .model-row h3 { overflow-wrap: anywhere; }
  .space-gallery { margin-top: 48px; }
  .space-gallery img { height: 250px; }
}
