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

:root {
  --paper: #fbf0e2;
  --paper-warm: #f1e5d8;
  --paper-soft: #fbf7f1;
  --ink: #2b180f;
  --coffee: #6f3511;
  --coffee-dark: #552707;
  --cinnamon: #8d4c22;
  --line: #d8c3ae;
  --muted: #725848;
  --white: #fffdf9;
  --shadow: 0 12px 24px rgba(70, 38, 19, 0.12);
  --max: 1470px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper-soft);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  background: transparent;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 15px 56px 0;
}

.brand {
  display: block;
  width: 285px;
  height: 285px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3.3rem);
  padding-top: 38px;
}

.nav-link {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active { color: var(--coffee); }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 1px;
  background: var(--coffee);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn svg { width: 20px; height: 20px; stroke-width: 1.8; }

.btn-primary {
  background: var(--coffee);
  color: var(--white);
  box-shadow: 0 5px 12px rgba(111, 53, 17, 0.18);
}

.btn-primary:hover {
  background: var(--coffee-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--coffee);
  border-color: var(--coffee);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--coffee);
  color: var(--white);
}

.btn-cart {
  align-self: start;
  margin-top: 24px;
}

.hero {
  position: relative;
  min-height: 775px;
  padding: 310px 56px 110px;
  overflow: visible;
  background:
    radial-gradient(circle at 58% 35%, rgba(255,255,255,0.42), transparent 28%),
    linear-gradient(90deg, rgba(251,240,226,0.98) 0%, rgba(251,240,226,0.94) 39%, rgba(251,240,226,0.52) 56%, rgba(251,240,226,0.06) 100%),
    #fbf0e2;
}

.hero-grid {
  max-width: var(--max);
  min-height: 460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(530px, 1.22fr);
  align-items: end;
  gap: 3rem;
}

.hero-text {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 2px;
  max-width: 620px;
}

.eyebrow {
  color: var(--coffee);
  font-size: 0.91rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}

.eyebrow.center { text-align: center; margin-bottom: 0.25rem; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.02;
  margin-bottom: 1.35rem;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.ornament {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0.6rem 0 1.65rem;
  color: var(--cinnamon);
}

.ornament span {
  height: 1px;
  background: var(--cinnamon);
}

.ornament b {
  font-size: 1.2rem;
  line-height: 1;
}

.ornament-center {
  width: 170px;
  margin: 0 auto 0.25rem;
  gap: 10px;
}

.ornament-center b { font-size: 0.9rem; }

.hero-desc {
  max-width: 425px;
  color: #342017;
  font-size: 1.18rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 32%;
  z-index: 0;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    linear-gradient(90deg, #fbf0e2 0%, rgba(251,240,226,0.96) 23%, rgba(251,240,226,0.52) 34%, rgba(251,240,226,0.02) 45%),
    linear-gradient(180deg, rgba(251,240,226,0.28), rgba(251,240,226,0));
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  transform-origin: center bottom;
}

.feature-bar {
  position: relative;
  z-index: 3;
  background: transparent;
  margin-top: -110px;
  padding: 24px 56px 42px;
}

.feature-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
}

.feature {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coffee);
}

.feature-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.35;
}

.feature-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.feature-label,
.feature-title {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

.feature-bar-alt {
  max-width: calc(var(--max) - 78px);
  margin: 0px auto 34px;
  padding: 24px 30px;
  background: var(--paper-warm);
  border-radius: 10px;
}

.feature-bar-alt .feature-bar-inner {
  gap: 0;
}

.feature-block {
  position: relative;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0 26px;
}

.feature-block + .feature-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: #ceb19b;
}

.feature-block .feature-icon {
  width: 42px;
  height: 42px;
}

.feature-block .feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-sub {
  color: #4f392d;
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 190px;
}

.about {
  padding: 54px 56px 24px;
  background: var(--paper-soft);
}

