/* The preview toolbar is separate from the sample business. */
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body, figure, h1, h2, h3, p, dl, dd, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.business-preview {
  --paper: #fff;
  --ink: #20221f;
  --muted: #535750;
  --line: #e1e3de;
  --soft: #f5f5f2;
  color: var(--ink);
  background: var(--soft);
  font: 16px/1.65 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.preview-stage:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
  box-shadow: inset 0 0 0 5px #20221f;
}
.inquiry-result:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 30; padding: 12px 20px; background: #fff; }
.skip-link:focus { top: 12px; }

.preview-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 10px max(16px, 4vw);
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}
.preview-identity, .preview-actions, .device-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.preview-identity { gap: 16px; }
.preview-title { font-weight: 750; }
.preview-back, .preview-open, .preview-apply, .device-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 650;
}
.preview-back { padding-inline: 0; color: var(--muted); }
.preview-back:hover, .preview-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.device-controls { gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.device-controls button { border: 0; background: transparent; white-space: nowrap; }
.device-controls button[aria-pressed=true] { background: var(--ink); color: #fff; }
.preview-apply { background: #456e25; color: #fff; white-space: nowrap; }
.preview-apply:hover { background: #39591f; }

.preview-stage { overflow-x: auto; }
.preview-site {
  --accent: #20221f;
  --on-accent: #fff;
  --radius: 8px;
  --heading-font: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif;
  container: sample / inline-size;
  width: 100%;
  margin-inline: auto;
  background: var(--paper);
  color: var(--ink);
}
[data-preview-device=mobile] .preview-site { max-width: 390px; }
[data-preview-device=pc] .preview-site { min-width: 960px; }
.preview-notice { padding: 7px 16px; background: var(--soft); color: var(--muted); text-align: center; font-size: 12px; }

.business-header, .business-hero, .business-highlights, .collection-section, .story-section,
.visit-section, .inquiry-section, .business-footer, .photo-credits {
  padding-inline: clamp(20px, 5cqw, 70px);
}
.business-header, .business-hero, .collection-section, .visit-section, .business-footer, .photo-credits {
  max-width: 1440px;
  margin-inline: auto;
}
.business-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 76px; border-bottom: 1px solid var(--line); }
.business-brand { font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.business-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 14px; font-weight: 650; }
.business-header nav a, .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.business-header nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.business-header .nav-action { padding-inline: 14px; border: 1px solid var(--line); border-radius: 6px; }
.business-menu-toggle { display: none; }

.business-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 5cqw, 72px); padding-block: clamp(38px, 6cqw, 84px); }
.hero-copy, .hero-photo { min-width: 0; }
.hero-kicker { margin-bottom: 10px; color: var(--muted); font-size: 14px; font-weight: 700; }
.hero-copy h1 { font-family: var(--heading-font); font-size: clamp(32px, 4.3cqw, 60px); font-weight: 750; line-height: 1.18; letter-spacing: -.04em; white-space: pre-line; text-wrap: balance; }
.hero-intro { max-width: 40ch; margin-top: 18px; color: var(--muted); }
.hero-actions, .hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
.button, .hero-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border: 0; border-radius: min(var(--radius), 10px); font-size: 15px; font-weight: 700; text-align: center; }
.hero-links a:not(.button-primary) { border: 1px solid var(--line); background: var(--paper); }
.button-primary { background: var(--accent); color: var(--on-accent); }
.hero-links a:hover, .button-primary:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link { font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.hero-facts { margin-top: 18px; font-size: 14px; }
.hero-facts > div { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 8px; }
.hero-facts dt { color: var(--muted); }
.hero-facts dd { font-weight: 700; }
.hero-announcement { margin-top: 20px; color: var(--muted); font-size: 13px; }
.hero-photo > img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius); }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.business-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; padding-block: 18px; border-block: 1px solid var(--line); font-size: 14px; }

