/* ============================================================
   HUMANOIRE — brutalist black-metal video editing studio
   Palette + type cloned from the Bonded reference
   ============================================================ */

:root {
  --orange: #ee4322;
  --orange-deep: #d8350f;
  --cream: #ffffff;
  --cream-soft: #ffffff;
  --cyan: #18b9d6;
  --ink: #1a1a1a;
  /* Heavy black grotesque — matches the Bonded reference specimen.
     The reference's exact face is a custom Framer-hosted font; Archivo Black
     is the closest free match. Drop a licensed display font in /fonts and the
     @font-face below will override it (keep the family name "Display"). */
  --display: "Display", "Archivo Black", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Optional: swap in your own licensed display font (put it in /fonts) */
@font-face {
  font-family: "Display";
  src: url("../fonts/display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

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

/* ensure [hidden] always wins over display rules (auth gate, modal steps, admin) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--orange);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.cyan-dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  background: var(--cyan);
  border-radius: 50%;
  vertical-align: middle;
}
.cyan-dot.inline { width: 14px; height: 14px; margin-left: 10px; }

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__word {
  font-family: var(--display);
  font-weight: 700;
  color: var(--cream);
  font-size: clamp(3rem, 14vw, 11rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}
.loader__word.full {
  font-size: clamp(2rem, 8vw, 6rem);
  letter-spacing: -0.01em;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;          /* links centered like the reference */
  padding: 24px clamp(20px, 4vw, 56px);
}
/* hidden — used only to measure where the morph logo should land */
.nav__logo {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  top: 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  visibility: hidden;
  pointer-events: none;
}
.nav__links { display: flex; gap: clamp(22px, 4.5vw, 80px); }
.nav__links a {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(.85rem, 1.1vw, 1.05rem);
  color: var(--orange);
  letter-spacing: .05em;
  transition: opacity .3s, color .4s var(--ease);
}
.nav__links a:hover { opacity: .6; }
/* once scrolled past hero, links turn orange (cream bg) */
.nav.scrolled .nav__links a { color: var(--orange); }

/* ============ MORPHING LOGO (hero title -> navbar) ============ */
.morph-logo {
  position: fixed;
  z-index: 101;
  font-family: var(--display);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: left top;
  will-change: left, top, font-size, color;
}

/* ============ HERO (SS1) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  /* subtle light backdrop behind the liquid-silver 3D */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 45%, #ffffff, #eceae3 70%);
  z-index: -1;
}
/* liquid-silver 3D canvas */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}
.hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-weight: 900;
  color: var(--cream);
  font-size: clamp(2.2rem, 11.5vw, 14rem);
  line-height: .9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 2vw;
  visibility: hidden;   /* the #morphLogo ghost is drawn on top of this spot */
}
.dot-i { position: relative; }
.dot-i .cyan-dot {
  position: absolute;
  top: .12em; left: 50%;
  transform: translateX(-50%);
  width: .22em; height: .22em;
}
.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: .12em;
  font-size: .85rem;
  color: var(--orange);
}
.hero__scroll::after {
  content: ""; display: block;
  width: 1px; height: 46px;
  background: var(--orange);
  margin: 12px auto 0;
  animation: scrollLine 1.8s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(.3)} 50%{transform:scaleY(1)} }

/* ============ PILL BUTTONS ============ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .03em;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  padding: 18px 40px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--cream);
  transition: transform .35s var(--ease), background .3s;
}
.btn-pill:hover { transform: scale(1.04); background: var(--orange-deep); }
.btn-pill.outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: 30px 60px;
}
.btn-pill.outline:hover { background: var(--orange); color: var(--cream); }
.hero__cta { position: absolute; bottom: 40px; right: clamp(20px, 4vw, 56px); z-index: 3; }

/* ============ SECTION 2 — MANIFESTO (SS2) ============ */
.manifesto {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14vh 6vw;
  background: var(--cream);
}
.manifesto__stack {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 13rem);
  line-height: .82;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
}
.manifesto__stack span {
  display: block;
  will-change: transform;
}
.manifesto__text {
  margin-top: 5vh;
  max-width: 760px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2.3rem);
  line-height: 1.25;
}

/* ============ SECTION 3 — HORIZONTAL GALLERY (SS3/SS4) ============ */
.gallery { position: relative; height: 320vh; background: var(--cream); }
.gallery__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery__head {
  padding: 90px clamp(20px, 4vw, 56px) 0;
  flex: none;
}
.gallery__label {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.gallery__heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: .9;
  letter-spacing: -0.02em;
}
.gallery__track {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  padding: 40px clamp(20px, 4vw, 56px);
  align-items: stretch;
  will-change: transform;
}
.card { flex: 0 0 auto; width: clamp(320px, 42vw, 660px); display: flex; flex-direction: column; }
.card__img {
  position: relative;
  flex: 1;
  min-height: 50vh;
  border-radius: 4px;
  overflow: hidden;
  background: #d9d5cc;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img.ph::after {
  content: "ADD IMAGE";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; letter-spacing: .1em;
  color: rgba(238,67,34,.5);
  background: repeating-linear-gradient(45deg,#e6e2d8,#e6e2d8 12px,#ded9cf 12px,#ded9cf 24px);
}
.card__view {
  position: absolute;
  top: 50%; right: 26px;
  transform: translateY(-50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
}
.card__meta { padding-top: 18px; border-top: 1px solid var(--orange); margin-top: 18px; }
.card__no { font-family: var(--display); font-weight: 500; font-size: .9rem; }
.card__meta h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem,3.4vw,3rem); line-height: .95; letter-spacing: -0.02em; }
.card__meta p { font-family: var(--display); font-weight: 500; letter-spacing: .04em; margin-top: 6px; }

