/* RedRock Taco — one stylesheet for every page */

/* ===== SEASON SWITCH (the only line to change) =====
   Closed for the season:  .when-open   { display: none !important; }
   Open for the season:    .when-closed { display: none !important; }   */
.when-open { display: none !important; }
:root {
  --brick: #9a3029;      /* logo red */
  --brick-dark: #6e1f1a;
  --sand: #f6efe6;
  --sand-2: #ece2d4;
  --ink: #2a2421;
  --muted: #6b605a;
  --sage: #5f7052;       /* sagebrush */
  --white: #fff;
  --radius: 14px;
  --wrap: 1120px;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--brick);
  margin-bottom: .6em;
  display: block;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .08em;
  font-size: 1rem; font-weight: 500;
  padding: .85em 1.5em; border-radius: 999px;
  background: var(--brick); color: var(--white); text-decoration: none;
  border: 2px solid var(--brick);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--brick-dark); border-color: var(--brick-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--brick); }
.btn-outline:hover { background: var(--brick); color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 239, 230, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-2);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand span { font-family: var(--head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brick); }
.nav .btn { color: var(--white); padding: .6em 1.2em; font-size: .9rem; }
@media (max-width: 640px) {
  .brand span { display: none; }
  .nav { gap: 14px; }
  .nav a { font-size: .85rem; }
  .nav .btn { padding: .55em .9em; font-size: .8rem; }
}

/* Hero */
.hero {
  position: relative; color: var(--white);
  min-height: min(86vh, 760px);
  display: grid; align-items: end;
  background: var(--ink);
  overflow: hidden;
}
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,12,.15) 0%, rgba(20,14,12,.35) 45%, rgba(20,14,12,.82) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 64px; }
.hero p.lede { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 38em; opacity: .95; }
.hero .eyebrow { color: #f3c9a8; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Closed-for-the-season banner */
.closed-hero { background: var(--brick); color: var(--white); overflow: hidden; }
.closed-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; }
.closed-hero .eyebrow { color: #f3c9a8; }
.closed-hero h1 { margin-bottom: .35em; }
.closed-hero p.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); max-width: 32em; }
.closed-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.closed-hero .btn { background: var(--white); color: var(--brick); border-color: var(--white); }
.closed-hero .btn:hover { background: var(--sand); border-color: var(--sand); color: var(--brick-dark); }
.closed-hero .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.closed-hero .btn-ghost:hover { background: var(--white); color: var(--ink); }
.closed-hero figure { margin: 0; justify-self: center; transform: rotate(2deg); background: var(--white); padding: 12px 12px 14px; border-radius: 6px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.55); max-width: 440px; }
.closed-hero figure img { border-radius: 2px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 62%; }
.closed-hero figcaption { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); text-align: center; font-size: .9rem; padding-top: 10px; }
@media (max-width: 820px) {
  .closed-hero .wrap { grid-template-columns: 1fr; }
  .closed-hero figure { max-width: 340px; }
}

/* Hours strip */
.hours-strip { background: var(--brick); color: var(--white); }
.hours-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 36px; padding: 18px 0; text-align: center; }
.hours-strip strong { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.hours-strip .tag { background: rgba(255,255,255,.16); border-radius: 999px; padding: 2px 12px; font-size: .9rem; }

/* Intro split */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; grid-template-columns: 1.05fr 1fr; }
.split img { border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgba(42,36,33,.5); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Food grid */
.food { background: var(--white); }
.food-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.food-head h2 { margin: 0; }
.food-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.food-tile {
  grid-column: span 2; border-radius: var(--radius); background: var(--brick); color: var(--white);
  display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); padding: clamp(24px, 4vw, 44px);
}
.food-tile svg { width: clamp(64px, 10vw, 112px); height: auto; flex: none; color: #f3c9a8; }
.food-tile h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .3em; }
.food-tile p { margin: 0; font-size: 1.05rem; opacity: .95; max-width: 26em; }
.food-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand-2); }
.food-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.food-grid figure:hover img { transform: scale(1.04); }
.food-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; color: var(--white);
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem;
}
@media (max-width: 820px) { .food-grid { grid-template-columns: repeat(2, 1fr); } .food-tile { padding: 24px; } }

/* This season banner */
.season img { border-radius: var(--radius); width: 100%; box-shadow: 0 18px 40px -22px rgba(42,36,33,.6); }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--sand-2); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--brick); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* Find us */
.find { background: var(--ink); color: var(--sand); }
.find h2 { color: var(--white); }
.find .split img { box-shadow: none; }
.find dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 24px; }
.find dt { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: #f3c9a8; }
.find dd { margin: 0; }
.find .btn-outline { color: var(--sand); border-color: var(--sand); }
.find .btn-outline:hover { background: var(--sand); color: var(--ink); }
.find .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Instagram */
.insta { text-align: center; }
.insta-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0; }
.insta-row a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.insta-row img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.insta-row a:hover img { opacity: .85; }
@media (max-width: 640px) { .insta-row { grid-template-columns: repeat(2, 1fr); } }
.insta-post { position: relative; background: var(--sand-2); }
@media (max-width: 640px) { .insta-row.is-live .insta-post:nth-child(n+7) { display: none; } }
.insta-cap {
  position: absolute; inset: auto 0 0 0; padding: 28px 10px 10px; color: var(--white); text-align: left;
  font-size: .85rem; line-height: 1.3; background: linear-gradient(transparent, rgba(0,0,0,.75));
  opacity: 0; transition: opacity .2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.insta-post:hover .insta-cap, .insta-post:focus-visible .insta-cap { opacity: 1; }
.insta-post.is-video::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}

/* Footer */
.site-footer { background: var(--brick-dark); color: #f1e3d6; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #f1e3d6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-grid h3 { font-size: 1rem; letter-spacing: .1em; color: var(--white); margin-bottom: .8em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 72px; height: 72px; }
.copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 18px; font-size: .85rem; opacity: .8; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Inner pages */
.page-head { background: var(--ink); color: var(--white); padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 6vw, 56px); }
.page-head p { color: #e6d9cc; font-size: 1.15rem; margin: 0; max-width: 36em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose .meta { color: var(--muted); font-size: .95rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
form.contact { background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
form.contact label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
form.contact label span.opt { font-weight: 400; color: var(--muted); }
form.contact input, form.contact textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #d8ccbd; border-radius: 10px; background: #fffdfa; width: 100%;
}
form.contact input:focus, form.contact textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(154,48,41,.15); }
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form.contact .row { grid-template-columns: 1fr; } }
form.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.contact button { justify-self: start; cursor: pointer; }
form.contact button[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #e7efe1; color: #2f4424; }
.form-status.err { display: block; background: #f7e1de; color: #7a1e17; }
.aside-card { background: var(--sand-2); border-radius: var(--radius); padding: 28px; }
.aside-card h3 { font-size: 1.1rem; }
.aside-card p:last-child { margin-bottom: 0; }
