/* ==== English typefaces ====
   Cabinet Grotesk Black for headings and Satoshi (variable, 300-900) for body text and buttons.
   Both are the official, unmodified WOFF2 files from Fontshare, served from this theme
   (ITF Free Font License 2.0, see fonts/fontshare-FFL.txt: self-hosting allowed, no conversion or subsetting).
   Hebrew pages never load this stylesheet, so their fonts are untouched. The Hebrew faces stay in the
   stacks as fallbacks for Hebrew words that appear on English pages (the language switcher). */
@font-face{font-family:'Cabinet Grotesk';src:url('fonts/CabinetGrotesk-Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:'Satoshi';src:url('fonts/Satoshi-Variable.woff2') format('woff2');font-weight:300 900;font-style:normal;font-display:swap}
html[dir="ltr"],html[dir="ltr"] body{--text:Satoshi,'Google Sans',Heebo,sans-serif;--display:'Cabinet Grotesk',Archivo,FbMonopolyHeb,var(--text)}
/* site.css, ecommerce.css, home-hero-waves.css: the button face (Miriam Libre in Hebrew) */
html[dir="ltr"] .tp-button,html[dir="ltr"] .tp-ecom__btn,html[dir="ltr"] .tp-home .tp-home-hero-waves .tp-actions>.tp-text-link{font-family:Satoshi,var(--text)}
/*
 * 3Pines Studio: left-to-right overrides for the English pages (/en/).
 * Enqueued last and only on English pages (inc/i18n.php). Every selector starts with
 * html[dir="ltr"], so nothing in this file can reach a Hebrew page.
 * Groups follow the load order of the source stylesheets. Each rule sits in the same
 * media query as the rule it overrides and mirrors only the declarations that depend on direction.
 * Work list: translation/ltr-audit.md. Notes and open checks: translation/ltr-css-report.md.
 */

/* Shared: the swoosh artwork of home-hero-waves.css:2 and service-hero-swoosh.css:2, flipped on the vertical axis (same path, matrix(-1 0 0 1 1600 0)). */
html[dir="ltr"]{--tp-swoosh-ltr:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221600%22%20height%3D%221000%22%20viewBox%3D%220%200%201600%201000%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22wash%22%20x1%3D%220%22%20y1%3D%22350%22%20x2%3D%221600%22%20y2%3D%22500%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2379a5b8%22%20stop-opacity%3D%22.16%22%2F%3E%3Cstop%20offset%3D%22.42%22%20stop-color%3D%22%2379a5b8%22%20stop-opacity%3D%22.09%22%2F%3E%3Cstop%20offset%3D%22.72%22%20stop-color%3D%22%2379a5b8%22%20stop-opacity%3D%22.045%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2379a5b8%22%20stop-opacity%3D%22.10%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20transform%3D%22matrix%28-1%200%200%201%201600%200%29%22%20d%3D%22M-230%20480C30%20405%20182%20155%20365-140C516-374%20891-220%20730%2083L319%20548C115%20793%20345%20906%20562%20714L945%20378C1260%20128%201535%20206%201860%20559%22%20fill%3D%22none%22%20stroke%3D%22url%28%23wash%29%22%20stroke-width%3D%22190%22%20opacity%3D%22.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E%0A")}

/* ==== site.css ==== */
/* site.css:5, 7, 14: screenshot badge, table of contents, decision arrow */
html[dir="ltr"] .tp-shot-zoom{left:auto;right:16px}
html[dir="ltr"] .tp-toc a{padding-right:0;padding-left:16px}
html[dir="ltr"] .tp-prose .tp-decide__a::before{content:'\2192'}
/* site.css:16, 57-60, 74, 85: button signature, mirrored. The shadow falls to the bottom-right and hover lifts to the top-left.
   The .tp-button selectors also replace the superseded declarations of site.css:2. !important only where the source has it. */
html[dir="ltr"] .tp-submit{box-shadow:4px 6px 0 var(--accent)!important}
html[dir="ltr"] .tp-submit:hover{box-shadow:2px 3px 0 var(--accent)!important}
html[dir="ltr"] .tp-button{box-shadow:4px 4px 0 var(--button-shadow)}
html[dir="ltr"] .tp-dark-lines .tp-button{box-shadow:4px 4px 0 var(--button-shadow)}
html[dir="ltr"] .tp-button:hover,html[dir="ltr"] .tp-dark-lines .tp-button:hover{transform:translate(-3px,-3px);box-shadow:7px 7px 0 var(--button-shadow)}
html[dir="ltr"] .tp-button:active,html[dir="ltr"] .tp-dark-lines .tp-button:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--button-shadow)}
html[dir="ltr"] .tp-form .tp-submit{box-shadow:4px 4px 0 var(--accent)!important}
html[dir="ltr"] .tp-form .tp-submit:hover{box-shadow:7px 7px 0 var(--accent)!important}
html[dir="ltr"] .tp-form .tp-submit:active{box-shadow:2px 2px 0 var(--accent)!important}
@media(prefers-reduced-motion:reduce){html[dir="ltr"] .tp-button:hover,html[dir="ltr"] .tp-button:active,html[dir="ltr"] .tp-dark-lines .tp-button:hover,html[dir="ltr"] .tp-dark-lines .tp-button:active{transform:none}}
/* site.css:63: the hover fill of text links grows from the start side */
html[dir="ltr"] .tp-text-link{background-position:0 0}
/* single-project.php:16, inc/portfolio.php:33: the inline SVG arrow of external links points up-right (no source rule; the path is drawn up-left) */
html[dir="ltr"] .tp-text-link>[aria-hidden]>svg{transform:scaleX(-1)}
/* site.css:73: form fields. Phone and email keep dir="ltr" from the markup. */
html[dir="ltr"] .tp-form input:not([type=checkbox]):not([type=hidden]),html[dir="ltr"] .tp-form textarea{text-align:left}
html[dir="ltr"] .tp-form input[dir=ltr]{text-align:left}
/* site.css:116, 123: cookie notice (direction island) */
html[dir="ltr"] .tp-privacy-notice{padding-right:24px;padding-left:20px;direction:ltr;text-align:left}
@media(max-width:600px){html[dir="ltr"] .tp-privacy-notice{padding-right:16px;padding-left:16px}}
/* site.css:138: tagline next to the form. Sentence case in English. */
html[dir="ltr"] .tp-contact-tagline{text-align:left;text-transform:none}
/* Typography for English. site.css:56, 2, 5, 87: no forced single line, looser leading for descenders, no negative tracking. */
html[dir="ltr"] .tp-phrase-keep{white-space:normal}
html[dir="ltr"] .tp-section-heading h2{line-height:1.02}
html[dir="ltr"] .tp-project-intro h1{line-height:1.02;letter-spacing:normal}
html[dir="ltr"] .tp-contact-intro h2{line-height:1}

/* ==== navigation.css ==== */
/* navigation.css:64 with @keyframes tp-slide (site.css:19): the mobile submenu enters from the end side */
@keyframes tp-slide-ltr{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
html[dir="ltr"] .tp-mobile-services{animation-name:tp-slide-ltr}
/* navigation.css:94: the two mobile-menu buttons stack when the English labels cannot share a row */
html[dir="ltr"] .tp-mobile-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}

/* ==== pages.css ==== */
/* pages.css:42, 57: process steps */
html[dir="ltr"] .tp-home-steps>li{padding-right:28px;padding-left:0}
html[dir="ltr"] .tp-home-steps>li>span{margin-right:0;margin-left:-.04em}
/* One column: the four steps become a compact timeline, so the whole process is visible in about one screen.
   The number sits beside the title instead of above it, a thin rule joins one number to the next,
   and the result of each step is a quiet line under the text (no separator). */
@media(max-width:479px){
html[dir="ltr"] .tp-home #process .tp-section-top{margin-bottom:30px}
html[dir="ltr"] .tp-home-steps>li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:6px 12px;align-content:start;position:relative;padding:0 0 28px}
html[dir="ltr"] .tp-home-steps>li:last-child{padding-bottom:0}
html[dir="ltr"] .tp-home-steps>li:before{content:"";position:absolute;left:8px;top:36px;bottom:6px;width:1px;background:var(--line)}
html[dir="ltr"] .tp-home-steps>li:last-child:before{display:none}
html[dir="ltr"] .tp-home-steps>li>span{grid-row:1;grid-column:1;margin:0;top:0;opacity:1;font-size:28px;line-height:28px}
html[dir="ltr"] .tp-home-steps>li>:not(span){grid-column:2}
html[dir="ltr"] .tp-home-steps h3{font-size:23px;line-height:28px}
html[dir="ltr"] .tp-home-steps p{font-size:16px;line-height:1.55}
html[dir="ltr"] .tp-home-steps .tp-step-out{margin-top:2px;padding-top:0;border-top:0;font-size:14px;line-height:1.5;color:var(--muted)}
/* The three promises under the steps: tighter spacing only, same type sizes. */
html[dir="ltr"] .tp-home #process .tp-home-promises{margin-top:32px}
html[dir="ltr"] .tp-home #process .tp-home-promises li{padding:18px 20px}
html[dir="ltr"] .tp-home #process .tp-home-promises h3{margin-bottom:5px}
html[dir="ltr"] .tp-home #process .tp-home-promises p{line-height:1.5}
}
/* pages.css:24: logo marquee (direction island). motion.js now reads the direction of .tp-client-logos and mirrors its offsets,
   so the track follows the page: first logo on the left, anchored to the left edge. */
