.page-main {
  padding-top: 86px;
  background: linear-gradient(180deg, #faf8f3 0%, #f5f0e8 100%);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 150px clamp(22px, 5vw, 78px) 76px;
  color: #fff;
  background: #12100e;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,10,8,.86), rgba(12,10,8,.44), rgba(12,10,8,.18)),
    linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.68));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-hero h1 {
  margin: 0;
  max-width: 880px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 86px);
  line-height: .94;
  font-weight: 400;
}

.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.75;
}

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 106px) clamp(18px, 4vw, 44px);
}

.page-section.tight {
  padding-top: 44px;
}

.section-kicker {
  max-width: 820px;
  margin: 0 0 30px;
}

.section-kicker h2,
.story-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1;
  font-weight: 400;
}

.section-kicker p:not(.eyebrow),
.story-copy p {
  color: var(--muted);
  line-height: 1.8;
}

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

.story-band,
.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.story-copy {
  max-width: 780px;
}

.story-metrics,
.catalog-cards {
  display: grid;
  gap: 12px;
}

.story-metrics div,
.catalog-cards article {
  display: grid;
  gap: 4px;
  min-height: 108px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,249,.78);
  box-shadow: 0 12px 34px rgba(31,25,20,.06);
}

.story-metrics strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

.story-metrics span,
.catalog-cards span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.catalog-cards strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.insight-tile {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(31,25,20,.06);
}

.insight-tile span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.insight-tile h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
}

.insight-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.factory-editorial {
  display: grid;
  grid-template-columns: 1fr .8fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.factory-editorial figure,
.factory-editorial article,
.quote-image,
.contact-visual,
.article-aside {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31,25,20,.06);
}

.factory-editorial figure {
  margin: 0;
  min-height: 420px;
}

.factory-editorial img,
.quote-image img,
.contact-visual img,
.article-aside img {
  height: 100%;
  object-fit: cover;
}

.factory-editorial figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 12px;
}

.factory-editorial article {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.factory-editorial article h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  font-weight: 400;
}

.factory-editorial article p {
  color: var(--muted);
  line-height: 1.8;
}

.content-panel,
.filter-panel,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31,25,20,.06);
}

.content-panel {
  padding: clamp(28px, 4vw, 48px);
}

.content-panel h2,
.content-panel h3 {
  margin: 0 0 16px;
  color: var(--ink);
}

.content-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  font-weight: 400;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
  line-height: 1.8;
}

.content-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.listing-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31,25,20,.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.listing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215,55,31,.26);
  box-shadow: var(--shadow-soft);
}

.listing-card img {
  height: 250px;
  object-fit: cover;
}

.listing-card-body {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 24px;
}

.listing-card small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.listing-card h2,
.listing-card h3 {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.listing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-listing-grid {
  gap: clamp(20px, 3vw, 30px);
}

.product-listing-grid .listing-card img {
  height: clamp(260px, 24vw, 320px);
}

.tag,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1e8dc;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 800;
}

.filter-panel {
  position: sticky;
  top: 112px;
  padding: 22px;
}

.filter-panel h2 {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-panel a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.filter-panel a:hover,
.filter-panel a.is-active {
  color: var(--accent);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.detail-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-media img {
  min-height: 520px;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 70px);
  line-height: .98;
  font-weight: 400;
}

.detail-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-copy .button.secondary {
  border-color: rgba(23,20,18,.18);
  background: transparent;
  color: var(--soft-ink);
}

.product-decision {
  padding-top: 18px;
}

.product-quote-layout,
.article-layout,
.contact-command {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.quote-image {
  min-height: 540px;
}

.article-body {
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31,25,20,.06);
}

.article-body h2 {
  margin: 34px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  font-weight: 400;
}

.article-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.article-aside {
  display: grid;
  align-content: start;
}

.article-aside img {
  height: 310px;
}

.article-aside h3,
.article-aside p,
.article-aside .button {
  margin-left: 26px;
  margin-right: 26px;
}

.article-aside h3 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 24px;
}

.article-aside p {
  color: var(--muted);
  line-height: 1.7;
}

.article-aside .button {
  margin-bottom: 26px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.spec-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f1;
}

.spec-list strong,
.spec-list span {
  display: block;
}

.spec-list strong {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spec-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.inquiry-compact,
.subscribe-band {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--sage-deep);
  color: #fff;
}

.inquiry-compact .eyebrow,
.inquiry-compact h2,
.inquiry-compact p {
  margin: 0;
}

.inquiry-compact h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  font-weight: 400;
}

.inquiry-compact input,
.inquiry-compact textarea,
.subscribe-band input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  padding: 14px 15px;
}

.inquiry-compact textarea {
  min-height: 120px;
}

.subscribe-band {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  align-items: center;
}

