@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Libre+Franklin:wght@400;500;600;700&display=swap");

:root {
  --navy: #0b2340;
  --navy-2: #163a5c;
  --gold: #9a7b3c;
  --gold-light: #c4a862;
  --bg: #f6f7f9;
  --paper: #ffffff;
  --text: #1c2a38;
  --text-soft: #3e4f60;
  --muted: #5f6f7e;
  --line: #d9dee5;
  --line-dark: rgba(11, 35, 64, 0.14);
  --shadow: 0 14px 40px rgba(11, 35, 64, 0.08);
  --shadow-sm: 0 6px 20px rgba(11, 35, 64, 0.06);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Libre Franklin", system-ui, sans-serif;
  --max: 1140px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100%;
  overflow-x: hidden;
  font-size: 16px;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

.mesa-wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.mesa-wrap.tight { width: min(760px, calc(100% - 40px)); }

.mesa-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}
.mesa-brand i {
  width: 3px;
  height: 30px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.mesa-brand.light { color: #e8edf2; }

.mesa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mesa-btn--solid {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.mesa-btn--solid:hover { background: var(--navy-2); border-color: var(--navy-2); }
.mesa-btn--line {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line);
}
.mesa-btn--line:hover { border-color: var(--navy); }

.mesa-eyebrow {
  display: block;
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 20px; }
.mesa-lead { font-size: 17px; color: var(--text-soft); max-width: 36em; }

.mesa-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.mesa-head.is-stuck { box-shadow: var(--shadow-sm); }

.mesa-strip {
  background: var(--navy);
  color: #c5d0dc;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mesa-strip .mesa-wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mesa-strip-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.mesa-strip a:hover { color: #fff; }

.mesa-navrow .mesa-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mesa-links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--muted); }
.mesa-links a:hover { color: var(--navy); }

.mesa-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  position: relative;
  cursor: pointer;
}
.mesa-burger span, .mesa-burger span::before, .mesa-burger span::after {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--navy);
  content: "";
}
.mesa-burger span { top: 50%; }
.mesa-burger span::before { top: -6px; }
.mesa-burger span::after { top: 6px; }

.mesa-veil {
  position: fixed;
  inset: 0;
  background: rgba(11, 35, 64, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 55;
}
.mesa-veil.is-open { opacity: 1; pointer-events: auto; }

.mesa-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100%;
  padding: 24px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  z-index: 60;
  overflow-y: auto;
}
.mesa-drawer.is-open { transform: translateX(0); }
.mesa-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.mesa-drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
}
.mesa-drawer nav { display: grid; gap: 14px; margin-bottom: 24px; font-weight: 500; }
.mesa-drawer p { font-size: 13px; color: var(--muted); margin-top: 16px; }

