:root {
  --paper: #f3efe3;
  --paper-soft: #fbf7ec;
  --ink: #11110f;
  --ink-soft: #34342e;
  --muted: #777064;
  --sage: #899b82;
  --sage-soft: #dce5d2;
  --cream: #efe4c8;
  --line: rgba(17, 17, 15, 0.14);
  --line-soft: rgba(17, 17, 15, 0.08);
  --shadow: 0 24px 80px rgba(43, 38, 29, 0.12);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.008) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 15, 0.007) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(220, 229, 210, 0.68), transparent 34rem),
    var(--paper);
  background-size: 84px 84px, 84px 84px, auto, auto;
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::selection {
  background: rgba(137, 155, 130, 0.28);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.75;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.74;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
  padding: 1.05rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  object-fit: cover;
  box-shadow:
    0 6px 18px rgba(17, 17, 15, 0.14),
    0 0 0 1px rgba(17, 17, 15, 0.08);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-nav a {
  color: var(--muted);
  font-size: 0.82rem;
}

.header-nav a:hover {
  color: var(--ink);
}

.header-cta,
.sticky-cta,
.button-primary,
.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.82rem;
  font-weight: 680;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(17, 17, 15, 0.12);
}

.header-cta {
  min-height: 2.35rem;
  padding: 0 1rem;
}

.button-primary {
  min-height: 2.75rem;
  padding: 0 1.25rem;
}

.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 22;
  min-height: 2.65rem;
  padding: 0 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.8rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(137, 155, 130, 0.5);
  outline-offset: 4px;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(5.3rem, 7vh, 6.4rem) 1rem clamp(3.2rem, 5vh, 4.5rem);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 22%, rgba(137, 155, 130, 0.08), transparent 22rem),
    radial-gradient(circle at 78% 18%, rgba(239, 228, 200, 0.6), transparent 24rem),
    var(--paper);
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-radial-gradient(circle at 12% 18%, rgba(17, 17, 15, 0.035) 0 0.45px, transparent 0.55px 3px),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 7px);
  background-size: 260px 260px, 180px 180px;
  opacity: 0.16;
  mix-blend-mode: multiply;
  content: "";
  pointer-events: none;
}

.poster-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: clamp(380px, 47vh, 540px);
  place-items: center;
  margin-top: 0;
}

.hero-hand-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.phone-wrap {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;

  /* Move the real mockup upward */
  --phone-y-offset: -60px;

  animation: phone-float 6s ease-in-out infinite;
}

.phone-wrap::after {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1.65rem;
  z-index: -1;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(43, 38, 29, 0.25);
  filter: blur(24px);
  content: "";
}

.label,
.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-mockup-image {
  display: block;
  width: clamp(400px, 30vw, 500px);
  max-width: 100%;
  height: auto;
  filter:
    drop-shadow(0 40px 70px rgba(20, 20, 15, 0.28))
    drop-shadow(0 14px 28px rgba(43, 38, 29, 0.16))
    drop-shadow(0 0 42px rgba(137, 155, 130, 0.16));
  user-select: none;
}

.hero-copy {
  width: min(100% - 2rem, 820px);
  margin: clamp(-1.25rem, -1vw, -0.5rem) auto 0;
  text-align: center;
}

.hero-copy h1 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 6.9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 auto;
}

.quiet-pulse {
  position: relative;
  width: 3rem;
  height: 3rem;
  margin: 1.75rem auto 0;
  border-radius: 50%;
}

.quiet-pulse::before,
.quiet-pulse::after {
  position: absolute;
  inset: 50%;
  width: 1px;
  height: 2.7rem;
  background: var(--ink);
  content: "";
  transform-origin: 50% 0;
  animation: pulse-soft 2.8s ease-in-out infinite;
}

.quiet-pulse::after {
  transform: rotate(90deg);
}

.quiet-pulse {
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 2.7rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 1px 2.7rem no-repeat;
}

.section-pad {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 10rem) 0;
}

