/*
  Mia Mujovic Portfolio Styles
  ----------------------------
  Cleaned for maintainability and beginner handoff.
  Structure:
  1) Theme + base
  2) Shared layout + components
  3) Home page
  4) Shared case-study step cards
  5) Project-specific visuals (Daily, Book, Menu, Budget)
  6) Responsive
*/

/* =========================
   1) Theme + Base
   ========================= */
:root {
  --paper: #f2f2de;
  --surface: #f7f3e8;
  --line: #d0ccb8;
  --ink: #3f3a34;
  --ink-soft: #4c463f;

  --accent-blue: #2f63c7;
  --accent-blue-deep: #224fa8;

  --card-blue: #70a2e0;
  --card-maroon: #6c2c25;
  --card-tomato: #eb5e3a;
  --card-olive: #87842f;
  --card-yellow: #d4c265;

  --shadow-soft: 0 14px 28px rgba(24, 34, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Libre Baskerville", serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  padding: 1.4rem 1.1rem 3.2rem;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.bg-orb {
  display: none;
}

h1,
h2,
.project-hero h1,
.project-meta h2,
.step-copy h2,
.book-copy h2,
.menu-copy h2,
.export-copy h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.06;
  font-weight: 600;
}

/* =========================
   2) Shared Layout + Components
   ========================= */
