/* Self-hostade typsnitt (Fraunces + Inter, latin/latin-ext) */
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjdPeQ7ZXk8kD6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjeveQ7ZXk8g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxCFTeP2Xz5fU8w.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeP2Xz5c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Kennel Endicott – stilmall (style sheet)
   Vill du byta färger? Ändra bara värdena under :root nedan.
   To change colours: edit only the values under :root below.
   ========================================================= */

:root {
  /* ---- FÄRGER / COLOURS ---- */
  --gold:        #b3812f;   /* honungsguld / honey gold          */
  --gold-deep:   #8a6224;   /* mörkare guld – text & knappar     */
  --gold-soft:   #e9d9b8;   /* ljus guldton / soft gold tint     */
  --bg:          #faf7f0;   /* varmt papper / warm paper         */
  --bg-alt:      #f2ecdf;   /* alternativ sektion / alt section  */
  --card:        #fffdf9;   /* kort / cards                      */
  --ink:         #26201a;   /* text                              */
  --muted:       #6d6152;   /* dämpad text / muted text          */
  --line:        #e6dcc9;   /* linjer / borders                  */
  --dark:        #211a12;   /* mörka ytor / dark surfaces        */
  --dark-2:      #2c2318;   /* mörk yta, ljusare / dark lighter  */
  --on-dark:     #efe6d6;   /* text på mörkt / text on dark      */
  --on-dark-dim: #b5a68d;   /* dämpad text på mörkt              */

  /* ---- ÖVRIGT / MISC ---- */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(46, 34, 16, .05), 0 8px 24px rgba(46, 34, 16, .06);
  --shadow-lg: 0 2px 4px rgba(46, 34, 16, .06), 0 24px 56px rgba(46, 34, 16, .13);
  --maxw: 1160px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

a, button { touch-action: manipulation; }

/* ankarlänkar hamnar inte under menyn / anchors clear the sticky header */
[id] { scroll-margin-top: 94px; }

/* mjuk övergång mellan sidor / cross-document view transition */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

/* hoppa till innehållet / skip link (syns bara med tangentbord) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem;
  padding: 14px 22px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

img { max-width: 100%; display: block; }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 550;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -.01em;
}

::selection { background: var(--gold-soft); color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* liten kursiv accent i rubriker / italic accent in headings */
.em { font-style: italic; font-weight: 480; color: var(--gold-deep); letter-spacing: 0; }

/* ---------- ETIKETT ÖVER RUBRIK / EYEBROW ---------- */
.eyebrow, .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  font-weight: 600; color: var(--gold-deep); margin: 0 0 16px;
}
.eyebrow::before, .hero-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold); flex: 0 0 auto;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 560; letter-spacing: .01em;
  color: var(--ink); text-decoration: none;
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--gold-deep); font-style: italic; font-weight: 480; }
.brand small {
  font-family: var(--font-body); font-size: .58rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px;
}

.nav-links { display: flex; gap: 2px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 13px;
  color: var(--ink); font-weight: 500; font-size: .9rem;
  border-radius: 8px; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { text-decoration: none; color: var(--gold-deep); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-deep); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 12px 10px; }
.nav-toggle span { display: block; width: 23px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- KNAPPAR / BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  letter-spacing: .01em; cursor: pointer; border: 0; line-height: 1.2;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease),
              transform .25s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--gold-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid #cdbfa4; }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); background: rgba(179, 129, 47, .06); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- STOR HERO / FULL-BLEED HERO ---------- */
.hero-full {
  position: relative;
  min-height: min(92vh, 860px);
  min-height: min(92svh, 860px);
  display: flex; align-items: center;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}
