/* Visit information is the primary entry point for a neighborhood pharmacy. */
[data-industry=pharmacy] .preview-site {
  --paper: #fbfdfa;
  --ink: #17382d;
  --muted: #445f54;
  --line: #cfdfd7;
  --soft: #e8f3ec;
  --accent: #14624a;
  --on-accent: #fff;
  --radius: 10px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
}
[data-industry=pharmacy] .business-hero {
  background: var(--soft);
  max-width: none;
}
[data-industry=pharmacy] .hero-photo > img {
  aspect-ratio: 5 / 3;
}
[data-industry=pharmacy] .hero-facts {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--paper);
}
[data-industry=pharmacy] .hero-facts dt {
  color: var(--muted);
}
[data-industry=pharmacy] .hero-facts dd {
  color: var(--ink);
  font-weight: 750;
}
[data-industry=pharmacy] .visit-section {
  padding-block: clamp(28px, 4cqw, 54px);
}
[data-industry=pharmacy] .offer-grid {
  gap: 12px;
}
[data-industry=pharmacy] .offer-grid .offer {
  border-top: 3px solid var(--accent);
  background: var(--soft);
}
[data-industry=pharmacy] .offer-body {
  padding: 16px;
}

/* The clinic puts the common patient tasks alongside a short introduction. */
[data-industry=clinic] .preview-site {
  --paper: #fff;
  --ink: #172e49;
  --muted: #435a72;
  --line: #d5e0ec;
  --soft: #eef5fb;
  --accent: #1f568c;
  --on-accent: #fff;
  --radius: 6px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
}
[data-industry=clinic] .business-hero {
  position: relative;
  align-items: stretch;
  gap: 0;
  padding-block: 0;
  padding-inline: 0;
  background: var(--soft);
}
[data-industry=clinic] .hero-copy {
  align-self: center;
  padding: clamp(26px, 5cqw, 68px);
}
[data-industry=clinic] .hero-photo > img {
  height: 100%;
  min-height: 200px;
  max-height: 440px;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-position: 55% 50%;
}
[data-industry=clinic] .hero-photo figcaption {
  display: none;
}
[data-industry=clinic] .hero-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}
[data-industry=clinic] .hero-links a {
  justify-content: center;
  text-align: center;
}
[data-industry=clinic] .business-highlights {
  border-bottom: 2px solid var(--accent);
  background: var(--paper);
}
[data-industry=clinic] .business-highlights p {
  color: var(--accent);
  font-weight: 750;
}
[data-industry=clinic] .visit-facts {
  padding-inline: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
}

/* A room-led first screen and a booking band are familiar hotel patterns. */
[data-industry=hotel] .preview-site {
  --paper: #fdfaf5;
  --ink: #302721;
  --muted: #64584d;
  --line: #ded2c5;
  --soft: #eee6db;
  --accent: #684d39;
  --on-accent: #fff;
  --radius: 2px;
  --heading-font: 'Noto Serif KR', 'Batang', serif;
}
[data-industry=hotel] .business-brand {
  letter-spacing: .15em;
}
[data-industry=hotel] .business-hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: clamp(390px, 36cqw, 540px);
  max-width: none;
}
[data-industry=hotel] .hero-copy {
  width: min(100%, 40rem);
  color: #fff;
}
[data-industry=hotel] .hero-copy :is(.hero-kicker, .hero-intro, .hero-announcement) {
  color: #fff;
}
[data-industry=hotel] .hero-copy .button-primary {
  background: #fff8ef;
  color: #302721;
}
[data-industry=hotel] .hero-copy .button-primary:hover {
  background: #eadbc9;
}
[data-industry=hotel] .hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
}
[data-industry=hotel] .hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(27 20 15 / 86%), rgb(27 20 15 / 72%) 55%, rgb(27 20 15 / 64%));
  content: '';
}
[data-industry=hotel] .hero-photo > img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
[data-industry=hotel] .hero-photo figcaption {
  display: none;
}
[data-industry=hotel] .business-highlights {
  border-block: 0;
  background: #382c24;
  color: #fff8ef;
}
[data-industry=hotel] .business-highlights p {
  color: inherit;
}
[data-industry=hotel] .business-highlights p + p {
  border-color: #6f5c4e;
}
[data-industry=hotel] .offer img {
  aspect-ratio: 5 / 3;
  border-radius: 0;
}
[data-industry=hotel] .inquiry-section {
  gap: 18px;
  padding-block: clamp(22px, 3cqw, 38px);
  border-block: 1px solid var(--line);
}
[data-industry=hotel] .inquiry-stay {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
[data-industry=hotel] .inquiry-stay > div {
  min-width: 0;
}
[data-industry=hotel] .inquiry-stay > div:last-child {
  grid-column: 1 / -1;
}

/* A workbench photo introduces the problem, with compact diagnostic rows. */
[data-industry=phonerepair] .preview-site {
  --paper: #f7f9fc;
  --ink: #142139;
  --muted: #49586d;
  --line: #ced8e5;
  --soft: #eaf0f8;
  --accent: #2354a0;
  --on-accent: #fff;
  --radius: 5px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
}
[data-industry=phonerepair] .business-hero {
  gap: clamp(18px, 3cqw, 44px);
}
[data-industry=phonerepair] .hero-copy {
  padding: clamp(18px, 3cqw, 38px);
  border: 1px solid var(--line);
  background: #fff;
}
[data-industry=phonerepair] .hero-photo > img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
}
[data-industry=phonerepair] .business-highlights {
  background: var(--soft);
}
[data-industry=phonerepair] .offer-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}
[data-industry=phonerepair] .offer-grid .offer {
  display: grid;
  grid-template-columns: minmax(70px, 22%) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2.5cqw, 32px);
  padding-block: 16px;
}
[data-industry=phonerepair] .offer + .offer {
  border-top: 1px solid var(--line);
}
[data-industry=phonerepair] .offer img {
  aspect-ratio: 1;
}
[data-industry=phonerepair] .offer-body {
  padding: 0;
}

