/* Pet Records — public marketing site
   Built on the same design tokens as the redesigned backend.
   Editorial / refined / sage. */

:root {
  --bg:        #f7f5f0;
  --surface:   #ffffff;
  --surface-2: #faf8f3;
  --line:      #e6e2d8;
  --line-soft: #efebe2;
  --ink:       #1f2622;
  --ink-2:     #4b554f;
  --ink-3:     #7a8480;
  --accent:    #4f7a5a;
  --accent-2:  #dde7d3;
  --accent-ink:#26402c;
  --warn:      #c4733a;
  --danger:    #b53d3d;
  --good:      #4f7a5a;
  --info:      #4a6b8a;
  --gold:      #b08a3e;
  --silver:    #8e96a0;
  --bronze:    #a76a3d;
  --platinum:  #4f6878;
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad-x: clamp(20px, 5vw, 96px);
  --maxw: 1240px;
}

.pal-sage   { --bg:#f7f5f0; --surface:#ffffff; --surface-2:#faf8f3; --line:#e6e2d8; --line-soft:#efebe2;
              --ink:#1f2622; --ink-2:#4b554f; --ink-3:#7a8480;
              --accent:#4f7a5a; --accent-2:#dde7d3; --accent-ink:#26402c; }
.pal-indigo { --bg:#f5f6fa; --surface:#ffffff; --surface-2:#f9fafd; --line:#e3e6ee; --line-soft:#ecf0f7;
              --ink:#171a25; --ink-2:#3a4254; --ink-3:#737d92;
              --accent:#3a5ad9; --accent-2:#dee6fb; --accent-ink:#16276f; }
.pal-ember  { --bg:#faf6f2; --surface:#ffffff; --surface-2:#fbf4ec; --line:#ecdfd2; --line-soft:#f2e9de;
              --ink:#27201a; --ink-2:#4f4137; --ink-3:#7e7068;
              --accent:#c75d3a; --accent-2:#f4d9c8; --accent-ink:#6a2611; }
.pal-slate  { --bg:#f5f5f6; --surface:#ffffff; --surface-2:#fafafb; --line:#e4e4e7; --line-soft:#ededef;
              --ink:#18181b; --ink-2:#3f3f46; --ink-3:#71717a;
              --accent:#18181b; --accent-2:#e4e4e7; --accent-ink:#18181b; }

.dark { color-scheme: dark; }
.dark.pal-sage   { --bg:#10130f; --surface:#171b16; --surface-2:#1c211b; --line:#2a302a; --line-soft:#222823;
                   --ink:#eaeae3; --ink-2:#b8beb5; --ink-3:#82897f; --accent:#88b591; --accent-2:#243a2b; --accent-ink:#cfe4d2; }
.dark.pal-indigo { --bg:#0f1118; --surface:#171a25; --surface-2:#1c2030; --line:#2a3047; --line-soft:#22273a;
                   --ink:#e6e8f0; --ink-2:#aab1c3; --ink-3:#7a8197; --accent:#7d97f5; --accent-2:#222a4a; --accent-ink:#cfd8ff; }
.dark.pal-ember  { --bg:#15110d; --surface:#1d1812; --surface-2:#231d16; --line:#34281e; --line-soft:#2a2118;
                   --ink:#ede3d8; --ink-2:#bcae9e; --ink-3:#857968; --accent:#e98a64; --accent-2:#3a2418; --accent-ink:#f7d2bd; }
.dark.pal-slate  { --bg:#0c0c0e; --surface:#161618; --surface-2:#1a1a1d; --line:#2a2a2e; --line-soft:#222226;
                   --ink:#e7e7ea; --ink-2:#a8a8af; --ink-3:#7a7a80; --accent:#f4f4f5; --accent-2:#27272a; --accent-ink:#f4f4f5; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.018em; }
.mono  { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.tiny  { font-size: 12.5px; }
.bold  { font-weight: 600; }
.caps  { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--ink-3); }

/* ---------- TOP NAV ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--accent) 55%, var(--ink)));
  display: grid; place-items: center; color: white; font-weight: 700; font-size: 15px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.14);
  font-family: var(--serif);
}
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: -0.02em; }
.brand-name .dot { color: var(--accent); }

.topnav .nav { display: flex; gap: 2px; align-items: center; }
.topnav .nav button {
  padding: 9px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 500; font-size: 14px;
}
.topnav .nav button:hover { background: var(--line-soft); color: var(--ink); }
.topnav .nav button.active { background: var(--ink); color: var(--bg); }
.topnav .right { display: flex; gap: 10px; align-items: center; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 11px; font-weight: 500; font-size: 14.5px;
  background: var(--ink); color: var(--bg); transition: transform .08s ease, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--line-soft); }
.btn.accent { background: var(--accent); color: white; }
.btn.lg { padding: 14px 22px; font-size: 15.5px; border-radius: 12px; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.btn.link { background: none; color: var(--ink); padding: 0; border-radius: 0; gap: 6px; }
.btn.link:hover { color: var(--accent); transform: none; }
.btn.link .arr { transition: transform .2s; }
.btn.link:hover .arr { transform: translateX(3px); }

/* ---------- LAYOUT ---------- */
section { padding: 0 var(--pad-x); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section { padding: clamp(56px, 8vw, 120px) var(--pad-x); }
.section.tight { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.section-h { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.section-h h2 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 56px); margin: 0; font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; max-width: 880px; text-wrap: balance; }
.section-h .lead { color: var(--ink-2); max-width: 540px; font-size: 16px; line-height: 1.55; }

/* ---------- HERO ---------- */
.hero {
  padding: clamp(56px, 9vw, 140px) var(--pad-x) clamp(80px, 11vw, 160px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.hero-meta .chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2); width: max-content;
}
.hero-meta .chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px; color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-eyebrow .tag {
  background: var(--accent-2); color: var(--accent-ink);
  padding: 2px 9px; border-radius: 999px; font-weight: 600; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
}

/* Hero visual — stacked record cards (placeholders) */
.hero-visual {
  position: relative;
  aspect-ratio: 4/4.4;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(31,38,34,.18), 0 2px 0 rgba(255,255,255,.6) inset;
}
.hero-visual .v-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px -16px rgba(20,28,24,.18);
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-visual .v-photo {
  background: linear-gradient(135deg, var(--accent-2), color-mix(in oklab, var(--accent) 40%, var(--surface)));
  border-radius: 9px;
  position: relative;
  overflow: hidden;
}
.hero-visual .v-photo::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 2px, transparent 2px 12px);
}
.hero-visual .v-photo .lbl {
  position: absolute; bottom: 8px; left: 10px;
  font-family: var(--serif); color: var(--accent-ink); font-size: 14px;
}
.hero-visual .v-stripe { height: 8px; border-radius: 4px; background: var(--line-soft); }
.hero-visual .v-stripe.short { width: 60%; }

/* ---------- CARDS ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.card.tight { padding: 20px; border-radius: 14px; }

/* ---------- FEATURE GRID ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden;
}
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.feature:last-child { border-right: 0; }
@media (max-width: 980px) {
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .feature { border-right: 0; }
  .feature:last-child { border-bottom: 0; }
}
.feature .num { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }
.feature h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0; letter-spacing: -0.015em; }
.feature p { color: var(--ink-2); margin: 0; font-size: 14.5px; line-height: 1.55; }

/* ---------- "SHOW THE PRODUCT" STRIP ---------- */
.product-strip {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .product-strip { grid-template-columns: 1fr; } }
.product-strip h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 16px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
.product-strip p { color: var(--ink-2); margin: 0 0 24px; font-size: 16px; }
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets .check {
  width: 22px; height: 22px; border-radius: 999px; background: var(--accent-2); color: var(--accent-ink);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}

/* App screenshot placeholder */
.app-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(20,28,24,.22);
}
.app-frame .bar { height: 36px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.app-frame .dot-r { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-frame .body { padding: 20px; display: grid; grid-template-columns: 160px 1fr; gap: 16px; min-height: 280px; }
.app-frame .rail {
  background: var(--surface-2); border-radius: 10px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.app-frame .rail .r {
  height: 8px; border-radius: 4px; background: var(--line);
}
.app-frame .rail .r.active { background: var(--accent); width: 75%; }
.app-frame .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-frame .tile {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.app-frame .tile .label { font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.app-frame .tile .val { font-family: var(--serif); font-size: 24px; line-height: 1; }
.app-frame .tile .spark { height: 22px; background: linear-gradient(180deg, transparent, var(--accent-2)); border-radius: 4px; }

/* ---------- PRICING ---------- */
.pricing-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.pricing-head .caps { display: block; margin-bottom: 14px; color: var(--accent); }
.pricing-head h2 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 56px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
.pricing-head p { color: var(--ink-2); margin: 0; font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s;
}
.plan.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.dark .plan.featured { background: var(--accent); color: white; border-color: var(--accent); }
.plan .ribbon {
  position: absolute; top: -1px; right: 20px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 0 0 9px 9px;
}
.plan .plan-name { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 4px; letter-spacing: -0.015em; }
.plan .plan-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.plan.featured .plan-sub { color: color-mix(in oklab, var(--bg) 60%, transparent); }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan .price .amt { font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: -0.03em; }
.plan .price .per { color: var(--ink-3); font-size: 13px; }
.plan.featured .price .per { color: color-mix(in oklab, var(--bg) 60%, transparent); }
.plan .year-price { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.plan.featured .year-price { color: color-mix(in oklab, var(--bg) 60%, transparent); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.plan ul li.no { color: var(--ink-3); }
.plan ul .ico {
  width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent-2); color: var(--accent-ink);
  margin-top: 1px;
}
.plan ul .ico.no { background: var(--line-soft); color: var(--ink-3); }
.plan.featured ul .ico { background: color-mix(in oklab, var(--bg) 18%, transparent); color: var(--bg); }
.plan.featured ul .ico.no { background: transparent; border: 1px solid color-mix(in oklab, var(--bg) 30%, transparent); color: color-mix(in oklab, var(--bg) 60%, transparent); }
.plan .cta { width: 100%; justify-content: center; }
.plan.featured .cta { background: var(--bg); color: var(--ink); }
.dark .plan.featured .cta { background: white; color: var(--accent-ink); }

/* ---------- PAGE HEADER (subpages) ---------- */
.page-hero {
  padding: clamp(56px, 7vw, 120px) var(--pad-x) clamp(40px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { max-width: 880px; }
.page-hero .caps { color: var(--accent); margin-bottom: 18px; display: block; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 24px;
  text-wrap: balance;
}
.page-hero .lead {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 680px;
  margin: 0;
}

/* ---------- REGISTRY: badge cards ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 980px) { .badge-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .badge-grid { grid-template-columns: 1fr; } }
.bcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px; }
.bmedal {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); color: white; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.06);
  position: relative;
}
.bmedal.bronze   { background: linear-gradient(140deg, #c98a59, #8a5a35); }
.bmedal.silver   { background: linear-gradient(140deg, #c5cdd6, #7d8893); color: #2b3038; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.bmedal.gold     { background: linear-gradient(140deg, #e7c473, #a98232); }
.bmedal.platinum { background: linear-gradient(140deg, #cfd9e2, #5d7a91); }
.bmedal::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
}
.bcard h3 { font-family: var(--serif); font-size: 22px; margin: 0; font-weight: 400; letter-spacing: -0.015em; }
.bcard p { color: var(--ink-2); margin: 0; font-size: 14px; line-height: 1.55; }

/* ---------- FAQ / DEFINITION LIST ---------- */
.qa { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.qa:first-of-type { border-top: 0; padding-top: 8px; }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; gap: 12px; } }
.qa h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -0.015em; margin: 0; line-height: 1.15; text-wrap: balance; }
.qa-body { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.qa-body p { margin: 0 0 12px; }
.qa-body p:last-child { margin-bottom: 0; }
.qa-body strong { color: var(--ink); font-weight: 600; }

/* ---------- MICROCHIP LOOKUP ---------- */
.lookup-card {
  max-width: 640px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 60px -40px rgba(20,28,24,.18);
}
.lookup-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.lookup-card .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.input {
  width: 100%; padding: 16px 18px;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 12px; outline: 0;
  font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
.input-row { display: flex; gap: 10px; align-items: stretch; }
.input-row .input { flex: 1; }

.lookup-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; margin-bottom: 24px; border: 1px solid var(--line); width: max-content; }
.lookup-tabs button { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.lookup-tabs button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20,28,24,.06); }

.lookup-foot { margin-top: 22px; display: flex; gap: 18px; align-items: center; color: var(--ink-3); font-size: 13px; flex-wrap: wrap; }
.lookup-foot .sep { width: 1px; height: 14px; background: var(--line); }

/* ---------- BLOG ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card { display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.post-card .img {
  aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-2), color-mix(in oklab, var(--accent) 30%, var(--surface)));
  position: relative;
  border: 1px solid var(--line);
}
.post-card .img::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.035) 0 2px, transparent 2px 12px);
}
.post-card .img .ph-label {
  position: absolute; left: 14px; bottom: 12px; color: var(--accent-ink);
  font-family: var(--serif); font-size: 14px;
}
.post-card .meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-3); }
.post-card .meta .tag {
  background: var(--accent-2); color: var(--accent-ink);
  padding: 3px 9px; border-radius: 999px; font-weight: 600; font-size: 11px;
}
.post-card h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; font-weight: 400; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.post-card p { color: var(--ink-2); margin: 0; font-size: 14px; line-height: 1.55; }
.post-card:hover h3 { color: var(--accent); }

.feature-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 40px);
  margin-bottom: 40px;
  cursor: pointer;
}
@media (max-width: 880px) { .feature-post { grid-template-columns: 1fr; } }
.feature-post .img { aspect-ratio: 5/3.4; border-radius: 14px; }
.feature-post h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 14px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.feature-post p { color: var(--ink-2); margin: 0 0 20px; font-size: 16px; line-height: 1.6; }
.feature-post .meta .tag { background: var(--accent); color: white; }

/* ---------- POST READER ---------- */
.reader { max-width: 720px; margin: 0 auto; padding: 0 var(--pad-x); }
.reader .post-img {
  aspect-ratio: 16/8;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-2), color-mix(in oklab, var(--accent) 40%, var(--surface)));
  margin: clamp(24px, 4vw, 56px) 0;
  border: 1px solid var(--line);
  position: relative;
}
.reader .post-img::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 2px, transparent 2px 12px);
}
.reader h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.018em;
  margin: 48px 0 16px;
}
.reader h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.012em;
  margin: 32px 0 12px;
}
.reader p { color: var(--ink-2); font-size: 16.5px; line-height: 1.72; margin: 0 0 18px; }
.reader ul { color: var(--ink-2); font-size: 16.5px; line-height: 1.72; padding-left: 18px; margin: 0 0 18px; }
.reader ul li { margin-bottom: 6px; }
.reader .drop::first-letter {
  font-family: var(--serif); font-size: 64px; line-height: 0.85;
  float: left; padding: 8px 12px 0 0; color: var(--accent); font-weight: 400;
}
.reader .quote {
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  line-height: 1.3; color: var(--ink);
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  letter-spacing: -0.01em;
}

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { padding-top: 8px; }
.contact-info h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 0 0 24px; letter-spacing: -0.015em; }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-row:first-of-type { border-top: 0; padding-top: 0; }
.info-row .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-2); color: var(--accent-ink);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-row .lbl { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 4px; }
.info-row .val { font-size: 15.5px; color: var(--ink); }
.info-row .val a:hover { color: var(--accent); }
.hours { font-family: var(--mono); font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 40px);
}
.form-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 0 0 6px; letter-spacing: -0.015em; }
.form-card .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface);
  outline: 0; font-size: 14.5px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field textarea { min-height: 100px; resize: vertical; font-family: var(--font); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding: clamp(48px, 6vw, 80px) var(--pad-x) 32px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--ink-3); margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.footer-grid ul li a:hover { color: var(--accent); }
.footer-grid .blurb { color: var(--ink-2); font-size: 14px; line-height: 1.55; max-width: 320px; margin: 16px 0 0; }
.foot-bottom {
  max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.foot-bottom .legal { display: flex; gap: 16px; }
.foot-bottom .legal a:hover { color: var(--ink); }

/* ---------- MISC ---------- */
.divider-line { height: 1px; background: var(--line); border: 0; margin: 0; }
.bg-surf { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.maxw-720 { max-width: 720px; margin: 0 auto; }
