:root {
  font-family: "Noto Sans KR";
  color: #004A89;
  background: #F7F9F8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --navy: #004A89;
  --paper: #F7F9F8;
  --white: #FFFFFF;
  --navy-92: rgba(0, 74, 137, 0.92);
  --navy-78: rgba(0, 74, 137, 0.78);
  --navy-58: rgba(0, 74, 137, 0.58);
  --navy-34: rgba(0, 74, 137, 0.34);
  --navy-18: rgba(0, 74, 137, 0.18);
  --navy-10: rgba(0, 74, 137, 0.10);
  --navy-06: rgba(0, 74, 137, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; overflow-anchor: none; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--navy); }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
::selection { color: var(--white); background: var(--navy); }

.site-header {
  position: sticky; top: 0; z-index: 25;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--navy-10);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1320px, calc(100% - 64px)); min-height: 86px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { display: block; width: 52px; height: 52px; object-fit: contain; }
.brand-wordmark { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; font-size: 15px; font-weight: 800; letter-spacing: .18em; }
.brand-wordmark span { font-size: 11px; font-weight: 600; letter-spacing: .22em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 48px); margin-left: auto; }
.primary-nav a {
  position: relative; padding: 12px 0; text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: .13em;
}
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 0; height: 1px; background: var(--navy); transition: width .25s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { width: 100%; }
.primary-nav a + a::before { content: "·"; position: absolute; left: clamp(-22px, -1.3vw, -12px); top: 50%; transform: translateY(-50%); color: var(--navy-58); font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.language-switch { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11px; color: var(--navy-58); }
.language-switch button { border: 0; padding: 4px 1px; background: transparent; cursor: pointer; font-size: 11px; color: var(--navy-58); }
.language-switch button.is-active { color: var(--navy); font-weight: 800; }
.menu-toggle { display: none; }

.hero { position: relative; height: min(800px, calc(100svh - 120px)); min-height: 650px; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy); }
.hero-images { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; transform-origin: center; opacity: 0; transition: opacity 1.2s ease; will-change: opacity, transform; }
.hero-image.is-active { opacity: 1; animation: hero-drift 20s ease-in-out infinite alternate; }
@keyframes hero-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1%, .6%, 0); }
}
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(0, 74, 137, .80) 0%, rgba(0, 74, 137, .60) 36%, rgba(0, 74, 137, .16) 77%, rgba(0, 74, 137, .16) 100%), linear-gradient(0deg, rgba(0, 74, 137, .88) 0%, rgba(0, 74, 137, .08) 46%, rgba(0, 74, 137, .12) 100%); }
.hero-inner { position: relative; width: min(1320px, calc(100% - 64px)); height: 100%; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: clamp(74px, 10vh, 122px) 0 80px; }
.hero-copy { max-width: 800px; }
.hero-rule { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; font-size: 10px; font-weight: 700; letter-spacing: .28em; color: rgba(255,255,255,.83); }
.hero-rule span:first-child { width: 35px; height: 1px; background: rgba(255,255,255,.78); }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(64px, 8.1vw, 112px); font-weight: 700; line-height: .99; letter-spacing: -.065em; }
.hero-line { display: block; overflow: hidden; }
.hero-line-text { display: block; transform: translateY(112%); opacity: 0; }
.hero-line-light .hero-line-text { font-weight: 400; letter-spacing: -.055em; }
.hero-copy.is-entering .hero-line-text { animation: hero-line-rise .75s cubic-bezier(.2,.72,.24,1) both; }
.hero-copy.is-entering .hero-line:nth-of-type(2) .hero-line-text { animation-delay: .15s; }
@keyframes hero-line-rise { to { transform: translateY(0); opacity: 1; } }
.hero-edge { position: absolute; top: 50%; right: 23px; display: flex; gap: 10px; align-items: center; transform: translateY(-50%) rotate(90deg); transform-origin: right center; font-size: 8px; letter-spacing: .18em; color: rgba(255,255,255,.72); }
.hero-edge span:first-child { font-weight: 700; }