.about-grid {
  max-width: calc(var(--max) - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.68fr;
  gap: 52px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 1.18 / 0.94;
  padding: 12px;
  background: var(--white);
  border: 1px solid #eadfd5;
  box-shadow: var(--shadow);
  transform: rotate(-1.3deg);
}

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

.about-text { max-width: 520px; }

.about-desc {
  color: #3c2a21;
  font-size: 1.01rem;
  line-height: 1.7;
  margin: 0.9rem 0 1.55rem;
}

.about-card {
  min-height: 326px;
  padding: 52px 34px;
  background: var(--paper-warm);
  border-radius: 160px 160px 0 0;
  text-align: center;
  color: var(--coffee);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.about-card-icon {
  width: 98px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-icon svg {
  width: 76px;
  height: 76px;
  stroke-width: 1.1;
}

.about-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-card-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.86rem;
  line-height: 1.18;
  color: var(--coffee);
}

.about-card-heart {
  color: var(--coffee);
  font-size: 1.35rem;
}

.flavors {
  padding: 26px 56px 64px;
  background: var(--paper-soft);
}

.flavors-header {
  text-align: center;
  margin-bottom: 26px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  font-weight: 500;
  line-height: 1.04;
}

.flavors-grid {
  max-width: calc(var(--max) - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.flavor-card {
  overflow: hidden;
  background: #fbf6ef;
  border: 1px solid #e4d3c3;
  border-radius: 6px;
}

.flavor-photo {
  aspect-ratio: 1.48 / 0.9;
  background: var(--paper-warm);
  overflow: hidden;
}

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

.flavor-name {
  font-family: 'Playfair Display', serif;
  color: var(--coffee);
  font-size: 1.62rem;
  font-weight: 500;
  line-height: 1.15;
  padding: 20px 24px 8px;
}

.flavor-desc {
  color: #3d2c22;
  font-size: 1rem;
  line-height: 1.55;
  padding: 0 24px 22px;
}

.flavors-cta {
  text-align: center;
  margin-top: 18px;
}

.flavors-cta .btn {
  min-height: 44px;
  padding: 0.65rem 2rem;
  border-radius: 7px;
}

.flavor-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

/* ── Flavor detail ────────────────────────────────────────────── */

.flavor-page-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.42), transparent 28%),
    var(--paper-soft);
}

.flavor-header {
  position: absolute;
}

.flavor-detail-shell {
  max-width: calc(var(--max) - 78px);
  margin: 0 auto;
}

.flavor-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 220px 56px 0;
  background:
    radial-gradient(circle at 54% 20%, rgba(255,255,255,0.6), transparent 23%),
    linear-gradient(90deg, rgba(251,240,226,0.98) 0%, rgba(251,240,226,0.95) 39%, rgba(251,240,226,0.45) 59%, rgba(251,240,226,0.05) 100%),
    var(--paper);
}

.flavor-detail-hero .flavor-detail-shell {
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(520px, 1.14fr);
  gap: 3rem;
  align-items: center;
}

.flavor-detail-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-bottom: 80px;
}

.flavor-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.flavor-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.flavor-breadcrumbs strong {
  color: var(--coffee);
  font-weight: 600;
}

.flavor-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.2vw, 5.15rem);
  line-height: 0.98;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.flavor-detail-desc {
  max-width: 480px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #352016;
  margin-bottom: 2rem;
}

.flavor-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  margin-bottom: 2rem;
}

.flavor-hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--coffee);
}

.flavor-hero-feature svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.55;
}

.flavor-hero-feature span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.flavor-order-btn {
  min-height: 46px;
  border-radius: 999px;
  padding-inline: 1.8rem;
}

.flavor-detail-hero-media {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.flavor-detail-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251,240,226,0.94) 0%, rgba(251,240,226,0.15) 28%, rgba(251,240,226,0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

.flavor-detail-hero-media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.flavor-detail-main {
  padding: 24px 56px 64px;
  background: var(--paper-soft);
}

.flavor-about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1fr) 240px;
  gap: 34px;
  align-items: center;
  margin-bottom: 32px;
}

.flavor-about-photo {
  aspect-ratio: 1.06 / 0.9;
  padding: 10px;
  background: var(--white);
  border: 1px solid #e7d7c8;
  box-shadow: var(--shadow);
}

.flavor-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flavor-about-copy {
  max-width: 560px;
}

.flavor-about-rule {
  width: 64px;
  height: 1px;
  background: var(--cinnamon);
  margin: -0.2rem 0 1rem;
}

.flavor-about-text {
  color: #3c2a21;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.flavor-about-list {
  padding-left: 1.2rem;
  color: #3f2d22;
  display: grid;
  gap: 0.45rem;
  line-height: 1.6;
}

.flavor-house-card {
  min-height: 300px;
}

