:root {
  --ink: #242823;
  --muted: #697067;
  --paper: #f7f4ed;
  --paper-2: #efe9dc;
  --white: #fffdf9;
  --line: #dcd6c9;
  --sage: #d8e2d1;
  --sage-strong: #4e6955;
  --clay: #ead1c0;
  --sand: #e9dfc7;
  --accent: #9a5542;
  --radius: 4px;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
body, button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }

:focus-visible { outline: 3px solid #b36b54; outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 237, .94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.brand__mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-style: italic; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .88rem; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.language-switch { border: 1px solid var(--line); display: inline-flex; padding: 2px; border-radius: 999px; }
.language-switch button { min-height: 36px; padding: 0 .65rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 700; }
.language-switch button[aria-pressed="true"] { background: var(--ink); color: white; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); padding: .75rem 1.2rem; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--dark { background: var(--ink); color: white; }
.button--compact { min-height: 40px; padding: .55rem .9rem; font-size: .82rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; text-underline-offset: 5px; }
.text-link:hover { color: var(--accent); }

.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr); border-bottom: 1px solid var(--line); }
.hero__content { padding: clamp(4rem, 8vw, 8.5rem) clamp(1.5rem, 7vw, 8rem); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--sage-strong); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 700px; margin: 0; font-size: clamp(3.25rem, 6.4vw, 6.5rem); line-height: .96; }
.hero__lead { max-width: 600px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.75; }
.hero__actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero__facts { margin: auto 0 0; padding-top: 3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hero__facts div { min-width: 0; }
.hero__facts dt { color: var(--muted); font-size: .72rem; margin-bottom: .4rem; }
.hero__facts dd { margin: 0; font-size: .9rem; font-weight: 650; }
.hero__visual { margin: 0; position: relative; min-height: 720px; overflow: hidden; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.hero__visual figcaption { position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); width: min(240px, calc(100% - 2rem)); padding: 1.2rem; background: rgba(255,253,249,.9); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); display: grid; gap: .45rem; }
.hero__visual figcaption span { color: var(--muted); font-size: .72rem; }

