/* ==========================================================================
   AERA Interior OS — design system
   Sumber keputusan: DESIGN.md (token, type, komponen, motion)
   Zero CDN. Font self-hosted di assets/fonts/.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --surface: #ffffff;
  --ink: #14120f;
  --ink-2: #201c17;
  --ink-3: #2c2721;
  --gold: #d9a74a;
  --gold-2: #c49337;
  --gold-deep: #8a5f14;
  --line: #ded8cb;
  --line-dark: #38322a;
  --muted: #5c564c;
  --muted-dark: #9c948a;
  --ok: #2e6b4f;
  --warn: #b5761f;
  --bad: #a93b2a;
  --info: #2f5f86;

  --sh-1: 0 1px 2px rgba(20, 18, 15, .06);
  --sh-2: 0 12px 32px -12px rgba(20, 18, 15, .18);
  --sh-3: 0 24px 60px -24px rgba(20, 18, 15, .35);

  --r: 2px;
  --r-pill: 999px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --t: 160ms var(--ease);

  --f-display: "Epilogue", "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ui: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sidebar-w: 250px;
}

@font-face {
  font-family: "Epilogue";
  src: url("../fonts/epilogue-latin-var.woff2") format("woff2-variations"),
       url("../fonts/epilogue-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Epilogue";
  src: url("../fonts/epilogue-latin-italic-var.woff2") format("woff2-variations"),
       url("../fonts/epilogue-latin-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-var.woff2") format("woff2-variations"),
       url("../fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}


/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* noise kertas — ciri khas halaman, bukan abu datar */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .038;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r);
}
::selection { background: var(--gold); color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
h1, .h1 { font-family: var(--f-display); font-size: clamp(2.25rem, 5vw + 1rem, 4.25rem); font-weight: 650; letter-spacing: -.01em; }
h2, .h2 { font-family: var(--f-display); font-size: clamp(1.75rem, 3vw + .5rem, 3rem); font-weight: 650; letter-spacing: -.01em; }
h3, .h3 { font-size: clamp(1.2rem, 1.4vw + .5rem, 1.7rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
h4, .h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: .95;
  letter-spacing: -.015em;
}
.eyebrow {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--f-mono);
}
.eyebrow--gold { color: var(--gold-deep); }
.lede { font-size: clamp(1.02rem, .6vw + .9rem, 1.22rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.small { font-size: .875rem; }
.xs { font-size: .75rem; }
.gold { color: var(--gold-deep); }
.on-ink .muted, .on-ink .lede { color: var(--muted-dark); }
.on-ink .eyebrow { color: var(--gold); }
.on-ink .gold { color: var(--gold); }

.outline-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  text-stroke: 1.5px var(--line);
  user-select: none;
}
.on-ink .outline-num { -webkit-text-stroke-color: rgba(244, 241, 234, .22); }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--surface { background: var(--surface); }
.rule { height: 1px; background: var(--line); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { max-width: 65ch; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--f-ui);
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); box-shadow: var(--sh-2); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); box-shadow: var(--sh-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(20, 18, 15, .04); }
.btn--on-ink { background: transparent; color: var(--paper); border-color: rgba(244, 241, 234, .3); }
.btn--on-ink:hover { border-color: var(--gold); color: var(--gold); background: rgba(217, 167, 74, .08); }
.btn--ok { background: var(--ok); color: #fff; }
.btn--bad { background: transparent; color: var(--bad); border-color: rgba(169, 59, 42, .4); }
.btn--bad:hover { background: rgba(169, 59, 42, .08); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .6875rem; letter-spacing: .12em; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: .8125rem; }
.btn--block { width: 100%; }
.btn--icon { min-height: 40px; width: 40px; padding: 0; border-color: var(--line); background: var(--surface); }
.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent; color: var(--paper);
  animation: spin .7s linear infinite;
}
.btn--gold.is-loading::after, .btn--ghost.is-loading::after { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px;
  transition: color var(--t), gap var(--t);
}
.link-arrow:hover { color: var(--gold-deep); gap: 14px; }
.on-ink .link-arrow { color: var(--paper); }
.on-ink .link-arrow:hover { color: var(--gold); }

/* ---------- 6. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.label {
  font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-size: .9375rem; transition: border-color var(--t), box-shadow var(--t);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2314120f' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.input::placeholder, .textarea::placeholder { color: #9d968b; }
.input:hover, .select:hover, .textarea:hover { border-color: #c9c2b3; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 167, 74, .25);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); }
.field-error { font-size: .75rem; color: var(--bad); min-height: 1em; }
.field-hint { font-size: .75rem; color: var(--muted); }
.on-ink .input, .on-ink .select, .on-ink .textarea {
  background: rgba(255, 255, 255, .05); border-color: rgba(244, 241, 234, .18); color: var(--paper);
}
.on-ink .label { color: var(--muted-dark); }
.on-ink .select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23f4f1ea' stroke-width='1.6'/></svg>");
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }

/* ---------- 7. Cards, chips, bits ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(18px, 2.2vw, 28px);
}
.card--flat { box-shadow: var(--sh-1); }
.card--gold { border-left: 3px solid var(--gold); }
.card--ink { background: var(--ink-2); border-color: var(--line-dark); color: var(--paper); }
.card--ink .label, .card--ink .muted { color: var(--muted-dark); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.card--ink .card-head { border-color: var(--line-dark); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line);
  font-size: .6875rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  background: #faf9f6; color: var(--muted);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.chip--plain::before { display: none; }
.chip--ok { background: rgba(46, 107, 79, .12); color: var(--ok); }
.chip--warn { background: rgba(181, 118, 31, .14); color: #8a5810; }
.chip--bad { background: rgba(169, 59, 42, .12); color: var(--bad); }
.chip--info { background: rgba(47, 95, 134, .12); color: var(--info); }
.chip--gold { background: rgba(217, 167, 74, .2); color: var(--gold-deep); }
.on-ink .chip { background: rgba(244, 241, 234, .1); color: var(--muted-dark); }
.on-ink .chip--ok { background: rgba(46, 107, 79, .3); color: #7fd0a8; }
.on-ink .chip--warn { background: rgba(217, 167, 74, .2); color: var(--gold); }
.on-ink .chip--bad { background: rgba(169, 59, 42, .28); color: #ef9585; }
.on-ink .chip--info { background: rgba(47, 95, 134, .3); color: #93c3e8; }
.on-ink .chip--gold { background: rgba(217, 167, 74, .18); color: var(--gold); }

.divider-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.divider-label::before, .divider-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-family: var(--f-mono); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.stat__label { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.on-ink .stat__label { color: var(--muted-dark); }
.stat__delta { font-size: .75rem; font-weight: 600; }
.stat__delta.up { color: var(--ok); } .stat__delta.down { color: var(--bad); }

/* ---------- 8. Landing: nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__img { height: 40px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.sidebar__brand .brand__img { background: transparent; padding: 0; height: 38px; }
.footer .brand__img, .auth__brand .brand__img { background: transparent; padding: 0; height: 36px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__links a {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color var(--t), border-color var(--t);
}
.nav__links a:hover { color: var(--gold-deep); border-color: var(--gold); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; }
.drawer {
  position: fixed; inset: 74px 0 auto 0; z-index: 55;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px clamp(16px, 4vw, 32px) 24px;
  display: none; flex-direction: column;
  box-shadow: var(--sh-2);
}
.drawer.is-open { display: flex; }
.drawer a {
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
}
.drawer .btn { margin-top: 18px; }

/* ---------- 9. Landing: hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(244, 241, 234, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(244, 241, 234, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 78%);
}
.hero__inner { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: clamp(32px, 6vw, 64px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border: 1px solid rgba(244, 241, 234, .28); border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero__title { max-width: 16ch; font-weight: 600; }
.hero__title .dot { color: var(--gold); }
.hero__title .em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); max-width: 60rem; }
.hero__lede { color: #d9d3c8; font-size: clamp(1rem, .7vw + .9rem, 1.2rem); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__media { position: relative; margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid rgba(244, 241, 234, .18); padding-top: clamp(20px, 3vw, 30px); }
.hero__strip { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; }
.hero__shot { position: relative; overflow: hidden; background: var(--ink-3); aspect-ratio: 16 / 9; }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.hero__shot:hover img { transform: scale(1.04); }
.hero__shot figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(10, 9, 8, .88));
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: #e8e2d6;
}
.marquee { border-block: 1px solid rgba(244, 241, 234, .16); overflow: hidden; background: rgba(255, 255, 255, .02); }
.marquee__track { display: flex; gap: 48px; padding: 13px 0; width: max-content; animation: slide 34s linear infinite; }
.marquee span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); white-space: nowrap; }
.marquee span b { color: var(--gold); font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 10. Landing: sections ---------- */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.about__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 420px; }
.about__mosaic figure { position: relative; overflow: hidden; margin: 0; background: var(--paper-2); }
.about__mosaic figure:first-child { grid-row: span 2; }
.about__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.about__mosaic figure:hover img { transform: scale(1.05); }
.about__mosaic figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px;
  background: linear-gradient(transparent, rgba(10, 9, 8, .8));
  font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .16em; text-transform: uppercase; color: #efe9dd;
}
.value-list { display: flex; flex-direction: column; }
.value {
  display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px;
  padding: clamp(18px, 2.4vw, 26px) 0; border-top: 1px solid var(--line);
}
.value:last-child { border-bottom: 1px solid var(--line); }
.value__no { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--gold); }
.value h3 { margin-bottom: 6px; }
.value p { font-size: .9rem; color: var(--muted); }

