@font-face{font-family:Heebo;font-style:normal;font-weight:300;font-display:swap;src:url('heebo-300.ttf') format('truetype')}
@font-face{font-family:Heebo;font-style:normal;font-weight:400;font-display:swap;src:url('heebo-400.ttf') format('truetype')}
@font-face{font-family:Heebo;font-style:normal;font-weight:500;font-display:swap;src:url('heebo-500.ttf') format('truetype')}

:root{
  --ink:#262824;
  --muted:#5c6353;        /* ≥5.5:1 on every light surface */
  --sage:#56624d;         /* buttons, accents — white text 6.5:1 */
  --sage-dark:#434d3c;
  --line:#dce0d6;
  --field-line:#868f7c;   /* ≥3:1 non-text contrast */
  --paper:#fff;
  --mist:#f8f9f6;
  --mist-2:#f3f5ef;
  --clay:#f1f3ed;
  --night:#242925;
  --wa:#1d7a43;           /* white icon 5.4:1 */
  --error:#a3322b;
  --header-h:72px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 8px);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Heebo,Arial,sans-serif;font-size:16px;line-height:1.7;font-weight:400}
img{display:block;max-width:100%;height:auto}
picture{display:block}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
button,a,input{-webkit-tap-highlight-color:transparent}
::selection{background:#d9e0d1;color:var(--ink)}
input{caret-color:var(--sage)}
a:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--sage);outline-offset:4px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}

