/* Diamonds of USA Cattery
   Palette: pearl, powder blue, soft blue, champagne, slate.
   Type: Italiana (display, all caps) + Raleway (text and navigation). */

:root {
  --pearl: #f7f9fb;
  --white: #ffffff;
  --powder: #e6eef4;
  --blue: #b9cedd;
  --blue-deep: #5f7f96;
  --champagne: #d9c7a7;
  --champagne-soft: #f3ece0;
  --slate: #2e3440;
  --slate-soft: #5b6573;
  --line: #dde6ed;

  --display: "Italiana", "Didot", "Bodoni 72", serif;
  --text: "Raleway", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 32px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 50px -30px rgb(46 52 64 / 0.35);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--slate-soft);
  font: 400 1.0625rem/1.75 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--slate); text-decoration-color: var(--champagne); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
a:hover { text-decoration-color: var(--slate); }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--slate); margin: 0 0 0.5em; font-weight: 400; }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font: 600 0.95rem/1.4 var(--text); text-transform: uppercase; letter-spacing: 0.08em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 18px; border-radius: 999px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(64px, 10vw, 120px); }
.section--powder { background: var(--powder); }
.section--white { background: var(--white); }
.section--rounded { border-radius: var(--radius-lg); margin-inline: clamp(8px, 2vw, 24px); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.7; }
.muted { color: var(--slate-soft); }
.small { font-size: 0.875rem; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); }

/* Airy background bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubbles span { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--white), var(--powder) 60%, transparent 72%); opacity: 0.9; }
.section > .wrap, .section > .narrow { position: relative; z-index: 1; }

/* Doodles: outlined shapes with an offset shadow */
.doodle { position: absolute; width: var(--size, 72px); z-index: 2; pointer-events: none; animation: bob 7s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--rot, 0deg) + 6deg)); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  border: 1.5px solid var(--slate); border-radius: 999px;
  background: var(--slate); color: var(--pearl);
  font: 600 0.82rem/1 var(--text); text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, box-shadow 0.25s;
  box-shadow: 4px 4px 0 var(--champagne);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--champagne); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--champagne); }