.content-section { scroll-margin-top: 86px; }
.section-band { background: var(--white); border-bottom: 1px solid var(--navy-10); border-top: 1px solid var(--navy-10); }
.section-band-inner { width: min(1320px, calc(100% - 64px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.section-band-inner > span:first-child { font-size: 10px; font-weight: 600; letter-spacing: .15em; color: var(--navy-58); }
.section-band h2 { position: relative; margin: 0; padding: 6px 0 9px; font-size: 23px; font-weight: 800; letter-spacing: .20em; line-height: 1; }
.section-band h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--navy); }
.band-line { flex: 1; height: 1px; margin-left: 10px; background: var(--navy-18); }
.section-band-navy { background: var(--navy); color: var(--white); border-color: rgba(255,255,255,.2); }
.section-band-navy .section-band-inner > span:first-child { color: rgba(255,255,255,.65); }
.section-band-navy h2::after, .section-band-navy .band-line { background: rgba(255,255,255,.75); }
.section-container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.section-overline { margin: 0 0 18px; font-size: 9px; font-weight: 700; letter-spacing: .24em; color: var(--navy-58); }

.company-section { background: var(--paper); }
.company-layout { display: grid; grid-template-columns: minmax(250px, .77fr) 1.4fr; gap: clamp(44px, 8vw, 120px); padding-top: 110px; padding-bottom: 122px; }
.company-mark-block { padding-top: 9px; }
.company-mark { margin: 26px 0 18px; font-size: clamp(48px, 6vw, 72px); line-height: .96; font-weight: 700; letter-spacing: .14em; }
.company-mark span { font-size: .44em; letter-spacing: .29em; }
.mark-underline { display: block; width: 68px; height: 3px; background: var(--navy); }
.company-copy { padding-top: 1px; }
.company-copy p { margin: 0 0 23px; font-size: 15px; line-height: 1.95; font-weight: 400; color: var(--navy-92); }
.company-korean-title { margin: 0 0 20px; font-size: 19px; line-height: 1.5; font-weight: 700; letter-spacing: .015em; }
.company-facts { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; margin-top: 29px; border-top: 1px solid var(--navy-18); }
.company-facts p { margin: 0; font-size: 12px; line-height: 1.8; color: var(--navy-78); }
.company-facts p span, .contact-item p span { font-weight: 700; color: var(--navy); }
.korean-placeholder { margin: 0; min-height: 300px; display: flex; align-items: flex-start; padding-top: 2px; font-size: 18px; color: var(--navy-78); }
[hidden] { display: none !important; }

.team-section { background: var(--white); padding-bottom: 122px; }
.team-heading-row { display: flex; align-items: center; justify-content: space-between; padding: 65px 0 25px; }
.team-heading-row .section-overline { margin: 0; }
.team-count { font-size: 10px; letter-spacing: .16em; color: var(--navy-58); }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; }
.team-card { min-width: 0; border-top: 4px solid #111; background: var(--paper); }
.team-card-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; padding: 22px 5px 19px; background: transparent; color: var(--navy); text-align: left; cursor: pointer; }
.team-card-toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.team-card-heading { min-width: 0; display: grid; gap: 3px; }
.team-member-name { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.team-member-role { font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; font-weight: 600; }
.team-member-english { margin-top: 4px; font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: .12em; color: var(--navy-58); }
.team-card-plus { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--navy-18); border-radius: 50%; font-size: 26px; line-height: 1; font-weight: 300; color: var(--navy); }
.team-card-toggle:hover .team-card-plus { border-color: var(--navy); }
.team-bio { padding: 19px 54px 20px 5px; border-top: 1px solid var(--navy-18); }
.team-bio-list { margin: 0; padding-left: 18px; color: var(--navy-78); }
.team-bio-list li { padding-left: 3px; margin: 0 0 9px; font-size: 13px; line-height: 1.75; }
.team-bio-list li:last-child { margin-bottom: 0; }
.team-bio-list li::marker { color: var(--navy-58); font-size: 10px; }

