/* ==========================================================================
   scale.css — THE one rule for sizes, alignment and spacing on jinyerbalance.com.
   Home (/) is the reference. Loaded LAST on every page, so it wins over
   site.css, about.css, shell.css, grid.css, base-serif.css, style.css and the
   old inline \3c style> blocks. Change a size HERE, never in a page.

   Type  ·  display (page title)   = Home hero h1        clamp(34px, 6.1vw, 92px)
            title   (section h2)   = one size everywhere clamp(30px, 4.2vw, 64px)
            sub     (card h3, row) = one size everywhere clamp(22px, 2.2vw, 34px)
            lead    (intro line)   = clamp(18px, 1.6vw, 21px), max 66ch
            body                   = 17px (16px on phones)
   Edge  ·  every page starts on the menu's edge (--fluid, same as the logo); content column max 1208px, LEFT aligned
   Space ·  page top 132px (title under the menu, same on every page)
            title block -> first section: almost nothing  clamp(16px, 2vw, 28px)
            section -> section: one gap                    clamp(56px, 7vw, 104px)
   ========================================================================== */
:root{
  --t-display:clamp(34px,6.1vw,92px);
  --t-title:clamp(30px,4.2vw,64px);
  --t-sub:clamp(22px,2.2vw,34px);
  --t-lead:clamp(18px,1.6vw,21px);
  --edge:max(16px,env(safe-area-inset-left,0px));
  --content:1208px;
  --top:132px;
  --first-gap:clamp(16px,2vw,28px);
  --sec-gap:clamp(48px,6vw,88px);
  /* the old grid.css tokens now point at the same numbers */
  --max:1240px;--gutter:var(--edge);--inner-pad:0px;
  --hero-top:var(--top);--sec-y:var(--sec-gap);--sec-y-lg:var(--sec-gap);--rhythm-medium:var(--first-gap);
}

/* ---- 1. Type ------------------------------------------------------------ */
html body{font-size:17px}
@media (max-width:720px){html body{font-size:16px}}

/* page titles: every page's h1 = Home hero h1 */
html body .page-hero h1,html body .work-hero h1,
html body .page-hero__h1,html body .terms-hero h1,html body .ref-hero__title,html body .ty-h1,
html body .not-found h1,html body .blog-header h1,html body .brief-hero h1{
  font-size:var(--t-display);line-height:.92;max-width:16ch;margin-inline:0}
/* Home + About hero keep their own phone sizes (the picture sits next to the text) */
html body .hero h1{font-size:clamp(28px,6.1vw,92px)}
@media (max-width:900px){html body .hero h1{font-size:clamp(28px,8.6vw,64px)}}

/* long titles (blog posts) read as a section title, not a billboard */
html body .post-title{font-size:var(--t-title);line-height:.96;max-width:22ch;margin-inline:0}

/* section titles: one size on every page */
html body .sec-head h2,html body .final h2,html body .cta-band h2,html body .case-big h2,
html body .case-mid h3,html body .ab-bio h2,html body .ab-how h2,html body .work-sec h2,
html body .ref-examples__title,html body .ref-how h2,html body .ref-rules h2,html body .ref-form-section h2,
html body .ty-next h2,html body .blog-cta h2,html body .blog-newsletter h2,html body .related-posts h2,
html body main section > .container > h2,html body main section > .wrap > h2{
  font-size:var(--t-title);line-height:.95!important}

/* card / row / step titles and legal headings */
html body .tile h3,html body .row h2,html body .pcard h3,html body .step h3,html body .plan h3,
html body .legal-body h2,html body .terms-content h2,html body .post-body h2{
  font-size:var(--t-sub)!important;line-height:1.05!important}

/* intro lines */
html body .lead,html body .page-hero__subtitle,html body .terms-hero__meta,html body .ref-hero__sub,
html body .ty-sub,html body .post-excerpt,html body .blog-header p{
  font-size:var(--t-lead);max-width:66ch;margin-inline:0}

/* ---- 2. Edge + alignment: one content column, left aligned --------------- */
.shell,.container,.page-hero__inner,.terms-hero,.terms-body,.start-container,.support-container,
.ty-section,.ty-next .container,.blog-hero .container,.blog-cta .container,.blog-body .blog-layout,
.post-hero .container,.post-body .container,.related-posts .container,.blog-newsletter .container,
.ref-hero,.ref-commissions,.ref-how,.ref-examples,.ref-rules,.ref-form-section,
.not-found,.pr-wrap,#faq>.container{
  width:min(var(--content),calc(100% - 2*max(var(--fluid),env(safe-area-inset-left,0px))))!important;max-width:none!important;
  margin-left:max(var(--fluid),env(safe-area-inset-left,0px))!important;margin-right:auto!important;padding-inline:0!important;box-sizing:border-box}
.terms-hero>div{padding-inline:0!important}
.blog-header,.blog-header h1,.blog-header p,.not-found,.not-found h1,.ty-section{text-align:left!important}
.blog-header{margin-inline:0!important;max-width:none!important}
html body .blog-header,html body .not-found{align-items:flex-start;justify-items:start;place-items:start}
/* old inline blocks on brief set their own 48px side padding; pull them onto the same edge */
html:root body main .brief-hero .wrap,html:root body main .start-section .start-container{padding-left:var(--edge)!important;padding-right:var(--edge)!important}
html:root body main .brief-hero{padding-top:var(--top);padding-bottom:var(--first-gap)}
.blog-header p{white-space:normal!important;margin-inline:0!important}
.not-found .btn,.not-found__actions{justify-content:flex-start;margin-inline:0}

