/* =============================================
   NORTH FORK GIS — styles.css
   Look: a USGS-style map sheet. Map paper, a neatline frame
   with corner coordinates, survey-grid backgrounds, and a
   legend for services. Light is the default; dark via
   [data-theme="dark"].
   ============================================= */

/* ---- Tokens ---- */
:root {
  --table:   #e4ddcc;
  --paper:   #f4f0e5;
  --paper-2: #ebe5d5;
  --card:    #fbf9f3;
  --ink:     #22211d;
  --ink-2:   #48443c;
  --ink-3:   #6f685a;
  --line:    rgba(34, 33, 29, 0.18);
  --brown:   #95602f;
  --blue:    #28678f;
  --wood:    #dce7cd;
  --red:     #b8391f;
  --grid:    rgba(184, 57, 31, 0.10);

  --btn-bg:  #22211d;
  --btn-fg:  #f4f0e5;

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans:    'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, Consolas, monospace;

  --max-w: 1120px;
  --section-y: clamp(64px, 8vw, 104px);
  color-scheme: light;
}

[data-theme="dark"] {
  --table:   #0d0f11;
  --paper:   #15181b;
  --paper-2: #1b1f23;
  --card:    #1f2429;
  --ink:     #ece7da;
  --ink-2:   #c9c2b2;
  --ink-3:   #979081;
  --line:    rgba(236, 231, 218, 0.16);
  --brown:   #d49a62;
  --blue:    #82b8db;
  --wood:    #22302a;
  --red:     #ec7b5e;
  --grid:    rgba(236, 123, 94, 0.08);

  --btn-bg:  #ece7da;
  --btn-fg:  #15181b;
  color-scheme: dark;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--table);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  transition: background 0.25s, color 0.25s;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
p { max-width: 64ch; }
p + p { margin-top: 1em; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.28rem); color: var(--ink-2); }
p a, .link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
p a:hover, .link:hover { color: var(--blue); }

/* Mono map-collar label */
.collar {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.label::after {
  content: '';
  flex: 0 0 48px;
  height: 0;
  border-top: 1.5px dashed var(--red);
}

/* ---- The map sheet (neatline frame) ---- */
.sheet {
  position: relative;
  max-width: 1280px;
  margin: 28px auto;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 6px;
  transition: background 0.25s;
}
.corner {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  white-space: nowrap;
  pointer-events: none;
}
.corner.tl { top: -26px; left: 0; }
.corner.tr { top: -26px; right: 0; }
.corner.bl { bottom: -26px; left: 0; }
.corner.br { bottom: -26px; right: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--section-y) 0; position: relative; border-top: 1px solid var(--line); }
.band { background: var(--paper-2); }
.survey {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 96px 96px;
}
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.split.center { align-items: center; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
  transition: background 0.25s;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 38px; height: auto; flex-shrink: 0; }
.brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
[data-theme="dark"] .brand img,
[data-theme="dark"] .mark-invert { filter: invert(1) sepia(0.1); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: block;
  padding: 8px 12px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  text-decoration: none;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.btn { margin-left: 10px; color: var(--btn-fg); padding: 8px 18px; }
.nav-links a.btn:hover { color: #fff; }

.theme-toggle {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; border-top: 1px solid var(--line); padding: 8px 28px 22px; background: var(--paper); }
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 13px 0;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-full { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Hero ---- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero .collar { margin-bottom: 18px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 34px; }
.hero-note { margin-top: 26px; font-size: 0.95rem; color: var(--ink-3); }

/* Map figure with title block */
.map-sheet {
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 10px;
  box-shadow: 8px 8px 0 -1.5px var(--paper-2), 8px 8px 0 0 var(--ink);
}
.title-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 4px 4px 10px;
}
.title-block strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.title-block span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.title-block .right { text-align: right; }
#heroMap {
  height: 380px;
  border: 1px solid var(--ink);
  background: var(--wood);
  z-index: 0;
}
.map-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 4px 2px;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.scalebar, .north { display: flex; align-items: center; gap: 8px; }
.scalebar svg, .north svg { display: block; }
.home-pin svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3)); }
.leaflet-tooltip.home-label {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #22211d;
  background: #fbf9f3;
  border: 1.5px solid #22211d;
  border-radius: 0;
  box-shadow: none;
  padding: 2px 8px;
}
.leaflet-tooltip.home-label::before { display: none; }
.leaflet-container { font-family: var(--sans); }
#heroMap .leaflet-tile-pane { filter: saturate(0.55) sepia(0.12) contrast(0.95); }
[data-theme="dark"] #heroMap .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(0.9) saturate(0.6); }
.leaflet-container .leaflet-control-attribution { font-size: 0.6rem; background: rgba(251,249,243,0.85); }

/* ---- Help cards (where I usually help) ---- */
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--card); }
.help-grid > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.help-grid > div:last-child { border-right: none; }
.help-grid .collar { color: var(--red); margin-bottom: 12px; }
.help-grid h3 { margin-bottom: 10px; }
.help-grid p { font-size: 1rem; }

