:root {
  --bg:        oklch(0.185 0.006 90);
  --bg-2:      oklch(0.215 0.008 88);
  --panel:     oklch(0.235 0.009 88);
  --fg:        oklch(0.965 0.006 90);
  --fg-dim:    oklch(0.74 0.012 90);
  --fg-mute:   oklch(0.56 0.012 90);
  --line:      oklch(1 0 0 / 0.14);
  --line-soft: oklch(1 0 0 / 0.07);
  --amber:     oklch(0.8 0.13 66);
  --green:     oklch(0.72 0.11 150);

  /* --accent switches per operation: cattle = amber, horses = green */
  --accent:    var(--amber);

  --wrap: 1360px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --disp: "Hanken Grotesk", system-ui, sans-serif;
}
body.theme-horses, .theme-horses { --accent: var(--green); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg-dim);
  font-family: var(--disp); font-weight: 400; line-height: 1.6;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.08rem);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay;
}

/* ---------- type primitives ---------- */
.mono { font-family: var(--mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); }
.disp { font-family: var(--disp); font-weight: 300; line-height: 0.98; letter-spacing: -0.022em; color: var(--fg); }
.num { font-family: var(--mono); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent); }

/* ---------- NAV ---------- */
header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease); border-bottom: 1px solid transparent; }
header.scrolled { background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: blur(12px) saturate(1.1); border-bottom-color: var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { position: relative; z-index: 70; display: inline-flex; align-items: center; gap: 11px; font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); }
.brand b { color: var(--accent); font-weight: 700; }
.brand-logo { height: 62px; width: auto; display: block; flex: none; filter: drop-shadow(0 1px 5px oklch(0.12 0 0 / 0.5)); }
.brand-word { display: inline-block; }
@media (max-width: 560px) { .brand-logo { height: 48px; } .brand-word { font-size: 0.74rem; } }
@media (max-width: 380px) { .brand-word { display: none; } }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-logo { height: 96px; width: auto; display: block; flex: none; }

/* hamburger toggle (mobile only) */
.nav-toggle { position: relative; z-index: 70; display: inline-flex; align-items: center; background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; color: var(--fg); }
.nav-toggle .bars { position: relative; display: block; width: 24px; height: 1.5px; background: currentColor; transition: background 0.2s var(--ease); }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
header.menu-open .nav-toggle .bars { background: transparent; }
header.menu-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
header.menu-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* mobile-first: nav is a full-screen overlay menu */
.nav-links { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: var(--pad); background: color-mix(in oklab, var(--bg) 95%, transparent); backdrop-filter: blur(16px); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: transform 0.5s var(--ease), opacity 0.4s var(--ease); }
header.menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
.nav-links a { font-family: var(--disp); font-weight: 300; font-size: clamp(2rem, 8vw, 2.9rem); line-height: 1.15; letter-spacing: -0.02em; text-transform: none; color: var(--fg-dim); padding: 6px 0; transition: color 0.3s var(--ease); }
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--accent); }
.nav-links a.cta { color: var(--accent); }

@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .nav-links { position: static; inset: auto; z-index: auto; flex-direction: row; align-items: center; justify-content: flex-end; gap: 30px; padding: 0; background: none; backdrop-filter: none; transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-family: var(--mono); font-weight: 400; font-size: 0.72rem; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); padding: 0; }
  .nav-links a:hover { color: var(--fg); }
  .nav-links a.active { color: var(--fg); }
  .nav-links a.cta { color: var(--accent); }
  .nav-links a.cta:hover { color: var(--fg); }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.95; filter: grayscale(0.04) contrast(1.04) brightness(0.8) saturate(1.05); transform: scale(1.04); }
.hero-bg.kenburns img { animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 60% at 12% 112%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 52%),
    linear-gradient(to bottom, oklch(0.185 0.006 90 / 0.8) 0%, oklch(0.185 0.006 90 / 0.34) 9%, transparent 19%),
    linear-gradient(to top, oklch(0.185 0.006 90 / 0.94) 0%, oklch(0.185 0.006 90 / 0.4) 26%, transparent 52%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 120px clamp(40px, 7vh, 84px); }
