:root {
  --ink: #0B1B2B;
  --cream: #F1F7FB;
  --sand: #E3EFF6;
  --gold: #2A8FC7;
  --gold-deep: #1E6E9E;
  --line: rgba(11, 27, 43, 0.12);
  --display: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
  --bg-deep: #030f1a;
  --bg-mid: #071e30;
  --gold-lt: #d6f3fb;
  --gold-mid: #4fc3e0;
  --gold-dk: #0e5f80;
  --cream-lt: #eafcff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at 50% 35%, var(--bg-mid) 0%, var(--bg-deep) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader .stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
}

.loader .motes {
  position: absolute;
  inset: -200px;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 15% 20%, rgba(79,195,224,.3), transparent),
    radial-gradient(1.5px 1.5px at 80% 15%, rgba(79,195,224,.22), transparent),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(79,195,224,.28), transparent),
    radial-gradient(2px 2px at 25% 85%, rgba(79,195,224,.18), transparent);
  animation: drift 9s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateY(0); opacity: .55; }
  to { transform: translateY(-14px); opacity: 1; }
}

.loader .emblem-wrap {
  position: relative;
  width: min(58vw, 300px);
  aspect-ratio: 1/1;
  filter: drop-shadow(0 0 20px rgba(79,195,224,.22));
}

.loader svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.loader .ring {
  transform-origin: 200px 195px;
  animation: spin 16s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader .finial {
  transform-origin: 200px 46px;
  animation: breathe 3.2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.loader .mono path {
  stroke: url(#goldStroke);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: draw 2.4s ease forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.loader .mono .fill {
  fill: url(#goldFill);
  stroke: none;
  opacity: 0;
  animation: fillin .9s ease forwards, glow 2.4s ease-in-out 2.3s infinite;
  animation-delay: 2.2s, 3.3s;
}

@keyframes fillin {
  to { opacity: 1; }
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 1px rgba(214,243,251,.35)); }
  50% { filter: drop-shadow(0 0 5px rgba(214,243,251,.85)); }
}

.loader .ground-group {
  opacity: 0;
  animation: groupFade .6s ease forwards;
  animation-delay: 1.1s;
}

@keyframes groupFade {
  to { opacity: 1; }
}

.loader .cypress {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: sway 3.6s ease-in-out infinite;
}

.loader .cypress.l2 { animation-delay: .2s; }
.loader .cypress.r1 { animation-delay: .4s; }
.loader .cypress.r2 { animation-delay: .6s; }

@keyframes sway {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.2deg); }
}

.loader .house {
  transform-box: fill-box;
  transform-origin: center;
}

.loader .house-roof,
.loader .house-body {
  opacity: 0;
  transform: translateY(6px);
  animation: rise .9s cubic-bezier(.2,.9,.2,1) forwards;
  animation-delay: 1.3s;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.loader .hill {
  animation: shimmerHill 4s ease-in-out infinite;
}

.loader .hill.h2 { animation-delay: .6s; }
.loader .hill.h3 { animation-delay: 1.2s; }

@keyframes shimmerHill {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}

.loader .wordmark {
  text-align: center;
  margin-top: 2px;
}

.loader .wordmark h1 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(28px, 6vw, 42px);
  letter-spacing: .14em;
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold-mid) 45%, var(--gold-dk) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: sheen 3.5s ease-in-out infinite;
}

@keyframes sheen {
  0% { background-position: 200% 0; }
  100% { background-position: -40% 0; }
}

.loader .wordmark .sub {
  margin: 6px 0 0;
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: clamp(11px, 2.2vw, 14px);
  letter-spacing: .5em;
  color: var(--gold-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: .9;
}

.loader .sub .dash {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
}

.loader .rail {
  width: min(60vw, 220px);
  height: 2px;
  background: rgba(79,195,224,.18);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-top: 6px;
}

.loader .rail::before {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, transparent, var(--gold-lt), var(--gold-mid), transparent);
  animation: travel 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(214,243,251,.7);
}

@keyframes travel {
  0% { left: -40%; }
  100% { left: 100%; }
}

.loader .status {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: .08em;
  color: rgba(234,246,255,.65);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .loader * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(11, 27, 43, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease;
}

.topbar.scrolled {
  background: rgba(11, 27, 43, 0.92);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 40px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 72px;
}

.logo img {
  height: 100%;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
}

.btn-outline {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  padding: 11px 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 199;
  background: var(--ink);
  flex-direction: column;
  padding: 10px 40px 28px;
}

.mobile-nav a {
  color: #fff;
  padding: 14px 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav.open {
    display: flex;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    padding: 12px 20px;
  }

  .logo {
    height: 56px;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(3, 15, 26, 0.72) 0%, rgba(3, 15, 26, 0.48) 45%, rgba(3, 15, 26, 0.32) 100%),
    linear-gradient(180deg, rgba(3, 15, 26, 0.4) 0%, transparent 40%, rgba(3, 15, 26, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 130px 40px 90px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 520px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(42, 143, 199, 0.75);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  animation: fade-up 0.9s ease both;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
  animation: fade-up 0.9s ease 0.12s both;
}

.hero-sub {
  margin-top: 26px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 460px;
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  animation: fade-up 0.9s ease 0.24s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  align-items: center;
  animation: fade-up 0.9s ease 0.36s both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 32px 30px 28px;
  animation: fade-up 0.9s ease 0.3s both;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-card-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.hero-card-item strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #fff;
}

.hero-card-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.hero-card-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-solid {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 17px 38px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 28px rgba(42, 143, 199, 0.4);
}

.btn-solid:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 143, 199, 0.5);
}

.btn-ghost {
  display: inline-block;
  color: #fff;
  padding: 17px 28px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.95);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 120px 40px 100px;
  }

  .hero-card {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    padding: 120px 20px 80px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-card {
    padding: 24px 22px 22px;
  }
}

.btn-line {
  display: inline-block;
  margin-top: 32px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-line:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.about {
  padding: 150px 0 130px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.about-images {
  position: relative;
}

.img-a {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  transition: transform 0.6s ease;
}

.img-a:hover {
  transform: scale(1.02);
}

.img-b {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 58%;
  aspect-ratio: 1 / 1;
  border: 8px solid var(--cream);
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(11, 27, 43, 0.18);
  transition: transform 0.6s ease;
}

.img-b:hover {
  transform: scale(1.04);
}

@media (max-width: 560px) {
  .img-b {
    right: -12px;
    bottom: -30px;
    width: 50%;
    border-width: 6px;
  }
}

.about-copy h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 26px;
}

.about-copy p {
  font-size: 16px;
  color: rgba(11, 27, 43, 0.7);
  max-width: 460px;
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  margin-bottom: 70px;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 46px);
}