.btn--soft { background: var(--champagne-soft); color: var(--slate); border-color: var(--champagne-soft); box-shadow: none; }
.btn--soft:hover { background: var(--champagne); border-color: var(--champagne); box-shadow: none; }
.btn--ghost { background: transparent; color: var(--slate); box-shadow: none; }
.btn--ghost:hover { background: var(--slate); color: var(--pearl); box-shadow: none; }
.btn--light { background: var(--pearl); color: var(--slate); border-color: var(--pearl); box-shadow: 4px 4px 0 var(--champagne); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* A long soft bar link, like "Learn more about…" in the reference */
.bar-link { display: block; margin-top: 28px; padding: 18px 24px; border-radius: 999px; background: var(--champagne-soft); color: var(--slate); text-align: center; text-decoration: none; font-weight: 500; transition: background 0.2s; }
.bar-link:hover { background: var(--champagne); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background 0.35s, color 0.35s, box-shadow 0.35s; }
.site-header__in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px var(--gutter) 14px; transition: padding 0.35s; }
.logo { display: block; background: transparent; padding: 2px 6px; transition: padding 0.35s; }
/* A slight dark shadow separates the gold logo from bright photos without softening its edges */
.logo img { width: 150px; height: auto; transition: width 0.35s, filter 0.35s; filter: drop-shadow(0 1px 1.5px rgb(46 52 64 / 0.35)); }
.nav { display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; }
.nav a { position: relative; color: inherit; text-decoration: none; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 6px; text-shadow: 0 1px 12px rgb(46 52 64 / 0.45); }
.nav a::after {
  /* hand-drawn circle around the current page, as in the reference */
  content: ""; position: absolute; inset: -4px -16px; opacity: 0; transform: scale(0.85) rotate(-4deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M18 9C40 1 98 2 112 18c10 14-24 27-56 28C24 47 4 39 7 25 9 16 24 9 44 7' fill='none' stroke='%23D9C7A7' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.nav a[aria-current="page"]::after, .nav a:hover::after { opacity: 1; transform: none; }
.nav a:hover::after { opacity: 0.6; }
.nav a[aria-current="page"]::after { opacity: 1; }
.menu-btn { display: none; }

.site-header.is-solid { background: rgb(247 249 251 / 0.94); backdrop-filter: blur(12px); color: var(--slate); box-shadow: 0 10px 30px -24px rgb(46 52 64 / 0.6); }
.site-header.is-solid .site-header__in { flex-direction: row; justify-content: space-between; padding-block: 10px; }
.site-header.is-solid .logo { padding: 2px 6px; }
.site-header.is-solid .logo img { filter: none; }
.site-header.is-solid .logo img { width: 112px; }
.site-header.is-solid .nav a { text-shadow: none; }

@media (max-width: 900px) {
  .site-header__in { flex-direction: row; justify-content: space-between; }
  .logo img { width: 110px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px;
    border: 0; border-radius: 999px; background: var(--pearl); color: var(--slate);
    font: 600 0.78rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
    box-shadow: 3px 3px 0 var(--champagne);
  }
  .menu-btn span { display: grid; gap: 4px; }
  .menu-btn span i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    background: var(--pearl); color: var(--slate);
    opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
  }
  .nav a { font: 400 clamp(2rem, 9vw, 2.8rem)/1.1 var(--display); letter-spacing: 0.04em; text-shadow: none; padding: 10px 24px; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .menu-btn span i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-open .menu-btn span i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero and banners ---------- */
/* --header-space keeps hero and banner text clear of the fixed logo + menu */
.hero { --header-space: 210px; position: relative; min-height: clamp(620px, 100svh, 940px); padding-top: var(--header-space); display: flex; align-items: flex-end; overflow: hidden; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.hero__img, .banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { object-position: 50% 35%; }
@media (min-width: 701px) {
  /* Shift the photo right so the kitten sits beside the headline, as in the reference */
  .hero__img { width: 125%; max-width: none; left: auto; right: -25%; object-position: 50% 30%; }
}
.hero::before, .banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(46 52 64 / 0.62), rgb(46 52 64 / 0.05) 55%), linear-gradient(to bottom, rgb(46 52 64 / 0.35), transparent 30%); }
.hero::before, .banner::before { background: linear-gradient(100deg, rgb(46 52 64 / 0.86) 0%, rgb(46 52 64 / 0.66) 34%, rgb(46 52 64 / 0.12) 60%, rgb(46 52 64 / 0) 72%), linear-gradient(to bottom, rgb(46 52 64 / 0.35), transparent 28%); }
@media (max-width: 700px) {
  .hero::before, .banner::before { background: linear-gradient(to top, rgb(46 52 64 / 0.9) 0%, rgb(46 52 64 / 0.7) 35%, rgb(46 52 64 / 0.05) 72%), linear-gradient(to bottom, rgb(46 52 64 / 0.3), transparent 22%); }
  .hero__img { object-position: 50% 0%; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero .doodle + .doodle { display: none; }
}
.hero__content { position: relative; z-index: 2; color: var(--white); padding-bottom: clamp(48px, 9vw, 96px); }
.hero h1 { font-size: clamp(2.9rem, min(8vw, 10.5vh), 6.4rem); color: var(--white); max-width: 11ch; margin-bottom: 0.3em; text-shadow: 0 2px 30px rgb(46 52 64 / 0.35); }
.hero__tagline { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--display); letter-spacing: 0.03em; margin-bottom: 0; }
.hero .btn-row { margin-top: 32px; }
.hero .doodle { z-index: 2; }

.banner { --header-space: 210px; position: relative; min-height: clamp(380px, 52vw, 520px); padding-top: var(--header-space); display: flex; align-items: flex-end; overflow: hidden; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.banner__content { position: relative; z-index: 2; padding-bottom: clamp(32px, 6vw, 60px); }
.banner h1 { color: var(--white); margin: 0; text-shadow: 0 2px 30px rgb(46 52 64 / 0.35); }
.banner p { color: rgb(255 255 255 / 0.95); margin: 10px 0 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }

@media (max-width: 900px) { .hero, .banner { --header-space: 120px; } }

/* One orchestrated load moment */
.reveal { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Kitten cards (reference: photo with tag, caps name, breed line) ---------- */
.kitten-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(22px, 3vw, 36px); }
.kcard { display: block; text-decoration: none; color: inherit; }
.kcard__photo { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--powder); }
.kcard__photo img { width: 100%; height: 100%; object-fit: contain; background: var(--white); transition: transform 0.6s var(--ease); }
.kcard__video { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgb(46 52 64 / 0.75); color: var(--pearl); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; }
.kcard:hover .kcard__photo img { transform: scale(1.04); }
.kcard__tag { position: absolute; right: 12px; bottom: 12px; padding: 9px 16px; border-radius: 999px; background: var(--champagne-soft); color: var(--slate); font-size: 0.82rem; font-weight: 600; box-shadow: 3px 3px 0 var(--slate); transition: transform 0.25s var(--ease); }
.kcard:hover .kcard__tag { transform: translate(-2px, -2px); }
.kcard[data-status="reserved"] .kcard__tag, .kcard[data-status="adopted"] .kcard__tag { background: var(--white); box-shadow: none; color: var(--slate-soft); }
.kcard[data-status="upcoming"] .kcard__tag { background: var(--powder); }
.kcard[data-status="adopted"] img, .kcard[data-status="reserved"] img { filter: saturate(0.55); }
.kcard__name { margin: 18px 0 2px; }
.kcard__meta { margin: 0; font-size: 0.95rem; }
.kcard__price { margin: 4px 0 0; font-weight: 600; color: var(--slate); font-size: 0.95rem; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip { border: 1.5px solid var(--line); background: var(--white); color: var(--slate); border-radius: 999px; padding: 10px 20px; font: 500 0.88rem var(--text); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--pearl); }
.empty { text-align: center; padding: 40px 20px; border: 1.5px dashed var(--blue); border-radius: var(--radius); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.photo-round { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo-round img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; }
.photo-stack .doodle { --size: 80px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* "Why" block: big photo + soft panel with accordion */
.why { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--champagne-soft); }
.why__photo { min-height: 420px; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.why__panel { padding: clamp(24px, 5vw, 64px); align-self: center; min-width: 0; }
.why__photo { min-width: 0; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } .why__photo { min-height: 0; width: 100%; aspect-ratio: 4 / 3; } }

/* Accordions (details/summary) */
.accordion details { border-bottom: 1px solid rgb(46 52 64 / 0.14); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; color: var(--slate); font: 600 0.98rem/1.4 var(--text); text-transform: uppercase; letter-spacing: 0.06em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%232E3440' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform 0.3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion details > div { padding: 0 0 20px; }
.accordion details > div p:last-child { margin-bottom: 0; }
.accordion--boxed details { background: var(--white); border: 0; border-radius: var(--radius); padding: 0 24px; margin-bottom: 12px; }
.accordion--boxed summary::after { background-color: var(--powder); }

/* Steps: a real sequence, so numbers are meaningful */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; background: var(--powder); color: var(--slate); font: 400 1.5rem/1 var(--display); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: 0.97rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Included list as soft bubbles */
.bubble-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bubble-list li { background: var(--white); border-radius: 999px; padding: 10px 18px; color: var(--slate); font-size: 0.95rem; box-shadow: 0 8px 20px -16px rgb(46 52 64 / 0.6); }
.bubble-list li::before { content: "◆"; color: var(--blue); margin-right: 8px; font-size: 0.7em; vertical-align: 0.15em; }
.section--white .bubble-list li { background: var(--powder); box-shadow: none; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--powder) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232E3440' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Feature trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trio > div { background: var(--white); border-radius: var(--radius); padding: 32px 28px; }
.section--white .trio > div { background: var(--pearl); }
.trio__icon { width: 56px; margin-bottom: 18px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-grid { columns: 3 260px; column-gap: 18px; }
.gallery-grid button { display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; break-inside: avoid; }
.gallery-grid img { width: 100%; transition: transform 0.6s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.03); }
.peek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.peek a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.peek a:nth-child(even) { transform: translateY(28px); }
.peek img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.peek a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .peek { grid-template-columns: 1fr 1fr; } .peek a:nth-child(even) { transform: none; } }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(46 52 64 / 0.82); backdrop-filter: blur(4px); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--pearl); color: var(--slate); font-size: 1.4rem; cursor: pointer; box-shadow: 3px 3px 0 var(--champagne); }
.lightbox__prev { left: -26px; }
.lightbox__next { right: -26px; }
.lightbox__close { position: absolute; top: -18px; right: -18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--pearl); font-size: 1.3rem; cursor: pointer; color: var(--slate); }
@media (max-width: 700px) { .lightbox__prev { left: 6px; } .lightbox__next { right: 6px; } .lightbox__close { right: 6px; top: 6px; } }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--white); border-radius: var(--radius); padding: 30px; margin: 0; position: relative; }
.quote::before { content: "“"; position: absolute; top: -10px; left: 22px; font: 400 5rem/1 var(--display); color: var(--blue); }
.quote p { color: var(--slate); font-size: 1.02rem; margin-top: 22px; }
.quote cite { font-style: normal; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Kitten detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(130px, 16vw, 170px); }
.detail__main { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--powder); }
.detail__main img, .detail__main video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.detail__main video { object-fit: contain; background: var(--slate); }
.detail__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.detail__thumbs button { width: 84px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; }
.detail__thumbs button[aria-current="true"] { border-color: var(--slate); }
.detail__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs button { position: relative; }
.detail__thumbs .is-video::after { content: "\25B6"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-size: 1.3rem; background: rgb(46 52 64 / 0.35); }
.crumbs { font-size: 0.85rem; margin-bottom: 14px; }
.crumbs a { color: var(--slate-soft); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--powder); color: var(--slate); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5e9d7a; }
.status[data-status="reserved"]::before { background: var(--champagne); }
.status[data-status="adopted"]::before { background: var(--slate-soft); }
.status[data-status="upcoming"]::before { background: var(--blue-deep); }
.detail h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 14px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.tags li { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; color: var(--slate); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin: 28px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; padding-top: 3px; }
.facts dd { margin: 0; color: var(--slate); font-weight: 500; }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.card + .card { margin-top: 18px; }
.price { font: 400 clamp(2.4rem, 5vw, 3.2rem)/1 var(--display); color: var(--slate); }
.buy-area { margin-top: 20px; min-height: 52px; }
.note { font-size: 0.85rem; line-height: 1.6; margin: 16px 0 0; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }

