/* ---------- Design tokens ---------- */
:root{
  --paper: #FFFFFF;
  --paper-alt: #FAFAF8;
  --ink: #1A1A1A;
  --ink-soft: #5B5B5B;
  --pink: #F5AFCE;
  --pink-ink: #8A2E5C;
  --teal: #3FD6D6;
  --yellow: #F5C93F;
  --coral: #E8916B;
  --slop-gray: #C9C1B8;
  --border: #EAEAEA;

  --display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --body: Calibri, Candara, "Segoe UI", Optima, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(26,26,26,0.05);
  --shadow-md: 0 12px 28px rgba(26,26,26,0.08);

  --board-1: #FBF6EA;
  --board-2: #F2E9D4;

  --glass-bg: rgba(255,255,255,.48);
  --glass-bg-strong: rgba(255,255,255,.62);
  --glass-border: rgba(255,255,255,.65);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 36px rgba(58,44,26,.2);
  --glass-shadow-hover: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 44px rgba(58,44,26,.26);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 700px 500px at 6% 4%, rgba(245,175,206,.55), transparent 65%),
    radial-gradient(ellipse 640px 480px at 94% 14%, rgba(63,214,214,.45), transparent 65%),
    radial-gradient(ellipse 680px 520px at 12% 58%, rgba(245,201,63,.4), transparent 65%),
    radial-gradient(ellipse 640px 560px at 90% 74%, rgba(232,145,107,.4), transparent 65%),
    radial-gradient(ellipse 700px 500px at 45% 96%, rgba(245,175,206,.25), transparent 70%),
    linear-gradient(180deg, var(--board-1), var(--board-2) 60%, var(--board-1));
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3{ font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
p{ margin: 0 0 1em; }
ul, ol{ margin: 0; padding: 0; }

.sr-only{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link{
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .75em 1.25em; border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
}
.skip-link:focus{ left: 0; }

.wrap{ max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Highlighter mark ---------- */
.mark{
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 0 .12em;
}
.mark::before{
  content: "";
  position: absolute;
  left: -6%; right: -6%; top: 6%; bottom: 0%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M5,22 C40,9 90,17 140,11 C200,4 260,15 320,9 C356,5 386,13 397,19 L399,41 C363,49 300,43 240,49 C170,56 100,45 40,51 C19,48 3,43 2,37 Z' fill='%23F5AFCE'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotate(-1.4deg);
  z-index: -1;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 700; text-decoration: none;
  border-radius: 999px; padding: .85em 1.7em; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary{ background: var(--yellow); color: var(--ink); border-color: rgba(255,255,255,.5); box-shadow: 0 8px 22px rgba(245,201,63,.4); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245,201,63,.5); }
.btn-primary:active{ transform: scale(.96); box-shadow: 0 4px 12px rgba(245,201,63,.35); }
.btn-ghost{
  background: rgba(255,255,255,.35); border-color: var(--ink); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.btn-dark{ background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 8px 22px rgba(26,26,26,.25); }
.btn-dark:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26,26,26,.32); }
.btn-dark:active{ transform: scale(.96); box-shadow: 0 4px 12px rgba(26,26,26,.22); }
.btn-small{ padding: .55em 1.2em; font-size: .9rem; }
.btn-large{ padding: 1em 2.2em; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.32);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.logo{ display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.primary-nav{ display: flex; align-items: center; gap: 28px; font-weight: 500; }
.primary-nav a:not(.btn){ text-decoration: none; color: var(--ink-soft); }
.primary-nav a:not(.btn):hover{ color: var(--ink); }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero{ padding-block: 72px 96px; }
.hero-inner{ display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; }
.hero h1{ font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: .005em; }
.hero-sub{ font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1.5em; }
.hero-logos{ margin-top: 3.2em; text-align: center; }
.hero-logos .logos-label{ margin: 0 0 1em; }
.hero-logos .logo-row{ justify-content: center; }

/* ---------- Kicker signature ---------- */
.kicker-signature{ display: flex; align-items: flex-end; gap: 12px; margin-bottom: 1.6em; }
.kicker-label{
  display: inline-block;
  font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgba(245,201,63,.35); border: 1px solid rgba(255,255,255,.65); border-radius: 999px;
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  padding: 7px 16px; box-shadow: var(--glass-shadow);
  transform: rotate(-2deg);
}
.kicker-squiggle{ display: block; margin-top: 6px; }
.kicker-squiggle svg{ display: block; width: 180px; height: auto; }

/* ---------- Photo badge ---------- */
.hero-art{ position: relative; display: flex; justify-content: center; }
.photo-badge{ position: relative; width: min(280px, 70vw); }
.photo-badge::before{
  content: "";
  position: absolute;
  top: -6%; right: -12%;
  width: 78%; height: 78%;
  background: var(--teal);
  border-radius: 50%;
  z-index: 0;
}
.photo-badge-img{
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 1/1; border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--pink);
  background: var(--paper-alt);
}
/* ---------- Sections ---------- */
.section{ padding-block: 88px; }
.section-alt{ background: rgba(250,250,248,.55); }
.section-title{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-lede{ font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Problem cards: sticky stack ---------- */
.card-stack{ display: flex; flex-direction: column; margin-top: 2.5em; padding-bottom: 60px; }
.card{
  display: flex; align-items: flex-start; gap: 28px;
  background: var(--glass-bg); border: 2px solid rgba(255,255,255,.8); border-radius: 22px;
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 40px; max-width: 780px;
  box-shadow: var(--glass-shadow);
  position: sticky;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card::before{
  content: ""; position: absolute; top: -8px; left: 46px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a8a, #b33 70%);
  box-shadow: 0 3px 4px rgba(0,0,0,.4);
  z-index: 5;
}
.card-stack .card:nth-child(1){ top: 96px; z-index: 1; transform: rotate(-1.1deg); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 16px 36px rgba(245,175,206,.35); }
.card-stack .card:nth-child(2){ top: 130px; z-index: 2; transform: rotate(.9deg); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 16px 36px rgba(63,214,214,.3); }
.card-stack .card:nth-child(3){ top: 164px; z-index: 3; transform: rotate(-.8deg); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 16px 36px rgba(245,201,63,.35); }
.card-stack .card:hover{ transform: rotate(0deg) translateY(-2px); }
.card-stack .card + .card{ margin-top: 40px; }
.card-body{ display: flex; flex-direction: column; }
.card h3{ font-size: 1.3rem; }
.card p{ color: var(--ink-soft); margin-bottom: 0; }

@media (prefers-reduced-motion: reduce){
  .card{ position: static; }
  .card-stack .card:nth-child(1), .card-stack .card:nth-child(2), .card-stack .card:nth-child(3){ transform: none; }
}

/* ---------- Steps: Polaroid-framed Pantone-chip cards ---------- */
.step-list{ list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 2.5em; }
.step{
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border); border-radius: 16px;
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--glass-shadow); padding: 14px 14px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-swatch{
  display: block; width: 100%; height: 88px; border-radius: 9px; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(26,26,26,.08);
}
.step:nth-child(1) .step-swatch{ background: var(--pink); }
.step:nth-child(2) .step-swatch{ background: var(--teal); }
.step:nth-child(3) .step-swatch{ background: var(--yellow); }
.step:nth-child(4) .step-swatch{ background: var(--coral); }
.step:nth-child(1){ transform: rotate(-1.4deg); }
.step:nth-child(2){ transform: rotate(1.1deg); }
.step:nth-child(3){ transform: rotate(-1deg); }
.step:nth-child(4){ transform: rotate(1.3deg); }
.step:hover{ transform: rotate(0deg) translateY(-3px); box-shadow: var(--glass-shadow-hover); }

@media (prefers-reduced-motion: reduce){
  .step:nth-child(1), .step:nth-child(2), .step:nth-child(3), .step:nth-child(4){ transform: none; }
}
.step-num{
  font-family: var(--mono); font-weight: 700; color: var(--ink-soft); font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; display: block; margin: 0 4px .5em;
}
.step h3{ font-size: 1.1rem; margin: 0 4px .3em; }
.step p{ color: var(--ink-soft); margin: 0 4px; font-size: .96rem; }

/* ---------- About ---------- */
.about-inner{ display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.about-avatar{
  position: relative; width: 140px; height: 140px; flex-shrink: 0;
}
.about-avatar::before{
  content: "";
  position: absolute; top: -6%; right: -12%; width: 78%; height: 78%;
  background: var(--teal); border-radius: 50%;
}
.about-avatar-inner{
  position: relative; z-index: 1;
  width: 100%; height: 100%; border-radius: 50%; background: var(--paper-alt);
  border: 5px solid var(--pink);
  object-fit: cover;
  display: block;
}
.about-copy p{ color: var(--ink-soft); max-width: 60ch; }
.about-copy strong{ color: var(--ink); }
.about-copy a{ color: var(--pink-ink); text-decoration: underline; text-underline-offset: 2px; }
.about-copy a:hover{ color: var(--ink); }
.about-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1.5em; }
.about-actions .btn{ text-decoration: none; }
.about-actions .btn-dark{ color: var(--paper); }
.about-actions .btn-dark:hover{ color: var(--paper); }
.about-actions .btn-ghost{ color: var(--ink); }
.about-actions .btn-ghost:hover{
  background: rgba(255,255,255,.35); color: var(--ink);
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26,26,26,.18);
}
.about-actions .btn-ghost:active{ transform: scale(.96); box-shadow: 0 4px 12px rgba(26,26,26,.12); }

.logos-label{ font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 1.6em 0 1em; max-width: none; }
.logos-label-hint{ font-weight: 400; text-transform: none; letter-spacing: normal; }
.logo-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.logo-row a{ display: inline-flex; text-decoration: none; }
.logo-row img{ height: 26px; width: auto; display: block; }

.logo-item{
  position: relative; display: inline-flex; --overlay-shift: 0px;
  padding: 14px 20px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px;
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-item:hover,
.logo-item:focus-within,
.logo-item.is-active{
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--glass-shadow-hover);
  z-index: 6;
}

@media (prefers-reduced-motion: reduce){
  .logo-item:hover, .logo-item:focus-within, .logo-item.is-active{ transform: none; }
}
.logo-overlay{
  position: absolute; top: 100%; left: 50%;
  transform: translateX(calc(-50% + var(--overlay-shift))) translateY(6px) scale(.96);
  width: 230px; max-width: calc(100vw - 32px);
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  padding: 16px 18px; margin-top: 12px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 28px rgba(58,44,26,.14);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 20; text-align: left;
}
.logo-item:hover .logo-overlay,
.logo-item:focus-within .logo-overlay,
.logo-item.is-active .logo-overlay{
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(calc(-50% + var(--overlay-shift))) translateY(0) scale(1);
}
.logo-overlay-title{ font-weight: 700; font-size: .9rem; margin: 0 0 .6em; color: var(--ink); }
.logo-overlay ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.logo-overlay li{
  font-size: .82rem; color: var(--ink-soft); line-height: 1.4; padding-left: 14px; position: relative;
}
.logo-overlay li::before{
  content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%;
  background: var(--pink-ink);
}
.logo-overlay li strong{ color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list{ display: flex; flex-direction: column; gap: 14px; margin-top: 2.5em; max-width: 780px; }
.faq-item{
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 18px;
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--glass-shadow);
  padding: 6px 24px;
}
.faq-item summary{
  cursor: pointer; list-style: none; font-family: var(--body); font-weight: 700;
  padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+"; font-size: 1.4rem; color: var(--pink-ink); flex-shrink: 0; transition: transform .2s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* ---------- CTA ---------- */
.contact-inner{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy h2{ font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.contact-copy .section-lede{ margin-bottom: 1.2em; }
.contact-alt{ color: var(--ink-soft); }
.contact-alt a{ color: var(--pink-ink); text-decoration: underline; text-underline-offset: 2px; }
.contact-alt a:hover{ color: var(--ink); }

.contact-form{ display: flex; flex-direction: column; gap: 18px; }
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{ font-weight: 700; font-size: .88rem; }
.field input, .field textarea{
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--glass-bg); border: 1.5px solid rgba(26,26,26,.14); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 6px rgba(58,44,26,.05);
  padding: .7em .9em; resize: vertical; transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--pink-ink); background: var(--glass-bg-strong); }
.form-submit{ align-self: flex-start; margin-top: 4px; }
.form-status{ margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-status.success{ color: #2E6B5C; }
.form-status.error{ color: #B0303B; }

/* ---------- Footer ---------- */
.site-footer{ border-top: 1px solid var(--border); padding-block: 32px; }
.footer-inner{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-nav{ display: flex; flex-wrap: wrap; gap: 20px; font-size: .95rem; }
.footer-nav a{ text-decoration: none; color: var(--ink-soft); }
.footer-nav a:hover{ color: var(--ink); }
.footer-note{ color: var(--ink-soft); font-size: .9rem; margin: 0; width: 100%; text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity: 1; transform: none; }
.js .reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in-view{ opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .card{ max-width: none; }
  .card.card-alt{ align-self: stretch; flex-direction: row; text-align: left; }
  .card.card-alt .card-body{ align-items: flex-start; }
  .step-list{ grid-template-columns: 1fr 1fr; }
  .about-inner{ grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .contact-inner{ grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px){
  .primary-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.5); box-shadow: var(--glass-shadow-hover);
    display: none;
  }
  .primary-nav.open{ display: flex; }
  .primary-nav a:not(.btn){ padding: .5em 0; width: 100%; }
  .primary-nav .btn{ margin-top: 8px; }
  .nav-toggle{ display: flex; }

  .hero-inner{ grid-template-columns: 1fr; text-align: center; }
  .hero-sub{ margin-inline: auto; }
  .hero-actions{ justify-content: center; }
  .hero-art{ order: -1; }
  .kicker-signature{ justify-content: center; }

  .step-list{ grid-template-columns: 1fr; }

  .section{ padding-block: 56px; }
  .card-stack{ padding-bottom: 40px; }
}
