/* Achievement Trading — shared styles */
:root {
  --navy: #0A2559;
  --navy-2: #0F2E6B;
  --navy-3: #16387A;
  --line: #27467F;
  --line-2: #4A669C;
  --mist: #BFC9DC;
  --cream: #F9F5EC;
  --cream-2: #F2EEE6;
  --gold: #D6A54D;
  --gold-soft: #F3D392;
  --ink-muted: #565E6C;
  --gutter: clamp(20px, 5vw, 72px);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); color: var(--cream); font-family: var(--sans); font-weight: 300; line-height: 1.55; }
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .78; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.page { overflow: hidden; }

/* Navigation */
.nav { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { display: block; height: 36px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; }
.nav-links a { padding: 12px 0; }
.nav-links a[aria-current="page"] { color: var(--gold); }
@media (max-width: 640px) {
  .nav { gap: 8px 16px; }
  .nav-links { order: 3; width: 100%; gap: 4px 22px; }
  .nav-logo img { height: 30px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 400; cursor: pointer; border: 1px solid var(--mist); background: transparent; color: var(--cream); }
.btn-solid { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* Type */
.eyebrow { margin: 0 0 16px; font-size: 13px; letter-spacing: .04em; color: var(--gold); }
.serif { font-family: var(--serif); font-weight: 400; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: var(--mist); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--mist); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; overflow: hidden; background-color: var(--navy); background-image: radial-gradient(ellipse 58% 44% at 50% 62%, #1F4FA8 0%, rgba(31,79,168,0) 100%); }
.stars { position: absolute; inset: 0; pointer-events: none; }
.star { position: absolute; border-radius: 50%; background: var(--cream); animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }
.hero-copy { position: relative; z-index: 4; padding: clamp(40px, 5vw, 64px) var(--gutter) 0; text-align: center; }
.hero h1 { margin: 0 0 20px; font-weight: 400; line-height: 1; }
.hero h1 .l1 { display: block; font-size: clamp(40px, 6.6vw, 100px); letter-spacing: -.025em; }
.hero h1 .l2 { display: block; font-size: clamp(26px, 3.2vw, 46px); letter-spacing: -.01em; margin-top: 4px; }
.hero h1 .accent { font-family: var(--serif); font-style: italic; font-size: clamp(60px, 8.4vw, 124px); letter-spacing: 0; color: var(--gold-soft); }
.hero-lead { margin: 0 auto 24px; max-width: 620px; font-size: 16px; color: var(--mist); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.scene { position: relative; width: 100%; max-width: 1320px; aspect-ratio: 16 / 9; margin: 8px auto 0; }
.scene-video { display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 90%, transparent);
  mask-composite: intersect; }
@media (prefers-reduced-motion: reduce) { .star { animation: none; } }

/* Key facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; padding: 48px var(--gutter); border-bottom: 1px solid var(--line); }
.fact-num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold); }
.fact p { margin: 10px 0 0; font-size: 15px; color: var(--mist); }

/* Our Products carousel */
.pc-stage { position: relative; height: 780px; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: var(--navy); cursor: grab; }
.pc-stage.dragging { cursor: grabbing; }
.pc-ghost { position: absolute; left: 0; right: 0; top: 390px; transform: translate(0, -50%); text-align: center; font-family: var(--serif); font-style: italic; font-size: 25vw; line-height: 1; color: var(--navy-2); white-space: nowrap; pointer-events: none; }
.pc-title { position: absolute; left: var(--gutter); top: 40px; margin: 0; z-index: 8; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; pointer-events: none; }
.pc-viewall { position: absolute; right: var(--gutter); top: 52px; z-index: 8; background: var(--navy); }
.pc-item { position: absolute; top: 50%; width: 23%; min-width: 220px; max-width: 380px; aspect-ratio: 300 / 520; padding: 0; border: 0; background: none; cursor: inherit; transform: translate(-50%, -50%); }
.pc-art { position: relative; display: block; width: 100%; height: 100%; pointer-events: none; }
.pc-photo { position: absolute; display: block; height: auto; -webkit-user-drag: none; filter: drop-shadow(0 18px 22px rgba(0,0,0,.45)); }
.pc-shadow { position: absolute; left: 8%; right: 8%; bottom: 1%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0)); }
.pc-info { position: absolute; top: 50%; left: calc(65% + 8px); width: 16.5%; min-width: 210px; z-index: 7; }
.pc-info .tag { margin: 0 0 8px; font-size: 13px; color: var(--gold); }
.pc-info h3 { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 3vw, 44px); line-height: 1.05; }
.pc-info .desc { margin: 0 0 14px; font-size: 14px; color: var(--mist); }
.pc-info .fact-line { margin: 0 0 18px; font-size: 14px; }
.pc-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-handle { position: absolute; z-index: 9; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--navy-2); border: 1px solid var(--line-2); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 13px; pointer-events: none; transition: transform .25s ease; }
.pc-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; pointer-events: none; }
.pc-progress { display: flex; align-items: center; gap: 12px; }
.pc-track { position: relative; display: block; width: 96px; height: 1px; background: var(--line-2); }
.pc-fill { position: absolute; left: 0; top: 0; height: 1px; background: var(--cream); transition: width .5s ease; }
.pc-arrows { display: flex; gap: 8px; pointer-events: auto; }
.pc-arrow { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--navy); color: var(--cream); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.pc-arrow svg { width: 18px; height: 18px; pointer-events: none; }
@media (max-width: 1000px) {
  .pc-stage { height: 860px; }
  .pc-item { top: 37%; }
  .pc-info { top: auto; bottom: 84px; left: 20px; right: 20px; width: auto; text-align: center; }
  .pc-cta { justify-content: center; }
  .pc-handle { display: none; }
}
@media (hover: none) { .pc-handle { display: none; } }

