/* ============================================================
   Papas Ceviche — Main Stylesheet
   Mobile-first, responsive, no framework dependencies
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800;900&family=Manrope:wght@400;500;600;700&display=swap');

/* ── Custom Properties ───────────────────────────────────── */
:root {
  /* Colors */
  --bg:             #ffffff;
  --bg-alt:         #f0edf2;
  --dark:           #1a2a3e;
  --dark-mid:       #253652;
  --teal:           #556E9A;
  --border:         #ccc9cf;
  --border-dark:    rgba(255, 255, 255, 0.12);

  --green:          #E46A79;
  --green-dark:     #c95565;
  --lime:           #E3CF71;
  --lime-dark:      #c9b44c;
  --coral:          #556E9A;

  --text:           #1a1f2e;
  --text-muted:     #4a5168;
  --text-dim:       #8a8a9a;
  --white:          #ffffff;
  --white-soft:     rgba(255, 255, 255, 0.85);

  /* Typography */
  --font-display:   'Archivo', system-ui, -apple-system, sans-serif;
  --font-body:      'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:       0.5rem;
  --space-sm:       1rem;
  --space-md:       2rem;
  --space-lg:       4rem;
  --space-xl:       6rem;
  --space-xxl:      10rem;

  /* Layout */
  --max-width:      1200px;
  --gutter:         1.5rem;

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --dur:            220ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ── Typography Scale ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { max-width: 68ch; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-lg); }
.section--lg { padding-block: var(--space-xl); }

.section--light   { background-color: var(--bg); }
.section--alt     { background-color: var(--bg-alt); }
.section--dark    { background-color: var(--dark); }
.section--teal    { background-color: var(--teal); }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* ── Section Label / Eyebrow ─────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section--dark    .section-label,
.section--teal    .section-label { color: var(--lime); }

.section-heading {
  margin-bottom: var(--space-md);
}

.section-heading h2 {
  margin-bottom: 0.6rem;
}

.section--dark .section-heading h2,
.section--teal .section-heading h2 { color: var(--white); }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 58ch;
}

.section--dark .section-intro { color: var(--text-dim); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 2px solid transparent;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* Primary — coral fill, white text */
.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(228, 106, 121, 0.3);
}

/* Ghost — transparent, white border (on dark backgrounds) */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border-dark);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* Secondary — transparent, green border (on light backgrounds) */
.btn--secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--border);
  font-size: 0.8rem;
  padding: 0.7rem 1.25rem;
}

.btn--secondary:hover {
  border-color: var(--green);
  background: var(--bg-alt);
  transform: translateY(-1px);
}

/* Lime — filled, for dark section CTAs */
.btn--lime {
  background: var(--lime);
  color: var(--dark);
  border-color: var(--lime);
}

.btn--lime:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 207, 113, 0.3);
}

/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.25rem;
  transition:
    background var(--dur) var(--ease),
    padding var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  background: rgba(26, 42, 62, 0.97);
  padding-block: 0.85rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  transition: opacity var(--dur) var(--ease);
}

.site-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: none;
}

.site-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-logo:hover { opacity: 0.85; }

/* Desktop Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.7rem;
  transition: color var(--dur) var(--ease);
}

.site-nav a:hover { color: var(--white); }

.site-nav .btn {
  margin-left: 0.5rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.75rem;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    width var(--dur) var(--ease);
  transform-origin: center;
}

.nav-toggle span:nth-child(3) { width: 65%; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  width: 100%;
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 300ms var(--ease);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.nav-overlay a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.75rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.4rem 2rem;
  text-align: center;
  transition: color var(--dur) var(--ease);
  letter-spacing: -0.02em;
}

.nav-overlay a:hover { color: var(--white); }

.nav-overlay-footer {
  margin-top: 2.5rem;
  text-align: center;
}

.nav-overlay-footer p {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: none;
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--dark);
  background-image: url('../images/hero2.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 42, 62, 0.45) 0%,
    rgba(26, 42, 62, 0.25) 40%,
    rgba(26, 42, 62, 0.75) 72%,
    rgba(26, 42, 62, 0.97) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--white-soft);
}

.hero h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--white-soft);
  margin-bottom: 2.5rem;
  max-width: 52ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Notice Bar ──────────────────────────────────────────── */
