/* ==========================================================================
   An Insider's Guide to Mergers, Acquisitions & Power Plant Development
   Kimberlee Centera — book site, v1

   Layout system carried over from the A Better Choice build:
   full-bleed, photography-led, gradient-forward.

   Palette sampled directly from the book cover:
     ink      #241438   deep plum (cover headline)
     cream    #FEF5EC   page ground
     purple   #5B1E6B   band 1
     plum     #8E2158   band 2
     magenta  #C1286B   band 3
     orange   #E14A2F   band 4
     amber    #FFB020   band 5 / the sun circle

   CONTRAST RULES — these are not stylistic, they are measured. Do not swap
   colours between roles without re-checking:
     magenta on cream ......... 5.15:1  OK for text
     orange  on cream ......... 3.73:1  FAILS — decoration only, never text
     amber   on cream ......... 1.70:1  FAILS — decoration only, never text
     amber   on ink ........... 9.32:1  OK for text
     ink     on amber ......... 9.32:1  OK for text (primary button)
     cream   on ink ........... 15.8:1  OK
   The five-colour spectrum bar is therefore a RULE, never a text background.
   ========================================================================== */

:root {
  --ink:      #241438;
  --ink-d:    #1A0E28;
  --cream:    #FEF5EC;
  --cream-l:  #FFFAF4;

  --purple:   #5B1E6B;
  --plum:     #8E2158;
  --magenta:  #C1286B;
  --orange:   #E14A2F;
  --amber:    #FFB020;

  --ink-70:   rgba(36,20,56,.72);
  --ink-12:   rgba(36,20,56,.14);
  --cream-80: rgba(254,245,236,.82);
  --cream-20: rgba(254,245,236,.22);

  /* Dark gradient -> always pair with cream/white text */
  --grad-dark: linear-gradient(115deg, #241438 0%, #4A1A5F 45%, #8E2158 100%);
  /* Bright band -> always pair with ink text. Stays in the light half of the
     ramp on purpose; the magenta/orange end cannot carry body text. */
  --grad-bright: linear-gradient(115deg, #FFB020 0%, #FFC44E 55%, #FFD782 100%);
  --grad-scrim: linear-gradient(0deg, rgba(26,14,40,0.22), rgba(26,14,40,0.22)),
                linear-gradient(95deg, rgba(26,14,40,.94) 0%, rgba(36,20,56,.86) 44%, rgba(36,20,56,.5) 72%, rgba(36,20,56,.18) 100%);
  /* The cover's five-band spectrum, as a rule */
  --grad-rule: linear-gradient(90deg, #5B1E6B, #8E2158 26%, #C1286B 50%, #E14A2F 74%, #FFB020);

  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Lato", -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1.2rem, 5vw, 5rem);
  --measure: 1280px;
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 1.075rem; line-height: 1.78;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.01em; }
p  { margin: 0 0 1.2em; max-width: 62ch; }

.lede { font-size: clamp(1.12rem, 1.5vw, 1.38rem); line-height: 1.6; color: var(--ink-70); max-width: 52ch; }
.wrap { width: min(100% - var(--gutter)*2, var(--measure)); margin-inline: auto; }

.eyebrow {
  font-family: var(--body); font-size: .74rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--magenta);
  margin: 0 0 1.4rem; display: flex; align-items: center; gap: .85rem;
}
.eyebrow::before { content:""; width: 42px; height: 4px; background: var(--grad-rule); flex: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  padding: 1.05rem 2rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 12px 34px -16px rgba(255,176,32,.9); }
.btn-amber:hover { background: #FFC24A; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--purple); }
.btn-line { border-color: var(--ink-12); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-glass { border-color: var(--cream-20); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.07); }
.btn-glass:hover { border-color: var(--amber); color: var(--amber); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }

/* ---------------- Header ---------------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.topbar::after {
  content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,14,40,.6), transparent);
  transition: opacity .3s ease;
}
.topbar.is-stuck { background: var(--cream); box-shadow: 0 1px 0 var(--ink-12); height: 74px; }
.topbar.is-stuck::after { opacity: 0; }

.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - var(--gutter)*2, var(--measure)); margin-inline: auto; position: relative; }

.brand { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #fff; }
.brand b { font-size: 1.12rem; }
.brand span { font-size: .72rem; font-family: var(--body); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .78; }
.topbar.is-stuck .brand { color: var(--ink); }
@media (max-width: 600px) { .brand span { display: none; } }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.2rem); }
.nav a { color: #fff; text-decoration: none; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .25s ease, border-color .25s ease; }
.nav a:hover { border-color: var(--amber); }
.nav a[aria-current="page"] { border-color: var(--amber); }
.topbar.is-stuck .nav a { color: var(--ink); }
.nav .btn { border-bottom: none; padding: .72rem 1.4rem; font-size: .95rem; }

.nav-toggle { display: none; background: rgba(255,255,255,.1); border: 1px solid var(--cream-20); color: #fff; border-radius: 999px; padding: .55rem 1.15rem; font-family: var(--display); font-weight: 700; cursor: pointer; }
.topbar.is-stuck .nav-toggle { color: var(--ink); border-color: var(--ink-12); background: transparent; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 1rem);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem 1.4rem 1.4rem; border-radius: 4px;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  }
  .nav.is-open { display: flex; }
  .nav a, .topbar.is-stuck .nav a { color: var(--cream); padding: 1rem 0; border-bottom: 1px solid var(--cream-20); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding-top: var(--nav-h); overflow: hidden; }
.hero-sm { min-height: 68vh; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content:""; position: absolute; inset: 0; background: var(--grad-scrim); z-index: -1; }
.hero-inner { width: min(100% - var(--gutter)*2, var(--measure)); margin-inline: auto; padding-block: clamp(3.5rem, 9vw, 8rem); color: #fff; position: relative; }
.hero-inner h1 { max-width: 17ch; color: #fff; }
.hero-inner .lede { color: rgba(255,255,255,.88); max-width: 48ch; }
.hero-tag { font-size: .76rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--amber); margin: 0 0 1.5rem; }
.hero-inner .eyebrow { color: rgba(255,255,255,.85); }

/* Hero variant with the cover floated alongside */
.hero-cover { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero-cover img { width: 100%; max-width: 330px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); border-radius: 2px; }
@media (max-width: 900px) { .hero-cover { grid-template-columns: 1fr; } .hero-cover img { max-width: 210px; } }

/* ---------------- Spectrum rule ---------------- */
.spectrum { height: 10px; background: var(--grad-rule); }
.spectrum-thin { height: 4px; }

/* ---------------- Gradient stat band ---------------- */
.gradband { background: var(--grad-bright); color: var(--ink); padding-block: clamp(2.6rem, 5vw, 4rem); }
.gradband-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.gradband b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.3vw, 2.9rem); line-height: 1; margin-bottom: .45rem; color: var(--ink); }
.gradband span { font-size: .95rem; color: rgba(36,20,56,.86); }

/* ---------------- Sections ---------------- */
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-light { background: var(--cream-l); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink h2, .section-ink h3, .section-ink h4 { color: var(--cream); }
.section-ink p, .section-ink .lede { color: var(--cream-80); }
.section-ink .eyebrow { color: var(--amber); }
.section-grad { background: var(--grad-dark); color: var(--cream); }
.section-grad h2, .section-grad h3, .section-grad h4 { color: var(--cream); }
.section-grad .lede, .section-grad p { color: rgba(254,245,236,.94); }
.section-grad .eyebrow { color: var(--amber); }
.section-grad .feature p { color: rgba(254,245,236,.94); }
.section-grad .feature-n { color: var(--amber); }

.split { display: grid; gap: clamp(2rem, 6vw, 5.5rem); grid-template-columns: .85fr 1.15fr; align-items: start; }
.split-even { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .split, .split-even { grid-template-columns: 1fr; } }

/* ---------------- Full-bleed image + text row ---------------- */
.row { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(460px, 62vh, 720px); }
.row-flip .row-media { order: 2; }
.row-media { position: relative; overflow: hidden; }
.row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row-copy { display: flex; align-items: center; padding: clamp(2.6rem, 6vw, 6rem) clamp(1.4rem, 5vw, 5rem); background: var(--cream); }
.row-copy-inner { max-width: 34rem; }
.row-ink .row-copy { background: var(--ink); color: var(--cream); }
.row-ink .row-copy h2, .row-ink .row-copy h3 { color: var(--cream); }
.row-ink .row-copy p, .row-ink .row-copy .lede { color: var(--cream-80); }
.row-ink .row-copy .eyebrow { color: var(--amber); }
.row-grad .row-copy { background: var(--grad-bright); color: var(--ink); }
.row-grad .row-copy .eyebrow { color: var(--ink); }
.row-grad .row-copy p, .row-grad .row-copy .lede { color: rgba(36,20,56,.86); }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; min-height: 0; }
  .row-flip .row-media { order: 0; }
  .row-media { min-height: 300px; }
}

