/* =============================================================================
   ORIVANA v2 · page compositions
   ========================================================================== */

/* =============================================================== HOME · FILM */
.film { position: relative; background: var(--g900); }
.film__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(90deg, rgba(7, 21, 15, .62) 0%, rgba(7, 21, 15, .18) 46%, rgba(7, 21, 15, 0) 70%),
  linear-gradient(0deg, rgba(7, 21, 15, .7) 0%, rgba(7, 21, 15, 0) 42%); }
.film__kernel { position: absolute; left: 0; top: 0; z-index: 3; width: 300px; height: auto; pointer-events: none; transform-origin: 0 0; will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, -100px) var(--ly, -100px), transparent 97%, #000 100%);
  mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, -100px) var(--ly, -100px), transparent 97%, #000 100%); }
@keyframes cue { to { top: 110%; } }
/* static (reduced motion / no GL): chapters become a readable list */
@media (max-width: 900px) {
}

/* =============================================================== HOME · METRICS + CERTS */
.metrics { padding-block: clamp(80px, 4rem + 6vw, 160px); }
.metric { padding: 28px clamp(16px, 2vw, 32px) 8px 0; }
.metric + .metric { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.certs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: clamp(56px, 6vw, 96px); }
.cert { display: flex; align-items: flex-start; gap: 12px; padding: 18px 16px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); transition: transform .6s var(--e-out), box-shadow .6s var(--e-out), border-color .4s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--line-2); }
.cert svg { width: 20px; height: 20px; flex: none; color: var(--g600); margin-top: 2px; }
.cert span { display: grid; font-size: .82rem; color: var(--ink-3); line-height: 1.35; }
.cert b { font-size: .9rem; font-weight: 640; color: var(--ink); font-stretch: 104%; }
@media (max-width: 1100px) { .metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metric:nth-child(3) { border-left: 0; padding-left: 0; } .metric:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; } .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metric__n { font-size: 2.4rem; } }

/* =============================================================== HOME · MANIFESTO */

/* =============================================================== HOME · PRODUCT STAGE */
.ps { position: relative; background: var(--ps-bg, var(--g850)); transition: background-color 1.1s var(--e-out); }
.ps__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: calc(var(--hdr) + clamp(8px, 1.5vh, 20px));
}
.ps__pin::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 70% 55%, rgba(255, 255, 255, .09), transparent 70%); }
.ps__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; cursor: grab; touch-action: pan-y; }
.ps__gl:active { cursor: grabbing; }

.ps__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px 48px;
  align-items: end;
  pointer-events: none;
  margin-bottom: clamp(6px, 1vh, 16px);
}
.ps__head #psTitle {
  margin: 0;
  font-size: clamp(2rem, 1.35rem + 1.8vw, 3.4rem);
  line-height: .98;
}
.ps__head .body {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(.84rem, .8rem + .15vw, .95rem);
  line-height: 1.5;
}

.ps__slides {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: "slide";
  align-items: center;
  min-height: 0;
  pointer-events: none;
}
.ps__s {
  grid-area: slide;
  width: min(520px, 42vw);
  max-width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--e-out), visibility 0s .6s;
  pointer-events: none;
}
.ps__s.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity .8s var(--e-out) .1s, visibility 0s;
  pointer-events: auto;
}
.ps__s > * { transform: translateY(14px); transition: transform 1s var(--e-out); }
.ps__s.is-on > * { transform: none; }
.ps__s.is-on > :nth-child(2) { transition-delay: .05s; }
.ps__s.is-on > :nth-child(3) { transition-delay: .1s; }
.ps__s.is-on > :nth-child(4) { transition-delay: .15s; }

.ps__cat {
  margin: 0;
  color: var(--apricot);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.ps__cat span { color: var(--on-dark-2); }
.ps__name {
  margin-top: clamp(4px, .8vh, 10px);
  margin-bottom: 0;
  font-size: clamp(1.4rem, 1rem + 1.1vw, 2.2rem);
  line-height: 1.15;
}
.ps__desc {
  margin-top: clamp(6px, .9vh, 10px);
  margin-bottom: 0;
  color: var(--on-dark-2);
  font-size: clamp(.82rem, .78rem + .12vw, .9rem);
  line-height: 1.45;
  max-width: 48ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps__spec {
  margin-top: clamp(8px, 1.2vh, 16px);
  margin-bottom: 0;
  border-top: 1px solid var(--line-d2);
}
.ps__spec > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  padding: clamp(3px, .55vh, 7px) 0;
  border-bottom: 1px solid var(--line-d);
  font-size: clamp(.78rem, .74rem + .12vw, .86rem);
  line-height: 1.35;
}
.ps__spec dt { color: var(--on-dark-3); font-weight: 500; }
.ps__spec dd { color: var(--on-dark); margin: 0; }
.ps__ing {
  margin-top: clamp(6px, .9vh, 10px);
  margin-bottom: 0;
  color: var(--on-dark-3);
  font-size: clamp(.74rem, .7rem + .1vw, .82rem);
  line-height: 1.35;
  max-width: 50ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps__ing b { color: var(--on-dark-2); font-weight: 600; margin-right: 6px; }

.ps__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  padding-block: clamp(8px, 1.5vh, 20px);
}
.ps__dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  padding: clamp(6px, .8vh, 9px) clamp(10px, 1.2vw, 14px);
  border-radius: 999px;
  font-size: clamp(.78rem, .75rem + .1vw, .84rem);
  color: var(--on-dark-2);
  border: 1px solid transparent;
  transition: background .4s, color .4s, border-color .4s;
  text-align: left;
  cursor: pointer;
}
.ps__dot .num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-d2);
  font-size: .68rem;
  line-height: 1;
}
.ps__dot-txt {
  display: inline-block;
  line-height: 1.25;
  white-space: normal;
  text-align: left;
}
.ps__dot:hover {
  color: var(--on-dark);
}
.ps__dot.is-on {
  color: var(--on-dark);
  border-color: var(--line-d2);
  background: rgba(255, 255, 255, .06);
}
.ps__dot.is-on .num {
  background: var(--apricot);
  border-color: var(--apricot);
  color: var(--ink);
}
.ps__more { margin-left: auto; color: var(--on-dark); font-size: clamp(.82rem, .78rem + .1vw, .9rem); }