html[dir="ltr"] .tp-logo-track{direction:ltr}
/* Typography for English. pages.css:7, 87-88, 100, 105: home hero.
   Cabinet Grotesk Black is narrower than the Hebrew display face, so the English headline is set larger than the
   Hebrew one and with tighter leading. The longest line ("with your business") measures 8.39em. Sizes were measured
   in a browser from 320px to 1920px wide: three lines, no overflow, and on desktop the logo strip stays inside the
   first screen from 900x650 to 1920x1080. */
html[dir="ltr"] .tp-home-hero h1{line-height:1.02;white-space:nowrap}
/* The headline is three lines at every width: "Web design / with your business / in mind.", with "your business"
   in the accent color (owner's request, 16.11.2026). The break after "business" comes from .tp-phrase-keep. */
html[dir="ltr"] .tp-home-hero .tp-home-tagline>.tp-phrase-keep{display:block;white-space:nowrap}
@media(max-width:899px){
/* As large as the longest line ("with your business") allows inside the gutters (20px, or 5vw when that is wider). */
html[dir="ltr"] .tp-home-hero h1{font-size:min(calc((100vw - max(40px,10vw)) / 8.5),84px)}
}
@media(min-width:900px){
html[dir="ltr"] .tp-home-hero h1{font-size:clamp(46px,min(7.2vw,12.5svh),110px);line-height:1}
}
/* Short windows (a laptop with browser toolbars): a little smaller, so the text below keeps its distance from the logo strip. */
@media(min-width:900px) and (max-height:779px){html[dir="ltr"] .tp-home-hero h1{font-size:clamp(46px,min(7.2vw,11.5svh),110px)}}
/* Section headings in English, on every page (site.css .tp-section-heading h2 and .tp-contact-intro h2, and the
   page-specific variants in pages.css, services.css and home-site-types.css).
   Measured in a browser with Cabinet Grotesk Black, 320px to 1920px wide:
   - desktop: about 60px at 1440px wide (the Hebrew size, 78px, made English headings run to four to six lines);
   - small screens: 35px at 375px wide and 30px at 320px, one step below the page headline;
   - each size is 9.3vw up to 35px on phones, then viewport-based growth, with a 30px floor. */
