:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --tint: #f1ece5;
  --ink: #2a2622;
  --muted: #6c645b;
  --line: #e6dfd5;
  --blue: #3f5a78;
  --blue-dark: #2d4460;
  --blue-soft: #e4ebf3;
  --seal: #7a5a43;
  --green: #3e7a55;
  --green-soft: #e3f1e7;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(42, 38, 34, .06), 0 8px 28px rgba(42, 38, 34, .08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); font-size: .92em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--seal); margin-bottom: .6em; }
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p:last-child { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid var(--blue); transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(42, 38, 34, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .5em; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand em { font-style: italic; font-weight: 500; color: var(--muted); }
.brand-mark { color: var(--seal); width: 1.2em; height: 1.2em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { overflow-x: clip; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); background: radial-gradient(1000px 500px at 85% 20%, var(--blue-soft), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.tica { width: 92px; opacity: .9; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1100 / 776; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--line); border-radius: 28px; z-index: -1; }

/* Welcome */
.welcome { background: var(--surface); border-block: 1px solid var(--line); }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perks li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.perks svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 12px; }
.perks h3 { font-size: 1.12rem; margin-bottom: .35em; }
.perks p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Photo links */
.photo { display: block; overflow: hidden; border-radius: 14px; background: var(--tint); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.04); }

/* Breeders */
.breeder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.breeder { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: var(--shadow); }
.breeder-photos { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 160px; gap: 10px; }
.breeder-photos .main { grid-row: span 2; }
.breeder[data-set="roman"] .breeder-photos .photo:not(.main) { grid-row: span 2; }
.breeder-body { padding: 18px 10px 6px; }
.role { display: inline-flex; align-items: center; gap: .4em; color: var(--seal); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .2em; }
.breeder h3 { font-size: 2rem; margin: 0; }

/* Kittens */
.kittens { background: var(--tint); }
.kitten-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kitten { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.kitten .photo { border-radius: 0; aspect-ratio: 1; }
.kitten-body { padding: 18px 20px 20px; position: relative; }
.kitten h3 { margin: 6px 0 2px; }
.kitten p { margin: 0; color: var(--muted); font-size: .95rem; }
.badge { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 600; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: .3em .75em; border-radius: 999px; }
.badge.available { background: var(--blue-soft); color: var(--blue); }

/* Gallery */
.gallery-grid { columns: 4 220px; column-gap: 14px; }
.gallery-grid .photo { margin-bottom: 14px; break-inside: avoid; }

/* Contract */
.contract { background: var(--blue); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.contract .eyebrow { color: #c9d6e6; }
.contract p { color: #dfe7f1; margin: 0; }
.contract h2 { color: #fff; }
.contract-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contract .btn { background: #fff; color: var(--blue); border-color: #fff; flex: none; }
.contract .btn:hover { background: var(--bg); color: var(--blue-dark); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-copy > p { color: var(--muted); }
.contact-list { margin: 28px 0; display: grid; gap: 14px; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.contact-list dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-photo { margin: 0; }
.contact-photo img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc7bd; padding: 48px 0 40px; }
.footer-inner { display: grid; gap: 20px; justify-items: center; text-align: center; }
.site-footer .brand { color: #fff; }
.site-footer .brand em { color: #b7aea3; }
.site-footer .brand-mark { color: #d6b48f; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.site-footer a { color: #e9e3db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.copy { font-size: .88rem; margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 18, 16, .94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); width: auto; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 32px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #bbb; font-size: .9rem; margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo img, .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .perks, .kitten-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(42, 38, 34, .08); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; justify-content: center; }
  .hero-inner, .contact-inner, .breeder-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo::before { display: none; }
  .contract-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .perks { grid-template-columns: 1fr; }
  .kitten-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .kitten-body { padding: 14px; }
  .kitten h3 { font-size: 1.15rem; }
  .breeder-photos { grid-auto-rows: 120px; }
  .gallery-grid { columns: 2; column-gap: 10px; }
  .gallery-grid .photo { margin-bottom: 10px; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .lightbox { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
}
