:root {
  --red: #a50034;
  --active-red: #fd312e;
  --ink: #171717;
  --muted: #69615f;
  --warm: #f6f1ed;
  --soft: #fbf8f6;
  --line: #e5dbd8;
  --panel: #ffffff;
  --dark: #15171a;
  --shadow: 0 18px 60px rgba(36, 20, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.inline-link {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link.light {
  color: #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 340px) auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(165, 0, 52, 0.12);
  background: rgba(251, 248, 246, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 96px;
  height: 34px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.nav-menu summary {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #403a39;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.main-nav a:hover,
.nav-menu summary:hover {
  background: #fff;
  color: var(--active-red);
}

.nav-menu {
  position: relative;
}

.nav-menu > div {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 18px 24px;
  border-top: 1px solid rgba(165, 0, 52, 0.12);
  background: #fff;
  color: var(--muted);
  font-size: 15px;
}

.site-footer a {
  color: var(--red);
  font-weight: 900;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

#app {
  outline: 0;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.home-banner-hero {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.home-banner-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}

.home-banner-button picture,
.home-banner-button img {
  display: block;
  width: 100%;
}

.home-banner-button img {
  aspect-ratio: 1920 / 720;
  object-fit: cover;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  min-height: clamp(420px, 52vh, 560px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #fff 0%, var(--warm) 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(34px, 6vw, 84px);
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.btn.primary {
  border-color: var(--active-red);
  color: #fff;
  background: var(--active-red);
}

.btn.secondary {
  background: #fff;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 0;
  border-left: 1px solid var(--line);
  background: #ede5df;
  cursor: zoom-in;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 300px;
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #fff 0%, var(--warm) 100%);
}

.page-intro > div:first-child {
  display: grid;
  gap: 12px;
}

.page-intro h1 {
  font-size: clamp(48px, 7vw, 86px);
}

.page-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.home-visit-section {
  padding-top: clamp(30px, 4.6vw, 56px);
}

.section {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) 0;
}

.section.compact {
  padding-block: clamp(34px, 4.8vw, 58px);
}

.section-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  margin-bottom: 22px;
  color: var(--ink);
  background: transparent;
}

.section-head span {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 44px;
  border-left: 3px solid var(--active-red);
  color: var(--active-red);
  background: transparent;
  font-weight: 900;
}

.section-head div {
  display: grid;
  gap: 6px;
  padding: 16px 20px;
}

.section-head .eyebrow {
  color: var(--active-red);
}

.section-head.mini {
  grid-template-columns: 56px minmax(0, 1fr);
  margin-bottom: 14px;
}

.product-entry-grid,
.two-col,
.collection-grid,
.promotion-info,
.insight-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-entry,
.collection-card,
.promotion-band,
.model-card,
.story-card,
.result-card,
.accordion,
.promotion-info > div,
.content-panel,
.feature-copy-card,
.insight-strip > article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.insight-strip > article {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.insight-strip ul,
.collection-card ul,
.promo-content ul {
  margin: 0;
  padding-left: 18px;
  color: #504a48;
  line-height: 1.65;
}

.insight-strip p:not(.eyebrow),
.content-panel p:not(.eyebrow),
.feature-copy-card p {
  color: var(--muted);
  line-height: 1.58;
}

.product-entry {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 18px;
}

.product-entry img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--warm);
}

.product-entry div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}

.product-entry span,
.story-card span {
  color: var(--active-red);
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.story-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-items: stretch;
}

.story-card {
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  min-height: 456px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-thumb {
  position: relative;
  height: 190px;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--warm);
}

.story-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.image-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(21, 23, 26, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.story-card-body {
  display: grid;
  grid-template-rows: auto auto auto auto minmax(34px, auto) auto;
  gap: 8px;
  padding: 14px;
}

.story-card-body h3,
.story-location,
.collection-label {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.story-card-body h3 {
  min-height: 1.2em;
  -webkit-line-clamp: 1;
}

.story-location {
  min-height: 1.35em;
  color: var(--ink);
  line-height: 1.35;
  -webkit-line-clamp: 1;
}

.story-location.is-empty {
  visibility: hidden;
}

.story-card > .story-thumb {
  padding: 0;
  gap: 0;
}

.story-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.collection-label {
  min-height: calc(1.35em * 2);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.story-card.needsReview {
  border-color: #e6b8a8;
  background: #fff9f6;
}

.missing-image,
.modal-missing {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px;
  color: #8a4b2b;
  background: #fff1e9;
  font-weight: 900;
}

.case-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 30px;
  max-height: 66px;
  overflow: hidden;
  align-content: flex-start;
}

.case-topics span,
.case-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--red);
  background: #fff1f5;
  font-size: 12px;
  font-weight: 900;
}

.story-card-body > span:last-child {
  align-self: end;
  margin-top: auto;
}

.more-case-card {
  color: inherit;
}

.more-case-card .more-case-body {
  grid-template-rows: auto;
  align-content: start;
  min-height: 266px;
}

.more-case-copy {
  display: -webkit-box;
  overflow: hidden;
  max-width: 320px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.more-case-visual {
  display: grid;
  place-items: center;
  height: 190px;
  background: var(--red);
}

.more-case-visual span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  color: #fff;
  font-size: 48px;
  line-height: 1;
}

.promotion-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(120deg, var(--red), #15171a);
  color: #fff;
}

.resource-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.resource-band p:not(.eyebrow) {
  max-width: 800px;
  color: var(--muted);
  line-height: 1.55;
}

.resource-band h2 {
  margin: 4px 0 8px;
}

.promotion-band p {
  max-width: 820px;
  color: #f8d8e2;
  line-height: 1.55;
}

.promotion-page {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(20px, 4vw, 44px);
}

.promotion-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.promotion-copy {
  display: grid;
  gap: 18px;
}

.promotion-copy h1 {
  font-size: clamp(42px, 5.2vw, 72px);
}

.promotion-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.promo-key-list {
  display: grid;
  gap: 10px;
}

.promo-key-list div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.promo-key-list span {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--active-red);
}

.promo-key-list p {
  color: #322c2b;
  line-height: 1.45;
}

.promo-carousel {
  position: relative;
  overflow: hidden;
  min-height: min(70vh, 680px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.promo-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: min(62vh, 600px);
  padding: 0;
  border: 0;
  background: #fff;
}

.promo-stage img {
  width: 100%;
  height: 100%;
  max-height: min(62vh, 600px);
  object-fit: contain;
}

.promo-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 68px;
  transform: translateY(-50%);
  border: 0;
  color: #fff;
  background: rgba(21, 23, 26, 0.55);
  font-size: 38px;
  cursor: pointer;
}

.promo-carousel-nav:hover {
  background: rgba(165, 0, 52, 0.86);
}

.promo-carousel-nav.prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.promo-carousel-nav.next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

.promo-dots {
  display: none;
}

.promo-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 23, 26, 0.28);
  cursor: pointer;
}

.promo-dots button.active {
  width: 28px;
  background: var(--active-red);
}

.promo-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.promo-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}

.promo-thumbs button.active {
  border-color: var(--active-red);
}

.promo-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-rail,
.image-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.content-panel {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 18px;
}

.feature-copy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.feature-copy-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.feature-copy-card p + p {
  margin-top: 2px;
}

.spec-block,
.story-source-block {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(35, 25, 25, 0.05);
}

.spec-block > summary {
  min-height: 56px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--red);
  font-weight: 900;
}

