/*
  Ultrasol promotional site — shared stylesheet.

  Palette source:
  - Brand navy  #2B3990  — logo colour as printed in 2023 / 2026 brochures + pull-up banner.
  - Brand navy deep #1B2467 — lower gradient stops on brochure cover panels.
  - Brand orange #F58220 — "FOR WINDOWS" tab, R·A·I dot separators, diagonal accent, banner highlight.
  - Brand orange soft #F9A04A — upper gradient stop on cover triangle.
  - Mid blue   #5D8CC2 — diagonal brochure panels, 78%/82% circle gradient.

  Declared extensions (added for the glassmorphism wrapper, not in brochures):
  - --ink #0B1220 — neutral near-black behind skyscraper backdrops.
  - rgba glass tokens for frosted panels and 1px borders.
*/

:root {
  --brand-navy: #2B3990;
  --brand-navy-deep: #1B2467;
  --brand-orange: #F58220;
  --brand-orange-soft: #F9A04A;
  --mid-blue: #5D8CC2;

  --ink: #0B1220;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-mute: rgba(255, 255, 255, 0.55);
  --text-ink: #1B2467;

  --glass-fill: rgba(255, 255, 255, 0.07);
  --glass-fill-strong: rgba(255, 255, 255, 0.12);
  --glass-fill-light: rgba(255, 255, 255, 0.78);
  --glass-stroke: rgba(255, 255, 255, 0.22);
  --glass-stroke-soft: rgba(255, 255, 255, 0.12);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-glass: 0 10px 40px rgba(8, 14, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --max-w: 1200px;

  --font-display: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Offset all anchor-scrolls (e.g. the hero scroll cues) by the sticky
     nav height so the target section's eyebrow + title aren't hidden. */
  scroll-padding-top: 96px;
  /* Prevent rubber-band/overscroll exposing empty space at the top or
     bottom of the page and visually unsticking the sticky nav. */
  overscroll-behavior: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: 0.01em; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 1em;
}
.eyebrow .dot { color: var(--brand-orange); margin: 0 0.4em; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Backdrop layering ----------
   The page backdrop is the skyscraper photo; an inky overlay + navy tint
   provides legibility for the glass panels that float over it. */
.page {
  position: relative;
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(43, 57, 144, 0.45), transparent 60%),
    radial-gradient(70% 50% at 100% 100%, rgba(27, 36, 103, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.78), rgba(11, 18, 32, 0.92));
}
.page--home::before    { background-image: url("assets/skyscraper1.jpg"); }
.page--product::before { background-image: url("assets/skyscraper2.jpg"); }
.page--cases::before   { background-image: url("assets/skyscraper2.jpg"); }
.page--contact::before { background-image: url("assets/skyscraper1.jpg"); }

/* ---------- Header / nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(11, 18, 32, 0.45);
  border-bottom: 1px solid var(--glass-stroke-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 28px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--text); background: var(--glass-fill); }
.nav__links a.is-active {
  color: var(--text);
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-stroke-soft);
}
.nav__toggle {
  display: none;
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }

@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(11, 18, 32, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-stroke-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a { width: 100%; padding: 12px 14px; }
}

/* ---------- Hero ----------
   Default (inner pages): compact hero — eyebrow + title + lede + scroll cue
   sit naturally, and the first content section peeks above the fold to invite
   scrolling.
   .hero--tall (home only): fills the viewport so the big circle-stat callout
   has room to breathe and the scroll cue parks at the bottom edge. */
.hero {
  position: relative;
  padding: clamp(56px, 8vh, 96px) 0 36px;
}
.hero--tall {
  min-height: calc(100vh - 72px);
  padding: clamp(40px, 6vh, 80px) 0 28px;
  display: flex;
  flex-direction: column;
}
.hero--tall > .container {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  flex: 1;
  align-content: center;
}
.hero__title {
  font-size: min(4.4rem, 4.2vw);
  white-space: nowrap;
  margin-bottom: 0.4em;
}
@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
    white-space: normal;
  }
}
.hero__title em {
  color: var(--brand-orange);
  font-style: normal;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  max-width: 56ch;
}
.hero__rai {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--text);
  margin-bottom: 1.4em;
  align-items: center;
}
.hero__rai .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn--primary {
  background: var(--brand-orange);
  color: #1a0e00;
  box-shadow: 0 8px 24px rgba(245, 130, 32, 0.32);
}
.btn--primary:hover {
  background: var(--brand-orange-soft);
  transform: translateY(-1px);
}
.btn--ghost {
  background: var(--glass-fill);
  color: var(--text);
  border-color: var(--glass-stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--glass-fill-strong);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Glass panel ---------- */
.glass {
  position: relative;
  background: var(--glass-fill);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
}
.glass--solid {
  background: linear-gradient(135deg, rgba(43, 57, 144, 0.55), rgba(27, 36, 103, 0.65));
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 10vh, 120px) 0;
}
.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head--left {
  margin-left: 0;
  text-align: left;
}
.section__head--wide {
  max-width: 940px;
}
.h2--oneline {
  white-space: nowrap;
  font-size: min(2.5rem, 3.8vw);
}
.section__head p { color: var(--text-dim); }

