/* ============================================
   SMILEY FACE HAMBURGER
   Shared stylesheet
   ============================================ */

:root {
  --navy-deep:   #16202F;
  --navy-plate:  #2B3A4F;
  --navy-line:   #3A4C66;
  --cream:       #F2EEE3;
  --cream-dim:   #B9BFC9;
  --ketchup:     #C8321E;
  --yolk:        #F5A623;
  --cucumber:    #7FA648;

  --display: 'Fredoka', system-ui, sans-serif;
  --body:    'Karla', system-ui, sans-serif;

  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

:focus-visible {
  outline: 3px solid var(--yolk);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 2.1vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yolk);
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--cream-dim);
  max-width: 54ch;
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section + .section { border-top: 1px solid rgba(255,255,255,0.07); }

/* ---------- Ketchup smile (signature) ---------- */

.smile { display: block; width: clamp(140px, 26vw, 230px); height: auto; overflow: visible; }
.smile path, .smile circle { fill: none; stroke: var(--ketchup); }
.smile path { stroke-width: 13; stroke-linecap: round; }
.smile circle { fill: var(--ketchup); stroke: none; }

.smile .arc {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw 1.1s cubic-bezier(.5,0,.2,1) .45s forwards;
}
.smile .dot { opacity: 0; animation: pop .3s ease-out forwards; }
.smile .dot:nth-of-type(1) { animation-delay: 1.4s; }
.smile .dot:nth-of-type(2) { animation-delay: 1.55s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop  { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

/* ---------- Header ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22,32,47,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 66px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--yolk); display: block; font-size: 0.72rem; letter-spacing: 0.1em; }

.nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--ketchup); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3.5rem, 10vw, 8rem) clamp(3rem, 7vw, 6rem); }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--yolk); }
.hero .smile { margin-block: clamp(1.75rem, 4vw, 2.75rem); }
.hero .kicker {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 2rem);
  font-weight: 500;
  max-width: 22ch;
  margin: 0;
  color: var(--cream);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--ketchup);
  color: var(--cream);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #DB3A24; }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 2px var(--navy-line);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); }

/* ---------- Plates (gallery) ---------- */

.plates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.plate { text-align: center; }

.plate__disc {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, #35486180 0%, transparent 62%),
    var(--navy-plate);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.09),
    inset 0 0 0 9px rgba(0,0,0,0.13),
    0 14px 30px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .25s ease;
}
.plate:hover .plate__disc { transform: translateY(-5px); }
.plate__disc img { width: 100%; height: 100%; object-fit: cover; }

.plate__soon {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,238,227,0.32);
}

.plate__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1rem 0 0.3rem;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.tag--easy { color: var(--cucumber); box-shadow: inset 0 0 0 1px rgba(127,166,72,0.45); }
.tag--show { color: var(--yolk);     box-shadow: inset 0 0 0 1px rgba(245,166,35,0.45); }

/* ---------- Signup ---------- */

.signup {
  background: var(--navy-plate);
  border-radius: 22px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}
.signup h2 { max-width: 18ch; }
.signup p { color: var(--cream-dim); max-width: 46ch; }

.signup__row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.signup__row input {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 0;
  background: var(--navy-deep);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--navy-line);
}
.signup__row input::placeholder { color: #6C7A8C; }
.signup__note { font-size: 0.85rem; color: #6C7A8C; margin-top: 1rem; }
.signup__done { color: var(--cucumber); font-weight: 700; margin-top: 1.25rem; }
[hidden] { display: none !important; }

/* ---------- Prose ---------- */

.prose { max-width: 60ch; }
.prose p { margin-block: 0 1.35rem; }
.prose p.big {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--cream);
}

/* ---------- Tier cards ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2.5rem;
}
.tier {
  background: var(--navy-plate);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}
.tier h3 { margin-bottom: 0.6rem; }
.tier p { color: var(--cream-dim); margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */

.contact-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.5rem; }
.contact-list li { border-top: 1px solid rgba(255,255,255,0.09); padding-top: 1.25rem; }
.contact-list .label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--yolk); display: block; margin-bottom: 0.35rem;
}
.contact-list a { color: var(--cream); text-decoration: none; font-family: var(--display); font-size: 1.15rem; }
.contact-list a:hover { color: var(--yolk); }

/* ---------- Footer ---------- */

.foot {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 2.5rem 3rem;
  font-size: 0.85rem;
  color: #6C7A8C;
}
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .smile .arc { stroke-dashoffset: 0; }
  .smile .dot { opacity: 1; }
}

/* ============================================
   SPLASH PAGE ADDITIONS
   ============================================ */