.spec-scroll {
  overflow-x: auto;
  padding: 0 16px 16px;
}

.spec-scroll table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-scroll th,
.spec-scroll td {
  max-width: 320px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.spec-scroll th {
  position: sticky;
  left: 0;
  background: #fff;
  color: var(--red);
  font-weight: 900;
}

.story-source-block {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
}

.guide-lines {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.guide-lines p {
  color: var(--muted);
  line-height: 1.58;
}

.model-card {
  display: grid;
  grid-template-rows: 300px minmax(0, 1fr);
  overflow: hidden;
  scroll-snap-align: start;
}

.model-image-frame {
  display: grid;
  place-items: center;
  height: 300px;
  padding: 18px 28px 10px;
  overflow: hidden;
  background: #fff;
}

.model-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}

.model-image-frame.styler img {
  max-width: 100%;
}

.model-image-frame.washtower img {
  max-width: 100%;
}

.model-card-body {
  padding: 16px;
}

.model-card-body {
  display: grid;
  align-content: start;
}

.model-card p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.model-card ul {
  margin: 0;
  padding-left: 18px;
  color: #504a48;
  line-height: 1.6;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.image-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #eee;
  cursor: zoom-in;
}

.image-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 240ms ease;
}

.feature-rail .image-tile img {
  object-fit: contain;
  background: #fff;
}

.hero-media.product-hero img {
  object-fit: contain;
  padding: clamp(18px, 4vw, 54px);
  background: #fff;
}

.image-tile:hover img {
  transform: scale(1.025);
}

.image-tile span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(21, 23, 26, 0.78);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.project-group-card {
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.project-group-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--warm);
  transition: transform 220ms ease;
}

.project-group-card:hover img {
  transform: scale(1.025);
}

