@font-face {
  font-family: "Broadway BT";
  src: url("fonts/BroadwayBT.ttf") format("truetype");
  font-display: swap;
}

:root {
  --yellow: #BDB800;
  --yellow-hi: #D9D41A;
  --grad: linear-gradient(90deg, #CFCB6E 0%, #ABA74A 55%, #868340 100%);
  --btn-inner: #0B0C0F;
  --ink: #0F1115;
  --ink-2: #171A20;
  --ink-3: #20242C;
  --line: #2C313A;
  --text: #E8E9EC;
  --muted: #A3A8B2;
  --paper: #F4F3EE;
  --paper-ink: #1B1D22;
  --head: "Broadway BT", "Arial Black", Impact, sans-serif;
  --body: Candara, Calibri, "Segoe UI", Optima, Arial, sans-serif;
  --btn: Candara, Calibri, "Segoe UI", Optima, Arial, sans-serif;
  --wrap: 1200px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--body); font-size: 18px; background: var(--ink); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

h1, h2, h3, .head { font-family: var(--head); font-weight: 400; line-height: 1.1; letter-spacing: .5px; }

/* ---------- Buttons (lit up borders) ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--btn); font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border: 0; border-radius: 8px; cursor: pointer;
  background: var(--grad); color: #fff;
  transition: color .6s ease;
}
.btn { font-size: 15px; padding: 14px 30px; }
.btn.sm { padding: 10px 22px; font-size: 13px; }
.btn::before {
  content: ""; position: absolute; inset: 2px; z-index: -1;
  border-radius: 6px; background: var(--btn-inner);
  transition: opacity .6s ease;
}
.btn:hover, .btn:focus-visible { color: #fff; outline: none; }
.btn:hover::before, .btn:focus-visible::before { opacity: 0; }

/* ---------- Nav (bar that condenses into a pill, with scroll-spy) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 0; transition: padding .7s cubic-bezier(.4,0,.2,1); pointer-events: none; }
.nav .wrap { pointer-events: auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 22px;
  width: min(var(--wrap), 100% - 48px); padding: 0 4px; border: 1px solid transparent; border-radius: 999px; background: transparent;
  transition: width .7s cubic-bezier(.4,0,.2,1), height .7s cubic-bezier(.4,0,.2,1), padding .7s cubic-bezier(.4,0,.2,1), background .7s ease, border-color .7s ease, box-shadow .7s ease; }
.nav.pill { padding-top: 14px; }
.nav.pill .wrap { width: min(980px, 100% - 32px); height: 58px; padding: 0 9px 0 14px; background: rgba(17,19,23,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: #2E323A; box-shadow: 0 14px 40px -14px rgba(0,0,0,.7); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; transition: width .7s ease, height .7s ease; }
.brand span { font-family: var(--head); font-size: 17px; line-height: 1.15; max-width: 260px; overflow: hidden; white-space: normal; transition: max-width .7s ease, opacity .5s ease; }
.nav.pill .brand img { width: 38px; height: 38px; }
.nav.pill .brand span { max-width: 0; opacity: 0; }
.nav-links { position: relative; display: flex; align-items: center; gap: 4px; list-style: none; white-space: nowrap; }
.nav-links a:not(.btn) { position: relative; z-index: 1; display: block; padding: 8px 14px; border-radius: 999px; font-family: var(--btn); font-weight: 400; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); transition: color .5s ease; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; }
.nav-links li:has(.btn) { margin-left: 10px; }
.nav-ind { position: absolute; top: 50%; left: 0; height: 36px; width: 0; transform: translateY(-50%); border-radius: 999px; background: rgba(189,184,0,.2); box-shadow: inset 0 0 0 1px rgba(189,184,0,.45); opacity: 0; pointer-events: none; transition: left .55s cubic-bezier(.4,0,.2,1), width .55s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.nav-ind.on { opacity: 1; }
.nav-links .btn { color: #fff; border-radius: 999px; padding: 9px 20px; font-size: 13px; letter-spacing: 1.2px; }
.nav-links .btn::before { border-radius: 999px; inset: 1.5px; background: #15171C; }
.nav-links .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 8px; width: 24px; height: 2px; background: var(--text); content: ""; transition: transform .3s, opacity .3s; }
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse 55% 55% at 50% 72%, #24230a 0%, var(--ink) 70%); }
.hero .wrap { position: relative; z-index: 2; padding: calc(var(--nav-h) + 40px) 0 60px; }
.hero-grid { display: flex; flex-direction: column; align-items: center; gap: 44px; text-align: center; }
.hero h1 { font-size: clamp(40px, 8vw, 104px); color: #fff; }
.hero .sub { font-family: var(--head); font-size: clamp(24px, 3.4vw, 44px); color: #fff; margin-top: 8px; }
.hero .tag { font-family: var(--head); font-size: clamp(20px, 2.6vw, 34px); color: var(--yellow); margin-top: 14px; letter-spacing: 2px; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

.orb-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.orb-stage { position: relative; width: min(440px, 78vw); aspect-ratio: 1; }
.orb-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(189,184,0,.35), transparent); filter: blur(10px); z-index: -1; }
#orb { width: 100%; height: 100%; display: block; transform-origin: center; }
.orb-stage.no-gl #orb { display: none; }
.orb-stage.no-gl { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffbd6, #bdb800 45%, #3a3800 100%); }


/* Container text flip */
.orb-flip-nav { display: flex; justify-content: center; }
.flip { position: relative; display: inline-flex; padding: 10px 18px 12px; border-radius: 10px; background: linear-gradient(180deg, #2A2D33, #1E2025); box-shadow: inset 0 -1px #121316, inset 0 0 0 1px #34373E, 0 6px 18px -6px rgba(0,0,0,.6); transition: box-shadow .6s ease; }
.flip:hover, .flip:focus-visible { outline: none; box-shadow: inset 0 -1px #121316, inset 0 0 0 1px var(--yellow), 0 6px 18px -6px rgba(0,0,0,.6); }
.flip-text { display: inline-block; white-space: nowrap; overflow: hidden; font-family: var(--head); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; color: var(--yellow); transition: width .7s cubic-bezier(.4,0,.2,1); }
.flip-text span { display: inline-block; }
.flip-measure { position: absolute; visibility: hidden; width: auto !important; pointer-events: none; }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding: 110px 0; }
.eyebrow { display: inline-block; font-family: var(--btn); font-weight: 400; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.title { font-size: clamp(34px, 4.6vw, 58px); }
.lead { color: var(--muted); font-size: 21px; max-width: 720px; margin-top: 18px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.light { background: var(--paper); color: #000; }
.light .lead { color: #000; }
.light .eyebrow { color: #7D7A00; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: start; }
.about-grid .title { position: sticky; top: calc(var(--nav-h) + 30px); }
.about-text p { font-size: 20px; color: #000; }
.about-text p + p { margin-top: 20px; }
.about-text p:first-child { font-size: 24px; color: #000; }

/* Product categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.cat { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.cat:hover { transform: translateY(-6px); border-color: var(--yellow); }
.cat-img { background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .5s; }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 24px; }
.cat-body p { color: var(--muted); font-size: 17px; margin: 12px 0 22px; flex: 1; }
.cat-body .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Split (parts + guarantee) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split.rev .split-img { order: 2; }
.split-img img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.split h3 { font-size: clamp(28px, 3.2vw, 40px); }
.split h3 small { display: block; font-size: .62em; color: #7D7A00; margin-top: 8px; }
.split p { font-size: 20px; color: #000; margin-top: 20px; }
.split .guarantee { border-left: 4px solid var(--yellow); padding-left: 22px; font-size: 22px; color: #000; }

/* Core strengths */
.strengths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; }
.strength { display: grid; grid-template-columns: 200px 1fr; background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.strength img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.strength div { padding: 28px; }
.strength .num { font-family: var(--head); font-size: 15px; color: var(--yellow); }
.strength h3 { font-size: 24px; margin: 8px 0 12px; }
.strength p { color: var(--muted); font-size: 17px; }

/* 2025 collection */
.collection { overflow: hidden; }
.collection-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(8px) brightness(.35); }
.collection .wrap { position: relative; }
.collection-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.collection h3 { font-size: clamp(22px, 2.4vw, 30px); color: var(--yellow); margin-top: 14px; }
.collection p { color: #CFD2D8; font-size: 18px; margin-top: 22px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
.contact-grid > img { width: 100%; border-radius: 18px; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 20px; align-items: center; background: #fff; border-radius: 16px; padding: 22px; border: 1px solid #E3E1D8; }
.contact-item img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.contact-item .head { font-size: 18px; color: #7D7A00; }
.contact-item p { font-size: 18px; color: #000; }
.contact-item a:hover { color: #7D7A00; }

/* Footer (centered with logo) */
.footer { border-top: 1px solid var(--line); padding: 64px 0 34px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand span { font-family: var(--head); font-size: 20px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 22px; }
.footer-links a { color: var(--muted); font-size: 16px; transition: color .5s ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px dashed var(--line); }
.footer .copy { color: var(--muted); font-size: 16px; }
.footer-hello { font-size: 22px; color: var(--yellow); }
@media (max-width: 600px) { .footer-bottom { justify-content: center; text-align: center; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 90px) 0 80px; overflow: hidden; background: var(--ink-2); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,17,21,.2), var(--ink)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); }
.crumbs { font-family: var(--btn); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--yellow); }
.page-hero .lead { color: #C9CCD3; }

.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 10px; }
.type { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.type h3 { font-size: 20px; color: var(--yellow); }
.type p { color: var(--muted); font-size: 17px; margin-top: 10px; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .3s, border-color .3s; }
.product:hover { transform: translateY(-5px); border-color: var(--yellow); }
.product .pimg { background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; cursor: zoom-in; }
.product .pimg img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product h3 { font-family: var(--body); font-weight: 400; font-size: 18px; line-height: 1.4; padding: 18px 20px 22px; }

.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.feature .fimg { background: #fff; border-radius: 14px; overflow: hidden; }
.feature .fimg img { width: 100%; }
.feature .cat-name { font-family: var(--btn); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.feature h2 { font-family: var(--body); font-weight: 400; font-size: 24px; line-height: 1.35; margin-top: 10px; }
.feature .price { font-family: var(--head); font-size: 36px; color: var(--yellow); margin: 16px 0 6px; }
.feature .status { display: inline-block; font-family: var(--btn); font-weight: 400; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--muted); }
.feature ul { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.feature li { color: #C9CCD3; font-size: 17px; padding-left: 22px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }

.gallery { columns: 4 220px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin-bottom: 16px; border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.05); }

.wide-img { border-radius: 18px; overflow: hidden; background: #fff; }
.wide-img img { width: 100%; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,6,8,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; background: #fff; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; width: 56px; height: 56px; line-height: 1; }
.lb-close { top: 16px; right: 20px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { color: var(--yellow); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .strengths { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-ind { display: none; }
  .nav-links { position: fixed; top: calc(var(--nav-h) + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(17,19,23,.96); border: 1px solid #2E323A; border-radius: 20px; padding: 10px 18px 20px; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
  .nav-links li { width: 100%; }
  .nav-links li:has(.btn) { margin-left: 0; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links .btn { margin-top: 18px; width: 100%; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open .wrap { background: rgba(17,19,23,.92); border-color: #2E323A; }
}
@media (max-width: 960px) {
  .pad { padding: 80px 0; }
  .about-grid, .split, .collection-grid, .contact-grid { gap: 36px; }
}
@media (max-width: 760px) {
  .about-grid, .split, .collection-grid, .contact-grid, .feature, .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid .title { position: static; }
  .split.rev .split-img { order: 0; }
  .pad { padding: 64px 0; }
}
@media (max-width: 600px) {
  .cats { grid-template-columns: 1fr; }
  .strength { grid-template-columns: 1fr; }
  .strength img { min-height: 0; aspect-ratio: 16 / 9; }
  .brand span { font-size: 14px; max-width: 190px; }
  .hero .actions .btn { width: 100%; }
  .feature { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Flip words */
.flip-words { position: relative; display: inline-block; color: #8C8800; }
.fw-word { display: inline-block; white-space: nowrap; }
.fw-word span { display: inline-block; }
.fw-word.out { position: absolute; left: 0; top: 0; pointer-events: none; }
.gen-word { display: inline; }

/* Blur highlight */
[data-blur-highlight] mark, [data-scroll-reveal] mark { color: #fff; font-weight: 700; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left center / 0% 100%; padding: 0 3px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-size 1s ease; }
[data-blur-highlight] mark.on { background-size: 100% 100%; }


/* YouTube thumbnail + play */
.video { background: #0B0C0F; }
.yt { position: absolute; inset: 0; display: block; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .8s ease; }
.yt:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55C3.97 2.33 2.27 4.81 1.48 7.74.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z' fill='%23FF0000'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); transition: transform .6s ease; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }

/* Scroll reveal (words unblur and the block straightens as you scroll) */
[data-scroll-reveal] { transform-origin: 0% 50%; will-change: transform; }
[data-scroll-reveal] mark { background: rgba(189,184,0,var(--hl,1)); }
.sr-word { display: inline; transition: opacity .15s linear, filter .15s linear; }

/* Modal cards (product categories) */
.mcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 60px; }
.mcard-open { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; border-radius: 16px; overflow: hidden; background: #fff; aspect-ratio: 4 / 5; text-align: left; transition: transform .6s ease, box-shadow .6s ease; }
.mcard-open:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); }
.mcard-open:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.mcard-img { position: absolute; inset: 0; display: grid; place-items: center; }
.mcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 22px 22px 80px; transition: transform .8s ease; }
.mcard-img.cover img { object-fit: cover; padding: 0; }
.mcard-open:hover .mcard-img img { transform: scale(1.05); }
.mcard-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 60px 18px 18px; background: linear-gradient(180deg, rgba(10,11,14,0) 0%, rgba(10,11,14,.85) 60%, rgba(10,11,14,.95) 100%); }
.mcard-title { font-family: var(--head); font-size: 22px; line-height: 1.1; color: #fff; }
.mcard-plus, .mmodal-close { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: background .5s ease, transform .5s ease; }
.mcard-plus::before, .mcard-plus::after, .mmodal-close::before, .mmodal-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); }
.mcard-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.mcard-open:hover .mcard-plus { background: var(--yellow); transform: rotate(90deg); }

.mmodal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(5,6,8,.72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.mmodal-backdrop.open { opacity: 1; pointer-events: auto; }
.mmodal { position: fixed; left: 50%; top: 50%; z-index: 91; width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; transform: translate(-50%, -50%); background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); transform-origin: top left; }
.mmodal[hidden] { display: none; }
.mmodal-media { position: relative; display: block; background: #fff; aspect-ratio: 16 / 10; overflow: hidden; }
.mmodal-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px 24px 70px; }
.mmodal-media.cover img { object-fit: cover; padding: 0; }
.mmodal-media .mcard-bar { padding: 70px 22px 18px; }
.mmodal-media .mcard-title { font-size: 30px; }
.mmodal-close { border: 0; cursor: pointer; width: 34px; height: 34px; }
.mmodal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mmodal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mmodal-close:hover { background: var(--yellow); }
.mmodal-body { padding: 22px 24px 26px; }
.mmodal-body p { color: #C9CCD3; font-size: 18px; margin-bottom: 20px; }
.mmodal-body > * { opacity: 0; transform: translateY(8px); transition: opacity .45s ease .25s, transform .45s ease .25s; }
.mmodal.show .mmodal-body > * { opacity: 1; transform: none; }
@media (max-width: 1100px) { .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mcards { grid-template-columns: 1fr; } .mcard-open { aspect-ratio: 4 / 3.4; } }

/* Arc list (core strengths) */
.arc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin-top: 60px; }
.arc-media { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 60px -28px rgba(0,0,0,.8); }
.arc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(14px); transform: scale(1.06); transition: opacity .8s ease, filter .8s ease, transform 1.1s ease; }
.arc-img.on { opacity: 1; filter: blur(0); transform: scale(1); }
.arc-side { position: relative; }
.arc-list { position: relative; list-style: none; height: 400px; overflow: hidden; padding-left: 26px; margin-left: -26px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.arc-item { position: absolute; left: 26px; top: 50%; background: none; border: 0; padding: 4px 0; cursor: pointer; white-space: nowrap; font-family: var(--head); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; color: var(--muted); transform-origin: 0 50%; transition: transform .8s cubic-bezier(.22,1,.36,1), opacity .8s ease, filter .8s ease, color .6s ease; }
.arc-item.on { color: var(--yellow); }
.arc-item.on::before { content: ""; position: absolute; left: -22px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow); transform: translateY(-50%) rotate(45deg); }
.arc-item:hover:not(.on) { color: #fff; }
.arc-item:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.arc-desc { color: var(--muted); font-size: 18px; max-width: 520px; margin-top: 10px; min-height: 6.6em; transition: opacity .5s ease, filter .5s ease, transform .5s ease; }
.arc-desc.swap { opacity: 0; filter: blur(6px); transform: translateY(6px); }
@media (max-width: 760px) {
  .arc { grid-template-columns: 1fr; gap: 30px; }
  .arc-media { aspect-ratio: 4 / 3; }
  .arc-side { padding-left: 24px; }
  .arc-list { height: 300px; }
}

/* Contact (form grid with details) */
.contact { background: #0B0C0F; border-top: 1px solid var(--line); }
.contact-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.contact-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(180deg, #2A2D33, #1E2025); box-shadow: inset 0 0 0 1px #34373E; margin-bottom: 22px; }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-line { color: var(--muted); font-size: 18px; margin-top: 14px; }
.contact-line a { color: #D9DBE0; transition: color .5s ease; }
.contact-line a:hover { color: var(--yellow); }
.contact-line .dot { margin: 0 12px; color: var(--line); }
.map { position: relative; margin-top: 40px; }
.map img { width: 100%; opacity: .9; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 55%, transparent 100%); }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.pin-label { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--yellow); padding: 3px 10px; border-radius: 6px; white-space: nowrap; }
.pin-line { width: 2px; height: 44px; background: linear-gradient(180deg, var(--yellow), rgba(189,184,0,0)); }
.pin-dot { position: relative; width: 10px; height: 10px; margin-top: -4px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.pin-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--yellow); animation: pinpulse 2.4s ease-out infinite; }
@keyframes pinpulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

.contact-form { position: relative; display: grid; gap: 18px; padding: 30px; border-radius: 18px; border: 1px solid var(--line); background:
  linear-gradient(180deg, rgba(23,26,32,.92), rgba(15,17,21,.96)),
  repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.05) 31px 32px),
  repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.05) 31px 32px); background-blend-mode: normal, normal, normal; }
.contact-form label { display: grid; gap: 8px; font-size: 16px; font-weight: 700; color: #E8E9EC; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: #fff; background: #1C1F25; border: 1px solid #2E323A; border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color .5s ease, box-shadow .5s ease; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(189,184,0,.18); }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .contact-grid2 { grid-template-columns: 1fr; } }

/* Preloader (infinite path drawing) */
.preloader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--ink); transition: opacity .8s ease, visibility .8s ease; }
.preloader.done { opacity: 0; visibility: hidden; }
body.loading { overflow: hidden; }
.pre-inf { width: 150px; height: 75px; }
.pre-inf path { fill: none; stroke-width: 5; stroke-linecap: round; }
.pre-track { stroke: #24272E; }
.pre-run { stroke: var(--yellow); stroke-dasharray: 25 75; animation: preRun 1.6s linear infinite; filter: drop-shadow(0 0 6px rgba(189,184,0,.5)); }
@keyframes preRun { to { stroke-dashoffset: -100; } }
.pre-logo { width: 70px; height: 70px; object-fit: contain; margin-top: 10px; }
.pre-title { font-family: var(--head); font-size: clamp(18px, 2.4vw, 26px); color: #fff; text-align: center; padding: 0 20px; }
@media (prefers-reduced-motion: reduce) { .pre-run { animation-duration: 4s; } }

/* Justified paragraphs */
.about-text p, .split p, .collection p, .arc-desc, .cat-body p {
  text-align: justify; text-justify: inter-word; hyphens: manual; -webkit-hyphens: manual; text-wrap: pretty;
}
@media (max-width: 600px) {
  .about-text p, .split p, .collection p, .arc-desc { text-align: left; }
}
mark { hyphens: none; -webkit-hyphens: none; }
.about-text p:first-child { text-align: left; text-wrap: pretty; }

/* Publication Evidence nav button: blue with yellow text */
.nav-links a.nav-pe, .nav-links a.nav-pe:hover, .nav-links a.nav-pe.active { color: var(--yellow); background: #1E4E9C; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .5s ease, color .5s ease; }
.nav-links a.nav-pe:hover { background: #2660BE; }
@media (max-width: 1180px) { .nav-links a.nav-pe { border-radius: 10px; padding: 12px 14px; margin-top: 8px; border-bottom: 0; } }

/* Line waves hero background */
.hero { background: var(--ink); }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 60% 45% at 50% 32%, rgba(15,17,21,.75), rgba(15,17,21,0) 70%); }
.hero .wrap { z-index: 2; }

/* Theme toggle */
.theme-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2E323A; background: rgba(23,26,32,.6); color: var(--yellow); cursor: pointer; transition: background .5s ease, border-color .5s ease, transform .6s ease; }
.theme-btn:hover { border-color: var(--yellow); transform: rotate(20deg); }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
.nav .wrap { gap: 14px; }
.nav-links { margin-left: auto; }

/* ---------- Light mode ---------- */
:root[data-theme="light"] {
  --ink: #F4F3EE; --ink-2: #FFFFFF; --ink-3: #ECEAE2; --line: #DEDBD0;
  --text: #15171B; --muted: #5A5F68; --btn-inner: #FFFFFF;
  --yellow: #9C9700; --grad: linear-gradient(90deg, #BDB800 0%, #9C9700 55%, #7A7600 100%);
  color-scheme: light;
}
:root[data-theme="light"] body { background: var(--ink); color: var(--text); }
:root[data-theme="light"] .hero::before { background: radial-gradient(ellipse 60% 45% at 50% 32%, rgba(244,243,238,.8), rgba(244,243,238,0) 70%); }
:root[data-theme="light"] .hero h1, :root[data-theme="light"] .hero .sub { color: var(--text); }
:root[data-theme="light"] .nav.pill .wrap, :root[data-theme="light"] .nav.open .wrap { background: rgba(255,255,255,.85); border-color: var(--line); box-shadow: 0 14px 40px -18px rgba(0,0,0,.25); }
:root[data-theme="light"] .nav-links a:not(.btn):hover, :root[data-theme="light"] .nav-links a.active { color: var(--text); }
:root[data-theme="light"] .nav-links a.nav-pe { color: #F2EC5C; }
:root[data-theme="light"] .nav-links .btn::before { background: #fff; }
:root[data-theme="light"] .btn { color: var(--text); }
:root[data-theme="light"] .btn:hover, :root[data-theme="light"] .btn:focus-visible { color: #fff; }
:root[data-theme="light"] .theme-btn { background: #fff; border-color: var(--line); }
:root[data-theme="light"] .nav-toggle span, :root[data-theme="light"] .nav-toggle span::before, :root[data-theme="light"] .nav-toggle span::after { background: var(--text); }
:root[data-theme="light"] .nav.open .nav-toggle span { background: transparent; }
@media (max-width: 1180px) { :root[data-theme="light"] .nav-links { background: rgba(255,255,255,.97); border-color: var(--line); } }
:root[data-theme="light"] .light { background: #FFFFFF; }
:root[data-theme="light"] .mcard-open { box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
:root[data-theme="light"] .mmodal-body p { color: var(--muted); }
:root[data-theme="light"] .arc-item.on { color: var(--yellow); }
:root[data-theme="light"] .arc-item:hover:not(.on) { color: var(--text); }
:root[data-theme="light"] .contact { background: #ECEAE2; }
:root[data-theme="light"] .contact-line a { color: var(--text); }
:root[data-theme="light"] .contact-icon { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="light"] .map img { opacity: .5; }
:root[data-theme="light"] .contact-form { background: #fff; border-color: var(--line); }
:root[data-theme="light"] .contact-form label { color: var(--text); }
:root[data-theme="light"] .contact-form input, :root[data-theme="light"] .contact-form textarea { background: #F7F6F1; border-color: var(--line); color: var(--text); }
:root[data-theme="light"] .pre-title { color: var(--text); }
:root[data-theme="light"] .pre-track { stroke: #DEDBD0; }
:root[data-theme="light"] .page-hero .lead { color: var(--muted); }
:root[data-theme="light"] .feature li { color: var(--muted); }
:root[data-theme="light"] .type p, :root[data-theme="light"] .product h3 { color: var(--text); }
:root[data-theme="light"] .product, :root[data-theme="light"] .type, :root[data-theme="light"] .feature { border-color: var(--line); }
:root[data-theme="light"] .footer-hello { color: var(--yellow); }
:root[data-theme="light"] .hero .tag { filter: brightness(.62) saturate(1.3); }

.nav .wrap > .brand { order: 1; } .nav-links { order: 2; } .theme-btn { order: 3; } .nav-toggle { order: 4; }

/* "Paper" sections follow the theme: dark in dark mode, light in light mode */
:root:not([data-theme="light"]) .light { background: #15171B; color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:root:not([data-theme="light"]) .light .lead,
:root:not([data-theme="light"]) .about-text p,
:root:not([data-theme="light"]) .about-text p:first-child,
:root:not([data-theme="light"]) .split p,
:root:not([data-theme="light"]) .split .guarantee { color: #D9DBE0; }
:root:not([data-theme="light"]) .split h3 small { color: var(--yellow); }
:root:not([data-theme="light"]) .light .title, :root:not([data-theme="light"]) .split h3 { color: #fff; }
:root:not([data-theme="light"]) .flip-words { color: var(--yellow); }
:root:not([data-theme="light"]) .split-img img { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
:root[data-theme="light"] .collection .title { color: #fff; }
:root[data-theme="light"] .collection h3 { color: #D9D41A; }
:root[data-theme="light"] .collection p { color: #CFD2D8; }

/* Responsive polish */
[data-blur-highlight] mark { color: inherit; transition: background-size 1s ease, color .8s ease; }
[data-blur-highlight] mark.on, [data-scroll-reveal] mark { color: #fff; }
.contact-line a { white-space: nowrap; }
@media (max-width: 760px) {
  .arc-item { font-size: clamp(17px, 5.2vw, 26px); }
  .arc-list { height: 300px; }
  .arc-side { padding-left: 22px; }
  .split-img img { max-height: 70vh; object-fit: contain; }
  .mmodal-media .mcard-title { font-size: 22px; }
  .mmodal-body p { font-size: 17px; }
  .title { font-size: clamp(30px, 8.5vw, 44px); }
  .hero .actions { width: 100%; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .brand span { font-size: 13px; max-width: 170px; }
  .contact-line .dot { display: none; }
  .contact-line a { display: block; margin-top: 6px; }
  .contact-form { padding: 22px; }
  .footer-links { gap: 8px 18px; }
  .orb-stage { width: min(320px, 82vw); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero h1 { font-size: clamp(56px, 9vw, 92px); }
  .about-grid { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .arc { gap: 36px; }
  .arc-item { font-size: clamp(20px, 2.8vw, 30px); }
}
@media (max-width: 600px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product h3 { font-size: 15px; padding: 12px 12px 14px; }
  .product .pimg img { padding: 10px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; }
  .page-hero { padding: calc(var(--nav-h) + 50px) 0 50px; }
  .types { gap: 12px; }
  .type { padding: 20px; }
}

/* Phone fixes: smaller orb + product cards, theme button pinned right */
.theme-btn:hover { transform: none; }
@media (max-width: 1180px) {
  .theme-btn { margin-left: auto; }
  .nav-links { margin-left: 0; }
}
@media (max-width: 760px) {
  .orb-stage { width: min(260px, 64vw); }
  .hero-grid { gap: 28px; }
  .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
  .mcard-open { aspect-ratio: 3 / 4; border-radius: 12px; }
  .mcard-img img { padding: 12px 12px 56px; }
  .mcard-bar { padding: 40px 10px 10px; gap: 6px; }
  .mcard-title { font-size: 14px; }
  .mcard-plus { width: 24px; height: 24px; }
  .mcard-plus::before, .mcard-plus::after { width: 10px; }
}
@media (max-width: 420px) {
  .orb-stage { width: min(230px, 60vw); }
}