.portfolio-section { background: var(--navy); color: var(--white); }
.portfolio-section .section-band-inner { color: var(--white); }
.portfolio-container { padding-top: 92px; padding-bottom: 108px; }
.portfolio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.portfolio-card { min-width: 0; min-height: 345px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 32px 34px; border: 1px solid rgba(255,255,255,.55); background: var(--white); color: var(--navy); }
.portfolio-logo-space { min-height: 220px; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.portfolio-logo { display: block; width: auto; height: auto; max-width: min(100%, 420px); max-height: 100px; object-fit: contain; }
.portfolio-card p { margin: 0; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.5; font-weight: 700; letter-spacing: .01em; }

.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(40px, 8vw, 112px); padding-top: 105px; padding-bottom: 118px; }
.contact-details { padding-top: 7px; }
.contact-details .section-overline { margin-bottom: 30px; }
.contact-directions { font-size: 20px; font-weight: 700; letter-spacing: 0; color: #004A89; }
.contact-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--navy-18); }
.contact-item:last-child { border-bottom: 1px solid var(--navy-18); }
.contact-number { font-size: 10px; letter-spacing: .13em; color: var(--navy-58); }
.contact-item p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--navy-78); }
.map-placeholder { position: relative; height: 360px; min-height: 300px; display: grid; place-items: center; border: 1px solid var(--navy-18); background: var(--white); overflow: hidden; }
.map-placeholder.map-link-only { height: auto; min-height: 0; display: flex; align-items: flex-end; justify-content: flex-end; border: 0; background: transparent; overflow: visible; }
.map-placeholder.map-link-only .naver-map-link { position: static; }
.google-map-embed { display: block; grid-area: 1 / 1; width: 100%; height: 100%; min-height: 300px; border: 0; }
.naver-map-link { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--navy); background: var(--white); color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.naver-map-link:hover, .naver-map-link:focus-visible, .google-map-link:hover, .google-map-link:focus-visible { color: var(--white); background: var(--navy); }
.google-map-link { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--navy); background: var(--white); color: var(--navy); font-size: 12px; font-weight: 700; text-decoration: none; }

