/* ============================================================
   WORKZONE — CLEAN / MINIMAL variant
   Premium minimal: generous whitespace, hairlines, muted green.
   ============================================================ */

:root {
  --black: #1a1a1a;
  --ink: #1a1a1a;
  --ink-soft: #565656;
  --ink-faint: #8a8a8a;
  --line: #e6e6e6;
  --line-soft: #f0f0f0;
  --bg: #ffffff;
  --bg-off: #fafaf9;
  --green: #2f8a1f;
  --green-bright: #16a34a;
  --green-tint: #f1f7ef;
  --radius: 4px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 60px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Pretendard', 'Pretendard Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Logo / wordmark ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}
.logo .word {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1.32rem;
  color: var(--ink);
}
.logo .word .o-mark {
  display: inline-flex;
  width: 1.05em; height: 1.05em;
  margin: 0 .02em;
  vertical-align: middle;
}
.logo .word .o-mark svg { width: 100%; height: 100%; }
.logo .tagline {
  font-style: italic;
  font-weight: 400;
  font-size: .72rem;
  color: var(--ink-faint);
  letter-spacing: .01em;
  white-space: nowrap;
}
.logo--stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.logo--stack .tagline { font-size: .74rem; }
.logo--footer .word { color: #fff; }
.logo--footer .tagline { color: rgba(255,255,255,.55); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { flex: 0 0 auto; }

.nav { display: flex; align-items: stretch; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center;
  height: 78px; padding: 0 18px;
  font-size: .94rem; font-weight: 500; color: var(--ink-soft);
  background: none; border: none;
  letter-spacing: .01em;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute;
  left: 18px; right: 18px; bottom: 26px; height: 1px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-item:hover .nav-link,
.nav-link.active { color: var(--ink); }
.nav-item:hover .nav-link::after,
.nav-link.active::after { transform: scaleX(1); }

.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -22px rgba(0,0,0,.22);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown button {
  display: block; width: 100%; text-align: left;
  padding: 10px 14px; font-size: .9rem; color: var(--ink-soft);
  background: none; border: none; border-radius: 3px;
  transition: background .2s, color .2s;
}
.dropdown button:hover { background: var(--green-tint); color: var(--green); }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  background: none; border: none;
}
.hamburger span {
  width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 78px 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease);
  z-index: 99;
}
.mobile-nav.open { max-height: calc(100vh - 78px); overflow-y: auto; }
.mobile-nav-inner { padding: 12px var(--gutter) 30px; }
.m-group { border-bottom: 1px solid var(--line-soft); }
.m-link {
  display: block; width: 100%; text-align: left;
  padding: 16px 4px; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  background: none; border: none;
}
.m-sub { padding: 0 4px 14px; }
.m-sub button {
  display: block; width: 100%; text-align: left;
  padding: 9px 14px; font-size: .94rem; color: var(--ink-soft);
  background: none; border: none;
}
.m-sub button:active { color: var(--green); }

/* ---------- Sections / typography ---------- */
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section--tight { padding: clamp(56px, 8vw, 92px) 0; }
.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 22px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.18; color: var(--ink); }
.h-display { font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 600; }
.h-page { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 600; }
.h-sec { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 600; }
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-soft);
  font-weight: 400; max-width: 60ch; line-height: 1.7;
}
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

/* page intro block (inner pages) */
.page-head { padding: clamp(64px, 9vw, 110px) 0 clamp(20px, 4vw, 40px); }
.page-head .h-page { margin-bottom: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; font-size: .96rem; font-weight: 600;
  border-radius: 50px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0,0,0,.4); }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* page fade transition */
