/* =========================================================
   The Turnbridge — stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Archivo:wght@400;500;600;700&family=Caveat:wght@500;700&display=swap');

:root {
  --ink:        #12201A;
  --panel:      #1A2921;
  --green:      #233D2E;
  --slate:      #3C4348;
  --slate-light:#575F63;
  --tan:        #C48A52;
  --tan-deep:   #9C6A3A;
  --brass:      #A67C3D;
  --cream:      #EFE7D8;
  --cream-dim:  #C9C0AE;
  --line:       rgba(239, 231, 216, 0.14);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle herringbone texture, used behind hero/dark sections */
.herringbone {
  position: relative;
}
.herringbone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(45deg, var(--cream) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, var(--cream) 0 2px, transparent 2px 22px);
  background-size: 44px 44px;
  mix-blend-mode: overlay;
}
.herringbone::after {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 55%; height: 70%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(196,138,82,0.14) 0%, rgba(196,138,82,0) 70%);
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.02; font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; max-width: 62ch; }
p.lede { font-size: 1.2rem; color: var(--cream-dim); max-width: 52ch; }

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

section { padding: 96px 0; }
@media (max-width: 700px) {
  section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--tan);
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 32, 26, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img { height: 40px; width: auto; }
.nav-brand span {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--cream-dim);
  font-size: 0.98rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--tan);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--cream);
  padding: 8px 10px;
  font-size: 1.1rem;
}
@media (max-width: 780px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--panel);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links a {
    padding: 16px 28px;
    display: block;
    border-top: 1px solid var(--line);
  }
  .nav-toggle { display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--tan);
  color: var(--ink);
}
.btn-primary:hover { background: var(--tan-deep); }
.btn-outline {
  border-color: var(--line);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--tan); color: var(--tan); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 100px;
  overflow: hidden;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--green);
  border: 1px solid var(--line);
  padding: 7px 15px 7px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.status-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tan);
  box-shadow: 0 0 0 3px rgba(196,138,82,0.25);
}
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.95rem;
  color: var(--cream-dim);
}
.hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta strong { color: var(--cream); font-weight: 600; }

.bridge-art { width: 100%; height: auto; }

/* bridge lift animation, one-time on load */
.bridge-deck, .bridge-chain-l, .bridge-chain-r {
  transform-origin: center;
  animation: lift 1.8s cubic-bezier(.34,1.2,.4,1) 0.3s both;
}
@keyframes lift {
  0%   { transform: translateY(-46px); opacity: 0; }
  60%  { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.bridge-wheel { transform-origin: center; animation: spin-in 1.4s ease-out 0.2s both; }
.bridge-counterweight { transform-origin: center; animation: settle 1.8s cubic-bezier(.34,1.2,.4,1) 0.3s both; }
@keyframes settle {
  0%   { transform: translateY(14px); opacity: 0; }
  60%  { transform: translateY(-4px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes spin-in {
  0% { transform: rotate(-35deg); opacity: 0; }
  100% { transform: rotate(0deg); opacity: 1; }
}

/* ---------- Timeline (day/night strip) ---------- */
.day-strip {
  position: relative;
  height: 10px;
  border-radius: 100px;
  margin: 10px 0 6px;
  background: linear-gradient(90deg,
    #4A3B2C 0%, #C48A52 18%, #EFE7D8 38%, #EFE7D8 52%,
    #C48A52 68%, #4A3B2C 82%, #12201A 100%);
}
.day-strip-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--cream-dim);
}

/* ---------- Cards ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

.split-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .split-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .split-3 { grid-template-columns: 1fr; } }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 40px;
}
.panel h3 { margin-bottom: 10px; }
.panel .tag {
  font-size: 0.85rem;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.panel ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.panel li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--cream-dim);
  font-size: 0.96rem;
}
.panel li span:first-child { color: var(--cream); }

/* ---------- Section divider ---------- */
.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Story teaser ---------- */
.story-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .story-teaser { grid-template-columns: 1fr; } }

/* ---------- Timeline (story page) ---------- */
.timeline {
  position: relative;
  margin-top: 50px;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--tan);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--line);
}
.timeline-year {
  font-family: var(--serif);
  color: var(--tan);
  font-size: 1.6rem;
  margin-bottom: 6px;
  display: block;
}

/* ---------- Menu page ---------- */
.menu-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 44px;
}
.menu-card + .menu-card { margin-top: 24px; }
.menu-items {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}
@media (max-width: 600px) { .menu-items { grid-template-columns: 1fr; } }
.menu-items div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
}
.menu-items strong { color: var(--cream); font-weight: 600; }