.flavor-ingredients-section {
  margin-bottom: 30px;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.ingredient-item {
  text-align: center;
}

.ingredient-thumb {
  aspect-ratio: 1 / 1;
  width: min(104px, 100%);
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ingredient-thumb-fallback {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f9efe3, #ebd9c6);
  border: 1px solid #e4cfba;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 8px 18px rgba(255,255,255,0.55), 0 6px 16px rgba(96, 58, 26, 0.08);
}

.ingredient-thumb-fallback svg {
  width: 34px;
  height: 34px;
  color: var(--coffee);
  stroke-width: 1.6;
}

.ingredient-name {
  color: #4b382d;
  font-size: 0.95rem;
  line-height: 1.35;
}

.flavor-occasion-panel {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(280px, 0.92fr);
  overflow: hidden;
  background: linear-gradient(180deg, #efe3d6, #eadacc);
  border-radius: 12px;
  margin-bottom: 34px;
}

.occasion-copy {
  padding: 30px 34px;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.occasion-item {
  text-align: center;
}

.occasion-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coffee);
}

.occasion-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.45;
}

.occasion-name {
  color: #523d31;
  font-size: 0.92rem;
  line-height: 1.35;
}

.occasion-photo {
  min-height: 100%;
}

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

.flavor-related-section .flavors-grid {
  max-width: none;
}

/* ── Contact page ─────────────────────────────────────────────── */

.contact-page-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.42), transparent 26%),
    var(--paper-soft);
}

.contact-header {
  position: absolute;
}

.contact-shell {
  max-width: calc(var(--max) - 78px);
  margin: 0 auto;
}

.contact-hero {
  overflow: hidden;
  padding: 220px 56px 42px;
  background:
    radial-gradient(circle at 56% 22%, rgba(255,255,255,0.62), transparent 24%),
    linear-gradient(90deg, rgba(251,240,226,0.98) 0%, rgba(251,240,226,0.95) 40%, rgba(251,240,226,0.4) 61%, rgba(251,240,226,0.06) 100%),
    var(--paper);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 3rem;
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.contact-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.contact-hero-desc {
  max-width: 500px;
  color: #3b281e;
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 1.7rem;
}

.contact-hero-points {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.contact-hero-point {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #39251b;
  font-size: 0.98rem;
}

.contact-hero-point svg {
  width: 22px;
  height: 22px;
  color: var(--coffee);
  stroke-width: 1.8;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-hero-media {
  min-height: 620px;
  position: relative;
}

.contact-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251,240,226,0.96) 0%, rgba(251,240,226,0.14) 28%, rgba(251,240,226,0.02) 100%);
  z-index: 1;
  pointer-events: none;
}

.contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-main {
  padding: 18px 56px 64px;
  background: var(--paper-soft);
}

.contact-content-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.contact-info-stack {
  display: grid;
  gap: 18px;
}

.contact-info-card,
.contact-note-card {
  background: #fbf6ef;
  border: 1px solid #ead9ca;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(70, 38, 19, 0.06);
}

.contact-info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 17px;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coffee);
}

.contact-info-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.contact-info-label {
  color: var(--coffee);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.contact-info-link,
.contact-info-copy {
  color: #3d2b22;
  line-height: 1.6;
  text-decoration: none;
}

.contact-note-card {
  padding: 22px 22px 18px;
}

.contact-note-list {
  padding-left: 1.15rem;
  color: #453127;
  display: grid;
  gap: 0.5rem;
  line-height: 1.6;
}

.contact-form-panel {
  background: linear-gradient(180deg, #fffdfa, #faf3eb);
  border: 1px solid #ead8c8;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 16px 32px rgba(70, 38, 19, 0.08);
}

.contact-form-head {
  max-width: 660px;
  margin-bottom: 1.6rem;
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.contact-form-copy {
  color: #4a372d;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.contact-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.contact-field {
  display: grid;
  gap: 0.5rem;
}

.contact-field span {
  color: #4f392d;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #decab8;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: rgba(255,253,249,0.94);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field input,
.contact-field select {
  min-height: 52px;
}

.contact-field textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #c78f67;
  box-shadow: 0 0 0 3px rgba(199, 143, 103, 0.16);
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.contact-form-status {
  min-height: 1.5rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form-status[data-state="success"] {
  color: #356641;
}

.contact-support-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-support-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px 22px;
  background: #f5e8db;
  border-radius: 12px;
  border: 1px solid #ead4c0;
}

.contact-support-item svg {
  width: 24px;
  height: 24px;
  color: var(--coffee);
  stroke-width: 1.8;
}

.contact-support-title {
  color: var(--coffee);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.contact-support-copy {
  color: #4c392e;
  line-height: 1.55;
}

/* ── Newsletter ───────────────────────────────────────────────── */

.newsletter {
  position: relative;
  background: #ede3d4;
  overflow: hidden;
  padding: 48px 64px;
}

.newsletter-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 43%;
  object-fit: cover;
  object-position: left center;
}

.newsletter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(237, 227, 212, 1) 0%,
    rgba(237, 227, 212, 0.95) 38%,
    rgba(237, 227, 212, 0.4) 62%,
    transparent 78%
  );
  z-index: 1;
}

.newsletter-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 320px) auto 1fr;
  align-items: center;
  gap: 40px;
}