/* Courses read as a board of choices, with the learning space as context. */
[data-industry=academy] .preview-site {
  --paper: #fff;
  --ink: #1a284b;
  --muted: #49536b;
  --line: #d5dbeb;
  --soft: #eef0f9;
  --accent: #384381;
  --on-accent: #fff;
  --radius: 9px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
}
[data-industry=academy] .business-hero {
  gap: 20px;
  padding-block-end: 0;
}
[data-industry=academy] .hero-photo > img {
  aspect-ratio: 18 / 7;
  object-position: center 42%;
}
[data-industry=academy] .business-highlights {
  background: var(--soft);
}
[data-industry=academy] .section-heading {
  padding-inline-start: 16px;
  border-inline-start: 4px solid var(--accent);
}
[data-industry=academy] .offer-grid {
  gap: 12px;
}
[data-industry=academy] .offer-grid .offer {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
[data-industry=academy] .offer img {
  aspect-ratio: 2 / 1;
  border-radius: 0;
}
[data-industry=academy] .offer-grid .offer-body {
  padding: 16px 20px;
}
[data-industry=academy] .offer-detail {
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--soft);
}

/* The space and equipment carry the gaming venue's visual identity. */
[data-industry=pcbang] .preview-site {
  --paper: #15121a;
  --ink: #f8f3f6;
  --muted: #cec3cb;
  --line: #453845;
  --soft: #231c28;
  --accent: #ffc1d5;
  --on-accent: #391522;
  --radius: 4px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
  color: var(--ink);
}
[data-industry=pcbang] .business-hero {
  align-items: stretch;
  gap: 0;
  max-width: none;
  padding: 0;
  background: #211622;
}
[data-industry=pcbang] .hero-copy {
  align-self: center;
  padding: clamp(24px, 6cqw, 78px) clamp(20px, 5cqw, 70px);
}
[data-industry=pcbang] .hero-kicker {
  color: var(--accent);
}
[data-industry=pcbang] .hero-photo > img {
  height: 100%;
  min-height: 210px;
  max-height: 520px;
  aspect-ratio: 16 / 8;
  border-radius: 0;
  object-position: center;
}
[data-industry=pcbang] .hero-photo figcaption {
  display: none;
}
[data-industry=pcbang] .business-highlights {
  border-top: 3px solid var(--accent);
  background: var(--soft);
}
[data-industry=pcbang] .offer {
  border-bottom: 1px solid var(--line);
}
[data-industry=pcbang] .offer img {
  aspect-ratio: 16 / 9;
}
[data-industry=pcbang] :is(.business-menu-toggle, .inquiry-fields input, .inquiry-fields select) {
  background: var(--soft);
  color: var(--ink);
  color-scheme: dark;
}
[data-industry=pcbang] .inquiry-fields option {
  background: var(--soft);
  color: var(--ink);
}