.site-shell,
.site-header,
.hero,
.projects,
.project-page {
  width: min(1140px, 100%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0 0.75rem;
  background: var(--paper);
}

.site-header.site-header-home {
  justify-content: flex-end;
}

.social-link {
  color: var(--accent-blue-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header .social-link {
  margin-left: auto;
}

.site-header.site-header-home .social-link {
  margin-left: 0;
}

.social-link:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.social-link svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.social-link .insta-dot {
  fill: currentColor;
  stroke: none;
}

.back-link {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.34rem;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.back-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(28, 40, 67, 0.12);
  background: #fffdf4;
}

.project-page {
  padding-top: 0.6rem;
}

.project-hero {
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.95rem;
}

.project-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4.3rem);
  color: var(--accent-blue);
  font-style: italic;
}

.project-text {
  width: min(1060px, 100%);
  margin: 1.7rem auto 0;
}

.project-text p {
  color: var(--ink-soft);
}

.project-text a {
  color: #5b2c96;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   3) Home Page
   ========================= */
.hero {
  padding: 2.5rem 0 2.3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.15rem;
}

.hero-layout {
  display: block;
}

.hero-content {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.85rem);
  line-height: 1.1;
  color: var(--accent-blue);
  font-style: italic;
  font-weight: 700;
}

.hero-kicker {
  margin: 0.68rem 0 0;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  font-size: clamp(0.98rem, 1.4vw, 1.16rem);
  font-style: normal;
  font-weight: 600;
}

.hero-kicker a {
  color: inherit;
  text-decoration-thickness: 1.2px;
  text-underline-offset: 3px;
}

.hero-kicker-secondary {
  margin-top: 0.36rem;
  font-weight: 500;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.projects article {
  min-width: 0;
}

.project-card {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.project-meta {
  width: 100%;
  text-align: center;
  padding: 1.45rem 1.25rem;
}

.project-meta h2 {
  margin: 0 0 0.42rem;
  font-size: clamp(1.56rem, 2.35vw, 2.12rem);
}

.project-meta p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Home palette: original family, tuned slightly more vibrant
   Original:
   - Daily Checklist: #70a2e0 / border #5f90cc
   - Book your lesson: #6c2c25 / border #5b221d
   - Budget Flow: #eb5e3a / border #d25131
   - Digital Menu: #87842f / border #706d26
*/
.home-page .project-card[href="project-daily-checklist.html"] {
  background: #7aaeea;
  border-color: #6699d6;
}

.home-page .project-card[href="project-book-your-lesson.html"] {
  background: #7a342d;
  border-color: #652720;
}

.home-page .project-card[href="project-budget-flow.html"] {
  background: #f06b46;
  border-color: #d55a39;
}

.home-page .project-card[href="project-digital-menu.html"] {
  background: #989438;
  border-color: #7e7a2f;
}

.home-page .project-card .project-meta h2,
.home-page .project-card .project-meta p {
  color: #f7f1e6;
}

/* Netlify-safe fallback: ensure home cards keep their colors even if href selector matching fails */
.home-page .projects article:nth-child(1) .project-card {
  background: #7aaeea;
  border-color: #6699d6;
}

.home-page .projects article:nth-child(2) .project-card {
  background: #7a342d;
  border-color: #652720;
}

.home-page .projects article:nth-child(3) .project-card {
  background: #f06b46;
  border-color: #d55a39;
}

.home-page .projects article:nth-child(4) .project-card {
  background: #989438;
  border-color: #7e7a2f;
}

/* =========================
   4) Shared Step Cards
   ========================= */
.journey-steps,
.book-steps,
.menu-steps,
.export-steps {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.journey-step,
.book-step,
.menu-step,
.export-step {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
}

.step-node,
.book-node,
.menu-node,
.export-node {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  justify-self: center;
  border: 2px solid color-mix(in srgb, var(--ink-soft), transparent 58%);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, #f6f0de, transparent 30%);
}

.step-copy,
.book-copy,
.menu-copy,
.export-copy {
  background: color-mix(in srgb, #f6f0de, transparent 12%);
  border: 1px solid color-mix(in srgb, var(--ink-soft), transparent 78%);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  text-align: left;
}

.step-number,
.book-number,
.menu-number,
.export-number {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent-blue-deep);
}

.step-copy h2,
.book-copy h2,
.menu-copy h2,
.export-copy h2 {
  margin: 0.18rem 0 0.34rem;
  color: var(--accent-blue-deep);
  font-size: clamp(2rem, 2.5vw, 3rem);
}

.step-copy p,
.book-copy p,
.menu-copy p,
.export-copy p {
  margin: 0;
  color: var(--ink);
}

/* Color rhythm for all step sections */
.daily-checklist-page .journey-step:nth-child(1) .step-node,
.book-lesson-page .book-step:nth-child(1) .book-node,
.digital-menu-page .menu-step:nth-child(1) .menu-node,
.budget-flow-page .export-step:nth-child(1) .export-node {
  background: var(--card-blue);
}

.daily-checklist-page .journey-step:nth-child(2) .step-node,
.book-lesson-page .book-step:nth-child(2) .book-node,
.digital-menu-page .menu-step:nth-child(2) .menu-node,
.budget-flow-page .export-step:nth-child(2) .export-node {
  background: var(--card-maroon);
}

.daily-checklist-page .journey-step:nth-child(3) .step-node,
.book-lesson-page .book-step:nth-child(3) .book-node,
.digital-menu-page .menu-step:nth-child(3) .menu-node,
.budget-flow-page .export-step:nth-child(3) .export-node {
  background: var(--card-yellow);
}

.daily-checklist-page .journey-step:nth-child(4) .step-node,
.book-lesson-page .book-step:nth-child(4) .book-node,
.digital-menu-page .menu-step:nth-child(4) .menu-node,
.budget-flow-page .export-step:nth-child(4) .export-node {
  background: var(--card-tomato);
}

.daily-checklist-page .journey-step:nth-child(5) .step-node,
.book-lesson-page .book-step:nth-child(5) .book-node,
.digital-menu-page .menu-step:nth-child(5) .menu-node,
.budget-flow-page .export-step:nth-child(5) .export-node {
  background: var(--card-olive);
}

.book-lesson-page .book-step:nth-child(6) .book-node,
.digital-menu-page .menu-step:nth-child(6) .menu-node,
.budget-flow-page .export-step:nth-child(6) .export-node {
  background: var(--card-blue);
}

/* =========================
   5) Project-Specific Visuals
   ========================= */

/* 5a) Shared phone frame style */
.phone-frame,
.book-phone-shell,
.menu-phone-shell {
  position: relative;
  aspect-ratio: 9 / 19;
  background: #0f1116;
  border-radius: 34px;
  padding: 14px 10px;
  border: 2px solid #12141b;
  box-shadow: 0 18px 34px rgba(22, 36, 63, 0.28);
}

.phone-frame::before,
.book-phone-shell::before,
.menu-phone-shell::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 8px;
  border-radius: 99px;
  background: #222834;
}

.phone-frame img,
.book-phone-shell img,
.menu-phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid #2a3242;
  display: block;
}

/* 5b) Daily Checklist visual (large bg + centered phone) */
.daily-checklist-page .checklist-journey .case-visuals {
  width: min(1060px, 100%);
  margin: 2rem auto 0;
}

.daily-checklist-page .case-visual-stage {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.daily-checklist-page .case-visual-bg {
  width: 100%;
  height: auto;
  display: block;
}

.daily-checklist-page .case-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
}

.daily-checklist-page .case-visual-overlay .phone-frame {
  pointer-events: auto;
  width: auto;
  height: min(86%, 520px);
  max-height: 86%;
  max-width: calc(100% - 1.5rem);
}

/* 5c) Book your lesson visual (large bg + phone right) */
.book-lesson-page .book-visuals {
  width: min(1060px, 100%);
  margin: 1.9rem auto 0;
}

.book-lesson-page .book-visual-stage {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.book-lesson-page .book-visual-bg {
  width: 100%;
  height: auto;
  display: block;
}

.book-lesson-page .book-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(0.4rem, 2.8vw, 2.2rem);
  pointer-events: none;
  z-index: 6;
}

.book-lesson-page .book-visual-overlay .book-phone-shell {
  pointer-events: auto;
  width: auto;
  height: min(86%, 520px);
  max-height: 86%;
  max-width: calc(100% - 1.5rem);
}

.book-lesson-page .book-screen-calendar {
  object-fit: cover;
  object-position: center bottom;
}

/* 5d) Digital Menu devices */
.digital-menu-page .project-hero,
.digital-menu-page .project-hero h1 {
  text-align: center;
}

.digital-menu-page .menu-devices {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 1.2rem;
  align-items: end;
}

.digital-menu-page .menu-laptop-mockup,
.digital-menu-page .menu-phone-mockup {
  margin: 0;
}

.digital-menu-page .menu-laptop-shell {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.digital-menu-page .menu-laptop-screen {
  border-radius: 16px;
  border: 2px solid #111725;
  background: #090c12;
  padding: 10px;
  box-shadow: 0 22px 38px rgba(20, 30, 54, 0.25);
}

.digital-menu-page .menu-laptop-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  border: 1px solid #2b3447;
}

.digital-menu-page .menu-laptop-base {
  width: 38%;
  height: 10px;
  border-radius: 0 0 99px 99px;
  margin: 4px auto 0;
  background: linear-gradient(180deg, #b2b8c6 0%, #898f9b 100%);
}

.digital-menu-page .menu-phone-shell {
  width: min(260px, 100%);
  margin: 0 auto;
}

.digital-menu-page .menu-phone-shell img {
  object-position: center top;
}

/* 5e) Budget Flow device */
.budget-flow-page .project-hero,
.budget-flow-page .project-hero h1 {
  text-align: center;
}

.budget-flow-page .export-copy,
.budget-flow-page .export-copy h2,
.budget-flow-page .export-copy p,
.budget-flow-page .export-number {
  text-align: left;
}

.budget-flow-page .export-devices {
  margin-top: 1.8rem;
  display: grid;
  justify-items: center;
}

.budget-flow-page .export-tablet-mockup {
  margin: 0;
  width: 100%;
  display: grid;
  justify-items: center;
}

.budget-flow-page .export-tablet-shell {
  position: relative;
  width: min(760px, 100%);
  border-radius: 34px;
  padding: 22px 16px 18px;
  background: #101726;
  border: 2px solid #151d2d;
  box-shadow: 0 20px 36px rgba(18, 31, 56, 0.28);
}

.budget-flow-page .export-tablet-shell::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2b3344;
}

.budget-flow-page .export-tablet-screen {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #293348;
  background: #e9edf3;
}

.budget-flow-page .export-tablet-screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

/* =========================
   6) Responsive
   ========================= */
@media (max-width: 980px) {
  .digital-menu-page .menu-devices {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
  }

  .digital-menu-page .menu-laptop-shell {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  body {
    padding: 1rem 0.85rem 2.4rem;
  }

  .social-link {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding: 2rem 0 1.8rem;
  }

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

  .project-card {
    aspect-ratio: auto;
    min-height: 220px;
  }

  .journey-step,
  .book-step,
  .menu-step,
  .export-step {
    grid-template-columns: 36px 1fr;
    column-gap: 0.75rem;
  }

  .step-node,
  .book-node,
  .menu-node,
  .export-node {
    width: 20px;
    height: 20px;
    box-shadow: none;
    border-width: 2px;
  }

  .step-copy,
  .book-copy,
  .menu-copy,
  .export-copy {
    padding: 0.86rem 0.96rem;
  }

  .daily-checklist-page .case-visual-overlay,
  .book-lesson-page .book-visual-overlay {
    position: static;
    inset: auto;
    margin-top: 0.9rem;
    justify-content: center;
    padding-right: 0;
    pointer-events: auto;
  }

  .daily-checklist-page .case-visual-overlay .phone-frame,
  .book-lesson-page .book-visual-overlay .book-phone-shell {
    width: min(300px, 100%);
    height: auto;
    max-height: none;
    max-width: 300px;
  }

  .budget-flow-page .export-tablet-shell {
    width: min(100%, 580px);
    border-radius: 28px;
    padding: 18px 12px 14px;
  }

  .budget-flow-page .export-tablet-screen {
    border-radius: 14px;
  }
}

/* Daily Checklist: wire-style description layout (inspired by reference) */
.daily-checklist-page .journey-steps {
  position: relative;
  display: grid;
  gap: clamp(1.9rem, 2.8vw, 2.8rem);
  margin-top: 0.8rem;
}

.daily-checklist-page .journey-step,
.daily-checklist-page .step-right,
.daily-checklist-page .step-left {
  --flow: var(--card-blue);
  position: relative;
  display: block;
  max-width: min(760px, 88%);
}

.daily-checklist-page .journey-step:nth-child(odd) {
  margin-right: auto;
}

.daily-checklist-page .journey-step:nth-child(even) {
  margin-left: auto;
}

.daily-checklist-page .journey-step:nth-child(1) { --flow: var(--card-blue); }
.daily-checklist-page .journey-step:nth-child(2) { --flow: var(--card-maroon); }
.daily-checklist-page .journey-step:nth-child(3) { --flow: var(--card-yellow); }
.daily-checklist-page .journey-step:nth-child(4) { --flow: var(--card-tomato); }
.daily-checklist-page .journey-step:nth-child(5) { --flow: var(--card-olive); }

.daily-checklist-page .step-node {
  display: none;
}

.daily-checklist-page .step-copy {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.daily-checklist-page .step-number {
  margin: 0 0 0.3rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--flow);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.daily-checklist-page .step-number::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flow);
  flex: 0 0 auto;
}

.daily-checklist-page .step-copy h2 {
  margin: 0 0 0.34rem;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  color: var(--accent-blue-deep);
}

.daily-checklist-page .step-copy p:not(.step-number) {
  margin: 0;
  color: var(--ink);
}

.daily-checklist-page .journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(100% - 0.2rem);
  width: clamp(170px, 26vw, 290px);
  height: clamp(74px, 10vw, 130px);
  border: 2px solid var(--flow);
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 130px 0;
  opacity: 0.9;
}

.daily-checklist-page .journey-step:nth-child(odd)::after {
  right: clamp(20px, 8vw, 70px);
  transform: rotate(11deg);
}

.daily-checklist-page .journey-step:nth-child(even)::after {
  left: clamp(20px, 8vw, 70px);
  transform: scaleX(-1) rotate(11deg);
}

@media (max-width: 760px) {
  .daily-checklist-page .journey-step,
  .daily-checklist-page .step-right,
  .daily-checklist-page .step-left {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .daily-checklist-page .journey-step::after {
    display: none;
  }

  .daily-checklist-page .step-number {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
}

/* Daily Checklist refinement: true number-to-number connectors + matching title colors */
.daily-checklist-page .journey-steps {
  position: relative;
}

.daily-checklist-page .journey-step,
.daily-checklist-page .step-right,
.daily-checklist-page .step-left {
  position: relative;
  z-index: 2;
}

/* Replace static pseudo wires with dynamic SVG connector layer */
.daily-checklist-page .journey-steps.has-live-connectors .journey-step::after {
  display: none !important;
}

.daily-checklist-page .journey-connector-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}


.daily-checklist-page .step-copy .step-number {
  color: var(--flow) !important;
}

.daily-checklist-page .step-copy {
  background: var(--paper);
  display: inline-block;
  max-width: 100%;
  padding: 0.06rem 0.3rem 0.18rem 0.08rem;
  border-radius: 10px;
}
/* Keep number style, but color titles to match each step color */
.daily-checklist-page .step-copy h2 {
  color: var(--flow) !important;
}

@media (max-width: 760px) {
  .daily-checklist-page .journey-connector-layer {
    display: none;
  }
}

/* Daily connector visibility fix */
.daily-checklist-page .journey-connector-layer {
  z-index: 20 !important;
}

.daily-checklist-page .journey-step,
.daily-checklist-page .step-right,
.daily-checklist-page .step-left {
  z-index: 10 !important;
}

/* Daily Checklist connector polish: route-only wires, text always above */
.daily-checklist-page .journey-step::after {
  content: none !important;
  display: none !important;
}

.daily-checklist-page .step-copy {
  position: relative;
  z-index: 2;
  background: var(--paper);
  padding: 0.12rem 0.42rem 0.24rem 0.08rem;
  border-radius: 8px;
}

/* Daily Checklist: show full connector path from dot to dot */
.daily-checklist-page .step-copy {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Daily Checklist final: static connector style (matching approved screenshot) */
.daily-checklist-page .journey-connector-layer {
  display: none !important;
}

.daily-checklist-page .journey-step {
  position: relative;
}

.daily-checklist-page .journey-step:not(:last-child)::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  border-bottom: 2px solid var(--flow);
  opacity: 0.98;
  pointer-events: none;
}

/* 01->02, 03->04: left hook + long line to the right */
.daily-checklist-page .journey-step:nth-child(odd):not(:last-child)::after {
  top: calc(100% + 0.35rem);
  left: 0.78rem;
  right: -19.5rem;
  height: 1.55rem;
  border-left: 2px solid var(--flow);
  border-bottom-left-radius: 10px;
}

/* 02->03, 04->05: long line from the left + right hook */
.daily-checklist-page .journey-step:nth-child(even):not(:last-child)::after {
  top: calc(100% + 0.5rem);
  left: -19rem;
  right: 0.78rem;
  height: 1.15rem;
  border-right: 2px solid var(--flow);
  border-bottom-right-radius: 10px;
}

@media (max-width: 980px) {
  .daily-checklist-page .journey-step:nth-child(odd):not(:last-child)::after,
  .daily-checklist-page .journey-step:nth-child(even):not(:last-child)::after {
    display: none !important;
  }
}

/* Daily Checklist connector hard reset (prevent legacy rule conflicts) */
.daily-checklist-page .journey-step:not(:last-child)::after {
  all: unset;
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
  border-bottom: 2px solid var(--flow);
  opacity: 0.98;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
}

/* 01->02 and 03->04 */
.daily-checklist-page .journey-step:nth-child(odd):not(:last-child)::after {
  top: calc(100% + 0.42rem);
  left: 0.78rem;
  right: -20rem;
  height: 1.5rem;
  border-left: 2px solid var(--flow);
  border-bottom-left-radius: 10px;
}

/* 02->03 and 04->05 */
.daily-checklist-page .journey-step:nth-child(even):not(:last-child)::after {
  top: calc(100% + 0.52rem);
  left: -20rem;
  right: 0.78rem;
  height: 1.2rem;
  border-right: 2px solid var(--flow);
  border-bottom-right-radius: 10px;
}

@media (max-width: 980px) {
  .daily-checklist-page .journey-step:nth-child(odd):not(:last-child)::after,
  .daily-checklist-page .journey-step:nth-child(even):not(:last-child)::after {
    display: none !important;
  }
}

/* Daily Checklist: remove connector lines completely */
.daily-checklist-page .journey-connector-layer,
.daily-checklist-page .journey-step::after,
.daily-checklist-page .journey-step:not(:last-child)::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  opacity: 0 !important;
}

/* Daily Checklist connectors: final stable pass */
.daily-checklist-page .journey-connector-layer {
  display: none !important;
}

.daily-checklist-page .journey-step:not(:last-child)::after {
  all: unset;
  content: "" !important;
  position: absolute;
  display: block !important;
  pointer-events: none;
  opacity: 0.98 !important;
  border-bottom: 2px solid var(--flow) !important;
  transform: none !important;
  rotate: 0deg !important;
}

/* 01->02 and 03->04: left hook + long run to the right */
.daily-checklist-page .journey-step:nth-child(odd):not(:last-child)::after {
  top: calc(100% + 0.4rem) !important;
  left: 0.78rem !important;
  right: -19.8rem !important;
  height: 1.45rem !important;
  border-left: 2px solid var(--flow) !important;
  border-bottom-left-radius: 12px !important;
}

/* 02->03 and 04->05: long run from the left + right hook */
.daily-checklist-page .journey-step:nth-child(even):not(:last-child)::after {
  top: calc(100% + 0.52rem) !important;
  left: -19.8rem !important;
  right: 0.78rem !important;
  height: 1.2rem !important;
  border-right: 2px solid var(--flow) !important;
  border-bottom-right-radius: 12px !important;
}

/* Daily Checklist lines OFF (final) */
.daily-checklist-page .journey-connector-layer,
.daily-checklist-page .journey-step::after,
.daily-checklist-page .journey-step:not(:last-child)::after,
.daily-checklist-page .journey-step:nth-child(odd):not(:last-child)::after,
.daily-checklist-page .journey-step:nth-child(even):not(:last-child)::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  opacity: 0 !important;
}

