@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-body: "Manrope", sans-serif;
  --font-display: "Manrope", sans-serif;
  --page-max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 14px;
}

body.theme-holding {
  --bg: #0d0e0e;
  --surface: #171817;
  --surface-raised: #20211f;
  --text: #f4f0e6;
  --muted: #b8b2a6;
  --line: rgba(244, 240, 230, 0.18);
  --accent: #d7b44f;
  --cta-bg: #a98b3d;
  --cta-ink: #171308;
  --hero-accent: #d7b44f;
  --accent-soft: #8c783e;
  --accent-ink: #171308;
  --hero-overlay: linear-gradient(90deg, rgba(7, 8, 8, 0.92) 0%, rgba(7, 8, 8, 0.58) 46%, rgba(7, 8, 8, 0.16) 100%);
  --hero-position: center;
  --contact-bg: #181917;
  --contact-text: #f4f0e6;
}

body.theme-leasing {
  --bg: #071013;
  --surface: #0d1a1e;
  --surface-raised: #13252b;
  --text: #f0fbfd;
  --muted: #a8c0c6;
  --line: rgba(210, 241, 248, 0.18);
  --accent: #9bd7e5;
  --cta-bg: #679da8;
  --cta-ink: #061014;
  --hero-accent: #9bd7e5;
  --accent-soft: #4a8998;
  --accent-ink: #061014;
  --hero-overlay: linear-gradient(90deg, rgba(3, 11, 14, 0.96) 0%, rgba(3, 11, 14, 0.62) 45%, rgba(3, 11, 14, 0.16) 100%);
  --hero-position: 66% center;
  --contact-bg: #0e1b1f;
  --contact-text: #f0fbfd;
}

body.theme-property {
  color-scheme: light;
  --bg: #f1efe8;
  --surface: #fbfaf6;
  --surface-raised: #ffffff;
  --text: #172620;
  --muted: #40544b;
  --line: rgba(23, 38, 32, 0.18);
  --accent: #176246;
  --cta-bg: #285d48;
  --cta-ink: #ffffff;
  --hero-accent: #b9dfcd;
  --accent-soft: #6f9a86;
  --accent-ink: #ffffff;
  --hero-overlay: linear-gradient(90deg, rgba(9, 25, 19, 0.91) 0%, rgba(9, 25, 19, 0.52) 48%, rgba(9, 25, 19, 0.07) 100%);
  --hero-position: center;
  --contact-bg: #19392f;
  --contact-text: #f7f4ec;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-soft);
  border: 3px solid var(--bg);
  border-radius: 10px;
}

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

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--page-max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled,
.page-legal .site-header {
  background: rgba(9, 13, 12, 0.88);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px) saturate(130%);
}

.header-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  position: relative;
  z-index: 102;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: clamp(2.5rem, 5vw, 3.35rem);
  max-width: min(15rem, 50vw);
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}

.nav-link:hover,
.nav-link[aria-current="true"] {
  color: #fff;
}

.nav-link:hover::after,
.nav-link[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 102;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 0.7rem;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  transition: transform 220ms var(--ease-out), top 220ms var(--ease-out);
}

.menu-toggle span:first-child {
  top: 1.05rem;
}

.menu-toggle span:last-child {
  top: 1.65rem;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 1.35rem;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 1.35rem;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
  color: #fff;
}

.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  background: #111;
  animation: hero-unveil 800ms 90ms var(--ease-out) both;
}

.hero-media img {
  object-fit: cover;
  object-position: var(--hero-position);
  transform: scale(1.025);
  animation: hero-settle 1.2s var(--ease-out) both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-overlay);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-inner {
  padding-top: 10rem;
  padding-bottom: clamp(4.5rem, 9vh, 7rem);
}

.hero-copy {
  max-width: 62rem;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  color: var(--hero-accent);
  font-style: normal;
  font-weight: 600;
}