/* ---------- Value-prop cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--glass-fill-strong);
}
.card__diagram {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 4px auto 20px;
  color: var(--cream-soft, #f4ede1);
}
.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.card__head h3 {
  margin-bottom: 0;
}
.card__head .card__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  margin-bottom: 0;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.card__icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-soft));
  color: #1a0e00;
  font-family: var(--font-display);
  font-weight: 700;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Stat cards (performance results, brochure-style circles) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.stat {
  padding: 28px;
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #c5d3f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat__value--orange {
  background: linear-gradient(135deg, var(--brand-orange-soft), var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat__caption { color: var(--text-mute); font-size: 0.82rem; margin-top: 8px; }

/* Vertical key-facts card — used on the product hero's right column so the
   hero feels balanced (mirrors the home hero's circle-stats pattern). */
.key-facts {
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
}
.key-fact {
  padding: 22px 14px;
  border-bottom: 1px solid var(--glass-stroke-soft);
}
.key-fact:last-child { border-bottom: none; }
.key-fact__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-orange-soft), var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.key-fact__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Hero stat strip — horizontal glass bar split into cells. */
.stat-strip {
  margin-top: clamp(28px, 5vh, 48px);
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
}
@media (min-width: 700px) {
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}
.stat-strip__cell {
  padding: 22px 26px;
  border-top: 1px solid var(--glass-stroke);
}
.stat-strip__cell:first-child { border-top: none; }
@media (min-width: 700px) {
  .stat-strip__cell {
    border-top: none;
    border-left: 1px solid var(--glass-stroke);
  }
  .stat-strip__cell:first-child { border-left: none; }
}
.stat-strip__cap {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat-strip__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1;
  margin: 8px 0 6px;
  color: var(--text);
}
.stat-strip__label {
  font-size: 0.86rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* ---------- City performance table ---------- */
.city-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}
.city-table th, .city-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-stroke-soft);
}
.city-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
  background: rgba(43, 57, 144, 0.35);
}
.city-table tbody tr:hover td { background: var(--glass-fill); }
.city-table .val {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--glass-stroke);
  background: var(--glass-fill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- Product page: info blocks ---------- */
.info-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .info-grid--split { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  /* Equal-height variant — the mode-card sets the natural height (kept
     compact below) and the companion list stretches to match. */
  .info-grid--split.info-grid--top { align-items: stretch; }
}
/* Compact mode-card for the diagram cards in info-grid--top sections,
   so the section fits comfortably in one viewport like "How it works". */
.info-grid--top .mode-card__media {
  min-height: 180px;
  padding: 14px 18px 10px;
}
.info-grid--top .mode-card__media img { max-height: 220px; }
.info-grid--top .mode-card__body { padding: 16px 22px 18px; }
/* Companion list panel stretches to the card's height; rows flex so the
   small remaining gap is absorbed across all three rows rather than left
   as empty space below. */
.info-grid--top .property-list,
.info-grid--top .layer-list {
  height: 100%;
}
.info-grid--top .property-list .property,
.info-grid--top .layer-list .layer {
  flex: 1;
}

/* Spec table — single column inside each card. Each spec card already lives
   in a 2-column outer grid (info-grid--split), so items here stack vertically
   with label on the left and value on the right. */
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-stroke-soft);
  font-size: 0.95rem;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list .k { flex: 1; min-width: 0; }