/* ============ SECTION 4 — CAPABILITIES STACK (SS5-7) ============ */
.caps { background: var(--cream); padding: 12vh clamp(20px, 4vw, 56px) 16vh; }
.caps__intro { margin-bottom: 9vh; }
.caps__label {
  font-family: var(--display); font-weight: 500; letter-spacing: .05em;
  border-bottom: 1px solid var(--orange); padding-bottom: 14px; margin-bottom: 18px;
}
.caps__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: .92; letter-spacing: -0.02em;
  white-space: pre-line;   /* render the newlines as line breaks */
}
.caps__stack { display: flex; flex-direction: column; gap: 26px; }
.cap-card {
  border: 1.5px solid var(--orange);
  border-radius: 28px;
  padding: clamp(30px, 5vw, 70px) clamp(24px, 4vw, 64px);
  background: var(--cream);
  /* sticky stacking effect */
  position: sticky;
  top: 90px;
  /* enter animation */
  opacity: 0;
  transform: translateY(70px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.cap-card.in { opacity: 1; transform: translateY(0); }
.cap-card__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -0.03em;
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(24px, 3vw, 44px);
}
.cap-card__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 520px;
}
.cap-card__list li {
  font-family: var(--display); font-weight: 500;
  letter-spacing: .04em; font-size: clamp(1rem, 1.3vw, 1.2rem);
}

/* ============ FINAL CTA (SS8) ============ */
.cta {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16vh 4vw 8vh;
  background: var(--cream);
}
.cta__title {
  font-family: var(--display); font-weight: 700;
  color: var(--orange);
  font-size: clamp(2.2rem, 12vw, 14.5rem);
  line-height: .9; letter-spacing: -0.02em; text-transform: uppercase;
  font-weight: 900;
  text-align: center;
}
.cta__buttons {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 44px);
  margin-top: 7vh;
  flex-wrap: nowrap;            /* keep all three on ONE row */
  justify-content: center;
  width: 100%;
  max-width: 1500px;
}
.cta__ig {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: var(--orange);
}
.cta__ig-dot { width: 26px; height: 26px; border: 1.5px solid var(--orange); border-radius: 50%; transition: background .3s; }
.cta__ig:hover .cta__ig-dot { background: var(--orange); }

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  overflow: hidden;
  background: var(--cream);
  padding: 18px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker__item {
  font-family: var(--display); font-weight: 500;
  letter-spacing: .04em; font-size: 1.1rem; color: var(--orange);
}
.ticker__item.pill { border: 1px solid var(--orange); border-radius: 999px; padding: 8px 24px; }
.ticker__sep { color: var(--orange); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ UP BUTTON ============ */
.up-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; letter-spacing: .02em;
  font-size: .85rem;
  opacity: 1; pointer-events: auto;
  z-index: 9001;
  transition: transform .35s var(--ease);
  cursor: pointer; border: none;
}
.up-btn:hover { transform: scale(1.08); }
.up-btn.is-open { background: var(--orange-deep); }

/* ============ CONTACT BUTTONS (pill -> shrinks into a small circle on hover) ============ */
.contact-btn {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 480px;
  height: 96px;
  display: block;
}
.contact-btn__ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  transition: width .55s var(--ease), height .55s var(--ease),
              top .55s var(--ease), left .55s var(--ease),
              border-radius .55s var(--ease), transform .55s var(--ease);
}
.contact-btn__label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  letter-spacing: .02em;
  color: var(--orange);
  white-space: nowrap;
  transition: left .55s var(--ease), transform .55s var(--ease);
}
.contact-btn.is-hover .contact-btn__ring {
  top: 50%; left: 16px;
  width: 56px; height: 56px;
  transform: translateY(-50%);
  border-radius: 50%;
}
.contact-btn.is-hover .contact-btn__label {
  left: 90px;
  transform: translate(0, -50%);
}

/* ============ CUSTOM CURSOR (blue dot) ============ */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 16px; height: 16px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s;
}
.cursor-dot--big { width: 30px; height: 30px; }

/* ============ NAV — solid variant (subpages) ============ */
.nav--solid { background: var(--cream); border-bottom: 1px solid transparent; }
.nav__logo--visible {
  visibility: visible;
  pointer-events: auto;
  color: var(--orange);
}
.nav--solid .nav__links a { color: var(--orange); }
.nav--solid .nav__links a.is-current { opacity: .55; }

/* ============ WORKS PAGE ============ */
.works-page { min-height: 100vh; }
.works {
  padding: 130px clamp(20px, 4vw, 56px) 8vh;
}
.works__intro {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 2.4rem);
  line-height: 1.25;
  max-width: 1180px;
  margin-bottom: clamp(40px, 7vw, 90px);
}
.works__label {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 14px;
}
.works__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: .92;
  letter-spacing: -0.02em;
  margin: 26px 0 60px;
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.wcard { position: relative; cursor: pointer; }
.wcard__img {
  position: relative;
  height: 46vh;
  border-radius: 4px;
  overflow: hidden;
  background: #d9d5cc;
}
.wcard--tall .wcard__img { height: 62vh; }
.wcard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.wcard:hover .wcard__img img { transform: scale(1.04); }
.wcard__img.ph::after {
  content: "ADD IMAGE";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); letter-spacing: .1em;
  color: rgba(238,67,34,.45);
  background: repeating-linear-gradient(45deg,#e6e2d8,#e6e2d8 12px,#ded9cf 12px,#ded9cf 24px);
}
/* caption overlaid bottom-left like the reference */
.wcard__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 26px;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
  border-radius: 0 0 4px 4px;
}
.wcard__cap h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  color: #fff;
  letter-spacing: .01em;
}
.wcard__cap p {
  font-family: var(--body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
  margin-top: 6px;
}
.wcard__no { font-family: var(--body); font-weight: 600; color: rgba(255,255,255,.7); font-size: .8rem; }

/* ============ STUDIO PAGE ============ */
.studio { padding-top: 110px; }

/* running text */
.marquee { overflow: hidden; width: 100%; padding: 2vh 0 4vh; }
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 13rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--orange);
  animation: marquee 55s linear infinite;   /* slower + smooth */
  will-change: transform;
}
.marquee-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* circular images that rotate on scroll */
.st-circle {
  flex: none;
  width: clamp(240px, 30vw, 460px);
  height: clamp(240px, 30vw, 460px);
  border-radius: 50%;
  overflow: hidden;
  background: #e2ded1;
  will-change: transform;
}
.st-circle img { width: 100%; height: 100%; object-fit: cover; }
.st-circle.ph::after {
  content: "ADD IMAGE";
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--display); letter-spacing: .1em; font-size: .9rem;
  color: rgba(238,67,34,.45);
  background: repeating-linear-gradient(45deg,#e6e2d8,#e6e2d8 12px,#ded9cf 12px,#ded9cf 24px);
}