html[dir="ltr"] .tp-section-heading h2{font-size:clamp(30px,max(4.2vw,min(9.3vw,35px)),64px)}
html[dir="ltr"] .tp-contact-intro h2{font-size:clamp(30px,max(4.4vw,min(9.3vw,35px)),64px)}
html[dir="ltr"] .tp-svc-section-reviews .tp-section-heading h2{font-size:clamp(30px,max(4.2vw,min(9.3vw,35px)),64px)}
/* Headings that have their own, smaller size in the original stylesheets keep it. */
html[dir="ltr"] .tp-reviews-stage .tp-section-heading h2{font-size:14px;line-height:1.65}
html[dir="ltr"] .tp-about-studio .tp-section-heading h2{font-size:clamp(30px,3.4vw,52px)}
html[dir="ltr"] .tp-contact-next .tp-section-heading h2{font-size:clamp(28px,3vw,44px)}
/* Home page: "Every business has its own voice." The heading keeps two lines on the left, the intro sits beside
   it on the right, level with the heading's last line; the "All projects" link is under the grid. */
@media(min-width:900px){
html[dir="ltr"] .tp-home #work .tp-section-top{flex-wrap:nowrap;align-items:end;gap:clamp(32px,6vw,96px)}
html[dir="ltr"] .tp-home #work .tp-section-heading{flex:0 0 auto;max-width:56%}
html[dir="ltr"] .tp-home #work .tp-section-side{max-width:400px;padding-bottom:.45em}
}
/* From the width where the grid has three columns, the intro takes exactly the third column. */
@media(min-width:1100px){html[dir="ltr"] .tp-home #work .tp-section-side{flex:0 0 calc((100% - 2 * clamp(28px,3vw,52px)) / 3);max-width:none}}
html[dir="ltr"] .tp-home .tp-work-more{display:flex;justify-content:center;margin-top:clamp(36px,4vw,56px)}
html[dir="ltr"] .tp-home .tp-work-more .tp-text-link{font-size:17px}
html[dir="ltr"] .tp-home .tp-work-more+.tp-work-cta{margin-top:clamp(36px,4vw,56px)}
/* Home page: "A small studio. On purpose.", "A website is a working tool." (two lines in its narrow column),
   "Tell me about your business." (two lines at every width), "Which website fits your business?". */
html[dir="ltr"] .tp-home .tp-home-about .tp-section-heading h2{font-size:clamp(30px,max(5.4vw,min(9.3vw,35px)),60px)}
html[dir="ltr"] .tp-home .tp-home-services-intro .tp-section-heading h2{font-size:clamp(30px,max(4vw,min(9.3vw,35px)),58px)}
html[dir="ltr"] .tp-home .tp-contact-intro h2{font-size:clamp(30px,max(5.1vw,min(9.3vw,35px)),74px)}
html[dir="ltr"] .tp-home .tp-types__inner h2{font-size:clamp(30px,max(4.6vw,min(9.3vw,35px)),68px)}
/* pages.css:14, 16, 60, 71: inner page headings */
html[dir="ltr"] .tp-contact-page h1{line-height:1.04}
html[dir="ltr"] .tp-info-hero h1{font-size:clamp(40px,6.4vw,96px);line-height:1.04}
html[dir="ltr"] .tp-404-copy h1{line-height:1.04}
html[dir="ltr"] .tp-thank-copy h1{line-height:1.04}
html[dir="ltr"] .tp-contact-next .tp-section-heading h2{line-height:1.12}
/* pages.css:55: the one-word answer ("With me.") stays on one line */
html[dir="ltr"] .tp-studio-answer{font-size:clamp(56px,7.6vw,112px);line-height:1}
/* pages.css:31, 32: fact titles need more than the 120px column */
@media(max-width:899px){html[dir="ltr"] .tp-about-facts>div{grid-template-columns:minmax(120px,34%) 1fr}}
@media(max-width:479px){html[dir="ltr"] .tp-about-facts>div{grid-template-columns:1fr}}

/* ==== home-hero-waves.css (inline after pages.css) ==== */
/* home-hero-waves.css:2, 34-36, 38-40: mirrored swoosh, x becomes 100% - x */
html[dir="ltr"] .tp-home{--tp-home-swoosh:var(--tp-swoosh-ltr)}
html[dir="ltr"] .tp-home>#services{--home-section-swoosh-position:76% 45%}
html[dir="ltr"] .tp-home>.tp-reviews-stage{--home-section-swoosh-position:38% 52%}
html[dir="ltr"] .tp-home>#contact{--home-section-swoosh-position:28% 40%}
@media(max-width:899px){
html[dir="ltr"] .tp-home>#services{background-position:65% center}
html[dir="ltr"] .tp-home>.tp-reviews-stage{background-position:35% center}
html[dir="ltr"] .tp-home>#contact{background-position:45% center}
}

/* ==== home-site-types.css (inline after pages.css) ==== */
/* home-site-types.css:3: direction island */
html[dir="ltr"] .tp-types{direction:ltr;text-align:left}
/* parts/home-site-types.php:19: inline SVG arrow points up-right (no source rule) */
html[dir="ltr"] .tp-types__link>[aria-hidden]>svg{transform:scaleX(-1)}
/* Four columns: the longest title ("Portfolio websites", 8.32 x its font size) stays on one line. The size follows the
   narrowest column's text width: 18.1vw up to 1280px, 20.6vw - 32px up to 1400px, 246px at most beyond that. */
@media(min-width:1100px){
html[dir="ltr"] .tp-types__h3{font-size:calc(min(18.1vw,20.6vw - 32px,246px) / 8.7);white-space:nowrap}
}
/* One column: the closing note is set apart from the four items above it (accent rule, label on its own line, quieter text). */
@media(max-width:639px){
html[dir="ltr"] .tp-types__note{margin-top:30px;padding:2px 0 2px 16px;border-left:2px solid var(--accent);font-size:15px;line-height:1.6;color:var(--muted)}
html[dir="ltr"] .tp-types__note strong{display:block;margin-bottom:4px;font-size:16px}
}

/* ==== home-project-features.css (inline after pages.css) ==== */
/* home-project-features.css:38, 48: journey line follows the nodes; the illustrated button carries the mirrored signature */
html[dir="ltr"] .tp-home .lp-feat__track{right:auto;left:calc(var(--p) + 6px)}
html[dir="ltr"] .tp-home .lp-feat__cta{box-shadow:calc(3px + var(--h) * 3px) calc(3px + var(--h) * 3px) 0 var(--lp-coral);transform:translate(calc(var(--h) * -3px),calc(var(--h) * -3px))}

/* ==== home-light-hero.css (inline after pages.css) ==== */
/* home-light-hero.css:27: hero swoosh on small screens */
@media(max-width:899px){html[dir="ltr"] .home .tp-home-hero-waves .tp-gradient-waves{background-position:72% center}}

/* ==== services.css ==== */
/* services.css:2: page tree on small screens, padding and connector on the side of the logical border */
@media(max-width:999px){
html[dir="ltr"] .tp-svc-tree ol{padding-right:0;padding-left:24px}
html[dir="ltr"] .tp-svc-tree li:before{right:auto;left:-24px}
}
/* services.css:11: divided cards */
html[dir="ltr"] .tp-svc-section-includes .tp-svc-cards>li,html[dir="ltr"] .tp-svc-section-maintenance .tp-svc-cards>li,html[dir="ltr"] .tp-svc-section-seo_includes .tp-svc-cards>li{padding-right:clamp(20px,3vw,44px);padding-left:clamp(0px,2vw,32px)}
/* services.css:50-53: page tree section */
html[dir="ltr"] .tp-svc-section-tree .tp-svc-tree-root{text-align:left}
html[dir="ltr"] .tp-svc-section-tree .tp-svc-tree ol{margin-right:0;margin-left:clamp(20px,3vw,40px);padding-right:0;padding-left:clamp(24px,3vw,40px)}
html[dir="ltr"] .tp-svc-section-tree .tp-svc-tree li:before{right:auto;left:calc(-1 * clamp(24px,3vw,40px))}
html[dir="ltr"] .tp-svc-section-tree .tp-svc-tree li:after{right:auto;left:calc(-1 * clamp(24px,3vw,40px) - 4px)}
html[dir="ltr"] .tp-svc-section-tree .tp-svc-tag{float:right;margin-right:0;margin-left:12px}
/* services.css:64: row numbers sit in the padding-inline-start of the row */
@media(min-width:900px){html[dir="ltr"] .tp-service-portfolio .tp-audience-lines .tp-svc-count{right:auto;left:0}}
/* Typography for English. services.css:1, 9, 101. */
html[dir="ltr"] .tp-svc-hero h1{line-height:1.02;letter-spacing:normal}
html[dir="ltr"] .tp-service-maintenance .tp-svc-hero h1{font-size:clamp(40px,7.4vw,120px)}
html[dir="ltr"] .tp-service-portfolio .tp-svc-hero h1>span{font-size:inherit;line-height:inherit;white-space:normal}

/* ==== service-hero-swoosh.css (inline after services.css, ecommerce.css or industry.css) ==== */
/* service-hero-swoosh.css:2, 10-16: mirrored swoosh, x becomes 100% - x. The hub stays at 50%.
   :where() keeps the industry default below any per-page .page-id rule, as in the source. */
html[dir="ltr"] :is(.tp-svc-hero,.tp-industry-hero).tp-dark-lines,html[dir="ltr"] .tp-ecom__hero{background-image:var(--tp-swoosh-ltr)}
html[dir="ltr"] .tp-service-corporate .tp-svc-hero{--service-swoosh-x:78%}
html[dir="ltr"] .tp-service-portfolio .tp-svc-hero{--service-swoosh-x:22%}
html[dir="ltr"] .tp-service-landing .tp-svc-hero{--service-swoosh-x:70%}
html[dir="ltr"] .tp-service-webdesign .tp-svc-hero{--service-swoosh-x:35%}
html[dir="ltr"] .tp-service-seo .tp-svc-hero{--service-swoosh-x:62%}
html[dir="ltr"] .tp-service-maintenance .tp-svc-hero{--service-swoosh-x:28%}
html[dir="ltr"] :where(.tp-industry-hero){--service-swoosh-x:52%}

/* ==== ecommerce.css ==== */
/* ecommerce.css:3: direction island */
html[dir="ltr"] .tp-ecom{direction:ltr;text-align:left}
/* ecommerce.css:35-46, 230: button signature, mirrored */
html[dir="ltr"] .tp-ecom__btn{box-shadow:4px 4px 0 var(--ink)}
html[dir="ltr"] .tp-ecom__btn:hover{transform:translate(-3px,-3px);box-shadow:7px 7px 0 var(--ink)}
html[dir="ltr"] .tp-ecom__btn:active{transform:translate(1px,1px);box-shadow:2px 2px 0 var(--ink)}
html[dir="ltr"] .tp-ecom__btn--ink{box-shadow:4px 4px 0 var(--accent)}
html[dir="ltr"] .tp-ecom__btn--ink:hover{box-shadow:7px 7px 0 var(--accent)}
html[dir="ltr"] .tp-ecom__btn--ink:active{box-shadow:2px 2px 0 var(--accent)}
html[dir="ltr"] .tp-ecom__btn--on-rust{box-shadow:4px 4px 0 var(--accent)}
html[dir="ltr"] .tp-ecom__btn--on-rust:hover{box-shadow:7px 7px 0 var(--accent)}
@media (prefers-reduced-motion:reduce){html[dir="ltr"] .tp-ecom__btn:hover,html[dir="ltr"] .tp-ecom__btn:active{transform:none}}
/* ecommerce.css:50, 97, 114, 136, 187 */
html[dir="ltr"] .tp-ecom__tlink{background-position:0 0}
html[dir="ltr"] .tp-ecom__project-title [dir="ltr"]{text-align:left}
html[dir="ltr"] .tp-ecom__st-btn{text-align:left}
html[dir="ltr"] .tp-ecom__cell{padding-right:clamp(20px,3vw,44px);padding-left:clamp(0px,2vw,32px)}
html[dir="ltr"] .tp-ecom__faq-btn{text-align:left}
/* Typography for English. ecommerce.css:18, 68. */
html[dir="ltr"] .tp-ecom__h2{line-height:1.06}
html[dir="ltr"] .tp-ecom__h1{line-height:1.02;letter-spacing:normal}

/* ==== industry.css ==== */
/* industry.css:1: divided cards */
html[dir="ltr"] .tp-industry-includes li{padding-right:clamp(20px,2.4vw,32px);padding-left:clamp(0px,1.6vw,24px)}

/* ==== blog.css ==== */
/* Typography for English. blog.css:1, 6: the two fixed lines were sized for 17 and 12 Hebrew characters. */
html[dir="ltr"] .tp-blog-heading h1{line-height:1.04}
html[dir="ltr"] .tp-blog-heading--two-lines h1 span{font-size:min(104px,7.6cqi);white-space:normal}

/* ==== portfolio.css ==== */
/* Typography for English. portfolio.css:3. */
html[dir="ltr"] .tp-portfolio-intro h1{line-height:1;letter-spacing:normal}

/* ==== cursor.css ==== */
/* cursor.css:10, 11 with the SVG of cursor.js:11: the link arrow points up-right. The transform already carries the scale. */
@media(min-width:960px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) and (forced-colors:none){
html[dir="ltr"] .tp-cursor svg{transform:scale(-.65,.65)}
html[dir="ltr"] .tp-cursor.is-link svg{transform:scale(-1,1)}
}

/* ==== floating-contact.css ==== */
/* floating-contact.css:7, 15, 17, 27, 28: button signature, mirrored. The button itself stays on the right (see the report). */
html[dir="ltr"] .tp-floating-whatsapp{box-shadow:5px 5px 0 var(--accent)}
@media(hover:hover) and (pointer:fine){html[dir="ltr"] .tp-floating-whatsapp.is-visible:hover{transform:translate(2px,2px);box-shadow:3px 3px 0 var(--accent)}}
html[dir="ltr"] .tp-floating-whatsapp.is-visible:focus-visible{box-shadow:0 0 0 4px #fff,5px 5px 0 var(--accent)}
@media(prefers-reduced-motion:reduce){html[dir="ltr"] .tp-floating-whatsapp.is-visible:hover{transform:none}}
html[dir="ltr"] body.vp_filter_stop_animations .tp-floating-whatsapp.is-visible:hover{transform:none}

/* ==== mu-plugins/3pines-project-sections.php (legacy shortcodes; only relevant if one is still rendered on an English page) ==== */
/* 3pines-project-sections.php:199, 257, 525, 539, 541 */
html[dir="ltr"] .threepines-project-challenges,html[dir="ltr"] .threepines-project-deliverables{direction:ltr}
html[dir="ltr"] .threepines-project-deliverables{text-align:left}
html[dir="ltr"] .td-scroll-preview{direction:ltr}
html[dir="ltr"] .td-scroll-preview__header{flex-direction:row-reverse}
html[dir="ltr"] .td-scroll-preview__header strong{direction:ltr}

/* Home "four things" cards: mirror the parts of the illustrations that are positioned physically. */
html[dir="ltr"] .tp-home .lp-feat__track{right:auto;left:calc(var(--p) + 6px)}
html[dir="ltr"] .tp-home .lp-feat__cta{box-shadow:calc(3px + var(--h) * 3px) calc(3px + var(--h) * 3px) 0 var(--lp-coral);transform:translate(calc(var(--h) * -3px),calc(var(--h) * -3px))}
html[dir="ltr"] .tp-home .lp-feat .lp-heading{font-size:clamp(27px,max(4vw,min(8.2vw,35px)),58px);line-height:1.02}
html[dir="ltr"] .tp-home .lp-feat__h3{line-height:1.1}

/* Home: six featured projects, three per row on wide screens (two per row below that, one on phones). */
@media(min-width:1100px){
  html[dir="ltr"] .tp-home .tp-featured-projects{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(44px,4.4vw,72px) clamp(28px,3vw,52px)}
  html[dir="ltr"] .tp-home .tp-featured-copy h3{font-size:clamp(24px,2.1vw,31px)}
  html[dir="ltr"] .tp-home .tp-featured-copy .tp-text-link{font-size:15px}
}

/* Home, phones: the six project cards become one swipeable row instead of a long column. The next card peeks in
   from the edge, and the dots under the row (the same ones as the "four things" cards) show the position. */
html[dir="ltr"] .tp-home .tp-work-dots{display:none}
@media(max-width:759px){
  html[dir="ltr"] .tp-home .tp-featured-projects{--rail-gutter:clamp(20px,5vw,64px);display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--rail-gutter);scrollbar-width:none;margin-inline:calc(-1 * var(--rail-gutter));padding:6px var(--rail-gutter) 18px}
  html[dir="ltr"] .tp-home .tp-featured-projects::-webkit-scrollbar{display:none}
  html[dir="ltr"] .tp-home .tp-featured-projects>article{flex:0 0 84%;scroll-snap-align:start}
  html[dir="ltr"] .tp-home .tp-featured-projects .tp-featured-image{margin-inline:0}
  html[dir="ltr"] .tp-home .tp-work-dots:not([hidden]){--lp-navy:var(--ink);display:flex;margin-top:6px}
  html[dir="ltr"] .tp-home .tp-featured-projects .tp-featured-copy>p:last-child{text-wrap:pretty}
  html[dir="ltr"] .tp-home .tp-work-more{margin-top:20px}
}

/* Home project cards: the "View project" link always sits under the project name, whatever the name's length. */
html[dir="ltr"] .tp-home .tp-featured-copy>div{flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:10px}
/* One-sentence descriptions: no single word left alone on the last line. */
html[dir="ltr"] .tp-home .tp-featured-copy>p:last-child{text-wrap:balance}

/* Home header fade: the rules live in home-light-hero.css and apply to both languages (owner decision, 16.11.2026). */

/* Home hero intro: in Hebrew the first sentence fits on its own line; in English it is longer and left two words
   alone on a second line. The two sentences flow as one paragraph instead. */
html[dir="ltr"] .tp-home-hero .tp-lead{text-wrap:pretty}
html[dir="ltr"] .tp-home-hero .tp-lead p{display:inline}
html[dir="ltr"] .tp-home-hero .tp-lead p+p::before{content:" "}

/* ==== home-project-rail.css: the row of project cards on the home page (from the live site, 16.11.2026) ==== */
/* The row scrolls from left to right, and the arrow next to each project name points up and to the right. */
html[dir="ltr"] .tp-home-project-rail{direction:ltr}
html[dir="ltr"] .tp-home-project-title>span{text-align:right}
@media(hover:hover) and (pointer:fine){html[dir="ltr"] .tp-home-project-link:hover .tp-home-project-title>span{transform:translate(2px,-2px)}}

/* ==== home-hero-background.css: the tilted grid of project covers behind the hero (from the live site, 16.11.2026) ==== */
/* In Hebrew the grid sits on the left, opposite the text. In English the text is on the left, so the whole layer is
   mirrored to the right, and every tile is mirrored back so its picture reads normally. */
html[dir="ltr"] .tp-home-hero-static .tp-hero-backdrop{transform:scaleX(-1)}
html[dir="ltr"] .tp-hero-backdrop-tile{transform:scaleX(-1)}
html[dir="ltr"] .tp-hero-backdrop-tile:nth-child(3n+2){transform:translateY(-32%) scaleX(-1)}
html[dir="ltr"] .tp-hero-backdrop-tile:nth-child(3n){transform:translateY(16%) scaleX(-1)}

/* ==== industry.css: heading column of "Who it's for" ==== */
/* The column is capped at 520px, which is too narrow for "A website that fits" once the heading reaches 64px
   (from 1536px wide): it broke into four lines. A wider cap keeps the two lines of the Hebrew original. */
html[dir="ltr"] .tp-industry-section-top>div{max-width:680px}

/* ==== industry.css: hero heading ==== */
/* In English the colored part is the trade and sits in the middle of the heading ("Web design for [door repair]
   companies"). As one box it stays on one line where it fits and wraps inside itself where it does not, so the
   balanced wrapping no longer splits it between two lines. */
html[dir="ltr"] .tp-industry-intro h1 span{display:inline-block}

/* ==== pages.css: About hero ==== */
/* The swoosh of the service and industry heroes (service-hero-swoosh.css) instead of the column lines, with the
   industry pages' default composition. English only for now. */
html[dir="ltr"] .tp-about-hero.tp-dark-lines{background-image:var(--tp-swoosh-ltr);background-repeat:no-repeat;background-position:52% 48%;background-size:112% auto}
@media(max-width:899px){html[dir="ltr"] .tp-about-hero.tp-dark-lines{background-size:cover}}

/* ==== ecommerce.css: project links ==== */
/* The arrow in "View the … project" is an SVG inside the page content (it points up and to the left for Hebrew).
   English: up and to the right, like the arrows of the project cards. */
html[dir="ltr"] .tp-ecom__plink svg{transform:scaleX(-1)}

/* ==== services.css: "who it's for" cards on the landing pages page ==== */
/* No numbers on these four cards in English (owner, 18.11.2026): they are four kinds of page, not steps in order.
   The number is decorative (aria-hidden), so hiding it changes nothing for screen readers. */
html[dir="ltr"] .tp-service-landing .tp-audience-cards .tp-svc-count{display:none}