.site-footer { color: var(--white); background: var(--navy); }
.footer-inner { width: min(1320px, calc(100% - 64px)); min-height: 98px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { color: var(--white); }
.footer-brand img { display: block; width: 44px; height: 44px; object-fit: contain; border: 1px solid rgba(255,255,255,.55); }
.footer-brand span { font-size: 12px; font-weight: 700; letter-spacing: .19em; }
.footer-brand b { margin-left: 4px; font-size: 9px; letter-spacing: .20em; }
.back-to-top { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); text-decoration: none; font-size: 18px; line-height: 1; }
.footer-bottom { min-height: 42px; padding: 0 max(32px, calc((100% - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.18); font-size: 9px; letter-spacing: .12em; color: rgba(255,255,255,.7); }

@media (max-width: 1050px) {
  .header-inner { width: min(100% - 40px, 1320px); gap: 18px; }
  .brand-wordmark { font-size: 13px; gap: 6px; }
  .brand-wordmark span { font-size: 9px; }
  .primary-nav { gap: 20px; }
  .header-actions { gap: 12px; }
  .hero-edge { display: none; }
  .section-band-inner { width: calc(100% - 48px); }
}

@media (min-width: 1200px) {
  .primary-nav { gap: clamp(26px, 2.2vw, 42px); }
  .brand-wordmark { font-size: clamp(26px, 1.45vw, 30px); }
  .brand-wordmark span { font-size: clamp(19px, 1.1vw, 22px); }
  .primary-nav a { font-size: clamp(18.5px, 1.05vw, 21px); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .header-inner { width: calc(100% - 32px); min-height: 70px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .brand-wordmark { display: block; font-size: 12px; letter-spacing: .12em; }
  .brand-wordmark span { display: block; margin-top: 2px; font-size: 8px; letter-spacing: .22em; }
  .header-actions { gap: 10px; }
  .language-switch { gap: 4px; font-size: 10px; }
  .language-switch button { font-size: 10px; }
  .menu-toggle { width: 32px; height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; padding: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--navy); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; background: var(--white); border-bottom: 1px solid var(--navy-18); box-shadow: 0 14px 24px rgba(0,74,137,.08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-10); font-size: 11px; }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a + a::before { display: none; }
  .primary-nav a::after { display: none; }
  .hero { height: calc(100svh - 104px); min-height: 660px; max-height: 850px; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(0, 74, 137, .62), rgba(0, 74, 137, .16)), linear-gradient(0deg, rgba(0, 74, 137, .92) 0%, rgba(0, 74, 137, .49) 49%, rgba(0, 74, 137, .15) 100%); }
  .hero-inner { width: calc(100% - 36px); padding: clamp(64px, 10vh, 92px) 0 32px; }
  .hero-rule { margin-bottom: 18px; font-size: 9px; letter-spacing: .22em; }
  .hero-rule span:first-child { width: 25px; }
  .hero h1 { font-size: clamp(53px, 12.5vw, 76px); line-height: 1.02; letter-spacing: -.065em; }
  .section-band-inner { width: calc(100% - 36px); min-height: 64px; gap: 12px; }
  .section-band-inner > span:first-child { font-size: 9px; }
  .section-band h2 { font-size: 18px; letter-spacing: .17em; }
  .band-line { margin-left: 3px; }
  .section-container { width: calc(100% - 36px); }
  .company-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 62px; padding-bottom: 72px; }
  .company-mark { margin: 16px 0 13px; font-size: 54px; }
  .company-copy p { margin-bottom: 18px; font-size: 13px; line-height: 1.9; }
  .company-korean-title { margin-bottom: 16px; font-size: 16px; }
  .company-facts { padding-top: 17px; margin-top: 22px; }
  .company-facts p { font-size: 11px; }
  .korean-placeholder { min-height: 220px; font-size: 15px; }
  .team-section { padding-bottom: 76px; }
  .team-heading-row { padding: 43px 0 18px; }
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-card-toggle { gap: 12px; padding: 19px 2px 16px; }
  .team-member-name { font-size: 18px; }
  .team-member-role { font-size: 15px; }
  .team-member-english { font-size: 8px; letter-spacing: .08em; }
  .team-card-plus { width: 36px; height: 36px; flex-basis: 36px; font-size: 23px; }
  .team-bio { padding: 16px 8px 18px 2px; }
  .team-bio-list li { margin-bottom: 8px; font-size: 11px; line-height: 1.68; }
  .portfolio-container { padding-top: 54px; padding-bottom: 66px; }
  .portfolio-cards { grid-template-columns: 1fr; gap: 14px; }
  .portfolio-card { min-height: 260px; padding: 23px 22px 25px; }
  .portfolio-logo-space { min-height: 155px; }
  .portfolio-card p { font-size: 16px; line-height: 1.6; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 62px; padding-bottom: 72px; }
  .contact-details .section-overline { margin-bottom: 20px; }
  .contact-directions { font-size: 18px; }
  .contact-item { grid-template-columns: 28px 1fr; gap: 8px; padding: 16px 0; }
  .contact-item p { font-size: 11px; }
  .map-placeholder { height: 238px; min-height: 238px; }
  .google-map-embed { min-height: 238px; }
  .naver-map-link { min-height: 42px; font-size: 12px; }
  .footer-inner { width: calc(100% - 36px); min-height: 94px; gap: 12px; }
  .footer-brand { gap: 8px; }
  .footer-brand img { width: 37px; height: 37px; }
  .footer-brand span { font-size: 9px; letter-spacing: .14em; }
  .footer-brand b { display: block; margin: 3px 0 0; font-size: 7px; }
  .back-to-top { width: 30px; height: 30px; flex: 0 0 auto; }
  .footer-bottom { min-height: 38px; padding: 0 18px; font-size: 8px; letter-spacing: .08em; }
}

@media (max-width: 360px) {
  .header-inner { width: calc(100% - 24px); gap: 6px; }
  .brand { gap: 6px; }
  .brand img { width: 34px; height: 34px; }
  .brand-wordmark { font-size: 10px; }
  .brand-wordmark span { font-size: 7px; }
  .header-actions { gap: 6px; }
  .menu-toggle { width: 26px; }
  .hero-inner { width: calc(100% - 28px); }
}

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