.ps.no-gl .ps__pin { height: auto; min-height: 0; padding-bottom: 64px; }
.ps.no-gl .ps__gl { display: none; }
.ps.no-gl .ps__slides { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding-block: 40px; }
.ps.no-gl .ps__s {
  grid-area: auto;
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: 28px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-d);
}
.ps.no-gl .ps__s > * { transform: none; }
.ps.no-gl .ps__dot { display: none; }

@media (max-height: 760px) {
  .ps__pin { padding-top: calc(var(--hdr) + 6px); }
  .ps__spec > div:nth-child(n+4) { display: none; }
  .ps__desc { -webkit-line-clamp: 1; }
}
@media (max-height: 660px) {
  .ps__pin { padding-top: calc(var(--hdr) + 2px); }
  .ps__spec > div:nth-child(n+3) { display: none; }
  .ps__ing { display: none; }
}

@media (max-width: 960px) {
  .ps__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 8px; }
  .ps__head .body { display: none; }
  .ps.has-gl .ps__s {
    width: auto;
    padding: 16px;
    border-radius: var(--r);
    background: rgba(7, 21, 15, .8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .ps.has-gl .ps__slides { align-self: end; }
  .ps__spec > div:nth-child(n+4) { display: none; }
  .ps__ing, .ps__desc { display: none; }
  .ps__dot:not(.is-on) { width: 42px; padding: 6px; justify-content: center; font-size: 0; gap: 0; }
  .ps__dot:not(.is-on) .num { font-size: .72rem; }
  .ps__dot:not(.is-on) .ps__dot-txt { display: none; }
  .ps__more { display: none; }
}

/* =============================================================== HOME · ONE LINE MODEL */
.model { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 44px); }
@keyframes dash { to { stroke-dashoffset: -36; } }
@keyframes drop { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
[data-model-flow] circle { fill: var(--white); stroke: var(--g700); stroke-width: 2; animation: flow 4.8s linear infinite; animation-delay: calc(var(--i) * -.4s); }
@keyframes flow { from { transform: translateX(160px); } to { transform: translateX(1040px); } }

/* =============================================================== HOME · SERVICES */
.svc__float { position: absolute; left: 0; top: 0; z-index: 5; width: 300px; aspect-ratio: 4 / 5; margin: -190px 0 0 -150px; border-radius: var(--r); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .4s, scale .6s var(--e-out); box-shadow: var(--shadow-2); }
.svc__float.is-on { opacity: 1; scale: 1.67; }
.svc__float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
  .svc__float { display: none; }
}

