/* Local preview only. Shared site styles own navigation, footer, plans and demo.
   This file owns the page composition; each breakpoint has one explicit layout. */
.guru-direction {
  --cream: #fffaf1;
  --ink: #502626;
  --muted: #806559;
  --accent: #d9134e;
  background: var(--cream);
}
.guru-direction main { min-width: 0; }
.guru-direction main [id] { scroll-margin-top: calc(var(--nav-h, 80px) + 24px); }
.guru-direction main h2 { text-wrap: balance; }
.guru-direction main :is(p, h2, h3, a) { overflow-wrap: break-word; }
.guru-direction a:focus-visible, .guru-direction button:focus-visible,
.guru-direction summary:focus-visible, .guru-direction select:focus-visible,
.guru-direction textarea:focus-visible { outline: 3px solid #3274af; outline-offset: 4px; }
.guru-direction .fresh-nav {
  max-width: none; width: 100%;
  padding-inline: max(24px, calc((100% - 1240px) / 2));
  background: #faf0e3f5; backdrop-filter: blur(16px);
  position: sticky; top: 0; z-index: 1000;
}
.guru-direction .fresh-nav::after {
  content: ''; position: absolute; inset: auto 0 0; height: 2px;
  background: var(--accent); transform: scaleX(var(--page-progress, 0));
  transform-origin: left; pointer-events: none;
}
.g-section { width: min(1120px, calc(100% - 80px)); margin-inline: auto; padding-block: 96px; }
.g-section h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.1; letter-spacing: -.035em; }
.g-section h2 span { color: var(--accent); }

