:root {
  --cream: #fffaf0;
  --ivory: #fffdf7;
  --paper: #fffaf2;
  --wheat: #dcae63;
  --wheat-soft: #f5e4bd;
  --cocoa: #6b3b2a;
  --cocoa-dark: #402319;
  --clay: #b8754b;
  --sage: #7f9576;
  --sage-soft: #eaf0e2;
  --blue: #5f7f89;
  --ink: #31241e;
  --muted: #755f51;
  --line: rgba(107, 59, 42, 0.16);
  --shadow: 0 24px 64px rgba(83, 49, 29, 0.13);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  left: 0;
  padding: 16px clamp(20px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  aspect-ratio: 2.2 / 1;
  border: 1px solid rgba(220, 174, 99, 0.34);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(64, 35, 25, 0.14);
  flex: 0 0 150px;
  height: 64px;
  object-fit: cover;
  object-position: center;
  width: 150px;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--wheat);
  color: var(--cocoa);
}

.header-cta,
.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--cocoa);
  box-shadow: 0 12px 26px rgba(107, 59, 42, 0.2);
  color: white;
}

.button-secondary {
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid rgba(107, 59, 42, 0.3);
  color: var(--cocoa);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(420px, 1.24fr);
  min-height: min(820px, calc(100vh - 77px));
  overflow: hidden;
  position: relative;
}

.hero::before {
  border: 2px solid rgba(220, 174, 99, 0.32);
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50% 50% 0 0;
  content: "";
  height: 148px;
  left: clamp(22px, 4vw, 64px);
  pointer-events: none;
  position: absolute;
  right: clamp(22px, 4vw, 64px);
  top: 112px;
  z-index: 2;
}

.hero-copy {
  align-self: center;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 5vw, 76px);
  position: relative;
  z-index: 2;
}

.hero-wordmark {
  align-items: center;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(220, 174, 99, 0.42);
  border-radius: 999px;
  box-shadow: 0 20px 54px rgba(64, 35, 25, 0.13);
  display: inline-flex;
  height: clamp(126px, 14vw, 168px);
  justify-content: center;
  margin: 0 0 30px;
  max-width: min(540px, 100%);
  overflow: hidden;
  width: min(520px, 100%);
}

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