/* Sticky reserve bar on phones */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--white); box-shadow: 0 16px 40px -18px rgb(46 52 64 / 0.6); }
  .mobile-bar strong { color: var(--slate); display: block; line-height: 1.2; }
  .mobile-bar .btn { min-height: 46px; padding: 0 22px; box-shadow: none; }
  .has-mobile-bar { padding-bottom: 90px; }
}

/* Delivery estimate */
.estimate label { display: block; font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.estimate input { width: 100%; max-width: 220px; font: 500 1.3rem var(--text); letter-spacing: 0.12em; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--pearl); color: var(--slate); }
.estimate__result { margin-top: 14px; }
.estimate__result strong { display: block; font: 400 2rem/1.1 var(--display); color: var(--slate); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > legend { padding: 0; margin-bottom: 7px; }
.form-title { grid-column: 1 / -1; margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font: 400 1.7rem/1.1 var(--display); text-transform: uppercase; color: var(--slate); }
.form-title:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.field { display: grid; gap: 7px; align-content: start; }
.field > label, .field > legend { font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--slate);
  padding: 13px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 4px var(--powder); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font-size: 0.95rem; color: var(--slate); }
.choices input { accent-color: var(--slate); margin: 0; }
.choices label:has(input:checked) { border-color: var(--slate); background: var(--powder); }
.form-status { grid-column: 1 / -1; padding: 14px 20px; border-radius: var(--radius-sm); background: var(--powder); color: var(--slate); }
.form-status[data-kind="error"] { background: #f6e7e4; }
.form-status:empty { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.form [hidden] { display: none !important; }
.field.is-invalid legend, .field.is-invalid .sig-label { color: #a4473a; }

/* Signature pad */
.sig-label { font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.sig-pad { position: relative; height: 170px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; }
.sig-pad::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 42px; border-bottom: 1.5px dashed var(--blue); pointer-events: none; }
.sig-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; z-index: 1; }
.sig-pad__hint { position: absolute; left: 22px; bottom: 14px; font-size: 0.82rem; color: var(--slate-soft); pointer-events: none; transition: opacity 0.2s; }
[data-signed] .sig-pad__hint { opacity: 0; }
.field.is-invalid .sig-pad { border-color: #a4473a; }
.sig-actions { display: flex; justify-content: flex-end; }
.sig-clear { border: 0; background: none; padding: 4px 0; color: var(--slate-soft); font: 500 0.85rem var(--text); text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 0.25em; cursor: pointer; }
.sig-clear:hover { color: var(--slate); }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.inline-form input { flex: 1 1 240px; max-width: 360px; font: inherit; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--slate); }
.inline-form .form-status { flex-basis: 100%; text-align: center; }

/* Contact */
.info-list { display: grid; gap: 22px; }
.info-list h3 { margin: 0 0 2px; font-size: 0.75rem; color: var(--slate-soft); }
.info-list p { margin: 0; color: var(--slate); }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }

/* Prose pages */
.prose h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.callout { background: var(--champagne-soft); border-radius: var(--radius); padding: 18px 22px; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: clamp(40px, 6vw, 80px); background: var(--powder); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: clamp(56px, 8vw, 90px) 0 30px; overflow: hidden; }
.footer-top { text-align: center; margin-bottom: 56px; }
.footer-top img { width: 170px; margin: 0 auto 12px; }
.footer-top p { margin: 0 auto; font: 400 1.6rem/1.2 var(--display); text-transform: uppercase; color: var(--slate); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-grid h2 { font: 600 0.78rem var(--text); letter-spacing: 0.14em; color: var(--slate); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--slate-soft); }
.footer-grid a:hover { color: var(--slate); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pearl); color: var(--slate); }
.socials svg { width: 18px; height: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(46 52 64 / 0.12); font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Chat dock: "Chat with a cat!" (WhatsApp) + Diamond Assistant ---------- */
.chat-dock { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: 10px; }
.has-mobile-bar .chat-dock { bottom: 88px; }

.chat-cat {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 10px 0 8px;
  border-radius: 999px; background: var(--white); color: var(--slate); text-decoration: none;
  font: 600 0.92rem var(--text); box-shadow: 0 14px 30px -14px rgb(46 52 64 / 0.55), 3px 3px 0 var(--champagne);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.chat-cat:hover { transform: translate(-2px, -2px); box-shadow: 0 14px 30px -14px rgb(46 52 64 / 0.55), 5px 5px 0 var(--champagne); }
.chat-cat__face { width: 40px; height: 40px; flex: none; }
.chat-cat__wa { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--powder); }
.chat-cat__wa svg { width: 18px; height: 18px; }

.chat-open {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: var(--slate);
  box-shadow: 0 14px 30px -14px rgb(46 52 64 / 0.7), 3px 3px 0 var(--champagne);
  transition: transform 0.25s var(--ease);
}
.chat-open:hover { transform: translate(-2px, -2px) rotate(-6deg); }
.chat-open svg { width: 30px; height: 30px; }
.chat-open svg path:first-child { fill: var(--champagne); stroke: var(--pearl); }
.chat-dock.is-open .chat-open { background: var(--blue-deep); }

.chat-teaser { position: absolute; right: 0; bottom: 70px; display: flex; align-items: flex-start; gap: 4px; max-width: 250px; padding: 12px 10px 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--white); box-shadow: 0 16px 34px -18px rgb(46 52 64 / 0.6); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.35s, transform 0.45s var(--ease); }
.chat-teaser.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.chat-teaser__text { border: 0; background: none; padding: 0; text-align: left; font: 500 0.92rem/1.4 var(--text); color: var(--slate); cursor: pointer; }
.chat-teaser__close { border: 0; background: none; padding: 0 4px; font-size: 1.1rem; line-height: 1; color: var(--slate-soft); cursor: pointer; }

