/*
  Contafaq editorial system 2026
  Intentionally avoids generic SaaS/bento-card styling in favor of an
  asymmetric, print-inspired visual language.
*/
:root{
  --editorial-ink:#14242f;
  --editorial-ink-2:#293c49;
  --editorial-paper:#f3efe7;
  --editorial-paper-2:#fbfaf7;
  --editorial-teal:#2278B5;
  --editorial-teal-soft:#E8F2FA;
  --editorial-coral:#6EA8D2;
  --editorial-line:rgba(20,36,47,.18);
  --editorial-line-light:rgba(255,255,255,.18);
}

body.editorial-site{
  background:var(--editorial-paper-2);
  color:var(--editorial-ink);
}
body.editorial-site h1,
body.editorial-site h2,
body.editorial-site h3{color:var(--editorial-ink)}
body.editorial-site .container{width:min(1380px,calc(100% - 64px))}
body.editorial-site .section{padding:118px 0}
body.editorial-site .eyebrow{
  margin-bottom:20px;
  color:var(--editorial-teal);
  font-size:.7rem;
  letter-spacing:.2em;
}
body.editorial-site .eyebrow:before{width:34px}

/* Global shell: lighter, sharper, less app-like */
body.editorial-site .topbar{
  background:var(--editorial-paper);
  color:#617078;
  border-bottom:1px solid var(--editorial-line);
  font-size:.71rem;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body.editorial-site .topbar-inner{min-height:31px}
body.editorial-site .site-header{
  background:rgba(251,250,247,.94);
  border-bottom:1px solid var(--editorial-line);
  backdrop-filter:blur(18px);
}
body.editorial-site .navbar{height:82px}
body.editorial-site .brand img{width:190px}
body.editorial-site .nav-links{
  gap:20px;
  color:#3a4c58;
  font-size:.77rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.editorial-site .nav-links a{padding:31px 0 28px}
body.editorial-site .nav-links a:after{bottom:21px;height:1px}
body.editorial-site .btn{
  min-height:48px;
  padding:12px 20px;
  border-radius:0;
  letter-spacing:.01em;
  box-shadow:none;
}
body.editorial-site .btn:hover{transform:translateY(-1px)}
body.editorial-site .btn-primary{background:var(--editorial-teal)}
body.editorial-site .btn-primary:hover{background:#094672}
body.editorial-site .btn-quote{background:var(--editorial-ink);border-color:var(--editorial-ink)}
body.editorial-site .btn-light,
body.editorial-site .btn-outline{border-radius:0}
body.editorial-site .mobile-toggle{border-radius:0;background:transparent}

.section-number{
  display:inline-block;
  margin-bottom:18px;
  color:var(--editorial-coral);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.18em;
}
.editorial-text-link{
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin-top:25px;
  padding-bottom:6px;
  border-bottom:1px solid currentColor;
  color:var(--editorial-ink);
  font-size:.9rem;
  font-weight:760;
}
.editorial-text-link span{font-size:1.08rem;transition:transform .2s ease}
.editorial-text-link:hover span{transform:translate(3px,-3px)}

/* Hero — editorial anti-grid composition */
.editorial-hero{
  position:relative;
  overflow:hidden;
  background:var(--editorial-paper);
  border-bottom:1px solid var(--editorial-line);
}
.editorial-hero:before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:calc(50% + 210px);
  width:1px;
  background:var(--editorial-line);
}
.editorial-hero-shell{padding:31px 0 0}
.editorial-hero-topline{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:34px;
  padding:0 0 24px;
  border-bottom:1px solid var(--editorial-line);
  color:#65747a;
  font-size:.68rem;
  font-weight:730;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.editorial-hero-layout{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(430px,.78fr) 46px;
  gap:0;
  min-height:690px;
}
.editorial-hero-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:80px 76px 82px 0;
}
.hero-kicker{
  display:block;
  margin-bottom:26px;
  color:var(--editorial-teal);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.editorial-hero h1{
  display:grid;
  gap:2px;
  max-width:780px;
  font-size:clamp(3.35rem,5.25vw,5.7rem);
  line-height:.93;
  letter-spacing:-.065em;
  font-weight:780;
}
.editorial-hero h1 span{display:block}
.editorial-hero h1 em{
  display:block;
  margin-top:14px;
  color:var(--editorial-coral);
  font-family:Georgia,"Times New Roman",serif;
  font-size:.69em;
  line-height:1.05;
  letter-spacing:-.045em;
  font-weight:400;
}
.editorial-hero-lower{
  display:grid;
  grid-template-columns:minmax(0,420px) auto;
  gap:34px;
  align-items:end;
  max-width:780px;
  margin-top:37px;
  padding-top:27px;
  border-top:1px solid var(--editorial-line);
}
.editorial-hero-lower p{color:#566970;font-size:1rem;line-height:1.72}
.editorial-hero-lower .hero-actions{display:grid;gap:8px;margin:0;justify-items:start}
.editorial-hero-lower .editorial-text-link{margin-top:4px;font-size:.82rem}
.editorial-hero-photo{
  position:relative;
  align-self:center;
  z-index:2;
  margin:58px 0 58px -18px;
}
.editorial-hero-photo:before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-24px;
  right:-24px;
  width:54%;
  height:48%;
  background:var(--editorial-teal);
}
.editorial-hero-photo img{
  width:100%;
  height:520px;
  object-fit:cover;
  object-position:center;
  clip-path:polygon(0 0,100% 0,100% 88%,88% 100%,0 100%);
  filter:saturate(.86) contrast(1.02);
}
.editorial-photo-index{
  position:absolute;
  top:18px;
  left:-31px;
  z-index:3;
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  background:var(--editorial-coral);
  color:#fff;
  font-size:.75rem;
  font-weight:820;
  letter-spacing:.14em;
}
.editorial-hero-photo figcaption{
  position:absolute;
  right:0;
  bottom:0;
  width:min(330px,76%);
  padding:21px 24px 22px;
  background:var(--editorial-paper-2);
  border-left:1px solid var(--editorial-line);
  border-top:1px solid var(--editorial-line);
}
.editorial-hero-photo figcaption span{
  display:block;
  margin-bottom:7px;
  color:var(--editorial-teal);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.editorial-hero-photo figcaption strong{font-size:.92rem;line-height:1.45}
.editorial-hero-rail{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:17px;
  padding-left:18px;
  border-left:1px solid var(--editorial-line);
  color:#63737a;
  font-size:.61rem;
  font-weight:790;
  letter-spacing:.18em;
  text-transform:uppercase;
  writing-mode:vertical-rl;
}
.editorial-hero-rail i{width:1px;height:20px;background:var(--editorial-line)}
.editorial-hero-metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:0 -32px;
  border-top:1px solid var(--editorial-line);
  background:var(--editorial-paper-2);
}
.editorial-hero-metrics>div{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:center;
  min-height:104px;
  padding:20px 32px;
  border-right:1px solid var(--editorial-line);
}
.editorial-hero-metrics>div:last-child{border-right:0}
.editorial-hero-metrics b{color:var(--editorial-teal);font-size:1.58rem;line-height:1;letter-spacing:-.04em}
.editorial-hero-metrics span{color:#5f6f75;font-size:.76rem;line-height:1.45}

/* Manifesto */
.editorial-manifesto{background:var(--editorial-paper-2)}
.editorial-manifesto-grid{
  display:grid;
  grid-template-columns:90px minmax(180px,.45fr) minmax(360px,.8fr) minmax(400px,.9fr);
  gap:44px;
  align-items:center;
}
.manifesto-index{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:0 22px 0 0;
  border-right:1px solid var(--editorial-line);
}
.manifesto-index span{color:var(--editorial-coral);font-weight:820;letter-spacing:.16em}
.manifesto-index small{color:#708087;font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;writing-mode:vertical-rl}
.manifesto-year{
  color:transparent;
  -webkit-text-stroke:1px rgba(20,36,47,.28);
  font-size:clamp(5rem,9vw,9rem);
  line-height:.75;
  font-weight:780;
  letter-spacing:-.08em;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
}
.manifesto-copy h2{max-width:650px;font-size:clamp(2.4rem,4vw,4.1rem);line-height:1.02;letter-spacing:-.055em}
.manifesto-copy p{max-width:620px;margin-top:22px;color:#5d6e74;font-size:1rem}
.manifesto-photo{position:relative;margin:0}
.manifesto-photo img{width:100%;height:560px;object-fit:cover;filter:saturate(.78)}
.manifesto-photo:after{content:"";position:absolute;left:-22px;bottom:-22px;width:120px;height:120px;border-left:1px solid var(--editorial-coral);border-bottom:1px solid var(--editorial-coral)}
.manifesto-photo figcaption{position:absolute;left:0;bottom:0;padding:15px 17px;background:rgba(20,36,47,.92);color:#fff;font-size:.75rem;letter-spacing:.04em}

/* Client logo ledger — no cards */
.logo-ledger{padding:68px 0 82px;background:var(--editorial-ink);color:#fff}
.logo-ledger-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
  padding-bottom:30px;
  border-bottom:1px solid var(--editorial-line-light);
}
.logo-ledger-head>div{display:flex;align-items:baseline;gap:24px}
.logo-ledger-head h2{color:#fff;font-size:clamp(2rem,3.5vw,3.5rem);letter-spacing:-.05em}
.logo-ledger-head p{max-width:440px;color:#bdc8cc;text-align:right}
.logo-ledger-track{
  width:min(1380px,calc(100% - 64px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  border-left:1px solid var(--editorial-line-light);
}
.logo-ledger-track figure{
  min-width:0;
  margin:0;
  padding:28px 22px 22px;
  border-right:1px solid var(--editorial-line-light);
  text-align:center;
}
.logo-ledger-track img{
  width:min(170px,100%);
  aspect-ratio:1;
  margin:0 auto;
  object-fit:contain;
  filter:grayscale(.28) saturate(.84);
  transition:filter .25s ease,transform .25s ease;
}
.logo-ledger-track figure:hover img{filter:none;transform:scale(1.035)}
.logo-ledger-track figcaption{margin-top:13px;color:#b8c5c9;font-size:.67rem;line-height:1.4;letter-spacing:.04em}

/* Team composition */
.editorial-team{background:#e7ebee}
.editorial-team-grid{
  display:grid;
  grid-template-columns:1.1fr .72fr .72fr .72fr;
  gap:24px;
  align-items:start;
}
.editorial-team-intro{padding:52px 50px 50px 0}
.editorial-team-intro h2{max-width:520px;font-size:clamp(2.6rem,4.4vw,4.5rem);line-height:1.01;letter-spacing:-.06em}
.editorial-team-intro p{max-width:500px;margin-top:24px;color:#5d6e74}
.editorial-portrait{position:relative;margin:0}
.editorial-portrait img{width:100%;height:470px;object-fit:cover;object-position:top;filter:saturate(.72) contrast(1.03)}
.editorial-portrait div{padding:15px 0 0;border-top:1px solid var(--editorial-line)}
.editorial-portrait span{display:block;margin-bottom:5px;color:var(--editorial-teal);font-size:.65rem;font-weight:790;letter-spacing:.12em;text-transform:uppercase}
.editorial-portrait h3{font-size:1.1rem}
.portrait-b{margin-top:74px}
.portrait-c{margin-top:148px}

/* Industry index */
.industry-index{background:var(--editorial-paper-2)}
.industry-index-layout{display:grid;grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr);gap:90px;align-items:start}
.industry-index-sticky{position:sticky;top:140px}
.industry-index-sticky h2{max-width:530px;font-size:clamp(2.7rem,4.2vw,4.4rem);line-height:1.02;letter-spacing:-.06em}
.industry-index-sticky p{max-width:470px;margin-top:24px}
.industry-index-list{border-top:1px solid var(--editorial-line)}
.industry-index-row{
  display:grid;
  grid-template-columns:52px minmax(220px,.85fr) minmax(220px,1fr) 28px;
  gap:24px;
  align-items:center;
  min-height:108px;
  border-bottom:1px solid var(--editorial-line);
  transition:background .2s ease,padding .2s ease;
}
.industry-index-row:hover{padding:0 18px;background:var(--editorial-paper)}
.industry-index-row>span{color:var(--editorial-coral);font-size:.7rem;font-weight:800;letter-spacing:.15em}
.industry-index-row h3{font-size:1.25rem}
.industry-index-row p{font-size:.88rem}
.industry-index-row b{font-size:1.15rem;transition:transform .2s ease}
.industry-index-row:hover b{transform:translate(3px,-3px)}

/* Process ledger */
.process-ledger{background:var(--editorial-ink);color:#fff}
.process-ledger h2,.process-ledger h3{color:#fff}
.process-ledger .eyebrow{color:#83abc7}
.process-ledger-layout{display:grid;grid-template-columns:minmax(320px,.68fr) minmax(0,1.32fr);gap:90px;align-items:start}
.process-ledger-intro{position:sticky;top:140px}
.process-ledger-intro h2{max-width:500px;font-size:clamp(2.8rem,4.7vw,4.9rem);line-height:.98;letter-spacing:-.06em}
.process-ledger-intro p{max-width:450px;margin-top:24px;color:#b8c5c9}
.light-link{color:#fff}
.process-ledger-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--editorial-line-light)}
.process-ledger-list li{
  display:grid;
  grid-template-columns:58px minmax(210px,.7fr) minmax(240px,1fr);
  gap:24px;
  align-items:center;
  min-height:96px;
  border-bottom:1px solid var(--editorial-line-light);
}
.process-ledger-list b{color:#7fa9c6;font-size:.72rem;letter-spacing:.16em}
.process-ledger-list span{font-size:1.15rem;font-weight:760}
.process-ledger-list small{color:#b8c5c9;font-size:.82rem;line-height:1.55}

/* Pricing rows, not cards */
.pricing-ledger{background:var(--editorial-paper)}
.pricing-ledger-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:46px}
.pricing-ledger-head h2{font-size:clamp(2.8rem,4.8vw,5rem);line-height:.98;letter-spacing:-.065em}
.pricing-ledger-head p{max-width:420px;text-align:right}
.pricing-ledger-table{border-top:1px solid var(--editorial-line)}
.pricing-ledger-row{
  display:grid;
  grid-template-columns:minmax(200px,.8fr) minmax(260px,1.15fr) 180px 110px;
  gap:30px;
  align-items:center;
  min-height:132px;
  border-bottom:1px solid var(--editorial-line);
  transition:background .2s ease,padding .2s ease;
}
.pricing-ledger-row:hover{padding:0 20px;background:var(--editorial-paper-2)}
.pricing-ledger-row.featured{position:relative}
.pricing-ledger-row.featured:before{content:"Recomendado";position:absolute;left:-1px;top:-1px;padding:5px 9px;background:var(--editorial-coral);color:#fff;font-size:.58rem;font-weight:820;letter-spacing:.13em;text-transform:uppercase}
.pricing-ledger-row>div:first-child span{display:block;margin-bottom:6px;color:var(--editorial-teal);font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.pricing-ledger-row h3{font-size:1.35rem}
.pricing-ledger-row p{font-size:.88rem}
.ledger-price{color:var(--editorial-ink);font-size:1.72rem;font-weight:800;letter-spacing:-.045em;white-space:nowrap}
.ledger-price small{color:#6b7a80;font-size:.72rem;font-weight:620;letter-spacing:0}
.pricing-ledger-row>a{justify-self:end;border-bottom:1px solid var(--editorial-ink);font-size:.82rem;font-weight:780}

/* Testimonials */
.editorial-testimonials{overflow:hidden;background:var(--editorial-paper-2)}
.editorial-testimonials-grid{position:relative;display:grid;grid-template-columns:120px minmax(0,1.1fr) minmax(340px,.62fr);gap:60px;align-items:start}
.testimonial-mark{color:var(--editorial-teal-soft);font-family:Georgia,serif;font-size:16rem;line-height:.62;transform:translateY(28px)}
.testimonial-feature{padding-right:40px}
.testimonial-feature h2{max-width:850px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.45rem,4vw,4.2rem);line-height:1.09;letter-spacing:-.04em;font-weight:400}
.testimonial-feature>strong{display:block;margin-top:26px;color:var(--editorial-teal);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}
.testimonial-side{display:grid;gap:0;border-top:1px solid var(--editorial-line)}
.testimonial-side article{padding:28px 0;border-bottom:1px solid var(--editorial-line)}
.testimonial-side article p{color:#4f6269;font-family:Georgia,serif;font-size:1.07rem;line-height:1.65}
.testimonial-side article strong{display:block;margin-top:16px;font-size:.75rem}

/* Contact close */
.editorial-contact{padding:0 0 78px;background:var(--editorial-paper-2)}
.editorial-contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.65fr) 100px;
  gap:60px;
  align-items:center;
  padding:62px 68px;
  background:var(--editorial-coral);
  color:#fff;
}
.editorial-contact .eyebrow,.editorial-contact .section-number{color:#fff}
.editorial-contact .eyebrow:before{background:#fff}
.editorial-contact h2{max-width:730px;color:#fff;font-size:clamp(2.7rem,4.4vw,4.8rem);line-height:.99;letter-spacing:-.06em}
.editorial-contact-details{display:grid;gap:12px}
.editorial-contact-details p{color:rgba(255,255,255,.83)}
.editorial-contact-details a{font-weight:740}
.contact-arrow{display:grid;place-items:center;width:84px;height:84px;border:1px solid rgba(255,255,255,.65);font-size:2rem;transition:background .2s ease,color .2s ease,transform .2s ease}
.contact-arrow:hover{background:#fff;color:var(--editorial-coral);transform:translate(3px,-3px)}

/* Footer */
body.editorial-site .editorial-footer{background:var(--editorial-ink);border-top:0;color:#c6d0d3}
body.editorial-site .editorial-footer h3{color:#fff}
body.editorial-site .editorial-footer p{color:#aebcc0}
body.editorial-site .editorial-footer .footer-links a{color:#bcc8cb}
body.editorial-site .editorial-footer .footer-links a:hover{color:#fff}
body.editorial-site .editorial-footer .footer-contact a{color:#fff}
body.editorial-site .back-to-top{border-radius:0}

/* Generic inner pages inherit the editorial language without rebuilding content */
body.editorial-site .page-hero{
  min-height:520px;
  border-bottom:1px solid var(--editorial-line);
  color:var(--editorial-ink);
}
body.editorial-site .page-hero:before{
  background:linear-gradient(90deg,rgba(243,239,231,.98) 0%,rgba(243,239,231,.9) 48%,rgba(243,239,231,.18) 100%);
}
body.editorial-site .page-hero:after{height:1px;background:var(--editorial-coral);opacity:1}
body.editorial-site .page-hero h1{font-size:clamp(3.1rem,5.7vw,6rem);line-height:.96;letter-spacing:-.065em}
body.editorial-site .page-hero p{color:#586b72}
body.editorial-site .page-hero .eyebrow.light{color:var(--editorial-teal)}
body.editorial-site .plan-card,
body.editorial-site .summary-card,
body.editorial-site .industry-card,
body.editorial-site .home-team-card,
body.editorial-site .testimonial-card,
body.editorial-site .faq-item,
body.editorial-site .workflow-card,
body.editorial-site .benefit-full-card,
body.editorial-site .profile-card,
body.editorial-site .custom-plan-form,
body.editorial-site .custom-plan-intro,
body.editorial-site .contact-form,
body.editorial-site .contact-card,
body.editorial-site .contact-preview{
  border-radius:2px;
  box-shadow:none;
}

@media(max-width:1250px){
  body.editorial-site .container{width:min(1180px,calc(100% - 48px))}
  .editorial-hero-layout{grid-template-columns:minmax(0,1fr) minmax(390px,.78fr) 38px}
  .editorial-hero-copy{padding-right:52px}
  .editorial-hero h1{font-size:clamp(3.15rem,5.4vw,5rem)}
  .editorial-hero-lower{grid-template-columns:1fr;gap:18px}
  .editorial-hero-lower .hero-actions{grid-template-columns:auto auto;align-items:center}
  .editorial-manifesto-grid{grid-template-columns:70px 130px 1fr .9fr;gap:30px}
  .editorial-team-grid{grid-template-columns:1fr repeat(3,.66fr)}
  .logo-ledger-track{width:calc(100% - 48px)}
}

@media(max-width:1050px){
  body.editorial-site .nav-links{gap:14px;font-size:.7rem}
  body.editorial-site .brand img{width:170px}
  .editorial-hero:before{display:none}
  .editorial-hero-layout{grid-template-columns:1fr 42px}
  .editorial-hero-copy{grid-column:1/-1;padding:68px 0 42px}
  .editorial-hero-photo{grid-column:1;margin:0 0 54px}
  .editorial-hero-photo img{height:560px}
  .editorial-hero-rail{grid-column:2;grid-row:2}
  .editorial-hero-metrics{grid-template-columns:repeat(2,1fr)}
  .editorial-hero-metrics>div:nth-child(2){border-right:0}
  .editorial-hero-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--editorial-line)}
  .editorial-manifesto-grid{grid-template-columns:70px 1fr 1fr}
  .manifesto-year{display:none}
  .editorial-team-grid{grid-template-columns:1fr 1fr}
  .editorial-team-intro{grid-column:1/-1;max-width:750px}
  .portrait-c{margin-top:0}
  .industry-index-layout,.process-ledger-layout{grid-template-columns:1fr;gap:56px}
  .industry-index-sticky,.process-ledger-intro{position:static;max-width:760px}
  .pricing-ledger-row{grid-template-columns:1fr 1.2fr 150px 90px;gap:18px}
  .editorial-testimonials-grid{grid-template-columns:90px 1fr}
  .testimonial-side{grid-column:2}
  .editorial-contact-grid{grid-template-columns:1fr 1fr 80px;padding:54px 46px}
}

@media(max-width:860px){
  body.editorial-site .container{width:calc(100% - 36px)}
  body.editorial-site .section{padding:88px 0}
  body.editorial-site .nav-links{font-size:.85rem;text-transform:none}
  .editorial-hero-topline{grid-template-columns:1fr auto}
  .editorial-hero-topline span:last-child{display:none}
  .editorial-hero-layout{grid-template-columns:1fr}
  .editorial-hero-rail{display:none}
  .editorial-hero-copy{grid-column:1;padding-top:54px}
  .editorial-hero h1{font-size:clamp(3rem,10vw,4.7rem)}
  .editorial-hero-photo{grid-column:1}
  .editorial-hero-photo img{height:480px}
  .editorial-manifesto-grid{grid-template-columns:52px 1fr}
  .manifesto-copy{grid-column:2}
  .manifesto-photo{grid-column:2}
  .logo-ledger-head{align-items:start;flex-direction:column}
  .logo-ledger-head p{text-align:left}
  .logo-ledger-track{grid-template-columns:repeat(3,1fr);width:calc(100% - 36px);border-top:1px solid var(--editorial-line-light)}
  .logo-ledger-track figure:nth-child(4),.logo-ledger-track figure:nth-child(5){border-top:1px solid var(--editorial-line-light)}
  .logo-ledger-track figure:nth-child(3){border-right:0}
  .editorial-team-grid{grid-template-columns:1fr 1fr}
  .portrait-b{margin-top:44px}
  .pricing-ledger-head{align-items:start;flex-direction:column}
  .pricing-ledger-head p{text-align:left}
  .pricing-ledger-row{grid-template-columns:1fr 160px;gap:14px;padding:28px 0}
  .pricing-ledger-row:hover{padding:28px 14px}
  .pricing-ledger-row>p{grid-column:1}
  .pricing-ledger-row .ledger-price{grid-column:2;grid-row:1;justify-self:end}
  .pricing-ledger-row>a{grid-column:2;grid-row:2;align-self:end}
  .editorial-contact-grid{grid-template-columns:1fr 80px;gap:38px}
  .editorial-contact-details{grid-column:1}
  .contact-arrow{grid-column:2;grid-row:1/3}
}

@media(max-width:620px){
  body.editorial-site .container{width:calc(100% - 28px)}
  body.editorial-site .section{padding:72px 0}
  body.editorial-site .topbar-email{display:none}
  body.editorial-site .navbar{height:70px}
  body.editorial-site .brand img{width:160px}
  .editorial-hero-shell{padding-top:20px}
  .editorial-hero-topline{grid-template-columns:1fr;font-size:.62rem;gap:6px}
  .editorial-hero-topline span:nth-child(2){display:none}
  .editorial-hero-copy{padding:44px 0 34px}
  .hero-kicker{font-size:.62rem;line-height:1.55}
  .editorial-hero h1{font-size:clamp(2.65rem,14vw,3.8rem);line-height:.96}
  .editorial-hero h1 em{font-size:.72em;margin-top:10px}
  .editorial-hero-lower{margin-top:28px;padding-top:20px}
  .editorial-hero-lower .hero-actions{display:flex;align-items:center}
  .editorial-hero-photo{margin-bottom:34px}
  .editorial-hero-photo:before{top:-12px;right:-12px}
  .editorial-hero-photo img{height:360px}
  .editorial-photo-index{left:0;top:0;width:48px;height:48px}
  .editorial-hero-photo figcaption{position:relative;width:100%;border-left:1px solid var(--editorial-line);border-bottom:1px solid var(--editorial-line)}
  .editorial-hero-metrics{grid-template-columns:1fr;margin:0 -14px}
  .editorial-hero-metrics>div{border-right:0!important;border-bottom:1px solid var(--editorial-line)!important;min-height:84px;padding:16px 20px}
  .editorial-hero-metrics>div:last-child{border-bottom:0!important}
  .editorial-manifesto-grid{grid-template-columns:1fr;gap:30px}
  .manifesto-index{display:none}
  .manifesto-copy,.manifesto-photo{grid-column:1}
  .manifesto-copy h2{font-size:clamp(2.25rem,12vw,3.2rem)}
  .manifesto-photo img{height:390px}
  .logo-ledger{padding:56px 0 60px}
  .logo-ledger-head>div{align-items:flex-start;flex-direction:column;gap:5px}
  .logo-ledger-track{grid-template-columns:repeat(2,1fr);width:calc(100% - 28px)}
  .logo-ledger-track figure:nth-child(2n){border-right:0}
  .logo-ledger-track figure:nth-child(n+3){border-top:1px solid var(--editorial-line-light)}
  .logo-ledger-track figure:last-child{grid-column:1/-1;width:50%;justify-self:center;border-left:1px solid var(--editorial-line-light)}
  .editorial-team-grid{grid-template-columns:1fr}
  .editorial-team-intro{grid-column:1;padding:0 0 24px}
  .editorial-team-intro h2,.industry-index-sticky h2,.process-ledger-intro h2,.pricing-ledger-head h2{font-size:clamp(2.4rem,12vw,3.4rem)}
  .editorial-portrait,.portrait-b,.portrait-c{margin-top:0}
  .editorial-portrait img{height:470px}
  .industry-index-row{grid-template-columns:40px 1fr 24px;gap:14px;padding:22px 0}
  .industry-index-row p{grid-column:2}
  .industry-index-row b{grid-column:3;grid-row:1/3}
  .process-ledger-list li{grid-template-columns:42px 1fr;gap:12px;padding:20px 0}
  .process-ledger-list small{grid-column:2}
  .pricing-ledger-row{grid-template-columns:1fr;gap:10px}
  .pricing-ledger-row .ledger-price,.pricing-ledger-row>a,.pricing-ledger-row>p{grid-column:1;grid-row:auto;justify-self:start}
  .editorial-testimonials-grid{grid-template-columns:1fr;gap:22px}
  .testimonial-mark{display:none}
  .testimonial-feature{padding-right:0}
  .testimonial-feature h2{font-size:clamp(2.1rem,10vw,3rem)}
  .testimonial-side{grid-column:1}
  .editorial-contact{padding-bottom:36px}
  .editorial-contact-grid{grid-template-columns:1fr;padding:42px 26px;gap:30px}
  .editorial-contact h2{font-size:clamp(2.35rem,12vw,3.4rem)}
  .editorial-contact-details,.contact-arrow{grid-column:1;grid-row:auto}
  .contact-arrow{width:68px;height:68px}
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