/* section 1 — no circle here; the section-2 cluster peeks up from below */
.st-hero { min-height: 100vh; }
.st-about { max-width: 640px; padding: 2vh clamp(20px, 4vw, 56px) 0; }
.st-about__label { font-family: var(--body); font-weight: 600; letter-spacing: .06em; display: block; }
.st-about p {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  margin-top: 20px;
}

/* section 2 — pinned; two joined circles spin from vertical into diagonal */
.st-good { position: relative; height: 240vh; }
.st-good__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.st-cluster {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
  z-index: 2;
}
.st-cluster .st-circle {
  width: clamp(220px, 27vw, 440px);
  height: clamp(220px, 27vw, 440px);
  margin: -10px 0;            /* circles touch / join like a figure-8 */
}
.st-good__word {
  position: absolute;
  top: 50%;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: .88;
  letter-spacing: -0.03em;
  color: var(--orange);
  white-space: nowrap;
  opacity: 0;
  z-index: 3;
  will-change: transform, opacity;
}
.st-good__word--l { left: clamp(20px, 4vw, 56px); transform: translateY(-50%); }
.st-good__word--r { right: clamp(20px, 4vw, 56px); transform: translateY(-50%); }
.st-good__word .cyan-dot { width: .14em; height: .14em; vertical-align: middle; }
.st-good__label {
  position: absolute;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: var(--orange);
  opacity: 0;
  z-index: 3;
  will-change: opacity;
}
.st-good__label--l { left: clamp(20px, 4vw, 56px); top: calc(50% - clamp(3rem, 7.5vw, 7rem)); }
.st-good__label--r { right: clamp(20px, 4vw, 56px); top: calc(50% - clamp(3rem, 7.5vw, 7rem)); }

/* section 3 */
.st-clients { padding: 6vh clamp(20px, 4vw, 56px) 12vh; }
.st-clients__intro { max-width: 920px; margin-left: auto; }
.st-clients__intro p {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.3;
  margin-top: 16px;
}
.st-clients__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 11vw, 11rem);
  line-height: .9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 9vh 0 6vh;
}
.st-clients__title .dot-i { position: relative; }
.st-clients__title .cyan-dot { width: .14em; height: .14em; vertical-align: middle; }
.st-clients__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 50px);
  border-top: 1px solid var(--orange);
  padding-top: 36px;
}
.st-clients__cols ul { list-style: none; }
.st-clients__cols li {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 2;
}

/* motion toggle (now lives in the footer bar) */
.st-toggle {
  display: inline-flex; align-items: center; gap: 14px;
  background: none; border: none; padding: 0;
}
.st-toggle__sw {
  width: 56px; height: 28px;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  position: relative;
}
.st-toggle__sw::after {
  content: "";
  position: absolute; top: 50%; left: 5px;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  transition: left .3s var(--ease);
}
.st-toggle.on .st-toggle__sw::after { left: 31px; }
.st-toggle__label {
  font-family: var(--body); font-weight: 600;
  letter-spacing: .06em; color: var(--orange); font-size: .95rem;
}