.coming-soon-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--tan);
  padding: 4px 10px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}

/* ---------- Application form (careers) ---------- */
.field-group { margin-bottom: 22px; }
.field-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.field-group .hint {
  display: block;
  font-size: 0.85rem;
  color: var(--cream-dim);
  font-weight: 400;
  margin-top: 6px;
}
.field-group input[type="text"],
.field-group input[type="email"],
.field-group textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 13px 16px;
  font-size: 0.98rem;
  font-family: var(--sans);
  border-radius: 3px;
}
.field-group textarea { min-height: 130px; resize: vertical; }
.field-group input:focus, .field-group textarea:focus {
  outline: 2px solid var(--tan);
  outline-offset: 1px;
}

.file-drop {
  border: 1px dashed var(--line);
  border-radius: 3px;
  padding: 22px;
  text-align: center;
  background: var(--ink);
  transition: border-color 0.2s ease;
}
.file-drop:hover { border-color: var(--tan); }
.file-drop input[type="file"] {
  color: var(--cream-dim);
  font-size: 0.9rem;
  width: 100%;
}
.file-drop input[type="file"]::file-selector-button {
  background: var(--tan);
  color: var(--ink);
  border: none;
  padding: 9px 16px;
  border-radius: 3px;
  font-weight: 600;
  margin-right: 14px;
  cursor: pointer;
}