/* =============================================================== HOME · PROOF / SEAL */
.proof { overflow: hidden; }
.proof__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.seal { display: grid; gap: 32px; justify-items: center; perspective: 1200px; }
.seal__coin { position: relative; width: clamp(200px, 22vw, 300px); aspect-ratio: 1; transform-style: preserve-3d; }
.seal__f { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.seal__f--a { background: radial-gradient(circle at 35% 30%, #2f6b4f, #133222 70%); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .06), inset 0 0 0 11px rgba(136, 201, 153, .35), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.seal__f--a svg:first-child { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spinr 40s linear infinite; }
@keyframes spinr { to { transform: rotate(360deg); } }
.seal__f--a text { font-family: var(--f); font-size: 15px; font-weight: 640; font-stretch: 125%; letter-spacing: .14em; fill: var(--g300); }
.seal__leaf { width: 34%; height: 34%; color: var(--apricot); stroke-width: 1.3; }
img.seal__leaf { width: 54%; height: auto; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4)); }
.seal__f--b { transform: rotateY(180deg); background: radial-gradient(circle at 60% 30%, #ffc56e, #e0902a 75%); color: var(--ink); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .18), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.seal__f--b span { font-size: clamp(1.8rem, 1rem + 2vw, 2.8rem); font-weight: 700; font-stretch: 125%; letter-spacing: -.04em; line-height: .9; text-align: center; text-transform: uppercase; }
.seal__body { width: 100%; padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); }
.seal__body > * + * { margin-top: 12px; }
.seal__body .sm { color: var(--on-dark-2); }
.seal__chk { display: flex; gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: var(--t-sm); color: var(--g200); }
.seal__chk svg { width: 18px; height: 18px; color: var(--g300); }
@media (max-width: 900px) { .proof__grid { grid-template-columns: minmax(0, 1fr); } }

/* =============================================================== HOME · FEASIBILITY */
.lab { display: inline-flex; align-items: center; gap: 18px; margin-top: 18px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-align: left; font-size: .95rem; transition: border-color .4s, transform .6s var(--e-out); }
.lab:hover { border-color: var(--g500); transform: translateY(-3px); }
.lab > svg { width: 18px; height: 18px; flex: none; }
@keyframes wave { 50% { height: 100%; background: var(--apricot-d); } }
@media (max-width: 560px) { .lab { border-radius: var(--r); } }

/* =============================================================== INNER PAGES (shared patterns) */

/* =============================================================== CAPABILITIES */

/* =============================================================== PRIVATE LABEL · STUDIO */
.studio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.studio__stage { position: relative; min-height: clamp(460px, 62vh, 680px); border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, #ffffff 0%, #e6ece7 60%, #d7e0d9 100%); border: 1px solid var(--line); }
.studio__gl { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.studio__gl:active { cursor: grabbing; }
.studio__fallback { display: none; position: absolute; inset: 8% 22%; }
.studio.no-gl .studio__fallback { display: grid; place-items: center; }
.studio.no-gl .studio__fallback img { max-height: 100%; border-radius: 14px; box-shadow: var(--shadow-2); }
.studio__steps { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.studio__steps button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: .84rem; font-weight: 560; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.studio__steps li { counter-increment: st; }
.studio__steps button::before { content: counter(st); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .7rem; }
.studio__steps button.is-on { background: var(--ink); color: var(--on-dark); }
.studio__steps button.is-on::before { background: var(--apricot); border-color: var(--apricot); color: var(--ink); }
.studio__steps { counter-reset: st; }
.studio__hint { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-3); }
.studio__hint svg { width: 18px; height: 18px; }
.studio__panel { display: grid; gap: 20px; align-content: start; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.finishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.finish-btn { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--white); font-size: .9rem; font-weight: 540; text-align: left; transition: border-color .3s, box-shadow .3s; }
.finish-btn i { width: 24px; height: 24px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.finish-btn:hover { border-color: var(--ink-3); }
.finish-btn.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 960px) { .studio { grid-template-columns: minmax(0, 1fr); } .studio__stage { min-height: 440px; } }
.fmt { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transform-style: preserve-3d; }
.fmt .tag { justify-self: start; }

/* =============================================================== R&D · 3D RING */

/* =============================================================== R&D · SCALE-UP */
.scale { --p: 50; display: grid; gap: 22px; }
.scale__view {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--g800);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.scale__view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.scale__a { position: absolute; inset: 0; filter: saturate(.8) sepia(.12); pointer-events: none; }
.scale__b { position: absolute; inset: 0; clip-path: inset(0 0 0 calc(100% - var(--p) * 1%)); pointer-events: none; }
.scale__div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - var(--p) * 1%);
  width: 2px;
  margin-left: -1px;
  background: var(--apricot);
  pointer-events: none;
  z-index: 5;
}
.scale__div i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4), 0 0 0 3px rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  user-select: none;
  transition: transform .2s var(--e-out), box-shadow .2s var(--e-out);
}
.scale__div i svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.scale__div i:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .5), 0 0 0 5px rgba(255, 179, 71, .5);
}
.scale.is-dragging .scale__view,
.scale.is-dragging .scale__div i,
.scale__div i:active {
  cursor: grabbing;
}
.scale.is-dragging .scale__div i {
  transform: scale(0.96);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5), 0 0 0 6px rgba(255, 179, 71, .6);
}
.scale__labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(0deg, rgba(7, 21, 15, .75), transparent);
  color: var(--on-dark);
  pointer-events: none;
  z-index: 4;
}
.scale__label {
  display: grid;
  gap: 2px;
  max-width: 46%;
  opacity: .55;
  transition: opacity .4s;
  pointer-events: auto;
  cursor: pointer;
}
.scale__label:last-child { text-align: right; }
.scale__label.active { opacity: 1; }
.scale__label span { font-size: .72rem; font-weight: 640; font-stretch: 125%; text-transform: uppercase; color: var(--apricot); }
.scale__label b { font-size: 1.1rem; font-weight: 620; font-stretch: 108%; }
.scale__label em { font-style: normal; font-size: .88rem; color: var(--on-dark-2); }
.scale__track { position: relative; height: 56px; }
.scale__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line); border-radius: 2px; }
.scale__fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--g300), var(--apricot)); }
.scale__input { position: absolute; inset: 0; width: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: ew-resize; }
.scale__input::-webkit-slider-runnable-track { height: 56px; background: transparent; }
.scale__input::-moz-range-track { height: 56px; background: transparent; }
.scale__input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: 13px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--apricot); }
.scale__input::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--apricot); }
.scale__ticks { position: absolute; left: 0; right: 0; bottom: -8px; display: flex; justify-content: space-between; font-size: .76rem; color: var(--ink-3); pointer-events: none; }
.scale__matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 18px; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.scale__cell { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--white); }
.scale__val { font-size: 1.15rem; font-weight: 620; font-stretch: 106%; letter-spacing: -.015em; line-height: 1.25; min-height: 2.5em; }
.scale__cell .sm { color: var(--ink-2); }
@media (max-width: 1000px) { .scale__matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scale__view { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .scale__matrix { grid-template-columns: minmax(0, 1fr); } .scale__label em { display: none; } }

/* =============================================================== QUALITY */
.creds { background: var(--white); border-bottom: 1px solid var(--line); }
.creds__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cred { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px 28px 0; }
.cred + .cred { padding-left: 20px; border-left: 1px solid var(--line); }
.cred svg { width: 22px; height: 22px; color: var(--g600); flex: none; margin-top: 2px; }
.cred div { display: grid; gap: 2px; }
.cred b { font-size: 1.15rem; font-weight: 680; font-stretch: 116%; letter-spacing: -.02em; }
.cred span { color: var(--ink-2); font-size: .9rem; }
.cred code { font-family: var(--f); font-size: .82rem; color: var(--apricot-d); font-weight: 600; }
@media (max-width: 900px) { .creds__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cred:nth-child(3) { border-left: 0; padding-left: 0; } .cred:nth-child(n+3) { border-top: 1px solid var(--line); } }
.qa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); }
.qa__gauge { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; display: grid; gap: 24px; justify-items: center; }
.qa__ring { position: relative; width: min(360px, 80vw); aspect-ratio: 1; }
.qa__ring svg { width: 100%; height: 100%; transform: rotate(0deg); overflow: visible; }
.qa__track { fill: none; stroke: var(--line); stroke-width: 2; }
.qa__prog { fill: none; stroke: var(--apricot); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 110px 110px; transition: stroke-dashoffset .8s var(--e-out); }
.qa__node { fill: var(--paper); stroke: var(--line-2); stroke-width: 2; transition: fill .4s, stroke .4s, r .4s; }
.qa__node.is-done { fill: var(--g700); stroke: var(--g700); }
.qa__node.is-on { fill: var(--apricot); stroke: var(--apricot); r: 10; }
.qa__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.qa__center span, .qa__center small { font-size: .8rem; color: var(--ink-3); }
.qa__center b { font-size: clamp(4rem, 3rem + 3vw, 6.4rem); font-weight: 720; font-stretch: 125%; letter-spacing: -.06em; line-height: .9; }
.qa__param { display: grid; gap: 4px; text-align: center; padding: 16px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); min-width: min(320px, 80vw); }
.qa__param span { font-size: .8rem; color: var(--ink-3); }
.qa__param b { font-size: 1.15rem; font-weight: 640; font-stretch: 110%; color: var(--g700); }
.qa__list { display: grid; }
.qa__i { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: clamp(28px, 4vh, 48px) 0; border-top: 1px solid var(--line); opacity: .55; transition: opacity .6s var(--e-out); }
.qa__i.is-on { opacity: 1; }
.qa__n { font-size: 1.1rem; font-weight: 720; font-stretch: 125%; color: var(--g500); }
.qa__i .tag { justify-self: start; }
@media (max-width: 900px) { .qa { grid-template-columns: minmax(0, 1fr); } .qa__i { opacity: 1; } }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(32px, 5vw, 80px); border-radius: var(--r-lg); background: var(--g900); }
/* Batch record: the same readings the line produces, read as a record rather
   than as a shell transcript. Rows fade in one by one (js/pages/quality.js). */
