/* ============================================================
   houseofdavincipl.com — global styles
   Light refined theme: porcelain, ink slate, petrol, steel, wine
   ============================================================ */

:root {
  --porcelain: #f7f6f3;
  --parchment: #efece5;
  --paper: #fbfaf7;
  --ink: #1c2733;
  --soot: #3a4756;
  --mist: #52616f;
  --petrol: #1f4e5f;
  --petrol-deep: #14333e;
  --steel: #4a6fa5;
  --steel-soft: #dfe7f2;
  --wine: #7d2e46;
  --wine-soft: #f3e2e7;
  --line: #e2ded4;
  --line-dark: #cfc9ba;
  --shadow-soft: 0 18px 45px rgba(28, 39, 51, 0.08);
  --shadow-card: 0 10px 30px rgba(28, 39, 51, 0.07);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(74, 111, 165, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(31, 78, 95, 0.05), transparent 55%),
    var(--porcelain);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

video {
  display: block;
}

a {
  color: var(--petrol);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--steel);
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

h4 {
  font-size: 1.15rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

p {
  color: var(--soot);
}

.container-x {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container-x {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ---------- section scaffolding ---------- */

.section {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0;
  overflow: hidden;
}

.section--tight {
  padding: clamp(40px, 6vw, 72px) 0;
}

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

.section--parchment {
  background: var(--parchment);
}

.section--ink {
  background: var(--petrol-deep);
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: #f3f0e9;
}

.section--ink p,
.section--ink li {
  color: #b9c4cf;
}

.bg-media {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 25, 32, 0.24), rgba(15, 25, 32, 0.3));
  pointer-events: none;
}

.bg-media > * {
  position: relative;
  z-index: 1;
}

.bg-media-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 25, 32, 0.22), rgba(15, 25, 32, 0.28));
  pointer-events: none;
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 42, 52, 0.8), rgba(24, 33, 43, 0.9));
}

.video-overlay--light {
  background: linear-gradient(180deg, rgba(247, 246, 243, 0.86), rgba(239, 236, 229, 0.92));
}

.video-section {
  position: relative;
  overflow: hidden;
}

.video-section > .container-x,
.video-section > .video-inner {
  position: relative;
  z-index: 2;
}

.video-section h1,
.video-section h2,
.video-section h3,
.bg-media h1,
.bg-media h2,
.bg-media h3 {
  color: #fbfaf7;
}

.video-section p,
.bg-media p {
  color: #dce4ea;
}

.video-section .kicker,
.bg-media .kicker {
  color: #9fd4e0;
}

.video-section .kicker::before,
.bg-media .kicker::before {
  background: #9fd4e0;
}

.video-section .hero-meta,
.bg-media .hero-meta {
  color: #b9c4cf;
}

.video-section .hero-meta i,
.bg-media .hero-meta i {
  color: #9fd4e0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--petrol);
}

.section--ink .kicker {
  color: #9fd4e0;
}

.section--ink .kicker::before {
  background: #9fd4e0;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--soot);
  max-width: 62ch;
}

.section--ink .lead {
  color: #cfd8df;
}

.head-block {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.head-block--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.head-block--center .kicker {
  justify-content: center;
}

.head-block--center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- decorative elements ---------- */

.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--line-dark);
  margin: 26px 0;
}

.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.rule i {
  font-size: 0.8rem;
  color: var(--steel);
}

.blueprint {
  position: relative;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 78, 95, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 78, 95, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 0;
}

.blueprint > * {
  position: relative;
  z-index: 1;
}

.frame-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  position: relative;
}

.frame-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(31, 78, 95, 0.12);
  border-radius: calc(var(--radius-m) - 6px);
  pointer-events: none;
}

.torn-edge {
  position: relative;
}

.torn-edge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 14px;
  background:
    linear-gradient(45deg, transparent 33%, var(--porcelain) 33%, var(--porcelain) 66%, transparent 66%),
    linear-gradient(-45deg, transparent 33%, var(--porcelain) 33%, var(--porcelain) 66%, transparent 66%);
  background-size: 22px 14px;
}

.corner-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.9);
}

.drop-cap::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.4em;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--petrol);
  font-weight: 600;
}