.services { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 34px); }
.service {
  position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 3vw, 40px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px);
}
.service:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.service:nth-child(even) .service__media { order: -1; }
.service__no { position: absolute; top: -26px; right: 22px; }
.service h3 { margin-bottom: 10px; font-family: var(--f-display); font-weight: 650; letter-spacing: -.01em; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; }
.service__bar { width: 54px; height: 3px; background: var(--gold); margin: 14px 0; }
.service p { color: var(--muted); font-size: .9375rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service__media { overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 10; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }

/* rail 10 tahap — ciri khas halaman ini */
.rail { position: relative; }
.rail__line { position: absolute; left: 0; right: 0; top: 38px; height: 1px; background: var(--line-dark); }
.rail__steps { display: grid; grid-template-columns: repeat(10, minmax(148px, 1fr)); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.rail__step { scroll-snap-align: start; padding-right: 22px; position: relative; }
.rail__step .dot {
  position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--muted-dark);
  display: grid; place-items: center; font-family: var(--f-mono); font-size: .6875rem;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.rail__step.is-gold .dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.rail__step:hover .dot { transform: scale(1.1); border-color: var(--gold); }
.rail__step h4 { font-size: .9375rem; margin: 16px 0 5px; letter-spacing: -.01em; }
.rail__step p { font-size: .75rem; color: var(--muted-dark); line-height: 1.5; }
.rail__step .owner { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 8px; }
.loop-note {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 30px;
  padding: 18px 20px; border: 1px dashed rgba(217, 167, 74, .5); background: rgba(217, 167, 74, .07);
}
.loop-note svg { flex: none; width: 26px; height: 26px; color: var(--gold); }
.loop-note p { font-size: .875rem; color: #ded7ca; }

.pay-scheme { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.pay-scheme > div { background: var(--ink); padding: clamp(18px, 2.4vw, 26px); }
.pay-scheme .pct { font-family: var(--f-mono); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--gold); line-height: 1; letter-spacing: -.04em; }
.pay-scheme h4 { margin: 12px 0 6px; font-size: .9375rem; }
.pay-scheme p { font-size: .75rem; color: var(--muted-dark); line-height: 1.5; }

/* OS teaser */
.os { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.os__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.os__card { background: var(--surface); border: 1px solid var(--line); padding: 20px; position: relative; overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.os__card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.os__card .avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); font-family: var(--f-display); font-weight: 800; font-size: .875rem;
}
.os__card h4 { margin: 14px 0 6px; }
.os__card p { font-size: .8125rem; color: var(--muted); }
.os__card .tag { position: absolute; top: 16px; right: 16px; }

/* proof / portfolio */
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; background: var(--paper-2); grid-column: span 2; aspect-ratio: 4 / 3; }
.tile--wide { grid-column: span 4; aspect-ratio: 16 / 9; }
.tile--tall { grid-column: span 2; aspect-ratio: 3 / 4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease), filter 400ms; }
.tile:hover img { transform: scale(1.05); }
.tile__cap {
  position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px;
  background: linear-gradient(transparent, rgba(10, 9, 8, .9));
  transform: none; opacity: 1;
}
.tile__cap strong { display: block; color: #fff; font-size: .9375rem; letter-spacing: -.01em; }
.tile__cap span { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* contact / form */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.info-item .ico { width: 40px; height: 40px; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.info-item h4 { margin-bottom: 3px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.info-item p { font-size: .875rem; color: var(--muted-dark); }
.form-card { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-2); }

/* footer */
.footer { background: var(--ink); color: var(--muted-dark); padding-block: clamp(40px, 5vw, 64px) 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.footer h5 { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 500; }
.footer a { font-size: .875rem; display: block; padding: 5px 0; transition: color var(--t); }
.footer a:hover { color: var(--gold); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(244, 241, 234, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 11. Login ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.auth__brand {
  position: relative; background: var(--ink); color: var(--paper);
  padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.auth__brand::after {
  content: ""; position: absolute; inset: auto -40% -35% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217, 167, 74, .22), transparent 65%);
}
.auth__shot { position: relative; z-index: 1; margin-top: 34px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(244, 241, 234, .16); }
.auth__shot img { width: 100%; height: 100%; object-fit: cover; }
.auth__quote { position: relative; z-index: 1; margin-top: 26px; border-left: 2px solid var(--gold); padding-left: 18px; }
.auth__quote p { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.3; letter-spacing: -.02em; }
.auth__quote span { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.auth__panel { background: var(--paper); padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.auth__box { width: 100%; max-width: 460px; margin-inline: auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button {
  padding: 12px 4px; margin-right: 22px; font-family: var(--f-mono); font-size: .6875rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--t), border-color var(--t);
}
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--gold); }
.preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.preset {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 12px 13px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.preset:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-1); }
.preset .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .75rem; flex: none; }
.preset b { display: block; font-size: .8125rem; font-weight: 600; }
.preset span { display: block; font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.alert {
  display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r);
  font-size: .8125rem; border: 1px solid transparent;
}
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert--bad { background: rgba(169, 59, 42, .08); border-color: rgba(169, 59, 42, .3); color: var(--bad); }
.alert--ok { background: rgba(46, 107, 79, .09); border-color: rgba(46, 107, 79, .3); color: var(--ok); }
.alert--info { background: rgba(47, 95, 134, .08); border-color: rgba(47, 95, 134, .25); color: var(--info); }
.alert--warn { background: rgba(181, 118, 31, .1); border-color: rgba(181, 118, 31, .3); color: #8a5810; }

/* ---------- 12. Dashboard shell (shadcn-grade) ---------- */
.shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); background: #f6f5f1; }
.sidebar {
  background: #131110; color: #e9e5dc;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, .07);
}
.sidebar__brand { padding: 22px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); display: flex; align-items: center; }
.sidebar__brand .brand__img { width: 140px; height: auto; max-height: 42px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4)); }
.sidebar__nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.sidebar__group { font-family: var(--f-ui); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; color: #8f877c; padding: 18px 12px 6px; }
.navitem {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  font-size: .875rem; font-weight: 500; color: #b8b1a5; border: 1px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.navitem svg { width: 17px; height: 17px; flex: none; opacity: .7; }
.navitem:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.navitem.is-active { background: rgba(217, 167, 74, .13); border-color: rgba(217, 167, 74, .35); color: #fff; }
.navitem.is-active svg { opacity: 1; color: var(--gold); }
.navitem .badge {
  margin-left: auto; background: var(--gold); color: #171208;
  font-size: .6875rem; font-weight: 700; font-variant-numeric: tabular-nums;
  min-width: 22px; height: 22px; display: inline-grid; place-items: center;
  padding: 0 6px; border-radius: var(--r-pill);
}
.sidebar__user { border-top: 1px solid rgba(255, 255, 255, .07); padding: 14px; display: flex; align-items: center; gap: 11px; }
.sidebar__user .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #171208; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .8125rem; flex: none; }
.sidebar__user b { display: block; font-size: .8125rem; font-weight: 600; }
.sidebar__user span { display: block; font-size: .6875rem; color: #8f877c; }
.sidebar__user button { margin-left: auto; color: #8f877c; padding: 7px; border-radius: 8px; transition: color var(--t), background var(--t); }
.sidebar__user button:hover { color: var(--gold); background: rgba(255, 255, 255, .07); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 245, 241, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; padding: 12px clamp(16px, 3vw, 32px);
}
.topbar__burger { display: none; }
.topbar__title { min-width: 0; }
.topbar h1 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-family: var(--f-ui); font-weight: 700; letter-spacing: -.025em; margin-top: 1px; }
.topbar .crumb { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.topbar .crumb-sep { opacity: .4; }
.topbar__search {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 0 8px 0 12px; min-height: 38px; width: min(300px, 32vw); color: var(--muted);
  transition: border-color var(--t), box-shadow var(--t);
}
.topbar__search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 167, 74, .22); }
.topbar__search input { border: 0; background: none; outline: none; flex: 1; min-width: 0; font-size: .875rem; color: var(--ink); }
.topbar__search input::placeholder { color: #9d968b; }
.topbar__search kbd { font-family: var(--f-ui); font-size: .6875rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; background: var(--paper); }
.topbar__search input::-webkit-search-cancel-button { cursor: pointer; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.content { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: clamp(16px, 2.2vw, 24px); flex: 1; }

.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 18, 15, .05);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.kpi:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: #cfc8b8; }
.kpi .stat__value { margin-top: 8px; }
.kpi__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi__icon {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: 9px; color: var(--gold-deep);
  background: linear-gradient(135deg, rgba(217, 167, 74, .22), rgba(217, 167, 74, .08));
  border: 1px solid rgba(217, 167, 74, .4);
}
.kpi__foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.kpi__trend { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; }
.kpi__trend.is-up { color: var(--ok); }
.kpi__trend.is-down { color: var(--bad); }
.kpi .chart { margin-top: 10px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(20, 18, 15, .05); overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel__head h3 { font-size: .9375rem; font-weight: 650; letter-spacing: -.01em; }
.panel__head .sub { font-size: .75rem; color: var(--muted); }
.panel__body { padding: 20px; }
.panel__body--flush { padding: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 13. Tables (shadcn-grade) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 0 0 12px 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 720px; }
table.tbl thead th {
  position: sticky; top: 0; z-index: 2;
  background: #faf9f6; text-align: left; padding: 11px 18px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl tbody td { padding: 13px 18px; border-bottom: 1px solid #ece7db; vertical-align: middle; }
table.tbl tbody tr { transition: background var(--t); cursor: pointer; }
table.tbl tbody tr:hover { background: rgba(217, 167, 74, .07); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl .cell-title { font-weight: 600; letter-spacing: -.005em; }
table.tbl .cell-sub { display: block; font-size: .6875rem; color: var(--muted); margin-top: 2px; }
table.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.sortable { cursor: pointer; user-select: none; }
.sortable:hover { color: var(--ink); }

/* ---------- 14. Stepper SOP ---------- */
.stepper { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.step {
  flex: 1 0 132px; scroll-snap-align: start; position: relative;
  padding: 0 14px 0 0;
}
.step__dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--muted);
  font-family: var(--f-mono); font-size: .625rem; position: relative; z-index: 1;
  transition: all var(--t);
}
.step::after { content: ""; position: absolute; left: 30px; right: 0; top: 15px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step strong { display: block; font-size: .75rem; font-weight: 600; margin-top: 11px; line-height: 1.3; }
.step > span { font-size: .6875rem; color: var(--muted); }
.step.is-done .step__dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.is-done::after { background: var(--ok); }
.step.is-current .step__dot { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 0 0 5px rgba(217, 167, 74, .22); }
.step.is-current strong { color: var(--gold-deep); }
.step.is-rejected .step__dot { background: rgba(169, 59, 42, .12); border-color: var(--bad); color: var(--bad); }

.progress { height: 7px; background: var(--paper-2); border-radius: var(--r-pill); overflow: hidden; border: 1px solid var(--line); }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); width: 0; transition: width 700ms var(--ease); }
.progress--ink > i { background: var(--gold); }

/* ---------- 15. Timeline / activity ---------- */
.feed { display: flex; flex-direction: column; }
.feed__item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; position: relative; }
.feed__item::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 1px; background: var(--line); }
.feed__item:last-child::before { display: none; }
.feed__dot { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.feed__dot svg { width: 14px; height: 14px; }
.feed__dot--gold { background: rgba(217, 167, 74, .18); border-color: var(--gold); color: var(--gold-deep); }
.feed__body strong { font-size: .875rem; font-weight: 600; }
.feed__body p { font-size: .8125rem; color: var(--muted); margin: 2px 0 0; }
.feed__body time { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- 16. Tasks & approvals (shadcn-grade) ---------- */
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color var(--t), box-shadow var(--t); }
.task:hover { border-color: #cfc8b8; box-shadow: var(--sh-1); }
.task + .task { margin-top: 8px; }
.task__check { width: 22px; height: 22px; border: 1.5px solid #cfc8b8; border-radius: 7px; display: grid; place-items: center; transition: all var(--t); background: #faf9f6; }
.task.is-done .task__check { background: var(--ok); border-color: var(--ok); color: #fff; }
.task.is-done .task__title { text-decoration: line-through; color: var(--muted); }
.task__title { font-size: .9375rem; font-weight: 550; letter-spacing: -.005em; }
.task__meta { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.task.is-late { border-color: rgba(169, 59, 42, .45); }
.task.is-late .task__meta { color: var(--bad); font-weight: 600; }

.approval { border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.approval__media { aspect-ratio: 16 / 9; background: var(--paper-2); position: relative; }
.approval__media img { width: 100%; height: 100%; object-fit: cover; }
.approval__body { padding: 18px; }
.approval__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 18px 18px; }

/* ---------- 17. Empty / skeleton ---------- */
.empty { text-align: center; padding: clamp(34px, 6vw, 62px) 20px; border: 1px dashed var(--line); background: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(20, 18, 15, .022) 9px, rgba(20, 18, 15, .022) 18px); }
.empty .ico { width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.empty h4 { margin-bottom: 6px; }
.empty p { font-size: .875rem; color: var(--muted); max-width: 44ch; margin-inline: auto; }
.empty .btn { margin-top: 18px; }

.skeleton { background: linear-gradient(90deg, var(--paper-2) 25%, #f6f3ec 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease-in-out infinite; border-radius: var(--r); }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 18. Charts ---------- */
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis-label { font-family: var(--f-mono); font-size: 9px; letter-spacing: .08em; fill: var(--muted); text-transform: uppercase; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .val-label { font-family: var(--f-mono); font-size: 10px; fill: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legend i { width: 10px; height: 10px; flex: none; }
.chart-wrap { position: relative; }
.chart-tooltip {
  position: absolute; pointer-events: none; z-index: 5; opacity: 0;
  background: var(--ink); color: var(--paper); padding: 7px 10px; border-radius: var(--r);
  font-family: var(--f-mono); font-size: .6875rem; white-space: nowrap;
  transform: translate(-50%, -130%); transition: opacity 120ms;
}
.chart-tooltip.is-on { opacity: 1; }

/* ---------- 19. Toast & modal ---------- */
.toast-host { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: min(360px, calc(100vw - 36px)); }
.toast {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px;
  background: var(--ink); color: var(--paper); border-left: 3px solid var(--gold);
  box-shadow: var(--sh-3); font-size: .875rem;
  animation: toastIn 240ms var(--ease) both;
}
.toast svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 2px; }
.toast--ok { border-left-color: #57b98c; } .toast--ok svg { color: #57b98c; }
.toast--bad { border-left-color: #e0796a; } .toast--bad svg { color: #e0796a; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

.modal-host[hidden] { display: none; }
.modal-host { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 18px; }
.modal-host__bg { position: absolute; inset: 0; background: rgba(15, 13, 11, .62); backdrop-filter: blur(3px); animation: fadeIn 180ms both; }
.modal {
  position: relative; width: min(560px, 100%); max-height: min(86vh, 780px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3);
  animation: modalIn 220ms var(--ease) both;
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-size: 1.0625rem; }
.modal__head p { font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.modal__body { padding: 22px; }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 0 22px 22px; }
.modal__close { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); flex: none; transition: all var(--t); }
.modal__close:hover { background: var(--paper); border-color: var(--ink); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- 20. Utilities & motion ---------- */
#bootWarn {
  margin: 18px auto;
  max-width: 720px;
  padding: 16px 20px;
  background: rgba(169, 59, 42, .08);
  border: 1px solid rgba(169, 59, 42, .35);
  color: var(--bad);
  font-size: .875rem;
}
#bootWarn .mono { font-family: var(--f-mono); }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.scroll-x { overflow-x: auto; }

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 460ms var(--ease), transform 460ms var(--ease); }
.reveal[data-delay="1"].is-in { transition-delay: 60ms; }
.reveal[data-delay="2"].is-in { transition-delay: 120ms; }
.reveal[data-delay="3"].is-in { transition-delay: 180ms; }
.reveal[data-delay="4"].is-in { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1100px) {
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .about, .os, .contact, .split, .split--even, .intro-split { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__media { order: 0; }
  .pay-scheme { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 4; }
}
@media (max-width: 1100px) {
  .topbar__search { display: none; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; z-index: 90; inset: 0 auto 0 0; width: min(280px, 84vw);
    transform: translateX(-102%); transition: transform 240ms var(--ease); height: 100dvh;
  }
  .sidebar.is-open { transform: none; box-shadow: var(--sh-3); }
  .topbar__burger { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); }
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); }
  .auth { grid-template-columns: 1fr; }
  .auth__brand { min-height: 300px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__strip { grid-template-columns: 1fr 1fr; }
  .hero__shot:first-child { grid-column: span 2; }
  .scrim { position: fixed; inset: 0; background: rgba(15, 13, 11, .5); z-index: 80; }
}
@media (max-width: 640px) {
  .g2, .g3, .g4, .form-grid, .os__cards, .preset-grid, .kpi-row, .pay-scheme, .footer__grid, .proj-meta { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--wide, .tile--tall { grid-column: span 2; aspect-ratio: 4 / 3; }
  .about__mosaic { min-height: 320px; }
  .value { grid-template-columns: 1fr; gap: 6px; }
  .hero__strip { grid-template-columns: 1fr; }
  .hero__shot:first-child { grid-column: auto; }
  .btn { width: 100%; }
  .nav__actions .btn, .hero__cta .btn, .modal__foot .btn { width: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .task { grid-template-columns: auto minmax(0, 1fr); }
  .task > .chip { grid-column: 2; justify-self: start; }
}
@media (max-width: 420px) {
  .stat__value { font-size: 1.45rem; }
}

/* ---------- 22. Pacific-order landing blocks ---------- */
.svc-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold); }
.svc-card .no { font-family: var(--f-display); font-weight: 600; font-size: 2rem; color: transparent; -webkit-text-stroke: 1.2px var(--gold); line-height: 1; }
.svc-card h3 { font-family: var(--f-display); font-weight: 650; font-size: 1.35rem; }
.svc-card p { font-size: .875rem; color: var(--muted); }
.svc-card .link-arrow { margin-top: auto; align-self: flex-start; }

.proj-fav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.proj-card { background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.proj-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.proj-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.proj-card:hover .proj-card__media img { transform: scale(1.04); }
.proj-card__body { padding: 20px 22px 22px; }
.proj-card__body h3 { font-family: var(--f-display); font-weight: 650; font-size: 1.25rem; margin: 8px 0 12px; }
.proj-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.proj-meta span { display: block; font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.proj-meta strong { display: block; font-size: .8125rem; font-weight: 600; margin-top: 3px; }

.props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.prop { border-top: 2px solid var(--gold); padding-top: 16px; }
.prop h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.prop p { font-size: .8125rem; color: var(--muted); }
.on-ink .prop { border-top-color: var(--gold); }
.on-ink .prop p { color: var(--muted-dark); }

.cta-band { background: var(--gold); color: var(--ink); padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); max-width: 20ch; }
.cta-band p { font-size: .9375rem; max-width: 44ch; margin-top: 10px; }
.cta-band .btn--ink:hover { background: #000; }

.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.art-card { background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.art-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; }
.art-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.art-card__body h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.art-card__body p { font-size: .8125rem; color: var(--muted); }

.intro-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.intro-split__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.intro-split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Aturan blok landing baru — specificity dinaikkan agar menang atas pola generik.
   Mobile 1 kolom didefinisikan di sini (setelah semua blok generik). */
.svc-trio, .proj-fav, .props, .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#layanan .svc-trio, #karya .proj-fav, #kenapa .props, #artikel .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) {
  #layanan .svc-trio, #karya .proj-fav, #kenapa .props, #artikel .art-grid { grid-template-columns: 1fr; }
  #karya .proj-meta { grid-template-columns: 1fr; }
}

/* ---------- 23. Landing v3 preview ---------- */
.v3-body { background: #fbfaf7; color: #333; font-family: var(--f-ui); line-height: 1.65; }
.v3-container { width: min(1180px, 92%); margin: 0 auto; }
.v3-header { position: fixed; inset: 0 0 auto; z-index: 70; background: transparent; border-bottom: 1px solid transparent; backdrop-filter: blur(8px); transition: background .2s, border-color .2s, box-shadow .2s; }
.v3-header.is-scrolled { background: rgba(251,250,247,.95); border-color: var(--line); }
.v3-nav { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.v3-logo { display: inline-flex; align-items: center; height: 52px; }
.v3-logo img { width: 160px; height: 48px; object-fit: contain; object-position: left center; transition: opacity .2s; }
.v3-header:not(.is-scrolled) .v3-logo-dark { display: none; }
.v3-header:not(.is-scrolled) .v3-logo-light { display: block; }
.v3-header.is-scrolled .v3-logo-dark { display: block; }
.v3-header.is-scrolled .v3-logo-light { display: none; }
.v3-navlinks { display: flex; gap: 24px; margin-left: auto; }
.v3-navlinks a { color: #d8d3ca; font-size: 13px; font-weight: 600; }
.v3-header.is-scrolled .v3-navlinks a { color: var(--ink); }
.v3-navactions { display: flex; gap: 9px; }
.v3-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent; font-size: 13px; font-weight: 700; transition: transform .18s, background .18s, color .18s; }
.v3-btn:hover { transform: translateY(-2px); }
.v3-btn-gold { background: var(--gold); color: #1a1307; }
.v3-btn-gold:hover { background: var(--gold-2); color: #fff; }
.v3-btn-dark { background: var(--ink); color: #fff; }
.v3-btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.v3-header:not(.is-scrolled) .v3-btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.v3-btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.v3-burger { display: none; margin-left: auto; border: 0; background: transparent; color: #fff; font-size: 22px; }
.v3-mobile-nav { display: none; padding: 12px 4% 20px; background: #fbfaf7; }
.v3-mobile-nav a { display: block; padding: 9px 0; color: var(--ink); font-weight: 600; }
.v3-header.menu-open .v3-mobile-nav { display: block; }
.v3-header.menu-open .v3-burger, .v3-header.is-scrolled .v3-burger { color: var(--ink); }
.v3-hero { min-height: 100svh; position: relative; overflow: hidden; background: #221b12; color: #fff; }
.v3-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; display: flex; align-items: center; background-size: cover; background-position: center; transition: opacity .45s, visibility .45s; }
.v3-hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,8,4,.72), rgba(10,8,4,.3) 60%, rgba(10,8,4,.08)); }
.v3-hero-slide:nth-child(1) { background-image: url('../img/rumah-03-1600.webp'); }
.v3-hero-slide:nth-child(2) { background-image: url('../img/booth-07-1600.webp'); }
.v3-hero-slide:nth-child(3) { background-image: url('../img/rumah-11-1600.webp'); }
.v3-hero-slide.is-active { opacity: 1; visibility: visible; }
.v3-hero-inner { position: relative; z-index: 1; padding: 150px 0 110px; }
.v3-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-deep); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.v3-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.v3-eyebrow.inverse { color: var(--gold); }
.v3-hero h1 { max-width: 760px; margin: 18px 0 16px; color: #fff; font-family: var(--f-display); font-size: clamp(40px, 6.5vw, 78px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
.v3-hero h1 em { color: var(--gold); font-style: normal; }
.v3-lead { max-width: 48ch; color: rgba(255,255,255,.85); font-size: 16px; }
.v3-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.v3-slider-controls { position: absolute; z-index: 3; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; }
.v3-slider-controls button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: transparent; color: #fff; font-size: 22px; line-height: 1; }
.v3-slider-controls button:hover { background: rgba(255,255,255,.14); }
.v3-slider-controls div { display: flex; gap: 6px; }
.v3-slider-controls div button { width: 26px; height: 7px; border: 0; border-radius: 99px; background: rgba(255,255,255,.35); }
.v3-slider-controls div button[aria-selected="true"] { width: 42px; background: var(--gold); }
.v3-section { padding: clamp(68px, 8vw, 110px) 0; }
.v3-band { background: #eee8dd; }
.v3-section h2 { margin: 12px 0 15px; color: var(--ink); font-family: var(--f-display); font-size: clamp(28px, 4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.025em; }
.v3-copy { max-width: 62ch; color: var(--muted); margin: 0 0 24px; }
.v3-narrow { max-width: 52ch; }
.v3-intro, .v3-how, .v3-values { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.v3-photo { overflow: hidden; background: #ded6c8; }
.v3-photo.tall { aspect-ratio: 3 / 4; }
.v3-photo:not(.tall) { aspect-ratio: 4 / 5; }
.v3-photo img { width: 100%; height: 100%; object-fit: cover; }
.v3-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.v3-stats b { display: block; font-family: var(--f-display); font-size: 25px; }
.v3-stats span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.v3-section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.v3-section-head h2 { margin-bottom: 0; }
.v3-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.v3-service { overflow: hidden; background: #fff; border: 1px solid var(--line); }
.v3-service > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.v3-service:hover > img { transform: scale(1.04); }
.v3-service > div { padding: 21px 22px 25px; }
.v3-service span { color: var(--gold-deep); font-family: var(--f-mono); font-size: 12px; }
.v3-service h3 { margin: 8px 0; font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.v3-service p { color: var(--muted); font-size: 13px; }
.v3-project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.v3-project-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.v3-carousel-controls { display: flex; align-items: center; gap: 9px; flex: none; }
.v3-carousel-controls span { min-width: 58px; color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; }
.v3-carousel-controls button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.v3-carousel-controls button:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }
.v3-project-viewport { overflow: hidden; margin-inline: -10px; padding: 10px; touch-action: pan-y; cursor: grab; }
.v3-project-viewport.is-dragging { cursor: grabbing; }
.v3-project-grid { display: flex; gap: 18px; transition: transform .55s cubic-bezier(.22,.75,.25,1); will-change: transform; }
.v3-project-grid article { flex: 0 0 calc((100% - 18px) / 2); min-width: 0; }
.v3-carousel-progress { height: 3px; margin: 26px 10px 0; overflow: hidden; border-radius: 99px; background: var(--line); }
.v3-carousel-progress i { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--gold); transition: transform .55s cubic-bezier(.22,.75,.25,1); }
.v3-project-grid article { overflow: hidden; background: #fff; border: 1px solid var(--line); }
.v3-project-grid article > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.v3-project-grid article:hover > img { transform: scale(1.04); }
.v3-project-grid article > div { padding: 19px 21px 22px; }
.v3-project-grid article span { color: var(--gold-deep); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.v3-project-grid h3 { margin: 8px 0 13px; font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.v3-project-grid dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--line); padding-top: 13px; margin: 0; }
.v3-project-grid dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.v3-project-grid dd { margin: 3px 0 0; font-size: 12px; font-weight: 700; }
.v3-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.v3-value-grid div { border-top: 2px solid var(--gold); padding-top: 14px; }
.v3-value-grid b { color: var(--gold-deep); font-family: var(--f-mono); font-size: 12px; }
.v3-value-grid h3 { margin: 8px 0 5px; font-size: 15px; }
.v3-value-grid p { color: var(--muted); font-size: 12px; }
.v3-how { align-items: start; }
.v3-how ol { list-style: none; padding: 0; margin: 28px 0 0; }
.v3-how li { border-top: 1px solid var(--ink); padding: 18px 0; }
.v3-how li b { font-family: var(--f-display); font-size: 17px; font-weight: 600; }
.v3-how li b:first-letter { color: var(--gold-deep); }
.v3-how li p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.v3-sop { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; }
.v3-sop span { color: var(--gold-deep); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.v3-sop i { border: 1px solid var(--line); border-radius: 99px; padding: 3px 8px; color: var(--muted); font-size: 10px; font-style: normal; }
.v3-os { background: var(--ink); color: #fff; }
.v3-os h2 { color: #fff; }
.v3-os .v3-eyebrow { color: var(--gold); }
.v3-os-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v3-os-grid article { padding: 21px; border: 1px solid #38342c; background: #201d18; }
.v3-os-grid b { color: var(--gold); font-size: 14px; }
.v3-os-grid p { margin-top: 8px; color: #bcb7ae; font-size: 12px; }
.v3-estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v3-estimator > div:first-child { padding: 26px; background: #fff; border: 1px solid var(--line); }
.v3-estimator label { display: block; margin: 0 0 7px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v3-estimator select, .v3-estimator input[type="range"] { width: 100%; margin: 0 0 18px; }
.v3-estimator select { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; font: inherit; }
.v3-estimator input[type="range"] { accent-color: var(--gold-2); }
.v3-result { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px; background: var(--ink); color: #fff; }
.v3-result > span { color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.v3-result strong { color: var(--gold); font-family: var(--f-display); font-size: clamp(25px, 3vw, 36px); font-weight: 600; }
.v3-result small { color: #aaa49a; }
.v3-result ul { margin: 0; padding-left: 18px; color: #d7d1c7; font-size: 13px; }
.v3-result .v3-btn + .v3-btn { margin-left: 7px; }
.v3-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 25px; border-top: 1px solid var(--ink); padding: 52px 0; }
.v3-cta h2 { margin-bottom: 8px; }
.v3-cta p { color: var(--muted); }
.v3-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v3-contact-grid article { padding: 21px; border: 1px solid var(--line); background: #fff; }
.v3-contact-grid b { font-family: var(--f-display); font-size: 16px; }
.v3-contact-grid p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.v3-note { margin-top: 22px; color: var(--muted); font-size: 12px; }
.v3-note a { color: var(--gold-deep); font-weight: 700; }
.v3-footer { background: var(--ink); color: #aaa49a; padding: 50px 0 25px; }
.v3-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.v3-footer img { width: 160px; height: 48px; object-fit: contain; object-position: left center; }
.v3-footer p { max-width: 32ch; margin-top: 15px; font-size: 13px; }
.v3-footer b { display: block; margin-bottom: 12px; color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.v3-footer a { display: block; padding: 4px 0; font-size: 13px; }
.v3-footer-bottom { margin-top: 38px; border-top: 1px solid #36322c; padding-top: 18px; color: #7e786f; font-size: 11px; }
@media (max-width: 900px) { .v3-navlinks, .v3-navactions { display: none; } .v3-burger { display: block; } .v3-intro, .v3-how, .v3-values { grid-template-columns: 1fr; } .v3-service-grid, .v3-os-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .v3-project-grid article { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .v3-hero-inner { padding: 130px 0 100px; } .v3-actions { flex-direction: column; align-items: stretch; } .v3-actions .v3-btn { width: 100%; } .v3-service-grid, .v3-value-grid, .v3-os-grid, .v3-estimator, .v3-contact-grid, .v3-footer-grid { grid-template-columns: 1fr; } .v3-project-heading { align-items: start; flex-direction: column; gap: 18px; } .v3-project-grid { gap: 14px; } .v3-project-grid article { flex-basis: 86%; } .v3-project-grid dl { grid-template-columns: 1fr; } .v3-navactions { display: none; } .v3-carousel-controls button { width: 38px; height: 38px; } }

/* ---------- 24. Chart primitives (assets/js/charts.js) ---------- */
.chart { display: block; max-width: 100%; }
.chart text { font-family: var(--f-mono); }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-axis { font-size: 9px; letter-spacing: .06em; fill: var(--muted); text-anchor: end; }
.ch-label { font-size: 10px; letter-spacing: .1em; fill: var(--muted); text-transform: uppercase; }
.ch-value { font-size: 9.5px; fill: var(--ink-2); }
.ch-track { fill: none; stroke: var(--line); stroke-width: 24; }
.ch-bar { transform-origin: center bottom; transition: opacity var(--t); }
.ch-bar:hover { opacity: .78; }
.ch-bar--gold { fill: var(--gold); }
.ch-bar--ink { fill: var(--ink); }
.ch-bar--info { fill: var(--info); }
.ch-bar--ok { fill: var(--ok); }
.ch-bar--warn { fill: var(--warn); }
.ch-bar--bad { fill: var(--bad); }
.ch-seg { fill: none; stroke-linecap: butt; transition: stroke-dasharray 500ms var(--ease); }
.ch-seg--gold { stroke: var(--gold); }
.ch-seg--ink { stroke: var(--ink); }
.ch-seg--info { stroke: var(--info); }
.ch-seg--ok { stroke: var(--ok); }
.ch-seg--warn { stroke: var(--warn); }
.ch-seg--bad { stroke: var(--bad); }
.ch-center { font-size: 20px; font-weight: 500; fill: var(--ink); }
.ch-center-sub { font-size: 8.5px; letter-spacing: .14em; fill: var(--muted); text-transform: uppercase; }
.ch-hlabel { font-size: 11px; fill: var(--ink-2); }
.ch-hval { font-size: 10px; fill: var(--muted); }
.ch-hbar--gold { fill: var(--gold); } .ch-hbar--ink { fill: var(--ink); }
.ch-hbar--info { fill: var(--info); } .ch-hbar--ok { fill: var(--ok); }
.ch-hbar--warn { fill: var(--warn); } .ch-hbar--bad { fill: var(--bad); }
.ch-line { stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-line--info { stroke: var(--info); } .ch-line--ok { stroke: var(--ok); }
.ch-area { fill: rgba(217, 167, 74, .14); }
.ch-area--info { fill: rgba(47, 95, 134, .14); } .ch-area--ok { fill: rgba(46, 107, 79, .14); }
.ch-trend.is-up { color: var(--ok); } .ch-trend.is-down { color: var(--bad); }
.chart-empty {
  display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  min-height: 150px; border: 1px dashed var(--line); color: var(--muted);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
}
.chart-empty small { font-size: .625rem; opacity: .7; letter-spacing: .08em; }
.card--ink .ch-label, .card--ink .ch-axis, .card--ink .ch-hlabel, .card--ink .ch-hval { fill: var(--muted-dark); }
.card--ink .ch-value, .card--ink .ch-center { fill: var(--paper); }
.card--ink .ch-grid, .card--ink .ch-track { stroke: var(--line-dark); }
.card--ink .ch-area { fill: rgba(217, 167, 74, .16); }