.rec { margin: 0; border-radius: var(--r); background: #06110c; border: 1px solid var(--line-d); overflow: hidden; box-shadow: var(--shadow-3); }
.rec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-d); }
.rec__title { font-weight: 600; font-size: .95rem; color: var(--on-dark); }
.rec__lot { font-size: .78rem; letter-spacing: .04em; color: var(--on-dark-3); }
.rec__list { margin: 0; padding: 6px 20px; }
.rec__row { display: grid; grid-template-columns: minmax(0, 11ch) minmax(0, 1fr); gap: 4px 18px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.rec__row:last-child { border-bottom: 0; }
.rec__row dt { font-size: .8rem; color: var(--on-dark-3); }
.rec__row dd { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--on-dark); }
.rec__status { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 20px; border-top: 1px solid var(--line-d); background: rgba(136, 201, 153, .08); font-size: .88rem; font-weight: 600; color: var(--g300); }
.rec__status svg { flex: none; width: 17px; height: 17px; }
@media (max-width: 460px) { .rec__row { grid-template-columns: minmax(0, 1fr); } }
html.motion .rec [data-r]:not(.is-in) { transform: translateY(7px); }
@media (max-width: 900px) { .teaser { grid-template-columns: minmax(0, 1fr); } }

/* =============================================================== TRACE */
.tx { border-radius: var(--r-lg); background: var(--g950); color: var(--on-dark); border: 1px solid var(--g800); box-shadow: var(--shadow-3); overflow: hidden; }
.tx__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 20px; border-bottom: 1px solid var(--line-d); }
.tx__lights { display: inline-flex; gap: 6px; }
.tx__lights i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.tx__title { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--on-dark-2); margin-right: auto; }
.tx__search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 22px 20px; border-bottom: 1px solid var(--line-d); }
.tx__prompt { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; color: var(--on-dark-2); }
.tx__prompt span { color: var(--apricot); }
.tx__search input { flex: 1; min-width: 220px; height: 52px; padding: 0 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d2); color: var(--on-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1rem; letter-spacing: .02em; }
.tx__search input:focus { border-color: var(--apricot); box-shadow: 0 0 0 4px rgba(255, 179, 71, .18); }
.tx__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line-d); font-size: .84rem; color: var(--on-dark-3); }
.tx__quick button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-d2); font-size: .84rem; color: var(--on-dark-2); transition: border-color .3s, color .3s; }
.tx__quick button:hover { border-color: var(--apricot); color: var(--on-dark); }
.tx__quick code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--apricot); margin-right: 4px; }
.tx__report { padding: clamp(20px, 3vw, 40px); min-height: 360px; }
.tx__loading { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); }
.tx__loading span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-d2); border-top-color: var(--apricot); animation: spin .9s linear infinite; }
.dos { display: grid; gap: 22px; }
.dos__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: flex-start; }
.dos__head h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 640; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.05; margin-top: 8px; }
.dos__head p { margin-top: 8px; color: var(--on-dark-2); font-size: .92rem; }
.dos__head code { font-family: ui-monospace, Menlo, monospace; color: var(--apricot); }
.dos__st { display: grid; gap: 6px; justify-items: end; text-align: right; }
.dos__st span { padding: 8px 14px; border-radius: 999px; background: rgba(63, 166, 107, .16); color: var(--g200); font-weight: 600; font-size: .86rem; text-transform: capitalize; }
.dos__st small { color: var(--on-dark-3); font-size: .82rem; }
.dos__kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line-d); }
.dos__kpi > div { padding: 16px 18px; background: var(--g900); display: grid; gap: 6px; }
.dos__kpi span { font-size: .78rem; color: var(--on-dark-3); }
.dos__kpi b { font-size: 1.1rem; font-weight: 620; font-stretch: 108%; }
.dos__kpi b.ok { color: var(--g300); }
.dos__tel { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 24px; font-size: .88rem; }
.dos__tel dt { color: var(--on-dark-3); }
.trail__t { margin-top: 34px; font-size: 1.1rem; font-weight: 620; font-stretch: 108%; }
.trail { position: relative; display: grid; gap: 0; margin-top: 16px; }
.trail::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--g500), var(--apricot)); opacity: .5; }
.trail li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 14px 0; }
.trail__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g800); border: 1px solid var(--line-d2); font-size: .82rem; font-weight: 700; font-stretch: 125%; color: var(--apricot); }
.trail__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.trail__row b { font-weight: 620; }
.trail__row time { font-family: ui-monospace, Menlo, monospace; font-size: .82rem; color: var(--on-dark-3); }
.trail__chk { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .84rem; color: var(--g300); }
.trail p { margin-top: 4px; font-size: .9rem; color: var(--on-dark-2); }
.tx__empty h4 { font-size: 1.2rem; font-weight: 620; }
.tx__empty p { margin-top: 8px; color: var(--on-dark-2); }
@media (max-width: 760px) { .dos__kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dos__st { justify-items: start; text-align: left; } }

