/* ==========================================================================
   Isabelle Marie, personal brand
   Palette inherited from the Digital Bliss 2026 Brand Guidelines.
   Typography deliberately diverges from the agency system: the shared palette
   signals the two brands are related; the editorial serif signals that this
   one is a person, not a firm.
   ========================================================================== */

:root{
  /* Brand palette (Digital Bliss 2026) */
  --ivory:      #F4F2ED;   /* Ivory Impression   */
  --teal:       #487B84;   /* Traffic Boost Teal */
  --bloom:      #A3B2CA;   /* Prairie Bloom      */
  --midnight:   #122440;   /* Metric Midnight    */

  /* Derived tones */
  --paper:      #FBFAF8;
  --ink:        var(--midnight);
  --ink-soft:   #3D4E68;
  --teal-deep:  #35606A;   /* AA-safe teal for small text on light grounds */
  --rule:       #DCD8CF;
  --rule-dark:  rgba(244,242,237,.18);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script:"Sirivennela", "Segoe Script", cursive;   /* CTA face, locked Sep 30 */

  --step--1: clamp(.86rem, .83rem + .16vw, .95rem);
  --step-0:  clamp(1.02rem, .98rem + .22vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + .78vw, 2.05rem);
  --step-3:  clamp(1.95rem, 1.66rem + 1.44vw, 2.95rem);
  --step-4:  clamp(2.5rem, 1.94rem + 2.8vw, 4.6rem);

  --gutter: clamp(1.15rem, 4vw, 3rem);
  --bay:    clamp(3.75rem, 9vw, 8rem);   /* vertical section rhythm */
  --measure: 68ch;
  --wide: 1200px;
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms!important; animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
body{
  margin:0; background:var(--ivory); color:var(--ink);
  font-family:var(--sans); font-size:var(--step-0); font-weight:400;
  line-height:1.65; letter-spacing:.005em;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--teal-deep); text-underline-offset:.18em; text-decoration-thickness:.06em; }
a:hover{ color:var(--midnight); }
:focus-visible{ outline:2.5px solid var(--teal); outline-offset:3px; border-radius:2px; }
h1,h2,h3,h4{
  margin:0; font-family:var(--serif); font-weight:600; line-height:1.08;
  letter-spacing:-.018em; font-variation-settings:"SOFT" 18,"WONK" 1; text-wrap:balance;
}
p{ margin:0; text-wrap:pretty; }

/* ---------- layout ---------- */
.wrap{ width:min(100% - (var(--gutter) * 2), var(--wide)); margin-inline:auto; }
.bay{ padding-block:var(--bay); }
/* keep in-page anchor targets clear of the sticky masthead */
main > section[id]{ scroll-margin-top:5.5rem; }
.skip{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--midnight); color:var(--ivory);
  padding:.85rem 1.3rem; border-radius:0 0 6px 0; font-weight:600;
}
.skip:focus{ left:0; }