.topbar {
  background: var(--cream);
  border-bottom: 0;
  position: sticky; top: 0; z-index: 50;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px; flex-wrap: wrap;
}
.topbar .wordmark { color: var(--navy-deep); }
.topbar .wordmark span { color: var(--carrot, #E07B25); }
.topbar .nav a { color: #4A5B72; }
.topbar .nav a:hover { color: var(--navy-deep); }
.topbar .nav a[aria-current="page"] { color: var(--navy-deep); }

.splash-hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.splash-hero .eyebrow { letter-spacing: 0.22em; }
.splash-hero h1 { max-width: 15ch; }
.splash-hero .smile { margin-block: 1.5rem 1.75rem; }
.splash-hero .lede { margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.notice {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--yolk);
  background: rgba(245,166,35,0.07);
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  color: var(--cream-dim);
  max-width: 60ch;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
  list-style: none; padding: 0; margin: 2.5rem 0 0;
}
.tile { margin: 0; }
.tile figure { margin: 0; }
.tile img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 14px;
  background: var(--navy-plate);
  box-shadow: 0 10px 24px rgba(0,0,0,0.32);
  transition: transform .22s ease;
}
.tile:hover img { transform: translateY(-4px); }
.tile figcaption {
  font-family: var(--display); font-weight: 500;
  font-size: 0.92rem; margin-top: 0.6rem; color: var(--cream-dim);
}

.sheets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none; padding: 0; margin: 2.5rem 0 0;
}
.sheets img {
  width: 100%; border-radius: 12px; background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.sheets figcaption {
  font-family: var(--display); font-size: 0.88rem;
  margin-top: 0.55rem; color: var(--cream-dim);
}

/* ---------- Merch ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  list-style: none; padding: 0; margin: 2.75rem 0 0;
}
.product figure { margin: 0; }
.product img {
  width: 100%; border-radius: 16px; display: block;
  box-shadow: 0 12px 26px rgba(0,0,0,0.32);
  transition: transform .22s ease;
}
.product:hover img { transform: translateY(-4px); }
.product__name {
  font-family: var(--display); font-weight: 600;
  font-size: 1.02rem; margin: 0.9rem 0 0.25rem;
}
.product__meta { font-size: 0.87rem; color: #6C7A8C; margin: 0; }

.soon-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.9rem; max-width: 40rem; }
.soon-list li {
  display: flex; gap: 0.9rem; align-items: baseline;
  border-top: 1px solid rgba(255,255,255,0.09); padding-top: 0.9rem;
}
.soon-list strong { font-family: var(--display); font-weight: 600; color: var(--cream); min-width: 8.5rem; }
.soon-list span { color: var(--cream-dim); font-size: 0.94rem; }

/* ============================================
   BRAND LOGO + HERO BURGER
   ============================================ */

.topbar .logo-lockup { display: block; }
.topbar .logo-lockup img { height: 54px; width: auto; }
@media (max-width: 560px) { .topbar .logo-lockup img { height: 42px; } }

.brand-hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem);
}
.brand-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .brand-hero .wrap { grid-template-columns: 1fr; }
  .brand-hero__art { order: -1; max-width: 380px; margin-inline: auto; }
}

.brand-hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);
  max-width: 13ch;
}
.brand-hero .smile { width: clamp(150px, 22vw, 210px); margin-block: 1.25rem 1.5rem; }
.brand-hero .lede { margin: 0 0 1.9rem; }
.brand-hero__art img { width: 100%; height: auto; filter: drop-shadow(0 26px 44px rgba(0,0,0,0.55)); }

.pill-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 1.9rem; padding: 0; list-style: none;
  font-family: var(--display); font-weight: 500;
  font-size: 0.95rem; color: var(--yolk);
}
.pill-row li { display: flex; align-items: center; gap: 0.55rem; }
.pill-row li::before { content: "•"; color: var(--ketchup); font-size: 1.2rem; line-height: 1; }
.pill-row li:first-child::before { display: none; }

.foot__logo { height: 46px; width: auto; opacity: 0.75; }

/* ============================================
   LOGO LOCKUP — real type + original ketchup smile
   ============================================ */

.lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.86;
  text-decoration: none;
  gap: 0;
}
.lockup__top {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--cream);
  text-align: center;
  font-size: var(--lockup-size, 1.5rem);
  text-transform: uppercase;
}
.lockup__smile {
  display: block;
  width: calc(var(--lockup-size, 1.5rem) * 3.05);
  height: auto;
  margin-block: calc(var(--lockup-size, 1.5rem) * -0.06) calc(var(--lockup-size, 1.5rem) * -0.02);
}
.lockup__bottom {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--yolk);
  font-size: calc(var(--lockup-size, 1.5rem) * 0.5);
  text-transform: uppercase;
}

/* on the cream navbar */
.topbar .lockup { --lockup-size: 1.45rem; }
.topbar .lockup__top { color: var(--navy-deep); }
.topbar .lockup__bottom { color: var(--carrot, #E07B25); }
@media (max-width: 560px) { .topbar .lockup { --lockup-size: 1.15rem; } }

/* footer */
.foot .lockup { --lockup-size: 1rem; opacity: 0.8; }
