/* The Greek Resident — Aegean / Golden Visa
   Visual-parity pass vs live Zyro (2026-09-18). DRAFT only. */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700&display=swap");

/* ==== inlined from shared kit (tokens.css) (2026-10-01) ==== */
/* Shared design tokens — override per-site in site.css */
:root {
  /* Colors (neutral defaults; skins override) */
  --color-bg: #f7f5f2;
  --color-bg-elevated: #ffffff;
  --color-ink: #1c1b1a;
  --color-ink-soft: #3d3a36;
  --color-muted: #6b6560;
  --color-line: #e2ddd6;
  --color-accent: #2a6f6a;
  --color-accent-hover: #1f5551;
  --color-on-accent: #ffffff;
  --color-focus: #1c1b1a;

  /* Type */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Space scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  /* Layout */
  --radius: 12px;
  --radius-pill: 999px;
  --max-width: 42rem;
  --max-width-wide: 68rem;
  --shadow: 0 10px 28px rgba(28, 27, 26, 0.07);
  --header-h: 4rem;
}

/* ==== inlined from shared kit (base.css) (2026-10-01) ==== */
/* Reset, typography, utilities */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-accent-hover);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  padding: var(--space-2) var(--space-4);
  background: var(--color-ink);
  color: var(--color-bg);
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-3);
}

.wrap {
  width: min(var(--max-width-wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

main {
  flex: 1;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  margin: 0 0 var(--space-4);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 var(--space-4);
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-4);
}

.lede {
  font-size: 1.2rem;
  color: var(--color-ink-soft);
  max-width: 36rem;
  margin: 0 0 var(--space-5);
}

.muted {
  color: var(--color-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stack > * + * {
  margin-top: var(--space-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

@media (max-width: 640px) {
  .wrap,
  .wrap-narrow {
    width: min(100% - 1.75rem, var(--max-width-wide));
  }
}

/* ==== inlined from shared kit (components.css) (2026-10-01) ==== */
/* Header, nav, buttons, cards, sections, footer, form placeholder */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
  padding-block: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}


.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--color-ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-bg-elevated);
  color: var(--color-ink);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: var(--space-3) var(--space-4) var(--space-4);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow);
  }

  .nav.is-open .nav-list {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-line);
  }

  .nav-list li:last-child a {
    border-bottom: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn:hover {
  background: var(--color-accent-hover);
  color: var(--color-on-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-ghost:hover {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.section {
  padding: var(--space-7) 0;
}

.section + .section {
  border-top: 1px solid var(--color-line);
}

.section-head {
  margin-bottom: var(--space-5);
  max-width: 36rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.hero {
  padding: var(--space-7) 0 var(--space-6);
}

.hero-panel {
  max-width: 40rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: var(--space-4);
}

.card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
}

.card h3 {
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--color-ink-soft);
  flex: 1;
}

.card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-accent);
}

.card-link:hover {
  text-decoration: underline;
}

.card-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg-elevated));
  color: var(--color-accent);
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.list-clean li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--color-ink-soft);
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.footer {
  border-top: 1px solid var(--color-line);
  padding: var(--space-6) 0;
  background: color-mix(in srgb, var(--color-bg-elevated) 70%, var(--color-bg));
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer a {
  color: var(--color-ink-soft);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
}

.form-placeholder {
  max-width: 28rem;
  padding: var(--space-5);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-bg-elevated) 80%, transparent);
}

.form-placeholder label {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

.form-placeholder input,
.form-placeholder textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) - 2px);
  background: var(--color-bg-elevated);
  color: var(--color-muted);
}

.form-placeholder .hint {
  margin: var(--space-3) 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ==== site rules ==== */

:root {
  --color-bg: #f7f4ee;
  --color-bg-elevated: #ffffff;
  --color-ink: #0d141a;
  --color-ink-soft: #2b3a44;
  --color-muted: #5c6b75;
  --color-line: #d9d2c4;
  --color-accent: #2f5f63;
  --color-accent-hover: #244a4d;
  --color-on-accent: #f7fafc;
  --color-sea: #4a7c7d;
  --color-sea-light: #b2d8d8;
  --color-sun: #fea419;
  --color-navy: #1a3a4a;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(13, 20, 26, 0.1);
  --font-sans: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max-width-wide: 72rem;
  --header-h: 4.25rem;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-ink);
}

.site-header {
  background: rgba(247, 244, 238, 0.94);
  border-bottom-color: rgba(74, 124, 125, 0.2);
}

.brand-name {
  letter-spacing: 0.01em;
  font-weight: 700;
}

.brand-logo {
  width: auto;
  height: 52px;
  max-width: 200px;
  border-radius: 0;
  object-fit: contain;
}

