/* ============================================
   SumitrA Espresso Lounge+ — Main Stylesheet
   Eclectic · Spiritual · Chocolaterie · East Indian
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-espresso: #2C1810;
  --color-dark-chocolate: #3E2315;
  --color-mocha: #5C3A21;
  --color-cinnamon: #8B5E3C;
  --color-chai: #A67B5B;
  --color-tan: #D4C4A8;
  --color-sand: #E8DCC8;
  --color-cream: #F2EAD8;
  --color-warm-white: #FAF7F0;
  --color-gold: #B89B5E;
  --color-gold-light: #C8A96E;
  --color-saffron: #D49A30;
  --color-terracotta: #B84F1F;
  --color-deep-red: #8B2500;
  --color-burgundy: #5C1A1B;
  --color-text: #3E2315;
  --color-text-light: #7A5E48;
  --color-text-on-dark: #F2EAD8;
  --color-overlay: rgba(62, 35, 21, 0.7);
  --color-overlay-light: rgba(62, 35, 21, 0.4);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', 'Segoe UI', Tahoma, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --header-height: 80px;
  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-warm-white);
  line-height: 1.7;
  padding-bottom: 42px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-cinnamon);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--color-terracotta);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-espresso);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  margin-bottom: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Decorative Elements --- */
.ornament {
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 1rem auto;
}

.ornament::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 50%;
  margin: -5px auto 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header .subtitle {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--color-cream);
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 12px rgba(44, 24, 16, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-logo .shield-img {
  height: 44px;
  width: auto;
  opacity: 0.4;
}

.header-logo .logo-img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--color-mocha);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-cinnamon);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-terracotta);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-mocha);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 24, 16, 0.7) 0%,
    rgba(44, 24, 16, 0.55) 35%,
    rgba(44, 24, 16, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem 1.5rem;
}

.hero-logo {
  width: 320px;
  max-width: 80vw;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.hero-shields {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.hero-shields .shield {
  width: 80px;
  height: auto;
  opacity: 0.7;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-gold-light);
  font-style: italic;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero .hero-hours {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-espresso);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-saffron);
  color: var(--color-espresso);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid var(--color-gold);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--color-gold);
  color: var(--color-espresso);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- About Section --- */
.about-section {
  padding: var(--section-padding);
  background: var(--color-warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}

.about-images img {
  border-radius: 3px;
  object-fit: cover;
  width: 100%;
}

.about-images img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

.about-images img:nth-child(2),
.about-images img:nth-child(3) {
  height: 200px;
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text .ornament {
  margin: 1rem 0;
}

.about-text p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.about-text .established {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--color-cinnamon);
  font-style: italic;
  margin-top: 1.5rem;
}

/* --- Offerings Section --- */
.offerings-section {
  padding: var(--section-padding);
  background: var(--color-sand);
  color: var(--color-text);
}

.offerings-section h2,
.offerings-section h3 {
  color: var(--color-mocha);
}

.offerings-section .subtitle {
  color: var(--color-text-light);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.offering-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-warm-white);
  border: 1px solid rgba(139, 94, 60, 0.1);
  border-radius: 3px;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.04);
}

