:root {
  --font-sans: "DM Sans", sans-serif;
  --font-display: "Barlow Condensed", sans-serif;
  --cream: #f5eedf;
  --paper: #fffaf0;
  --ink: #132a42;
  --red: #eb4d3d;
  --orange: #f1a33b;
  --line: rgba(19, 42, 66, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans), sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.announcement { min-height: 36px; padding: 8px 5vw; background: var(--ink); color: white; display: flex; justify-content: center; align-items: center; gap: 18px; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.announcement-mark { color: var(--orange); }
.site-header { height: 108px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: var(--cream); position: relative; z-index: 5; }
.brand { display: inline-flex; width: max-content; align-items: center; }
.brand img { width: 238px; height: 96px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
nav a, .footer a { transition: color .2s ease; }
nav a:hover, .footer a:hover { color: var(--red); }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 27px; border: 2px solid var(--ink); border-radius: 100px; background: var(--red); color: white; box-shadow: 4px 4px 0 var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: #d93f32; }
.button-small { min-height: 46px; padding: 0 21px; }
.button-outline { color: var(--ink); background: transparent; }
.button-outline:hover { color: white; }
.button-light { color: var(--ink); background: var(--paper); box-shadow: 4px 4px 0 #061728; }
.text-link { display: inline-flex; gap: 8px; border-bottom: 2px solid currentColor; padding: 8px 0 5px; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.text-link:hover { color: var(--red); }

.hero { min-height: 690px; display: grid; grid-template-columns: 54% 46%; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-photo { min-height: 690px; background: linear-gradient(90deg, transparent 70%, rgba(19,42,66,.08)), url('/images/bagel-boy-logo.jpg') center / cover; border-right: 1px solid var(--line); position: relative; }
.hero-copy { padding: 10vw 7vw 8vw; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 20px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display), sans-serif; text-transform: uppercase; letter-spacing: -.045em; line-height: .88; }
h1 { margin-bottom: 30px; font-size: clamp(76px, 8.4vw, 138px); font-weight: 900; }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-intro { max-width: 500px; margin-bottom: 34px; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-sticker { width: 126px; height: 126px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); position: absolute; left: calc(54% - 63px); bottom: 42px; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(-8deg); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .11em; box-shadow: 5px 5px 0 var(--ink); }
.hero-sticker strong { font-family: var(--font-display), sans-serif; color: white; font-size: 31px; line-height: 1; text-shadow: 2px 2px 0 var(--ink); }

.marquee { overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--red); color: white; white-space: nowrap; }
.marquee-track { width: max-content; display: flex; align-items: center; font-family: var(--font-display), sans-serif; font-size: 26px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; animation: drift 22s linear infinite; }
.marquee-group { min-width: 100vw; display: flex; justify-content: space-around; align-items: center; gap: 28px; padding-right: 28px; }
.marquee b { color: var(--orange); }
@keyframes drift { to { transform: translateX(-50%); } }

.section { padding: 110px 6vw; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8vw; margin-bottom: 54px; }
h2 { margin-bottom: 0; font-size: clamp(62px, 7vw, 108px); font-weight: 900; }
.section-heading > p { max-width: 500px; margin: 0 0 8px; font-size: 17px; line-height: 1.65; }
.favorite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.favorite-image-wrap { height: 430px; overflow: hidden; position: relative; border: 2px solid var(--ink); background: white; }
.favorite-image { height: 100%; object-fit: cover; transition: transform .5s ease; }
.favorite-card:nth-child(3) .favorite-image { object-position: 50% 35%; }
.favorite-card:hover .favorite-image { transform: scale(1.035); }
.favorite-number { width: 50px; height: 50px; display: grid; place-items: center; position: absolute; top: 14px; left: 14px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font-family: var(--font-display), sans-serif; font-size: 20px; font-weight: 800; }
.favorite-card h3 { margin: 20px 0 6px; font-family: var(--font-display), sans-serif; font-size: 35px; font-weight: 900; letter-spacing: -.025em; text-transform: uppercase; }
.favorite-card p { max-width: 370px; margin-bottom: 0; line-height: 1.55; }
.center-action { display: flex; justify-content: center; margin-top: 52px; }

.order-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; background: var(--orange); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.order-heading > p:last-child { max-width: 480px; margin: 26px 0 0; font-size: 18px; line-height: 1.6; }
.order-options { display: grid; gap: 18px; }
.order-card { min-height: 150px; padding: 25px 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--ink); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.order-card:hover { transform: translate(3px, 3px); box-shadow: 4px 4px 0 var(--ink); background: white; }
.order-card-number { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: var(--red); font-family: var(--font-display), sans-serif; font-size: 19px; font-weight: 900; }
.order-card h3 { margin: 0 0 4px; font-family: var(--font-display), sans-serif; font-size: clamp(35px, 4vw, 56px); font-weight: 900; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.order-card p { margin: 0; color: #516070; }
.order-arrow { color: var(--red); font-size: 35px; font-weight: 900; }

.catering { display: grid; grid-template-columns: minmax(360px, .8fr) 1.2fr; gap: 8vw; align-items: center; background: var(--ink); color: white; }
.catering-photo { padding: 18px; background: var(--orange); transform: rotate(-2.5deg); box-shadow: 11px 11px 0 var(--red); }
.catering-photo img { border: 2px solid var(--ink); }
.catering-copy .eyebrow { color: var(--orange); }
.catering-copy h2 { margin-bottom: 34px; }
.catering-copy h2 em { color: var(--orange); }
.catering-lead { max-width: 680px; margin-bottom: 18px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.catering-copy > p:not(.eyebrow):not(.catering-lead) { color: #dce2e8; }
.catering-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; padding: 0; margin: 32px 0 38px; list-style: none; }
.catering-copy li { display: flex; align-items: flex-start; gap: 11px; line-height: 1.4; }
.catering-copy li span { color: var(--orange); font-weight: 900; }
.catering-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.catering-actions .text-link:hover { color: var(--orange); }

.love-note { min-height: 630px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 6vw; background: var(--paper); overflow: hidden; }
.love-note-photo { height: 400px; border: 2px solid var(--ink); transform: rotate(-5deg); box-shadow: 9px 9px 0 var(--red); }
.love-note-photo.second { transform: rotate(5deg); box-shadow: 9px 9px 0 var(--orange); }
.love-note-photo img { height: 100%; object-fit: cover; }
.love-note blockquote { margin: 0; text-align: center; }
.quote-mark { display: block; height: 60px; color: var(--red); font-family: Georgia, serif; font-size: 100px; line-height: .8; }
.love-note blockquote p { font-family: var(--font-display), sans-serif; font-size: clamp(54px, 6vw, 90px); font-weight: 900; letter-spacing: -.04em; line-height: .92; text-transform: uppercase; }
.love-note blockquote footer { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.visit { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 5vw; align-items: start; border-top: 1px solid var(--line); }
.visit h2 { font-size: clamp(58px, 6vw, 95px); }
.visit-detail { min-height: 150px; padding-top: 20px; border-top: 2px solid var(--ink); }
.visit-detail h3 { margin-bottom: 18px; font-family: var(--font-display), sans-serif; font-size: 24px; font-weight: 800; text-transform: uppercase; }
.visit-detail p, .visit-detail a { display: block; margin-bottom: 12px; line-height: 1.55; }
.visit-detail a:hover { color: var(--red); }
.visit-detail .visit-order { margin-top: 20px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

.final-cta { min-height: 460px; padding: 90px 5vw; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--red); color: white; }
.final-cta .eyebrow { color: var(--ink); }
.final-cta h2 { margin-bottom: 40px; font-size: clamp(70px, 9vw, 145px); }
.footer { min-height: 130px; padding: 36px 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: var(--ink); color: white; }
.brand-footer { padding: 0; background: transparent; }
.brand-footer img { width: 124px; height: 112px; }
.footer p { margin: 0; color: #bdc7d0; font-size: 13px; }
.footer > div { display: flex; justify-content: flex-end; gap: 20px; font-size: 13px; font-weight: 700; }
.mobile-order { display: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; height: 96px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-photo { min-height: 58vw; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-copy { padding: 80px 7vw 100px; }
  .hero-sticker { left: auto; right: 7vw; bottom: 38px; }
  .favorite-grid { gap: 15px; }
  .favorite-image-wrap { height: 310px; }
  .catering { gap: 6vw; }
  .love-note { grid-template-columns: .8fr 1.4fr .8fr; gap: 4vw; }
  .love-note-photo { height: 300px; }
  .visit { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { padding-bottom: 67px; }
  .announcement { min-height: 34px; font-size: 10px; gap: 9px; }
  .announcement span:first-child { display: none; }
  .announcement-mark { display: none; }
  .site-header { height: 82px; padding: 0 20px; }
  .brand img { width: 178px; height: 70px; }
  .site-header .button { display: none; }
  .hero-photo { min-height: 70vw; background-position: 50% 50%; }
  .hero-copy { padding: 62px 22px 92px; }
  h1 { margin-bottom: 23px; font-size: clamp(65px, 21vw, 94px); }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-sticker { width: 104px; height: 104px; right: 20px; bottom: 24px; }
  .hero-sticker strong { font-size: 25px; }
  .section { padding: 75px 22px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  h2 { font-size: clamp(57px, 17vw, 80px); }
  .favorite-grid { grid-template-columns: 1fr; gap: 44px; }
  .favorite-image-wrap { height: 100vw; max-height: 480px; }
  .catering { grid-template-columns: 1fr; gap: 74px; }
  .order-section { grid-template-columns: 1fr; gap: 44px; }
  .order-card { min-height: 125px; padding: 20px 18px; gap: 15px; }
  .order-card-number { width: 40px; height: 40px; }
  .catering-photo { margin: 0 8px; }
  .catering-copy ul { grid-template-columns: 1fr; }
  .love-note { min-height: auto; grid-template-columns: 1fr; gap: 55px; text-align: center; }
  .love-note-photo { width: 70%; height: 310px; justify-self: start; }
  .love-note-photo.second { justify-self: end; }
  .visit { grid-template-columns: 1fr; gap: 40px; }
  .visit-detail { min-height: auto; }
  .final-cta { min-height: 420px; padding: 70px 22px; }
  .footer { grid-template-columns: 1fr; padding: 48px 22px; text-align: center; }
  .footer .brand { margin: auto; }
  .footer > div { justify-content: center; }
  .mobile-order { min-height: 67px; display: flex; align-items: center; justify-content: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; border-top: 2px solid var(--ink); background: var(--red); color: white; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
