/* Project and product previews use the existing photos and content in their own reading order. */
[data-industry=cleaning] .preview-site {
  --paper: #fdfaf3;
  --ink: #28392f;
  --muted: #4a6254;
  --line: #d8e2d4;
  --soft: #e7f0e4;
  --accent: #255947;
  --on-accent: #fff;
  --radius: 14px;
}
[data-industry=cleaning] .business-hero { background: var(--soft); }
[data-industry=cleaning] .hero-photo img { aspect-ratio: 16 / 10; }
[data-industry=cleaning] .offer-detail {
  padding: 8px 12px;
  background: var(--soft);
  border-radius: 6px;
}
[data-industry=cleaning] .inquiry-section { border-top: 4px solid var(--accent); }
[data-industry=cleaning] .business-highlights { background: var(--paper); }

[data-industry=freelance] .preview-site {
  --paper: #fff8ef;
  --ink: #33231b;
  --muted: #634c3e;
  --line: #dbcbbd;
  --soft: #f3e4d3;
  --accent: #953f24;
  --on-accent: #fff;
  --radius: 4px;
}
[data-industry=freelance] .business-hero { padding-bottom: 22px; }
[data-industry=freelance] .hero-photo img { aspect-ratio: 16 / 9; }
[data-industry=freelance] .offer-grid .offer { border-bottom: 1px solid var(--line); }
[data-industry=freelance] .offer-grid .offer:first-child { background: var(--soft); }
[data-industry=freelance] .offer-grid .offer:first-child .offer-body { padding: 18px; }
[data-industry=freelance] .offer-detail { color: var(--accent); }
[data-industry=freelance] .inquiry-section { background: #edd7c5; }

[data-industry=corporate] .preview-site {
  --paper: #f7fbff;
  --ink: #142439;
  --muted: #40536b;
  --line: #cbd9e8;
  --soft: #e8f1fb;
  --accent: #2049a4;
  --on-accent: #fff;
  --radius: 2px;
}
[data-industry=corporate] .business-hero {
  max-width: none;
  color: #f7fbff;
  background: #142842;
}
[data-industry=corporate] .hero-copy :is(.hero-kicker, .hero-intro, .hero-announcement),
[data-industry=corporate] .hero-photo figcaption { color: #dae7f8; }
[data-industry=corporate] .hero-actions .button-primary { background: #cce0ff; color: #132e58; }
[data-industry=corporate] .offer-grid .offer { border-top: 4px solid var(--accent); }
[data-industry=corporate] .offer img { aspect-ratio: 16 / 9; }
[data-industry=corporate] .story-section {
  background: #142842;
  color: #f7fbff;
}
[data-industry=corporate] .story-section > div > p { color: #dae7f8; }

[data-industry=landing] .preview-site {
  --paper: #f5efe6;
  --ink: #392b1d;
  --muted: #624e3b;
  --line: #d9cbb9;
  --soft: #eee1ce;
  --accent: #684521;
  --on-accent: #fff;
  --radius: 2px;
  --heading-font: 'Noto Serif KR', Batang, serif;
}
[data-industry=landing] .business-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 44cqw, 620px);
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  text-align: center;
}
[data-industry=landing] .hero-copy { max-width: 640px; color: #fff; }
[data-industry=landing] .hero-copy :is(.hero-kicker, .hero-intro, .hero-announcement) { color: #fff; }
[data-industry=landing] .hero-intro { margin-inline: auto; }
[data-industry=landing] .hero-actions { justify-content: center; }
[data-industry=landing] .hero-actions .button-primary { background: #f7ead8; color: #392b1d; }
[data-industry=landing] .hero-photo { position: absolute; z-index: -1; inset: 0; }
[data-industry=landing] .hero-photo img { height: 100%; object-position: 50% 48%; border-radius: 0; }
[data-industry=landing] .hero-photo::after { position: absolute; inset: 0; background: rgb(32 23 14 / 68%); content: ''; }
[data-industry=landing] .hero-photo figcaption { display: none; }
[data-industry=landing] .collection-section .section-heading { margin-inline: auto; text-align: center; }
[data-industry=landing] .offer-grid .offer:first-child img { aspect-ratio: 16 / 10; }
[data-industry=landing] .story-section { text-align: center; grid-template-columns: minmax(0, 54ch); justify-content: center; }

[data-industry=responsive] .preview-site {
  --paper: #f6f7f4;
  --ink: #252e29;
  --muted: #46564b;
  --line: #d2d9cf;
  --soft: #e8eee5;
  --accent: #3f5748;
  --on-accent: #fff;
  --radius: 0px;
}
[data-industry=responsive] .business-hero { background: var(--soft); }
[data-industry=responsive] .hero-photo img { aspect-ratio: 4 / 3; }
[data-industry=responsive] .collection-section .offer-grid .offer { background: var(--paper); }
[data-industry=responsive] .collection-section .offer-body { padding-inline: 0; }
[data-industry=responsive] .story-section { border-block: 1px solid var(--line); }

[data-industry=detailpage] .preview-site {
  --paper: #fffdf8;
  --ink: #33253b;
  --muted: #60516a;
  --line: #e0d8e1;
  --soft: #f3eaf4;
  --accent: #694477;
  --on-accent: #fff;
  --radius: 8px;
}
[data-industry=detailpage] .business-hero { align-items: stretch; gap: 20px; }
[data-industry=detailpage] .hero-copy { align-content: center; padding: clamp(20px, 3cqw, 48px); background: var(--soft); border-radius: var(--radius); }
[data-industry=detailpage] .hero-copy h1 { font-size: clamp(30px, 3.75cqw, 52px); }
[data-industry=detailpage] .hero-photo img { aspect-ratio: 1; }
[data-industry=detailpage] .offer-grid img { aspect-ratio: 1; }
[data-industry=detailpage] .business-highlights { background: var(--soft); }
[data-industry=detailpage] .inquiry-section { background: var(--paper); border-top: 1px solid var(--line); }

@container sample (min-width: 768px) {
  [data-industry=cleaning] .business-hero { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  [data-industry=cleaning] .offer-grid[data-presentation=rows] .offer {
    grid-template-columns: minmax(150px, 27%) minmax(0, 1fr);
  }

  [data-industry=freelance] .business-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  [data-industry=freelance] .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: clamp(24px, 5cqw, 70px);
    align-items: start;
  }
  [data-industry=freelance] .hero-copy h1 { grid-column: 1; grid-row: 2 / 5; }
  [data-industry=freelance] .hero-copy .hero-kicker { grid-column: 1; grid-row: 1; }
  [data-industry=freelance] .hero-copy > :is(.hero-intro, .hero-actions, .hero-announcement) { grid-column: 2; }
  [data-industry=freelance] .hero-photo img { aspect-ratio: 2.65; }

  [data-industry=corporate] .business-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  [data-industry=corporate] .hero-photo img { aspect-ratio: 6 / 5; }

  [data-industry=landing] .offer-grid[data-presentation=feature] .offer:first-child {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  }

  [data-industry=responsive] .business-hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(28px, 4cqw, 60px);
    padding-block: 34px;
  }
  [data-industry=responsive] .hero-photo { grid-area: 1 / 1; }
  [data-industry=responsive] .hero-copy { grid-area: 1 / 2; }
  [data-industry=responsive] .offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
  [data-industry=responsive] .offer-grid .offer:first-child { grid-column: span 2; }

  [data-industry=detailpage] .business-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
  [data-industry=detailpage] .hero-photo { grid-area: 1 / 1; }
  [data-industry=detailpage] .hero-copy { grid-area: 1 / 2; }
  [data-industry=detailpage] .hero-photo img { aspect-ratio: 6 / 5; }
}

@container sample (max-width: 767px) {
  [data-industry=landing] .business-hero { min-height: 425px; }
  [data-industry=responsive] .offer-grid { gap: 30px; }
  [data-industry=detailpage] .business-hero { gap: 14px; }
  [data-industry=detailpage] .hero-photo { grid-row: 1; }
  [data-industry=detailpage] .hero-photo img { aspect-ratio: 4 / 3; }
}
