:root {
    --ink: #07110f;
    --ink-soft: #13221e;
    --pine: #123c35;
    --jade: #1f5b50;
    --paper: #f4efe3;
    --paper-deep: #e8dfcc;
    --white: #fffdf8;
    --seal: #c82127;
    --seal-dark: #94161b;
    --line: rgba(7, 17, 15, .16);
    --header-height: 82px;
    --shell: 1240px;
    --shadow: 0 24px 70px rgba(7, 17, 15, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.7; word-break: keep-all; }
body.nav-open { overflow: hidden; }
.jukgye-home #container { position: relative; z-index: auto; float: none; width: 100%; min-height: 0; height: auto; margin: 0; font-size: inherit; zoom: normal; }
.jukgye-home #container::after { display: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 18px; color: #fff; background: var(--seal); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e6b84b; outline-offset: 4px; }

.section-shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }
.section { position: relative; padding: 140px 0; scroll-margin-top: var(--header-height); overflow: hidden; }
.mini-label { color: var(--seal); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }

.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; height: var(--header-height); border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; background: rgba(7, 17, 15, .72); backdrop-filter: blur(16px); transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(7, 17, 15, .96); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 48px), 1380px); height: 100%; margin: 0 auto; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.site-brand__seal { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--seal); font-family: Georgia, serif; font-weight: 700; transform: rotate(-3deg); }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand__text small { margin-bottom: 4px; color: rgba(255,255,255,.62); font-size: .65rem; letter-spacing: .12em; }
.site-brand__text strong { font-family: Georgia, "Noto Serif KR", serif; font-size: 1.12rem; letter-spacing: .04em; }
.site-brand__text strong em { margin-left: 4px; color: #f0d498; font-family: Arial, sans-serif; font-size: .62em; font-style: normal; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; color: rgba(255,255,255,.76); font-size: .91rem; font-weight: 700; }
.site-nav a:not(.site-nav__cta)::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--seal); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav a:hover, .site-nav a[aria-current="location"] { color: #fff; }
.site-nav a[aria-current="location"]::after, .site-nav a:hover::after { transform: scaleX(1); }
.site-nav .site-nav__cta { min-height: 44px; padding: 0 19px; color: #fff; background: var(--seal); }
.site-nav .site-nav__cta:hover { background: var(--seal-dark); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-width: 48px; min-height: 48px; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.nav-toggle__label { font-size: .82rem; font-weight: 800; }
.nav-toggle__icon { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.nav-toggle__icon i { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 1px solid transparent; font-size: .95rem; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button--seal { color: #fff; background: var(--seal); }
.button--seal:hover { background: var(--seal-dark); }
.button--ghost { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.05); }
.button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.button--disabled { color: rgba(255,255,255,.66); background: rgba(255,255,255,.12); cursor: not-allowed; }
.button--outline-disabled { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.62); cursor: not-allowed; }

.section-heading { position: relative; max-width: 760px; margin-bottom: 68px; }
.section-heading__eyebrow { margin-bottom: 14px; color: var(--seal); font-size: .76rem; font-weight: 900; letter-spacing: .2em; }
.section-heading__number { position: absolute; z-index: 0; top: -66px; left: -12px; color: rgba(7,17,15,.045); font-family: Georgia, serif; font-size: clamp(7rem, 16vw, 13rem); font-weight: 700; line-height: 1; }
.section-heading h2 { position: relative; z-index: 1; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(2.15rem, 4.7vw, 4.7rem); font-weight: 400; line-height: 1.14; letter-spacing: -.05em; }
.section-heading h2 strong { color: var(--pine); font-weight: 800; }
.section-heading > p:last-child:not(.section-heading__number):not(.section-heading__eyebrow) { position: relative; z-index: 1; max-width: 620px; margin-top: 24px; color: rgba(7,17,15,.64); }
.section-heading--light { color: #fff; }
.section-heading--light .section-heading__number { color: rgba(255,255,255,.045); }
.section-heading--light h2 strong { color: #e8c781; }
.section-heading--light > p:last-child { color: rgba(255,255,255,.65) !important; }
.section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading--center .section-heading__number { right: 0; left: 0; }

.site-footer { padding: 76px 0 34px; color: rgba(255,255,255,.68); background: #050a09; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr .7fr 1fr; gap: 70px; }
.site-footer__brand { margin-bottom: 16px; color: #fff; font-family: Georgia, "Noto Serif KR", serif; font-size: 1.5rem; font-weight: 800; }
.site-footer h2 { margin-bottom: 12px; color: #fff; font-size: .76rem; letter-spacing: .14em; }
.site-footer a { color: #fff; }
.site-footer__bottom { display: flex; align-items: center; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.site-footer__bottom > p { margin-left: auto; }
.site-footer__links { display: flex; gap: 20px; }
.admin-link { opacity: .55; }
.mobile-quick { display: none; }
.page-jump { position: fixed; z-index: 89; right: max(24px, env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom)); display: grid; gap: 8px; }
.page-jump__button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(7,17,15,.88); box-shadow: 0 10px 28px rgba(7,17,15,.22); backdrop-filter: blur(10px); transition: color .2s, background .2s, border-color .2s, transform .2s; }
.page-jump__button:hover { border-color: var(--seal); color: #fff; background: var(--seal); transform: translateY(-2px); }
.page-jump__button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
    :root { --header-height: 72px; }
    .site-nav { gap: 18px; }
    .site-nav a { font-size: .82rem; }
    .section { padding: 110px 0; }
}

@media (max-width: 980px) {
    .section-shell, .site-header__inner { width: min(calc(100% - 32px), var(--shell)); }
    .nav-toggle { display: inline-flex; }
    .site-nav { position: fixed; top: var(--header-height); right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 34px 24px calc(120px + env(safe-area-inset-bottom)); background: rgba(7,17,15,.985); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
    .site-nav a { justify-content: space-between; min-height: 58px; border-bottom: 1px solid rgba(255,255,255,.1); font-family: Georgia, "Noto Serif KR", serif; font-size: 1.28rem; }
    .site-nav .site-nav__cta { justify-content: center; margin-top: 22px; border: 0; font-family: inherit; font-size: .95rem; }
    .mobile-quick { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px rgba(0,0,0,.18); }
    .mobile-quick a { display: flex; align-items: center; justify-content: center; min-height: 58px; color: #fff; background: var(--ink-soft); font-size: .9rem; font-weight: 800; }
    .mobile-quick .mobile-quick__primary { background: var(--seal); }
    .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
    .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; }
    .site-footer__bottom > p { margin-left: 0; }
    .page-jump { right: max(14px, env(safe-area-inset-right)); bottom: calc(72px + env(safe-area-inset-bottom)); gap: 6px; }
    .page-jump__button { width: 42px; height: 42px; }
    .page-jump__button svg { width: 19px; height: 19px; }
}

@media (max-width: 560px) {
    .section { padding: 88px 0; }
    .section-heading { margin-bottom: 48px; }
    .section-heading__number { top: -42px; font-size: 7rem; }
    .site-brand__text small { display: none; }
    .site-footer__links { flex-direction: column; gap: 5px; }
}

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