:root {
  --bg: #0b0907;
  --bg-elev: #14100c;
  --bg-card: #18130e;
  --ink: #f6efe3;
  --muted: #c4b39a;
  --gold: #e0b15a;
  --gold-deep: #b8842e;
  --line: rgba(246, 239, 227, 0.12);
  --shade: rgba(11, 9, 7, 0.55);
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 72rem;
  --radius: 1.15rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 0.9rem;
  background: var(--gold);
  color: #1a1208;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.wordmark-mark {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 0.4rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.hero {
  position: relative;
  min-height: min(92vh, 58rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 9, 7, 0.25) 0%, rgba(11, 9, 7, 0.15) 35%, rgba(11, 9, 7, 0.88) 100%),
    radial-gradient(80% 70% at 20% 80%, rgba(11, 9, 7, 0.45), transparent);
}

.hero-copy {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
}

.hero h1 {
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  font-weight: 700;
  max-width: 12ch;
}

.lede {
  margin: 1rem 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 400;
  color: #f3e6cf;
}

.hero-note {
  max-width: 36rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.hero-actions,
.inquire .btn {
  display: inline-flex;
}

.hero-actions {
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-gold {
  background: var(--gold);
  color: #1c1308;
}

.btn-gold:hover {
  background: #f0c57a;
}

.btn-ghost {
  border-color: rgba(246, 239, 227, 0.28);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--gold);
}

.loaves,
.about,
.inquire,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.loaves {
  padding: 6rem 0 4rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.about h2,
.inquire h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 0.85rem;
}

.section-dek,
.about-copy p,
.inquire p {
  color: var(--muted);
}

.spectrum {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.spectrum--gallery {
  margin: 2.4rem 0 1.15rem;
}

.keeper-grid {
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.loaf--keeper article {
  border-color: rgba(224, 177, 90, 0.38);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.loaf--keeper figure {
  aspect-ratio: 16 / 11;
  position: relative;
}

.loaf--keeper h3 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.keeper-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1c1308;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spectrum i {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #f3e0a6, #d89a3c 45%, #5a2d16 75%, #120c09);
}

.loaf-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.loaf article {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.loaf article:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 177, 90, 0.35);
}

.loaf figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #100d0a;
}

.loaf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.loaf article:hover img {
  transform: scale(1.04);
}

.loaf-copy {
  padding: 1.15rem 1.15rem 1.3rem;
}

.loaf .style {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.loaf h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.loaf p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.about {
  padding: 2rem 0 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-media {
  border-radius: calc(var(--radius) + 0.2rem);
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.inquire {
  margin-bottom: 5rem;
  padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    linear-gradient(180deg, rgba(224, 177, 90, 0.08), transparent 50%),
    var(--bg-elev);
  border: 1px solid var(--line);
  text-align: center;
}

.inquire p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.inquire .fine {
  margin: 1rem auto 0;
  font-size: 0.88rem;
}

.site-footer {
  padding: 0 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.footer-mark {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.footer-theory {
  max-width: 34rem;
  color: var(--muted);
}

.footer-doughnation {
  margin: 0.85rem 0 0.55rem;
  max-width: 34rem;
  color: var(--ink);
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 960px) {
  .loaf-grid,
  .keeper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem 1.1rem;
    background: rgba(11, 9, 7, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

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

  .loaf-grid,
  .keeper-grid {
    grid-template-columns: 1fr;
  }

  .loaf--keeper figure {
    aspect-ratio: 4 / 5;
  }

  .hero-copy {
    padding-top: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loaf article,
  .loaf img,
  .btn { transition: none; }
}