.newsletter-content { flex: 0 0 auto; max-width: 300px; }

.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.newsletter-desc {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  max-width: 260px;
}

.newsletter-social { display: flex; gap: 10px; }

.social {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--coffee);
  border-radius: 50%;
  color: var(--coffee);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.social:hover { background: rgba(111, 53, 17, 0.1); }
.social svg { width: 16px; height: 16px; stroke-width: 1.8; }

.newsletter-form {
  display: flex;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(91, 58, 31, 0.14);
  height: 56px;
  flex: 0 0 auto;
  justify-self: center;
}

.newsletter-input {
  width: 240px;
  border: none;
  outline: none;
  padding: 0 22px;
  font-size: 0.93rem;
  color: var(--ink);
  font-family: inherit;
  background: transparent;
}

.newsletter-input::placeholder { color: #b8a090; }

.newsletter-form .btn {
  height: 100%;
  border-radius: 0 8px 8px 0;
  box-shadow: none;
  padding: 0 28px;
  font-size: 0.78rem;
}

/* ── Footer strip ─────────────────────────────────────────────── */

.footer {
  background: var(--paper-soft);
  border-top: 1px solid rgba(91, 58, 31, 0.08);
  padding: 16px 80px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  font-size: 0.83rem;
}

.footer-copy { color: var(--muted); }

.footer-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--coffee); }