.brand-tag {
  color: var(--color-sea);
  font-weight: 500;
}

.nav-list a[aria-current="page"] {
  color: var(--color-sea);
  text-decoration-color: var(--color-sea);
}

/* ——— Video hero ——— */
.hero-video {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  color: #f7fafc;
  overflow: hidden;
  background: var(--color-navy);
}

.hero-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video__media video,
.hero-video__media img.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(26, 58, 74, 0.78) 0%, rgba(74, 124, 125, 0.45) 55%, rgba(26, 58, 74, 0.55) 100%),
    linear-gradient(to top, rgba(13, 20, 26, 0.72) 0%, transparent 45%);
  pointer-events: none;
}

.hero-video .hero-panel {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  box-shadow: none;
  padding-block: var(--space-8) var(--space-7);
  max-width: 42rem;
}

.hero-video h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-video .section-kicker {
  color: var(--color-sea-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-video .lede {
  color: rgba(247, 250, 252, 0.92);
  font-size: 1.1rem;
  max-width: 36rem;
}

.hero-video .btn {
  background: var(--color-sun);
  color: #1a1406;
  border-color: var(--color-sun);
  font-weight: 700;
}

.hero-video .btn:hover {
  background: #e89210;
  border-color: #e89210;
  color: #1a1406;
}

.hero-video .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.hero-video .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ——— Gallery ——— */
.gallery-section {
  padding-block: var(--space-6);
  background: #fff;
  border-block: 1px solid var(--color-line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-grid li {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #d9d2c4;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 10rem;
  transition: transform 0.45s ease;
}

.gallery-grid li:hover img {
  transform: scale(1.04);
}

/* 5-up after olive photo removed: row of 3 (span 4) then row of 2 (span 6) fills the 12-col grid. */
.gallery-grid li:nth-child(-n+3) { grid-column: span 4; }
.gallery-grid li:nth-child(n+4) { grid-column: span 6; }

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .gallery-grid li:nth-child(-n+3),
  .gallery-grid li:nth-child(n+4) { grid-column: span 1; }
  .gallery-grid li:nth-child(5) { grid-column: span 2; }
  .gallery-grid img { min-height: 8rem; }
}

/* ——— Split unlock ——— */
.split-section {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}

.split-section__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.split-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .split-section { grid-template-columns: 1fr; }
}

.why-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-top: var(--space-5);
}

.why-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: 0 4px 14px rgba(13, 20, 26, 0.04);
}

.why-card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.05rem;
  color: var(--color-sea);
}

.why-card p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

.section-sea {
  background: linear-gradient(180deg, #e8f1f1 0%, #f7f4ee 100%);
}

.section-navy {
  background: var(--color-navy);
  color: #f7fafc;
}

.section-navy h2,
.section-navy .section-kicker,
.section-navy p {
  color: #f7fafc;
}

.section-navy .section-kicker {
  color: var(--color-sea-light);
}

.section-navy .muted {
  color: rgba(247, 250, 252, 0.75);
}

.team-panel {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.team-panel__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}

.team-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .team-panel { grid-template-columns: 1fr; }
  .team-panel__media { aspect-ratio: 16 / 10; max-height: 280px; }
}

.service-cards {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.service-cards .card {
  overflow: hidden;
  padding: 0;
}

.service-cards .card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  display: block;
}

.service-cards .card .card-body {
  padding: var(--space-5);
}

.service-cards .card h3 {
  margin-top: 0;
  color: var(--color-accent);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-row a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--color-ink-soft);
  background: var(--color-bg-elevated);
  font-size: 0.9rem;
  font-weight: 600;
}

.social-row a:hover {
  border-color: var(--color-sea);
  color: var(--color-accent);
  background: #eef6f6;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  text-decoration: none;
  color: var(--color-accent);
  font-size: 1.15rem;
}

.phone-pill:hover {
  color: var(--color-accent-hover);
}

.faq details {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-bg-elevated);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-ink);
}

.faq details[open] summary {
  margin-bottom: var(--space-3);
  color: var(--color-accent);
}

.faq details p,
.faq details li {
  color: var(--color-ink-soft);
}

.form-placeholder {
  border: 1px dashed var(--color-sea);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: #fff;
}

.note-parked {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.site-footer {
  background: var(--color-navy);
  color: rgba(247, 250, 252, 0.88);
  border-top: none;
}

.site-footer a {
  color: var(--color-sea-light);
}

.site-footer .muted {
  color: rgba(247, 250, 252, 0.55);
}

.site-footer .phone-pill {
  color: #fff;
}

.page-hero-photo {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.page-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 74, 0.82), rgba(74, 124, 125, 0.55));
}

.page-hero-photo .wrap {
  position: relative;
  z-index: 1;
  padding-block: var(--space-7);
}