/* ---------- type helpers ---------- */
.eyebrow{
  font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--teal-deep);
  margin:0 0 1.1rem;
}
.eyebrow--light{ color:var(--bloom); }
.lede{ font-size:var(--step-1); line-height:1.5; color:var(--ink-soft); max-width:56ch; }
.h-sec{ font-size:var(--step-3); }
.measure{ max-width:var(--measure); }
.rule{ height:1px; background:var(--rule); border:0; margin:0; }
.tick{ display:block; width:54px; height:3px; background:var(--teal); margin-bottom:1.6rem; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.09em; text-transform:uppercase; text-decoration:none;
  padding:.95rem 1.7rem; border-radius:2px; border:1.5px solid transparent;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn--solid{ background:var(--midnight); color:var(--ivory); }
.btn--solid:hover{ background:var(--teal); color:#fff; }
.btn--ghost{ border-color:var(--midnight); color:var(--midnight); }
.btn--ghost:hover{ background:var(--midnight); color:var(--ivory); }
.btn--light{ background:var(--ivory); color:var(--midnight); }
.btn--light:hover{ background:var(--bloom); color:var(--midnight); }
.btn--outline-light{ border-color:var(--bloom); color:var(--ivory); }
.btn--outline-light:hover{ background:var(--ivory); color:var(--midnight); }
.btn-row{ display:flex; flex-wrap:wrap; gap:.85rem; }

/* ---------- masthead ---------- */
.masthead{
  position:sticky; top:0; z-index:50;
  background:rgba(244,242,237,.88); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule);
}
.masthead__in{
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem; padding-block:.9rem;
}
.wordmark{
  font-family:var(--serif); font-size:1.16rem; font-weight:600; letter-spacing:-.01em;
  color:var(--midnight); text-decoration:none; white-space:nowrap;
}
.wordmark span{ color:var(--teal-deep); }  /* AA: raw teal is only 4.23:1 on ivory */
.nav{ display:flex; align-items:center; gap:clamp(1rem,2.4vw,2rem); }
/* Scoped to .nav__links, NOT .nav: a bare `.nav a` rule outranks `.btn--solid`
   on specificity and paints the CTA's label midnight-on-midnight. */
.nav__links a{
  font-size:var(--step--1); font-weight:600; letter-spacing:.05em; text-transform:uppercase;
  color:var(--ink); text-decoration:none; padding-block:.3rem;
  border-bottom:1.5px solid transparent;
}
.nav__links a:hover{ border-bottom-color:var(--teal); color:var(--teal-deep); }
.nav .btn{ padding:.7rem 1.2rem; }
.nav__links{ display:flex; align-items:center; gap:clamp(1rem,2.4vw,2rem); }

/* Mobile: wrap the nav onto a second row rather than hiding it behind a
   hamburger. Four links do not justify a JS menu. */
@media (max-width:860px){
  .masthead__in{ flex-wrap:wrap; gap:.55rem 1rem; }
  .nav{ width:100%; justify-content:space-between; gap:.8rem; }
  .nav__links{ gap:.95rem; flex-wrap:wrap; }
  .nav__links a{ font-size:.78rem; letter-spacing:.04em; }
  .nav .btn{ padding:.6rem 1rem; font-size:.74rem; }
}
@media (max-width:420px){
  .nav__links a{ font-size:.72rem; }
  .nav .btn{ padding:.55rem .85rem; font-size:.68rem; }
}

/* ---------- hero ---------- */
.hero{ padding-block:clamp(3rem,7vw,6rem) var(--bay); }
.hero__grid{
  display:grid; gap:clamp(2.5rem,5vw,4.5rem);
  align-items:center; grid-template-columns:1fr;
}
@media (min-width:900px){ .hero__grid{ grid-template-columns:1.08fr .92fr; } }
.hero h1{ font-size:var(--step-4); font-weight:600; }
.hero__name{
  display:block; font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; color:var(--teal-deep); margin-bottom:1.2rem;
}
.hero__sub{
  font-size:var(--step-1); line-height:1.5; color:var(--ink-soft);
  margin-top:1.5rem; max-width:50ch;
}
.hero__note{
  margin-top:1.35rem; padding-left:1.1rem; border-left:3px solid var(--bloom);
  font-size:var(--step-0); color:var(--ink-soft); max-width:48ch;
}
.hero .btn-row{ margin-top:2.2rem; }

/* portrait with offset accent block */
.portrait{ position:relative; }
.portrait::before{
  content:""; position:absolute; inset:auto -1.6rem -1.6rem auto;
  width:72%; height:74%; background:var(--bloom); opacity:.55; z-index:0;
}
.portrait img{
  position:relative; z-index:1; width:100%;
  object-fit:cover; aspect-ratio:4/5; filter:saturate(.97);
}

/* ---------- credibility strip ---------- */
.strip{ background:var(--paper); border-block:1px solid var(--rule); }
.strip__in{ padding-block:clamp(2rem,4vw,3rem); }
.strip h2{
  font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--teal-deep); margin-bottom:1.6rem;
}
.verticals{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.6rem .55rem; }
.verticals li{
  font-size:var(--step--1); font-weight:600; color:var(--ink);
  border:1px solid var(--rule); background:var(--ivory);
  padding:.5rem 1rem; border-radius:100px;
}

/* ---------- story ---------- */
.story__grid{
  display:grid; gap:clamp(2.5rem,5vw,4.5rem);
  grid-template-columns:1fr; align-items:start;
}
@media (min-width:900px){ .story__grid{ grid-template-columns:.9fr 1.1fr; } }
.story__body{ font-size:var(--step-0); }
.story__body p + p{ margin-top:1.15rem; }
.story__body strong{ font-weight:700; color:var(--midnight); }
.pull{
  margin:2rem 0; padding:1.6rem 0 1.6rem 1.6rem; border-left:3px solid var(--teal);
  font-family:var(--serif); font-size:var(--step-2); line-height:1.25; font-weight:500;
  color:var(--midnight); font-variation-settings:"SOFT" 22,"WONK" 1;
}
.story__img img{ aspect-ratio:4/5; object-fit:cover; width:100%; }
.caption{ font-size:var(--step--1); color:var(--ink-soft); margin-top:.8rem; font-style:italic; }

/* ---------- dark band (framework) ---------- */
.band{ background:var(--midnight); color:var(--ivory); }
.band h2,.band h3{ color:var(--ivory); }
.band .lede{ color:var(--bloom); }
.pillars{
  list-style:none; margin:2.75rem 0 0; padding:0; display:grid; gap:0;
  grid-template-columns:1fr; border-top:1px solid var(--rule-dark);
}
@media (min-width:720px){
  .pillars{ grid-template-columns:repeat(2,1fr); column-gap:clamp(2rem,4vw,4rem); }
}
.pillar{
  padding:1.9rem 0; border-bottom:1px solid var(--rule-dark);
  display:grid; grid-template-columns:auto 1fr; gap:1.3rem; align-items:start;
}
.pillar__num{
  font-family:var(--serif); font-size:var(--step-1); font-weight:600;
  color:var(--bloom); line-height:1; padding-top:.2em;
}
.pillar h3{ font-size:var(--step-1); margin-bottom:.5rem; }
.pillar p{ font-size:var(--step--1); color:var(--bloom); line-height:1.6; }
.pillar em{ color:var(--ivory); font-style:normal; font-weight:600; }