/* About */
.about { position: relative; background: var(--cream); color: var(--navy); padding: clamp(72px, 9vw, 128px) var(--gutter); overflow: hidden; }
.about-ghost { position: absolute; left: 0; right: 0; bottom: -.18em; text-align: center; font-family: var(--serif); font-style: italic; font-size: 26vw; line-height: 1; color: var(--cream-2); white-space: nowrap; }
.about-inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.about .eyebrow { color: var(--line-2); }
.about h2 { margin: 0 0 32px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; }
.about p.body { margin: 0 0 16px; max-width: 620px; font-size: 17px; color: var(--ink-muted); }
.about figure { flex: 1 1 320px; max-width: 460px; width: 100%; margin: 0; }
.about figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 44% 50%; border-radius: 8px; }
.about figcaption { margin-top: 12px; font-size: 13px; color: var(--line-2); }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.section h2.big { margin: 0 0 20px; max-width: 980px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px 32px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 20px; }
.steps .n { font-size: 13px; color: var(--gold); margin-bottom: 40px; }
.steps h3 { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.1; }
.steps p { margin: 0; font-size: 15px; color: var(--mist); }

.why { background: var(--cream); color: var(--navy); padding: clamp(72px, 9vw, 128px) var(--gutter); display: flex; flex-wrap: wrap; gap: 48px 72px; }
.why .eyebrow { color: var(--line-2); }
.why h2 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 4.8vw, 68px); line-height: 1.02; }
.why ol { flex: 2 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.why li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--mist); }
.why li .n { flex: 0 0 32px; font-size: 13px; color: var(--line-2); padding-top: 8px; }
.why li h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.why li p { margin: 0; font-size: 15px; color: var(--ink-muted); }

