/* ===========================================
   Oat Bros — shared styles (v3, simplified)
   Helvetica throughout, no decorative fonts.
   Minimal chrome, hairline dividers, real photography
   carrying the personality instead of CSS ornamentation.
   =========================================== */

:root {
  --blue: #0a38ed; /* Oat Bros brand blue, sampled from logo */
  --blue-dark: #072aad;
  --cream: #f6efdf;
  --paper: #ffffff;
  --ink: #12120f;
  --ink-soft: #12120f; /* body text now black, per global request */
  --line: #ddd6c4;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img { height: 34px; width: auto; display: block; }
.footer-col .logo img { height: 30px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 13px;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a.current { border-bottom-color: var(--blue); color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  background: transparent;
  color: var(--ink);
}
.btn-solid { background: var(--blue); color: var(--paper); border-color: var(--blue); }
.btn-solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow:hover { opacity: 0.6; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 32px; }
.hero-statement {
  padding: 44px 0;
  text-align: center;
}
.hero-statement h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  color: var(--blue);
}

/* Full-bleed images — break out of the .wrap container
   (margin trick, not width:100vw, so it can't overshoot the
   real viewport width and cause horizontal scroll on mobile) */
.full-bleed {
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.full-bleed .photo-block { aspect-ratio: 2.745/1; } /* 21/9, 15% shorter */
@media (max-width: 900px) {
  .full-bleed .photo-block { aspect-ratio: 0.941/1; } /* 4/5, 15% shorter */
}
.hero-photo { aspect-ratio: 2.09/1; }
@media (max-width: 900px) {
  .hero-photo { aspect-ratio: auto; height: 66.67vh; }
}
.hero .lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 0 30px;
}
.hero .cta-row { display: flex; align-items: center; gap: 24px; }
.photo-block {
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
  overflow: hidden;
}
.photo-block img { width: 100%; height: 100%; object-fit: cover; border: none; display: block; }

/* Two-up location photos, no borders, no boxed captions */
.location-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.location-photos .photo-block { aspect-ratio: 4/5; }
.location-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.location-simple h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.location-simple p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.25; }
.location-simple a { text-decoration: underline; }
.location-simple a:hover { color: var(--blue); }

/* Menu list */
.menu-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 2px 8px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--blue);
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  padding: 14px 0;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 22px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Split row — text on one side, photo bleeding to the outer edge */
.split-bleed {
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-left: max(40px, calc((100vw - 1240px) / 2 + 40px));
}
.split-bleed .text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 40px 60px 40px 0;
  max-width: 520px;
}
.split-bleed .text-col h2 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--blue);
}
.split-bleed .text-col p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.35; }
.split-bleed .text-col .link-arrow { text-transform: uppercase; align-self: flex-start; }
.split-bleed .img-col { overflow: hidden; min-height: 480px; }
.split-bleed .img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .split-bleed { grid-template-columns: 1fr; padding-left: 0; }
  .split-bleed .text-col { padding: 40px 22px; max-width: none; }
  .split-bleed .img-col { min-height: 340px; }
}

/* ---------- Inset image + text rows (About / Catering) ---------- */
.inset-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.inset-row.img-left { grid-template-columns: 0.9fr 1.1fr; }
.inset-row.img-left .inset-photo { order: 0; }
.inset-row.img-right { grid-template-columns: 1.1fr 0.9fr; }
.inset-row.img-right .inset-photo { order: 2; }
.inset-photo { aspect-ratio: 4/5; overflow: hidden; }
.inset-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inset-row h2 { margin-bottom: 18px; }
.inset-row p { color: var(--ink-soft); font-size: 16px; line-height: 1.3; max-width: 460px; }

/* Centered story block */
.story-center { text-align: center; }
.story-center .inset-photo {
  aspect-ratio: 16/10;
  max-width: 640px;
  margin: 0 auto 24px;
}
.story-center p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.3;
}

/* Square full-bleed location images + clickable captions (one hover unit) */
.location-square-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.location-block {
  display: block;
  color: inherit;
  text-align: center;
}
.location-block .photo-block {
  aspect-ratio: 1.176/1; /* 1/1, 15% shorter */
  position: relative;
}
.location-block .location-caption {
  padding: 14px 20px;
  border-top: 1px solid var(--ink);
  transition: background .2s ease, color .2s ease;
}
.location-block:hover .location-caption { background: var(--blue); color: var(--cream); }
.location-caption h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.location-caption p { margin: 0; font-size: 13px; opacity: 0.75; }

/* ---------- Sections ---------- */
section { padding: 44px 0; }
.section-tight { padding: 26px 0; }
h2.section-title {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 16px;
  line-height: 1.15;
  font-weight: 700;
  max-width: 700px;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 36px;
  line-height: 1.25;
}

/* Photo grid — simple two-up */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Product / offering rows */
.offer-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.offer-row:last-of-type { border-bottom: 1px solid var(--line); }
.offer-row.reverse { grid-template-columns: 1.3fr 1fr; }
.offer-row.reverse .offer-photo { order: 2; }
.offer-row h3 { font-size: 24px; margin: 0 0 12px; font-weight: 700; }
.offer-row p { color: var(--ink-soft); font-size: 15px; max-width: 420px; margin: 0 0 18px; }
.offer-photo { aspect-ratio: 5/4; display:flex; align-items:center; justify-content:center; color: var(--ink-soft); font-size:12px; text-align:center; overflow: hidden; }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; border: none; display: block; }

/* Simple list rows for menu items */
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:first-of-type { border-top: 1px solid var(--line); }
.list-row h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.list-row p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.list-row .price { font-weight: 500; white-space: nowrap; font-size: 13px; color: var(--ink-soft); }

/* Plain statement band */
.statement {
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  padding: 50px 0;
  text-align: center;
}
.statement p {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.3;
  color: var(--blue);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step-num { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.steps h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.steps p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* Locations */
.location-row {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: baseline;
}
.location-row:last-of-type { border-bottom: 1px solid var(--line); }
.location-row .badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--ink-soft);
}
.location-row h3 { font-size: 22px; margin: 6px 0 0; font-weight: 700; }
.location-row .addr { font-size: 15px; }
.location-row .hours { color: var(--ink-soft); font-size: 14px; }

/* Contact / forms */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-bottom-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }

.contact-panel { border-top: 1px solid var(--ink); padding-top: 30px; }
.contact-panel h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 8px; font-weight: 700; }
.contact-panel p { color: var(--ink-soft); margin: 0 0 26px; font-size: 15px; }
.contact-panel a { text-decoration: underline; }
.contact-panel a:hover { color: var(--blue); }

/* Footer */
.site-footer { border-top: 1px solid var(--ink); padding: 50px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
}
.footer-col h5 {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-col a, .footer-col p { display: block; color: var(--ink); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 10px;
}

/* Mobile */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hero-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .offer-row, .offer-row.reverse { grid-template-columns: 1fr; }
  .offer-row.reverse .offer-photo { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .location-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-header .wrap { position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--cream);
    border-bottom: 1px solid var(--ink);
    padding: 18px 20px 24px;
    z-index: 60;
  }
  .nav.nav-open { display: flex; }
  .nav-toggle { display: inline-block; }
  .inset-row, .inset-row.img-left, .inset-row.img-right { grid-template-columns: 1fr; gap: 30px; }
  .inset-row .inset-photo { order: 0 !important; }
  .location-square-grid, .location-captions { grid-template-columns: 1fr; }
}
