/* Hero palette: light violet, original yellow character, mockup orange accents. */
:root { --hero-accent: #F87B36; --sg-radius: 20px; --sg-card-border-width: 2px; --sg-highlight-radius: 4px; }
html, body { background: #FDDC6A; color: var(--sg-black); }
html.sg-wheel-scrolling { scroll-behavior: auto !important; }
@media (min-width: 721px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { font-family: 'Manrope', sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sg-black); outline-offset: 6px; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 1100; padding: 12px 18px; background: var(--sg-white); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 36px; margin: 24px clamp(20px,5.55vw,80px) 0; padding: 15px 20px 15px 28px; min-height: 94px; border-radius: 24px; background: var(--sg-white); }
.brand { flex: 0 0 112px; }
.brand svg { display: block; width: 112px; height: 64px; }
#main-menu { display: flex; align-items: center; justify-content: flex-end; gap: clamp(24px,4.2vw,64px); flex: 1; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 17px; font-weight: 600; white-space: nowrap; border: 0; background: transparent; transition: transform 200ms; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--hero-accent); transform: scaleX(0); transform-origin: left; transition: transform 200ms; }
.nav-link:hover { transform: translateY(-2px); }
.nav-link:hover::after, .nav-link.active::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.chevron { width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); transition: transform 200ms; }
[aria-expanded="true"] .chevron { transform: rotate(225deg) translate(-2px,-2px); }
.nav-group { position: relative; }
.dropdown { position: absolute; top: calc(100% + 16px); left: -22px; min-width: 244px; padding: 10px; border: 1px solid var(--sg-black); border-radius: 16px; background: var(--sg-white); box-shadow: 4px 4px 0 var(--sg-black); }
.dropdown:not([hidden]) { animation: submenu-reveal 350ms cubic-bezier(.22,.7,.2,1) both; }
@keyframes submenu-reveal {
  from { transform: translateY(-12px); clip-path: inset(0 -8px 100% -8px); }
  to { transform: translateY(0); clip-path: inset(-8px); }
}
.dropdown a { display: block; padding: 13px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: background 180ms, padding 180ms; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--sg-cream); padding-left: 16px; }
.dropdown a.active { background: var(--sg-cream); font-weight: 800; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 100px; background: var(--hero-accent); font-size: 17px; font-weight: 800; min-height: 56px; padding: 16px 30px; transition: transform 180ms, box-shadow 180ms; }
.button:hover { transform: translate(-3px,-3px); box-shadow: 3px 3px 0 var(--sg-black); }
.button:active { transform: translate(0,0); box-shadow: none; }
.nav-cta { min-width: 148px; }
.mobile-toggle { display: none; }
.hero { min-height: calc(100svh - 118px); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: clamp(42px,5.6vh,64px) 20px 0; }
h1 { font: 400 clamp(56px,7.65vw,110px)/1.06 'Bowlby One',sans-serif; letter-spacing: -.01em; margin: 0 0 25px; }
.line-mask { display: block; overflow: hidden; padding: 0 .05em .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; }
.hero-description { max-width: 850px; margin: 0 auto; }
.hero-description p { font-size: clamp(17px,1.55vw,22px); line-height: 1.5; margin: 0; }
.hero-description p + p { margin-top: 12px; }
.copy-mask { overflow: hidden; }
.cta-mask { padding: 8px; margin-top: 22px; }
.hero-cta { min-height: 58px; padding-inline: 34px; }
.hero-character { width: min(610px,76vw); height: clamp(190px,27vh,300px); margin-top: 22px; flex: 1 0 190px; position: relative; }
.hero-character svg { width: 100%; display: block; }
.hero-character .eye-shut { display: none; }
.hero-character.is-blinking .eye-open { display: none; }
.hero-character.is-blinking .eye-shut { display: block; }
.js:not(.entered) .site-header { transform: translateY(-140%); }
.js:not(.entered) .line-mask > span, .js:not(.entered) .hero-description { transform: translateY(115%); }
.js:not(.entered) .hero-cta { transform: translateY(50px); opacity: 0; }
.js:not(.entered) .hero-character { transform: translateY(100%); }
.entered .site-header { transition: transform 500ms cubic-bezier(.22,.7,.2,1); }
.entered .line-mask > span { transition: transform 650ms cubic-bezier(.22,.7,.2,1) 120ms; }
.entered .line-mask:nth-child(2) > span { transition-delay: 220ms; }
.entered .hero-description { transition: transform 550ms cubic-bezier(.22,.7,.2,1) 330ms; }
.entered .hero-cta { animation: cta-reveal 500ms 450ms both; }
.entered .hero-character { transition: transform 700ms cubic-bezier(.22,.7,.2,1) 550ms; }
@keyframes cta-reveal { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 900px) {
  .site-header { margin-inline: 24px; gap: 24px; }
  #main-menu { gap: 24px; }
  .nav-link { font-size: 15px; }
  .nav-cta { min-width: auto; padding-inline: 22px; }
}
@media (max-width: 720px) {
  .site-header { margin: 16px 20px 0; padding: 12px 18px; min-height: 78px; border-radius: 20px; }
  .brand, .brand svg { width: 90px; flex-basis: 90px; height: 52px; }
  .mobile-toggle { display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 16px; background: none; border: 0; font-weight: 700; }
  .menu-icon { width: 20px; height: 12px; border-block: 2px solid; transition: transform 200ms; }
  .mobile-toggle[aria-expanded="true"] .menu-icon { transform: rotate(90deg); }
  .js #main-menu { display: none; }
  #main-menu, .js #main-menu.is-open { display: flex; position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 20px; background: var(--sg-white); border-radius: 20px; align-items: stretch; flex-direction: column; gap: 8px; max-height: calc(100svh - 128px); overflow-y: auto; border: 1px solid var(--sg-black); }
  .js #main-menu.is-open { animation: mobile-menu-reveal 400ms cubic-bezier(.22,.7,.2,1) both; }
  @keyframes mobile-menu-reveal {
    from { transform: translateY(-18px); clip-path: inset(0 0 100% 0 round 20px); }
    to { transform: translateY(0); clip-path: inset(0 0 0 0 round 20px); }
  }
  .nav-link { font-size: 17px; width: 100%; justify-content: space-between; }
  .nav-link::after { right: auto; width: 36px; }
  .dropdown { position: static; border: 0; box-shadow: none; min-width: 0; padding: 6px 0 8px 10px; }
  .nav-cta { margin-top: 8px; }
  .hero { min-height: calc(100svh - 94px); }
  .hero-copy { padding-top: 42px; }
  h1 { font-size: clamp(38px,9.8vw,68px); margin-bottom: 24px; letter-spacing: -.01em; }
  .hero-description p { font-size: 16px; line-height: 1.55; }
  .desktop-break { display: none; }
  .hero-description { max-width: 480px; }
  .hero-description p + p { margin-top: 14px; }
  .cta-mask { margin-top: 20px; }
  .hero-cta { font-size: 16px; min-height: 54px; padding-inline: 28px; }
  .hero-character { width: min(500px,100vw); margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js:not(.entered) .site-header, .js:not(.entered) .line-mask > span, .js:not(.entered) .hero-description, .js:not(.entered) .hero-cta, .js:not(.entered) .hero-character { transform: none; opacity: 1; }
}

/* Budget the hero against viewport height; shrink the artwork within its row. */
.hero { height: calc(100svh - 118px); min-height: 0; }
.hero-copy { flex: 0 0 auto; padding-top: clamp(16px,3svh,32px); }
h1 { font-size: min(7.65vw,11svh,110px); margin-bottom: clamp(12px,2svh,22px); }
.hero-description p { font-size: clamp(16px,2.35svh,22px); line-height: 1.4; }
.hero-description p + p { margin-top: clamp(8px,1.3svh,12px); }
.cta-mask { margin-top: clamp(10px,1.6svh,18px); }
.hero-character { flex: 1 1 0; min-height: 0; height: auto; margin-top: 10px; width: min(610px,80vw); }
.hero-character > svg { width: 100%; height: 100%; }
@media (max-width: 720px) {
  .hero { height: calc(100svh - 94px); }
  .hero-copy { padding-top: clamp(12px,2.5svh,24px); }
  h1 { font-size: min(9.8vw,7.5svh,68px); margin-bottom: 14px; }
  .hero-description p { font-size: clamp(14px,2.05svh,16px); line-height: 1.4; }
  .hero-description p + p { margin-top: 10px; }
  .hero-cta { min-height: 48px; padding-block: 12px; }
  .hero-character { width: min(500px,96vw); margin-top: 6px; }
}
@media (max-height: 500px) and (min-width: 721px) {
  .site-header { margin-top: 12px; min-height: 66px; padding-block: 6px; }
  .brand svg { height: 48px; }
  .hero { height: calc(100svh - 78px); flex-direction: row; justify-content: center; gap: 24px; padding: 12px 30px; }
  .hero-copy { flex: 0 1 65%; padding: 0; }
  h1 { font-size: min(5vw,10svh); margin-bottom: 8px; }
  .hero-description p { font-size: 14px; }
  .desktop-break { display: none; }
  .hero-character { flex: 0 1 30%; height: 100%; margin: 0; }
  .hero-cta { min-height: 42px; padding-block: 10px; }
}

/* Keep the complete supplied mouth inside the viewport, with breathing room. */
.hero-character { padding-bottom: clamp(8px,1.5svh,16px); }
.hero-character > svg { overflow: visible; }

/* Give the desktop character a larger share of the first viewport. */
@media (min-width: 721px) and (min-height: 501px) {
  .site-header { min-height: 86px; padding-block: 11px; }
  .hero { height: calc(100svh - 110px); }
  .hero-copy { padding-top: clamp(12px,1.8svh,20px); }
  h1 { font-size: min(6.8vw,9.5svh,100px); margin-bottom: 14px; }
  .hero-description p { font-size: clamp(16px,2svh,19px); line-height: 1.4; }
  .hero-description p + p { margin-top: 8px; }
  .cta-mask { margin-top: 10px; }
  .hero-cta { min-height: 50px; padding-block: 12px; }
  .hero-character { width: min(840px,86vw); margin-top: 6px; padding-bottom: 8px; }
}

/* Wide hero: one clear headline, one caption, a larger character. */
@media (min-width: 1100px) and (min-height: 501px) {
  .hero-copy { width: 100%; padding-top: clamp(44px,7svh,80px); }
  h1 { display: flex; justify-content: center; gap: .24em; font-size: min(5.8vw,9.5svh,100px); white-space: nowrap; margin-bottom: 22px; }
  .hero-description { max-width: 850px; }
  .hero-description p { font-size: clamp(18px,2.3svh,22px); line-height: 1.45; }
  .cta-mask { margin-top: 18px; }
  .hero-cta { min-height: 54px; padding-inline: 34px; }
  .hero-character { width: min(980px,86vw); margin-top: 14px; }
}

/* Align the supplied body edge with the hero edge; mouth stays above it. */
.hero-character { padding-bottom: 0; }

/* Header trial: separate desktop navigation and CTA surfaces. */
.site-header { padding: 0; gap: 20px; background: transparent; border-radius: 0; align-items: stretch; }
.menu-panel { display: flex; align-items: center; flex: 1; min-width: 0; gap: 36px; padding: 11px 28px; border-radius: 24px; background: var(--sg-white); }
.site-header > .nav-cta { flex: 0 0 170px; min-height: 86px; margin: 0; padding: 16px 24px; border-radius: 24px; background: var(--sg-white); }
.site-header > .nav-cta:hover { background: var(--hero-accent); }
@media (min-width: 721px) and (max-width: 1000px) {
  .site-header { gap: 14px; }
  .menu-panel { padding-inline: 20px; gap: 24px; }
  #main-menu { gap: 22px; }
  .site-header > .nav-cta { flex-basis: 128px; padding-inline: 18px; }
}
@media (min-width: 721px) and (max-height: 500px) {
  .menu-panel { padding-block: 9px; }
  .site-header > .nav-cta { min-height: 66px; }
}
@media (max-width: 720px) {
  .site-header { align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; background: var(--sg-white); }
  .menu-panel { display: contents; }
  .site-header .brand { order: 1; margin-right: auto; }
  .site-header > .nav-cta { order: 2; flex: 0 0 auto; min-width: 0; min-height: 40px; border-radius: 8px; padding: 10px 14px; background: var(--hero-accent); font-size: 14px; }
  .site-header .mobile-toggle { order: 3; padding: 12px 0; font-size: 14px; }
  .site-header #main-menu { order: 4; }
}
@media (max-width: 360px) {
  .site-header { gap: 10px; padding-inline: 12px; }
  .site-header .brand, .site-header .brand svg { width: 76px; flex-basis: 76px; }
  .site-header > .nav-cta { padding-inline: 10px; }
}

/* Wide supplied “vertical” logo allows a slimmer header. */
.site-header { min-height: 68px; }
.site-header .brand { flex: 0 0 190px; }
.site-header .brand svg { width: 190px; height: 36px; }
.menu-panel { padding: 12px 24px; border-radius: 20px; }
.site-header > .nav-cta { min-height: 68px; border-radius: 20px; }
@media (min-width: 721px) and (min-height: 501px) {
  .hero { height: calc(100svh - 92px); }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .site-header .brand { flex-basis: 155px; }
  .site-header .brand svg { width: 155px; height: 32px; }
  .menu-panel { gap: 20px; padding-inline: 18px; }
  #main-menu { gap: 18px; }
}
@media (min-width: 721px) and (max-height: 500px) {
  .site-header { min-height: 62px; }
  .site-header > .nav-cta { min-height: 62px; }
  .menu-panel { padding-block: 8px; }
  .hero { height: calc(100svh - 74px); }
}
@media (max-width: 720px) {
  .site-header { min-height: 64px; padding: 10px 14px; gap: 10px; }
  .site-header .brand { flex: 0 1 142px; min-width: 0; }
  .site-header .brand svg { width: 100%; height: 30px; }
  .site-header > .nav-cta { min-height: 38px; border-radius: 8px; padding: 9px 12px; }
  .site-header .mobile-toggle { padding-block: 10px; }
  .hero { height: calc(100svh - 80px); }
}
@media (max-width: 360px) {
  .site-header { gap: 8px; padding-inline: 10px; }
  .site-header > .nav-cta { padding-inline: 8px; }
}

/* Mobile: centered stacked wordmark, CTA left, circular menu right. */
.site-header .brand .brand-mobile { display: none; }
@media (max-width: 720px) {
  .site-header { display: grid; grid-template-columns: minmax(0,1fr) 78px minmax(0,1fr); gap: 8px; padding-block: 10px; }
  .site-header .brand { grid-column: 2; grid-row: 1; justify-self: center; order: 0; margin: 0; width: 78px; height: 44px; }
  .site-header .brand .brand-desktop { display: none; }
  .site-header .brand .brand-mobile { display: block; width: 78px; height: 44px; }
  .site-header > .nav-cta { grid-column: 1; grid-row: 1; justify-self: start; order: 0; white-space: nowrap; }
  .site-header .mobile-toggle { grid-column: 3; grid-row: 1; justify-self: end; order: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--hero-accent); color: var(--sg-black); cursor: pointer; }
  .burger-icon { position: relative; display: block; width: 20px; height: 16px; }
  .burger-icon > span { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 220ms ease, opacity 160ms ease; }
  .burger-icon > span:nth-child(1) { top: 1px; }
  .burger-icon > span:nth-child(2) { top: 7px; }
  .burger-icon > span:nth-child(3) { top: 13px; }
  .mobile-toggle[aria-expanded="true"] .burger-icon > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-toggle[aria-expanded="true"] .burger-icon > span:nth-child(2) { opacity: 0; }
  .mobile-toggle[aria-expanded="true"] .burger-icon > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* Mobile hero: center the copy in its own row, above the contained artwork. */
@media (max-width: 720px) {
  .hero { display: grid; grid-template-rows: minmax(min-content,1fr) auto; justify-items: center; align-items: stretch; height: auto; min-height: calc(100svh - 80px); }
  .hero-copy { align-self: center; width: 100%; padding: 28px 20px; }
  .hero-character { width: min(500px,96vw); height: auto; aspect-ratio: 1581 / 872; margin: 0; padding: 0; }
  .hero-character > svg { display: block; width: 100%; height: 100%; }
}

/* Original header scrolls away; compact unified bar appears past the hero. */
.header-slot { height: 92px; display: flow-root; }
.site-header { position: relative; top: auto; }
html { scroll-padding-top: 20px; }
.site-header.is-compact { position: fixed; top: 12px; left: clamp(20px,5.55vw,80px); right: clamp(20px,5.55vw,80px); margin: 0; min-height: 56px; padding: 6px 10px 6px 20px; gap: 24px; align-items: center; border-radius: 16px; background: var(--sg-white); box-shadow: 0 4px 18px #11111112; }
.site-header.is-compact .menu-panel { background: transparent; border-radius: 0; padding: 0; gap: 24px; }
.site-header.is-compact .brand { flex-basis: 155px; }
.site-header.is-compact .brand svg { width: 155px; height: 28px; }
.site-header.is-compact > .nav-cta { flex: 0 0 auto; min-width: 120px; min-height: 42px; padding: 10px 22px; border-radius: 12px; background: var(--hero-accent); font-size: 15px; }
.site-header.is-compact #main-menu { gap: clamp(20px,3vw,44px); }
.site-header.is-compact .nav-link { font-size: 15px; padding-block: 10px; }
@media(min-width:721px) and (max-width:1000px) {
  .site-header.is-compact { left: 24px; right: 24px; gap: 18px; padding-left: 16px; }
  .site-header.is-compact .brand { flex-basis: 130px; }
  .site-header.is-compact .brand svg { width: 130px; }
  .site-header.is-compact #main-menu { gap: 18px; }
  .site-header.is-compact > .nav-cta { min-width: 100px; padding-inline: 14px; }
}
@media(max-width:720px) {
  .header-slot { height: 80px; }
  .site-header.is-compact { left: 20px; right: 20px; top: 8px; padding: 6px 10px; gap: 8px; }
  .site-header.is-compact .brand { width: 64px; height: 36px; }
  .site-header.is-compact .brand .brand-mobile { width: 64px; height: 36px; }
  .site-header.is-compact > .nav-cta { min-width: 0; min-height: 38px; padding: 9px 8px; font-size: 13px; border-radius: 8px; }
  .site-header.is-compact #main-menu { gap: 8px; }
  .site-header.is-compact .nav-link { font-size: 17px; }
}
@media(min-width:721px) and (max-height:500px) { .header-slot { height: 74px; } }
.hero-scroll-arrow{display:inline-block;margin-inline-start:.3em}
