:root {
  --red: #b43f49;
  --red-dark: #8f2e38;
  --navy: #101c28;
  --ink: #20242a;
  --muted: #686d74;
  --paper: #faf9f6;
  --warm: #f0ede7;
  --white: #fff;
  --line: #dddcd8;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans KR", sans-serif; word-break: keep-all; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 300; padding: 12px 18px; background: var(--white); color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .3s, box-shadow .3s, color .3s; }
.site-header.scrolled, .site-header.menu-active { background: rgba(250,249,246,.94); box-shadow: 0 1px 0 rgba(20,25,30,.1); backdrop-filter: blur(14px); }
.site-header.scrolled, .site-header.menu-active { color: var(--ink); }
.header-inner { width: min(calc(100% - 48px), var(--max-width)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.mainplatz-logo { position: relative; display: flex; flex: 0 0 190px; width: 190px; height: 48px; align-items: center; }
.mainplatz-logo img { display: block; width: 190px; height: auto; background: transparent; }
.logo-main-light { position: absolute; left: 0; top: 50%; opacity: 0; filter: brightness(0) invert(1); clip-path: inset(31% 48.5% 29.5% 17.5%); transform: translateY(-50%); transition: opacity .3s; }
.site-header:not(.scrolled):not(.menu-active) .logo-main-light, .footer-logo .logo-main-light { opacity: 1; }
.main-nav { display: flex; align-items: center; gap: clamp(19px, 2.2vw, 34px); font-size: 14px; font-weight: 500; }
.main-nav a { position: relative; padding: 29px 0; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 22px; left: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; color: currentColor; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform .25s, opacity .2s; }

.hero { position: relative; height: min(820px, 94vh); min-height: 680px; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-background, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(8,15,21,.82) 0%, rgba(8,15,21,.58) 35%, rgba(8,15,21,.1) 67%, rgba(8,15,21,.02) 100%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max-width)); height: 100%; margin: auto; padding-top: 82px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 23px; font: 600 11px/1.4 "Manrope", sans-serif; letter-spacing: .18em; }
.eyebrow.accent { color: var(--red); }
.hero h1 { margin: 0; font-size: clamp(42px, 4.7vw, 68px); line-height: 1.24; letter-spacing: -.05em; font-weight: 600; }
.hero h1 span { color: #e49aa1; }
.hero-content > p:not(.eyebrow) { margin: 28px 0; color: rgba(255,255,255,.75); font-size: clamp(15px, 1.35vw, 17px); line-height: 1.9; }
.text-link, .map-link { display: inline-flex; align-items: center; gap: 25px; padding: 11px 0; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; }
.text-link span, .map-link span { transition: transform .2s; }
.text-link:hover span, .map-link:hover span { transform: translateX(4px); }
.hero-link { color: var(--white); }
.hero-side-note { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--max-width))/2)); bottom: 36px; margin: 0; text-align: right; }
.hero-side-note b, .hero-side-note span { display: block; }
.hero-side-note b { font: 700 13px/1 "Manrope", sans-serif; letter-spacing: .08em; }
.hero-side-note span { margin-top: 8px; color: rgba(255,255,255,.55); font: 500 8px/1 "Manrope", sans-serif; letter-spacing: .15em; }
.scroll-label { position: absolute; z-index: 5; bottom: 35px; left: max(24px, calc((100vw - var(--max-width))/2)); display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.65); font: 600 9px/1 "Manrope", sans-serif; letter-spacing: .18em; }
.scroll-label span { width: 40px; height: 1px; background: currentColor; }