.chat-panel {
  position: fixed; right: 18px; bottom: 86px; z-index: 60; display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 24px)); height: min(580px, calc(100svh - 200px)); min-height: 360px;
  border-radius: var(--radius-lg); background: var(--pearl); overflow: hidden;
  box-shadow: 0 30px 70px -30px rgb(46 52 64 / 0.6), 0 0 0 1px var(--line);
  animation: chat-pop 0.35s var(--ease);
}
.chat-panel[hidden] { display: none; }
.has-mobile-bar .chat-panel { bottom: 156px; height: min(560px, calc(100svh - 190px)); }
@keyframes chat-pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.chat-panel__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; background: var(--powder); }
.chat-panel__avatar { width: 42px; height: 42px; flex: none; padding: 6px; border-radius: 50%; background: var(--white); }
.chat-panel__head h2 { margin: 0; font: 400 1.35rem/1.1 var(--display); letter-spacing: 0.03em; }
.chat-panel__head p { margin: 2px 0 0; font-size: 0.78rem; line-height: 1.35; }
.chat-panel__close { margin-left: auto; align-self: flex-start; width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: var(--white); color: var(--slate); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.chat-panel__log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chat-msg { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 0.93rem; line-height: 1.55; }
.chat-msg p { margin: 0 0 0.6em; }
.chat-msg p:last-child, .chat-msg ul:last-child, .chat-msg ol:last-child { margin-bottom: 0; }
.chat-msg ul, .chat-msg ol { margin: 0 0 0.6em; padding-left: 1.2em; }
.chat-msg--bot { align-self: flex-start; background: var(--white); color: var(--slate); border-bottom-left-radius: 6px; box-shadow: 0 8px 18px -16px rgb(46 52 64 / 0.6); }
.chat-msg--user { align-self: flex-end; background: var(--slate); color: var(--pearl); border-bottom-right-radius: 6px; }
.chat-msg__btn { display: inline-block; margin-top: 4px; padding: 8px 14px; border-radius: 999px; background: var(--powder); color: var(--slate); font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.chat-msg__btn:hover { background: var(--blue); }
.chat-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-deep); animation: chat-dot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-panel__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; }
.chat-panel__chips[hidden] { display: none; }
.chat-panel__chips button { border: 1.5px solid var(--line); background: var(--white); color: var(--slate); border-radius: 999px; padding: 7px 12px; font: 500 0.82rem var(--text); cursor: pointer; }
.chat-panel__chips button:hover { border-color: var(--blue); background: var(--powder); }
.chat-panel__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-panel__form input { flex: 1; min-width: 0; font: inherit; font-size: 0.95rem; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--pearl); color: var(--slate); }
.chat-panel__form input:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px var(--powder); }
.chat-panel__form button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--slate); color: var(--pearl); cursor: pointer; }
.chat-panel__form button svg { width: 18px; height: 18px; }
.chat-panel__foot { margin: 0; padding: 0 16px 12px; background: var(--white); font-size: 0.78rem; text-align: center; max-width: none; }

