/* Sage Salon — Hair Studio */

/* ===== TOKENS ===== */
:root {
  --bg:           #F9F6F1;
  --bg2:          #F3EDE4;
  --surface:      #EDE6DA;
  --surface2:     #E3D9CC;
  --border:       #D4C9B8;
  --border2:      #C4B4A2;
  --text:         #1C1814;
  --muted:        #8A7060;
  --subtle:       #B8A692;
  --accent:       #9A7560;
  --accent-light: #C9AA95;
  --danger:       #A83020;
  --success:      #4A7A50;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 0.28s;
  --radius: 2px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 72px;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: rgba(249,246,241,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text);
  font-style: italic;
}
.site-nav { display: flex; gap: 40px; }
.site-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--speed) var(--ease);
}
.site-nav a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface2);
}
.hero::before {
  content: '';
  position: absolute;
  width: 160%; height: 160%;
  top: -30%; left: -30%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(154,117,96,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(200,170,150,0.08) 0%, transparent 55%);
  animation: heroAmbient 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroAmbient {
  from { transform: translate(-3%, -2%); }
  to   { transform: translate(3%, 2%); }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(28,18,12,0.78) 0%,
    rgba(28,18,12,0.38) 55%,
    rgba(28,18,12,0.62) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(249,246,241,0.55);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(80px, 12vw, 156px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: #F9F6F1;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(249,246,241,0.6);
  margin-bottom: 52px;
  letter-spacing: 0.3px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 48px; left: 80px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(249,246,241,0.35);
}
.scroll-line {
  width: 60px; height: 1px;
  background: rgba(249,246,241,0.25);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(249,246,241,0.55);
  animation: scrollPulse 2.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #3A2E26; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #F9F6F1;
  border: 1px solid rgba(249,246,241,0.3);
}
.btn-ghost:hover { border-color: rgba(249,246,241,0.7); }
.btn-full { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }

/* Ghost variant on light bg */
.on-light.btn-ghost {
  color: var(--text);
  border-color: var(--border2);
}
.on-light.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== SECTION SHELL ===== */
.section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 80px;
}
.section-header { margin-bottom: 72px; }
.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--text);
}
.section-sub {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ===== QUOTE ===== */
.section-quote {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.studio-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.8vw, 32px);
  color: var(--text);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}
.studio-quote cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== SERVICES ===== */
.section-services {
  padding: 140px 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg);
  padding: 48px 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(52px);
  transition:
    background 0.3s var(--ease),
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.service-card.in-view { opacity: 1; transform: translateY(0); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { background: var(--surface); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.selected { background: var(--surface2); }
.service-card.selected::before { transform: scaleX(1); }

.service-num {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--subtle);
  margin-bottom: 20px;
}
.service-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 10px;
}
.service-meta { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.service-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
}
.service-price span { font-size: 15px; color: var(--muted); font-family: var(--font-body); }
.service-selected-tag {
  margin-top: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card.selected .service-selected-tag { opacity: 1; }

/* ===== STYLIST / BARBERS ===== */
.section-barbers {
  padding: 140px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.barbers-row { display: flex; gap: 56px; flex-wrap: wrap; }
.barber-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}
.barber-ring {
  width: 148px; height: 148px;
  border-radius: 50%;
  padding: 3px;
  background: var(--border2);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.barber-bubble:hover .barber-ring { background: var(--accent-light); transform: translateY(-6px); }
.barber-bubble.selected .barber-ring { background: var(--accent); transform: translateY(-6px); }
.barber-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.barber-avatar img { width: 100%; height: 100%; object-fit: cover; }
.barber-initial {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 52px;
  color: var(--accent-light);
}
.barber-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text);
  text-align: center;
}
.barber-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.barber-bubble.selected .barber-dot { opacity: 1; }

/* ===== BOOKING ===== */
.section-booking { padding: 140px 0; background: var(--bg2); }

.booking-status {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 64px;
  overflow: hidden;
  background: var(--bg);
}
.status-item { flex: 1; padding: 20px 28px; display: flex; flex-direction: column; gap: 7px; }
.status-sep { width: 1px; background: var(--border); flex-shrink: 0; }
.status-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--subtle);
}
.status-value {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--muted);
  transition: color 0.3s;
}
.status-value.set { color: var(--text); }

.booking-body { max-width: 680px; }
.booking-block { margin-bottom: 48px; }
.block-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Date trigger */
.date-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  transition: all var(--speed) var(--ease);
}
.date-trigger:hover { border-color: var(--accent); color: var(--text); }
.date-trigger.has-date { color: var(--text); border-color: var(--accent-light); }

