/* =====================================================
   SERAPH BUILD CONSTRUCTION — Core Styles
   Implemented with Layout 13 (Blur to Focus) only
   ===================================================== */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2) format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2) format("woff2");
}

:root {
  --bg: #001431;
  --bg2: #0A2540;
  --gold: #E7C959;
  --gold-dark: #c9a53a;
  --white: #ffffff;
  --gray: #CFCFCF;
  --muted: #9D9D9D;
  --border: rgba(255, 255, 255, 0.08);
  --font: 'Poppins', sans-serif;
  --display: 'Montserrat', sans-serif;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease);
}

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

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--gray);
  font-family: var(--font);
  line-height: 1.7;
  /* `clip`, not `hidden`: `hidden` would make <body> a scroll container that
     never scrolls, which silently kills every `position: sticky` inside it -
     the sticky topbar and .projects-story__inner both depend on this. `clip`
     clips exactly the same overflow without creating a scroll container. */
  overflow-x: clip;
  padding-top: var(--topbar-h, 79px);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--white);
  line-height: 1.15;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--gold);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* =====================================================
   TOPBAR
   ===================================================== */
/* Fixed positioning to keep the topbar always visible at the top,
   with the hero section starting below it. */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.topbar.is-scrolled {
  background: #ffffff;
  box-shadow: none;
}

.topbar .brand {
  font-family: var(--display);
  color: var(--bg);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-width: 0;
  flex-shrink: 1;
}

/* Lockup is 5.28:1 — height drives the size, max-width keeps it from ever
   pushing the nav off a narrow screen. 42px is sized for the 1360-1499px
   band, which is the tightest (nine labels + sign-in + CTA at the same
   time); responsive.css scales it up on wide screens and on hamburger
   widths, where there is far more free space. */
.topbar .brand img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(222px, 30vw);
  object-fit: contain;
  object-position: left center;
}

.topbar .brand em {
  color: var(--gold);
  font-style: normal;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.topbar__nav a {
  position: relative;
  font-family: var(--display);
  font-size: 11px;
  /* body has no font-weight, so these labels used to render at Montserrat
     Regular (400) and read thin at 11px. Montserrat 800 is only ~1.3% wider
     than 700, so ExtraBold is effectively free here — the labels still fit
     the nav's width budget with tracking left at a legible 1.5px. */
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
  padding-bottom: 4px;
  /* Never break a label mid-word ("Home / Plan"). The nav either fits on
     one line or the hamburger takes over, so these stay on one line. */
  white-space: nowrap;
}

.topbar__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.topbar__nav a:hover {
  color: var(--gold);
}

.topbar__nav a:hover::after {
  transform: scaleX(1);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar__actions .topbar__quote {
  padding: 10px 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;
}

.topbar.is-menu-open {
  z-index: 1001;
}

.topbar__menu {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

.topbar__menu-icon {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
}

.topbar__menu-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bg);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}

.topbar__menu-line:nth-child(1) {
  top: 0;
}

.topbar__menu-line:nth-child(2) {
  top: 7px;
}

.topbar__menu-line:nth-child(3) {
  top: 14px;
}

.topbar__menu[aria-expanded="true"] .topbar__menu-line:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.topbar__menu[aria-expanded="true"] .topbar__menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.topbar__menu[aria-expanded="true"] .topbar__menu-line:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.topbar__menu:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(0, 20, 49, 0.98);
  display: flex;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: auto;
  padding: 96px 24px;
}

.mobile-menu__link {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: color var(--transition);
}

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__link:hover {
  color: var(--gold);
}

.mobile-menu__quote {
  margin: 1rem auto 0;
}

/* =====================================================
   SIDE NAV — fixed left rail
   ===================================================== */
.side-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.side-nav__label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.side-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.side-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.side-nav__link:hover .side-nav__dot {
  border-color: var(--gold);
}

