/* ==========================================================================
   Autiqo — homepage (v2). Loaded after styles.css on index.html / es/index.html.
   Same palette as styles.css (navy #1B2B52 + gold #D79024 family). What changes
   is structure and motion: oversized editorial type, hard offset shadows,
   cursor-origin fills, a pinned horizontal Method, live mini-demos.
   ========================================================================== */

:root{
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, Menlo, monospace;
  --ink-deep: #10192E;
  --ink-night: #0F1830;
  --ease-back: cubic-bezier(.34,1.56,.64,1);
  --r-xl: 26px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Shared type ---------- */
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:.76rem; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--gold-600);
  margin:0 0 20px;
}
.kicker::before{ content:""; width:22px; height:2px; background:currentColor; }
.kicker-light{ color:var(--gold-300); }
.kicker-ink{ color:var(--ink); }

.display-h2{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(2.3rem, 5.4vw, 4.6rem); line-height:1.02; letter-spacing:-.015em;
  max-width:16ch; margin:0;
}
.display-h2 em{ font-style:italic; font-weight:500; color:var(--gold-600); }
.method .display-h2 em, .packs-v2 .display-h2 em,
.ladder-v2 .display-h2 em{ color:var(--gold-300); }

.head-split{
  display:grid; grid-template-columns:1.35fr 1fr; gap:40px; align-items:end;
  margin-bottom:clamp(44px, 6vw, 80px);
}
.head-split-sub{ font-size:clamp(1.02rem, 1.3vw, 1.15rem); color:var(--text-body); margin:0; max-width:44ch; }

mark{ background:none; color:inherit; box-shadow:inset 0 -.38em 0 rgba(215,144,36,.45); padding:0 .06em; }

.live-dot{
  position:relative; display:inline-block; width:8px; height:8px; border-radius:50%;
  background:var(--gold-bright); flex-shrink:0;
}
.live-dot::after{
  content:""; position:absolute; inset:-4px; border-radius:50%;
  border:2px solid var(--gold-bright); animation:ping 1.6s var(--ease) infinite;
}

.v2-light{ background:var(--white); }
/* The tilted band and rotating seals bleed past the edges on purpose; clip (not
   hidden) so the sticky Method section keeps working. */
main#inicio-contenido{ overflow-x:clip; }
@media (max-width:860px){
  .head-split{ grid-template-columns:1fr; gap:20px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-v2{
  padding:clamp(150px, 19vh, 190px) 0 clamp(120px, 15vh, 160px); min-height:100vh; min-height:100svh;
  justify-content:flex-start;
}
.hero-seal{
  position:absolute; z-index:1; pointer-events:none;
  width:clamp(300px, 34vw, 540px); right:-9vw; top:-4vw;
  fill:rgba(215,144,36,.05); stroke:rgba(225,168,81,.22); stroke-width:.6;
  animation:spin 70s linear infinite;
}
.hero-seal circle{ fill:none; stroke:rgba(225,168,81,.16); stroke-dasharray:2 4; }
.hero-v2-inner{ position:relative; z-index:2; display:flex; flex-direction:column; text-align:left; }

.hero-pill{
  align-self:flex-start; display:inline-flex; align-items:center; gap:10px;
  font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold-300); margin:0;
  padding:9px 16px 9px 14px; border-radius:100px;
  border:1.5px solid rgba(225,168,81,.4); background:rgba(15,24,48,.45);
  animation:fadeUp .9s var(--ease) .1s both;
}

.hero-main{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:clamp(48px, 7vw, 110px); align-items:center;
  margin:clamp(36px, 5vh, 56px) 0 clamp(56px, 8vh, 88px);
}
.hero-display{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(3rem, min(6.2vw, 10.5vh), 6.6rem);
  line-height:1.04; letter-spacing:-.018em; color:var(--text-on-dark); margin:0;
}
.hero-display .line{ display:block; overflow:hidden; padding:0 .12em .1em 0; margin-bottom:-.1em; }
.hero-display .line-in{ display:inline-block; animation:lineRise 1.1s var(--ease) both; }
.hero-display .line:nth-child(2) .line-in{ animation-delay:.1s; }
.hero-display .line:nth-child(3) .line-in{ animation-delay:.2s; }
.hero-display .line:nth-child(4) .line-in{ animation-delay:.3s; }
.hero-display em{ font-style:italic; font-weight:500; color:var(--gold-300); }

.rotator{ position:relative; display:inline-block; color:var(--gold-bright); padding-right:.04em; }
.rotator-word{ display:inline-block; }
.rotator-word.is-out{ animation:wordOut .42s var(--ease) forwards; }
.rotator-word.is-in{ animation:wordIn .6s var(--ease) forwards; }
.rotator::after{
  content:""; position:absolute; left:0; right:.04em; bottom:.04em; height:.06em;
  background:var(--gold-bright); border-radius:2px;
  transform-origin:left; animation:underline 2.8s var(--ease) infinite;
}

/* Live feed card */
.feed{
  width:380px; justify-self:end;
  background:var(--ink-deep); color:var(--text-on-dark);
  border:1.5px solid rgba(225,168,81,.35); border-radius:22px;
  padding:18px 18px 16px;
  box-shadow:10px 10px 0 var(--gold);
  animation:fadeUp 1s var(--ease) .55s both;
}
.feed-head{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding-bottom:14px; border-bottom:1px dashed rgba(255,255,255,.2); font-size:.86rem;
}
.feed-live{
  display:inline-flex; align-items:center; gap:9px; color:var(--gold-300);
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase;
}
.feed-title{ color:var(--text-muted-dark); }
.feed-title b{ color:var(--gold-300); font-family:var(--font-mono); font-weight:600; }
.feed-list{ height:232px; overflow:hidden; }
.feed-list li{
  display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center;
  height:58px; padding:0 2px; border-bottom:1px solid rgba(255,255,255,.08);
  font-size:.86rem; line-height:1.3;
}
.feed-list li p{ margin:0; color:var(--text-on-dark); line-height:1.3; }
.feed-list li.is-new{ animation:slideIn .7s var(--ease-back); }
.feed-list li.is-new .tag{ animation:pop .7s var(--ease-back); }
.feed-list time{ font-family:var(--font-mono); font-size:.68rem; color:var(--text-muted-dark); white-space:nowrap; }
.feed-foot{
  padding-top:12px; margin:0;
  font-family:var(--font-display); font-style:italic; font-size:1.05rem; color:var(--text-muted-dark);
}
.tag{
  min-width:42px; text-align:center; padding:5px 7px; border-radius:6px;
  font-family:var(--font-mono); font-size:.66rem; font-weight:700; letter-spacing:.08em;
  color:var(--ink);
}
.tag-wa{ background:var(--gold); }
.tag-cal{ background:var(--gold-300); }
.tag-crm{ background:var(--paper); }
.tag-fin{ background:var(--white); }
.tag-ops{ background:transparent; color:var(--gold-300); box-shadow:inset 0 0 0 1.5px var(--gold-300); }

.hero-bottom{
  padding-top:clamp(28px, 4vh, 44px); border-top:1px solid rgba(255,255,255,.12);
}
.hero-copy{
  display:flex; flex-direction:column; align-items:center; gap:32px;
  text-align:center;
  animation:fadeUp 1s var(--ease) .45s both;
}
.hero-lead{
  font-size:clamp(1.05rem, 1.4vw, 1.22rem); line-height:1.65; color:var(--text-muted-dark);
  max-width:58ch; margin:0;
}
.hero-lead mark{ color:var(--text-on-dark); }
.hero-v2 .hero-actions{ justify-content:center; margin:0; }


@media (max-width:1080px){
  .hero-main{ display:contents; }
  .hero-display{ order:1; margin:36px 0 44px; font-size:clamp(3rem, 11.5vw, 6.6rem); }
  .hero-bottom{ order:2; }
  .feed{ order:3; justify-self:auto; align-self:flex-start; margin:64px 0 0; }
}
@media (max-width:760px){
  .hero-v2{ padding:120px 0 90px; min-height:auto; }
  .feed{ width:100%; box-shadow:6px 6px 0 var(--gold); }
  .feed-list li{ font-size:.8rem; }
  .hero-seal{ width:300px; right:-140px; top:40px; }
  .hero-v2 .hero-actions .btn{ width:100%; white-space:normal; text-align:center; }
}

/* ==========================================================================
   MARQUEE BAND (tilted)
   ========================================================================== */
.band{
  position:relative; z-index:3;
  background:var(--gold); color:var(--ink);
  border-block:2px solid var(--ink);
  overflow:hidden; padding:16px 0;
  transform:rotate(-1.6deg); margin:-26px -20px 0;
}
.band-track{
  display:flex; align-items:center; gap:28px; width:max-content;
  animation:marquee 38s linear infinite;
}
.band span{
  font-family:var(--font-body); font-weight:700; font-style:normal; text-transform:uppercase;
  font-size:clamp(1.25rem, 2.7vw, 2.3rem); letter-spacing:.01em; white-space:nowrap;
}
.band i{ font-style:normal; font-size:clamp(1.2rem, 2.6vw, 2.2rem); display:inline-block; animation:spin 7s linear infinite; }

/* ==========================================================================
   WHAT WE DO — cursor-origin fill cards
   ========================================================================== */
#que-hacemos{ padding-top:clamp(110px, 13vw, 180px); }
.do-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.do-card{
  --fill:var(--gold); --fill-fg:var(--ink);
  position:relative; overflow:hidden; isolation:isolate;
  display:flex; flex-direction:column;
  min-height:380px; padding:28px 26px 30px;
  background:var(--white); color:var(--ink);
  border:2px solid var(--ink); border-radius:var(--r-xl);
  transition:transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
}
.do-card[data-fill="ink"]{ --fill:var(--ink); --fill-fg:var(--white); }
.do-card[data-fill="soft"]{ --fill:var(--gold-300); }
.do-card::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--fill);
  clip-path:circle(0% at var(--mx, 50%) var(--my, 100%));
  transition:clip-path .75s var(--ease);
}
@media (hover: hover) and (pointer: fine){
.do-card:hover::before{ clip-path:circle(150% at var(--mx, 50%) var(--my, 100%)); }
}
@media (hover: hover) and (pointer: fine){
.do-card:hover{ transform:translateY(-8px); box-shadow:8px 8px 0 var(--ink); color:var(--fill-fg); }
}
@media (hover: hover) and (pointer: fine){
.do-card[data-fill="ink"]:hover{ box-shadow:8px 8px 0 var(--gold); }
}
.do-card h3, .do-card p{ color:inherit; transition:color .4s; }
.do-num{ font-family:var(--font-mono); font-size:.8rem; font-weight:600; letter-spacing:.1em; }
.do-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:50px; height:50px; border-radius:14px; margin-top:22px;
  background:var(--gold-50); color:var(--gold-600);
  transition:transform .5s var(--ease-back), background .3s, color .3s;
}
@media (hover: hover) and (pointer: fine){
.do-card:hover .do-icon{ transform:rotate(-10deg) scale(1.08); background:rgba(255,255,255,.2); color:inherit; }
}
.do-card h3{
  font-size:clamp(1.45rem, 2.2vw, 1.95rem); line-height:1.05; letter-spacing:-.02em;
  margin:auto 0 14px; padding-top:48px;
}
.do-card p{ font-size:.97rem; line-height:1.6; margin:0; opacity:.85; }

