:root {
  --bg: #000000;
  --bg-soft: #0b0b0b;
  --panel: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --gold: #cc9933;
  --gold-soft: #e3b124;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 20px;
  --page-pad: clamp(20px, 4vw, 60px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Lato", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(227, 177, 36, 0.1), transparent 20%),
    linear-gradient(180deg, #090909, #000000 26%, #040404 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 96%);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: 100%;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  background:
    radial-gradient(circle at center, rgba(227, 177, 36, 0.06), transparent 18%),
    #000000;
  transition: opacity 900ms ease, visibility 900ms ease;
  animation: introAutoHide 0.9s ease 1.8s forwards;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-mark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  transform: translateY(0);
  animation: introFloat 1.8s ease forwards;
}

@keyframes introAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.intro-mark img {
  width: min(42vw, 360px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.intro-line {
  width: min(10vw, 88px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 177, 36, 0.88), transparent);
  animation: introLine 1.6s ease infinite alternate;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--page-pad);
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease;
}

.topbar.is-scrolled,
.topbar.is-open {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.94), rgba(9, 9, 9, 0.9)),
    rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.brand img {
  width: 170px;
  height: auto;
  display: block;
}

.nav,
.header-actions {
  display: flex;
  align-items: center;
}

.nav {
  gap: 28px;
}

.nav a,
.mini-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 400;
  transition: color 180ms ease;
}

.nav a:hover,
.mini-link:hover {
  color: var(--gold-soft);
}

.mini-link img {
  width: 112px;
  height: auto;
  display: block;
  opacity: 0.92;
}

.header-actions {
  gap: 18px;
}

.header-utility {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.header-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-social-link:hover {
  color: var(--gold-soft);
  border-color: rgba(227, 177, 36, 0.38);
  background: rgba(227, 177, 36, 0.08);
  transform: translateY(-1px);
}

.header-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lang-btn.is-active {
  color: #17130d;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(227, 177, 36, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, #e3b124, #cc9933);
  color: #1a150c;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(227, 177, 36, 0.2);
}

.cta-outline,
.cta-ghost {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.cta-ghost {
  border-color: rgba(255, 255, 255, 0.18);
}

.viewing-trigger {
  cursor: pointer;
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 104px var(--page-pad) 48px;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 700ms ease;
}

.hero-video.is-fading {
  opacity: 0.35;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 35%, rgba(0, 0, 0, 0.38) 62%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(circle at 72% 36%, rgba(227, 177, 36, 0.24), transparent 14%);
}

.hero-inner,
.section,
.strip {
  position: relative;
  z-index: 1;
}

.hero-inner,
.section {
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  gap: 28px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero h1,
.section-heading h2,
.gallery-copy h2,
.contact-copy h2,
.hero-panel h2 {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: #ffffff;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.hero-text,
.story-copy p,
.featured-copy p,
.inventory-copy p,
.process-step p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.hero-text {
  max-width: 64ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.95;
}

.story-copy p {
  font-size: 1.22rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel,
.panel,
.featured-card,
.inventory-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  box-shadow: var(--shadow);
}

.hero-panel {
  justify-self: end;
  max-width: 360px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-panel h2 {
  margin-top: 4px;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 400;
}

.hero-panel p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.88rem;
}

.hero-meta {
  display: none;
}

.hero-meta li,
.inventory-copy li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
}

.strip,
.section {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.strip {
  margin-top: -1px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.partner-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, transparent 100%);
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partner-marquee 34s linear infinite;
}

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

.partner-group {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 44px);
  padding-right: clamp(26px, 3vw, 44px);
}

.partner-item {
  flex: 0 0 auto;
  min-width: clamp(110px, 10vw, 152px);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.partner-item:hover,
.partner-item:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.partner-logo {
  display: block;
  max-width: min(160px, 15vw);
  max-height: 28px;
  width: auto;
  height: auto;
}

.partner-logo-invert {
  filter: brightness(0) invert(1);
}

@keyframes partner-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding-top: 108px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.gallery-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.05;
}

.story-grid,
.gallery-stack,
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.panel,
.contact-card {
  border-radius: var(--radius);
}

.panel,
.process-step {
  padding: 30px;
}

.story-copy {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-image,
.featured-card,
.inventory-card,
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.story-image img,
.featured-card img,
.inventory-card img,
.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-image {
  min-height: 560px;
  position: relative;
}

.story-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.story-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

.story-slide.is-active {
  opacity: 1;
}

.collection-grid {
  display: block;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #050505;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.featured-open {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.featured-media {
  position: absolute;
  inset: 0;
}

.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 36%, rgba(0, 0, 0, 0.82) 100%);
}

.featured-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 460ms ease, filter 320ms ease;
}

