@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@500;600;700&display=swap');

:root {
  --navy: #101e31;
  --navy-soft: #182c44;
  --gold: #e0bc80;
  --ivory: #f7f5ef;
  --muted: #4e5e70;
  --font: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  --display: 'Noto Serif KR', 'Batang', 'AppleMyungjo', serif;
  line-height: 1.75;
  word-break: keep-all;
}

.header-inner, .section-inner, .hero-inner, .footer-inner {
  width: min(1160px, calc(100% - 64px));
}

.brand-mark, .footer-mark {
  font-family: Georgia, serif;
  font-size: 2rem;
  letter-spacing: -.045em;
}

.brand-name { font-size: .75rem; }
.nav a { font-size: .875rem; letter-spacing: 0; }
.nav a[href="#contact"] { border: 1px solid #a4875f; padding: .45rem .8rem; }
.lang { display: none; }

.hero {
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(500px, 66svh, 720px);
  padding-block: clamp(5rem, 10vw, 9rem);
  background: radial-gradient(ellipse at 86% 16%, #2c4663, transparent 60%), #101e31;
}

.hero::after {
  inset: 0 0 0 39%;
  z-index: -1;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  background:
    linear-gradient(90deg, #101e31 2%, transparent 56%),
    linear-gradient(0deg, #101e31 1%, transparent 65%),
    repeating-linear-gradient(125deg, transparent 0 36px, #cbaa742a 37px, transparent 39px 66px),
    repeating-linear-gradient(57deg, transparent 0 58px, #bac9d61d 59px, transparent 61px 98px);
  opacity: .85;
}

.eyebrow {
  color: #795927;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
}
.hero .eyebrow, .contact .eyebrow, .ceo-message .eyebrow { color: var(--gold); }

.hero h1 {
  max-width: 16ch;
  margin: .24em 0 .36em;
  color: #fffdf8;
  font-family: var(--display);
  font-size: clamp(2.45rem, 5.5vw, 5.25rem);
  font-weight: 600;
  line-height: 1.23;
  letter-spacing: -.055em;
}

.hero h1 span { display: block; color: var(--gold); }
.hero-copy { max-width: 34rem; color: #e2e8ee; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { margin-top: 2rem; }
.btn { min-height: 48px; padding: .7rem 1.3rem; border-radius: 4px; }
.section { padding-block: clamp(3.75rem, 7.5vw, 7rem); }
.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.27;
  letter-spacing: -.055em;
}
.about { background: #fff; }
.about-copy, .pending { font-size: 1.0625rem; line-height: 1.85; }

.ceo-message { background: var(--navy); color: #fffdf8; }
.ceo-layout {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.ceo-name { font-size: 1.25rem; margin: 1rem 0 0; }
.ceo-qualification, .ceo-copy p { color: #d6e0eb; }
.ceo-copy .ceo-lead { color: var(--gold); font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 2rem); }
.ceo-portrait {
  display: block;
  width: min(100%, 320px);
  margin-top: 1.4rem;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid #b49460;
  border-radius: 4px;
}

.business, .panel-section-alt { background: var(--ivory); }
.service-grid { gap: 1rem; }
.service-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #dedbd1; border-top: 3px solid #b89358; border-radius: 4px; background: #fff; }
.service-card h3 { font-size: 1.3rem; }
.business-process { border-color: #dedbd1; border-radius: 4px; background: #fff; }
#insights ul { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid #cbc4b6; }
#insights li { border-bottom: 1px solid #cbc4b6; }
#insights details { padding: 1.15rem 0; }
#insights summary { cursor: pointer; font-weight: 700; font-size: 1.125rem; }
#insights details p { color: var(--muted); }
#insights details a { color: #725320; text-underline-offset: .22em; }
.contact { background: var(--navy-soft); }
section[id], h3[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #b99154; outline-offset: 4px; }

@media (max-width: 820px) {
  .header-inner, .section-inner, .hero-inner, .footer-inner { width: calc(100% - 40px); }
  .hero { min-height: 490px; }
  .hero::after { inset-inline-start: 28%; opacity: .55; }
  .nav a[href="#contact"] { display: inline-block; }
}
@media (max-width: 720px) {
  .ceo-layout { grid-template-columns: 1fr; }
  .ceo-portrait { width: min(100%, 275px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Main service and advisory sections */
.business {
  background: #f5f3ee;
}

.business .section-heading {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
}

.service-card {
  min-height: 0;
  padding: clamp(1.4rem, 3.6vw, 2.25rem);
  border: 1px solid #dfd9cc;
  border-top: 3px solid #a47e42;
  border-radius: .375rem;
  box-shadow: 0 8px 22px #101e3107;
}

.service-card h3,
.business-process h3,
#insights summary {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.4;
}

.service-card h3 {
  margin: 0 0 .65rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.service-card p,
.business-process p,
#professionals .business-process li,
#insights details p {
  font-size: 1rem;
  line-height: 1.8;
}

.business-process {
  margin-top: clamp(2.25rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 4vw, 3rem);
}

.business-process h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.business .business-process {
  color: #fffdf8;
  background: var(--navy);
  border-color: var(--navy);
}

.business .business-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
  counter-reset: advisory-step;
}

.business .business-process li {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #a68c61;
  counter-increment: advisory-step;
}

.business .business-process li::before {
  display: block;
  margin-bottom: .55rem;
  color: var(--gold);
  font-weight: 700;
  content: counter(advisory-step, decimal-leading-zero);
}

.business .business-process h4 {
  margin-bottom: .4rem;
  color: #fffdf8;
  font-size: 1.125rem;
}

.business .business-process p { color: #d4deea; }
.business .business-contact-link { color: var(--gold); }

#professionals .pending { max-width: 49rem; }
#professionals .business-process { background: #f7f5ef; }
#professionals .business-process ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.5rem 0;
  padding: 1px;
  list-style: none;
  background: #ded8cb;
}
#professionals .business-process li {
  margin: 0;
  padding: 1.15rem;
  color: var(--muted);
  background: #fff;
}
#professionals .business-process li strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--navy);
  font-size: 1.1rem;
}

#insights details { padding: 0; }
#insights summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem .25rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  list-style: none;
}
#insights summary::-webkit-details-marker { display: none; }
#insights summary::after {
  flex: 0 0 .55rem;
  width: .55rem;
  height: .55rem;
  margin-right: .5rem;
  border: solid #795927;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: '';
}
#insights details[open] summary::after { transform: rotate(225deg); }
#insights details > p { margin: 0 .25rem .75rem; }
#insights details > a { display: inline-block; margin: 0 .25rem 1.4rem; }

.contact-layout { align-items: center; }
.contact .pending { max-width: 43rem; margin: 0; }
.footer-label { font-size: .875rem; }

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .business .business-process ol,
  #professionals .business-process ul { grid-template-columns: 1fr; }
  .contact-layout { gap: 1.5rem; }
}
@media (max-width: 540px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-case-link { display: inline-block; margin-top: 1rem; color: #725320; font-weight: 700; text-underline-offset: .24em; }
.service-cases { margin-top: clamp(2.5rem, 6vw, 5rem); }
.service-cases h3 { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.3rem); }
.case-note { margin: .6rem 0 1.5rem; color: var(--muted); }
.service-cases details { scroll-margin-top: calc(var(--header-height) + 1rem); background: #fff; border-bottom: 1px solid #ded8cb; }
.service-cases details:first-of-type { border-top: 1px solid #ded8cb; }
.service-cases summary { cursor: pointer; padding: 1rem clamp(1rem, 3vw, 1.65rem); }
.case-category { display: inline-block; min-width: 7rem; color: #725320; font-size: .875rem; font-weight: 700; }
.case-title { font-family: var(--display); font-size: 1.16rem; font-weight: 700; }
.service-cases dl { margin: 0; padding: .1rem clamp(1rem, 3vw, 1.65rem) 1.4rem; }
.service-cases dl div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem; padding-block: .8rem; border-top: 1px solid #eee9df; }
.service-cases dt { font-weight: 700; }
.service-cases dd { margin: 0; color: var(--muted); line-height: 1.8; }
@media (max-width: 620px) {
  .case-title { display: block; margin-top: .3rem; }
  .service-cases dl div { grid-template-columns: 1fr; gap: .2rem; }
}

/* Consultation contact */
.contact-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 6vw, 5rem); }
.contact-intro > p:not(.eyebrow), .contact-intro ul { color: #e2e8ee; line-height: 1.8; }
.contact-intro h3 { margin: 1.6rem 0 .5rem; color: #fffdf8; font-size: 1.125rem; }
.contact-intro ul { margin: 0; padding-inline-start: 1.3rem; }
.contact-intro li + li { margin-top: .35rem; }
.contact-card { padding: clamp(1.35rem, 4vw, 2.5rem); border: 1px solid #c9af81; border-radius: .375rem; background: #fffdf8; color: var(--navy); }
.contact-card h3 { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.contact-desk { margin: .35rem 0 1rem; color: var(--muted); }
.contact-phone { color: inherit; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; text-decoration-color: #a47e42; text-underline-offset: .15em; }
.contact-email { margin: .25rem 0 1.25rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-note { margin: .75rem 0 0; color: var(--muted); font-size: .875rem; }
@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.footer-resource { justify-self: end; max-width: 28rem; }
.footer-resource .footer-label { margin: 0 0 .4rem; color: var(--gold); }
.footer .footer-resource-link {
  display: inline-block;
  margin-top: .8rem;
  padding: .45rem .85rem;
  border: 1px solid #b89a66;
  border-radius: .25rem;
}
.footer-resource-link span { font-size: .875rem; font-weight: 400; }
@media (max-width: 820px) {
  .footer-resource { justify-self: start; }
}

.news-section { background: #fff; }
.news-intro { max-width: 44rem; color: var(--muted); }
.news-list { margin: 1.5rem 0; padding: 0; list-style: none; border-top: 1px solid #ded8cb; }
.news-list li { padding: 1rem 0; border-bottom: 1px solid #ded8cb; }
.news-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--muted); font-size: .875rem; }
.news-list a { color: var(--navy); font-weight: 700; font-size: 1.125rem; text-underline-offset: .2em; }
.news-source { display: inline-block; margin-top: .75rem; color: #725320; font-weight: 700; text-underline-offset: .2em; }

.about { background: #f7f5ef; }
.about-layout {
  grid-template-columns: minmax(11rem, .65fr) minmax(0, 1.55fr);
  gap: clamp(1.75rem, 6vw, 6rem);
  align-items: start;
}
.about-heading { padding-top: .5rem; }
.about-heading .ceo-link,
.about-services-link {
  display: inline-block;
  color: #725320;
  font-weight: 700;
  text-underline-offset: .24em;
}
.about-story {
  padding: clamp(1.4rem, 4.6vw, 3.25rem);
  color: var(--muted);
  background: #fff;
  border: 1px solid #e0dace;
  border-left: 3px solid #a47e42;
  border-radius: .375rem;
  box-shadow: 0 12px 32px #101e3108;
}
.about-story .about-copy {
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.45;
}
.about-story > p { margin: 0 0 .8rem; line-height: 1.85; }
.about-services-link { margin-top: .35rem; }
@media (max-width: 720px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-heading { padding-top: 0; }
}
