:root {
  --color-cream: #fff4df;
  --color-cream-soft: #fffaf2;
  --color-page: #fff8ec;
  --color-surface: #fffdf8;
  --color-text: #1a0f0a;
  --color-muted: #6c584b;
  --color-ink: #080706;
  --color-ink-soft: #14100d;
  --color-orange: #f26a1b;
  --color-orange-dark: #c94712;
  --color-gold: #f7b733;
  --color-red: #d62818;
  --color-red-dark: #a91f13;
  --color-cocoa: #6c2d18;
  --color-cocoa-dark: #24120b;
  --color-line: rgba(36, 18, 11, 0.14);
  --shadow-soft: 0 24px 70px rgba(33, 13, 6, 0.13);
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-heading: "Baloo 2", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--color-text);
  color: var(--color-cream);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: 1rem;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 7, 6, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 244, 223, 0.12);
}

.nav-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand-link img {
  width: 238px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-weight: 800;
  color: rgba(255, 244, 223, 0.84);
}

.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-gold);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  font-weight: 900;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.nav-cta,
.primary-button {
  background: var(--color-orange);
  color: #100804;
}

.secondary-button {
  border-color: var(--color-orange);
  color: var(--color-orange-dark);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
  background: var(--color-gold);
  transform: translateY(-2px);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: var(--color-orange);
  color: #100804;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0 var(--space-4xl);
  background:
    radial-gradient(circle at 86% 35%, rgba(242, 106, 27, 0.2), transparent 28rem),
    linear-gradient(90deg, #080706 0%, #080706 70%, #160c08 70%, #160c08 100%);
  color: var(--color-cream-soft);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.88fr);
  gap: var(--space-3xl);
  align-items: center;
}

.hero-logo {
  width: min(560px, 92vw);
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.44));
}