.hero-eyebrow { display: block; margin-bottom: clamp(22px, 4vh, 40px); color: var(--fg-dim); text-shadow: 0 1px 12px oklch(0.15 0.006 90 / 0.55); }
.hero h1 { font-family: var(--disp); font-weight: 300; font-size: clamp(3rem, 11.5vw, 11rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--fg); text-wrap: balance; text-shadow: 0 2px 34px oklch(0.15 0.006 90 / 0.5), 0 1px 6px oklch(0.15 0.006 90 / 0.45); }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero h1.in .w > span { transform: none; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-foot { margin-top: clamp(30px, 5vh, 54px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px; }
.hero-lede { max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--fg-dim); font-weight: 300; text-shadow: 0 1px 14px oklch(0.15 0.006 90 / 0.5); }
.explore { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); }
.explore .dot { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.explore:hover .dot { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* ---------- STATEMENT ---------- */
.statement { padding-block: clamp(90px, 20vh, 220px); }
.statement .line { font-family: var(--disp); font-weight: 300; font-size: clamp(2.4rem, 8vw, 7rem); line-height: 0.98; letter-spacing: -0.025em; color: var(--fg); }
.statement .line.dim { color: var(--fg-mute); }
.statement .line.right { text-align: right; }
.statement .line em { font-style: normal; color: var(--accent); }

/* ---------- SECTION SHELL ---------- */
.sec { padding-block: clamp(70px, 12vh, 150px); border-top: 1px solid var(--line-soft); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 76px); }
.sec-head h2 { font-family: var(--disp); font-weight: 300; font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: 0.98; letter-spacing: -0.025em; color: var(--fg); text-wrap: balance; }
.sec-head h2 em { font-style: normal; color: var(--accent); }
.lede-lg { font-family: var(--disp); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.28; letter-spacing: -0.01em; color: var(--fg); max-width: 24ch; }

/* two-col numbered rows */
.rows { display: grid; gap: 0; }
.row { display: grid; gap: 20px 60px; padding-block: clamp(34px, 4vw, 52px); border-top: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 1px solid var(--line-soft); }
@media (min-width: 820px) { .row { grid-template-columns: 0.9fr 1.6fr; } }
.row-l { display: flex; gap: 18px; align-items: baseline; }
.row-l h3 { font-family: var(--disp); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.row-r p { color: var(--fg-dim); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 54ch; }
.row-r p + p { margin-top: 1em; }

/* about / origin */
.origin { display: grid; gap: clamp(30px, 5vw, 70px); }
@media (min-width: 900px) { .origin { grid-template-columns: 1fr 1fr; align-items: start; } }
.origin .lede-lg { max-width: 20ch; }
.origin-body p { color: var(--fg-dim); max-width: 52ch; }
.origin-body p + p { margin-top: 1.1em; }

/* ---------- PRINCIPLES ---------- */
.principle { display: grid; gap: 16px 60px; padding-block: clamp(38px, 5vw, 62px); border-top: 1px solid var(--line-soft); align-items: start; }
.principle:last-child { border-bottom: 1px solid var(--line-soft); }
@media (min-width: 820px) { .principle { grid-template-columns: auto 1fr auto; } }
.principle .p-no { color: var(--accent); }
.principle h3 { font-family: var(--disp); font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.principle p { color: var(--fg-dim); max-width: 40ch; justify-self: end; }

/* ---------- UPDATES / CAROUSEL ---------- */
.updates-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(34px, 5vw, 60px); }
.updates-head h2 { font-family: var(--disp); font-weight: 300; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 0.98; letter-spacing: -0.025em; color: var(--fg); }
.fb-follow { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; border: 1px solid var(--line); padding: 12px 20px; border-radius: 100px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.fb-follow:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.fb-follow svg { width: 15px; height: 15px; }

/* live Facebook page embed */
.fb-embed { max-width: 500px; margin: 4px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6); }
.fb-embed iframe { display: block; width: 100%; height: 780px; border: 0; }

.carousel { display: flex; gap: clamp(16px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-block: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel.dragging .post { pointer-events: none; }
.post { flex: 0 0 auto; width: clamp(282px, 78vw, 372px); scroll-snap-align: start; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), background 0.55s var(--ease); }
.post:hover { transform: translateY(-6px); border-color: var(--line); background: var(--panel); }
.post-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.post-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.92) contrast(1.02); transition: transform 1.1s var(--ease), filter 0.55s var(--ease); }
.post:hover .post-media img { transform: scale(1.05); filter: brightness(1) contrast(1.02); }
.post-date { position: absolute; top: 14px; left: 14px; background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(6px); color: var(--fg); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; border-radius: 100px; border: 1px solid var(--line-soft); }
.post-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.post-text { color: var(--fg-dim); font-size: 0.98rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-foot a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); transition: color 0.3s var(--ease); }
.post-foot a:hover { color: var(--fg); }
.post-foot a svg { width: 14px; height: 14px; }
.post-foot .via { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }

.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(24px, 3vw, 34px); }
.progress { flex: 1; height: 2px; background: var(--line-soft); border-radius: 100px; overflow: hidden; max-width: 460px; }
.progress > i { display: block; height: 100%; width: 20%; background: var(--accent); }
.arrows { display: flex; gap: 10px; flex: none; }
.arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease); }
.arrows button:hover:not(:disabled) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.arrows button:disabled { opacity: 0.28; cursor: default; }
.arrows svg { width: 19px; height: 19px; }

