/* Safety home, About, Contact and the brand and industry indexes. Builds on site.css tokens. */

/* Full-bleed photographic hero */
.shero, .phero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--grad-panel); color: var(--white); --hl-bg: var(--violet); }
.shero { min-height: min(92svh, 880px); margin-bottom: 0; }
.phero { min-height: min(78svh, 720px); margin-bottom: var(--section-gap); }
.phero-short { min-height: min(62svh, 560px); }
.shero-img, .phero-img { position: absolute; inset: 0; z-index: -2; }
.shero-img img, .phero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.shero::before, .phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 8, 44, .35) 0%, rgba(24, 8, 44, .15) 30%, var(--scrim) 100%); }
@media (min-width: 1000px) {
  .shero::before, .phero::before { background: linear-gradient(90deg, var(--scrim) 0%, rgba(24, 8, 44, .78) 40%, rgba(24, 8, 44, .3) 72%, var(--scrim-soft) 100%), linear-gradient(180deg, rgba(24, 8, 44, 0) 60%, rgba(24, 8, 44, .55) 100%); }
}
.shero-in, .phero-in { display: flex; flex-direction: column; gap: 18px; padding-top: 72px; padding-bottom: 28px; }
@media (min-width: 1000px) { .shero-in, .phero-in { gap: 24px; padding-top: 120px; padding-bottom: 40px; } }
.shero-in > p, .phero-in > p { max-width: 620px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
@media (min-width: 768px) { .shero-in > p, .phero-in > p { font-size: 19px; } }
.shero-title, .phero .h-hero { max-width: 900px; font-size: clamp(44px, 7vw, 104px); line-height: .94; }
.shero .searchbar { border-color: transparent; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55); }
.shero .shero-in { padding-bottom: 48px; }
@media (min-width: 1000px) { .shero .shero-in { padding-bottom: 72px; } }

/* Plain page hero, for the indexes */
.ihero { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; padding-bottom: 36px; }
@media (min-width: 1000px) { .ihero { gap: 22px; padding-top: 36px; padding-bottom: 48px; } }
.ihero .h-page { max-width: 980px; font-size: clamp(44px, 6.4vw, 96px); }

/* Category cards, photographed on a tinted stage */
.cat-grid-rich { gap: 10px; }
@media (min-width: 768px) { .cat-grid-rich { gap: 14px; } }
.cat-rich { position: relative; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s; }
.cat-rich:hover { border-color: var(--violet); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cat-rich .cat-img { height: auto; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 60%, var(--white) 0%, var(--tint) 70%); }
.cat-rich .cat-img img { padding: 12%; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.cat-rich:hover .cat-img img { transform: scale(1.08) rotate(-2deg); }
.cat-count { position: absolute; top: 10px; right: 10px; min-width: 40px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.cat-rich:hover .cat-count { background: var(--violet); color: var(--white); }

/* Story split */
.story { display: grid; gap: 22px; align-items: center; }
@media (min-width: 1000px) { .story { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.story-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-panel); }
@media (min-width: 1000px) { .story-img { border-radius: 36px; } }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.story-copy p { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 560px; }
@media (min-width: 768px) { .story-copy p { font-size: 18px; } }

/* About */
.about-lead { gap: 36px; }
@media (min-width: 768px) { .about-lead { gap: 56px; } }
.statement { max-width: 1100px; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.12; font-weight: 700; font-stretch: 106%; letter-spacing: -.02em; }
.stats-plain dd { color: var(--ink); }

.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.pillar { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.pillar-img { position: relative; aspect-ratio: 16 / 10; background: var(--grad-panel); overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.05); }
.pillar-product { background: radial-gradient(circle at 50% 60%, var(--white) 0%, var(--tint) 75%); }
.pillar-product .ph { position: absolute; inset: 0; background: transparent; }
.pillar-product .ph img { object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.pillar-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; flex: 1; }
@media (min-width: 768px) { .pillar-copy { padding: 28px; } }
.pillar-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--tint); color: var(--violet-ink); font-size: 13px; font-weight: 700; }
.pillar h3 { font-size: 22px; line-height: 1.2; font-weight: 750; font-stretch: 106%; }
.pillar p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.pillar .textlink { margin-top: auto; padding-top: 4px; }

.record { display: grid; gap: 24px; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--night); color: var(--night-ink); }
@media (min-width: 1000px) { .record { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; padding: 56px; border-radius: 36px; } }
.record-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.record-copy p { font-size: 16px; line-height: 1.65; color: var(--night-muted); max-width: 440px; }
.record-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.record-list > div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--night-line); }
@media (min-width: 640px) { .record-list > div { grid-template-columns: 200px minmax(0, 1fr); gap: 16px; } }
.record-list dt { font-size: 14px; color: var(--night-soft); }
.record-list dd { margin: 0; font-size: 15.5px; font-weight: 600; font-family: var(--font-mono); overflow-wrap: anywhere; }
.record-inline { margin-top: 8px; padding: 6px 22px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.record-inline > div { border-top-color: var(--line); }
.record-inline > div:first-child { border-top: 0; }
.record-inline dt { color: var(--muted); }


.places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.place { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.place-img { aspect-ratio: 16 / 9; background: var(--grad-panel); }
.place-img img { width: 100%; height: 100%; object-fit: cover; }
.place-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; }
@media (min-width: 768px) { .place-copy { padding: 28px; } }
.place h3 { font-size: 26px; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.place-role { font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.place address { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.place-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.place-actions .btn { flex: none; }

/* Contact */
.reach { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .reach { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.reach-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
@media (min-width: 768px) { .reach-card { padding: 30px; } }
.reach-card:hover { transform: translateY(-4px); border-color: var(--violet); box-shadow: var(--shadow-lift); }
.reach-card .tile-icon { margin-bottom: 10px; }
.reach-wa .tile-icon { background: var(--green); color: var(--white); }
.reach-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.reach-value { font-size: clamp(19px, 1.9vw, 24px); font-weight: 800; font-stretch: 106%; overflow-wrap: anywhere; }
.reach-note { font-size: 14px; color: var(--ink-2); }

/* Industry index bands */
.ibands { gap: 14px; }
@media (min-width: 768px) { .ibands { gap: 20px; } }
.iband { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 1000px) {
  .iband { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 36px; min-height: 420px; }
  .iband-flip .iband-img { order: 2; }
}
.iband-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--grad-panel); overflow: hidden; }
@media (min-width: 1000px) { .iband-img { aspect-ratio: auto; } }
.iband-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.iband-img .ph { position: absolute; inset: 0; }
.iband-img .ph img { object-fit: contain; padding: 12%; }
.iband:hover .iband-img img { transform: scale(1.05); }
.iband-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 24px 22px 26px; }
@media (min-width: 1000px) { .iband-copy { gap: 18px; padding: 48px 56px; } }
.iband-copy h2 a { text-decoration: none; }
.iband-copy h2 a:hover { color: var(--accent-ink); }
.iband-copy p { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 520px; }
.iband-copy .btn { margin-top: 4px; }