/* Sync section design from Daily Checklist to remaining project pages */
.book-lesson-page .book-steps,
.digital-menu-page .menu-steps,
.budget-flow-page .export-steps {
  display: grid;
  gap: clamp(1.9rem, 2.8vw, 2.8rem);
  margin-top: 0.8rem;
}

.book-lesson-page .book-step,
.digital-menu-page .menu-step,
.budget-flow-page .export-step {
  --flow: var(--card-blue);
  position: relative;
  display: block;
  max-width: min(760px, 88%);
}

.book-lesson-page .book-step:nth-child(odd),
.digital-menu-page .menu-step:nth-child(odd),
.budget-flow-page .export-step:nth-child(odd) {
  margin-right: auto;
}

.book-lesson-page .book-step:nth-child(even),
.digital-menu-page .menu-step:nth-child(even),
.budget-flow-page .export-step:nth-child(even) {
  margin-left: auto;
}

.book-lesson-page .book-step:nth-child(1),
.digital-menu-page .menu-step:nth-child(1),
.budget-flow-page .export-step:nth-child(1) { --flow: var(--card-blue); }

.book-lesson-page .book-step:nth-child(2),
.digital-menu-page .menu-step:nth-child(2),
.budget-flow-page .export-step:nth-child(2) { --flow: var(--card-maroon); }

