:root {
  color-scheme: light;
  --bg: #f8f1e7;
  --surface: rgba(255, 248, 239, 0.92);
  --surface-strong: #fffaf4;
  --text: #2f2318;
  --muted: #715847;
  --accent: #b66a26;
  --accent-dark: #8d4c16;
  --line: rgba(74, 46, 24, 0.12);
  --shadow: 0 24px 60px rgba(47, 35, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hero {
  min-height: 100vh;
  padding: 1.25rem clamp(1rem, 2vw, 2rem) 8rem;
  background:
    linear-gradient(120deg, rgba(25, 16, 8, 0.72) 0%, rgba(25, 16, 8, 0.42) 45%, rgba(25, 16, 8, 0.25) 100%),
    url("Picture/bakery_bg.jpg") center/cover no-repeat;
  color: #fff6ef;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: clamp(160px, 24vw, 240px);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-color: rgba(255, 246, 239, 0.85);
}

.hero-content {
  margin: auto 0 0;
  max-width: 36rem;
  padding-top: 5rem;
  padding-bottom: 1rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.intro-copy h2,
.visit-card h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  max-width: 10ch;
}

.hero-copy {
  margin: 1.2rem 0 0;
  max-width: 30rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 246, 239, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
  position: relative;
  z-index: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  min-width: 10.5rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  background: var(--accent);
  color: #fff9f3;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 246, 239, 0.5);
  background: rgba(255, 246, 239, 0.08);
  color: #fff6ef;
}

.intro-band,
.feature-grid,
.visit-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: -3.5rem;
  position: relative;
  z-index: 1;
}

.intro-copy,
.intro-stats,
.feature,
.visit-card,
.hours-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-copy,
.visit-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.intro-copy h2,
.visit-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.intro-copy p:last-child {
  margin-bottom: 0;
  line-height: 1.75;
  color: var(--muted);
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
}

.stat {
  padding: 1.4rem 1.5rem;
  background: var(--surface-strong);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.5;
}

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

.feature {
  padding: 1.5rem;
}

.feature h3 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1rem;
  padding-bottom: 4rem;
}

.contact-list {
  margin: 1.6rem 0 0;
  display: grid;
  gap: 1rem;
}

.contact-list div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-list dd {
  margin: 0.45rem 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hours-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.mini-logo {
  width: min(100%, 280px);
  border-radius: 14px;
}

.hours-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .intro-band,
  .visit-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 6rem;
  }

  .hero-content {
    padding-top: 4rem;
    max-width: 32rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 1rem 1rem 4.5rem;
    padding-bottom: 5rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-links {
    gap: 0.85rem;
    width: 100%;
    font-size: 0.9rem;
  }

  .intro-band {
    margin-top: -2rem;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 3rem;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .intro-copy,
  .visit-card,
  .feature,
  .hours-card {
    padding: 1.25rem;
  }

  .intro-copy h2,
  .visit-card h2 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
}

@media (max-width: 420px) {
  .brand img {
    width: min(72vw, 220px);
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 18vw, 3.9rem);
  }
}