.side-nav__link.is-active .side-nav__dot {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

.side-nav__name {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.side-nav__link:hover .side-nav__name,
.side-nav__link.is-active .side-nav__name {
  opacity: 1;
}

.side-nav__progress {
  width: 2px;
  height: 90px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.side-nav__progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}

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



/* =====================================================
   TYPOGRAPHY / BUTTONS (Layout 13 style)
   ===================================================== */
.eyebrow {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--display);
  letter-spacing: 1.5px;
  font-size: 12px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform var(--transition);
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn--solid {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn--solid:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--bg);
  transform: translateY(-2px);
}

/* =====================================================
   LAYOUT 13 — BLUR TO FOCUS
   ===================================================== */
.blur-panel {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.blur-panel__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.blur-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* No scale: the zoom only existed as the starting frame of the
     scroll-scrubbed reveal, which the hero never ran (see js/animations.js).
     Left in place it cropped 12% off the photo and left the hero's image in a
     different state from the Home Plan panels it shares a backdrop with. */
  transform: none;
  will-change: transform, opacity;
}

.blur-panel__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 49, 0.65), rgba(0, 20, 49, 0.4));
}

/* --- Homepage hero: heavier shade than the other blur panels --------------
   Every other panel runs a photograph: the shared 0.65 -> 0.40 gradient above
   was tuned against dark villa imagery, where even the lightest sky sits far
   below the copy. Hero Banner_seraph.png is a 1672x941 (16:9) banner that
   carries near-white highlights inside the copy block (peak luminance 0.99),
   and under the shared shade the worst pixel behind the text measured only
   3.34:1 - short of the 4.5:1 the 15px paragraph and 11px eyebrow need.
   Lifting both stops to 0.72 -> 0.60 clears it at 5.63:1. */
#hero .blur-panel__media::after {
  background: linear-gradient(to Right, transparent 40%, rgba(0, 20, 49, 0.35) 65%, rgba(0, 20, 49, 0.72) 100%);
}

/* The hero section now fills the full viewport height below the fixed topbar.
   The body padding-top accounts for the topbar height. */
#hero {
  height: 100dvh;
}

/* The whole hero copy is plain white with no rim; the backdrop above is what
   carries the contrast, so no text-shadow is needed on top of it. */
#hero .hero__content h1,
#hero .hero__content h2,
#hero .hero__content .eyebrow,
#hero .hero__content p {
  color: #fff;
  text-shadow: none;
}

/* --muted (#9D9D9D) measured 1.63:1 over the image even before this change,
   so the scroll cue was already failing; it is legible white now. */
#hero .hero__scroll {
  color: rgba(255, 255, 255, 0.88);
}

.blur-panel__content {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  text-align: center;
}

.blur-panel__content h1,
.blur-panel__content h2 {
  font-size: clamp(34px, 6vw, 68px);
  max-width: 760px;
  margin: 0 auto 16px;
}

.blur-panel__content p {
  color: var(--gray);
  max-width: 440px;
  margin: 0 auto 24px;
}

/* Hero — Right side middle alignment (laptops and desktops) */
.blur-panel__content.hero__content {
  position: relative;
  z-index: 10;
  width: min(640px, 50%);
  max-width: 740px;
  margin: auto 8vw auto auto;
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(6vh, 12vw, 12rem) 0;
  text-align: left;
}

/* Hero-specific font sizes - decreased from default */
.blur-panel__content.hero__content h1,
.blur-panel__content.hero__content h2 {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 0 16px 0;
  max-width: 96%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  max-width: 100%;
}

.hero__title .line-inner {
  display: block;
  max-width: 100%;
}

.blur-panel__content.hero__content p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 96%;
}

.blur-panel__content.hero__content .eyebrow {
  font-size: clamp(10px, 0.8vw, 12px);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  max-width: 96%;
}

.blur-panel__content.hero__content h1,
.blur-panel__content.hero__content h2,
.blur-panel__content.hero__content p,
.blur-panel__content.hero__content .btn {
  margin-left: 0;
  margin-right: auto;
}

