/* Timebender: ocean and sand ("Deep sea") palette */
:root {
  --primary: #0B3C5D;
  --primary-soft: #E2EDF5;
  --primary-deep: #0B3C5D;
  --primary-light: #7FB8DE;
  --warm: #1FA2A6;
  --warm-soft: #DCF2F2;
  --warm-deep: #136E71;
  --warm-line: #B9E2E3;
  --sun: #E8D3AE;
  --sun-soft: #F8F1E4;
  --sun-mid: #C8A770;
  --sun-deep: #6E5528;
  --ink: #17151F;
  --cream: #FBF7F0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; }
a { color: var(--primary-deep); }
a:hover { color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* Tools marquee */
@keyframes pv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pv-track { animation: pv-marquee 32s linear infinite; }

/* Hero word underline: rough-edged sand stripe behind the word */
.pv-hl { position: relative; display: inline-block; isolation: isolate; }
.pv-hl::after {
  content: ""; position: absolute; left: -0.05em; right: -0.05em; bottom: -0.06em; height: 0.16em;
  background: var(--sun); opacity: 0.9; z-index: -1; pointer-events: none;
  clip-path: polygon(1% 18%,4% 6%,9% 14%,15% 3%,22% 10%,30% 2%,38% 9%,46% 1%,55% 8%,63% 2%,71% 10%,79% 3%,87% 9%,94% 2%,99% 12%,97% 32%,100% 50%,97% 70%,99% 90%,94% 97%,87% 91%,79% 99%,71% 92%,63% 98%,55% 91%,46% 99%,38% 92%,30% 98%,22% 90%,15% 97%,9% 88%,4% 96%,1% 84%,3% 66%,0% 50%,2% 32%);
}

/* How it works: step buttons */
.step-btn {
  text-align: left; border: 0; cursor: pointer; font: inherit; border-radius: 20px; min-height: 44px;
  background: transparent; color: #3B3646; padding: 14px 22px;
  transition: background .15s ease, color .15s ease;
}
.step-btn:hover { background: #FFFFFF80; }
.step-head { display: flex; align-items: baseline; gap: 14px; }
.step-n { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; color: #8A83A0; }
.step-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 22px; }
.step-desc { display: none; margin-top: 6px; color: #3B3646; font-size: 16px; }
.step-btn[aria-pressed="true"] {
  background: #FFFFFF; color: var(--ink); padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.14);
}
.step-btn[aria-pressed="true"] .step-n { color: var(--primary); }
.step-btn[aria-pressed="true"] .step-desc { display: block; }

.step-panel { background: #FFFFFF; border-radius: 24px; box-shadow: 0 24px 60px rgba(23, 21, 31, 0.12); overflow: hidden; }
.step-panel[hidden] { display: none; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--primary-soft); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.panel-window { margin-left: 8px; font-size: 14px; color: #5E5868; }
.panel-title { margin: 0 0 18px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.panel-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
  border: 1px solid var(--primary-soft); border-radius: 14px; padding: 14px 16px; font-size: 16px;
}
.panel-status { background: var(--primary-soft); color: var(--primary-deep); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 600; }
.panel-price { margin: 20px 0 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 20px; color: var(--primary); }

/* Recent work: case tabs */
.case-tab {
  cursor: pointer; font: inherit; font-weight: 600; font-size: 16px; min-height: 44px;
  border: 1px solid #DCD4C6; background: #FFFFFF; color: var(--ink); border-radius: 999px; padding: 12px 20px;
  transition: background .15s ease, color .15s ease;
}
.case-tab:hover { background: var(--primary-soft); }
.case-tab[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.case {
  background: #FFFFFF; border: 1px solid #ECE6DA; border-radius: 28px; padding: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 40px;
}
.case[hidden] { display: none; }
.case-label { margin: 0; align-self: flex-start; background: var(--primary-soft); color: var(--primary-deep); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 600; }
.case-title { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }

/* Lead magnet form */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#lm-status.ok { color: var(--warm-deep); font-weight: 600; }
#lm-status.err { color: #7A2412; font-weight: 600; }

summary { list-style-position: inside; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pv-track { animation: none; }
  .step-btn, .case-tab { transition: none; }
}

/* Bright booking buttons (nav and hero) */
.cta-bright { background: var(--warm); color: #FFFFFF; font-weight: 700 !important; transition: background .15s ease, transform .15s ease; }
.cta-bright:hover { background: #23B5B9; color: #FFFFFF; }
#top .cta-bright { font-size: 19px; }
.cta-bright:active { transform: translateY(1px); }

/* Hero asterisks (replace the old circles) */
.hero-ast { position: absolute; pointer-events: none; }
.hero-ast-a { right: -90px; top: -90px; width: 340px; height: 340px; color: var(--warm); opacity: 0.9; transform: rotate(8deg); }
.hero-ast-b { right: 140px; bottom: -120px; width: 240px; height: 240px; color: var(--sun); transform: rotate(-14deg); }
@media (max-width: 640px) {
  .hero-ast-a { right: -70px; top: -70px; width: 170px; height: 170px; opacity: 0.6; }
  .hero-ast-b { right: -40px; bottom: -70px; width: 150px; height: 150px; }
}
