/* ==========================================================================
   Metal Roof Central — Site Styles
   Direction: high-end luxury. Black, platinum, and one measured red.
   Type: Cormorant Garamond (display) + Jost (body/UI).
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --graphite: #141416;
  --platinum: #d3d6da;
  --silver: #9da1a7;
  --mist: #f2f3f4;
  --white: #ffffff;

  --text: #1a1b1d;
  --text-muted: #55585d;
  --line: #d9dbde;
  --line-dark: rgba(255, 255, 255, 0.14);

  --red: #a01f1f;          /* brand red: accents on light grounds */
  --red-deep: #7a1717;
  --red-light: #d4504a;    /* brand red lifted for small details on dark grounds */

  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(22px, 5vw, 56px);
  --header-h: 88px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h3 { font-weight: 500; }
em { font-style: italic; }
h1 em, h2 em { font-weight: 300; color: var(--red); }

p { margin: 0 0 1.1em; color: var(--text-muted); }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 14px;
}

.subhead {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 22px;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 17px 34px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--silver); }
.btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

.btn:disabled,
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo span { color: var(--red-light); }
.logo-full { display: block; height: 70px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--platinum);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); border-color: var(--red-light); }

.nav-links a.nav-cta {
  border: 1px solid var(--silver);
  padding: 11px 22px;
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 1px; background: var(--white); display: block; }

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.open { max-height: 520px; }
  .nav-links li { border-top: 1px solid var(--line-dark); }
  .nav-links a,
  .nav-links a.nav-cta {
    display: block;
    padding: 20px var(--gutter);
    border: 0;
    font-size: 0.74rem;
  }
  .nav-links a:hover,
  .nav-links a.active { border: 0; color: var(--red-light); }
  .nav-links a.nav-cta:hover,
  .nav-links a.nav-cta.active { background: transparent; color: var(--red-light); }
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 60% 75% at 80% 15%, rgba(160, 31, 31, 0.26), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, rgba(0, 0, 0, 0.45) 1px 3px, transparent 3px 104px),
    linear-gradient(180deg, #0b0b0c 0%, #111113 100%);
  padding: clamp(88px, 13vw, 170px) 0 0;
}
.hero-inner { max-width: 880px; padding-bottom: clamp(72px, 9vw, 120px); }
.hero .eyebrow { color: var(--platinum); }
.hero .eyebrow::before { background: var(--red-light); }
.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.4em;
}
.hero h1 em {
  font-weight: 300;
  color: var(--platinum);
  /* Light-to-silver at rest; a bright band sits off to the right, ready for the one-time sheen. */
  background: linear-gradient(100deg, #e9ebee 0%, #a9adb3 40%, #ffffff 50%, #a9adb3 60%, #a9adb3 100%);
  background-size: 250% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 300;
  color: var(--platinum);
  max-width: 54ch;
  margin-bottom: 2.4rem;
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-meta li {
  padding: 24px 0 28px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.hero-meta li + li { border-left: 1px solid var(--line-dark); padding-left: 28px; }

/* Sections
   ========================================================================== */
section[id] { scroll-margin-top: var(--header-h); }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--platinum); }
.section--ink h2,
.section--ink h3 { color: var(--white); }
.section--ink h2 em { color: var(--platinum); }
.section--ink p { color: var(--platinum); }
.section--ink strong { color: var(--white); }
.section--ink .eyebrow { color: var(--platinum); }
.section--ink .eyebrow::before { background: var(--red-light); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0 clamp(40px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 92px);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); margin: 0; font-weight: 400; }
.section-head .lede { font-size: 1.05rem; }
.section-head .lede p:last-child { margin-bottom: 0; }

/* Collection
   ========================================================================== */
.expander-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.expander-key span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.expander-key span:not(:first-child) { margin-left: 18px; }

