/* ============================================================
   TRIBAL ALL DAY CAFE — Bishop Arts, Dallas
   Editorial · warm · premium · square corners
   ============================================================ */

:root {
  --cream: #F3EEE5;
  --cream-soft: #EDE6D9;
  --espresso: #2B211B;
  --charcoal: #1C1815;
  --olive: #6A6B4F;
  --sage: #9CA186;
  --terracotta: #A9603F;
  --terracotta-deep: #8C4C30;
  --ink: #26201A;
  --ink-soft: #5C534A;
  --white: #FDFCF9;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; margin: 0; }
em { font-style: italic; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.container-narrow { max-width: 980px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 18px;
}
.eyebrow.light { color: var(--sage); }
.section-title {
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.section-title em { color: var(--terracotta); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--sage); }
.section-copy {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
}
.section-copy.light { color: rgba(253, 252, 249, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 34px;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
.btn-solid { background: var(--espresso); color: var(--white); }
.btn-solid:hover { background: var(--terracotta-deep); }
.btn-ghost { border-color: rgba(253, 252, 249, 0.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--espresso); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--white); }
.btn-full { width: 100%; text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: linear-gradient(to bottom, rgba(28, 24, 21, 0.45), rgba(28, 24, 21, 0));
}
.site-header.solid {
  background: rgba(243, 238, 229, 0.96);
  box-shadow: 0 1px 0 rgba(43, 33, 27, 0.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 84px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  transition: color 0.35s ease;
  min-width: 0;
}
.site-header.solid .brand { color: var(--espresso); }
.brand-mark {
  width: 40px; height: 40px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 17px;
}
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: color 0.35s ease;
}
.site-header.solid .main-nav a { color: var(--espresso); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid rgba(253, 252, 249, 0.7);
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.35s ease;
}
.nav-cta:hover { background: var(--white); color: var(--espresso); }
.site-header.solid .nav-cta { border-color: var(--espresso); color: var(--espresso); }
.site-header.solid .nav-cta:hover { background: var(--espresso); color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 130;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, background 0.35s ease;
}
.site-header.solid .nav-toggle-bar { background: var(--espresso); }
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  color: var(--cream);
  text-decoration: none;
  padding: 8px 24px;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: var(--terracotta); }
.mobile-nav .mobile-cta {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--sage);
  margin-top: 24px;
  padding: 16px 32px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(28, 24, 21, 0.35) 0%, rgba(28, 24, 21, 0.15) 45%, rgba(28, 24, 21, 0.65) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(72px, 10vh, 130px);
}
.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 18px;
}
.hero-title { color: var(--white); }
.hero-line {
  display: block;
  font-size: clamp(64px, 13vw, 176px);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 0.95;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  display: block;
  font-size: clamp(24px, 3.4vw, 44px);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  margin-top: 10px;
}
.hero-tagline {
  color: rgba(253, 252, 249, 0.9);
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 44ch;
  margin: 22px 0 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 40px;
  border: 1px solid rgba(253, 252, 249, 0.6);
  border-radius: 14px;
}
.hero-scroll span {
  display: block;
  width: 3px; height: 9px;
  margin: 7px auto 0;
  background: var(--cream);
  border-radius: 2px;
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(14px); opacity: 0.2; }
}

/* ============================================================
   INTRO
   ============================================================ */
.intro { padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); }
.intro .eyebrow { text-align: left; }
.statement {
  font-size: clamp(46px, 8.5vw, 118px);
  letter-spacing: -0.015em;
  color: var(--espresso);
  line-height: 0.98;
}
.statement em { color: var(--terracotta); }
.intro-copy {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 30em;
  margin: 40px 0 0;
}
.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 90px);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid rgba(43, 33, 27, 0.15);
  padding-top: 28px;
}
.intro-meta div { display: flex; gap: 14px; flex-wrap: wrap; }
.intro-meta span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--olive);
}

/* ============================================================
   MENU
   ============================================================ */
.menu {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(90px, 11vw, 160px) 0;
}
.menu .eyebrow { color: var(--sage); }
.menu .section-title { color: var(--white); }
.menu .section-title em { color: var(--sage); }
.menu-head { margin-bottom: clamp(48px, 6vw, 80px); }
.menu-body {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.menu-visual {
  position: sticky;
  top: 110px;
  overflow: hidden;
}
.menu-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.menu-list { display: flex; flex-direction: column; }
.menu-category {
  border-bottom: 1px solid rgba(243, 238, 229, 0.16);
  padding: clamp(26px, 3vw, 42px) 0;
  cursor: default;
  transition: padding-left 0.35s ease;
}
.menu-category:first-child { padding-top: 0; }
.menu-category h3 {
  font-size: clamp(28px, 3.4vw, 46px);
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.menu-category h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(243, 238, 229, 0.2);
  align-self: center;
}
.menu-category ul { list-style: none; margin: 0; padding: 0; }
.menu-category li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-size: clamp(15px, 1.3vw, 17px);
}
.menu-category .dish { color: var(--cream); }
.menu-category .dish i {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(243, 238, 229, 0.55);
}
.menu-category .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(243, 238, 229, 0.3);
  min-width: 24px;
  transform: translateY(-4px);
}
.menu-category .price {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sage);
  white-space: nowrap;
}
.menu-category:hover { padding-left: 14px; }
.menu-category:hover h3 { color: var(--sage); }
.menu-cta { margin-top: clamp(44px, 5vw, 64px); }
.menu-cta .btn-outline { border-color: var(--sage); color: var(--sage); }
.menu-cta .btn-outline:hover { background: var(--sage); color: var(--espresso); }

