/* ==========================================================================
   금장한복 — Keumjang Hanbok
   Palette: hanji ivory / ink / gold / plum
   ========================================================================== */

:root {
  --ivory: #f7f2ea;
  --ivory-2: #efe7da;
  --paper: #fbf8f3;
  --ink: #1d1a17;
  --ink-2: #3d3733;
  --muted: #7d746b;
  --line: #e2d9cb;
  --gold: #b48a3c;
  --gold-2: #d4b06a;
  --gold-3: #f0e2c3;
  --plum: #7b2d3c;
  --plum-2: #a04358;
  --shadow: 0 30px 60px -30px rgba(40, 30, 20, .35);

  --serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); }
.gold { color: var(--gold); }
.plum { color: var(--plum); }

/* paper texture */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212,176,106,.16), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(123,45,60,.07), transparent 60%),
    var(--ivory);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(247, 242, 234, .82);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(247,242,234,.94); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__seal {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--plum);
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 15px;
  display: grid; place-items: center; letter-spacing: -1px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.brand__name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
.brand__sub { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .28em; margin-top: 4px; font-weight: 500; }

.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a.is-active { background: var(--ivory-2); color: var(--ink); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { font-weight: 600; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.header__phone svg { width: 16px; height: 16px; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 72px 0 0; z-index: 49;
  background: rgba(247,242,234,.97); padding: 24px var(--gutter);
  flex-direction: column; gap: 4px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 16px 8px; font-size: 20px; font-family: var(--serif); border-bottom: 1px solid var(--line); }
.mobile-nav .mobile-nav__contact { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; transition: transform .15s, background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: #63212f; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #9c7630; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: rgba(255,255,255,.7); border-color: var(--line); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 8vh, 96px) 0 0;
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: 100%; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .22em; color: var(--gold);
  font-weight: 600; text-transform: uppercase; margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.hero__title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.18; letter-spacing: -.01em; color: var(--ink);
}
.hero__title em { font-style: normal; color: var(--plum); }
.hero__desc { margin-top: 24px; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 520px; line-height: 1.8; }
.hero__actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges { margin-top: 40px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero__badge { display: flex; flex-direction: column; gap: 2px; }
.hero__badge b { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1; }
.hero__badge b small { font-size: 14px; color: var(--gold); margin-left: 2px; }
.hero__badge span { font-size: 13px; color: var(--muted); }

.hero__visual { position: relative; height: clamp(440px, 62vh, 700px); }
.hero__ring {
  position: absolute; inset: 0; margin: auto; width: min(92%, 560px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff8e9, var(--gold-3) 55%, #e6d2a6 100%);
  box-shadow: inset 0 0 0 1px rgba(180,138,60,.35), 0 40px 80px -40px rgba(120,80,20,.45);
}
.hero__ring::after {
  content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed rgba(180,138,60,.45);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity 1.2s ease, transform 1.2s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; transform: none; }
.hero__slide img {
  max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(60, 40, 20, .28));
}
.hero__caption {
  position: absolute; right: 0; bottom: 6%; background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.35);
}
.hero__caption b { display: block; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(29,26,23,.25); padding: 0; }
.hero__dots button.is-active { background: var(--gold); width: 22px; border-radius: 4px; }

.hero__stamp {
  position: absolute; left: 4%; top: 4%; width: 92px; height: 92px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center;
  font-family: var(--serif); font-size: 12px; text-align: center; line-height: 1.35; letter-spacing: .1em;
  animation: spin 24s linear infinite; background: rgba(255,255,255,.4);
}
@keyframes spin { to { transform: rotate(360deg); } }

.is-shot .hero { min-height: 0; padding-bottom: 60px; }

/* marquee strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.strip__track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.strip__track:hover { animation-play-state: paused; }
.strip__item { display: inline-flex; align-items: center; gap: 18px; padding: 16px 28px; font-family: var(--serif); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.strip__item::after { content: "✦"; color: var(--gold); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding-top: clamp(48px, 7vw, 88px); }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #f1ebe0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .26em; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.section-head--center .eyebrow::before, .section-head--center .eyebrow::after { content: ""; width: 24px; height: 1px; background: var(--gold); }
.title { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.01em; line-height: 1.25; }
.lead { margin-top: 18px; font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-2); line-height: 1.85; }
.section--ink .lead { color: #cdc4b5; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__media .about__tag {
  position: absolute; left: -18px; bottom: 36px; background: var(--plum); color: #fff; padding: 18px 22px; border-radius: 14px;
  font-family: var(--serif); box-shadow: 0 20px 40px -20px rgba(123,45,60,.7);
}
.about__tag b { display: block; font-size: 34px; line-height: 1; }
.about__tag span { font-size: 13px; opacity: .85; letter-spacing: .06em; }
.about__body .title { margin-bottom: 8px; }
.about__quote { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.7; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 18px; margin: 26px 0; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.point { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); }
.point b { display: block; font-family: var(--serif); font-size: 16px; margin-bottom: 4px; }
.point span { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.number { text-align: center; padding: 28px 12px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.number b { display: block; font-family: var(--serif); font-size: clamp(30px, 3.5vw, 44px); color: var(--plum); line-height: 1; }
.number b small { font-size: 55%; color: var(--gold); margin-left: 2px; }
.number span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Collection */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab {
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.6);
  color: var(--ink-2); font-weight: 500; font-size: 15px; transition: all .2s;
}
.tab:hover { border-color: var(--gold); color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  animation: fadeUp .5s both;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media {
  position: relative; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; padding: 8%;
  background: radial-gradient(120% 90% at 50% 100%, #efe5d1 0%, #f9f5ee 60%, #fff 100%);
  overflow: hidden;
}
.card__media::before {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 8%; height: 8%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(70,50,20,.22), transparent 70%); filter: blur(6px);
}
.card__media img {
  position: relative; max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
  transition: transform .5s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 18px 22px rgba(60,40,20,.18));
}
.card__media img.is-photo { width: 100%; height: 100%; object-fit: cover; filter: none; position: absolute; inset: 0; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 18px 20px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__cat { font-size: 12px; color: var(--gold); letter-spacing: .12em; font-weight: 700; }
.card__name { font-family: var(--serif); font-size: 18px; margin-top: 4px; }
.card__desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.card__zoom {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.card__zoom:hover { background: var(--ink); color: #fff; }
.card__zoom svg { width: 16px; height: 16px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.collection__note { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--gold-3); color: #5c4718; font-size: 14px; display: flex; gap: 12px; align-items: flex-start; }
.collection__note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { padding: 28px 24px; border-radius: 16px; background: rgba(255,255,255,.65); border: 1px solid var(--line); }
.service__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-3); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.service__icon svg { width: 24px; height: 24px; }
.service h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,176,106,.6), transparent); }
.step { text-align: center; padding: 0 12px; position: relative; }
.step__no {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; background: var(--ink); color: var(--gold-2);
  display: grid; place-items: center; font-family: var(--serif); font-size: 18px; border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--gold);
}
.section--ink .step__no { background: var(--gold); color: var(--ink); border-color: var(--ink); }
.step h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: #b9ae9c; line-height: 1.6; }