.section { padding: 130px 24px; scroll-margin-top: 72px; }
.section-inner { width: min(100%, var(--max-width)); margin: auto; }
.intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(65px, 9vw, 135px); }
.section-heading h2, .split-heading h2, .berrywatch h2, .package-copy h2, .history-heading h2, .location h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.28; letter-spacing: -.045em; font-weight: 600; }
.intro-copy { padding-top: 36px; }
.intro-copy .lead { margin: 0 0 24px; color: var(--ink); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.65; font-weight: 500; }
.intro-copy > p:not(.lead) { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.intro-copy strong { color: var(--red); }
.company-facts { display: grid; grid-template-columns: .8fr .8fr 1.4fr; margin: 52px 0 0; border-top: 1px solid var(--ink); }
.company-facts div { padding: 20px 14px 20px 0; border-bottom: 1px solid var(--line); }
.company-facts dt { margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.company-facts dd { margin: 0; font-size: 15px; font-weight: 600; }

.business { background: var(--warm); }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 64px; }
.split-heading > p { max-width: 470px; justify-self: end; margin: 0; color: var(--muted); line-height: 1.85; }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.business-card { min-height: 410px; padding: 32px; background: var(--paper); border-top: 2px solid var(--ink); transition: transform .3s, box-shadow .3s; }
.business-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(18,25,31,.08); }
.business-number { color: var(--red); font: 600 11px/1 "Manrope", sans-serif; letter-spacing: .1em; }
.icon-wrap { display: grid; place-items: center; width: 68px; height: 68px; margin: 62px 0 34px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 50%; }
.line-icon { width: 38px; height: 38px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.business-card h3 { margin: 0 0 15px; font-size: 23px; font-weight: 600; }
.business-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.berrywatch { padding: 140px 24px; color: var(--white); background: var(--navy); scroll-margin-top: 72px; overflow: hidden; }
.berrywatch-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 7vw, 105px); align-items: center; }
.eyebrow.berry { color: #e8929a; }
.berry-name { margin: 0 0 24px; color: #e8929a; font: 700 20px/1 "Manrope", sans-serif; letter-spacing: .02em; }
.berrywatch-copy > p:not(.eyebrow):not(.berry-name) { margin: 30px 0 0; color: rgba(255,255,255,.63); line-height: 1.9; }
.project-status { display: flex; align-items: center; gap: 12px; margin-top: 35px; color: rgba(255,255,255,.88); font-size: 13px; }
.project-status span { width: 8px; height: 8px; background: #e8929a; border-radius: 50%; box-shadow: 0 0 0 7px rgba(232,146,154,.12); }
.watch-showcase { position: relative; margin: 0; overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.watch-showcase img { width: 100%; aspect-ratio: 1.42/1; object-fit: cover; }
.watch-showcase figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; color: var(--white); background: linear-gradient(transparent, rgba(8,10,13,.8)); font-family: "Manrope", sans-serif; }
.watch-showcase figcaption span { font-size: 13px; font-weight: 700; }
.watch-showcase figcaption small { color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }

.package-section { background: var(--paper); }
.package-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(55px, 8vw, 110px); align-items: center; }
.package-image { position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(22,25,29,.11); }
.package-image img { width: 100%; }
.package-image > span { position: absolute; right: 18px; bottom: 18px; padding: 7px 10px; background: rgba(255,255,255,.9); color: var(--red); font: 600 9px/1 "Manrope", sans-serif; letter-spacing: .12em; }
.package-copy p:last-child { margin: 30px 0 0; color: var(--muted); line-height: 1.9; }

.history { color: var(--white); background: #17191d; }
.history-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px, 10vw, 150px); }
.history-heading { position: sticky; top: 125px; align-self: start; }
.history-heading > p:last-child { margin: 28px 0 0; color: rgba(255,255,255,.5); line-height: 1.8; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.3); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 35px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.timeline li > span { color: #dc7f88; font: 600 13px/1.5 "Manrope", sans-serif; }
.timeline strong { font-size: 19px; font-weight: 600; }
.timeline p { margin: 10px 0 0; color: rgba(255,255,255,.54); font-size: 14px; line-height: 1.75; }

.results { background: var(--warm); }
.milestone-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #cecbc6; border: 1px solid #cecbc6; }
.milestone-card { min-height: 315px; padding: 38px; background: var(--paper); }
.milestone-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 34px; color: var(--red); border: 1px solid rgba(180,63,73,.3); border-radius: 50%; }
.milestone-icon .line-icon { width: 31px; height: 31px; }
.milestone-card > span { color: var(--red); font: 600 11px/1 "Manrope", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.milestone-card h3 { margin: 21px 0 14px; font-size: 22px; font-weight: 600; }
.milestone-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.location { background: var(--paper); }
.location-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(65px, 10vw, 145px); align-items: end; padding: 72px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.location-lead { margin: 31px 0 43px; font-size: 22px; line-height: 1.7; }
.location-details { padding-bottom: 4px; }
.location dl { margin: 0 0 30px; }
.location dl div { display: grid; grid-template-columns: 85px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.location dl div:first-child { border-top: 1px solid var(--line); }
.location dt { color: var(--muted); }
.location dd { margin: 0; font-weight: 500; }

.site-footer { padding: 62px 24px; color: rgba(255,255,255,.65); background: #101114; }
.footer-inner { width: min(100%, var(--max-width)); margin: auto; display: flex; justify-content: space-between; gap: 50px; }
.footer-inner > div:first-child > p { margin: 18px 0 0; font: 500 9px/1 "Manrope", sans-serif; letter-spacing: .14em; }
.footer-meta { text-align: right; font-size: 12px; line-height: 1.5; }
.footer-meta p { margin: 0 0 7px; }
.footer-meta .copyright { margin-top: 24px; color: rgba(255,255,255,.34); font-family: "Manrope", sans-serif; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 900px) {
  .header-inner { width: calc(100% - 36px); height: 68px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 80px 9vw; color: var(--ink); background: var(--paper); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s; }
  .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
  .main-nav a::after { display: none; }
  .hero { height: 760px; min-height: 0; }
  .hero-background { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,15,21,.82), rgba(8,15,21,.26)); }
  .hero-content { width: calc(100% - 40px); padding-top: 68px; justify-content: flex-end; padding-bottom: 120px; }
  .scroll-label { left: 20px; bottom: 30px; }
  .hero-side-note { right: 20px; bottom: 30px; }
  .section { padding: 95px 20px; }
  .intro-grid, .history-grid, .package-grid { grid-template-columns: 1fr; gap: 50px; }
  .location-card { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .intro-copy { padding-top: 0; }
  .business-grid { grid-template-columns: 1fr; }
  .business-card { min-height: 300px; }
  .business-symbol { margin: 45px 0 30px; }
  .berrywatch { padding: 100px 20px; }
  .berrywatch-intro { grid-template-columns: 1fr; gap: 80px; }
  .berrywatch-copy { max-width: 650px; }
  .watch-showcase { max-width: 760px; }
  .package-image { order: 2; }
  .history-heading { position: static; }
  .milestone-grid { grid-template-columns: 1fr 1fr; }
  .milestone-card { min-height: 230px; }
}

@media (max-width: 600px) {
  .mainplatz-logo { flex-basis: 171px; width: 171px; height: 43px; }
  .mainplatz-logo img { width: 171px; }
  .hero { height: 700px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .desktop-only { display: none; }
  .hero-background { object-position: 66% center; }
  .hero-side-note { display: none; }
  .company-facts { grid-template-columns: 1fr; }
  .company-facts div { display: grid; grid-template-columns: 85px 1fr; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 43px; }
  .split-heading > p { justify-self: start; }
  .watch-showcase figcaption small { display: none; }
  .milestone-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 42px 1fr; gap: 10px; }
  .location dl div { grid-template-columns: 72px 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}