/* Expanding gallery: the open panel grows, the others fold to a labelled edge */
.expander {
  display: flex;
  gap: 8px;
  height: clamp(540px, 56vw, 660px);
}
.xp {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: var(--ink);
  transition: flex-grow 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.xp.family-start { margin-left: 18px; }
.xp.is-active { flex-grow: 9; }

.xp-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.35) brightness(0.62);
  transition: filter 0.75s ease;
}
/* The open panel is a clear photo above a solid text strip, so nothing sits over the image */
.xp.is-active .xp-photo {
  position: relative;
  inset: auto;
  flex: 1 1 0;
  height: auto;
  min-height: 0;
  filter: none;
}
@media (hover: hover) {
  .xp:not(.is-active):hover .xp-photo { filter: grayscale(0.1) brightness(0.82); }
}
.xp::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 8%, rgba(11, 11, 12, 0.7) 40%, rgba(11, 11, 12, 0.96) 100%);
  opacity: 0.8;
  transition: opacity 0.75s ease;
}
.xp.is-active::after { opacity: 0; }

.xp-tab {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--white);
}
.xp-tab:focus-visible { outline-offset: -4px; }
.xp-tab-name {
  position: absolute;
  left: 50%;
  bottom: 24px;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
  transition: opacity 0.35s ease;
}
.xp.is-active .xp-tab-name { opacity: 0; }

.xp-info {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 20px 28px;
  align-items: start;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2.4vw, 28px);
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.4s;
}
.xp.is-active .xp-info {
  position: relative;
  flex: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0.3s, 0.3s, 0s;
}
.xp-family {
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--platinum);
}
.xp-info h3 {
  margin: 0 0 0.15em;
  font-size: clamp(1.9rem, 2.8vw, 2.3rem);
  font-weight: 300;
  color: var(--white);
}
.xp-info p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--platinum); }

.xp-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
}
.xp-specs dt {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--platinum);
}
.xp-specs dd {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  font-variant-numeric: lining-nums;
}
.xp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 9px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.xp-swatches li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.xp-swatches img,
.xp-swatches i {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.xp-swatches i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.xp-swatches span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--platinum);
}

.xp-detail {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 2.4vw, 28px);
  right: clamp(18px, 2.4vw, 28px);
  width: 150px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.4s;
}
.xp-detail img { display: block; width: 100%; height: auto; }
.xp.is-active .xp-detail {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.45s, 0.45s, 0s;
}

.expander-hint {
  margin: 14px 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.collection-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.collection-note p { margin: 0; font-size: 0.92rem; }

/* Performance
   ========================================================================== */
.spec-list { border-top: 1px solid var(--ink); }
.spec {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 20px clamp(28px, 5vw, 72px);
  align-items: baseline;
  padding: clamp(30px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}
.spec h3 { font-size: clamp(1.5rem, 2.3vw, 2.05rem); margin: 0; }
.spec p { margin: 0; }
.spec-stat { display: flex; flex-direction: column; }
.stat {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.stat-pre,
.stat-unit {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.stat-pre { margin-bottom: 10px; }
.stat-unit { margin-top: 14px; }

.fine-print {
  margin: 36px 0 0;
  max-width: 92ch;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Plan ahead
   ========================================================================== */
.motives {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: clamp(64px, 8vw, 112px);
}
.motive { padding: clamp(30px, 3.6vw, 50px) clamp(20px, 3vw, 44px); }
.motive:first-child { padding-left: 0; }
.motive:last-child { padding-right: 0; }
.motive + .motive { border-left: 1px solid var(--line-dark); }
.motive-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver);
}
.motive h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 300; margin: 0.2em 0 0.4em; }
.motive p { margin: 0; font-size: 0.97rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

/* 4' x 8' sheet, drawn to scale (1:2) */
.sheet-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.sheet-figure figcaption {
  color: var(--silver);
  font-size: 0.9rem;
  max-width: 46ch;
  text-align: center;
}
.sheet-grid {
  display: grid;
  grid-template-columns: auto 150px;
  grid-template-rows: auto 300px;
  gap: 8px 12px;
}
.dim {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.dim-h {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  border-bottom: 1px solid var(--silver);
  padding-bottom: 4px;
}
.dim-v {
  grid-column: 1;
  grid-row: 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  border-left: 1px solid var(--silver);
  padding-left: 4px;
}
.sheet {
  grid-column: 2;
  grid-row: 2;
  border: 1px solid var(--platinum);
  background: repeating-linear-gradient(135deg, #131315, #131315 12px, #19191c 12px, #19191c 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
}

.note-panel {
  margin-top: clamp(64px, 8vw, 110px);
  padding: clamp(32px, 4.5vw, 60px);
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px clamp(32px, 6vw, 80px);
  align-items: start;
}
.note-panel h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0; }
.note-panel p { margin: 0; }

/* Roof care
   ========================================================================== */
.care-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.care-includes h3,
.pricing-panel h3 { font-size: 1.8rem; margin-bottom: 0.6em; }

.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.check-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid var(--red);
  border-width: 0 1px 1px 0;
  transform: translateY(-62%) rotate(45deg);
}

.pricing-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 52px);
}
.price-list { margin: 0; border-top: 1px solid var(--ink); }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.price-row dt { font-size: 0.95rem; color: var(--ink); }
.price-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.price-row dd.price-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-align: right;
}
.price-foot { margin: 18px 0 28px; font-size: 0.85rem; }

