@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
}

:root {
  --black: #070707;
  --black-2: #11100e;
  --graphite: #1b1a17;
  --gold: #c6a15b;
  --gold-2: #e2c781;
  --gold-dark: #7b5d27;
  --text: #f7f3ea;
  --muted: #bdb4a4;
  --line: rgba(226, 199, 129, .22);
  --glass: rgba(9, 9, 8, .72);
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .26));
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(6, 6, 6, .94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .03em;
}

.brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(247, 243, 234, .82);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
  transition: right .25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.nav-cta {
  padding: 11px 15px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section-image {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .46) 42%, rgba(0, 0, 0, .18)),
    var(--image);
  background-position: center;
  background-size: cover;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 140px clamp(20px, 6vw, 84px) 42px;
  overflow: hidden;
}

.hero::before,
.statement::before,
.knowledge-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 25%, rgba(198, 161, 91, .18), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .78));
  pointer-events: none;
}

.hero-content,
.hero-metrics,
.statement-inner,
.knowledge-section > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: .98;
}

h1 {
  max-width: 980px;
  font-size: clamp(52px, 9vw, 126px);
}

h2 {
  font-size: clamp(38px, 5.8vw, 78px);
}

h3 {
  font-size: 22px;
}

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

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(247, 243, 234, .86);
  font-size: clamp(17px, 1.8vw, 22px);
}

.hero-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-2);
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #090806;
  border-color: transparent;
}

.button.ghost {
  background: rgba(0, 0, 0, .18);
  color: var(--gold-2);
}

.hero-metrics {
  margin-top: 72px;
  width: min(980px, 100%);
}

.hero-metrics article {
  flex: 1 1 210px;
  padding: 22px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  display: block;
  color: var(--gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(247, 243, 234, .76);
}

.split-section,
.dashboard-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(82px, 10vw, 150px) clamp(20px, 6vw, 84px);
}

.copy-panel {
  max-width: 760px;
}

.copy-panel p,
.dashboard-copy p,
.calculator-copy p,
.contact-copy p {
  max-width: 660px;
  font-size: 17px;
}

.image-card,
.contact-image {
  position: relative;
  box-shadow: var(--shadow);
}

.image-card img,
.contact-image img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.image-card::before,
.contact-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(226, 199, 129, .58);
  pointer-events: none;
}

.caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px;
  background: rgba(0, 0, 0, .7);
  border-left: 2px solid var(--gold);
  color: rgba(247, 243, 234, .9);
  font-size: 14px;
}

.statement {
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 90px 20px;
  text-align: center;
}

.statement-inner {
  max-width: 920px;
}

.statement-inner p:last-child {
  max-width: 680px;
  margin: 26px auto 0;
  color: rgba(247, 243, 234, .84);
  font-size: 19px;
}

.system-section,
.services-section,
.calculator-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 6vw, 84px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(36px, 5vw, 70px);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.system-step {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--graphite);
}

.system-step img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: .52;
  transition: transform .7s ease, opacity .7s ease;
}

.system-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .88));
}

.system-step > *:not(img) {
  position: relative;
  z-index: 1;
}

.system-step:hover img {
  transform: scale(1.04);
  opacity: .68;
}

.system-step span {
  color: var(--gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
}

.system-step p {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}

.service-item img {
  height: 190px;
  object-fit: cover;
}

.service-item h3 {
  font-size: clamp(24px, 3vw, 38px);
}

.dashboard-section {
  background:
    linear-gradient(135deg, rgba(198, 161, 91, .12), transparent 36%),
    var(--black-2);
}

.dashboard-mock {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(226, 199, 129, .13), transparent 45%),
    rgba(0, 0, 0, .42);
  box-shadow: var(--shadow);
}

.mock-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.mock-top span,
.mock-metrics span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mock-top strong {
  color: var(--gold-2);
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.mock-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07);
}

.mock-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 24px;
}

.room-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.room-board span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, .09);
  font-weight: 700;
}

.room-board .ready {
  background: rgba(198, 161, 91, .22);
  color: var(--gold-2);
}

.room-board .check {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
}

.room-board .delay {
  background: rgba(139, 44, 32, .48);
  color: #ffd3c9;
}

.calculator-section {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.calculator {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.calculator label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  color: var(--text);
  font-weight: 600;
}

.calculator input[type="range"] {
  grid-column: 1 / -1;
  accent-color: var(--gold);
}

.calculator output {
  color: var(--gold-2);
  font-weight: 700;
}

.calculator-result {
  margin-top: 8px;
  padding: 24px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #0b0906;
}

.calculator-result span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.calculator-result strong {
  display: block;
  margin-top: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: .9;
}

.calculator-result p {
  margin-bottom: 0;
  color: rgba(11, 9, 6, .82);
}

.knowledge-section {
  padding: clamp(82px, 10vw, 150px) clamp(20px, 6vw, 84px);
}

.knowledge-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-card {
  min-height: 260px;
  padding: 28px;
  background: rgba(0, 0, 0, .68);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.knowledge-card span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.knowledge-card h3 {
  margin-top: 26px;
  font-size: clamp(24px, 3vw, 34px);
}

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

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
}

.contact-form select {
  color: var(--muted);
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form .honeypot {
  display: none;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--gold-2);
}

.form-status.is-error {
  color: #e08a7a;
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.contact-form .consent input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
  accent-color: var(--gold);
}

.contact-form .consent a,
.cookie-banner a {
  color: var(--gold-2);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 150px clamp(20px, 6vw, 84px) 90px;
}

.legal-page h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  margin-bottom: 10px;
}

.legal-page h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  margin: 38px 0 12px;
  color: var(--gold-2);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page .updated {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer {
  padding: 58px clamp(20px, 6vw, 84px) 26px;
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .8fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-block h4 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-block a,
.footer-block p {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}

.footer-block a:hover {
  color: var(--gold-2);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color .3s ease, border-color .3s ease;
}

.footer-social a:hover {
  color: var(--gold-2);
  border-color: var(--gold);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--gold-2);
  text-decoration: none;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(5, 5, 5, .96);
    border: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .system-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .dashboard-section,
  .calculator-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .calculator-copy,
  .dashboard-copy,
  .contact-copy {
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 116px 18px 28px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 72px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .hero-metrics {
    margin-top: 46px;
  }

  .split-section,
  .dashboard-section,
  .contact-section,
  .system-section,
  .services-section,
  .calculator-section,
  .knowledge-section {
    padding-inline: 18px;
  }

  .system-grid,
  .knowledge-grid,
  .mock-metrics {
    grid-template-columns: 1fr;
  }

  .system-step {
    min-height: 410px;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item img {
    height: 220px;
  }

  .room-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
