/* Cakes Treats — cakestreats.com */
:root {
  --paper: #fcfbf8;
  --paper-2: #f4f0e8;
  --mint: #d8eee4;
  --mint-deep: #9cbfb0;
  --raspberry: #b3244b;
  --raspberry-soft: #d45a7a;
  --ink: #2a2422;
  --ink-soft: #5c5550;
  --biscuit: #c6a06a;
  --gingham: #c62828;
  --shadow: rgba(42, 36, 34, 0.08);
  --font-display: "Libre Bodoni", "Bodoni MT", Georgia, serif;
  --font-ui: "Sen", system-ui, sans-serif;
  --max: 1140px;
  --scallop: 28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background:
    repeating-linear-gradient(90deg, var(--gingham) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(0deg, var(--gingham) 0 12px, transparent 12px 24px);
  background-size: 24px 24px;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--raspberry);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 251, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(155, 191, 176, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(155, 191, 176, 0.6);
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: 999px;
}

.nav a:hover {
  background: var(--mint);
  color: var(--ink);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--raspberry);
}

.btn-nav {
  background: var(--raspberry);
  color: #fff !important;
  margin-left: 4px;
}

.btn-nav:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid rgba(155, 191, 176, 0.35);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 36px 0 56px;
  background: linear-gradient(165deg, var(--mint) 0%, var(--paper) 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 14px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin: 0 0 12px;
}

.hero-lead {
  margin: 0 0 22px;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
}

.btn-solid {
  background: var(--raspberry);
  color: #fff;
  border-color: var(--raspberry);
}
.btn-solid:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-outline {
  border-color: rgba(42, 36, 34, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
}
.btn-outline:hover {
  border-color: var(--mint-deep);
  text-decoration: none;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-main {
  border-radius: var(--scallop) 8px var(--scallop) 8px;
  overflow: hidden;
  box-shadow: 0 28px 60px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-pin {
  position: absolute;
  width: min(42%, 220px);
  height: 200px;
  bottom: -8%;
  left: -6%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px var(--shadow);
  border: 6px solid #fff;
  transform: rotate(-6deg);
}

.hero-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
  }
  .hero-pin {
    left: 4%;
    bottom: -6%;
  }
}

@media (max-width: 520px) {
  .hero-pin {
    display: none;
  }
}

/* Ribbon note */
.ribbon {
  margin: 0;
  padding: 18px 0 8px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--paper-2);
  border-block: 1px dashed rgba(179, 36, 75, 0.2);
}

.ribbon strong {
  color: var(--ink);
}

/* Bento gallery */
.gallery {
  padding: 56px 0 72px;
}

.gallery h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  color: var(--ink);
  margin: 0 0 8px;
}

.gallery-intro {
  margin: 0 0 28px;
  max-width: 60ch;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento figure {
  margin: 0;
  border-radius: 18px 10px 22px 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px var(--shadow);
  border: 1px solid rgba(155, 191, 176, 0.25);
}

.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento figcaption {
  padding: 12px 14px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.span-7 {
  grid-column: span 7;
  min-height: 280px;
}
.span-5 {
  grid-column: span 5;
  min-height: 280px;
}
.span-6 {
  grid-column: span 6;
  min-height: 260px;
}
.span-4 {
  grid-column: span 4;
  min-height: 240px;
}
.span-8 {
  grid-column: span 8;
  min-height: 260px;
}
.span-full {
  grid-column: span 12;
  min-height: 220px;
}

@media (max-width: 900px) {
  .span-7,
  .span-5,
  .span-6,
  .span-4,
  .span-8,
  .span-full {
    grid-column: span 12;
    min-height: 260px;
  }
}

/* Visit */
.page-head {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, var(--mint), var(--paper));
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin: 0 0 10px;
  color: var(--ink);
}

.page-body {
  padding: 28px 0 72px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px 26px;
  box-shadow: 0 14px 36px var(--shadow);
  border: 1px solid rgba(155, 191, 176, 0.25);
  max-width: 640px;
}

.card h2 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  color: var(--ink);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 16px;
}

.hours td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(42, 36, 34, 0.08);
}

.hours td:last-child {
  text-align: right;
  color: var(--ink-soft);
}

/* Footer */
footer {
  padding: 36px 0 44px;
  background: var(--ink);
  color: rgba(252, 251, 248, 0.75);
  font-size: 14px;
}

.foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.foot h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot li {
  margin-bottom: 8px;
}

.foot a {
  color: rgba(252, 251, 248, 0.85);
}

.logo-name--light {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
}

@media (max-width: 780px) {
  .foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(var(--max), calc(100% - 20px));
  }
  .hero {
    padding: 24px 0 40px;
  }
  .ribbon {
    font-size: 14px;
    padding: 14px max(12px, env(safe-area-inset-left)) 14px max(12px, env(safe-area-inset-right));
  }
  footer {
    padding: 28px 0 max(36px, calc(20px + env(safe-area-inset-bottom, 0px)));
  }
}

:focus-visible {
  outline: 2px solid var(--raspberry-soft);
  outline-offset: 3px;
}
