:root {
  --bg: #f4f1ea;
  --paper: #ffffff;
  --paper-2: #faf7f1;
  --ink: #161412;
  --muted: #5a524a;
  --accent: #e6c98f;
  --accent-dark: #c9a96d;
  --line: #e7dfd2;
  --shadow: 0 18px 40px rgba(22, 20, 18, 0.07);
  --radius: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f4 100%);
  color: var(--ink);
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

.topbar {
  background: #111111;
  color: #fffbe8;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(111, 70, 34, 0.15);
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e6e6e6, #bdbdbd 70%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
  object-fit: cover;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-link:hover {
  background: #f6f6f6;
  color: #111111;
}

.nav-link.active {
  background: #f1f1f1;
  color: #111111;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #111111;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: #111111;
  color: #ffffff;
}

.btn.primary:hover {
  background: var(--accent);
  color: #111111;
  border-color: var(--accent);
}

.btn.secondary {
  background: transparent;
  color: #111111;
  border: 1px solid #111111;
}

.btn.secondary:hover,
.btn.secondary.active {
  background: var(--accent);
  color: #111111;
  border-color: var(--accent);
}

main {
  padding: 30px 0 56px;
}

.stack {
  display: grid;
  gap: 20px;
}

.hero-grid,
.cards-3,
.cards-2,
.gallery-grid,
.footer-grid,
.breadclub-wrap,
.breadclub-grid3,
.breadclub-mini,
.breadclub-formgrid,
.breadclub-row2,
.breadclub-split {
  display: grid;
  gap: 20px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.card,
.hero-copy,
.hero-side,
.photo,
.breadclub-left,
.breadclub-right,
.breadclub-card,
.breadclub-note,
.breadclub-pillbox,
.breadclub-subcard,
.breadclub-preview {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-side,
.card {
  padding: 28px;
}

.hero-copy {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.985) 0%, rgba(255,255,255,0.95) 42%, rgba(255,255,255,0.74) 100%),
    url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=1400&q=80') center/cover;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow {
  color: #111111;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}

.hero-copy h1 {
  font-weight: 700;
}

.hero-copy p {
  max-width: 56ch;
}

.hero-side {
  min-height: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf7 100%);
  align-content: start;
}

.story-scroll {
  max-height: 496px;
  overflow-y: auto;
  padding-right: 10px;
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.28) transparent;
}

.story-scroll::-webkit-scrollbar {
  width: 8px;
}

.story-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.story-scroll::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.22);
  border-radius: 999px;
}

.story-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 17, 17, 0.35);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #111111;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 9.5ch;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 12px;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.72;
}

ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.hero-actions,
.chips,
.footer-links,
.breadclub-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chips {
  margin-top: 18px;
}

.chip {
  background: #f6f6f6;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  background: #f4f4f4;
  color: #111111;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 0 0 6px;
}

.section-head p {
  max-width: 60ch;
  margin-bottom: 0;
}

.photo {
  min-height: 240px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,36,29,0.05), rgba(45,36,29,0.25));
}

.photo.one {
  background-image: url('https://images.unsplash.com/photo-1608198093002-ad4e005484ec?auto=format&fit=crop&w=1400&q=80');
}

.photo.two {
  background-image: url('https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1200&q=80');
}

.photo.three {
  background-image: url('https://images.unsplash.com/photo-1528735602780-2552fd46c7af?auto=format&fit=crop&w=1200&q=80');
}

.photo.four {
  background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1200&q=80');
}

.photo.five {
  background-image: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1200&q=80');
}

.photo.six {
  background-image: url('https://images.unsplash.com/photo-1483695028939-5bb13f8648b0?auto=format&fit=crop&w=1200&q=80');
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 10px;
  color: var(--muted);
  margin-top: 30px;
}

.footer-links {
  justify-content: flex-end;
}

.small {
  font-size: 0.92rem;
}

/* Forms */
label {
  color: var(--ink);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(201, 169, 109, 0.12);
}

.card:has(form) {
  background: #fcfaf6 !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  box-shadow: 0 18px 40px rgba(22, 20, 18, 0.08), 0 4px 10px rgba(22, 20, 18, 0.05) !important;
}

.card:has(form) form {
  margin-top: 4px;
}

.card:has(form) textarea {
  min-height: 140px;
}

.card:has(form) .btn.primary {
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}

/* Bread Club */
.breadclub-wrap {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.breadclub-left {
  background: #ffffff;
  padding: 38px;
}

.breadclub-right {
  background: linear-gradient(180deg, #161210 0%, #1d1714 100%);
  color: #fff;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.breadclub-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #8f7f73;
  margin-bottom: 12px;
}

.breadclub-title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 0.95;
  margin-bottom: 18px;
  max-width: none;
}

.breadclub-grid3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.breadclub-card {
  border: 1px solid #dfdfda;
  border-radius: 22px;
  background: #faf9f6;
  padding: 18px;
}

.breadclub-mini {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.breadclub-formgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.breadclub-field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f3eee8;
  margin-bottom: 8px;
}

.breadclub-input,
.breadclub-select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  appearance: none;
}

.breadclub-select option {
  background: #1d1714;
  color: #ffffff;
}

.breadclub-split {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.breadclub-pillbox,
.breadclub-subcard,
.breadclub-preview,
.breadclub-note {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.breadclub-pillbox {
  padding: 18px;
}

.breadclub-best {
  border: 1px solid rgba(70, 214, 125, 0.30);
  background: rgba(70, 214, 125, 0.10);
  border-radius: 18px;
  padding: 10px 12px;
  min-width: 138px;
  text-align: right;
}

.breadclub-loaf {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.16);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.breadclub-row2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.breadclub-darkpill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.breadclub-darkpill.active {
  background: rgba(255, 255, 255, 0.16);
}

.breadclub-subcard {
  padding: 16px;
}

.breadclub-next {
  background: rgba(26, 123, 168, 0.22);
  border-color: rgba(93, 185, 231, 0.34);
}

.breadclub-preview {
  padding: 18px;
  border-color: rgba(231, 180, 49, 0.30);
  background: rgba(231, 180, 49, 0.08);
}

.breadclub-note {
  padding: 18px;
}

.breadclub-cta {
  width: 100%;
  margin-top: 14px;
  background: #fff;
  color: #111;
  border-color: #fff;
}

.breadclub-cta:hover {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.breadclub-wrap *,
.breadclub-wrap *::before,
.breadclub-wrap *::after {
  min-width: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .breadclub-wrap,
  .breadclub-split,
  .breadclub-grid3,
  .breadclub-mini,
  .breadclub-formgrid,
  .breadclub-row2,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .cards-2,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .hero-copy {
    min-height: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .nav {
    justify-content: center;
  }

  .nav-links,
  .nav-actions {
    justify-content: center;
  }

  .hero-copy,
  .hero-side,
  .card,
  .breadclub-left,
  .breadclub-right {
    padding: 22px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .story-scroll {
    max-height: 360px;
  }

  .topbar {
    font-size: 0.82rem;
  }
}
