/* In-House Production — page content styles (chrome via site-chrome.css) */
:root {
  --accent: #ffb800;
  --accent-hover: #f5a623;
  --navy: #1a202c;
  --charcoal: #111827;
  --text: #374151;
  --heading: #111827;
  --bg: #ffffff;
  --bg-muted: #f8f9fa;
  --bg-gray: #f3f4f6;
  --border: #e5e7eb;
  --muted: #8a8a8a;
  --white: #fff;
  --black: #000;
  --font: "Inter", system-ui, sans-serif;
  --container: 1400px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font-family: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

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

.page-main {
  padding: 0;
  background: var(--bg);
}

.healthcare-page {
  padding-top: 0;
  background: var(--white);
}

.btn--accent {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  background: var(--accent);
  color: var(--charcoal);
  font-weight: 700;
  border: 0;
  text-decoration: none;
  transition: background var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: var(--charcoal);
}

/* —— Hero —— */
.hc-hero {
  position: relative;
  color: var(--white);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hc-hero__media {
  position: absolute;
  inset: 0;
  background: #000;
}

.hc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hc-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.25) 0%, rgba(17, 24, 39, 0.88) 100%);
}

.hc-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.hc-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.hc-hero__subtitle {
  margin: 0 0 1.25rem;
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.ih-hero__cta {
  margin-top: 0.25rem;
}

/* —— Intro / editorial —— */
.ih-intro,
.ih-editorial {
  padding: 2.75rem 0;
}

.ih-editorial--muted {
  background: var(--bg-muted);
}

.ih-intro__inner,
.ih-editorial__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.ih-intro h2,
.ih-editorial h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--heading);
  line-height: 1.3;
}

.ih-intro p,
.ih-editorial p {
  margin: 0 0 0.85rem;
  color: var(--text);
  line-height: 1.65;
}

.ih-intro p:last-child,
.ih-editorial p:last-child {
  margin-bottom: 0;
}

/* —— Pillars —— */
.ih-pillars {
  padding: 2.5rem 0 3rem;
  background: var(--bg-muted);
}

.ih-pillars h2 {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading);
}

.ih-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.ih-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ih-pillar:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.ih-pillar__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  background: var(--accent);
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ih-pillar h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: var(--heading);
  line-height: 1.35;
}

.ih-pillar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}

/* —— Facility —— */
.ih-facility {
  padding: 2.75rem 0 3rem;
}

.ih-facility__featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.ih-facility__featured-media {
  overflow: hidden;
  background: var(--bg-gray);
}

.ih-facility__featured-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.ih-facility__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.ih-facility__featured-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--heading);
  line-height: 1.3;
}

.ih-facility__featured-content p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: var(--text);
}

.ih-facility__featured-content p:last-child {
  margin-bottom: 0;
}

.ih-plants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ih-plant {
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ih-plant:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.ih-plant--primary {
  border-color: rgba(245, 166, 35, 0.55);
}

.ih-plant__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-gray);
  overflow: hidden;
}

.ih-plant__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ih-plant__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.ih-plant__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--heading);
}

.ih-plant__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

/* —— Video —— */
.ih-video {
  padding: 2.75rem 0 3rem;
  background: var(--bg-muted);
  text-align: center;
}

.ih-video h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--heading);
}

.ih-video__lead {
  margin: 0 auto 1.5rem;
  max-width: 640px;
  color: var(--text);
  line-height: 1.6;
}

.ih-video__frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.ih-video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.ih-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--charcoal);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.ih-video__play:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.ih-video__play-icon {
  margin-left: 0.2rem;
  font-size: 1.25rem;
}

/* —— Split sections —— */
.ih-split {
  padding: 2.75rem 0;
}

.ih-split--reverse {
  background: var(--bg-muted);
}

.ih-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.ih-split--reverse .ih-split__inner {
  direction: rtl;
}

.ih-split--reverse .ih-split__inner > * {
  direction: ltr;
}

.ih-split__media {
  overflow: hidden;
  background: var(--bg-gray);
}

.ih-split__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.ih-split__content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--heading);
  line-height: 1.3;
}

.ih-split__content p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: var(--text);
}

.ih-split__content p:last-child {
  margin-bottom: 0;
}

/* —— Partner / visit CTAs —— */
.ih-partner,
.ih-visit {
  padding: 2.5rem 0;
  background: var(--navy);
  color: var(--white);
}

.ih-visit {
  background: var(--charcoal);
}

.ih-partner__inner,
.ih-visit__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ih-partner h2,
.ih-visit h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--white);
  line-height: 1.3;
}

.ih-partner p,
.ih-visit p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.ih-partner p + p {
  margin-top: 0.75rem;
}

/* —— Newsletter —— */
.newsletter {
  background: var(--bg-gray);
  padding: 2rem 0;
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.newsletter__text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  max-width: 420px;
}

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  max-width: 520px;
  flex: 1;
  position: relative;
}

.newsletter__form input {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
}

.newsletter__form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.newsletter__form button {
  border: 0;
  background: var(--accent);
  color: var(--charcoal);
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter__form button:hover {
  background: var(--accent-hover);
}

.newsletter__msg {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0;
  transition: opacity var(--transition);
}

.newsletter__msg.is-visible {
  opacity: 1;
}

/* —— Video modal —— */
.ih-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.ih-modal[hidden] {
  display: none;
}

.ih-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
}

.ih-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  background: var(--white);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
}

.ih-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.ih-modal__close:hover {
  color: var(--charcoal);
}

.ih-modal__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--heading);
}

.ih-modal__panel p {
  margin: 0 0 1.25rem;
  line-height: 1.6;
  color: var(--text);
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .ih-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ih-facility__featured,
  .ih-split__inner,
  .ih-plants {
    grid-template-columns: 1fr;
  }

  .ih-split--reverse .ih-split__inner {
    direction: ltr;
  }

  .ih-partner__inner,
  .ih-visit__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter__form {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .ih-pillars__grid {
    grid-template-columns: 1fr;
  }

  .hc-hero__content {
    padding: 2.25rem 0 1.75rem;
  }

  .ih-video__play {
    width: 3.75rem;
    height: 3.75rem;
  }
}
