/* ============================================================
   A & C's Ohana Ice — retro aloha-poster redesign
   Palette pulled from the logo (hibiscus red / white script)
   and the trailer paint (lagoon teal / coral).
   ============================================================ */

:root {
  --red: #e02128;
  --red-deep: #b5121b;
  --red-dark: #8f0e15;
  --cream: #fff4e4;
  --cream-soft: #fffaf1;
  --sand: #f9e8cd;
  --teal: #17a2a0;
  --teal-deep: #0d7c7c;
  --teal-ink: #0a4a4d;
  --coral: #ff8a70;
  --sun: #ffc94d;
  --ink: #43151a;

  --font-display: "Shrikhand", "Georgia", serif;
  --font-script: "Kaushan Script", cursive;
  --font-body: "Karla", "Segoe UI", sans-serif;

  --radius: 22px;
  --shadow: 0 14px 40px -12px rgba(67, 21, 26, 0.28);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.12; font-weight: 400; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: 0.01em;
}

.container { width: min(1120px, 92vw); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 0; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- kickers & section intros ---------- */

.kicker {
  font-family: var(--font-script);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--teal-deep);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 0.35rem;
}
.kicker-cream { color: var(--sun); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }

.section-sub {
  max-width: 46ch;
  margin: 0.9rem 0 2.4rem;
  font-size: 1.06rem;
  color: rgba(67, 21, 26, 0.78);
}
.section-sub-cream { color: rgba(255, 244, 228, 0.85); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 3px solid transparent;
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s, background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-cream {
  background: var(--cream); color: var(--red-deep);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.45);
}
.btn-cream:hover { background: #fff; }

.btn-outline {
  border-color: var(--cream); color: var(--cream); background: rgba(67, 21, 26, 0.18);
  backdrop-filter: blur(3px);
}
.btn-outline:hover { background: rgba(255, 244, 228, 0.16); }

/* ---------- CSS-only scalloped dividers (no SVG) ---------- */

.scallop {
  position: absolute; left: 0; right: 0; height: 26px; z-index: 3;
  --dot: var(--cream);
  background: radial-gradient(circle at 50% 100%, var(--dot) 0 55%, transparent 56%);
  background-size: 52px 26px;
  background-repeat: repeat-x;
  bottom: -1px;
}

.scallop-cream { --dot: var(--cream); }
.scallop-red-top    { --dot: var(--red); top: -25px; bottom: auto; transform: scaleY(-1); }
.scallop-red-bottom { --dot: var(--red-deep); bottom: -25px; top: auto; }
.scallop-teal-top   { --dot: var(--teal-deep); top: -25px; bottom: auto; transform: scaleY(-1); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--red);
  background-image: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 6px 24px -6px rgba(143, 14, 21, 0.5);
}

.nav-inner {
  width: min(1180px, 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-logo {
  width: 46px; height: auto; border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease-pop);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--cream); }
.brand-text em { font-family: var(--font-script); font-style: normal; font-size: 0.8rem; opacity: 0.9; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a {
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: 0.97rem;
  padding: 0.3rem 0; position: relative;
}
.nav-links a:not(.nav-cta):not(.nav-social)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--sun);
  transition: right 0.28s var(--ease-pop);
}
.nav-links a:not(.nav-cta):not(.nav-social):hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 0.55rem; }
.nav-socials { display: flex; align-items: center; gap: 0.4rem; }
.nav-socials .nav-social {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  padding: 0;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(255, 244, 228, 0.48);
  border-radius: 50%;
  transition: transform 0.22s var(--ease-pop), background 0.22s, color 0.22s;
}
.nav-social i { font-size: 1.05rem; line-height: 1; }
.nav-socials .nav-social:hover {
  background: var(--cream);
  color: var(--red-deep);
  transform: translateY(-2px);
}
.nav-social:focus-visible,
.footer-socials a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

@media (min-width: 821px) and (max-width: 1000px) {
  .nav-links { gap: 0.85rem; }
}

