/* Guide: work clothes in English (a picture dictionary).
   Same family as the other guides: display title, a kicker, numbered sections split by
   hairlines, a sticky "on this page" index, accordions, a sand closing panel.
   What is this page's own: every term is a real product photo with its Hebrew name and
   the English word set in the display face, and the two words that get mixed up
   (pants / vest) are shown as the two garments each one can mean.
   Photos sit on one tile colour: white-background product photos are multiplied onto
   it, the site's own product cards (.is-card) already carry it. */
.guide-page{--tile:color-mix(in srgb,var(--color-sand-300) 12%,var(--paper-background));--en-display:var(--font-display-en)}
.guide-layout{max-width:1240px;width:100%;min-width:0;margin:auto;padding:24px 40px 72px}
/* English inside running text is Secular One already (theme.css, :where([lang])); the big
   English words below name --en-display, the theme's English display face (Karantina 700). */

/* first screen: title and lead, and one garment with its two English names */
.guide-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px 84px;align-items:center;padding:22px 0 52px}
.guide-kicker{font-size:13px;color:var(--color-primary);margin:0 0 20px}
.guide-hero h1{font:700 clamp(64px,7vw,104px)/.95 var(--f-display);margin:0 0 28px}
.guide-lead{font-size:18px;line-height:1.75;margin:0;max-width:610px;color:var(--color-muted-foreground);text-wrap:pretty}
.guide-plate{margin:0;min-width:0}
.guide-plate-photo{display:block;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:var(--tile)}
.guide-plate-photo img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
.guide-plate figcaption{display:flex;flex-direction:column;padding-top:16px}
.plate-he{font-size:15px;line-height:1.4;margin-bottom:6px}
.plate-line{font-size:14px;line-height:1.1;color:var(--color-soft-foreground)}
.plate-line b{font:700 46px/1 var(--en-display);color:var(--color-foreground);margin-inline-end:4px}

/* the index */
.guide-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:65px;min-width:0}
.guide-aside{align-self:start;position:sticky;top:100px}
.information-nav{display:flex;flex-direction:column;align-items:start;gap:2px;border-top:1px solid var(--color-rule);padding-top:16px}
.information-nav h2{font-size:14px;font-weight:400;margin:0 0 8px;color:var(--color-soft-foreground)}
.information-nav a{padding:8px 0;text-decoration:none;font-size:14.5px;line-height:1.45;color:inherit}
.information-nav a:hover{color:var(--color-primary);text-decoration:underline;text-underline-offset:4px}
.guide-mobile-nav{display:none}

/* sections */
.guide-content{min-width:0}
.guide-content section{scroll-margin-top:105px;padding:32px 0 46px;border-top:1px solid var(--color-rule)}
.guide-content section:focus,.guide-cta:focus{outline:none}
.guide-section-head{display:flex;align-items:baseline;gap:16px;margin:0 0 16px}
.guide-num{flex:none;font:400 19px/1 'Anton SC',sans-serif;color:var(--color-primary);direction:ltr}
.guide-content h2{font-size:27px;font-weight:400;line-height:1.3;margin:0}
/* :where keeps the running-text rule at zero weight, so every component below can restyle its own paragraphs */
:where(.guide-content p){font-size:16px;line-height:1.8;margin:0 0 16px;max-width:640px;text-wrap:pretty}
:where(.guide-content p:last-child){margin-bottom:0}
.guide-content a{color:var(--color-primary);text-underline-offset:5px}
/* an English word inside a running Hebrew sentence */
.en-term{font-style:normal;padding:1px 7px;border-radius:5px;background:color-mix(in srgb,var(--color-sand-300) 26%,transparent);white-space:nowrap}