/* Contact + RFQ */
.contact { padding: clamp(72px, 9vw, 128px) var(--gutter) 0; background: var(--navy-2); }
.contact h2 { margin: 0 0 24px; max-width: 1100px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(52px, 7.6vw, 112px); line-height: 1; }
.rfq { scroll-margin-top: 24px; margin-bottom: 72px; padding: clamp(24px, 3.4vw, 48px); background: var(--navy); border: 1px solid var(--line); border-radius: 8px; }
.rfq h3 { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1; }
.rfq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 24px; }
.rfq-wide { grid-column: 1 / -1; }
.rfq-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--mist); }
.rfq-field input, .rfq-field select, .rfq-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--navy-2); color: var(--cream); font-family: inherit; font-size: 16px; font-weight: 300; }
.rfq-field textarea { resize: vertical; }
.rfq-field input::placeholder, .rfq-field textarea::placeholder { color: #8FA3C4; }
.rfq-field input:focus, .rfq-field select:focus, .rfq-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.rfq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.profile-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-row h3 { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.1; }
.contact .footer { padding-left: 0; padding-right: 0; border-top: 0; }

/* Products page */
.products-intro { padding: clamp(56px, 7vw, 96px) var(--gutter) 40px; }
.products-intro h1 { margin: 0 0 20px; max-width: 980px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 6.4vw, 96px); line-height: 1; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--cream); font-family: inherit; font-size: 14px; font-weight: 400; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.product { display: flex; flex-wrap: wrap; gap: 20px; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); align-items: flex-start; }
.product[hidden] { display: none; }
.product-media { position: relative; overflow: hidden; flex: 1 1 400px; min-width: 0; min-height: 620px; background: var(--navy-3); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; }
.product-media img { position: relative; z-index: 1; display: block; width: 100%; max-width: 440px; height: auto; max-height: 560px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.bts-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: blur(1px) saturate(.85); pointer-events: none; }
.bts-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(22,56,122,.1) 0%, rgba(22,56,122,.75) 100%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bts-video { display: none; } }
.product-body { flex: 1 1 480px; min-width: 0; background: var(--navy-2); border-radius: 8px; padding: clamp(24px, 3.4vw, 48px); }
.product-body h2 { margin: 0 0 16px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; }
.product-body .desc { margin: 0 0 28px; font-size: 16px; color: var(--mist); }
.product-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.block { margin-bottom: 36px; }
.block h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.block .note { margin: 0 0 8px; font-size: 14px; color: var(--mist); }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.spec { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 14px; }
.spec th { text-align: left; font-weight: 400; color: var(--gold); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.spec td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.block ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 14px; }
.block li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Production gallery */
.production { padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.production h2 { margin: 0 0 16px; max-width: 900px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 4.8vw, 68px); line-height: 1.02; }
.production-lead { margin: 0 0 40px; max-width: 640px; font-size: 16px; color: var(--mist); }
.prod-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1180px) { .prod-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.prod-item { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--navy-3); color: inherit; font: inherit; text-align: left; cursor: zoom-in; position: relative; }
.prod-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.prod-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; font-size: 14px; line-height: 1.35; color: var(--cream); background: linear-gradient(to top, rgba(10,37,89,.92), rgba(10,37,89,0)); }
.prod-item:hover img, .prod-item:focus-visible img { transform: scale(1.04); }
.prod-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.production-cta { margin: 32px 0 0; font-size: 15px; color: var(--mist); }
.production-cta a { color: var(--gold-soft); }
@media (prefers-reduced-motion: reduce) { .prod-item img { transition: none; } }
.lightbox { width: min(92vw, 560px); max-height: 92vh; padding: 0; border: 0; border-radius: 8px; background: var(--navy); color: var(--cream); overflow: visible; }
.lightbox::backdrop { background: rgba(5,18,45,.88); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; width: 100%; max-height: calc(92vh - 56px); object-fit: contain; border-radius: 8px 8px 0 0; background: #000; }
.lightbox figcaption { padding: 14px 16px; font-size: 14px; color: var(--mist); }
.lightbox-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(10,37,89,.8); color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; }

.terms { padding: clamp(64px, 8vw, 112px) var(--gutter); background: var(--cream); color: var(--navy); }
.terms .eyebrow { color: var(--line-2); }
.terms h2 { margin: 0 0 48px; max-width: 900px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 4.8vw, 68px); line-height: 1.02; }
.terms ul { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.terms li { border-top: 1px solid var(--mist); padding-top: 20px; }
.terms h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.terms p { margin: 0 0 12px; font-size: 15px; color: var(--ink-muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