/* ---------------- Feature list ---------------- */
.features { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 3.5rem; }
.feature { padding: 2.4rem clamp(1.2rem, 2.5vw, 2.4rem) 2.4rem 0; border-top: 4px solid transparent; border-image: var(--grad-rule) 1; }
.feature h3 { margin-bottom: .5rem; }
.feature p { font-size: 1rem; color: var(--ink-70); margin: 0; }
.section-ink .feature p { color: var(--cream-80); }
.feature-n { font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); display: block; margin-bottom: 1.6rem; }
.section-ink .feature-n { color: var(--amber); }

/* ---------------- Sequence ---------------- */
.steps { margin-top: 3.5rem; }
.step { display: grid; gap: clamp(1rem, 4vw, 3.5rem); grid-template-columns: 8rem minmax(0,1fr) minmax(0,1.2fr); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--ink-12); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--ink-12); }
.step-n { font-family: var(--display); font-weight: 700; font-size: .88rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); }
.step h3 { margin-bottom: 0; }
.step p { margin-bottom: 0; color: var(--ink-70); }
.step ul { margin: 1rem 0 0; padding-left: 1.15rem; color: var(--ink-70); font-size: 1rem; }
.step li { margin-bottom: .35rem; }
@media (max-width: 840px) { .step { grid-template-columns: 1fr; gap: .7rem; } }

