/* aisbz.com — 주식회사 이즈블루밍
   디자인: 참고자료/DESIGN.md 를 PLAN.md 3장대로 바꿈 (어두운 바탕 + 주황 하나, 그림자 없음, 가는 선) */

@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("../fonts/Pretendard-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("../fonts/Pretendard-SemiBold.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("../fonts/Pretendard-Bold.subset.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #090909;          /* 바탕 */
  --paper: #f7f9fa;        /* 글자 */
  --paper-2: #f0f0f0;      /* 도장 글씨 */
  --steel: #9a9b9c;        /* 흐린 글자 — DESIGN 의 #828384 를 조금 밝힘(작은 글자 대비 6.9:1) */
  --ash: #6b6b6b;
  --line: rgba(247, 249, 250, .14);
  --line-strong: rgba(247, 249, 250, .28);
  --wash: rgba(247, 249, 250, .04);
  --orange: #e94d25;       /* 강조 하나 — 주황 위 글자는 검정 */
  --orange-mist: #f6b8a6;
  --r-card: 19.2px;
  --r-btn: 8px;
  --r-pill: 1584px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap-section: clamp(80px, 12vw, 120px);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 16px/1.7 var(--font); word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: var(--r-btn); }
.skip:focus { left: 8px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ── 메뉴 막대 ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 18, 18, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__brand { flex: none; display: flex; align-items: center; }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a {
  text-decoration: none; font-size: 14px; color: var(--steel); padding: 8px 12px; border-radius: 6px;
}
.nav__links a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 5px; }
.btn-order {
  flex: none; display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  background: var(--orange); color: var(--ink); font-weight: 700; font-size: 14px;
  text-decoration: none; padding: 10px 16px; border-radius: var(--r-btn);
}
.btn-order:hover { background: #f05f39; }
.nav__links + .btn-order { margin-left: 0; }

/* ── 버튼 ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 16px; line-height: 1; padding: 16px 20px; border-radius: var(--r-btn);
  border: 1px solid var(--paper); background: var(--ink); color: var(--paper);
}
.btn:hover { background: rgba(247, 249, 250, .08); }
.btn--ghost { border-color: transparent; background: var(--wash); border-radius: var(--r-pill); padding: 16px 24px; }
.btn--ghost:hover { background: rgba(247, 249, 250, .09); }
.arrow { font-size: .95em; }

/* ── 도장 글씨(구역 제목) ───────────────────────── */
.stamp {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px;
  font-weight: 400; font-size: clamp(36px, 6.6vw, 74px); line-height: .95;
  letter-spacing: .2em; text-transform: uppercase; color: var(--paper-2);
  padding-bottom: 28px; margin-bottom: 48px; border-bottom: 1px solid var(--line);
}
.stamp small { font-size: 15px; letter-spacing: .02em; color: var(--steel); font-weight: 600; }
.label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); font-weight: 600; }

.section { padding-top: var(--gap-section); }

/* ── 첫 화면 ───────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(233, 77, 37, .30), rgba(233, 77, 37, .08) 55%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
  min-height: min(760px, calc(100svh - 68px)); padding-top: 72px; padding-bottom: 72px;
}
.hero h1 {
  font-weight: 700; font-size: clamp(38px, 6vw, 72px); line-height: 1.15; letter-spacing: -.02em;
  margin: 20px 0 24px;
}
.hero h1 .accent { color: var(--orange-mist); }
.hero__lede { font-size: clamp(17px, 1.6vw, 20px); color: #d4d6d8; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* 탑승권 카드 → 회사 카드 */
.pass {
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: rgba(237, 195, 196, .05); padding: 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
}
.pass__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.pass__head img { width: 28px; height: 28px; }
.pass__route { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 16px; padding: 8px 0 20px; border-bottom: 1px dashed var(--line-strong); }
.pass__route .code { font-size: clamp(44px, 5vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.pass__route .code small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--steel); margin-bottom: 8px; }
.pass__route .line { flex: 1; position: relative; height: 1px; background: var(--line-strong); margin-bottom: 22px; }
.pass__route .line::before, .pass__route .line::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); }
.pass__route .line::before { left: 0; }
.pass__route .line::after { right: 0; background: var(--orange); }
.pass dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.pass dt { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--steel); text-transform: uppercase; }
.pass dd { font-size: 15px; margin-top: 2px; }
.pass dd a { text-decoration: none; }
.pass dd a:hover { text-decoration: underline; }
.pass .wide { grid-column: 1 / -1; }
.pass__bar {
  width: 34px; border-radius: 3px; opacity: .85;
  background: repeating-linear-gradient(180deg, var(--paper) 0 2px, transparent 2px 4px, var(--paper) 4px 5px, transparent 5px 8px, var(--paper) 8px 11px, transparent 11px 13px);
}