/* ---------- Intro hero (full-bleed cinemagraph video) ---------- */
.intro-hero {
  position: relative;
  height: 100vh;
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
}
@media (max-width: 700px) {
  .intro-hero { height: 100vh; height: 100svh; min-height: 560px; }
  .intro-bg { object-position: 72% center; }   /* portrait phones: anchor the crop on the building, not the centre */
}
.intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(18,32,26,0.1) 0%, rgba(18,32,26,0.3) 55%, var(--ink) 100%),
    linear-gradient(to top, rgba(18,32,26,0.35) 0%, transparent 28%);
  pointer-events: none;
}
.intro-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  padding: 0 24px;
}
.intro-logo {
  width: min(480px, 82vw);
  height: auto;
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,0.75))
    drop-shadow(0 0 2px rgba(255,255,255,0.7))
    drop-shadow(0 0 8px rgba(255,255,255,0.3))
    drop-shadow(0 0 20px rgba(196,138,82,0.35));
  animation: introfade 1.4s ease-out both, neonpulse 4.2s ease-in-out 1.4s infinite;
}
@keyframes neonpulse {
  0%, 100% {
    filter:
      drop-shadow(0 2px 4px rgba(0,0,0,0.75))
      drop-shadow(0 0 2px rgba(255,255,255,0.7))
      drop-shadow(0 0 8px rgba(255,255,255,0.3))
      drop-shadow(0 0 20px rgba(196,138,82,0.35));
  }
  50% {
    filter:
      drop-shadow(0 2px 4px rgba(0,0,0,0.75))
      drop-shadow(0 0 3px rgba(255,255,255,0.85))
      drop-shadow(0 0 12px rgba(255,255,255,0.4))
      drop-shadow(0 0 28px rgba(196,138,82,0.45));
  }
}
@keyframes introfade {
  0%   { opacity: 0; transform: translateY(14px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.intro-status {
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--tan);
  padding: 14px 32px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  animation: introfade 1.4s ease-out 0.2s both;
}
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--cream-dim);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* ---------- Crew page: founders photo centred above the intro ---------- */
.team-photo-frame.team-photo-centered {
  max-width: 720px;
  margin: 0 auto 8px;
  padding: 20px 10px 30px;
}
.team-photo-centered .team-photo-inner img { transform: none; }
.team-intro-centered {
  max-width: 960px;
  margin: 0 auto 44px;
  text-align: center;
}
.team-intro-centered p { margin-left: auto; margin-right: auto; max-width: 84ch; }
.team-intro-centered .eyebrow { justify-content: center; }
.hof-section .eyebrow { justify-content: center; }
.hof-lede {
  max-width: 560px;
  margin: 0 auto 30px;
  text-align: center;
}
.mindset-split .quote-panel { height: 100%; }
.mindset-split .panel { height: 100%; box-sizing: border-box; }

.team-intro { max-width: 780px; margin-bottom: 40px; }
.team-profiles.team-profiles-wide {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 0;
}
@media (max-width: 980px) { .team-profiles.team-profiles-wide { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-profiles.team-profiles-wide { grid-template-columns: 1fr; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
  .door-wrap { justify-self: center; margin-top: 20px; }
}
.hero-text-only { max-width: 640px; }
.dog-stamp {
  width: 76px;
  margin-top: 20px;
  transform: rotate(-8deg);
  opacity: 0.92;
}
.dog-stamp svg { width: 100%; height: auto; }
.door-wrap {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.door-svg { width: 160px; height: auto; }
.door-svg [fill="url(#doorGlow)"] {
  animation: door-flicker 4.5s ease-in-out infinite;
}
@keyframes door-flicker {
  0%, 100% { opacity: 0.75; }
  40% { opacity: 0.95; }
  48% { opacity: 0.82; }
  56% { opacity: 1; }
  70% { opacity: 0.78; }
}
@media (prefers-reduced-motion: reduce) {
  .door-svg [fill="url(#doorGlow)"] { animation: none; }
}

/* ---------- Numeral plate (replaces bridge icon on homepage) ---------- */
.numeral-plate {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 60px 44px 44px;
  text-align: center;
  position: relative;
  overflow: visible;
}
.numeral-plate::before {
  content: "";
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,138,82,0.18) 0%, rgba(196,138,82,0) 70%);
  pointer-events: none;
}
.numeral-plate::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196,138,82,0.35);
  pointer-events: none;
}
.numeral-seal {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}
.numeral-corner {
  position: absolute;
  opacity: 0.8;
}
.numeral-corner-tl { top: 16px; left: 16px; }
.numeral-corner-tr { top: 16px; right: 16px; }
.numeral-corner-bl { bottom: 16px; left: 16px; }
.numeral-corner-br { bottom: 16px; right: 16px; }
.numeral-label {
  position: relative;
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tan);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.numeral {
  position: relative;
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 5rem);
  color: var(--cream);
  line-height: 1;
  margin-bottom: 14px;
}
.numeral-rule {
  display: block;
  width: 70px;
  height: 1px;
  margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, var(--tan), transparent);
  opacity: 0.7;
}
.numeral-caption {
  position: relative;
  display: block;
  font-size: 0.88rem;
  color: var(--cream-dim);
}

.panel-icon {
  width: 56px; height: 56px;
  border-radius: 4px;
  background: rgba(196, 138, 82, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.panel-warm {
  position: relative;
  overflow: hidden;
}
.panel-warm::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,138,82,0.15) 0%, rgba(196,138,82,0) 70%);
  pointer-events: none;
}

/* ---------- Materials moodboard ---------- */
.materials-section { padding-top: 80px; }
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 780px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}
.material-swatch {
  height: 180px;
  border-radius: 3px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.material-swatch span {
  position: relative;
  z-index: 1;
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.material-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 55%);
}
.swatch-herringbone {
  background-color: #6B4A2E;
  background-image:
    repeating-linear-gradient(45deg, #7C5834 0 10px, #5C3F26 10px 20px),
    repeating-linear-gradient(-45deg, #7C5834 0 10px, #5C3F26 10px 20px);
  background-size: 28px 28px;
  background-blend-mode: multiply;
}
.swatch-green {
  background-color: #233D2E;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.08) 0 3px, transparent 3px 34px);
}
.swatch-leather {
  background-color: #8A5A34;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.15) 0%, transparent 45%),
    radial-gradient(circle at 45% 80%, rgba(0,0,0,0.1) 0%, transparent 35%);
}
.swatch-slate {
  background-color: #3C4348;
  background-image: linear-gradient(115deg, rgba(255,255,255,0.05) 0%, transparent 40%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 40px);
}

/* ---------- Poster scroll gallery (Events page) ---------- */
.poster-scroll-wrap { position: relative; margin-top: 32px; }
.poster-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 6px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--tan) transparent;
}
.poster-scroll::-webkit-scrollbar { height: 8px; }
.poster-scroll::-webkit-scrollbar-thumb { background: var(--tan); border-radius: 10px; }
.poster-scroll::-webkit-scrollbar-track { background: var(--panel); }
.poster-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.poster-card:hover { transform: translateY(-6px); }
.poster-card svg { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .poster-card { width: 180px; } }