.trust-strip { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: 1.25rem clamp(1rem, 4vw, 4.5rem); border-bottom: 1px solid var(--line); background: var(--ink); color: white; }
.trust-strip p { margin: 0; color: #cbd0ca; font-size: .78rem; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 2.5rem; font-size: .78rem; }
.trust-strip li::before { content: "✓"; margin-right: .55rem; color: #c5d4bd; }

.case-study {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 6vw, 7rem);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.case-study__intro { align-self: start; position: sticky; top: 120px; }
.case-study__intro h2 { max-width: 690px; font-size: clamp(2.6rem, 4.7vw, 4.9rem); }
.case-study__intro > p:last-child { max-width: 620px; margin: 1.6rem 0 0; color: var(--muted); line-height: 1.8; }
.case-study__details { border-top: 1px solid var(--line); }
.case-study__details article { display: grid; grid-template-columns: 46px 1fr; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.case-study__details article > span { color: var(--accent); font: italic 1.05rem var(--serif); }
.case-study__details h3 { margin: 0 0 .55rem; font: 500 1.45rem var(--serif); }
.case-study__details p { margin: 0; color: var(--muted); line-height: 1.72; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 6vw, 7rem); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 430px); gap: 3rem; align-items: end; margin-bottom: 4rem; }
h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.25rem); line-height: 1; }
.section-heading > p, .visit-story > p, .operations-copy > p, .location-card > p { color: var(--muted); line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #bdb8ac; border: 1px solid #bdb8ac; }
.service-card { min-height: 470px; padding: clamp(1.5rem, 3vw, 2.8rem); display: flex; flex-direction: column; }
.service-card--sage { background: var(--sage); }
.service-card--clay { background: var(--clay); }
.service-card--sand { background: var(--sand); }
.service-card__number { font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.service-card__meta { margin: auto 0 1.4rem; display: flex; justify-content: space-between; color: #4f554f; font-size: .78rem; }
.service-card h3 { margin: 0; font: 500 clamp(2rem, 3.3vw, 3.4rem)/1 var(--serif); letter-spacing: -.03em; }
.service-card > p:not(.service-card__meta) { color: #51584f; line-height: 1.7; }
.service-select { min-height: 48px; margin-top: 1rem; padding: .8rem 0; border: 0; border-top: 1px solid rgba(36,40,35,.3); background: transparent; display: flex; justify-content: space-between; cursor: pointer; text-align: left; }
.concept-note { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; }

.section--visit { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); background: var(--white); }
.visit-story { position: sticky; top: 130px; align-self: start; }
.visit-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.visit-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.visit-steps > li > span { color: var(--accent); font: italic 1.1rem var(--serif); }
.visit-steps h3 { margin: 0 0 .55rem; font-family: var(--serif); font-size: 1.6rem; }
.visit-steps p { margin: 0; color: var(--muted); }

.section--booking { background: #e8e4da; }
.booking-heading { max-width: 760px; margin-bottom: 3rem; }
.booking-heading h2 { font-size: clamp(2.6rem, 4.8vw, 4.8rem); }
.booking-heading > p:last-child { color: var(--muted); line-height: 1.75; }
.booking-shell { max-width: 980px; margin: 0 auto; background: var(--white); border: 1px solid #d2ccbf; box-shadow: 0 28px 70px rgba(46,43,35,.08); }
.booking-progress { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.booking-progress button { min-height: 68px; border: 0; border-right: 1px solid var(--line); background: transparent; display: flex; align-items: center; justify-content: center; gap: .65rem; color: var(--muted); }
.booking-progress button:last-child { border-right: 0; }
.booking-progress button span:first-child { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .72rem; }
.booking-progress button[aria-current="step"] { color: var(--ink); font-weight: 700; background: var(--paper); }
.booking-progress button[aria-current="step"] span:first-child { background: var(--ink); color: white; border-color: var(--ink); }
.booking-panel { padding: clamp(1.5rem, 5vw, 4.5rem); min-height: 440px; }
.booking-panel[hidden] { display: none; }
.booking-panel h3 { margin: 0 0 1.8rem; font: 500 clamp(1.9rem, 3.2vw, 3rem) var(--serif); }
.booking-options { display: grid; gap: .75rem; }
.booking-options button { min-height: 82px; border: 1px solid var(--line); background: white; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; text-align: left; cursor: pointer; }
.booking-options button:hover, .booking-options button[aria-checked="true"] { border-color: var(--sage-strong); background: #eef3ea; }
.booking-options button span:first-child { display: grid; gap: .35rem; }
.booking-options small { color: var(--muted); }
.panel-title-row { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.panel-title-row h3 { margin-bottom: .35rem; }
.panel-title-row p { margin: 0; color: var(--muted); }
.back-button { min-height: 44px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.date-options { margin: 2.5rem 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.date-options button { min-height: 118px; border: 1px solid var(--line); background: white; display: grid; place-content: center; gap: .2rem; cursor: pointer; }
.date-options button[aria-checked="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.date-options strong { font: 500 2rem var(--serif); }
.date-options span, .date-options small { font-size: .72rem; }
.time-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.time-options button { min-height: 52px; border: 1px solid var(--line); background: white; cursor: pointer; }
.time-options button:hover, .time-options button[aria-checked="true"] { border-color: var(--sage-strong); background: var(--sage); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.field-grid label:not(.consent) { display: grid; gap: .55rem; font-size: .82rem; font-weight: 700; }
.field-grid input, .field-grid textarea { width: 100%; border: 1px solid var(--line); background: white; padding: .85rem 1rem; border-radius: 0; }
.field-grid input { min-height: 52px; }
.field-grid textarea { resize: vertical; }
.field-full { grid-column: 1 / -1; }
.field-grid label small { color: var(--muted); font-weight: 400; }
.consent { display: flex; align-items: start; gap: .8rem; color: var(--muted); font-size: .82rem; }
.consent input { width: 20px; height: 20px; min-height: auto; margin: 0; accent-color: var(--ink); }
.field-error { color: #a33f2b !important; min-height: 1.2em; }
.booking-confirmation { text-align: center; }
.confirmation-mark { width: 64px; height: 64px; margin: 0 auto 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font-size: 1.5rem; }
.booking-confirmation h3 { max-width: 560px; margin-left: auto; margin-right: auto; }
.booking-summary { max-width: 560px; margin: 2rem auto; border-top: 1px solid var(--line); }
.booking-summary div { padding: .9rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; text-align: left; }
.booking-summary dt { color: var(--muted); }
.booking-summary dd { margin: 0; font-weight: 700; text-align: right; }
.privacy-note { color: var(--muted); font-size: .82rem; }

.section--operations { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; background: #29312c; color: #f7f4ed; }
.section--operations h2 { color: inherit; }
.operations-copy .eyebrow { color: #b9ceb4; }
.operations-copy > p { color: #c7cec8; }
.operations-copy ul { list-style: none; padding: 1.5rem 0 0; margin: 2rem 0 0; border-top: 1px solid #4d5750; }
.operations-copy li { padding: .65rem 0; color: #d9ded9; }
.operations-copy li::before { content: "—"; margin-right: .7rem; color: #b9ceb4; }
.operations-demo { background: #f7f4ed; color: var(--ink); border: 1px solid #5a655e; box-shadow: 18px 18px 0 #1e2420; }
.operations-demo__header { padding: 1.4rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.operations-demo__header div { display: grid; gap: .25rem; }
.operations-demo__header small { color: var(--muted); }
.appointment { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); }
.appointment time { font: 500 1.25rem var(--serif); }
.appointment div { display: grid; gap: .3rem; }
.appointment small { color: var(--muted); }
.appointment > span { padding: .35rem .55rem; font-size: .7rem; background: var(--sage); }
.appointment--new > span { background: var(--clay); }
.appointment--change > span { background: var(--sand); }
.operations-demo footer { padding: 1rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .68rem; }
.operations-demo footer button { min-height: 42px; border: 1px solid var(--ink); background: transparent; padding: .5rem .8rem; cursor: pointer; }

.section--location { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1px; padding: 0; background: var(--line); }
.location-card { background: var(--clay); padding: clamp(3rem, 7vw, 7rem); }
.location-card h2 { max-width: 650px; }
.location-card dl { margin: 3rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.location-card dt { color: var(--muted); font-size: .72rem; }
.location-card dd { margin: .4rem 0 0; font-weight: 700; }
.location-map { min-height: 560px; position: relative; overflow: hidden; background: #e8e1d3; }
.map-road { position: absolute; height: 18px; background: #f6f2e9; border: 1px solid #d9d1c2; transform-origin: center; }
.map-road--one { width: 120%; left: -10%; top: 35%; transform: rotate(-8deg); }
.map-road--two { width: 90%; left: 35%; top: 55%; transform: rotate(72deg); }
.map-road--three { width: 75%; left: -20%; top: 75%; transform: rotate(18deg); }
.map-station { position: absolute; left: 16%; top: 48%; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #3f8d61; color: white; font-weight: 800; z-index: 2; }
.location-map > strong { position: absolute; left: calc(16% + 44px); top: 49%; z-index: 2; }
.map-pin { position: absolute; right: 23%; top: 32%; width: 40px; height: 40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); z-index: 2; box-shadow: 0 8px 20px rgba(90,55,41,.25); }
.map-pin i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); left: 14px; top: 14px; }
.location-map > em { position: absolute; right: 10%; top: 44%; font: 700 1.2rem var(--serif); z-index: 2; }

.concept-boundary { padding: 2.5rem clamp(1rem, 6vw, 7rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; background: #e0eadb; border-bottom: 1px solid var(--line); }
.concept-boundary .eyebrow { margin-bottom: .45rem; }
.concept-boundary h2 { font: 500 clamp(1.8rem, 3vw, 2.8rem) var(--serif); }
.concept-boundary > p { margin: 0; color: #4f5a50; line-height: 1.7; }
.site-footer { padding: 2rem clamp(1rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; }
  .hero { grid-template-columns: 1fr; }
  .hero__content { min-height: 720px; }
  .hero__visual { min-height: 640px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip ul { justify-content: flex-start; flex-wrap: wrap; }
  .section--visit, .section--operations { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; }
  .case-study__intro { position: static; }
  .visit-story { position: static; }
}

@media (max-width: 760px) {
  .site-header { gap: .8rem; padding: .75rem 1rem; }
  .header-actions .button { display: none; }
  .nav { overflow-x: auto; justify-content: flex-start; gap: 1rem; padding-bottom: .2rem; }
  .nav a { white-space: nowrap; }
  .hero__content { min-height: auto; padding: 4.5rem 1rem 3rem; }
  h1 { font-size: clamp(3.05rem, 15.5vw, 4.25rem); }
  .hero__facts { grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
  .hero__visual { min-height: 510px; }
  .hero__visual img { object-position: 64% center; }
  .trust-strip { gap: 1rem; }
  .trust-strip ul { display: grid; gap: .65rem; }
  .case-study { gap: 2.5rem; padding: 4.5rem 1rem; }
  .case-study__details article { grid-template-columns: 36px 1fr; gap: .8rem; }
  .section { padding: 4.5rem 1rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
  h2 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 410px; }
  .booking-progress button { min-height: 62px; }
  .booking-progress button span:last-child { display: none; }
  .booking-panel { min-height: 500px; }
  .date-options, .time-options { grid-template-columns: 1fr 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .panel-title-row { align-items: start; }
  .appointment { grid-template-columns: 52px 1fr; }
  .appointment > span { grid-column: 2; justify-self: start; }
  .operations-demo footer { align-items: flex-start; flex-direction: column; }
  .section--location { grid-template-columns: 1fr; }
  .location-map { min-height: 460px; }
  .concept-boundary { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 1rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .brand span:last-child { font-size: .95rem; }
  .language-switch button { min-width: 40px; padding: 0 .45rem; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .booking-options button { align-items: flex-start; flex-direction: column; gap: .8rem; }
}

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