/* Hero: photo clips its own parallax, the notification stays inside the frame. */
.guru-direction #main .fresh-hero {
  display: flex; flex-direction: column; align-items: stretch;
  width: min(1240px, calc(100% - 64px)); gap: 52px; padding: 80px 0;
}
.guru-direction .hero-copy { text-align: center; max-width: 1000px; margin-inline: auto; }
.guru-direction .hero-copy h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 1.04; margin-top: 28px; }
.guru-direction .hero-copy .lead { max-width: 750px; font-size: 19px; line-height: 1.7; margin: 28px auto 32px; }
.guru-direction .hero-copy > .primary { animation: trial-pulse 10s ease-in-out 3s infinite; }
.guru-direction .hero-copy > .primary:is(:hover, :focus-visible) { animation: none; }
.guru-direction .hero-trial-seal {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 4px 10px; margin-top: 16px; color: var(--muted); font-size: 12px;
}
.guru-direction .hero-trial-seal strong { font-size: inherit; font-weight: 800; padding: 0; background: none; border: 0; }
.guru-direction .hero-trial-seal .trial-check { display: none; }
.guru-direction .hero-demo-link { display: inline-block; padding: 12px 4px; margin-top: 10px; color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.guru-direction .hero-life { width: 100%; padding: 0; }
.hero-photo-frame { height: 600px; border-radius: 36px; overflow: hidden; background: #f2e6d5; }
.hero-photo-frame > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 48%; transform: translateY(var(--photo-offset, 0px)) scale(1.12); }
.guru-direction .floating-order.hero-order {
  left: auto; right: clamp(12px, 5vw, 70px); bottom: 12%;
  width: min(420px, calc(100% - 24px)); box-sizing: border-box;
}
.hero-order .mini-icon, .guru-direction .hero-order > .pill { background: #fff0d5; color: #794716; }
.guru-direction .hero-order > .pill { display: inline-flex; justify-content: center; white-space: nowrap; flex-shrink: 0; }
.hero-order.is-ready .mini-icon, .guru-direction .hero-order.is-ready > .pill { background: #e6efd6; color: #406521; }
.has-preview-motion .hero-order[aria-hidden=true] { visibility: hidden; }
.has-preview-motion .hero-order.is-visible { animation: order-enter .6s cubic-bezier(.22,.8,.28,1) both; }
.has-preview-motion .hero-order.is-ready { animation: order-ready .55s ease-out both; }
@keyframes trial-pulse { 0%, 14%, 100% { scale: 1; } 7% { scale: 1.035; box-shadow: 0 5px 0 #a80c35, 0 0 0 6px #df164a20; } }
@keyframes order-enter { from { opacity: 0; transform: translateY(-20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes order-ready { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.025); box-shadow: 0 0 0 7px #83a74d26, 0 15px 45px #79503c17; } }

/* Concept: one identification, one practical explanation. */
.g-concept { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px 70px; }

.g-concept h2 { font-size: clamp(36px, 4.5vw, 62px); }
.g-concept-copy p { font-size: 17px; line-height: 1.75; margin-bottom: 22px; }
.g-concept-copy p:last-child { margin-bottom: 0; }

/* Orbit: native sticky, no wheel/touch interception. Text has separate rows. */
.g-orbit-track { position: relative; background: #7a1934; }
.guru-direction .home-orbit {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr);
  grid-template-areas: 'stage'; align-items: center; justify-items: center;
  padding: 58px 16px 88px; text-align: center; min-height: 600px;
  background: radial-gradient(ellipse at 50% 70%, #ad294c, #6d142f 85%);
}
.has-preview-motion .g-orbit-track { height: 190svh; }
.has-preview-motion .home-orbit { position: sticky; top: var(--nav-h,80px); height: calc(100svh - var(--nav-h,80px)); min-height: 0; padding: 22px 16px 66px; }
.guru-direction .home-orbit h2 {
  grid-area: stage; display: grid; grid-template-rows: auto clamp(180px,32svh,300px) auto; gap: 8px;
  width: 100%; margin: 0; font: 500 clamp(36px,6.5vw,88px)/1.08 Fredoka, sans-serif;
  letter-spacing: -.035em; z-index: 2; pointer-events: none;
}
.home-orbit h2 > span { display: block; color: #ffddd3; }
.home-orbit h2 > span:last-child { grid-row: 3; color: #ed9caa; }
.has-preview-motion .home-orbit h2 > span { opacity: var(--word-one,0); translate: 0 calc((1 - var(--word-one,0))*18px); }
.has-preview-motion .home-orbit h2 > span:last-child { opacity: var(--word-two,0); translate: 0 calc((1 - var(--word-two,0))*18px); }
.home-orbit-scene { grid-area: stage; position: relative; width: min(650px,100%); height: clamp(180px,32svh,300px); z-index: 1; }
.home-orbit-ring { display: none; }
.home-orbit-mascot { position: absolute; inset: 0; margin: auto; width: 220px; height: auto; object-fit: contain; z-index: 3; pointer-events: none; filter: drop-shadow(0 18px 20px #390b2038); }
.home-orbit-scene a {
  position: absolute; left: 50%; top: 50%;
  translate: calc(-50% + var(--orbit-x,0px)) calc(-50% + var(--orbit-y,0px));
  rotate: var(--tilt,0deg); z-index: 1;
  display: inline-flex; gap: 7px; align-items: center; justify-content: center;
  padding: 10px 15px; min-height: 44px; white-space: nowrap;
  border: 1px solid #ffcedb80; border-radius: 16px; background: #fff6eb; color: #562725;
  box-shadow: 0 16px 40px #390b2033; font-size: 14px; font-weight: 800; text-decoration: none;
}
.home-orbit-scene a span { color: #496a30; font-weight: 900; }
.orbit-orders { --tilt:-7deg; --orbit-x:-110px; --orbit-y:-85px; }
.orbit-cash { --tilt:7deg; --orbit-x:110px; --orbit-y:-85px; }
.orbit-care { --tilt:7deg; --orbit-x:110px; --orbit-y:85px; }
.orbit-day { --tilt:-7deg; --orbit-x:-110px; --orbit-y:85px; }
.g-motion-control { position: absolute; bottom: 16px; z-index: 5; color: #fff2e6; background: transparent; border: 1px solid #f1bbca60; border-radius: 24px; min-height: 44px; padding: 8px 16px; font: 700 12px Nunito,sans-serif; cursor: pointer; }
.g-motion-off main *, .g-motion-off main *::before, .g-motion-off main *::after { animation: none!important; transition: none!important; }
.g-motion-off .home-orbit h2 > span { opacity: 1!important; translate: none!important; }

/* Aftercare owns its layout: no inherited .care or absolute mascot offsets. */
.g-aftercare { background: #f6f1e7; padding: 88px 0; }
.g-aftercare-inner { width: min(1120px,calc(100% - 80px)); margin: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.g-aftercare-copy h2 { font: 500 clamp(36px,4.5vw,58px)/1.12 Fredoka,sans-serif; margin: 22px 0; letter-spacing: -.03em; text-wrap: balance; }
.g-aftercare-copy h2 span { color: var(--accent); }
.g-aftercare-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.75; color: var(--muted); }
.g-aftercare-copy .text-action { display: inline-block; padding-block: 12px; margin-top: 20px; font-size: 15px; }
.g-aftercare-copy > small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.g-message-example { min-width: 0; }
.g-message-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; }
.g-message-heading img { width: 104px; height: 104px; object-fit: contain; flex-shrink: 0; }
.g-message-label { font-size: 10px; font-weight: 900; letter-spacing: .07em; color: #6c744e; }
.g-message-heading p { font: 500 23px/1.25 Fredoka,sans-serif; margin-top: 8px; }
.g-message-card { border: 1px solid #e5d4c6; border-radius: 24px; padding: 28px; background: #fffdf8; box-shadow: 0 16px 40px #5b4b2c09; }
.g-message-person { display: flex; gap: 12px; align-items: center; }
.g-message-person > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e9efda; color: #54643a; font-weight: 900; }
.g-message-person strong { display: block; font-size: 15px; }
.g-message-person small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.g-message-card blockquote { margin: 22px 0 18px; font-size: 20px; line-height: 1.65; color: #684737; }
.g-message-foot { color: var(--muted); font-size: 12px; }

/* Reuse the real interactive demo, allow every panel to grow naturally. */
.guru-direction .start { padding-block: 84px; }
.guru-direction .start-grid { gap: 24px; margin-top: 36px; }
.guru-direction .start-grid li { background: #f7eee4; border-radius: 22px; padding: 26px; }
.guru-direction .start-grid li > span { background:#f1d4d7; color:#b5113d; }
.guru-direction .explore { padding-block: 84px; background: #fffdf7; }
.guru-direction .explore-shell { box-shadow: 0 24px 80px #533b2010; }
.guru-direction .product-stage { min-height: 0; height: auto; transform: none; }
.guru-direction .product-window { width: 100%; transform: none; }
.guru-direction .dashboard-panel { min-height: 550px; }
.guru-direction .tour-description { margin-top: 12px; }
.guru-direction .under-demo { border: 1px solid #edcabc; width: fit-content; border-radius: 24px; margin: 20px auto 0; padding: 14px 24px; }
.guru-direction .pricing { padding-block: 90px; }
.guru-direction .faq-section { padding-block: 40px 90px; }
.guru-direction .final-call { padding: 80px 24px; background: #e9efda; }
.guru-direction .final-call h2 { font-size: clamp(36px,5vw,64px); }

/* Tablet */
@media (max-width: 1000px) {
  .g-section { padding-block: 76px; }
  .g-concept { gap: 24px 35px; }
  .g-aftercare-inner { gap: 32px; }.g-message-card { padding: 24px; }
  .guru-direction .dashboard-tabs button { white-space: nowrap; font-size: 12px; gap: 6px; }
  .guru-direction #main .fresh-hero { padding-top: 58px; }
  .hero-photo-frame { height: 460px; }
}
/* Phone: generous type, compact examples, no viewport-dependent content clipping. */
@media (max-width: 700px) {
  .guru-direction .fresh-nav { padding-inline: 18px; }
  .guru-direction .fresh-nav.is-menu-open > nav { max-height: calc(100dvh - var(--nav-h,72px) - 16px); overflow-y: auto; overscroll-behavior: contain; }
  .guru-direction #main .fresh-hero { width: calc(100% - 36px); padding: 42px 0 48px; gap: 32px; }
  .guru-direction .hero-copy h1 { font-size: clamp(36px,9.7vw,60px); margin-top: 22px; }
  .guru-direction .hero-copy .lead { font-size: 16px; line-height: 1.65; margin: 22px auto 26px; }
  .guru-direction .hero-copy > .primary { font-size: 14px; min-height: 54px; }
  .guru-direction .hero-demo-link { margin-top: 14px; }
  .hero-photo-frame { height: auto; aspect-ratio: 3/4; border-radius: 24px; }
  .hero-photo-frame > img { object-position: 60% center; }
  .guru-direction .floating-order.hero-order { right: 12px; bottom: 10%; gap: 10px; padding: 14px 12px; }
  .guru-direction .hero-order strong { font-size: 14px; }
  .guru-direction .hero-order > .pill { min-width: 0; font-size: 10px; }
  .g-section, .g-aftercare-inner { width: calc(100% - 40px); }
  .g-section { padding-block: 60px; }
  .g-section h2 { font-size: clamp(32px,8.8vw,44px); }
    .g-concept { display: block; }
  .g-concept h2 { margin-bottom: 26px; }.g-concept-copy p { font-size: 16px; }
  .guru-direction .home-orbit h2 { font-size: clamp(30px,8.6vw,56px); }
  .home-orbit-mascot { width: 130px; }
  .home-orbit-scene a { font-size: 10px; gap: 4px; padding: 8px 10px; }
  .g-mobile-pose { display: block; width: 72px; height: 72px; grid-column: 2; grid-row: 1; }
  .g-number { align-self: center; font-size: 11px; }
  .g-aftercare { padding: 58px 0; }
  .g-aftercare-inner { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .g-aftercare-copy h2 { font-size: clamp(32px,9vw,42px); margin-block: 20px; text-wrap: initial; }
  .g-aftercare-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; }
  .g-aftercare-copy .text-action { margin-top: 12px; font-size: 14px; }
  .g-message-heading { gap: 14px; padding-bottom: 14px; }
  .g-message-heading img { width: 80px; height: 80px; }
  .g-message-heading p { font-size: 21px; }
  .g-message-card { padding: 22px; border-radius: 20px; }
  .g-message-card blockquote { font-size: 18px; line-height: 1.65; margin: 20px 0 16px; }
    .guru-direction .start { padding-block: 60px; }
  .guru-direction .start-grid { gap: 16px; margin-top: 28px; }
  .guru-direction .start-grid li { padding: 24px; }
  .guru-direction .explore { width: 100%; padding: 60px 16px; }
  .guru-direction .dashboard-panel { min-height: 0; padding: 20px 14px; }
  .guru-direction .product-window { display: block; }
  .guru-direction .product-sidebar { padding: 8px; display: block; border-right: 0; }
  .guru-direction .product-sidebar > img, .guru-direction .atelier, .guru-direction .sidebar-care { display: none; }
  .guru-direction .dashboard-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; }
  .guru-direction .dashboard-tabs button { display: flex; flex-direction: column; gap: 5px; font-size: 10px; align-items: center; text-align: center; padding: 10px 3px; }
  .guru-direction .tab-arrow { display: none; }
  .guru-direction .tour-description { flex-wrap: wrap; padding: 20px 4px; gap: 12px; }
  .guru-direction .tour-description > div { flex: 1; min-width: 180px; }
  .guru-direction .tour-description > a { margin-left: 0; padding: 12px 0; }
  .guru-direction .pricing { padding-block: 64px; }
  .guru-direction .faq-section { padding-block: 32px 60px; }
  .guru-direction .final-call { padding: 58px 24px; }
}
@media (max-width: 480px) {
  .guru-direction .care-process { flex-wrap: wrap; gap: 8px 12px; }
  .guru-direction .cash-control { gap: 12px; flex-wrap: wrap; }
}
/* Compact landscape disables the pinned scene rather than clipping its text. */
@media (max-height: 560px) {
  .has-preview-motion .g-orbit-track { height: auto; }
  .has-preview-motion .home-orbit { position: relative; top: auto; height: auto; min-height: 450px; padding-block: 32px 72px; }
  .has-preview-motion .home-orbit h2 > span { opacity: 1; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-preview-motion .g-orbit-track { height: auto; }
  .has-preview-motion .home-orbit { position: relative; top: auto; height: auto; min-height: 520px; }
  .has-preview-motion .home-orbit h2 > span,
  .has-preview-motion .home-orbit h2 > span:last-child { opacity: 1; translate: none; }
  .g-motion-control { display: none; }
  .hero-photo-frame > img { transform: none; }
  .guru-direction main * { animation: none!important; transition: none!important; }
}

/* Visual examples and the corresponding product stories. */
.g-story { padding-block: clamp(52px, 7vw, 106px); }
.g-story-inner {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.g-story-copy h2 {
  font: 500 clamp(34px, 4.3vw, 58px)/1.09 Fredoka, sans-serif;
  letter-spacing: -.03em;
  margin: 20px 0 22px;
}
.g-story-copy h2 span { color: var(--accent); }
.g-story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.7; margin-block: 0 13px; }
.g-story-copy .text-action { display: inline-block; padding-block: 12px; margin-top: 4px; }
.g-orders, .g-production { background: #e9eedb; }
.g-orders .g-story-copy h2 span, .g-production .g-story-copy h2 span { color: #52653e; }
.g-quotes { background: #f8e8e4; }
.g-order-scene, .g-production-scene { margin: 0; min-width: 0; }
.g-story figure > img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 24px; }
.g-order-card, .g-quote-card {
  position: relative;
  padding: clamp(20px, 4vw, 32px);
  background: #fffcf7;
  border: 1px solid #e5d4c6;
  border-radius: 24px;
  box-shadow: 0 14px 38px #5b4b2c12;
}
.g-order-card { margin: -30px clamp(10px, 2vw, 30px) 0; }
.g-order-card > strong, .g-quote-card h3 { display: block; font: 500 clamp(22px, 3vw, 30px)/1.2 Fredoka, sans-serif; margin-block: 10px 5px; }
.g-order-card > p { font-size: 14px; color: var(--muted); }
.g-example-label { font-size: 11px; font-weight: 900; letter-spacing: .07em; color: #74594b; }
.g-story dl { margin: 15px 0 0; font-size: 14px; }
.g-story dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #eaded3; }
.g-story dd { margin: 0; font-weight: 800; text-align: right; }
.g-order-card dd { white-space: nowrap; }
.g-quote-top { display: flex; align-items: center; gap: 8px 16px; justify-content: space-between; flex-wrap: wrap; }
.g-example-status, .g-aftercare-copy .g-plan-inclusion {
  color: #425e2c;
  background: #e9eedb;
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
}
.g-aftercare-copy .g-plan-inclusion { display: inline-block; margin: 18px 0 0; }
.g-aftercare-copy .text-action { display: block; margin-top: 7px; width: fit-content; }
.g-quote-card > a { display: inline-block; padding-block: 10px; margin-top: 10px; }
.g-quote-steps { list-style: none; padding: 0; margin: 20px 0 0; }
.g-quote-steps li { border-left: 2px solid #d89aa4; padding-left: 14px; margin-block: 12px; line-height: 1.65; color: var(--muted); }
.g-quote-steps strong { color: var(--ink); }
.guru-direction .pricing-grid article { min-width: 0; }
.guru-direction .pricing-grid a { white-space: normal; }
@media (max-width: 1000px) {
  .g-story-inner { width: calc(100% - 48px); }
}
@media (max-width: 760px) {
  .g-story-inner { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); }
  .g-story-copy > p:not(.eyebrow) { font-size: 16px; }
  .g-story-copy h2 { font-size: clamp(32px, 8.7vw, 46px); margin-block: 15px 18px; }
  .g-story figure > img { aspect-ratio: 16/10; }
}

/* Plan and closing actions stay readable at narrow phone widths. */
.guru-direction .pricing-grid article > ul { margin-top: 20px; }
.guru-direction .final-call h2 { margin: 0 auto 24px; max-width: 18ch; }
@media (max-width: 480px) {
  .guru-direction .pricing-grid article { padding: clamp(17px, 5.5vw, 24px); }
  .guru-direction .pricing-grid .plan-price { margin-block: 16px; }
  .guru-direction .pricing-grid .plan-price strong { font-size: clamp(34px, 11.5vw, 47px); }
  .guru-direction .pricing-grid article > ul { margin-block: 18px 0; }
  .guru-direction :is(.pricing-grid, .final-call) a:is(.primary, .secondary) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    font-size: clamp(12px, 3.6vw, 15px);
    text-align: center;
    white-space: nowrap;
  }
  .guru-direction :is(.pricing-grid, .final-call) a .site-icon { width: 15px; height: 15px; flex: 0 0 15px; }
  .guru-direction .final-call { padding-block: 48px; }
  .guru-direction .final-call h2 { font-size: clamp(30px, 8.75vw, 39px); max-width: 15ch; }
  .guru-direction .final-call .primary { max-width: 290px; }
}