.blur-panel__no {
  position: absolute;
  left: 4vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(70px, 12vw, 150px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  writing-mode: vertical-rl;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.blur-panel--split {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Split blur card */
.blur-card {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.blur-card img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.06);
  will-change: transform, opacity;
}

.blur-card h2 {
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 16px;
}

.blur-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* =====================================================
   KITCHEN — Scroll-driven 5-image sequence
   ===================================================== */
.kitchen-sequence {
  background: var(--bg);
}

.kitchen-sequence__stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.kitchen-sequence__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  will-change: transform, opacity;
}

.kitchen-sequence__img:first-child {
  opacity: 1;
  transform: scale(1);
}

.kitchen-sequence__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kitchen-sequence__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 49, 0.65), rgba(0, 20, 49, 0.4));
}

.kitchen-sequence__content {
  z-index: 2;
}

.kitchen-sequence__copy-stack {
  position: relative;
  min-height: 30vh;
}

.kitchen-sequence__copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  opacity: 0;
  pointer-events: none;
}

.kitchen-sequence__copy.is-active {
  opacity: 1;
  pointer-events: auto;
}

.kitchen-sequence__progress {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.kitchen-sequence__counter {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--white);
}

.kitchen-sequence__counter span {
  color: var(--gold);
  font-weight: 700;
}

.kitchen-sequence__dots {
  display: flex;
  gap: 8px;
}

.kitchen-sequence__dots span {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.4s var(--ease);
}

.kitchen-sequence__dots span.is-active {
  background: var(--gold);
}

/* =====================================================
   TICKER (Layout 15) — infinite CSS loop
   Used only inside the interior section
   ===================================================== */
.ticker-band {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 37, 64, 0.9);
}

.ticker {
  display: flex;
  width: max-content;
  animation: tickerMove 26s linear infinite;
  will-change: transform;
}

.ticker__row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker__row b {
  color: var(--gold);
  font-weight: 600;
}

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

/* Ticker anchored to the bottom of the interior section only */
.interior-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: none;
}

/* =====================================================
   HERO
   ===================================================== */
.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.mouse__wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: mouseScroll 1.8s ease-in-out infinite;
}

/* =====================================================
   MATERIALS — Layout 4 pinned horizontal scroll
   ===================================================== */
.materials-section {
  position: relative;
  background: var(--bg2);
}

.materials-section .materials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.materials-section .materials-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
  will-change: opacity, transform;
}

.materials-section .materials-bg img.is-active {
  opacity: 1;
  transform: scale(1);
}

.materials-section .materials-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 49, 0.72);
}

.materials-section .h-pin {
  position: relative;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.materials-section .h-track {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  padding: 0 10vw;
  will-change: transform;
}

.materials-section .h-head {
  flex: 0 0 38vw;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.materials-section .h-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.materials-section .h-head p {
  color: var(--muted);
  max-width: 340px;
}

.materials-section__cta {
  margin-top: 1.25rem;
  align-self: flex-start;
}

.materials-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 24px;
  padding: 0;
}

.materials-filter__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem;
  cursor: pointer;
  transition: color var(--transition);
}

.materials-filter__btn i {
  font-size: 18px;
  color: var(--gold);
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
}

.materials-filter__btn:hover,
.materials-filter__btn.active {
  color: var(--white);
}

.materials-filter__btn:hover i,
.materials-filter__btn.active i {
  opacity: 1;
  transform: scale(1.1);
}

.materials-section .material-card {
  flex: 0 0 60vw;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: 66vh;
}

.materials-section .material-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.materials-section .material-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.materials-section .material-card:hover .material-card__img-wrap img {
  transform: scale(1.06);
}

.materials-section .material-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 20, 49, 0.9));
}

.materials-section .material-card__body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 2;
}

  .materials-section .material-card__body h3 {
    font-size: clamp(18px, 3vw, 26px);
    margin-bottom: 4px;
  }