.vote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--tan);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.vote-btn:hover { background: var(--tan); color: var(--ink); }
.vote-btn .vote-voted { display: none; }
.vote-btn.voted {
  background: var(--green);
  color: var(--cream);
  cursor: default;
}
.vote-btn.voted:hover { background: var(--green); color: var(--cream); }
.vote-btn.voted .vote-label { display: none; }
.vote-btn.voted .vote-voted { display: inline; }
.vote-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* ---------- Scroll reveal (movement on scroll) ---------- */
/* Safe by default: content is fully visible unless JS confirms it can
   run the reveal — so a JS error or blocked script never hides content. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Icon hover motion ---------- */
.panel-icon, .facts-grid .panel-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}
.panel:hover .panel-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* ---------- Story hero + stamp roundel ---------- */
.story-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 780px) {
  .story-hero-grid { grid-template-columns: 1fr; }
  .poster-frame-wrap { justify-self: center; margin-top: 24px; }
}
.poster-frame-wrap {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.poster-hook {
  width: 2px;
  height: 22px;
  background: linear-gradient(var(--line), transparent);
}
.poster-frame {
  position: relative;
  max-width: 340px;
  padding: 12px;
  background: linear-gradient(135deg, #8A6A3E 0%, #4A3420 100%);
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow:
    0 30px 50px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(196,138,82,0.3);
  transform-origin: top center;
  animation: poster-sway 8s ease-in-out infinite;
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0,0,0,0.35);
  filter: sepia(0.22) saturate(0.8) contrast(1.1) brightness(0.93);
}
.poster-glow {
  position: absolute;
  inset: -36px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 50% 30%, rgba(196,138,82,0.24) 0%, rgba(196,138,82,0) 70%);
  animation: poster-flicker 5.5s ease-in-out infinite;
}
@keyframes poster-sway {
  0%, 100% { transform: rotate(-1.4deg); }
  50% { transform: rotate(1.4deg); }
}
@keyframes poster-flicker {
  0%, 100% { opacity: 0.65; }
  40% { opacity: 0.95; }
  48% { opacity: 0.78; }
  56% { opacity: 1; }
  70% { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .poster-frame { animation: none; }
  .poster-glow { animation: none; }
}
@media (max-width: 700px) {
  .poster-glow { inset: -10px; }
}
html { overflow-x: hidden; }

.events-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 780px) {
  .events-hero-grid { grid-template-columns: 1fr; }
  .discoball-wrap { justify-self: center; margin-top: 12px; }
}
.discoball-wrap { justify-self: end; }
.discoball-svg { width: 170px; height: auto; }
.discoball-sphere {
  transform-origin: 100px 95px;
}
.ball-glint {
  animation: glint-sweep 3.2s linear infinite;
}
.glint2 { animation-duration: 2.6s; animation-delay: 0.9s; }
.glint3 { animation-duration: 3.6s; animation-delay: 1.8s; }
@keyframes glint-sweep {
  from { transform: translateX(0) skewX(-18deg); }
  to   { transform: translateX(210px) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ball-glint { animation: none; opacity: 0.5; }
}
.sparkle {
  animation: sparkle-twinkle 2.4s ease-in-out infinite;
  transform-origin: center;
}
.sp2 { animation-delay: 0.5s; }
.sp3 { animation-delay: 1s; }
.sp4 { animation-delay: 1.5s; }
.sp5 { animation-delay: 0.3s; }
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .discoball-sphere { animation: none; }
  .sparkle { animation: none; opacity: 0.8; }
}