.num-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--petrol);
  border: 1px solid var(--steel-soft);
  background: #fff;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: center;
}

.btn i {
  font-size: 0.85em;
  transition: transform 0.3s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--petrol);
  color: #fff;
}

.btn--primary:hover {
  background: var(--petrol-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(31, 78, 95, 0.28);
}

.btn--outline {
  border-color: var(--petrol);
  color: var(--petrol);
  background: transparent;
}

.btn--outline:hover {
  background: var(--petrol);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(15, 25, 32, 0.28);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn--wine {
  background: var(--wine);
  color: #fff;
}

.btn--wine:hover {
  background: #642236;
  color: #fff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(28, 39, 51, 0.1);
}

.header-top {
  background: var(--petrol-deep);
  color: #cdd8de;
  font-size: 0.78rem;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 7px;
  padding-bottom: 7px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.header-top-inner::-webkit-scrollbar {
  display: none;
}

.header-top-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cdd8de;
}

.header-top-item i {
  color: #7fb9c6;
  font-size: 0.7rem;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
}

.header-logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.header-logo-text small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  display: inline-block;
  padding: 9px 13px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--soot);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.header-nav a:hover {
  color: var(--petrol);
  background: rgba(31, 78, 95, 0.08);
}

.header-nav a.nav-cta {
  color: var(--petrol);
  border: 1px solid rgba(31, 78, 95, 0.35);
}

.header-nav a.nav-cta:hover {
  background: var(--petrol);
  color: #fff;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.burger:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 950;
  background: var(--porcelain);
  padding: 24px 20px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.mobile-menu-close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a i {
  font-size: 0.8rem;
  color: var(--steel);
}

.mobile-contacts {
  margin-top: auto;
  padding-top: 30px;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--soot);
}

.mobile-contacts div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mobile-contacts i {
  color: var(--petrol);
  margin-top: 4px;
}

@media (max-width: 1279px) {
  .header-nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .header-logo-text {
    display: none;
  }

  .header-logo img {
    height: 38px;
  }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--petrol-deep);
  color: #b9c4cf;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: clamp(48px, 6vw, 80px) 0 40px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: rgba(251, 250, 247, 0.95);
  border-radius: 12px;
}

.footer-brand p {
  color: #a8b9c5;
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #7fb9c6;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: #b9c4cf;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #b9c4cf;
}

.footer-contact i {
  color: #7fb9c6;
  margin-top: 4px;
  width: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cdd8de;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.footer-legal {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  font-size: 0.78rem;
  color: #9cafc0;
}

.footer-legal strong {
  color: #cdd8de;
  font-weight: 600;
}

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #9cafc0;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
  }
}

/* ---------- hero slider ---------- */

.hero-slider {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  flex: 1 0 100%;
  width: 100%;
}

.hero-slide .bg-media-fill {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide .hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20, 51, 62, 0.82) 0%, rgba(28, 39, 51, 0.55) 55%, rgba(28, 39, 51, 0.25) 100%);
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(80px, 12vh, 140px) 20px;
}

@media (min-width: 768px) {
  .hero-slide-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.hero-slide h1,
.hero-slide h2 {
  color: #f5f3ec;
  max-width: 16ch;
}

.hero-slide p {
  color: #cdd8de;
  max-width: 54ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 34px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8c9d4;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta i {
  color: #9fd4e0;
}

.hero-nav {
  position: absolute;
  z-index: 5;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-dots {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hero-dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.hero-dot.is-active {
  background: #fff;
}

.hero-arrows {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- cards & grids ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-dark);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(31, 78, 95, 0.1), rgba(74, 111, 165, 0.12));
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.section--ink .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--ink .card:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.section--ink .card h3,
.section--ink .card h4 {
  color: #f3f0e9;
}

.section--ink .card p,
.section--ink .card li {
  color: #aeb9c4;
}

.section--ink .card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #9fd4e0;
}

.media-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background: var(--parchment);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s var(--ease);
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-card .media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(20, 51, 62, 0.85));
  color: #f0ede4;
  font-size: 0.82rem;
}

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.list-check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--soot);
  font-size: 0.95rem;
}

.list-check li i {
  color: var(--petrol);
  margin-top: 4px;
  font-size: 0.8rem;
}