.materials-section .material-card__type {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.materials-section .material-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.materials-section .material-card__specs li {
  font-size: 13px;
  color: var(--gray);
  padding-left: 1rem;
  position: relative;
}

.materials-section .material-card__specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.materials-section .material-card.is-hidden {
  display: none;
}

.materials-section .progress-bar {
  position: absolute;
  left: 10vw;
  bottom: 48px;
  width: 80vw;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.materials-section .progress-bar i {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--gold);
}

/* =====================================================
   SERVICES
   ===================================================== */
.services-section {
  position: relative;
  padding: 110px 0;
  background: var(--bg);
  text-align: center;
}

.services-section__heading {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 14px;
}

.services-section__intro {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1rem;
}

.services-section__cta-wrap {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.service-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 201, 89, 0.35);
}

.service-card__icon {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* =====================================================
   PROJECTS — Layout 06 split scrollytelling
   ===================================================== */
.projects-section {
  position: relative;
  background: var(--bg2);
  text-align: center;
  padding-bottom: 0;
}

.projects-section__head {
  position: relative;
  z-index: 2;
  padding: 110px 0 60px;
}

.projects-section__heading {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 14px;
}

.projects-section__intro {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Pinned split storytelling */
.projects-story {
  position: relative;
  height: 700vh;
  background: var(--bg2);
}

.projects-story__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 6vw 48px;
  overflow: hidden;
}

.projects-story__inner .projects-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.projects-story__inner .projects-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
  will-change: opacity, transform;
}

.projects-story__inner .projects-bg img.is-active {
  opacity: 1;
  transform: scale(1);
}

.projects-story__inner .projects-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 49, 0.72);
}

.projects-story__text {
  position: relative;
  min-width: 0;
  max-width: 460px;
  margin-left: 0;
  min-height: 62vh;
  text-align: left;
  z-index: 2;
}

.projects-story__step {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  opacity: 0;
}

.projects-story__step .no {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.projects-story__step h2 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 18px;
}

.projects-story__step p {
  color: var(--muted);
  margin-bottom: 22px;
}

.projects-story__step .btn {
  margin-top: 8px;
}

.projects-story__visual {
  position: relative;
  min-width: 0;
  z-index: 1;
  height: 62vh;
  min-height: 400px;
}

.projects-story__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
}

.projects-story__visual img.active {
  opacity: 1;
}

/* Progress rail + dots */
.projects-story__rail {
  position: absolute;
  left: 3vw;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 40vh;
  background: rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.projects-story__rail i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--gold);
}

.projects-story__dots {
  position: absolute;
  left: 3vw;
  bottom: 40px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.projects-story__dots button {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
}

.projects-story__dots button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  transition: 0.3s;
}

.projects-story__dots button.active::before {
  background: var(--gold);
  border-color: var(--gold);
}

/* =====================================================
   ABOUT
   ===================================================== */
.about-section {
  background: var(--bg);
}

.about-card {
  text-align: left;
}

.about-card > div p {
  color: var(--muted);
}

.about-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.75rem;
  padding: 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 14px;
  color: var(--gray);
}

.about-features i {
  color: var(--gold);
  font-size: 12px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.testimonials-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonials-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.1);
}

.testimonials-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 49, 0.88);
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.testimonials-section__heading {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 3rem;
}

.testimonials-section__cta {
  margin-top: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 4rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 0;
}

.testimonial-card {
  padding: clamp(1.5rem, 4vw, 2rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 201, 89, 0.35);
}

.testimonial-card__rating {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 12px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 1.75rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-card__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(231, 201, 89, 0.4);
}