.offering-card:hover {
  border-color: rgba(139, 94, 60, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(44, 24, 16, 0.08);
}

.offering-card .card-icon {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.offering-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.offering-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- Featured Banner --- */
.featured-banner {
  position: relative;
  padding: 6rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.featured-banner .banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.featured-banner .banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.featured-banner .banner-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.featured-banner h2 {
  color: var(--color-gold-light);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.featured-banner p {
  color: var(--color-cream);
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
}

/* --- Gallery Preview --- */
.gallery-preview {
  padding: var(--section-padding);
  background: var(--color-warm-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid .gallery-item {
  overflow: hidden;
  border-radius: 3px;
  position: relative;
  aspect-ratio: 1;
}

.gallery-grid .gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-grid .gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- Hours & Location --- */
.hours-location {
  padding: var(--section-padding);
  background: var(--color-warm-white);
}

.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hours-card,
.location-card {
  padding: 2.5rem;
  background: white;
  border: 1px solid rgba(139, 94, 60, 0.1);
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
}

.hours-card h3,
.location-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.hours-table {
  width: 100%;
}

.hours-table .hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(139, 94, 60, 0.08);
}

.hours-table .hours-row:last-child {
  border-bottom: none;
}

.hours-table .day {
  font-weight: 600;
  color: var(--color-mocha);
}

.hours-table .time {
  color: var(--color-text-light);
}

.location-card address {
  font-style: normal;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.location-card .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-mocha);
  margin-bottom: 1rem;
}

.location-card .phone-link:hover {
  color: var(--color-terracotta);
}

.location-card .directions-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-mocha);
  color: var(--color-text-on-dark);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(242, 234, 216, 0.15);
}

.footer-brand .footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-brand p {
  color: rgba(245, 230, 211, 0.65);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h4,
.footer-connect h4 {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links ul a {
  color: rgba(245, 230, 211, 0.65);
  font-size: 0.95rem;
  display: block;
  padding: 0.3rem 0;
}

.footer-links ul a:hover {
  color: var(--color-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 50%;
  color: var(--color-cream);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-espresso);
}

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

.footer-contact-info {
  margin-top: 1.2rem;
}

.footer-contact-info p {
  color: rgba(245, 230, 211, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.footer-contact-info a {
  color: rgba(245, 230, 211, 0.6);
}

.footer-contact-info a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(245, 230, 211, 0.4);
}

.footer-bottom a {
  color: rgba(245, 230, 211, 0.4);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

/* --- Menu Page --- */
.page-hero {
  position: relative;
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  background: var(--color-tan);
  margin-top: var(--header-height);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-warm-white));
}

.page-hero h1 {
  color: var(--color-mocha);
  margin-bottom: 0.5rem;
}

.page-hero .subtitle {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--color-cinnamon);
  font-style: italic;
}

.menu-section {
  padding: 3rem 1.5rem 5rem;
  background: var(--color-warm-white);
}

.menu-category {
  max-width: 900px;
  margin: 0 auto 4rem;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(139, 94, 60, 0.15);
}

.menu-category-header h2 {
  font-size: 1.8rem;
  color: var(--color-mocha);
  margin-bottom: 0.25rem;
}

.menu-category-header p {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1rem;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.menu-item {
  padding: 1rem 0;
  border-bottom: 1px dotted rgba(139, 94, 60, 0.15);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-espresso);
}

.menu-item-price {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--color-cinnamon);
  white-space: nowrap;
  margin-left: 1rem;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.menu-note {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(200, 169, 110, 0.08);
  border-radius: 3px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.menu-images-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto 3rem;
}

.menu-images-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
}

/* --- Gallery Page --- */
.gallery-section {
  padding: 3rem 1.5rem 5rem;
  background: var(--color-warm-white);
}

.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.gallery-masonry .gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-masonry .gallery-item:hover img {
  transform: scale(1.03);
}

/* --- Contact Page --- */
.contact-section {
  padding: 3rem 1.5rem 5rem;
  background: var(--color-warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-form {
  padding: 2.5rem;
  background: white;
  border: 1px solid rgba(139, 94, 60, 0.1);
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
}

.contact-form h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-mocha);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid rgba(139, 94, 60, 0.2);
  border-radius: 2px;
  background: var(--color-warm-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .optional {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.8rem;
}

.contact-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.contact-info-panel h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-mocha);
}

.contact-detail p,
.contact-detail address {
  font-style: normal;
  color: var(--color-text-light);
  line-height: 1.7;
}

.contact-detail a {
  font-weight: 600;
}

.contact-social {
  margin-top: 2rem;
}

.contact-social h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--color-mocha);
}

.map-container {
  margin-top: 3rem;
  grid-column: 1 / -1;
  border-radius: 3px;
  overflow: hidden;
  height: 400px;
  border: 1px solid rgba(139, 94, 60, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- 404 Page --- */
.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-height) 1.5rem 2rem;
  background: var(--color-sand);
}

.error-content h1 {
  color: var(--color-cinnamon);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-content h2 {
  color: var(--color-mocha);
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.error-content p {
  color: var(--color-text-light);
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hl-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .gallery-masonry {
    columns: 2;
  }

  .menu-images-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 65px;
    --section-padding: 3.5rem 1.25rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-cream);
    padding: 6rem 2rem 2rem;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(44, 24, 16, 0.12);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(139, 94, 60, 0.1);
  }

  .menu-toggle {
    display: block;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero-logo {
    width: 240px;
  }

  .hero-shields .shield {
    width: 50px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .menu-items {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    columns: 2;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .page-hero {
    padding: 5rem 1.5rem 3rem;
  }

  .featured-banner .banner-bg {
    background-attachment: scroll;
  }

  .menu-images-row {
    grid-template-columns: 1fr;
  }

  .menu-images-row img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    columns: 1;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-images img:first-child,
  .about-images img:nth-child(2),
  .about-images img:nth-child(3) {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Focus states for accessibility --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