/* Impact row */
.impact{
  margin-top:clamp(80px, 10vw, 130px);
  display:grid; grid-template-columns:1fr 2fr; gap:40px 60px;
}
.impact-head .kicker{ margin-bottom:14px; }
.impact-title{ font-size:clamp(1.6rem, 2.6vw, 2.2rem); line-height:1.1; margin:0 0 14px; }
.impact-sub{ color:var(--text-body); font-size:.98rem; margin:0; }
.impact-row{
  display:grid; grid-template-columns:repeat(2, 1fr);
  border-top:2px solid var(--ink);
}
.impact-stat{ padding:26px 24px 30px 0; border-bottom:1px solid var(--border-light); }
.impact-stat:nth-child(even){ border-left:2px solid var(--ink); padding-left:28px; }
.impact .stat-number{
  font-family:var(--font-display); font-weight:600; font-variant-numeric:tabular-nums;
  font-size:clamp(2.4rem, 4.2vw, 3.7rem); letter-spacing:-.02em; line-height:1; white-space:nowrap;
  color:var(--ink); margin:0 0 12px;
}
.impact-stat:nth-child(2) .stat-number, .impact-stat:nth-child(3) .stat-number{ color:var(--gold-600); }
.impact .stat-label{ color:var(--text-body); font-size:.93rem; margin:0; max-width:30ch; }
.impact .stats-disclaimer{ grid-column:2; text-align:left; margin:0; color:var(--text-body); }

@media (max-width:1080px){
  .do-grid{ grid-template-columns:1fr 1fr; }
  .impact{ grid-template-columns:1fr; }
  .impact .stats-disclaimer{ grid-column:1; }
}
@media (max-width:680px){
  .do-grid{ grid-template-columns:1fr; }
  .do-card{ min-height:0; }
  .do-card h3{ padding-top:32px; }
  .impact-row{ grid-template-columns:1fr; }
  .impact-stat:nth-child(even){ border-left:0; padding-left:0; }
}

/* ==========================================================================
   METHOD — pinned horizontal track on wide screens
   ========================================================================== */
.method{
  position:relative; color:var(--text-on-dark);
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(215,144,36,.16), transparent 70%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-night) 100%);
}
.method-pin{ padding:clamp(90px, 11vw, 150px) var(--gutter); max-width:var(--container); margin:0 auto; }
.method-track{ display:grid; gap:20px; }
.method-intro{ padding-bottom:28px; }
.method-intro .display-h2{ color:var(--text-on-dark); }
.method-lead{ color:var(--text-muted-dark); font-size:1.05rem; max-width:40ch; margin:22px 0 0; }
.method-hint{ display:none; }
.method-bar{ display:none; }

.method-step{
  position:relative; display:grid; grid-template-columns:auto 1fr; gap:28px;
  padding:30px; border-radius:var(--r-xl);
  background:rgba(255,255,255,.035);
  border:1.5px solid rgba(225,168,81,.22);
  transition:border-color .4s, background .4s, transform .5s var(--ease);
}
@media (hover: hover) and (pointer: fine){
.method-step:hover{ border-color:var(--gold-300); background:rgba(215,144,36,.07); }
}
.method-num{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(4.5rem, 10vw, 9rem); line-height:.8; letter-spacing:-.05em;
  color:transparent; -webkit-text-stroke:1.5px var(--gold-300);
  transition:color .4s;
}
@media (hover: hover) and (pointer: fine){
.method-step:hover .method-num{ color:var(--gold-300); }
}
.method-icon{
  display:inline-flex; width:46px; height:46px; border-radius:50%;
  align-items:center; justify-content:center; margin-bottom:18px;
  border:1.5px solid rgba(225,168,81,.4); color:var(--gold-300);
}
.method-step h3{ color:var(--text-on-dark); font-size:clamp(1.6rem, 2.6vw, 2.3rem); line-height:1.05; letter-spacing:-.02em; margin:0 0 14px; }
.method-step p{ color:var(--text-muted-dark); font-size:1rem; max-width:42ch; margin:0; }

.method.is-horizontal .method-pin{
  position:sticky; top:0; height:100vh; max-width:none; padding:0;
  overflow:hidden; display:flex; align-items:center;
}
.method.is-horizontal .method-track{
  display:flex; gap:26px; align-items:stretch; will-change:transform;
  padding:40px max(var(--gutter), calc((100vw - var(--container)) / 2 + 32px)) 0;
}
.method.is-horizontal .method-intro{
  flex:0 0 min(520px, 42vw); padding:0 40px 0 0;
  display:flex; flex-direction:column; justify-content:center;
}
.method.is-horizontal .method-hint{
  display:inline-flex; gap:14px; align-items:center; margin:36px 0 0;
  font-family:var(--font-mono); font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-300);
}
.hint-arrow{ display:inline-block; font-size:1.3rem; animation:nudge 1.4s var(--ease) infinite; }
.method.is-horizontal .method-step{
  flex:0 0 min(500px, 38vw); height:min(520px, 64vh);
  grid-template-columns:1fr; grid-template-rows:auto 1fr; padding:36px;
}
.method.is-horizontal .method-body{ align-self:end; }
.method.is-horizontal .method-step:nth-child(odd){ transform:translateY(26px); }
.method.is-horizontal .method-bar{
  display:block; position:absolute; bottom:34px;
  left:max(var(--gutter), calc((100vw - var(--container)) / 2 + 32px));
  right:max(var(--gutter), calc((100vw - var(--container)) / 2 + 32px));
  height:3px; border-radius:3px; background:rgba(255,255,255,.12); overflow:hidden;
}
.method-bar span{ display:block; height:100%; background:var(--gold); transform-origin:0 50%; transform:scaleX(0); }

@media (max-width:640px){
  .method-step{ grid-template-columns:1fr; gap:14px; padding:24px; }
}

/* ==========================================================================
   RESULTS
   ========================================================================== */