/* ---------- CONTACT ---------- */
.contact { padding-block: clamp(80px, 16vh, 200px); border-top: 1px solid var(--line-soft); }
.contact h2 { font-family: var(--disp); font-weight: 300; font-size: clamp(2.6rem, 9vw, 8rem); line-height: 0.92; letter-spacing: -0.03em; color: var(--fg); text-wrap: balance; }
.contact h2 em { font-style: normal; color: var(--accent); }
.contact-grid { margin-top: clamp(44px, 7vw, 90px); display: grid; gap: 34px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.cta-item .k { display: block; margin-bottom: 12px; color: var(--fg-mute); }
.cta-item .v { font-family: var(--disp); font-weight: 300; font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--fg); }
.cta-item .v a { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.3s var(--ease); }
.cta-item .v a:hover { border-color: var(--accent); }

footer.foot { border-top: 1px solid var(--line-soft); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-block: 28px; }
.foot .mono { color: var(--fg-mute); }
.foot a.top { display: inline-flex; align-items: center; gap: 8px; }
.foot a.top:hover { color: var(--fg); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* =========================================================
   HOMEPAGE — path cards (choose cattle / horses within the page) + active nav
   ========================================================= */
.paths { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { position: relative; overflow: hidden; border-radius: 6px; min-height: clamp(360px, 52vh, 560px); display: flex; align-items: flex-end; border: 1px solid var(--line-soft); }
.path-media { position: absolute; inset: 0; z-index: 0; }
.path-media img, .path-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; filter: brightness(0.6) saturate(1.05); transform: scale(1.05); transition: transform 1.3s var(--ease), opacity 0.7s var(--ease), filter 0.7s var(--ease); }
.path::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, oklch(0.185 0.006 90 / 0.92) 0%, oklch(0.185 0.006 90 / 0.28) 52%, oklch(0.185 0.006 90 / 0.35) 100%); transition: opacity 0.7s var(--ease); }
.path-cattle::after { background: linear-gradient(to top, oklch(0.185 0.006 90 / 0.93), oklch(0.2 0.03 66 / 0.26) 52%, oklch(0.185 0.006 90 / 0.32)); }
.path-horses::after { background: linear-gradient(to top, oklch(0.185 0.006 90 / 0.93), oklch(0.2 0.03 150 / 0.26) 52%, oklch(0.185 0.006 90 / 0.32)); }
.path-inner { position: relative; z-index: 2; width: 100%; padding: clamp(26px, 4vw, 48px); }
.path-kicker { display: block; margin-bottom: 14px; color: var(--fg-dim); }
.path h3 { font-family: var(--disp); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.92; letter-spacing: -0.03em; color: var(--fg); }
.path-sub { margin-top: 12px; max-width: 34ch; color: var(--fg-dim); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.path-go { margin-top: clamp(18px, 2.5vh, 30px); display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); }
.path-go .ea { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.path-go svg { width: 17px; height: 17px; }
.path-cattle:hover .path-go .ea { background: var(--amber); color: var(--bg); border-color: var(--amber); transform: translateX(4px); }
.path-horses:hover .path-go .ea { background: var(--green); color: var(--bg); border-color: var(--green); transform: translateX(4px); }
@media (hover: hover) {
  .path:hover .path-media img, .path:hover .path-media video { transform: scale(1); opacity: 0.9; filter: brightness(0.7) saturate(1.08); }
  .path:hover::after { opacity: 0.9; }
}

/* =========================================================
   HORSES FOR SALE (for-sale.html) — portal + detail modal
   ========================================================= */
.page-head { padding-block: clamp(120px, 17vh, 190px) clamp(24px, 4vh, 44px); }
.page-head .mono { display: block; margin-bottom: 18px; }
.page-head h1 { font-family: var(--disp); font-weight: 300; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--fg); }
.page-head .lede { margin-top: 20px; max-width: 54ch; color: var(--fg-dim); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }

.sale-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: clamp(26px, 4vw, 44px); border-top: 1px solid var(--line-soft); padding-top: clamp(22px, 3vw, 34px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); background: none; border: 1px solid var(--line-soft); border-radius: 100px; padding: 9px 16px; cursor: pointer; transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease); }
.filter:hover { color: var(--fg); border-color: var(--line); }
.filter.active { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.sale-count { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); }