/* =============================================================== EXPORT */
.corr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.corr__globe { position: relative; aspect-ratio: 1; max-width: 640px; width: 100%; margin-inline: auto; cursor: grab; touch-action: pan-y; }
.corr__globe canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; }
.corr__globe.is-ready canvas { opacity: 1; }
.corr__globe::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(136, 201, 153, .16), transparent 65%); pointer-events: none; }
.corr__legend { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: var(--t-sm); color: var(--on-dark-3); }
.corr__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.corr__legend .o { background: var(--apricot); } .corr__legend .d { background: var(--g300); }
.corr__side { display: grid; gap: 24px; }
.corr__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.corr__tab { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-d); text-align: left; transition: background .3s, border-color .3s; }
.corr__tab .num { grid-row: 1 / span 2; font-weight: 700; font-stretch: 125%; font-size: .86rem; }
.corr__name { font-size: .95rem; font-weight: 600; line-height: 1.25; }
.corr__time { font-size: .8rem; color: var(--on-dark-3); }
.corr__tab:hover { border-color: var(--line-d2); }
.corr__tab.is-on { background: rgba(255, 255, 255, .06); border-color: var(--apricot); }
.corr__panel { display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-d); }
.corr__transit { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-block: 1px solid var(--line-d); }
.corr__transit span { font-size: .84rem; color: var(--on-dark-3); }
.corr__transit strong { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 720; font-stretch: 125%; letter-spacing: -.045em; color: var(--apricot); }
@media (max-width: 960px) { .corr { grid-template-columns: minmax(0, 1fr); } .corr__globe { max-width: 460px; } }
@media (max-width: 480px) { .corr__tabs { grid-template-columns: minmax(0, 1fr); } }

/* =============================================================== BUYER ROOM · FOLDERS */
.folder.is-hide { display: none; }