#resultados{ background:var(--paper); }
.results-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.result-card{
  position:relative; display:flex; flex-direction:column;
  padding:30px 28px; min-height:300px;
  background:var(--white); color:var(--ink);
  border:2px solid var(--ink); border-radius:var(--r-xl);
  transition:transform .5s var(--ease), box-shadow .5s var(--ease);
}
@media (hover: hover) and (pointer: fine){
.result-card:hover{ transform:translate(-4px,-6px) rotate(-.4deg); box-shadow:8px 8px 0 var(--ink); }
}
.result-card h3{ font-size:1.35rem; line-height:1.15; letter-spacing:-.01em; margin:auto 0 10px; padding-top:30px; color:inherit; }
.result-card p{ font-size:.95rem; line-height:1.6; margin:0; color:var(--text-body); }
.result-card .do-icon{ margin-top:18px; }
.result-tag{
  align-self:flex-start;
  font-family:var(--font-mono); font-size:.7rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 11px; border-radius:100px; border:1.5px solid currentColor;
}
.result-ink{ grid-row:span 2; background:var(--ink); color:var(--text-on-dark); }
.result-ink h3{ font-size:clamp(1.7rem, 2.6vw, 2.3rem); color:var(--text-on-dark); }
.result-ink p{ color:var(--text-muted-dark); }
.result-ink .result-tag{ color:var(--gold-300); }
.result-ink .do-icon{ background:rgba(215,144,36,.16); color:var(--gold-300); }
@media (hover: hover) and (pointer: fine){
.result-ink:hover{ box-shadow:8px 8px 0 var(--gold); }
}
.result-gold{ background:var(--gold); }
.result-gold p{ color:var(--ink); opacity:.85; }
.result-gold .do-icon{ background:rgba(27,43,82,.12); color:var(--ink); }
@media (max-width:1080px){
  .results-grid{ grid-template-columns:1fr 1fr; }
  .result-ink{ grid-row:auto; grid-column:span 2; min-height:0; }
}
@media (max-width:680px){
  .results-grid{ grid-template-columns:1fr; }
  .result-ink{ grid-column:auto; }
  .result-card{ min-height:0; }
}

/* ==========================================================================
   SERVICES — editorial rows on gold; each row floods navy on hover
   ========================================================================== */
.services-v3{ background:var(--gold); color:var(--ink); }
.services-v3 .display-h2, .services-v3 .display-h2 em{ color:var(--ink); }
.services-v3 .head-split-sub{ color:var(--ink); opacity:.85; }
.svc-rows{ list-style:none; margin:0; padding:0; border-top:2px solid var(--ink); }
.svc-row{ border-bottom:2px solid var(--ink); }
.svc-row a{
  position:relative; isolation:isolate; overflow:hidden;
  display:grid; grid-template-columns:64px minmax(0,1.1fr) minmax(0,1fr) 56px; gap:28px; align-items:center;
  padding:30px 20px; color:var(--ink);
  transition:color .35s var(--ease), padding .5s var(--ease);
}
.svc-row a::before{
  content:""; position:absolute; inset:0; z-index:-1; background:var(--ink);
  transform:scaleY(0); transform-origin:50% 100%;
  transition:transform .55s var(--ease);
}
.svc-row a:focus-visible::before{ transform:scaleY(1); }
.svc-row a:focus-visible{ color:var(--white); padding-left:32px; }
@media (hover: hover) and (pointer: fine){
.svc-row a:hover::before{ transform:scaleY(1); }
.svc-row a:hover{ color:var(--white); padding-left:32px; }
}
.svc-row-num{ font-family:var(--font-mono); font-size:.85rem; font-weight:600; letter-spacing:.1em; }
.svc-row-main{ display:flex; flex-direction:column; gap:8px; }
.svc-row-tag{ font-family:var(--font-mono); font-size:.68rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; opacity:.7; }
.svc-row-title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.6rem, 3vw, 2.6rem); line-height:1.02; letter-spacing:-.015em;
}
@media (hover: hover) and (pointer: fine){
.svc-row a:hover .svc-row-title{ color:var(--gold-300); }
}
.svc-row-desc{ font-size:.98rem; line-height:1.55; opacity:.85; }
.svc-row-arrow{
  width:56px; height:56px; border-radius:50%; border:2px solid currentColor;
  display:flex; align-items:center; justify-content:center;
  transform:rotate(-45deg);
  transition:transform .5s var(--ease-back), background .3s, border-color .3s, color .3s;
}
@media (hover: hover) and (pointer: fine){
.svc-row a:hover .svc-row-arrow{ transform:rotate(0); background:var(--gold); border-color:var(--gold); color:var(--ink); }
}
.svc-cta{
  margin-top:36px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  padding:26px 30px; border:2px dashed var(--ink); border-radius:var(--r-xl);
}
.svc-cta p{ margin:0; font-size:1.05rem; max-width:60ch; }
@media (max-width:860px){
  .svc-row a{ grid-template-columns:40px 1fr 44px; gap:14px 16px; padding:24px 6px; }
  .svc-row-desc{ grid-column:2 / 4; grid-row:2; }
  .svc-row-arrow{ width:44px; height:44px; grid-column:3; grid-row:1; }
  .svc-row a:focus-visible{ padding-left:14px; }
  @media (hover: hover) and (pointer: fine){
    .svc-row a:hover{ padding-left:14px; }
  }
}

/* ==========================================================================
   PORTFOLIO — filterable "packs" with live demos (dark)
   ========================================================================== */
.packs-v2{
  background:
    radial-gradient(70% 50% at 50% -10%, rgba(215,144,36,.2), transparent 62%),
    linear-gradient(180deg, var(--ink-night) 0%, var(--ink) 100%);
  color:var(--text-on-dark);
}
.packs-v2 .display-h2{ color:var(--text-on-dark); }
.packs-v2 .head-split-sub{ color:var(--text-muted-dark); }