.notice-bar {
  background: var(--dark-mid);
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notice-bar .container {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.notice-icon {
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.notice-bar p {
  font-size: 0.875rem;
  color: var(--white-soft);
  max-width: none;
  line-height: 1.55;
}

/* ── About ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  gap: var(--space-lg);
}

.about-gallery {
  display: grid;
  gap: 0.5rem;
}

.about-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.about-gallery-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.about-gallery-sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  color: var(--text);
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 1.025rem;
}

.about-content p:last-of-type { margin-bottom: 2rem; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
  }
}

/* ── Photo Strip ─────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  height: 240px;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}

.photo-strip img:hover { transform: scale(1.04); }

@media (max-width: 600px) {
  .photo-strip { display: none; }
}

/* ── Menu ────────────────────────────────────────────────── */
.menu-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: var(--space-md);
}

.menu-card {
  background: var(--dark-mid);
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--dur) var(--ease);
}

.menu-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
  flex-shrink: 0;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}

.menu-card:hover .menu-card-img img { transform: scale(1.04); }

.menu-card-body {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
}

.menu-card-body h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.menu-card-body p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.925rem;
  line-height: 1.6;
}

.menu-card--special {
  background: rgba(37, 54, 82, 0.6);
  border: 1px solid rgba(227, 207, 113, 0.2);
}

.menu-special-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(227, 207, 113, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
  display: block;
}

.menu-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: none;
}

.menu-disclaimer svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--lime);
  opacity: 0.6;
}

@media (min-width: 600px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .menu-card--special { grid-column: span 2; }
}

@media (min-width: 900px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-card--special { grid-column: span 3; }
}

/* ── Find Us ─────────────────────────────────────────────── */
.find-grid {
  display: grid;
  gap: var(--space-lg);
}

.find-content h2 {
  color: var(--text);
  margin-bottom: 1.25rem;
}

.find-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.025rem;
}

.find-content p:last-of-type { margin-bottom: 1.75rem; }

.find-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Schedule Block */
.schedule-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(16, 43, 28, 0.06);
  align-self: start;
}

.schedule-week-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
  max-width: none;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.schedule-item:last-child { border-bottom: none; }

.schedule-day {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  flex-shrink: 0;
  min-width: 6rem;
}

.schedule-event {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: none;
  font-style: italic;
}

.schedule-note svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--green);
}

@media (min-width: 900px) {
  .find-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ── Catering ────────────────────────────────────────────── */
.catering-layout {
  display: grid;
  gap: var(--space-lg);
}

.catering-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.catering-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.catering-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catering-content h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.catering-content p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
  font-size: 1.025rem;
}

.catering-content p:last-of-type { margin-bottom: 2rem; }

@media (min-width: 900px) {
  .catering-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
  }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  max-width: 740px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}

.faq-question:hover { color: var(--green); }
.faq-question[aria-expanded="true"] { color: var(--green); }

.faq-icon {
  width: 1.6rem;
  height: 1.6rem;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 400;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--green);
  color: var(--green);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 350ms var(--ease);
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.025rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
  flex-shrink: 0;
}

.contact-link-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-link-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-link-handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.contact-location {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-style: italic;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: none;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-links {
    flex-direction: column;
  }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: var(--space-lg);
}

.footer-inner {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
  transition: opacity var(--dur) var(--ease);
}

.footer-logo-link:hover { opacity: 0.8; }

.footer-logo-link img {
  height: 48px;
  width: auto;
  max-width: none;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 38ch;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-dim);
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.footer-social a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-nav h4 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--dur) var(--ease);
}

.footer-nav a:hover { color: var(--white); }

.footer-follow h4 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.footer-follow > p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.85rem;
}

.footer-follow-link {
  display: block;
  font-size: 0.875rem;
  color: var(--lime);
  opacity: 0.8;
  margin-bottom: 0.4rem;
  transition: opacity var(--dur) var(--ease);
}

.footer-follow-link:hover { opacity: 1; }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  max-width: none;
}

.footer-location {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem !important;
}

@media (min-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* ── Scroll margin for anchor links (offset fixed header) ─── */
[id] {
  scroll-margin-top: 5rem;
}

/* ── Skip Link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--lime);
  color: var(--dark);
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 999;
  transition: top 200ms;
}

.skip-link:focus { top: 1rem; }

/* ── Screen Reader Only ───────────────────────────────────── */
.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;
}

/* ── Responsive Tweaks ───────────────────────────────────── */
@media (min-width: 768px) {
  :root {
    --gutter: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 8rem;
  }

  .section { padding-block: var(--space-lg); }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 3rem;
    --space-xl: 10rem;
  }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .nav-overlay { display: none; }
  body { background: white; color: black; }
}