.testimonial-card__author cite {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.testimonial-card__author span {
  font-size: 12px;
  color: var(--muted);
}

/* =====================================================
   STATISTICS
   ===================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.stat-item__icon {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

  .stat-item__number {
    font-family: var(--display);
    font-size: clamp(28px, 6vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
  }

.stat-item__label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg2);
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr minmax(17.5rem, 1.55fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 3rem;
}

.footer-brand .brand {
  font-family: var(--display);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 16px;
  display: inline-block;
  max-width: 100%;
  margin-bottom: 1rem;
}

/* The lockup is far wider than the old stacked footer mark, so it is
   sized by width here — a fixed height would overflow the column. */
.footer-brand .brand img {
  display: block;
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
}

.footer-brand .brand em {
  color: var(--gold);
  font-style: normal;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.875rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(231, 201, 89, 0.1);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 14px;
  color: var(--muted);
  min-width: 0;
}

.footer-contact li > a,
.footer-contact li > span {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
}

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

.mt-4 {
  margin-top: 1.5rem;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.newsletter-form:focus-within {
  border-color: var(--gold);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: var(--white);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  min-width: 0;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form button {
  width: 48px;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}

.newsletter-form button:hover {
  background: var(--gold-dark);
}

.newsletter-status {
  min-height: 1.25rem;
  margin-top: 0.5rem;
  font-size: 13px;
  color: var(--muted);
}

.newsletter-status--error {
  color: #f87171;
}

.newsletter-status--success {
  color: #4ade80;
}

.newsletter-form input[aria-invalid="true"] {
  color: #f87171;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 0;
}

.footer-bottom p {
  margin: 0;
}

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

.footer-legal a {
  font-size: 13px;
  color: var(--muted);
}

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

/* =====================================================
   ABOUT 01 — Split Reveal
   ===================================================== */
.about-section {
  background: var(--bg);
  padding: 110px 0 0;
}

.about-head {
  max-width: 640px;
  margin-bottom: 72px;
}

.about-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.about-head p {
  color: var(--muted);
  font-size: 16px;
}

.about-head .line {
  display: block;
  overflow: hidden;
}

.about-head .line-inner {
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.split--flip .split__media {
  order: 2;
}

.split__media {
  overflow: hidden;
  border-radius: 0;
}

.split__media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.split__body h3 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 18px;
}

.split__body p {
  color: var(--muted);
  margin-bottom: 20px;
}

.stats {
  padding-bottom: 110px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

  .stat .num {
    font-family: var(--display);
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 700;
    color: var(--white);
  }

.stat .num sup {
  color: var(--gold);
  font-size: 24px;
}

.stat p {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* =====================================================
   TESTIMONIALS 01 — Single Split Carousel
   ===================================================== */
.testimonials-section .container {
  text-align: left;
}

.quotes-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.quotes-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 20px;
}

.quotes-head p {
  color: var(--muted);
  font-size: 16px;
}

.carousel {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.carousel .slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}

.carousel .slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide__portrait {
  position: relative;
  width: 280px;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
}

.slide__portrait i {
  font-size: 110px;
  color: var(--gold);
  opacity: 0.9;
  line-height: 1;
}

.slide__portrait::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--gold);
}

.slide__quote {
  position: relative;
  padding-left: 48px;
}

.slide__quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -24px;
  font-family: var(--display);
  font-size: 120px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}

.slide__quote blockquote {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.5;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 28px;
}

.slide__quote .who {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.slide__quote .role {
  font-size: 13px;
  color: var(--muted);
}

.controls {
  display: flex;
  gap: 14px;
  margin-top: 48px;
}

.controls button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.controls button:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 8px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.3s;
}

.dots span.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

/* =====================================================
   FOOTER 02 — Marquee Footer
   ===================================================== */
.footer-02 {
  padding: 0;
}

.marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee__track {
  display: flex;
  gap: 48px;
  flex: none;
  will-change: transform;
}

.marquee__item {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 201, 89, 0.55);
  letter-spacing: -0.02em;
  line-height: 1;
}

.marquee__item em {
  color: var(--gold);
  -webkit-text-stroke: 0;
  font-style: normal;
}

.footer__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 96px 0 72px;
}

