:root {
  --bg: #fbf7f1;
  --card: #ffffff;
  --ink: #1f1a17;
  --muted: #6b625b;
  --line: #e8e0d6;
  --accent: #c2410c;
  --accent-soft: #fde8dc;
  --good: #3f7d58;
  --bad: #b42318;
  --dark: #23201d;
  --radius: 16px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}

main { max-width: 720px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(34px, 8vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: clamp(27px, 6vw, 36px); margin-bottom: 8px; }
h3 { font-size: 22px; margin: 4px 0 14px; }

section { padding: 48px 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.top {
  max-width: 720px; margin: 0 auto; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.top-cta { font-size: 15px; font-weight: 600; text-decoration: none; }

/* Hero */
.hero { padding-top: 28px; }
.hero-steps { display: none; }
.eyebrow {
  margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.lede { font-size: 19px; margin: 18px 0 0; }
.lede.small { font-size: 16px; color: var(--muted); margin-top: 12px; }

.button {
  display: inline-block; margin-top: 28px; padding: 15px 28px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 17px;
  border-radius: 999px; text-decoration: none; min-height: 48px;
}
.button:hover { filter: brightness(1.08); }
.button.light { background: #fff; color: var(--dark); }

/* Video slot */
.video { padding-top: 8px; }
.video-frame {
  aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--dark);
  color: #f3ede6; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 20px;
}
.play {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent);
  position: relative; margin-bottom: 14px;
}
.play::after {
  content: ""; position: absolute; left: 26px; top: 20px;
  border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent #fff;
}
.video-label { margin: 0; font-weight: 600; }
.video-note { margin: 2px 0 0; font-size: 14px; color: #b8ada2; }

/* Case studies */
.section-lede { margin: 0 0 24px; color: var(--muted); }
.case {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 22px;
}
.case-business {
  margin: 0; color: var(--accent); font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.case dl { margin: 0; }
.case dt { font-weight: 700; font-size: 15px; margin-top: 12px; }
.case dd { margin: 2px 0 0; }
.case-number {
  margin: 18px 0 0; padding: 14px 16px; background: var(--accent-soft);
  border-radius: 12px; font-size: 16px;
}
.case-number strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--accent); }

.case-mini {
  border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: -6px 0 22px;
}
.case-mini h3 { font-size: 19px; margin-bottom: 6px; }
.case-mini p:last-child { margin: 0; }

/* Animations */
.art-video {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
  border-radius: 12px; margin-bottom: 18px; background: #eef0f3;
}

/* Day one */
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 18px;
}
.owner {
  margin: 10px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.45;
}
.plan-steps { margin: 0; }
.plan-steps dt { font-weight: 700; font-size: 15px; margin-top: 14px; }
.plan-steps dd { margin: 2px 0 0; }
.edge {
  margin: 18px 0 0; padding: 12px 16px; background: var(--accent-soft);
  border-radius: 12px; font-size: 16px;
}

/* Workshop */
.workshop {
  background: var(--accent-soft); border-radius: var(--radius); padding: 30px 22px; margin: 8px 0;
}
.workshop p { margin: 12px 0 0; }
.workshop-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.workshop-facts span { background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.workshop-facts strong { font-family: var(--serif); font-size: 22px; color: var(--accent); margin-right: 4px; }

/* Testimonials */
.quote {
  margin: 16px 0 0; background: var(--card); border: 1px dashed #d6c9bb; border-radius: var(--radius);
  padding: 20px 22px;
}
.draft-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #8a5a00; background: #fff4d6; border-radius: 99px; padding: 3px 10px;
}
.quote blockquote { margin: 12px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.quote figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
.quote figcaption::before { content: "— "; }

/* Contact */
.contact {
  background: var(--dark); color: #f3ede6; border-radius: var(--radius); padding: 36px 22px;
  margin: 32px 0 0; text-align: center;
}
.contact p { margin: 10px 0 0; color: #cfc5ba; }

.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 28px 20px 40px; }
.foot p { margin: 0; }
.foot .fine { font-size: 13px; margin-top: 4px; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .case { padding: 30px; }
  .workshop, .contact { padding-left: 36px; padding-right: 36px; }
}

/* Desktop: a real layout, not a phone column. Phone styles above stay as they are. */
@media (min-width: 960px) {
  main, .top { max-width: 1180px; padding-left: 40px; padding-right: 40px; }
  section { padding: 72px 0; }
  h1 { font-size: clamp(48px, 4.6vw, 64px); }
  h2 { font-size: 40px; }
  h3 { font-size: 27px; }

  .hero {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 64px;
    align-items: center; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px);
    padding: 24px 0 40px;
  }
  .cases { padding-top: 32px; }
  .lede { font-size: 21px; max-width: 40em; }
  .hero-steps {
    display: block; list-style: none; counter-reset: step; margin: 0; padding: 30px 32px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(31, 26, 23, 0.06);
  }
  .hero-steps li {
    counter-increment: step; position: relative; padding: 16px 0 16px 58px;
    border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.5;
  }
  .hero-steps li:last-child { border-bottom: 0; }
  .hero-steps li::before {
    content: counter(step); position: absolute; left: 0; top: 16px; width: 40px; height: 40px;
    border-radius: 50%; background: var(--accent-soft); color: var(--accent);
    font: 600 19px/40px var(--serif); text-align: center;
  }
  .hero-steps strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 20px; }

  .section-lede { font-size: 19px; max-width: 46em; margin-bottom: 36px; }

  .case {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
    align-items: center; padding: 36px; margin-bottom: 32px;
  }
  .case .art-video { margin: 0; }
  .case.flip .art-video { order: 2; }
  .case-number { padding: 18px 22px; margin-top: 24px; }
  .case-number strong { font-size: 36px; line-height: 1.15; }

  .case-mini {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 48px;
    align-items: start; padding: 26px 36px; margin: -8px 0 32px;
  }
  .case-mini .case-business { grid-column: 1; }
  .case-mini h3 { grid-column: 1; margin: 6px 0 0; }
  .case-mini p:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

  .plan { padding: 32px 36px; margin-bottom: 24px; }
  .plan-lead {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 56px;
  }
  .plan-lead .case-business, .plan-lead .owner { grid-column: 1; }
  .plan-lead .owner { font-size: 25px; align-self: start; }
  .plan-lead .plan-steps { grid-column: 2; grid-row: 1 / span 3; }
  .plan-lead .plan-steps div:first-child dt { margin-top: 0; }
  .plan-lead .edge { grid-column: 1; align-self: end; }
  .plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .plan-grid .plan { margin: 0; }

  .workshop {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 56px;
    align-items: center; padding: 48px 56px; margin: 24px 0;
  }
  .workshop .eyebrow, .workshop h2, .workshop p:last-child { grid-column: 1; }
  .workshop-facts { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; margin: 0; }
  .workshop-facts span { padding: 18px 22px; font-size: 18px; }
  .workshop-facts strong { font-size: 34px; }

  .contact { padding: 64px 56px; margin-top: 48px; }
  .contact h2 { font-size: 44px; }
}

/* Wide screens: the number sits beside its sentence. */
@media (min-width: 1200px) {
  .case-number { display: flex; align-items: center; gap: 20px; }
  .case-number strong { flex-shrink: 0; font-size: 38px; }
}

[hidden] { display: none !important; }
