/* ==========================================================================
   SmartEdgx — Design system v2 : brutalisme raffiné
   Une couleur d'accent verrouillée. Angles droits. Grille exposée.
   ========================================================================== */

:root {
  --void: #0e0e0d;
  --void-raised: #161614;
  --paper: #f1efe9;
  --paper-raised: #e8e5dc;
  --ink-on-void: #f1efe9;
  --ink-on-paper: #0e0e0d;
  --accent: #e8341b;
  --accent-ink: #0e0e0d;
  --line-on-void: rgba(241, 239, 233, 0.16);
  --line-on-paper: rgba(14, 14, 13, 0.14);
  --mute-on-void: rgba(241, 239, 233, 0.56);
  --mute-on-paper: rgba(14, 14, 13, 0.56);

  --ff: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);

  --edge: 1px solid var(--line-on-void);
  --gut: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 100px; }

body.brutal {
  margin: 0;
  font-family: var(--ff);
  background: var(--void);
  color: var(--ink-on-void);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  overflow-x: hidden;
}

.brutal img, .brutal svg { display: block; max-width: 100%; }
.brutal a { color: inherit; text-decoration: none; }
.brutal ul { list-style: none; margin: 0; padding: 0; }
.brutal button { font-family: inherit; }

.on-paper { background: var(--paper); color: var(--ink-on-paper); }
.on-accent { background: var(--accent); color: var(--accent-ink); }

.gutter { padding-left: var(--gut); padding-right: var(--gut); }

.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;
}

/* -------------------------------- Type scale -------------------------------- */
.t-hero {
  font-family: var(--ff);
  font-weight: 650;
  font-size: clamp(2.6rem, 9.2vw, 8.4rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0;
}
.t-display {
  font-family: var(--ff);
  font-weight: 650;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
}
.t-h2 {
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0;
}
.t-h3 {
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0;
}
.t-lead {
  font-weight: 400;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 46ch;
}
.t-body {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 62ch;
}
.t-micro {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0;
}
.t-num {
  font-weight: 650;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

/* -------------------------------- Buttons -------------------------------- */
.btn-brutal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}
.btn-brutal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 480ms var(--ease);
  z-index: -1;
}
.btn-brutal:hover::before,
.btn-brutal:focus-visible::before { transform: translateX(0); }
.btn-brutal:hover,
.btn-brutal:focus-visible { color: var(--accent-ink); border-color: var(--accent); }
.btn-brutal:active { transform: scale(0.98); }

.btn-solid {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-solid::before { background: var(--ink-on-void); }
.btn-solid:hover { color: var(--ink-on-void); border-color: var(--ink-on-void); }
.on-paper .btn-solid::before { background: var(--ink-on-paper); }
.on-paper .btn-solid:hover { color: var(--paper); border-color: var(--ink-on-paper); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* -------------------------------- Nav -------------------------------- */
.hud {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gut);
  color: var(--ink-on-void);
  background: rgba(14, 14, 13, 0.78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(241, 239, 233, 0.08);
}
.hud:has(.hud-nav.open) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--void);
}
.hud-mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.hud-mark img { height: 20px; width: auto; }
.hud-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.hud-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  padding: 4px 0;
  position: relative;
}
.hud-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right 320ms var(--ease);
}
.hud-nav a:hover::after, .hud-nav a[aria-current="page"]::after { right: 0; }
.hud-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .hud-nav { display: none; position: fixed; inset: 0; background: var(--void); mix-blend-mode: normal; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--gut); gap: 22px; color: var(--ink-on-void); }
  .hud-nav.open { display: flex; }
  .hud-nav a { font-size: 1.6rem; }
  .hud-toggle { display: block; }
}

/* -------------------------------- 1. Hero -------------------------------- */
.rig-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px var(--gut) 48px;
  border-bottom: var(--edge);
}
.rig-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.rig-hero-top .t-micro { color: var(--mute-on-void); max-width: 26ch; text-align: right; }
.rig-hero-headline { overflow: hidden; }
.rig-hero-headline .line { overflow: hidden; }
.rig-hero-headline .line span { display: block; will-change: transform, opacity; }
html.js .rig-hero-headline .line span { opacity: 0; }
.rig-hero-foot {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 24px;
  align-items: end;
  padding-top: 28px;
  border-top: var(--edge);
}
.rig-hero-foot .t-lead { color: var(--mute-on-void); }