.timeline-split {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) {
  .timeline-split { grid-template-columns: 1fr; }
  .scrapbook-rail { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
}
.scrapbook-rail {
  display: flex;
  flex-direction: column;
  gap: 34px;
  position: sticky;
  top: 100px;
}
.scrap-item {
  display: block;
  width: 100%;
  padding: 8px 8px 24px;
  background: #EFE4CC;
  border: 1px solid #7C5228;
  cursor: zoom-in;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}
.scrap-item:hover { transform: scale(1.05); }
.scrap-item img { width: 100%; height: auto; display: block; }
.scrap-a { transform: rotate(-5deg); animation: scrap-sway 7s ease-in-out infinite; }
.scrap-b { transform: rotate(4deg); animation: scrap-sway 6.5s ease-in-out infinite; animation-delay: 0.6s; }
.scrap-c { transform: rotate(-3deg); animation: scrap-sway 8s ease-in-out infinite; animation-delay: 1.2s; }
.scrap-d { transform: rotate(5deg); animation: scrap-sway 7.5s ease-in-out infinite; animation-delay: 0.4s; }
@keyframes scrap-sway {
  0%, 100% { rotate: -4deg; }
  50% { rotate: 4deg; }
}
@media (prefers-reduced-motion: reduce) {
  .scrap-a, .scrap-b, .scrap-c, .scrap-d { animation: none; }
}
.menu-icon-row {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  opacity: 0.9;
}
.menu-icon-row svg { transition: transform 0.3s ease; }
.menu-icon-row svg:hover { transform: translateY(-4px) scale(1.1); }

/* ---------- Founding Four team banner ---------- */
#join-crew { scroll-margin-top: 76px; }
.jump-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--tan);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 20px;
  text-align: center;
  transition: background 0.2s ease, padding 0.2s ease;
}
.jump-banner strong { font-weight: 700; }
.jump-banner svg { flex-shrink: 0; animation: jump-bounce 1.8s ease-in-out infinite; }
.jump-banner:hover { background: var(--tan-deep); }
@keyframes jump-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .jump-banner svg { animation: none; }
}

.team-banner { padding-bottom: 48px; }
.team-banner-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .team-banner-grid { grid-template-columns: 1fr; }
}
.hof-section { text-align: center; padding-top: 56px; }
.hof-grid {
  display: grid;
  grid-template-columns: repeat(2, 239px);   /* same card size as before, just two of them */
  justify-content: center;
  gap: 28px;
  margin-top: 8px;
}
@media (max-width: 560px) {
  .hof-grid { grid-template-columns: repeat(2, 1fr); max-width: 440px; margin-left: auto; margin-right: auto; }
}
.hof-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hof-card strong {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--tan);
  line-height: 1;
}
.hof-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  border: 1.5px dashed var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  overflow: hidden;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hof-card:hover .hof-photo {
  opacity: 1;
  border-color: var(--tan);
  transform: translateY(-4px);
}
.hof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hof-photo-filled {
  border-style: solid;
  border-color: var(--line);
  opacity: 1;
}
.hof-photo-you {
  border-style: solid;
  border-color: var(--tan);
  opacity: 0.9;
  background: rgba(196,138,82,0.08);
}
.hof-bio {
  font-size: 0.88rem;
  color: var(--cream-dim);
  text-align: left;
  line-height: 1.4;
}
.hof-card-you strong { color: var(--tan); }
.sketchy-arrow { margin-top: -4px; animation: sketchy-bob 2.4s ease-in-out infinite; }
@keyframes sketchy-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .sketchy-arrow { animation: none; }
}

