:root {
  --red: #ff2424;
  --red-dark: #d81920;
  --pink: #f9d9d6;
  --pink-light: #fff1ef;
  --green: #087d55;
  --black: #050505;
  --white: #fff;
  --muted: #676767;
  --line: #e7c6c3;
  --max: 1180px;
  --shadow: 0 18px 45px rgb(0 0 0 / 12%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffcf33; outline-offset: 3px; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 1000;
  padding: .8rem 1rem; background: var(--white); color: var(--black);
}
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section-title { margin: 0 0 2.25rem; text-align: center; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.section-kicker { margin: 0 0 .7rem; color: var(--red); font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  border: 2px solid var(--red); padding: .75rem 1.5rem; background: var(--red);
  color: var(--white); font-size: .78rem; font-weight: 900; letter-spacing: .055em;
  text-decoration: none; text-transform: uppercase; transition: .2s ease;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.button--light { border-color: var(--white); background: var(--white); color: var(--black); }
.button--light:hover { border-color: var(--red); background: var(--red); color: var(--white); }
.button--outline { background: transparent; color: var(--red); }
.button--outline:hover { color: var(--white); }

/* Header and hero */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 1rem 0; color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: 50%; background: var(--white); box-shadow: 0 5px 20px rgb(0 0 0 / 22%); }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a { position: relative; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.site-nav a:not(.button)::after { position: absolute; right: 0; bottom: -.35rem; left: 0; height: 2px; background: var(--red); content: ''; transform: scaleX(0); transition: transform .2s; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 1px solid rgb(255 255 255 / 50%); padding: .55rem .7rem; background: rgb(0 0 0 / 25%); color: var(--white); font-weight: 800; }
.hero { position: relative; min-height: 720px; display: grid; place-items: center; color: var(--white); background: #1b1b1b url('https://rb-static-resources.s3.us-west-1.amazonaws.com/website/loose_website/eltapatiomexicanrestaurants.biz/images/banner.webp') center/cover no-repeat; isolation: isolate; }
.hero::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 25%), rgb(0 0 0 / 50%)); content: ''; }
.hero-content { width: min(90%, 800px); padding-top: 5rem; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .9; letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 4px 24px rgb(0 0 0 / 45%); }
.hero p { margin: 1rem auto 1.6rem; font-size: clamp(1rem, 2vw, 1.3rem); text-shadow: 0 2px 12px rgb(0 0 0 / 70%); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.hero--inner { min-height: 540px; }
.hero--inner h1 { font-size: clamp(3.5rem, 9vw, 7.8rem); }

/* Marquee */
.brand-marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--pink); padding: 1.8rem 0; }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 28s linear infinite; }
.marquee-track span { color: var(--black); font-size: clamp(2.1rem, 5vw, 5.3rem); font-weight: 950; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; }
.marquee-track .accent { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Locations */
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.location-card { display: flex; min-height: 465px; flex-direction: column; align-items: center; padding: 2.1rem 1.25rem 1.5rem; background: var(--pink); text-align: center; }
.location-card img { width: 150px; height: 150px; margin-bottom: 1.1rem; border-radius: 50%; object-fit: cover; }
.location-card h3 { margin: 0 0 .55rem; font-size: 1rem; line-height: 1.15; text-transform: uppercase; }
.rating { margin: 0 0 .75rem; color: #e8a400; font-size: .86rem; letter-spacing: .08em; }
.rating span { color: var(--muted); letter-spacing: normal; }
.location-card p { margin: .2rem 0; font-size: .78rem; }
.location-card a:not(.button) { color: var(--red-dark); font-weight: 800; }
.location-card .button { margin-top: auto; }

/* Home story */
.story { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; border-bottom: 4px solid var(--red); }
.story-image { position: relative; min-height: 540px; background: url('https://rb-static-resources.s3.us-west-1.amazonaws.com/website/loose_website/eltapatiomexicanrestaurants.biz/images/480647673_122193592238118869_613448145580854276_n.webp') center/cover; }
.story-image::after { position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgb(0 0 0 / 70%)); content: ''; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 6vw, 6rem); }
.story-copy h2 { margin: 0 0 1.2rem; font-size: clamp(2.5rem, 5vw, 5.8rem); line-height: .86; text-transform: uppercase; }
.story-copy p { max-width: 680px; color: #343434; }
.story-copy .button { margin-top: 1rem; }
.collage { position: relative; min-height: 650px; display: grid; place-items: center; padding: 5rem 1rem 7rem; overflow: hidden; }
.collage-stack { position: relative; width: min(850px, 92vw); height: 430px; }
.collage-card { position: absolute; width: 42%; box-shadow: var(--shadow); }
.collage-card:nth-child(1) { left: 2%; top: 18%; transform: rotate(-4deg); }
.collage-card:nth-child(2) { left: 30%; top: 3%; z-index: 2; transform: rotate(2deg); }
.collage-card:nth-child(3) { right: 1%; top: 24%; transform: rotate(5deg); }
.collage-note { position: absolute; z-index: 4; padding: .3rem .6rem; background: var(--white); font-size: clamp(.8rem, 2vw, 1.2rem); font-weight: 900; transform: rotate(-8deg); text-transform: uppercase; }
.collage-note--one { left: -2%; top: 48%; }
.collage-note--two { right: -2%; top: 48%; transform: rotate(-10deg); }

/* Social strip */
.social-section { border-bottom: 4px solid var(--red); padding: 4.5rem 0 0; }
.social-section h2 { margin-bottom: 3rem; text-align: center; text-transform: uppercase; }
.social-strip { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; }
.social-strip a { position: relative; aspect-ratio: 1; overflow: hidden; }
.social-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.social-strip a:hover img { transform: scale(1.06); }

/* Menu */
.menu-page { background: var(--pink); }
.menu-shell { width: min(calc(100% - 2rem), 1080px); margin: 0 auto; padding: 5.5rem 0; }
.menu-shell > h2 { margin: 0 0 3rem; font-size: clamp(3.2rem, 8vw, 7rem); line-height: 1; text-align: center; text-transform: uppercase; }
.menu-section { margin: 0 0 4.5rem; }
.menu-section h3 { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; font-size: 1.35rem; text-align: center; text-transform: uppercase; }
.menu-section h3::before, .menu-section h3::after { height: 1px; flex: 1; background: #d4aaa6; content: ''; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4.5rem; row-gap: 1.5rem; }
.menu-item { position: relative; padding-right: 4.5rem; }
.menu-item h4 { margin: 0 0 .25rem; font-size: .9rem; text-transform: uppercase; }
.menu-item p { margin: 0; color: #555; font-size: .76rem; line-height: 1.45; }
.menu-item .price { position: absolute; right: 0; top: 0; font-size: .8rem; font-weight: 900; }
.menu-note { margin: -2rem auto 4rem; max-width: 760px; color: #555; font-size: .72rem; text-align: center; }

/* Reservations and newsletter */
.reservation { background: var(--pink); }
.reservation-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 5rem; }
.reservation-info h3 { margin: 0 0 1.25rem; font-size: 1.5rem; font-style: italic; text-transform: uppercase; }
.reservation-info address { font-size: .82rem; font-style: normal; }
.reservation-info address p { margin: 0 0 .9rem; }
.reservation-info a { color: var(--red-dark); font-weight: 800; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #bdaaa8; border-radius: 0; padding: .75rem; background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.form-grid .button { grid-column: 1 / -1; width: 100%; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; margin: 0; font-size: .82rem; font-weight: 800; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.newsletter-image { min-height: 480px; background: url('https://rb-static-resources.s3.us-west-1.amazonaws.com/website/loose_website/eltapatiomexicanrestaurants.biz/images/475980114_122191316774118869_859567405676301784_n.webp') center/cover; clip-path: ellipse(70% 78% at 30% 50%); }
.newsletter-copy { display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(2rem, 7vw, 7rem); text-align: center; }
.newsletter-copy h2 { margin: 0 0 .6rem; font-size: clamp(2rem, 4vw, 4rem); text-transform: uppercase; }
.newsletter-copy p { color: var(--muted); }
.newsletter-form { display: flex; flex-wrap: wrap; margin-top: 1rem; }
.newsletter-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter-form input { min-width: 0; flex: 1; border: 1px solid #ddd; padding: .85rem; }
.newsletter-form .button { flex: 0 0 auto; }
.newsletter-form .form-status { flex: 0 0 100%; width: 100%; }

/* Footer */
.site-footer { padding: 4.5rem 0 1.5rem; background: var(--black); color: var(--white); }
.footer-title { margin: 0 0 2.5rem; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1; text-decoration: underline; text-underline-offset: .2em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.footer-location h3 { margin: 0 0 1rem; font-size: .8rem; text-decoration: underline; text-transform: uppercase; }
.footer-location p { margin: 0 0 .55rem; color: #dedede; font-size: .7rem; }
.footer-location a { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3.5rem; color: #aaa; font-size: .7rem; text-align: center; }
.footer-bottom img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

@media (max-width: 900px) {
  .site-header { position: absolute; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + .5rem); right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: rgb(0 0 0 / 96%); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem; text-align: center; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 620px; }
  .reservation-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .brand { width: 56px; height: 56px; }
  .hero { min-height: 680px; }
  .hero--inner { min-height: 480px; }
  .hero-content { padding-top: 4rem; }
  .hero h1 { font-size: clamp(2.7rem, 15vw, 4.4rem); }
  .hero--inner h1 { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .hero-actions .button { min-width: 135px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 430px; }
  .story-image { min-height: 500px; }
  .story-copy { padding: 4rem 1.25rem; }
  .collage { min-height: 520px; padding-bottom: 3rem; }
  .collage-stack { height: 330px; }
  .collage-card { width: 58%; }
  .collage-card:nth-child(1) { left: -10%; top: 22%; }
  .collage-card:nth-child(2) { left: 22%; }
  .collage-card:nth-child(3) { right: -12%; top: 28%; }
  .social-strip { grid-template-columns: repeat(3, 1fr); }
  .social-strip a:nth-child(n+4) { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-shell { padding: 4rem 0; }
  .menu-section { margin-bottom: 3.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide, .form-grid .button, .form-status { grid-column: auto; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter-image { min-height: 420px; clip-path: ellipse(78% 72% at 44% 40%); }
  .newsletter-copy { padding: 2rem 1rem 4rem; }
  .newsletter-form { flex-direction: column; gap: .5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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