/* ==========================================================================
   A Boy Named Sous — Home Page Styles
   Palette: shades of maroon pulled from the name-tag logo, plus warm cream
   and charcoal neutrals. Header logo is sized to overlap the header bar
   and the section below it, like a tag pinned across the seam.
   ========================================================================== */

/* Fonts (Anton, Permanent Marker, Work Sans) are loaded via
   <link rel="preconnect"> + <link rel="stylesheet"> tags in each page's
   <head> rather than @import here — @import blocks CSS rendering until
   the font stylesheet is fetched, which delays first paint. */

:root {
  /* maroon scale, anchored to the logo's #641517 */
  --maroon-950: #2b0b0a;
  --maroon-800: #481412;
  --maroon-700: #641517;   /* brand primary — sampled from the logo */
  --maroon-600: #7c1e1c;
  --maroon-400: #a84842;
  --maroon-200: #d8a9a2;
  --maroon-100: #efdad4;

  --cream: #f7f1e6;
  --white: #ffffff;
  --charcoal: #201613;
  --charcoal-soft: #574540;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', Arial, sans-serif;
  --font-script: 'Permanent Marker', cursive;

  --container: 1180px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.05;
  margin: 0;
  color: var(--maroon-700);
}
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--charcoal-soft);
  max-width: 60ch;
}

.eyebrow-hand {
  font-family: var(--font-script);
  color: var(--maroon-600);
  font-size: 19px;
  display: inline-block;
  transform: rotate(-2deg);
  margin-bottom: 6px;
}

:focus-visible { outline: 3px solid var(--maroon-400); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--maroon-700);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------- */
/* Buttons                                                                */
/* --------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--maroon-700); color: var(--white); }
.btn-primary:hover { background: var(--maroon-800); }

.btn-outline { background: transparent; border-color: var(--maroon-700); color: var(--maroon-700); }
.btn-outline:hover { background: var(--maroon-100); }

.btn-arrow::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 2px;
}

/* --------------------------------------------------------------------- */
/* Header — logo pinned across the header / hero seam                    */
/* --------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
}

.header-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: var(--header-h);
}

/* The name-tag logo: wider/taller than the header bar itself, anchored
   top-left, so it visually overlaps both the header container above it
   and the hero container it hangs down into. */
.logo-badge {
  position: absolute;
  left: 28px;
  top: 14px;
  width: 208px;
  z-index: 50;
  filter: drop-shadow(0 14px 20px rgba(43, 11, 10, 0.35));
  transition: transform 0.2s ease;
}
.logo-badge:hover { transform: translateY(-3px) rotate(-1.2deg); }
.logo-badge img { width: 100%; height: auto; }

.main-nav { display: flex; align-items: center; gap: 34px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }

.nav-links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: 0.4px;
  color: var(--charcoal);
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 3px;
  background: var(--maroon-400);
  transition: right 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--maroon-700); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
}
.hamburger span {
  display: block; width: 25px; height: 3px;
  background: var(--maroon-700);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .logo-badge { width: 148px; top: 12px; left: 20px; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: var(--maroon-700);
    flex-direction: column;
    align-items: stretch;
    padding: 36px 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 26px;
  }
  .main-nav.open { transform: translateX(0); }

  .nav-links { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav-links a { color: var(--cream); font-size: 23px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--white); padding-left: 16px; border-left: 4px solid var(--cream); }

  .nav-cta .btn { width: 100%; justify-content: center; background: var(--white); color: var(--maroon-700); }

  .hamburger { display: flex; }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------- */
/* Hero — extra top clearance so the overlapping badge never sits on text */
/* --------------------------------------------------------------------- */

.hero {
  background: var(--cream);
  color: var(--charcoal);
  padding: 96px 0 76px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.hero h1 {
  color: var(--maroon-700);
  font-size: clamp(36px, 5.6vw, 62px);
}

.hero .eyebrow-hand { color: var(--maroon-200); }
.hero .lede { color: var(--charcoal-soft); margin-top: 16px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero .btn-outline { border-color: var(--maroon-700); color: var(--maroon-700); }
.hero .btn-outline:hover { background: rgba(247,241,230,0.12); }

.ph {
  position: relative;
  color: rgba(247,241,230,0.85);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/5;
}
.ph::before {
  content: '';
  position: absolute; inset: 0;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .hero { padding: 60px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .ph { aspect-ratio: 16/10; order: -1; }
}

/* Crossed-knives sticker, pinned over the bottom-right corner of the
   hero photo so it half-sits on the image and half on the hero band. */
.hero-photo-wrap {
  position: relative;
}

.knife-sticker {
  position: absolute;
  right: -2%;
  bottom: -8%;
  width: 34%;
  max-width: 190px;
  z-index: 5;
  transform: rotate(-8deg);
  filter: drop-shadow(0 12px 18px rgba(43, 11, 10, 0.45));
  pointer-events: none;
}

@media (max-width: 900px) {
  .knife-sticker { width: 26%; max-width: 130px; right: -4%; bottom: -6%; }
}

@media (max-width: 480px) {
  .knife-sticker { width: 30%; max-width: 110px; right: -3%; bottom: -5%; }
}

/* --------------------------------------------------------------------- */
/* Supporting sections (kept brief for this single-page preview)         */
/* --------------------------------------------------------------------- */

section.band { padding: 80px 0; }
@media (max-width: 640px) { section.band { padding: 54px 0; } }

.band-alt { background: var(--white); }
.band-tint { background: var(--maroon-100); }
.band-dark { background: var(--charcoal); color: var(--cream); }
.band-dark h2 { color: var(--maroon-200); }
.band-dark .pill { border-color: rgba(247,241,230,0.35); color: var(--cream); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }

.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  border: 2px solid var(--maroon-200);
  color: var(--maroon-700);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 14px;
}

.center-col { max-width: 720px; margin: 0 auto; text-align: center; }

/* Repeated "Good food. Big energy." CTA band (index, find-us, menu) —
   was previously three inline styles copy-pasted on each page. */
.cta-band { text-align: center; }
.cta-band .lede { margin: 16px auto 0; }
.cta-band-action { margin-top: 26px; }

/* Responsive embed wrapper for the Canva menu iframe (menu.html) —
   was previously written entirely as inline styles. */
.canva-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 77.3%;
  overflow: hidden;
}
.canva-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
  padding: 0;
  margin: 0;
}

/* --------------------------------------------------------------------- */
/* Footer                                                                 */
/* --------------------------------------------------------------------- */

.site-footer { background: var(--charcoal); color: var(--cream); padding: 50px 0 26px; }
.footer-row {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(247,241,230,0.15);
}
.footer-row img { 
  height: 46px;
  Width: auto;
}

.footer-row a { 
  text-decoration: none; 
  color: var(--maroon-200); 
  font-weight: 600;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(247, 241, 230, 0.08);
  color: var(--cream);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--maroon-600);
  color: var(--white);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 560px) {
  .footer-row { justify-content: center; text-align: center; }
  .footer-contact { justify-content: center; width: 100%; }
}