.team-photo-frame {
  position: relative;
  padding: 20px 10px 40px;
}
.team-spotlight {
  position: absolute;
  top: 0; left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  animation: spotlight-glow 4.5s ease-in-out infinite;
}
@keyframes spotlight-glow {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .team-spotlight { animation: none; }
}
.team-photo-frame::before {
  content: "";
  position: absolute;
  top: 2%; left: 50%;
  transform: translateX(-50%);
  width: 112%;
  height: 98%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(196,138,82,0.48) 0%, rgba(196,138,82,0.2) 45%, rgba(196,138,82,0) 74%);
  pointer-events: none;
  z-index: 0;
}
.team-photo-inner {
  position: relative;
  z-index: 1;
}
.team-photo-inner::after {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 22px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 72%);
  z-index: -1;
}
.team-photo-inner img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-2deg);
  filter: brightness(1.04) saturate(1.05) contrast(1.02)
          drop-shadow(0 14px 20px rgba(0,0,0,0.4));
}
.handwritten-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 6px;
  padding: 0 6px;
}
.handwritten-label {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(1.05rem, 4.4vw, 1.7rem);
  color: var(--tan);
  line-height: 1;
}
.team-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--cream-dim);
  font-size: 0.9rem;
  border: 1px dashed var(--line);
  padding: 40px;
  margin: 20px;
  border-radius: 4px;
}
.team-names {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tan);
  margin-top: 4px;
  margin-bottom: 18px;
}
.team-names span {
  font-weight: 400;
  color: var(--cream-dim);
  font-size: 0.88rem;
}
.team-profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 560px) { .team-profiles { grid-template-columns: 1fr; } }
.team-profiles div {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.team-profiles strong {
  display: block;
  color: var(--tan);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.team-profiles span {
  display: block;
  font-size: 0.92rem;
  color: var(--cream-dim);
}

.room-card {
  display: flex;
  flex-direction: column;
}
.room-card .room-photo-thumb {
  margin-top: auto;
}

.room-photo-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 20px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  cursor: zoom-in;
  background: none;
}
.room-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.room-photo-thumb:hover img { transform: scale(1.05); }
.room-photo-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(18,32,26,0.75);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.room-photo-thumb:hover .room-photo-zoom { background: var(--tan); color: var(--ink); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 15, 12, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox figure {
  margin: 0;
  max-width: 1100px;
  width: 100%;
}
.lightbox-viewport {
  width: 100%;
  height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.lightbox-viewport img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  cursor: zoom-in;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-viewport img.is-zoomed { cursor: grab; }
.lightbox-viewport img.is-dragging { cursor: grabbing; }
.lightbox-hint {
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 2px;
}
.lightbox figcaption {
  text-align: center;
  color: var(--cream-dim);
  margin-top: 14px;
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}
.lightbox-close:hover { color: var(--tan); }

.form-coming-soon {
  opacity: 0.5;
}
.form-coming-soon input:disabled,
.form-coming-soon button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.form-coming-soon .btn:disabled {
  background: var(--slate);
  color: var(--cream-dim);
  box-shadow: none;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 4px;
  width: 17px; height: 17px;
  accent-color: var(--tan);
  flex-shrink: 0;
}
.checkbox-row label { font-size: 0.92rem; color: var(--cream-dim); font-weight: 400; }

.form-status {
  margin-top: 18px;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: 3px;
  display: none;
}
.form-status.show { display: block; }
.form-status.error { background: rgba(196, 90, 60, 0.15); border: 1px solid #C45A3C; color: #E8B7A6; }

/* ---------- Careers page ---------- */
.careers-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px) {
  .careers-hero-grid { grid-template-columns: 1fr; }
  .crew-portrait-frame { max-width: 220px; margin: 0 auto; }
}
.crew-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #1A2921;
  overflow: hidden;
  border: 2.5px solid rgba(196,138,82,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  justify-self: end;
}
.crew-portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
@media (max-width: 820px) { .crew-portrait-frame { justify-self: center; } }

.role-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}
.role-note {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream-dim);
  margin: 4px 0 0;
}
.role-tags span {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--tan);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

.quote-panel {
  background: linear-gradient(135deg, var(--green) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tan);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 36px;
}
@media (max-width: 700px) {
  .quote-panel { flex-direction: column; text-align: center; padding: 36px 28px; }
}
.crew-illustration {
  width: 140px;
  height: auto;
  flex-shrink: 0;
}
.quote-text { flex: 1; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.check-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
}
.check-list li:first-child { border-top: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tan);
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
.icon-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .icon-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .icon-grid, .icon-grid-3 { grid-template-columns: 1fr; } }
.icon-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
}
.icon-item .emoji { font-size: 1.6rem; line-height: 1; }
.icon-item strong { display: block; margin-bottom: 4px; font-size: 0.98rem; }
.icon-item span { font-size: 0.88rem; color: var(--cream-dim); }

