:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --frost: #e7edf2;
  --ink: #1f2a33;
  --muted: #5d6b76;
  --accent: #4f6e86;
  --accent-dark: #344d61;
  --gold: #b0894f;
  --line: #dde3e8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 51, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
section.alt { background: var(--frost); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); font-weight: 600; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 245, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo b { font-weight: 600; }
.logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.contact .wrap { position: relative; }
.contact-logo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; float: right; margin: 0 0 20px 32px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.contact-grid { clear: both; }
@media (max-width: 700px) { .contact-logo { float: none; width: 110px; height: 110px; margin: 0 0 20px; } }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }

.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 2px solid var(--accent-dark); }
.btn-primary { background: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { color: var(--accent-dark); margin-left: 8px; }
.btn-ghost:hover { background: var(--surface); }

/* Status banner */
.status {
  background: var(--surface); border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.status h3 { margin: 0 0 4px; }
.status p { margin: 0; color: var(--muted); }

/* Litter timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.timeline div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.timeline b { font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; color: var(--accent); grid-row: span 2; line-height: 1; }
.timeline span { font-weight: 600; }
.timeline small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }

/* Cards */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.card .body { padding: 22px 24px 26px; }
.card .meta { color: var(--muted); font-size: .92rem; margin-bottom: .8em; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--frost); color: var(--accent-dark); margin-bottom: 10px; }
.tag.gold { background: #f3e9d8; color: #7a5a26; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 22px; box-shadow: var(--shadow); }

/* Included list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center; }
.price .amount { font-family: "Fraunces", Georgia, serif; font-size: 2.6rem; font-weight: 600; }
.price .small { color: var(--muted); font-size: .92rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; padding: 0; margin: 32px 0 0; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 22px 18px; position: relative; box-shadow: var(--shadow); font-size: .95rem; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-dark); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps strong { display: block; margin-bottom: 4px; }

/* Quotes */
.quote { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.quote p { font-style: italic; }
.quote.invite { display: flex; flex-direction: column; justify-content: center; background: var(--frost); box-shadow: none; border: 2px dashed var(--line); }
.quote.invite p { font-style: normal; color: var(--muted); }
.quote.invite .btn { align-self: flex-start; }
.quote .who { font-style: normal; color: var(--muted); font-size: .9rem; }

/* Next-litter preview photos */
.preview-head { margin-top: 36px; }
.preview-head h3 { margin-bottom: 4px; }
.preview-head p { color: var(--muted); margin: 0; }
.preview-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 16px; }
.preview-grid figure { margin: 0; }
.preview-grid img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.preview-grid figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.preview-grid figure:first-child img { object-position: center 65%; }
@media (max-width: 900px) {
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .preview-grid figure:first-child { grid-column: 1 / -1; }
  /* Fullbreddebildet vises uten beskjæring, så ingen ansikter kuttes */
  .preview-grid figure:first-child img { height: auto; aspect-ratio: 1200 / 835; }
}
@media (max-width: 700px) { .preview-grid figure:not(:first-child) img { height: 220px; } }

/* Photo strip */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gallery figure { scroll-snap-align: start; }
}

/* Show results inside cat cards */
details.results { background: var(--frost); border: 0; padding: 10px 14px; margin: 0 0 14px; }
details.results summary { font-size: .92rem; color: var(--accent-dark); }
details.results ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: .85rem; line-height: 1.5; }
details.results li { padding: 5px 0; border-top: 1px solid var(--line); }
details.results b { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
details.results strong { color: #7a5a26; }
details.results em { color: var(--accent-dark); }

/* FAQ */
details { background: var(--surface); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; gap: .6em; align-items: baseline; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "›"; flex: none; color: var(--accent); font-weight: 700; transition: transform .15s; }
details[open] > summary::before { transform: rotate(90deg); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Memorial */
.memorial { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.memorial .card img { aspect-ratio: 4/3; filter: saturate(.85); }

/* Contact */
.contact { background: var(--ink); color: #eef2f5; }
.contact a { color: #fff; }
.contact .lead { color: #c3ced6; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.contact-item { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 22px; }
.contact-item .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #9fb2c1; }
.contact-item .value { font-size: 1.15rem; font-weight: 600; }

footer { background: #18222a; color: #9fb2c1; font-size: .9rem; padding: 26px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: #c3ced6; }

/* Placeholder marker – fjernes når teksten er fylt inn */
.todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; }

/* Litter page */
.litter-head { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0 40px; }
.fact { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.fact .label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.fact .value { font-weight: 600; font-size: 1.05rem; }
.chart-box { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.chart-area { position: relative; height: 380px; }
.kitten-status { font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.st-ledig { background: #dcefe0; color: #1f6b35; }
.st-reservert { background: #f3e9d8; color: #7a5a26; }
.st-solgt, .st-blir, .st-ble { background: #e6e6e6; color: #555; }
table.weights { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .95rem; }
table.weights th, table.weights td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.weights th:first-child, table.weights td:first-child { text-align: left; }
.note { font-size: .88rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .litter-head { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .memorial, .checklist, .steps, .litter-head { grid-template-columns: 1fr; }
  .btn-ghost { margin: 10px 0 0; }
  #kattunger { grid-template-columns: 1fr 1fr; gap: 12px; }
  #kattunger .body { padding: 12px 14px 16px; }
  #kattunger h3 { font-size: 1.1rem; }
  .chart-area { height: 300px; }
  .chart-box { padding: 16px 12px; }
  .weights-wrap { overflow-x: auto; }
}