/* ============================================================
   VISUAL STORY
   ============================================================ */
.story { padding: clamp(90px, 11vw, 160px) 0 0; }
.story-head {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.story .section-copy { margin-top: 16px; }
.story .vo-g-muzyw22k { padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; width: auto; }

/* ============================================================
   LOCATION
   ============================================================ */
.location { padding: clamp(90px, 11vw, 160px) 0; }
.location-head {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.location-head .section-copy { margin-top: 16px; }
.location .vo-g-muzyw4f4 { margin-bottom: clamp(48px, 6vw, 80px); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: clamp(32px, 4vw, 64px);
}
.location h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--espresso);
  margin-bottom: 22px;
}
.location address, .location-info p { font-style: normal; color: var(--ink-soft); margin: 0 0 18px; }
.location-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--terracotta); }
.location-links a:hover { color: var(--terracotta); }
.location-hours dl { margin: 0; }
.location-hours dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(43, 33, 27, 0.1);
}
.location-hours dt { color: var(--ink); font-weight: 500; }
.location-hours dd { margin: 0; color: var(--ink-soft); }
.location-map iframe { display: block; filter: saturate(0.7) contrast(1.02); }

/* ============================================================
   PRIVATE EVENTS
   ============================================================ */
.events {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 200px) 0;
}
.events-media {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}
.events-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.events-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(28, 24, 21, 0.85) 20%, rgba(28, 24, 21, 0.55) 70%, rgba(28, 24, 21, 0.35) 100%);
  pointer-events: none;
}
.events-content { position: relative; z-index: 2; }
.events .section-copy { margin: 20px 0 30px; }
.events-list {
  list-style: none;
  margin: 0 0 38px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.events-list li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 12px;
}
.events-list li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--terracotta);
  display: inline-block;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: clamp(90px, 11vw, 160px) 0; }
.gallery-head {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ============================================================
   SOCIAL
   ============================================================ */
.social {
  background: var(--cream-soft);
  padding: clamp(90px, 11vw, 160px) 0;
}
.social-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.social .section-copy { margin: 20px 0 34px; }
.social-photo { overflow: hidden; }
.social-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.social-photo:hover img { transform: scale(1.03); }

/* ============================================================
   CONTACT / EVENT FORM
   ============================================================ */
.contact { padding: clamp(90px, 11vw, 160px) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 6vw, 110px);
  align-items: start;
}
.contact .section-copy { margin-top: 16px; }
.contact-details { margin-top: 40px; display: grid; gap: 22px; }
.contact-details p { margin: 0; color: var(--ink-soft); }
.contact-details strong {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 4px;
}
.contact-details a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(169, 96, 63, 0.5); }
.contact-details a:hover { color: var(--terracotta); }

.event-form {
  background: var(--white);
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid rgba(43, 33, 27, 0.08);
  box-shadow: 0 24px 60px rgba(43, 33, 27, 0.08);
}
.event-form h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--espresso);
  margin-bottom: 26px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(43, 33, 27, 0.18);
  border-radius: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(92, 83, 74, 0.55); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C534A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(80px, 10vw, 130px) 0 40px;
}
.footer-cta {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1;
  color: var(--white);
  margin: 0 0 clamp(48px, 6vw, 80px);
}
.footer-cta em { color: var(--terracotta); font-style: italic; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(243, 238, 229, 0.15);
  padding-top: 36px;
}
.footer-brand p { margin: 0 0 4px; color: rgba(243, 238, 229, 0.7); }
.footer-name {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--white) !important;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; }
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243, 238, 229, 0.75);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--terracotta); }
.footer-legal {
  margin: 48px 0 6px;
  font-size: 13px;
  color: rgba(243, 238, 229, 0.45);
}
.footer-credit { margin: 0; font-size: 13px; }
.footer-credit a { color: rgba(243, 238, 229, 0.6); }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  text-align: center;
  background: var(--terracotta-deep);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 17px;
  box-shadow: 0 12px 30px rgba(28, 24, 21, 0.35);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { gap: 22px; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-map { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 72px; gap: 16px; }
  .brand { flex: 1; }
  .menu-body { grid-template-columns: 1fr; }
  .menu-visual { position: static; max-width: 440px; }
  .social-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mobile-sticky-cta { display: block; }
  .hero { min-height: 560px; }
}

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .location-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 480px) {
  .brand-name { letter-spacing: 0.24em; font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .intro-copy { font-size: 17px; }
  .mobile-sticky-cta { left: 12px; right: 12px; bottom: 12px; }
}