.book-lesson-page .book-step:nth-child(3),
.digital-menu-page .menu-step:nth-child(3),
.budget-flow-page .export-step:nth-child(3) { --flow: var(--card-yellow); }

.book-lesson-page .book-step:nth-child(4),
.digital-menu-page .menu-step:nth-child(4),
.budget-flow-page .export-step:nth-child(4) { --flow: var(--card-tomato); }

.book-lesson-page .book-step:nth-child(5),
.digital-menu-page .menu-step:nth-child(5),
.budget-flow-page .export-step:nth-child(5) { --flow: var(--card-olive); }

.book-lesson-page .book-step:nth-child(6),
.digital-menu-page .menu-step:nth-child(6),
.budget-flow-page .export-step:nth-child(6) { --flow: var(--card-blue); }

.book-lesson-page .book-node,
.digital-menu-page .menu-node,
.budget-flow-page .export-node {
  display: none !important;
}

.book-lesson-page .book-copy,
.digital-menu-page .menu-copy,
.budget-flow-page .export-copy {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.book-lesson-page .book-number,
.digital-menu-page .menu-number,
.budget-flow-page .export-number {
  margin: 0 0 0.3rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--flow) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.book-lesson-page .book-number::after,
.digital-menu-page .menu-number::after,
.budget-flow-page .export-number::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flow);
  flex: 0 0 auto;
}

