/* =========================================================
   GetFreePics — design system
   Style: Minimalism & Swiss (image-first), from UI/UX Pro Max,
   with the brand blue from the GetFreePics logo.
   ========================================================= */
:root {
  /* Brand */
  --brand-300: #7fd0ec;
  --brand-500: #0096c8;   /* logo blue — accents, focus, icons */
  --brand-600: #00739f;   /* buttons & links: 5.3:1 on white */
  --brand-700: #005a87;   /* hover / pressed */
  --brand-50:  #e8f6fb;

  /* Neutrals */
  --ink: #111418;
  --ink-2: #3b4550;
  --muted: #5d6873;       /* 5.6:1 on white */
  --line: #e4e8ec;
  --surface: #ffffff;
  --surface-2: #f5f7f9;
  --surface-dark: #0d1820;
  --on-dark: #d5dee4;

  --warn-bg: #fff6dc; --warn-line: #f0cf73; --warn-ink: #5b4300;

  /* Type */
  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Myanmar", "Noto Sans Thai", sans-serif;
  --fs-body: 1rem; --lh-body: 1.6;

  /* Spacing (8px scale) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --radius: 12px; --radius-sm: 8px; --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(16, 24, 32, .06), 0 2px 8px rgba(16, 24, 32, .06);
  --shadow-2: 0 10px 30px rgba(16, 24, 32, .14);
  --max: 1360px;
  --t-fast: 160ms; --t-med: 240ms; --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: var(--fs-body)/var(--lh-body) var(--font-body); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }
.i { flex: none; vertical-align: -4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-4); }
@media (min-width: 768px) { .wrap { padding: 0 var(--s-5); } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: var(--radius-pill);
  background: var(--brand-600); color: #fff !important; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.btn:hover { background: var(--brand-700); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.btn-ghost { background: var(--surface); color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px #cbd3da; }
.btn-block { display: flex; width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: transparent; color: inherit; cursor: pointer; transition: background var(--t-fast); }
.icon-btn:hover { background: rgba(127, 127, 127, .16); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.search-mini, .search-mini-spacer { flex: 1; max-width: 520px; }
.main-nav { display: flex; align-items: center; gap: var(--s-1); margin-left: auto; }
.main-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-pill); color: var(--ink-2); font-weight: 500; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.main-nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.main-nav .btn { margin-left: var(--s-2); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .js .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); cursor: pointer; }
  .js .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--s-4) var(--s-4); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .js .main-nav.open { display: flex; }
  .js .main-nav .btn { margin: var(--s-2) 0 0; }
  .header-inner { flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
  .search-mini { order: 3; flex-basis: 100%; max-width: none; padding-bottom: var(--s-3); }
  .search-mini-spacer { display: none; }
  html:not(.js) .main-nav { flex-wrap: wrap; }
}

/* ---------- Search ---------- */
.search { position: relative; display: flex; align-items: center; gap: var(--s-2); }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 16px 10px 44px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink); font: inherit; transition: border-color var(--t-fast), background var(--t-fast); }
.search input:focus { outline: none; border-color: var(--brand-500); background: var(--surface); box-shadow: 0 0 0 4px rgba(0, 150, 200, .18); }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.search-hero input, .search-page input { min-height: 56px; font-size: 1.08rem; padding-left: 48px; background: var(--surface); border-color: transparent; box-shadow: var(--shadow-2); }
.search-page input { border-color: var(--line); box-shadow: none; }
.search-hero .btn, .search-page .btn { min-height: 56px; padding: 0 26px; }
.search-hero .search-icon, .search-page .search-icon { left: 17px; }
.suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); text-align: left; }
.search-hero .suggest, .search-page .suggest { right: 130px; }
.suggest li { display: flex; justify-content: space-between; gap: var(--s-3); min-height: 44px; align-items: center; padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer; color: var(--ink); }
.suggest li small { color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--brand-50); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: #0b2533 var(--hero, none) center/cover no-repeat; padding: clamp(64px, 12vw, 128px) 0 clamp(56px, 9vw, 96px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 25, 36, .45) 0%, rgba(5, 25, 36, .72) 100%); }
.hero-inner { max-width: 880px; text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 var(--s-4); padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; font-weight: 500; letter-spacing: .02em; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: var(--s-3); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; margin: 0 auto var(--s-6); color: #e9f1f5; }
.search-hero { max-width: 720px; margin: 0 auto; }
.popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-2); margin: var(--s-5) 0 0; font-size: .92rem; }
.popular span { opacity: .85; }
.popular a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: var(--radius-pill); text-decoration: none; transition: background var(--t-fast); }
.hero .popular a { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.hero .popular a:hover { background: rgba(255, 255, 255, .26); }
.empty-state .popular { justify-content: flex-start; }
.empty-state .popular a, .chips a { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
.hero-credit { position: absolute; right: var(--s-4); bottom: var(--s-3); color: rgba(255, 255, 255, .8); font-size: .8rem; text-decoration: none; }
.hero-credit:hover { color: #fff; text-decoration: underline; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-7); padding-top: var(--s-5); padding-bottom: var(--s-2); color: var(--muted); font-size: .95rem; }
.stats strong { color: var(--ink); font-family: var(--font-head); font-size: 1.15rem; margin-right: 4px; }

/* ---------- Sections ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.section-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: var(--s-7) 0 var(--s-5); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; min-height: 44px; }
.page-head { margin: var(--s-4) 0 var(--s-5); }
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-head small { font-weight: 500; color: var(--muted); font-size: .55em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 760px; }
.count { color: var(--muted); font-size: .95rem; margin: 0; }
.empty { color: var(--muted); padding: var(--s-7) 0; }
.empty-state { padding: var(--s-6) 0 var(--s-8); max-width: 680px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: var(--s-4) 0 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b6c0c8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-5); }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; transition: background var(--t-fast), border-color var(--t-fast); }
.chips a:hover { background: var(--brand-50); border-color: var(--brand-300); }

/* ---------- Tiles (country / category) ---------- */
.tiles { display: grid; gap: var(--s-4); }
.tiles-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.tiles-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tile { position: relative; display: block; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); color: #fff; text-decoration: none; }
.tile-lg { aspect-ratio: 16/9; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile-label { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: var(--s-6) var(--s-4) var(--s-4); background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.tile-label strong { font-family: var(--font-head); font-size: 1.3rem; }
.tile-lg .tile-label strong { font-size: 1.8rem; }
.tile-label small { opacity: .9; }

/* ---------- Photo grid (masonry) ---------- */
.grid { column-count: 3; column-gap: var(--s-4); }
@media (max-width: 1024px) { .grid { column-count: 2; } }
@media (max-width: 560px) { .grid { column-count: 1; } }
.card { position: relative; break-inside: avoid; margin: 0 0 var(--s-4); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.card-link { display: block; color: #fff; text-decoration: none; cursor: zoom-in; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card:hover img { transform: scale(1.03); }
.card figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: end; gap: var(--s-2); padding: var(--s-7) var(--s-4) var(--s-3); padding-right: 64px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); font-size: .9rem; opacity: 0; transition: opacity var(--t-med) var(--ease); }
.card-title { font-weight: 600; }
.card-by { opacity: .9; white-space: nowrap; }
.card-dl { position: absolute; right: var(--s-3); bottom: var(--s-3); display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .95); color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), background var(--t-fast); }
.card-dl:hover { background: #fff; color: var(--brand-600); }
.card:hover figcaption, .card:focus-within figcaption, .card:hover .card-dl, .card:focus-within .card-dl { opacity: 1; transform: none; }
@media (hover: none) { .card figcaption, .card-dl { opacity: 1; transform: none; } }
.badge { position: absolute; top: var(--s-3); left: var(--s-3); padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, .62); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.card-ad { break-inside: avoid; background: none; }

/* ---------- Ads (space reserved → no layout shift) ---------- */
.ad { margin: var(--s-6) auto; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.ad-placeholder { display: flex; align-items: center; justify-content: center; min-height: 250px; border-radius: var(--radius); color: #8a959e; font-size: .85rem; background: repeating-linear-gradient(45deg, #f4f6f8, #f4f6f8 10px, #edf0f3 10px, #edf0f3 20px); }
.ad-wide.ad-placeholder { min-height: 120px; }

/* ---------- Photo page ---------- */
.photo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-6); margin-top: var(--s-4); align-items: start; }
@media (max-width: 1024px) { .photo-layout { grid-template-columns: 1fr; } }
.photo-figure { margin: 0; display: flex; justify-content: center; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; }
.photo-figure img { max-height: calc(100vh - var(--header-h) - 48px); width: auto; }
.photo-desc { font-size: 1.05rem; color: var(--ink-2); margin: var(--s-4) 0 0; }
.photo-side { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1024px) { .photo-side { position: static; } }
.panel { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel h1 { font-size: 1.6rem; margin-bottom: var(--s-3); }
.by { display: inline-flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); color: var(--ink); text-decoration: none; font-weight: 600; }
.by small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-family: var(--font-head); font-weight: 700; }
.dl-group { display: flex; gap: 2px; }
.btn-download { flex: 1; min-height: 52px; font-size: 1.06rem; }
.dl-group:has(.dl-sizes) .btn-download { border-radius: var(--radius-pill) 6px 6px var(--radius-pill); }
.dl-sizes { position: relative; }
.dl-sizes summary { list-style: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 6px var(--radius-pill) var(--radius-pill) 6px; background: var(--brand-600); color: #fff; cursor: pointer; }
.dl-sizes summary::-webkit-details-marker { display: none; }
.dl-sizes summary:hover { background: var(--brand-700); }
.dl-sizes ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 240px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); }
.dl-sizes a { display: flex; justify-content: space-between; min-height: 44px; align-items: center; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; }
.dl-sizes a span { color: var(--muted); font-weight: 400; font-size: .9rem; }
.dl-sizes a:hover { background: var(--surface-2); }
.meta { color: var(--muted); font-size: .9rem; margin: var(--s-3) 0 var(--s-4); }
.notice { display: flex; gap: var(--s-2); background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: var(--radius-sm); padding: var(--s-3); font-size: .9rem; }
.notice .i { margin-top: 2px; }
.credit-box { background: var(--surface-2); border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); font-size: .9rem; margin: var(--s-4) 0; }
.credit-box p { margin: 0 0 6px; color: var(--muted); }
.credit-box code { display: block; font: .85rem/1.45 ui-monospace, Consolas, monospace; margin-bottom: var(--s-3); word-break: break-word; }
.side-h { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: var(--s-5) 0 var(--s-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s-4); font-size: .92rem; margin: var(--s-4) 0; }
.facts dt { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.facts dt .i { width: 16px; height: 16px; }
.facts dd { margin: 0; }
.exif { margin-top: 0; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0; }
.tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 12px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: .85rem; text-decoration: none; transition: border-color var(--t-fast), color var(--t-fast); }
.tags a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: .88rem; color: var(--muted); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.share > span { margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-2); font: inherit; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: #c4ccd3; color: var(--ink); }
.share-btn .i { width: 16px; height: 16px; }
.ad-side { margin-top: var(--s-5); }

/* ---------- Quick-view lightbox ---------- */
.qv { width: min(1200px, 96vw); max-width: none; height: min(92vh, 960px); max-height: none; padding: 0; border: 0; border-radius: var(--radius); background: #0b1116; color: #e8eef2; box-shadow: var(--shadow-2); }
.qv[open] { display: flex; flex-direction: column; }
.qv::backdrop { background: rgba(4, 10, 14, .82); }
.qv-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.qv-bar h2 { color: #fff; font-size: 1.1rem; margin: 0; }
.qv-by { margin: 2px 0 0; font-size: .88rem; color: #aab8c2; }
.qv-by a { color: #d9eef7; }
.qv-actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.qv-actions .btn-ghost { background: transparent; color: #e8eef2 !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.qv-actions .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.qv-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: var(--s-4) 68px; }
@media (max-width: 700px) { .qv-stage { padding: var(--s-3); } }
.qv-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.qv-prev, .qv-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .1); color: #fff; }
.qv-prev { left: var(--s-3); } .qv-next { right: var(--s-3); }
.qv-prev:hover, .qv-next:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 700px) {
  .qv { width: 100vw; height: 100dvh; border-radius: 0; }
  .qv-bar { flex-wrap: wrap; padding: var(--s-3); }
  .qv-actions { width: 100%; }
  .qv-actions .btn { flex: 1; }
}

/* ---------- Guides / blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-5); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; background: var(--surface); transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.post-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--ink); }
.post-card img, .post-ph { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: linear-gradient(135deg, var(--brand-50), #dfe7ec); }
.post-body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-4) var(--s-4) var(--s-5); }
.post-body strong { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.25; }
.post-body > span:last-child { color: var(--muted); font-size: .94rem; }
.post-kicker { color: var(--brand-600); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.prose { font-size: 1.08rem; line-height: 1.75; margin-bottom: var(--s-7); }
.prose h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-top: var(--s-2); }
.prose h2 { font-size: 1.55rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose li { margin: .35em 0; }
.prose .meta { margin-top: 0; }
.prose blockquote { border-left: 4px solid var(--brand-500); margin: 1.4em 0; padding: 4px 18px; color: var(--ink-2); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.inline-photo { margin: var(--s-6) 0; }
.inline-photo img { border-radius: var(--radius); max-width: 100%; width: auto; margin: 0 auto; }
.inline-photo.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.inline-photo.pair figcaption { grid-column: 1 / -1; }
.inline-photo figcaption, .video figcaption { font-size: .9rem; color: var(--muted); margin-top: var(--s-2); }
.cover { margin-top: var(--s-4); }
.video { margin: var(--s-6) 0; }
.yt, .video iframe { display: grid; place-items: center; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); background: #000 center/cover no-repeat; cursor: pointer; }
.yt .i { width: 72px; height: 72px; padding: 18px 16px 18px 22px; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; transition: background var(--t-fast), transform var(--t-fast); }
.yt:hover .i { background: #e3262d; transform: scale(1.06); }
.map-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.more-posts { margin-bottom: var(--s-8); }
.people { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-4); }
.people a { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.people img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.people strong, .people span { display: block; padding: 0 var(--s-3); }
.people strong { padding-top: var(--s-3); } .people span { padding-bottom: var(--s-3); color: var(--muted); font-size: .9rem; }

/* ---------- Misc ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; margin: var(--s-5) 0 var(--s-7); color: var(--muted); }
.pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: var(--radius-pill); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); margin: var(--s-8) 0; padding: var(--s-7) var(--s-6); border-radius: 20px; background: linear-gradient(120deg, #063a52, var(--brand-600)); color: #fff; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta p { margin: 0; color: #d7ecf5; max-width: 560px; }
.cta .btn { background: #fff; color: var(--brand-700) !important; }
.cta .btn:hover { background: var(--brand-50); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-dark); color: var(--on-dark); padding: var(--s-8) 0 var(--s-5); margin-top: var(--s-8); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-6); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; }
.site-footer a { display: block; padding: 4px 0; color: var(--on-dark); text-decoration: none; }
.site-footer p a { display: inline; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer img { height: 40px; width: auto; margin-bottom: var(--s-2); }
.copy { border-top: 1px solid #22323d; margin-top: var(--s-6); padding-top: var(--s-4); font-size: .85rem; color: #93a5b1; }
.copy a { display: inline; color: var(--on-dark); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .card:hover img, .tile:hover img { transform: none; }
}