.section--ink .list-check li {
  color: #b9c4cf;
}

.section--ink .list-check li i {
  color: #7fb9c6;
}

/* ---------- before/after splitter ---------- */

.split-compare {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  aspect-ratio: 16 / 9;
  background: var(--parchment);
  user-select: none;
}

.split-compare .split-base,
.split-compare .split-top {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.split-compare .split-top {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #fff;
}

.split-compare .split-top > .split-fill {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 3;
}

.split-handle .split-knob {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petrol);
  box-shadow: var(--shadow-card);
  font-size: 0.8rem;
}

.split-label {
  position: absolute;
  top: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(18, 28, 36, 0.78);
  color: #fff;
  z-index: 2;
}

.split-label--left {
  left: 16px;
}

.split-label--right {
  right: 16px;
}

/* ---------- tabs ---------- */

.tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--soot);
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.tab-btn:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.tab-btn.is-active {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}

.section--ink .tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #cfd9e1;
}

.section--ink .tab-btn.is-active {
  background: #9fd4e0;
  border-color: #9fd4e0;
  color: var(--petrol-deep);
}

/* ---------- accordion / faq ---------- */

.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  overflow: hidden;
}

.acc + .acc {
  margin-top: 12px;
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.25s;
}

.acc-head:hover {
  color: var(--petrol);
}

.acc-head .acc-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--petrol);
  transition: transform 0.35s var(--ease), background 0.35s;
}

.acc.is-open .acc-ico {
  transform: rotate(45deg);
  background: var(--petrol);
  color: #fff;
  border-color: var(--petrol);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.acc-body-inner {
  padding: 0 24px 22px;
  color: var(--soot);
  font-size: 0.95rem;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--soot);
  white-space: nowrap;
}

.marquee-item i {
  color: var(--steel);
  font-size: 0.8rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- timeline ---------- */

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-dark);
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--porcelain);
  border: 3px solid var(--petrol);
}

.timeline-item h4 {
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.92rem;
  margin: 0;
}

.timeline-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--steel);
  text-transform: uppercase;
}

/* ---------- cryptex / cipher wheels ---------- */

.cryptex {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cryptex-wheel {
  width: 74px;
  text-align: center;
}

.cryptex-btn {
  width: 100%;
  height: 34px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--petrol);
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 0.2s;
}

.cryptex-btn:first-child {
  border-radius: 10px 10px 0 0;
}

.cryptex-btn:last-of-type {
  border-radius: 0 0 10px 10px;
}

.cryptex-btn:hover {
  background: var(--parchment);
}

.cryptex-display {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--paper);
  background: linear-gradient(160deg, var(--petrol), var(--petrol-deep));
  border-left: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}

/* ---------- counters ---------- */

.counter-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--petrol);
  line-height: 1;
}

.section--ink .counter-value {
  color: #9fd4e0;
}

/* ---------- tables ---------- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  font-size: 0.92rem;
}

.data-table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
  background: var(--parchment);
  color: var(--soot);
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--soot);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-m);
}

/* ---------- forms ---------- */

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soot);
}

.form-field label .req {
  color: var(--wine);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(31, 78, 95, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder,
.form-select::placeholder {
  color: #788591;
  opacity: 1;
}

.form-input.is-error,
.form-textarea.is-error,
.form-select.is-error {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(125, 46, 70, 0.1);
}

.field-error {
  font-size: 0.78rem;
  color: var(--wine);
  display: none;
}

.form-field.has-error .field-error {
  display: block;
}

.iti {
  display: block;
  width: 100%;
  font-family: "Manrope", sans-serif;
}

.iti__country-container {
  padding: 3px;
}

.iti__selected-country {
  border-radius: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--petrol-deep);
  background: rgba(31, 78, 95, 0.06);
}

.iti__dropdown-content {
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(15, 23, 42, 0.14));
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--soot);
  cursor: pointer;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--petrol);
  flex-shrink: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.form-step-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--paper);
  transition: all 0.3s ease;
}

.form-step-dot i {
  font-size: 12px;
  color: var(--petrol);
}

.form-step-dot.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.form-step-dot.is-active i {
  color: #9fd4e0;
}

.form-step-line {
  flex: 1;
  height: 1px;
  background: var(--line-dark);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: formStepIn 0.4s ease;
}