.book-lesson-page .book-copy h2,
.digital-menu-page .menu-copy h2,
.budget-flow-page .export-copy h2 {
  margin: 0 0 0.34rem;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  color: var(--flow) !important;
}

.book-lesson-page .book-copy p:not(.book-number),
.digital-menu-page .menu-copy p:not(.menu-number),
.budget-flow-page .export-copy p:not(.export-number) {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 760px) {
  .book-lesson-page .book-step,
  .digital-menu-page .menu-step,
  .budget-flow-page .export-step {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .book-lesson-page .book-number,
  .digital-menu-page .menu-number,
  .budget-flow-page .export-number {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
}

/* =========================================================
   7) Final Mobile Visual Hotfixes (2026-05-08)
   Keep this block last. It intentionally overrides older rules.
   ========================================================= */

/* Match phone shell ratio to provided screenshots and prevent crop */
.phone-frame,
.book-phone-shell,
.menu-phone-shell {
  aspect-ratio: 390 / 844;
}

.phone-frame img,
.book-phone-shell img,
.menu-phone-shell img {
  object-fit: contain;
  object-position: center center;
  background: #0f1116;
}

.book-lesson-page .book-screen-calendar,
.digital-menu-page .menu-phone-shell img {
  object-position: center top;
}

/* Keep full desktop menu screenshot visible inside laptop frame */
.digital-menu-page .menu-laptop-screen img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: #101726;
}

@media (max-width: 760px) {
  /* Keep composed visuals intact on mobile instead of separating phone below image */
  .daily-checklist-page .case-visual-stage,
  .book-lesson-page .book-visual-stage {
    aspect-ratio: 16 / 10;
    min-height: 260px;
  }

  .daily-checklist-page .case-visual-bg,
  .book-lesson-page .book-visual-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .daily-checklist-page .case-visual-overlay,
  .book-lesson-page .book-visual-overlay {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none;
  }

  .book-lesson-page .book-visual-overlay {
    justify-content: flex-end !important;
    padding-right: clamp(0.55rem, 5vw, 1.25rem) !important;
  }

  .daily-checklist-page .case-visual-overlay .phone-frame,
  .book-lesson-page .book-visual-overlay .book-phone-shell {
    width: clamp(170px, 46vw, 242px) !important;
    height: auto !important;
    max-height: none !important;
    max-width: none !important;
  }

  .digital-menu-page .menu-devices {
    gap: 0.9rem;
  }

  .digital-menu-page .menu-laptop-shell {
    max-width: 100%;
  }

  .digital-menu-page .menu-laptop-screen {
    padding: 7px;
    border-radius: 12px;
  }

  .digital-menu-page .menu-laptop-base {
    width: 52%;
  }

  .digital-menu-page .menu-phone-shell {
    width: min(240px, 74vw);
  }

  .budget-flow-page .export-tablet-shell {
    width: min(100%, 640px);
    padding: 12px 8px 10px;
    border-radius: 22px;
  }

  .budget-flow-page .export-tablet-screen {
    border-radius: 10px;
  }
}

/* =========================================================
   8) Last Round Composition Lock (2026-05-08)
   Keeps background image + device overlay grouped across resize.
   ========================================================= */

.daily-checklist-page .case-visual-stage,
.book-lesson-page .book-visual-stage {
  position: relative;
  overflow: hidden;
}

.daily-checklist-page .case-visual-overlay,
.book-lesson-page .book-visual-overlay {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: none;
  z-index: 6;
}

.daily-checklist-page .case-visual-overlay {
  justify-content: center !important;
}

.book-lesson-page .book-visual-overlay {
  justify-content: flex-end !important;
  padding-right: clamp(0.45rem, 2.8vw, 2.2rem) !important;
}

.daily-checklist-page .case-visual-overlay .phone-frame,
.book-lesson-page .book-visual-overlay .book-phone-shell {
  width: auto !important;
  height: min(82%, 520px) !important;
  max-height: 82% !important;
  max-width: none !important;
}

@media (max-width: 760px) {
  .daily-checklist-page .case-visual-stage,
  .book-lesson-page .book-visual-stage {
    aspect-ratio: 16 / 10;
    min-height: 245px;
  }

  .daily-checklist-page .case-visual-bg,
  .book-lesson-page .book-visual-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .daily-checklist-page .case-visual-overlay .phone-frame,
  .book-lesson-page .book-visual-overlay .book-phone-shell {
    width: auto !important;
    height: 82% !important;
    max-height: none !important;
    max-width: none !important;
  }

  .book-lesson-page .book-visual-overlay {
    padding-right: clamp(0.45rem, 4vw, 1.2rem) !important;
  }
}

/* =========================================================
   9) Digital Menu iPhone No-Crop Lock (2026-05-08)
   ========================================================= */

.digital-menu-page .menu-phone-shell {
  aspect-ratio: 390 / 844 !important;
  overflow: hidden;
}

.digital-menu-page .menu-phone-shell img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center top !important;
  background: #0f1116;
}

