/*
Theme Name: Keren Horowitz Production RTL
Theme URI: https://keren.design
Author: Perplexity
Description: Production-oriented Hebrew RTL theme for Keren Horowitz, interior design and Feng Shui consulting.
Version: 1.1.0
Text Domain: keren-production
*/

:root,[data-theme="light"]{
  --text-xs:clamp(.75rem,.7rem + .25vw,.875rem);
  --text-sm:clamp(.9rem,.82rem + .3vw,1rem);
  --text-base:clamp(1rem,.95rem + .25vw,1.125rem);
  --text-lg:clamp(1.15rem,1rem + .7vw,1.45rem);
  --text-xl:clamp(1.6rem,1.25rem + 1vw,2.3rem);
  --text-2xl:clamp(2.3rem,1.45rem + 3.3vw,4.6rem);
  --space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--space-16:4rem;--space-20:5rem;--space-24:6rem;
  --color-bg:#f7f5f0;--color-surface:#fbf9f5;--color-surface-2:#f3eee7;--color-surface-offset:#ece5dc;--color-border:#d8d0c4;--color-divider:#e2dbd1;
  --color-text:#2a251d;--color-text-muted:#5f594f;--color-text-faint:#8d867d;--color-text-inverse:#fbf9f5;
  --color-primary:#09666b;--color-primary-hover:#0d4f53;--color-primary-soft:#d5e5df;--color-earth:#a06d3b;--color-earth-soft:#efe0d2;
  --radius-sm:.375rem;--radius-md:.55rem;--radius-lg:.85rem;--radius-xl:1.15rem;--radius-full:9999px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.05);--shadow-md:0 8px 20px rgba(0,0,0,.08);--shadow-lg:0 18px 40px rgba(0,0,0,.12);
  --content:1180px;
  --font-display:'Noto Serif Hebrew',serif;
  --font-body:'Heebo',sans-serif;
}
[data-theme="dark"]{
  --color-bg:#171614;--color-surface:#1d1b18;--color-surface-2:#24211d;--color-surface-offset:#2b2621;--color-border:#3f3a34;--color-divider:#2d2925;
  --color-text:#f1ece3;--color-text-muted:#c8c0b4;--color-text-faint:#9a9288;--color-text-inverse:#171614;
  --color-primary:#67aab2;--color-primary-hover:#8ac4cb;--color-primary-soft:#213538;--color-earth:#c18a52;--color-earth-soft:#4a3929;
  --shadow-sm:0 1px 3px rgba(0,0,0,.2);--shadow-md:0 8px 20px rgba(0,0,0,.28);--shadow-lg:0 18px 40px rgba(0,0,0,.38);
}
*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:none;text-size-adjust:none;scroll-behavior:smooth;scroll-padding-top:6rem}body{margin:0;min-height:100dvh;background:var(--color-bg);color:var(--color-text);font:400 var(--text-base)/1.8 var(--font-body);direction:rtl;text-align:right}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button,input,textarea,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--color-primary);outline-offset:3px;border-radius:var(--radius-sm)}
.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.screen-reader-text:focus{clip:auto!important;height:auto;width:auto;right:1rem;top:1rem;background:var(--color-primary);color:var(--color-text-inverse);padding:.75rem 1rem;border-radius:var(--radius-md);z-index:1000}
.container{width:min(calc(100% - 2rem),var(--content));margin-inline:auto}.site-header{position:sticky;top:0;z-index:100;background:rgba(247,245,240,.95);backdrop-filter:blur(16px);border-bottom:1px solid var(--color-divider)}[data-theme="dark"] .site-header{background:rgba(23,22,20,.95)}
.header-inner{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4) 0}.brand{display:flex;align-items:center;gap:.85rem}.brand-mark{width:44px;height:44px;padding:.45rem;border:1px solid var(--color-border);border-radius:50%;flex:none}.brand-text strong{display:block;font-family:var(--font-display);font-size:1.4rem;line-height:1.05}.brand-text span{display:block;font-size:var(--text-xs);color:var(--color-text-muted)}
.site-nav ul{display:flex;gap:var(--space-5);list-style:none;margin:0;padding:0;align-items:center}.site-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:var(--text-sm)}.header-actions{display:flex;align-items:center;gap:.75rem}.menu-toggle,.theme-toggle{display:none}
.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.92rem 1.3rem;border-radius:var(--radius-full);background:var(--color-primary);color:var(--color-text-inverse);border:1px solid var(--color-primary);font-weight:700;font-size:var(--text-sm);transition:.18s ease}.button:hover,.wp-block-button__link:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover)}.button.secondary{background:transparent;color:var(--color-text);border-color:var(--color-border)}
.hero{padding:clamp(4rem,10vw,7rem) 0 3rem}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,4rem);align-items:center}.eyebrow{display:inline-block;margin-bottom:var(--space-4);padding:.45rem .85rem;border-radius:var(--radius-full);background:var(--color-primary-soft);color:var(--color-primary);font-size:var(--text-xs);font-weight:700}.hero h1,.page-hero h1{margin:0 0 var(--space-4);font-family:var(--font-display);font-size:var(--text-2xl);line-height:1.02;font-weight:700;letter-spacing:-.02em}.hero p,.lead{margin:0 0 var(--space-6);max-width:58ch;color:var(--color-text-muted)}.hero-actions{display:flex;flex-wrap:wrap;gap:1rem}.hero-cues{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-3);margin-top:var(--space-6)}.hero-cue{padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);font-size:var(--text-sm)}.hero-visual{background:var(--color-surface);border:1px solid var(--color-border);border-radius:calc(var(--radius-xl) + .15rem);padding:var(--space-4);box-shadow:var(--shadow-lg)}.hero-visual img{aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius-lg)}
.section{padding:clamp(3.5rem,7vw,6rem) 0}.section.alt{background:var(--color-surface)}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--space-4);margin-bottom:var(--space-8)}.section-head h2{margin:0;font-family:var(--font-display);font-size:var(--text-xl)}.section-head p{margin:0;max-width:54ch;color:var(--color-text-muted)}
.projects-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:var(--space-5)}.project-card{grid-column:span 4;background:var(--color-surface-2);border:1px solid var(--color-border);border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-sm)}.project-card.featured{grid-column:span 8}.project-card img{width:100%;aspect-ratio:16/11;object-fit:cover}.project-copy{padding:var(--space-5)}.project-copy h3{margin:0 0 .45rem;font-size:var(--text-lg)}.project-copy p{margin:0;color:var(--color-text-muted)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,4rem)}.panel{background:var(--color-surface-2);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:var(--space-6);box-shadow:var(--shadow-sm)}.panel h3{margin-top:0;font-size:var(--text-lg)}.panel p,.service p,.testimonial p,.entry-content p,.meta-list{color:var(--color-text-muted)}
.services,.testimonials,.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-4)}.service,.testimonial,.blog-card,.archive-card{background:var(--color-surface-2);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:var(--space-5);box-shadow:var(--shadow-sm)}.service h3,.blog-card h3,.archive-card h2{margin:.85rem 0 .5rem}.icon{width:2.4rem;height:2.4rem;color:var(--color-primary)}.accent-chip{display:inline-flex;align-items:center;padding:.35rem .7rem;border-radius:var(--radius-full);background:var(--color-earth-soft);color:var(--color-earth);font-size:var(--text-xs);font-weight:700}
.feng-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:var(--space-4)}.feng-item{padding:var(--space-5);background:var(--color-surface-2);border:1px solid var(--color-border);border-radius:var(--radius-lg);text-align:center}.feng-item strong{display:block;font-family:var(--font-display);font-size:var(--text-lg);margin-bottom:.35rem}
.contact-wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:var(--space-6)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}label{display:grid;gap:.45rem;font-size:var(--text-sm);font-weight:600}input,textarea{width:100%;padding:.95rem 1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-bg)}textarea{min-height:150px;resize:vertical}.full{grid-column:1/-1}
.page-hero{padding:4rem 0 2rem}.content-grid{display:grid;grid-template-columns:2fr 1fr;gap:var(--space-8)}.entry-content,.sidebar-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl)}.entry-content{padding:var(--space-6)}.sidebar-card{padding:var(--space-5);position:sticky;top:6rem}.entry-content h2,.entry-content h3{font-family:var(--font-display)}.site-footer{padding:var(--space-8) 0;border-top:1px solid var(--color-divider)}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap}.small{font-size:var(--text-xs);color:var(--color-text-muted)}
@media (max-width:980px){.hero-grid,.split,.contact-wrap,.content-grid{grid-template-columns:1fr}.hero-cues,.services,.testimonials,.blog-grid,.feng-grid{grid-template-columns:1fr 1fr}.projects-grid{grid-template-columns:repeat(6,1fr)}.project-card,.project-card.featured{grid-column:span 3}.site-nav{display:none;position:absolute;inset-inline:0;top:100%;background:var(--color-bg);border-bottom:1px solid var(--color-divider)}.site-nav.open{display:block}.site-nav ul{flex-direction:column;align-items:flex-start;padding:1rem}.menu-toggle,.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--color-border);border-radius:50%;background:var(--color-surface)}}
@media (max-width:640px){.hero-cues,.services,.testimonials,.blog-grid,.feng-grid,.projects-grid,.form-grid{grid-template-columns:1fr}.project-card,.project-card.featured{grid-column:auto}.brand-text span{display:none}}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