/* ============ GLITCH TEXT (broken / looping) ============ */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  background: var(--cream);
  color: var(--orange);
  text-transform: uppercase;
  overflow: hidden;
  pointer-events: none;
}
/* vertical glitch: column slices that tear up & down */
.glitch::before { text-shadow: 0 4px #ff2b2b;  animation: glitchA 2.4s infinite steps(1); }
.glitch::after  { text-shadow: 0 -4px #18b9d6; animation: glitchB 2.9s infinite steps(1); }

@keyframes glitchA {
  0%   { clip-path: inset(0 78% 0 4%);  transform: translateY(-6px); }
  10%  { clip-path: inset(0 30% 0 55%); transform: translateY(5px); }
  20%  { clip-path: inset(0 60% 0 20%); transform: translateY(-4px); }
  30%  { clip-path: inset(0 12% 0 80%); transform: translateY(7px); }
  40%  { clip-path: inset(0 85% 0 2%);  transform: translateY(-3px); }
  50%  { clip-path: inset(0 45% 0 38%); transform: translateY(4px); }
  60%  { clip-path: inset(0 68% 0 14%); transform: translateY(-6px); }
  70%  { clip-path: inset(0 8% 0 84%);  transform: translateY(3px); }
  80%  { clip-path: inset(0 52% 0 30%); transform: translateY(-5px); }
  90%  { clip-path: inset(0 25% 0 60%); transform: translateY(6px); }
  100% { clip-path: inset(0 40% 0 45%); transform: translateY(-3px); }
}
@keyframes glitchB {
  0%   { clip-path: inset(0 20% 0 62%); transform: translateY(6px); }
  10%  { clip-path: inset(0 70% 0 10%); transform: translateY(-5px); }
  20%  { clip-path: inset(0 36% 0 48%); transform: translateY(4px); }
  30%  { clip-path: inset(0 82% 0 6%);  transform: translateY(-7px); }
  40%  { clip-path: inset(0 14% 0 78%); transform: translateY(3px); }
  50%  { clip-path: inset(0 58% 0 24%); transform: translateY(-4px); }
  60%  { clip-path: inset(0 28% 0 56%); transform: translateY(6px); }
  70%  { clip-path: inset(0 74% 0 8%);  transform: translateY(-3px); }
  80%  { clip-path: inset(0 42% 0 40%); transform: translateY(5px); }
  90%  { clip-path: inset(0 18% 0 66%); transform: translateY(-6px); }
  100% { clip-path: inset(0 50% 0 28%); transform: translateY(3px); }
}

/* ============ FOOTER BAR (toggle + copyright, under the ticker) ============ */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  background: var(--cream);
}
.footer-bar__copy {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: .05em;
  font-size: .8rem;
  color: var(--orange);
  text-transform: uppercase;
}

/* pause running text (ticker + studio marquee) via the toggle */
.marquee-paused .ticker__track,
.marquee-paused .marquee__track { animation-play-state: paused; }

/* ============ CONTACT PAGE ============ */
.contact { padding: 130px clamp(20px, 4vw, 56px) 8vh; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
  min-height: 70vh;
}
.contact__head {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: .92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.cform { display: flex; flex-direction: column; gap: 26px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cform__field { display: flex; flex-direction: column; gap: 12px; }
.cform__field label {
  font-family: var(--body); font-weight: 600;
  letter-spacing: .05em; color: var(--orange); font-size: .95rem;
}
.cform input, .cform textarea {
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--orange);
  background: #f4f1ea;
  border: 1px solid #e4e0d6;
  border-radius: 4px;
  padding: 16px 18px;
  width: 100%;
  outline: none;
  transition: border-color .25s;
}
.cform input:focus, .cform textarea:focus { border-color: var(--orange); }
.cform textarea { resize: vertical; min-height: 200px; }
.cform input::placeholder, .cform textarea::placeholder { color: #9a958a; }
.cform__send {
  align-self: flex-start;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .03em;
  color: var(--orange);
  background: none;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 18px 60px;
  cursor: pointer;
  transition: background .3s, color .3s;
  width: 100%;
}
.cform__send:hover { background: var(--orange); color: #fff; }

/* ============ PAYMENT PAGE ============ */
.pay { padding: 130px clamp(20px, 4vw, 56px) 10vh; min-height: 70vh; }
.pay__label {
  font-family: var(--body); font-weight: 600; letter-spacing: .06em;
  border-bottom: 1px solid var(--orange); padding-bottom: 14px;
}
.pay__title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 7rem); line-height: .9;
  letter-spacing: -0.03em; text-transform: uppercase; margin: 24px 0 10px;
}
.pay__intro {
  font-family: var(--body); font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.3;
  max-width: 760px; margin-bottom: 60px;
}
.pay__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.pay-card {
  border: 1.5px solid var(--orange);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 16px;
}
.pay-card h3 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.8rem); text-transform: uppercase; letter-spacing: -0.02em;
}
.pay-card p { font-family: var(--body); font-weight: 500; font-size: 1.05rem; line-height: 1.4; flex: 1; }
.pay-card a {
  align-self: flex-start;
  font-family: var(--body); font-weight: 600; font-size: 1.05rem;
  color: #fff; background: var(--orange);
  border-radius: 999px; padding: 14px 40px;
  transition: background .3s;
}
.pay-card a:hover { background: var(--orange-deep); }