@media (max-width: 760px) {
  .digital-menu-page .menu-phone-shell {
    width: min(230px, 70vw) !important;
    margin-inline: auto;
  }
}

/* =========================================================
   10) Emergency Stability Lock (2026-05-08)
   Final override block to prevent mobile drift/cropping.
   ========================================================= */

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.site-shell,
.project-page,
.project-text,
.projects,
.daily-checklist-page .case-visuals,
.book-lesson-page .book-visuals,
.digital-menu-page .menu-devices,
.budget-flow-page .export-devices {
  max-width: 100%;
}

/* Keep social icon attached to top nav/header row */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  background: var(--paper);
}

.site-header .social-link {
  position: static !important;
  margin-left: auto !important;
}

/* Keep text columns from creating horizontal offset on small screens */
@media (max-width: 900px) {
  .daily-checklist-page .journey-step,
  .book-lesson-page .book-step,
  .digital-menu-page .menu-step,
  .budget-flow-page .export-step {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .daily-checklist-page .step-copy,
  .book-lesson-page .book-copy,
  .digital-menu-page .menu-copy,
  .budget-flow-page .export-copy {
    width: 100% !important;
  }
}

/* Group background image + phone as one locked composition */
.daily-checklist-page .case-visual-stage,
.book-lesson-page .book-visual-stage {
  position: relative !important;
  overflow: hidden !important;
}

.daily-checklist-page .case-visual-overlay,
.book-lesson-page .book-visual-overlay {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: none;
  z-index: 7 !important;
}

.daily-checklist-page .case-visual-overlay {
  justify-content: center !important;
}

.book-lesson-page .book-visual-overlay {
  justify-content: flex-end !important;
  padding-right: clamp(0.45rem, 2.8vw, 2.1rem) !important;
}

.daily-checklist-page .case-visual-overlay .phone-frame,
.book-lesson-page .book-visual-overlay .book-phone-shell {
  width: auto !important;
  height: min(82%, 520px) !important;
  max-height: 82% !important;
  max-width: none !important;
}

@media (max-width: 760px) {
  .daily-checklist-page .case-visual-stage,
  .book-lesson-page .book-visual-stage {
    aspect-ratio: 16 / 10 !important;
    min-height: 240px !important;
  }

  .daily-checklist-page .case-visual-bg,
  .book-lesson-page .book-visual-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .daily-checklist-page .case-visual-overlay .phone-frame,
  .book-lesson-page .book-visual-overlay .book-phone-shell {
    height: 80% !important;
    max-height: none !important;
  }

  .book-lesson-page .book-visual-overlay {
    padding-right: clamp(0.45rem, 4vw, 1.2rem) !important;
  }
}

/* Digital Menu: strict full screenshot in iPhone shell (no crop) */
.digital-menu-page .menu-phone-shell {
  aspect-ratio: 390 / 844 !important;
  overflow: hidden !important;
  padding: 10px 8px !important;
}

.digital-menu-page .menu-phone-shell img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center top !important;
  background: #0f1116;
}