/* Interior gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: #fff; background: rgba(0,0,0,.45); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* Reviews / trust */
.trust { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.trust__card { padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.trust__card .serif { font-size: 17px; line-height: 1.7; }
.trust__card small { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 30px 60px -50px rgba(40,30,20,.5); scroll-margin-top: 90px;
}
.form-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.form-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.form-card__icon svg { width: 22px; height: 22px; }
.form-card__icon--plum { background: var(--plum); }
.form-card__icon--gold { background: var(--gold); }
.form-card h3 { font-family: var(--serif); font-size: 24px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label i { color: var(--plum); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,60,.18); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field--row .field { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(180,138,60,.3); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.consent input { margin-top: 3px; accent-color: var(--plum); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-actions .btn { flex: 1; }
.form-alt { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.form-alt a { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.form-msg.is-ok { display: block; background: #eef7ec; color: #23532a; border: 1px solid #cfe6cb; }
.form-msg.is-err { display: block; background: #fdeeee; color: #7a2323; border: 1px solid #f1cfcf; }
.form-msg.is-info { display: block; background: var(--gold-3); color: #5c4718; border: 1px solid #e9d7ad; }

/* time slots */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slots .chip span { display: block; text-align: center; padding: 10px 6px; }

/* --------------------------------------------------------------------------
   Location
   -------------------------------------------------------------------------- */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.location__info { display: flex; flex-direction: column; gap: 14px; }
.info-row { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.info-row__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--gold-3); color: var(--gold); display: grid; place-items: center; }
.info-row__icon svg { width: 20px; height: 20px; }
.info-row b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; margin-bottom: 2px; }
.info-row span, .info-row a { font-size: 16px; color: var(--ink); }
.info-row a.big { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.info-row .copy { margin-left: auto; align-self: center; }
.map-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--ivory-2); position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.map__badge { position: absolute; left: 14px; top: 14px; background: #fff; padding: 8px 12px; border-radius: 10px; font-size: 13px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: linear-gradient(135deg, #2a1b1f 0%, var(--plum) 55%, #5b2331 100%);
  color: #fff; border-radius: 26px; padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.cta::after { content: "壽福"; position: absolute; right: -10px; bottom: -40px; font-family: var(--serif); font-size: 220px; color: rgba(255,255,255,.06); line-height: 1; }
.cta h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); line-height: 1.3; }
.cta p { margin-top: 12px; color: rgba(255,255,255,.8); }
.cta__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; position: relative; }
.cta .btn--light { background: #fff; color: var(--plum); border-color: #fff; }
.cta .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta .btn--ghost:hover { background: #fff; color: var(--plum); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 56px 0 120px; border-top: 1px solid var(--line); background: var(--paper); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__brand .brand__name { font-size: 24px; }
.footer p { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.8; }
.footer h4 { font-size: 13px; letter-spacing: .16em; color: var(--gold); margin-bottom: 14px; }
.footer li { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.footer__bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Mobile bottom bar */
.bottom-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(29,26,23,.96); backdrop-filter: blur(10px); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
}
.bottom-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); }
.bottom-bar a.is-primary { background: var(--gold); color: var(--ink); }
.bottom-bar svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,16,12,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox__inner { max-width: min(92vw, 1000px); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__inner img { max-height: 76vh; max-width: 100%; object-fit: contain; border-radius: 12px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.lightbox__cap { color: #fff; text-align: center; font-family: var(--serif); font-size: 18px; }
.lightbox__cap small { display: block; color: rgba(255,255,255,.65); font-family: var(--sans); font-size: 13px; margin-top: 4px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; }
.lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }
.lightbox__actions { display: flex; gap: 8px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; }
.toast.is-show { opacity: 1; transform: translateX(-50%); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .process::before { display: none; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .hero { min-height: 0; padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 16px; }
  .hero__visual { height: clamp(360px, 60vw, 520px); order: -1; }
  .hero__stamp { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media .about__tag { left: 14px; bottom: 14px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .forms { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
  .bottom-bar { display: grid; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 15px; }
  .card__desc { display: none; }
  .card__zoom { display: none; }
  .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .field--row { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .footer .wrap { grid-template-columns: 1fr; }
  .about__points { grid-template-columns: 1fr; }
  .hero__badges { gap: 18px; }
  .map-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