/* ---------------- Chapter list ---------------- */
.chapters { margin-top: 3rem; }
.chapter {
  display: grid; grid-template-columns: 7rem minmax(0,1fr) minmax(0,1.25fr);
  gap: clamp(1rem, 4vw, 3.2rem); align-items: start;
  padding-block: clamp(1.9rem, 3.4vw, 2.8rem);
  border-top: 1px solid var(--ink-12); position: relative;
}
.chapter:last-of-type { border-bottom: 1px solid var(--ink-12); }
.chapter::before {
  content:""; position: absolute; top: -1px; left: 0; width: 0; height: 3px;
  background: var(--grad-rule); transition: width .45s ease;
}
.chapter:hover::before { width: 100%; }
.chapter-n { font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); }
.chapter h3 { margin-bottom: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.chapter p { margin: 0; color: var(--ink-70); font-size: 1.02rem; }
.chapter-by { display: block; margin-top: .9rem; font-size: .84rem; letter-spacing: .04em; color: var(--magenta); font-weight: 700; }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; gap: .55rem; } }

/* ---------------- Pull quote ---------------- */
.quote { border-left: 5px solid transparent; border-image: var(--grad-rule) 1; padding-left: clamp(1.4rem, 3vw, 2.6rem); }
.quote p { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.28; letter-spacing: -.02em; max-width: 26ch; }
.quote cite { font-family: var(--body); font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--magenta); }
.section-ink .quote cite, .section-grad .quote cite { color: var(--amber); }

/* ---------------- Values ---------------- */
.values { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.values li { padding-block: 1.5rem; border-top: 1px solid var(--ink-12); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.8fr); gap: clamp(.8rem,3vw,2.5rem); }
.values li:last-child { border-bottom: 1px solid var(--ink-12); }
.values b { font-family: var(--display); font-size: 1.16rem; }
.values p { margin: 0; color: var(--ink-70); font-size: 1rem; }
.section-ink .values li, .row-ink .values li { border-color: var(--cream-20); }
.section-ink .values p, .row-ink .values p { color: var(--cream-80); }
.section-grad .values li { border-color: var(--cream-20); }
.section-grad .values p { color: rgba(254,245,236,.94); }
@media (max-width: 780px) { .values li { grid-template-columns: 1fr; gap: .3rem; } }