/* ---------- feature blocks (book / podcast) ---------- */
.feature{ display:grid; gap:clamp(2rem,4.5vw,4rem); grid-template-columns:1fr; align-items:center; }
@media (min-width:900px){
  .feature{ grid-template-columns:1fr 1fr; }
  .feature--flip .feature__media{ order:-1; }
}
.card{ background:var(--paper); border:1px solid var(--rule); padding:clamp(1.6rem,3vw,2.4rem); }
.topics{ list-style:none; margin:1.5rem 0 0; padding:0; }
.topics li{ padding:.85rem 0; border-bottom:1px solid var(--rule); font-size:var(--step-0); }
.topics li:last-child{ border-bottom:0; }
.topics b{ display:block; font-weight:700; color:var(--midnight); }
.topics span{ font-size:var(--step--1); color:var(--ink-soft); }

/* ---------- newsletter ---------- */
.signup{ background:var(--teal); color:#fff; }
.signup h2{ color:#fff; }
.signup p{ color:#fff; }  /* white on teal = 4.73:1, the only AA-safe pairing here */
.form{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.9rem; max-width:520px; }
.form input{
  flex:1 1 240px; font-family:var(--sans); font-size:var(--step-0);
  padding:.95rem 1.1rem; border:1.5px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.1); color:#fff; border-radius:2px;
}
.form input::placeholder{ color:rgba(255,255,255,.88); }
.form input:focus{ background:#fff; color:var(--midnight); outline-color:#fff; }
.form input:focus::placeholder{ color:var(--ink-soft); }
.fineprint{ font-size:var(--step--1); margin-top:1rem; color:#fff; }

/* ---------- signature logo (Allura, outlined vectors) ---------- */
.wordmark{ display:inline-flex; align-items:center; }
/* header carries the IM monogram only (Codie Sanchez pattern); the full
   signature is reserved for the footer and sign-off, where it has room */
.wordmark img{ height:38px; width:auto; display:block; }
@media (max-width:520px){ .wordmark img{ height:31px; } }

.signoff-logo{ height:clamp(58px,8.5vw,86px); width:auto; margin:0 auto; }
.foot__logo{ height:52px; width:auto; }

/* ---------- footer ---------- */
.foot{ background:var(--midnight); color:var(--bloom); font-size:var(--step--1); }
.foot a{ color:var(--ivory); text-decoration:none; }
.foot a:hover{ color:var(--bloom); text-decoration:underline; }
.foot__grid{ display:grid; gap:2.5rem; grid-template-columns:1fr; padding-block:clamp(3rem,6vw,4.5rem); }
@media (min-width:760px){ .foot__grid{ grid-template-columns:1.4fr 1fr 1fr; } }
.foot h3{
  font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--ivory); margin-bottom:1.1rem;
}
.foot ul{ list-style:none; margin:0; padding:0; }
.foot li + li{ margin-top:.6rem; }
.foot__base{
  border-top:1px solid var(--rule-dark); padding-block:1.6rem;
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between;
}

/* ==========================================================================
   Interior pages: writing / speaking / press
   ========================================================================== */

.page-head{ padding-block:clamp(3rem,7vw,5.5rem) clamp(2rem,4vw,3rem); }
.page-head h1{ font-size:var(--step-4); }
.page-head .lede{ margin-top:1.5rem; }

/* numbered talk-topic cards */
.topic-grid{ list-style:none; margin:0; padding:0; display:grid; gap:1px;
  grid-template-columns:1fr; background:var(--rule); border:1px solid var(--rule); }
@media (min-width:780px){ .topic-grid{ grid-template-columns:repeat(2,1fr); } }
.topic-card{ background:var(--paper); padding:clamp(1.6rem,3vw,2.3rem); }
.topic-card__num{
  display:block; font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.18em; color:var(--teal-deep); margin-bottom:.9rem;
}
.topic-card h3{ font-size:var(--step-2); margin-bottom:.85rem; }
.topic-card p{ color:var(--ink-soft); font-size:var(--step-0); }

/* media kit definition list */
.kit{ margin:0; display:grid; grid-template-columns:1fr; gap:0; }
@media (min-width:640px){ .kit{ grid-template-columns:minmax(9rem,auto) 1fr; } }
.kit dt{
  font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.13em; text-transform:uppercase; color:var(--teal-deep);
  padding:1rem 0 .2rem; border-top:1px solid var(--rule);
}
.kit dd{ margin:0; padding:.2rem 0 1rem; border-top:0; }
@media (min-width:640px){
  .kit dd{ padding:1rem 0; border-top:1px solid var(--rule); padding-left:1.5rem; }
  .kit dt{ padding:1rem 0; }
}
.kit dd a{ font-weight:600; }

/* selectable bio blocks for press use */
.bio-card{ background:var(--paper); border:1px solid var(--rule);
  padding:clamp(1.4rem,2.6vw,2rem); }
.bio-card + .bio-card{ margin-top:1rem; }
.bio-card h3{
  font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.13em; text-transform:uppercase; color:var(--teal-deep);
  margin-bottom:.9rem;
}
.bio-card p{ font-size:var(--step-0); }
.bio-card p + p{ margin-top:.9rem; }

/* coverage / appearances */
.coverage{ list-style:none; margin:2rem 0 0; padding:0; }
.coverage li{ padding:1.5rem 0; border-top:1px solid var(--rule); display:grid;
  gap:.45rem; grid-template-columns:1fr; }
@media (min-width:760px){
  .coverage li{ grid-template-columns:10rem 1fr; gap:0 2rem; align-items:baseline; }
}
.coverage__meta{
  font-family:var(--sans); font-size:var(--step--1); font-weight:700;
  letter-spacing:.11em; text-transform:uppercase; color:var(--teal-deep);
}
.coverage h3{ font-size:var(--step-1); margin-bottom:.4rem; }
.coverage p{ color:var(--ink-soft); font-size:var(--step-0); }
.coverage__where{ font-weight:600; color:var(--midnight); }

/* listen-on platform links */
.listen{ list-style:none; margin:1.4rem 0 0; padding:0;
  display:flex; flex-wrap:wrap; gap:.55rem; }
.listen a{
  display:inline-block; font-size:var(--step--1); font-weight:600;
  text-decoration:none; color:var(--midnight); background:var(--ivory);
  border:1px solid var(--rule); padding:.5rem 1rem; border-radius:100px;
}
.listen a:hover{ background:var(--midnight); color:var(--ivory); border-color:var(--midnight); }

/* writing index */
.posts{ list-style:none; margin:0; padding:0; }
.posts li{ padding:1.9rem 0; border-top:1px solid var(--rule); }
.posts h3{ font-size:var(--step-2); margin-bottom:.6rem; }
.posts h3 a{ color:var(--midnight); text-decoration:none; }
.posts h3 a:hover{ color:var(--teal-deep); text-decoration:underline; }
.posts p{ color:var(--ink-soft); max-width:60ch; }
.posts .coverage__meta{ display:block; margin-bottom:.7rem; }

/* linked episode thumbnail */
.thumb{ display:block; max-width:420px; margin-top:1.1rem; text-decoration:none;
  border:1px solid var(--rule); background:var(--paper); }
.thumb img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.thumb__cta{ display:block; padding:.7rem 1rem; font-size:var(--step--1);
  font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-deep); }
.thumb:hover{ border-color:var(--midnight); }
.thumb:hover .thumb__cta{ background:var(--midnight); color:var(--ivory); }

/* speaking photo gallery */
.gallery{ list-style:none; margin:2.4rem 0 0; padding:0; display:grid; gap:1rem;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); }
.gallery li{ margin:0; }
.gallery img{ width:100%; aspect-ratio:3/2; object-fit:cover; display:block; }
.gallery figcaption{ font-size:var(--step--1); color:var(--ink-soft); margin-top:.6rem; }
.gallery--feature{ grid-template-columns:1fr; }
@media (min-width:820px){
  .gallery--feature{ grid-template-columns:1.6fr 1fr; }
  .gallery--feature li:first-child img{ aspect-ratio:3/2; height:100%; }
}

/* empty-state note */
.note{
  background:var(--paper); border:1px solid var(--rule);
  border-left:3px solid var(--bloom);
  padding:clamp(1.2rem,2.4vw,1.8rem); color:var(--ink-soft);
}

/* ==========================================================================
   PERSONALITY LAYER (Dex, Oct 29, 2026)
   Signature accent: Petal Persuasion rose, deepened for text (#A34A5B, 5.09:1
   on ivory). Playful secondary: Soft Launch Pink (navy text on it, 9.74:1).
   Hard hat yellow appears once, in the foreman sticker icon only.
   Every motion here is off under prefers-reduced-motion.
   ========================================================================== */
:root{
  --rose:       #CD7B89;   /* Petal Persuasion: decorative only (2.76:1, never small text) */
  --rose-deep:  #A34A5B;   /* AA text accent on ivory and paper */
  --pink:       #F9BEC2;   /* Soft Launch Pink */
  --hat:        #F2B33D;   /* foreman hard hat, icon only */
  --lift: 0 14px 30px -18px rgba(18,36,64,.45);
}

/* accent swaps: eyebrows and ticks carry the signature color */
.eyebrow{ color:var(--rose-deep); }
.band .eyebrow--light{ color:var(--pink); }
.tick{ background:var(--rose); height:4px; border-radius:4px; width:62px; }
.pull{ border-left-color:var(--rose); }
.hero__name{ color:var(--rose-deep); }
.hero__note{ border-left-color:var(--pink); border-left-width:4px; }
.portrait::before{ background:var(--pink); opacity:.9; }
.btn{ border-radius:999px; }
.btn--solid:hover{ background:var(--rose-deep); color:#fff; }
.nav__links a:hover{ border-bottom-color:var(--rose); color:var(--rose-deep); }
.strip h2{ color:var(--rose-deep); }
.topic-card__num, .coverage__meta, .kit dt, .bio-card h3{ color:var(--rose-deep); }

/* highlighter swipe behind one word per page H1 */
.hl{
  background:linear-gradient(transparent 60%, var(--pink) 60%, var(--pink) 90%, transparent 90%);
  padding:0 .08em; margin:0 -.04em; border-radius:.1em;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}

/* script ask: the CTA line in Sirivennela, never larger than the paragraph beside it */
.ask{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--script); font-size:calc(var(--step-1) * 1.55); line-height:1.15; font-weight:400;
  color:var(--teal-deep); text-decoration:none; letter-spacing:0;
}
a.ask:hover{ color:var(--rose-deep); text-decoration:underline; text-underline-offset:.25em; }
.ask__arrow{ width:44px; height:30px; flex:none; color:var(--rose); }
.ask-row{ margin-top:1.6rem; }
.ask-row + .btn-row{ margin-top:.7rem !important; }

/* stickers on the hero portrait */
.sticker{
  position:absolute; z-index:2; display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--sans); font-size:.78rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; line-height:1.2; padding:.6rem .95rem; border-radius:999px;
  box-shadow:0 8px 18px -10px rgba(18,36,64,.55);
  transition:transform .25s ease;
}
.sticker svg{ width:30px; height:23px; flex:none; }
.sticker--foreman{ top:1.1rem; left:-1.1rem; background:var(--paper); color:var(--midnight);
  border:1.5px solid var(--midnight); transform:rotate(-5deg); }