.svc-filters{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.svc-filter{
  font-family:var(--font-body); font-size:.9rem; font-weight:600;
  padding:11px 20px; border-radius:100px; cursor:pointer;
  background:transparent; color:var(--text-on-dark);
  border:1.5px solid rgba(255,255,255,.3);
  transition:background .25s, color .25s, border-color .25s, transform .3s var(--ease-back);
}
@media (hover: hover) and (pointer: fine){
.svc-filter:hover{ border-color:var(--gold-300); transform:translateY(-2px); }
}
.svc-filter.is-active{ background:var(--white); color:var(--ink); border-color:var(--white); }

.svc-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.svc{
  --bg:var(--paper); --fg:var(--ink);
  position:relative; overflow:hidden; isolation:isolate;
  display:flex; flex-direction:column;
  padding:30px; border-radius:var(--r-xl);
  background:var(--bg); color:var(--fg);
  transition:transform .5s var(--ease), opacity .45s var(--ease), box-shadow .5s var(--ease);
}
@media (hover: hover) and (pointer: fine){
.svc:hover{ transform:translateY(-6px) rotate(-.35deg); }
}
.svc.spot::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(255,255,255,.4), transparent 60%);
  opacity:0; transition:opacity .4s;
}
@media (hover: hover) and (pointer: fine){
.svc.spot:hover::after{ opacity:1; }
}
.svc-gold{ --bg:var(--gold); }
.svc-soft{ --bg:var(--gold-300); }
.svc-ink{ --bg:#16223F; --fg:var(--text-on-dark); border:1.5px solid rgba(225,168,81,.3); }
.svc-ink.spot::after{ background:radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(215,144,36,.18), transparent 60%); }
.svc-wide{ grid-column:span 3; display:grid; grid-template-columns:1.1fr 1fr; gap:40px; padding:38px; }
.svc-main{ display:flex; flex-direction:column; }
.svc-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:24px; }
.svc-tags span{
  font-family:var(--font-mono); font-size:.68rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  border:1.5px solid currentColor; border-radius:100px; padding:4px 10px;
}
.svc-name{
  font-family:var(--font-display); font-weight:600; color:inherit;
  font-size:clamp(1.5rem, 2.2vw, 1.95rem); line-height:1.05; letter-spacing:-.015em; margin:0 0 14px;
}
.svc-wide .svc-name{ font-size:clamp(2rem, 3.8vw, 3.3rem); max-width:16ch; }
.svc-desc{ font-size:1rem; line-height:1.6; max-width:42ch; margin:0 0 22px; color:inherit; opacity:.88; }
.pack-list{ list-style:none; margin:0 0 26px; padding:0; display:grid; gap:9px; }
.pack-list li{ position:relative; padding-left:26px; font-size:.95rem; line-height:1.4; }
.pack-list li::before{
  content:""; position:absolute; left:0; top:.22em; width:15px; height:15px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' stroke='black' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' stroke='black' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.svc-foot{
  margin-top:auto; padding-top:18px; border-top:1.5px dashed currentColor;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.pack-meta{ font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
@media (hover: hover) and (pointer: fine){
.svc .btn-dark:hover{ box-shadow:4px 4px 0 var(--white); }
}
@media (hover: hover) and (pointer: fine){
.svc-paper .btn-dark:hover{ box-shadow:4px 4px 0 var(--gold); }
}
@media (hover: hover) and (pointer: fine){
.svc-ink .btn-gold:hover{ box-shadow:4px 4px 0 var(--white); }
}

.svc-outline{
  --bg:transparent; --fg:var(--text-on-dark);
  grid-column:span 3;
  display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1.2fr) auto; gap:30px; align-items:center;
  border:2px dashed rgba(255,255,255,.35);
}
@media (hover: hover) and (pointer: fine){
.svc-outline:hover{ transform:none; border-color:var(--gold); }
}
.svc-outline .svc-name, .svc-outline .svc-desc{ margin:0; }
.svc-plus{ font-size:4.4rem; line-height:1; font-weight:300; color:var(--gold); transition:transform .6s var(--ease-back); }
@media (hover: hover) and (pointer: fine){
.svc-outline:hover .svc-plus{ transform:rotate(90deg); }
}
@media (hover: hover) and (pointer: fine){
.svc-outline .btn-gold:hover{ box-shadow:5px 5px 0 var(--white); }
}

/* These cards' loops (chat, bars, checklists, quotes...) only need to play
   while the card is on screen; initDemoAnimationPausing() in main.js toggles
   .is-onscreen via IntersectionObserver, and every animated descendant is
   paused until then, instead of looping for the whole time the page is open. */
.svc-demo:not(.is-onscreen) *, .lcard-demo:not(.is-onscreen) *{ animation-play-state:paused; }

/* demo: chat */
.svc-demo{ border-radius:18px; display:flex; flex-direction:column; min-height:320px; }
.demo-chat{ background:var(--paper); color:var(--ink); border:2px solid var(--ink); overflow:hidden; }
.demo-chat-head{ display:flex; gap:12px; align-items:center; padding:12px 16px; background:var(--ink); color:var(--text-on-dark); }
.demo-chat-head small{ display:block; font-size:.74rem; color:var(--text-muted-dark); }
.demo-avatar{ width:36px; height:36px; border-radius:50%; background:var(--white); display:flex; align-items:center; justify-content:center; padding:6px; }
.demo-avatar img{ width:100%; height:100%; object-fit:contain; }
.demo-chat-body{ flex:1; display:flex; flex-direction:column; justify-content:flex-end; gap:8px; padding:16px; }
.bubble{
  max-width:82%; margin:0; padding:9px 13px; border-radius:14px;
  font-size:.88rem; line-height:1.35;
  opacity:0; transform:translateY(10px) scale(.96);
  animation:12s var(--ease) infinite;
}
.bubble-in{ align-self:flex-start; background:var(--white); border-bottom-left-radius:4px; box-shadow:0 1px 0 var(--border-light); }
.bubble-out{ align-self:flex-end; background:var(--gold-300); border-bottom-right-radius:4px; }
.b1{ animation-name:chat1; } .b2{ animation-name:chat2; } .b3{ animation-name:chat3; } .b4{ animation-name:chat4; } .b5{ animation-name:chat5; }
.typing{ display:flex; gap:4px; padding:12px 14px; }
.typing i{ width:7px; height:7px; border-radius:50%; background:var(--ink); opacity:.4; animation:typing 1s infinite; }
.typing i:nth-child(2){ animation-delay:.15s; } .typing i:nth-child(3){ animation-delay:.3s; }

/* check mark used by the calendar toast and onboarding list */
.flow-check{
  flex-shrink:0; display:inline-block; width:20px; height:20px; border-radius:50%;
  border:1.5px solid var(--gold); position:relative;
}
.flow-check::after{
  content:""; position:absolute; left:6px; top:2.5px; width:5px; height:9px;
  border:solid var(--ink); border-width:0 2px 2px 0; transform:rotate(45deg);
}

/* demo: booking calendar */
.demo-cal{ background:var(--ink); color:var(--text-on-dark); padding:22px; gap:16px; border:2px solid var(--ink); }
.demo-cal-head{ display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:.9rem; }
.demo-cal-head span{ display:inline-flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-300); }
.demo-cal-grid{ flex:1; display:grid; grid-template-columns:repeat(5, 1fr); grid-auto-rows:1fr; gap:8px; }
.cal-day{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted-dark); text-align:center; align-self:end; padding-bottom:2px; }
.demo-cal-grid i{ min-height:38px; border-radius:10px; border:1.5px dashed rgba(255,255,255,.18); }
.demo-cal-grid i.is-taken{ border:0; background:rgba(255,255,255,.1); }
.demo-cal-grid i.bk{ animation:calBook 10s var(--ease) infinite; }
.bk2{ animation-delay:1.8s !important; } .bk3{ animation-delay:3.6s !important; } .bk4{ animation-delay:5.4s !important; }
.demo-cal-toast{
  margin:0; display:flex; align-items:center; gap:10px; align-self:flex-start;
  padding:9px 14px; border-radius:100px; background:var(--white); color:var(--ink);
  font-size:.85rem; font-weight:600;
  animation:toast 10s var(--ease) infinite; animation-delay:5.6s; opacity:0;
}
.demo-cal-toast .flow-check{ background:var(--gold); }

/* demo: lead pipeline */
.pipeline{
  position:relative; display:grid; grid-template-columns:repeat(4, 1fr);
  margin:0 0 24px; padding-top:22px;
  font-family:var(--font-mono); font-size:.64rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
}
.pipeline::before{ content:""; position:absolute; left:6px; right:6px; top:6px; height:2px; background:var(--ink); opacity:.25; }
.pipeline span{ position:relative; }
.pipeline span::before{ content:""; position:absolute; left:0; top:-21px; width:12px; height:12px; border-radius:50%; background:var(--paper); border:2px solid var(--ink); }
.pipeline-dot{ position:absolute; top:1px; left:0; width:12px; height:12px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(215,144,36,.3); animation:pipe 5s var(--ease) infinite; }

/* demo: bars (reports) */
.demo-bars{ display:flex; align-items:flex-end; gap:8px; height:84px; margin:0 0 24px; padding-bottom:2px; border-bottom:2px solid rgba(225,168,81,.45); }
.demo-bars i{
  flex:1; border-radius:6px 6px 0 0; background:rgba(255,255,255,.16);
  transform-origin:bottom; animation:barGrow 5s var(--ease) infinite;
}
.demo-bars i:nth-child(1){ height:34%; }
.demo-bars i:nth-child(2){ height:48%; animation-delay:.1s; }
.demo-bars i:nth-child(3){ height:40%; animation-delay:.2s; }
.demo-bars i:nth-child(4){ height:58%; animation-delay:.3s; }
.demo-bars i:nth-child(5){ height:66%; animation-delay:.4s; }
.demo-bars i:nth-child(6){ height:80%; animation-delay:.5s; background:var(--gold-300); }
.demo-bars i:nth-child(7){ height:96%; animation-delay:.6s; background:var(--gold); }

/* demo: onboarding checklist */
.demo-checks{ list-style:none; margin:0 0 24px; padding:0; display:grid; gap:8px; }
.demo-checks li{
  display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:12px;
  background:var(--white); border:1.5px solid var(--border-light); font-size:.9rem; font-weight:600;
  animation:checkRow 7.5s var(--ease) infinite;
}
.demo-checks li .flow-check{ animation:checkTick 7.5s var(--ease) infinite; }
.demo-checks li:nth-child(2), .demo-checks li:nth-child(2) .flow-check{ animation-delay:1.1s; }
.demo-checks li:nth-child(3), .demo-checks li:nth-child(3) .flow-check{ animation-delay:2.2s; }

/* filters hide (not just dim) the cards that don't match */
.svc.is-hidden{ display:none; }
.svc.is-shown{ animation:svcIn .55s var(--ease) both; }

/* demo: quote */
.demo-quote{
  position:relative; margin:0 0 24px; padding:14px 16px 12px; border-radius:12px;
  background:var(--paper); color:var(--ink);
}
.demo-quote p{
  display:flex; justify-content:space-between; gap:10px; margin:0; padding:6px 0;
  font-size:.86rem; line-height:1.3; border-bottom:1px dashed var(--border-light);
  animation:quoteRow 8s var(--ease) infinite;
}
.demo-quote p:nth-child(2){ animation-delay:.5s; }
.demo-quote p.dq-total{ border-bottom:0; font-weight:700; animation-delay:1s; }
.dq-stamp{
  position:absolute; right:14px; bottom:-12px; padding:5px 12px; border-radius:8px;
  background:var(--gold); color:var(--ink); border:2px solid var(--ink);
  font-family:var(--font-mono); font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  transform:rotate(-6deg); opacity:0; animation:stamp 8s var(--ease-back) infinite;
}