/* ---------------- Buy options ---------------- */
.buys { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); margin-top: 3rem; }
.buy { padding: 2.4rem clamp(1.2rem,2.5vw,2.2rem) 2.4rem 0; border-top: 4px solid transparent; border-image: var(--grad-rule) 1; }
.buy h3 { margin-bottom: .4rem; }
.buy p { font-size: 1rem; color: var(--ink-70); }
.section-ink .buy p { color: var(--cream-80); }
.buy .btn { margin-top: .6rem; }
.buy-note { font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--magenta); display: block; margin-bottom: 1.4rem; }
.section-ink .buy-note { color: var(--amber); }

/* ---------------- Author portrait ---------------- */
.portrait { position: relative; }
.portrait img { width: 100%; }
.portrait::after {
  content:""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: var(--grad-rule);
}

/* ---------------- CTA ---------------- */
.cta { position: relative; min-height: clamp(420px, 55vh, 620px); display: flex; align-items: center; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content:""; position: absolute; inset: 0; background: var(--grad-scrim); z-index: -1; }
.cta-inner { width: min(100% - var(--gutter)*2, var(--measure)); margin-inline: auto; color: #fff; padding-block: 3rem; }
.cta-inner h2 { color: #fff; max-width: 18ch; }
.cta-inner p { color: rgba(255,255,255,.88); }
.cta-inner .eyebrow { color: rgba(255,255,255,.85); }

/* ---------------- Form ---------------- */
.form { display: grid; gap: 1.2rem; margin-top: 2rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink-12);
  padding: .75rem .1rem; width: 100%; border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--magenta); border-bottom-width: 2px; }
.field-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; color: var(--ink-70); }

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { padding-block: 1.1rem; border-top: 1px solid var(--cream-20); }
.contact-list li:last-child { border-bottom: 1px solid var(--cream-20); }
.contact-list span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-80); margin-bottom: .2rem; }
.contact-list a { color: var(--amber); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------------- Footer ---------------- */
.foot { background: var(--ink-d); color: var(--cream); padding-block: clamp(4rem, 7vw, 6rem) 2.5rem; }
.foot-grid { display: grid; gap: 3rem; grid-template-columns: 1.6fr repeat(3, 1fr); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: .5rem; }
.foot-title span { display: block; font-size: .72rem; font-family: var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: .5rem; }
.foot h4 { font-family: var(--body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--cream-80); margin-bottom: 1.1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .65rem; }
.foot a { color: var(--cream-80); text-decoration: none; font-size: .96rem; }
.foot a:hover { color: var(--amber); }
.foot p { color: var(--cream-80); font-size: .96rem; }
.foot-base { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--cream-20); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .86rem; color: var(--cream-80); }

.skip { position: absolute; left: -9999px; background: var(--amber); color: var(--ink); padding: .8rem 1.2rem; font-family: var(--display); font-weight: 700; z-index: 99; }
.skip:focus { left: 1rem; top: .6rem; position: fixed; }

/* ==========================================================================
   HubSpot embedded form — restyled to match
   ========================================================================== */