/* Calendar */
.calendar-wrap { display: none; margin-top: 3px; }
.calendar-wrap.open { display: block; animation: dropIn 0.22s var(--ease); }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.calendar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--text);
}
.cal-arrow {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 36px; height: 36px;
  border-radius: var(--radius);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--speed) var(--ease);
}
.cal-arrow:hover { border-color: var(--accent); color: var(--accent); }
.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}
.cal-dow span {
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 8px 0;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  color: var(--text);
  transition: all 0.18s var(--ease);
  user-select: none;
}
.cal-day:hover:not(.cal-off):not(.cal-empty) { background: var(--surface); border-color: var(--border); }
.cal-day.cal-today { border-color: var(--accent-light); }
.cal-day.cal-selected { background: var(--accent); color: #fff; font-weight: 500; }
.cal-day.cal-off { color: var(--subtle); cursor: not-allowed; opacity: 0.38; }
.cal-day.cal-empty { pointer-events: none; }

/* Slots */
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot-btn {
  padding: 13px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  transition: all 0.18s var(--ease);
  cursor: pointer;
}
.slot-btn:hover { border-color: var(--accent); color: var(--accent); }
.slot-btn.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.slots-empty { color: var(--muted); font-size: 14px; padding: 12px 0; }

/* Customer form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.form-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--speed) var(--ease);
  resize: vertical;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--subtle); }

/* Alerts */
.alert { padding: 14px 20px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px; }
.alert-ok { background: rgba(74,122,80,0.07); border: 1px solid rgba(74,122,80,0.3); color: var(--success); }
.alert-err { background: rgba(168,48,32,0.07); border: 1px solid rgba(168,48,32,0.25); color: var(--danger); }

/* Confirmation */
.confirm-box { padding: 80px 0; text-align: center; border: 1px solid var(--border); border-radius: var(--radius); }
.confirm-check {
  width: 60px; height: 60px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin: 0 auto 32px;
}
.confirm-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 48px;
  color: var(--text);
  margin-bottom: 16px;
}
.confirm-text { color: var(--muted); font-size: 15px; line-height: 2; }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== FOOTER ===== */
footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 80px 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
}
.footer-logo { font-size: 22px; display: block; margin-bottom: 12px; }
.footer-tag { color: var(--muted); font-size: 14px; margin-bottom: 12px; font-style: italic; font-family: var(--font-display); }
.footer-insta a { color: var(--accent); font-size: 13px; letter-spacing: 0.5px; }
.footer-insta a:hover { text-decoration: underline; }
.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color var(--speed); }
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--muted); font-size: 14px; }
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 80px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--subtle);
}

/* ===== ADMIN ===== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 15px; font-weight: 500; margin-bottom: 20px; }

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, color 0.2s;
}
.check-pill:has(input:checked) { border-color: var(--accent); color: var(--text); }
.check-pill input[type="checkbox"] { accent-color: var(--accent); }

.admin-shell { min-height: 100vh; display: flex; }
.admin-shell aside {
  width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 28px;
  flex-shrink: 0;
}
.admin-shell aside .brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 36px;
  display: block;
}
.admin-shell aside button.tab {
  display: block; width: 100%; text-align: left;
  padding: 10px 14px; margin-bottom: 4px;
  background: transparent; color: var(--muted);
  border: none; border-radius: var(--radius);
  cursor: pointer; font: inherit; font-size: 14px;
  transition: all 0.2s;
}
.admin-shell aside button.tab:hover { background: var(--surface2); color: var(--text); }
.admin-shell aside button.tab.active { background: var(--accent); color: #fff; font-weight: 500; }
.admin-shell main { flex: 1; padding: 40px; overflow: auto; background: var(--bg2); }

@media (max-width: 800px) {
  .admin-shell { flex-direction: column; }
  .admin-shell aside { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
}

.table { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--surface); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.table tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-ok { background: rgba(74,122,80,0.1); color: var(--success); }
.badge-cancel { background: rgba(168,48,32,0.1); color: var(--danger); }

.login-box {
  max-width: 400px; margin: 80px auto;
  background: var(--bg); padding: 40px;
  border-radius: var(--radius); border: 1px solid var(--border);
}
h2.section {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 24px;
  font-size: 36px;
  color: var(--text);
}
.row-actions { display: flex; gap: 8px; }
.toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: end; }
.toolbar .field { margin: 0; }
.muted { color: var(--muted); }
.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px; border-radius: var(--radius); margin-top: 16px;
}
.summary h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
}

/* Admin form fields */
.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted);
  font-weight: 400;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .section-inner { padding: 0 48px; }
  .site-header { padding: 0 48px; }
  .hero-content { padding: 0 48px; }
  .hero-scroll-hint { left: 48px; }
  .footer-inner { padding: 64px 48px 48px; gap: 48px; }
  .footer-bottom { padding: 20px 48px; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section-inner { padding: 0 24px; }
  .site-header { padding: 0 24px; }
  .hero-content { padding: 0 24px; }
  .hero-scroll-hint { left: 24px; }
  .hero-title { font-size: 72px; }
  .section-services, .section-barbers, .section-booking { padding: 96px 0; }
  .section-quote { padding: 72px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .barbers-row { gap: 36px; }
  .booking-status { flex-direction: column; }
  .status-sep { width: 100%; height: 1px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 32px; }
  .footer-bottom { padding: 16px 24px; }

  /* Mobile menu — burger replaces the inline nav below this width. */
  .site-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 32px 24px;
    gap: 0;
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform var(--speed) var(--ease);
    z-index: 90;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a {
    font-size: 18px;
    letter-spacing: 1px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 2px;
    gap: 5px;
    transition: border-color var(--speed) var(--ease);
  }
  .nav-burger:hover { border-color: var(--text); }
  .nav-burger span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--text);
    transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* Burger is hidden on desktop. */
.nav-burger { display: none; }