/* demo: rows whose status flips (reactivation, tasks, invoices) */
.demo-rows{ list-style:none; margin:0 0 24px; padding:0; display:grid; gap:8px; }
.demo-rows li{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:9px 12px; border-radius:12px; background:rgba(255,255,255,.55);
  font-size:.86rem; font-weight:600; line-height:1.25;
}
.svc-ink .demo-rows li{ background:rgba(255,255,255,.07); }
.dr-name{ display:flex; align-items:center; gap:8px; min-width:0; }
.dr-name small{ font-weight:500; opacity:.65; }
.dr-av{
  flex-shrink:0; display:inline-grid; place-items:center; width:26px; height:26px; border-radius:50%;
  background:var(--ink); color:var(--gold-300); font-size:.62rem; font-weight:700; letter-spacing:.02em;
}
.dr-status{ position:relative; flex-shrink:0; display:grid; }
.dr-status em, .dr-status strong{
  grid-area:1 / 1; justify-self:end; padding:3px 9px; border-radius:100px;
  font-family:var(--font-mono); font-size:.62rem; font-style:normal; font-weight:700; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap;
  animation:9s var(--ease) infinite;
}
.dr-status em{ border:1.5px solid currentColor; opacity:.7; animation-name:statusOut; }
.dr-status strong{ background:var(--ink); color:var(--gold-300); opacity:0; animation-name:statusIn; }
.demo-rows li:nth-child(2) .dr-status em, .demo-rows li:nth-child(2) .dr-status strong{ animation-delay:1.2s; }
.demo-rows li:nth-child(3) .dr-status em, .demo-rows li:nth-child(3) .dr-status strong{ animation-delay:2.4s; }

/* demo: star rating */
.demo-stars{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:0 0 24px; }
.ds-stars{ display:flex; gap:4px; font-size:1.7rem; line-height:1; }
.ds-stars i{ font-style:normal; color:rgba(255,255,255,.18); animation:starOn 7s var(--ease-back) infinite; }
.ds-stars i:nth-child(2){ animation-delay:.2s; } .ds-stars i:nth-child(3){ animation-delay:.4s; }
.ds-stars i:nth-child(4){ animation-delay:.6s; } .ds-stars i:nth-child(5){ animation-delay:.8s; }
.ds-note{
  padding:5px 11px; border-radius:100px; background:var(--white); color:var(--ink);
  font-size:.78rem; font-weight:600; opacity:0; animation:toast 7s var(--ease) infinite; animation-delay:1.2s;
}

/* demo: stock levels */
.demo-stock{ position:relative; display:grid; gap:10px; margin:0 0 24px; padding-bottom:44px; }
.demo-stock p{ display:grid; grid-template-columns:78px minmax(0,1fr); align-items:center; gap:10px; margin:0; font-size:.82rem; font-weight:600; }
.demo-stock b{ display:block; height:9px; border-radius:9px; background:var(--border-light); overflow:hidden; }
.demo-stock i{ display:block; height:100%; border-radius:inherit; background:var(--ink); transform-origin:0 50%; }
.demo-stock p:nth-child(1) i{ width:78%; }
.demo-stock p:nth-child(2) i{ width:56%; }
.demo-stock p.is-low i{ width:70%; animation:stockDrop 8s var(--ease) infinite; }
.dst-toast{
  position:absolute; left:0; bottom:0; display:flex; align-items:center; gap:10px;
  padding:7px 13px; border-radius:100px; background:var(--ink); color:var(--white);
  font-size:.8rem; font-weight:600; opacity:0; animation:toast 8s var(--ease) infinite; animation-delay:2.6s;
}
.dst-toast .flow-check{ background:var(--gold); }

@keyframes svcIn{ from{ opacity:0; transform:translateY(18px) scale(.98); } to{ opacity:1; transform:none; } }
@keyframes quoteRow{ 0%, 4%{ opacity:0; transform:translateY(6px); } 10%, 86%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; } }
@keyframes stamp{ 0%, 26%{ opacity:0; transform:rotate(-6deg) scale(1.8); } 32%, 86%{ opacity:1; transform:rotate(-6deg) scale(1); } 94%, 100%{ opacity:0; transform:rotate(-6deg) scale(1); } }
@keyframes statusOut{ 0%, 14%{ opacity:.7; transform:none; } 20%, 86%{ opacity:0; transform:translateY(-6px); } 94%, 100%{ opacity:.7; transform:none; } }
@keyframes statusIn{ 0%, 14%{ opacity:0; transform:translateY(6px) scale(.9); } 20%, 86%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; } }
@keyframes starOn{ 0%, 6%{ color:rgba(255,255,255,.18); transform:scale(1); } 12%{ color:var(--gold-bright); transform:scale(1.3); } 18%, 86%{ color:var(--gold-bright); transform:scale(1); } 94%, 100%{ color:rgba(255,255,255,.18); transform:scale(1); } }
@keyframes stockDrop{
  0%, 10%{ transform:scaleX(1); background:var(--ink); }
  30%, 38%{ transform:scaleX(.16); background:var(--ink); }
  42%, 70%{ transform:scaleX(.16); background:var(--gold); }
  84%, 100%{ transform:scaleX(1); background:var(--ink); }
}

@media (max-width:1080px){
  .svc-grid{ grid-template-columns:1fr 1fr; }
  .svc-wide, .svc-outline{ grid-column:span 2; }
}
@media (max-width:760px){
  .svc-grid{ grid-template-columns:1fr; }
  .svc-wide, .svc-outline{ grid-column:auto; grid-template-columns:1fr; padding:26px; gap:26px; }
  .svc-outline{ justify-items:start; }
  .svc{ padding:26px; }
}
/* ==========================================================================
   BLOG PREVIEW — bordered, hard-shadow cards
   ========================================================================== */
#blog-preview .blog-preview-featured,
#blog-preview .blog-preview-row{
  border:2px solid var(--ink); border-radius:var(--r-xl);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
#blog-preview .blog-preview-featured{ background:var(--ink); }
#blog-preview .blog-preview-featured h3{ color:var(--text-on-dark); font-size:clamp(1.6rem, 2.6vw, 2.3rem); line-height:1.1; }
#blog-preview .blog-preview-featured > p, #blog-preview .blog-preview-featured .blog-meta{ color:var(--text-muted-dark); }
#blog-preview .blog-preview-featured .blog-kicker{ color:var(--gold-300); }
@media (hover: hover) and (pointer: fine){
#blog-preview .blog-preview-featured:hover{ transform:translate(-4px,-4px); box-shadow:8px 8px 0 var(--gold); }
}
@media (hover: hover) and (pointer: fine){
#blog-preview .blog-preview-row:hover{ transform:translate(-4px,-4px); box-shadow:8px 8px 0 var(--ink); border-color:var(--ink); }
}
#blog-preview .blog-kicker{ font-family:var(--font-mono); }

/* ==========================================================================
   HOW TO WORK WITH US — express → personalized → implementation
   Three cards that stack on scroll (desktop): each new one slides over the
   previous, which sinks back and dims (main.js feeds --cover 0 → 1). A sticky
   rail on the left tracks which step you're on.
   ========================================================================== */
.ladder-v2{
  background:
    radial-gradient(60% 45% at 85% 0%, rgba(215,144,36,.2), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-night) 100%);
  color:var(--text-on-dark);
}
/* .section clips with overflow:hidden, which would break the sticky cards; clip does not */
.ladder-v2{ overflow:clip; }
.ladder-v2 .display-h2{ color:var(--text-on-dark); }
.ladder-v2 .head-split-sub{ color:var(--text-muted-dark); }

.ladder{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:clamp(28px, 4vw, 56px); align-items:start; }