/* About
   ========================================================================== */
.audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
  border-top: 1px solid var(--ink);
  padding-top: 32px;
}
.audience h3 { font-size: 1.7rem; margin-bottom: 0.3em; }
.audience p { margin: 0; font-size: 0.97rem; }

.invite {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(56px, 7vw, 88px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.invite p { margin: 0; max-width: 56ch; }

.values-line {
  list-style: none;
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.values-line li { padding: 0 26px; position: relative; }
.values-line li + li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--red);
  transform: translateY(-50%) rotate(45deg);
}

/* FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.faq-question:hover { color: var(--red); }
.faq-question .plus {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  font-size: 0;           /* the "+" character is only a no-CSS fallback */
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--red);
  transition: transform 0.3s ease;
}
.faq-question .plus::before { left: 0; right: 0; top: 7.5px; height: 1px; }
.faq-question .plus::after { top: 0; bottom: 0; left: 7.5px; width: 1px; }
.faq-item.open .faq-question .plus::after { transform: scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 800px; }
.faq-answer p { margin: 0; padding: 0 56px 30px 0; max-width: 78ch; }
.faq-answer a { color: var(--red); border-bottom: 1px solid currentColor; }

/* Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

#contact-form { color-scheme: dark; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.form-grid > * { min-width: 0; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 12px 0;
  transition: border-color 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field textarea::placeholder { color: rgba(211, 214, 218, 0.55); }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d3d6da' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 28px;
}
.form-field select option { color: #111; background: #fff; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--white);
  box-shadow: 0 1px 0 0 var(--white);
}
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-bottom-color: var(--red-light); box-shadow: 0 1px 0 0 var(--red-light); }
.form-field.invalid label { color: #ff9b95; }
.field-error { display: block; min-height: 1.1em; font-size: 0.8rem; color: #ff9b95; }

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  box-shadow: inset 0 0 0 1000px var(--ink);
  transition: background-color 9999s ease-in-out 0s;
}

.form-status { margin: 18px 0 0; font-size: 0.92rem; min-height: 1.2em; }
.form-status:not(:empty) {
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--platinum);
}
.form-status.success { border-color: #6fbf8a; color: #dff3e6; }
.form-status.error { border-color: var(--red-light); color: #ffd0cc; }

.contact-details { border-top: 1px solid var(--line-dark); }
.contact-line { padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.contact-line .label {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 6px;
}
.contact-line a,
.contact-line .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  overflow-wrap: anywhere;
}
.contact-line a:hover { color: var(--red-light); }

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--platinum);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-logo img { display: block; width: min(260px, 100%); height: auto; }
.site-footer p { color: var(--silver); font-size: 0.92rem; max-width: 42ch; }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a { color: var(--platinum); transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--red-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--silver);
}

/* Motion & polish
   Restrained on purpose. Everything under .motion is skipped for visitors who
   prefer reduced motion, and content is fully visible without JavaScript.
   ========================================================================== */
::selection { background: var(--red); color: var(--white); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.site-header { transition: background 0.3s ease; }
.site-header.scrolled { background: rgba(11, 11, 12, 0.985); }
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red-light);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.btn { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }

/* Hero entrance: staggered rise, then one metallic sheen across the italic line */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheen {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
.motion .hero-inner > * { animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.motion .hero-inner > :nth-child(1) { animation-delay: 0.05s; }
.motion .hero-inner > :nth-child(2) { animation-delay: 0.18s; }
.motion .hero-inner > :nth-child(3) { animation-delay: 0.34s; }
.motion .hero-inner > :nth-child(4) { animation-delay: 0.5s; }
.motion .hero-meta { animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.75s both; }
.motion .hero h1 em { animation: sheen 2.4s cubic-bezier(0.4, 0, 0.2, 1) 1.1s both; }

/* Scroll reveals */
.motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion .reveal.in { opacity: 1; transform: none; }
.motion .section-head .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s;
}
.motion .section-head.in .eyebrow::before { transform: scaleX(1); }

/* Hover details */
.stat { transition: color 0.5s ease; }
@media (hover: hover) {
  .spec:hover .stat { color: var(--red); }
  .btn-primary:hover { transform: translateY(-1px); }
}

@media print {
  .motion .reveal,
  .motion .hero-inner > *,
  .motion .hero-meta { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .spec { grid-template-columns: 1fr; gap: 14px; }
  .spec-stat { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
  .stat-pre,
  .stat-unit { margin: 0; }
  .motives { grid-template-columns: 1fr; }
  .motive,
  .motive:first-child,
  .motive:last-child { padding: 30px 0; }
  .motive + .motive { border-left: 0; border-top: 1px solid var(--line-dark); }
  .split,
  .note-panel,
  .care-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

.xp-facts .btn { padding: 12px 20px; white-space: nowrap; }

/* Gallery on narrower screens: a vertical accordion instead of side-by-side panels */
@media (max-width: 1200px) {
  .expander { flex-direction: column; height: auto; gap: 8px; }
  .xp {
    flex: none;
    height: 92px;
    transition: height 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .xp.family-start { margin-left: 0; margin-top: 14px; }
  .xp.is-active { height: 520px; }
  .xp-tab-name {
    left: 24px;
    bottom: 50%;
    writing-mode: horizontal-tb;
    transform: translateY(50%);
    font-size: 1.7rem;
  }
  .xp-detail { width: 112px; top: 16px; right: 16px; }
  .expander-hint { display: none; }
}
@media (max-width: 700px) {
  .xp-info { grid-template-columns: 1fr; gap: 16px; }
  .xp-facts .btn { white-space: normal; text-align: center; }
}

@media (max-width: 480px) {
  .logo { font-size: 1.1rem; letter-spacing: 0.13em; }
}
@media (max-width: 480px) {
  .logo-full { height: 60px; }
}

@media (max-width: 700px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta li { padding: 18px 0; }
  .hero-meta li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .form-grid { grid-template-columns: 1fr; }
  .values-line li { padding: 0 16px; }
  .faq-answer p { padding-right: 0; }
}

/* Imagery and decorative details
   ========================================================================== */
.hero > .container { position: relative; z-index: 1; }
.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(62%, 880px);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 90% 95% at 100% 25%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 95% at 100% 25%, #000 15%, transparent 72%);
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  filter: brightness(0.5) contrast(1.05);
}

.band {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(140px, 17vw, 220px);
  overflow: hidden;
  color: var(--platinum);
  background: var(--ink) var(--band) center / cover no-repeat;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.6), rgba(11, 11, 12, 0.3) 50%, rgba(11, 11, 12, 0.6));
}
.band svg { position: relative; display: block; opacity: 0.9; }

.note-panel.has-photo {
  padding: 0;
  gap: 0;
  overflow: hidden;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.note-photo { margin: 0; min-height: 280px; }
.note-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.note-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(32px, 4.5vw, 60px);
}

.care-photo { margin: 0 0 30px; border: 1px solid var(--line); background: var(--ink); }
.care-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.audience-photo { margin: 0 0 24px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.audience-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

#contact { position: relative; overflow: hidden; }
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/products/enigma-detail.jpg) center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
#contact > .container { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .audience-photo img { transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
  @media (hover: hover) {
    .audience article:hover .audience-photo img { transform: scale(1.04); }
  }
}

@media (max-width: 900px) {
  .hero-art { width: 100%; opacity: 0.5; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
  .note-panel.has-photo { grid-template-columns: 1fr; }
  .note-photo { min-height: 0; }
  .note-photo img { aspect-ratio: 16 / 9; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
