/* ============================================================
   sitm-pagekit.css - shared page kit for the ported week-9 page mockups
   Source: workspace/contract-weeks/week-9/_mockups-deploy/shared/sitm-mockup-kit.css
   Verbatim port with the same modifications sitm-under-hero.css uses:
   - :root vars scoped to .sitm-scope
   - universal box-sizing reset omitted (theme already sets it)
   - body.sitm-page selector folded into .sitm-scope
   - header / announce / footer blocks omitted (theme supplies those)
   - font @import omitted (theme already loads Poppins + Tilt Warp)
   ============================================================ */

.sitm-scope {
  --sitm-navy: #201f55;
  --sitm-navy-soft: #303071;
  --sitm-footer-navy: #242253;
  --sitm-teal-deep: #1f7772;
  --sitm-teal: #4bbdb5;
  --sitm-teal-btn: #61bdb7;
  --sitm-teal-mid: #53b1a9;
  --sitm-teal-light: #d7f3f0;
  --sitm-mint: #ecfaf7;
  --sitm-gold: #f3b740;
  --sitm-pink: #f082b4;
  --sitm-white: #ffffff;
  --sitm-ink: #1f2454;
  --sitm-body-ink: #3e4761;
  --sitm-border: #e8e8e1;

  --sitm-muted: rgba(255,255,255,.72);
  --sitm-card: rgba(255,255,255,.12);
  --sitm-card-border: rgba(255,255,255,.22);
  --sitm-shadow: 0 24px 60px rgba(16, 49, 72, .18);
  --sitm-shadow-card: 0 20px 44px rgba(9, 49, 74, .18);
  --sitm-radius: 28px;
  --sitm-radius-sm: 16px;
  --sitm-radius-card: 24px;

  --sitm-gradient: linear-gradient(118deg, #1f7772 0%, #2c9b92 34%, #53b1a9 62%, #9fdcd2 100%);

  --sitm-font-body: 'Poppins', system-ui, sans-serif;
  --sitm-font-display: 'Tilt Warp', 'Poppins', sans-serif;

  --sitm-maxw: 1200px;
  --sitm-maxw-wide: 1460px;
  --sitm-gutter: clamp(18px, 4vw, 48px);

  font-family: var(--sitm-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sitm-body-ink);
  background: var(--sitm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sitm-scope img { max-width: 100%; display: block; }

.sitm-scope .sitm-container { width: min(var(--sitm-maxw), calc(100% - 2 * var(--sitm-gutter))); margin-inline: auto; }
.sitm-scope .sitm-container--wide { width: min(var(--sitm-maxw-wide), calc(100% - 2 * var(--sitm-gutter))); margin-inline: auto; }

/* ---- Typography ----------------------------------------------------- */
.sitm-scope .sitm-h1 { font-family: var(--sitm-font-body); font-weight: 800; line-height: 1.0;  font-size: clamp(34px, 5vw, 58px); letter-spacing: .01em; color: var(--sitm-ink); margin: 0; text-transform: none; }
.sitm-scope .sitm-h2 { font-family: var(--sitm-font-body); font-weight: 800; line-height: 1.06; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: .01em; color: var(--sitm-ink); margin: 0; text-transform: none; }

.sitm-scope .sitm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-family: var(--sitm-font-body);
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sitm-teal-deep);
}
.sitm-scope .sitm-eyebrow::after { content: ""; width: 46px; height: 2px; border-radius: 999px; background: var(--sitm-gold); }
.sitm-scope .sitm-gradient-band .sitm-eyebrow { color: rgba(255,255,255,.9); }

/* ---- Buttons -------------------------------------------------------- */
.sitm-scope .sitm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--sitm-teal-btn); color: #fff;
  font-family: var(--sitm-font-body); font-size: 14px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 26px rgba(97,189,183,.34);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.sitm-scope .sitm-btn:hover { transform: translateY(-2px); background: #56b1ab; box-shadow: 0 18px 32px rgba(97,189,183,.42); }

.sitm-scope .sitm-btn--pill {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: #fff; color: var(--sitm-navy);
  font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(16,49,72,.18);
}
.sitm-scope .sitm-btn--pill:hover { transform: translateY(-2px); background: #fff9ea; box-shadow: 0 18px 34px rgba(16,49,72,.25); }

/* ---- Pulse-trace divider -------------------------------------------- */
.sitm-scope .sitm-pulse-divider { display: block; width: min(280px, 60%); margin: 3rem auto; }
.sitm-scope .sitm-pulse-divider svg { display: block; width: 100%; height: auto; }

/* ---- Signature gradient band ---------------------------------------- */
.sitm-scope .sitm-gradient-band {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 9% 18%, rgba(255,255,255,.16), transparent 18rem),
    radial-gradient(circle at 58% 12%, rgba(169,239,230,.34), transparent 30rem),
    radial-gradient(circle at 92% 30%, rgba(204,252,224,.38), transparent 26rem),
    radial-gradient(circle at 48% 88%, rgba(38,180,183,.32), transparent 28rem),
    var(--sitm-gradient);
}
.sitm-scope .sitm-gradient-band::before {
  content: ""; position: absolute; inset: -18% -10% auto -10%; height: 230px;
  background:
    radial-gradient(circle at 44% 64%, rgba(255,255,255,.22), transparent 22rem),
    linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  clip-path: polygon(0 40%, 11% 35%, 23% 44%, 36% 31%, 49% 42%, 61% 29%, 73% 39%, 86% 30%, 100% 42%, 100% 0, 0 0);
  opacity: .8; z-index: -1;
}
.sitm-scope .sitm-gradient-band--wavecut::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 44px; background: #fff;
  clip-path: polygon(0 54%, 10% 63%, 22% 49%, 35% 62%, 47% 45%, 60% 56%, 74% 43%, 87% 59%, 100% 47%, 100% 100%, 0 100%);
  z-index: 2;
}
.sitm-scope .sitm-gradient-band .sitm-h1,
.sitm-scope .sitm-gradient-band .sitm-h2 { color: #fff; }
.sitm-scope .sitm-gradient-band p { color: rgba(255,255,255,.85); }

/* gold accent rail */
.sitm-scope .sitm-rail { position: relative; padding-left: 22px; }
.sitm-scope .sitm-rail::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(var(--sitm-gold), rgba(255,255,255,.35));
  box-shadow: 0 0 22px rgba(243,183,64,.44);
}