#app { animation: pageIn .55s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  min-height: min(86vh, 760px);
  display: flex; align-items: center;
  background: var(--bg-off);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 20s ease-out forwards;
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.0) translateY(-1.5%); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 38%, rgba(255,255,255,.42) 72%, rgba(255,255,255,.15) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: 40px; }
.hero-content { max-width: 660px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .ln { display: block; }
.hero .sub { margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero stats */
.hero-stats {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.6);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 38px var(--gutter); border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .n { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.stat .n .accent { color: var(--green); }
.stat .l { font-size: .84rem; color: var(--ink-faint); margin-top: 4px; }

/* ---------- Services ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.sec-head .h-sec { margin-bottom: 18px; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.svc {
  padding: clamp(34px, 4vw, 52px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.svc:hover { background: var(--bg-off); }
.svc-ico {
  width: 46px; height: 46px; margin-bottom: 26px;
  color: var(--green);
}
.svc-ico svg { width: 100%; height: 100%; }
.svc h3 { font-size: 1.28rem; margin-bottom: 12px; }
.svc p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- generic two-col band ---------- */
.band { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.band--rev .band-media { order: -1; }
.band-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

/* ============================================================
   ABOUT — overview
   ============================================================ */
.overview-lead { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.4; max-width: 22ch; }
.facts { border-top: 1px solid var(--ink); }
.fact { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: .92rem; color: var(--ink-faint); font-weight: 500; }
.fact dd { font-size: 1.02rem; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 52px); }
.value .vt { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.value .vnum { font-size: .82rem; color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.value h3 { font-size: 1.4rem; }
.value p { color: var(--ink-soft); font-size: .98rem; margin-top: 8px; }

/* greeting */
.greeting-lead { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; max-width: 18ch; }
.greeting-body { max-width: 62ch; }
.greeting-body p { font-size: 1.06rem; color: var(--ink-soft); margin-top: 24px; line-height: 1.85; }
.greeting-sign { margin-top: 42px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.greeting-sign::before { content: ''; display: block; width: 40px; height: 1px; background: var(--green); margin-bottom: 16px; }

/* clients */
.client-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 80px); }
.client-group h3 { font-size: 1.06rem; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.client-group h3::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px; font-size: .9rem; color: var(--ink-soft);
  background: var(--bg-off); border: 1px solid var(--line); border-radius: 50px;
  transition: border-color .3s, color .3s, background .3s;
}
.chip:hover { border-color: var(--green); color: var(--green); background: var(--green-tint); }
.clients-note { margin-top: 44px; font-size: .86rem; color: var(--ink-faint); }

/* location */
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.loc-info { border-top: 1px solid var(--ink); }
.loc-info .row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.loc-info dt { color: var(--ink-faint); font-size: .92rem; font-weight: 500; }
.loc-info dd { color: var(--ink); font-size: 1rem; }
.map-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.15); }

/* ============================================================
   CAREERS
   ============================================================ */
.career-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.career-card { background: #fff; padding: clamp(30px, 3.6vw, 46px); transition: background .4s var(--ease); display: flex; flex-direction: column; }
.career-card:hover { background: var(--bg-off); }
.career-tag {
  align-self: flex-start;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 50px;
  color: var(--green); background: var(--green-tint); border: 1px solid #d8ecd2;
  margin-bottom: 22px;
}
.career-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.career-card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.career-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-faint); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: 44px; }
.perk h4 { font-size: 1.08rem; margin-bottom: 8px; }
.perk h4::before { content: ''; display: block; width: 26px; height: 2px; background: var(--green); margin-bottom: 16px; }
.perk p { color: var(--ink-soft); font-size: .92rem; }
.cta-band {
  margin-top: clamp(56px, 8vw, 96px);
  text-align: center; padding: clamp(48px, 7vw, 80px) var(--gutter);
  background: var(--bg-off); border: 1px solid var(--line); border-radius: var(--radius);
}
.cta-band h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 30px; }

/* ============================================================
   SUPPORT — notices
   ============================================================ */
.notice-list { border-top: 1px solid var(--ink); }
.notice-row {
  width: 100%; text-align: left; background: none; border: none;
  display: grid; grid-template-columns: 1fr auto; gap: 16px 24px;
  align-items: center; padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.notice-row:hover { background: var(--bg-off); padding-left: 18px; }
.notice-row .nt { font-size: 1.06rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.pin-badge {
  font-size: .72rem; font-weight: 600; color: var(--green);
  background: var(--green-tint); border: 1px solid #d8ecd2;
  padding: 3px 9px; border-radius: 50px; flex: 0 0 auto;
}
.notice-meta { display: flex; gap: 22px; font-size: .86rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.notice-detail .nd-head { border-bottom: 1px solid var(--ink); padding-bottom: 26px; margin-bottom: 32px; }
.notice-detail h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.notice-detail .nd-meta { display: flex; gap: 22px; font-size: .88rem; color: var(--ink-faint); }
.notice-detail .nd-body { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.9; white-space: pre-wrap; max-width: 70ch; }
.back-btn { margin-top: 40px; }

.state {
  padding: 64px 0; text-align: center; color: var(--ink-faint); font-size: 1rem;
}
.spinner {
  width: 30px; height: 30px; margin: 0 auto 18px;
  border: 2px solid var(--line); border-top-color: var(--green);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- inquiry form ---------- */
.form-wrap { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.field label .req { color: var(--green); margin-left: 3px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47,138,31,.1);
}
.field.error input, .field.error select, .field.error textarea { border-color: #d23b3b; }
.field .err-msg { font-size: .82rem; color: #d23b3b; min-height: 1em; }
.form-actions { margin-top: 34px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-msg { font-size: .94rem; }
.form-msg.ok { color: var(--green); }
.form-msg.bad { color: #d23b3b; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #121212; color: rgba(255,255,255,.7); padding: clamp(60px, 8vw, 90px) 0 34px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1.5fr; gap: clamp(36px, 6vw, 80px); padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-tag { margin-top: 22px; font-size: .92rem; color: rgba(255,255,255,.5); max-width: 38ch; line-height: 1.7; }
.footer-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; align-self: center; }
.finfo dt { font-size: .76rem; color: rgba(255,255,255,.4); margin-bottom: 4px; letter-spacing: .02em; }
.finfo dd { font-size: .94rem; color: rgba(255,255,255,.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 26px; }
.footer-bottom .copy { font-size: .82rem; color: rgba(255,255,255,.4); }
.admin-link { font-size: .82rem; color: rgba(255,255,255,.5); transition: color .3s; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.admin-link:hover { color: var(--green-bright); border-bottom-color: var(--green-bright); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(2) { border-left: 1px solid var(--line); }
  .band, .band--rev .band-media { grid-template-columns: 1fr; }
  .band--rev .band-media { order: 0; }
  .values { grid-template-columns: 1fr; gap: 30px; }
  .client-groups { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .career-cards { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .header-inner { height: 64px; }
  .nav-link { height: 64px; }
  .mobile-nav { inset: 64px 0 auto 0; }
  .mobile-nav.open { max-height: calc(100vh - 64px); }
  .form-grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 110px 1fr; gap: 14px; }
  .perks { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .notice-meta { flex-direction: column; gap: 4px; align-items: flex-end; }
  .logo .tagline { display: none; }
  .logo--footer .tagline, .logo--stack .tagline { display: block; }
}
