/* Campbells Fudge — Warm Cream, Caramel, Scottish Heritage */
:root {
  --bg: #fbf6ec;
  --paper: #f4ead7;
  --caramel: #b06e1e;
  --caramel-deep: #7c4a10;
  --ink: #2a1d10;
  --muted: #6d5a44;
  --line: #e3d6bb;
  --tartan: #8b2e2e;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Serif Display', Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, li, span, button, input, .body-font { font-family: 'Karla', sans-serif; }

/* Top banner */
.top-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 10px 20px;
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav */
.nav { background: var(--bg); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-links { display: flex; gap: 32px; font-family: 'Karla', sans-serif; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.nav-links a { color: var(--ink); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--caramel); }
.nav-left { display: flex; justify-content: flex-start; }
.nav-right { display: flex; justify-content: flex-end; gap: 28px; }
.logo { display: inline-block; line-height: 0; text-align: center; }
.logo img { height: 54px; width: auto; }

/* Hero — centered, big serif, badges */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 32px 60px;
  text-align: center;
  position: relative;
}
.kilt-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 60px, rgba(139,46,46,.04) 60px 62px),
                    repeating-linear-gradient(-45deg, transparent 0 60px, rgba(176,110,30,.04) 60px 62px);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--caramel-deep);
  margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--caramel-deep); }
.hero h1 {
  font-size: clamp(60px, 9vw, 130px);
  line-height: .92;
  letter-spacing: -2px;
  margin-bottom: 28px;
  position: relative;
}
.hero h1 em { font-style: italic; color: var(--caramel); }
.hero-sub {
  max-width: 540px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 18px;
  position: relative;
}
.badges { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; position: relative; }
.badge {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 10px 18px;
  font-family: 'Karla', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
}

/* Hero img band */
.hero-band {
  margin: 60px auto 0;
  max-width: var(--max);
  padding: 0 32px;
}
.hero-band-img {
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
}
.hero-band-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section { padding: 100px 32px; }
.container { max-width: var(--max); margin: 0 auto; }
.section-eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--caramel-deep);
  margin-bottom: 20px;
  font-weight: 700;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--caramel); }
.section-intro { color: var(--muted); max-width: 600px; font-size: 17px; margin-bottom: 70px; }

/* Flavours grid — sticker style */
.flavours-section { background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.flavour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flavour {
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .25s;
  position: relative;
}
.flavour:nth-child(odd) { transform: rotate(-1deg); }
.flavour:nth-child(even) { transform: rotate(1deg); }
.flavour:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 14px 30px rgba(42,29,16,.18); }
.flavour-img { aspect-ratio: 1; overflow: hidden; border-bottom: 1.5px solid var(--ink); }
.flavour-img img { width: 100%; height: 100%; object-fit: cover; }
.flavour-body { padding: 20px 18px 24px; text-align: center; }
.flavour h3 { font-family: 'DM Serif Display', serif; font-size: 22px; line-height: 1.1; margin-bottom: 6px; }
.flavour .price { font-family: 'Karla', sans-serif; font-size: 13px; color: var(--caramel-deep); font-weight: 700; letter-spacing: 1px; }
.flavour .tag { position: absolute; top: 10px; right: 10px; background: var(--tartan); color: var(--bg); padding: 4px 10px; border-radius: 999px; font-family: 'Karla', sans-serif; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-img { aspect-ratio: 4/5; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; transform: rotate(-1.5deg); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }
.story .signature {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 28px;
  margin-top: 30px;
  color: var(--caramel);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  transition: background .25s, transform .2s;
  border: 1.5px solid var(--ink);
}
.btn:hover { background: var(--caramel); border-color: var(--caramel); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* Stats strip */
.stats {
  background: var(--ink);
  color: var(--paper);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-num { font-family: 'DM Serif Display', serif; font-size: 64px; color: var(--caramel); line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: 'Karla', sans-serif; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--paper); }

/* Sub-page hero */
.sub-hero { padding: 80px 32px; text-align: center; background: var(--paper); border-bottom: 2px solid var(--ink); }
.sub-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(54px, 8vw, 100px); line-height: .95; letter-spacing: -1.5px; margin-bottom: 18px; }
.sub-hero h1 em { font-style: italic; color: var(--caramel); }
.sub-hero p { font-family: 'Karla', sans-serif; color: var(--muted); font-size: 18px; max-width: 580px; margin: 0 auto; }

/* Timeline */
.timeline { margin-top: 60px; }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.tl-year { font-family: 'DM Serif Display', serif; font-size: 38px; color: var(--caramel); }
.tl-text h3 { font-family: 'DM Serif Display', serif; font-size: 26px; margin-bottom: 8px; }
.tl-text p { color: var(--muted); }

/* Wholesale */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.tier { background: var(--bg); border: 1.5px solid var(--ink); border-radius: 6px; padding: 36px 30px; }
.tier h3 { font-family: 'DM Serif Display', serif; font-size: 32px; margin-bottom: 8px; }
.tier .qty { font-family: 'Karla', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--caramel-deep); font-weight: 700; margin-bottom: 24px; }
.tier ul { list-style: none; }
.tier li { padding: 10px 0; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.tier li::before { content: '✦ '; color: var(--caramel); }

/* CTA */
.cta {
  background: var(--caramel);
  color: var(--bg);
  text-align: center;
}
.cta .section-eyebrow { color: var(--paper); }
.cta h2 { font-family: 'DM Serif Display', serif; font-size: clamp(44px, 6vw, 78px); margin-bottom: 32px; line-height: .95; }
.cta .btn { background: var(--ink); border-color: var(--ink); }
.cta .btn:hover { background: var(--bg); color: var(--ink); }

/* Footer */
footer { background: var(--ink); color: var(--paper); padding: 80px 32px 36px; }
.foot-grid { max-width: var(--max); margin: 0 auto 50px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: 'DM Serif Display', serif; font-size: 22px; margin-bottom: 18px; }
.foot-grid p, .foot-grid a { font-family: 'Karla', sans-serif; color: #c4b6a0; font-size: 14px; display: block; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--caramel); }
.foot-bottom { max-width: var(--max); margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; font-family: 'Karla', sans-serif; font-size: 13px; color: #8e7e67; }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 32px 100px; }
.legal h1 { font-family: 'DM Serif Display', serif; font-size: 68px; margin-bottom: 8px; letter-spacing: -1px; }
.legal h1 em { color: var(--caramel); font-style: italic; }
.legal .updated { font-family: 'Karla', sans-serif; color: var(--muted); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 48px; }
.legal h2 { font-family: 'DM Serif Display', serif; font-size: 28px; margin: 36px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }

@media (max-width: 880px) {
  .hero h1 { font-size: 60px; }
  .nav-inner { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .nav-left, .nav-right { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .nav-links { font-size: 11px; gap: 14px; }
  .story, .stats .container, .foot-grid, .tier-grid { grid-template-columns: 1fr; gap: 40px; }
  .flavour-grid { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  section { padding: 70px 24px; }
}