/* rail */
.ladder-rail{ position:sticky; top:130px; display:flex; flex-direction:column; gap:34px; padding:4px 0 4px 36px; }
.ladder-line{ position:absolute; left:9px; top:14px; bottom:14px; width:2px; border-radius:2px; background:rgba(255,255,255,.14); overflow:hidden; }
.ladder-line i{ display:block; height:100%; background:var(--gold); transform-origin:50% 0; transform:scaleY(var(--lp, 0)); transition:transform .6s var(--ease); }
.ladder-step{ position:relative; display:block; color:var(--text-muted-dark); text-decoration:none; transition:color .35s var(--ease), transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine){
.ladder-step:hover{ color:var(--text-on-dark); transform:translateX(4px); }
}
.ladder-step.is-active{ color:var(--text-on-dark); }
.ls-dot{
  position:absolute; left:-36px; top:2px; width:20px; height:20px; border-radius:50%;
  background:var(--ink); border:2px solid rgba(255,255,255,.3);
  transition:background .4s, border-color .4s, transform .5s var(--ease-back), box-shadow .4s;
}
.ladder-step.is-done .ls-dot{ background:var(--gold); border-color:var(--gold); }
.ladder-step.is-active .ls-dot{ background:var(--gold); border-color:var(--gold); transform:scale(1.2); box-shadow:0 0 0 7px rgba(215,144,36,.2); }
.ls-text{ display:block; font-family:var(--font-display); font-size:1.15rem; font-weight:600; line-height:1.2; }
.ls-text small{ display:block; margin-bottom:6px; font-family:var(--font-mono); font-size:.64rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-300); }

