/* IRO Sleep Essentials page — uses the homepage design language from styles.css
   (dark sections, serif headlines, white buttons, split "teaser" blocks, coloured tiles). */

/* ---------- top bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 22px 40px;
}
.topbar a { text-decoration: none; }
.topbar__home { display: flex; align-items: center; gap: 14px; }
.topbar__home img { height: 34px; width: auto; }
.topbar__divider { width: 1px; height: 30px; background: rgba(255,255,255,.8); }
.topbar__studio { font-family: var(--sans); font-weight: 300; font-size: 17px; letter-spacing: .28em; padding-top: 3px; }
.topbar__cta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.topbar__cta:hover { border-color: #fff; }

/* ---------- hero ---------- */
.s-hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 24px 90px; }
.s-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 13, .48); }
.s-hero__body { position: relative; z-index: 1; max-width: 720px; }
.s-hero .headline { font-size: clamp(42px, 6vw, 76px); margin: 18px 0 18px; }
.s-hero .lead { margin-bottom: 10px; }
.s-hero__sub { margin-bottom: 40px; opacity: .9; }

/* ---------- centred dark sections (like Intro / What We Do) ---------- */
.s-center { text-align: center; padding: 110px 40px; }
.s-center .headline { margin: 16px 0 0; }
.s-lead { font-size: 18px; max-width: 620px; margin: 0 auto 50px; }
.s-lead--after { margin: 50px auto 0; }

/* three tiles with captions — same look as the homepage tiles */
.tiles--3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.tiles--3 .tile img { aspect-ratio: 4 / 3; }
.tiles--3 .tile p { min-height: 170px; }
.tile small { display: block; font-family: var(--sans); font-size: 15px; font-weight: 300; line-height: 1.5; margin-top: 10px; opacity: .9; }

/* ---------- split blocks (homepage teaser) ---------- */
.teaser--reverse .teaser__img { order: 2; }
.teaser__img { min-height: 640px; max-height: none; }
.teaser .headline { font-size: clamp(30px, 3.4vw, 44px); }

.s-list { display: grid; gap: 18px; margin: 34px 0 0; max-width: 520px; }
.s-list dt { font-weight: 700; font-size: 16px; }
.s-list dd { font-weight: 300; font-size: 15px; opacity: .9; }
.s-list--grid { grid-template-columns: 1fr 1fr; gap: 30px 60px; max-width: 760px; margin: 10px auto 0; text-align: left; }
.s-fine { font-size: 13px !important; opacity: .65; margin: 30px 0 0 !important; }

.s-band img { width: 100%; height: clamp(160px, 17vw, 300px); object-fit: cover; }

/* ---------- steps ---------- */
.s-steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  max-width: 1000px; margin: 70px auto 0;
  text-align: left;
}
.s-steps li { border-top: 1px solid #fff; padding-top: 14px; font-weight: 700; line-height: 1.35; }
.s-steps span { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 8px; }

/* ---------- founding partners stat ---------- */
.s-stat { display: flex; align-items: center; gap: 22px; margin: 34px 0 6px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); max-width: 520px; }
.s-stat__num { font-family: var(--serif); font-size: 64px; line-height: 1; white-space: nowrap; }
.s-stat__label { font-weight: 700; }
.s-stat__label small { display: block; font-weight: 300; font-size: 15px; opacity: .9; margin-top: 4px; }

/* ---------- ecosystem path ---------- */
.s-path { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; text-align: left; }
.s-path__item { padding: 34px 28px 44px; background: #282626; }
.s-path__item.tile--teal { background: #274b4e; }
.s-path__item.tile--navy { background: #203e66; }
.s-path__item span { display: block; font-family: var(--serif); font-size: 26px; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 12px; margin-bottom: 20px; }
.s-path__item h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; margin-bottom: 12px; }
.s-path__lead { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.s-path__item p { font-size: 15px; }

/* ---------- CTA ---------- */
.s-numbered { list-style: none; counter-reset: n; margin: 30px 0 40px; max-width: 480px; }
.s-numbered li { counter-increment: n; position: relative; padding-left: 46px; margin-bottom: 18px; font-size: 15px; }
.s-numbered li::before { content: "0" counter(n); position: absolute; left: 0; top: -3px; font-family: var(--serif); font-size: 24px; }
.s-numbered strong { display: block; font-size: 16px; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .topbar { padding: 18px 22px; }
  .topbar__cta { display: none; }
  .topbar__home img { height: 28px; }
  .topbar__studio { font-size: 14px; }
  .s-center { padding: 80px 22px; }
  .tiles--3, .s-path { grid-template-columns: 1fr; }
  .tiles--3 .tile p { min-height: 0; }
  .teaser--reverse .teaser__img { order: 0; }
  .teaser__img { min-height: 0; }
  .s-list--grid { grid-template-columns: 1fr; }
  .s-steps { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
}