.footer__contact h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.row .k {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.row .v {
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
}

.row .v:hover {
  color: var(--gold);
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  align-content: start;
}

.footer__nav a {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.3s;
}

.footer__nav a:hover {
  color: var(--gold);
  padding-left: 10px;
}

.footer__newsletter {
  padding-bottom: 40px;
}

.footer__bottom {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom-inner p {
  margin: 0;
}

/* Lenis smooth scroll base rules */
html.lenis,html.lenis body{height:auto}
.lenis:not(.lenis-autoToggle).lenis-stopped{overflow:clip}
.lenis [data-lenis-prevent],.lenis [data-lenis-prevent-wheel],.lenis [data-lenis-prevent-touch]{overscroll-behavior:contain}
.lenis.lenis-smooth iframe{pointer-events:none}
.lenis.lenis-autoToggle{transition-property:overflow;transition-duration:1ms;transition-behavior:allow-discrete}

/* =====================================================
   TOPBAR — SIGN IN BUTTON
   ===================================================== */
.topbar__login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border: 1px solid rgba(0, 20, 49, 0.18);
  border-radius: 50px;
  background: transparent;
  color: var(--bg);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.topbar__login i {
  font-size: 11px;
  line-height: 1;
  transition: color 0.3s;
}

.topbar__login:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.topbar__login:hover i {
  color: var(--gold);
}

/* =====================================================
   MOBILE MENU — SIGN IN
   ===================================================== */
.mobile-menu__login {
  margin: 1.25rem auto 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: auto;
}

/* =====================================================
   SIGN IN MODAL — Client / Admin
   ===================================================== */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.login-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease), visibility 0s;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 28, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.login-modal__panel {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 34px 30px 26px;
  border-radius: 22px;
  border: 1px solid rgba(231, 201, 89, 0.28);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(231, 201, 89, 0.09), transparent 60%),
    linear-gradient(180deg, #0d2c54 0%, #081c38 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.45s var(--ease);
}

.login-modal.is-open .login-modal__panel {
  transform: translateY(0) scale(1);
}

.login-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}

.login-modal__close:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.login-modal__head {
  text-align: center;
  margin-bottom: 24px;
}

.login-modal__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.login-modal__head h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
}

.login-modal__head p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.login-modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.login-modal__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.login-modal__tab:hover {
  color: var(--white);
}

.login-modal__tab.is-active {
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.login-modal__tab.is-active:hover {
  color: var(--bg);
}

.login-modal__tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.login-modal__pane {
  display: none;
}

.login-modal__pane.is-active {
  display: block;
  animation: login-fade 0.45s var(--ease);
}

@keyframes login-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.login-modal__hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.login-modal__hint i {
  margin-top: 2px;
  font-size: 12px;
  color: var(--gold);
}

.login-form__field {
  margin-bottom: 16px;
}

.login-form__field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.login-form__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 20, 49, 0.55);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.login-form__field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(231, 201, 89, 0.16);
  background: rgba(0, 20, 49, 0.85);
}

.login-form__field input::placeholder {
  color: #6b7a90;
}

.login-form__field .input-wrapper {
  position: relative;
}

.login-form__field .input-wrapper input {
  padding-right: 44px;
}

.login-form__field .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6b7a90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  line-height: 1;
  user-select: none;
  border: none;
  background: transparent;
  font: inherit;
}

.login-form__field .toggle-password:hover {
  color: var(--gold);
}

.login-form__field .toggle-password:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.login-form__submit {
  width: 100%;
  margin-top: 4px;
  padding: 13px 18px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform var(--transition);
}