/* ---- Gradient pre-footer -------------------------------------------- */
.sitm-scope .sitm-prefooter {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(52px, 8vw, 96px) 0 clamp(60px, 9vw, 104px);
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.16), transparent 20rem),
    radial-gradient(circle at 84% 24%, rgba(204,252,224,.34), transparent 26rem),
    radial-gradient(circle at 50% 96%, rgba(38,180,183,.30), transparent 30rem),
    var(--sitm-gradient);
}
.sitm-scope .sitm-prefooter::before {
  content: ""; position: absolute; inset: -1px 0 auto 0; height: 46px; background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 46%, 87% 30%, 74% 44%, 60% 28%, 47% 46%, 35% 30%, 22% 50%, 10% 34%, 0 47%);
  z-index: 2;
}
.sitm-scope .sitm-prefooter__inner { position: relative; z-index: 3; text-align: center; display: grid; gap: 18px; justify-items: center; }
.sitm-scope .sitm-prefooter__inner .sitm-h2 { color: #fff; max-width: 18ch; }
.sitm-scope .sitm-prefooter__inner p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 0; }
.sitm-scope .sitm-prefooter__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---- Section rhythm + helpers --------------------------------------- */
.sitm-scope .sitm-section { padding: clamp(48px, 7vw, 96px) 0; }
.sitm-scope .sitm-section--tight { padding: clamp(32px, 5vw, 64px) 0; }

.sitm-scope .sitm-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--sitm-mint); color: var(--sitm-teal-deep); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sitm-scope .sitm-badge--gold { background: var(--sitm-gold); color: var(--sitm-ink); }

@keyframes sitmRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sitm-scope .sitm-rise { animation: sitmRise .7s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .sitm-scope .sitm-rise { animation: none; } }

/* ============================================================
   2026-08-03, Keith's three About-page notes. Every one of these is behind a
   section setting that defaults to the EXISTING look, so the page can be put
   back from the theme editor without a code change and the Client can be shown
   both. Backup of the pre-edit files:
   workspace/contract-weeks/week-14/about-page/BACKUP-before-band-and-divider-edits-2026-08-03/
   ============================================================ */

/* ---- 1. Wave divider, lifted from the homepage --------------------------
   The homepage's founder-letter section carries two divider styles and is set
   to 'wave'; the About page was using the other one, the pulse trace. This is
   that wave, same geometry and same 30s drift, restated here as a pagekit
   component so both pages draw from one definition.
   Stroke colours stay overridable per block so a divider can sit on mint as
   well as on white. */
.sitm-scope .sitm-wave-divider { position: relative; width: 100%; height: 46px; overflow: hidden; line-height: 0; margin: 3rem 0; }
.sitm-scope .sitm-wave-divider svg { display: block; width: 200%; height: 100%; animation: sitm-wave-drift 30s linear infinite; }
.sitm-scope .sitm-wave-divider__line { fill: none; stroke: var(--sitm-wave-stroke, rgba(97,189,183,0.60)); stroke-width: 1.6; stroke-linecap: round; }
.sitm-scope .sitm-wave-divider__line--2 { stroke: var(--sitm-wave-stroke-2, rgba(97,189,183,0.32)); stroke-width: 1.1; }
@keyframes sitm-wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sitm-scope .sitm-wave-divider svg { animation: none; } }

/* ---- 2. Soft bottom edge on a gradient band -----------------------------
   The band already uses ::before for the top crest and ::after for the wave
   cut, so a third paint layer would have nowhere to live. This is a real
   element the section emits, sitting above the background and below the
   content, fading the band into the page rather than ending it on a line.
   It sits BEHIND the wave cut, so the wave still reads; it just stops being
   the first thing the eye meets. */
.sitm-scope .sitm-gradient-band__fade {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  height: var(--sitm-band-fade-h, 190px);
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.18) 46%,
    rgba(255,255,255,.55) 76%,
    rgba(255,255,255,.88) 100%);
}
.sitm-scope .sitm-gradient-band > .sitm-container { position: relative; z-index: 3; }

/* ---- 3. Gradient entry on the pre-footer --------------------------------
   The homepage does NOT cut a hard edge into its teal: .sitm-testimonials
   opens at #fcf4f6 and runs down through #a9d8d1 to #5d93a0, and
   .sitm-shop-materials picks that up and carries it to navy, so the whole
   lower page is one continuous gradient with a drifting line-wave at each
   seam. The About page instead had a white clip-path polygon cutting a crisp
   wave out of the top of the band, which is the hard line.
   This does the homepage thing within one section: suppress the clip, and
   open the band with a white-to-transparent wash of the same shape. */
.sitm-scope .sitm-prefooter--gradient-in::before { display: none; }
.sitm-scope .sitm-prefooter--gradient-in > .sitm-prefooter__enter {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; pointer-events: none;
  height: var(--sitm-prefooter-enter-h, 210px);
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(255,255,255,.86) 22%,
    rgba(255,255,255,.52) 48%,
    rgba(255,255,255,.20) 74%,
    rgba(255,255,255,0) 100%);
}