@media (max-width: 760px) {
  .digital-menu-page .menu-devices {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .digital-menu-page .menu-laptop-shell {
    max-width: 100% !important;
  }

  .digital-menu-page .menu-laptop-screen {
    padding: 7px !important;
    border-radius: 12px !important;
  }

  .digital-menu-page .menu-laptop-screen img {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .digital-menu-page .menu-phone-shell {
    width: min(225px, 68vw) !important;
    margin-inline: auto !important;
  }
}

/* =========================================================
   11) Header Pin Behavior (2026-05-08)
   Keep icon in header only; do NOT keep it visible during scroll.
   ========================================================= */
.site-header {
  position: relative !important;
  top: auto !important;
  z-index: 40 !important;
  background: transparent !important;
}

.site-header .social-link {
  position: static !important;
}

/* =========================================================
   12) Desktop-Parity Mobile Mode (2026-05-08)
   Request: mobile should mirror desktop layout, only smaller.
   ========================================================= */
@media (max-width: 760px) {
  /* Home page: keep desktop 2x2 grid */
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
  }

  .project-card {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
  }

  .project-meta {
    padding: 1rem 0.8rem !important;
  }

  .project-meta h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem) !important;
  }

  .project-meta p {
    font-size: clamp(0.78rem, 2.8vw, 0.9rem) !important;
    line-height: 1.35 !important;
  }

  /* Keep project section flow closer to desktop */
  .project-text {
    width: min(1060px, 100%) !important;
  }

  /* Daily + Book: keep image + phone grouped (desktop composition) */
  .daily-checklist-page .case-visual-stage,
  .book-lesson-page .book-visual-stage {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }

  .daily-checklist-page .case-visual-bg,
  .book-lesson-page .book-visual-bg {
    width: 100% !important;
    height: auto !important;
    object-fit: initial !important;
  }

  .daily-checklist-page .case-visual-overlay,
  .book-lesson-page .book-visual-overlay {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    pointer-events: none !important;
  }

  .daily-checklist-page .case-visual-overlay {
    justify-content: center !important;
  }

  .book-lesson-page .book-visual-overlay {
    justify-content: flex-end !important;
    padding-right: clamp(0.45rem, 2.8vw, 1.6rem) !important;
  }

  .daily-checklist-page .case-visual-overlay .phone-frame,
  .book-lesson-page .book-visual-overlay .book-phone-shell {
    width: auto !important;
    height: min(82%, 420px) !important;
    max-height: 82% !important;
    max-width: none !important;
  }

  /* Digital Menu: keep desktop side-by-side layout, just smaller */
  .digital-menu-page .menu-devices {
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr) !important;
    gap: 0.8rem !important;
    align-items: end !important;
  }

  .digital-menu-page .menu-laptop-shell {
    width: 100% !important;
    max-width: none !important;
  }

  .digital-menu-page .menu-laptop-screen {
    padding: 7px !important;
    border-radius: 12px !important;
  }

  .digital-menu-page .menu-laptop-screen img {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .digital-menu-page .menu-phone-shell {
    width: min(170px, 100%) !important;
    margin: 0 auto !important;
    aspect-ratio: 390 / 844 !important;
    overflow: hidden !important;
  }

  .digital-menu-page .menu-phone-shell img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  /* Budget flow device: keep full frame tidy */
  .budget-flow-page .export-tablet-shell {
    width: min(760px, 100%) !important;
    padding: 16px 10px 12px !important;
    border-radius: 24px !important;
  }
}

