/* Southern Soft Ice: Concession Showcard
   The site is a hand-painted fair sign. Trailer-wrap orange/yellow fields,
   brush lettering with red keylines, sticker-outlined photos, painted price tags. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Shrikhand"; src: url("../fonts/shrikhand-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --sun: #FFC21A;
  --sun-light: #FFD84A;
  --orange: #F2661B;
  --orange-deep: #D9500C;
  --cherry: #D9261C;
  --cherry-deep: #A8160F;
  --leaf: #3E9C35;
  --leaf-deep: #2B7424;
  --sky: #7CC8F2;
  --ink: #2B1408;
  --ink-soft: #5A3418;
  --white: #FFFFFF;

  --font-brush: "Shrikhand", "Cooper Black", Georgia, serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --step--1: 0.95rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  --step-4: clamp(2.75rem, 1.4rem + 6vw, 6rem);

  --space-s: 0.75rem;
  --space-m: 1.25rem;
  --space-l: 2rem;
  --space-xl: clamp(3rem, 2rem + 4vw, 5.5rem);

  --sticker: 8px;
  --lift: 0 18px 30px -14px rgba(43, 20, 8, 0.55), 0 4px 8px -2px rgba(43, 20, 8, 0.25);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 72rem;

  --showcard: linear-gradient(168deg, var(--sun-light) 0%, var(--sun) 32%, #FF9A1F 62%, var(--orange) 100%);
  --checker: conic-gradient(var(--cherry) 25%, var(--white) 0 50%, var(--cherry) 0 75%, var(--white) 0);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; scrollbar-color: var(--orange) #FFF1D0; accent-color: var(--cherry); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--step-0); line-height: 1.55; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.icon { flex: none; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1.1rem; background: var(--ink); color: var(--white); font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Brush lettering (the logo's white-with-red-keyline lettering) ---------- */
