/* Feral Management LLC — parent company site
   Neutral, professional, distinct from Pupsplain.
   Near-black #111619, warm white #F7F6F2, accent forest #2C4A3E.
*/

:root {
  --ink: #111619;
  --muted: #4a5256;
  --accent: #2c4a3e;
  --bg: #f7f6f2;
  --paper: #ffffff;
  --line: #d9d6cf;
  --max: 64rem;
  --serif: "IBM Plex Serif", Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/IBMPlexSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/IBMPlexSerif-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 0.14em; }
a:hover { color: var(--ink); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; color: #fff; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 1.2rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark:hover { color: var(--ink); }

.wordmark span {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 3.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.hero h1 { margin-bottom: 0.35rem; }

.lede {
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  max-width: 36rem;
  color: var(--muted);
}

.products {
  padding: 0 0 4.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1.6rem 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}

.card h2 { margin-bottom: 0.45rem; }

.card p { flex: 1; }

.card .meta {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.card .cta {
  margin: 0.5rem 0 0;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.card .cta:hover { color: var(--ink); text-decoration: underline; }

.card-soon .cta {
  color: var(--muted);
  font-weight: 500;
  pointer-events: none;
}

.contact {
  padding: 0 0 4.5rem;
}

.contact-box {
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
}

.contact a { font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a { color: var(--ink); }

/* Inner */
.page-hero { padding: 2.8rem 0 0.5rem; }
.legal { padding: 0.5rem 0 4.5rem; }
.legal-body { max-width: 40rem; }
.legal-body h2 { margin-top: 1.6rem; font-size: 1.25rem; }
.legal-body ul { padding-left: 1.2rem; }

.not-found { padding: 5rem 0 6rem; }

@media (max-width: 40rem) {
  .product-grid { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 1.75rem)); }
  .header-inner {
    padding: 1.1rem 0 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .wordmark { white-space: nowrap; }
  .site-nav { gap: 1.15rem; }
}

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

.meta { font-size: 0.95rem; color: var(--muted); }

.nowrap { white-space: nowrap; }