.project-group-card div {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.project-group-card span {
  color: var(--active-red);
  font-size: 13px;
  font-weight: 900;
}

.feature-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.feature-visual-card {
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.feature-visual-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
  transition: transform 220ms ease;
}

.feature-visual-card:hover img {
  transform: scale(1.015);
}

.best-only-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.best-only-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.best-only-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  transition: transform 220ms ease;
}

.best-only-card:hover img {
  transform: scale(1.01);
}

.quick-advice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-advice-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.quick-advice-card h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
}

.quick-advice-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.promo-tile span {
  display: none;
}

.sales-resource-grid,
.document-grid,
.external-link-grid {
  display: grid;
  gap: 16px;
}

.resource-static-thumb,
.styler-document-visual {
  position: relative;
  display: grid;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.resource-static-thumb {
  cursor: zoom-in;
}

.resource-static-thumb img,
.styler-document-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.resource-static-thumb:hover img,
.styler-document-visual:hover img {
  transform: scale(1.02);
}

.styler-document-visual {
  grid-template-rows: minmax(320px, 1fr) auto;
  min-height: 360px;
  cursor: pointer;
}

.styler-document-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.styler-document-visual span {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--active-red);
  font-weight: 900;
}

.resource-link-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.resource-link-layout .external-link-grid {
  grid-template-columns: 1fr;
}

.resource-link-layout .resource-static-thumb {
  min-height: 100%;
}

.sales-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consulting-resource-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.document-grid,
.external-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.sales-resource-card,
.external-resource-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-align: left;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.consulting-card {
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  padding: 0;
  cursor: zoom-in;
}

.consulting-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #fff;
}

.consulting-card div,
.document-card,
.external-resource-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.sales-resource-card span,
.external-resource-card span {
  color: var(--active-red);
  font-weight: 900;
}

.document-card {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
}

.document-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 86px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.document-card p:not(.eyebrow),
.external-resource-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.external-resource-card {
  min-height: 178px;
  align-content: space-between;
}

.external-resource-card h3 {
  min-height: 2.4em;
}

.accordion {
  margin-bottom: 10px;
  padding: 0;
}

.accordion summary {
  min-height: 56px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}

.tag-list span,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  font-weight: 800;
}

.guide p {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.video-guide-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.video-guide-card > div:first-child {
  display: grid;
  gap: 10px;
}

.video-guide-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.inline-resource-video {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 25, 25, 0.04);
}

.inline-resource-video > div:first-child {
  display: grid;
  gap: 6px;
  padding: 16px 18px 0;
}

.inline-resource-video h3 {
  font-size: clamp(20px, 2vw, 26px);
}

.inline-resource-video .video-frame {
  margin: 16px 18px 18px;
}

.youtube-embed-card {
  display: grid;
  gap: 10px;
}

.inline-resource-video .youtube-embed-card {
  margin: 16px 18px 18px;
}

.youtube-embed-card > a {
  color: var(--active-red);
  font-weight: 900;
  text-decoration: none;
}

.video-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.collection-card {
  padding: 22px;
}

.collection-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.collection-card details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.collection-card summary {
  cursor: pointer;
  color: var(--red);
  font-weight: 900;
}

.collection-card li + li,
.promo-content li + li,
.insight-strip li + li {
  margin-top: 6px;
}

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chip {
  cursor: pointer;
}

.chip.active {
  border-color: var(--active-red);
  color: #fff;
  background: var(--active-red);
}

.promotion-info > div {
  padding: 18px;
}

.promo-content {
  margin-top: 16px;
}

.promotion-info span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.result-list {
  display: grid;
  gap: 12px;
}

.result-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  overflow: hidden;
}

.result-card img {
  width: 120px;
  height: 110px;
  object-fit: cover;
}

.result-card div {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.result-card p:last-child,
.empty {
  color: var(--muted);
}

.modal {
  width: min(1000px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.modal.case-modal {
  width: min(1180px, calc(100vw - 28px));
}

.modal::backdrop {
  background: rgba(13, 12, 12, 0.72);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-size: 28px;
  cursor: pointer;
}

.modal-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #111;
}

.modal-copy {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
  background: #fff;
}

.lightbox-viewer {
  position: relative;
  display: grid;
  min-height: min(78vh, 760px);
  background: #111;
}

.lightbox-stage {
  display: grid;
  align-content: center;
  margin: 0;
  min-height: min(78vh, 760px);
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #111;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 84px;
  color: #fff;
  background: rgba(17, 17, 17, 0.92);
  font-size: 14px;
  font-weight: 800;
}

.lightbox-caption strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-caption span {
  color: #ffd7de;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 72px;
  transform: translateY(-50%);
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.44);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav:hover {
  background: rgba(165, 0, 52, 0.82);
}

.lightbox-nav.prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.lightbox-nav.next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

.case-detail {
  max-height: 74vh;
  overflow: auto;
}

.case-modal-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
  max-height: calc(100vh - 28px);
  overflow: auto;
  background: #fff;
}

.case-modal-layout .case-detail {
  max-height: none;
  overflow: visible;
  align-content: start;
  border-right: 1px solid var(--line);
}

.case-context {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--red);
  background: #fff1f5;
  font-weight: 800;
  line-height: 1.5;
}