/* =============================================================== FEASIBILITY */
.wiz { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.wiz__main { padding: clamp(22px, 3.4vw, 48px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.wiz__rail { position: relative; display: flex; justify-content: space-between; margin-bottom: clamp(28px, 3vw, 44px); }
.wiz__rail::before { content: ""; position: absolute; left: 16px; right: 16px; top: 50%; height: 2px; background: var(--line); }
.wiz__rail::after { content: ""; position: absolute; left: 16px; top: 50%; height: 2px; width: calc((100% - 32px) * var(--wp, 0)); background: var(--apricot); transition: width .7s var(--e-out); }
.wiz__rail li { position: relative; z-index: 1; }
.wiz__rail span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--line-2); font-size: .82rem; font-weight: 700; font-stretch: 112%; color: var(--ink-3); transition: background .4s, border-color .4s, color .4s; }
.wiz__rail li.is-done span { background: var(--g700); border-color: var(--g700); color: var(--on-dark); }
.wiz__rail li.is-on span { background: var(--apricot); border-color: var(--apricot); color: var(--ink); }
.wiz__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wiz__step legend { padding: 0; margin-bottom: 10px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__b { position: relative; display: grid; gap: 6px; height: 100%; padding: 20px 52px 20px 20px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper); transition: border-color .3s, background .3s, transform .5s var(--e-out), box-shadow .5s var(--e-out); }
.tile__b b { font-size: 1.05rem; font-weight: 640; font-stretch: 106%; }
.tile__b > span { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.tile__b i { position: absolute; right: 16px; top: 18px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; transition: background .3s, border-color .3s, color .3s; }
.tile__b i svg { width: 14px; height: 14px; }
.tile:hover .tile__b { transform: translateY(-2px); border-color: var(--ink-3); }
.tile input:checked + .tile__b { background: var(--white); border-color: var(--g700); box-shadow: inset 0 0 0 1px var(--g700), var(--shadow-1); }
.tile input:checked + .tile__b i { background: var(--g700); border-color: var(--g700); color: var(--on-dark); }
.tile input:focus-visible + .tile__b { outline: 2px solid var(--apricot); outline-offset: 3px; }
.wiz__sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px 0; border-radius: var(--r-sm); overflow: hidden; background: var(--line); }
.wiz__sum > div { padding: 12px 14px; background: var(--paper); }
.wiz__sum dt { font-size: .76rem; color: var(--ink-3); }
.wiz__sum dd { font-weight: 600; font-size: .92rem; }
.wiz__act { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.wiz__act #wizardNextBtn, .wiz__act #wizardSubmitBtn { margin-left: auto; }
.wiz__step .fstat { margin-top: 16px; }
.ticket { position: sticky; top: calc(var(--hdr) + 24px); }
.ticket__card { position: relative; border-radius: var(--r); background: var(--g900); color: var(--on-dark); padding: 24px; overflow: hidden; }
.ticket__card::before, .ticket__card::after { content: ""; position: absolute; left: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); top: 74px; }
.ticket__card::after { left: auto; right: -12px; }
.ticket__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px dashed var(--line-d2); }
.ticket__head .label { color: var(--g300); }
.ticket__head b { font-size: 1.1rem; font-weight: 700; font-stretch: 125%; color: var(--apricot); }
.ticket__rows { display: grid; gap: 12px; }
.ticket__rows > div { display: grid; gap: 2px; }
.ticket__rows dt { font-size: .76rem; color: var(--on-dark-3); }
.ticket__rows dd { font-weight: 600; font-size: .95rem; }
.ticket__rows dd.is-new { animation: tick .8s var(--e-out); }
@keyframes tick { from { color: var(--apricot); transform: translateX(6px); } }
.ticket__foot { margin-top: 22px; display: grid; gap: 8px; font-size: .82rem; color: var(--on-dark-3); }
.ticket__bar { height: 3px; border-radius: 3px; background: var(--line-d); overflow: hidden; }
.ticket__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g300), var(--apricot)); transition: width .7s var(--e-out); }
.wiz-done { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 960px) { .wiz { grid-template-columns: minmax(0, 1fr); } .ticket { position: relative; top: auto; order: -1; } }
@media (max-width: 600px) { .tiles, .wiz__sum { grid-template-columns: minmax(0, 1fr); } .wiz__rail span { width: 28px; height: 28px; font-size: .74rem; } }