/* cards */
.ladder-cards{ display:flex; flex-direction:column; gap:28px; }
.lcard{
  --lc-bg:var(--paper); --lc-fg:var(--ink); --lc-shadow:var(--gold);
  position:relative; isolation:isolate;
  display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(24px, 3vw, 44px);
  padding:clamp(26px, 3vw, 40px); border-radius:var(--r-xl);
  background:var(--lc-bg); color:var(--lc-fg);
  box-shadow:10px 10px 0 var(--lc-shadow);
  transform-origin:50% 0;
  scroll-margin-top:120px;
}
.lcard::after{
  content:""; position:absolute; inset:0; z-index:5; border-radius:inherit; pointer-events:none;
  background:var(--ink-night); opacity:calc(var(--cover, 0) * .5);
}
.lcard-personal{ --lc-bg:var(--gold); --lc-shadow:var(--white); }
.lcard-flagship{ --lc-bg:#16223F; --lc-fg:var(--text-on-dark); border:2px solid var(--gold); }

.lcard-body{ display:flex; flex-direction:column; min-width:0; }
.lcard-builds{
  align-self:flex-start; display:inline-flex; align-items:center; gap:8px; margin:0 0 16px;
  padding:6px 12px; border-radius:100px; border:1.5px dashed currentColor;
  font-family:var(--font-mono); font-size:.66rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; line-height:1.3;
}
.lcard-builds span{ font-size:1rem; line-height:1; }
.lcard-flagship .lcard-builds{ color:var(--gold-300); }
.lcard-eyebrow{
  display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0 0 12px;
  font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; line-height:1.3;
}
.lcard-express .lcard-eyebrow{ color:var(--gold-600); }
.lcard-flagship .lcard-eyebrow{ color:var(--gold-300); }
.lcard-num{
  display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%;
  background:var(--lc-fg); color:var(--lc-bg); font-family:var(--font-display); font-size:1rem; letter-spacing:0;
}
.lcard-flagship .lcard-num{ background:var(--gold); color:var(--ink); }
.lcard-badge{ padding:5px 11px; border-radius:100px; background:var(--gold); color:var(--ink); letter-spacing:.08em; }
.lcard h3{
  font-size:clamp(1.9rem, 3.1vw, 2.7rem); line-height:1.02; letter-spacing:-.02em;
  margin:0 0 14px; color:inherit;
}
.lcard-lead{ font-size:.97rem; line-height:1.6; margin:0 0 20px; max-width:54ch; color:inherit; opacity:.88; }
.lcard-checks{ list-style:none; margin:0 0 22px; padding:0; display:grid; gap:9px; }
.lcard-checks li{ position:relative; padding-left:28px; font-size:.93rem; line-height:1.45; }
.lcard-checks li::before{
  content:""; position:absolute; left:0; top:.12em; width:18px; height:18px; border-radius:50%;
  background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' stroke='%231B2B52' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.lcard-personal .lcard-checks li::before{
  background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' stroke='%23E1A851' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.lcard-foot{
  margin-top:auto; padding-top:20px; border-top:1.5px dashed currentColor;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.lcard-flagship .lcard-foot{ border-top-color:rgba(255,255,255,.22); }
.lcard-price{ margin:0; font-family:var(--font-display); font-size:1.25rem; font-weight:600; line-height:1.1; color:inherit; }
.lcard-price small{ display:block; margin-bottom:5px; font-family:var(--font-mono); font-size:.64rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; opacity:.7; }
.lcard-flagship .lcard-price small{ color:var(--gold-300); opacity:1; }
.lcard-price b{ font-size:clamp(2.3rem, 3.4vw, 3rem); letter-spacing:-.03em; }
.lcard .btn{ white-space:normal; }
@media (hover: hover) and (pointer: fine){
.lcard-express .btn-gold:hover{ box-shadow:5px 5px 0 var(--ink); }
}
@media (hover: hover) and (pointer: fine){
.lcard-personal .btn-dark:hover{ box-shadow:5px 5px 0 var(--white); }
}
@media (hover: hover) and (pointer: fine){
.lcard-flagship .btn-gold:hover{ box-shadow:5px 5px 0 var(--white); }
}

/* demo panels */
.lcard-demo{ min-width:0; border-radius:18px; padding:22px; display:flex; flex-direction:column; gap:14px; }
.dd-head, .dsn-head, .di-head{
  display:flex; align-items:center; gap:10px; margin:0;
  font-family:var(--font-mono); font-size:.66rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; line-height:1.3;
  color:var(--gold-300);
}

/* 1 · AI diagnosis */
.demo-diag{ background:var(--ink); color:var(--text-on-dark); justify-content:center; }
.dd-bars{ list-style:none; margin:4px 0 0; padding:0; display:grid; gap:12px; }
.dd-bars li{ display:grid; gap:6px; font-size:.84rem; }
.dd-bars b{ display:block; height:8px; border-radius:8px; background:rgba(255,255,255,.12); overflow:hidden; }
.dd-bars i{
  display:block; height:100%; width:var(--w, 50%); border-radius:inherit; background:var(--gold-300);
  transform-origin:0 50%; animation:ddFill 9s var(--ease) infinite;
}
.dd-bars li:nth-child(1) i{ --w:64%; }
.dd-bars li:nth-child(2) i{ --w:48%; animation-delay:.15s; }
.dd-bars li:nth-child(3) i{ --w:22%; animation-delay:.3s; }
.dd-bars li:nth-child(4) i{ --w:72%; animation-delay:.45s; }
.dd-bars li:nth-child(5) i{ --w:56%; animation-delay:.6s; }
.dd-bars li.is-key span{ animation:ddKeyText 9s var(--ease) infinite; }
.dd-bars li.is-key i{ animation-name:ddKey; }
.dd-result{
  margin:6px 0 0; align-self:flex-start; display:flex; align-items:center; gap:10px;
  padding:9px 14px; border-radius:100px; background:var(--white); color:var(--ink); font-size:.86rem;
  opacity:0; animation:ddPop 9s var(--ease) infinite;
}
.dd-result .flow-check{ background:var(--gold); }
.dd-plan{
  margin:0; align-self:flex-start; padding:7px 12px; border-radius:8px; border:1.5px dashed var(--gold-300);
  font-family:var(--font-mono); font-size:.68rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-300);
  opacity:0; animation:ddPop 9s var(--ease) infinite; animation-delay:.7s;
}

/* 2 · one-on-one session */
.demo-session{ background:var(--ink); color:var(--text-on-dark); justify-content:center; }
.dsn-people{ display:flex; align-items:center; gap:14px; padding:6px 0; }
.dsn-av{
  flex-shrink:0; width:54px; height:54px; border-radius:50%; display:grid; place-items:center;
  background:var(--gold-300); color:var(--ink); font-size:.9rem; font-weight:700;
}
.dsn-us{ background:var(--white); padding:11px; }
.dsn-us img{ width:100%; height:100%; object-fit:contain; }
.dsn-wave{ flex:1; height:42px; display:flex; align-items:center; justify-content:center; gap:6px; }
.dsn-wave i{ width:4px; height:100%; border-radius:4px; background:var(--gold); transform:scaleY(.25); animation:wave 1.3s ease-in-out infinite; }
.dsn-wave i:nth-child(2){ animation-delay:.12s; } .dsn-wave i:nth-child(3){ animation-delay:.24s; }
.dsn-wave i:nth-child(4){ animation-delay:.36s; } .dsn-wave i:nth-child(5){ animation-delay:.48s; }
.dsn-wave i:nth-child(6){ animation-delay:.6s; }  .dsn-wave i:nth-child(7){ animation-delay:.72s; }
.dsn-agenda{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.dsn-agenda li{
  display:flex; align-items:center; gap:12px; padding:10px 14px; border-radius:12px;
  background:rgba(255,255,255,.05); border:1.5px solid rgba(255,255,255,.12);
  font-size:.88rem; font-weight:600; line-height:1.3;
  animation:agendaRow 9s var(--ease) infinite;
}
.dsn-agenda li .flow-check{ animation:agendaTick 9s var(--ease) infinite; }
.dsn-agenda li:nth-child(2), .dsn-agenda li:nth-child(2) .flow-check{ animation-delay:1.4s; }
.dsn-agenda li:nth-child(3), .dsn-agenda li:nth-child(3) .flow-check{ animation-delay:2.8s; }
.dsn-agenda li:nth-child(4), .dsn-agenda li:nth-child(4) .flow-check{ animation-delay:4.2s; }

/* 3 · implementation scope (real content: a highlight sweeps down the list) */
.demo-impl{ background:rgba(255,255,255,.04); border:1.5px solid rgba(225,168,81,.28); }
.di-bar{ flex:1; height:4px; border-radius:4px; background:rgba(255,255,255,.12); overflow:hidden; }
.di-bar i{ display:block; height:100%; background:var(--gold); transform-origin:0 50%; animation:diBar 12s linear infinite; }
.di-list{ list-style:none; margin:0; padding:0; display:grid; gap:4px; counter-reset:di; }
.di-list li{
  counter-increment:di; display:flex; align-items:baseline; gap:12px;
  padding:7px 10px; border-radius:10px; font-size:.88rem; line-height:1.35; color:var(--text-on-dark);
  animation:diRow 12s var(--ease) infinite;
}
.di-list li::before{ content:counter(di, decimal-leading-zero); min-width:20px; font-family:var(--font-mono); font-size:.68rem; color:var(--gold-300); }
.di-list li:nth-child(2){ animation-delay:1.15s; }  .di-list li:nth-child(3){ animation-delay:2.3s; }
.di-list li:nth-child(4){ animation-delay:3.45s; }  .di-list li:nth-child(5){ animation-delay:4.6s; }
.di-list li:nth-child(6){ animation-delay:5.75s; }  .di-list li:nth-child(7){ animation-delay:6.9s; }
.di-list li:nth-child(8){ animation-delay:8.05s; }  .di-list li:nth-child(9){ animation-delay:9.2s; }
.di-list li:nth-child(10){ animation-delay:10.35s; }

/* Stacking only where every card fits on screen */
@media (min-width:1081px) and (min-height:860px){
  .ladder-cards{ gap:22vh; }
  .lcard{ position:sticky; top:calc(118px + var(--i, 0) * 24px); transform:scale(calc(1 - var(--cover, 0) * .05)); }
  .lcard-personal{ --i:1; }
  .lcard-flagship{ --i:2; }
}
@media (max-width:1080px){
  .ladder{ grid-template-columns:minmax(0,1fr); }
  .ladder-rail{ display:none; }
}
@media (max-width:900px){
  .lcard{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:680px){
  .lcard{ padding:24px 20px; box-shadow:6px 6px 0 var(--lc-shadow); }
  .lcard-demo{ padding:18px; }
  .lcard .btn{ width:100%; }
}

@keyframes ddFill{ 0%{ transform:scaleX(0); } 22%, 88%{ transform:scaleX(1); } 100%{ transform:scaleX(0); } }
@keyframes ddKey{
  0%{ transform:scaleX(0); background:var(--gold-300); }
  22%, 34%{ transform:scaleX(1); background:var(--gold-300); }
  40%, 88%{ transform:scaleX(1); background:var(--gold-bright); }
  100%{ transform:scaleX(0); background:var(--gold-300); }
}
@keyframes ddKeyText{ 0%, 34%{ color:inherit; } 40%, 88%{ color:var(--gold-bright); } 100%{ color:inherit; } }
@keyframes ddPop{ 0%, 40%{ opacity:0; transform:translateY(8px); } 46%, 88%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; transform:translateY(-4px); } }
@keyframes wave{ 0%, 100%{ transform:scaleY(.25); } 50%{ transform:scaleY(1); } }
@keyframes agendaRow{
  0%, 6%{ border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.05); }
  12%, 72%{ border-color:var(--gold); background:rgba(215,144,36,.12); }
  86%, 100%{ border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.05); }
}
@keyframes agendaTick{ 0%, 6%{ background:transparent; } 12%, 72%{ background:var(--gold); } 86%, 100%{ background:transparent; } }
@keyframes diBar{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
@keyframes diRow{
  0%{ background:transparent; transform:none; }
  3%, 8%{ background:rgba(215,144,36,.2); transform:translateX(6px); }
  14%, 100%{ background:transparent; transform:none; }
}

/* ==========================================================================
   FAQ — sticky heading + ruled list
   ========================================================================== */
.faq-layout{ display:grid; grid-template-columns:1fr 1.35fr; gap:clamp(30px, 6vw, 90px); align-items:start; }
.faq-head{ position:sticky; top:120px; }
.faq-head p{ color:var(--text-body); margin:22px 0 0; }
.faq-v2 .faq-list{ gap:0; border-top:2px solid var(--ink); }
.faq-v2 .faq-item{
  border:0; border-bottom:2px solid var(--ink); border-radius:0; padding:0;
  background:transparent; box-shadow:none;
}
.faq-v2 .faq-item.is-open{ background:transparent; box-shadow:none; }
.faq-v2 .faq-trigger{
  padding:26px 0; gap:20px;
  font-family:var(--font-display); font-size:clamp(1.15rem, 1.8vw, 1.45rem); font-weight:600; letter-spacing:-.01em;
  transition:color .25s, padding .35s var(--ease);
}
@media (hover: hover) and (pointer: fine){
.faq-v2 .faq-trigger:hover{ color:var(--gold-600); padding-left:10px; }
}
.faq-plus{
  position:relative; flex:0 0 40px; height:40px; border-radius:50%; border:2px solid var(--ink);
  transition:transform .45s var(--ease-back), background .25s;
}
.faq-plus::before, .faq-plus::after{
  content:""; position:absolute; left:50%; top:50%; width:14px; height:2px; background:var(--ink);
  transform:translate(-50%,-50%);
}
.faq-plus::after{ transform:translate(-50%,-50%) rotate(90deg); }
.faq-item.is-open .faq-plus{ transform:rotate(45deg); background:var(--gold); }
.faq-v2 .faq-item p{ padding:0 56px 26px 0; font-size:1rem; line-height:1.7; }
@media (max-width:860px){
  .faq-layout{ grid-template-columns:1fr; }
  .faq-head{ position:static; }
  .faq-v2 .faq-item p{ padding-right:0; }
}

/* ==========================================================================
   CONTACT — gold, giant title
   ========================================================================== */
#contacto.contact-v2{ background:var(--gold); color:var(--ink); border-top:2px solid var(--ink); }
#contacto.contact-v2::before{ display:none; }
.contact-seal{
  position:absolute; width:clamp(260px, 36vw, 520px); right:-8vw; top:-8vw;
  fill:none; stroke:var(--ink); stroke-width:.8; opacity:.35;
  animation:spin 40s linear infinite reverse; pointer-events:none;
}
#contacto .contact-giant, .contact-giant{
  font-family:var(--font-display); font-weight:600; color:var(--ink);
  font-size:clamp(3.8rem, 13vw, 12rem); line-height:.85; letter-spacing:-.05em;
  margin:0 0 clamp(40px, 6vw, 80px);
}
.contact-giant > span{ display:inline-block; }
.contact-giant em{ font-style:italic; font-weight:500; }
.contact-v2 .contact-grid{ align-items:start; }
.contact-title{ font-size:clamp(1.6rem, 2.6vw, 2.2rem); line-height:1.12; color:var(--ink); margin:0 0 16px; }
#contacto.contact-v2 .contact-lead{ color:var(--ink); opacity:.85; }
.contact-v2 .testimonial-card{ background:rgba(255,255,255,.35); border:2px solid var(--ink); }
@media (hover: hover) and (pointer: fine){
.contact-v2 .testimonial-card:hover{ background:rgba(255,255,255,.55); border-color:var(--ink); }
}
.contact-v2 .testimonial-stars{ color:var(--ink); }
.contact-v2 .testimonial-quote, .contact-v2 .testimonial-meta strong{ color:var(--ink); }
.contact-v2 .testimonial-meta{ color:var(--ink); opacity:.8; }