.hero-copy p {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
  margin: 0;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-image-wrap {
  margin: clamp(22px, 4vw, 48px) clamp(20px, 4vw, 56px) clamp(22px, 4vw, 48px) 0;
  min-height: 520px;
  position: relative;
}

.hero-image-wrap::before {
  background: linear-gradient(90deg, var(--cream) 0%, rgba(255, 250, 240, 0.74) 19%, rgba(255, 250, 240, 0) 48%);
  border-radius: 50% / 42%;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-image {
  border: 1px solid rgba(220, 174, 99, 0.32);
  border-radius: 50% / 38%;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.floating-motif {
  align-items: center;
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(220, 174, 99, 0.48);
  border-radius: 999px;
  bottom: 30px;
  box-shadow: 0 14px 34px rgba(64, 35, 25, 0.12);
  color: var(--cocoa);
  display: flex;
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: 1.8rem;
  justify-content: center;
  min-height: 76px;
  padding: 0 28px;
  position: absolute;
  right: 36px;
  z-index: 2;
}

.intro-band {
  align-items: center;
  background: var(--cocoa);
  color: white;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px clamp(24px, 5vw, 72px);
}

.intro-band p,
.intro-band span {
  margin: 0;
}

.intro-band p {
  font-family: Lora, Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}

.intro-band span {
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(24px, 5vw, 72px);
}

.section-heading {
  margin: 0 auto 42px;
  max-width: 760px;
  text-align: center;
}

h2,
h3 {
  color: var(--cocoa-dark);
  font-family: Lora, Georgia, serif;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.65rem);
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.section-heading p,
.craft-copy p,
.pickup-section p,
.feature p,
.quick-order p {
  color: var(--muted);
  font-size: 1rem;
  margin: 14px 0 0;
}

.featured-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  margin: 0 auto;
  max-width: 1120px;
}

.feature {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
}

.feature-large {
  background:
    linear-gradient(150deg, rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.74)),
    url("assets/mckennas-hearth-hero.png") center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-note {
  align-self: flex-start;
  background: var(--sage-soft);
  border: 1px solid rgba(99, 122, 89, 0.3);
  border-radius: 999px;
  color: var(--sage);
  font-weight: 800;
  margin-top: 32px;
  padding: 8px 12px;
}

.bagel-feature {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1fr;
}

.flavor-list {
  columns: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flavor-list li {
  align-items: center;
  border-bottom: 1px solid rgba(16, 38, 51, 0.09);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 9px 0;
}

.flavor-list li::before {
  background: var(--wheat);
  border-radius: 999px;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.flavor-list span {
  color: var(--cocoa);
  font-size: 0.82rem;
  font-weight: 800;
}

.crafts-section {
  align-items: center;
  background: var(--sage-soft);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
}

.craft-copy {
  max-width: 640px;
}

.craft-list {
  display: grid;
  gap: 14px;
}

.craft-list span {
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(99, 122, 89, 0.2);
  border-radius: 999px;
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  padding: 22px 24px;
}

.order-section {
  background:
    radial-gradient(circle at top left, rgba(70, 111, 130, 0.12), transparent 32rem),
    var(--paper);
}

.order-options {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto 28px;
  max-width: 1080px;
}

.order-option {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(16, 38, 51, 0.08);
  min-height: 210px;
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.order-option:hover,
.order-option:focus-visible {
  border-color: rgba(220, 174, 99, 0.78);
  transform: translateY(-3px);
}

.option-icon {
  align-items: center;
  border-radius: 999px;
  color: white;
  display: grid;
  font-size: 1.55rem;
  font-weight: 900;
  height: 48px;
  justify-items: center;
  margin-bottom: 22px;
  width: 48px;
}

.messenger .option-icon {
  background: #1677f2;
}

.email .option-icon {
  background: var(--sage);
}

.form-link .option-icon {
  background: var(--wheat);
  color: var(--cocoa-dark);
}

.order-option strong,
.order-option small {
  display: block;
}

.order-option strong {
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.order-option small {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 10px;
}

.quick-order {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 30px;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 780px;
  padding: clamp(24px, 4vw, 36px);
}

.form-title {
  margin-bottom: 2px;
}

.quick-order label {
  color: var(--ink);
  display: grid;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 8px;
}

.quick-order input,
.quick-order textarea {
  background: white;
  border: 1px solid rgba(16, 38, 51, 0.22);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 13px;
  width: 100%;
}

.quick-order textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
}

.pickup-section {
  align-items: center;
  background: linear-gradient(90deg, var(--sage-soft), #f7ecd2);
  border-top: 1px solid rgba(127, 149, 118, 0.2);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 72px);
}

.pickup-section div {
  max-width: 820px;
}

.site-footer {
  align-items: center;
  background: var(--cocoa-dark);
  color: white;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 72px);
}

.footer-logo {
  background: var(--cream);
  border: 1px solid rgba(220, 174, 99, 0.42);
  border-radius: 999px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  width: 140px;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 36px;
  }

  .hero-wordmark {
    height: 126px;
    width: min(420px, calc(100vw - 40px));
  }

  .hero-image-wrap {
    margin: 0 20px 28px;
    min-height: 380px;
  }

  .hero-image-wrap::before {
    background: linear-gradient(180deg, var(--cream), rgba(255, 249, 239, 0) 34%);
  }

  .featured-grid,
  .crafts-section,
  .bagel-feature,
  .order-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  main,
  .hero,
  .hero-copy,
  .intro-band,
  .section,
  .pickup-section,
  .site-footer {
    max-width: 100vw;
    overflow: hidden;
    width: 100%;
  }

  .site-header {
    gap: 14px;
    padding: 12px 18px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .brand-logo {
    flex-basis: 128px;
    height: 48px;
    width: 128px;
  }

  .hero-actions,
  .intro-band,
  .pickup-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy {
    padding: 48px 20px 30px;
  }

  .hero-wordmark {
    height: 104px;
    max-width: 100%;
    width: min(330px, calc(100vw - 40px));
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }

  .intro-band p {
    font-size: 1.18rem;
  }

  .hero-actions .button,
  .pickup-section .button {
    width: 100%;
  }

  .section,
  .pickup-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy p,
  .section-heading,
  .intro-band p,
  .intro-band span {
    max-width: 280px;
    width: 280px;
  }

  .section-heading {
    margin-left: auto;
    margin-right: auto;
  }

  h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .hero::before {
    display: none;
  }

  .hero-image-wrap {
    margin: 0 0 24px;
    min-height: 330px;
  }

  .hero-image {
    border-radius: 50% / 28%;
    border-left: 0;
    border-right: 0;
  }

  .floating-motif {
    bottom: 22px;
    font-size: 1.45rem;
    max-width: calc(100% - 32px);
    min-height: 56px;
    padding: 0 20px;
    right: 16px;
  }

  .flavor-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