.featured-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 28px;
}

.featured-copy {
  display: grid;
  gap: 14px;
}

.featured-copy h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.featured-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.featured-price {
  color: var(--gold-soft);
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}

.featured-more {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-card:hover,
.featured-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(227, 177, 36, 0.34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.featured-card:hover .featured-media img,
.featured-card:focus-within .featured-media img {
  transform: scale(1.045);
  filter: saturate(1.05) brightness(1.02);
}

.featured-card:hover .featured-more,
.featured-card:focus-within .featured-more {
  color: #ffffff;
}

.listing-grid-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.listing-show-more {
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.listing-show-more:hover,
.listing-show-more:focus-visible {
  border-color: rgba(227, 177, 36, 0.52);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.listing-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.listing-open {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: transform 260ms ease;
}

.listing-hero {
  overflow: hidden;
  border-radius: var(--radius);
}

.listing-hero img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 460ms ease, filter 320ms ease;
}

.listing-summary {
  align-self: center;
  padding: 22px;
}

.listing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.listing-head h3 {
  margin: 8px 0 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.listing-price {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
}

.listing-skim {
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.8;
}

.listing-tech {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.listing-tech div,
.listing-detail-tech div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.listing-tech span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listing-tech strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.featured-copy h3,
.inventory-copy h3,
.process-step h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.inventory-card {
  background: transparent;
}

.inventory-card img {
  aspect-ratio: 4 / 4.7;
}

.inventory-copy {
  padding: 20px;
}

.listing-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.listing-more {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card:hover,
.listing-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(227, 177, 36, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.listing-card:hover .listing-hero img,
.listing-card:focus-within .listing-hero img {
  transform: scale(1.045);
  filter: saturate(1.06) brightness(1.02);
}

.listing-card:hover .listing-open,
.listing-card:focus-within .listing-open {
  transform: translateY(-2px);
}

.listing-card:hover .listing-price,
.listing-card:focus-within .listing-price {
  color: var(--gold-soft);
}

.listing-card:hover .listing-more,
.listing-card:focus-within .listing-more {
  color: #ffffff;
}

.listing-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.listing-modal.is-open {
  display: block;
}

.listing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.listing-modal-dialog {
  position: relative;
  width: min(calc(100% - 40px), 1320px);
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  padding: 28px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #080808;
  box-shadow: var(--shadow);
}

.listing-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.listing-modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  clear: both;
}

.listing-gallery img,
.listing-main-image {
  width: 100%;
  display: block;
}

#listing-main-image {
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.listing-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.listing-thumb {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.listing-thumb.is-active {
  border-color: rgba(255, 255, 255, 0.28);
}

.listing-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.listing-detail-tech {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
  margin: 20px 0 26px;
}

.listing-detail-tech span {
  color: var(--muted);
  line-height: 1.65;
}

#listing-description-body p {
  color: var(--muted);
  line-height: 1.85;
}

.listing-description h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.listing-description p {
  color: var(--muted);
  line-height: 1.85;
}

.listing-features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.listing-features-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.listing-features-trigger:hover,
.listing-features-trigger:focus-visible {
  border-color: rgba(227, 177, 36, 0.52);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.feature-groups {
  display: grid;
  gap: 16px;
}

.feature-group {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-group strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-group li {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  width: 100%;
  height: 100%;
}

.lightbox-close,
.lightbox-control,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
}

.lightbox-toolbar {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.lightbox-control {
  min-width: 52px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 90px 32px 32px;
  overflow: auto;
}

#lightbox-image {
  max-width: min(94vw, 1600px);
  max-height: calc(100vh - 140px);
  object-fit: contain;
  transform-origin: center center;
  transition: transform 180ms ease;
  cursor: zoom-in;
  user-select: none;
}

#lightbox-image.is-zoomed {
  cursor: grab;
}

#lightbox-image.is-dragging {
  cursor: grabbing;
}

.viewing-modal {
  position: fixed;
  inset: 0;
  z-index: 135;
  display: none;
}

.viewing-modal.is-open {
  display: block;
}

.viewing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.viewing-modal-dialog {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.viewing-modal-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.viewing-modal-card {
  width: min(100%, 480px);
  padding: 44px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(9, 9, 9, 0.95)),
    rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.viewing-modal-card img {
  width: min(220px, 58vw);
  height: auto;
  display: block;
  margin: 0 auto 26px;
}

.viewing-modal-card h2 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.viewing-modal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.viewing-modal-card p a {
  color: #ffffff;
}

.features-modal {
  position: fixed;
  inset: 0;
  z-index: 136;
  display: none;
}

.features-modal.is-open {
  display: block;
}

.features-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.features-modal-dialog {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.features-modal-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.features-modal-card {
  width: min(100%, 880px);
  max-height: min(84vh, 900px);
  padding: 38px 32px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(9, 9, 9, 0.95)),
    rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.features-modal-card img {
  width: min(220px, 54vw);
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.features-modal-card h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inventory-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-step {
  min-height: 220px;
}

.process-step strong {
  display: block;
  margin-bottom: 22px;
  color: rgba(227, 177, 36, 0.88);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  max-width: 22ch;
}

.contact-card {
  padding: 34px;
  background: transparent;
}

.partners-section {
  padding-top: 72px;
  padding-bottom: 10px;
}

.follow-us-heading {
  max-width: none;
  margin-bottom: 24px;
  text-align: center;
}

.partners-section .strip {
  margin-top: 0;
}

.contact-section {
  padding-top: 12px;
}

.site-footer {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 12, 0.92);
  overflow: hidden;
}

.footer-follow {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.footer-follow-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.72fr));
  gap: 38px;
  padding: 40px clamp(28px, 4vw, 46px) 34px;
}

.footer-brand {
  min-width: 0;
}

.footer-about {
  max-width: 40ch;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.footer-company-meta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.footer-block {
  display: grid;
  gap: 12px;
}

.footer-label {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-subtitle {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.footer-about,
.footer-company-meta p,
.footer-column p,
.footer-column a,
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.92);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px clamp(28px, 4vw, 46px) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-wordmark-gold {
  color: var(--gold-soft);
}

.footer-wordmark-white {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.86);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer-social:hover {
  border-color: rgba(227, 177, 36, 0.38);
  background: rgba(227, 177, 36, 0.08);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.footer-social-glyph {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  text-align: center;
}

html.has-motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

html.has-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes introFloat {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introLine {
  0% {
    opacity: 0.45;
    transform: scaleX(0.78);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 1200px) {
  .hero-inner,
  .story-grid,
  .gallery-stack,
  .contact-card,
  .listing-open,
  .listing-modal-grid,
  .partner-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partner-track {
    animation-duration: 26s;
  }

  .partner-item {
    min-width: 108px;
  }

  .partner-logo {
    max-width: 124px;
    max-height: 24px;
  }

  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-card,
  .story-image,
  .gallery-card {
    min-height: 440px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .listing-tech,
  .listing-detail-tech,
  .listing-thumbs {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    justify-self: start;
    max-width: 520px;
  }

  .listing-modal-dialog,
  .features-modal-card,
  .viewing-modal-card {
    width: min(calc(100% - 32px), 960px);
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: space-between;
    position: fixed;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
    padding: 8px;
    position: absolute;
    top: 16px;
    right: var(--page-pad);
    z-index: 2;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .topbar.is-open .nav,
  .topbar.is-open .header-actions {
    display: flex;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .topbar.is-open .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .topbar.is-open .header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .topbar.is-open .header-actions > * {
    width: 100%;
  }

  .topbar.is-open .header-utility {
    width: auto;
  }

  .topbar.is-open .mini-link {
    display: inline-flex;
  }

  .header-utility {
    order: -1;
  }

  .mini-link img {
    width: 96px;
  }

  .header-actions .cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 36px;
  }

  .hero-inner {
    gap: 20px;
  }

  .hero-copy {
    padding-bottom: 10px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
    max-width: 12ch;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .cta {
    min-width: 0;
  }

  .hero-panel {
    max-width: 100%;
  }

  .story-copy,
  .story-image,
  .story-slides {
    min-height: 420px;
  }

  .listing-head {
    flex-direction: column;
    gap: 10px;
  }

  .listing-price {
    font-size: 1.2rem;
  }

  .listing-modal-dialog {
    width: min(calc(100% - 24px), 920px);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    padding: 22px;
  }

  .viewing-modal-close,
  .features-modal-close {
    top: 20px;
    right: 20px;
  }

  .viewing-modal-card,
  .features-modal-card {
    width: min(calc(100% - 20px), 760px);
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 18px;
  }

  .brand img {
    width: 138px;
  }

  .intro-mark {
    gap: 12px;
  }

  .intro-mark img {
    width: min(62vw, 240px);
  }

  .intro-line {
    width: 36px;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: 1.8rem;
    max-width: 11ch;
  }

  .story-copy p {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .cta {
    width: 100%;
  }

  .hero-panel,
  .panel,
  .process-step,
  .contact-card {
    padding: 22px;
  }

  .listing-modal-dialog {
    padding: 18px;
  }

  .listing-summary {
    padding: 18px;
  }

  .listing-hero img {
    min-height: 240px;
  }

  .listing-tech,
  .listing-detail-tech,
  .listing-thumbs {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-main {
    padding: 38px 22px 40px;
  }

  .footer-bottom {
    gap: 16px;
  }

  .footer-socials,
  .footer-wordmark,
  .footer-bottom p {
    justify-self: center;
  }

  .section {
    padding-top: 76px;
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .listing-modal-close,
  .lightbox-close,
  .lightbox-nav,
  .viewing-modal-close,
  .features-modal-close {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .lightbox-stage {
    padding: 72px 16px 16px;
  }

  .listing-modal-dialog {
    width: min(calc(100% - 16px), 100%);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
  }

  .viewing-modal-dialog,
  .features-modal-dialog {
    padding: 16px;
  }

  .viewing-modal-card,
  .features-modal-card {
    width: 100%;
    padding: 26px 18px;
    border-radius: 24px;
  }

  .viewing-modal-card img,
  .features-modal-card img {
    width: min(180px, 52vw);
  }

  .feature-group ul {
    gap: 6px;
  }

  .feature-group li {
    font-size: 0.76rem;
    padding: 7px 9px;
  }

  .listing-features {
    grid-template-columns: 1fr;
  }
}

/* Group companies: partner logo and footer links */
.partner-logo-royal {
  max-height: 34px;
}

.footer-group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-group a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
  text-decoration-color: rgba(227, 177, 36, 0.45);
  text-underline-offset: 3px;
}

.footer-group a:hover {
  color: #e3b124;
}
