:root {
  --paper: #f4f3ed;
  --paper-2: #ecebe3;
  --ink: #101713;
  --muted: #6f756f;
  --green: #18372b;
  --green-2: #426d59;
  --taupe: #9a7b5f;
  --line: #d8d8cf;
  --white: #fffef8;
  --shadow: 0 20px 54px rgba(24, 55, 43, .12);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 99; padding: 12px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { width: 190px; flex: 0 0 auto; }
.brand-lockup { width: 190px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; }
.site-header nav a { position: relative; padding: 30px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 1px; background: var(--green); transition: right .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { right: 0; }

.breadcrumb { width: min(1180px, calc(100% - 48px)); margin: 18px auto 0; display: flex; gap: 8px; color: var(--muted); font-size: 12px; }
.breadcrumb b { font-weight: 400; color: #aaa99f; }

main { overflow: clip; }
.editorial-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 56px;
}
.editorial-hero > aside {
  padding-right: 34px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 760px;
}
.editorial-hero aside i, .content-section header i {
  color: var(--green-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .01em;
}
.editorial-hero aside p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 18px 0 0; }
.editorial-hero aside p:last-child { margin-top: auto; color: var(--ink); }
.hero-main { width: min(100%, 720px); }
.eyebrow { margin: 0 0 15px; color: var(--taupe); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-main h1 { margin: 0; max-width: 700px; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.055em; word-break: keep-all; }
.hero-main > strong { display: block; margin-top: 14px; color: var(--green-2); font-size: 22px; }
.hero-main > p { margin: 25px 0 0; color: #545a55; line-height: 1.9; font-size: 15px; }
.hero-main figure { margin: 34px 0 0; width: min(100%, 600px); border: 9px solid var(--white); box-shadow: var(--shadow); }
.hero-main figure > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; clip-path: none; mask: none; transform: none; }
.hero-main figcaption { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 1px solid var(--line); }
.hero-main figcaption span { min-width: 0; padding: 15px 14px 17px; border-right: 1px solid var(--line); }
.hero-main figcaption span:last-child { border-right: 0; }
.hero-main figcaption small { display: block; margin-bottom: 8px; color: #8a8e88; font-size: 9px; letter-spacing: .08em; }
.hero-main figcaption b { display: block; color: var(--green-2); font-size: 13px; word-break: keep-all; }
.hero-actions { display: flex; gap: 10px; margin-top: 22px; }
.solid-button, .line-button, .closing a, .not-found a { min-height: 48px; padding: 14px 21px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--green); font-size: 13px; font-weight: 800; }
.solid-button { color: white; background: var(--green); }
.line-button { background: var(--white); }

.marquee { margin: 0; border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.marquee > div { min-width: max-content; display: flex; animation: marquee 34s linear infinite; }
.marquee a { padding: 16px 34px; color: var(--muted); font-size: 11px; border-right: 1px solid var(--line); }
.marquee a:nth-child(3n + 1) { color: var(--green-2); font-weight: 800; }
@keyframes marquee { to { transform: translateX(-50%); } }

.content-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 92px 0; border-bottom: 1px solid var(--line); }
.content-section > header { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 46px; align-items: end; margin-bottom: 38px; }
.content-section > header i { grid-row: 1 / span 2; align-self: start; }
.content-section > header h2 { margin: 0; font-size: clamp(31px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; word-break: keep-all; }
.content-section > header p { margin: 13px 0 0; color: var(--muted); line-height: 1.75; font-size: 14px; }

.area-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.area-list li { border-bottom: 1px solid var(--line); }
.area-list a { min-height: 78px; display: grid; grid-template-columns: 180px minmax(0, 1fr) 54px; align-items: center; gap: 24px; }
.area-list b { color: var(--green-2); font-size: 17px; }
.area-list span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.area-list em { color: var(--taupe); font-style: normal; font-size: 11px; text-align: right; }
.area-list a:hover b, .area-list a:focus-visible b { color: var(--ink); }

.course-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.course-grid article { min-height: 315px; padding: 26px 22px; background: var(--white); border-top: 4px solid var(--green-2); display: flex; flex-direction: column; }
.course-grid article:nth-child(even) { border-top-color: var(--taupe); }
.course-grid article > span { color: var(--taupe); font-size: 11px; font-weight: 800; }
.course-grid h3 { margin: 34px 0 12px; font-size: 19px; }
.course-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.course-grid ul { list-style: none; padding: 18px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.course-grid li { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; font-size: 12px; }
.course-grid li b { font-weight: 600; color: var(--muted); }
.course-grid li strong { color: var(--green); }

.process ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process li { min-height: 250px; padding: 28px; background: var(--paper); }
.process li > span { color: var(--taupe); font-family: Georgia, serif; font-size: 32px; }
.process h3 { margin: 50px 0 12px; font-size: 18px; }
.process li p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.women { background: linear-gradient(105deg, rgba(24,55,43,.035), transparent 70%); }
.women-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.women-grid p { margin: 0; min-height: 190px; padding: 26px; background: var(--paper); color: #4e554f; font-size: 14px; line-height: 1.9; }

.faq > div { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 72px; padding: 24px 52px 24px 0; position: relative; font-size: 16px; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 760px; margin: 0; padding: 0 0 26px; color: var(--muted); line-height: 1.8; font-size: 14px; }

.closing { width: min(1180px, calc(100% - 48px)); margin: 78px auto; padding: 54px 58px; background: var(--green); color: white; }
.closing > p { margin: 0 0 28px; color: #d9c4af; font-size: 11px; letter-spacing: .18em; }
.closing h2 { max-width: 760px; margin: 0; font-size: clamp(29px, 4vw, 52px); line-height: 1.15; letter-spacing: -.04em; word-break: keep-all; }
.closing span { display: block; max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.73); font-size: 14px; line-height: 1.75; }
.closing a { margin-top: 30px; color: var(--green); background: var(--paper); border-color: var(--paper); }

footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 96px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-lockup { width: 180px; height: auto; }
footer p { margin: 0; }
footer nav { display: flex; gap: 18px; }
footer small { grid-column: 2; }

.fixed-phone-cta {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  min-width: 118px;
  min-height: 50px;
  padding: 14px 21px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(24,55,43,.26);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}
.fixed-phone-cta:hover { background: #0f281e; }
a:focus-visible, summary:focus-visible { outline: 3px solid #c7a57f; outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.not-found { min-height: 100vh; display: grid; place-content: center; justify-items: start; padding: 32px; }
.not-found p { margin: 0; color: var(--taupe); font-family: Georgia, serif; font-size: 20px; }
.not-found h1 { margin: 10px 0 28px; font-size: clamp(36px, 7vw, 72px); letter-spacing: -.05em; }
.not-found a { color: white; background: var(--green); }

@media (max-width: 1020px) {
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid article:last-child { grid-column: 1 / -1; min-height: 230px; }
  .process ol { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 190px 1fr; }
  footer nav { grid-column: 2; }
}

@media (max-width: 760px) {
  .site-header, .breadcrumb, .editorial-hero, .content-section, .closing, footer { width: min(100% - 32px, 600px); }
  .site-header { min-height: 74px; }
  .brand, .brand-lockup { width: 154px; }
  .site-header nav { gap: 15px; font-size: 12px; }
  .site-header nav a { padding: 25px 0; }
  .site-header nav a::after { bottom: 19px; }
  .breadcrumb { margin-top: 12px; }
  .editorial-hero { margin-top: 36px; grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .editorial-hero > aside { min-height: auto; padding: 0 0 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-hero aside p:last-child { margin-top: 18px; }
  .hero-main h1 { font-size: clamp(38px, 11vw, 60px); }
  .hero-main > strong { font-size: 19px; }
  .hero-main > p { font-size: 14px; }
  .hero-main figure { width: 100%; margin-top: 28px; border-width: 7px; }
  .hero-main figcaption { grid-template-columns: 1fr; }
  .hero-main figcaption span { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-main figcaption span:last-child { border-bottom: 0; }
  .marquee a { padding: 14px 24px; }
  .content-section { padding: 68px 0; }
  .content-section > header { display: block; margin-bottom: 28px; }
  .content-section > header i { display: block; margin-bottom: 18px; }
  .content-section > header h2 { font-size: clamp(30px, 9vw, 43px); }
  .area-list a { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 17px 0; }
  .area-list em { display: none; }
  .area-list b { font-size: 15px; }
  .area-list span { font-size: 12px; }
  .course-grid, .process ol, .women-grid { grid-template-columns: 1fr; }
  .course-grid article, .course-grid article:last-child { grid-column: auto; min-height: 260px; }
  .process li { min-height: 210px; }
  .process h3 { margin-top: 34px; }
  .women-grid p { min-height: auto; }
  .closing { margin: 58px auto; padding: 38px 26px; }
  footer { grid-template-columns: 1fr; padding-bottom: 110px; }
  footer nav, footer small { grid-column: 1; }
  .fixed-phone-cta { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); min-height: 48px; }
}

@media (max-width: 440px) {
  .site-header { align-items: center; }
  .brand, .brand-lockup { width: 132px; }
  .site-header nav { gap: 10px; font-size: 11px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-main figcaption span { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee > div { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
