@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
/* Horizons — photo travel journal. Plain CSS, uploaded as theme-assets/horizons.css.
   Light, airy canvas; photos run full-bleed; type is large and tight.
   Design decision: light only (photos are graded for a light page), with
   dark "bands" for rhythm. */
:root {
  --hz-bg: #fbfbfd;
  --hz-surface: #ffffff;
  --hz-soft: #f5f5f7;
  --hz-text: #1d1d1f;
  --hz-muted: #6e6e73;
  --hz-line: rgba(0, 0, 0, 0.08);
  --hz-accent: #0a6cd6;
  --hz-accent-dark: #2997ff;
  --hz-dark: #0b0b0d;
  --hz-radius: 22px;
  --hz-radius-sm: 14px;
  --hz-max: 1180px;
  --hz-narrow: 720px;
  --hz-header: 56px;
  --hz-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
  --hz-shadow-hover: 0 4px 10px rgba(0, 0, 0, 0.06), 0 24px 56px rgba(0, 0, 0, 0.14);
  --hz-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --hz-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.hz-lock { overflow: hidden; }
.hz {
  margin: 0;
  background: var(--hz-bg);
  color: var(--hz-text);
  font: 400 17px/1.55 var(--hz-font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.hz a { color: var(--hz-accent); text-decoration: none; }
.hz a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.hz img { max-width: 100%; height: auto; display: block; }
.hz :focus-visible { outline: 3px solid var(--hz-accent-dark); outline-offset: 3px; border-radius: 6px; }
.hz-container { width: min(100% - 40px, var(--hz-max)); margin-inline: auto; }
.hz-main { min-height: 60vh; }

/* ─── Header: sticky, translucent, blurred ─────────────────────────── */
.hz-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--hz-ease), background-color 0.3s var(--hz-ease);
}
.hz-header.is-scrolled { border-bottom-color: var(--hz-line); background: rgba(251, 251, 253, 0.8); }
.hz-header__inner { height: var(--hz-header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hz-brand {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--hz-text) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.hz-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.hz-nav ul ul { display: none; }
.hz-nav a {
  color: var(--hz-text);
  opacity: 0.8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: opacity 0.2s;
}
.hz-nav a:hover { opacity: 1; text-decoration: none; }
.hz-nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.hz-burger { display: none; }
.hz-header__actions { display: flex; align-items: center; gap: 4px; }
.hz-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 50%;
  background: transparent; color: var(--hz-text); opacity: 0.8; cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}
.hz-search:hover { opacity: 1; background: rgba(0, 0, 0, 0.05); }
.hz-nav { margin-left: auto; }

@media (max-width: 820px) {
  .hz-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 11px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .hz-burger__bar { display: block; height: 1.5px; width: 100%; background: var(--hz-text); border-radius: 2px; transition: transform 0.35s var(--hz-ease); }
  .hz-header.is-open .hz-burger__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
  .hz-header.is-open .hz-burger__bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hz-nav {
    position: fixed;
    inset: var(--hz-header) 0 auto 0;
    height: calc(100vh - var(--hz-header));
    height: calc(100dvh - var(--hz-header));
    background: rgba(251, 251, 253, 0.97);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 24px 32px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--hz-ease), transform 0.3s var(--hz-ease), visibility 0s linear 0.3s;
  }
  .hz-header.is-open .hz-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .hz-nav ul { flex-direction: column; gap: 4px; }
  .hz-nav a { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; padding: 8px 0; opacity: 1; }
}

/* ─── Shared type ──────────────────────────────────────────────────── */
.hz-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hz-accent);
  margin: 0 0 10px;
}
.hz-display {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}
.hz-display--xl { font-size: clamp(44px, 7.5vw, 88px); line-height: 1.02; letter-spacing: -0.045em; }
.hz-subhead { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; margin: 72px 0 28px; }
.hz-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 980px;
  background: var(--hz-accent);
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  transition: transform 0.25s var(--hz-ease), background-color 0.25s;
}
.hz-pill:hover { background: #0060c0; transform: scale(1.03); }
.hz-pill--light { background: rgba(255, 255, 255, 0.92); color: var(--hz-text) !important; }
.hz-pill--light:hover { background: #fff; }

/* ─── Cover (home + articles): full-bleed photo ───────────────────── */
.hz-cover {
  position: relative;
  min-height: calc(100vh - var(--hz-header));
  min-height: calc(100svh - var(--hz-header));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hz-dark);
  color: #fff;
  isolation: isolate;
}
.hz-cover--plain { background: linear-gradient(160deg, #1d2a3a, #0b0b0d); }
.hz-cover--article { min-height: min(88vh, 900px); align-items: flex-end; }
.hz-cover__media { position: absolute; inset: 0; z-index: -2; }
.hz-cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform-origin: 50% 40%;
}
.hz-cover__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0) 100%);
}
.hz-cover__content { padding-block: 96px; will-change: transform, opacity; }
.hz-cover__content--bottom { padding-block: 120px 64px; }
.hz-cover__title {
  font-size: clamp(64px, 14vw, 184px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.055em;
  margin: 0 0 20px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.hz-cover__lead {
  max-width: 560px;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.92);
}
.hz-cover__story {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #fff !important;
  text-decoration: none !important;
}
.hz-cover__story-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.hz-cover__story-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.hz-cover .hz-eyebrow { color: rgba(255, 255, 255, 0.88); }
.hz-cover .hz-eyebrow:hover { color: #fff; }
.hz-article__title {
  font-size: clamp(40px, 6.8vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
  max-width: 15ch;
  text-wrap: balance;
}
.hz-meta { margin: 0; font-size: 15px; color: var(--hz-muted); }
.hz-cover .hz-meta { color: rgba(255, 255, 255, 0.82); }
.hz-cover .hz-meta a { color: #fff; }
.hz-caption { margin-top: 12px; font-size: 13px; color: var(--hz-muted); }

/* ─── Sections ─────────────────────────────────────────────────────── */
.hz-section { padding-block: clamp(72px, 10vw, 140px); }
.hz-section--first { padding-top: clamp(56px, 8vw, 112px); }
.hz-section--dark { background: var(--hz-dark); color: #f5f5f7; }
.hz-section--dark .hz-display { color: #f5f5f7; }
.hz-section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.hz-section__head--archive { max-width: 900px; }
.hz-section__lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.35; letter-spacing: -0.02em; color: var(--hz-muted); margin: 18px 0 0; font-weight: 500; }
.hz-more { margin: 56px 0 0; text-align: center; }
.hz-empty { color: var(--hz-muted); font-size: 19px; }

/* ─── Cards ────────────────────────────────────────────────────────── */
.hz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hz-card {
  background: var(--hz-surface);
  border-radius: var(--hz-radius);
  box-shadow: var(--hz-shadow);
  overflow: hidden;
  transition: box-shadow 0.45s var(--hz-ease), transform 0.45s var(--hz-ease);
}
.hz-card:hover { box-shadow: var(--hz-shadow-hover); transform: translateY(-4px); }
.hz-card__link { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none !important; }
.hz-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hz-soft); }
.hz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--hz-ease); }
.hz-card:hover .hz-card__media img { transform: scale(1.06); }
.hz-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e8eef6, #f5f5f7); }
.hz-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hz-card__title { font-size: 22px; line-height: 1.18; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 10px; }
.hz-card__excerpt { margin: 0 0 16px; color: var(--hz-muted); font-size: 15px; line-height: 1.5; }
.hz-card__date { margin: auto 0 0; font-size: 13px; color: var(--hz-muted); }
.hz-card--wide { grid-column: 1 / -1; display: block; }
.hz-card--wide .hz-card__link { display: grid; grid-template-columns: 1.55fr 1fr; }
.hz-card--wide .hz-card__media { aspect-ratio: auto; min-height: 440px; }
.hz-card--wide .hz-card__body { padding: clamp(28px, 4vw, 56px); justify-content: center; }
.hz-card--wide .hz-card__title { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.035em; line-height: 1.08; }
.hz-card--wide .hz-card__excerpt { font-size: 18px; }
.hz-card--wide .hz-card__date { margin-top: 8px; }

@media (max-width: 980px) {
  .hz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 640px) {
  .hz-grid { grid-template-columns: 1fr; gap: 20px; }
  .hz-card--wide .hz-card__link { display: flex; }
  .hz-card--wide .hz-card__media { aspect-ratio: 4 / 3; min-height: 0; }
  .hz-card--wide .hz-card__body { padding: 22px 24px 26px; }
  .hz-card--wide .hz-card__title { font-size: 26px; }
  .hz-card--wide .hz-card__excerpt { font-size: 15px; }
}

/* ─── Destinations (dark band) ─────────────────────────────────────── */
.hz-dest { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hz-dest__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--hz-radius);
  overflow: hidden;
  background: #1c1c1e;
  color: #fff !important;
  text-decoration: none !important;
  isolation: isolate;
}
.hz-dest__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--hz-ease); }
.hz-dest__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0) 60%); }
.hz-dest__item:hover img { transform: scale(1.07); }
.hz-dest__label { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 2px; }
.hz-dest__name { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.hz-dest__count { font-size: 14px; opacity: 0.8; }
@media (max-width: 640px) {
  .hz-dest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hz-dest__name { font-size: 20px; }
  .hz-dest__label { left: 16px; bottom: 14px; }
}

/* ─── Article body ─────────────────────────────────────────────────── */
.hz-article__plain { max-width: var(--hz-narrow); padding-top: clamp(56px, 9vw, 120px); }
.hz-article--page .hz-article__plain { text-align: left; }
.hz-article__body { max-width: var(--hz-narrow); padding-block: clamp(48px, 7vw, 96px) 24px; }
.hz-standfirst {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 40px;
}
.hz-prose { font-size: 19px; line-height: 1.6; letter-spacing: -0.012em; }
.hz-prose > * { margin: 0 0 1.2em; }
.hz-prose h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; margin: 2.2em 0 0.6em; }
.hz-prose h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; margin: 1.8em 0 0.5em; }
.hz-prose ul, .hz-prose ol { padding-left: 1.2em; }
.hz-prose li { margin-bottom: 0.4em; }
.hz-prose li::marker { color: var(--hz-accent); }
.hz-prose strong { font-weight: 650; }
.hz-prose blockquote {
  margin: 2em 0;
  padding: 0;
  border: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hz-text);
}
.hz-prose blockquote p { margin: 0; }
.hz-prose blockquote::before { content: "“"; display: block; font-size: 2em; line-height: 0.6; color: var(--hz-accent); margin-bottom: 0.15em; }
.hz-prose hr { border: 0; height: 1px; background: var(--hz-line); margin: 3em 0; }
.hz-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hz-prose th, .hz-prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--hz-line); }
.hz-prose th { font-weight: 600; color: var(--hz-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.hz-prose code { font-size: 0.88em; background: var(--hz-soft); padding: 0.15em 0.4em; border-radius: 6px; }
/* Photos in the body break out of the text column. */
.hz-prose img {
  width: min(100vw - 40px, 1100px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: var(--hz-radius);
  box-shadow: var(--hz-shadow);
}
.hz-prose p:has(> img:only-child) { margin-block: 2.4em; }
.hz-prose p:has(> img) + p > em:only-child { display: block; font-style: normal; font-size: 14px; color: var(--hz-muted); text-align: center; margin-top: -1.6em; }
.hz-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.hz-prose iframe { max-width: 100%; border-radius: var(--hz-radius-sm); }
.hz-tags { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hz-tags li { font-size: 13px; padding: 6px 14px; border-radius: 980px; background: var(--hz-soft); color: var(--hz-muted); }
.hz-related { background: var(--hz-soft); margin-top: 72px; }

/* ─── Author / 404 ─────────────────────────────────────────────────── */
.hz-author { max-width: 800px; }
.hz-author__avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; box-shadow: var(--hz-shadow); }
.hz-socials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hz-404__code { font-size: 15px; font-weight: 600; color: var(--hz-accent); margin: 0 0 12px; letter-spacing: 0.08em; }
.hz-404 .hz-pill { margin-top: 36px; }

/* ─── Footer ───────────────────────────────────────────────────────── */
.hz-footer { background: var(--hz-soft); border-top: 1px solid var(--hz-line); padding: 56px 0 40px; font-size: 13px; color: var(--hz-muted); }
.hz-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--hz-line); }
.hz-brand--footer { font-size: 19px; }
.hz-footer__tagline { margin: 8px 0 0; max-width: 360px; line-height: 1.5; }
.hz-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hz-footer__nav a { color: var(--hz-text); }
.hz-footer__legal { margin: 20px 0 0; }

/* ─── Motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hz-cover__media { animation: hz-settle 2.2s var(--hz-ease) both; }
  .hz-cover__content > * { animation: hz-rise 1.1s var(--hz-ease) both; }
  .hz-cover__content > *:nth-child(2) { animation-delay: 0.12s; }
  .hz-cover__content > *:nth-child(3) { animation-delay: 0.24s; }
  .hz-cover__content > *:nth-child(4) { animation-delay: 0.36s; }
}
@keyframes hz-settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hz-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
/* Hidden-before-reveal exists only when the runtime script added .hz-motion
   (JS on, motion allowed) and tagged the element .hz-reveal. */
.hz-motion .hz-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--hz-ease), transform 1.1s var(--hz-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.hz-motion .hz-reveal.is-visible { opacity: 1; transform: none; }
.hz-motion .hz-card.hz-reveal.is-visible { transition: opacity 0.9s var(--hz-ease), transform 1.1s var(--hz-ease), box-shadow 0.45s var(--hz-ease); }
.hz-motion .hz-card.hz-reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }
.hz-motion .hz-prose img.hz-reveal { transform: translateX(-50%) translateY(48px) scale(0.97); }
.hz-motion .hz-prose img.hz-reveal.is-visible { transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
