/* mbpix v2 — dark, cinematic */

/* Fonts are self-hosted (no request to Google) — SIL Open Font License */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #17171a;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ededed;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --accent: #e0262b;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: #fff;
  color: #000;
}
.skip-link:focus { left: 8px; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #fff;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.nav-open .site-header {
  background: rgba(11, 11, 12, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

/* Pages without a full-screen hero keep a solid header */
.has-solid-header .site-header {
  background: rgba(11, 11, 12, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.has-solid-header main { padding-top: var(--header-h); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand__logo { width: 128px; height: auto; }

.brand__tagline {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.nav__list {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  position: relative;
  width: 26px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.25s ease, background 0.25s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .brand__tagline { display: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    height: calc(100svh - var(--header-h));
    background: rgba(11, 11, 12, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; padding: 24px var(--gutter); }
  .nav__link { font-size: clamp(30px, 9vw, 44px); font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; padding: 6px 0; }
  .nav__link::after { right: auto; width: 40px; bottom: 2px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand__logo { width: 112px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 40% 55%;
  transform: scale(1.12);
  animation: hero-zoom 14s var(--ease) forwards;
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(11, 11, 12, 1) 0%, rgba(11, 11, 12, 0.75) 22%, rgba(11, 11, 12, 0.1) 55%, rgba(11, 11, 12, 0.6) 100%),
    linear-gradient(to right, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0) 60%);
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 8vh, 88px);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.75);
}

.hero__kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(44px, 9.4vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}

.hero__title span { display: block; }
.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
}

.hero__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.8);
}

.hero__cities li + li::before {
  content: "·";
  margin-right: 18px;
  color: var(--accent);
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 8vh, 88px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, #fff 50%, rgba(255, 255, 255, 0.2) 50%);
  background-size: 100% 200%;
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  from { background-position: 0 100%; }
  to { background-position: 0 -100%; }
}

@media (max-width: 760px) {
  .hero__scroll { display: none; }
  .hero__media img { object-position: 64% 60%; }
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 150px) var(--gutter) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-head__index { display: block; margin-bottom: 12px; color: var(--accent); }

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s var(--ease);
}
.link-arrow:hover { color: #fff; gap: 16px; }
.link-arrow::after { content: "→"; font-family: var(--font-body); color: var(--accent); }

/* Spot cards */

.spots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}

.spot-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  text-decoration: none;
  color: #fff;
}

.spot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.2s var(--ease), filter 0.6s ease;
}

.spot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%);
}

.spot-card:hover img { transform: scale(1.06); }
.spot-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.spot-card__index {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
}

.spot-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(18px, 2vw, 28px);
}

.spot-card__meta { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, 0.7); }

.spot-card__title {
  display: block;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

@media (max-width: 860px) {
  .spots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .spots::-webkit-scrollbar { display: none; }
  .spot-card { scroll-snap-align: start; }
}

/* Category tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(360px, 42vw, 560px);
  padding: clamp(18px, 2vw, 28px);
  overflow: hidden;
  background: var(--surface);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) brightness(0.55);
  transition: filter 0.8s ease, transform 1.2s var(--ease);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 25%);
}

.tile:hover img,
.tile:focus-visible img { filter: grayscale(0) brightness(0.8); transform: scale(1.05); }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.tile__top { display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.75); }

.tile__name {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.tile__desc { display: block; margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.7); max-width: 26ch; }

.tile__go {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
.tile:hover .tile__go,
.tile:focus-visible .tile__go { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 340px; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
  .tile__go { opacity: 1; transform: none; }
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}

.gallery__col { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px); }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
}

.photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  color: #fff;
  text-align: left;
}

.photo img {
  width: 100%;
  transition: transform 1.2s var(--ease);
}

.photo__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.photo:hover img { transform: scale(1.04); }
.photo:hover .photo__caption,
.photo:focus-visible .photo__caption { opacity: 1; transform: none; }
.photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (hover: none) {
  .photo__caption { opacity: 1; transform: none; }
}

/* Follow CTA */

.follow {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--gutter);
  text-align: center;
}

.follow__kicker { display: block; margin-bottom: 20px; color: var(--accent); }