/* =============================================================== PORTFOLIO */
.pf { position: relative; background: var(--paper); padding-bottom: clamp(48px, 6vw, 96px); }
.pf__bar { position: sticky; top: var(--hdr); z-index: 20; background: rgba(243, 246, 243, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top .6s var(--e-out); }
.hdr-off .pf__bar { top: 0; }
.pf__bar-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-block: 14px; }
.pf__search { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; }
.pf__search svg { flex: none; width: 22px; height: 22px; color: var(--ink-3); }
.pf__search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); font-weight: 560; font-stretch: 108%; letter-spacing: -.02em; color: var(--ink); padding: 8px 0; outline: none; }
.pf__search input::placeholder { color: var(--ink-3); font-weight: 400; }
.pf__search input::-webkit-search-cancel-button { filter: grayscale(1); }
.pf__search:focus-within svg { color: var(--g700); }
.pf__count { flex: none; padding: 6px 12px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.pf__jump { display: flex; gap: 4px; }
.pf__jump a { position: relative; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 99px; font-size: .82rem; color: var(--ink-3); transition: color .3s, background .3s; }
.pf__jump a span { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 4px; white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: .76rem; opacity: 0; pointer-events: none; transition: opacity .25s, translate .35s var(--e-out); }
.pf__jump a:hover span, .pf__jump a:focus-visible span { opacity: 1; translate: -50% 0; }
.pf__jump a:hover, .pf__jump a.is-on { color: var(--ink); background: var(--white); }
.pf__jump a.is-on { box-shadow: inset 0 0 0 1px var(--line-2); }
.pf__jump b { font-weight: 700; font-stretch: 120%; }
.pf__list { padding-top: clamp(24px, 3vw, 48px); }
.pf__g { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 96px); padding-block: clamp(40px, 5vw, 80px); border-bottom: 1px solid var(--line-2); }
.pf__sticky { position: sticky; top: calc(var(--hdr) + 110px); display: grid; gap: 14px; align-content: start; }
.pf__n { font-size: clamp(4.5rem, 3rem + 6vw, 9.5rem); font-weight: 300; font-stretch: 62%; line-height: .8; letter-spacing: -.04em; color: var(--g700); }
.pf__g h2 { max-width: 16ch; }
.pf__fig { margin-top: 10px; width: min(260px, 70%); aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; }
.pf__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e-out); }
.pf__g:hover .pf__fig img { transform: scale(1.06); }
.pf__items { border-top: 1px solid var(--line); }
.pf__i { position: relative; display: grid; grid-template-columns: 44px minmax(0, .9fr) minmax(0, 1.2fr); gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--e-out); }
.pf__i::before { content: ""; position: absolute; inset: 0 -16px; border-radius: var(--r-sm); background: var(--white); opacity: 0; transition: opacity .3s; z-index: -1; }
.pf__i:hover { padding-inline: 12px 0; }
.pf__i:hover::before { opacity: 1; }
.pf__ix { font-size: .8rem; color: var(--ink-3); }
.pf__name { font-size: 1.12rem; font-weight: 640; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.25; transition: font-stretch .5s var(--e-out), color .3s; }
.pf__i:hover .pf__name { font-stretch: 118%; color: var(--g700); }
.pf__desc { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.pf mark { background: var(--apricot); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.pf__empty { display: grid; gap: 16px; justify-items: start; padding: clamp(48px, 6vw, 96px) 0; }
.pf .svc__float { width: 240px; margin: -150px 0 0 -120px; }
@media (max-width: 960px) {
  .pf__g { grid-template-columns: minmax(0, 1fr); }
  .pf__sticky { position: relative; top: auto; }
  .pf__fig { display: none; }
  .pf__jump { display: none; }
}
@media (max-width: 600px) {
  .pf__i { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 12px; }
  .pf__desc { grid-column: 2; }
  .pf__count { display: none; }
}

/* =============================================================== ABOUT */




@media (max-width: 960px) {
}

/* =============================================================== INGREDIENTS */
.row--c { justify-content: center; }


/* =============================================================== FORM PAGES (contact · rfq · sample) */
.fwrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.fwrap--rev { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); }
.fpanel { position: relative; overflow: hidden; }
.fpanel__head { display: grid; gap: 10px; margin-bottom: 28px; }
.fpanel__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding-top: 6px; }
.fpanel__foot .sm { max-width: 38ch; }
.fprog { position: absolute; inset: 0 0 auto; height: 3px; background: var(--line); }
.fprog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g500, #3c8a5e), var(--apricot)); transition: width .6s var(--e-out); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.fside { display: grid; gap: 16px; }
.fside__sticky { position: sticky; top: calc(var(--hdr) + 32px); }
.hdr-off .fside__sticky { top: 32px; }
.flow { counter-reset: fl; display: grid; }
.flow li { position: relative; counter-increment: fl; display: grid; gap: 4px; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); }
.flow li::before { content: counter(fl, decimal-leading-zero); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-2); font-size: .74rem; font-weight: 700; font-stretch: 116%; color: var(--g700); }
.flow b { font-weight: 620; font-stretch: 104%; line-height: 1.35; }
.flow span { font-size: .9rem; color: var(--ink-2); }
.flow--big li { padding-block: 22px; }
.flow--big b { font-size: 1.1rem; }
.flow-card { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; }
.flow-card .flow { margin-top: 8px; }

.desk { display: grid; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--g900); color: var(--on-dark); }
.desk__top { display: flex; gap: 20px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-d); }
.clock { flex: none; width: 104px; height: 104px; }
.clock__face { fill: rgba(255, 255, 255, .04); stroke: var(--line-d2); }
.clock__tick { stroke: var(--on-dark-3); stroke-width: 1.5; }
.clock__h, .clock__m { stroke: var(--paper); stroke-linecap: round; transform-origin: 60px 60px; }
.clock__h { stroke-width: 4; }
.clock__m { stroke-width: 2.5; }
.clock__s { stroke: var(--apricot); stroke-width: 1.2; transform-origin: 60px 60px; }
.clock__pin { fill: var(--apricot); }
.desk__status { display: grid; gap: 4px; }
.desk__live { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--on-dark-2); }
.desk__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-3); }
.desk__live i.is-open { background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.desk__status time { font-size: 2rem; font-weight: 700; font-stretch: 122%; letter-spacing: -.04em; line-height: 1; }
.desk__status small { font-size: .76rem; color: var(--on-dark-3); }
.desk .sm { color: var(--on-dark-2); }
.desk code { color: var(--apricot); font-size: .85em; }
.desk__dl { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.desk__dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.desk__dl dt { font-size: .76rem; color: var(--on-dark-3); }
.desk__dl dd { font-weight: 560; overflow-wrap: anywhere; }
.desk__dl a:hover { color: var(--apricot); }

.dossier { position: relative; padding: clamp(24px, 3.6vw, 56px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.dossier__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); }
.dossier__no { display: block; margin-top: 6px; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 300; font-stretch: 62%; letter-spacing: -.02em; line-height: 1; }
.dossier__stamp { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--err, #c2412d); color: var(--err, #c2412d); font-size: .72rem; font-weight: 800; font-stretch: 125%; line-height: 1.1; text-align: center; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-14deg); opacity: .78; box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 5px currentColor; }
.dsec { border: 0; padding: 0 0 26px; margin: 0 0 4px; min-width: 0; border-bottom: 1px dashed var(--line-2); }
.dsec + .dsec { padding-top: 22px; }
.dsec legend { display: flex; gap: 12px; align-items: baseline; padding: 0; margin-bottom: 16px; font-size: 1.15rem; font-weight: 640; font-stretch: 110%; letter-spacing: -.015em; }
.dsec legend .num { font-size: .8rem; font-weight: 700; color: var(--g600, #2c6e4b); }
.dsec .form-row + .field { margin-top: 22px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.tile--sm .tile__b { padding: 16px 40px 16px 16px; }
.tile--sm .tile__b b { font-size: .98rem; }
.tile--sm .tile__b > span { font-size: .82rem; }
.tile--sm .tile__b i, .tile--pack .tile__b i { right: 12px; top: 12px; width: 22px; height: 22px; }
.tile--pack .tile__b { padding: 14px; justify-items: center; text-align: center; }
.tile--pack img { width: 100%; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .18)); transition: transform .6s var(--e-out); }
.tile--pack:hover img, .tile--pack input:checked + .tile__b img { transform: translateY(-4px) rotate(-4deg) scale(1.05); }
.tile--pack .tile__b b { font-size: .86rem; line-height: 1.3; }

.flv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flv__i { position: relative; cursor: pointer; }
.flv__i input { position: absolute; opacity: 0; pointer-events: none; }
.flv__i > span { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--white); font-weight: 560; font-size: .95rem; transition: border-color .3s, box-shadow .3s, background .3s; }
.flv__i > span > i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); transition: transform .5s var(--e-out); }
.flv__i svg { margin-left: auto; width: 18px; height: 18px; color: var(--g700); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--e-out); }
.flv__i input:checked + span { border-color: var(--g700); box-shadow: inset 0 0 0 1px var(--g700); }
.flv__i input:checked + span > i { transform: scale(1.15); }
.flv__i input:checked + span svg { opacity: 1; transform: none; }
.flv__i input:focus-visible + span { outline: 2px solid var(--apricot); outline-offset: 2px; }
.field.is-err .flv__i > span { border-color: var(--err); }