.nav-cta {
  background: var(--sun); color: var(--ink) !important;
  padding: 0.5rem 1.15rem !important; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease-pop);
}
.nav-cta:hover { transform: translateY(-2px) rotate(-1.5deg); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 0.6rem; cursor: pointer;
}
.nav-burger span {
  width: 26px; height: 3px; border-radius: 3px; background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: min(88svh, 820px);
  display: flex; align-items: flex-start;
  padding: clamp(4.5rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  isolation: isolate; overflow: hidden;
}

.hero-photo, .hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center; z-index: -2;
}
.hero-photo img { animation: heroDrift 22s ease-in-out infinite alternate; }

@keyframes heroDrift {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08); }
}

/* keep the sunset sky glowing; darken only where the text sits */
.hero-tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(67, 21, 26, 0.28) 0%, transparent 30%),
    linear-gradient(75deg, rgba(67, 21, 26, 0.78) 0%, rgba(67, 21, 26, 0.42) 38%, transparent 62%),
    linear-gradient(0deg, rgba(67, 21, 26, 0.55) 0%, transparent 42%);
}

.hero-content {
  width: min(1120px, 92vw); margin-inline: auto;
  max-width: none; text-align: left;
}
.hero-content > * { max-width: 620px; }

.hero-script {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--red-deep);
  background: rgba(255, 244, 228, 0.92);
  padding: 0.28rem 0.8rem 0.32rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.7);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  color: var(--cream);
  text-shadow: 0 4px 0 rgba(143, 14, 21, 0.7), 0 14px 40px rgba(0, 0, 0, 0.5);
  margin: 0.4rem 0 0.9rem;
}

.hero-sub {
  color: rgba(255, 244, 228, 0.94);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.7rem;
  max-width: 46ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

@media (max-width: 640px) {
  .hero { align-items: center; text-align: center; }
  .hero-content { text-align: center; display: grid; justify-items: center; }
  .hero-photo, .hero-photo img { object-position: 78% center; }
  .hero-cta { justify-content: center; }
}

/* ---------- combos ---------- */

.section-combos { background: var(--cream); padding-bottom: clamp(4.5rem, 9vw, 7.5rem); }

.combo-groups { display: grid; gap: clamp(2.4rem, 6vw, 4rem); }

.combo-group-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  background: var(--sand);
  border: 1px solid rgba(224, 33, 40, 0.14);
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}
.combo-group-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  color: var(--red-deep);
}
.combo-group-header p { margin-top: 0.2rem; color: rgba(67, 21, 26, 0.7); }

.combo-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(78px, 1fr));
  gap: 0.55rem;
  flex: 0 1 330px;
}
.combo-prices div {
  background: rgba(255, 250, 241, 0.82);
  border-radius: 13px;
  padding: 0.55rem 0.7rem;
  text-align: center;
}
.combo-prices dt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(67, 21, 26, 0.62);
}
.combo-prices dd { font-size: 1.08rem; font-weight: 800; color: var(--ink); }

.combo-group-premium .combo-group-header {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-color: transparent;
  box-shadow: 0 12px 30px -18px rgba(143, 14, 21, 0.7);
}
.combo-group-premium .combo-group-header h3 { color: var(--cream); }
.combo-group-premium .combo-group-header p { color: rgba(255, 244, 228, 0.85); }
.combo-group-premium .combo-prices div { background: rgba(255, 244, 228, 0.13); }
.combo-group-premium .combo-prices dt { color: rgba(255, 244, 228, 0.72); }
.combo-group-premium .combo-prices dd { color: var(--cream); }
.combo-group-premium .combo-row { border-left-color: var(--sun); }

@media (max-width: 700px) {
  .combo-group-header { align-items: stretch; flex-direction: column; gap: 0.9rem; }
  .combo-prices { flex-basis: auto; width: 100%; }
  .combo-prices div { padding-inline: 0.35rem; }
}

.combo-list {
  list-style: none;
  display: grid; gap: 0.55rem 2.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .combo-list { grid-template-columns: 1fr 1fr; } }

.combo-row {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-body); color: var(--ink);
  background: var(--cream-soft);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 14px -8px rgba(67, 21, 26, 0.3);
  border: 0;
  border-left: 5px solid var(--red);
}