/* 01: one word, two garments */
.mixup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:30px 0 0}
.mixup-word{min-width:0;padding-inline-end:30px}
.mixup-word+.mixup-word{padding-inline:30px 0;border-inline-start:1px solid var(--color-rule)}
.mixup-term{font:700 92px/.86 var(--en-display);margin:0 0 20px;direction:ltr;text-align:right}
.mixup-pair{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mixup-pair li{display:flex;flex-direction:column;min-width:0}
.mixup-where{font-size:13px;line-height:1.4;margin-top:12px;color:var(--color-soft-foreground)}
.mixup-what{font-size:19px;line-height:1.4}

/* photo tiles */
.tile{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--tile)}
.tile img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
.tile img.is-card{mix-blend-mode:normal}
.tile--object{display:grid;place-items:center;padding:9%}
.tile--object img{object-fit:contain;mix-blend-mode:normal}
/* two garments in one entry (sweatshirt and hoodie): the tile splits, each half is named */
.tile--duo,.tile--stack{display:grid;gap:3px;background:none}
.tile--duo{grid-template-columns:1fr 1fr}
.tile--stack{grid-template-rows:1fr 1fr}
.tile-half{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;background:var(--tile)}
.tile--stack .tile-half img{object-fit:contain}
.tile-half i{position:absolute;bottom:8px;left:8px;padding:3px 8px 4px;border-radius:5px;font-style:normal;font-size:12.5px;line-height:1.2;background:color-mix(in srgb,var(--paper-background) 90%,transparent)}
/* the DTF film with its print lying on it */
.tile--film{position:relative}
.tile--film img{position:absolute;inset:7% 0;width:100%;height:86%;object-fit:contain;mix-blend-mode:normal}
.tile--film img+img{inset:24% 0;height:52%}

/* the dictionary: photo, Hebrew name, the English word(s), a note */
.term-grid{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 22px}
.guide-content p+.term-grid{margin-top:22px}
.term-grid--legs{grid-template-columns:repeat(4,minmax(0,1fr))}
.term-grid--legs .tile{aspect-ratio:3/4}
/* each entry is a size container: the English word scales with its own column (cqi),
   so a long one ("high-visibility vest") stays on one line at every width */
.term{position:relative;display:flex;flex-direction:column;min-width:0;container-type:inline-size}
.term-he{font-size:18px;font-weight:400;line-height:1.4;margin:14px 0 6px}
.term-he a{color:var(--color-primary);text-decoration:none}
/* the link also covers the photo above it, and nothing else, so the words stay selectable */
.term-he a::after{content:'';position:absolute;top:0;inset-inline:0;aspect-ratio:1}
.term-grid--legs .term-he a::after{aspect-ratio:3/4}
.term-he>span{margin-inline-start:8px;color:var(--color-primary)}
.term-he a:hover{text-decoration:underline;text-underline-offset:5px}
.term .tile img{transition:transform .35s var(--ease-out)}
.term:has(.term-he a:hover) .tile img{transform:scale(1.03)}
.term-en{font-size:14.5px;line-height:1.25;margin:0;max-width:none;color:var(--color-soft-foreground);text-wrap:balance}
.term-en b{font:700 30px/1.02 var(--en-display);font-size:clamp(22px,16.4cqi,36px);color:var(--color-foreground);white-space:nowrap}
.term-grid--legs .term-en b{font-size:clamp(22px,14.6cqi,36px)}
.term-note{font-size:14px;line-height:1.7;margin:10px 0 0;color:var(--color-soft-foreground)}
.term-note [lang="en"]{color:var(--color-foreground);white-space:nowrap}
/* a term with no photo (branding, logo) runs the full width as one line */
.term--wide{grid-column:1/-1;display:grid;grid-template-columns:150px minmax(0,1fr);align-items:baseline;gap:6px 24px;padding:16px 0 18px;border-block:1px solid var(--color-rule-faint)}
.term--wide .term-he{margin:0}

/* a sentence worth keeping in view */
.guide-callout{padding:18px 22px;border-radius:10px;background:color-mix(in srgb,var(--color-sand-300) 15%,var(--paper-background));max-width:none}
.guide-branding .guide-callout{margin-top:30px}
.guide-sizes-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;align-items:start}
.guide-sizes-body p{margin:0}