/* ---------- header ---------- */
.site-header{min-height:var(--header-h);padding:10px 4%;display:flex;align-items:center;gap:32px;background:rgba(255,255,255,.96);border-bottom:1px solid #ecefe8;position:sticky;top:0;z-index:30;backdrop-filter:saturate(1.4) blur(6px)}
.brand{width:220px;flex-shrink:0;display:block;padding:6px 0}
.brand img{width:100%}
nav{display:flex;align-items:center;gap:28px}
.site-header nav{margin-inline:auto;font-size:15px;white-space:nowrap}
.site-header nav a{padding:10px 2px;border-bottom:1px solid transparent;transition:border-color .2s,color .2s}
.site-header nav a:hover{color:var(--sage);border-color:currentColor}
.menu-toggle{display:none}

.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;background:var(--sage);color:#fff;border:1px solid var(--sage);padding:12px 26px;line-height:1.4;font-size:16px;font-weight:400;transition:background .2s,transform .2s}
.button:hover{background:var(--sage-dark);border-color:var(--sage-dark)}
.button:active{transform:translateY(1px)}
.button .arrow{transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.button:hover .arrow{transform:translateX(-4px)}
.header-cta{font-size:15px;padding:10px 20px;min-height:44px;white-space:nowrap}

/* ---------- hero ---------- */
.hero{display:grid;grid-template-columns:40% 60%;min-height:480px;background:var(--mist)}
.hero-copy{align-self:center;padding:48px 10% 44px 7%}
h1{font-size:clamp(46px,4.4vw,72px);font-weight:300;line-height:1.12;letter-spacing:0;margin-bottom:22px}
.hero-lead{font-size:19px;line-height:1.75;color:var(--ink);max-width:28ch;margin-bottom:30px}
.hero-note{font-size:15px;color:var(--muted);margin:18px 0 0}
.hero-image{position:relative;min-height:480px;overflow:hidden}
.hero-image img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}

/* ---------- sections ---------- */
.section{padding:72px max(5.5%,calc((100vw - 1240px)/2))}
.section-heading{text-align:center;margin:0 auto 40px;max-width:640px}
h2{font-weight:400;font-size:36px;line-height:1.35;margin-bottom:12px}
.section-heading>p{color:var(--muted);font-size:17px;margin:0}
h3{font-size:22px;font-weight:500;margin-bottom:8px;line-height:1.45}

/* projects */
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.project-open{display:block;width:100%;padding:0;border:0;background:none;text-align:center}
.project-open picture{overflow:hidden}
.project-open img{width:100%;height:280px;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.project-open:hover img{transform:scale(1.04)}
.project-text{display:block;padding-top:16px}
.project-title{display:block;font-size:22px;font-weight:500;line-height:1.45;margin-bottom:6px}
.project-desc{display:block;font-size:16px;color:var(--muted);max-width:34ch;margin:0 auto 12px}
.text-link{display:inline-flex;gap:12px;align-items:center;min-height:44px;font-size:16px;color:var(--sage);border-bottom:1px solid transparent}
.project-open:hover .text-link,.text-link:hover{border-color:currentColor}
.project-open:focus-visible{outline-offset:6px}

/* dialog */
.project-dialog{border:0;padding:0;max-width:min(1040px,92vw);width:100%;background:var(--paper);color:var(--ink);box-shadow:0 30px 80px rgba(20,28,16,.28)}
.project-dialog::backdrop{background:rgba(28,34,26,.62)}
.project-dialog[open]{animation:dlg .35s cubic-bezier(.2,.7,.2,1)}
@keyframes dlg{from{opacity:0;transform:translateY(14px)}}
.dialog-inner{display:grid;grid-template-columns:1.4fr 1fr;position:relative}
.dialog-image img{width:100%;height:100%;max-height:78vh;object-fit:cover}
.dialog-copy{padding:48px 40px;align-self:center}
.dialog-copy h2{font-size:30px}
.dialog-copy p{color:var(--muted);font-size:17px;margin-bottom:28px}
.dialog-close{position:absolute;top:12px;left:12px;width:44px;height:44px;border:0;background:rgba(255,255,255,.92);display:grid;place-items:center;z-index:1}
.dialog-close svg{width:22px;height:22px}
body.dialog-open{overflow:hidden}

/* services */
.services{background:var(--mist-2)}
.service-grid{display:grid;grid-template-columns:1fr 1fr;max-width:900px;margin:0 auto}
.service-grid article{text-align:center;padding:8px 48px}
.service-grid article+article{border-right:1px solid var(--line)}
.service-grid p{font-size:17px;color:var(--muted);max-width:36ch;margin:12px auto 0}

/* about */
.about{display:grid;grid-template-columns:1.2fr 1fr;background:var(--paper)}
.about-copy{padding:72px 14% 72px 10%;align-self:center}
.about h2{font-size:40px}
.subtitle{font-size:16px;font-weight:500;color:var(--muted);margin-bottom:24px}
.about-copy>p{font-size:17px;color:var(--ink);max-width:52ch}
.about-copy>.about-lead{font-size:22px;font-weight:300;line-height:1.6;margin-bottom:14px}
.about-image img{height:100%;width:100%;max-height:560px;min-height:420px;object-fit:cover}

/* process */
.process{background:var(--mist)}
.process ol{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:36px;position:relative}
.process ol:before{content:'';height:1px;position:absolute;top:26px;left:12%;right:12%;background:#cfd6c8}
.process li{position:relative;text-align:center}
.step{display:flex;align-items:center;justify-content:center;background:var(--sage);color:#fff;width:52px;height:52px;border-radius:50%;margin:0 auto 16px;font-size:20px;font-weight:300;position:relative}
.process h3{font-size:19px}
.process li>p{font-size:16px;color:var(--muted);max-width:24ch;margin:0 auto}

/* reviews */
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.review{margin:0;border-top:1px solid var(--line);padding-top:24px}
.review blockquote{margin:0 0 16px;font-size:18px;font-weight:300;line-height:1.7}
.review figcaption{display:flex;flex-direction:column;font-size:15px}
.review-name{font-weight:500}
.review-meta{color:var(--muted)}

/* contact */
.contact{display:grid;grid-template-columns:58% 42%;background:var(--clay)}
.contact-copy{padding:64px 11%;align-self:center}
.contact h2{font-size:36px;text-align:center}
.contact-lead{font-size:17px;color:var(--muted);text-align:center;max-width:44ch;margin:0 auto 28px}
.contact-image img{width:100%;height:100%;object-fit:cover;min-height:420px;max-height:640px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:0}
.field label{display:block;font-size:15px;font-weight:500;color:var(--ink);margin-bottom:6px}
input{width:100%;background:#fff;border:1px solid var(--field-line);padding:12px 14px;min-height:50px;min-width:0;border-radius:0;font-size:16px;transition:border-color .2s,box-shadow .2s}
input:hover{border-color:var(--muted)}
input:focus{border-color:var(--sage);box-shadow:0 0 0 3px rgba(86,98,77,.18);outline:none}
input:focus-visible{outline:none}
input[dir=ltr]{text-align:right}
input[aria-invalid=true]{border-color:var(--error)}
.field-error{min-height:20px;margin:4px 0 0;font-size:14px;color:var(--error)}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.submit{width:100%;font-size:17px;min-height:54px}
.submit[aria-busy=true]{cursor:progress;opacity:.8}
.submit[aria-busy=true] .submit-label::after{content:'…'}
.form-status{min-height:24px;margin:12px 0 0;font-size:15px;text-align:center;color:var(--error)}
.form-status a{text-decoration:underline;text-underline-offset:3px}
.form-success{text-align:center;padding:28px 24px;background:#fff;border-top:2px solid var(--sage)}
.form-success:focus{outline:none}
.form-success h3{font-size:26px;font-weight:400}
.form-success p{font-size:17px;color:var(--muted);margin-bottom:20px}
.outline-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--sage);padding:10px 24px;font-size:16px;color:var(--sage);transition:background .2s,color .2s}
.outline-button:hover{background:var(--sage);color:#fff}
.contact-details{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 28px;margin-top:28px;font-size:16px;color:var(--muted)}
.contact-details a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink)}
.contact-details a:hover{color:var(--sage);text-decoration:underline;text-underline-offset:4px}

/* footer */
footer{background:var(--night);color:#d4d7cf;padding:36px 5% 22px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.footer-logo{width:230px;display:block;padding:6px 0}
.footer-logo img{filter:invert(1) brightness(1.1)}
footer nav{font-size:15px;gap:24px}
footer nav a{display:inline-flex;align-items:center;min-height:44px}
footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.footer-bottom{width:100%;border-top:1px solid rgba(255,255,255,.12);padding-top:16px;display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#b4bbae}
.footer-bottom p{margin:0}
.footer-bottom div{display:flex;gap:20px}
.footer-bottom a{display:inline-flex;align-items:center;min-height:44px}

/* whatsapp + mobile CTA */
.whatsapp{position:fixed;bottom:24px;left:24px;width:56px;height:56px;border-radius:50%;background:var(--wa);box-shadow:0 6px 20px rgba(0,0,0,.18);color:#fff;display:grid;place-items:center;z-index:25;transition:transform .2s}
.whatsapp:hover{transform:translateY(-2px)}
.whatsapp svg,.mobile-wa svg{width:30px;height:30px}
.mobile-cta{display:none}

.skip{position:fixed;top:-90px;right:20px;padding:14px 18px;background:#fff;z-index:100}
.skip:focus{top:10px}

/* ---------- responsive ---------- */
@media(min-width:1700px){.hero,.hero-image{min-height:560px}.project-open img{height:320px}}

@media(max-width:1200px){
  .site-header{gap:20px;padding:10px 3%}
  .brand{width:190px}
  .site-header nav{gap:20px}
  .header-cta{padding:10px 16px}
  .hero-copy{padding:40px 8% 40px 6%}
  .project-open img{height:240px}
  .about-copy{padding:56px 9%}
  .contact-copy{padding:52px 8%}
  .service-grid article{padding:8px 28px}
}

@media(max-width:960px){
  .header-cta{display:none}
}

@media(max-width:800px){
  :root{--header-h:64px}
  .site-header{min-height:var(--header-h);padding:8px 5%;justify-content:space-between}
  .brand{width:180px}
  .menu-toggle{display:inline-flex;align-items:center;min-height:44px;border:0;background:none;font-size:16px;color:var(--sage);padding:8px 4px}
  .site-header nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:8px 5% 16px;box-shadow:0 12px 20px rgba(0,0,0,.06);font-size:18px;align-items:stretch;gap:0;margin:0}
  .site-header nav.open{display:flex;flex-direction:column}
  .site-header nav a{padding:12px 4px;border-bottom:1px solid #eef0eb}
  .hero{grid-template-columns:1fr;min-height:0}
  .hero-copy{padding:30px 6% 34px;text-align:center;grid-row:2}
  .hero h1{font-size:44px;margin-bottom:16px}
  .hero h1 br{display:none}
  .hero-lead{font-size:18px;margin:0 auto 24px}
  .hero-image{min-height:280px;grid-row:1}
  .section{padding:52px 6%}
  .section-heading{margin-bottom:28px}
  h2{font-size:30px}
  .section-heading>p{font-size:16px}
  .project-grid{grid-template-columns:1fr;gap:32px}
  .project-open img{height:260px}
  .dialog-inner{grid-template-columns:1fr}
  .dialog-image img{max-height:48vh}
  .dialog-copy{padding:24px 22px 28px}
  .dialog-copy h2{font-size:26px}
  .project-dialog{max-width:100vw;max-height:100dvh;margin:auto 0 0}
  .service-grid{grid-template-columns:1fr;gap:28px}
  .service-grid article{padding:0 8px}
  .service-grid article+article{border-right:0;border-top:1px solid var(--line);padding-top:28px}
  .about{grid-template-columns:1fr}
  .about-copy{padding:40px 6% 48px}
  .about h2{font-size:32px}
  .about-image img{height:280px;min-height:0;max-height:none}
  .about-image{grid-row:1}
  .process ol{grid-template-columns:1fr 1fr;gap:32px 16px}
  .process ol:before{display:none}
  .process h3{font-size:18px}
  .review-grid{grid-template-columns:1fr;gap:24px}
  .contact{grid-template-columns:1fr}
  .contact-copy{padding:40px 6% 48px}
  .contact h2{font-size:30px}
  .contact-image img{height:220px;min-height:0}
  .contact-image{grid-row:1}
  .fields{grid-template-columns:1fr;gap:4px}
  .contact-details{flex-direction:column;gap:0}
  footer{padding:36px 6% 96px;justify-content:center}
  footer nav{flex-wrap:wrap;justify-content:center;gap:0 22px}
  .footer-bottom{display:block;text-align:center}
  .footer-bottom div{justify-content:center;margin-top:4px}
  .whatsapp{display:none}
  .mobile-cta{display:flex;gap:10px;position:fixed;bottom:0;left:0;right:0;padding:10px 4% calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #e6e9e2;z-index:25;transform:translateY(0);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
  .mobile-cta.is-hidden{transform:translateY(110%)}
  .mobile-cta .button{flex:1;min-height:50px}
  .mobile-wa{width:50px;height:50px;flex-shrink:0;display:grid;place-items:center;background:var(--wa);color:#fff;border-radius:50%}
}

@media(max-width:400px){
  .brand{width:160px}
  .hero h1{font-size:38px}
  .hero-image{min-height:240px}
  .project-open img{height:220px}
  h2{font-size:27px}
  .process ol{gap:28px 12px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* =========================================================
   Inner pages (ASP.NET site). Same tokens and rhythm as the home page.
   ========================================================= */
.site-header nav a[aria-current=page]{color:var(--sage);border-color:currentColor}
.more-link{text-align:center;margin:36px 0 0}
.service-grid:has(article:nth-child(3)){grid-template-columns:repeat(3,1fr);max-width:1180px}
.service-grid article .text-link{margin-top:10px}
textarea{width:100%;background:#fff;border:1px solid var(--field-line);padding:12px 14px;border-radius:0;font:inherit;font-size:16px;resize:vertical;min-height:96px}
textarea:focus{border-color:var(--sage);box-shadow:0 0 0 3px rgba(86,98,77,.18);outline:none}
.field .opt{font-weight:400;color:var(--muted)}
.field+.field{margin-top:22px}
.fields>.field{margin-top:0}
.fields+.field{margin-top:0}
.field:has(textarea){margin-bottom:24px}

.page-head{background:var(--mist);padding:44px max(5.5%,calc((100vw - 1240px)/2)) 40px;text-align:center}
.page-head h1{font-size:clamp(34px,3.6vw,52px);margin:10px 0 0}
.crumbs{font-size:14px;color:var(--muted)}
.crumbs a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
.crumbs a:hover{color:var(--sage)}

.prose-wrap{padding-top:52px;padding-bottom:52px}
.prose{max-width:760px;margin:0 auto;font-size:17px}
.prose p{margin-bottom:1.1em}
.prose .lead,.prose>p:first-child{font-size:20px;font-weight:300;line-height:1.7}
.prose h2{font-size:28px;margin:1.6em 0 .5em}
.prose h3{font-size:21px;margin:1.4em 0 .4em}
.prose ul,.prose ol{padding-inline-start:1.3em;margin:0 0 1.1em}
.prose a{color:var(--sage);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--sage-dark)}
.prose img{margin:8px 0 20px}
.prose::after{content:'';display:block;clear:both}
.portrait{float:left;width:min(300px,42%);margin:6px 36px 20px 0}
.portrait img{width:100%;margin:0}
.with-aside{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:56px;align-items:start;max-width:1240px;margin:0 auto}
.with-aside .prose{margin:0}
.contact-card{background:var(--mist-2);padding:30px 30px 18px;border-top:2px solid var(--sage)}
.contact-card h2{font-size:24px;margin-bottom:2px}
.contact-card>p{color:var(--muted);margin-bottom:14px}
.contact-card ul{list-style:none;margin:0;padding:0}
.contact-card li{display:flex;flex-direction:column;padding:10px 0;border-top:1px solid var(--line)}
.contact-card li span{font-size:13px;color:var(--muted)}
.contact-card a{color:var(--ink);align-self:flex-start;min-height:32px;display:inline-flex;align-items:center}
.contact-card a:hover{color:var(--sage);text-decoration:underline}

.short-answer{background:var(--mist-2);border-right:3px solid var(--sage);padding:18px 22px;margin:0 0 28px}
.short-answer strong{display:block;font-weight:500;color:var(--sage);margin-bottom:4px}
.short-answer p{margin:0;font-size:18px}
.byline{font-size:14px;color:var(--muted);margin-top:28px}
.sources{font-size:14px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;margin-top:22px}
.sources ul{margin:6px 0 0}

.faq{margin-top:12px}
.faq>h2{margin-top:1.4em}
.faq details{border-top:1px solid var(--line)}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:18px 0 18px 36px;font-size:19px;font-weight:500;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'';position:absolute;left:6px;top:50%;width:10px;height:10px;border-left:1.5px solid var(--sage);border-bottom:1.5px solid var(--sage);transform:translateY(-70%) rotate(-45deg);transition:transform .25s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(135deg)}
.faq details p{color:var(--muted);margin:0 0 20px}

.gallery-wrap{padding-top:8px}
.gallery{columns:3 300px;column-gap:14px;max-width:1240px;margin:0 auto}
.gallery:has(>.gallery-item:only-child){columns:auto;max-width:460px}
.gallery:has(>.gallery-item:nth-child(2):last-child){columns:2;max-width:920px}
.gallery-item{display:block;break-inside:avoid;margin-bottom:14px;overflow:hidden;background:var(--mist)}
.gallery-item img{width:100%;transition:transform .7s cubic-bezier(.2,.7,.2,1),opacity .3s}
.gallery-item:hover img{transform:scale(1.03)}
.gallery-item:focus-visible{outline-offset:2px}
.more-projects{background:var(--mist)}

.lightbox{border:0;padding:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:rgba(22,26,21,.94);color:#fff}
.lightbox[open]{display:grid;grid-template-columns:64px 1fr 64px;align-items:center}
.lightbox::backdrop{background:rgba(22,26,21,.94)}
.lightbox figure{margin:0;height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 0 20px;min-width:0}
.lightbox img{max-width:100%;max-height:calc(100dvh - 120px);object-fit:contain}
.lightbox figcaption{font-size:15px;color:#d4d7cf;margin-top:12px;text-align:center;max-width:70ch;min-height:1.5em;padding:0 12px}
.lightbox button{background:none;border:0;color:#fff;width:56px;height:56px;display:grid;place-items:center;font-size:44px;font-weight:300;line-height:1}
.lightbox button:hover{background:rgba(255,255,255,.08)}
.lb-close{position:absolute;top:10px;left:10px}
.lb-close svg{width:26px;height:26px}
.lb-prev{grid-column:1;justify-self:center}
.lb-next{grid-column:3;justify-self:center}

.testimonials{padding-top:0}
.testimonial-grid{columns:2 420px;column-gap:28px;max-width:1240px;margin:0 auto}
.testimonial{break-inside:avoid;margin:0 0 28px;background:var(--mist-2);padding:30px 32px 24px;position:relative}
.testimonial::before{content:'”';position:absolute;top:2px;right:22px;font-size:64px;line-height:1;color:#c9d1c0;font-family:Georgia,serif}
.testimonial blockquote{margin:0 0 14px;font-size:17px}
.testimonial blockquote p{margin:0 0 .6em}
.testimonial figcaption{font-weight:500;color:var(--sage);font-size:15px}

.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;max-width:1240px;margin:0 auto}
.post a{display:block}
.post img{width:100%;height:220px;object-fit:cover;margin-bottom:14px}
.post h2{font-size:22px;font-weight:500;margin-bottom:4px}
.post time{font-size:14px;color:var(--muted)}
.post p{color:var(--muted);margin:8px 0 6px}

@media(max-width:1360px){.header-cta{display:none}}
@media(max-width:1100px){
  .site-header{justify-content:space-between}
  .menu-toggle{display:inline-flex;align-items:center;min-height:44px;border:0;background:none;font-size:16px;color:var(--sage);padding:8px 4px}
  .site-header nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:8px 5% 16px;box-shadow:0 12px 20px rgba(0,0,0,.06);font-size:18px;align-items:stretch;gap:0;margin:0}
  .site-header nav.open{display:flex;flex-direction:column}
  .site-header nav a{padding:12px 4px;border-bottom:1px solid #eef0eb}
  .service-grid:has(article:nth-child(3)){grid-template-columns:1fr;gap:28px;max-width:640px}
  .service-grid article+article{border-right:0;border-top:1px solid var(--line);padding-top:28px}
  .with-aside{grid-template-columns:1fr;gap:36px}
  .post-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:800px){
  .page-head{padding:30px 6% 28px}
  .prose-wrap{padding-top:36px;padding-bottom:36px}
  .prose{font-size:16.5px}
  .prose .lead,.prose>p:first-child{font-size:18px}
  .portrait{float:none;width:min(260px,70%);margin:0 auto 24px}
  .gallery{columns:2 150px;column-gap:8px}
  .gallery-item{margin-bottom:8px}
  .lightbox[open]{grid-template-columns:44px 1fr 44px}
  .lightbox button{width:44px}
  .testimonial{padding:26px 22px 20px}
  .post-grid{grid-template-columns:1fr}
}

/* =========================================================
   Width: everything sits in the middle with margins on the sides (Erez, 2026-11-03)
   ========================================================= */
:root{--wrap:1320px;--side:max(4%,calc((100vw - var(--wrap))/2))}
.site-header,footer{padding-inline:var(--side)}
.hero,.about,.contact{max-width:var(--wrap);margin-inline:auto}
.section,.page-head{padding-inline:max(5.5%,calc((100vw - 1200px)/2))}
.services,.process,.page-head,.more-projects{background:linear-gradient(var(--mist-2),var(--mist-2)) center/min(100%,var(--wrap)) 100% no-repeat}
.process{background:linear-gradient(var(--mist),var(--mist)) center/min(100%,var(--wrap)) 100% no-repeat}
.page-head,.more-projects{background:linear-gradient(var(--mist),var(--mist)) center/min(100%,var(--wrap)) 100% no-repeat}
@media(min-width:1400px){.hero{margin-top:24px}.contact{margin-bottom:56px}}

/* =========================================================
   Motion: gentle, smooth, never in the way (site-motion-standard)
   ========================================================= */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.35s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}

:root{--ease:cubic-bezier(.2,.7,.2,1)}
html.js [data-reveal]{opacity:0;transform:translate3d(0,22px,0);transition:opacity .85s var(--ease),transform .85s var(--ease);transition-delay:var(--d,0s)}
html.js [data-reveal].is-in{opacity:1;transform:none}
html.js .gallery-item[data-reveal]{transform:translate3d(0,14px,0)}
html.js .gallery-item[data-reveal].is-in{transform:none}

/* hero: slow zoom on load, copy rises in */
.hero-image img{transform-origin:50% 60%}
html.js .hero-image img{animation:heroZoom 2.4s var(--ease) both}
@keyframes heroZoom{from{transform:scale(1.07)}to{transform:scale(1)}}
html.js .hero-copy>*{animation:rise .9s var(--ease) both}
html.js .hero-copy>:nth-child(2){animation-delay:.12s}
html.js .hero-copy>:nth-child(3){animation-delay:.24s}
html.js .hero-copy>:nth-child(4){animation-delay:.36s}
html.js .page-head>*{animation:rise .8s var(--ease) both}
html.js .page-head>h1{animation-delay:.1s}
@keyframes rise{from{opacity:0;transform:translate3d(0,16px,0)}}

/* parallax layers move by transform only */
[data-parallax]{overflow:hidden}
/* no will-change on images: Chrome rasterizes such a layer once and keeps it soft when scaled */
.about-image,.contact-image{overflow:hidden}

/* header gets a soft shadow once the page moves */
.site-header{transition:box-shadow .4s var(--ease),background .4s var(--ease)}
.site-header.scrolled{box-shadow:0 8px 28px rgba(30,36,28,.07)}

/* micro-interactions */
.button,.outline-button{transition:background .3s var(--ease),color .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease)}
.button:hover,.outline-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(67,77,60,.18)}
.button:active,.outline-button:active{transform:translateY(0);box-shadow:none}
.site-header nav a{position:relative;border-bottom:0}
.site-header nav a::after{content:'';position:absolute;right:2px;left:2px;bottom:4px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.site-header nav a:hover::after,.site-header nav a[aria-current=page]::after{transform:scaleX(1)}
.text-link{border-bottom:0;background:linear-gradient(currentColor,currentColor) right bottom/0 1px no-repeat;transition:background-size .45s var(--ease),color .3s}
.text-link:hover,.project-open:hover .text-link{background-size:100% 1px}
.text-link span[aria-hidden]{transition:transform .35s var(--ease)}
.text-link:hover span[aria-hidden],.project-open:hover .text-link span[aria-hidden]{transform:translateX(-4px)}
.project-open img,.post img{transition:transform 1.1s var(--ease),filter .6s var(--ease)}
.project-open:hover img,.post a:hover img{transform:scale(1.045)}
.post a>img{overflow:hidden}
.gallery-item img{transition:transform 1.1s var(--ease),filter .6s var(--ease)}
.gallery-item:hover img{transform:scale(1.04);filter:brightness(1.03)}
.service-grid article,.testimonial,.review{transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.testimonial:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(30,36,28,.06)}
.faq summary{transition:color .3s}
.faq summary:hover{color:var(--sage)}
.whatsapp{transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.whatsapp:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 12px 26px rgba(0,0,0,.2)}
.lightbox[open] figure img{animation:lbIn .45s var(--ease)}
@keyframes lbIn{from{opacity:0;transform:scale(.98)}}

/* smooth scrolling (Lenis) */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}

@media(max-width:800px){
  .hero,.about,.contact{max-width:none}
  html.js .hero-image img{animation-duration:1.8s}
}
@media(prefers-reduced-motion:reduce){
  html.js [data-reveal]{opacity:1;transform:none;transition:none}
  html.js .hero-image img,html.js .hero-copy>*,html.js .page-head>*{animation:none}
  [data-parallax] img{transform:none!important}
  @view-transition{navigation:none}
}

/* contact page: intro in the middle, one card per way to reach Nurit */
.contact-page{padding-top:56px;padding-bottom:64px}
.contact-intro{max-width:680px;margin:0 auto 40px;text-align:center;font-size:20px;font-weight:300;line-height:1.75}
.contact-intro p{margin:0}
.ways{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;max-width:1200px}
.way>a,.way>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;height:100%;padding:30px 18px 26px;background:var(--mist-2);border-top:2px solid transparent;transition:border-color .4s var(--ease),transform .4s var(--ease),box-shadow .4s var(--ease),background .4s var(--ease)}
.way>a:hover{border-color:var(--sage);transform:translateY(-3px);box-shadow:0 14px 30px rgba(30,36,28,.07);background:#fff}
.way-icon{width:48px;height:48px;border-radius:50%;background:var(--sage);color:#fff;display:grid;place-items:center;margin-bottom:8px;transition:transform .4s var(--ease)}
.way>a:hover .way-icon{transform:scale(1.06)}
.way-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.way-label{font-size:14px;color:var(--muted)}
.way-value{font-size:17px;color:var(--ink);word-break:break-word}
@media(max-width:800px){.contact-page{padding-top:36px;padding-bottom:44px}.contact-intro{font-size:18px;margin-bottom:28px}.ways{grid-template-columns:1fr 1fr;gap:10px}.way>a,.way>div{padding:22px 10px 18px}.way-value{font-size:15px}}

/* images stay sharp: a revealed element drops its transform completely, so the browser paints the image at full resolution */
html.js [data-reveal].is-in{transform:none;will-change:auto}
img{image-rendering:auto;backface-visibility:visible}

/* press page (כתבו עלי): one card per article, image + text */
.press{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:32px;align-items:center;margin:0 0 44px;padding-bottom:44px;border-bottom:1px solid var(--line)}
.press:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.prose .press-media{display:block;overflow:hidden;text-decoration:none}
.prose .press-media img{margin:0;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform 1.1s var(--ease)}
.press-media:hover img{transform:scale(1.045)}
.prose .press-meta{margin:0 0 6px;font-size:14px;color:var(--muted);letter-spacing:.02em}
.press-outlet{font-weight:500;color:var(--sage)}
.prose .press h2{font-size:24px;line-height:1.4;margin:0 0 10px}
.prose .press-text p{font-size:16px}
.prose .press-orig{font-size:14px;color:var(--muted);margin:-4px 0 10px}
.prose .press-links{display:flex;flex-wrap:wrap;gap:0 24px;margin:0}
.prose a.text-link{text-decoration:none;color:var(--sage)}
@media(max-width:700px){.press{grid-template-columns:1fr;gap:18px;margin-bottom:36px;padding-bottom:36px}.prose .press h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.prose .press-media img{transition:none}.press-media:hover img{transform:none}}