.case-gallery-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: var(--soft);
}

.case-gallery-head {
  display: grid;
  gap: 4px;
}

.case-detail > p {
  color: var(--muted);
  line-height: 1.65;
}

.case-section-list {
  display: grid;
  gap: 12px;
}

.case-section-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.case-section-card.compact {
  background: #fff;
}

.case-section-card h3 {
  color: var(--red);
  font-size: 16px;
}

.case-section-card p {
  color: var(--muted);
  line-height: 1.58;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.case-gallery-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  cursor: zoom-in;
  text-align: left;
}

.case-gallery-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 200ms ease;
}

.case-gallery-tile:hover img {
  transform: scale(1.025);
}

.case-gallery-tile span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(21, 23, 26, 0.76);
  font-size: 11px;
  font-weight: 900;
}

.case-modal-layout .case-gallery {
  margin-top: 0;
}

.candidate-list {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #e3ad9b;
  border-radius: 8px;
  background: #fff9f6;
}

.candidate-list ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.source-note {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.segment-grid,
.guide-item-grid,
.promo-detail-grid,
.feature-compare-grid {
  display: grid;
  gap: 14px;
}

.segment-grid,
.promo-detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 16px;
}

.guide-item-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.guide-item-grid.inside {
  padding: 0 18px 18px;
}

.segment-card,
.guide-item,
.feature-compare-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(35, 25, 25, 0.05);
}

.segment-card,
.guide-item {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.segment-card p,
.guide-item p {
  color: var(--muted);
  line-height: 1.58;
}

.segment-card ul {
  margin: 0;
  padding-left: 18px;
  color: #504a48;
  line-height: 1.55;
}

.feature-compare-grid {
  margin-top: 18px;
}

.feature-compare-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
}

.feature-visual {
  min-height: 250px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-copy {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.comparison-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comparison-columns > div {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.comparison-columns ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #504a48;
  line-height: 1.5;
}

.review-note {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #f0c87a;
  border-radius: 8px;
  color: #6d4600;
  background: #fff8e8;
  line-height: 1.45;
}

.review-note strong {
  color: #8a5600;
}

.table-note {
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.5;
}

.review-list {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.review-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff8e8;
}

.review-list article > span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  color: #fff;
  background: #9b6500;
  font-weight: 900;
}

.review-list p {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: none;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .product-entry-grid,
  .two-col,
  .collection-grid,
  .promotion-info,
  .promotion-showcase,
  .insight-strip,
  .feature-compare-card,
  .comparison-columns,
  .sales-resource-grid,
  .document-card,
  .resource-link-layout {
    grid-template-columns: 1fr;
  }

  .quick-advice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-modal-layout {
    grid-template-columns: 1fr;
  }

  .video-guide-card {
    grid-template-columns: 1fr;
  }

  .youtube-embed-card {
    grid-template-columns: 1fr;
  }

  .case-modal-layout .case-detail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    max-height: none;
  }

  .page-intro {
    align-items: flex-start;
    flex-direction: column;
    min-height: 250px;
  }

  .hero-media {
    min-height: 320px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .home-banner-button img {
    aspect-ratio: 1 / 1;
  }

  .product-entry {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-inline: 14px;
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    padding: 34px 20px;
  }

  .section {
    width: min(100% - 24px, 1320px);
  }

  .section-head {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .section-head div {
    padding: 14px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .quick-advice-grid {
    grid-template-columns: 1fr;
  }

  .quick-advice-card {
    min-height: auto;
  }

  .promotion-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .promotion-page {
    align-items: start;
    min-height: auto;
    padding: 18px 14px 34px;
  }

  .promotion-showcase {
    gap: 22px;
  }

  .promo-carousel,
  .promo-stage {
    min-height: 420px;
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .result-card img {
    width: 100%;
    height: 170px;
  }

  .lightbox-nav {
    width: 42px;
    height: 62px;
    font-size: 34px;
  }

  .lightbox-caption {
    justify-content: flex-start;
    padding-inline: 14px 58px;
  }
}