/* ---- 3. Space: same top, almost nothing after the title, one gap between sections */
html body .terms-hero,html body .ref-hero,html body .ty-section,html body .post-hero,
html body .not-found,html body .work-hero{padding-top:var(--top)}
html body .terms-hero,html body .ref-hero,html body .ty-section,html body .post-hero{padding-bottom:var(--first-gap)}
html body .blog-hero{padding-top:var(--top)!important}

/* between sections: one gap (the section above owns it). :where() keeps this weak on purpose.
   Editorial pages (body.ed) set their own rhythm in the Editorial block at the end of this file. */
html body:not(.ed) main > section ~ section:where(:not(.final,.band,#work,.blog-newsletter,.blog-cta)){padding-top:0!important;padding-bottom:var(--sec-gap)!important}
html body:not(.ed) main > #work + section{padding-top:var(--sec-gap)}
/* referral: the commission cards are their own section; give them the same gap */
html body .ref-commissions{padding-bottom:0;margin-bottom:var(--sec-gap)}
/* a word/logo ribbon (.band) sits between two sections: the section after it gets the same gap */
html body:not(.ed) main > .band + section:where(:not(.final,#work)){padding-top:var(--sec-gap)}

/* NO decorative pills: the pill shape is for
   buttons and tappable choices only. Labels, tags and badges are clean text. */
html body .proof,html body .tags{gap:6px 22px}
html body .proof .chip,html body .tags span{background:none!important;border:0!important;border-radius:0!important;padding:0!important;font-size:15px!important;font-weight:500!important;color:var(--ink-2,#4a4d55)!important}
html body .free .tag,html body .plan-tag,html body .ty-label{background:none;border:0;border-radius:0;padding:0}
html body .stat-badge{background:none;border:0;border-radius:0;padding:0}
/* blog post tags all linked to /blog: no purpose, removed from view */
html body .post-tags{display:none}
html body .plan-tag,html body .free .tag{color:inherit!important;opacity:.72}


/* Editorial: one gap between sections.
   Two light sections in a row used to stack 140px + 70px of padding; now the gap is the site's one gap. */
html body.ed .sec{padding-top:var(--sec-gap)!important;padding-bottom:var(--sec-gap)}
html body.ed .sec.ink{padding-top:var(--sec-gap)!important}
html body.ed .sec:not(.ink)+.sec:not(.ink){padding-top:0!important}



html body.store .section-title{font-size:var(--t-title);line-height:.9}
html body.store .brand-story h3,html body.store .modal-title{font-size:var(--t-sub);line-height:.95}
html body.store .product-title{font-size:clamp(20px,1.7vw,26px);line-height:1}
/* EcoLogica catalog: maker name on the spread = section size, spread title + feature piece = card size */
html body.store .spread-name{font-size:var(--t-title)}
html body.store .spread h3,html body.store .cat-grid.cat-d0 .is-feature .product-title,html body.store .cat-grid.cat-d1 .is-feature .product-title{font-size:var(--t-sub)!important;line-height:.95}

/* support block title (blog end), card size */
html body .jyb-support__title{font-size:var(--t-sub)}

/* Page end on iPhone: no gray band after the black footer when you pull past the bottom.
   The light gray is painted only over the page itself; past the page (overscroll) the canvas is black like the footer. */

html:root{background-color:#0a0a0a;background-image:linear-gradient(#ebecee,#ebecee);background-repeat:no-repeat;background-size:100% 100%;overscroll-behavior-y:none}
html:root body{background-color:transparent}
/* ==== EDITORIAL SIZES (generated) ==== */
/* Editorial pages (body.ed): every title and text size of the Editorial design lives here.
   Built by .internal/scripts/build-editorial.py from .internal/editorial/src/ed.css; change it there
   and run the script, or edit here and copy the number back. */
html body.ed body{font-size:17px}
html body.ed .kicker{font-size:12px}
html body.ed .nav nav{font-size:13px}
html body.ed .hero h1{font-size:clamp(28px,9vw,113px)}
html body.ed .hero-foot p{font-size:19px}
html body.ed .btn{font-size:15px}
html body.ed .mq-t{font-size:clamp(28px,4vw,56px)}
html body.ed .case .k{font-size:max(12px,3.35cqw)}
html body.ed .case .big{font-size:6.1cqw}
html body.ed .case .by{font-size:max(12px,3.35cqw)}
html body.ed .facts b{font-size:13cqw}
html body.ed .facts span{font-size:max(9px,2.83cqw)}
html body.ed .case .go{font-size:max(15px,4.5cqw)}
html body.ed .svc-h h2{font-size:clamp(44px,8vw,128px)}
html body.ed .s h3{font-size:clamp(40px,7.6vw,124px)}
html body.ed .s p{font-size:15px}
html body.ed .s .pr{font-size:clamp(20px,2.4vw,36px)}
html body.ed .s .pr small{font-size:.45em}
html body.ed .hz-title{font-size:clamp(40px,7vw,110px)}
html body.ed .steps h2{font-size:clamp(44px,8vw,128px)}
html body.ed .st .n{font-size:clamp(90px,12vw,200px)}
html body.ed .st h3{font-size:clamp(22px,2.4vw,34px)}
html body.ed .final .mega{font-size:clamp(70px,17vw,280px)}
html body.ed .final-row p{font-size:19px!important}
html body.ed .final .free{font-size:15px!important}
html body.ed .h2x{font-size:clamp(44px,8vw,128px)}
html body.ed .tags{font-size:12px}
html body.ed .pg h1{font-size:clamp(50px,9.4vw,113px);width:fit-content;max-width:100%}
html body.ed .pg h1 .keep>span{white-space:nowrap}
html body.ed .pg-foot p{font-size:clamp(18px,1.6vw,21px)}
html body.ed .anchors{font-size:13px}
html body.ed .spread h2{font-size:clamp(34px,4.6vw,76px)}
html body.ed .spread blockquote{font-size:clamp(22px,2.2vw,32px)}
html body.ed .spread cite{font-size:14px}
html body.ed .duo h3{font-size:clamp(30px,3.6vw,56px)}
html body.ed .lgx h3{font-size:var(--t-sub);line-height:1.05}
html body.ed .lgx-intro{font-size:var(--t-lead);max-width:66ch}
html body.ed .bnd h3{font-size:clamp(40px,5.2vw,86px)}
html body.ed .bnd .th b{font-size:clamp(26px,2.6vw,40px)}
html body.ed .bnd .th span{font-size:12px}
html body.ed .hz-sub{font-size:15px}
html body.ed .row .no{font-size:15px}
html body.ed .row h3{font-size:clamp(36px,5.6vw,96px)}
html body.ed .row ul{font-size:15px}
html body.ed .row .pr{font-size:clamp(22px,2.6vw,40px)}
html body.ed .row .pr small{font-size:11px}
html body.ed .plan .lbl{font-size:12px}
html body.ed .plan h3{font-size:clamp(34px,3.6vw,56px)!important}
html body.ed .plan b{font-size:clamp(56px,7vw,112px)}
html body.ed .plan b small{font-size:.22em}
html body.ed .fine{font-size:15px}
html body.ed .cols4 h3{font-size:clamp(22px,2.2vw,34px)!important}
html body.ed .cols4 p{font-size:16px!important}
html body.ed .cols2 h3{font-size:clamp(30px,3.6vw,56px)}
html body.ed .faq summary{font-size:clamp(24px,3vw,46px)}
html body.ed .faq summary::after{font-size:1.3em}
html body.ed .faq details p{font-size:18px}
html body.ed .about-pg h1{font-size:clamp(56px,11vw,180px)}
html body.ed .bio .tx{font-size:19px}
html body.ed .how .big{font-size:clamp(28px,3.8vw,60px)}
html body.ed .how .pt h3{font-size:clamp(22px,2.2vw,34px)}
html body.ed .cert{font-size:14px}
html body.ed .feat h2{font-size:clamp(34px,4.4vw,72px)}
html body.ed .meta{font-size:12px}
html body.ed .post h3{font-size:clamp(22px,2.6vw,40px)}
html body.ed .post p{font-size:15px}
html body.ed .reach{font-size:clamp(22px,2.4vw,36px)}
html body.ed .next li::before{font-size:34px}
html body.ed .fld>span{font-size:12px!important}
html body.ed .chips span{font-size:14px}
html body.ed .chk{font-size:15px}
html body.ed .pv{font-size:14px}
html body.ed .topic b{font-size:clamp(20px,2vw,30px)!important}
html body.ed .topic span{font-size:14px!important}
html body.ed .login h3{font-size:clamp(30px,4vw,64px)}
html body.ed .none{font-size:clamp(22px,2.4vw,36px)}
html body.ed .foot{font-size:13px}
html body.ed .ed #contactForm label>span.t,html body.ed .ed #contactForm .ftitle,html body.ed .ed .help-form label>span{font-size:12px!important}
html body.ed .ed #contactForm .optin{font-size:15px}
html body.ed .ed #contactForm .optin span.t{font-size:15px}
html body.ed .ed .sent,html body.ed .ed .note{font-size:14px}
html body.ed .ed .help button>span{font-size:14px}
html body.ed .ed .help button>span:first-child{font-size:24px}
html body.ed .ed .help-login h3{font-size:40px}
html body.ed .ed .help-topic{font-size:14px}
@media (min-width:901px){html body.ed .case .k{font-size:12px}html body.ed .case .big{font-size:clamp(30px,4.2vw,68px)}html body.ed .case .by{font-size:14px}html body.ed .facts b{font-size:clamp(56px,7vw,110px)}html body.ed .facts span{font-size:13px}html body.ed .case .go{font-size:16px}html body.ed .hz.reel .hz-track .card .cap span:first-child{font-size:16px}html body.ed .hz.reel .hz-track .card .cap span:last-child{font-size:13px}}
@media (max-width:900px){html body.ed .nav nav{font-size:40px}html body.ed .s h3{font-size:clamp(22px,7.8vw,72px)}html body.ed .s .pr{font-size:clamp(14px,4.3vw,26px)}html body.ed .row h3{font-size:clamp(26px,7.6vw,64px)}html body.ed .row .pr{font-size:24px}html body.ed .pg h1{font-size:clamp(42px,12vw,96px)}}
@media all{html body.ed .hz.reel .card figure::before{font-size:11px}html body.ed .hz.reel .card .cap{font-size:11px}html body.ed .hz.reel .end-card{font-size:24px}html body.ed .hz.reel .card .cap span:first-child{font-size:14px}html body.ed .hz.reel .card .cap span:last-child{font-size:12px}}
/* ==== /EDITORIAL SIZES ==== */


html body .pg.links-hero{min-height:0;padding-top:var(--top);padding-bottom:var(--first-gap)}
.links{list-style:none;margin:0;padding:0;display:grid;gap:12px;max-width:640px}
.links .lk{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;padding:18px 26px;border-radius:999px;border:1.5px solid var(--ink,#0a0a0a);color:var(--ink,#0a0a0a);text-decoration:none;transition:transform .25s ease,background .25s ease,color .25s ease}
.links .lk:hover,.links .lk:focus-visible{transform:translateY(-2px);background:var(--ink,#0a0a0a);color:#fff}
.links .lk.prim{background:var(--ink,#0a0a0a);color:#fff}
.links .lk-t{font-weight:700;font-size:17px;line-height:1.2}
.links .lk-s{grid-column:1;font-size:14px;opacity:.72;line-height:1.3}
.links .lk-a{grid-column:2;grid-row:1 / span 2;font-weight:700}

/* ---- Editorial pages: balanced column.
   Live for everyone since 13-nov. -------------------- */
html{--fluid:clamp(20px,4vw,64px)}
html .ed .gut{padding-left:var(--fluid);padding-right:var(--fluid)}
html .ed .h2x,html .ed .svc-h h2,html .ed .steps h2,html .ed .spread h2,html .ed .feat h2{line-height:.95}
html .ed .bio,html .ed .how{column-gap:clamp(24px,2.5vw,32px);row-gap:0}
html .ed .bio .k,html .ed .bio h2,html .ed .how .kicker,html .ed .how h2{grid-column:1/-1}
html .ed .bio h2,html .ed .how h2{margin:10px 0 var(--first-gap)}
html .ed .bio figure,html .ed .how figure{grid-column:1/7;margin:0}
html .ed .bio .tx,html .ed .how .pts{grid-column:7/13;margin:0;align-self:center}
html .ed .bio figure img,html .ed .how figure img{max-height:min(62svh,560px);object-fit:cover;object-position:center 15%}
html .ed .how .big{margin:0 0 calc(var(--sec-gap)*.6)}
/* Moderate rhythm: each block pads ~half a gap, so two blocks meet at ~1 gap */
html{--sec-pad:max(36px,calc(var(--sec-gap)*.55))}
html body.ed :is(.case,.svc,.steps){padding-block:var(--sec-pad)}
html body.ed .final{padding-top:var(--sec-gap)}
html body.ed .posts{margin-top:var(--sec-pad)}
@media (max-width:900px){html .ed .bio figure,html .ed .bio .tx,html .ed .how figure,html .ed .how .pts{grid-column:1/-1}html .ed .bio .tx,html .ed .how .pts{margin-top:28px}}
html .ed .pg-fig{right:var(--fluid)}
@media (min-width:901px){html .ed .pg-foot{max-width:min(760px,62%)}}
html .ed .hz-title{left:var(--fluid)}
html .ed .plan b{font-size:clamp(40px,4.6vw,72px)}
html .ed .kicker{color:var(--ink-2)}
html .ed .ink .kicker,html .ed .final .kicker{color:var(--silver)}
/* logo legible */
html .ed .nav .brand img,html body[data-home] .nav .brand img{height:72px!important;width:auto}
@media (max-width:720px){html .ed .nav .brand img,html body[data-home] .nav .brand img{height:52px!important}}
/* service rows: titles never run into the bullets */
html body.ed .row h3{font-size:clamp(28px,3.4vw,58px);min-width:0;overflow-wrap:break-word;hyphens:manual}
html body.ed .row{grid-template-columns:56px minmax(0,1.2fr) minmax(0,1fr) auto;column-gap:clamp(16px,2.4vw,36px)}
@media (max-width:900px){html body.ed .row h3{font-size:clamp(26px,7vw,48px)}}
html body.ed .row li{position:relative;padding-left:28px}
html body.ed .row li::before{position:absolute;left:0;margin:0}
html .ed .note .anchor{font-size:var(--t-lead);margin:0 0 14px}
/* Intro line under the page title: one line when it fits, never cut at 40ch */
html body.ed .pg-foot p{max-width:66ch;text-wrap:pretty}
@media (min-width:901px){html .ed .pg-foot{max-width:min(900px,70%)}html .ed .pg:has(.pg-fig) .pg-foot{max-width:min(900px,calc(100% - 460px))}}
/* No orphan words: titles balance their lines, paragraphs never leave 1 word alone */
html body.ed h2,html body.ed h3{text-wrap:balance}
html body.ed main p,html body.ed main li{text-wrap:pretty}
/* Speed: the home hero photo is the LCP. It shows at once and only slides up a little, instead of fading in from invisible after .5s */
@keyframes figin{from{transform:translateY(12px)}to{transform:none}}
html body.ed .hero-fig{opacity:1;animation:figin .8s var(--ease) both}
/* Phone menu: a hamburger icon instead of the word "Menu", round like the EN/ES button and centered in the black bar. The word stays in the HTML for screen readers. Open = an X. */
@media (max-width:900px){
  html body .nav .burger,html body .v2nav .burger,html body .burger{font-size:0;letter-spacing:0;color:transparent;width:40px;height:40px;padding:0;border-radius:50%!important;border:1.5px solid rgba(255,255,255,.6);background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M1 1h16M1 7h16M1 13h16' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px 14px no-repeat;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;margin:0}
  html body .burger[aria-expanded="true"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 1l12 12M13 1L1 13' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-size:14px 14px!important}
}
@media (max-width:900px){html body .v2nav .nav-right{position:static}}
/* Same menu and footer edge on every page:
   the shared menu bar and footer of the store, blog posts, terms, privacy, referral, thank-you and 404 (shell.css)
   sit on the same side edge as the Editorial pages (--fluid), so the logo and footer icons never jump between pages. */
html body .v2nav .nav-in{padding-left:max(var(--fluid),env(safe-area-inset-left,0px));padding-right:max(var(--fluid),env(safe-area-inset-right,0px))}
html body footer.site.v2foot{padding-left:max(var(--fluid),env(safe-area-inset-left,0px));padding-right:max(var(--fluid),env(safe-area-inset-right,0px))}
/* Same logo size on every page (blog posts and the other shell pages had 30px; editorial pages 72/52) */
html body .v2nav .brand img{height:72px;width:auto}
@media (max-width:720px){html body .v2nav .brand img{height:52px}}
/* Review 13-nov: kicker sits above its title like every other section (was floating at the far right of "Few things. Done right."),
   and the gallery title "Made to be seen." lines up with the same left edge as the rest of the page */
html body.ed .svc-h{flex-direction:column-reverse;align-items:flex-start;justify-content:flex-start;gap:10px}
html body.ed .hz.reel .hz-pin>.hz-title{padding-inline:var(--fluid)}
/* Closing block: the free check reads on one line with its own button right next to it,
   separated from the main "write to me" row by a thin line, instead of a 2-line note floating left with an empty middle */
html body.ed .final-row{align-items:center}
html body.ed .final-row>div:first-child{display:contents}
html body.ed .final-row>div:first-child>p:first-child{grid-column:1;grid-row:1;max-width:46ch}
html body.ed .final-row>.u3,html body.ed .final-row>div:last-child:not(:first-child){grid-column:2;grid-row:1}
html body.ed .final .free{grid-column:1/-1;grid-row:2;max-width:none;margin:8px 0 0;padding-top:22px;border-top:1px solid rgba(255,255,255,.18);display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
html body.ed .final .free .free-go{margin-left:6px;display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border:1px solid rgba(255,255,255,.7);border-radius:999px;color:#fff;font-weight:600;text-decoration:none;white-space:nowrap}
html body.ed .final .free .free-go::after{content:"→"}
html body.ed .final .free .free-go:hover{background:#fff;color:var(--ink)}
@media (max-width:720px){html body.ed .final-row>.u3{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;align-items:center}html body.ed .final-row{grid-template-columns:1fr}html body.ed .final-row>.u3,html body.ed .final-row>div:last-child:not(:first-child){grid-column:1;grid-row:2;justify-self:start}html body.ed .final .free{grid-row:3}html body.ed .final .free .free-go{margin-left:0}}
/* Film strip: laid out like a real negative. Edge code on the outer rim, then the sprocket holes,
   then the frame; same spacing top and bottom, so the caption no longer sits squeezed against the holes */
html body.ed .hz.reel .hz-track{padding-block:38px}
html body.ed .hz.reel .hz-track .edge{line-height:10px;font-size:9px}
html body.ed .hz.reel .hz-track .edge.t{top:4px}html body.ed .hz.reel .hz-track .edge.b{bottom:4px}
html body.ed .hz.reel .hz-track::before,html body.ed .hz.reel .hz-track::after{height:10px;border-radius:0;background:repeating-linear-gradient(90deg,transparent 0 9px,rgba(235,236,238,.82) 9px 19px,transparent 19px 28px)}
html body.ed .hz.reel .hz-track::before{top:17px}html body.ed .hz.reel .hz-track::after{bottom:17px}
html body.ed .hz.reel .card .cap{padding-top:10px;padding-bottom:2px;align-items:baseline}
@media (min-width:901px){
  html body.ed .hz.reel .hz-track{padding-block:50px}
  html body.ed .hz.reel .hz-track .edge.t{top:6px}html body.ed .hz.reel .hz-track .edge.b{bottom:6px}
  html body.ed .hz.reel .hz-track::before,html body.ed .hz.reel .hz-track::after{height:12px;background:repeating-linear-gradient(90deg,transparent 0 12px,rgba(235,236,238,.82) 12px 24px,transparent 24px 36px)}
  html body.ed .hz.reel .hz-track::before{top:22px}html body.ed .hz.reel .hz-track::after{bottom:22px}
  html body.ed .hz.reel .card .cap{padding-top:14px}
}
/* No green on the site: work thumbnails (China, Lezz Gluten…) show in black and white like the rest of the brand,
   and get their real color back on hover or when the reel frame is in focus */
html body.ed main .hz :is(.card,figure,.wk,.work,.proj,.vid,.shot) img,html body.ed main .hz figure video{filter:grayscale(1) contrast(1.05)!important;transition:filter .5s var(--ease)}
@media (hover:hover){html body.ed main .hz :is(a,figure,.card):hover img,html body.ed main .hz figure:hover video{filter:none!important}}
html body.ed .hz.reel .card.on img{filter:none}
/* Gallery header with a side note (portfolio "Shot on location."): same left/right edge as the page */
html body.ed .hz.reel .hz-head{padding-inline:var(--fluid)}
html body.ed .hz.reel .hz-head .hz-title{padding-inline:0}
/* Free check up front: in the main menu on every page and as its own line in the home hero */
html body.ed .hero-foot .hero-check{flex:0 0 100%;order:3;display:block;max-width:100%;margin-top:-6px;padding-top:14px;border-top:1px solid rgba(10,10,10,.18);font-size:16px;line-height:1.4;color:var(--ink);text-decoration:none}
html body.ed .hero-foot .hero-check b{font-weight:700}
html body.ed .hero-foot .hero-check:hover{text-decoration:underline;text-underline-offset:4px}
@media (min-width:901px){html body.ed .hero-foot .hero-check{max-width:46%}}
/* Home hero intro on one line on desktop */
@media (min-width:901px){html body.ed .hero-foot p{max-width:42ch}}@media (min-width:1360px){html body.ed .hero-foot p{max-width:none;white-space:nowrap}}
/* Service rows: "I want this" link fills the contact form */
html body.ed .row .row-go{justify-self:end;white-space:nowrap;font-size:15px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:1.5px solid currentColor;border-radius:999px;padding:10px 18px;text-decoration:none;color:inherit;transition:background .2s,color .2s}
html body.ed .row .row-go:hover{background:var(--ink);color:var(--paper,#fff)}
@media (max-width:900px){html body.ed .row .row-go{grid-column:1/-1;justify-self:start;font-size:14px;padding:9px 16px}}
/* Free-check box at the end of blog posts (weekly check 16-nov) */
html body .inline-cta.check-cta .cta-btn{white-space:nowrap}
html body .inline-cta.check-cta p:last-child{margin:18px 0 0}
/* Buttons sit right next to their text, everywhere:
   closing block, services note and home hero no longer push the button to the far right edge */
@media (min-width:721px){
html body.ed .final-row{grid-template-columns:minmax(0,max-content) auto 1fr;column-gap:32px}
html body.ed .final-row>.u3,html body.ed .final-row>div:last-child:not(:first-child){justify-self:start}
}
@media (min-width:901px){html body.ed .note{grid-template-columns:minmax(0,max-content) auto;justify-content:start;align-items:center;column-gap:32px}}
html body.ed .note .cta{justify-content:flex-start}
html body.ed .hero-foot{justify-content:flex-start;column-gap:40px}
/* Page intro: one line on desktop when it fits;
   when it has to wrap, the lines come out even instead of leaving 1-2 words alone */
html body.ed .pg-foot p{max-width:82ch;text-wrap:balance}
@media (min-width:901px){html .ed .pg-foot{max-width:min(1120px,84%)}}
html body.ed :is(.final-row p,.note p,.hero-foot p,.inline-cta p,.u10){text-wrap:balance}
/* Blog logo strip: each client is a white button in full color, gray on hover; click shows its articles */
html body.ed .logos-t{gap:28px}
html body.ed .logos-t .logo-go{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:999px;padding:10px 26px;border:1px solid rgba(10,10,10,.12);cursor:pointer;transition:filter .3s,opacity .3s,transform .3s}
html body.ed .logos-t .logo-go img{filter:none;opacity:1;border-radius:0}
html body.ed .logos-t .logo-go:hover{filter:grayscale(1);opacity:.8}
html body.ed .logos-t .logo-go:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media (max-width:900px){html body.ed .logos-t{gap:18px}html body.ed .logos-t .logo-go{padding:8px 18px}}
/* Short copy uses the room it has: no narrow ch limits on desktop */
@media (min-width:901px){html body.ed :is(.s p,.st p,.duo p,.cols2 p,.bnd .bh p,.news-go p,.final-row>div>p:first-child,.final-row p){max-width:none!important;text-wrap:balance}}
/* Buttons never break inside; short paragraphs balance on phones too */
html body.ed .st-go .btn,html body.ed .st-go a{white-space:nowrap}
@media (max-width:900px){html body.ed :is(.s p,.st p,.duo p,.cols2 p,.bnd .bh p,.news-go p,.final-row p){text-wrap:balance}}
/* GLOBAL: a sentence never ends with 1–2 words alone on its last line, on every page and size */
html body :is(p,li,dd,figcaption,blockquote,label,.lede,.sub){text-wrap:pretty}
html body :is(h3,h4,h5,figcaption,.kicker,.k,.by,.anchor,.cta-note,small){text-wrap:balance}
/* ALL strips in their real color: replaces the B/N on .hz strips */
html body.ed main .hz :is(.card,figure,.wk,.work,.proj,.vid,.shot) img,html body.ed main .hz figure video,html body.ed .hz.reel .card img,html body .band-logos .lg{filter:none!important}
/* Strips behave like the blog logos: full color, gray on hover */
@media (hover:hover){html body.ed main .hz :is(a,figure,.card):hover img,html body.ed main .hz figure:hover video{filter:grayscale(1)!important}}
/* Click or tap a photo: same as hover, gray + camera details */
html body.ed main .hz .card.show-exif img{filter:grayscale(1)!important}
/* Mohtion Films is now Web3D: its logo under the name on Work */
html body.ed .now-web3d{display:flex;align-items:center;gap:12px;margin:6px 0 14px}
html body.ed .now-web3d span{font-size:14px;letter-spacing:.08em;text-transform:uppercase;opacity:.7}
html body.ed .now-web3d img{height:34px;width:auto;border-radius:10px;display:block}
/* Brief: "(optional)" sits right next to the field title on the same line — .help was picking up the Contact help-grid styles */
html body.ed label>.help{display:inline;grid-template-columns:none;margin:0 0 0 .35em;border:0;padding:0;font-weight:400;text-transform:none;letter-spacing:0;opacity:.65;white-space:nowrap;font-size:inherit;line-height:inherit;vertical-align:baseline}
/* Intro line and section jump links are 2 things: links go UNDER the intro */
html body.ed .pg-foot{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:16px}
/* Logo strip: the whole band is white, no white chips per logo */
html body.ed .logos{background:#fff}
html body.ed .logos-t{gap:56px}
html body.ed .logos-t .logo-go{background:transparent;border:0;border-radius:0;padding:4px 0}
@media (max-width:900px){html body.ed .logos-t{gap:36px}html body.ed .logos-t .logo-go{padding:4px 0}}
/* Dark CTA band at the end of posts: same breathing room on top as at the bottom */
html body :is(.blog-cta,.blog-newsletter){padding-top:clamp(56px,7vw,104px)}

/* Client logo strip: same visual weight per logo, one baseline, even spacing */
html body.ed .logos-t .logo-go{height:72px}
html body.ed .logos-t .logo-go img[src*="lezz-logo-clean"]{height:40px}
html body.ed .logos-t .logo-go img[src*="fr-logo-clean"]{height:56px}
html body.ed .logos-t .logo-go img[src*="aiconics-logo-clean"]{height:62px}
html body.ed .logos-t .logo-go img[src*="mejorestar-logo-clean"]{height:68px}
@media (max-width:900px){html body.ed .logos-t .logo-go{height:56px}html body.ed .logos-t .logo-go img[src*="lezz-logo-clean"]{height:32px}html body.ed .logos-t .logo-go img[src*="fr-logo-clean"]{height:44px}html body.ed .logos-t .logo-go img[src*="aiconics-logo-clean"]{height:48px}html body.ed .logos-t .logo-go img[src*="mejorestar-logo-clean"]{height:54px}}
/* Client logo on a dark block keeps its own colors on a clean light plate with clear space */
html body .bh img.logo-plate{height:84px;background:#fff;border-radius:16px;padding:14px 20px;box-sizing:border-box}
/* Label bands (Work page): the title sits to the RIGHT of the logo on one row across the band; text, links and photos stay as they were, under it */
html body.ed .bnd .bh-top{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px clamp(16px,2vw,32px)}
/* Label bands: the brand picture sits centered BEHIND the band, the brand icon sits left of the title,
   then every account as a round icon button and every blog post about the project. */
html body.ed .bnd-label{position:relative;isolation:isolate}
html body.ed .bnd-label .bnd-bg{position:absolute;z-index:-1;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1100px,100%);height:100%;object-fit:cover;opacity:.24;pointer-events:none;margin:0;border-radius:0;-webkit-mask-image:radial-gradient(closest-side,#000 55%,transparent);mask-image:radial-gradient(closest-side,#000 55%,transparent)}
html body.ed .bnd-label .bnd-bg.bnd-bg-logo{object-fit:contain;width:min(900px,90%);height:70%;opacity:.16;-webkit-mask-image:none;mask-image:none}
html body.ed .bnd .bh-top .bnd-mark{flex:none;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#fff;overflow:hidden}
html body.ed .bnd .bh-top .bnd-mark img{height:50px;width:auto;margin:0;border-radius:0}
html body.ed .bnd .bh-top .bnd-mark img[src*="circle"]{width:100%;height:100%;object-fit:cover}
html body.ed .bnd .bnd-acc{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
html body.ed .bnd .bnd-acc a{display:grid;place-items:center;width:46px;height:46px;border-radius:999px;border:1.5px solid rgba(255,255,255,.45);color:#fff;transition:background .2s,color .2s}
html body.ed .bnd .bnd-acc a:hover,html body.ed .bnd .bnd-acc a:focus-visible{background:#fff;color:#0a0a0a}
html body.ed .bnd .bnd-acc svg{width:20px;height:20px}
html body.ed .bnd .bnd-kick{margin:28px 0 10px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--silver)}
html body.ed .bnd .bnd-blog{list-style:none;margin:0;padding:0;display:grid;gap:10px}
html body.ed .bnd .bnd-blog a{color:#fff;font-size:15px;line-height:1.35;font-weight:600;text-underline-offset:4px}
@media (max-width:600px){html body.ed .bnd .bh-top{flex-wrap:nowrap;gap:10px}html body.ed .bnd .bh-top .bnd-mark{width:44px;height:44px}html body.ed .bnd .bh-top .bnd-mark img{height:30px}html body.ed .bnd h3{font-size:clamp(30px,8.6vw,40px)}html body.ed .bnd .bnd-acc{gap:8px}html body.ed .bnd .bnd-acc a{width:40px;height:40px}html body.ed .bnd .bnd-acc svg{width:18px;height:18px}}
html body.ed .bnd .bh-top h3{margin:0;min-width:0}
html body.ed .bnd .bh>p:first-child{margin-top:0}
/* Lezz mini-doc awards piece on Work */
html body.ed .bnd .bnd-doc{grid-column:1/-1;margin:clamp(24px,3vw,40px) 0 0;max-width:1100px}
html body.ed .bnd .bnd-doc img{display:block;width:100%;height:auto;border-radius:20px}
html body.ed .bnd .bnd-doc figcaption{margin-top:14px;color:#fff}
html body.ed .bnd .bnd-doc figcaption b{display:block;font-family:var(--display);font-weight:900;font-stretch:110%;line-height:1;font-size:clamp(22px,2.2vw,34px)}
html body.ed .bnd .bnd-doc figcaption span{display:block;margin-top:8px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--silver);font-size:12px}
html body.ed .bnd .lz-awards{position:relative;margin-top:clamp(20px,2.4vw,32px);max-width:400px;border-radius:14px;overflow:hidden}
html body.ed .bnd .lz-poster{display:block;width:100%;height:auto;margin:0;border-radius:0;animation:none;transition:none}
html body.ed .bnd .lz-laurels{list-style:none;margin:0;padding:5% 0 3%;position:absolute;left:0;right:0;bottom:14%;display:grid;grid-template-columns:repeat(2,33%);justify-content:center;gap:4%;background:radial-gradient(closest-side,rgba(0,0,0,.7),rgba(0,0,0,0));animation:lz-laurels 6s ease-in-out infinite}
html body.ed .bnd .lz-laurel{position:relative;aspect-ratio:240/200;container-type:inline-size}
html body.ed .bnd .lz-lr{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0}
html body.ed .bnd .lz-in{position:absolute;inset:0 17%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7cqi;text-align:center}
html body.ed .bnd .lz-in img{display:block;width:86%;height:auto;margin:0;border-radius:0}
html body.ed .bnd .lz-in b{color:#fff;font-weight:800;letter-spacing:.05em;text-transform:uppercase;line-height:1;white-space:nowrap;font-size:5.4cqi}
@keyframes lz-laurels{0%,6%{opacity:0}22%,78%{opacity:1}94%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){html body.ed .bnd .lz-laurels{animation:none}}

/* Footer, compact (Genie 2026-11-19): icons left, support line right on desktop */
html body footer.foot,html body footer.site.v2foot,html body footer.v2foot{padding-top:26px;padding-bottom:22px}
html body .foot .foot-icons,html body .v2foot .foot-icons{gap:10px 24px}
html body .foot .jyb-foot-support,html body .v2foot .jyb-foot-support{margin-top:18px;padding-top:16px}
html body .foot .foot-b,html body .v2foot .foot-b{margin-top:18px;padding-top:16px}
html body .foot .foot-links,html body .v2foot .foot-links{gap:6px 20px}
html body.ed .final{padding-bottom:36px}
@media (min-width:1280px){html body footer.foot,html body footer.site.v2foot,html body footer.v2foot{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:40px}
html body .foot .foot-icons,html body .v2foot .foot-icons{justify-content:flex-start;flex-wrap:nowrap;gap:16px 30px}
html body .foot .jyb-foot-support,html body .v2foot .jyb-foot-support{margin:0;padding:0;border:0;justify-content:flex-end;text-align:right}
html body .foot .foot-b,html body .v2foot .foot-b{grid-column:1/-1}}

/* Page tagline under the title (Work): wide caps, Genie 2026-11-19 */
html body.ed .pg-foot .pg-tag{font-family:Archivo,'DM Sans',sans-serif;font-stretch:125%;font-weight:700;text-transform:uppercase;font-size:clamp(14px,1.2vw,17px);letter-spacing:.08em;line-height:1.3}
html body.ed .pg-foot .pg-tag{max-width:none;text-wrap:balance}
@media (max-width:600px){html body.ed .pg-foot .pg-tag{font-stretch:100%;font-size:clamp(12px,3.4vw,14px);letter-spacing:.06em}}
html body.ed .anchors{row-gap:10px;line-height:1.5}
html body.ed .pg-foot{gap:clamp(18px,1.8vw,24px)}

/* Brief: done screen (moved from inline styles, same look) */
#briefSuccess .bd-top{text-align:center;padding:20px 0 0}
#briefSuccess .bd-title{font-family:'Space Grotesk',sans-serif;font-size:clamp(1.8rem,3.5vw,2.6rem);color:#F0F2F6;letter-spacing:-0.02em;line-height:1.15;margin:14px 0 10px}
#briefSuccess .bd-sub{font-size:0.95rem;color:#6B7280;margin:0}
#briefSuccess .bd-cta{text-align:center;margin:28px 0 10px}
#briefSuccess .bd-btn{display:inline-block;background:#F0F2F6;color:#0B0D12;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.05rem;padding:16px 38px;border-radius:999px;text-decoration:none}
#briefSuccess .bd-note{font-size:0.85rem;color:#6B7280;margin-top:12px}
#briefSuccess .bd-meet{font-size:0.9rem;color:#C2C8D4;text-align:center;margin-top:4px;line-height:1.6}
#briefSuccess .bd-meet.bd-resched{margin-top:14px}

/* ---- Legal pages (Privacy, Terms): one look. Section sub-heads and provider tables. */
html body .legal-body h3{font-size:16px;margin:22px 0 8px}
html body .legal-body .scroll{overflow-x:auto}
html body .legal-body table{width:100%;border-collapse:collapse;font-size:14px;margin:6px 0 14px}
html body .legal-body td{padding:9px 11px;border-top:1px solid rgba(0,0,0,.12);vertical-align:top}
html body .legal-body td:first-child{white-space:nowrap;width:1%}
html body .terms-toc a{color:inherit;text-decoration:none}
html body .terms-toc a:hover{text-decoration:underline}

/* Ad rail (Genie 21-nov): on wide screens the empty space right of the content column carries ads,
   on the blog list and the store. Right edge on the menu's edge (--fluid). Narrower screens: the blog
   shows the same ads below the list (.rail-below); the store keeps its inline "Local makers" ad. */
html body .rail-ads{display:none}
html body .rail-card{display:flex;flex-direction:column;background:#111214;color:#f2f3f5;border-radius:18px;overflow:hidden;text-decoration:none}
html body .rail-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
html body .rail-card .c{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
html body .rail-card .tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#9aa0ab}
html body .rail-card strong{font-size:18px;line-height:1.2;color:#fff}
html body .rail-card .d{font-size:14px;line-height:1.5;color:#b6bbc4}
html body .rail-card .go{align-self:flex-start;margin-top:6px;display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border-radius:999px;background:#f2f3f5;color:#111214;font-size:14px;font-weight:700}
html body .rail-card:hover .go{opacity:.88}
html body .rail-below{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:clamp(32px,4vw,56px)}
@media (min-width:1720px){
  html body main:has(> .rail-ads){position:relative}
  html body .rail-ads{display:flex;flex-direction:column;gap:16px;position:absolute;right:var(--fluid);width:300px;z-index:1}
  html body .rail-below{display:none}
  html body main > .rail-ads ~ section.gut{padding-right:calc(var(--fluid) + 348px)}
  html body.store .maker-ad{display:none}
}