/* ordering phrases: the English on its own side, the Hebrew beside it */
.phrase-list{list-style:none;padding:0;margin:8px 0 26px;border-top:1px solid var(--color-rule-faint)}
.phrase{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-areas:"he en";align-items:center;gap:30px;padding:20px 0 22px;border-bottom:1px solid var(--color-rule-faint)}
.phrase-en{grid-area:en;font:700 38px/1.05 var(--en-display);margin:0;max-width:none;text-align:left;text-wrap:balance}
.phrase-he{grid-area:he;font-size:16px;line-height:1.7;margin:0;color:var(--color-muted-foreground)}

/* questions */
.guide-content .guide-faq{padding-bottom:20px}
.guide-faq .guide-section-head{margin-bottom:6px}
.guide-faq details{border-bottom:1px solid var(--color-rule)}
.guide-faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;padding:20px 0;font-size:17px;line-height:1.5}
.guide-faq summary::after{content:'+';flex:none;color:var(--color-primary);font-size:25px;line-height:1}
.guide-faq details[open] summary::after{content:'−'}
.guide-faq summary::-webkit-details-marker{display:none}
.guide-faq details p{margin:0 0 22px;font-size:15px;line-height:1.8;max-width:600px;color:var(--color-muted-foreground)}

/* closing: the factory, a quote request and the shop categories the page talks about */
.guide-cta{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px 60px;align-items:center;margin-top:28px;padding:40px 44px;border-radius:12px;background:color-mix(in srgb,var(--color-sand-300) 17%,var(--paper-background));scroll-margin-top:105px}
.guide-cta h2{font:700 clamp(40px,3.8vw,54px)/1.05 var(--f-display);margin:0 0 14px}
.guide-cta>div>p{font-size:16px;line-height:1.75;margin:0 0 24px;max-width:470px;color:var(--color-muted-foreground)}
.guide-cta .submit{width:auto;display:inline-flex;min-height:50px;margin:0;padding:14px 28px;font-size:15px;text-decoration:none}
.guide-categories{display:flex;flex-wrap:wrap;gap:10px;align-content:start}
.guide-categories p{flex-basis:100%;font-size:13px;margin:0 0 4px;color:var(--color-soft-foreground)}
.guide-categories a{display:inline-flex;align-items:center;min-height:44px;padding:9px 18px;border:1px solid var(--color-rule-strong);border-radius:999px;font-size:14px;color:inherit;text-decoration:none;transition:border-color var(--motion-feedback) var(--ease-out),color var(--motion-feedback) var(--ease-out)}
.guide-categories a:hover{border-color:var(--color-primary);color:var(--color-primary)}
.guide-page :is(a,summary):focus-visible{outline:2px solid var(--color-primary);outline-offset:4px}

/* below 1180 the dictionary needs the full width: the side index folds into one line above it */
@media(max-width:1180px){
.guide-grid{display:block}
.guide-aside{position:static}
.information-nav{display:none}
.guide-mobile-nav{display:block;border-top:1px solid var(--color-rule);border-bottom:1px solid var(--color-rule)}
.guide-mobile-nav summary{display:flex;justify-content:space-between;align-items:center;list-style:none;min-height:56px;font-size:15px;cursor:pointer}
.guide-mobile-nav summary::-webkit-details-marker{display:none}
.guide-mobile-nav summary::after{content:'+';font-size:23px;color:var(--color-primary)}
.guide-mobile-nav[open] summary::after{content:'−'}
.guide-mobile-nav nav{display:flex;flex-direction:column;padding-bottom:14px}
.guide-mobile-nav a{display:flex;align-items:center;min-height:44px;font-size:14.5px;color:inherit;text-decoration:none}
.guide-content section:first-child{border-top:0}
.guide-hero{grid-template-columns:minmax(0,1fr) 300px;gap:40px 56px}
}

@media(max-width:900px){
.guide-layout{padding:20px 28px 56px}
.guide-hero{grid-template-columns:minmax(0,1fr) 250px;gap:34px}
.guide-hero h1{font-size:clamp(52px,7.4vw,68px)}
.guide-lead{font-size:17px}
.plate-line b{font-size:38px}
}