.contact-v2 .contact-form{
  background:var(--white); backdrop-filter:none; -webkit-backdrop-filter:none;
  border:2px solid var(--ink); border-radius:var(--r-xl);
  box-shadow:12px 12px 0 var(--ink);
}
.contact-v2 .contact-form label, .contact-v2 .consent-field, .contact-v2 .form-note{ color:var(--ink); }
.contact-v2 .consent-field a{ color:var(--gold-600); }
@media (hover: hover) and (pointer: fine){
.contact-v2 .btn-dark:hover{ box-shadow:5px 5px 0 var(--gold); }
}

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes lineRise{ from{ transform:translateY(108%); } to{ transform:none; } }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(28px); } to{ opacity:1; transform:none; } }
@keyframes wordOut{ to{ opacity:0; transform:translateY(-55%) rotate(-4deg); filter:blur(6px); } }
@keyframes wordIn{ from{ opacity:0; transform:translateY(55%) rotate(4deg); filter:blur(6px); } to{ opacity:1; transform:none; filter:none; } }
@keyframes underline{
  0%{ transform:scaleX(0); transform-origin:left; }
  45%, 80%{ transform:scaleX(1); transform-origin:left; }
  81%{ transform-origin:right; }
  100%{ transform:scaleX(0); transform-origin:right; }
}
@keyframes ping{ 0%{ transform:scale(.6); opacity:1; } 100%{ transform:scale(2); opacity:0; } }
@keyframes slideIn{ from{ opacity:0; transform:translateY(-100%); } to{ opacity:1; transform:none; } }
@keyframes pop{ from{ transform:scale(.4); } to{ transform:scale(1); } }
@keyframes nudge{ 0%, 100%{ transform:translateX(0); } 50%{ transform:translateX(8px); } }
@keyframes typing{ 0%, 100%{ opacity:.25; transform:translateY(0); } 50%{ opacity:.8; transform:translateY(-3px); } }
@keyframes chat1{ 0%, 2%{ opacity:0; transform:translateY(10px) scale(.96); } 6%, 88%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; transform:translateY(-6px); } }
@keyframes chat2{ 0%, 14%{ opacity:0; transform:translateY(10px) scale(.96); } 18%, 88%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; transform:translateY(-6px); } }
@keyframes chat3{ 0%, 28%{ opacity:0; transform:translateY(10px) scale(.96); } 32%, 88%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; transform:translateY(-6px); } }
@keyframes chat4{ 0%, 40%{ opacity:0; transform:translateY(10px) scale(.96); } 44%, 88%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; transform:translateY(-6px); } }
@keyframes chat5{ 0%, 54%{ opacity:0; transform:translateY(10px) scale(.96); } 58%, 88%{ opacity:1; transform:none; } 94%, 100%{ opacity:0; transform:translateY(-6px); } }
@keyframes barGrow{ 0%{ transform:scaleY(.15); } 35%, 85%{ transform:scaleY(1); } 100%{ transform:scaleY(.15); } }
@keyframes calBook{
  0%, 8%{ background:transparent; border-color:rgba(255,255,255,.18); transform:scale(1); }
  12%{ background:var(--gold); border-color:var(--gold); transform:scale(1.12); }
  16%, 88%{ background:var(--gold); border-color:var(--gold); transform:scale(1); }
  96%, 100%{ background:transparent; border-color:rgba(255,255,255,.18); transform:scale(1); }
}
@keyframes toast{ 0%, 4%{ opacity:0; transform:translateY(10px); } 8%, 30%{ opacity:1; transform:none; } 36%, 100%{ opacity:0; transform:translateY(-6px); } }
@keyframes checkRow{ 0%, 6%{ border-color:var(--border-light); } 12%, 80%{ border-color:var(--gold); } 92%, 100%{ border-color:var(--border-light); } }
@keyframes checkTick{ 0%, 6%{ background:transparent; } 12%, 80%{ background:var(--gold); } 92%, 100%{ background:transparent; } }
@keyframes pipe{
  0%, 18%{ left:0; }
  28%, 43%{ left:25%; }
  53%, 68%{ left:50%; }
  78%, 95%{ left:75%; background:var(--ink); box-shadow:0 0 0 6px rgba(27,43,82,.2); }
  100%{ left:75%; }
}
@keyframes siSwap{ from{ opacity:0; transform:translateY(100%); } to{ opacity:1; transform:none; } }

/* ==========================================================================
   FLOW BETWEEN SECTIONS
   Every section after the hero is a rounded "sheet" that slides up over the
   previous one. As a sheet gets covered, main.js writes the sink-back
   transform/opacity straight onto its .container (see initSheetDepth) — a
   little lower, a little smaller, a little dimmer. The next section's color
   always peeks in from below, pulling the eye down.
   ========================================================================== */
:root{ --sheet-r:clamp(28px, 4vw, 56px); }
.sheet{
  position:relative; z-index:2;
  margin-top:calc(var(--sheet-r) * -1);
  border-radius:var(--sheet-r) var(--sheet-r) 0 0;
  box-shadow:0 -30px 60px -34px rgba(15,24,48,.55);
}
.sheet > .container, .hero-v2 > .hero-v2-inner{
  transform-origin:50% 100%;
}
#blog-preview{ background:var(--paper); }
#blog-preview .blog-preview-row{ background:var(--white); }

/* Second band: navy, tilted the other way, running the other direction */
.band{ z-index:5; }
.band-ink{
  background:var(--ink); color:var(--gold-300); border-color:var(--gold);
  transform:rotate(1.4deg); margin:-10px -20px -26px;
}
.band-rev{ animation-direction:reverse; animation-duration:44s; }

/* Floating "you are here" label (built by main.js from each section's kicker) */
.section-indicator{
  position:fixed; left:24px; bottom:24px; z-index:150;
  display:flex; align-items:center; gap:10px;
  padding:10px 16px 10px 12px; border-radius:100px; overflow:hidden;
  background:var(--ink); color:var(--gold-300); border:1.5px solid rgba(225,168,81,.45);
  font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  box-shadow:0 14px 30px -16px rgba(15,24,48,.6);
  opacity:0; transform:translateY(20px); pointer-events:none;
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.section-indicator.is-on{ opacity:1; transform:none; }
.section-indicator .si-bar{ width:40px; height:3px; border-radius:3px; background:rgba(255,255,255,.15); overflow:hidden; }
.section-indicator .si-bar i{ display:block; height:100%; background:var(--gold); transform-origin:0 50%; transform:scaleX(var(--si, 0)); }
.section-indicator .si-text{ display:inline-block; white-space:nowrap; }
.section-indicator .si-text.is-swap{ animation:siSwap .45s var(--ease); }
@media (max-width:1080px){ .section-indicator{ display:none; } }

/* The footer is the last sheet on the homepage */
.site-footer{
  position:relative; z-index:2;
  margin-top:calc(var(--sheet-r) * -1);
  border-radius:var(--sheet-r) var(--sheet-r) 0 0;
}

/* Centered section header (portfolio) */
.head-center{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  margin:0 auto clamp(36px, 5vw, 64px); max-width:900px;
}
.head-center .display-h2{ max-width:18ch; }
.packs-v2 .svc-filters{ justify-content:center; }

/* Contact: grid columns may never grow past the screen (the phone-country
   <select> sizes itself to its longest option otherwise) */
.contact-v2 .contact-grid{ grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); }
.contact-v2 .contact-grid > *{ min-width:0; }
.contact-v2 .phone-field select{ width:100%; }
@media (max-width:1080px){
  .contact-v2 .contact-grid{ grid-template-columns:minmax(0,1fr); gap:40px; }
}
@media (max-width:680px){
  .contact-giant{ font-size:clamp(3.4rem, 19vw, 5.5rem); margin-bottom:32px; }
  .contact-title{ font-size:1.5rem; }
  .contact-v2 .contact-form{ padding:24px 18px; gap:16px; box-shadow:6px 6px 0 var(--ink); }
  .contact-v2 .testimonial-card{ padding:16px; }
  .contact-seal{ width:220px; right:-90px; top:-60px; }
}

/* ==========================================================================
   Massachusetts section (local SEO block, sits between the services ladder
   and the FAQ)
   ========================================================================== */
#massachusetts{ background:var(--paper); }
.ma-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-top:40px; }
.ma-card{
  background:var(--white); border:1px solid rgba(27,43,82,.1); border-radius:18px; padding:28px;
}
.ma-card h3{ font-size:1.25rem; margin:0 0 10px; }
.ma-card p{ margin:0; font-size:.98rem; line-height:1.65; }
.ma-areas-label{
  margin:44px 0 14px; font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--text-body);
}
.ma-areas{ list-style:none; margin:0 0 36px; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.ma-areas li{
  padding:8px 16px; border-radius:999px; background:var(--white); border:1px solid rgba(27,43,82,.14);
  font-size:.95rem; color:var(--ink);
}
@media (max-width:900px){
  .ma-grid{ grid-template-columns:1fr; }
}
