:root {
  --cream: #F5F1E4;
  --warm-white: #FBFAF2;
  --cocoa: #24160F;
  --caramel: #9A5824;
  --gold: #D9AA24;
  --olive: #566331;
  --line: rgba(154, 88, 36, 0.14);
  --soft-line: rgba(36, 22, 15, 0.1);
  --shadow: 0 18px 48px rgba(36, 22, 15, 0.11);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--cocoa);
  font-family: "Poppins", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.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;
}

.container {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 242, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 40px, 1240px);
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(36, 22, 15, 0.16);
  outline: 1px solid rgba(217, 170, 36, 0.45);
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong,
.brand em {
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 900;
}

.brand em {
  margin-top: 3px;
  color: var(--caramel);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  color: rgba(36, 22, 15, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--cocoa);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary,
.header-cta {
  background: var(--cocoa);
  color: #fff;
  box-shadow: 0 14px 34px rgba(36, 22, 15, 0.2);
}

.button.primary:hover,
.header-cta:hover {
  background: var(--caramel);
}

.button.secondary {
  border: 1px solid rgba(154, 88, 36, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--cocoa);
  box-shadow: 0 8px 18px rgba(36, 22, 15, 0.06);
}

.button.secondary:hover {
  border-color: var(--gold);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--cocoa);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(86, 99, 49, 0.2), transparent 28rem),
    radial-gradient(circle at 96% 18%, rgba(217, 170, 36, 0.18), transparent 24rem),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
  min-height: min(760px, calc(100vh - var(--header-height)));
  padding: clamp(54px, 7vw, 86px) 0;
}

.pill,
.section-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid rgba(217, 170, 36, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--caramel);
  box-shadow: 0 8px 22px rgba(36, 22, 15, 0.05);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 9px 14px;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--cocoa);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.85rem, 5.7vw, 5.3rem);
  line-height: 1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.95rem, 3.7vw, 3.35rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-text,
.section-heading p,
.basket-copy p,
.about-copy p {
  color: rgba(154, 88, 36, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.sweet-visual {
  width: 100%;
}

.logo-panel {
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 22px 52px rgba(154, 88, 36, 0.1);
}

.logo-frame {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(36, 22, 15, 0.08);
}

.logo-frame img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: clamp(58px, 7vw, 86px) 0;
}

.section-light {
  background: var(--warm-white);
}

.section-heading {
  max-width: 960px;
  margin-bottom: 34px;
}

.section-heading.centered {
  max-width: min(100%, 1224px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered p:not(.section-label) {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading.centered .section-label {
  margin-right: auto;
  margin-left: auto;
}

.product-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.product-grid,
.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.feature-grid article,
.steps-grid article {
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(36, 22, 15, 0.06);
}

.product-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(154, 88, 36, 0.14);
}

.product-photo {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 24px rgba(36, 22, 15, 0.1);
}

.product-card p,
.feature-grid p,
.steps-grid p {
  color: rgba(154, 88, 36, 0.82);
}

.basket-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
}

.basket-preview {
  padding: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 22px 52px rgba(154, 88, 36, 0.1);
}

.basket-card {
  margin: 0;
  border-radius: 8px;
  background: #fff;
}

.basket-photo-card {
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(36, 22, 15, 0.08);
}

.basket-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.occasion-grid span {
  padding: 14px 16px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #fff;
  color: var(--caramel);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(36, 22, 15, 0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(34px, 6vw, 72px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  padding: 22px;
  background: var(--warm-white);
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.order-section {
  background: var(--cocoa);
  color: #fff;
}

.order-section h2,
.order-section h3 {
  color: #fff;
}

.order-section .section-label {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}

.section-heading.dark p {
  color: rgba(245, 241, 228, 0.78);
}

.order-now-button {
  background: #fff;
  color: var(--cocoa);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.order-now-button:hover {
  background: var(--gold);
  color: var(--cocoa);
}

.order-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.steps-grid article {
  min-height: 220px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.steps-grid span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.steps-grid p {
  color: rgba(245, 241, 228, 0.76);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--warm-white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: rgba(154, 88, 36, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
  color: var(--caramel);
}

@media (max-width: 1060px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--warm-white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-grid,
  .basket-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

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

  .sweet-visual {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .container,
  .header-inner {
    width: min(100% - 28px, 1240px);
  }

  .header-inner {
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .brand span,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    order: 0;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.15rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.8rem, 8.2vw, 2.5rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero-grid {
    padding: 42px 0 54px;
  }

  .pill,
  .section-label {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: normal;
  }

  .hero-text,
  .section-heading p,
  .basket-copy p,
  .about-copy p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .product-grid,
  .steps-grid,
  .feature-grid,
  .occasion-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .basket-preview,
  .logo-panel {
    padding: 18px;
  }

  .product-card,
  .steps-grid article,
  .feature-grid article {
    min-height: auto;
    padding: 20px;
  }
}

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