/* ——————————————————————————————————————————————
   TESTARUDO CAFÉ
   Restrained, editorial, photo-forward.
   —————————————————————————————————————————————— */

:root {
  --cream: #f4efe6;
  --cream-soft: #ece6d7;
  --ink: #1a1815;
  --ink-soft: #4a463e;
  --olive: #3e4f26;         /* the awning */
  --olive-dark: #2f3c1c;
  --sage: #b5c097;          /* approved brand sage */
  --sage-soft: #c9d1b0;
  --blue: #9fb0c8;          /* approved brand dusty blue */
  --orange: #d9793e;        /* approved brand orange */
  --yellow: #f0d47c;
  --rule: rgba(26, 24, 21, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

/* —— Typography —————————————————————————————— */
.display {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.serif {
  font-family: 'Fraunces', serif;
  font-weight: 400;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.body-lg {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* —— Layout primitives —————————————————————————— */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
section { padding: 120px 0; }
.divider { height: 1px; background: var(--rule); margin: 0; }

/* —— Nav ———————————————————————————————— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 24px;
  flex-wrap: nowrap;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-brand .iso {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.nav-brand .wordmark {
  height: 26px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links a {
  color: var(--ink);
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.5; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-shrink: 0;
}
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(22, 29, 33, 0.18);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--ink-soft);
  transition: border-color 0.2s;
}
.lang-toggle:hover { border-color: rgba(22, 29, 33, 0.36); }
.lang-toggle .lang-opt {
  position: relative;
  z-index: 2;
  min-width: 30px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  transition: color 0.25s ease;
  color: rgba(22, 29, 33, 0.55);
}
.lang-toggle.es .lang-opt:nth-child(2) { color: var(--cream); }
.lang-toggle.en .lang-opt:nth-child(3) { color: var(--cream); }
.lang-toggle .lang-pill {
  position: absolute;
  z-index: 1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.28s cubic-bezier(.4,.0,.2,1);
}
.lang-toggle.en .lang-pill { transform: translateX(100%); }
.nav-ig {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-ig:hover { background: var(--ink); color: var(--cream); }

/* —— Hero ———————————————————————————————— */
.hero {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 640px;
  max-height: 880px;
  overflow: hidden;
  background: var(--olive);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 40px;
  max-width: 1360px;
  margin: 0 auto;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--cream);
  margin-top: 64px;
}
.hero-top .eyebrow {
  color: rgba(255,255,255,0.85);
}
.hero-meta {
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.hero-bottom {
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero-tag {
  font-size: clamp(40px, 5.6vw, 92px);
  color: var(--cream);
  max-width: 16ch;
  font-weight: 300;
}
.hero-tag em {
  font-style: italic;
  color: var(--yellow);
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-cta a {
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.hero-cta a:hover { border-color: var(--cream); }

.hero-scramble {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(38vw, 480px);
  opacity: 0.95;
  pointer-events: none;
}

/* —— Marquee strip ———————————————————————————— */
.strip {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.strip-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  padding-left: 48px;
}
.strip-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.strip-track .dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* —— Intro section ——————————————————————————— */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.intro-text h2 {
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.0;
  margin-bottom: 32px;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.intro-text h2 em {
  font-style: italic;
  color: #95A27F;
}
.intro-text p + p { margin-top: 20px; }
.intro-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-soft);
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* —— Menu ——————————————————————————————— */
.menu-section {
  background: var(--sage);
  padding: 72px 0;
}
.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 40px;
  flex-wrap: wrap;
}
.menu-head h2 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.menu-head .note {
  font-size: 12px;
  color: var(--ink-soft);
  max-width: 32ch;
  text-align: right;
  line-height: 1.45;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 28px;
}
.menu-col h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 18px;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: none;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 8px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 5px 0;
  align-items: baseline;
  border-bottom: 1px dotted rgba(26, 24, 21, 0.18);
}
.menu-item:last-child { border-bottom: none; }
.menu-item .name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.menu-item .desc {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 1px;
  max-width: 30ch;
  font-style: italic;
  line-height: 1.3;
}
.menu-item .price {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.menu-extras {
  margin-top: 28px;
  padding: 14px 20px;
  background: var(--cream);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.menu-extras strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: var(--orange);
}
.menu-extras .items {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.menu-extras .items span b { color: var(--ink); font-weight: 500; }
.happy-hour {
  margin-top: 10px;
  padding: 12px 20px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}
.happy-hour .tag {
  background: var(--orange);
  color: var(--cream);
  padding: 3px 8px;
  font-weight: 600;
  font-size: 11px;
}

/* —— Feature row (big photo + small quote) ————————————— */
.feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature-text h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.feature-text h2 em { font-style: italic; color: #95A27F; }

/* —— Pet-friendly ————————————————————————— */
.pet {
  background: var(--orange);
  color: var(--cream);
  padding: 0;
  overflow: hidden;
}
.pet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.pet-photo {
  background: #000;
}
.pet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pet-copy {
  padding: 88px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.pet-copy .eyebrow { color: var(--yellow); }
.pet-copy h2 em { color: var(--yellow); font-style: italic; }
.pet-copy h2 {
  font-size: clamp(44px, 4.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.pet-copy p {
  font-size: 17px;
  color: rgba(244, 239, 230, 0.82);
  max-width: 36ch;
  line-height: 1.55;
}

/* —— Gallery ——————————————————————————— */
.gallery {
  padding: 0 40px;
  max-width: 1360px;
  margin: 0 auto;
}
.gallery h2 {
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
  max-width: 18ch;
}
.gallery h2 em { font-style: italic; color: #95A27F; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 360px;
  gap: 16px;
}
.gallery-grid .g {
  overflow: hidden;
  background: var(--cream-soft);
  height: 100%;
}
.gallery-grid .g img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s ease; }
.gallery-grid .g:hover img { transform: scale(1.03); }
.g1 { grid-column: span 7; }
.g2 { grid-column: span 5; }
.g3 { grid-column: span 4; }
.g4 { grid-column: span 4; }
.g5 { grid-column: span 4; }
.gallery-grid .g2 img { object-position: center bottom; }

/* —— Specials (specialty drinks showcase) —————————————— */
#specials { padding: 0 40px; margin: 72px auto; max-width: 1360px; }
.specials .eyebrow { margin-bottom: 20px; }
.specials h2 {
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
  max-width: 22ch;
}
.specials h2 em { font-style: italic; color: #95A27F; }
.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 20px;
}
.specials-item { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.specials-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-soft);
}
.specials-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.8s ease;
}
.specials-item:hover .specials-photo img { transform: scale(1.03); }
.specials-item .name {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
}
@media (max-width: 880px) {
  .specials-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .specials h2 { margin-bottom: 32px; }
}
@media (max-width: 520px) {
  #specials { padding: 0 20px; margin: 48px auto; }
}

/* —— Visit ———————————————————————————— */
.visit {
  background: var(--blue);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.visit-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visit-info h2 {
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 40px;
  text-wrap: pretty;
}
.visit-info h2 em { font-style: italic; color: #FADE8C; }
.info-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}
.info-row:last-child { border-bottom: none; }
.info-row .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.info-row .value {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink);
}
.info-row .value small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0;
}
.wifi-card {
  background: var(--cream);
  color: var(--ink);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.wifi-card .ic {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 18px;
}
.wifi-card .wifi-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(22, 29, 33, 0.55);
}
.wifi-card .wifi-val {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  margin-top: 2px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.wifi-card .wifi-val span b {
  color: var(--orange);
  font-weight: 500;
  margin-left: 6px;
}

/* —— Footer ———————————————————————————— */
.footer {
  background: var(--cream);
  color: var(--ink);
  padding: 96px 0 32px;
}
.footer-wifi {
  margin-bottom: 72px;
  display: flex;
  justify-content: center;
}
.footer-wifi .wifi-card {
  max-width: 520px;
  width: 100%;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(22, 29, 33, 0.14);
}
.footer-brand img { width: 140px; height: auto; margin-bottom: 20px; display: block; }
.footer-brand p {
  font-size: 14px;
  color: rgba(22, 29, 33, 0.7);
  max-width: 28ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(22, 29, 33, 0.55);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--ink);
  padding: 4px 0;
  line-height: 1.6;
}
.footer-col a:hover { color: var(--orange); }
.footer-col p.ig-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col .ig-glyph {
  flex-shrink: 0;
  opacity: 0.75;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(22, 29, 33, 0.55);
  letter-spacing: 0.06em;
}
.footer-ig-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 12px;
  transition: transform 0.2s;
}
.footer-ig-cta:hover { transform: translateY(-2px); }

/* —— Responsive ——————————————————————————— */

/* Tablet and small laptop (≤ 900px) ————————————— */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 72px 0; }
  .nav-inner { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .nav-brand .wordmark { height: 22px; }
  .nav-brand .iso { width: 38px; height: 38px; }
  .nav-right { gap: 14px; }
  .nav-ig { padding: 7px 12px; font-size: 11px; }
  .hero { height: calc(100vh - 64px); min-height: 560px; }
  .hero-overlay { padding: 28px 24px; }
  .hero-top { margin-top: 40px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-cta { align-items: flex-start; }
  .hero-scramble { width: min(52vw, 360px); top: 44%; }
  .intro { grid-template-columns: 1fr; gap: 48px; }
  .intro-photo { aspect-ratio: 4/3; order: -1; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .menu-head { flex-direction: column; align-items: flex-start; }
  .menu-head .note { text-align: left; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature-img { aspect-ratio: 4/3; }
  .pet-grid { grid-template-columns: 1fr; min-height: auto; }
  .pet-photo { aspect-ratio: 4/3; }
  .pet-copy { padding: 56px 28px; }
  .gallery { padding: 0 24px; }
  .gallery-grid { grid-auto-rows: 260px; gap: 12px; }
  .g1, .g2 { grid-column: span 12; aspect-ratio: 4/3; }
  .g3, .g4, .g5 { grid-column: span 4; aspect-ratio: 1/1; }
  .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .info-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

/* Mobile (≤ 640px) ————————————————————————— */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  section { padding: 56px 0; }

  /* Nav — compact mobile header */
  .nav-inner {
    padding: 0 16px;
    height: 60px;
    gap: 12px;
  }
  .nav-brand { gap: 8px; }
  .nav-brand .iso { width: 34px; height: 34px; }
  .nav-brand .wordmark { height: 20px; }
  .nav-right { gap: 10px; }
  .lang-toggle .lang-opt { min-width: 26px; padding: 3px 8px; font-size: 10px; }
  .nav-ig { padding: 6px 10px; font-size: 10px; letter-spacing: 0.06em; }

  /* Hero */
  .hero {
    height: auto;
    min-height: 560px;
    max-height: none;
  }
  .hero-overlay {
    padding: 20px 18px 28px;
    min-height: 560px;
  }
  .hero-top {
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
  }
  .hero-meta {
    text-align: left;
    font-size: 10px;
    line-height: 1.7;
  }
  .hero-tag {
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.02;
    max-width: 100%;
  }
  .hero-cta { font-size: 11px; gap: 10px; }
  .hero-scramble {
    width: min(65vw, 280px);
    top: 46%;
  }

  /* Marquee */
  .strip { font-size: 15px; padding: 12px 0; }
  .strip-track { gap: 32px; padding-left: 32px; }
  .strip-track span { gap: 32px; }

  /* Intro */
  .intro { gap: 36px; }
  .intro-text h2 { margin-bottom: 22px; }
  .body-lg { font-size: 16px; }

  /* Menu section */
  .menu-section { padding: 56px 0; }
  .menu-grid { grid-template-columns: 1fr; gap: 32px; }
  .menu-head { margin-bottom: 28px; }
  .menu-extras {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 10px;
  }
  .menu-extras .items { gap: 10px; }
  .happy-hour {
    flex-wrap: wrap;
    padding: 12px 16px;
    font-size: 11px;
    line-height: 1.5;
  }

  /* Feature */
  .feature { gap: 32px; }

  /* Pet */
  .pet-copy { padding: 44px 22px; }
  .pet-copy p { max-width: 100%; }

  /* Gallery — stack everything on small mobile */
  .gallery-grid {
    grid-auto-rows: auto;
    gap: 10px;
  }
  .g1, .g2 {
    grid-column: span 12;
    aspect-ratio: 4/3;
    height: auto;
  }
  .g3, .g4, .g5 {
    grid-column: span 6;
    aspect-ratio: 1/1;
    height: auto;
  }
  .g5 { grid-column: span 12; aspect-ratio: 16/10; }

  /* Visit */
  .visit-grid { gap: 36px; }
  .info-row { padding: 18px 0; }
  .info-row .value { font-size: 18px; }

  /* WiFi card */
  .wifi-card {
    padding: 22px 20px;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .wifi-card .ic { margin: 0 auto; }
  .wifi-card .wifi-val {
    flex-direction: column;
    gap: 6px;
    font-size: 17px;
    align-items: center;
  }

  /* Footer */
  .footer { padding: 64px 0 28px; }
  .footer-wifi { margin-bottom: 48px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-brand { grid-column: span 1; }
  .footer-brand img { width: 120px; }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
  }

  /* Hide dev panel on mobile so it doesn't cover content */
  .tweaks-panel { display: none; }
}

/* Extra small phones (≤ 380px) ——————————————————— */
@media (max-width: 380px) {
  .nav-brand .wordmark { display: none; }
  .hero-tag { font-size: clamp(32px, 10vw, 44px); }
  .nav-ig { padding: 6px 9px; }
}


/* —— Tweaks Panel —————————————————————————— */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 280px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
}
.tweaks-panel .tw-head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--cream);
}
.tweaks-panel .tw-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1;
}
.tweaks-panel .tw-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 6px;
}
.tweaks-panel .tw-section {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
}
.tweaks-panel .tw-section:last-child { border-bottom: none; }
.tweaks-panel .tw-section-h {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-weight: 500;
}
.tweaks-panel .tw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}
.tweaks-panel .tw-label {
  color: var(--ink);
}

/* pill toggle */
.tweaks-panel .tw-toggle {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--cream);
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.tweaks-panel .tw-toggle.on { background: var(--olive); border-color: var(--olive); }
.tweaks-panel .tw-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.2s, background 0.2s;
}
.tweaks-panel .tw-toggle.on .tw-knob {
  transform: translateX(16px);
  background: var(--yellow);
}

/* segmented */
.tweaks-panel .tw-seg {
  display: flex;
  border: 1px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
}
.tweaks-panel .tw-seg-btn {
  flex: 1;
  padding: 8px 0;
  background: var(--cream);
  color: var(--ink);
  border: none;
  border-right: 1px solid var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.tweaks-panel .tw-seg-btn:last-child { border-right: none; }
.tweaks-panel .tw-seg-btn.active {
  background: var(--ink);
  color: var(--yellow);
  font-weight: 600;
}