.page-hero-photo h1 {
  color: #fff;
  margin: 0;
}

.page-hero-photo .lede {
  color: rgba(247, 250, 252, 0.9);
}

.wrap-wide {
  max-width: var(--max-width-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}


/* ——— Leave-a-note (Formspree/Kit TBD) ——— */
.leave-note {
  max-width: 36rem;
  padding: var(--space-6) var(--space-5);
  border: 1px solid rgba(74, 124, 125, 0.35);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.leave-note__title {
  margin: 0 0 var(--space-2);
  font-size: 1.35rem;
  color: var(--color-navy);
}

.leave-note__lede {
  margin: 0 0 var(--space-5);
  color: var(--color-ink-soft);
}

.leave-note__field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: var(--space-4);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.leave-note__field span abbr {
  text-decoration: none;
  color: var(--color-sea);
}

.leave-note__field input,
.leave-note__field textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) - 2px);
  background: #faf8f4;
  color: var(--color-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.leave-note__field input:disabled,
.leave-note__field textarea:disabled {
  cursor: not-allowed;
  opacity: 0.85;
  color: var(--color-muted);
}

.leave-note__field input::placeholder,
.leave-note__field textarea::placeholder {
  color: #8a968c;
}

.leave-note__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-3);
}

.leave-note__actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.leave-note .note-parked {
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px dashed rgba(74, 124, 125, 0.35);
}

/* ——— Blog post cards ——— */
.post-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.post-card {
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(13, 20, 26, 0.06);
}

.post-card h2 {
  margin: 0.35rem 0 var(--space-3);
  font-size: 1.2rem;
  line-height: 1.35;
}

.post-card h2 a {
  color: var(--color-navy);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--color-sea);
  text-decoration: underline;
}

.post-card p {
  margin: 0 0 var(--space-3);
  color: var(--color-ink-soft);
}

.post-card .note-parked {
  margin: 0;
  font-size: 0.82rem;
}

.post-card code {
  font-size: 0.8em;
  word-break: break-all;
}

/* ——— Light motion (no Zyro parallax; tasteful only) ——— */
@media (prefers-reduced-motion: no-preference) {
  .motion-fade-in {
    animation: tgr-fade-up 0.9s ease both;
  }

  .hero-video.motion-fade-in .hero-panel {
    animation: tgr-fade-up 0.95s ease 0.15s both;
  }

  .motion-stagger > * {
    animation: tgr-fade-up 0.75s ease both;
  }

  .motion-stagger > *:nth-child(1) { animation-delay: 0.06s; }
  .motion-stagger > *:nth-child(2) { animation-delay: 0.14s; }
  .motion-stagger > *:nth-child(3) { animation-delay: 0.22s; }
  .motion-stagger > *:nth-child(4) { animation-delay: 0.3s; }
  .motion-stagger > *:nth-child(5) { animation-delay: 0.38s; }
  .motion-stagger > *:nth-child(6) { animation-delay: 0.46s; }
}

@keyframes tgr-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-fade-in,
  .hero-video.motion-fade-in .hero-panel,
  .motion-stagger > * {
    animation: none !important;
  }
}

/* Leave-a-note honeypot (2026-10-01): visually hidden, no layout impact */
.leave-note__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* wave 2026-10: blog article pages + 404 */
.post-article h1 { margin: var(--space-2) 0 var(--space-2); }
.post-article .section-kicker a { color: inherit; text-decoration: none; }
.post-date { margin: 0 0 var(--space-5); }
.post-cover { margin: 0 0 var(--space-6); }
.post-cover img { display: block; width: 100%; height: auto; max-height: 26rem; object-fit: cover; border-radius: var(--radius); }
.post-body { color: var(--color-ink-soft); line-height: 1.7; }
.post-body h2, .post-body h3 { color: var(--color-ink); margin: var(--space-6) 0 var(--space-3); }
.post-body ul, .post-body ol { padding-left: 1.3rem; }
.post-body li { margin-bottom: var(--space-2); }
.post-back { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.notfound { min-height: 50vh; }

/* blog refresh 2026-10-18: card thumbnails, post credit line, long source URLs, FAQ sources */
.post-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.post-card--thumb { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__thumb { display: block; aspect-ratio: 16 / 9; background: #e8eef0; }
.post-card__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: var(--space-5); }
.post-card .post-card__date { margin: 0 0 var(--space-2); font-size: 0.9rem; color: var(--color-muted); }
.post-body a { overflow-wrap: anywhere; }
.post-credit { margin-top: var(--space-6); padding-top: var(--space-3); border-top: 1px solid var(--color-line); font-size: 0.88rem; }
.faq .faq-sources { font-size: 0.9rem; color: var(--color-muted); overflow-wrap: anywhere; }
