/* =========================================================================
   SUNNY ICE CREAM — bright, warm, handcrafted design system
   Edit the variables below to retune the whole site at once.
   ========================================================================= */

:root {
  /* Palette ------------------------------------------------------------- */
  --paper:        #FFFCF5;   /* primary background, warm sunny white        */
  --paper-soft:   #FBF2E2;   /* cream, alternating sections                 */
  --paper-deep:   #F4E7CE;   /* deeper cream, cards / placeholders          */
  --ink:          #2A211A;   /* primary text, warm near-black               */
  --ink-soft:     #7C6E5E;   /* secondary text                             */
  --line:         rgba(42, 33, 26, 0.13);  /* hairline borders             */
  --red:          #E64B37;   /* Sunny Red — primary accent                 */
  --red-deep:     #C73A28;   /* darker red for hovers                      */
  --yellow:       #F7C948;   /* Sunshine Yellow — happy accent             */
  --yellow-soft:  #FDE9A8;   /* pale sunshine, washes & badges             */

  /* Typography ---------------------------------------------------------- */
  --display: "Fredoka", "Trebuchet MS", -apple-system, sans-serif;  /* rounded, retro, bubbly */
  --sans:    "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm -------------------------------------------------------------- */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);
  --radius: 16px;          /* friendly, rounded corners                   */
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* Accessibility ---------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }
.skip-link {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  margin: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* Typography ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.002em;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
}

/* Sunshine accent mark (replaces Kisoya's kana) ------------------------- */
.sun {
  display: inline-block;
  color: var(--yellow);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.04));
}