/* =========================================================
   13) Sticky Header Final (2026-05-08)
   ========================================================= */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1200 !important;
  background: var(--paper) !important;
  padding-top: 0.55rem !important;
  padding-bottom: 0.6rem !important;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: color-mix(in srgb, var(--line), transparent 25%);
}

.site-header .social-link {
  position: static !important;
  margin-left: auto !important;
}

/* =========================================================
   14) Final Mobile Visual Source Lock (2026-05-08)
   Daily + Book use approved composites on phone view.
   Digital Menu mobile stacks laptop then phone.
   ========================================================= */

.case-visual-stage .mobile-composite,
.book-visual-stage .mobile-composite {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 760px) {
  /* Daily Checklist: show approved composite */
  .daily-checklist-page .case-visual-stage {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }

  .daily-checklist-page .case-visual-bg,
  .daily-checklist-page .case-visual-overlay {
    display: none !important;
  }

  .daily-checklist-page .case-visual-stage .mobile-composite {
    display: block !important;
  }

  /* Book your lesson: show approved composite */
  .book-lesson-page .book-visual-stage {
    aspect-ratio: auto !important;
    min-height: 0 !important;
  }

  .book-lesson-page .book-visual-bg,
  .book-lesson-page .book-visual-overlay {
    display: none !important;
  }

  .book-lesson-page .book-visual-stage .mobile-composite {
    display: block !important;
  }

  /* Digital Menu mobile: laptop first, phone below */
  .digital-menu-page .menu-devices {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 1rem !important;
  }

  .digital-menu-page .menu-laptop-shell {
    width: 100% !important;
    max-width: 100% !important;
  }

  .digital-menu-page .menu-laptop-screen img {
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #101726 !important;
  }

  .digital-menu-page .menu-phone-shell {
    width: min(240px, 76vw) !important;
    margin-inline: auto !important;
  }
}

/* Immediate fix: remove header divider line under Instagram icon */
.site-header::after {
  display: none !important;
  content: none !important;
}

/* =========================================================
   16) Mobile Final: Digital Menu Screenshot + Home 1-by-1
   ========================================================= */

.digital-menu-page .menu-phone-mobile-shot {
  display: none;
  margin: 0;
}

.digital-menu-page .menu-phone-mobile-shot img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 760px) {
  /* Home cards: one-by-one vertical scroll */
  .projects {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .project-card {
    aspect-ratio: auto !important;
    min-height: 220px !important;
  }

  /* Digital Menu: keep laptop first, then your provided phone screenshot */
  .digital-menu-page .menu-devices {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 1rem !important;
  }

  .digital-menu-page .menu-laptop-shell {
    width: 100% !important;
    max-width: 100% !important;
  }

  .digital-menu-page .menu-laptop-screen img {
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #101726 !important;
  }

  .digital-menu-page .menu-phone-mockup {
    display: none !important;
  }

  .digital-menu-page .menu-phone-mobile-shot {
    display: block !important;
    width: min(260px, 82vw);
    margin-inline: auto;
  }
}

/* Mobile: keep hero title in one line + scale subtitle accordingly */
@media (max-width: 760px) {
  .hero-content h1 {
    font-size: clamp(0.98rem, 4vw, 1.2rem) !important;
    white-space: nowrap !important;
    line-height: 1.08 !important;
  }

  .hero-kicker {
    font-size: clamp(0.86rem, 3.2vw, 0.98rem) !important;
    letter-spacing: 0.06em !important;
    margin-top: 0.48rem !important;
  }
}

/* =========================================================
   17) Mobile Hero Max-Single-Line + Desktop Ratio (2026-05-08)
   ========================================================= */
@media (max-width: 760px) {
  .hero-content h1 {
    white-space: nowrap !important;
    font-size: clamp(1.12rem, 4.9vw, 1.3rem) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.02 !important;
  }

  .hero-kicker {
    font-size: clamp(0.52rem, 2.25vw, 0.62rem) !important;
    letter-spacing: 0.1em !important;
    line-height: 1.2 !important;
    margin-top: 0.52rem !important;
  }
}