.hbspt-form { margin-top: 2rem; }
.hbspt-form .hs-form-field { margin-bottom: 1.2rem; }
.hbspt-form label {
  display: block; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-70); margin-bottom: .45rem;
}
.hbspt-form label .hs-form-required { color: var(--magenta); }
.hbspt-form input[type=text], .hbspt-form input[type=email], .hbspt-form input[type=tel],
.hbspt-form input[type=number], .hbspt-form select, .hbspt-form textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink-12);
  padding: .75rem .1rem; width: 100% !important; max-width: 100%; border-radius: 0;
  box-sizing: border-box;
}
.hbspt-form textarea { min-height: 130px; resize: vertical; }
.hbspt-form input:focus, .hbspt-form select:focus, .hbspt-form textarea:focus {
  outline: none; border-bottom-color: var(--magenta); border-bottom-width: 2px;
}
.hbspt-form .hs-button {
  display: inline-flex; align-items: center; font-family: var(--display);
  font-weight: 700; font-size: 1rem; padding: 1.05rem 2rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  background: var(--ink); color: var(--cream); margin-top: 1rem;
  transition: transform .2s ease, background .2s ease;
}
.hbspt-form .hs-button:hover { transform: translateY(-2px); background: var(--purple); }
.hbspt-form .hs-error-msg, .hbspt-form .hs-error-msgs label { color: #B3261E; font-size: .88rem; letter-spacing: 0; text-transform: none; }
.hbspt-form ul { list-style: none; padding: 0; margin: .3rem 0 0; }
.hbspt-form .hs-richtext { font-size: .9rem; color: var(--ink-70); }
.hbspt-form .submitted-message { font-size: 1.05rem; }
.meetings-iframe-container { margin-top: 2rem; min-height: 680px; }

/* On dark sections the HubSpot labels need to flip */
.section-ink .hbspt-form label, .section-grad .hbspt-form label { color: var(--cream-80); }
.section-ink .hbspt-form input, .section-ink .hbspt-form select, .section-ink .hbspt-form textarea,
.section-grad .hbspt-form input, .section-grad .hbspt-form select, .section-grad .hbspt-form textarea {
  color: var(--cream); border-bottom-color: var(--cream-20);
}
.section-ink .hbspt-form .hs-button, .section-grad .hbspt-form .hs-button { background: var(--amber); color: var(--ink); }
.section-ink .field label, .section-grad .field label { color: var(--cream-80); }
.section-ink .field input, .section-ink .field select, .section-ink .field textarea,
.section-grad .field input, .section-grad .field select, .section-grad .field textarea {
  color: var(--cream); border-bottom-color: var(--cream-20);
}
.section-ink .form-note, .section-grad .form-note { color: var(--cream-80); }

/* ==========================================================================
   Form status + success states
   ========================================================================== */
.form-status {
  margin: .4rem 0 0; padding: .95rem 1.15rem; font-size: .95rem;
  border-left: 4px solid var(--magenta); background: rgba(193,40,107,.07);
  color: var(--ink); max-width: none;
}
.form-status.is-warn { border-left-color: var(--orange); background: rgba(225,74,47,.09); }
.form-status.is-error { border-left-color: #B3261E; background: rgba(179,38,30,.08); }

.form-done {
  margin-top: 2rem; padding: 2rem clamp(1.2rem,3vw,2.2rem);
  border-top: 4px solid transparent; border-image: var(--grad-rule) 1;
  background: rgba(36,20,56,.04);
}
.form-done-h {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.3rem,2.2vw,1.8rem); line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: .4rem;
}
.form-done p { margin: 0; color: var(--ink-70); }

/* Dark sections: flip the status + success colours */
.section-ink .form-status, .section-grad .form-status {
  color: var(--cream); border-left-color: var(--amber);
  background: rgba(255,176,32,.13);
}
.section-ink .form-status.is-warn, .section-grad .form-status.is-warn {
  border-left-color: var(--amber); background: rgba(255,176,32,.16);
}
.section-ink .form-status.is-error, .section-grad .form-status.is-error {
  border-left-color: #FF8A80; background: rgba(255,138,128,.15);
}
.section-ink .form-done, .section-grad .form-done { background: rgba(254,245,236,.09); }
.section-ink .form-done-h, .section-grad .form-done-h { color: var(--cream); }
.section-ink .form-done p, .section-grad .form-done p { color: var(--cream-80); }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------------------
   Native select popups render on the OS/browser's own white surface, not on
   the section background. So <option> must never inherit the section's text
   colour — on the dark gradient that produced cream text on white.
   Pin options to ink-on-white everywhere, regardless of section.
   -------------------------------------------------------------------------- */
.field select option,
.hbspt-form select option {
  color: var(--ink);
  background-color: #fff;
}
