/* MAPPHOTOS site. Self-hosted Jost (SIL Open Font License 1.1). No external requests. */
@font-face {
  font-family: "Jost";
  src: url("jost.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --line: #262626;
  --text: #f4f4f2;
  --muted: #a3a3a0;
  --faint: #6f6f6c;
  --accent: #ffffff;
  --pin: #ff5a3c;
  --radius: 18px;
  --max: 720px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  padding-inline: 20px;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; }
.wrap-wide { max-width: 1040px; margin: 0 auto; }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding-block: 22px; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-weight: 600; letter-spacing: 0.14em; font-size: 15px; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

main { padding-block: 48px 72px; }
h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 14px; }
h2 { font-size: 24px; line-height: 1.25; font-weight: 600; margin: 44px 0 12px; }
h3 { font-size: 18px; font-weight: 600; margin: 26px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lede { color: var(--muted); font-size: 19px; }
.meta { color: var(--faint); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
strong { font-weight: 600; }

.callout {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 24px 0;
}
.callout ul { margin-bottom: 0; }
.callout p:last-child { margin-bottom: 0; }

.toc { columns: 2; column-gap: 28px; font-size: 15px; padding-left: 20px; }
@media (max-width: 560px) { .toc { columns: 1; } }

.table-scroll { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; background: var(--surface); }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #000; font-weight: 600; font-size: 15px; display: grid; place-items: center; }

.button {
  display: inline-block; background: var(--accent); color: #000; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px;
}
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--faint); font-size: 14px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Home */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 24px 40px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { font-size: clamp(40px, 7vw, 68px); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.availability { color: var(--faint); font-size: 14px; margin-top: 14px; }

.postcard {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; width: 100%; margin: 0 auto;
  border-radius: 26px; overflow: hidden; background: #111; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(255,255,255,0.06);
}
.postcard .map {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 62% 44%, rgba(255,90,60,0.18), transparent 34%),
    repeating-linear-gradient(28deg, transparent 0 46px, #1f1f1f 46px 48px),
    repeating-linear-gradient(118deg, transparent 0 70px, #1a1a1a 70px 73px),
    linear-gradient(160deg, #161616, #0a0a0a);
}
.postcard .river { position: absolute; left: -10%; right: -10%; top: 58%; height: 34px; background: #0f1a22; transform: rotate(-9deg); }
.postcard .pin { position: absolute; left: 62%; top: 44%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 6px rgba(255,90,60,0.25), 0 0 0 14px rgba(255,90,60,0.1); }
.postcard .selfie { position: absolute; left: 18px; top: 18px; width: 30%; aspect-ratio: 3 / 4; border-radius: 14px; border: 2px solid #000; background: linear-gradient(160deg, #3a3a3a, #1b1b1b); }
.postcard .stamp { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,0.72); border: 1px solid #2c2c2c; }
.postcard .stamp b { display: block; font-size: 20px; font-weight: 600; }
.postcard .stamp small { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 820px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature h3 { margin-top: 0; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }
.kicker { color: var(--faint); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin: 56px 0 6px; }
.privacy-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.privacy-strip .callout { margin: 0; }
.hero > div, .features > div { min-width: 0; }
@media (max-width: 620px) { .privacy-strip { grid-template-columns: 1fr; } }