/* Keep service categories and pickup information in view for a laundry. */
[data-industry=laundry] .preview-site {
  --paper: #f9fcff;
  --ink: #153c4d;
  --muted: #435f6e;
  --line: #ccdee5;
  --soft: #e8f4f6;
  --accent: #14667e;
  --on-accent: #fff;
  --radius: 18px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
}
[data-industry=laundry] .business-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  background: var(--soft);
}
[data-industry=laundry] .hero-photo > img {
  aspect-ratio: 5 / 2;
  border-radius: var(--radius);
  object-position: center 59%;
}
[data-industry=laundry] .business-highlights {
  background: #f1f9fb;
}
[data-industry=laundry] .hero-links a {
  border-radius: 999px;
}
[data-industry=laundry] .offer-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
[data-industry=laundry] .offer {
  display: grid;
  grid-template-columns: minmax(72px, 22%) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2.4cqw, 28px);
  padding: clamp(12px, 2cqw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
[data-industry=laundry] .offer-body {
  padding: 0;
}
[data-industry=laundry] .offer img {
  aspect-ratio: 1;
  border-radius: calc(var(--radius) - 7px);
}

/* Lead from housing criteria into photographic listings and area details. */
[data-industry=realestate] .preview-site {
  --paper: #faf9f5;
  --ink: #293830;
  --muted: #526057;
  --line: #d9ded4;
  --soft: #edf0e8;
  --accent: #2f644f;
  --on-accent: #fff;
  --radius: 8px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
}
[data-industry=realestate] .business-hero {
  position: relative;
  isolation: isolate;
  align-items: center;
  max-width: none;
  background: var(--soft);
}
[data-industry=realestate] .hero-copy {
  padding: clamp(18px, 3cqw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
[data-industry=realestate] .hero-photo > img {
  aspect-ratio: 16 / 9;
}
[data-industry=realestate] .hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
[data-industry=realestate] .hero-links a {
  flex: 1 1 auto;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
[data-industry=realestate] .offer-grid {
  gap: 16px;
}
[data-industry=realestate] .offer-grid .offer {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
[data-industry=realestate] .offer img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
[data-industry=realestate] .offer-body {
  padding: 16px 20px;
}

/* Give vehicle-service choices the density of an inspection desk. */
[data-industry=autorepair] .preview-site {
  --paper: #f7f7f5;
  --ink: #272b2c;
  --muted: #525a59;
  --line: #d9dbd8;
  --soft: #e9eae6;
  --accent: #a33719;
  --on-accent: #fff;
  --radius: 0px;
  --heading-font: 'Pretendard Variable', Pretendard, sans-serif;
}
[data-industry=autorepair] .business-hero {
  align-items: stretch;
  max-width: none;
  padding: 0;
  gap: 0;
  background: #2a3030;
  color: #fff;
}
[data-industry=autorepair] .hero-copy {
  align-self: center;
  padding: clamp(26px, 5cqw, 70px);
}
[data-industry=autorepair] .hero-copy :is(.hero-kicker, .hero-intro, .hero-announcement) {
  color: #e6ece9;
}
[data-industry=autorepair] .hero-copy .button-primary {
  background: #ffdbcd;
  color: #3d1b10;
}
[data-industry=autorepair] .hero-copy .button-primary:hover {
  background: #ffc6b1;
}
[data-industry=autorepair] .hero-links a:not(.button-primary) {
  border-color: #788280;
  background: transparent;
  color: #fff;
}
[data-industry=autorepair] .hero-links a:not(.button-primary):hover {
  background: #414b49;
}
[data-industry=autorepair] .hero-photo > img {
  height: 100%;
  max-height: 520px;
  aspect-ratio: 5 / 3;
  border-radius: 0;
}
[data-industry=autorepair] .hero-photo figcaption {
  display: none;
}
[data-industry=autorepair] .business-highlights {
  border-top: 4px solid var(--accent);
  background: var(--soft);
}
[data-industry=autorepair] .offer-grid {
  gap: 12px;
}
[data-industry=autorepair] .offer-grid .offer {
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  background: #fff;
}
[data-industry=autorepair] .offer-body {
  padding: 16px;
}

@container sample (min-width: 768px) {
  [data-industry=pharmacy] .business-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  }
  [data-industry=pharmacy] .hero-photo > img {
    aspect-ratio: 5 / 4;
  }
  [data-industry=pharmacy] .offer-grid .offer {
    grid-template-columns: minmax(90px, 14%) minmax(0, 1fr);
    padding: 12px;
  }
  [data-industry=clinic] .business-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  }
  [data-industry=clinic] .hero-photo > img {
    aspect-ratio: auto;
  }
  [data-industry=hotel] .hero-photo::after {
    background: linear-gradient(90deg, rgb(27 20 15 / 84%), rgb(27 20 15 / 68%) 57%, transparent 96%);
  }
  [data-industry=hotel] .inquiry-section {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-industry=hotel] .inquiry-fields {
    display: grid;
    grid-template-columns: minmax(155px, .8fr) minmax(0, 2.2fr);
    align-items: end;
    gap: 12px;
  }
  [data-industry=hotel] .inquiry-stay {
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(94px, .72fr);
    margin: 0;
  }
  [data-industry=hotel] .inquiry-stay > div:last-child {
    grid-column: auto;
  }
  [data-industry=hotel] .inquiry-fields > .button {
    justify-self: start;
    margin: 0;
  }
  [data-industry=hotel] .inquiry-result {
    grid-column: 1 / -1;
  }
  [data-industry=phonerepair] .business-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  [data-industry=phonerepair] .hero-photo {
    grid-column: 1;
    grid-row: 1;
  }
  [data-industry=phonerepair] .hero-copy {
    grid-column: 2;
    grid-row: 1;
    margin-top: 24px;
  }
  [data-industry=phonerepair] .offer-grid .offer {
    grid-template-columns: minmax(100px, 16%) minmax(0, 1fr);
    align-items: center;
  }
  [data-industry=academy] .business-hero {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: end;
  }
  [data-industry=academy] .hero-copy {
    padding-bottom: 38px;
  }
  [data-industry=academy] .hero-photo > img {
    aspect-ratio: 3 / 2;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  [data-industry=academy] .hero-photo figcaption {
    display: none;
  }
  [data-industry=pcbang] .business-hero {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    min-height: 370px;
  }
  [data-industry=pcbang] .hero-photo {
    margin-inline-start: -24px;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  }
  [data-industry=pcbang] .hero-photo > img {
    aspect-ratio: auto;
  }
  [data-industry=laundry] .hero-photo > img {
    aspect-ratio: 4 / 1;
  }
  [data-industry=laundry] .offer {
    grid-template-columns: minmax(100px, 13%) minmax(0, 1fr);
    align-items: center;
  }
  [data-industry=realestate] .business-hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
    min-height: clamp(435px, 39cqw, 590px);
  }
  [data-industry=realestate] .hero-copy {
    width: min(100%, 475px);
    box-shadow: 0 10px 28px rgb(30 39 31 / 15%);
  }
  [data-industry=realestate] .hero-copy h1 {
    font-size: clamp(32px, 3.1cqw, 38px);
    text-wrap: initial;
  }
  [data-industry=realestate] .hero-photo {
    position: absolute;
    z-index: -1;
    inset: 0;
  }
  [data-industry=realestate] .hero-photo > img {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  [data-industry=realestate] .hero-photo figcaption {
    display: none;
  }
  [data-industry=realestate] .offer-grid .offer {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    gap: clamp(12px, 3cqw, 40px);
  }
  [data-industry=autorepair] .business-hero {
    grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
    min-height: clamp(360px, 34cqw, 500px);
  }
  [data-industry=autorepair] .hero-copy h1 {
    font-size: clamp(30px, 3.2cqw, 44px);
    text-wrap: initial;
  }
  [data-industry=autorepair] .hero-photo {
    position: relative;
  }
  [data-industry=autorepair] .hero-photo > img {
    position: absolute;
    inset: 0;
    max-height: none;
    aspect-ratio: auto;
  }
}

@container sample (min-width: 1000px) {
  [data-industry=hotel] .inquiry-fields {
    grid-template-columns: minmax(170px, .8fr) minmax(0, 2.2fr) max-content;
  }
}