/* ── 회사소개 ───────────────────────── */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about__body p { font-size: 18px; color: #dcdee0; }
.about__body p + p { margin-top: 20px; }
.about__body strong { color: var(--paper); font-weight: 600; }
.name {
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px;
}
.name__logo { width: 200px; margin-bottom: 28px; }
.name ol { display: grid; gap: 0; }
.name li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.name li b { font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.name li b.o { color: var(--orange); }
.name li span { color: #cfd1d3; font-size: 15px; }
.name li span em { display: block; font-style: normal; color: var(--paper); font-weight: 600; font-size: 16px; }

/* ── 취급품목 ───────────────────────── */
.rows li {
  display: grid; grid-template-columns: 96px 1fr 1.3fr; gap: 24px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.rows li:first-child { padding-top: 0; }
.rows .n { font-size: 14px; color: var(--steel); letter-spacing: .18em; font-weight: 600; }
.rows h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.rows p { color: #cfd1d3; font-size: 16px; }

/* ── 단가표·주문 (주황 강조 카드 — 한 페이지에 하나) ───────────────────────── */
.bloom {
  position: relative; overflow: hidden; border-radius: var(--r-card); padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(120% 140% at 85% 0%, #ff7a52 0%, var(--orange) 45%, #c93c19 100%);
  color: var(--ink); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end;
}
.bloom .label { color: rgba(9, 9, 9, .72); }
.bloom h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 16px 0 16px; }
.bloom p { font-size: 17px; color: rgba(9, 9, 9, .86); }
.bloom ol { display: grid; gap: 10px; margin-bottom: 28px; counter-reset: s; }
.bloom ol li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; font-size: 17px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid rgba(9, 9, 9, .2); }
.bloom ol li::before { content: "0" counter(s); font-size: 12px; letter-spacing: .14em; color: rgba(9, 9, 9, .66); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: #1d1d1d; }
.bloom small { display: block; margin-top: 14px; font-size: 14px; color: rgba(9, 9, 9, .78); }

/* ── 오시는 길 ───────────────────────── */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.contact dl { display: grid; grid-template-columns: 112px 1fr; }
.contact dt, .contact dd { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact dt { font-size: 14px; color: var(--steel); font-weight: 600; }
.contact dd { font-size: 17px; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact dd small { display: block; font-size: 14px; color: var(--steel); margin-top: 2px; }
.mapcard { border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.mapcard__plot { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line); background: #0e0e0e; }
.m-road path { fill: none; stroke: rgba(247, 249, 250, .07); stroke-linecap: butt; }
.m-rail path { fill: none; stroke: rgba(247, 249, 250, .28); stroke-width: 1.5; stroke-dasharray: 6 4; }
.m-line1 { fill: none; stroke: rgba(247, 249, 250, .5); stroke-width: 2.5; }
.m-bldg path { fill: rgba(247, 249, 250, .05); stroke: var(--line-strong); stroke-width: 1; }
.m-label text { fill: var(--steel); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.m-halo { fill: rgba(247, 249, 250, .12); }
.m-pin { fill: var(--paper); }
.m-name { fill: var(--paper); font-size: 20px; font-weight: 700; }
.m-sub { fill: var(--steel); font-size: 14px; }
.m-arrow { fill: none; stroke: var(--steel); stroke-width: 1.5; }
.m-n { fill: var(--steel); font-size: 13px; letter-spacing: .1em; }
.mapcard__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 바닥글 (좌표 도장) ───────────────────────── */
.foot { margin-top: var(--gap-section); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--steel); }
.foot__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot__co b { color: var(--paper); font-weight: 600; font-size: 15px; }
.foot__co p { line-height: 1.9; }
.foot__co a { color: var(--paper); }
.foot__stamp { text-align: right; display: grid; gap: 6px; align-content: start; }
.foot__stamp .coord { color: var(--paper); font-size: 15px; letter-spacing: .08em; }
.foot__stamp img { width: 28px; height: 28px; justify-self: end; margin-bottom: 6px; }
.foot__copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── 시안 표시 (올릴 때 <html class="draft"> 의 draft 를 지우면 사라짐) ───────────────────────── */
.draft [data-draft] { outline: 1px dashed rgba(246, 184, 166, .7); outline-offset: 6px; border-radius: 4px; }
.draftbar { display: none; }
.draft .draftbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  max-width: 760px; margin: 0 auto; padding: 10px 14px; border-radius: 12px;
  background: #1a1716; border: 1px dashed var(--orange-mist); font-size: 13px; color: #e6e7e8;
}
.draftbar b { color: var(--orange-mist); }

/* ── 폭 줄이기 ───────────────────────── */
@media (max-width: 900px) {
  .nav__bar { flex-wrap: wrap; height: auto; padding: 12px 0 0; gap: 12px; }
  .nav__brand img { height: 36px; }
  .btn-order, .nav__links + .btn-order { margin-left: auto; }
  .nav__links { order: 3; width: 100%; margin: 0; padding: 0 0 4px; overflow-x: auto; scrollbar-width: none; }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { white-space: nowrap; }
  .nav__links a:first-child { padding-left: 0; }
  html { scroll-padding-top: 116px; }
  .hero__grid, .about, .contact, .bloom { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; padding-top: 48px; gap: 40px; }
  .rows li { grid-template-columns: 56px 1fr; }
  .rows li p { grid-column: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pass { padding: 24px; grid-template-columns: 1fr; }
  .pass__bar { display: none; }
  .about__body p { font-size: 17px; }
  .name { padding: 24px; }
  .contact dl { grid-template-columns: 88px 1fr; }
  .foot__stamp { text-align: left; }
  .foot__stamp img { justify-self: start; }
  .btn { padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.muted { color: var(--steel); }
.name__label { margin-bottom: 12px; }

/* ── 404 ───────────────────────── */
.notfound { padding-top: 120px; padding-bottom: 120px; min-height: 70vh; }
.notfound h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 16px 0 12px; }
.notfound p:not(.label) { color: #cfd1d3; font-size: 18px; }