.sticker--mom{ bottom:2.2rem; right:-1rem; background:var(--pink); color:var(--midnight); transform:rotate(4deg); }
.portrait:hover .sticker--foreman{ transform:rotate(-2deg) translateY(-3px); }
.portrait:hover .sticker--mom{ transform:rotate(1deg) translateY(-3px); }
@media (max-width:899px){
  .sticker{ font-size:.7rem; padding:.5rem .8rem; }
  .sticker--foreman{ left:.6rem; top:.8rem; }
  .sticker--mom{ right:.6rem; bottom:1.4rem; }
}

/* industries marquee (pauses on hover and with the button; static under reduced motion) */
.marquee{ position:relative; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.marquee__track{ display:flex; width:max-content; animation:marquee 55s linear infinite; }
.marquee__track .verticals{ flex-wrap:nowrap; padding-right:.55rem; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track{ animation-play-state:paused; }
@keyframes marquee{ to{ transform:translateX(-50%); } }
.verticals li{ white-space:nowrap; }
.verticals li:nth-child(3n+1){ background:var(--pink); border-color:var(--pink); }
.strip__head{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; flex-wrap:wrap; }
.strip__head h2{ margin-bottom:1.3rem; }
.marquee-toggle{
  font:inherit; font-size:var(--step--1); font-weight:600; color:var(--teal-deep);
  background:none; border:0; padding:.3rem 0; cursor:pointer; text-decoration:underline;
  text-underline-offset:.2em; margin-bottom:1.3rem;
}
@media (prefers-reduced-motion:reduce){
  .marquee{ -webkit-mask-image:none; mask-image:none; }
  .marquee__track{ animation:none; width:auto; }
  .marquee__track .verticals{ flex-wrap:wrap; }
  .marquee__track [aria-hidden="true"], .marquee-toggle{ display:none; }
}

/* hover lifts */
.card, .topic-card, .fact, .polaroid, .thumb, .bio-card{
  transition:transform .22s ease, box-shadow .22s ease;
}
.card:hover, .topic-card:hover, .bio-card:hover{ transform:translateY(-4px); box-shadow:var(--lift); }
.topic-card{ position:relative; }

/* off the clock: photo roll */
.offclock{ background:var(--paper); border-block:1px solid var(--rule); }
.roll{
  list-style:none; margin:2.6rem 0 0; padding:0; display:grid; gap:1.4rem;
  grid-template-columns:1.6fr .8fr .8fr 1.5fr; align-items:start;
}
.polaroid{ background:#fff; padding:.6rem .6rem .9rem; box-shadow:0 10px 24px -16px rgba(18,36,64,.5);
  border:1px solid var(--rule); margin:0; }
.roll li:nth-child(1) .polaroid{ transform:rotate(-1.2deg); }
.roll li:nth-child(2) .polaroid{ transform:rotate(1.1deg); }
.roll li:nth-child(3) .polaroid{ transform:rotate(-.8deg); }
.roll li:nth-child(4) .polaroid{ transform:rotate(1.3deg); }
.roll li .polaroid:hover{ transform:rotate(0) translateY(-5px); box-shadow:var(--lift); }
.polaroid img{ width:100%; height:auto; object-fit:cover; display:block; }
.polaroid--wide img{ aspect-ratio:8/5; }
.polaroid--tall img{ aspect-ratio:4/5; }
.polaroid--stage img{ aspect-ratio:3/2; }
.polaroid figcaption{ font-size:var(--step--1); color:var(--ink-soft); line-height:1.45; margin-top:.7rem; padding-inline:.2rem; }
@media (max-width:899px){
  .roll{ grid-template-columns:1fr 1fr; gap:1.2rem 1rem; }
  .roll li:nth-child(1), .roll li:nth-child(4){ grid-column:1 / -1; }
  .roll li .polaroid{ transform:none !important; }
}

/* off the clock: facts */
.facts{ list-style:none; margin:3rem 0 0; padding:0; display:grid; gap:1.1rem;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); counter-reset:fact; }
.fact{ background:var(--ivory); border:1px solid var(--rule); border-radius:14px;
  padding:1.4rem 1.4rem 1.5rem; position:relative; counter-increment:fact; }
.fact::before{
  content:counter(fact, decimal-leading-zero); display:block; margin-bottom:.55rem;
  font-family:var(--serif); font-weight:600; font-size:var(--step-1); color:var(--rose-deep); line-height:1;
}
.fact p{ font-size:var(--step-0); line-height:1.55; color:var(--ink); }
.fact b{ color:var(--midnight); }
.fact:hover{ transform:translateY(-4px); box-shadow:var(--lift); }
.fact--pink{ background:var(--pink); border-color:var(--pink); }
.fact--pink::before{ color:var(--midnight); }

/* confirm markers: visible on purpose so nothing unverified ships by accident */
.confirm{ background:#FFF3B0; color:var(--midnight); outline:2px dashed var(--rose-deep);
  outline-offset:1px; padding:0 .25em; font-weight:600; }

/* newsletter and booking bands go Soft Launch Pink with navy text (9.74:1) */
.signup{ background:var(--pink); color:var(--midnight); }
.signup h2, .signup p, .signup .fineprint{ color:var(--midnight); }
.signup .eyebrow{ color:var(--midnight) !important; }
.signup .form input{ border-color:var(--midnight); background:rgba(255,255,255,.55); color:var(--midnight); }
.signup .form input::placeholder{ color:var(--ink-soft); }
.signup .form input:focus{ background:#fff; outline-color:var(--midnight); }
.signup .btn--light{ background:var(--midnight); color:var(--ivory); }
.signup .btn--light:hover{ background:var(--rose-deep); color:#fff; }
.signup .btn--outline-light{ border-color:var(--midnight); color:var(--midnight); }
.signup .btn--outline-light:hover{ background:var(--midnight); color:var(--ivory); }
.signup .ask{ color:var(--midnight); }
.signup .ask__arrow{ color:var(--rose-deep); }

/* mobile rhythm: header to text tight, section to section larger */
@media (max-width:600px){
  .hero{ padding-top:2.2rem; }
  .hero__sub{ margin-top:1.2rem; }
  .facts{ margin-top:2.2rem; }
  .roll{ margin-top:2rem; }
  .btn-row .btn{ flex:1 1 auto; justify-content:center; }
}

/* fixes after first render (Oct 29) */
.ask{ /* Sirivennela draws small on its em box: at 1.55x its lowercase matches the paragraph's x-height, so it reads no larger than the text beside it */ }
.nav .btn{ white-space:nowrap; }
.strip__head{ row-gap:.4rem; margin-bottom:1.1rem; }
.strip__head h2, .marquee-toggle{ margin-bottom:0; }
@media (max-width:600px){
  .fact{ padding:1rem 1.1rem 1.1rem; display:grid; grid-template-columns:2.1rem 1fr; gap:.2rem; align-items:baseline; }
  .fact::before{ margin:0; font-size:var(--step-0); }
  .facts{ gap:.8rem; }
}

/* script ask wraps naturally; the arrow rides on the last line instead of floating */
.ask{ display:inline; }
.ask__arrow{ display:inline-block; vertical-align:middle; margin-left:.35rem; }

/* ==========================================================================
   ROUND 2 (Dex, Oct 29, 2026): faith block, signup form, motion layer.
   Motion classes only apply when site.js adds html.motion, which it never does
   under prefers-reduced-motion. Transform and opacity only, no layout shift.
   ========================================================================== */

/* what comes first (faith) */
.faith__in{ text-align:center; max-width:780px; }
.faith .tick{ margin-inline:auto; }
.faith .lede{ margin:1.4rem auto 0; color:var(--ivory); max-width:52ch; }
.faith__body{ margin:1.1rem auto 0; max-width:58ch; color:var(--bloom); font-size:var(--step-0); line-height:1.7; }
.faith h2{ color:var(--ivory); }

/* signup form extras */
.hp{ position:absolute !important; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.form{ position:relative; max-width:640px; }
.form .form__name{ flex:1 1 160px; }
.signup__msg{ margin-top:1.6rem; max-width:56ch; background:#fff; color:var(--midnight);
  border-left:4px solid var(--rose-deep); border-radius:6px; padding:1rem 1.2rem; font-weight:600; line-height:1.5; }
.signup__msg.is-ok{ border-left-color:var(--teal-deep); }

/* photo slots: every polaroid keeps its frame ratio, so a new photo drops in with no layout change */
.polaroid picture{ display:block; }

/* ---------- motion ---------- */
/* 1. reveal: uses the separate `translate` property so hover transforms still work */
html.motion .reveal{
  opacity:0; translate:0 22px;
  transition:opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--d,0ms);
}
html.motion .reveal.is-in{ opacity:1; translate:0 0; }

/* 2. highlighter draws in from left to right */
html.motion .hl{
  background-repeat:no-repeat; background-size:0% 100%;
  transition:background-size 1.1s cubic-bezier(.6,.1,.2,1) .25s;
}
html.motion .hl.is-in{ background-size:100% 100%; }

/* 3. sticker wobble: once on load, again on hover */
@keyframes wobble{ 0%,100%{ rotate:0deg; } 25%{ rotate:5deg; } 55%{ rotate:-4deg; } 80%{ rotate:2deg; } }
html.motion .sticker{ animation:wobble .9s ease-in-out 1s 1 both; }
html.motion .portrait:hover .sticker{ animation:wobble .7s ease-in-out 0s 1; }

/* 4. polaroid parallax (values set by site.js) */
html.motion .roll > li{
  transform:translate3d(0,var(--py,0px),0) rotate(var(--pr,0deg));
  will-change:transform;
}

/* 5. desktop tilt toward the mouse (values set by site.js) */
html.motion .hero .portrait{
  transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition:transform .35s ease-out;
}
html.motion .roll li .polaroid:hover{
  transform:perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-5px);
  transition:transform .2s ease-out, box-shadow .22s ease;
}

/* belt and braces: nothing moves for visitors who ask for less motion */
@media (prefers-reduced-motion:reduce){
  html.motion .reveal{ opacity:1; translate:none; }
  html.motion .hl{ background-size:100% 100%; }
  html.motion .sticker{ animation:none; }
  html.motion .roll > li, html.motion .hero .portrait{ transform:none; }
}

/* ten fact cards: 5 by 2 on wide screens, 2 columns on tablets, 1 on phones (no orphan row) */
@media (min-width:1100px){ .facts{ grid-template-columns:repeat(5,1fr); } .fact p{ font-size:var(--step--1); line-height:1.55; } }
@media (min-width:601px) and (max-width:1099px){ .facts{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .facts{ grid-template-columns:1fr; } }

/* faith block with the wedding photo (Oct 29, photo pass) */
.faith__grid{ display:grid; gap:clamp(2rem,5vw,4rem); grid-template-columns:1fr; align-items:center; }
.faith__photo{ max-width:340px; margin:0 auto; transform:rotate(-2deg); }
.faith__photo img{ width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; }
.faith__photo figcaption{ color:var(--ink-soft); }
.faith__in{ text-align:center; }
@media (min-width:900px){
  .faith__grid{ grid-template-columns:.85fr 1.15fr; }
  .faith__photo{ max-width:400px; }
  .faith__in{ text-align:left; }
  .faith .lede, .faith__body{ margin-left:0; }
}
@media (prefers-reduced-motion:reduce){ .faith__photo{ transform:none; } }

/* ==========================================================================
   ROUND 3 MOTION (Dex, Oct 29, 2026): Isabelle's seven picks.
   All of it hangs off html.motion, which site.js never sets under
   prefers-reduced-motion. Transform and opacity only; fixed card heights,
   so nothing on the page moves when the classes arrive.
   ========================================================================== */

/* 1. tape measure scroll progress: brass blade with ticks, rose case at the left */
.tape{ position:fixed; top:0; left:0; right:0; height:12px; z-index:60; pointer-events:none; }
.tape__blade{
  position:absolute; left:0; top:0; width:100%; height:8px;
  background:
    repeating-linear-gradient(90deg, rgba(18,36,64,.85) 0 1.5px, transparent 1.5px 50px) left top / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(18,36,64,.6) 0 1px, transparent 1px 10px) left top / 100% 50% no-repeat,
    #E3B04B;
  box-shadow:0 1px 2px rgba(18,36,64,.25);
  transform:translate3d(-100%,0,0); will-change:transform;
}
.tape__case{
  position:absolute; left:0; top:0; width:26px; height:13px; border-radius:0 0 7px 0;
  background:radial-gradient(circle at 60% 45%, #F4F2ED 0 2px, transparent 2.5px), var(--rose-deep);
  box-shadow:0 1px 3px rgba(18,36,64,.35);
}
@media (max-width:899px){
  .tape{ height:9px; }
  .tape__blade{ height:5px; background-size:100% 100%, 100% 60%, auto; }
  .tape__case{ width:16px; height:9px; border-radius:0 0 5px 0; }
}

/* 2. polaroids are dealt onto the table, then settle */
html.motion .roll > li.reveal{ opacity:1; translate:none; }
html.motion .roll > li .polaroid{
  opacity:0; translate:var(--dx,0px) -70px; rotate:var(--dr,0deg);
  transition:opacity .45s ease var(--d,0ms),
             translate .95s cubic-bezier(.22,1.35,.42,1) var(--d,0ms),
             rotate .95s cubic-bezier(.22,1.35,.42,1) var(--d,0ms),
             transform .2s ease-out, box-shadow .22s ease;
}
html.motion .roll > li.is-in .polaroid{ opacity:1; translate:0 0; rotate:0deg; }

/* 3. flip cards. Fixed heights in BOTH modes so nothing jumps.
      Plain mode (no JS or reduced motion): the li is the card and shows the fact. */
.fact{ height:var(--fh,12.5rem); overflow:hidden; }
.flip, .flip__inner{ height:100%; }
.flip__front{ display:none; }
.flip__back p{ margin:0; }
@media (min-width:1100px){ .facts{ --fh:16.5rem; } }
@media (min-width:601px) and (max-width:1099px){ .facts{ --fh:12.5rem; } }
@media (max-width:600px){ .facts{ --fh:12.25rem; } }

html.motion .fact{ background:none; border:0; padding:0; box-shadow:none; overflow:visible; perspective:1100px; }
html.motion .fact::before{ display:none; }
html.motion .fact:hover{ transform:none; box-shadow:none; }
html.motion .flip{ cursor:pointer; border-radius:14px; }
html.motion .flip:focus-visible{ outline:2.5px solid var(--teal); outline-offset:4px; }
html.motion .flip__inner{ position:relative; transform-style:preserve-3d; transition:transform .7s cubic-bezier(.3,1.25,.45,1); }
html.motion .flip.is-flipped .flip__inner{ transform:rotateY(180deg); }
@media (hover:hover) and (pointer:fine){ html.motion .flip:hover .flip__inner{ transform:rotateY(180deg); } }
html.motion .flip__front, html.motion .flip__back{
  position:absolute; inset:0; display:flex; flex-direction:column; border-radius:14px;
  padding:1.3rem 1.3rem 1.2rem; background:var(--ivory); border:1px solid var(--rule);
  -webkit-backface-visibility:hidden; backface-visibility:hidden;
}
html.motion .flip__front::before{
  content:counter(fact, decimal-leading-zero); font-family:var(--serif); font-weight:600;
  font-size:var(--step-2); line-height:1; color:var(--rose-deep); margin-bottom:.7rem;
}
html.motion .flip__teaser{ font-family:var(--serif); font-weight:600; font-size:var(--step-1); line-height:1.2; color:var(--midnight); }
html.motion .flip__hint{
  margin-top:auto; font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--teal-deep);
}
html.motion .flip__back{ transform:rotateY(180deg); justify-content:center; box-shadow:var(--lift); }
html.motion .fact--pink .flip__front, html.motion .fact--pink .flip__back{ background:var(--pink); border-color:var(--pink); }
html.motion .fact--pink .flip__front::before{ color:var(--midnight); }

/* 4. magnetic buttons (site.js sets the inline translate on desktop only) */
html.motion .btn{ transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, translate .25s ease-out; }

/* 5. faith headline: big, full width, slides with scroll */
.faith{ position:relative; overflow:hidden; }
.faith .wrap{ position:relative; z-index:1; }
.faith__top{ text-align:center; }
.faith__headline{
  font-family:var(--serif); font-weight:600; color:var(--ivory); line-height:1.02;
  font-size:clamp(2.3rem, 1.2rem + 4.6vw, 5rem); letter-spacing:-.02em;
  margin:.2rem 0 clamp(2rem,4vw,3.2rem); will-change:transform;
}
@media (min-width:1200px){ .faith__headline{ white-space:nowrap; } }

/* 6. rose glow follows the cursor inside the faith section (desktop only) */
.faith__glow{
  position:absolute; left:0; top:0; width:520px; height:520px; border-radius:50%; z-index:0;
  background:radial-gradient(circle, rgba(205,123,137,.22) 0%, rgba(205,123,137,0) 65%);
  opacity:0; transition:opacity .4s ease; pointer-events:none; will-change:transform;
}
html:not(.motion) .faith__glow{ display:none; }
@media (max-width:899px){ .faith__glow{ display:none; } }

/* 7. sticker peel: the foreman sticker lifts at its corner on hover (text only now) */
.sticker--foreman{ overflow:visible; }
html.motion .sticker--foreman::after{
  content:""; position:absolute; right:14px; bottom:-1px; width:20px; height:20px;
  background:linear-gradient(135deg, transparent 49%, #E7E2D8 50%, #FFFFFF 78%);
  border-radius:0 0 8px 0; box-shadow:-2px -2px 4px rgba(18,36,64,.18);
  transform:scale(0); transform-origin:100% 100%; transition:transform .3s cubic-bezier(.3,1.4,.5,1);
}
html.motion .sticker--foreman:hover::after{ transform:scale(1); }
html.motion .sticker--foreman:hover{ transform:rotate(-2deg) translateY(-3px); }
html.motion .fact{ display:block; }
/* plain cards (no JS or reduced motion): the flip wrapper sizes to its text */
html:not(.motion) .flip, html:not(.motion) .flip__inner{ height:auto; }

/* header option A (Isabelle, Oct 29): script wordmark in the nav */
.wordmark--script img{ height:38px; width:auto; }
@media (max-width:520px){ .wordmark--script img{ height:30px; } }

/* the two birth photos, a small pair of polaroids inside the story */
.babies{ display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; margin:2rem 0 .4rem; }
.babies .polaroid img{ width:100%; height:auto; aspect-ratio:2/3; object-fit:cover; }
.babies .polaroid figcaption{ font-size:var(--step--1); color:var(--ink-soft); line-height:1.45; margin-top:.7rem; padding-inline:.2rem; }
.babies__one{ transform:rotate(-1.5deg); }
.babies__two{ transform:rotate(1.2deg); margin-top:1.4rem; }
@media (max-width:420px){ .babies{ gap:.8rem; } .babies__two{ margin-top:1rem; } }

/* foreman sticker icon: Phosphor HardHat (MIT, Copyright (c) 2023 Phosphor Icons), rose to match */
.sticker .sticker__icon{ width:19px; height:19px; flex:none; color:var(--rose-deep); }
@media (max-width:899px){ .sticker .sticker__icon{ width:16px; height:16px; } }
/* peel flap sits at the very end of the pill so it never covers the lettering */
html.motion .sticker--foreman::after{ right:3px; bottom:-3px; width:18px; height:18px; }