/* ============ NIORE BOT (chatbot) ============ */
.bot {
  position: fixed;
  bottom: 118px; right: 28px;
  width: min(380px, calc(100vw - 40px));
  height: min(540px, calc(100vh - 160px));
  background: #fff;
  border: 1.5px solid var(--orange);
  border-radius: 22px;
  z-index: 9000;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  transform: translateY(20px) scale(.96);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.bot.open { opacity: 1; transform: none; pointer-events: auto; }
.bot__head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--orange); color: #fff;
  padding: 16px 20px;
}
.bot__name { font-family: var(--display); font-weight: 900; letter-spacing: .02em; font-size: 1.1rem; }
.bot__name small { font-family: var(--body); font-weight: 500; opacity: .85; display: block; font-size: .7rem; letter-spacing: .04em; }
.bot__close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.bot__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bot-msg {
  max-width: 85%;
  font-family: var(--body); font-size: .95rem; line-height: 1.4;
  padding: 12px 15px; border-radius: 16px;
}
.bot-msg--bot { align-self: flex-start; background: #f4f1ea; color: #2a2a2a; border-bottom-left-radius: 4px; }
.bot-msg--user { align-self: flex-end; background: var(--orange); color: #fff; border-bottom-right-radius: 4px; }
.bot-msg a { color: var(--orange); font-weight: 700; text-decoration: underline; }
.bot-msg--bot a { color: var(--orange-deep); }
.bot__quick { padding: 14px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eee; }
.bot__quick button {
  font-family: var(--body); font-weight: 600; font-size: .82rem;
  color: var(--orange); background: #fff;
  border: 1.3px solid var(--orange); border-radius: 999px;
  padding: 9px 16px; cursor: pointer;
  transition: background .25s, color .25s;
}
.bot__quick button:hover { background: var(--orange); color: #fff; }

/* ============ PRODUCTS PAGE ============ */
.products { padding: 130px clamp(20px, 4vw, 56px) 8vh; }
.products__label {
  font-family: var(--body); font-weight: 600; letter-spacing: .06em;
  border-bottom: 1px solid var(--orange); padding-bottom: 14px;
}
.products__title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 6rem); line-height: .9;
  letter-spacing: -0.03em; text-transform: uppercase; margin: 24px 0 8px;
}
.products__intro {
  font-family: var(--body); font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.35;
  max-width: 760px; margin-bottom: 64px;
}
.products__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.prod-card {
  border: 1.5px solid var(--orange);
  border-radius: 22px;
  padding: clamp(26px, 2.4vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.prod-card:hover { background: var(--orange); color: #fff; }
.prod-card:hover .prod-card__no,
.prod-card:hover .prod-card__desc { color: rgba(255,255,255,.85); }
.prod-card:hover .prod-card__buy { background: #fff; color: var(--orange); border-color: #fff; }
.prod-card__no { font-family: var(--body); font-weight: 600; letter-spacing: .05em; font-size: .85rem; }
.prod-card__name {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: .95;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.prod-card__desc { font-family: var(--body); font-weight: 500; font-size: 1rem; line-height: 1.4; flex: 1; }
.prod-card__price { font-family: var(--display); font-weight: 900; font-size: 1.6rem; }
.prod-card__buy {
  align-self: flex-start; width: 100%;
  font-family: var(--body); font-weight: 700; font-size: 1rem; letter-spacing: .03em;
  color: #fff; background: var(--orange); border: 1.5px solid var(--orange);
  border-radius: 999px; padding: 15px 28px; cursor: pointer;
  transition: transform .25s var(--ease);
}
.prod-card__buy:hover { transform: scale(1.03); }

/* ============ ORDER MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,18,16,.55);
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__box {
  background: #fff; border-radius: 22px;
  width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  padding: clamp(28px, 4vw, 48px); position: relative;
  border: 1.5px solid var(--orange);
}
.modal__close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; font-size: 1.8rem; color: var(--orange); cursor: pointer; line-height: 1;
}
.modal h3 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 6px;
}
.modal__sub { font-family: var(--body); font-weight: 500; color: #6a6a6a; margin-bottom: 24px; }
.modal__sub b { color: var(--orange); }
.ofield { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.ofield label { font-family: var(--body); font-weight: 600; letter-spacing: .04em; color: var(--orange); font-size: .9rem; }
.ofield input, .ofield textarea {
  font-family: var(--body); font-size: 1rem; color: #222;
  background: #f4f1ea; border: 1px solid #e4e0d6; border-radius: 4px;
  padding: 14px 16px; outline: none;
}
.ofield input:focus, .ofield textarea:focus { border-color: var(--orange); }
.ofield input[type=file] { padding: 10px; background: #fff; }
.modal__submit, .pay-opt {
  font-family: var(--body); font-weight: 700; font-size: 1.05rem;
  border-radius: 999px; padding: 16px; cursor: pointer; width: 100%;
  border: 1.5px solid var(--orange); transition: background .3s, color .3s;
}
.modal__submit { background: var(--orange); color: #fff; }
.modal__submit:hover { background: var(--orange-deep); }
.pay-opts { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.pay-opt { background: #fff; color: var(--orange); text-align: center; display: block; }
.pay-opt:hover { background: var(--orange); color: #fff; }

/* ============ CHAT (DM to admin) ============ */
.chat { padding: 96px clamp(16px, 4vw, 56px) 40px; min-height: 100vh; display: flex; flex-direction: column; }
.chat__window {
  flex: 1; max-width: 720px; width: 100%; margin: 0 auto;
  border: 1.5px solid var(--orange); border-radius: 22px;
  display: flex; flex-direction: column; overflow: hidden; min-height: 70vh;
}
.chat__head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #eee; }
.chat__avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: 1.1rem;
}
.chat__who { font-family: var(--display); font-weight: 900; letter-spacing: .01em; }
.chat__who small { display: block; font-family: var(--body); font-weight: 500; color: #16a34a; font-size: .72rem; }
.chat__body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 78%; font-family: var(--body); font-size: .98rem; line-height: 1.4; padding: 12px 16px; border-radius: 18px; }
.chat-msg--me { align-self: flex-end; background: var(--orange); color: #fff; border-bottom-right-radius: 5px; }
.chat-msg--admin { align-self: flex-start; background: #f1efe9; color: #222; border-bottom-left-radius: 5px; }
.chat-msg a { color: inherit; text-decoration: underline; font-weight: 700; }
.chat__form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid #eee; }
.chat__form input {
  flex: 1; font-family: var(--body); font-size: 1rem; color: #222;
  background: #f4f1ea; border: 1px solid #e4e0d6; border-radius: 999px; padding: 13px 18px; outline: none;
}
.chat__form input:focus { border-color: var(--orange); }
.chat__form button {
  font-family: var(--body); font-weight: 700; color: #fff; background: var(--orange);
  border: none; border-radius: 999px; padding: 13px 26px; cursor: pointer;
}
.chat__wa { display: block; text-align: center; margin: 14px auto 0; font-family: var(--body); font-weight: 600; color: var(--orange); text-decoration: underline; }

/* ============ LOGIN + DASHBOARD ============ */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 20px 60px; }
.auth__box { width: min(440px, 100%); }
.auth__title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; margin-bottom: 8px;
}
.auth__sub { font-family: var(--body); font-weight: 500; color: #6a6a6a; margin-bottom: 30px; }
.auth form { display: flex; flex-direction: column; gap: 18px; }
.auth label { font-family: var(--body); font-weight: 600; color: var(--orange); font-size: .9rem; margin-bottom: 8px; display: block; }
.auth input {
  width: 100%; font-family: var(--body); font-size: 1rem; color: #222;
  background: #f4f1ea; border: 1px solid #e4e0d6; border-radius: 4px; padding: 15px 16px; outline: none;
}
.auth input:focus { border-color: var(--orange); }
.auth button {
  font-family: var(--body); font-weight: 700; font-size: 1.05rem; color: #fff; background: var(--orange);
  border: none; border-radius: 999px; padding: 16px; cursor: pointer; transition: background .3s;
}
.auth button:hover { background: var(--orange-deep); }

.dash { padding: 130px clamp(20px, 4vw, 56px) 10vh; min-height: 80vh; }
.dash__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.03em; }
.dash__hi { font-family: var(--body); font-weight: 500; font-size: 1.3rem; margin: 14px 0 40px; }
.dash__hi b { font-weight: 700; }
.dash__cartlabel { font-family: var(--body); font-weight: 600; letter-spacing: .05em; border-bottom: 1px solid var(--orange); padding-bottom: 12px; margin-bottom: 20px; }
.cart-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1.5px solid var(--orange); border-radius: 16px; padding: 20px 24px; margin-bottom: 14px;
}
.cart-item__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.2rem; }
.cart-item__meta { font-family: var(--body); font-weight: 500; color: #6a6a6a; font-size: .9rem; margin-top: 4px; }
.cart-item__price { font-family: var(--display); font-weight: 900; font-size: 1.3rem; margin-left: auto; }
.cart-item__rm { background: none; border: 1.5px solid var(--orange); color: var(--orange); border-radius: 999px; padding: 8px 18px; cursor: pointer; font-family: var(--body); font-weight: 600; }
.dash__empty { font-family: var(--body); font-weight: 500; color: #6a6a6a; font-size: 1.2rem; }
.dash__logout { margin-top: 40px; display: inline-block; font-family: var(--body); font-weight: 700; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 999px; padding: 14px 40px; cursor: pointer; background: none; }

/* ============ NIORE BOT free-text input ============ */
.bot__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #eee; }
.bot__form input {
  flex: 1; font-family: var(--body); font-size: .9rem; color: #222;
  background: #f4f1ea; border: 1px solid #e4e0d6; border-radius: 999px; padding: 10px 14px; outline: none;
}
.bot__form input:focus { border-color: var(--orange); }
.bot__form button { font-family: var(--body); font-weight: 700; color: #fff; background: var(--orange); border: none; border-radius: 999px; padding: 10px 16px; cursor: pointer; }

/* hero secondary button row */
.hero__cta-row { position: absolute; bottom: 40px; right: clamp(20px, 4vw, 56px); z-index: 3; display: flex; gap: 14px; }
.btn-pill.outline-light { background: transparent; color: var(--orange); border: 1.5px solid var(--orange); }
.btn-pill.outline-light:hover { background: var(--orange); color: #fff; }

/* ============ AUTH (login/signup tabs + OTP) ============ */
.auth__tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.auth__tabs button {
  flex: 1; font-family: var(--body); font-weight: 700; font-size: .95rem;
  color: var(--orange); background: none; border: 1.5px solid var(--orange);
  border-radius: 999px; padding: 11px; cursor: pointer; transition: background .25s, color .25s;
}
.auth__tabs button.on { background: var(--orange); color: #fff; }
.auth__notice {
  background: #f4f1ea; border: 1px solid #e4e0d6; border-radius: 8px;
  padding: 12px 14px; font-family: var(--body); font-size: .9rem; color: #444; line-height: 1.4;
}

/* passcode field with eye toggle */
.pass-wrap { position: relative; }
.pass-wrap input { width: 100%; padding-right: 52px; }
.pass-eye {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 1.2rem; line-height: 1;
  padding: 6px 8px; border-radius: 8px;
}
.pass-eye:hover { background: #f0ece2; }

/* ============ DASHBOARD panels / profile / messages ============ */
.dash__panel { margin-bottom: 56px; }
.profile { display: flex; gap: clamp(20px, 3vw, 44px); align-items: flex-start; flex-wrap: wrap; }
.profile__avatar {
  width: 150px; height: 150px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid var(--orange); background: #f4f1ea;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; position: relative;
}
.profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile__avatar span { font-family: var(--body); font-weight: 700; color: var(--orange); font-size: .85rem; }
.profile__fields { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.profile__fields label { font-family: var(--body); font-weight: 600; color: var(--orange); font-size: .85rem; }
.profile__fields input, .profile__fields textarea {
  font-family: var(--body); font-size: 1rem; color: #222;
  background: #f4f1ea; border: 1px solid #e4e0d6; border-radius: 4px; padding: 13px 15px; outline: none;
}
.profile__fields textarea { min-height: 100px; resize: vertical; }
.profile__save { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.profile__save button {
  font-family: var(--body); font-weight: 700; color: #fff; background: var(--orange);
  border: none; border-radius: 999px; padding: 13px 36px; cursor: pointer;
}
.profile__saved { font-family: var(--body); font-weight: 600; color: #16a34a; }

.msg { border: 1.5px solid var(--orange); border-radius: 18px; overflow: hidden; max-width: 720px; }
.msg__tabs { display: flex; }
.msg__tabs button {
  flex: 1; font-family: var(--body); font-weight: 700; font-size: .9rem;
  color: var(--orange); background: #fff; border: none; border-bottom: 1px solid #eee;
  padding: 14px; cursor: pointer; transition: background .25s, color .25s;
}
.msg__tabs button.on { background: var(--orange); color: #fff; }
.msg__body { height: 320px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg__form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid #eee; }
.msg__form input {
  flex: 1; font-family: var(--body); font-size: .95rem; color: #222;
  background: #f4f1ea; border: 1px solid #e4e0d6; border-radius: 999px; padding: 11px 16px; outline: none;
}
.msg__form button { font-family: var(--body); font-weight: 700; color: #fff; background: var(--orange); border: none; border-radius: 999px; padding: 11px 22px; cursor: pointer; }
.msg__note { font-family: var(--body); font-size: .8rem; color: #888; padding: 10px 14px; }

/* ============ ORDER CARD + PROGRESS STEPPER (user dashboard) ============ */
.order-card { border: 1.5px solid var(--orange); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; }
.order-card__top { display: flex; align-items: center; gap: 16px; }
.order-card__brief { font-family: var(--body); font-size: .9rem; color: #555; margin: 12px 0 6px; }
.order-card__brief a { color: var(--orange); text-decoration: underline; }
.stepper { display: flex; gap: 6px; margin-top: 18px; }
.stepper__step { flex: 1; text-align: center; position: relative; }
.stepper__dot {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: #e0dcd2; margin: 0 auto 8px; position: relative; z-index: 1;
}
.stepper__step::before {
  content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #e0dcd2; z-index: 0;
}
.stepper__step:first-child::before { display: none; }
.stepper__step.done .stepper__dot { background: var(--orange); }
.stepper__step.done::before { background: var(--orange); }
.stepper__step.now .stepper__dot { box-shadow: 0 0 0 4px rgba(238,67,34,.25); }
.stepper__lbl { font-family: var(--body); font-weight: 600; font-size: .68rem; letter-spacing: .02em; color: #888; }
.stepper__step.done .stepper__lbl { color: var(--orange); }

/* ============ ADMIN ============ */
.admin__tabs { display: flex; gap: 10px; margin: 20px 0 34px; }
.admin__tabs button {
  font-family: var(--body); font-weight: 700; font-size: .9rem; color: var(--orange);
  background: none; border: 1.5px solid var(--orange); border-radius: 999px; padding: 11px 26px; cursor: pointer;
  transition: background .25s, color .25s;
}
.admin__tabs button.on { background: var(--orange); color: #fff; }
.admin__orders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.adm-order { border: 1.5px solid var(--orange); border-radius: 16px; padding: 22px; }
.adm-order__head { display: flex; align-items: center; justify-content: space-between; }
.adm-order__id { font-family: var(--body); font-weight: 700; letter-spacing: .04em; color: #888; font-size: .85rem; }
.adm-order__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.2rem; margin: 8px 0 6px; }
.adm-order__meta { font-family: var(--body); font-size: .85rem; color: #555; }
.adm-order__desc { font-family: var(--body); font-style: italic; color: #444; margin: 10px 0; font-size: .9rem; }
.adm-order__links { font-family: var(--body); font-size: .85rem; margin-bottom: 14px; }
.adm-order__links a { color: var(--orange); text-decoration: underline; }
.adm-order__statlabel { display: block; font-family: var(--body); font-weight: 600; color: var(--orange); font-size: .8rem; margin-bottom: 6px; }
.adm-order__status {
  width: 100%; font-family: var(--body); font-weight: 600; font-size: .95rem; color: var(--orange);
  background: #f4f1ea; border: 1.5px solid var(--orange); border-radius: 8px; padding: 11px 14px; cursor: pointer;
}

/* ============ ADMIN CRM (3-panel) ============ */
.adminx { display: grid; grid-template-columns: 230px 340px 1fr; height: calc(100vh - 76px); margin-top: 76px; }
.adminx__nav { border-right: 1px solid #eee; padding: 26px 20px; display: flex; flex-direction: column; }
.adminx__brand { font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--orange); line-height: 1; }
.adminx__brand small { display: block; font-family: var(--body); font-weight: 600; font-size: .65rem; letter-spacing: .1em; color: #999; margin-top: 6px; }
.adminx__navgroup { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.adminx__navitem { font-family: var(--body); font-weight: 600; font-size: .95rem; color: #555; padding: 12px 14px; border-radius: 10px; background: none; border: none; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.adminx__navitem:hover { background: #f6f3ec; }
.adminx__navitem.on { background: #fff4ef; color: var(--orange); }

/* admin table rows (orders / customers views) */
.adm-row { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid #f0ece2; }
.adm-row:last-child { border-bottom: none; }
.adm-row__c { font-family: var(--body); font-weight: 600; font-size: .92rem; color: #333; display: flex; flex-direction: column; gap: 2px; }
.adm-row__c small { font-weight: 500; color: #999; font-size: .76rem; }
.adm-row__c--av { flex-direction: row; align-items: center; gap: 10px; }
.tag { font-family: var(--body); font-weight: 700; font-size: .74rem; padding: 5px 12px; border-radius: 999px; white-space: nowrap; width: fit-content; }
.tag--paid { background: #e9f8ef; color: #16a34a; }
.tag--cart { background: #fff1ec; color: var(--orange); }
.adm-row--click { cursor: pointer; border-radius: 10px; padding-left: 12px; padding-right: 12px; transition: background .18s; }
.adm-row--click:hover { background: #faf6ef; }
.adm-row__go { margin-left: 10px; color: #bbb; font-size: 1.4rem; font-weight: 700; }
.adm-row__c:last-child { flex-direction: row; align-items: center; }
.adminx__back { font-family: var(--body); font-weight: 700; color: var(--orange); background: none; border: none; cursor: pointer; margin-bottom: 18px; font-size: .95rem; }
.adm-confirm { margin-top: 16px; width: 100%; font-family: var(--body); font-weight: 700; color: #fff; background: #16a34a; border: none; border-radius: 999px; padding: 13px; cursor: pointer; }
.adm-confirm:hover { background: #128a3c; }
.adminx__logout { margin-top: auto; font-family: var(--body); font-weight: 700; color: var(--orange); background: none; border: 1.5px solid var(--orange); border-radius: 999px; padding: 12px; cursor: pointer; }

.adminx__list { border-right: 1px solid #eee; display: flex; flex-direction: column; overflow: hidden; }
.adminx__listhead { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px; font-family: var(--display); font-weight: 900; letter-spacing: .03em; }
.adminx__count { font-family: var(--body); font-weight: 700; background: var(--orange); color: #fff; border-radius: 999px; padding: 2px 11px; font-size: .8rem; }
.adminx__items { overflow-y: auto; padding: 0 12px 20px; }
.cust { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border: none; background: none; border-radius: 14px; cursor: pointer; text-align: left; transition: background .2s; }
.cust:hover { background: #f6f3ec; }
.cust.on { background: #fff4ef; box-shadow: inset 0 0 0 1.5px var(--orange); }
.cust__av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--orange); color: #fff; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; }
.cust__av img { width: 100%; height: 100%; object-fit: cover; }
.cust__info { flex: 1; min-width: 0; }
.cust__name { font-family: var(--display); font-weight: 900; font-size: 1rem; }
.cust__sub { font-family: var(--body); font-size: .82rem; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cust__badge { font-family: var(--body); font-weight: 700; background: #111; color: #fff; border-radius: 999px; min-width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: .8rem; }

.adminx__main { overflow-y: auto; padding: 30px clamp(20px, 3vw, 44px); background: #fcfbf8; }
.adminx__empty { font-family: var(--body); color: #999; padding: 60px 0; }
.adminx__header { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.adminx__hav { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; background: var(--orange); color: #fff; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 1.6rem; }
.adminx__hav img { width: 100%; height: 100%; object-fit: cover; }
.adminx__hname { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.8rem; letter-spacing: -0.02em; }
.adminx__hmeta { font-family: var(--body); color: #888; font-size: .9rem; margin-top: 4px; }
.adminx__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.adm-card { background: #fff; border: 1px solid #ece8df; border-radius: 16px; padding: 22px; }
.adm-card:nth-child(2) { grid-row: span 2; }
.adm-card__title { font-family: var(--display); font-weight: 900; letter-spacing: .03em; font-size: .95rem; margin-bottom: 16px; color: var(--orange); }
.adm-kv { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #f0ece2; font-family: var(--body); font-size: .9rem; }
.adm-kv span { color: #999; }
.adm-kv b { text-align: right; }
.adm-kv b a { color: var(--orange); text-decoration: underline; }
.adm-kv--col { flex-direction: column; align-items: flex-start; gap: 4px; }
.adm-kv--col b { text-align: left; font-weight: 500; font-style: italic; color: #444; }
.adm-brief { background: #faf7f1; border: 1px solid #ece8df; border-radius: 12px; padding: 8px 16px; margin: 14px 0; }
.adm-brief__title { font-family: var(--display); font-weight: 900; font-size: .8rem; letter-spacing: .04em; color: var(--orange); padding: 10px 0 4px; }

/* ============ PRODUCT DETAIL ============ */
.pdetail { padding: 120px clamp(20px, 4vw, 56px) 8vh; max-width: 900px; }
.pdetail__back { font-family: var(--body); font-weight: 600; color: var(--orange); display: inline-block; margin-bottom: 26px; }
.pdetail__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: .9; letter-spacing: -0.03em; margin: 10px 0 14px; }
.pdetail__desc { font-family: var(--body); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.4; margin-bottom: 44px; max-width: 640px; }
.pdetail__group { margin-bottom: 34px; }
.pdetail__group h3, .pdetail__formtitle { font-family: var(--display); font-weight: 900; font-size: 1.2rem; letter-spacing: .02em; margin-bottom: 16px; }
.opt-row { display: flex; gap: 14px; flex-wrap: wrap; }
.opt { flex: 1; min-width: 150px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span {
  display: flex; flex-direction: column; gap: 4px;
  border: 1.5px solid var(--orange); border-radius: 14px; padding: 18px 20px;
  font-family: var(--display); font-weight: 900; color: var(--orange); transition: background .25s, color .25s;
}
.opt span small { font-family: var(--body); font-weight: 600; font-size: .85rem; opacity: .8; }
.opt input:checked + span { background: var(--orange); color: #fff; }
.pdetail__total { font-family: var(--display); font-weight: 900; font-size: 1.6rem; margin: 10px 0 26px; }
.pdetail__total span { font-size: 2.2rem; }
.pdetail__step .ofield { margin-bottom: 18px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .products__grid { grid-template-columns: 1fr; }
  .admin__orders { grid-template-columns: 1fr; }
  .stepper__lbl { font-size: .56rem; }
  .adminx { grid-template-columns: 1fr; height: auto; }
  .adminx__nav { flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: center; }
  .adminx__navgroup { flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .adminx__logout { margin: 0 0 0 auto; }
  .adminx__list { max-height: 40vh; }
  .adminx__cards { grid-template-columns: 1fr; }
  .adm-card:nth-child(2) { grid-row: auto; }
  .hero__cta-row { flex-direction: column; right: 16px; bottom: 24px; }
  .contact__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .pay__cards { grid-template-columns: 1fr; }
  .footer-bar__copy { font-size: .68rem; }
  .st-good { height: 220vh; }
  .st-cluster .st-circle { width: 64vw; height: 64vw; }
  .st-good__word { font-size: clamp(2.2rem, 13vw, 4rem); }
  .st-clients__cols { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .wcard__img, .wcard--tall .wcard__img { height: 52vh; }
  .cta__buttons { flex-wrap: wrap; }
  .contact-btn { flex: 1 1 100%; max-width: none; }
  .nav__links { gap: 16px; }
  .nav__links a { font-size: .75rem; }
  .gallery { height: 360vh; }
  .card { width: 80vw; }
  .cap-card { top: 80px; }
  .btn-pill.outline { padding: 22px 34px; }
}