/* 3D sample kit */
.kit { position: relative; display: grid; place-items: end center; height: 400px; padding-bottom: 96px; perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none; }
.kit:active { cursor: grabbing; }

@media (max-width: 1080px) { .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .fwrap, .fwrap--rev { grid-template-columns: minmax(0, 1fr); }
  .fside__sticky { position: relative; top: auto; }
}
@media (max-width: 600px) {
  .flv { grid-template-columns: minmax(0, 1fr); }
  .kit { height: 330px; padding-bottom: 80px; }
  .dossier__stamp { width: 70px; height: 70px; font-size: .6rem; }
  .desk__top { flex-direction: column; align-items: flex-start; }
}

/* =============================================================== LEGAL */
.seg--links .seg__b.is-on { background: var(--ink); }
.seg--links .seg__b:not(.is-on):hover { color: var(--ink); }
.lh { padding: calc(var(--hdr) + clamp(40px, 6vw, 96px)) 0 clamp(40px, 5vw, 72px); background: var(--paper); border-bottom: 1px solid var(--line); }
.lh__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3vw, 48px); }
.legal-sec { padding-top: clamp(40px, 5vw, 72px); }
.legal { display: grid; grid-template-columns: minmax(200px, .32fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.legal__sticky { position: sticky; top: calc(var(--hdr) + 28px); display: grid; gap: 14px; max-height: calc(100vh - var(--hdr) - 56px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }

#auLegalToc { display: grid; }
#auLegalToc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; padding: 7px 0; font-size: .86rem; color: var(--ink-3); line-height: 1.35; transition: color .3s; }
#auLegalToc a i { font-style: normal; font-size: .74rem; font-weight: 700; font-stretch: 116%; padding-top: 1px; }
#auLegalToc a:hover { color: var(--ink); }
#auLegalToc a.is-on { color: var(--g700); font-weight: 600; }
#auLegalToc a.is-on i { color: var(--apricot-d); }
.legal__prog { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.legal__prog i { display: block; height: 100%; width: 0; background: var(--g700); }
.prose { max-width: 74ch; color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); font-weight: 650; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); scroll-margin-top: calc(var(--hdr) + 24px); }
.prose h3 { margin-top: 1.8em; font-size: 1.1rem; font-weight: 640; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 620; }
.prose a { color: var(--g700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--apricot-d); }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--g500); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal__date { display: inline-block; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--apricot) 22%, transparent); color: #7A4A0B; font-size: var(--t-sm); font-weight: 700; font-stretch: 112%; letter-spacing: .02em; }
.legal__card { padding: 22px 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-size: .95rem; }
.legal__card strong:first-child { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.legal__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 3em !important; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .lh__grid, .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { display: none; }
}

/* =============================================================== 404 */
.nf { min-height: 100vh; display: grid; align-items: center; padding: calc(var(--hdr) + 40px) 0 64px; background: radial-gradient(ellipse at 50% 30%, #1a4331, var(--g900) 60%); text-align: center; overflow: hidden; }
.nf__in { display: grid; gap: 20px; justify-items: center; }
.nf__in .lead { max-width: 46ch; }
.nf__code { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 16px); font-size: clamp(8rem, 5rem + 14vw, 20rem); font-weight: 700; font-stretch: 125%; letter-spacing: -.06em; line-height: .8; color: var(--paper); }
.nf__code img { width: .82em; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); animation: spinr 30s linear infinite; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 12px; font-size: .92rem; color: var(--on-dark-2); }
.nf__links a { border-bottom: 1px solid var(--line-d2); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.nf__links a:hover { color: var(--apricot); border-color: var(--apricot); }
.legal__toc, .fwrap > .fside { align-self: stretch; }
.fwrap > .fside { align-content: start; }
.pf__jump a:last-child span, .pf__jump a:nth-last-child(2) span { left: auto; right: 0; translate: 0 4px; }
.pf__jump a:last-child:hover span, .pf__jump a:nth-last-child(2):hover span, .pf__jump a:last-child:focus-visible span, .pf__jump a:nth-last-child(2):focus-visible span { translate: 0 0; }