/* -------------------------------- 2. Manifesto -------------------------------- */
.rig-manifesto {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--gut);
  padding: clamp(80px, 12vw, 160px) var(--gut);
  border-bottom: var(--edge);
}
.rig-manifesto-rail {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rig-manifesto-rail .t-num { font-size: clamp(3rem, 6vw, 5.5rem); color: var(--accent); line-height: 0.9; }
.rig-manifesto-copy .t-display { color: var(--mute-on-void); }
.rig-manifesto-copy .t-display .hot { color: var(--ink-on-void); }
@media (max-width: 900px) {
  .rig-manifesto { grid-template-columns: 1fr; }
  .rig-manifesto-rail { position: static; }
}

/* -------------------------------- 3. Sticky stack (services) -------------------------------- */
.rig-stack { position: relative; background: var(--paper); color: var(--ink-on-paper); }
.stack-card {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px var(--gut) 56px;
  background: var(--paper);
  border-top: 1px solid var(--line-on-paper);
}
.stack-card + .stack-card { box-shadow: 0 -1px 0 var(--line-on-paper); }
.stack-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.stack-card-head .t-num { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--accent); -webkit-text-stroke: 0; }
.stack-card-body {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gut);
  align-items: end;
}
.stack-card-body .t-body { color: var(--mute-on-paper); }
.stack-card-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.stack-card-tags span {
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 14px;
  border: 1px solid var(--ink-on-paper);
}
@media (max-width: 780px) {
  .stack-card-body { grid-template-columns: 1fr; }
  .stack-card-tags { justify-content: flex-start; }
}

/* -------------------------------- 4. Horizontal rail (portfolio strip) -------------------------------- */
.rig-rail { position: relative; height: 100svh; overflow: hidden; border-bottom: var(--edge); }
.rail-track {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  will-change: transform;
}
.rail-panel {
  width: min(78vw, 900px);
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 4vw;
  border-right: var(--edge);
}
.rail-panel .t-h3 { color: var(--mute-on-void); margin-bottom: 8px; }
.rail-panel .t-display { max-width: 14ch; }
.rail-graphic { flex: 1; margin: 32px 0; position: relative; min-height: 160px; overflow: hidden; border: 1px solid var(--line-on-void); }
.rail-graphic img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rail-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-top: var(--edge); padding-top: 18px; }
.rail-meta .t-body { color: var(--mute-on-void); max-width: 42ch; }
.rail-hint { display: flex; align-items: center; gap: 12px; padding: 0 var(--gut) 20px; position: absolute; bottom: 0; right: 0; }
.rail-hint-track { width: 120px; height: 2px; background: var(--line-on-void); position: relative; }
.rail-hint-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent); }

/* -------------------------------- 5. Stat break (broken grid) -------------------------------- */
.rig-stats {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gut) 0;
  padding: clamp(70px, 10vw, 140px) var(--gut);
  border-bottom: var(--edge);
}
.stat-a { grid-column: 1 / 8; }
.stat-b { grid-column: 8 / 13; margin-top: clamp(40px, 8vw, 100px); text-align: right; }
.stat-c { grid-column: 3 / 10; margin-top: clamp(20px, 4vw, 60px); }
.stat-block .t-num { font-size: clamp(4rem, 13vw, 11rem); line-height: 0.85; display: block; }
.stat-block .t-micro { color: var(--mute-on-void); margin-top: 10px; }
@media (max-width: 780px) {
  .stat-a, .stat-b, .stat-c { grid-column: 1 / 13; text-align: left; margin-top: 0; }
  .stat-b, .stat-c { margin-top: 24px; }
}

/* -------------------------------- 6. CTA inversion -------------------------------- */
.rig-cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(90px, 14vw, 200px) var(--gut);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.rig-cta .t-hero { font-size: clamp(2.4rem, 8vw, 6.8rem); }
.rig-cta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rig-cta .btn-brutal { border-color: var(--accent-ink); }
.rig-cta .btn-brutal::before { background: var(--ink-on-void); }
.rig-cta .btn-brutal:hover { color: var(--ink-on-void); border-color: var(--ink-on-void); }

/* -------------------------------- 7. Footer index -------------------------------- */
.rig-footer { padding: 56px var(--gut) 32px; }
.footer-grid-v2 {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: var(--edge);
}
.footer-grid-v2 .t-body { color: var(--mute-on-void); max-width: 34ch; }
.footer-col-v2 ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col-v2 a { font-weight: 600; font-size: 0.94rem; }
.footer-col-v2 a:hover { color: var(--accent); }
.footer-bottom-v2 {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--mute-on-void);
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 780px) {
  .footer-grid-v2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid-v2 { grid-template-columns: 1fr; }
}