.hero-full .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: slowzoom 18s var(--ease) forwards;
}
@keyframes slowzoom { to { transform: scale(1); } }
.hero-full::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(75deg, rgba(24, 18, 10, .82) 0%, rgba(24, 18, 10, .55) 42%, rgba(24, 18, 10, .12) 78%),
    linear-gradient(180deg, rgba(24, 18, 10, .25) 0%, rgba(24, 18, 10, 0) 30%, rgba(24, 18, 10, .45) 100%);
}
.hero-full .hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding: 120px 28px 140px; max-width: var(--maxw); margin: 0 auto;
  text-align: left;
}
.hero-full .hero-eyebrow { color: #e8c98b; }
.hero-full .hero-eyebrow::before { background: #e8c98b; }
.hero-full h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  font-weight: 480;
  margin: 0 0 26px; line-height: 1.04; letter-spacing: -.015em;
  max-width: 14ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.hero-full h1 .em { color: #edd29a; }
.hero-full p.lead {
  color: rgba(248, 242, 230, .92);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 400;
  max-width: 52ch; margin: 0 0 38px; line-height: 1.75;
}
.hero-full .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero-full .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }

.scroll-cue {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 1px; height: 72px; overflow: hidden;
  background: rgba(255, 255, 255, .22);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: #fff; animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop { 0% { top: -50%; } 100% { top: 110%; } }

/* ---------- STATISTIK / STAT STRIP ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.stat-strip .stat { padding: 44px 16px 40px; }
.stat-strip .stat + .stat { border-left: 1px solid var(--line); }
.stat-strip .num {
  font-family: var(--font-head); font-weight: 480; font-style: italic;
  font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--gold-deep); line-height: 1;
}
.stat-strip .lbl {
  color: var(--muted); font-size: .78rem; margin-top: 10px;
  text-transform: uppercase; letter-spacing: .18em; font-weight: 600;
}

/* ---------- SEKTIONER / SECTIONS ---------- */
section.block { padding: 96px 0; }
.section-head { max-width: 62ch; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 18px; font-weight: 500; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- EDITORIAL TVÅSPALT / SPLIT SECTION ---------- */
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center;
  padding: 0;
}
.hero-grid h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin: 0 0 18px; font-weight: 500; }
.hero-grid p.lead { font-size: 1.1rem; color: var(--muted); max-width: 50ch; margin: 0 0 26px; }
.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%;
}
.img-frame { position: relative; }
.img-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-soft); border-radius: var(--radius);
  pointer-events: none;
}

/* faktarad / fact rows */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: .98rem; margin: 0; }
.facts dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; padding-top: 3px; }
.facts dd { margin: 0; font-family: var(--font-head); font-size: 1.05rem; }