.spec-list .v { white-space: nowrap; }
.spec-list li:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }
.spec-list .k { color: var(--text-dim); }
.spec-list .v { color: var(--text); font-family: var(--font-display); font-weight: 600; }

/* Two-mode panel (Summer / Winter).
   Magazine-style card: a bright white media slot at the top hosts the
   brochure-style diagram (which is designed against white), a coloured band
   labels the mode, and the dark glass body holds the heading + copy. */
.modes {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .modes { grid-template-columns: 1fr 1fr; }
}
.mode-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.mode-card__media {
  background: #fff;
  padding: 22px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.mode-card__media img {
  margin: 0;
  background: none;
  padding: 0;
  max-height: 240px;
  width: auto;
}
.mode-card__band {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  padding: 11px 22px;
}
/* Band-colour modifiers — also reused by the diagram cards in
   "What it is" and "Construction" so all three sections share one
   media-card visual language. */
.mode-card--summer .mode-card__band,
.mode-card__band--orange {
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-soft));
}
.mode-card--winter .mode-card__band,
.mode-card__band--navy {
  background: linear-gradient(90deg, var(--brand-navy), var(--mid-blue));
}
.mode-card__body { padding: 22px 24px 26px; }
.mode-card__body h3 { color: var(--text); margin-bottom: 8px; }
.mode-card__body p { color: var(--text-dim); margin: 0; }

/* Property list — Section 1 "What it is" right-column panel.
   Replaces the orphan "radiant barrier" subheading with a structured
   3-row breakdown of Ultrasol's three working properties. */
.property-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.property {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 14px;
  border-bottom: 1px solid var(--glass-stroke-soft);
}
.property:last-child { border-bottom: none; }
.property__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #1a0e00;
  background: linear-gradient(135deg, var(--brand-orange-soft), var(--brand-orange));
}
.property__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--text);
}
.property__desc {
  font-size: 0.86rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
}
.property__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.01em;
  min-width: 130px;
  text-align: right;
  line-height: 1.1;
}
.property__value small {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Layer list — Section 3 "Construction" left-column panel.
   Numbered vertical stack that mirrors the layers diagram. Type is sized
   to fill the row height when the panel stretches alongside the figure. */
.layer-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.layer {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 16px;
  border-bottom: 1px solid var(--glass-stroke-soft);
}
.layer:last-child { border-bottom: none; }
.layer__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-orange-soft), var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}
.layer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.25;
}
.layer__role {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
}

/* Compliance row */
.compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.compliance .pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.compliance .pill--orange {
  background: var(--brand-orange);
  color: #1a0e00;
  border-color: transparent;
}