@keyframes formStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn.is-loading .form-loader {
  display: inline-block;
}

.btn.is-loading {
  opacity: 0.85;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 1200;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-left: 4px solid var(--petrol);
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease);
  max-width: min(92vw, 420px);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast i {
  color: var(--petrol);
  font-size: 1.1rem;
}

.toast--error {
  border-left-color: var(--wine);
}

.toast--error i {
  color: var(--wine);
}

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  z-index: 1100;
  bottom: 20px;
  left: 20px;
  max-width: min(430px, calc(100vw - 40px));
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(28, 39, 51, 0.18);
  padding: 22px;
  display: none;
  animation: fadeUp 0.5s var(--ease);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner .cookie-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-banner .cookie-head i {
  color: var(--petrol);
  font-size: 1.2rem;
}

.cookie-banner .cookie-head strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.cookie-banner p {
  font-size: 0.8rem;
  color: var(--soot);
  margin: 0 0 16px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.82rem;
}

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid .media-card:nth-child(5n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid .media-card:nth-child(5n + 1) img {
  aspect-ratio: auto;
  height: 100%;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .media-card:nth-child(5n + 1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(20, 30, 40, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- horizontal strip ---------- */

.strip-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-dark) transparent;
}

.strip-scroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.strip-card {
  width: min(340px, 82vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.strip-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.strip-card .strip-body {
  padding: 18px 20px 22px;
}

/* ---------- pricing ---------- */

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3vw, 40px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.price-card--featured {
  border: 2px solid var(--petrol);
  box-shadow: var(--shadow-soft);
}

.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--petrol);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.price-value small {
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mist);
}

/* ---------- misc ---------- */

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius-m);
  filter: grayscale(0.4) sepia(0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--petrol);
  border-bottom: 1px solid rgba(31, 78, 95, 0.3);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--steel);
  border-color: var(--steel);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--soot);
}

.chip i {
  color: var(--petrol);
  font-size: 0.7rem;
}

.section--ink .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #cdd8de;
}

.section--ink .chip i {
  color: #9fd4e0;
}

.stat-block {
  text-align: center;
  padding: 26px 16px;
}

.stat-block .stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 10px;
}

.section--ink .stat-block .stat-label {
  color: #9fb2bf;
}

.seal {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--petrol);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--petrol);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  background: var(--paper);
}

.seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(31, 78, 95, 0.4);
  border-radius: 50%;
}

.seal i {
  font-size: 1.4rem;
}

.section--ink .seal {
  background: transparent;
  border-color: #9fd4e0;
  color: #9fd4e0;
}

.section--ink .seal::before {
  border-color: rgba(159, 212, 224, 0.4);
}

.gear-ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
  margin: 0 auto;
}

.gear-ring::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px dashed rgba(31, 78, 95, 0.35);
  animation: spinSlow 40s linear infinite;
}

.gear-ring::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(74, 111, 165, 0.25);
  animation: spinSlow 55s linear infinite reverse;
}

.gear-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- aspect & text helpers ---------- */

.ar-16x9 img,
.media-card.ar-16x9 img {
  aspect-ratio: 16 / 9;
}

.ar-16x10 img,
.media-card.ar-16x10 img {
  aspect-ratio: 16 / 10;
}

.ar-1x1 img,
.media-card.ar-1x1 img {
  aspect-ratio: 1 / 1;
}

.on-dark {
  color: #dde6ec;
}

.on-dark-soft {
  color: #c7d2dc;
}

.ico-ice {
  color: #9fd4e0;
}

.text-paper {
  color: #f5f3ec;
}

/* ---------- misc page components ---------- */

.video-placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.newspaper-cols {
  column-gap: 2.5rem;
}

.bar-chart {
  height: 140px;
  align-items: flex-end;
  display: flex;
  gap: 6px;
}

.bar-chart .bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--petrol);
  min-height: 8%;
}

.bar-chart .bar--alt {
  background: var(--steel);
}

.social-light a {
  border-color: var(--line-dark);
  color: var(--soot);
  background: var(--paper);
}

.social-light a:hover {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff;
}

.hero-mid {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* utility rows */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 > .order-media {
    order: -1;
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