@media(max-width:760px){
.guide-hero{grid-template-columns:minmax(0,1fr) 220px;gap:28px}
.guide-hero h1{font-size:clamp(44px,7.6vw,58px)}
.mixup{grid-template-columns:1fr;gap:34px}
.mixup-word,.mixup-word+.mixup-word{padding-inline:0;border:0}
.mixup-term{font-size:80px}
.term-grid,.term-grid--legs{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 18px}
.term-grid--trio{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 14px}
.term--wide{grid-template-columns:110px minmax(0,1fr)}
.guide-sizes-body{grid-template-columns:1fr;gap:20px}
.phrase{grid-template-columns:1fr;grid-template-areas:"en" "he";gap:10px}
.phrase-en{font-size:34px}
.guide-cta{grid-template-columns:1fr;gap:28px;padding:30px 28px}
}

@media(max-width:600px){
.guide-layout{padding:16px 16px 48px}
.guide-hero{display:block;padding:18px 0 30px}
.guide-kicker{font-size:12px;margin-bottom:14px}
.guide-hero h1{font-size:clamp(46px,14vw,58px);line-height:.98;margin-bottom:20px}
.guide-lead{font-size:16px;line-height:1.7}
/* the hero garment turns into a small dictionary card: photo beside its two names */
.guide-plate{display:grid;grid-template-columns:132px minmax(0,1fr);gap:18px;align-items:center;margin-top:26px}
.guide-plate figcaption{padding-top:0}
.plate-line b{font-size:42px}
.plate-line+.plate-line{margin-top:4px}
.guide-content section{scroll-margin-top:84px;padding:26px 0 36px}
.guide-section-head{gap:12px;margin-bottom:12px}
.guide-num{font-size:16px}
.guide-content h2{font-size:24px}
:where(.guide-content p){font-size:15px;line-height:1.75}
.mixup{margin-top:24px;gap:30px}
.mixup-term{font-size:76px;margin-bottom:16px}
.mixup-pair{gap:12px}
.mixup-where{font-size:12.5px;margin-top:10px}
.mixup-what{font-size:18px}
.term-grid,.term-grid--legs{gap:30px 12px;margin-top:6px}
.term-he{font-size:16.5px;margin:12px 0 5px}
.term-en{font-size:13.5px}
.term-note{font-size:13.5px;line-height:1.65;margin-top:8px}
.tile-half i{bottom:6px;left:6px;font-size:11.5px;padding:2px 6px 3px}
.term--wide{grid-template-columns:1fr;gap:4px;padding:14px 0 16px}
/* the three techniques: one under the other, photo beside its words (three across is too small here) */
.term-grid--trio{grid-template-columns:1fr;gap:14px}
.term-grid--trio .term:not(.term--wide){display:grid;grid-template-columns:132px minmax(0,1fr);grid-template-rows:1fr auto auto auto 1fr;column-gap:18px}
.term-grid--trio .term:not(.term--wide) .tile{grid-row:1/-1}
.term-grid--trio .term:not(.term--wide) .term-he{grid-row:2;margin-top:0}
.term-grid--trio .term:not(.term--wide) .term-en{grid-row:3}
.term-grid--trio .term:not(.term--wide) .term-note{grid-row:4}
.term-grid--trio .term--wide{margin-block:6px}
.term-grid--trio .term-en b{font-size:min(30px,8.6cqi)}
.guide-callout{padding:16px 18px}
.guide-branding .guide-callout{margin-top:26px}
.phrase{padding:18px 0 20px}
.phrase-en{font-size:32px}
.phrase-he{font-size:15px}
.phrase-list{margin-bottom:22px}
.guide-faq summary{font-size:16px;padding:17px 0}
.guide-faq details p{font-size:14.5px}
.guide-cta{padding:26px 20px;gap:24px;margin-top:22px;scroll-margin-top:84px}
.guide-cta h2{font-size:44px}
.guide-cta>div>p{font-size:15px;margin-bottom:20px}
.guide-cta .submit{width:100%;font-size:14px;padding:13px 20px}
.guide-categories{gap:8px}
.guide-categories a{font-size:13px;padding:7px 14px;min-height:42px}
}

@media(max-height:700px) and (min-width:1181px){.guide-aside{position:static}}
@media(prefers-reduced-motion:reduce){.guide-categories a,.term .tile img{transition:none}.term:has(.term-he a:hover) .tile img{transform:none}}
