/* =========================================================
   A.L Systems — Design tokens & base styles
   Concept: "ledger meets network" — the precision of a financial
   ledger, drawn as a schematic of connected systems.
   ========================================================= */

:root{
  /* --- color --- */
  --ivory:        #FBF8F2;
  --paper:        #FFFFFF;
  --ink:          #1C2530;
  --ink-soft:     #5B6472;
  --ink-faint:    #8A93A0;
  --gold:         #C69A4E;
  --gold-deep:    #9C7530;
  --gold-bright:  #DDB05F;
  --gold-pale:    #F1E4C8;
  --gold-wash:    #FAF3E4;
  --line:         #E8E0CF;
  --line-soft:    #EFE9DC;
  --shadow:       0 24px 50px -28px rgba(28,37,48,0.22);
  --shadow-soft:  0 12px 32px -20px rgba(28,37,48,0.13);

  /* --- type --- */
  --font-display: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --font-body:    'Assistant', -apple-system, sans-serif;
  --font-label:   'Heebo', -apple-system, sans-serif;

  /* --- layout --- */
  --max: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background:
    radial-gradient(ellipse 1100px 620px at 12% -8%, rgba(198,154,78,0.10), transparent 62%),
    radial-gradient(ellipse 900px 520px at 104% 4%, rgba(54,39,33,0.05), transparent 58%),
    var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before{
  content: '';
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.035;
  background-repeat: repeat;
  background-size: 160px 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transform: translateZ(0);
  will-change: transform;
}
@media (max-width: 720px){
  body::before{ display: none; }
}

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

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1{ font-size: clamp(2.3rem, 4.4vw, 3.75rem); font-weight: 700; letter-spacing: -0.01em; }
h2{ font-size: clamp(1.8rem, 3.1vw, 2.55rem); letter-spacing: -0.005em; }
h3{ font-size: 1.32rem; font-weight: 600; }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-gold{
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(156,117,48,0.55), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -10px 16px -10px rgba(74,50,15,0.35);
}
.btn-gold::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn-gold:hover::after{ transform: translateX(120%); }
.btn-gold:hover{ transform: translateY(-2px) scale(1.015); box-shadow: 0 22px 42px -16px rgba(156,117,48,0.75), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn:active{ transform: translateY(0) scale(0.97); transition-duration: .1s; }

.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover{ transform: translateY(-2px); border-color: var(--gold); color: var(--gold-deep); background: var(--gold-wash); box-shadow: var(--shadow-soft); }

.btn-dark{
  background: var(--ink);
  color: var(--ivory);
}
.btn-dark:hover{ transform: translateY(-2px) scale(1.015); background: #10171f; box-shadow: var(--shadow-soft); }

@media (prefers-reduced-motion: reduce){
  .btn:hover, .btn:active{ transform: none; }
}

/* ---------- header / nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,248,242,0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 12px 30px -22px rgba(28,37,48,0.35);
}
.site-header::before{
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img{ height: 40px; width: auto; transition: transform .25s ease; }
.brand:hover img{ transform: scale(1.05) rotate(-2deg); }
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong{
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}
.brand-text span{
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  font-family: var(--font-label);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 1px;
  transition: color .2s ease;
}
.nav-links a::after{
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  left: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: left .25s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after{ left: 0; }

.nav-cta{ display: flex; align-items: center; gap: 18px; }
.nav-phone{
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
  transition: color .2s ease;
}
.nav-phone:hover{ color: var(--gold-deep); }
.nav-phone svg{ width: 15px; height: 15px; stroke: var(--gold-deep); }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- hero ---------- */
.hero{
  --hero-bg: #362721;
  padding: 76px 0 84px;
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--ivory);
}
.hero-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero .eyebrow, .page-hero .eyebrow{ color: var(--gold-bright); }
.hero .eyebrow::before, .page-hero .eyebrow::before{ background: var(--gold-bright); }
.hero h1, .page-hero h1{ margin-bottom: 22px; color: var(--ivory); }
.hero h1 em{
  font-style: normal;
  color: var(--gold-bright);
  position: relative;
  text-shadow: 0 0 36px rgba(221,176,95,0.35);
}
.hero-lede{
  font-size: 1.12rem;
  max-width: 46ch;
  color: rgba(251,248,242,0.78);
}
.hero-actions{
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero .btn-ghost{
  border-color: rgba(251,248,242,0.3);
  color: var(--ivory);
}
.hero .btn-ghost:hover{
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(251,248,242,0.06);
}
.hero-stats{
  display: flex;
  gap: 34px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stat strong{
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.hero-stat span{
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: rgba(251,248,242,0.6);
}

.hero-visual{ position: relative; z-index: 2; }

.hero-scrollcue{
  position: absolute;
  bottom: 22px;
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  opacity: 0.85;
}
.hero-scrollcue .cue-shell{
  width: 20px;
  height: 32px;
  border: 1.4px solid currentColor;
  border-radius: 12px;
  position: relative;
}
.hero-scrollcue .cue-shell::after{
  content: '';
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translateX(50%);
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: cueMove 1.6s ease-in-out infinite;
}
@keyframes cueMove{ 0%,100%{ top:6px; opacity:1; } 60%{ top:16px; opacity:.3; } }
@media (prefers-reduced-motion: reduce){
  .hero-scrollcue .cue-shell::after{ animation: none; top: 10px; }
}

/* ---------- sections ---------- */
section{ padding: 96px 0; position: relative; }
.section-alt{
  background: linear-gradient(180deg, var(--paper), #FDFBF7);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.section-alt::before{
  content: '';
  position: absolute;
  top: -1px; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.55;
}
.section-head{
  max-width: 640px;
  margin-bottom: 50px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- systems grid ---------- */
.systems-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sys-card{
  background: #362721;
  border: 1px solid rgba(198,154,78,0.22);
  border-radius: 16px;
  padding: 34px 28px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  color: var(--ivory);
}
.sys-card::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px 220px at var(--glow-x, 90%) var(--glow-y, -10%), rgba(221,176,95,0.16), transparent 65%);
  opacity: 0.8;
  transition: opacity .35s ease;
  pointer-events: none;
}
.sys-card:nth-child(3n+1){ --glow-x: 85%; --glow-y: -15%; }
.sys-card:nth-child(3n+2){ --glow-x: 15%; --glow-y: 110%; }
.sys-card:nth-child(3n+3){ --glow-x: 50%; --glow-y: -20%; }
.sys-card:hover{
  transform: translateY(-9px);
  box-shadow: 0 30px 60px -26px rgba(20,14,10,0.65), 0 0 0 1px rgba(198,154,78,0.12), 0 18px 40px -22px rgba(198,154,78,0.35);
  border-color: var(--gold);
}
.sys-card:hover::before{ opacity: 1; }
.sys-card .tag-pill{
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(198,154,78,0.14);
  border: 1px solid rgba(198,154,78,0.35);
  color: var(--gold-bright);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.sys-card-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 22px;
}
.sys-card-meta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}
.sys-icon{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(198,154,78,0.22), rgba(198,154,78,0.08));
  border: 1px solid rgba(198,154,78,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.sys-icon svg{ width: 18px; height: 18px; stroke: var(--gold-bright); fill: none; }
.sys-card-thumb{
  width: 46%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(198,154,78,0.3);
  box-shadow: 0 14px 28px -16px rgba(20,14,10,0.65);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.sys-card-thumb::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(54,39,33,0) 60%, rgba(54,39,33,0.5));
  pointer-events: none;
}
.sys-card-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(1.05) contrast(1.02);
  transition: transform .5s ease;
}
.sys-card-thumb img.shot-img--right{
  object-position: right top;
}
.sys-card:hover .sys-card-thumb img{ transform: scale(1.06); }
.sys-card h3{ margin-bottom: 8px; color: #fff; position: relative; z-index: 1; }
.sys-card p{ font-size: 0.96rem; margin-bottom: 20px; color: rgba(251,248,242,0.62); position: relative; z-index: 1; }
.sys-link{
  font-family: var(--font-label);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(198,154,78,0.12);
  border: 1px solid rgba(198,154,78,0.32);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  position: relative;
  z-index: 1;
}
.sys-link:hover{ background: var(--gold); border-color: var(--gold); color: #2A1F1A; }

/* ---------- process (scroll-spy rail) ---------- */
.process-rail-wrap{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
}
.process-rail{
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 6px;
}
.process-rail-line{
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 4.5px;
  width: 1px;
  background: var(--line);
  z-index: -1;
}
.process-rail-item{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--ink-faint);
  transition: color .3s ease;
}
.process-rail-item .dot{
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.6px solid var(--line);
  background: var(--paper);
  flex-shrink: 0;
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.process-rail-item.active{ color: var(--ink); font-weight: 600; }
.process-rail-item.active .dot{
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px var(--gold-wash);
}
.process-steps{ display: flex; flex-direction: column; }
.process-step{
  padding: 38px 0;
  border-top: 1px solid var(--line);
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.process-step:first-child{ border-top: none; padding-top: 2px; }
.process-step .step-icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-wash), var(--gold-pale));
  border: 1px solid var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-step .step-icon svg{ width: 24px; height: 24px; stroke: var(--gold-deep); fill: none; }
.process-step .step-ghost{
  position: absolute;
  top: 22px;
  left: 0;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--gold-wash);
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.process-step .step-body{ position: relative; z-index: 1; }
.process-step .step-num{
  font-family: var(--font-label);
  font-size: 0.78rem;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}
.process-step h3{ font-size: 1.12rem; margin-bottom: 8px; }
.process-step p{ font-size: 0.96rem; max-width: 54ch; margin: 0; }
@media (max-width: 720px){
  .process-step .step-ghost{ display: none; }
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background: #362721;
  color: var(--ivory);
  border-radius: 18px;
  padding: 58px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner > *:not(.hero-canvas){ position: relative; z-index: 2; }
.cta-banner h2{ color: #fff; margin-bottom: 8px; }
.cta-banner p{ color: rgba(251,248,242,0.7); margin: 0; }
.cta-highlights{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.cta-highlights li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.86rem;
  color: rgba(251,248,242,0.82);
}
.cta-highlights svg{ width: 16px; height: 16px; stroke: var(--gold-bright); flex-shrink: 0; }
.cta-banner .btn-gold{ box-shadow: 0 14px 30px -14px rgba(0,0,0,0.4); }

/* ---------- footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(251,248,242,0.75);
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251,248,242,0.12);
}
.footer-brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img{ height: 34px; }
.footer-brand strong{ font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.site-footer h4{
  color: #fff;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-links{ list-style: none; margin: 0; padding: 0; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ color: rgba(251,248,242,0.68); font-size: 0.94rem; transition: color .2s ease; }
.footer-links a:hover{ color: var(--gold-bright); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(251,248,242,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero{
  --hero-bg: #362721;
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--ivory);
}
.page-hero .container{ position: relative; z-index: 2; }
.page-hero .eyebrow{ margin-bottom: 16px; }
.page-hero p{ max-width: 60ch; font-size: 1.05rem; color: rgba(251,248,242,0.78); }

/* ---------- 404 page ---------- */
.error-page{ padding: 100px 0 110px; text-align: center; }
.error-page .container{ display: flex; flex-direction: column; align-items: center; }
.error-page .error-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.error-page .eyebrow{ justify-content: center; }
.error-page h1{ margin-bottom: 18px; }
.error-page p{ margin-left: auto; margin-right: auto; text-align: center; }
.error-page .hero-actions{ justify-content: center; margin-top: 30px; }

/* ---------- real product screenshots ---------- */
.sys-detail-visual.has-photo{
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
.shot-frame{
  background: #362721;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(54,39,33,0.45);
  padding: 5px 5px 10px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.sys-detail-visual.has-photo:hover .shot-frame{
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -26px rgba(54,39,33,0.55);
}
.shot-bar{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 68px;
  position: relative;
  border-bottom: 1px solid rgba(251,248,242,0.08);
}
.shot-bar::before{
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #EF6A5F;
  box-shadow: 17px 0 0 #F5BD4F, 34px 0 0 #61C454;
}
.shot-bar .mark{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.shot-bar .sep{
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(251,248,242,0.35);
  flex-shrink: 0;
}
.shot-bar span.label{
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: rgba(251,248,242,0.78);
  flex: 1;
  background: rgba(251,248,242,0.07);
  border: 1px solid rgba(251,248,242,0.1);
  border-radius: 999px;
  padding: 5px 16px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-frame .shot-media{
  position: relative;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
}
.shot-frame img.shot-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.82) contrast(1.03);
}
.shot-frame img.shot-img--left{
  object-position: left top;
}
.shot-frame img.shot-img--right{
  object-position: right top;
}
.shot-media.shot-media--wide{
  aspect-ratio: 1.96 / 1;
}
.shot-frame .shot-media:not(.illustration)::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(54,39,33,0.22), rgba(198,154,78,0.08) 40%, rgba(54,39,33,0.12));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.shot-media.illustration svg{
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- system detail blocks ---------- */
.sys-detail{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line-soft);
}
.sys-detail:last-child{ border-bottom: none; }
.sys-detail-visual{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.feature-list{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.feature-list svg{ width: 18px; height: 18px; stroke: var(--gold-deep); flex-shrink: 0; margin-top: 3px; }

/* ---------- scroll progress (homepage) ---------- */
.scroll-progress{
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 3px;
  z-index: 60;
  background: transparent;
}
.scroll-progress-bar{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 8px rgba(198,154,78,0.6);
  transition: width 0.1s linear;
}
@media (prefers-reduced-motion: reduce){
  .scroll-progress-bar{ transition: none; }
}

/* ---------- scroll thread (connects sections as you scroll) ---------- */
.scroll-thread{
  display: none;
}
@media (min-width: 1240px){
  .scroll-thread{
    display: block;
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: min(46vh, 380px);
    z-index: 40;
    background: var(--line);
    border-radius: 2px;
    overflow: visible;
    pointer-events: none;
  }
}
.scroll-thread-fill{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--gold-deep), var(--gold-bright));
  border-radius: 2px;
  transition: height 0.12s linear;
}
.scroll-thread-node{
  position: absolute;
  left: 50%;
  top: 0%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px var(--gold-wash), 0 0 14px rgba(221,176,95,0.55);
  transform: translate(-50%, -50%);
  transition: top 0.12s linear;
}
@media (prefers-reduced-motion: reduce){
  .scroll-thread-fill, .scroll-thread-node{ transition: none; }
}

/* ---------- live activity demo panel (homepage) ---------- */
.live-demo{ padding: 70px 0; }
.live-panel{
  background: #362721;
  border-radius: var(--radius);
  padding: 5px 5px 18px;
  max-width: 640px;
  margin: 36px auto 0;
  box-shadow: 0 24px 50px -28px rgba(54,39,33,0.5);
}
.live-panel-bar{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 68px;
  position: relative;
  border-bottom: 1px solid rgba(251,248,242,0.08);
}
.live-panel-bar::before{
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #EF6A5F;
  box-shadow: 17px 0 0 #F5BD4F, 34px 0 0 #61C454;
}
.live-panel-bar .mark{ font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--gold-bright); flex-shrink: 0; }
.live-panel-bar .sep{ width: 3px; height: 3px; border-radius: 50%; background: rgba(251,248,242,0.35); flex-shrink: 0; }
.live-panel-bar .label{
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: rgba(251,248,242,0.78);
  flex: 1;
  background: rgba(251,248,242,0.07);
  border: 1px solid rgba(251,248,242,0.1);
  border-radius: 999px;
  padding: 5px 16px;
  text-align: center;
}
.live-badge{ display: flex; align-items: center; gap: 6px; font-family: var(--font-label); font-size: 0.7rem; color: var(--gold-bright); }
.live-badge .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse{
  0%,100%{ opacity: 1; box-shadow: 0 0 0 0 rgba(221,176,95,0.5); }
  50%{ opacity: 0.5; box-shadow: 0 0 0 6px rgba(221,176,95,0); }
}
.live-feed{
  background: rgba(0,0,0,0.16);
  border-radius: calc(var(--radius) - 6px);
  margin: 0 12px 12px;
  padding: 22px 22px;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.live-feed-item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(251,248,242,0.9);
  opacity: 0;
  transform: translateY(6px);
  animation: liveIn 0.5s ease forwards;
}
.live-feed-item .lf-time{
  font-family: var(--font-label);
  font-size: 0.72rem;
  color: var(--gold-bright);
  flex-shrink: 0;
  min-width: 46px;
}
@keyframes liveIn{ to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){
  .live-badge .dot{ animation: none; }
  .live-feed-item{ animation: none; opacity: 1; transform: none; }
}
@media (max-width: 640px){
  .live-feed{ min-height: 200px; }
}

/* ---------- google reviews (homepage) ---------- */
.reviews-summary{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.reviews-summary .rs-score{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--ink);
}
.reviews-summary .rs-stars{ display: flex; gap: 2px; }
.reviews-summary .rs-stars svg{ width: 20px; height: 20px; fill: var(--gold); stroke: none; }
.reviews-summary .rs-count{ font-size: 0.9rem; color: var(--ink-faint); }
.reviews-summary .rs-link{ font-family: var(--font-label); font-size: 0.82rem; color: var(--gold-deep); font-weight: 600; }

.reviews-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.review-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card .rc-head{ display: flex; align-items: center; gap: 12px; }
.review-card .rc-avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #2A1F1A;
}
.review-card .rc-name{ font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.review-card .rc-time{ font-size: 0.78rem; color: var(--ink-faint); }
.review-card .rc-stars{ display: flex; gap: 1px; }
.review-card .rc-stars svg{ width: 14px; height: 14px; fill: var(--gold); stroke: none; }
.review-card .rc-text{
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews-attribution{
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 26px;
  font-family: var(--font-label);
  font-size: 0.76rem;
  color: var(--ink-faint);
}
.reviews-loading, .reviews-error{
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-top: 30px;
}
.reviews-error{ display: none; }

/* ---------- quote band (homepage) ---------- */
.quote-band{
  background: #362721;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.quote-band .quote-mark{
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 4px;
}
.quote-band blockquote{
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.5;
  color: var(--ivory);
  max-width: 44ch;
  margin: 0 auto;
}
.quote-band cite{
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}

/* ---------- founder teaser strip (homepage) ---------- */
.founder-teaser{
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  padding: 48px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
  flex-wrap: wrap;
}
.founder-teaser .fmark{
  width: 56px; height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(221,176,95,0.22), rgba(221,176,95,0.04) 70%);
  border: 1px solid rgba(198,154,78,0.3);
}
.founder-teaser .fmark img{ width: 28px; height: auto; }
.founder-teaser p{ margin: 0; color: var(--ink-soft); }
.founder-teaser strong{ color: var(--ink); }
.founder-teaser .teaser-link{
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-deep);
  white-space: nowrap;
}
.founder-teaser .teaser-link:hover{ color: var(--gold); }
@media (max-width: 640px){
  .founder-teaser{ flex-direction: column; text-align: center; }
}

/* ---------- about page ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

/* credential card (replaces plain portrait box) */
.about-credential{
  background: #362721;
  border-radius: var(--radius);
  padding: 42px 30px 34px;
  box-shadow: 0 24px 50px -28px rgba(54,39,33,0.5);
  text-align: center;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.about-credential::before{
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% -10%, rgba(198,154,78,0.22), transparent 60%);
  pointer-events: none;
}
.credential-mark{
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(221,176,95,0.22), rgba(221,176,95,0.04) 70%);
  border: 1px solid rgba(221,176,95,0.3);
  position: relative; z-index: 1;
  box-shadow: 0 16px 32px -14px rgba(198,154,78,0.4);
}
.credential-mark img{ width: 46px; height: auto; }
.about-credential h3{ position: relative; z-index: 1; color: #fff; margin-bottom: 4px; font-size: 1.3rem; }
.about-credential .role{
  position: relative; z-index: 1;
  color: var(--gold-bright);
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}
.credential-pills{
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid rgba(251,248,242,0.14);
}
.credential-pill{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.88rem;
  color: rgba(251,248,242,0.8);
}
.credential-pill svg{ width: 15px; height: 15px; stroke: var(--gold-bright); flex-shrink: 0; }

.pull-quote{
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--ink);
  border-right: 3px solid var(--gold);
  padding-right: 20px;
  margin: 30px 0;
}

.values-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.value-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  background: var(--paper);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.value-card:hover{
  transform: translateY(-7px);
  box-shadow: 0 26px 48px -26px rgba(28,37,48,0.2), 0 14px 28px -16px rgba(198,154,78,0.3);
  border-color: var(--gold);
}
.value-icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--gold-wash), var(--gold-pale));
  border: 1px solid var(--gold-pale);
  margin-bottom: 16px;
}
.value-icon svg{ width: 22px; height: 22px; stroke: var(--gold-deep); fill: none; }
.value-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.value-card p{ font-size: 0.92rem; margin: 0; }

.capability-tags{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.capability-tags .tag-chip{
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.capability-tags .tag-chip:hover{
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--gold-wash);
}

@media (max-width: 900px){
  .about-credential{ position: static; }
}

/* ---------- contact page ---------- */

/* hero quick-action chips */
.hero-quick-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.quick-action{
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(251,248,242,0.25);
  color: var(--ivory);
  font-family: var(--font-label);
  font-size: 0.85rem;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.quick-action svg{ width: 16px; height: 16px; stroke: var(--gold-bright); flex-shrink: 0; }
.quick-action:hover{ border-color: var(--gold-bright); background: rgba(251,248,242,0.07); transform: translateY(-2px); }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
.contact-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.contact-card::before{
  content: '';
  position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
}
.contact-card .card-eyebrow{
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.field{ margin-bottom: 18px; position: relative; }
.field label{
  display: block;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field .field-icon{
  position: absolute;
  top: 41px; right: 14px;
  width: 17px; height: 17px;
  stroke: var(--ink-faint);
  pointer-events: none;
}
.field input, .field textarea{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 44px 13px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--ivory);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
}
.field textarea{ min-height: 130px; resize: vertical; padding-top: 13px; }
.field textarea + .field-icon{ top: 41px; }
.form-note{ font-size: 0.85rem; color: var(--ink-faint); margin-top: 10px; }
.form-trust{ display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.form-trust span{ display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ink-faint); }
.form-trust svg{ width: 14px; height: 14px; stroke: var(--gold-deep); flex-shrink: 0; }

.contact-methods{ display: grid; gap: 14px; margin-top: 22px; }
.contact-method{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.contact-method:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 42px -24px rgba(28,37,48,0.2), 0 12px 24px -14px rgba(198,154,78,0.32);
  border-color: var(--gold);
}
.contact-method .cm-icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--gold-wash), var(--gold-pale));
  border: 1px solid var(--gold-pale);
}
.contact-method .cm-icon svg{ width: 22px; height: 22px; stroke: var(--gold-deep); }
.contact-method .cm-body{ flex: 1; min-width: 0; }
.contact-method strong{ display: block; font-size: 1rem; }
.contact-method span{ font-size: 0.88rem; color: var(--ink-faint); }
.contact-method .cm-arrow{ width: 16px; height: 16px; stroke: var(--ink-faint); flex-shrink: 0; transition: transform .2s ease, stroke .2s ease; }
.contact-method:hover .cm-arrow{ transform: translateX(-4px); stroke: var(--gold-deep); }

.prep-panel{
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-sm);
  background: var(--gold-wash);
}
.prep-panel h3{ display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 14px; }
.prep-panel ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prep-panel li{ display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.prep-panel svg{ width: 16px; height: 16px; stroke: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }

/* ---------- faq accordion ---------- */
.faq-list{
  max-width: 760px;
  margin: 36px auto 0;
  display: grid;
  gap: 12px;
}
.faq-item{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open]{ border-color: var(--gold); box-shadow: var(--shadow-soft); }
.faq-item summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .faq-icon{
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-wash);
  transition: transform .3s ease, background .3s ease;
}
.faq-item summary .faq-icon svg{ width: 14px; height: 14px; stroke: var(--gold-deep); transition: transform .3s ease; }
.faq-item[open] summary .faq-icon{ background: var(--gold); }
.faq-item[open] summary .faq-icon svg{ transform: rotate(45deg); stroke: #2A1F1A; }
.faq-item .faq-answer{
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* next-steps strip */
.next-steps-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.next-step{ text-align: center; padding: 0 10px; }
.next-step .ns-num{
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  background: #362721;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
}
.next-step h4{ font-size: 1.02rem; margin-bottom: 6px; }
.next-step p{ font-size: 0.88rem; margin: 0; }
@media (max-width: 720px){
  .next-steps-grid{ grid-template-columns: 1fr; gap: 32px; }
}

/* whatsapp floating button */
.wa-float{
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6);
  z-index: 60;
  transition: transform .25s ease;
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width: 28px; height: 28px; fill: #fff; }

/* ---------- ledger graph (hero signature) ---------- */
.ledger-graph .lg-line{
  stroke: var(--gold);
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}
.ledger-graph.draw .lg-line{
  transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--d, 0s);
  stroke-dashoffset: 0;
}
.ledger-graph .lg-rule{ stroke: rgba(251,248,242,0.08); stroke-width: 1; }
.ledger-graph .lg-hub{ fill: var(--gold); transition: fill .25s ease; }
.ledger-graph .lg-hub-ring{ fill: none; stroke: var(--gold-bright); stroke-width: 1.4; opacity: 0.45; }
.ledger-graph .lg-node{ fill: rgba(251,248,242,0.06); stroke: var(--gold); stroke-width: 1.6; transition: transform .25s ease, stroke-width .25s ease, filter .25s ease; transform-origin: center; transform-box: fill-box; }
.ledger-graph .lg-node-dot{ fill: var(--gold-bright); }
.ledger-graph .lg-icon{
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
  pointer-events: none;
}
.ledger-graph .lg-label{
  font-family: 'Heebo', sans-serif;
  font-size: 11px;
  fill: rgba(251,248,242,0.75);
  transition: fill .25s ease;
}
.ledger-graph .lg-hub-label{
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 700;
  font-size: 20px;
  fill: var(--ink);
}
.ledger-graph a{ cursor: pointer; }
.ledger-graph a:focus-visible .lg-node,
.ledger-graph a:focus-visible .lg-hub{ outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.ledger-graph a.lg-node-link:hover .lg-node{
  transform: scale(1.12);
  stroke-width: 2.2;
  filter: drop-shadow(0 4px 12px rgba(221,176,95,0.45));
}
.ledger-graph a.lg-node-link:hover .lg-label{ fill: var(--gold-bright); }
.ledger-graph a[href="systems.html"]:hover .lg-hub{ fill: var(--gold-bright); }
@media (prefers-reduced-motion: reduce){
  .ledger-graph .lg-line{ stroke-dashoffset: 0 !important; transition: none !important; }
}

/* ---------- reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible{ opacity: 1; transform: none; }

.systems-grid .sys-card:nth-child(1){ transition-delay: .05s; }
.systems-grid .sys-card:nth-child(2){ transition-delay: .1s; }
.systems-grid .sys-card:nth-child(3){ transition-delay: .15s; }
.systems-grid .sys-card:nth-child(4){ transition-delay: .2s; }
.systems-grid .sys-card:nth-child(5){ transition-delay: .25s; }
.systems-grid .sys-card:nth-child(6){ transition-delay: .3s; }

.process-steps .process-step:nth-child(1){ transition-delay: .05s; }
.process-steps .process-step:nth-child(2){ transition-delay: .12s; }
.process-steps .process-step:nth-child(3){ transition-delay: .19s; }
.process-steps .process-step:nth-child(4){ transition-delay: .26s; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .systems-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-rail-wrap{ grid-template-columns: 1fr; }
  .process-rail{ display: none; }
  .sys-detail{ grid-template-columns: 1fr; }
  .sys-detail-visual{ order: -1; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .nav-links, .nav-cta .nav-phone{ display: none; }
  .nav-toggle{ display: block; }
  .nav.open .nav-links{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: var(--ivory);
    padding: 20px 28px 26px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .systems-grid{ grid-template-columns: 1fr; }
  .cta-banner{ padding: 38px 26px; flex-direction: column; text-align: center; }
  .footer-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: 1fr; }
  h1{ font-size: 2rem; }
  .blog-grid{ grid-template-columns: 1fr; }
}

/* ---------- blog ---------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}
.blog-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 55px -28px rgba(28,37,48,0.22), 0 16px 32px -18px rgba(198,154,78,0.28);
  border-color: var(--gold-pale);
}
.blog-card .blog-date{
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  font-weight: 600;
}
.blog-card h3{ margin: 0; font-size: 1.2rem; }
.blog-card p{ font-size: 0.94rem; margin: 0; flex: 1; }
.blog-card .blog-read{
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-deep);
}
@media (max-width: 900px){
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- article ---------- */
.article-meta{
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-label);
  font-size: 0.82rem;
  color: rgba(251,248,242,0.68);
}
.article-body{
  max-width: 68ch;
  margin: 48px auto 0;
}
.article-body p{ font-size: 1.03rem; }
.article-body h2{ font-size: 1.5rem; margin-top: 1.5em; }
.article-body h3{ font-size: 1.15rem; margin-top: 1.3em; }
.article-body ul{ margin: 0 0 1.2em; padding-inline-start: 1.4em; color: var(--ink-soft); }
.article-body li{ margin-bottom: 0.55em; }
.article-cta{
  max-width: 68ch;
  margin: 40px auto 0;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--gold-wash);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.article-cta p{ margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 620px){
  .article-cta{ flex-direction: column; align-items: flex-start; }
}

/* ---------- footer legal links ---------- */
.footer-legal{ display: flex; gap: 18px; }
.footer-legal a{ color: rgba(251,248,242,0.5); font-size: 0.85rem; transition: color .2s ease; }
.footer-legal a:hover{ color: var(--gold-bright); }

/* ---------- inline link-style button (privacy page) ---------- */
.link-btn{
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--gold-deep);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- cookie consent banner ---------- */
.cookie-banner{
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 999;
  background: var(--ink);
  color: rgba(251,248,242,0.85);
  padding: 22px 28px;
  box-shadow: 0 -12px 40px -10px rgba(0,0,0,0.35);
  transform: translateY(110%);
  transition: transform .4s ease;
}
.cookie-banner.is-visible{ transform: translateY(0); }
.cookie-banner-main{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  flex-wrap: wrap;
}
.cookie-banner-main p{ margin: 0; font-size: 0.92rem; color: rgba(251,248,242,0.8); max-width: 62ch; }
.cookie-banner-actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn{ padding: 10px 18px; font-size: 0.86rem; white-space: nowrap; }
.cookie-banner .btn-ghost{ color: rgba(251,248,242,0.85); border: 1px solid rgba(251,248,242,0.3); }
.cookie-banner .btn-ghost:hover{ border-color: var(--gold-bright); color: var(--gold-bright); }
.cookie-banner-settings{
  max-width: var(--max);
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(251,248,242,0.15);
}
.cookie-toggle-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.cookie-toggle-row + .cookie-toggle-row{ border-top: 1px solid rgba(251,248,242,0.08); }
.cookie-toggle-row strong{ display: block; font-size: 0.92rem; color: #fff; margin-bottom: 4px; }
.cookie-toggle-row p{ margin: 0; font-size: 0.82rem; color: rgba(251,248,242,0.6); max-width: 52ch; }
.cookie-switch{ position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-switch input{ opacity: 0; width: 0; height: 0; }
.cookie-switch span{
  position: absolute; inset: 0; cursor: pointer;
  background: rgba(251,248,242,0.25);
  border-radius: 999px;
  transition: background .2s ease;
}
.cookie-switch span::before{
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  right: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
}
.cookie-switch input:checked + span{ background: var(--gold); }
.cookie-switch input:checked + span::before{ transform: translateX(-20px); }
.cookie-switch--disabled span{ opacity: 0.6; cursor: default; }
@media (max-width: 720px){
  .cookie-banner-main{ flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions{ width: 100%; }
  .cookie-banner .btn{ flex: 1; text-align: center; }
}
