:root {
  --navy: #071a3d;
  --navy-2: #10295a;
  --ink: #14213d;
  --gold: #d9ad32;
  --gold-soft: #f5e8bd;
  --ice: #f3f6fb;
  --line: #d8e0ed;
  --muted: #68748a;
  --white: #fff;
  --shadow: 0 24px 60px rgba(7, 26, 61, .14);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", "Noto Sans KR", serif; line-height: 1.08; letter-spacing: -.035em; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 120px; }
.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; left: 18px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--navy); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 18px; }
.kicker, .eyebrow { margin-bottom: 20px; color: #a17b18; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.kicker.light { color: #e4c35e; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 84px; color: var(--white); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(7, 26, 61, .96); box-shadow: 0 12px 30px rgba(0,0,0,.14); backdrop-filter: blur(10px); }
.header-inner { height: 100%; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; width: 155px; background: #fff; padding: 8px 10px; border-radius: 2px; overflow: hidden; }
.brand img { width: 100%; height: 45px; object-fit: contain; transform: scale(1.34); }
section[id] { scroll-margin-top: 96px; }
.main-nav { justify-self: end; display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 600; }
.main-nav a { position: relative; opacity: .88; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--gold); transition: right .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.55); padding: 8px 15px; }
.language-switcher { display: flex; align-items: center; gap: 2px; border-left: 1px solid rgba(255,255,255,.28); padding-left: 18px; }
.lang-btn { border: 0; background: transparent; color: rgba(255,255,255,.56); padding: 5px 7px; font-size: .72rem; font-weight: 700; cursor: pointer; }
.lang-btn.active { color: var(--gold); }
.menu-toggle { display: none; background: transparent; border: 0; width: 38px; height: 38px; padding: 7px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.hero { position: relative; min-height: 800px; height: 100vh; max-height: 980px; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url("./assets/tax-hero.jpg") center right / cover no-repeat; transform: scale(1.03); animation: heroIn 1.4s ease-out both; }
.hero-overlay { background: linear-gradient(90deg, rgba(7,26,61,.98) 0%, rgba(7,26,61,.9) 44%, rgba(7,26,61,.22) 82%), linear-gradient(0deg, rgba(7,26,61,.72), transparent 34%); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.eyebrow { color: #e8c759; }
.hero h1 { max-width: 810px; margin-bottom: 30px; font-size: clamp(3.2rem, 6.4vw, 6.7rem); }
[lang="ko"] .hero h1 { max-width: 980px; font-size: clamp(3.1rem, 5vw, 5.25rem); line-height: 1.16; word-break: keep-all; }
.hero-copy { max-width: 680px; margin-bottom: 38px; color: rgba(255,255,255,.77); font-size: 1.12rem; line-height: 1.75; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; font-size: .88rem; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: #edc552; }
.button-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.button-ghost:hover { background: #fff; color: var(--navy); }
.button-navy { background: var(--navy); color: #fff; }
.hero-rail { position: absolute; z-index: 3; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(7, 26, 61, .86); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.17); }
.hero-rail > div { min-height: 112px; padding: 22px 30px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-rail > div:last-child { border-right: 0; }
.hero-rail strong { color: var(--gold); font-family: "Playfair Display", serif; font-size: 2rem; }
.hero-rail span { color: rgba(255,255,255,.7); font-size: .78rem; line-height: 1.4; }

.intro { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; }
.section-lead { position: sticky; top: 120px; align-self: start; }
.section-lead h2, .services-heading h2, .process h2, .academy h2, .people h2, .track-record h2, .insights h2, .contact h2 { font-size: clamp(2.6rem, 4.5vw, 4.8rem); }
.intro-large { margin-bottom: 50px; color: #34425d; font-size: 1.35rem; line-height: 1.7; }
.proof-grid { border-top: 1px solid var(--line); }
.proof-grid article { display: grid; grid-template-columns: 50px 170px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.proof-number { color: #ad841e; font-family: "Playfair Display", serif; }
.proof-grid h3 { margin-bottom: 0; font-size: 1rem; }
.proof-grid p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.services { background: var(--navy); color: #fff; }
.services-heading, .people-heading, .track-heading, .insights-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.services-heading > p, .track-heading > p, .people-heading > p { color: rgba(255,255,255,.64); font-size: 1.04rem; }
.people-heading > p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.service-card { min-height: 360px; padding: 34px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .25s, transform .25s; }
.service-card:hover { background: rgba(255,255,255,.055); transform: translateY(-4px); }
.service-card.featured { background: var(--gold); color: var(--navy); }
.service-index { color: var(--gold); font-size: .72rem; letter-spacing: .18em; }
.featured .service-index { color: var(--navy); }
.service-card h3 { margin: 42px 0 18px; font-family: "Playfair Display", "Noto Sans KR", serif; font-size: 1.62rem; line-height: 1.25; }
.service-card p { color: rgba(255,255,255,.62); font-size: .9rem; }
.featured p { color: rgba(7,26,61,.72); }
.text-link { border: 0; background: transparent; padding: 0; display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.service-card .text-link { margin-top: auto; align-self: start; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px,-3px); }

.process { display: grid; grid-template-columns: .88fr 1.12fr; gap: 110px; align-items: center; }
.process-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #f9fbff 0 28%, transparent 29%), repeating-radial-gradient(circle, transparent 0 18%, rgba(16,41,90,.09) 18.2% 18.5%); overflow: hidden; }
.orbit { position: absolute; width: 17px; height: 17px; border: 4px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 8px rgba(217,173,50,.16); }
.orbit-a { left: 19%; top: 24%; }
.orbit-b { right: 14%; bottom: 28%; width: 11px; height: 11px; }
.process-center { width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow); }
.process-center small { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; }
.process-center strong { max-width: 130px; margin-top: 8px; font-family: "Playfair Display", serif; font-size: 1.3rem; line-height: 1.25; }
.process-list { margin-top: 48px; border-top: 1px solid var(--line); }
.process-list article { border-bottom: 1px solid var(--line); }
.process-list button { width: 100%; padding: 18px 0; border: 0; background: transparent; display: grid; grid-template-columns: 46px 1fr; text-align: left; cursor: pointer; }
.process-list button span { color: #ad841e; font-size: .72rem; }
.process-list button strong { font-size: 1rem; }
.process-list p { max-height: 0; overflow: hidden; margin: 0 0 0 46px; color: var(--muted); opacity: 0; transition: max-height .35s, opacity .25s, margin .35s; }
.process-list .active p { max-height: 150px; margin-bottom: 22px; opacity: 1; }

.academy { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; background: var(--navy-2); color: #fff; }
.academy-image { min-height: 540px; overflow: hidden; }
.academy-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.academy-content { padding: 100px clamp(48px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.academy-content > p:not(.kicker) { max-width: 620px; color: rgba(255,255,255,.68); }
.academy-detail { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 5px; }
.academy-detail span { color: var(--gold); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

.people-heading { align-items: end; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.person-card { display: grid; grid-template-columns: 42% 58%; min-height: 420px; background: var(--ice); }
.person-image { overflow: hidden; }
.person-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.78); transition: transform .5s, filter .5s; }
.person-card:hover img { transform: scale(1.025); filter: saturate(1); }
.person-info { padding: 38px 34px; }
.role { color: #a37a14; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.person-info h3 { margin-bottom: 18px; font-family: "Playfair Display", "Noto Sans KR", serif; font-size: 1.55rem; line-height: 1.25; }
.person-info h3 span { display: block; margin-top: 4px; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: .76rem; font-weight: 500; }
.person-info > p:not(.role), .person-info li { color: var(--muted); font-size: .84rem; }
.person-info ul { margin: 24px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.person-info li + li { margin-top: 8px; }

.track-record { background: #0d234f; color: #fff; }
.track-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.track-list article { padding: 30px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.18); }
.track-list article:not(:first-child) { padding-left: 28px; }
.track-list article:last-child { border-right: 0; }
.track-list span { color: var(--gold); font-size: .72rem; }
.track-list h3 { margin: 24px 0 16px; font-family: "Playfair Display", "Noto Sans KR", serif; font-size: 1.35rem; }
.track-list p { color: rgba(255,255,255,.6); font-size: .85rem; }
.client-note { margin: 55px 0 0; padding: 24px 28px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.74); font-size: .85rem; }

.insights-heading { align-items: end; }
.external { justify-self: end; color: var(--navy); }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.insight-card { position: relative; min-height: 330px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, color .25s; }
.insight-card:hover { background: var(--navy); color: #fff; }
.tag { color: #a07815; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.insight-card h3 { margin: 55px 0 18px; font-family: "Playfair Display", "Noto Sans KR", serif; font-size: 1.45rem; line-height: 1.35; }
.insight-card p { color: var(--muted); font-size: .86rem; }
.insight-card:hover p { color: rgba(255,255,255,.68); }
.read-arrow { position: absolute; right: 28px; bottom: 24px; color: var(--gold); font-size: 1.25rem; }
.disclaimer { margin: 24px 0 0; color: var(--muted); font-size: .76rem; }

.contact { padding-block: 120px; background: var(--navy); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: 100px; align-items: end; }
.contact-copy > p:not(.kicker) { max-width: 650px; color: rgba(255,255,255,.68); }
.contact-actions { margin-top: 36px; }
.contact-card { padding: 42px; border: 1px solid rgba(255,255,255,.18); font-style: normal; }
.contact-card > div + div { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-card span { display: block; margin-bottom: 7px; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.contact-card p, .contact-card a { margin: 0; color: rgba(255,255,255,.75); font-size: .9rem; }
.contact-card a { display: block; }

footer { padding-block: 30px; background: #050f24; color: rgba(255,255,255,.56); font-size: .78rem; }
.footer-inner { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 30px; }
.footer-inner img { width: 135px; padding: 7px 9px; background: #fff; transform: scale(1.1); }
.footer-inner p { margin-bottom: 0; }
.floating-wa { position: fixed; z-index: 45; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.24); font-weight: 800; font-size: .78rem; transition: transform .2s; }
.floating-wa:hover { transform: translateY(-3px) scale(1.03); }

.service-dialog { width: min(620px, calc(100% - 32px)); padding: 56px; border: 0; color: var(--ink); box-shadow: var(--shadow); }
.service-dialog::backdrop { background: rgba(4, 13, 31, .78); backdrop-filter: blur(4px); }
.service-dialog h2 { font-size: 2.5rem; }
.service-dialog > p:not(.kicker) { color: var(--muted); }
.service-dialog ul { margin: 26px 0 34px; padding-left: 20px; color: #34425d; }
.service-dialog li + li { margin-top: 8px; }
.dialog-close { position: absolute; top: 18px; right: 22px; border: 0; background: transparent; font-size: 1.9rem; cursor: pointer; }

@keyframes heroIn { from { transform: scale(1.1); opacity: .3; } to { transform: scale(1.03); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 150px 1fr auto; gap: 20px; }
  .brand { width: 142px; }
  .main-nav { gap: 18px; }
  .intro, .process { gap: 58px; }
  .proof-grid article { grid-template-columns: 42px 140px 1fr; }
  .service-card { padding: 28px; }
  .person-card { grid-template-columns: 40% 60%; }
  .person-info { padding: 30px 25px; }
}

@media (max-width: 850px) {
  .section { padding-block: 84px; }
  .site-header { height: 74px; background: rgba(7,26,61,.96); }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .language-switcher { grid-column: 3; grid-row: 1; }
  .main-nav { position: fixed; inset: 74px 0 0; padding: 55px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; background: var(--navy); transform: translateX(100%); transition: transform .3s; font-size: 1.3rem; }
  .menu-open .main-nav { transform: translateX(0); }
  .nav-cta { margin-top: 15px; }
  .hero { min-height: 850px; height: auto; padding: 130px 0 220px; }
  .hero h1 { font-size: clamp(3rem, 10vw, 5.2rem); }
  [lang="ko"] .hero h1 { font-size: clamp(2.8rem, 8vw, 4.4rem); }
  .hero-rail { grid-template-columns: 1fr 1fr; }
  .hero-rail > div { min-height: 94px; }
  .intro, .process, .contact-grid { grid-template-columns: 1fr; }
  .section-lead { position: static; }
  .services-heading, .people-heading, .track-heading, .insights-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-visual { width: min(500px, 100%); margin-inline: auto; }
  .academy { grid-template-columns: 1fr; }
  .academy-image { min-height: 460px; }
  .academy-content { padding: 80px 48px; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { min-height: 400px; }
  .track-list { grid-template-columns: 1fr 1fr; }
  .track-list article:nth-child(2) { border-right: 0; }
  .track-list article:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-card { min-height: 270px; }
  .external { justify-self: start; }
}

@media (max-width: 580px) {
  .shell { width: min(100% - 32px, 1180px); }
  .brand { width: 125px; }
  .language-switcher { padding-left: 6px; border-left: 0; }
  .lang-btn { padding-inline: 5px; }
  .hero { min-height: 880px; padding-bottom: 235px; }
  .hero-image { background-position: 68% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,26,61,.97), rgba(7,26,61,.67)); }
  .hero h1 { font-size: 2.9rem; }
  [lang="ko"] .hero h1 { font-size: 2.55rem; }
  .hero-copy { font-size: .98rem; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .hero-rail { width: 100%; grid-template-columns: 1fr 1fr; }
  .hero-rail > div { padding: 16px; grid-template-columns: auto 1fr; gap: 10px; }
  .hero-rail strong { font-size: 1.45rem; }
  .hero-rail span { font-size: .68rem; }
  .section-lead h2, .services-heading h2, .process h2, .academy h2, .people h2, .track-record h2, .insights h2, .contact h2 { font-size: 2.55rem; }
  .intro-large { font-size: 1.12rem; }
  .proof-grid article { grid-template-columns: 38px 1fr; }
  .proof-grid p { grid-column: 2; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .academy-image { min-height: 340px; }
  .academy-content { padding: 68px 26px; }
  .person-card { grid-template-columns: 1fr; }
  .person-image { height: 330px; }
  .track-list { grid-template-columns: 1fr; }
  .track-list article, .track-list article:not(:first-child) { padding: 28px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .track-list article:first-child { border-top: 0; }
  .contact { padding-block: 84px; }
  .contact-card { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .service-dialog { padding: 46px 28px 32px; }
}