.horse-grid { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(278px, 1fr)); }
.horse-empty { color: var(--fg-mute); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; padding: 40px 0; }
.horse-card { text-align: left; font: inherit; color: inherit; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); }
.horse-card:hover { transform: translateY(-6px); border-color: var(--line); }
.horse-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.horse-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.horse-card:hover .horse-photo img { transform: scale(1.05); }
.horse-status { position: absolute; top: 13px; left: 13px; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 100px; background: color-mix(in oklab, var(--bg) 68%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--line-soft); color: var(--fg); }
.horse-status.available { color: oklch(0.82 0.13 152); }
.horse-status.pending { color: var(--amber); }
.horse-status.sold { color: var(--fg-mute); }
.horse-tag-price { position: absolute; bottom: 13px; right: 13px; font-family: var(--disp); font-weight: 400; font-size: 1.1rem; color: var(--fg); background: color-mix(in oklab, var(--bg) 66%, transparent); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 4px; }
.horse-meta { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.horse-meta h3 { font-family: var(--disp); font-weight: 300; font-size: 1.55rem; letter-spacing: -0.02em; color: var(--fg); line-height: 1; }
.horse-meta .specs { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-mute); }
.horse-meta .tagline { color: var(--fg-dim); font-size: 0.95rem; }
.horse-meta .view { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.horse-card.is-sold { opacity: 0.62; }

/* detail modal */
.horse-modal { position: fixed; inset: 0; z-index: 120; visibility: hidden; opacity: 0; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
.horse-modal.open { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease); }
.horse-modal-scrim { position: absolute; inset: 0; background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: blur(9px); }
.horse-modal-panel { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.horse-modal-inner { position: relative; max-width: 1100px; margin: clamp(16px, 5vh, 70px) auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.hm-grid { display: block; }
@media (min-width: 920px) { .hm-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: start; } }
.hm-media { background: var(--panel); position: relative; }
.hm-main { position: relative; aspect-ratio: 4 / 3; background: #0d0d0d; }
.hm-main img, .hm-main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-vbadge { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); background: color-mix(in oklab, var(--bg) 68%, transparent); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 100px; border: 1px solid var(--line-soft); }
.hm-thumbs { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; }
.hm-thumb { width: 66px; height: 52px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line-soft); cursor: pointer; opacity: 0.55; padding: 0; background: none; transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease); }
.hm-thumb.active, .hm-thumb:hover { opacity: 1; border-color: var(--accent); }
.hm-thumb { position: relative; }
.hm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-thumb-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.6rem; color: #fff; background: oklch(0.15 0 0 / 0.35); }
.hm-info { padding: clamp(24px, 3vw, 40px); }
.hm-status { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hm-status.available { color: oklch(0.82 0.13 152); }
.hm-status.pending { color: var(--amber); }
.hm-status.sold { color: var(--fg-mute); }
.hm-info h2 { font-family: var(--disp); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; color: var(--fg); line-height: 1; margin-top: 10px; }
.hm-price { font-family: var(--disp); font-weight: 400; font-size: 1.7rem; color: var(--accent); margin-top: 12px; }
.hm-price small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); margin-left: 8px; }
.hm-specs { margin-top: 24px; }
.hm-specs .r { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 0.95rem; }
.hm-specs .r .k { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.hm-specs .r .v { color: var(--fg); text-align: right; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hm-tag { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); border: 1px solid var(--line-soft); border-radius: 100px; padding: 6px 12px; }
.hm-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); margin: 26px 0 12px; }
.hm-desc { margin-top: 20px; color: var(--fg-dim); line-height: 1.6; }
.hm-paper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); color: var(--fg-dim); font-size: 0.92rem; }
.hm-paper:last-child { border-bottom: 1px solid var(--line-soft); }
.hm-paper a { color: var(--accent); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hm-paper .na { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-mute); }
.hm-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 22px; border-radius: 3px; cursor: pointer; border: 1px solid transparent; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--fg); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hm-note { margin-top: 16px; font-size: 0.8rem; color: var(--fg-mute); }
.hm-close { position: fixed; top: 16px; right: 16px; z-index: 130; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(8px); color: var(--fg); cursor: pointer; display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.hm-close:hover { background: var(--fg); color: var(--bg); }
.hm-close svg { width: 20px; height: 20px; }
.hm-pay { margin-top: 16px; display: none; border: 1px solid var(--line-soft); border-radius: 6px; padding: 18px; background: color-mix(in oklab, var(--bg) 55%, transparent); }
.hm-pay.open { display: block; }
.hm-pay .pay-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 14px; }
.hm-pay .pay-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-pay .pay-m { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 11px 16px; border-radius: 4px; border: 1px solid var(--line); color: var(--fg); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.hm-pay .pay-m:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hm-pay .pay-zelle { margin-top: 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--fg-dim); }
.hm-pay .pay-zelle b { color: var(--fg); }
.hm-pay .pay-note { margin-top: 14px; font-size: 0.8rem; color: var(--fg-mute); line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero h1 .w > span { transform: none; }
  .hero-bg img, .hero-bg video, .hero-bg.kenburns img { transform: none; animation: none; }
  .path-media img, .path-media video { transform: none; }
  html { scroll-behavior: auto; }
}