.subscribe-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  font-weight: 400;
}

.subscribe-band p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.72);
}

.subscribe-message {
  min-height: 20px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.form-message {
  min-height: 22px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}

.turnstile-field {
  min-height: 65px;
}

.contact-command {
  grid-template-columns: minmax(300px, .45fr) minmax(0, 1fr);
}

.contact-command > .page-grid {
  align-self: stretch;
}

.contact-visual {
  position: relative;
  min-height: 640px;
}

.contact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(18,16,14,.78));
}

.contact-visual div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 6px;
  color: #fff;
}

.contact-visual strong {
  font-size: 20px;
}

.contact-visual span {
  color: rgba(255,255,255,.76);
  line-height: 1.6;
}

.contact-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
  font-weight: 400;
}

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

.contact-list a,
.contact-list span {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f1;
  color: var(--soft-ink);
}

.page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(22px, 5vw, 72px);
}

.page-hero img {
  filter: var(--banner-filter);
  transform: scale(1.04);
}

.page-hero-content {
  align-self: end;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-hero-actions .button.secondary {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(14px);
}

.page-hero-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.page-hero-proof div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,253,249,.1);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.page-hero-proof strong,
.page-hero-proof span {
  display: block;
}

.page-hero-proof strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  font-weight: 400;
}

.page-hero-proof span {
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.buyer-path {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
  padding-top: clamp(36px, 5vw, 74px);
}

.buyer-path-intro {
  position: sticky;
  top: 112px;
}

.buyer-path-intro h2,
.sample-kit-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  font-weight: 400;
}

.buyer-path-intro p:not(.eyebrow),
.sample-kit-copy p {
  color: var(--muted);
  line-height: 1.8;
}

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

.path-step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,253,249,.96), rgba(244,238,228,.84));
  box-shadow: 0 12px 34px rgba(31,25,20,.06);
}

.path-step::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 138px;
  height: 138px;
  border: 1px solid var(--market-line);
  border-radius: 50%;
}

.path-step span {
  display: inline-flex;
  color: var(--market-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.path-step h3 {
  margin: 42px 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

.path-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.sample-kit-panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(12px, 3vw, 34px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.sample-brief-grid article {
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31,25,20,.06);
}

.sample-brief-grid strong,
.sample-brief-grid span {
  display: block;
}

.sample-brief-grid strong {
  color: var(--market-accent);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sample-brief-grid span {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--market-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.text-link::after {
  content: " ->";
  margin-left: 6px;
}

.listing-card img {
  aspect-ratio: 1200 / 780;
  height: auto;
  background: #f7f4ee;
  filter: var(--product-image-filter);
}

.listing-card small,
.filter-panel a:hover,
.filter-panel a.is-active,
.story-metrics strong {
  color: var(--market-accent);
}

.detail-hero {
  padding-top: clamp(84px, 9vw, 126px);
}

.detail-copy {
  padding: clamp(8px, 2vw, 20px) 0;
}

.detail-copy .button {
  margin-right: 10px;
  margin-bottom: 10px;
}

.quote-image img,
.contact-visual img,
.article-aside img {
  width: 100%;
}

.contact-visual img {
  object-position: center;
}

.catalog-cards article,
.story-metrics div,
.insight-tile,
.listing-card,
.filter-panel,
.content-panel,
.article-body,
.article-aside,
.inquiry-compact,
.subscribe-band,
.quote-image,
.contact-visual {
  border-radius: var(--radius);
}

@media (max-width: 980px) {
  .page-main {
    padding-top: 0;
  }

  .page-hero {
    padding-top: 220px;
  }

  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-9,
  .span-12,
  .detail-layout,
  .subscribe-band,
  .story-band,
  .catalog-intro,
  .product-quote-layout,
  .article-layout,
  .contact-command,
  .factory-editorial {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero-proof,
  .buyer-path,
  .sample-kit-panel,
  .path-steps,
  .sample-brief-grid {
    grid-template-columns: 1fr;
  }

  .buyer-path-intro {
    position: static;
  }

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

  .filter-panel {
    position: static;
  }

  .contact-visual,
  .quote-image {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: 500px;
    padding: 210px 20px 58px;
  }

  .page-hero h1 {
    max-width: 11ch;
    font-size: clamp(32px, 8.8vw, 38px);
    line-height: 1.02;
  }

  .page-hero p {
    max-width: 31ch;
    font-size: 15px;
  }

  .page-grid,
  .spec-list,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .listing-card img {
    height: 230px;
  }

  .story-metrics strong {
    font-size: 38px;
  }

  .insight-tile {
    min-height: auto;
  }

  .factory-editorial figure,
  .contact-visual,
  .quote-image {
    min-height: 330px;
  }
}