.brand-line {
  margin: 0 0 var(--space-md);
  color: var(--color-gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.9rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
  margin: 0;
  font-size: 1.35rem;
}

.hero-subhead {
  max-width: 620px;
  margin: var(--space-lg) 0 0;
  color: rgba(255, 244, 223, 0.82);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.location-line {
  margin: 0;
  color: rgba(255, 244, 223, 0.88);
  font-weight: 900;
}

.hero-photo-cluster {
  position: relative;
  min-height: 620px;
}

.hero-pour-surface {
  position: absolute;
  top: 82px;
  right: -92px;
  z-index: 0;
  width: min(620px, 126%);
  opacity: 0.9;
  pointer-events: none;
  transform: rotate(-5deg);
  filter: drop-shadow(0 22px 24px rgba(62, 26, 12, 0.22));
}

.hero-pour-surface img {
  width: 100%;
  height: auto;
}

.hero-photo {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--color-cream-soft);
  border: 1px solid rgba(255, 244, 223, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero-photo-main {
  position: absolute;
  right: 0;
  top: 120px;
  width: min(430px, 88%);
  z-index: 2;
}

.hero-photo-small {
  position: absolute;
  width: 190px;
  padding: 8px;
  z-index: 1;
}

.hero-photo-top {
  right: 285px;
  top: 42px;
  transform: rotate(-5deg);
}

.hero-photo-bottom {
  right: 310px;
  bottom: 38px;
  transform: rotate(4deg);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.hero-photo-small img {
  aspect-ratio: 1;
}

.hero-photo figcaption {
  padding: 0.85rem 0.25rem 0.25rem;
  color: var(--color-text);
  font-weight: 800;
}

.make-section,
.gallery-section,
.order-section,
.request-section {
  padding: var(--space-4xl) 0;
}

.make-section {
  position: relative;
  background: var(--color-surface);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: var(--space-2xl);
  align-items: end;
  margin-bottom: var(--space-2xl);
}

.section-intro p,
.gallery-heading p,
.order-copy p,
.request-note > p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.treat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.treat-card {
  min-height: 210px;
  padding: 1.2rem;
  background: #fff8ec;
  border: 1px solid rgba(108, 45, 24, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 26px rgba(36, 18, 11, 0.05);
}

.treat-card h3 {
  color: var(--color-orange-dark);
}

.treat-card p {
  margin: var(--space-md) 0 0;
  color: var(--color-muted);
}

.gallery-section {
  position: relative;
  background: #fff1de;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.gallery-heading p {
  max-width: 680px;
  margin-top: var(--space-md);
}

.gallery-group {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(61, 28, 16, 0.16);
}

.gallery-group + .gallery-group {
  margin-top: var(--space-3xl);
}

.art-kit-gallery {
  margin-bottom: var(--space-3xl);
}

.gallery-group-heading {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.gallery-group-heading h3 {
  max-width: 12ch;
  margin-top: 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.gallery-group-heading p:last-child {
  margin-top: var(--space-md);
  max-width: 58ch;
}

.compact-heading h3 {
  max-width: 15ch;
}

.gallery-card-grid {
  display: grid;
  gap: 1rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-product {
  grid-template-columns: minmax(180px, 280px);
}

.gallery-product-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.dark-card {
  background: #2b160f;
  border: 1px solid rgba(43, 22, 15, 0.26);
  color: #fffaf4;
}

.light-card {
  background: var(--color-surface);
  border: 8px solid var(--color-surface);
  box-shadow: 0 14px 34px rgba(36, 18, 11, 0.12);
}

.gallery-product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.light-card img {
  border-radius: 6px;
}

.gallery-product-card figcaption {
  font-weight: 800;
  line-height: 1.35;
}

.dark-card figcaption {
  min-height: 4.7rem;
  padding: 0.85rem 1rem 1rem;
  color: rgba(255, 250, 244, 0.86);
}

.light-card figcaption {
  min-height: 4rem;
  padding: 0.8rem 0.45rem 0.2rem;
  color: var(--color-cocoa-dark);
}

.chocolate-gallery {
  margin-top: var(--space-3xl);
}

.chocolate-category {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(61, 28, 16, 0.12);
}

.chocolate-category:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.chocolate-category-heading {
  position: sticky;
  top: 7rem;
}

.chocolate-category-heading h4 {
  margin: 0;
  color: var(--color-orange-dark);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  line-height: 1;
}

.chocolate-category-heading p {
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
}

.order-section {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 106, 27, 0.2), transparent 28rem),
    var(--color-ink-soft);
  color: #fffaf4;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: var(--space-2xl);
  align-items: start;
}

.order-copy p {
  margin-top: var(--space-lg);
  color: rgba(255, 250, 244, 0.82);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  min-height: 230px;
  padding: 1.35rem;
  background: rgba(255, 244, 223, 0.08);
  border: 1px solid rgba(255, 244, 223, 0.22);
  border-radius: var(--radius-md);
}

.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  border-radius: 50%;
  background: var(--color-orange);
  color: #140905;
  font-weight: 900;
}

.step-card p {
  margin: var(--space-md) 0 0;
  color: rgba(255, 250, 244, 0.78);
}

.request-section {
  position: relative;
  background: var(--color-surface);
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.request-note {
  position: sticky;
  top: 110px;
}

.request-note > p {
  margin-top: var(--space-md);
}

.contact-card {
  margin-top: var(--space-xl);
  padding: 1.3rem;
  background: #fff8ec;
  border: 1px solid rgba(108, 45, 24, 0.18);
  border-radius: var(--radius-md);
}

.contact-card p {
  margin: 0 0 0.9rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card strong {
  display: block;
  color: var(--color-orange-dark);
}

.order-form {
  padding: var(--space-xl);
  background: #fffdf8;
  border: 1px solid rgba(108, 45, 24, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: var(--space-lg);
}

.form-row.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-cocoa-dark);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid rgba(108, 45, 24, 0.16);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  color: var(--color-text);
  font: 700 1rem var(--font-body);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.nav-cta:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(242, 106, 27, 0.35);
  outline-offset: 3px;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-success,
.form-error {
  margin: var(--space-lg) 0 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 800;
}

.form-success {
  background: rgba(242, 106, 27, 0.1);
  color: var(--color-cocoa-dark);
}

.form-error {
  background: rgba(21, 17, 17, 0.08);
  color: var(--color-text);
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  background: var(--color-ink);
  color: #fffaf4;
  padding: var(--space-xl) 0;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-shell p {
  margin: 0;
}

.footer-shell a {
  color: #fffaf4;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-intro,
  .order-layout,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .treat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chocolate-category {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .chocolate-category-heading {
    position: static;
  }

  .request-note {
    position: static;
  }

  .hero-photo-cluster {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero-pour-surface {
    top: 20px;
    right: -46px;
    width: min(620px, 104%);
    transform: rotate(-3deg);
  }

  .hero-photo-main,
  .hero-photo-small {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .hero-photo-main {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .section-shell,
  .nav-shell {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

  .nav-shell {
    min-height: auto;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .brand-link img {
    width: 152px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    width: 72px;
    min-height: 44px;
    max-width: 72px;
    padding: 0;
    font-size: 0;
    white-space: nowrap;
    text-align: center;
  }

  .nav-cta::after {
    content: "Order";
    font-size: 0.84rem;
  }

  .hero-section,
  .make-section,
  .gallery-section,
  .order-section,
  .request-section {
    padding: var(--space-3xl) 0;
  }

  .request-section {
    background: var(--color-page);
  }

  h1 {
    max-width: 8.8ch;
    font-size: clamp(2.28rem, 11.5vw, 3rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-subhead {
    max-width: 32ch;
    font-size: 1.08rem;
  }

  .brand-line {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  .hero-actions,
  .gallery-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .treat-grid,
  .steps,
  .form-row.two-column {
    grid-template-columns: 1fr;
  }

  .three-up,
  .two-up {
    grid-template-columns: 1fr;
  }

  .gallery-group + .gallery-group,
  .chocolate-gallery {
    margin-top: var(--space-2xl);
  }

  .gallery-group-heading p:last-child {
    max-width: 32ch;
  }

  .hero-photo-cluster {
    grid-template-columns: 1fr;
  }

  .hero-pour-surface {
    top: 18px;
    right: -42px;
    width: 122%;
    max-width: 500px;
  }

  .hero-photo-main {
    grid-column: auto;
  }

  .dark-card figcaption,
  .light-card figcaption {
    min-height: auto;
  }

  .order-form {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