.brush {
  font-family: var(--font-brush);
  font-weight: 400;
  color: var(--white);
  -webkit-text-stroke: 0.16em var(--cherry);
  paint-order: stroke fill;
  text-shadow: 0 0.06em 0.14em rgba(43, 20, 8, 0.35);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

/* ---------- Painted price tag (buttons) ---------- */
.tag {
  --tag-bg: var(--cherry);
  --tag-fg: var(--white);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.6rem 1.5rem 0.6rem 2.4rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--tag-fg);
  text-decoration: none;
  transform-origin: 0.9rem 50%;
  transition: transform 0.45s var(--ease-out);
  filter: drop-shadow(0 6px 6px rgba(43, 20, 8, 0.28));
}
.tag::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tag-bg);
  border-radius: 6px;
  clip-path: polygon(1.1rem 0, 100% 0, 100% 100%, 1.1rem 100%, 0 50%);
  -webkit-mask: radial-gradient(circle at 1.35rem 50%, transparent 0.3rem, #000 0.34rem);
          mask: radial-gradient(circle at 1.35rem 50%, transparent 0.3rem, #000 0.34rem);
}
.tag:hover { transform: rotate(-3deg); }
.tag:active { transform: rotate(-1deg) translateY(1px); }
.tag--ghost { --tag-bg: var(--white); --tag-fg: var(--cherry-deep); }
.tag--small { min-height: 2.75rem; padding: 0.4rem 1rem 0.4rem 2rem; font-size: 1.15rem; }

/* ---------- Sticker-outlined snapshot (photos) ---------- */
.snapshot {
  --tilt: 0deg;
  position: relative;
  background: var(--white);
  padding: var(--sticker);
  border-radius: 14px;
  box-shadow: 0 0 0 3px var(--cherry), var(--lift);
  transform: rotate(var(--tilt));
}
.snapshot img { border-radius: 7px; width: 100%; }

.sticker {
  position: absolute;
  font-family: var(--font-brush);
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  padding: 0.35rem 1rem 0.5rem;
  color: var(--white);
  border-radius: 8px;
  border: 4px solid var(--white);
  box-shadow: var(--lift);
}
.sticker--green { background: var(--leaf); right: -0.75rem; bottom: -1.1rem; transform: rotate(-6deg); }

/* ---------- Header sign bar ---------- */
.sign-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 6px 16px -10px rgba(43, 20, 8, 0.5);
}
.sign-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: var(--checker) 0 0 / 28px 28px; }
.sign-bar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sign-bar__logo { flex: none; display: block; width: 108px; }
.sign-bar__logo img { width: 100%; }
.sign-bar__call { margin-left: auto; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-nav a {
  display: inline-block;
  padding: 0.6rem 0.15rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(var(--orange), var(--orange)) 0 88% / 0 4px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.site-nav a:hover { background-size: 100% 4px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  font: 700 1.1rem var(--font-cond);
  color: var(--ink);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .sign-bar__inner { flex-wrap: wrap; gap: 0.6rem; }
  .sign-bar__logo { width: 92px; }
  .sign-bar__call { order: 2; }
  .js .nav-toggle { display: inline-flex; order: 3; }
  .site-nav { order: 4; flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding-bottom: 0.5rem; }
  .site-nav li + li { border-top: 2px dotted rgba(43, 20, 8, 0.35); }
  .site-nav a { display: block; padding: 0.8rem 0.25rem; font-size: 1.4rem; }
}
@media (max-width: 420px) {
  .sign-bar__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sign-bar__call { padding-right: 1.1rem; }
}

/* ---------- Showcard (hero + closing) ---------- */
.showcard {
  position: relative;
  overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg at 88% 8%, rgba(255, 255, 255, 0.13) 0deg 5deg, transparent 5deg 13deg),
    var(--showcard);
}

.hero { padding: calc(var(--space-l) + 14px) 1rem 0; }
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl) var(--space-l);
  align-items: center;
}
.hero__title { font-size: clamp(2.75rem, 1.4rem + 5vw, 5.25rem); max-width: 12.5ch; }
.hero__lede { margin-top: var(--space-m); max-width: 34ch; font-size: var(--step-1); font-weight: 600; line-height: 1.4; color: var(--ink); }
.hero__actions { margin-top: var(--space-l); display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.hero__photo { --tilt: 3deg; max-width: 36rem; justify-self: center; }
.hero__foot { max-width: var(--wrap); margin: var(--space-l) auto 0; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero__photo { justify-self: end; }
}

/* The one authored moment: the slogan is painted on, the snapshot is tacked up. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: paint-on 1.1s var(--ease-out) both; }
  .hero__photo { animation: tack-up 0.9s 0.25s var(--ease-out) both; }
  @keyframes paint-on {
    from { clip-path: inset(-10% 100% -10% -5%); }
    to   { clip-path: inset(-10% -5% -10% -5%); }
  }
  @keyframes tack-up {
    from { opacity: 0; transform: translateY(-1.5rem) rotate(-6deg); }
    to   { opacity: 1; transform: rotate(var(--tilt)); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tag, .site-nav a { transition: none; }
}

/* ---------- Billing block (ruled booking info) ---------- */
.billing {
  display: grid;
  background: var(--white);
  border-top: 6px solid var(--ink);
  box-shadow: var(--lift);
}
.billing__row {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--ink);
}
.billing__row:last-child { border-bottom: 0; }
.billing dt { font-family: var(--font-cond); font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); }
.billing dd a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem);
  line-height: 1.15;
  color: var(--cherry-deep);
  min-height: 44px;
  text-decoration: none;
  overflow-wrap: break-word;
}
.billing dd a:hover { text-decoration: underline; }
.billing dd .icon { width: 1.1em; height: 1.1em; color: var(--ink); }

.billing--hero { border-radius: 14px 14px 0 0; }
@media (min-width: 760px) {
  .billing { grid-template-columns: 1fr 1fr; }
  .billing__row { border-bottom: 0; }
  .billing__row + .billing__row { border-left: 2px solid var(--ink); }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-xl) 1rem; }
.section__inner { max-width: var(--wrap); margin: 0 auto; }
.section__head { max-width: 46rem; margin-bottom: var(--space-l); }
.section__title { font-size: var(--step-3); }
.section__lede { margin-top: var(--space-s); font-size: var(--step-1); line-height: 1.45; max-width: 40ch; }