.hero-lead {
  max-width: 44rem;
  margin: clamp(1.35rem, 2vw, 1.75rem) 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero h1,
.hero-lead,
.hero-actions {
  animation: copy-arrive 700ms var(--ease-out) both;
}

.hero-lead {
  animation-delay: 120ms;
}

.hero-actions {
  animation-delay: 210ms;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 1rem;
  height: 1rem;
  transition: transform 180ms var(--ease-out);
}

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

.button:hover svg {
  transform: translateX(3px);
}

.button-primary {
  background: var(--cta-bg);
  color: var(--cta-ink);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding-block: var(--section-space);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.section h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section h2 em {
  color: var(--accent);
  font-style: normal;
}

.section-copy {
  max-width: 68ch;
}

.section-copy p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  text-wrap: pretty;
}

.section-copy p:first-child {
  color: var(--text);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.5;
}

.principles {
  background: var(--surface);
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: minmax(11rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line);
  transition: color 200ms ease, transform 300ms var(--ease-out);
}

.principle:hover {
  color: var(--accent);
  transform: translateX(0.75rem);
}

.principle h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.7vw, 1.85rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.principle:hover p {
  color: var(--text);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.faq-intro p {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 1.65rem 3.25rem 1.65rem 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.4rem;
  width: 1rem;
  height: 1px;
  background: var(--accent);
  transition: transform 220ms var(--ease-out);
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0);
}

.faq-answer {
  overflow: hidden;
  transform-origin: top;
}

.faq-answer-inner {
  padding: 0 0 1.7rem;
}

.faq-item p {
  max-width: 62ch;
  margin: -0.4rem 0 0;
  color: var(--muted);
}

.contact {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  background: var(--contact-bg);
  color: var(--contact-text);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.contact h2 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.contact-details {
  margin: 0;
  font-style: normal;
}

.contact-details strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.contact-details p {
  margin: 0.25rem 0;
}

.contact-details a {
  display: inline-block;
  font-weight: 700;
  text-decoration-thickness: 1px;
  transition: opacity 160ms ease;
}

.contact-details a:hover {
  opacity: 0.68;
}

.site-footer {
  padding-block: 2.4rem;
  background: #080a09;
  color: rgba(255, 255, 255, 0.62);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.legal-main {
  min-height: 70vh;
  padding: clamp(9rem, 16vw, 13rem) 0 var(--section-space);
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.legal-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.legal-heading h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link svg {
  width: 1rem;
  transition: transform 180ms var(--ease-out);
}

.back-link:hover svg {
  transform: translateX(-3px);
}

.legal-content {
  max-width: 72ch;
}

.legal-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.legal-section h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 750;
}

.legal-section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.legal-section a {
  color: var(--text);
}

@keyframes hero-unveil {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes hero-settle {
  from { transform: scale(1.08); filter: saturate(0.72) contrast(1.08); }
  to { transform: scale(1.025); filter: saturate(1) contrast(1); }
}

@keyframes copy-arrive {
  from { opacity: 0; transform: translateY(1.8rem); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

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

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.4rem;
    padding: 7rem var(--gutter) 3rem;
    background: rgba(8, 11, 10, 0.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 220ms ease, transform 300ms var(--ease-out), visibility 0s linear 300ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-link {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .nav-link::after {
    bottom: -0.2rem;
  }

  .section-grid,
  .faq-layout,
  .contact-inner,
  .legal-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .legal-heading {
    position: static;
  }
}

@media (max-width: 600px) {
  :root {
    --section-space: 4.5rem;
  }

  .header-inner {
    min-height: 4.8rem;
  }

  .brand img {
    height: 2.5rem;
  }

  .hero {
    min-height: 42rem;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(6, 10, 9, 0.22) 0%, rgba(6, 10, 9, 0.82) 60%, rgba(6, 10, 9, 0.98) 100%);
  }

  .hero-inner {
    padding-bottom: 3.25rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
  }

  .hero-actions {
    align-items: center;
    gap: 0.65rem;
  }

  .button {
    width: auto;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .principle:hover {
    transform: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

  .hero-media,
  .hero-media img,
  .hero h1,
  .hero-lead,
  .hero-actions {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}