.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 600px) { .perks-grid { grid-template-columns: 1fr; } }
.perk {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.perk:nth-child(-n+2) { border-top: none; }
@media (max-width: 600px) {
  .perk:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .perk:first-child { border-top: none; }
}
.perk strong { display: block; margin-bottom: 4px; font-size: 0.96rem; }
.perk span { font-size: 0.88rem; color: var(--cream-dim); }

/* ---------- Signup form ---------- */
.signup {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.signup input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 13px 16px;
  font-size: 0.98rem;
  font-family: var(--sans);
  border-radius: 3px;
}
.signup input[type="email"]:focus {
  outline: 2px solid var(--tan);
  outline-offset: 1px;
}
.form-note { font-size: 0.85rem; color: var(--cream-dim); margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid-single { grid-template-columns: 1fr; max-width: 820px; }
/* ---------- Transport (Contact page) ---------- */
.transport-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.bus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.bus-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.directions-chooser {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.directions-chooser a {
  padding: 8px 14px;
  border: 1px solid var(--tan);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.directions-chooser a:hover { background: var(--tan); color: var(--ink); text-decoration: none; }
.directions-chooser[hidden] { display: none; }

.card-social-row {
  display: flex;
  gap: 12px;
}
.card-social-row a {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tan);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(196,138,82,0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.card-social-row a:hover { background: var(--tan-deep); transform: translateY(-3px); }
.card-social-row a svg { width: 22px; height: 22px; }

.transport-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.bus-teal { background: #2CBFBB; }
.bus-red { background: #EA4A34; }
.bus-navy { background: #0F1F45; }
.bus-pink { background: #C11267; }
.bus-blue { background: #3B6FE8; }
.bus-purple { background: #4B2C82; }
.bus-foot { background: var(--green); border: 1px solid var(--line); color: var(--cream); }

/* ---------- Social cards (Contact page) ---------- */
.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 780px) { .social-cards { grid-template-columns: 1fr; } }
.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--cream);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.social-card:hover {
  transform: translateY(-3px);
  border-color: var(--tan);
}
.social-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--tan);
  color: var(--ink);
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-card:hover .social-icon { background: var(--tan-deep); transform: translateY(-2px); }
.social-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.social-info strong { font-size: 1.02rem; }
.social-info span { font-size: 0.88rem; color: var(--cream-dim); }
.social-arrow {
  font-size: 1.2rem;
  color: var(--tan);
  transform: translateX(0);
  transition: transform 0.2s ease;
}
.social-card:hover .social-arrow { transform: translateX(4px); }

/* ---------- Facts grid (Contact page) ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 980px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts-grid { grid-template-columns: 1fr; } }
.facts-grid .panel { padding: 30px 26px; }
.facts-grid a { color: var(--tan); text-decoration: none; }
.facts-grid a:hover { text-decoration: underline; }
.facts-grid .card-social-row a { color: var(--ink); text-decoration: none; }
.facts-grid .card-social-row a:hover { text-decoration: none; }

.info-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.info-row:first-child { border-top: none; }
.info-row .label {
  width: 110px;
  flex-shrink: 0;
  color: var(--cream-dim);
  font-size: 0.9rem;
  padding-top: 2px;
}
.info-row .value { font-size: 1.02rem; }
.info-row .value a { color: var(--tan); text-decoration: none; }
.info-row .value a:hover { text-decoration: underline; }

.map-caption {
  font-size: 0.88rem;
  color: var(--cream-dim);
  margin: 14px 0 0;
}
.map-frame {
  margin-top: 16px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(0.15) contrast(1.05);
}
.map-frame iframe { width: 100%; height: 100%; }

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.social-row a {
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-row a:hover { border-color: var(--tan); color: var(--tan); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--panel);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 168px; width: auto; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cream-dim);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.94rem;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--tan); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--slate-light);
}