.login-form__submit:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.login-form__submit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.login-modal__foot {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.login-modal__foot a {
  color: var(--gold);
  text-decoration: none;
}

.login-modal__foot a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .login-modal {
    padding: 14px;
  }

  .login-modal__panel {
    padding: 30px 22px 22px;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-modal__panel,
  .login-modal__close,
  .login-modal__pane.is-active {
    transition: none;
    animation: none;
  }
}

/* =====================================================
   CONTACT PAGE — quote request form
   ===================================================== */
/* 2rem, not 7rem: the topbar is sticky and takes its own space in the flow
   now, so the page no longer has to pad past it. 7rem - the 79px bar left
   33px of visible gap, which is what this restores. */
.contact-page {
  padding: 2rem 2rem 5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.contact-page__head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.contact-page__eyebrow {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.contact-page__head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-page__head p {
  color: var(--muted);
  font-size: 15px;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-page__info,
.contact-page__form-wrap {
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
}

.contact-page__info {
  background: rgba(10, 37, 64, 0.45);
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.contact-page__info h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.contact-page__info-lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-page__details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-page__details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}

.contact-page__detail-body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact-page__detail-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(231, 201, 89, 0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}

.contact-page__details .contact-page__detail-label,
.contact-page__social .contact-page__detail-label {
  display: block;
  width: 100%;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-page__detail-value {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
  color: var(--white);
  line-height: 1.55;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  min-width: 0;
}

a.contact-page__detail-value:hover {
  color: var(--gold);
}

.contact-page__social {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-page__social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.contact-page__social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--gray);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.contact-page__social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(231, 201, 89, 0.08);
}

.contact-page__form-wrap {
  background: rgba(0, 20, 49, 0.55);
  min-width: 0;
}

.contact-form__field {
  margin-bottom: 1.1rem;
  overflow: visible;
}

.contact-form__field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-form__field label span {
  color: var(--gold);
}

.contact-form__field label .contact-form__optional {
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85em;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 20, 49, 0.55);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.contact-form__field textarea {
  height: auto;
  resize: vertical;
  min-height: 130px;
}

.contact-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239D9D9D' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(231, 201, 89, 0.16);
  background: rgba(0, 20, 49, 0.85);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #6b7a90;
}

.contact-form__field input[aria-invalid="true"],
.contact-form__field select[aria-invalid="true"],
.contact-form__field textarea[aria-invalid="true"] {
  border-color: #e05c5c;
  box-shadow: 0 0 0 3px rgba(224, 92, 92, 0.14);
}

.contact-form__error {
  min-height: 1.1rem;
  margin-top: 0.35rem;
  font-size: 12px;
  color: #f08080;
}

.contact-form__meta .contact-form__error {
  margin-top: 0;
  align-self: flex-start;
}

.contact-form__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-form__meta .contact-form__error {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.contact-form__count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 13px 18px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform var(--transition);
}

.contact-form__submit:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.contact-form__submit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.contact-form__note {
  margin-top: 0.75rem;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.contact-form__note span {
  color: var(--gold);
}

.contact-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 14px;
}

.contact-alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.contact-alert--error {
  background: rgba(224, 92, 92, 0.12);
  border: 1px solid rgba(224, 92, 92, 0.35);
  color: #f5b0b0;
}

.contact-alert--info {
  background: rgba(231, 201, 89, 0.1);
  border: 1px solid rgba(231, 201, 89, 0.28);
  color: #e9dfc0;
}

.btn--gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn--gold:hover {
  background: var(--gold-dark);
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 14px;
}

.alert--success {
  background: rgba(231, 201, 89, 0.12);
  border: 1px solid rgba(231, 201, 89, 0.35);
  color: #f0dfa8;
}

.alert--error {
  background: rgba(224, 92, 92, 0.12);
  border: 1px solid rgba(224, 92, 92, 0.35);
  color: #f5b0b0;
}

@media (max-width: 900px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* =====================================================
   Animations (was css/animations.css — merged to cut a
   render-blocking stylesheet request)
   ===================================================== */

/* Hero mouse scroll wheel */
@keyframes mouseScroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, 6px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

.mouse__wheel {
  animation: mouseScroll 1.8s ease-in-out infinite;
}

/* Reduced motion: clear all blur / scale so content is always in focus */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .blur-panel__media img,
  .blur-card img,
  .testimonials-section__bg img {
    filter: none !important;
    transform: none !important;
  }

  .hero__title .line-inner {
    transform: none !important;
  }

  .mouse__wheel,
  .ticker {
    animation: none;
  }
}