.footer-bottom {
  padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 13.5px; color: #a4948b;
}

.calendar-wrapper {
  width: 100%;
  margin-top: 30px;
}

.responsive-iframe-container {
  position: relative;
  width: 100%;
  height: 650px; /* Fixed height for desktop Month View */
  overflow: hidden;
}

.responsive-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Optional: Shrink container height slightly for mobile Agenda view */
@media (max-width: 767px) {
  .responsive-iframe-container {
    height: 500px;
  }
}

/* --------------------------------------------------------------------- */
/* Full-Width Booking Banner — Massive Edge-to-Edge                      */
/* --------------------------------------------------------------------- */

/* Container section */
.banner-booking {
  width: 100%;
  background-color: var(--charcoal);
  padding: 160px 0;
}

.banner-booking .wrap {
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  container-type: inline-size;
}

.booking-link {
  display: flex;
  justify-content: center;
  width: 100%;
  color: var(--white);
  font-family: var(--font-display);
  
  /* Precision size: 8.45cqw makes "CALL US TO BOOK! 862-BOY-SOUS" fill 100% width on 1 line */
  font-size: clamp(28px, 8.45cqw, 92px);
  line-height: 0.5;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap; /* Prevents wrapping and ensures exact scale across the container */
  transition: color 0.2s ease, transform 0.2s ease;
}

.booking-link .booking-line {
  display: inline;
line-height: 0.5;
}

.booking-link:hover,
.booking-link:focus-visible {
  color: var(--maroon-200);
  transform: scale(1.01);
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
  .banner-booking {
    padding: 60px 0;
  }

  .banner-booking .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .booking-link {
    flex-direction: column;
    align-items: center;
    white-space: normal;
    text-align: center;
    font-size: clamp(32px, 12cqw, 54px);
    line-height: 0.5;
  }

  .booking-link .booking-line {
    display: block; /* Stacks CALL US TO BOOK! over 862-BOY-SOUS on mobile */
  }
}

/* ==========================================================================
   Reviews Page (reviews.html)
   Review cards: 3 across on desktop, 2 across on tablet, 1 on mobile.
   Hierarchy inside each card: review text (largest) > name > company > role.
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin-top: 40px;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 26px 30px 28px;
  background: var(--white);
  border: 1px solid var(--maroon-100);
  border-top: 6px solid var(--maroon-700);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(43, 11, 10, 0.12);
}

/* Oversized opening quote mark that sits above the review text */
.review-card::before {
  content: '\201C';
  display: block;
  height: 44px;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  color: var(--maroon-400);
}

/* The review itself — biggest, darkest type in the card */
.review-text {
  margin: 0 0 28px;
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--charcoal);
}
.review-text p { margin: 0 0 14px; }
.review-text p:last-child { margin-bottom: 0; }

/* Reviewer block pinned to the bottom of every card so the rows line up */
.reviewer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--maroon-100);
}

.reviewer-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--maroon-700);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.5px;
}
.review-card:nth-child(2) .reviewer-avatar { background: var(--maroon-600); }
.review-card:nth-child(3) .reviewer-avatar { background: var(--maroon-800); }

.reviewer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

/* Name — display face in brand maroon */
.reviewer-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.3px;
  color: var(--maroon-700);
}

/* Role — quiet supporting text */
.reviewer-role {
  font-size: 14px;
  line-height: 1.3;
  color: var(--charcoal-soft);
}

/* Company — tinted tag so the business name stands on its own */
.reviewer-company {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: var(--maroon-100);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--maroon-700);
}

/* Long review: full-width row on desktop, text flows into two columns */
@media (min-width: 1025px) {
  .review-card--wide {
    grid-column: 1 / -1;
    padding: 30px 44px 32px;
  }
  .review-card--wide .review-text {
    column-count: 2;
    column-gap: 56px;
  }
}

/* Tablet: 2 across */
@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* Mobile: 1 across */
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .review-card { padding: 22px 22px 24px; }
  .review-text { font-size: 17px; }
}