.follow__title {
  margin: 0 auto;
  max-width: 14ch;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(38px, 7vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.follow__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { background: #fff; border-color: #fff; color: #000; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: #fff; border-color: #fff; color: #000; }

/* ---------- Inner pages ---------- */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(80px, 10vw, 140px);
}

.page-head {
  margin-bottom: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.page-head__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--text-2);
}
.page-head__kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.page__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(40px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}

.page a:not(.card):not(.btn):not(.photo):not(.post-nav__link):not(.post__back):not(.contact-card__email) {
  color: #fff;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

/* Category grid: same look as the home spot cards, numbered automatically */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  counter-reset: card;
}

.card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  color: #fff;
  text-decoration: none;
  counter-increment: card;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%);
}

.card::before {
  content: counter(card, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.card:hover img { transform: scale(1.06); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  padding: clamp(18px, 2vw, 28px);
}

.card__title {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.card__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}

/* Post pages */

.post { max-width: 1080px; }

.post__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 40px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-2);
  transition: color 0.2s ease, gap 0.25s var(--ease);
}
.post__back:hover { color: #fff; gap: 14px; }

.post .page__title {
  font-size: clamp(32px, 4.6vw, 68px);
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.post__body { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 16px); }

.post__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: clamp(24px, 3vw, 40px) 0 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.post__label::before { content: ""; width: 20px; height: 2px; background: var(--accent); flex: none; }
.post__label:first-child { margin-top: 0; }

.post__intro {
  max-width: 62ch;
  margin: 8px 0 clamp(16px, 2vw, 24px);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--text);
}

/* Spec sheet */

.spot__features-label {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px clamp(24px, 4vw, 56px);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.features h4 {
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.features ul { margin: 0; padding: 0; list-style: none; }

.features li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
}

.spec__k { color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.spec__v { text-align: right; }

.spot__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
}
.spot__photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spot__photos .photo { height: 100%; }
.spot__photos .photo img { height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .spot__photos,
  .spot__photos--2 { grid-template-columns: 1fr; }
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: clamp(17px, 2vw, 26px);
  line-height: 1.15;
  text-decoration: none;
  color: #fff;
  transition: color 0.2s ease;
}
.post-nav__link span {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.2s ease;
}
.post-nav__link:hover span { color: var(--accent); }
.post-nav__link--next { text-align: right; }

/* Hidden "Latest cars spotted" page */

.spot + .spot { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.spot__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 16px; font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); color: #fff; }
.spot__date { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; color: var(--accent); }
.spot__intro { max-width: 62ch; margin: 0 0 24px; }

/* About me */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about__text {
  margin: 0 0 clamp(32px, 4vw, 48px);
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fff;
}

.about__photo { width: 100%; max-width: 520px; }

.contact-card {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-card__label {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-card p { margin: 0 0 28px; color: var(--text-2); }

.contact-card__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background 0.3s ease, color 0.3s ease;
}
.contact-card__email::after { content: "→"; font-family: var(--font-body); }
.contact-card__email:hover { background: #fff; color: #000; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}

/* Legal page */

.legal { max-width: 760px; color: var(--text-2); }
.legal h2 {
  margin: clamp(40px, 5vw, 56px) 0 14px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  color: #fff;
}
.legal h3 {
  margin: 28px 0 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.legal p { margin: 0 0 14px; }
.legal em { font-family: var(--font-mono); font-style: normal; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--bg); color: var(--text); }

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) var(--gutter);
  font-size: 15px;
}

.site-footer a { color: var(--text-2); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover,
.site-footer a:focus-visible { color: #fff; }

.footer__logo { display: inline-block; }
.footer__logo img { width: 150px; height: auto; }

.footer__social { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.footer__social svg { width: 20px; height: 20px; flex: none; }
.footer__handle { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); transition: color 0.2s ease; }
.footer__social a:hover .footer__handle { color: var(--accent); }

.footer__note { max-width: 340px; margin: 28px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-3); }

.footer__title {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li + li { margin-top: 12px; }
.footer__links a {
  position: relative;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.3s var(--ease);
}
.footer__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.footer__links a:hover { padding-left: 18px; }
.footer__links a:hover::before { width: 10px; }

.colophon { border-top: 1px solid var(--line); color: var(--text-3); }
.colophon__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  background: rgba(5, 5, 6, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .hero__content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.1s var(--ease) forwards;
}
.js .hero__content > :nth-child(2) { animation-delay: 0.15s; }
.js .hero__content > :nth-child(3) { animation-delay: 0.3s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .hero__content > * { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}