/* ---------- Case studies grid ---------- */
.cases-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.4); }
.case-card__media {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(43, 57, 144, 0.55), rgba(27, 36, 103, 0.75)),
    radial-gradient(80% 60% at 20% 0%, rgba(245, 130, 32, 0.25), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--glass-stroke-soft);
}
.case-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.case-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.case-card p { color: var(--text-dim); font-size: 0.92rem; flex: 1; }
.case-card__link {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-card__link:hover { color: var(--brand-orange-soft); }

/* ---------- Contact (single-viewport layout) ----------
   The contact page is intentionally single-screen: title + lede + info + form
   all fit in one viewport on a typical laptop. The shared footer is omitted
   on this page because contact details are the page. */
/* Contact page: lay out as a flex column with a min-height of the viewport
   so the layout looks centered and pinned-to-bottom on tall viewports, but
   the body is free to grow and scroll if content doesn't fit (so the foot
   line is never clipped). */
.page--contact {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.contact-page {
  flex: 1;
  padding: clamp(24px, 4vh, 48px) 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Contact foot: edge-spanning hairline matches other pages; smaller top
   margin since the section above is centered, not pushed to the bottom.
   Selector is scoped under .page--contact to win specificity against the
   later .footer__bottom shorthand which would otherwise reset padding. */
.page--contact .contact-page__foot {
  margin-top: 0;
  padding-top: 14px;
  padding-bottom: 18px;
}
.contact-page__head {
  max-width: 760px;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.contact-page__head h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.4em;
}
.contact-page__head p {
  color: var(--text-dim);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  margin: 0;
  max-width: 60ch;
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.contact-info { padding: 24px 28px; }
.contact-info h3 {
  color: var(--brand-orange);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 14px 0 2px;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info a {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0 0 4px;
  line-height: 1.45;
}
.contact-info a:hover { color: var(--brand-orange-soft); }

.form { padding: 24px 28px; display: grid; gap: 14px; }
.form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-stroke);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s ease, background .2s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.1);
}
.form textarea { min-height: 100px; resize: vertical; }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { margin-bottom: 4px; }
.form input, .form textarea { padding: 10px 12px; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 0;
  padding: 56px 0 28px;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.0), rgba(11, 18, 32, 0.95));
  border-top: 1px solid var(--glass-stroke-soft);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 800px) {
  .footer__inner { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer img { height: 24px; margin-bottom: 12px; }
.footer p, .footer a { color: var(--text-dim); font-size: 0.92rem; }
.footer a:hover { color: var(--text); }
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin: 0 0 14px;
}
.footer__bottom {
  /* Hairline spans the full page width; text inside is padded so it lines
     up with the content gutter above (24px min, otherwise the empty space
     either side of the max-width column). */
  margin: 32px 0 0;
  padding: 18px 24px 0;
  border-top: 1px solid var(--glass-stroke-soft);
  font-size: 0.82rem;
  color: var(--text-mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (min-width: 768px) {
  .footer__bottom {
    padding-left: max(24px, calc((100% - var(--max-w)) / 2 + 24px));
    padding-right: max(24px, calc((100% - var(--max-w)) / 2 + 24px));
  }
}

/* ---------- Decorative brand bars (echoes brochure diagonal accents) ---------- */
.accent-bar {
  height: 4px;
  width: 56px;
  background: var(--brand-orange);
  border-radius: 2px;
  margin: 0 0 22px;
}
.section__head.center .accent-bar { margin-left: auto; margin-right: auto; }

/* ---------- Scroll cue (bottom of hero) ---------- */
.scroll-cue {
  /* width: fit-content + margin: auto centers the cue regardless of whether
     the hero is flex (tall home hero) or block (compact inner-page heroes).
     On .hero--tall, margin-top: auto overrides the 32px to push the cue to
     the bottom edge of the viewport-tall hero. */
  display: flex;
  width: fit-content;
  align-self: center;
  margin: 32px auto 0;
  padding: 10px 14px;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.hero--tall .scroll-cue { margin-top: auto; }
.scroll-cue:hover { color: var(--text); }
.scroll-cue__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-stroke);
  background: var(--glass-fill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: scroll-bounce 2.2s ease-in-out infinite;
}
.scroll-cue:hover .scroll-cue__arrow {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--glass-fill-strong);
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__arrow { animation: none; }
}

/* Slightly tame the inner-page hero H1 so eyebrow + title + lede + scroll cue
   all fit comfortably above the fold. The home hero uses .hero__title with a
   larger clamp — this only affects pages without that override. */
.hero h1:not(.hero__title) {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
