:root {
  --ink: #171427;
  --muted: #5f5874;
  --deep: #2b1647;
  --plum: #5d2f8f;
  --violet: #8457d8;
  --lavender: #ded4ff;
  --lilac: #f2efff;
  --ice: #fbfbff;
  --line: #ddd8f2;
  --silver: #f6f7fb;
  --white: #ffffff;
  --gold: #b99a4d;
  --shadow: 0 24px 70px rgba(43, 22, 71, 0.16);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ice);
  line-height: 1.6;
}

.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--white);
  color: var(--deep);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--ink);
  background: rgba(251, 251, 255, 0.94);
  border-bottom: 1px solid rgba(43, 22, 71, 0.12);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.menu-open .site-header {
  color: var(--ink);
  background: rgba(251, 251, 255, 0.98);
  border-color: rgba(43, 22, 71, 0.16);
  box-shadow: 0 12px 34px rgba(23, 20, 39, 0.1);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-text {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand-symbol {
  display: block;
  width: auto;
  height: 58px;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--deep);
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.nav-panel a {
  opacity: 0.86;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-backdrop {
  display: none;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, var(--white) 0%, var(--lilac) 58%, #ebe6ff 100%);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 42%;
  opacity: 0.92;
  background: url("../img/hero-arven-silk.webp") center / cover;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 251, 255, 1) 0%, rgba(251, 251, 255, 0.84) 32%, rgba(251, 251, 255, 0.1) 100%),
    linear-gradient(0deg, rgba(251, 251, 255, 0.96) 0%, rgba(251, 251, 255, 0.08) 54%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 168px 0 56px;
}

.eyebrow {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--plum);
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-top: 20px;
  font-size: clamp(68px, 12vw, 156px);
}

h2 {
  font-size: clamp(38px, 6vw, 76px);
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

.hero-kicker {
  max-width: 720px;
  margin-top: 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.14;
}

.hero-copy {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-mobile-photo {
  display: none;
}

.btn-primary {
  background: var(--deep);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(43, 22, 71, 0.24);
}

.hero .btn-primary,
.contact .btn-primary {
  background: var(--deep);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid currentColor;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 960px;
  margin-top: 58px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(43, 22, 71, 0.08);
}

.hero-stats div {
  min-height: 116px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 112px 0;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: start;
}

.intro-text {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 19px;
}

.split-section {
  background: var(--ice);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 70px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.copy-panel p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.copy-panel h2,
.section-head h2 {
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--plum);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--lilac), var(--silver));
  box-shadow: var(--shadow);
}

.image-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.image-panel.tall {
  aspect-ratio: 4 / 5;
}

.image-panel.wide {
  aspect-ratio: 16 / 10;
}

.section-ink {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(132, 87, 216, 0.32), transparent 32%),
    linear-gradient(135deg, #211130 0%, #312052 58%, #171427 100%);
}

.section-head {
  max-width: 860px;
}

.section-head.narrow {
  max-width: 760px;
}

.section-head > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.section-ink .section-head > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.2);
}

.values-grid article {
  min-height: 300px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.values-grid span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--lavender);
  font-weight: 900;
}

.values-grid p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
}

.puppy-layout,
.standard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: stretch;
  margin-top: 48px;
}

.checklist,
.standard-cards article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(43, 22, 71, 0.08);
}

.checklist {
  padding: 34px;
}

.checklist ul {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 2px;
  background: var(--violet);
}

.price-note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--deep);
  font-weight: 800;
}

.lineage {
  background: var(--white);
}

.section-soft {
  background:
    linear-gradient(180deg, var(--lilac), var(--ice));
}

.standard-cards {
  display: grid;
  gap: 16px;
}

.standard-cards article {
  padding: 28px;
}

.standard-cards p {
  margin-top: 12px;
  color: var(--muted);
}

.process {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--line);
  counter-increment: steps;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 44px;
  color: var(--violet);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list span {
  margin-top: 12px;
  color: var(--muted);
}

.contact {
  padding: 112px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(43, 22, 71, 0.96), rgba(93, 47, 143, 0.92));
}

@media (min-width: 641px) {
  .contact {
    background:
      linear-gradient(135deg, rgba(43, 22, 71, 0.96), rgba(93, 47, 143, 0.92)),
      url("../img/contact-bg.webp") center / cover;
  }
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 80px;
  align-items: center;
}

.contact h2 {
  margin-top: 14px;
}

.contact p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-card {
  padding: 34px;
  color: var(--ink);
}

.contact-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.contact-detail {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact-detail:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-detail span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-detail strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-actions .btn {
  flex: 1 1 150px;
}

.contact-card .btn-secondary {
  color: var(--deep);
  background: transparent;
  border-color: rgba(43, 22, 71, 0.32);
  box-shadow: none;
}

.footer {
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--deep);
  border-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.footer-brand .brand-symbol {
  height: 44px;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 24px;
}

.footer-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.footer-nav a {
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-notice {
  max-width: 960px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.footer-notice strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.footer-sig {
  color: rgba(255, 255, 255, 0.7);
}

.footer-sig a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-sig a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    height: 78px;
  }

  .brand-name {
    font-size: 27px;
  }

  .brand-symbol {
    height: 50px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .nav-toggle {
    position: relative;
    z-index: 31;
    display: grid;
    place-items: center;
    padding: 0;
  }

  .nav-toggle span {
    position: absolute;
    width: 20px;
    margin: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .nav-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .menu-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-backdrop {
    position: fixed;
    inset: 78px 0 0;
    z-index: 21;
    display: block;
    width: 100%;
    height: calc(100dvh - 78px);
    padding: 0;
    background: rgba(23, 20, 39, 0.28);
    border: 0;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(3px);
    transition: opacity 0.2s ease;
  }

  .menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel {
    position: fixed;
    inset: 88px 16px auto;
    z-index: 22;
    display: grid;
    gap: 0;
    max-width: 420px;
    padding: 8px;
    margin: 0 auto;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(18px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .nav-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 6px;
    opacity: 1;
  }

  .nav-panel a + a {
    border-top: 1px solid rgba(43, 22, 71, 0.08);
  }

  .nav-panel a:hover,
  .nav-panel a:focus-visible {
    background: var(--lilac);
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    padding-top: 118px;
  }

  .hero-stats,
  .values-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .split,
  .split.reverse,
  .puppy-layout,
  .standard-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .split,
  .split.reverse {
    gap: 40px;
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-text {
    gap: 10px;
  }

  .brand-symbol {
    height: 44px;
  }

  .footer-brand .brand-symbol {
    height: 38px;
  }

  .brand-subtitle {
    font-size: 8px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-media {
    display: none;
  }

  .hero-inner {
    padding-top: 104px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(54px, 16vw, 74px);
  }

  h2 {
    font-size: 38px;
  }

  .section,
  .contact {
    padding: 76px 0;
  }

  .contact {
    background-position: center, 61% center;
  }

  .hero-stats,
  .values-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 96px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 270px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-mobile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 46px rgba(43, 22, 71, 0.12);
    background:
      var(--silver)
      url("../img/hero-arven-silk-mobile.webp") 61% center / cover no-repeat;
  }

  .values-grid article {
    min-height: 220px;
  }

  .process-list li,
  .process-list li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav,
  .footer-base {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