.section-smoke-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.essay-copy,
.story-block,
.preview-heading,
.preview-grid,
.final-inner {
  position: relative;
  z-index: 1;
}

.intro-label {
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.essay-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.essay-copy h2,
.preview-heading h2,
.final-inner h2 {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7vw, 7.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

/* Smaller heading for the “Quitting feels different...” section */
.essay-copy h2 {
  font-size: clamp(3.2rem, 5.4vw, 6.4rem);
  line-height: 0.95;
}

.essay-copy p {
  max-width: 680px;
  margin-inline: auto;
}

.story-space {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.story-space-low {
  min-height: 62vh;
  justify-content: flex-end;
}

.story-block {
  max-width: 620px;
}

.story-block p:not(.label) {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.4vw, 5.25rem);
  line-height: 1.02;
}

.story-left {
  margin-left: clamp(0rem, 7vw, 8rem);
}

.story-right {
  margin-right: clamp(0rem, 6vw, 7rem);
}

.preview {
  padding-top: clamp(6rem, 10vw, 11rem);
}

.preview-heading {
  max-width: 760px;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.preview-heading h2 {
  font-size: clamp(2.8rem, 5.5vw, 6.25rem);
}

.preview-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.preview-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(180px, 1fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  min-height: 420px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(137, 155, 130, 0.13), transparent 16rem),
    linear-gradient(145deg, rgba(251, 247, 236, 0.9), rgba(239, 228, 200, 0.34));
  box-shadow:
    0 24px 70px rgba(43, 38, 29, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: clamp(1.15rem, 2.4vw, 1.65rem);
  overflow: hidden;
}

.preview-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 36%),
    radial-gradient(circle at 12% 92%, rgba(17, 17, 15, 0.035), transparent 12rem);
  content: "";
  pointer-events: none;
}

.preview-card-copy,
.preview-card-shot {
  position: relative;
  z-index: 1;
}

.preview-card-copy {
  align-self: start;
}

.preview-card h3 {
  max-width: 10ch;
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 0.96;
}

.preview-card p {
  max-width: 20rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.preview-card-shot {
  justify-self: end;
  align-self: end;
  width: min(100%, 230px);
  max-height: 350px;
  object-fit: contain;
  border-radius: 1.55rem;

  filter: drop-shadow(0 0 24px rgba(137, 155, 130, 0.1));
}

.panel-calm,
.panel-library {
  background:
    radial-gradient(circle at 82% 18%, rgba(132, 118, 86, 0.12), transparent 16rem),
    linear-gradient(145deg, rgba(251, 247, 236, 0.9), rgba(220, 229, 210, 0.28));
}

.final-cta {
  padding-top: clamp(6rem, 10vw, 12rem);
  padding-bottom: clamp(6rem, 10vw, 12rem);
}

.final-inner {
  max-width: 780px;
}

.final-inner p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a,
.site-footer p {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.reveal {
  --reveal-y: 28px;
  --reveal-scale: 0.99;
  opacity: 0;
  transform: translate3d(var(--parallax-x, 0), calc(var(--parallax-y, 0) + var(--reveal-y)), 0) scale(var(--reveal-scale));
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  --reveal-y: 0px;
  --reveal-scale: 1;
  opacity: 1;
}

.legal-page {
  background: var(--paper);
}

.legal-header {
  position: relative;
}

.legal-shell {
  width: min(100% - 2rem, 900px);
  margin: 0 auto;
  padding: 3rem 0 6rem;
}

.legal-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(251, 247, 236, 0.72);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 3rem);
}

.legal-card h1 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.92;
}

.legal-card h2 {
  margin: 2rem 0 0.55rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.legal-card p {
  max-width: 68ch;
}

.legal-card a:not(.contact-email) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.updated,
.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-card p {
  margin-inline: auto;
}

.contact-email {
  min-height: 2.85rem;
  margin: 1rem 0 1.5rem;
  padding: 0 1.2rem;
}
@keyframes phone-float {
  0%,
  100% {
    transform: translateY(var(--phone-y-offset, 0px));
  }

  50% {
    transform: translateY(calc(var(--phone-y-offset, 0px) - 12px));
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.38;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.9);
  }
  50% {
    opacity: 0.78;
    transform: translate(-50%, -50%) rotate(45deg) scale(1.05);
  }
}