/* Layout helpers --------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--paper-soft); }
.section--cream { background: var(--paper-deep); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--red);
  border-radius: 999px;          /* pill — playful & friendly */
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ghost { background: transparent; color: var(--red); }
.btn--ghost:hover { background: var(--red); color: #fff; }
.btn--sun { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--sun:hover { background: #f3bf2e; border-color: #f3bf2e; }
.btn--light { border-color: #fff; color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--red); }
.btn--light-solid { background: #fff; color: var(--red); border-color: #fff; }
.btn--light-solid:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.textlink:hover { color: var(--red-deep); border-color: var(--red); }
.textlink::after { content: "→"; transition: transform 0.3s var(--ease); }
.textlink:hover::after { transform: translateX(4px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--gutter);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 252, 245, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  padding-block: 0.85rem;
  box-shadow: 0 2px 24px -16px rgba(42, 33, 26, 0.5);
}
.brand {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.brand .brand-sun { color: var(--yellow); font-size: 1.15em; line-height: 1; }
.brand img { height: 40px; width: auto; display: block; }
.site-header.on-hero:not(.is-scrolled) .brand { color: #fff; }
.site-header.on-hero:not(.is-scrolled) .nav a,
.site-header.on-hero:not(.is-scrolled) .nav-toggle span { color: #fff; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transition: width 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a:hover { color: var(--red); }
.nav .nav-cta {
  border: 2px solid var(--red);
  color: var(--red);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--red); color: #fff; }
.site-header.on-hero:not(.is-scrolled) .nav .nav-cta { border-color: #fff; color: #fff; }
.site-header.on-hero:not(.is-scrolled) .nav .nav-cta:hover { background: #fff; color: var(--red); }

.nav-toggle { display: none; width: 28px; height: 20px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 3px;
  background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #f7a23a 0%, #ef6b3d 42%, #e64b37 100%);
  background-size: cover;
  background-position: center;
}
.hero__media img { width:100%; height:100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,20,10,0.42) 0%, rgba(40,20,10,0.16) 34%, rgba(40,20,10,0.82) 100%);
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 12vh, 8rem);
}
.hero .eyebrow { color: var(--yellow-soft); }
.hero h1 {
  margin: 1.1rem 0 1.3rem;
  max-width: 15ch;
  font-weight: 600;
  text-shadow: 0 2px 30px rgba(60,30,12,0.25);
}
.hero__tagline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  color: rgba(255,255,255,0.96);
  max-width: 32ch;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.hero__scroll::after {
  content: ""; width: 2px; height: 44px; border-radius: 2px;
  background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0));
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =========================================================================
   GENERIC SECTIONS
   ========================================================================= */
.statement {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.statement .sun { display:block; font-size: 2.6rem; margin-bottom: 1rem; }
.statement h2 { margin-bottom: 1.4rem; }
.statement p { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--ink-soft); }

.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { display:block; margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); }

/* =========================================================================
   MILKSHAKE CALLOUT — signature differentiator (home)
   ========================================================================= */
.shake-callout {
  position: relative;
  background: linear-gradient(135deg, var(--red) 0%, #ef6b3d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4.6rem);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.shake-callout::before {            /* big soft sun behind the copy */
  content: "";
  position: absolute;
  top: -30%; right: -8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(247,201,72,0.55) 0%, rgba(247,201,72,0) 68%);
  pointer-events: none;
}
.shake-callout__body { position: relative; }
.shake-callout .eyebrow { color: var(--yellow-soft); display:block; margin-bottom: 1rem; }
.shake-callout h2 { color: #fff; margin-bottom: 1.2rem; }
.shake-callout p { color: rgba(255,255,255,0.95); font-size: 1.08rem; max-width: 42ch; }
.shake-callout p + p { margin-top: 1rem; }
.shake-callout .btn { margin-top: 2rem; }
.shake-callout__art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.shake-callout__art img { width: 100%; max-width: 280px; filter: drop-shadow(0 24px 40px rgba(60,20,10,0.35)); }

/* Inline emphasis pill ("never milk + syrup") */
.tag-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95em;
  padding: 0.05em 0.5em;
  border-radius: 8px;
}

/* =========================================================================
   FEATURE CARDS (values / "what sunny is")
   ========================================================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.value-card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.4vw, 2.8rem) clamp(1.6rem, 3vw, 2.2rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -28px rgba(230,75,55,0.5); border-color: var(--red); }
.value-card .num {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--red);
}
.value-card .ico { font-size: 2.2rem; line-height: 1; display:block; margin-bottom: 0.6rem; }
.value-card h3 { margin: 0.6rem 0 0.7rem; font-weight: 600; }
.value-card p { color: var(--ink-soft); font-size: 1rem; }

/* Split feature ---------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: clamp(2rem, 6vw, 5rem);
}
.split--flip .split__media { order: 2; }
.split__media { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; }
.split__media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.split__media--logo {
  background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.split__media--logo img {
  position: static;
  width: auto; height: auto;
  max-width: 100%; max-height: 240px;
  object-fit: contain;
}
.split__body { align-self: center; max-width: 34rem; }
.split__body .eyebrow { display:block; margin-bottom: 1.1rem; }
.split__body h2 { margin-bottom: 1.3rem; }
.split__body blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.split__body .sign {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 1.4rem 0 1.8rem;
}

/* Brands / family strip -------------------------------------------------- */
.brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.brand-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px -28px rgba(42,33,26,0.5); }
.brand-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.brand-card__media img { width:100%; height:100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.brand-card:hover .brand-card__media img { transform: scale(1.05); }
.brand-card__body { padding: 1.7rem; display:flex; flex-direction:column; gap:0.7rem; flex:1; }
.brand-card__body h3 { font-weight: 600; }
.brand-card__tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.brand-card__body p { font-size: 0.96rem; color: var(--ink-soft); flex:1; }

/* =========================================================================
   FLAVORS / MENU
   ========================================================================= */
.menu-note {
  max-width: 44rem; margin: 0 auto clamp(2.5rem,6vw,3.5rem);
  text-align: center; color: var(--ink-soft);
}
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.flavor {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.flavor:hover { border-color: var(--yellow); transform: translateY(-3px); }
.flavor__top { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; }
.flavor h3 { font-size: 1.25rem; font-weight: 600; }
.flavor .price { font-family: var(--display); font-weight: 600; color: var(--red); white-space: nowrap; }
.flavor p { font-size: 0.95rem; color: var(--ink-soft); }
.flavor .chip {
  align-self: flex-start;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--yellow-soft); color: var(--red-deep);
  padding: 0.25em 0.7em; border-radius: 999px;
}

/* Today's flavors — the "what's on the board now" box up top */
.today {
  background:
    radial-gradient(120% 90% at 50% -10%, var(--yellow-soft) 0%, transparent 60%),
    var(--paper);
  border-top: 4px solid var(--yellow);
}
.today .section-head .eyebrow { color: var(--red); }
.today__asof {
  font-family: var(--display); font-weight: 600;
  color: var(--red); letter-spacing: 0.02em;
}

/* Menu section heading band */
.menu-band {
  display: flex; align-items: center; gap: 1rem;
  margin: clamp(2.5rem,6vw,4rem) 0 clamp(1.4rem,3vw,2rem);
}
.menu-band h2 { white-space: normal; color: var(--red); text-transform: uppercase; font-weight: 700; letter-spacing: 0.03em; }
@media (max-width: 600px) {
  .menu-band { flex-wrap: wrap; }
  .menu-band h2 { font-size: 1.7rem; }
  .menu-band::after { flex-basis: 100%; }
}
.menu-band::after { content:""; flex:1; height:2px; background: var(--red); opacity: 0.22; border-radius:2px; }
.menu-band .sun { font-size: 1.6rem; }
.menu-badge { width: 48px; height: 48px; flex-shrink: 0; }

/* Logo tiles in the family / brand cards */
.brand-card__media--logo {
  aspect-ratio: 4 / 3;
  background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.brand-card__media--logo img {
  position: static;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.brand-card:hover .brand-card__media--logo img { transform: none; }

/* Photo gallery ("Fresh from the shop") */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  display: block;
}
.gallery figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: center;
}

/* Centered framed photo */
.figure {
  max-width: 360px;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
}
.figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--line);
  display: block;
}

/* Milkshake badge note (the differentiator on the menu) */
.shake-badge {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--red); color:#fff;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  font-weight: 700;
  margin-bottom: clamp(1.4rem,3vw,2rem);
}
.shake-badge .sun { color: var(--yellow); font-size: 1.4rem; }
.shake-badge span { font-size: 0.98rem; }

/* Data-driven menu layout (pricing + flavor list) ----------------------- */
.menu-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.5fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.menu-prices {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
}
.menu-prices .note { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.price-row {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row .price { font-family: var(--display); font-weight: 600; color: var(--red); white-space: nowrap; }
.flavor-list { columns: 2; column-gap: 2.5rem; }
.flavor-list li {
  break-inside: avoid;
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-size: 1.02rem;
}
.flavor-list li::before { content: "☀"; position: absolute; left: 0; color: var(--yellow); }
@media (max-width: 720px) {
  .menu-layout { grid-template-columns: 1fr; }
  .flavor-list { columns: 1; }
}

/* =========================================================================
   VISIT BAND
   ========================================================================= */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 2rem; margin-top: 1.6rem; }
.visit dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); padding-top: 4px; }
.visit dd { font-size: 1rem; }
.visit__map {
  min-height: 340px;
  background: var(--paper-deep);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
}
.visit__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* =========================================================================
   INTERIOR PAGES
   ========================================================================= */
.page-hero {
  padding: clamp(8rem, 18vh, 12rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
  border-bottom: 2px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .sun-deco {
  position: absolute; top: 14%; left: 50%; transform: translateX(-50%);
  font-size: clamp(3rem, 10vw, 6rem); opacity: 0.5; pointer-events: none;
}
.page-hero .eyebrow { display:block; margin-bottom: 1rem; position: relative; }
.page-hero h1 { max-width: 20ch; margin-inline: auto; position: relative; }
.page-hero p { margin: 1.3rem auto 0; max-width: 48ch; color: var(--ink-soft); position: relative; }

/* Prose ------------------------------------------------------------------ */
.prose { max-width: 42rem; margin-inline: auto; }
.prose .eyebrow { display:block; text-align:center; margin-bottom: 1.8rem; }
.prose p { margin-bottom: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.85; }
.prose .first { font-family: var(--display); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.4; color: var(--red); }
.prose ul { margin: 0 0 1.4rem; }
.prose ul li { font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.85; padding-left: 1.6rem; position: relative; }
.prose ul li::before { content: "☀"; position: absolute; left: 0; color: var(--yellow); }
.prose .signoff { font-family: var(--display); font-weight: 500; font-size: 1.4rem; color: var(--red); margin-top: 2.2rem; }
.prose hr { border:0; height:2px; background: var(--line); margin: 2.4rem 0; border-radius:2px; }

/* "How it's made" step list ---------------------------------------------- */
.steps { counter-reset: step; max-width: 46rem; margin-inline: auto; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem 1.6rem;
  align-items: start;
  padding: 1.8rem 0;
  border-bottom: 2px solid var(--line);
}
.step:first-child { border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--display); font-weight: 600; font-size: 1.4rem;
  width: 3rem; height: 3rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow-soft); color: var(--red-deep);
}
.step h3 { font-weight: 600; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 1.02rem; }

/* Photo placeholder ------------------------------------------------------ */
.photo {
  aspect-ratio: 16 / 8;
  background: var(--paper-deep);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.photo .eyebrow { color: var(--ink-soft); }

/* =========================================================================
   FORMS
   ========================================================================= */
.form-wrap { max-width: 44rem; margin-inline: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.7rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1rem; width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.field .hint { font-size: 0.8rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 400; }
.form-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note { font-size: 0.84rem; color: var(--ink-soft); }

.form-success {
  display: none; text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--paper-soft); border: 2px solid var(--line); border-radius: var(--radius-lg);
}
.form-success.show { display: block; }
.form-success .sun { font-size: 3rem; display:block; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.8rem; }
.form-success p { color: var(--ink-soft); max-width: 40ch; margin-inline: auto; }
form.hide { display: none; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem;
}
.site-footer a { color: rgba(255,255,255,0.75); transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.footer-brand { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color:#fff; display:inline-flex; align-items:center; gap:0.4rem; }
.footer-brand .brand-sun { color: var(--yellow); }
.footer-brand img { height: 42px; width: auto; display: block; }
.footer-brand + p { margin-top: 1rem; max-width: 28ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 1.2rem;
}
.footer-col li { margin-bottom: 0.65rem; font-size: 0.95rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}

/* =========================================================================
   STICKY MOBILE CTA
   ========================================================================= */
.mobile-cta {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 60;
  padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(255, 252, 245, 0.96); backdrop-filter: blur(8px);
  border-top: 2px solid var(--line); gap: 0.7rem;
}
.mobile-cta .btn { flex: 1; padding-block: 0.85rem; font-size: 0.76rem; }

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in,
html.reveal-all .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll::after { animation: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 920px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { min-height: 300px; }
  .visit { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; max-width: 26rem; margin-inline:auto; }
  .shake-callout { grid-template-columns: 1fr; text-align: center; }
  .shake-callout p { margin-inline: auto; }
  .shake-callout__art { order: -1; }
  .shake-callout__art img { max-width: 200px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    gap: 2rem; background: var(--paper);
    transform: translateX(100%); transition: transform 0.5s var(--ease);
  }
  body.nav-open .nav { transform: none; }
  .nav a { font-size: 1.05rem; color: var(--ink) !important; }
  .nav .nav-cta { padding: 0.7rem 1.8rem; }
  .nav-toggle { display: block; z-index: 70; }
  .site-header.on-hero:not(.is-scrolled) .nav-toggle span { background:#fff; }
  body.nav-open .nav-toggle span { background: var(--ink) !important; }
  .grid-3 { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 6.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { align-items: center; }
  .hero__inner { padding-bottom: 0; padding-top: 6rem; }
  .hero__scroll { display: none; }
  .step { grid-template-columns: 1fr; gap: 0.6rem; }
  .step::before { margin-bottom: 0.4rem; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---- interactive sunny art (home page promo video) --------------------- */
.sunny-art {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 18px 48px rgba(42, 33, 26, 0.18);
}
.sunny-art__tilt { transition: transform 0.2s ease-out; will-change: transform; }
.sunny-art__video, .sunny-art__still { display: block; width: 100%; height: auto; }
.sunny-art__hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(42, 33, 26, 0.55);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.sunny-art:hover .sunny-art__hint { opacity: 1; }
.sunny-sprinkle {
  position: absolute;
  width: 7px;
  height: 12px;
  border-radius: 999px;
  pointer-events: none;
  animation: sunny-sprinkle-pop 0.9s ease-out forwards;
}
@keyframes sunny-sprinkle-pop {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx, 0px), calc(var(--dy, -20px) + 48px)) rotate(var(--spin, 200deg)) scale(0.7); }
}

/* ---- hero promo video (layers over the hero photo) ---------------------- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
