@font-face {
  font-family: "Ketu Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../pisave/geist-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Ketu Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../pisave/geist-mono.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../pisave/fraunces-latin-ext.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;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../pisave/fraunces-latin.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;
}

:root {
  --ink: #181816;
  --ink-soft: #252521;
  --bone: #f3eee4;
  --paper: #fbf8f2;
  --sable: #98785c;
  --sable-dark: #6f513c;
  --mist: #c5c6c0;
  --moss: #73806a;
  --line: rgba(24, 24, 22, 0.18);
  --display: "Fraunces", Georgia, serif;
  --sans: "Ketu Sans", Arial, Helvetica, sans-serif;
  --mono: "Ketu Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--sable);
  color: var(--paper);
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.topbar {
  align-items: center;
  background: rgba(24, 24, 22, 0.93);
  border-bottom: 1px solid rgba(243, 238, 228, 0.14);
  color: var(--bone);
  display: flex;
  height: 84px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(22px, 4vw, 68px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  border: 1px solid rgba(243, 238, 228, 0.56);
  border-radius: 50%;
  display: flex;
  font-family: var(--display);
  font-size: 1.3rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.brand-copy small {
  color: rgba(243, 238, 228, 0.58);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

.topbar nav {
  align-items: center;
  display: flex;
  gap: clamp(20px, 3vw, 42px);
}

.topbar nav a {
  color: rgba(243, 238, 228, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.topbar nav a:hover {
  color: var(--paper);
}

.topbar nav .nav-cta {
  border: 1px solid rgba(243, 238, 228, 0.38);
  border-radius: 999px;
  color: var(--paper);
  padding: 10px 17px;
}

.language-switch {
  align-items: center;
  border: 1px solid rgba(243, 238, 228, 0.28);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.topbar nav .language-option {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.62rem;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 28px;
  min-width: 32px;
  padding: 4px 7px;
}

.topbar nav .language-option.is-active {
  background: var(--bone);
  color: var(--ink);
}

.topbar nav .language-option:not(.is-active):hover {
  color: var(--paper);
}

.hero {
  background: var(--ink);
  color: var(--bone);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: min(900px, 100svh);
  overflow: hidden;
  padding: 134px clamp(22px, 4vw, 68px) 50px;
  position: relative;
}

.hero::before {
  border: 1px solid rgba(243, 238, 228, 0.08);
  border-radius: 50%;
  content: "";
  height: min(50vw, 720px);
  left: -18vw;
  position: absolute;
  top: 11%;
  width: min(50vw, 720px);
}

.hero-grain {
  background-image: radial-gradient(
      circle at 18% 20%,
      rgba(152, 120, 92, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 75% 72%,
      rgba(115, 128, 106, 0.09),
      transparent 35%
    );
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding: 45px 4vw 45px 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: var(--sable-dark);
  display: flex;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  gap: 12px;
  letter-spacing: 0.13em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(243, 238, 228, 0.62);
}

.eyebrow-line {
  background: var(--sable);
  height: 1px;
  width: 38px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(6rem, 14vw, 13.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.68;
  margin: 0;
}

.hero h1 > span {
  color: rgba(243, 238, 228, 0.58);
  display: block;
  font-family: var(--mono);
  font-size: clamp(0.64rem, 0.88vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin: clamp(36px, 5vw, 58px) 0 0 8px;
}

.hero-lead {
  color: rgba(243, 238, 228, 0.74);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.42;
  margin: 24px 0 0 8px;
  max-width: 27ch;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  margin: 40px 0 0 8px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 650;
  gap: 24px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 50px;
  padding: 0 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--bone);
  color: var(--ink);
}

.button-light:hover {
  background: #fff;
}

.text-link {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration-color: rgba(243, 238, 228, 0.3);
  text-underline-offset: 6px;
  text-transform: uppercase;
}

.light-link {
  color: rgba(243, 238, 228, 0.72);
}

.hero-portrait {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 540px;
  position: relative;
  z-index: 3;
}

.portrait-window {
  background: var(--ink-soft);
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.portrait-window::after {
  background: linear-gradient(180deg, rgba(24, 24, 22, 0.02), rgba(24, 24, 22, 0.3));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.portrait-window img {
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transform: scale(1.015);
  width: 100%;
}

.portrait-number {
  bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  position: absolute;
  right: 18px;
  z-index: 2;
}

.hero-portrait figcaption {
  align-items: center;
  border-bottom: 1px solid rgba(243, 238, 228, 0.18);
  color: rgba(243, 238, 228, 0.55);
  display: flex;
  font-family: var(--mono);
  font-size: 0.61rem;
  justify-content: space-between;
  letter-spacing: 0.08em;
  padding: 14px 0;
  text-transform: uppercase;
}

.hero-index {
  bottom: 48px;
  color: rgba(243, 238, 228, 0.28);
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 0.63rem;
  gap: 2px;
  left: clamp(22px, 4vw, 68px);
  letter-spacing: 0.1em;
  position: absolute;
}

.fact-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(22px, 4vw, 68px);
}

.fact {
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 28px clamp(18px, 2.5vw, 40px);
}

.fact:last-child {
  border-right: 1px solid var(--line);
}

.fact-index,
.fact-label,
.node-label,
.result-label,
.card-kicker {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-index {
  color: var(--sable);
  margin-bottom: auto;
}

.fact-label {
  color: rgba(24, 24, 22, 0.5);
  margin-bottom: 8px;
}

.fact strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
}

.section {
  padding: clamp(90px, 11vw, 160px) clamp(22px, 7vw, 110px);
}

.profile-section,
.next-section {
  display: grid;
  gap: clamp(50px, 8vw, 130px);
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
}

.section-heading h2,
.pedigree-heading h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.9vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0;
}

.section-heading h2 em,
.pedigree-heading h2 em {
  color: var(--sable-dark);
  display: block;
  font-weight: 400;
}

.profile-content {
  align-self: end;
  padding-top: clamp(20px, 7vw, 90px);
}

.profile-intro {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin: 0 0 58px;
  max-width: 31ch;
}

.profile-columns {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  padding-top: 30px;
}

.profile-columns > p {
  color: rgba(24, 24, 22, 0.65);
  margin: 0;
}

.registry-card {
  margin: 0;
}

.registry-card div {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  padding: 0 0 13px;
}

.registry-card div + div {
  padding-top: 13px;
}

.registry-card dt {
  color: rgba(24, 24, 22, 0.48);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registry-card dd {
  font-family: var(--mono);
  font-size: 0.78rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.signature-section {
  background: var(--paper);
  padding: clamp(70px, 9vw, 130px) clamp(22px, 7vw, 110px);
}

.signature-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.signature-heading {
  align-items: end;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 20px 0 34px;
}

.signature-heading .eyebrow {
  margin: 0;
}

.signature-heading > p:last-child {
  color: rgba(24, 24, 22, 0.58);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  margin: 0;
}

.signature-frame {
  margin: 0;
}

.signature-frame img {
  box-shadow: 0 24px 70px rgba(24, 24, 22, 0.16);
  height: auto;
  width: 100%;
}

.signature-frame figcaption {
  color: rgba(24, 24, 22, 0.5);
  display: flex;
  font-family: var(--mono);
  font-size: 0.61rem;
  justify-content: space-between;
  letter-spacing: 0.08em;
  padding-top: 14px;
  text-transform: uppercase;
}

.pedigree-section {
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  padding: clamp(90px, 11vw, 160px) clamp(22px, 7vw, 110px);
  position: relative;
}

.pedigree-section::before,
.pedigree-section::after {
  border: 1px solid rgba(243, 238, 228, 0.07);
  border-radius: 50%;
  content: "";
  height: 620px;
  position: absolute;
  width: 620px;
}

.pedigree-section::before {
  left: -380px;
  top: 20%;
}

.pedigree-section::after {
  bottom: -420px;
  right: -190px;
}

.pedigree-heading {
  display: grid;
  gap: 28px clamp(40px, 9vw, 150px);
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  margin-bottom: clamp(75px, 10vw, 130px);
  position: relative;
  z-index: 2;
}

.pedigree-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.pedigree-heading p:last-child {
  align-self: end;
  color: rgba(243, 238, 228, 0.6);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.5;
  margin: 0;
  max-width: 29ch;
}

.pedigree-heading h2 em {
  color: var(--sable);
}

.family-tree {
  align-items: stretch;
  display: grid;
  gap: clamp(32px, 4vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.58fr) minmax(0, 1fr);
  position: relative;
  z-index: 2;
}

.family-tree::before {
  background: rgba(243, 238, 228, 0.24);
  content: "";
  height: 1px;
  left: 27%;
  position: absolute;
  right: 27%;
  top: 50%;
}

.parent-card,
.ketu-node {
  position: relative;
  z-index: 1;
}

.parent-card {
  background: var(--ink-soft);
  border: 1px solid rgba(243, 238, 228, 0.16);
  min-height: 330px;
  padding: clamp(24px, 3.3vw, 46px);
}

.node-label {
  color: rgba(243, 238, 228, 0.47);
}

.parent-card h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 33px 0 52px;
}

.result-label {
  color: var(--sable);
  margin-bottom: 14px;
}

.result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.result-list li {
  border: 1px solid rgba(243, 238, 228, 0.18);
  border-radius: 999px;
  color: rgba(243, 238, 228, 0.7);
  font-family: var(--mono);
  font-size: 0.62rem;
  padding: 6px 9px;
}

.ketu-node {
  align-items: center;
  align-self: center;
  background: var(--bone);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 235px;
  padding: 24px 16px;
  text-align: center;
}

.ketu-node .node-label {
  color: rgba(24, 24, 22, 0.48);
}

.node-monogram {
  align-items: center;
  border: 1px solid var(--sable);
  border-radius: 50%;
  color: var(--sable-dark);
  display: flex;
  font-family: var(--display);
  font-size: 1.45rem;
  height: 54px;
  justify-content: center;
  margin: 24px 0 17px;
  width: 54px;
}

.ketu-node h3 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0;
}

.ketu-node p {
  color: rgba(24, 24, 22, 0.52);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  margin: 8px 0 0;
}

.pedigree-note {
  align-items: center;
  border-top: 1px solid rgba(243, 238, 228, 0.17);
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 28px;
  position: relative;
  z-index: 2;
}

.pedigree-note p {
  color: rgba(243, 238, 228, 0.58);
  font-size: 0.78rem;
  margin: 0;
  max-width: 68ch;
}

.pedigree-note strong {
  color: var(--bone);
}

.button-outline {
  border: 1px solid rgba(243, 238, 228, 0.35);
  color: var(--bone);
  flex: 0 0 auto;
}

.button-outline:hover {
  background: var(--bone);
  color: var(--ink);
}

.next-section {
  background: var(--paper);
}

.litter-card {
  align-self: end;
  background: var(--sable);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 500px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 70px);
  position: relative;
}

.litter-card::before {
  border: 1px solid rgba(251, 248, 242, 0.18);
  border-radius: 50%;
  content: "";
  height: 410px;
  position: absolute;
  right: -150px;
  top: -135px;
  width: 410px;
}

.litter-year {
  bottom: -0.23em;
  color: rgba(251, 248, 242, 0.08);
  font-family: var(--display);
  font-size: clamp(9rem, 18vw, 17rem);
  left: -0.04em;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
  position: absolute;
}

.litter-copy {
  align-self: end;
  max-width: 670px;
  position: relative;
  z-index: 2;
}

.card-kicker {
  color: rgba(251, 248, 242, 0.66);
  margin: 0 0 21px;
}

.litter-copy h3 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}

.litter-copy h3 span {
  color: rgba(251, 248, 242, 0.55);
  font-style: italic;
}

.litter-copy > p:not(.card-kicker) {
  color: rgba(251, 248, 242, 0.78);
  margin: 28px 0 32px;
  max-width: 55ch;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: #000;
}

.litter-seal {
  align-items: center;
  align-self: start;
  border: 1px solid rgba(251, 248, 242, 0.44);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 116px;
  justify-content: center;
  margin-left: 24px;
  position: relative;
  width: 116px;
  z-index: 2;
}

.litter-seal span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.litter-seal strong {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}

.contact-section {
  background: var(--bone);
  display: grid;
  gap: clamp(50px, 8vw, 130px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  padding: clamp(90px, 11vw, 155px) clamp(22px, 7vw, 110px);
}

.contact-heading {
  align-self: center;
}

.contact-heading h2 {
  font-family: var(--display);
  font-size: clamp(3.3rem, 6.2vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 0;
}

.contact-heading h2 em {
  color: var(--sable-dark);
  display: block;
  font-weight: 400;
}

.contact-heading > p:last-child {
  color: rgba(24, 24, 22, 0.58);
  margin: 38px 0 0;
  max-width: 34ch;
}

.contact-panel {
  align-self: center;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(32px, 5vw, 72px);
}

.contact-role {
  color: var(--sable);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-panel h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 34px 0 58px;
}

.contact-links {
  border-top: 1px solid rgba(243, 238, 228, 0.18);
}

.contact-links > a {
  align-items: center;
  border-bottom: 1px solid rgba(243, 238, 228, 0.18);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 0;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.contact-links > a:hover {
  color: var(--sable);
  padding-left: 8px;
}

.contact-links > a > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.contact-links small {
  color: rgba(243, 238, 228, 0.48);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-links strong {
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}

footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(70px, 9vw, 125px) clamp(22px, 4vw, 68px) 40px;
}

.footer-title {
  align-items: flex-end;
  border-bottom: 1px solid rgba(243, 238, 228, 0.16);
  display: flex;
  justify-content: space-between;
  padding-bottom: 34px;
}

.footer-title span {
  font-family: var(--display);
  font-size: clamp(5rem, 15vw, 13rem);
  letter-spacing: -0.07em;
  line-height: 0.72;
}

.footer-title strong {
  color: rgba(243, 238, 228, 0.48);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
}

.footer-meta {
  color: rgba(243, 238, 228, 0.48);
  display: flex;
  font-family: var(--mono);
  font-size: 0.62rem;
  justify-content: space-between;
  letter-spacing: 0.06em;
  padding-top: 24px;
  text-transform: uppercase;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--bone);
  text-underline-offset: 4px;
}

.footer-meta-links {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: right;
}

.privacy-link {
  color: var(--sable) !important;
}

.policy-page {
  background: var(--paper);
  min-height: 100svh;
}

.policy-hero {
  background: var(--ink);
  color: var(--bone);
  padding: 160px clamp(22px, 7vw, 110px) clamp(82px, 10vw, 138px);
}

.policy-hero-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.policy-hero h1 {
  font-family: var(--display);
  font-size: clamp(4.2rem, 10vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
  margin: 0;
  max-width: 9ch;
}

.policy-hero h1 em {
  color: var(--sable);
  display: block;
  font-weight: 400;
}

.policy-lead {
  color: rgba(243, 238, 228, 0.64);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  line-height: 1.35;
  margin: 48px 0 0;
  max-width: 46ch;
}

.policy-content {
  display: grid;
  gap: clamp(48px, 8vw, 120px);
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  margin: 0 auto;
  max-width: 1400px;
  padding: clamp(78px, 10vw, 145px) clamp(22px, 7vw, 110px);
}

.policy-status {
  align-self: start;
  background: var(--moss);
  color: var(--paper);
  padding: 34px;
  position: sticky;
  top: 28px;
}

.policy-status-label {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 0.62rem;
  gap: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-status-label i {
  background: #cfe7bc;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(207, 231, 188, 0.13);
  height: 8px;
  width: 8px;
}

.policy-status h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 36px 0 22px;
}

.policy-status p {
  color: rgba(251, 248, 242, 0.72);
  margin: 0;
}

.policy-body {
  display: flex;
  flex-direction: column;
  gap: clamp(76px, 9vw, 125px);
}

.policy-body > section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.policy-body h2 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.5vw, 4.9rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 28px 0 28px;
}

.policy-body > section > p:not(.eyebrow) {
  color: rgba(24, 24, 22, 0.65);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  max-width: 66ch;
}

.policy-inline-link {
  color: var(--sable-dark);
  font-weight: 600;
  text-underline-offset: 4px;
}

.cookie-record {
  background: var(--bone);
  margin-top: 46px;
  padding: clamp(24px, 4vw, 46px);
}

.cookie-record > header {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
}

.cookie-record > header span,
.cookie-record dt,
.policy-contact-links span {
  color: rgba(24, 24, 22, 0.5);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cookie-record code {
  color: var(--sable-dark);
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.cookie-record dl {
  margin: 0;
}

.cookie-record dl > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(100px, 0.34fr) minmax(0, 0.66fr);
  padding: 19px 0;
}

.cookie-record dd {
  margin: 0;
}

.cookie-record > a {
  color: var(--sable-dark);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 26px;
  text-underline-offset: 4px;
}

.policy-contact-links {
  border-top: 1px solid var(--line);
  margin-top: 42px;
}

.policy-contact-links a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 0;
  text-decoration: none;
}

.policy-contact-links strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.policy-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 34px;
  padding-top: 34px;
}

.policy-bottom a {
  font-family: var(--display);
  font-size: 2rem;
  text-decoration: none;
}

.policy-bottom span {
  color: rgba(243, 238, 228, 0.5);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  }

  .hero h1 {
    font-size: clamp(5.6rem, 13vw, 9rem);
  }

  .profile-section,
  .next-section {
    gap: 60px;
  }

  .profile-columns {
    grid-template-columns: 1fr;
  }

  .family-tree {
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .topbar nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 116px;
  }

  .hero-copy {
    order: 2;
    padding: 42px 0 26px;
  }

  .hero-portrait {
    min-height: 58svh;
    order: 1;
  }

  .portrait-window {
    min-height: 56svh;
  }

  .hero-index {
    display: none;
  }

  .fact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .profile-section,
  .next-section,
  .pedigree-heading {
    grid-template-columns: 1fr;
  }

  .profile-content {
    padding-top: 0;
  }

  .signature-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .policy-content {
    grid-template-columns: 1fr;
  }

  .policy-status {
    position: static;
  }

  .family-tree {
    grid-template-columns: 1fr;
  }

  .family-tree::before {
    bottom: 16%;
    height: auto;
    left: 50%;
    right: auto;
    top: 16%;
    width: 1px;
  }

  .ketu-node {
    justify-self: center;
    min-width: 220px;
    order: -1;
  }

  .pedigree-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .litter-card {
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 76px;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    height: 40px;
    width: 40px;
  }

  .topbar nav .nav-cta {
    font-size: 0.66rem;
    padding: 9px 13px;
  }

  .topbar nav {
    gap: 10px;
  }

  .topbar nav .language-option {
    min-width: 29px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-portrait,
  .portrait-window {
    min-height: 50svh;
  }

  .hero h1 {
    font-size: clamp(5.3rem, 27vw, 7.3rem);
  }

  .hero-lead {
    font-size: 1.25rem;
    margin-left: 0;
  }

  .hero h1 > span,
  .hero-actions {
    margin-left: 0;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .fact {
    min-height: 148px;
    padding: 21px 16px;
  }

  .section,
  .pedigree-section {
    padding-bottom: 88px;
    padding-top: 88px;
  }

  .profile-columns {
    gap: 30px;
  }

  .registry-card div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .signature-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .signature-frame figcaption {
    flex-direction: column;
    gap: 5px;
  }

  .contact-panel {
    padding: 30px 22px;
  }

  .contact-panel h3 {
    margin-bottom: 38px;
  }

  .parent-card {
    min-height: auto;
  }

  .pedigree-note .button {
    width: 100%;
  }

  .litter-card {
    grid-template-columns: 1fr;
    min-height: 650px;
  }

  .litter-seal {
    grid-row: 1;
    margin: 0;
  }

  .litter-copy {
    align-self: end;
  }

  .button-dark {
    align-items: center;
    line-height: 1.4;
    padding-bottom: 12px;
    padding-top: 12px;
    text-align: center;
  }

  .footer-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 12px;
  }

  .footer-meta-links {
    align-items: flex-start;
    text-align: left;
  }

  .policy-hero {
    padding-top: 126px;
  }

  .cookie-record dl > div {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .policy-contact-links a,
  .policy-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-contact-links a {
    gap: 6px;
  }

  .policy-bottom {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