.footer-email {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:hover { color: var(--coffee); }
.footer-email svg { width: 16px; height: 16px; }

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 180px 1fr auto;
    padding: 28px 28px 0;
  }

  .brand { width: 170px; height: 170px; }
  .nav { gap: 1.1rem; padding-top: 22px; }
  .nav-link { font-size: 0.78rem; }
  .btn-cart { margin-top: 8px; }
  .hero { min-height: 705px; padding: 220px 28px 96px; }
  .hero-image { left: 36%; }
  .hero-title { font-size: clamp(3.5rem, 8vw, 5.5rem); }
  .feature-bar, .about, .flavors, .newsletter, .footer { padding-left: 28px; padding-right: 28px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-card { grid-column: 1 / -1; max-width: 340px; justify-self: center; }
  .newsletter-bg { width: 38%; }
  .newsletter-inner { grid-template-columns: minmax(240px, 300px) auto 1fr; gap: 28px; }
  .flavor-detail-hero { padding: 190px 28px 0; }
  .flavor-detail-main { padding: 24px 28px 56px; }
  .flavor-detail-shell { max-width: var(--max); }
  .flavor-detail-hero .flavor-detail-shell { grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr); }
  .flavor-detail-hero-media { min-height: 560px; }
  .flavor-about-grid { grid-template-columns: 1fr 1fr; }
  .flavor-house-card { grid-column: 1 / -1; max-width: 340px; justify-self: center; }
  .ingredients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flavor-occasion-panel { grid-template-columns: 1fr; }
  .occasion-photo { min-height: 280px; }
  .contact-shell { max-width: var(--max); }
  .contact-hero { padding: 190px 28px 34px; }
  .contact-main { padding: 18px 28px 56px; }
  .contact-hero-grid { grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr); }
  .contact-hero-media { min-height: 520px; }
  .contact-content-grid { grid-template-columns: 280px minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .header { position: relative; background: var(--paper); }
  .header-inner {
    grid-template-columns: auto auto;
    align-items: center;
    padding: 16px 18px;
  }
  .brand { width: 96px; height: 96px; }
  .nav { display: none; }
  .btn-cart { margin: 0; justify-self: end; padding: 0.72rem 1rem; font-size: 0.76rem; }
  .hero {
    min-height: auto;
    padding: 0 18px 34px;
  }
  .hero-grid {
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 1.7rem;
  }
  .hero-image {
    position: relative;
    inset: auto;
    width: calc(100% + 36px);
    height: auto;
    margin: 0 -18px;
  }
  .hero-photo {
    aspect-ratio: 1.22 / 0.86;
  }
  .hero-photo::before {
    background: linear-gradient(180deg, rgba(251,240,226,0), var(--paper));
  }
  .hero-title { font-size: clamp(3.15rem, 15vw, 4.8rem); }
  .hero-desc { font-size: 1rem; }
  .feature-bar {
    margin-top: 0;
    padding: 24px 18px 34px;
    background: var(--paper);
  }
  .feature-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .feature { gap: 10px; }
  .about, .flavors { padding: 40px 18px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { transform: none; }
  .about-card { grid-column: auto; }
  .flavors-grid { grid-template-columns: 1fr; }
  .feature-bar-alt {
    margin: 36px 18px 28px;
    padding: 8px 22px;
  }
  .feature-bar-alt .feature-bar-inner { grid-template-columns: 1fr; }
  .feature-block { padding: 20px 0; }
  .feature-block + .feature-block::before {
    top: 0;
    left: 10%;
    right: 10%;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .newsletter-bg { display: none; }
  .newsletter-overlay { display: none; }
  .newsletter { padding: 40px 28px; }
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .newsletter-content { max-width: 100%; }
  .newsletter-desc { margin-left: auto; margin-right: auto; }
  .newsletter-social { justify-content: center; }
  .newsletter-form { max-width: 520px; width: 100%; margin: 0 auto; }
  .newsletter-deco { display: none; }
  .flavor-header { position: relative; background: var(--paper); }
  .flavor-detail-hero {
    padding: 0 18px 24px;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,0.5), transparent 22%),
      var(--paper);
  }
  .flavor-detail-hero .flavor-detail-shell {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .flavor-detail-hero-copy {
    max-width: none;
    padding-bottom: 0;
  }
  .flavor-detail-title { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .flavor-detail-desc { max-width: none; font-size: 1.02rem; }
  .flavor-detail-hero-media {
    min-height: auto;
    width: calc(100% + 36px);
    margin: 0 -18px;
  }
  .flavor-detail-hero-media img {
    aspect-ratio: 1.08 / 0.82;
  }
  .flavor-detail-main {
    padding: 18px 18px 48px;
  }
  .flavor-about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ingredients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }
  .ingredient-thumb {
    width: min(96px, 100%);
  }
  .flavor-occasion-panel {
    border-radius: 10px;
  }
  .occasion-copy {
    padding: 26px 22px;
  }
  .occasion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
  .flavor-related-section .flavors-grid {
    grid-template-columns: 1fr;
  }
  .contact-header { position: relative; background: var(--paper); }
  .contact-hero {
    padding: 0 18px 24px;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,0.5), transparent 22%),
      var(--paper);
  }
  .contact-hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .contact-hero-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }
  .contact-hero-desc {
    max-width: none;
    font-size: 1rem;
  }
  .contact-hero-media {
    min-height: auto;
    width: calc(100% + 36px);
    margin: 0 -18px;
  }
  .contact-hero-media img {
    aspect-ratio: 1.1 / 0.84;
  }
  .contact-main {
    padding: 18px 18px 48px;
  }
  .contact-content-grid,
  .contact-support-band {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 24px 18px;
  }
  .contact-input-grid {
    grid-template-columns: 1fr;
  }
  .footer { padding: 16px 18px; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-links { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .footer-email { justify-self: center; }
}

@media (max-width: 520px) {
  .btn { width: auto; max-width: 100%; }
  .hero-title { font-size: 3.2rem; }
  .eyebrow { font-size: 0.78rem; }
  .feature-bar-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; height: auto; border-radius: 8px; }
  .newsletter-input { width: 100%; height: 52px; }
  .newsletter-form .btn { width: 100%; border-radius: 0 0 8px 8px; }
  .flavor-breadcrumbs {
    font-size: 0.84rem;
    gap: 0.42rem;
  }
  .flavor-hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .contact-hero-actions,
  .contact-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .contact-hero-actions .btn,
  .contact-form-actions .btn {
    width: 100%;
  }
  .ingredients-grid,
  .occasion-grid {
    grid-template-columns: 1fr;
  }
}