.rudyhana-trigger {
  -webkit-appearance: none;
  appearance: none;
  cursor: default;
}
.rudyhana-trigger:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}

.combo-row-text { flex: 1; min-width: 0; display: block; }
.combo-row-name {
  display: block;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--red-deep);
  letter-spacing: 0.01em; line-height: 1.3;
}
.combo-row-flavors { display: block; font-size: 0.88rem; color: rgba(67, 21, 26, 0.72); }

.combo-badge {
  display: inline-block; vertical-align: 2px;
  background: var(--sun); color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.16rem 0.55rem; border-radius: 999px;
  margin-left: 0.35rem;
  transform: rotate(-2deg);
}

/* ---------- flavors ---------- */

.section-flavors {
  background: var(--red);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.07) 0 90px, transparent 91px),
    radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.06) 0 130px, transparent 131px),
    radial-gradient(circle at 70% 12%, rgba(0, 0, 0, 0.05) 0 70px, transparent 71px),
    linear-gradient(165deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--cream);
  margin-block: 25px;
}
.section-flavors h2 { color: var(--cream); text-shadow: 0 3px 0 rgba(143, 14, 21, 0.8); }

.flavor-wall { display: flex; flex-wrap: wrap; gap: 0.65rem; list-style: none; }

.flavor-note {
  margin-top: 1.25rem;
  color: rgba(255, 244, 228, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.flavor-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--cream-soft); color: var(--ink);
  font-weight: 700; font-size: 0.95rem;
  padding: 0.55rem 1.05rem 0.55rem 0.7rem; border-radius: 999px;
  box-shadow: 0 5px 14px -4px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-pop);
}
.flavor-chip:hover { transform: translateY(-3px) rotate(-1.5deg) scale(1.04); }
.flavor-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--dot, var(--teal));
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.22), inset 0 2px 3px rgba(255, 255, 255, 0.5);
}

/* ---------- toppings ---------- */

.section-toppings { background: var(--cream); }

.toppings-title-row {
  width: min(720px, 100%);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.topping-price {
  background: var(--red-deep);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.3rem 0.65rem 0.34rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.topping-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.topping-card {
  background: var(--cream-soft);
  border: 3px dashed rgba(224, 33, 40, 0.4);
  border-radius: var(--radius);
  padding: 1.4rem 1rem 1.2rem;
  text-align: center;
  transition: transform 0.28s var(--ease-pop), border-color 0.28s, box-shadow 0.28s;
}
.topping-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.topping-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--red-deep); }
.topping-card p { font-size: 0.82rem; color: rgba(67, 21, 26, 0.65); margin-top: 0.2rem; }

/* ---------- trailer ---------- */

.section-trailer { background: var(--sand); overflow: hidden; }

.trailer-grid {
  display: grid; gap: 2.4rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .trailer-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }

.trailer-photo { position: relative; }
.trailer-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 49%;
  border-radius: 200px 200px 26px 26px; /* arched, like the serving window */
  box-shadow: var(--shadow), 0 0 0 8px var(--cream-soft), 0 0 0 11px rgba(224, 33, 40, 0.5);
  transform: rotate(-1.4deg);
}
.trailer-sticker {
  position: absolute; right: -6px; bottom: 18px;
  font-family: var(--font-script); font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  background: var(--sun); color: var(--ink);
  padding: 0.5rem 1.2rem; border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(67, 21, 26, 0.4);
  transform: rotate(-5deg);
}

.trailer-copy h2 { color: var(--red-deep); }
.trailer-copy p { margin-top: 1rem; max-width: 52ch; }
.trailer-points { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.55rem; font-weight: 700; }

/* ---------- find us ---------- */

.section-find {
  background: var(--teal-deep);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.07) 0 110px, transparent 111px),
    radial-gradient(circle at 8% 80%, rgba(0, 0, 0, 0.08) 0 90px, transparent 91px),
    linear-gradient(170deg, var(--teal-deep), var(--teal-ink));
  color: var(--cream);
  margin-top: 25px;
}
.section-find h2 { color: var(--cream); text-shadow: 0 3px 0 rgba(10, 74, 77, 0.9); }

