@font-face {
  font-family: 'Oxanium';
  src: url('assets/Oxanium.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('assets/Rajdhani.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #FAFAF8;
  --surface: #F2F1EC;
  --obsidian: #070707;
  --ink: #141413;
  --muted: #6C6963;
  --line: #DEDCD5;
  --line-dark: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; font-weight: 400; }

/* ===== UNIFIED MASTER HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 40;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.site-header.theme-dark {
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(7,7,7,0.82) 0%, rgba(7,7,7,0) 100%);
  border-bottom: 1px solid transparent;
}
.site-header.theme-dark.scrolled,
.site-header.theme-light {
  color: var(--ink);
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}
.brand-symbol-wrap {
  width: 38px;
  height: 42px;
  perspective: 500px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-symbol-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: rem-turn 14s linear infinite;
  transition: filter 0.3s ease;
}
.site-header.theme-dark:not(.scrolled) .brand-symbol-wrap img {
  filter: brightness(0) invert(1);
}
.site-header.theme-light .brand-symbol-wrap img,
.site-header.theme-dark.scrolled .brand-symbol-wrap img {
  filter: brightness(0);
}
.brand-wordmark {
  font: 500 20px/1 'Oxanium', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.brand-lockup[data-logo-mode="symbol-only"] .brand-wordmark { display: none; }
.brand-lockup[data-logo-mode="wordmark-only"] .brand-symbol-wrap { display: none; }

@keyframes rem-turn {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font: 500 15px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}
.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-city {
  font: 500 11px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.2em;
  opacity: 0.65;
  text-transform: uppercase;
}
.header-cta {
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid currentColor;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-header.theme-dark:not(.scrolled) .header-cta:hover {
  background: #FFFFFF;
  color: #070707;
}
.site-header.theme-light .header-cta:hover,
.site-header.theme-dark.scrolled .header-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.mobile-toggle {
  display: none;
  font: 600 13px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid currentColor;
}
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: #0B0B0A;
  color: #FFFFFF;
  z-index: 50;
  padding: 96px 8% 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font: 500 28px/1.2 'Oxanium', sans-serif;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer-close {
  position: absolute;
  top: 22px; right: 5%;
  font: 600 13px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.2em;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.mobile-drawer a {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 16px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  background: #000000;
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000000;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 46%;
  transform: scale(1.03);
  transition: opacity 0.45s ease;
}
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
/* Plan A: Pure #000 top & bottom vignette blends seamlessly without clipping the rotating model */
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.90) 100%);
  transition: opacity 0.35s ease;
}
/* Bi-fold / Dual-Foldable Unfolded Screens (near-square aspect ratio, e.g. Z Fold / Mate X) */
@media (min-width: 600px) and (max-width: 1100px) and (max-aspect-ratio: 4/3) {
  .hero-video {
    object-fit: contain;
    object-position: center 42%;
    transform: scale(1.04);
  }
}
/* Plan B: Sculpture Dragon Photo */
.hero[data-hero-mode="plan-b"] .hero-video { opacity: 0; pointer-events: none; }
.hero[data-hero-mode="plan-b"] .hero-still { opacity: 1; }
.hero[data-hero-mode="plan-b"] .hero-vignette {
  background: linear-gradient(180deg, rgba(7,7,7,0.58) 0%, rgba(7,7,7,0) 35%, rgba(7,7,7,0.88) 100%);
}
/* Plan Raw (for instant comparison against original unmasked video) */
.hero[data-hero-mode="raw"] .hero-video { transform: scale(1); }
.hero[data-hero-mode="raw"] .hero-vignette { opacity: 0.15; }

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 5% 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.hero-text { max-width: 720px; }
.hero-kicker {
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.hero-title {
  font: 400 clamp(30px, 4.4vw, 56px)/1.08 'Oxanium', sans-serif;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 28px;
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-primary-link {
  padding-bottom: 6px;
  border-bottom: 1px solid #FFFFFF;
}
.hero-secondary-link {
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
.hero-secondary-link:hover { opacity: 1; }

.video-pause {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.38);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero[data-hero-mode="plan-b"] .video-pause { display: none; }

/* ===== SHELL & EDITORIAL SECTIONS ===== */
.shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 104px 5%;
}
.section-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 48px;
}
.kicker {
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.display-h2 {
  font: 400 clamp(28px, 3.6vw, 48px)/1.12 'Oxanium', sans-serif;
  letter-spacing: -0.03em;
}
.section-sub {
  max-width: 400px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* 3-Card Collections Bridge */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.collection-card {
  display: block;
  group: true;
}
.collection-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}
.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.collection-card:hover .collection-media img {
  transform: scale(1.04);
}
.collection-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--line);
}
.collection-name {
  font: 500 20px/1.2 'Oxanium', sans-serif;
  letter-spacing: -0.02em;
}
.collection-num {
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.collection-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* Commission Routes */
.commission-band {
  border-top: 1px solid var(--line);
}
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.route-card {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}
.route-card h3 {
  font: 400 clamp(24px, 2.4vw, 34px)/1.2 'Oxanium', sans-serif;
  margin: 18px 0 14px;
}
.route-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 440px;
}
.route-link {
  margin-top: 32px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 320px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  font: 600 13px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ===== EDITORIAL WORKS GALLERY (ZERO GREY PILLARBOX BARS) ===== */
.page-hero {
  padding: 144px 5% 48px;
  max-width: 1480px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.page-hero-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.page-h1 {
  font: 400 clamp(36px, 5vw, 64px)/1.04 'Oxanium', sans-serif;
  letter-spacing: -0.035em;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.filter-pill {
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s ease;
}
.filter-pill.active,
.filter-pill:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.editorial-grid {
  max-width: 1480px;
  margin: 0 auto;
  padding: 56px 5% 110px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 44px 28px;
}
.work-item { display: flex; flex-direction: column; }
.work-item.span-12 { grid-column: span 12; }
.work-item.span-7 { grid-column: span 7; }
.work-item.span-5 { grid-column: span 5; padding-top: 64px; }
.work-item.span-6 { grid-column: span 6; }

.work-frame {
  position: relative;
  overflow: hidden;
  background: #141413;
}
.work-item.span-12 .work-frame { aspect-ratio: 21 / 10; }
.work-item.span-7 .work-frame { aspect-ratio: 4 / 3; }
.work-item.span-5 .work-frame { aspect-ratio: 4 / 5; }
.work-item.span-6 .work-frame { aspect-ratio: 5 / 4; }

.work-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-item:hover .work-frame img {
  transform: scale(1.035);
}
.work-hover-cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(20, 20, 19, 0.88);
  color: #FFFFFF;
  padding: 10px 16px;
  font: 600 11px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}
.work-item:hover .work-hover-cta {
  opacity: 1;
  transform: translateY(0);
}
.work-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.work-code {
  font: 600 14px/1 'Oxanium', sans-serif;
  letter-spacing: 0.04em;
}
.work-spec {
  font: 500 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== REMOTE FLOW PAGE (UNIFIED ARCHITECTURAL STYLE) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  margin-top: 24px;
}
.step-card {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.step-num {
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.step-card h3 {
  font: 500 20px/1.3 'Oxanium', sans-serif;
  margin: 12px 0 10px;
}
.step-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.policy-strip {
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--surface);
  border-left: 3px solid var(--ink);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
}
.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid #BDB9B0;
  background: transparent;
  padding: 12px 0;
  font: 15px/1.5 inherit;
  color: var(--ink);
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.btn-solid {
  background: var(--ink);
  color: var(--paper);
  padding: 15px 28px;
  font: 600 12px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.btn-solid:hover { background: #33322F; }

/* ===== UNIFIED MASTER FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 5% 68px;
  background: var(--paper);
}
.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  font: 500 28px/1 'Oxanium', sans-serif;
  letter-spacing: 0.28em;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  padding-top: 32px;
}
.footer-col h4 {
  margin: 0 0 14px;
  font: 600 13px/1 'Rajdhani', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ===== FLOATING A/B REVIEW SWITCHER BAR (DEMO ONLY) ===== */
.ab-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: rgba(16, 16, 15, 0.92);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}
.ab-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ab-label {
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  margin-right: 2px;
}
.ab-btn {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  transition: all 0.15s ease;
}
.ab-btn.active {
  background: #FFFFFF;
  color: #0B0B0A;
  border-color: #FFFFFF;
  font-weight: 600;
}

/* ===== MOBILE RESPONSIVE (100% ZERO OVERFLOW) ===== */
@media (max-width: 960px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    width: 100%;
  }
  .site-nav, .header-city, .header-cta { display: none; }
  .header-right {
    justify-self: auto;
    margin-left: auto;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .brand-symbol-wrap { width: 30px; height: 34px; }
  .brand-wordmark { font-size: 15px; letter-spacing: 0.2em; }
  .hero { height: 90svh; min-height: 540px; width: 100%; background: #000000; }
  /* Keep object-fit: contain so 100% of the rotating titanium model stays visible on iPhone & foldables */
  .hero-video {
    object-fit: contain;
    object-position: center 42%;
    transform: scale(1.08);
  }
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20px 32px;
    width: 100%;
    max-width: 100%;
  }
  .hero-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-kicker {
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.5;
    white-space: normal;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.15;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-top: 20px;
  }
  .shell { padding: 64px 20px; }
  .collections-grid, .route-grid, .steps-grid, .form-layout, .field-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .work-item.span-12, .work-item.span-7, .work-item.span-5, .work-item.span-6 {
    grid-column: span 12;
    padding-top: 0;
  }
  .work-item.span-12 .work-frame { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ab-dock {
    left: 12px; right: 12px; bottom: 12px;
    justify-content: space-between;
  }
}

/* ===== Restrained CTA: quiet text link instead of bordered button ===== */
.header-cta { border: 0 !important; padding: 6px 0 !important; background: none !important; border-bottom: 1px solid transparent !important; opacity: .82; }
.header-cta:hover { opacity: 1; background: none !important; color: inherit !important; border-bottom-color: currentColor !important; }
.footer-kicker { font: 600 11px/1 'Rajdhani', sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