.collection-section, .visit-section { padding-block: clamp(36px, 6cqw, 80px); }
.section-heading { max-width: 58ch; margin-bottom: 24px; }
.section-heading h2, .story-section h2, .visit-copy h2, .inquiry-heading h2 { font-family: var(--heading-font); font-size: clamp(25px, 3cqw, 38px); font-weight: 730; line-height: 1.28; letter-spacing: -.03em; white-space: pre-line; }
.section-heading > p, .story-section > div > p, .visit-copy > p, .inquiry-heading > p { margin-top: 12px; color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.offer { min-width: 0; }
.offer img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.offer-body { padding-block: 12px; }
.offer-category { color: var(--muted); font-size: 12px; font-weight: 650; }
.offer h3 { margin-top: 3px; font-size: clamp(18px, 2cqw, 23px); line-height: 1.35; }
.offer-description { margin-top: 8px; color: var(--muted); font-size: 15px; }
.offer-detail { margin-top: 10px; font-size: 14px; font-weight: 650; }
.offer-action { min-height: 44px; margin-top: 4px; padding: 6px 0; border: 0; background: transparent; font-size: 14px; font-weight: 650; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.offer-grid[data-presentation=rows] { grid-template-columns: minmax(0, 1fr); gap: 0; }
.offer-grid[data-presentation=rows] .offer { padding-block: 14px; border-top: 1px solid var(--line); }
.offer-grid[data-presentation=tiles] .offer { overflow: hidden; background: var(--soft); border-radius: var(--radius); }
.offer-grid[data-presentation=tiles] .offer-body { padding-inline: 16px; }
.offer-grid[data-presentation=specs] .offer-detail { padding-block: 8px; border-block: 1px solid var(--line); }
@container sample (min-width: 768px) {
  .offer-grid[data-presentation=rows] .offer { display: grid; grid-template-columns: minmax(140px, 23%) minmax(0, 1fr); align-items: center; gap: 24px; }
  .offer-grid[data-presentation=feature] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid[data-presentation=feature] .offer:first-child { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4cqw, 54px); }
}
.sample-price-note, .inquiry-heading .inquiry-disclaimer { margin-top: 12px; color: var(--muted); font-size: 13px; }

.story-section, .visit-section, .inquiry-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5cqw, 64px); }
.story-section, .inquiry-section { padding-block: clamp(32px, 5cqw, 68px); background: var(--soft); }
.story-brand { font-size: clamp(16px, 2cqw, 24px); font-weight: 800; letter-spacing: .04em; }
.visit-facts { margin-block: 20px 10px; }
.visit-facts > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.visit-facts dt, .visit-faq details p { color: var(--muted); }
.visit-faq h3 { margin-bottom: 10px; font-size: 19px; }
.visit-faq details { border-top: 1px solid var(--line); }
.visit-faq summary { min-height: 44px; padding-block: 12px; font-weight: 650; }
.visit-faq details p { padding-bottom: 14px; font-size: 14px; }
.inquiry-fields label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 650; }
.inquiry-fields :is(input, select) { width: 100%; min-height: 46px; padding: 8px 10px; border: 1px solid #9b9f97; border-radius: 6px; background: #fff; color: #20221f; color-scheme: light; }
.inquiry-date-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.inquiry-fields > .button { margin-top: 16px; }
.inquiry-result { margin-top: 16px; font-size: 14px; }
.business-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 30px 18px; border-top: 1px solid var(--line); }
.business-footer > div > a { font-weight: 800; }
.business-footer p, .photo-credits { color: var(--muted); font-size: 13px; }
.business-footer > a, .photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
.photo-credits { padding-bottom: 22px; }
.photo-credits summary { min-height: 44px; padding-block: 9px; }
.photo-credits ul { padding-left: 18px; }

@container sample (max-width: 767px) {
  .business-header { gap: 8px 16px; min-height: 68px; padding-block: 8px; }
  .business-brand { max-width: 74%; }
  .business-header nav { width: 100%; gap: 3px 12px; }
  [data-controls-ready] .business-menu-toggle { display: block; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
  [data-controls-ready] .business-header nav:not([data-open]) { display: none; }
  .business-header nav a { flex: 1 0 44%; }
  .business-hero, .business-highlights, .offer-grid, .story-section, .visit-section, .inquiry-section { grid-template-columns: minmax(0, 1fr); }
  .business-hero { padding-block: 28px; }
  .hero-copy h1 { font-size: clamp(29px, 8cqw, 39px); }
  .business-highlights p + p { padding-top: 10px; border-top: 1px solid var(--line); }
  .inquiry-date-row { grid-template-columns: minmax(0, 1fr); }
  .business-footer { flex-direction: column; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 148px; }
  .preview-toolbar { gap: 0 8px; padding-block: 4px; }
  .preview-identity { width: 100%; gap: 12px; }
  .preview-actions { gap: 4px; }
  .preview-open, .preview-apply, .device-controls button { padding-inline: 8px; font-size: 13px; }
}
@media (max-width: 349px) {
  html { scroll-padding-top: 192px; }
}