/* ---------- FOTOKORT (startsidan) / PHOTO LINK CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.photo-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; cursor: pointer;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.photo-card:hover { text-decoration: none; box-shadow: var(--shadow-lg); border-color: #d8c9a8; transform: translateY(-4px); }
.photo-card:active { transform: scale(.985); }
.photo-card .pc-img { overflow: hidden; aspect-ratio: 4 / 3; }
.photo-card .pc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.photo-card:hover .pc-img img { transform: scale(1.06); }
.photo-card .pc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.photo-card h3 { margin: 0 0 8px; font-size: 1.35rem; font-weight: 550; }
.photo-card p { color: var(--muted); margin: 0 0 18px; font-size: .93rem; line-height: 1.65; flex: 1; }
.photo-card .pc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-deep);
}
.photo-card .pc-link svg { transition: transform .25s var(--ease); }
.photo-card:hover .pc-link svg { transform: translateX(5px); }

/* ---------- HUNDKORT / DOG CARDS (hanar & tikar) ---------- */
.dog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.dog {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.dog:hover { box-shadow: var(--shadow-lg); border-color: #d8c9a8; }
.dog > img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.dog .body { padding: 26px 28px 30px; }
.dog h2 { margin: 0 0 6px; font-size: 1.32rem; font-weight: 550; line-height: 1.3; }
.dog .nickname { color: var(--gold-deep); font-style: italic; font-weight: 480; white-space: nowrap; }
.dog .reg {
  color: var(--muted); font-size: .8rem; margin: 0 0 18px;
  letter-spacing: .04em;
}
.dog dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: .92rem; }
.dog dt { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; padding-top: 3px; }
.dog dd { margin: 0; }
.dog .merit {
  margin-top: 18px; padding: 12px 16px;
  background: var(--bg); border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem; color: var(--ink);
}

/* ---------- FLIKAR / TABS ---------- */
.tabs-wrap { text-align: center; }
.tabs {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  max-width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; padding: 5px; box-shadow: var(--shadow); margin: 0 auto 48px;
}
.tab-btn {
  border: 0; background: transparent; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; font-size: .9rem; color: var(--muted); padding: 10px 24px; border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { background: var(--ink); color: var(--bg); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- NAMNRUTNÄT / NAME GRID (tidigare hundar) ---------- */
.name-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.name-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.name-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.name-card .call { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: 1.18rem; color: var(--gold-deep); }
.name-card .reg { color: var(--muted); font-size: .82rem; margin-top: 3px; line-height: 1.5; }

/* ---------- VALPAR / PUPPIES ---------- */
.badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px; vertical-align: middle;
}
.badge-male   { background: #e8eef7; color: #33557f; }
.badge-female { background: #f7e8ee; color: #8f3d61; }
.badge-free   { background: #e9f3ec; color: #266a43; }
.badge-booked { background: var(--line); color: var(--muted); }

.litter-note { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 32px; font-size: .92rem; font-style: italic; }

/* ---------- KULL / LITTER ---------- */
.litter {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 44px 46px; margin-bottom: 44px;
}
.litter > h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 520; }
.kull-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
  background: var(--ink); color: var(--gold-soft);
}
.litter .kull-meta { color: var(--gold-deep); font-family: var(--font-head); font-style: italic; font-size: 1.02rem; margin-bottom: 30px; }
.litter h4.sub {
  text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--muted);
  font-family: var(--font-body); font-weight: 700;
  margin: 40px 0 18px; border-top: 1px solid var(--line); padding-top: 26px;
}

/* Föräldrar (mamma & pappa) / parents */
.parent-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.parent-big {
  display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.parent-big img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.parent-big:hover img { transform: scale(1.04); }
.parent-big .pb-body { padding: 22px 24px 26px; }
.parent-big .role { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold-deep); font-weight: 700; }
.parent-big h3 { margin: 6px 0 8px; font-size: 1.25rem; font-weight: 550; line-height: 1.3; }
.parent-big p { color: var(--muted); margin: 0; font-size: .92rem; }
/* föräldrakort utan bild / parent card without photo */
.parent-big:not(:has(img)) { border-top: 2px solid var(--gold); justify-content: center; }
.parent-big:not(:has(img)) .pb-body { padding: 30px 24px; }

/* Stamtavla / pedigree */
.pedigree { display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: repeat(2, auto); gap: 12px; }
.ped-cell {
  background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--gold);
  border-radius: var(--radius-sm); padding: 14px 18px;
  display: flex; flex-direction: column; justify-content: center;
}
.ped-cell .r { font-size: .64rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.ped-cell .n { font-family: var(--font-head); font-weight: 520; font-size: 1rem; line-height: 1.3; margin-top: 2px; }
.ped-kull { grid-column: 1; grid-row: 1 / 3; border-left-color: var(--gold-deep); background: linear-gradient(150deg, var(--card), #f6ecd8); }
.ped-far  { grid-column: 2; grid-row: 1; }
.ped-mor  { grid-column: 2; grid-row: 2; }

/* Valp-flikar (hane/tik) inom en kull / pup tabs */
.pup-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 100%;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 24px; padding: 4px; margin-bottom: 24px;
}
.pup-tab {
  border: 0; background: transparent; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; font-size: .88rem; color: var(--muted); padding: 8px 20px; border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.pup-tab:hover { color: var(--ink); }
.pup-tab.active { background: var(--ink); color: var(--bg); }
.pup-grid { display: none; }
.pup-grid.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; animation: fade .4s var(--ease); }
.pup { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.pup img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pup .pup-body { padding: 16px; text-align: center; }
.pup .pup-body h5 { margin: 0 0 6px; font-size: 1.02rem; font-family: var(--font-head); font-weight: 550; }
/* valp utan foto får en tass-platshållare / photo-less pup gets a paw placeholder */
.pup:not(:has(img)) {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 132px;
  background: linear-gradient(160deg, var(--bg), #f2ead6);
}
.pup:not(:has(img)) .pup-body::before {
  content: ""; display: block; width: 32px; height: 32px; margin: 0 auto 10px; opacity: .3;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238a6224"><ellipse cx="12" cy="16" rx="4.6" ry="4"/><ellipse cx="4.6" cy="10.4" rx="2" ry="2.6"/><ellipse cx="9.2" cy="6.6" rx="2" ry="2.8"/><ellipse cx="14.8" cy="6.6" rx="2" ry="2.8"/><ellipse cx="19.4" cy="10.4" rx="2" ry="2.6"/></svg>') center / contain no-repeat;
}
.pup:not(:has(img)) .pup-body::after {
  content: "Foto kommer"; display: block;
  font-size: .74rem; color: var(--muted); font-style: italic; margin-top: 2px;
}

/* ---------- UTSTÄLLNINGAR / SHOWS ---------- */
.show-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 40px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.show-block h2 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 550; }
.show-block .meta { color: var(--gold-deep); font-family: var(--font-head); font-style: italic; font-size: .98rem; margin-bottom: 16px; }
.show-block ul { margin: 0; padding-left: 0; list-style: none; }
.show-block ul li { margin: 0; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; }
.show-block ul li:last-child { border-bottom: 0; }
.show-block ul li::before {
  content: ""; position: absolute; left: 4px; top: 22px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.show-block .judge { color: var(--muted); font-size: .88rem; margin-top: 14px; }

/* ---------- LÄNKAR / LINKS PAGE ---------- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.link-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.link-card:hover { border-color: var(--gold); box-shadow: var(--shadow); text-decoration: none; }
.link-card span { font-weight: 500; color: var(--ink); font-size: .95rem; }
.link-card .arrow { color: var(--gold-deep); transition: transform .25s var(--ease); flex: 0 0 auto; }
.link-card:hover .arrow { transform: translateX(4px); }

/* ---------- KONTAKT / CONTACT ---------- */
.contact-card {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark); border-radius: 22px;
  padding: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.contact-card::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 129, 47, .22), transparent 65%);
  top: -160px; right: -120px; pointer-events: none;
}
.contact-card .eyebrow { color: #e8c98b; }
.contact-card .eyebrow::before { background: #e8c98b; }
.contact-card h2 { color: #fff; margin: 0 0 16px; font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 500; }
.contact-card > div > p { color: var(--on-dark-dim); }
.contact-card a { color: #e8c98b; }
.contact-list { list-style: none; margin: 0; padding: 0; position: relative; }
.contact-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid rgba(239, 230, 214, .12);
  color: var(--on-dark);
}
.contact-list li:last-child { border: 0; }
.contact-list b { color: #fff; font-family: var(--font-head); font-weight: 550; font-size: 1.15rem; }
.contact-list svg { flex: 0 0 auto; color: #e8c98b; transform: translateY(2px); }

/* kontaktlista på ljus bakgrund / contact list on light bg */
.contact-list.on-light li { color: var(--ink); border-bottom-color: var(--line); }
.contact-list.on-light b { color: var(--ink); }
.contact-list.on-light svg { color: var(--gold-deep); }
.contact-list.on-light + p a { }

/* ---------- SIDFOT / FOOTER ---------- */
.site-footer {
  background: var(--dark); color: var(--on-dark-dim);
  margin-top: 40px; font-size: .92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px;
  padding-top: 72px; padding-bottom: 56px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand span { color: #e8c98b; }
.site-footer .brand small { color: var(--on-dark-dim); }
.site-footer p { margin: 0; max-width: 34ch; line-height: 1.75; }
.site-footer h2 {
  color: #fff; font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em; margin: 6px 0 18px;
}
.f-nav ul { list-style: none; margin: 0; padding: 0; }
.f-nav li { padding: 5px 0; }
.f-nav a { color: var(--on-dark-dim); transition: color .2s var(--ease); }
.f-nav a:hover { color: #e8c98b; text-decoration: none; }
.f-contact ul { list-style: none; margin: 0; padding: 0; }
.f-contact li { padding: 5px 0; }
.f-contact a { color: #e8c98b; }
.f-bottom {
  border-top: 1px solid rgba(239, 230, 214, .12);
  padding-top: 26px; padding-bottom: 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem;
}
.f-bottom a { color: var(--on-dark-dim); }
.f-bottom a:hover { color: #e8c98b; }

/* ---------- UNDERSIDORNAS INTRO / SUBPAGE HERO ---------- */
.page-hero {
  padding: 88px 0 72px; text-align: center;
  background:
    radial-gradient(60% 120% at 50% -20%, #f0e6d0 0%, rgba(240, 230, 208, 0) 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 16px; font-weight: 480; }
.page-hero p { color: var(--muted); max-width: 58ch; margin: 0 auto; font-size: 1.05rem; }

/* =========================================================
   ANIMATIONER / ANIMATIONS
   ========================================================= */

/* ---- Golden retriever-muspekare / dog cursor ---- */
@media (pointer: fine) {
  body { cursor: url("img/cursor-dog.png") 4 10, auto; }
  body { cursor: -webkit-image-set(url("img/cursor-dog.png") 1x, url("img/cursor-dog@2x.png") 2x) 4 10, auto; }
  a, button, .btn, .photo-card, .link-card, .tab-btn, .pup-tab, .nav-toggle, .name-card, [onclick] {
    cursor: url("img/cursor-paw.png") 10 8, pointer;
  }
  a, button, .btn, .photo-card, .link-card, .tab-btn, .pup-tab, .nav-toggle, .name-card, [onclick] {
    cursor: -webkit-image-set(url("img/cursor-paw.png") 1x, url("img/cursor-paw@2x.png") 2x) 10 8, pointer;
  }
}

/* ---- Tassavtryck efter musen / paw-print mouse trail ---- */
.paw-print {
  position: fixed; z-index: 90; pointer-events: none;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  color: var(--gold);
  opacity: 0;
  transform: rotate(var(--rot, 0deg)) scale(.5);
  animation: pawpop 1s ease-out forwards;
}
.paw-print svg { width: 100%; height: 100%; display: block; }
@keyframes pawpop {
  12%  { opacity: .5;  transform: rotate(var(--rot, 0deg)) scale(1); }
  100% { opacity: 0;   transform: rotate(var(--rot, 0deg)) scale(1); }
}

/* ---- Bildvisare / lightbox ---- */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 28px; background: rgba(24, 18, 10, .9);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.show { opacity: 1; }
.lightbox img {
  max-width: min(100%, 1000px); max-height: 84vh; max-height: 84svh;
  width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.96); transition: transform .3s var(--ease);
}
.lightbox.show img { transform: none; }
.lightbox figcaption {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center; color: var(--on-dark);
  font-family: var(--font-head); font-style: italic; font-size: 1.05rem;
  padding: 0 60px; pointer-events: none;
}
.lb-close {
  position: absolute; top: 14px; right: 14px;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s var(--ease);
}
.lb-close:hover { background: rgba(255, 255, 255, .22); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img { transition: none; }
}

/* ---- Till toppen-knapp / back to top ---- */
.to-top {
  position: fixed; z-index: 150;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); cursor: pointer;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold-deep); color: #fff; }
.to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .3s; transform: none; } }

/* ---- Scrollprogress / scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 100%; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0); transform-origin: left;
}

/* ---- Guldskimmer på kursiva ord i hero / gold shimmer ---- */
.hero-full h1 .em {
  background: linear-gradient(100deg, #e2bd7c 20%, #ffe9bd 40%, #f3d9a4 50%, #e2bd7c 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s var(--ease) infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0% 0; }
}

/* ---- Kort får mer liv / livelier card hovers ---- */
.photo-card:hover { transform: translateY(-6px) rotate(-.4deg); }
.dog:hover > img { transform: scale(1.04); }
.hero-img { transition: transform .7s var(--ease), box-shadow .4s var(--ease); }
.img-frame:hover .hero-img { transform: scale(1.02); }
.img-frame::before { transition: transform .5s var(--ease); }
.img-frame:hover::before { transform: translate(-6px, -6px); }
.stat .num { display: inline-block; transition: transform .3s var(--ease); }
.stat:hover .num { transform: scale(1.1) rotate(-2deg); }

/* ---- Scroll-avslöjning / reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---- Hero-innehåll tonar in / hero intro ---- */
.hero-inner > * { opacity: 0; animation: heroUp 1s var(--ease) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: .1s; }
.hero-inner > *:nth-child(2) { animation-delay: .25s; }
.hero-inner > *:nth-child(3) { animation-delay: .4s; }
.hero-inner > *:nth-child(4) { animation-delay: .55s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-inner > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-full .hero-bg { animation: none !important; }
  .scroll-cue::after { animation: none !important; }
  .hero-full h1 .em { animation: none !important; }
  .paw-print { display: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVT / RESPONSIVE ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  section.block { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .img-frame::before { display: none; }
  .dog-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .parent-duo { grid-template-columns: 1fr; }
  .pedigree { grid-template-columns: 1fr; grid-template-rows: none; }
  .ped-kull, .ped-far, .ped-mor { grid-column: 1; grid-row: auto; }
  .pup-grid.active { grid-template-columns: repeat(2, 1fr); }
  .litter { padding: 30px 24px; }
  .show-block { padding: 26px 24px; }

  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 14px 20px 22px; display: none;
    max-height: calc(100dvh - 78px); overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: menuDown .3s var(--ease); }
  .nav-links a { padding: 14px 14px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: rgba(179, 129, 47, .1); }
  .nav-toggle { display: block; }

  .hero-full { min-height: 78vh; min-height: 78svh; }
  .hero-full .hero-inner { padding: 72px 28px 96px; }
  .hero-full p.lead { margin-bottom: 30px; }
  .stat-strip .stat { padding: 24px 10px 22px; }
  .stat-strip .num { font-size: 1.9rem; }
  .stat-strip .lbl { font-size: .62rem; letter-spacing: .12em; margin-top: 6px; }
  .section-head { margin-bottom: 40px; }
  .tab-btn { padding: 9px 18px; font-size: .86rem; }
}
@keyframes menuDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .pup-grid.active { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wrap {
    padding: 0 20px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .contact-card { padding: 32px 22px; border-radius: var(--radius); }
  .contact-card h2 { font-size: 1.7rem; }

  section.block { padding: 52px 0; }
  .page-hero { padding: 56px 0 48px; margin-bottom: 24px; }

  /* hero: hela bredden på knapparna / full-width hero buttons */
  .hero-full .btn-row { flex-direction: column; align-items: stretch; }
  .hero-full .btn { justify-content: center; text-align: center; }
  .hero-full h1 { font-size: clamp(2.3rem, 11vw, 2.9rem); }

  .btn { padding: 15px 26px; }
  .litter { padding: 24px 18px; margin-bottom: 28px; }
  .litter h4.sub { margin-top: 30px; }
  .show-block { padding: 22px 18px; }
  .show-block h2 { font-size: 1.3rem; }
  .dog .body { padding: 20px 20px 24px; }
  .photo-card .pc-body { padding: 20px 20px 22px; }
  .footer-grid { padding-top: 48px; padding-bottom: 40px; gap: 30px; }
  .f-bottom { flex-direction: column; gap: 4px; }
}

/* =========================================================
   Motionspaket (2026-07-09) — mjukare, modernare rörelser.
   Allt respekterar prefers-reduced-motion längst ner.
   ========================================================= */

/* Sidövergångar: gamla sidan lyfter ut, nya glider in */
::view-transition-old(root) { animation: vtOut .22s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .34s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* Header: skugga när man scrollat, göms vid scroll nedåt */
.site-header { transition: transform .35s var(--ease), box-shadow .3s var(--ease); }
.site-header.hide { transform: translateY(-110%); }
.site-header.scrolled { box-shadow: 0 6px 28px rgba(33, 26, 18, .09); }

/* Ljusglimt som sveper över guldknappar */
.btn { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%;
  width: 50%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
}
.btn-primary:hover::after { animation: sheen .8s var(--ease); }
@keyframes sheen { to { left: 135%; } }

/* Eyebrow-linjerna ritas in när blocket visas */
.reveal .eyebrow::before { transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease) .15s; }
.reveal .eyebrow::after { transform: scaleX(0); transform-origin: right center; transition: transform .7s var(--ease) .15s; }
.reveal.in .eyebrow::before, .reveal.in .eyebrow::after { transform: scaleX(1); }

/* 3D-tilt på fotokorten (vinkeln sätts i anim.js) */
.cards { perspective: 1100px; }
.photo-card:hover { transform: translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.photo-card:active { transform: scale(.985); }

/* Valpkort utan foto: tassen guppar */
.pup:not(:has(img)) .pup-body::before { animation: pawBob 3.4s ease-in-out infinite; }
.pup:not(:has(img)):hover .pup-body::before { opacity: .55; }
@keyframes pawBob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-5px) rotate(5deg); }
}

/* Kullar tonar in i tur och ordning vid filterbyte */
.litter.pop { animation: fade .5s var(--ease) both; }

/* Lightbox: frostat glas + bildtext som glider upp */
.lightbox { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox figcaption { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease) .15s, transform .4s var(--ease) .15s; }
.lightbox.show figcaption { opacity: 1; transform: none; }

/* Mobilmenyn: länkarna faller in en och en */
@media (max-width: 880px) {
  .nav-links.open li { animation: menuItem .38s var(--ease) both; }
  .nav-links.open li:nth-child(1) { animation-delay: .02s; }
  .nav-links.open li:nth-child(2) { animation-delay: .06s; }
  .nav-links.open li:nth-child(3) { animation-delay: .10s; }
  .nav-links.open li:nth-child(4) { animation-delay: .14s; }
  .nav-links.open li:nth-child(5) { animation-delay: .18s; }
  .nav-links.open li:nth-child(6) { animation-delay: .22s; }
  .nav-links.open li:nth-child(7) { animation-delay: .26s; }
  .nav-links.open li:nth-child(8) { animation-delay: .30s; }
  .nav-links.open li:nth-child(9) { animation-delay: .34s; }
}
@keyframes menuItem { from { opacity: 0; transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .site-header { transition: none; }
  .site-header.hide { transform: none; }
  .btn-primary::after { display: none; }
  .reveal .eyebrow::before, .reveal .eyebrow::after { transform: none; transition: none; }
  .photo-card:hover { transform: none; }
  .pup:not(:has(img)) .pup-body::before { animation: none; }
  .litter.pop { animation: none; }
  .nav-links.open li { animation: none; }
  .lightbox figcaption { transition: none; opacity: 1; transform: none; }
}

/* =========================================================
   Mörkt läge (2026-07-09) — följer besökarens systeminställning.
   Samma varma guldkänsla, men på mörk botten.
   ========================================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --gold:        #d8ab5c;
    --gold-deep:   #d0a050;
    --gold-soft:   #4a3b24;
    --bg:          #171310;
    --bg-alt:      #1f1913;
    --card:        #211b14;
    --ink:         #ede4d3;
    --muted:       #a4977f;
    --line:        #362c1f;
    --dark:        #110f0b;
    --dark-2:      #1b1712;
    --shadow:      0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg:   0 2px 4px rgba(0, 0, 0, .5), 0 24px 56px rgba(0, 0, 0, .55);
  }
  .site-header { background: rgba(23, 19, 16, .88); }
  .site-header.scrolled { box-shadow: 0 6px 28px rgba(0, 0, 0, .45); }
  .page-hero {
    background:
      radial-gradient(60% 120% at 50% -20%, #2b2214 0%, rgba(43, 34, 20, 0) 70%),
      var(--bg);
  }
  /* guldknappar: mörk text på guld för läsbarhet */
  .btn-primary { color: #171310; }
  .btn-primary:hover { background: var(--gold); color: #171310; box-shadow: var(--shadow); }
  .skip-link { color: #171310; }
  .photo-card:hover, .dog:hover { border-color: #4a3c28; }
  .btn-ghost { border-color: #55452e; }
  /* foton: aningen dämpade så de smälter in på mörk botten */
  .photo-card .pc-img img, .dog > img, .parent-big img, .pup img, .img-frame img { filter: brightness(.9); }
  .pup:not(:has(img)) { background: linear-gradient(160deg, var(--card), #2a2217); }
  .ped-kull { background: linear-gradient(150deg, var(--card), #322818); }
}