/* ---- Legend (services) ---- */
.legend-box {
  border: 1.5px solid var(--ink);
  background: var(--card);
  padding: 10px 30px 20px;
}
.legend-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0 14px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 6px;
}
.legend-title strong { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.legend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.legend-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.legend-item:nth-last-child(-n+2) { border-bottom: none; }
.swatch { width: 56px; height: 40px; display: block; }
.swatch svg { width: 100%; height: 100%; display: block; }
.legend-item h3 { font-size: 1.42rem; margin-bottom: 6px; }
.legend-item p { font-size: 0.99rem; }
.legend-item ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.legend-item li {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.legend-item .more { display: inline-block; margin-top: 10px; font-size: 0.95rem; }

/* ---- Work ---- */
.plate .zoom { display: block; cursor: zoom-in; }
.plate .zoom:hover img { opacity: 0.92; }
.work-rows { display: flex; flex-direction: column; gap: 56px; }
.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding-top: 40px;
  border-top: 1.5px solid var(--ink);
}
.work-row:first-child { padding-top: 0; border-top: none; }
.work-row.flip .plate { order: 2; }
.work-text .collar { color: var(--red); margin-bottom: 8px; }
.work-text h3 { font-size: 1.9rem; margin-bottom: 10px; }
.work-text > p { font-size: 1.02rem; }
.work-text .ticks { margin: 16px 0 18px; font-size: 0.98rem; gap: 7px; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.stack li {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.plate {
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 10px 10px 0;
}
.plate img { width: 100%; height: auto; border: 1px solid var(--line); }
.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px; top: 0.45em;
  width: 11px; height: 11px;
  border: 2px solid var(--red);
  transform: rotate(45deg);
}
.kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink);
  margin-top: 8px;
}
.kinds li {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.kinds li span { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.93rem; }
.kinds li:nth-child(odd) { padding-right: 24px; }

/* ---- About ---- */
.quote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  border-left: 4px solid var(--blue);
  padding-left: 24px;
  max-width: none;
}
.quote em { font-style: normal; color: var(--blue); }
.quote-by { margin-top: 16px; padding-left: 28px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); margin-top: 56px; }
.principles > div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.principles > div:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 1.35rem; margin-bottom: 8px; }
.principles p { font-size: 0.99rem; }

/* ---- Process: elevation profile ---- */
.profile { width: 100%; height: 120px; display: block; margin-bottom: 10px; }
.profile .fill { fill: var(--wood); }
.profile .ridge { fill: none; stroke: var(--brown); stroke-width: 2; }
.profile .wp { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.profile .wp.last { fill: var(--red); stroke: var(--red); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps .collar { color: var(--red); margin-bottom: 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.99rem; }

/* ---- Contact ---- */
.contact-list { margin: 28px 0 30px; border-top: 1.5px solid var(--ink); }
.contact-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-list .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.contact-list .v { color: var(--ink); font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list a.v { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-list a.v:hover { color: var(--blue); }

.form-card { background: var(--card); border: 1.5px solid var(--ink); }
.form-card .title-block { padding: 14px 22px; border-bottom: 1.5px solid var(--ink); }
.form-body { padding: 24px 22px 22px; }
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 0;
  padding: 11px 13px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field ::placeholder { color: var(--ink-3); opacity: 0.8; }
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236f685a' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { font-size: 0.88rem; color: var(--ink-3); margin-top: 12px; text-align: center; max-width: none; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; font-size: 0.95rem; max-width: none; color: var(--ink); }
.form-status.ok  { display: block; background: var(--wood); border-left: 3px solid var(--blue); }
.form-status.err { display: block; background: rgba(184,57,31,0.1); border-left: 3px solid var(--red); }

/* ---- Footer (map collar) ---- */
.footer { border-top: 1.5px solid var(--ink); padding: 44px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 50px; height: auto; flex-shrink: 0; }
.foot-brand strong { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.foot-brand p { font-size: 0.95rem; max-width: 36ch; }
.footer h4 { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer-col a { display: block; margin-bottom: 7px; text-decoration: none; color: var(--ink); }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1340px) {
  .sheet { margin: 34px 22px; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .legend-grid { grid-template-columns: minmax(0, 1fr); }
  .legend-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .legend-item:last-child { border-bottom: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile { display: none; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles > div { padding: 24px 24px 24px 0 !important; border-left: none !important; }
  .principles > div:nth-child(even) { padding-left: 24px !important; border-left: 1px solid var(--line) !important; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .split, .work-row { grid-template-columns: minmax(0, 1fr); }
  .work-row.flip .plate { order: 0; }
  .help-grid { grid-template-columns: minmax(0, 1fr); }
  .help-grid > div { border-right: none; border-bottom: 1px solid var(--line); }
  .help-grid > div:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .sheet { margin: 0; outline: none; border: none; }
  .corner { display: none; }
  .container, .nav-inner { padding: 0 18px; }
  .brand-name { font-size: 1.2rem; }
  #heroMap { height: 280px; }
  .legend-box { padding: 6px 18px 12px; }
  .kinds, .form-row, .steps, .principles { grid-template-columns: minmax(0, 1fr); }
  .principles > div, .principles > div:nth-child(even) { padding: 22px 0 !important; border-left: none !important; }
  .form-row { gap: 0; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .map-foot .north { display: none; }
}