@media (max-width: 980px) {
  .poster-stage {
    min-height: 500px;
  }

  .hero-mockup-image {
    width: min(60vw, 400px);
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-card {
    grid-template-columns: 1fr;
    min-height: 520px;
  }

  .preview-card-shot {
    justify-self: center;
    width: min(76%, 260px);
  }

  .story-left,
  .story-right {
    margin-inline: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(100% - 1rem, 1320px);
  }

  .brand {
    gap: 0.45rem;
  }

.brand-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.48rem;
}

  .header-cta {
    min-height: 2.2rem;
    padding: 0 0.8rem;
    font-size: 0.74rem;
  }

  .hero {
    min-height: auto;
    padding: 5.6rem 0.75rem 4.5rem;
  }

.poster-stage {
  min-height: 340px;
}

  .hero-hand-canvas {
    opacity: 0.72;
  }

  .hero-mockup-image {
    width: min(84vw, 330px);
  }

  .hero-copy {
  margin-top: -0.75rem;
}

  .hero-copy h1 {
    font-size: clamp(3.15rem, 15vw, 5.1rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .phone-wrap {
  --phone-y-offset: -90px;
}

  .section-pad {
    width: min(100% - 1.25rem, var(--max));
    padding: 5rem 0;
  }

  .essay-copy {
    text-align: left;
  }

  .essay-copy h2,
  .preview-heading h2,
  .final-inner h2 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .story-space,
  .story-space-low {
    min-height: 58vh;
  }

  .story-block p:not(.label) {
    font-size: clamp(2.15rem, 11vw, 4rem);
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-card {
    min-height: auto;
    gap: 1.4rem;
  }

  .preview-card h3 {
    max-width: none;
  }

  .preview-card-shot {
    width: min(78vw, 250px);
  }

  .sticky-cta {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .site-footer {
    display: block;
  }

  .site-footer p {
    margin-top: 1rem;
  }
}

.story-mockup {
  position: relative;
  inset: auto;
  margin: 2.5rem auto 0;
  transform: rotate(2deg);
  display: grid;
  place-items: center;
}

.story-mockup img {
  width: min(86vw, 360px);
}

.final-layout {
  grid-template-columns: 1fr;
}

.final-mockup {
  justify-items: center;
  margin-top: 2.5rem;
}

.final-mockup img {
  width: min(82vw, 360px);
  transform: rotate(2deg);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.story-mockup {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.story-mockup-right {
  top: 50%;
  right: clamp(0rem, 4vw, 4rem);

  /* Increase this value to move the mockup more right */
  --mockup-shift-x: 90px;

  transform: translate(var(--mockup-shift-x), -50%) rotate(4deg);
}

.story-mockup-left {
  top: 50%;
  left: clamp(-2rem, 3vw, 3rem);

  /* Tune this if needed */
  --mockup-shift-x: -60px;

  transform: translate(var(--mockup-shift-x), -50%) rotate(-6deg);
}

.story-mockup img {
  display: block;
  width: clamp(300px, 30vw, 550px);
  max-width: 100%;
  height: auto;
  filter:
    drop-shadow(0 42px 80px rgba(20, 20, 15, 0.24))
    drop-shadow(0 0 46px rgba(137, 155, 130, 0.14));
  user-select: none;
}

.final-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.final-mockup {
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.final-mockup img {
  display: block;
  width: clamp(280px, 28vw, 520px);
  max-width: 100%;
  height: auto;
  transform: rotate(4deg);
  filter:
    drop-shadow(0 42px 80px rgba(20, 20, 15, 0.22))
    drop-shadow(0 0 46px rgba(137, 155, 130, 0.14));
  user-select: none;
}