@charset "UTF-8";

:root {
  --bg: #FFFFFF;
  --fg: #0A0A0A;
  --gray-1: #F2F2F2;
  --gray-2: #8A8A8A;
  --font-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --font-en: "Space Grotesk", Arial, sans-serif;
  --font-ko: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --font-ko-display: "Black Han Sans", "Pretendard Variable", "Malgun Gothic", sans-serif;
  --space: 8px;
  --container: 1200px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-ko); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
::selection { color: var(--bg); background: var(--fg); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg, img { display: block; max-width: 100%; }
img[hidden] { display: none; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; margin: 0; list-style: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 5px; box-shadow: 0 0 0 5px var(--bg); }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 16px 24px; color: var(--bg); background: var(--fg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.site-header { position: sticky; z-index: 20; top: 0; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--fg); }
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 20px; font-weight: 800; }
.wordmark { height: 28px; width: 28px; overflow: visible; }
.brand-ko { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; padding-top: 1px; } /* 사장 지시 2026-10-26: 워드마크 우측 "주식회사 옆문", 한 단계 작게 */
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 600; }
.main-nav a { padding-block: 12px; text-underline-offset: 6px; }
.main-nav a:hover { text-decoration: underline; }
.portal-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--fg); font-size: 12px; font-weight: 700; white-space: nowrap; }
.portal-link:hover { background: var(--gray-1); }
.hero { min-height: calc(100svh - var(--header-height)); display: flex; overflow: clip; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; column-gap: 16px; padding-top: 32px; padding-bottom: 96px; }
.hero-copy { position: relative; z-index: 3; padding-block: 24px; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.square { width: 8px; height: 8px; background: var(--fg); }
.hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(120px, 16vw, 224px); letter-spacing: -.045em; line-height: .79; }
.hero-title > span { display: block; }
.hero-title > span + span { margin-top: 8px; margin-left: 64px; }
.title-period { margin-left: 4px; }
.hero-slogan { font-family: var(--font-ko-display); font-size: clamp(24px, 2.6vw, 36px); font-weight: 400; letter-spacing: -.04em; margin-top: 40px; line-height: 1.4; }
.hero-slogan-en { font-family: var(--font-en); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; } /* 사장 확정 2026-10-26: 영문 슬로건 Every direction is an entrance. */
.hero-description { font-size: 14px; line-height: 1.85; margin-top: 16px; max-width: 400px; }
.hero-actions { display: flex; gap: 8px; margin-top: 32px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; min-height: 56px; gap: 32px; padding: 16px 24px; border: 1px solid var(--fg); font-size: 13px; font-weight: 700; line-height: 1.5; position: relative; transition: background .2s, color .2s; }
.button > span[aria-hidden] { font-family: var(--font-en); font-size: 20px; line-height: 1; }
.button-solid { background: var(--fg); color: var(--bg); }
.button-solid:hover { background: var(--bg); color: var(--fg); }
.button-outline { background: var(--bg); color: var(--fg); }
.button-outline:hover { background: var(--fg); color: var(--bg); }
.hero-visual { position: relative; min-width: 0; height: min(66svh, 624px); min-height: 440px; overflow: hidden; background: var(--gray-1); isolation: isolate; }
.visual-image-layer { position: absolute; inset: -16px; }
.door-fallback { position: absolute; inset: 0; background: linear-gradient(105deg, var(--bg) 0%, var(--gray-1) 71%, var(--bg) 100%); overflow: hidden; }
.door-frame { position: absolute; top: 18%; left: 32%; width: 45%; height: 66%; background: var(--fg); box-shadow: 8px 0 24px rgb(10 10 10 / .16); }
.door-frame::after { content: ""; position: absolute; inset: 0 0 0 76%; background: linear-gradient(90deg, var(--gray-2), var(--bg) 55%); }
.door-leaf { position: absolute; top: 18%; left: 32%; width: 38%; height: 69%; background: var(--fg); clip-path: polygon(0 0, 93% 9%, 93% 100%, 0 95%); }
.door-leaf::after { content: ""; position: absolute; right: 16%; top: 52%; width: 3px; height: 24px; background: var(--gray-2); }
.door-floor { position: absolute; left: 33%; top: 84%; width: 64%; height: 22%; background: linear-gradient(140deg, var(--bg), transparent); clip-path: polygon(51% 0, 70% 0, 100% 100%, 0 100%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% center; filter: grayscale(1); }
.light-layer { pointer-events: none; position: absolute; inset: -16px; background: linear-gradient(110deg, transparent 60%, rgb(255 255 255 / .25) 68%, transparent 80%); mix-blend-mode: screen; }
.door-panel { position: absolute; inset: 0; background: var(--fg); clip-path: inset(0 0 0 100%); pointer-events: none; }
.visual-topline, .visual-caption { position: absolute; left: 24px; right: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-en); font-size: 9px; font-weight: 700; letter-spacing: .1em; background: var(--gray-1); padding: 8px; }
.visual-topline { top: 16px; }
.visual-topline > span:last-child { font-size: 20px; }
.visual-caption { bottom: 16px; }
.hero-bottom { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--fg); padding-top: 16px; font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.scroll-cue { display: flex; align-items: center; gap: 24px; min-height: 24px; }
.scroll-cue > span { font-size: 16px; }
.section { padding-block: 104px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: end; margin-bottom: 48px; }
.section-heading > .eyebrow { grid-column: 1 / -1; }
h2 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 800; letter-spacing: -.05em; line-height: 1.28; }
h2 > span { display: block; }
.section-intro { justify-self: end; font-size: 15px; line-height: 1.85; }
.section-heading.compact { display: block; }
.section-heading.compact > .eyebrow { margin-bottom: 24px; }
.service { background: var(--gray-1); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--fg); }
.service-card { position: relative; padding: 24px 32px 72px; }
.service-card:first-child { padding-left: 0; }
.service-card:last-child { padding-right: 0; }
.service-card + .service-card { border-left: 1px solid var(--fg); }
.display-number { display: block; font-family: var(--font-display); font-size: 80px; font-weight: 900; line-height: 1; margin-bottom: 40px; }
.service-card .eyebrow { font-size: 10px; margin-bottom: 16px; }
h3 { font-size: 21px; font-weight: 750; line-height: 1.4; letter-spacing: -.04em; }
.service-card > p:not(.eyebrow) { margin-top: 16px; font-size: 14px; line-height: 1.85; }
.card-arrow { position: absolute; right: 32px; bottom: 16px; font-family: var(--font-en); font-size: 28px; }
.service-card:last-child .card-arrow { right: 0; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step-marker { border-top: 1px solid var(--fg); padding-top: 16px; display: flex; justify-content: space-between; font-family: var(--font-en); font-size: 13px; font-weight: 700; margin-bottom: 32px; }
.timeline h3 { font-size: 20px; }
.timeline p { margin-top: 16px; font-size: 14px; }
.results { background: var(--fg); color: var(--bg); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--gray-2); }
.metric { padding: 32px 32px 40px; min-width: 0; }
.metric:first-child { padding-left: 0; }
.metric:last-child { padding-right: 0; }
.metric + .metric { border-left: 1px solid var(--gray-2); }
.metric-value { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 900; font-size: clamp(72px, 9vw, 128px); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-unit { font-family: var(--font-en); font-size: .64em; }
.metric-prefix { font-size: .8em; }
.metric h3 { font-size: 15px; margin-top: 24px; letter-spacing: 0; }
.metric h3 span { font-size: 12px; font-weight: 500; margin-left: 8px; }
.metric > p:last-child { margin-top: 8px; font-size: 12px; }
.results-note { margin-top: 24px; font-size: 12px; line-height: 1.8; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--fg); }
.audience-card { padding: 40px 48px 40px 0; }
.audience-card + .audience-card { border-left: 1px solid var(--fg); padding-left: 48px; padding-right: 0; }
.audience-card h3 { display: flex; justify-content: space-between; gap: 16px; font-size: 28px; margin-top: 16px; }
.audience-card h3 > span { font-family: var(--font-en); font-weight: 500; }
.audience-lead { font-size: 23px; line-height: 1.55; font-weight: 600; letter-spacing: -.04em; margin-top: 40px; }
.audience-card ul { margin-block: 24px 32px; font-size: 14px; }
.audience-card li { padding-block: 8px; }
.audience-card li::before { content: "+"; display: inline-block; width: 24px; font-family: var(--font-en); }
.portal-note { margin-top: 16px; font-size: 11px; }
.faq { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq h2 { margin-top: 24px; }
.faq-caption { margin-top: 16px; font-size: 14px; }
.faq-list { border-top: 1px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--fg); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 1px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 40px 24px 0; font-size: 14px; line-height: 1.85; }
.contact { background: var(--gray-1); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact h2 { margin-top: 32px; font-size: clamp(40px, 4.5vw, 64px); }
.contact-info { padding-top: 48px; font-size: 14px; }
.contact-lead { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.contact-note { margin-top: 16px; font-size: 12px; }
.contact .button { margin-top: 24px; }
.contact address { margin-top: 32px; font-size: 12px; }
.site-footer { padding-top: 48px; }
.footer-top { display: flex; align-items: center; gap: 40px; padding-bottom: 40px; }
.footer-brand { flex: 0 0 144px; }
.footer-brand svg { width: 144px; height: 144px; }
.footer-tagline { font-family: var(--font-en); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.05em; }
.back-top { margin-left: auto; display: flex; align-items: center; gap: 24px; font-family: var(--font-en); font-size: 10px; font-weight: 700; padding: 16px 0; }
.back-top span { font-size: 20px; }
.footer-info { border-top: 1px solid var(--fg); padding-top: 24px; display: flex; align-items: end; justify-content: space-between; gap: 24px; font-family: var(--font-en), var(--font-ko); font-size: 11px; }
.footer-info address { margin-top: 8px; font-family: var(--font-ko); }
.signature { text-align: center; font-family: var(--font-en); font-size: 11px; opacity: .4; padding-block: 40px 24px; }
.reveal-line { clip-path: inset(0); }
.reveal-pending { opacity: 0; transform: translateY(16px); clip-path: inset(0 0 100% 0); }
.reveal-pending.is-visible { opacity: 1; transform: translateY(0); clip-path: inset(0); transition: opacity .6s ease, transform .6s ease, clip-path .6s ease; }

@media (min-width: 1600px) { .hero-title { font-size: 232px; } }
@media (max-width: 1100px) {
  .main-nav { gap: 16px; font-size: 12px; }
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 16px; }
  .hero-title > span + span { margin-left: 40px; }
  .hero-visual { min-height: 424px; }
  .service-card { padding-inline: 24px; }
  .service-card h3 { font-size: 19px; }
  .audience-card { padding-right: 32px; }
  .audience-card + .audience-card { padding-left: 32px; }
}
@media (max-width: 800px) {
  :root { --header-height: 104px; }
  .header-inner { height: auto; min-height: var(--header-height); flex-wrap: wrap; gap: 0 16px; padding-top: 8px; }
  .brand { height: 48px; }
  .portal-link { margin-left: auto; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; }
  .hero-inner { grid-template-columns: 1.4fr 1fr; padding-top: 16px; }
  .hero-title { font-size: clamp(104px, 17vw, 144px); }
  .hero-title > span + span { margin-left: 24px; }
  .hero-slogan { margin-top: 32px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 8px; }
  .button { padding: 16px; gap: 24px; }
  .hero-visual { min-height: 400px; height: 56svh; }
  .visual-topline, .visual-caption { left: 8px; right: 8px; font-size: 8px; }
  .section { padding-block: 80px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child, .service-card:last-child { padding: 24px 48px 32px 88px; }
  .service-card + .service-card { border-left: 0; border-top: 1px solid var(--fg); }
  .display-number { position: absolute; left: 0; top: 24px; font-size: 64px; margin: 0; }
  .service-card .eyebrow { margin-bottom: 8px; }
  .card-arrow, .service-card:last-child .card-arrow { right: 0; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .metric { padding-inline: 16px; }
  .metric-value { font-size: clamp(56px, 11vw, 88px); }
  .metric > p:last-child { font-size: 11px; }
  .metric h3 { font-size: 13px; }
  .metric h3 span { display: block; margin: 4px 0 0; }
  .audience-card h3 { font-size: 24px; }
  .audience-lead { font-size: 21px; }
  .audience-card ul { font-size: 13px; }
  .faq { padding-top: 0; }
  .faq-layout { grid-template-columns: 1fr 1.5fr; gap: 32px; }
  .contact-layout { gap: 32px; }
  .footer-info { flex-wrap: wrap; }
  .footer-info > div { flex-basis: 100%; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .main-nav { font-size: 11px; }
  .portal-link { font-size: 11px; min-height: 36px; padding: 8px 12px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 72px; }
  .hero-copy { padding: 0; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 24px; }
  .hero-title { font-size: clamp(120px, 31vw, 168px); }
  .hero-title > span + span { margin-left: 40px; }
  .hero-slogan { font-size: 28px; margin-top: 24px; }
  .hero-description { max-width: 320px; margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { flex: 1; }
  .hero-visual { height: auto; aspect-ratio: 16 / 9; min-height: 0; margin-top: 32px; }
  .door-frame { top: 9%; height: 75%; width: 26%; left: 48%; }
  .door-leaf { top: 9%; height: 78%; width: 22%; left: 48%; }
  .door-floor { left: 48%; width: 38%; }
  .visual-topline { top: 8px; }
  .visual-caption { bottom: 8px; }
  .hero-bottom { font-size: 8px; bottom: 16px; padding-top: 8px; gap: 8px; }
  .hero-year { display: none; }
  .scroll-cue { gap: 16px; }
  .section { padding-block: 64px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > .eyebrow { margin-bottom: 24px; }
  .section-intro { margin-top: 24px; font-size: 14px; }
  h2 { font-size: 32px; }
  .service-card, .service-card:first-child, .service-card:last-child { padding-left: 64px; padding-right: 24px; }
  .display-number { font-size: 48px; }
  .service-card h3 { font-size: 18px; }
  .service-card > p:not(.eyebrow) { font-size: 13px; margin-top: 8px; }
  .timeline { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--fg); margin-left: 8px; }
  .timeline li { position: relative; padding: 0 0 32px 24px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { content: ""; position: absolute; left: -4px; top: 8px; width: 8px; height: 8px; background: var(--fg); }
  .step-marker { border: 0; padding: 0; margin-bottom: 8px; }
  .step-marker > span:last-child { transform: rotate(90deg); }
  .timeline p { margin-top: 8px; }
  .metrics { grid-template-columns: 1fr; }
  .metric, .metric:first-child, .metric:last-child { padding: 24px 0 32px; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--gray-2); }
  .metric-value { font-size: 112px; }
  .metric h3 { margin-top: 8px; font-size: 15px; }
  .metric h3 span { display: inline; margin-left: 8px; }
  .metric > p:last-child { font-size: 12px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card, .audience-card + .audience-card { padding: 32px 0; border-left: 0; }
  .audience-card + .audience-card { border-top: 1px solid var(--fg); }
  .audience-lead { margin-top: 24px; }
  .faq { padding-top: 0; }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq summary { font-size: 15px; }
  .faq-answer { padding-right: 16px; }
  .contact h2 { font-size: 40px; margin-top: 24px; }
  .contact-info { padding: 0; }
  .contact-lead { font-size: 17px; }
  .footer-top { flex-wrap: wrap; gap: 24px; padding-bottom: 24px; }
  .footer-brand { flex-basis: 112px; }
  .footer-brand svg { width: 112px; height: 112px; }
  .footer-tagline { font-size: 22px; }
  .back-top { width: 100%; justify-content: flex-end; }
  .footer-info { gap: 16px; font-size: 10px; }
  .signature { font-size: 11px; letter-spacing: -.03em; padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-line, .reveal-pending { opacity: 1; transform: none; clip-path: none; }
  [data-parallax], [data-magnetic] { transform: none !important; }
  .door-panel { clip-path: inset(0 0 0 100%) !important; }
}