.mesa-intro {
  padding: 64px 0 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mesa-intro-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.mesa-intro-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.mesa-intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
}
.mesa-intro-stats div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.mesa-intro-stats div:last-child { border-right: 0; }
.mesa-intro-stats dt { font-size: 24px; font-weight: 700; color: var(--navy); }
.mesa-intro-stats dd { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.mesa-intro-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.mesa-intro-photo img { aspect-ratio: 4/3; width: 100%; }
.mesa-intro-badge {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.mesa-flow { padding: 72px 0; background: var(--bg); }
.mesa-flow-head { margin-bottom: 36px; max-width: 640px; }
.mesa-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mesa-flow-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.mesa-flow-grid span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.mesa-flow-grid h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.mesa-flow-grid p { font-size: 14px; color: var(--muted); }

.mesa-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  gap: 48px;
  padding: 72px 0;
  align-items: center;
}
.mesa-duo figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mesa-duo figure img { aspect-ratio: 5/4; width: 100%; }
.mesa-duo-text .mesa-lead { margin: 16px 0 24px; }
.mesa-duo-facts { margin-top: 28px; border-top: 1px solid var(--line); }
.mesa-duo-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mesa-duo-facts strong { color: var(--navy); font-weight: 600; }
.mesa-duo-facts span { color: var(--muted); text-align: right; }

.mesa-svc {
  padding: 72px 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.mesa-svc-head { margin-bottom: 32px; }
.mesa-svc-list { display: grid; gap: 24px; }
.mesa-svc-list article {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.mesa-svc-list img { height: 100%; min-height: 220px; }
.mesa-svc-list div { padding: 28px 28px 24px; }
.mesa-svc-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.mesa-svc-list h3 {
  margin: 10px 0;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
}
.mesa-svc-list p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.mesa-svc-list a { font-size: 12px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.mesa-svc-list a:hover { color: var(--gold); }

.mesa-cases { padding: 72px 0; background: var(--bg); }
.mesa-cases-head { margin-bottom: 8px; }
.mesa-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.mesa-case {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.mesa-case:hover { box-shadow: var(--shadow); }
.mesa-case.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.mesa-case--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 280px 1fr; }
.mesa-case--wide img { height: 100%; min-height: 180px; }
.mesa-case img { width: 100%; height: 220px; }
.mesa-case.featured img { height: 100%; min-height: 280px; }
.mesa-case > span:first-of-type,
.mesa-case div > span {
  display: block;
  padding: 18px 20px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.mesa-case h3 {
  padding: 8px 20px 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
}
.mesa-case p { padding: 8px 20px 20px; font-size: 14px; color: var(--muted); }
.mesa-case div { display: flex; flex-direction: column; justify-content: center; }

.mesa-voices { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); }
.mesa-voices-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.mesa-voice-stack { display: grid; gap: 14px; }
.mesa-voice-stack article {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mesa-voice-stack article.is-open {
  background: var(--paper);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.mesa-voice-stack p { font-size: 15px; color: var(--text-soft); margin-bottom: 16px; font-style: italic; }
.mesa-voice-meta { display: flex; align-items: center; gap: 14px; }
.mesa-voice-meta img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); }
.mesa-voice-meta strong { display: block; font-size: 14px; color: var(--navy); }
.mesa-voice-meta span { font-size: 12px; color: var(--muted); }

.mesa-marquee {
  background: var(--navy-2);
  color: #dbe4ec;
  padding: 11px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.mesa-marquee-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mesa-marquee-inner i { font-style: normal; color: var(--gold-light); }

.mesa-people { padding: 72px 0; background: var(--bg); }
.mesa-people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.mesa-people-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.mesa-people-grid img { aspect-ratio: 3/4; width: 100%; }
.mesa-people-grid h3 {
  padding: 16px 16px 4px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}
.mesa-people-grid span { display: block; padding: 0 16px 16px; font-size: 13px; color: var(--muted); }

.mesa-journal { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); }
.mesa-journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.mesa-journal-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.mesa-journal-grid img { width: 100%; height: 210px; }
.mesa-journal-grid div { padding: 20px 22px; }
.mesa-journal-date {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mesa-journal-grid h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.mesa-journal-grid p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.mesa-journal-grid a { font-size: 12px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }

.mesa-faq { padding: 72px 0; background: var(--bg); }
.mesa-faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; }
.mesa-faq-row { border-bottom: 1px solid var(--line); }
.mesa-faq-row button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mesa-faq-row button::after { content: "+"; color: var(--gold); font-weight: 400; }
.mesa-faq-row.is-open button::after { content: "−"; }
.mesa-faq-body { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.mesa-faq-row.is-open .mesa-faq-body { max-height: 240px; }
.mesa-faq-body p { padding-bottom: 16px; font-size: 14px; color: var(--muted); }

.mesa-write {
  padding: 72px 0 88px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.mesa-write-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.mesa-write-dl { margin-top: 28px; display: grid; gap: 16px; }
.mesa-write-dl dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mesa-write-dl dd { font-size: 15px; margin-top: 4px; color: var(--text-soft); }

.mesa-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mesa-field { display: grid; gap: 6px; }
.mesa-field.full { grid-column: 1 / -1; }
.mesa-field label { font-size: 12px; color: var(--muted); font-weight: 600; }
.mesa-field input, .mesa-field select, .mesa-field textarea {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.mesa-field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.mesa-form .mesa-btn { grid-column: 1 / -1; width: 100%; }
.mesa-form-ok { grid-column: 1 / -1; display: none; font-size: 13px; color: var(--navy); font-weight: 600; }

.mesa-foot {
  background: var(--navy);
  color: #b8c5d1;
  padding: 56px 0 0;
}
.mesa-foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.mesa-foot-grid p, .mesa-foot-grid li { font-size: 14px; line-height: 1.65; }
.mesa-foot-note { margin-top: 14px; }
.mesa-foot-grid h5 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  font-weight: 600;
}
.mesa-foot-grid ul { display: grid; gap: 8px; }
.mesa-foot-grid a:hover { color: #fff; }
.mesa-foot-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 24px;
  font-size: 12px;
}

#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  padding: 16px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(11, 35, 64, 0.1);
}
.cookie-row {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.cookie-row a { color: var(--navy); font-weight: 600; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btns button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.cookie-btns .cookie-all { background: var(--navy); color: #fff; border-color: var(--navy); }

.mesa-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  cursor: pointer;
  z-index: 30;
  box-shadow: var(--shadow-sm);
}
.mesa-top.is-visible { opacity: 1; pointer-events: auto; }

.page-privacy .mesa-page-hero {
  padding: 56px 0 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mesa-legal { padding: 48px 0 80px; background: var(--bg); }
.mesa-legal h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--navy);
}
.mesa-legal p { font-size: 15px; color: var(--text-soft); margin-bottom: 8px; }
.mesa-legal a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mesa-legal-card {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .mesa-intro-grid, .mesa-duo, .mesa-voices-grid, .mesa-write-grid, .mesa-faq-grid, .mesa-foot-grid { grid-template-columns: 1fr; }
  .mesa-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .mesa-people-grid { grid-template-columns: repeat(2, 1fr); }
  .mesa-case.featured, .mesa-case--wide { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mesa-links, .mesa-navrow .mesa-btn { display: none; }
  .mesa-burger { display: block; }
  .mesa-flow-grid, .mesa-cases-grid, .mesa-journal-grid, .mesa-people-grid { grid-template-columns: 1fr; }
  .mesa-svc-list article { grid-template-columns: 1fr; }
  .mesa-intro-stats { grid-template-columns: 1fr; }
  .mesa-intro-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .mesa-intro-stats div:last-child { border-bottom: 0; }
  .mesa-form { grid-template-columns: 1fr; }
}