/* -------------------------------- Reveal utility -------------------------------- */
.reveal-line { overflow: hidden; }
.reveal-line > * { will-change: transform, opacity; }
html.js .reveal-line > * { opacity: 0; }

/* -------------------------------- Sub-hero (interior pages) -------------------------------- */
.rig-subhero {
  padding: 130px var(--gut) 60px;
  border-bottom: var(--edge);
}
.rig-subhero .t-display { max-width: 16ch; }
.rig-subhero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: var(--edge);
  flex-wrap: wrap;
}
.rig-subhero-foot .t-lead { color: var(--mute-on-void); }

/* -------------------------------- Ledger (portfolio index) -------------------------------- */
.ledger { border-bottom: var(--edge); }
.ledger-row {
  border-top: var(--edge);
  padding: clamp(28px, 4vw, 44px) var(--gut);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.ledger-row-head {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;
  gap: clamp(14px, 3vw, 32px);
}
.ledger-row-head .t-num { font-size: 1rem; color: var(--accent); }
.ledger-row-head .t-display { font-size: clamp(1.8rem, 5vw, 3.8rem); transition: transform 420ms var(--ease); }
.ledger-row:hover .t-display { transform: translateX(14px); }
.ledger-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ledger-tags span { font-weight: 700; font-size: 0.76rem; padding: 5px 10px; border: 1px solid var(--line-on-void); white-space: nowrap; }
.ledger-body {
  display: grid;
  grid-template-columns: 60px 1fr 320px;
  gap: clamp(14px, 3vw, 32px);
  margin-top: 18px;
}
.ledger-body .t-body { color: var(--mute-on-void); grid-column: 2; }
.ledger-graphic {
  grid-column: 3;
  aspect-ratio: 4/3;
  border: 1px solid var(--line-on-void);
  position: relative;
  overflow: hidden;
  background: var(--void-raised);
  transition: transform 420ms var(--ease);
}
.ledger-row:hover .ledger-graphic { transform: translateY(-4px); }
.ledger-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
@media (max-width: 860px) {
  .ledger-row-head { grid-template-columns: 40px 1fr; }
  .ledger-tags { grid-column: 1 / -1; justify-content: flex-start; margin-top: 12px; }
  .ledger-body { grid-template-columns: 1fr; }
  .ledger-body .t-body { grid-column: 1; }
  .ledger-graphic { grid-column: 1; width: 100%; margin-top: 16px; }
}

.ledger-graphic--carousel { aspect-ratio: 3/4; }
.phone-scroll {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-on-void) transparent;
}
.phone-scroll img {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: center;
}

/* -------------------------------- Ledger table (prestations services) -------------------------------- */
.svc-ledger { border-top: var(--edge); border-bottom: var(--edge); }
.svc-row {
  display: grid;
  grid-template-columns: 60px 1.6fr 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  padding: 26px var(--gut);
  border-top: 1px solid var(--line-on-void);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.svc-row:first-child { border-top: none; }
.svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms var(--ease);
  z-index: -1;
}
.svc-row:hover::before { transform: scaleX(1); }
.svc-row:hover { color: var(--accent-ink); }
.svc-row:hover .t-body { color: var(--accent-ink); opacity: 0.72; }
.svc-num { color: var(--accent); font-weight: 800; }
.svc-row:hover .svc-num { color: var(--accent-ink); }
.svc-row .t-body { color: var(--mute-on-void); }
.svc-price { font-weight: 800; text-align: right; white-space: nowrap; }
@media (max-width: 780px) {
  .svc-row { grid-template-columns: 32px 1fr; }
  .svc-row .t-body, .svc-price { grid-column: 2; }
}

/* -------------------------------- Pricing (unequal columns) -------------------------------- */
.plans {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.9fr;
  border-top: var(--edge);
  border-bottom: var(--edge);
}
.plan { padding: 44px clamp(20px, 3vw, 36px); border-left: 1px solid var(--line-on-void); display: flex; flex-direction: column; gap: 18px; }
.plan:first-child { border-left: none; }
.plan-lead { background: var(--accent); color: var(--accent-ink); }
.plan-lead .t-body, .plan-lead li { color: var(--accent-ink); }
.plan .t-num { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.plan li { font-size: 0.92rem; display: flex; gap: 10px; }
.plan li::before { content: "→"; font-weight: 700; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: none; border-top: 1px solid var(--line-on-void); }
  .plan:first-child { border-top: none; }
}