.hours-announcement {
  width: min(580px, 100%);
  background: rgba(255, 244, 228, 0.1);
  border: 2px solid rgba(255, 244, 228, 0.22);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
}
.hours-eyebrow { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.hours-announcement h3 { margin-top: 0.15rem; font-family: var(--font-display); font-size: clamp(1.45rem, 4vw, 2rem); color: var(--cream); }
.hours-date { margin-top: 0.65rem; color: var(--cream); font-size: 1.05rem; font-weight: 800; }
.event-address { margin-top: 1rem; font-style: normal; }
.event-address a {
  display: inline-block;
  color: var(--sun);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.event-address a:hover { color: #fff; }
.hours-detail { margin-top: 1rem; color: rgba(255, 244, 228, 0.82); font-size: 0.94rem; }
.hours-detail a { color: var(--sun); font-weight: 800; }
.hours-detail a:hover { color: #fff; }

.find-note { margin-top: 2rem; font-size: 1.02rem; }
.find-note a { color: var(--sun); font-weight: 800; }

/* ---------- footer ---------- */

.footer { background: var(--red-dark); color: rgba(255, 244, 228, 0.9); }

.footer-grid {
  display: grid; gap: 2rem; padding: 3.2rem 0 2.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-brand img { border-radius: 12px; margin-bottom: 0.8rem; }
.footer-brand p { max-width: 30ch; font-size: 0.95rem; }

.footer-col h4 {
  font-family: var(--font-display); font-size: 1rem; color: var(--sun);
  margin-bottom: 0.7rem; letter-spacing: 0.03em;
}
.footer-col a { display: block; color: inherit; text-decoration: none; padding: 0.18rem 0; font-weight: 600; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col p { font-size: 0.95rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  border: 1px solid rgba(255, 244, 228, 0.28);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
}
.footer-socials a:hover { background: rgba(255, 244, 228, 0.1); text-decoration: none; }
.footer-socials i { font-size: 1rem; line-height: 1; }

.footer-bar {
  border-top: 1px solid rgba(255, 244, 228, 0.2);
  padding: 1.1rem 0; text-align: center; font-size: 0.88rem;
}

/* ---------- Rudyhana Easter egg ---------- */

body.dialog-open { overflow: hidden; }

.rudyhana-dialog {
  width: min(560px, calc(100vw - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.rudyhana-dialog::backdrop {
  background: rgba(28, 7, 10, 0.84);
  backdrop-filter: blur(4px);
}
.rudyhana-dialog-content { position: relative; display: grid; place-items: center; }
.rudyhana-dialog picture {
  display: flex;
  justify-content: center;
  width: 100%;
  max-height: calc(100dvh - 1.5rem);
}
.rudyhana-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 1.5rem);
  object-fit: contain;
}
.rudyhana-dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 244, 228, 0.94);
  color: var(--red-deep);
  font: 800 0.9rem/1 var(--font-body);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.rudyhana-dialog-close:hover { background: #fff; }
.rudyhana-dialog-close:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

/* ---------- to top ---------- */

.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--red); color: var(--cream);
  font-size: 1.3rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(143, 14, 21, 0.6);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-pop);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-3px) scale(1.06); }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s var(--ease-pop); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- mobile nav ---------- */

@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--red-deep);
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.4);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.35s ease, visibility 0s linear 0.35s;
  }
  .nav-links.open { max-height: 340px; visibility: visible; transition-delay: 0s; }
  .nav-links a {
    padding: 0.9rem 5vw !important; border-radius: 0 !important;
    border-top: 1px solid rgba(255, 244, 228, 0.14);
  }
  .nav-links a:not(.nav-cta):not(.nav-social)::after { display: none; }
  .nav-actions .nav-social {
    width: 44px; height: 44px;
    padding: 0 !important;
    border: 1px solid rgba(255, 244, 228, 0.48) !important;
    border-radius: 50% !important;
  }
  .nav-cta { background: var(--sun); box-shadow: none; }

}

@media (max-width: 360px) {
  .brand-text { display: none; }
}