@media (max-width: 560px) {
  .chat-dock { right: 12px; bottom: 12px; gap: 8px; }
  .has-mobile-bar .chat-dock { bottom: 82px; }
  .chat-cat { height: 52px; font-size: 0.86rem; }
  .chat-open { width: 52px; height: 52px; }
  .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100svh; max-height: none; border-radius: 0; }
  .has-mobile-bar .chat-panel { bottom: 0; height: 100svh; }
  .chat-panel__head { padding-top: max(16px, env(safe-area-inset-top)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.more-kittens { margin-top: clamp(64px, 9vw, 110px); }

/* "What happens next" steps on the application, kitten and deposit pages */
.mini-steps { list-style: none; counter-reset: mini; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; text-align: left; }
.mini-steps li { counter-increment: mini; position: relative; padding: 16px 16px 16px 58px; border-radius: var(--radius); background: var(--white); font-size: 0.9rem; line-height: 1.45; box-shadow: 0 10px 24px -20px rgb(46 52 64 / 0.6); }
.mini-steps li::before { content: counter(mini); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--powder); color: var(--slate); font: 400 1.15rem/1 var(--display); }
.mini-steps strong { display: block; color: var(--slate); font-weight: 600; }
.mini-steps--compact { grid-template-columns: 1fr; gap: 8px; margin: 16px 0 4px; }
.mini-steps--compact li { padding: 10px 12px 10px 52px; background: var(--pearl); box-shadow: none; }
.mini-steps--compact li::before { top: 9px; width: 28px; height: 28px; font-size: 1rem; }
@media (max-width: 700px) { .mini-steps { grid-template-columns: 1fr; } }

.deposit__photo { width: min(260px, 70%); aspect-ratio: 3 / 4; object-fit: contain; background: var(--white); margin: 0 auto 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Keep decorative doodles off the text on narrower screens */
@media (max-width: 960px) { [data-thanks] .doodle, .deposit .doodle { display: none; } }

/* Waitlist option cards */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.option { display: flex; flex-direction: column; gap: 6px; background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.option h3 { font: 400 clamp(1.7rem, 3vw, 2.2rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 10px; }
.option__price { margin: 0; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--powder); color: var(--slate); font-weight: 600; font-size: 0.85rem; }
.option--featured { outline: 2px solid var(--champagne); }
.option--featured .option__price { background: var(--champagne-soft); }
.option .check-list { margin-bottom: 10px; }
.option .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } }

.policy-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--champagne-soft); color: var(--slate); font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.policy-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--slate); }

/* Retired kings and queens */
.kcard[data-status="retired"] .kcard__tag { background: var(--champagne-soft); }
.status[data-status="retired"]::before { background: var(--champagne); }