/* Events */
.events { background: var(--white); }
/* Event types as pennant flags hung on a string */
.bunting { display: flex; flex-wrap: wrap; gap: 1.5rem 0.6rem; margin-bottom: var(--space-xl); padding-top: 0.5rem; }
.bunting li {
  --flag: var(--leaf-deep);
  position: relative;
  isolation: isolate;
  padding: 0.7rem 1.1rem 1.7rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--white);
  text-align: center;
}
.bunting li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--flag);
  clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%);
  filter: drop-shadow(0 4px 4px rgba(43, 20, 8, 0.25));
}
.bunting li::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -0.35rem;
  right: -0.35rem;
  height: 4px;
  border-radius: 2px;
  background: var(--ink);
}
@media (max-width: 480px) {
  .bunting { gap: 1.25rem 0.5rem; }
  .bunting li { padding: 0.6rem 0.7rem 1.5rem; font-size: 1.1rem; }
}
/* Wide screens: one string spans the whole row and the flags hang evenly along it */
@media (min-width: 900px) {
  .bunting { position: relative; flex-wrap: nowrap; justify-content: space-between; gap: 0.75rem; }
  .bunting::before { content: ""; position: absolute; top: calc(0.5rem - 4px); left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--ink); }
  .bunting li { flex: 1 1 0; }
  .bunting li::after { display: none; }
}.bunting li:nth-child(3n+2) { --flag: var(--cherry); }
.bunting li:nth-child(3n) { --flag: var(--orange-deep); }
.setups { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.setup { display: grid; gap: var(--space-l); align-items: center; }
.setup__photo { --tilt: -2deg; }
.setup--flip .setup__photo { --tilt: 2deg; }
.setup__title { font-family: var(--font-cond); font-weight: 700; font-size: var(--step-2); line-height: 1.1; margin-bottom: 0.5rem; }
.setup__text p { max-width: 38ch; font-size: var(--step-1); line-height: 1.45; }
@media (min-width: 820px) {
  .setup { grid-template-columns: 1.15fr 1fr; gap: var(--space-xl); }
  .setup--flip .setup__photo { order: 2; }
}

.how-to-book {
  margin-top: var(--space-xl);
  padding: var(--space-l) var(--space-l) calc(var(--space-l) + 0.25rem);
  background: var(--showcard);
  border-radius: 18px;
  border: var(--sticker) solid var(--white);
  box-shadow: 0 0 0 3px var(--cherry), var(--lift);
  display: grid;
  gap: var(--space-s);
  justify-items: start;
}
.how-to-book__title { font-family: var(--font-cond); font-weight: 700; font-size: var(--step-2); line-height: 1.1; }
.how-to-book p { max-width: 48ch; font-weight: 600; margin-bottom: var(--space-s); }

/* Menu: their coroplast menu boards on a cherry field */
.menu {
  background:
    var(--checker) 0 0 / 56px 56px;
  position: relative;
}
.menu::before { content: ""; position: absolute; inset: 0; background: rgba(168, 22, 15, 0.9); }
.menu .section__inner { position: relative; }
.menu .section__title { -webkit-text-stroke-color: var(--cherry-deep); }
.menu .section__lede { color: var(--white); font-weight: 600; }

.boards { display: grid; gap: var(--space-l); align-items: start; }
@media (min-width: 940px) { .boards { grid-template-columns: 1.25fr 1fr; } }

.board {
  position: relative;
  padding: 0 1.25rem 1.5rem;
  background: linear-gradient(180deg, var(--sun-light) 0%, var(--sun) 40%, #FF9A1F 100%);
  border-radius: 20px;
  border: var(--sticker) solid var(--white);
  box-shadow: var(--lift);
  overflow: hidden;
}
.board__title {
  margin: 0 -1.25rem 1.25rem;
  padding: 0.9rem 1.25rem 1rem;
  background: var(--leaf);
  font-family: var(--font-brush);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.1;
  color: var(--white);
  -webkit-text-stroke: 0.14em var(--leaf-deep);
  paint-order: stroke fill;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* Their real boards carry the logo in the green band. Decorative, so drawn from CSS. */
.board__title::before {
  content: "";
  flex: none;
  width: 4.25rem;
  aspect-ratio: 400 / 243;
  background: url("../img/logo-sm.webp") center / contain no-repeat;
}

.price-list { display: grid; gap: 0.2rem; font-variant-numeric: tabular-nums lining-nums; }
.price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  column-gap: 0.5rem;
  padding: 0.45rem 0;
}
.price-row__name { font-family: var(--font-cond); font-weight: 700; font-size: 1.4rem; line-height: 1.15; max-width: 22ch; }
.price-row__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink-soft); }
.price-row__leader { border-bottom: 4px dotted var(--ink); margin-bottom: 0.4rem; min-width: 1.5rem; }
.price-row__price { font-family: var(--font-cond); font-weight: 700; font-size: 1.5rem; line-height: 1.15; text-align: right; white-space: nowrap; }
.price-row__size { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.price-row__size ~ .price-row__size { margin-left: 0.5rem; }
@media (min-width: 940px) { .price-row__name { max-width: none; } }

.flavors { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 0.4rem; }
.flavor { display: grid; justify-items: center; align-content: start; gap: 0.4rem; width: 5.2rem; text-align: center; }
.board--ice { container-type: inline-size; }
@container (min-width: 26rem) {
  .flavors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .flavor { width: auto; }
}
.flavor__name { font-family: var(--font-cond); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.cup { width: 4.4rem; height: auto; overflow: visible; filter: drop-shadow(0 6px 5px rgba(43, 20, 8, 0.25)); }
.cup__scoop { fill: var(--scoop); stroke: var(--scoop-shade); stroke-width: 2; }
.cup__shine { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 3.5; stroke-linecap: round; }
.cup__body { fill: var(--sky); }
.cup__rim { fill: #A8DCF7; }
.cup__stripe { fill: rgba(255, 255, 255, 0.45); }
.board__price {
  margin-top: 1.5rem;
  padding-top: 0.9rem;
  border-top: 4px dotted var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.4rem;
}
.board__price strong { font-family: var(--font-brush); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--cherry-deep); }
.menu__fine { margin-top: var(--space-l); color: var(--white); font-weight: 600; font-size: var(--step--1); }

/* Treats */
.treats { background: var(--sun); }
.treats .section__lede { font-weight: 600; }
.shelf { display: grid; gap: var(--space-l); }
.treat { display: grid; gap: var(--space-m); align-content: start; }
.treat__name { font-family: var(--font-cond); font-weight: 700; font-size: var(--step-2); line-height: 1.1; margin-bottom: 0.3rem; }
.treat__text p { max-width: 40ch; }
.treat:nth-child(2) .treat__photo { --tilt: 1.5deg; }
.treat:nth-child(3) .treat__photo { --tilt: -1.5deg; }
.treat--feature .treat__photo { --tilt: -2deg; }
@media (min-width: 760px) {
  .shelf { grid-template-columns: 1fr 1fr; }
  .treat--feature { grid-row: span 2; }
  .treat--feature .treat__photo img { aspect-ratio: 3 / 4; object-fit: cover; }
  .treat:not(.treat--feature) { grid-template-columns: 0.9fr 1fr; align-items: center; }
  .treat:not(.treat--feature) .treat__photo img { aspect-ratio: 1; object-fit: cover; }
}
@media (min-width: 1020px) {
  .shelf { grid-template-columns: 0.85fr 1.15fr; }
}
.treats__cta { margin-top: var(--space-xl); display: flex; justify-content: center; }

/* Gallery pinboard */
.gallery { background: var(--white); }
.pinboard { display: grid; gap: var(--space-l); }
.pinboard__item:nth-child(1) { --tilt: -2.5deg; }
.pinboard__item:nth-child(2) { --tilt: 2deg; }
.pinboard__item img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 760px) {
  .pinboard { grid-template-columns: 1.25fr 1fr; align-items: center; max-width: 60rem; }
  .pinboard__item:nth-child(2) img { aspect-ratio: 4 / 5; }
}

/* Closing sign */
.closing { padding: calc(var(--space-xl) + 14px) 1rem var(--space-xl); }
.closing::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: var(--checker) 0 0 / 28px 28px; }
.closing__inner { max-width: 66rem; margin: 0 auto; text-align: center; }
.closing__title { font-size: var(--step-3); }
.closing__lede { margin: var(--space-m) auto var(--space-s); max-width: 38ch; font-size: var(--step-1); font-weight: 600; }
.closing__find { margin: 0 auto var(--space-l); max-width: 44ch; }
.closing .billing { text-align: left; border-radius: 14px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: #F6E3CF; padding: var(--space-l) 1rem; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.site-footer__logo { width: 110px; }
.site-footer__slogan { font-family: var(--font-brush); font-size: 1.4rem; color: var(--sun); }
.site-footer__fine { margin-left: auto; font-size: var(--step--1); }