/* -------------------------------- Contact split -------------------------------- */
.rig-contact-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 100svh;
}
.contact-pitch {
  padding: 130px var(--gut) 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: var(--edge);
}
.contact-email-link { font-size: clamp(1.8rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; display: inline-block; border-bottom: 2px solid var(--accent); }
.contact-email-link:hover { color: var(--accent); }
.contact-meta { display: flex; flex-direction: column; gap: 16px; }
.contact-form-side { padding: 130px var(--gut) 60px; background: var(--paper); color: var(--ink-on-paper); }
.field-brutal { border-bottom: 1px solid var(--line-on-paper); padding: 16px 0; margin-bottom: 4px; }
.field-brutal label { display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute-on-paper); margin-bottom: 8px; }
.field-brutal input, .field-brutal select, .field-brutal textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--ff);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-on-paper);
  padding: 0;
}
.field-brutal input:focus, .field-brutal select:focus, .field-brutal textarea:focus { outline: none; }
.field-brutal textarea { resize: vertical; min-height: 90px; }
@media (max-width: 900px) {
  .rig-contact-split { grid-template-columns: 1fr; }
  .contact-pitch { border-right: none; border-bottom: var(--edge); }
}

/* -------------------------------- Generator brutal -------------------------------- */
.gen-brutal { display: grid; grid-template-columns: 0.9fr 1.4fr; border-top: var(--edge); }
.gen-controls { padding: 48px var(--gut) 48px 0; margin-left: var(--gut); border-right: var(--edge); display: flex; flex-direction: column; gap: 34px; }
.gen-field-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute-on-void); margin-bottom: 12px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-brutal {
  padding: 10px 16px;
  border: 1px solid var(--line-on-void);
  font-weight: 600;
  font-size: 0.86rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.opt-brutal:hover { border-color: var(--accent); }
.opt-brutal.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.select-brutal {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line-on-void);
  background: transparent;
  color: inherit;
  font-family: var(--ff);
  font-weight: 600;
  font-size: 1rem;
}
.gen-stage { padding: 48px var(--gut) 48px 40px; display: flex; flex-direction: column; gap: 28px; }
.gen-frame { border: 1px solid var(--line-on-void); aspect-ratio: 16/10; padding: clamp(24px,3vw,44px); display: flex; flex-direction: column; gap: 18px; transition: background 260ms var(--ease), color 260ms var(--ease); }
.gen-recap { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 18px; padding-top: 24px; border-top: var(--edge); }
.gen-recap dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute-on-void); margin-bottom: 6px; }
.gen-recap dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
@media (max-width: 900px) {
  .gen-brutal { grid-template-columns: 1fr; }
  .gen-controls { margin-left: 0; padding: 40px var(--gut); border-right: none; border-bottom: var(--edge); }
  .gen-stage { padding: 40px var(--gut); }
}

/* -------------------------------- Generator preview styles -------------------------------- */
.gen-frame.style-minimal { background: #ffffff; color: #0e0e0d; }
.gen-frame.style-dark { background: #0c0d10; color: #eaeaec; }
.gen-frame.style-corporate { background: #eef1f6; color: #1c2740; }
.gen-frame.style-editorial { background: #f7f2e9; color: #201a12; }
.gen-frame.style-scientific { background: #f2f4f2; color: #172018; }

.gp-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  color: #fff;
}
.gp-block { padding: 18px; }
.style-minimal .gp-block { background: #f4f3ef; }
.style-dark .gp-block { background: #17181d; }
.style-corporate .gp-block { background: #ffffff; border: 1px solid #d7ddea; }
.style-editorial .gp-block { background: #efe6d3; }
.style-scientific .gp-block { background: #ffffff; border: 1px solid #dde3dd; }
.gp-line { height: 10px; }
.style-minimal .gp-line { background: #d9d7cf; }
.style-dark .gp-line { background: #2c2d34; }
.style-corporate .gp-line { background: #c6d0e4; }
.style-editorial .gp-line { background: #ddcda8; }
.style-scientific .gp-line { background: #cfe0d1; }
.gp-accent { height: 38px; width: 40%; }
.gp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gp-row { display: flex; gap: 10px; align-items: flex-end; height: 90px; }
.gp-row .b { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  .rig-hero-headline .line span,
  .reveal-line > * { transform: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
