:root {
    --bg: #f2f1ec;
    --surface: #faf9f5;
    --ink: #171815;
    --muted: #6b6d66;
    --line: rgba(23, 24, 21, .16);
    --accent: #384438;
    --dark: #171a16;
    --shell: 1420px;
    --font-sans: "Heebo";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.rtl { direction: rtl; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.site-shell {
    width: min(calc(100% - 64px), var(--shell));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(242, 241, 236, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 42px;
}
.site-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand .custom-logo { width: auto; max-width: 230px; max-height: 48px; }
.site-brand__name { font-size: 25px; font-weight: 700; letter-spacing: -.04em; }
.primary-navigation { justify-self: center; }
.primary-menu, .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}
.primary-menu a {
    text-decoration: none;
    font-size: 14px;
    color: #343630;
    transition: opacity .2s ease;
}
.primary-menu a:hover { opacity: .52; }
.site-header__actions { display: flex; align-items: center; gap: 12px; direction: ltr; }
.header-phone { font-size: 14px; text-decoration: none; padding: 10px 4px; }
.header-cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 17px;
    border: 1px solid var(--ink);
    text-decoration: none;
    font-size: 13px;
    direction: rtl;
}
.menu-toggle { display: none; }

.site-main { min-height: 60vh; }
.section-space { padding-block: clamp(100px, 11vw, 180px); }
.section-index {
    font-size: 12px;
    letter-spacing: .02em;
    color: var(--muted);
}

.hero-modern {
    min-height: calc(100vh - 86px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(66px, 7vw, 104px) 0 28px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero-modern__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
    align-items: center;
    gap: clamp(54px, 7vw, 120px);
}
.hero-modern__content { max-width: 840px; }
.hero-modern__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: clamp(42px, 5vw, 76px);
}
.hero-modern__line { width: 56px; height: 1px; background: var(--line); }
.hero-modern h1 {
    margin: 0;
    max-width: 9.5ch;
    font-size: clamp(64px, 7.2vw, 118px);
    line-height: .92;
    letter-spacing: -.07em;
    font-weight: 500;
}
.hero-modern h1 span { color: #8b8d85; }
.hero-modern__lead {
    max-width: 640px;
    margin: clamp(34px, 4vw, 58px) 0 0;
    color: #454740;
    font-size: clamp(18px, 1.5vw, 23px);
    line-height: 1.65;
}
.hero-modern__actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--line);
    text-decoration: none;
    transition: transform .18s ease, opacity .18s ease;
}
.button--large { min-height: 58px; padding-inline: 28px; }
.button--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.button:hover { transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.hero-modern__visual { min-height: 580px; }
.stone-composition {
    position: relative;
    height: 100%;
    min-height: 580px;
    background: #dedbd0;
    overflow: hidden;
}
.stone-composition::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,.09) .7px, transparent .7px);
    background-size: 7px 7px;
    opacity: .25;
}
.stone-composition__label {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
    font-size: 10px;
    letter-spacing: .14em;
    color: #55584f;
    direction: ltr;
}
.stone-form { position: absolute; background: #8f9186; }
.stone-form--one { width: 58%; height: 67%; right: 8%; bottom: 0; background: #c8c4b8; }
.stone-form--two { width: 44%; height: 49%; left: 5%; top: 17%; background: #5d665a; }
.stone-form--three { width: 25%; height: 25%; right: 26%; top: 8%; background: #ece9df; border: 1px solid rgba(23,24,21,.12); }
.stone-composition__caption {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    color: #fff;
    direction: ltr;
}
.stone-composition__caption span:first-child { font-size: 52px; line-height: .9; letter-spacing: -.06em; }
.stone-composition__caption span:last-child { font-size: 11px; line-height: 1.45; text-transform: uppercase; }
.hero-modern__footer { display: flex; align-items: center; gap: 15px; font-size: 11px; color: var(--muted); margin-top: 60px; }
.hero-modern__footer-line { height: 1px; width: 68px; background: var(--line); }

.intro-statement__grid {
    display: grid;
    grid-template-columns: minmax(160px, .55fr) minmax(0, 2fr);
    gap: 60px;
}
.intro-statement__content { max-width: 1050px; }
.intro-statement h2,
.section-heading h2,
.materials-modern h2,
.contact-modern h2 {
    margin: 0;
    font-size: clamp(54px, 6vw, 96px);
    line-height: .96;
    letter-spacing: -.065em;
    font-weight: 500;
}
.intro-statement p {
    max-width: 700px;
    margin: 50px 0 0 auto;
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--muted);
}

.services-modern { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading {
    padding-block: 62px 56px;
    display: grid;
    grid-template-columns: minmax(160px, .55fr) minmax(0, 2fr);
    gap: 60px;
    align-items: end;
}
.section-heading h2 { font-size: clamp(50px, 5vw, 82px); }
.services-modern__grid { border-top: 1px solid var(--line); }
.service-row {
    display: grid;
    grid-template-columns: 72px minmax(240px, .9fr) minmax(280px, 1.3fr) 50px;
    gap: 34px;
    align-items: center;
    min-height: 150px;
    border-bottom: 1px solid var(--line);
    transition: background .2s ease, padding .2s ease;
}
.service-row:last-child { border-bottom: 0; }
.service-row:hover { background: rgba(255,255,255,.36); padding-inline: 16px; }
.service-row__number { color: var(--muted); font-size: 11px; }
.service-row h3 { margin: 0; font-size: clamp(30px, 3vw, 48px); font-weight: 500; letter-spacing: -.045em; }
.service-row p { margin: 0; max-width: 550px; color: var(--muted); font-size: 16px; }
.service-row__arrow { font-size: 28px; justify-self: end; }

.materials-modern__grid {
    display: grid;
    grid-template-columns: minmax(340px, .85fr) minmax(520px, 1.15fr);
    gap: clamp(60px, 8vw, 130px);
    align-items: center;
}
.materials-modern__copy h2 { margin-top: 28px; font-size: clamp(52px, 5.4vw, 86px); }
.materials-modern__copy p { max-width: 530px; color: var(--muted); font-size: 18px; margin: 34px 0; }
.materials-modern__board {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    grid-template-rows: 300px 220px;
    gap: 10px;
}
.material-tile { position: relative; padding: 20px; display: flex; align-items: flex-end; overflow: hidden; }
.material-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.25) .6px, transparent .7px);
    background-size: 6px 6px;
    opacity: .32;
}
.material-tile span { position: relative; z-index: 2; font-size: 12px; }
.material-tile--dark { grid-row: span 2; background: #343a34; color: #fff; }
.material-tile--warm { background: #b7a489; }
.material-tile--light { background: #ded9cb; }
.material-tile--red { display: none; background: #7a574b; color: #fff; }

.process-modern { background: var(--dark); color: #f3f2ed; padding-bottom: clamp(90px, 9vw, 150px); }
.section-heading--light { padding-top: 90px; }
.section-heading--light .section-index { color: #93978e; }
.process-modern__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.process-step { padding: 34px 34px 60px; border-left: 1px solid rgba(255,255,255,.18); }
.process-step:last-child { border-left: 0; }
.process-step > span { color: #90958b; font-size: 11px; }
.process-step h3 { margin: 70px 0 18px; font-size: clamp(34px, 3vw, 48px); font-weight: 500; letter-spacing: -.04em; }
.process-step p { max-width: 310px; margin: 0; color: #aeb2aa; }

.contact-modern { padding-block: clamp(100px, 11vw, 180px); }
.contact-modern__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.contact-modern h2 { margin-top: 28px; }
.contact-modern__action { max-width: 440px; }
.contact-modern__action p { color: var(--muted); font-size: 18px; }
.phone-link {
    display: block;
    margin: 34px 0;
    font-size: clamp(36px, 4vw, 64px);
    line-height: 1;
    letter-spacing: -.05em;
    text-decoration: none;
    direction: ltr;
    text-align: right;
}

.site-footer { border-top: 1px solid var(--line); padding-block: 70px 26px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start; }
.site-footer__brand { font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.site-footer__tagline { max-width: 420px; color: var(--muted); }
.footer-menu { flex-wrap: wrap; }
.footer-menu a { text-decoration: none; font-size: 13px; }
.site-footer__legal { margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

.article-shell { max-width: 920px; }
.article-header { margin-bottom: 46px; }
.article-header h1, .archive-header h1, .error-page h1 { margin: 14px 0 0; font-size: clamp(48px, 6vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.prose { font-size: clamp(17px, 1.4vw, 20px); }
.prose > * { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.04em; }
.prose h3 { margin-top: 2em; font-size: clamp(28px, 3vw, 40px); }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post-card { background: var(--bg); padding: clamp(30px, 4vw, 56px); min-height: 300px; }
.post-card__title { margin: 20px 0 24px; font-size: clamp(30px, 3vw, 46px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { color: var(--muted); }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; padding: 12px 16px; margin: 10px; background: #fff; color: #000; z-index: 9999; }

@media (max-width: 1080px) {
    .site-header__inner { grid-template-columns: auto 1fr auto; gap: 20px; }
    .primary-navigation { display: none; position: absolute; top: 76px; inset-inline: 24px; background: var(--surface); border: 1px solid var(--line); padding: 22px; }
    .primary-navigation.is-open { display: block; }
    .primary-menu { flex-direction: column; align-items: flex-start; gap: 18px; }
    .menu-toggle { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
    .menu-toggle span:not(.screen-reader-text) { width: 16px; height: 1px; background: currentColor; }
    .header-cta { display: none; }
    .hero-modern__grid { grid-template-columns: 1fr; }
    .hero-modern__content { max-width: none; }
    .hero-modern__visual { min-height: 420px; }
    .stone-composition { min-height: 420px; }
    .materials-modern__grid, .contact-modern__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .site-shell { width: min(calc(100% - 30px), var(--shell)); }
    .site-header__inner { min-height: 72px; }
    .site-brand .custom-logo { max-width: 175px; max-height: 38px; }
    .header-phone { display: none; }
    .hero-modern { min-height: auto; padding-top: 58px; }
    .hero-modern h1 { font-size: clamp(52px, 16vw, 82px); max-width: 8.4ch; }
    .hero-modern__meta { margin-bottom: 34px; }
    .hero-modern__lead { font-size: 18px; }
    .hero-modern__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
    .hero-modern__visual, .stone-composition { min-height: 390px; }
    .hero-modern__footer { margin-top: 32px; }
    .intro-statement__grid, .section-heading { grid-template-columns: 1fr; gap: 28px; }
    .intro-statement h2, .section-heading h2, .materials-modern h2, .contact-modern h2 { font-size: clamp(46px, 13vw, 68px); }
    .intro-statement p { margin-top: 32px; }
    .service-row { grid-template-columns: 44px 1fr 32px; gap: 14px; padding-block: 26px; }
    .service-row p { grid-column: 2 / 4; }
    .service-row h3 { font-size: 32px; }
    .materials-modern__board { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px; }
    .process-modern__grid { grid-template-columns: 1fr; }
    .process-step { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding-inline: 0; }
    .process-step:last-child { border-bottom: 0; }
    .process-step h3 { margin-top: 34px; }
    .contact-modern__grid { gap: 48px; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .footer-menu { gap: 16px 22px; }
    .content-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ===== v3 system ===== */
:root { --font-sans: 'Heebo'; --soft: #e8e6de; }
html, body, button, input, textarea, select, optgroup, option, code, pre, kbd, samp { font-family: 'Heebo'; }
.hero-modern h1, .intro-statement h2, .section-heading h2, .materials-modern h2, .contact-modern h2,
.inner-hero h1, .service-detail h2, .material-overview h2, .local-intro h2, .contact-block h2, .about-values h2,
.contact-page h2 { font-family: 'Heebo'; font-weight: 500; }

.hero-modern--photo .hero-modern__lead { max-width: 690px; }
.home-hero-photo { position: relative; height: 580px; margin: 0; overflow: hidden; background: #d9d6cc; }
.home-hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96); }
.home-hero-photo::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(20,20,18,.08); pointer-events:none; }
.home-hero-photo figcaption { position:absolute; left:22px; bottom:20px; display:flex; gap:14px; align-items:flex-end; padding:10px 12px; background:rgba(242,241,236,.9); font-size:11px; direction:ltr; }
.home-hero-photo figcaption span:first-child { font-size:30px; line-height:1; }

.inner-hero { min-height: 700px; padding: clamp(74px, 8vw, 126px) 0 70px; border-bottom: 1px solid var(--line); }
.inner-hero__grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(400px,.92fr); gap:clamp(50px,7vw,110px); align-items:center; }
.inner-hero__copy h1 { margin:34px 0 28px; max-width:900px; font-size:clamp(58px,7vw,112px); line-height:.94; letter-spacing:-.055em; }
.inner-hero__lead { max-width:680px; margin:0; color:var(--muted); font-size:clamp(19px,1.55vw,24px); line-height:1.65; }
.page-kicker { display:flex; align-items:center; gap:14px; font-size:12px; color:var(--muted); }
.page-kicker span:first-child { width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; direction:ltr; }
.inner-hero__image { margin:0; height:560px; background:#d8d5ca; overflow:hidden; }
.inner-hero__image img { width:100%; height:100%; object-fit:cover; filter:saturate(.82); }
.inner-hero__stone { height:560px; position:relative; background:#dcd8cd; overflow:hidden; }
.inner-hero__stone span { position:absolute; display:block; }
.inner-hero__stone span:nth-child(1){ width:58%; height:74%; right:8%; bottom:0; background:#b9b7ae; }
.inner-hero__stone span:nth-child(2){ width:45%; height:42%; left:8%; top:13%; background:#59635a; }
.inner-hero__stone span:nth-child(3){ width:24%; height:24%; right:24%; top:7%; background:#eeeae0; }

.section-space-sm { padding-block:clamp(72px,8vw,120px); }
.compact-heading { padding-block:0 48px; grid-template-columns:minmax(150px,.45fr) minmax(0,2fr); }
.compact-heading h2 { font-size:clamp(46px,5vw,76px); }
.service-detail__grid, .material-overview__grid, .local-intro__grid, .about-values__grid { display:grid; grid-template-columns:minmax(150px,.45fr) minmax(0,2fr); gap:60px; }
.service-detail__content > h2, .material-overview h2, .local-intro h2, .about-values h2 { margin:0 0 60px; font-size:clamp(52px,6vw,92px); line-height:.98; letter-spacing:-.055em; }
.feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--line); border-right:1px solid var(--line); }
.feature-card { min-height:270px; padding:30px; border-left:1px solid var(--line); border-bottom:1px solid var(--line); }
.feature-card > span, .material-features span, .value-list span { font-size:11px; color:var(--muted); }
.feature-card h3 { margin:55px 0 16px; font-size:clamp(29px,3vw,42px); font-weight:500; letter-spacing:-.04em; }
.feature-card p { margin:0; color:var(--muted); max-width:390px; }

.photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.photo-grid figure { margin:0; min-height:360px; background:#ddd9ce; overflow:hidden; }
.photo-grid figure:nth-child(1), .photo-grid figure:nth-child(5) { grid-column:span 2; }
.photo-grid img { width:100%; height:100%; min-height:360px; object-fit:cover; transition:transform .45s ease; }
.photo-grid figure:hover img { transform:scale(1.018); }
.gallery-link { margin-top:34px; }

.care-note { padding-block:72px; background:#e6e4dc; border-block:1px solid var(--line); }
.care-note__grid { display:grid; grid-template-columns:minmax(150px,.45fr) minmax(0,2fr); gap:60px; }
.care-note p { margin:0; max-width:880px; font-size:clamp(24px,3vw,42px); line-height:1.35; letter-spacing:-.025em; }
.large-copy { max-width:850px; font-size:clamp(21px,2vw,30px); line-height:1.55; color:#44473f; }

.material-features { display:grid; grid-template-columns:repeat(3,1fr); margin-bottom:64px; border-top:1px solid var(--line); }
.material-features > div { min-height:150px; padding:24px; border-left:1px solid var(--line); }
.material-features > div:last-child { border-left:0; }
.material-features p { margin:42px 0 0; font-size:18px; }

.related-materials { border-top:1px solid var(--line); }
.material-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-right:1px solid var(--line); }
.material-card { position:relative; min-height:410px; padding:26px; border-left:1px solid var(--line); border-bottom:1px solid var(--line); text-decoration:none; overflow:hidden; }
.material-card__image { display:block; height:210px; margin:-26px -26px 30px; overflow:hidden; background:#c8c4b8; }
.material-card__image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.material-card:hover .material-card__image img { transform:scale(1.02); }
.material-card__swatch { display:block; height:210px; margin:-26px -26px 30px; background:#c8c4b8; }
.material-card__swatch--even-slaim { background:linear-gradient(120deg,#aa9b82,#766c5d); }
.material-card__swatch--mazevot-turki { background:linear-gradient(135deg,#dededa,#a4a6a1); }
.material-card__swatch--even-hevron { background:linear-gradient(135deg,#e4dece,#cbbfa5); }
.material-card__swatch--granit-adom { background:linear-gradient(135deg,#82554c,#4c3431); }
.material-card__swatch--granit-afor { background:linear-gradient(135deg,#9b9d99,#5e625f); }
.material-card__swatch--granit-shahor { background:linear-gradient(135deg,#323432,#0d0f0e); }
.material-card h3 { margin:0; font-size:30px; font-weight:500; }
.material-card p { color:var(--muted); font-size:14px; }
.material-card__arrow { position:absolute; bottom:25px; left:25px; font-size:24px; }

.contact-block { background:#f8f7f2; border-top:1px solid var(--line); padding-block:clamp(90px,10vw,150px); }
.contact-block__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(440px,.75fr); gap:clamp(70px,9vw,150px); align-items:start; }
.contact-block h2 { margin:26px 0 30px; font-size:clamp(54px,6vw,92px); line-height:.98; letter-spacing:-.055em; }
.contact-block__copy > p { max-width:520px; font-size:18px; color:var(--muted); }
.contact-block .phone-link { font-size:clamp(38px,4vw,58px); }
.contact-block__form { padding:34px; background:var(--bg); border:1px solid var(--line); }
.hakirya-lead-form { display:grid; gap:22px; }
.form-row label { display:grid; gap:8px; font-size:13px; font-weight:500; }
.form-row label span { color:var(--muted); font-weight:400; }
.form-row input, .form-row textarea { width:100%; border:0; border-bottom:1px solid #8a8c84; background:transparent; border-radius:0; padding:12px 0; outline:none; color:var(--ink); }
.form-row textarea { resize:vertical; min-height:105px; }
.form-row input:focus, .form-row textarea:focus { border-bottom-color:var(--ink); box-shadow:0 1px 0 var(--ink); }
.hakirya-lead-form .button { width:100%; cursor:pointer; margin-top:8px; }
.hp-field { position:absolute !important; left:-99999px !important; width:1px; height:1px; overflow:hidden; }
.form-privacy { margin:0; font-size:11px; color:var(--muted); }
.lead-message { padding:14px 16px; margin-bottom:20px; border:1px solid var(--line); font-size:14px; }
.lead-message--success { background:#e8eee7; }
.lead-message--error { background:#f2e6e2; }
.lead-form-fallback small { display:block; margin-top:14px; color:var(--muted); }

.local-services { margin-top:0; }
.gallery-intro { display:grid; grid-template-columns:minmax(150px,.45fr) minmax(0,2fr); gap:60px; margin-bottom:60px; }
.gallery-intro p { margin:0; max-width:750px; font-size:24px; line-height:1.55; }
.catalog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.catalog-item { margin:0; min-height:420px; background:#dedbd1; overflow:hidden; position:relative; }
.catalog-item--wide { grid-column:span 2; }
.catalog-item img { width:100%; height:100%; min-height:420px; object-fit:cover; }
.catalog-item figcaption { position:absolute; bottom:0; right:0; background:rgba(242,241,236,.94); padding:10px 14px; font-size:11px; }

.location-index__top { display:grid; grid-template-columns:minmax(150px,.45fr) minmax(0,2fr); gap:60px; margin-bottom:60px; }
.location-index__top p { margin:0; max-width:750px; font-size:22px; color:var(--muted); }
.location-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-right:1px solid var(--line); }
.location-grid a { min-height:100px; display:grid; grid-template-columns:40px 1fr 24px; gap:15px; align-items:center; padding:20px; border-left:1px solid var(--line); border-bottom:1px solid var(--line); text-decoration:none; transition:background .2s ease; }
.location-grid a:hover { background:rgba(255,255,255,.45); }
.location-grid a span { color:var(--muted); font-size:11px; }
.location-grid strong { font-size:20px; font-weight:500; }

.value-list { margin-top:70px; border-top:1px solid var(--line); }
.value-list > div { display:grid; grid-template-columns:55px minmax(220px,.7fr) minmax(0,1fr); gap:30px; align-items:center; min-height:130px; border-bottom:1px solid var(--line); }
.value-list h3 { margin:0; font-size:28px; font-weight:500; }
.value-list p { margin:0; color:var(--muted); }
.contact-page__grid { display:grid; grid-template-columns:1fr minmax(440px,.8fr); gap:100px; }
.contact-page h2 { direction:ltr; text-align:right; font-size:clamp(50px,6vw,88px); line-height:1; letter-spacing:-.05em; }
.contact-page__form { padding:34px; border:1px solid var(--line); background:#f8f7f2; }

.faq-list { max-width:1100px; }
.faq-item { border-top:1px solid var(--line); }
.faq-item:last-child { border-bottom:1px solid var(--line); }
.faq-item summary { list-style:none; cursor:pointer; display:grid; grid-template-columns:60px 1fr 32px; gap:20px; min-height:100px; align-items:center; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary span { font-size:11px; color:var(--muted); }
.faq-item summary strong { font-size:clamp(22px,2.4vw,32px); font-weight:500; }
.faq-item summary i { font-style:normal; font-size:25px; transition:transform .2s ease; }
.faq-item[open] summary i { transform:rotate(45deg); }
.faq-item > div { padding:0 80px 35px 52px; }
.faq-item p { max-width:760px; margin:0; color:var(--muted); font-size:18px; }
.legal-prose { white-space:pre-line; }

@media (max-width: 980px) {
  .inner-hero__grid, .contact-block__grid, .contact-page__grid { grid-template-columns:1fr; }
  .inner-hero { min-height:auto; }
  .inner-hero__image, .inner-hero__stone { height:430px; }
  .service-detail__grid, .material-overview__grid, .local-intro__grid, .about-values__grid, .care-note__grid, .gallery-intro, .location-index__top { grid-template-columns:1fr; gap:30px; }
  .feature-grid, .material-card-grid, .location-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .photo-grid, .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .photo-grid figure:nth-child(1), .photo-grid figure:nth-child(5), .catalog-item--wide { grid-column:span 1; }
  .material-features { grid-template-columns:1fr; }
  .material-features > div { border-left:0; border-bottom:1px solid var(--line); min-height:auto; }
}
@media (max-width: 640px) {
  .inner-hero__copy h1 { font-size:clamp(48px,15vw,72px); }
  .inner-hero__image, .inner-hero__stone { height:340px; }
  .feature-grid, .material-card-grid, .location-grid, .photo-grid, .catalog-grid { grid-template-columns:1fr; }
  .feature-card { min-height:220px; }
  .material-card { min-height:380px; }
  .contact-block__form, .contact-page__form { padding:22px; }
  .value-list > div { grid-template-columns:40px 1fr; padding-block:20px; }
  .value-list p { grid-column:2; }
  .faq-item summary { grid-template-columns:38px 1fr 24px; }
  .faq-item > div { padding:0 38px 30px 24px; }
}

/* v4 architecture / SEO */
.breadcrumbs { display:flex; flex-wrap:wrap; gap:9px; align-items:center; margin-bottom:44px; color:var(--muted); font-size:12px; }
.breadcrumbs a { text-decoration:none; }
.article-deck { max-width:720px; font-size:clamp(19px,1.8vw,26px); line-height:1.55; color:var(--muted); }
.article-hero-image { margin:0 0 60px; }
.article-hero-image img { width:100%; max-height:720px; object-fit:cover; }
.dynamic-page-content { margin-top:52px; }
.dynamic-page-content:empty { display:none; }
.migration-note { max-width:900px; margin:28px auto; padding:14px 18px; border:1px solid #b59a64; background:#fff8e8; color:#514527; font-size:13px; }
.location-archive-grid .post-card { min-height:260px; }
.navigation.pagination { margin-top:50px; }
.nav-links { display:flex; flex-wrap:wrap; gap:8px; }
.page-numbers { min-width:42px; min-height:42px; display:inline-grid; place-items:center; border:1px solid var(--line); text-decoration:none; }
.page-numbers.current { background:var(--dark); color:#fff; border-color:var(--dark); }

/* ===== v5 / Giga-inspired cinematic system ===== */
:root {
    --giga-black: #0b0c0b;
    --giga-white: #f7f7f3;
    --giga-paper: #f6f6f2;
    --giga-line: rgba(15,16,15,.13);
    --giga-radius: 3px;
}

body { background: var(--giga-paper); }

/* Header floats over photographic heroes, then resolves into a calm light bar. */
.hakirya-cinematic .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    background: transparent;
    color: #fff;
    border-bottom-color: rgba(255,255,255,.12);
    backdrop-filter: none;
}
.hakirya-cinematic .site-header .primary-menu a,
.hakirya-cinematic .site-header .header-phone,
.hakirya-cinematic .site-header .site-brand__name { color: #fff; }
.hakirya-cinematic .site-header .custom-logo { filter: brightness(0) invert(1); }
.hakirya-cinematic .site-header .header-cta { color:#fff; border-color:rgba(255,255,255,.55); background:rgba(255,255,255,.05); }
.hakirya-cinematic .site-header.is-scrolled {
    background: rgba(247,247,243,.93);
    color: var(--ink);
    border-bottom-color: var(--giga-line);
    backdrop-filter: blur(18px);
}
.hakirya-cinematic .site-header.is-scrolled .primary-menu a,
.hakirya-cinematic .site-header.is-scrolled .header-phone,
.hakirya-cinematic .site-header.is-scrolled .site-brand__name { color: var(--ink); }
.hakirya-cinematic .site-header.is-scrolled .custom-logo { filter:none; }
.hakirya-cinematic .site-header.is-scrolled .header-cta { color:var(--ink); border-color:var(--ink); background:transparent; }

.site-header__inner { min-height: 76px; }
.primary-menu a, .header-phone, .header-cta { font-size: 13px; }
.header-cta { border-radius: 999px; padding-inline: 18px; }

.cinematic-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #303531;
    color: #fff;
}
.cinematic-hero__media { position:absolute; inset:0; margin:0; }
.cinematic-hero__media img { width:100%; height:100%; object-fit:cover; object-position:center; }
.cinematic-hero__overlay {
    position:absolute; inset:0;
    background:
      linear-gradient(180deg, rgba(7,10,9,.42) 0%, rgba(7,10,9,.15) 38%, rgba(7,10,9,.44) 100%),
      linear-gradient(90deg, rgba(8,10,9,.12), rgba(8,10,9,.03));
}
.cinematic-hero__content {
    position:relative;
    z-index:2;
    max-width: 1100px;
    text-align:center;
    padding-top:120px;
    padding-bottom:140px;
}
.hero-pill {
    width:max-content;
    max-width:100%;
    margin:0 auto 26px;
    padding:8px 14px;
    border:1px solid rgba(255,255,255,.36);
    border-radius:999px;
    background:rgba(15,18,16,.24);
    backdrop-filter: blur(12px);
    font-size:11px;
    letter-spacing:.015em;
}
.cinematic-hero h1 {
    margin:0 auto;
    max-width: 13ch;
    font-family:'Heebo';
    font-size:clamp(66px,8.2vw,138px);
    line-height:.92;
    letter-spacing:-.065em;
    font-weight:300;
    text-wrap:balance;
}
.cinematic-hero h1 span { color:rgba(255,255,255,.83); }
.cinematic-hero__content > p {
    max-width:720px;
    margin:30px auto 0;
    font-size:clamp(17px,1.45vw,22px);
    line-height:1.7;
    color:rgba(255,255,255,.88);
}
.cinematic-hero__actions { display:flex; justify-content:center; align-items:center; gap:10px; margin-top:34px; }
.giga-button {
    display:inline-flex; align-items:center; justify-content:center;
    min-height:48px; padding:0 22px;
    border-radius:999px; text-decoration:none; font-size:13px;
    transition:transform .2s ease, background .2s ease, color .2s ease;
}
.giga-button:hover { transform:translateY(-2px); }
.giga-button--light { background:#fff; color:#111; border:1px solid #fff; }
.giga-button--ghost { background:rgba(8,10,9,.12); color:#fff; border:1px solid rgba(255,255,255,.38); backdrop-filter:blur(8px); }
.cinematic-hero__rail {
    position:absolute; z-index:2; inset:auto 0 24px 0;
    display:grid; grid-template-columns:repeat(5,1fr); gap:18px;
    color:rgba(255,255,255,.8); font-size:11px; text-align:center;
}
.cinematic-hero__rail span { padding-top:18px; border-top:1px solid rgba(255,255,255,.22); }
.cinematic-hero__content--inner { max-width:980px; }
.cinematic-hero--inner { min-height:82svh; }
.cinematic-hero--inner h1 { max-width:12ch; font-size:clamp(62px,7.6vw,120px); }
.cinematic-hero__rail--inner { grid-template-columns:repeat(4,1fr); }

.giga-label { font-size:11px; color:#666a63; letter-spacing:.02em; }
.giga-intro__grid {
    display:grid; grid-template-columns:minmax(150px,.42fr) minmax(0,1.58fr); gap:clamp(40px,8vw,130px);
}
.giga-intro h2, .giga-section-head h2 {
    margin:0; max-width:12ch;
    font-size:clamp(56px,6.8vw,108px); line-height:.96; letter-spacing:-.065em; font-weight:300;
}
.giga-intro p { max-width:720px; margin:42px 0 0 auto; color:#666a63; font-size:clamp(18px,1.5vw,22px); }

.giga-showcase { padding-bottom:clamp(100px,11vw,180px); }
.giga-showcase__frame { position:relative; min-height:720px; background:#d9ddd7; overflow:hidden; border-radius:var(--giga-radius); }
.giga-showcase__main { position:absolute; inset:0; margin:0; }
.giga-showcase__main img { width:100%; height:100%; object-fit:cover; }
.giga-showcase__frame::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,8,7,.5),rgba(6,8,7,.03) 58%,rgba(6,8,7,.08)); pointer-events:none; }
.giga-showcase__note {
    position:absolute; z-index:2; right:38px; bottom:38px; width:min(420px,calc(100% - 76px));
    padding:28px; background:rgba(250,250,247,.94); backdrop-filter:blur(16px); color:#151614;
    border-radius:2px;
}
.giga-showcase__note > span { font-size:11px; color:#7a7d76; }
.giga-showcase__note strong { display:block; margin:32px 0 12px; font-size:30px; font-weight:400; letter-spacing:-.04em; }
.giga-showcase__note p { margin:0; color:#676a64; }
.giga-showcase__mini { position:absolute; z-index:2; left:38px; top:38px; width:220px; height:150px; margin:0; border:7px solid rgba(250,250,247,.92); box-shadow:0 18px 45px rgba(0,0,0,.16); }
.giga-showcase__mini img { width:100%; height:100%; object-fit:cover; }

.giga-services { border-top:1px solid var(--giga-line); }
.giga-section-head { display:grid; grid-template-columns:minmax(150px,.42fr) minmax(0,1.58fr); gap:clamp(40px,8vw,130px); align-items:end; margin-bottom:64px; }
.giga-section-head h2 { font-size:clamp(52px,6vw,92px); }
.giga-section-head--split { grid-template-columns:minmax(150px,.42fr) minmax(0,1.35fr) auto; }
.giga-text-link { align-self:end; text-decoration:none; font-size:13px; border-bottom:1px solid currentColor; padding-bottom:3px; }
.giga-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--giga-line); border-right:1px solid var(--giga-line); }
.giga-service-card { min-height:410px; padding:26px; border-left:1px solid var(--giga-line); border-bottom:1px solid var(--giga-line); display:flex; flex-direction:column; transition:background .25s ease, transform .25s ease; }
.giga-service-card:hover { background:#fff; transform:translateY(-4px); }
.giga-service-card__top { display:flex; justify-content:space-between; font-size:11px; color:#777b74; }
.giga-service-card h3 { margin:auto 0 18px; font-size:clamp(30px,2.8vw,44px); line-height:1.05; letter-spacing:-.045em; font-weight:400; }
.giga-service-card p { margin:0; color:#6d706a; }

.giga-photo-story { background:#fff; }
.giga-photo-story__grid { display:grid; grid-template-columns:repeat(12,1fr); gap:12px; }
.giga-photo-story__item { margin:0; min-height:360px; overflow:hidden; background:#ddd; }
.giga-photo-story__item--wide { grid-column:span 7; min-height:620px; }
.giga-photo-story__item--regular { grid-column:span 5; min-height:620px; }
.giga-photo-story__item img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.giga-photo-story__item:hover img { transform:scale(1.015); }

.giga-process { background:var(--giga-black); color:#fff; }
.giga-section-head--light .giga-label { color:rgba(255,255,255,.56); }
.giga-process__grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.18); }
.giga-process article { min-height:360px; padding:28px; border-left:1px solid rgba(255,255,255,.18); display:flex; flex-direction:column; }
.giga-process article:last-child { border-left:0; }
.giga-process article > span { font-size:11px; color:rgba(255,255,255,.5); }
.giga-process h3 { margin:auto 0 16px; font-size:clamp(34px,3vw,50px); font-weight:300; letter-spacing:-.045em; }
.giga-process p { margin:0; color:rgba(255,255,255,.66); max-width:360px; }

/* Existing inner-page sections are simplified to the same visual grammar. */
.inner-page .section-space, .inner-page .section-space-sm { background:var(--giga-paper); }
.inner-page .section-heading h2,
.inner-page .service-detail__content > h2,
.inner-page .material-overview h2,
.inner-page .local-intro h2,
.inner-page .about-values h2 { font-weight:300; }
.inner-page .feature-card { background:transparent; }
.inner-page .feature-card:hover { background:#fff; }
.inner-page .photo-grid { gap:12px; }
.inner-page .photo-grid figure { border-radius:2px; }
.contact-block { background:#fff; }
.contact-block h2 { font-weight:300; }

@media (max-width: 1100px) {
    .giga-service-grid { grid-template-columns:repeat(2,1fr); }
    .giga-showcase__frame { min-height:620px; }
}

@media (max-width: 820px) {
    .hakirya-cinematic .site-header .menu-toggle span:not(.screen-reader-text) { background:#fff; }
    .hakirya-cinematic .site-header.is-scrolled .menu-toggle span:not(.screen-reader-text) { background:var(--ink); }
    .cinematic-hero__content { padding-top:120px; padding-bottom:150px; }
    .cinematic-hero h1 { font-size:clamp(56px,15vw,88px); }
    .cinematic-hero__rail { grid-template-columns:repeat(2,1fr); row-gap:12px; bottom:16px; }
    .cinematic-hero__rail span:nth-child(n+5) { display:none; }
    .giga-intro__grid, .giga-section-head, .giga-section-head--split { grid-template-columns:1fr; gap:24px; }
    .giga-intro p { margin-inline:0; }
    .giga-showcase__frame { min-height:560px; }
    .giga-showcase__mini { display:none; }
    .giga-showcase__note { right:18px; bottom:18px; width:calc(100% - 36px); }
    .giga-service-grid { grid-template-columns:1fr; }
    .giga-service-card { min-height:300px; }
    .giga-photo-story__item--wide, .giga-photo-story__item--regular { grid-column:1/-1; min-height:420px; }
    .giga-process__grid { grid-template-columns:1fr; }
    .giga-process article { border-left:0; border-bottom:1px solid rgba(255,255,255,.18); min-height:280px; }
    .giga-process article:last-child { border-bottom:0; }
}

@media (max-width: 560px) {
    .cinematic-hero__actions { flex-direction:column; }
    .giga-button { width:100%; max-width:270px; }
    .cinematic-hero__rail { font-size:10px; }
    .giga-showcase__frame { min-height:520px; }
    .giga-showcase__note strong { font-size:26px; }
}

/* ===== v7 hardening: Heebo-only, local media, full tablet/mobile system ===== */
:root {
    --font-sans: "Heebo", Arial, sans-serif;
    --mobile-pad: 20px;
}

/* WordPress global styles and plugins can otherwise override heading typography. */
body.hakirya-theme,
body.hakirya-theme h1,
body.hakirya-theme h2,
body.hakirya-theme h3,
body.hakirya-theme h4,
body.hakirya-theme h5,
body.hakirya-theme h6,
body.hakirya-theme p,
body.hakirya-theme a,
body.hakirya-theme span,
body.hakirya-theme li,
body.hakirya-theme label,
body.hakirya-theme button,
body.hakirya-theme input,
body.hakirya-theme textarea,
body.hakirya-theme select,
body.hakirya-theme option,
body.hakirya-theme summary,
body.hakirya-theme figcaption,
body.hakirya-theme small,
body.hakirya-theme strong,
body.hakirya-theme em,
body.hakirya-theme blockquote,
body.hakirya-theme code,
body.hakirya-theme pre {
    font-family: "Heebo", Arial, sans-serif !important;
}

html { max-width: 100%; overflow-x: clip; }
body.hakirya-theme { max-width: 100%; overflow-x: clip; }
body.hakirya-theme img { max-width: 100%; }
body.hakirya-theme figure { max-width: 100%; }

/* Keep photographic media visible even when old plugin styles target figures/images. */
.cinematic-hero__media,
.giga-showcase__main,
.giga-showcase__mini,
.giga-photo-story__item,
.photo-grid figure,
.catalog-item,
.material-card__image {
    display: block !important;
}
.cinematic-hero__media img,
.giga-showcase__main img,
.giga-showcase__mini img,
.giga-photo-story__item img,
.photo-grid figure img,
.catalog-item img,
.material-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Desktop/tablet transition. */
@media (max-width: 1180px) {
    .site-shell { width: min(calc(100% - 48px), var(--shell)); }
    .site-header__inner { gap: 18px; }
    .cinematic-hero h1 { font-size: clamp(62px, 8vw, 104px); }
    .cinematic-hero--inner h1 { font-size: clamp(58px, 7.5vw, 94px); }
    .giga-intro h2, .giga-section-head h2 { font-size: clamp(50px, 6vw, 82px); }
    .giga-showcase__frame { min-height: 600px; }
    .giga-service-card { min-height: 340px; }
    .material-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-item--wide { grid-column: span 1; }
}

/* Tablet: no desktop-width assumptions, stable header/menu, 2-column visual grids. */
@media (max-width: 1024px) {
    .section-space { padding-block: clamp(72px, 9vw, 112px); }
    .section-space-sm { padding-block: clamp(58px, 8vw, 92px); }

    .site-header__inner {
        min-height: 72px;
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .site-brand { min-width: 0; }
    .site-brand .custom-logo { max-width: 190px; max-height: 42px; }
    .site-header__actions { grid-column: 2; gap: 10px; }
    .header-phone { display: none; }
    .header-cta { display: none; }
    .menu-toggle { display: inline-flex; border-radius: 999px; flex: 0 0 auto; }

    .primary-navigation {
        position: fixed;
        top: 72px;
        inset-inline: 18px;
        width: auto;
        max-height: calc(100svh - 90px);
        overflow-y: auto;
        padding: 20px;
        border: 1px solid rgba(15,16,15,.12);
        border-radius: 14px;
        background: rgba(247,247,243,.985) !important;
        box-shadow: 0 22px 60px rgba(0,0,0,.14);
        backdrop-filter: blur(18px);
    }
    .primary-navigation:not(.is-open) { display: none; }
    .primary-navigation.is-open { display: block; }
    .primary-menu { align-items: stretch; gap: 0; }
    .primary-menu li { width: 100%; border-bottom: 1px solid rgba(15,16,15,.1); }
    .primary-menu li:last-child { border-bottom: 0; }
    .primary-menu a,
    .hakirya-cinematic .site-header .primary-navigation .primary-menu a,
    .hakirya-cinematic .site-header.is-scrolled .primary-navigation .primary-menu a {
        display: block;
        padding: 15px 4px;
        color: var(--ink) !important;
        font-size: 16px;
    }

    .cinematic-hero { min-height: min(900px, 100svh); }
    .cinematic-hero--inner { min-height: min(760px, 88svh); }
    .cinematic-hero__content {
        max-width: 860px;
        padding-top: 118px;
        padding-bottom: 132px;
    }
    .cinematic-hero__content > p { max-width: 650px; }
    .cinematic-hero__rail { gap: 10px; }

    .giga-intro__grid,
    .giga-section-head,
    .giga-section-head--split,
    .section-heading,
    .compact-heading,
    .service-detail__grid,
    .material-overview__grid,
    .local-intro__grid,
    .about-values__grid,
    .care-note__grid,
    .gallery-intro,
    .location-index__top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .giga-section-head--split .giga-text-link { align-self: start; }
    .giga-intro p { margin: 26px 0 0; }

    .giga-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .giga-photo-story__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .giga-photo-story__item--wide,
    .giga-photo-story__item--regular {
        grid-column: span 1;
        min-height: 440px;
    }
    .giga-process__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .giga-process article { min-height: 300px; }

    .feature-grid,
    .location-grid,
    .photo-grid,
    .catalog-grid,
    .material-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-grid figure:nth-child(1),
    .photo-grid figure:nth-child(5),
    .catalog-item--wide { grid-column: span 1; }
    .contact-block__grid,
    .contact-page__grid { grid-template-columns: 1fr; gap: 44px; }
    .contact-block__form { max-width: 720px; width: 100%; }
}

/* Small tablet / large phone. */
@media (max-width: 820px) {
    .site-shell { width: calc(100% - 36px); }

    .cinematic-hero { min-height: 100svh; }
    .cinematic-hero--inner { min-height: 86svh; }
    .cinematic-hero__content {
        padding-top: 108px;
        padding-bottom: 146px;
    }
    .cinematic-hero h1,
    .cinematic-hero--inner h1 {
        max-width: 11ch;
        font-size: clamp(50px, 12.5vw, 76px);
        line-height: .98;
        letter-spacing: -.045em;
    }
    .cinematic-hero__content > p {
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.65;
    }
    .cinematic-hero__actions { margin-top: 26px; }
    .cinematic-hero__rail,
    .cinematic-hero__rail--inner {
        grid-template-columns: repeat(2, minmax(0,1fr));
        bottom: 14px;
    }
    .cinematic-hero__rail span { padding-top: 10px; }
    .cinematic-hero__rail span:nth-child(n+5) { display: none; }

    .giga-showcase__frame { min-height: 520px; }
    .giga-showcase__mini { width: 170px; height: 116px; left: 20px; top: 20px; }
    .giga-showcase__note { right: 20px; bottom: 20px; width: min(390px, calc(100% - 40px)); }

    .giga-service-grid { grid-template-columns: 1fr 1fr; }
    .giga-service-card { min-height: 300px; }
    .giga-process__grid { grid-template-columns: 1fr; }
    .giga-process article { min-height: 230px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .giga-process article:last-child { border-bottom: 0; }

    .material-card { min-height: 370px; }
    .material-card__image, .material-card__swatch { height: 190px; }
    .catalog-item, .catalog-item img { min-height: 360px; }
}

/* Phone: genuinely single-column, touch-friendly and no horizontal clipping. */
@media (max-width: 640px) {
    .site-shell { width: calc(100% - 28px); }
    .section-space { padding-block: 64px; }
    .section-space-sm { padding-block: 52px; }

    .site-header__inner { min-height: 66px; }
    .site-brand .custom-logo { max-width: 156px; max-height: 36px; }
    .primary-navigation { top: 66px; inset-inline: 12px; max-height: calc(100svh - 78px); }

    .cinematic-hero__media img { object-position: center center; }
    .cinematic-hero__content { padding-top: 94px; padding-bottom: 132px; }
    .hero-pill { margin-bottom: 18px; padding: 7px 12px; font-size: 10px; }
    .cinematic-hero h1,
    .cinematic-hero--inner h1 {
        max-width: 10.5ch;
        font-size: clamp(43px, 13vw, 62px);
        line-height: 1;
        letter-spacing: -.035em;
    }
    .cinematic-hero__content > p { font-size: 16px; line-height: 1.6; }
    .cinematic-hero__actions { flex-direction: column; width: 100%; }
    .giga-button { width: min(100%, 290px); min-height: 50px; }
    .cinematic-hero__rail { font-size: 9px; gap: 8px; }
    .cinematic-hero__rail span:nth-child(n+3) { display: none; }

    .giga-intro h2,
    .giga-section-head h2,
    .section-heading h2,
    .compact-heading h2,
    .service-detail__content > h2,
    .material-overview h2,
    .local-intro h2,
    .about-values h2,
    .contact-block h2,
    .contact-page h2 {
        font-size: clamp(38px, 11vw, 56px);
        line-height: 1.03;
        letter-spacing: -.035em;
    }
    .giga-intro p,
    .gallery-intro p,
    .location-index__top p,
    .large-copy { font-size: 17px; }

    .giga-showcase { padding-bottom: 64px; }
    .giga-showcase__frame { min-height: 500px; }
    .giga-showcase__mini { display: none; }
    .giga-showcase__note {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 22px;
    }
    .giga-showcase__note strong { margin-top: 22px; font-size: 25px; }

    .giga-service-grid,
    .feature-grid,
    .location-grid,
    .photo-grid,
    .catalog-grid,
    .material-card-grid,
    .giga-photo-story__grid { grid-template-columns: 1fr; }
    .giga-service-card { min-height: 240px; padding: 22px; }
    .giga-service-card h3 { font-size: 34px; }
    .giga-photo-story__item--wide,
    .giga-photo-story__item--regular { grid-column: 1; min-height: 360px; }

    .feature-card { min-height: 200px; padding: 24px; }
    .feature-card h3 { margin-top: 38px; }
    .photo-grid figure,
    .photo-grid img { min-height: 320px; }
    .material-card { min-height: 390px; padding: 22px; }
    .material-card__image,
    .material-card__swatch { height: 220px; margin: -22px -22px 26px; }
    .material-card h3 { font-size: 28px; }
    .catalog-item,
    .catalog-item img { min-height: 330px; }
    .catalog-item figcaption { font-size: 10px; }

    .material-features { grid-template-columns: 1fr; }
    .material-features > div { border-left: 0; border-bottom: 1px solid var(--line); min-height: auto; }
    .material-features > div:last-child { border-bottom: 0; }

    .contact-block { padding-block: 64px; }
    .contact-block__grid { gap: 34px; }
    .contact-block__form, .contact-page__form { padding: 20px; }
    .contact-block .phone-link { font-size: clamp(30px, 10vw, 44px); overflow-wrap: anywhere; }

    .site-footer__inner { grid-template-columns: 1fr; gap: 34px; }
    .site-footer__brand { font-size: 28px; }
    .footer-menu { gap: 12px 18px; }
}

@media (max-width: 420px) {
    .site-shell { width: calc(100% - 22px); }
    .cinematic-hero h1,
    .cinematic-hero--inner h1 { font-size: clamp(40px, 12.6vw, 54px); }
    .cinematic-hero__content { padding-top: 88px; }
    .giga-showcase__frame { min-height: 450px; }
    .giga-photo-story__item--wide,
    .giga-photo-story__item--regular { min-height: 300px; }
    .catalog-item,
    .catalog-item img { min-height: 300px; }
}
html.menu-is-open { overflow: hidden; }


/* ===== v8: guaranteed built-in primary navigation ===== */
@media (min-width: 1181px) {
    .site-header .primary-navigation {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        width: auto !important;
        max-height: none !important;
        overflow: visible !important;
        justify-self: center;
    }
    .site-header .primary-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: row;
        align-items: center;
        gap: clamp(16px, 1.7vw, 28px);
        white-space: nowrap;
    }
    .site-header .primary-menu > li { position: relative; }
    .site-header .primary-menu > li > a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-family: "Heebo", sans-serif !important;
        font-weight: 400;
    }
    .site-header .menu-item-has-children .sub-menu {
        position: absolute;
        top: calc(100% + 16px);
        right: 50%;
        transform: translateX(50%) translateY(6px);
        width: 210px;
        list-style: none;
        margin: 0;
        padding: 10px;
        background: rgba(247,247,243,.98);
        border: 1px solid rgba(15,16,15,.12);
        border-radius: 12px;
        box-shadow: 0 18px 48px rgba(0,0,0,.14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }
    .site-header .menu-item-has-children:hover > .sub-menu,
    .site-header .menu-item-has-children:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(50%) translateY(0);
    }
    .site-header .sub-menu a,
    .hakirya-cinematic .site-header .sub-menu a,
    .hakirya-cinematic .site-header.is-scrolled .sub-menu a {
        display: block;
        padding: 10px 12px;
        color: var(--ink) !important;
        text-decoration: none;
        border-radius: 8px;
        font-size: 14px;
    }
    .site-header .sub-menu a:hover { background: rgba(15,16,15,.055); opacity: 1; }
}

/* The transparent hero header always keeps enough contrast for the navigation. */
.hakirya-cinematic .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(5,7,6,.50) 0%, rgba(5,7,6,.18) 62%, rgba(5,7,6,0) 100%);
}

/* Switch to the mobile/tablet menu earlier so the full desktop navigation never gets squeezed. */
@media (max-width: 1180px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }
    .site-header__actions { grid-column: 2; }
    .header-phone, .header-cta { display: none; }
    .menu-toggle { display: inline-flex; border-radius: 999px; flex: 0 0 auto; }
    .primary-navigation {
        position: fixed;
        top: 72px;
        inset-inline: 18px;
        width: auto;
        max-height: calc(100svh - 90px);
        overflow-y: auto;
        padding: 20px;
        border: 1px solid rgba(15,16,15,.12);
        border-radius: 14px;
        background: rgba(247,247,243,.985) !important;
        box-shadow: 0 22px 60px rgba(0,0,0,.14);
        backdrop-filter: blur(18px);
        z-index: 120;
    }
    .primary-navigation:not(.is-open) { display: none !important; }
    .primary-navigation.is-open { display: block !important; visibility: visible !important; opacity: 1 !important; }
    .primary-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .primary-menu > li { width: 100%; border-bottom: 1px solid rgba(15,16,15,.1); }
    .primary-menu > li:last-child { border-bottom: 0; }
    .primary-menu a,
    .hakirya-cinematic .site-header .primary-navigation .primary-menu a,
    .hakirya-cinematic .site-header.is-scrolled .primary-navigation .primary-menu a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 4px;
        color: var(--ink) !important;
        font-family: "Heebo", sans-serif !important;
        font-size: 16px;
        text-decoration: none;
    }
    .primary-menu .sub-menu {
        position: static;
        display: block;
        list-style: none;
        margin: 0;
        padding: 0 16px 10px 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .primary-menu .sub-menu li { border: 0; }
    .primary-menu .sub-menu a,
    .hakirya-cinematic .site-header .primary-navigation .sub-menu a {
        padding: 8px 4px;
        font-size: 14px;
        color: var(--muted) !important;
    }
    .menu-chevron { font-size: 18px; line-height: 1; }
}

/* ===== v9: mobile-first stability + full-viewport hero on every page ===== */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
body { min-width: 0; }
.site-main, .site-shell, section, article, header, footer, nav, figure, .prose,
.giga-intro__grid > *, .giga-section-head > *, .service-detail__grid > *,
.material-overview__grid > *, .local-intro__grid > *, .about-values__grid > *,
.contact-block__grid > *, .contact-page__grid > *, .gallery-intro > *,
.location-index__top > *, .value-list > * {
    min-width: 0;
}
img, svg, video, canvas, iframe { max-width: 100%; }
.prose, .entry-content, .post-card, .feature-card, .material-card { overflow-wrap: anywhere; }

/* Every primary hero fills at least one complete viewport. Dynamic viewport units
   prevent mobile browser chrome from leaving a visible strip below the hero. */
.cinematic-hero,
.cinematic-hero--home,
.cinematic-hero--inner {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
}
.cinematic-hero {
    isolation: isolate;
    align-items: center;
}
.cinematic-hero__media,
.cinematic-hero__media img,
.cinematic-hero__overlay { min-height: 100%; }
.cinematic-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cinematic-hero__content {
    width: 100%;
    padding-top: clamp(118px, 14vh, 170px);
    padding-bottom: clamp(126px, 15vh, 180px);
}
.cinematic-hero--inner .cinematic-hero__content { max-width: 1040px; }

/* Tablet: one controlled layout system instead of desktop rules fighting mobile rules. */
@media (max-width: 1180px) {
    .site-shell { width: min(calc(100% - 40px), var(--shell)); }

    .site-header__inner {
        min-height: 72px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }
    .site-brand { max-width: min(68vw, 240px); }
    .site-brand .custom-logo { max-width: 100%; max-height: 42px; object-fit: contain; }
    .site-brand__name { font-size: clamp(20px, 3vw, 25px); }
    .site-header__actions { grid-column: 2; min-width: 0; }
    .menu-toggle {
        display: inline-flex !important;
        width: 46px;
        height: 46px;
        padding: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        border: 1px solid rgba(255,255,255,.34);
        background: rgba(9,11,10,.12);
        color: inherit;
    }
    .site-header.is-scrolled .menu-toggle {
        border-color: rgba(15,16,15,.18);
        background: rgba(255,255,255,.35);
    }
    .menu-toggle > span:not(.screen-reader-text) {
        display: block;
        width: 19px;
        height: 1.5px;
        background: currentColor;
        transition: transform .18s ease, opacity .18s ease;
    }
    .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.75px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

    .primary-navigation {
        top: 72px;
        inset-inline: 14px;
        max-height: calc(100vh - 88px);
        max-height: calc(100dvh - 88px);
        padding: 14px 18px 18px;
        border-radius: 12px;
        overscroll-behavior: contain;
    }
    .primary-menu > li > a { min-height: 50px; }
    .primary-menu .sub-menu { padding-inline-start: 14px; }

    .cinematic-hero,
    .cinematic-hero--inner { min-height: 100vh; min-height: 100svh; min-height: 100dvh; }
    .cinematic-hero__content {
        max-width: 900px;
        padding-top: clamp(108px, 13vh, 145px);
        padding-bottom: clamp(126px, 15vh, 165px);
    }
    .cinematic-hero h1,
    .cinematic-hero--inner h1 {
        max-width: 12ch;
        font-size: clamp(58px, 8.5vw, 96px);
        line-height: .96;
    }
    .cinematic-hero__rail { gap: 10px; }

    .giga-intro__grid,
    .giga-section-head,
    .giga-section-head--split,
    .section-heading,
    .compact-heading,
    .service-detail__grid,
    .material-overview__grid,
    .local-intro__grid,
    .about-values__grid,
    .care-note__grid,
    .gallery-intro,
    .location-index__top,
    .contact-block__grid,
    .contact-page__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-block__form, .contact-page__form { width: 100%; max-width: none; }

    .giga-photo-story__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .giga-photo-story__item--wide,
    .giga-photo-story__item--regular { grid-column: span 1; min-height: 430px; }
    .photo-grid, .catalog-grid, .material-card-grid, .feature-grid, .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .photo-grid figure:nth-child(1),
    .photo-grid figure:nth-child(5),
    .catalog-item--wide { grid-column: span 1; }
}

/* Mobile: deliberately single-column and sized for thumb use. */
@media (max-width: 720px) {
    .site-shell { width: calc(100% - 28px); }
    .section-space { padding-block: 68px; }
    .section-space-sm { padding-block: 54px; }

    .site-header__inner { min-height: 66px; }
    .site-brand { max-width: calc(100vw - 94px); }
    .site-brand .custom-logo { max-width: 164px; max-height: 36px; }
    .menu-toggle { width: 44px; height: 44px; }
    .primary-navigation {
        top: 66px;
        inset-inline: 10px;
        max-height: calc(100vh - 76px);
        max-height: calc(100dvh - 76px);
        padding: 10px 16px 16px;
    }
    .primary-menu a,
    .hakirya-cinematic .site-header .primary-navigation .primary-menu a,
    .hakirya-cinematic .site-header.is-scrolled .primary-navigation .primary-menu a {
        font-size: 15px;
        padding-block: 12px;
    }

    .cinematic-hero,
    .cinematic-hero--home,
    .cinematic-hero--inner {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }
    .cinematic-hero__content {
        padding-top: calc(84px + env(safe-area-inset-top));
        padding-bottom: calc(112px + env(safe-area-inset-bottom));
    }
    .hero-pill { margin-bottom: 16px; padding: 6px 11px; font-size: 10px; }
    .cinematic-hero h1,
    .cinematic-hero--inner h1 {
        max-width: 10.5ch;
        font-size: clamp(42px, 12.4vw, 64px);
        line-height: 1;
        letter-spacing: -.035em;
    }
    .cinematic-hero__content > p {
        max-width: 34ch;
        margin-top: 18px;
        font-size: 15.5px;
        line-height: 1.55;
    }
    .cinematic-hero__actions {
        width: 100%;
        margin-top: 22px;
        flex-direction: column;
        gap: 9px;
    }
    .giga-button { width: min(100%, 310px); min-height: 48px; }
    .cinematic-hero__rail,
    .cinematic-hero__rail--inner {
        bottom: max(12px, env(safe-area-inset-bottom));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        font-size: 9px;
    }
    .cinematic-hero__rail span { padding-top: 8px; }
    .cinematic-hero__rail span:nth-child(n+3) { display: none; }

    .giga-intro h2,
    .giga-section-head h2,
    .section-heading h2,
    .compact-heading h2,
    .service-detail__content > h2,
    .material-overview h2,
    .local-intro h2,
    .about-values h2,
    .contact-block h2,
    .contact-page h2 {
        font-size: clamp(38px, 10.6vw, 56px);
        line-height: 1.04;
        letter-spacing: -.032em;
    }
    .giga-intro p, .gallery-intro p, .location-index__top p, .large-copy { font-size: 16.5px; }

    .giga-service-grid,
    .giga-photo-story__grid,
    .giga-process__grid,
    .feature-grid,
    .location-grid,
    .photo-grid,
    .catalog-grid,
    .material-card-grid,
    .content-grid,
    .material-features { grid-template-columns: 1fr; }

    .giga-service-card { min-height: 230px; padding: 22px; }
    .giga-service-card h3 { font-size: clamp(30px, 9vw, 38px); }
    .giga-photo-story__item--wide,
    .giga-photo-story__item--regular { grid-column: 1; min-height: 350px; }
    .giga-process article { min-height: 220px; padding: 24px; border-left: 0; }

    .giga-showcase__frame { min-height: 500px; }
    .giga-showcase__mini { display: none; }
    .giga-showcase__note {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        padding: 20px;
    }
    .giga-showcase__note strong { margin-top: 20px; font-size: 25px; }

    .feature-card { min-height: 190px; padding: 22px; }
    .feature-card h3 { margin-top: 34px; }
    .photo-grid figure, .photo-grid img { min-height: 300px; }
    .catalog-item, .catalog-item img { min-height: 310px; }
    .material-card { min-height: 370px; padding: 20px; }
    .material-card__image, .material-card__swatch { height: 210px; margin: -20px -20px 24px; }

    .value-list > div {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding-block: 20px;
        min-height: 0;
    }
    .value-list h3 { font-size: 24px; }
    .value-list p { grid-column: 2; }

    .faq-item summary {
        grid-template-columns: 30px minmax(0,1fr) 22px;
        gap: 10px;
        min-height: 84px;
    }
    .faq-item summary strong { font-size: 20px; }
    .faq-item > div { padding: 0 40px 26px 22px; }

    .contact-block, .contact-page { overflow: hidden; }
    .contact-block__form, .contact-page__form { padding: 18px; }
    .contact-block .phone-link { font-size: clamp(28px, 9vw, 42px); overflow-wrap: anywhere; }
    .form-row input, .form-row textarea, .form-row select { min-width: 0; max-width: 100%; }

    .site-footer__inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-menu { flex-wrap: wrap; gap: 10px 16px; }
}

@media (max-width: 420px) {
    .site-shell { width: calc(100% - 20px); }
    .cinematic-hero__content {
        padding-top: calc(78px + env(safe-area-inset-top));
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
    .cinematic-hero h1,
    .cinematic-hero--inner h1 { font-size: clamp(38px, 12vw, 52px); }
    .cinematic-hero__content > p { font-size: 14.5px; }
    .cinematic-hero__rail { display: none; }
    .giga-showcase__frame { min-height: 440px; }
    .giga-photo-story__item--wide,
    .giga-photo-story__item--regular { min-height: 290px; }
    .photo-grid figure, .photo-grid img,
    .catalog-item, .catalog-item img { min-height: 280px; }
}

/* Landscape phones: keep the hero full-screen without forcing oversized typography. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 560px) {
    .cinematic-hero,
    .cinematic-hero--inner { min-height: 100vh; min-height: 100dvh; }
    .cinematic-hero__content {
        padding-top: 82px;
        padding-bottom: 54px;
    }
    .cinematic-hero h1,
    .cinematic-hero--inner h1 { font-size: clamp(38px, 7vw, 58px); max-width: 13ch; }
    .cinematic-hero__content > p { margin-top: 12px; font-size: 14px; }
    .cinematic-hero__actions { flex-direction: row; margin-top: 14px; }
    .giga-button { min-height: 42px; width: auto; }
    .cinematic-hero__rail { display: none; }
}

/* ===== v10: mobile header-on-hero + zero horizontal overflow ===== */
html {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
body {
    position: relative;
    overflow-x: hidden !important;
    max-width: 100% !important;
}
#page, .site, .site-main, .site-header, .site-footer,
.site-shell, main, section, article, aside, nav, figure,
.wp-site-blocks, .entry-content, .prose {
    max-width: 100%;
}
.site-shell { box-sizing: border-box; }

/* Contain any legacy/editor element that still carries a desktop width. */
.entry-content > *, .prose > *,
.dynamic-page-content > *,
.wp-block-group, .wp-block-columns, .wp-block-cover,
.wp-block-image, .wp-block-gallery,
iframe, table, pre {
    max-width: 100% !important;
}
iframe, video, canvas, svg, img { max-width: 100% !important; }
pre { overflow-x: auto; }
table { display: block; overflow-x: auto; }

@media (max-width: 1180px) {
    /* Header is always physically on top of the hero on tablet/mobile. */
    .site-header,
    .hakirya-cinematic .site-header {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 10000 !important;
        margin: 0 !important;
    }
    .site-header__inner {
        position: relative;
        z-index: 10002;
        width: min(calc(100% - 32px), var(--shell));
        max-width: 100%;
        margin-inline: auto;
    }
    .site-brand,
    .site-header__actions {
        position: relative;
        z-index: 10003;
    }

    /* Full-screen overlay navigation, never a side card. */
    .primary-navigation,
    .hakirya-cinematic .site-header .primary-navigation,
    .hakirya-cinematic .site-header.is-scrolled .primary-navigation {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        height: 100svh !important;
        height: 100dvh !important;
        max-height: none !important;
        margin: 0 !important;
        padding: calc(88px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)) !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: rgba(247,247,243,.985) !important;
        box-shadow: none !important;
        backdrop-filter: blur(22px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        z-index: 10001 !important;
    }
    .primary-navigation:not(.is-open) { display: none !important; }
    .primary-navigation.is-open { display: block !important; }
    .primary-navigation .primary-menu {
        width: min(100%, 680px);
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .primary-navigation .primary-menu > li,
    .primary-navigation .primary-menu .sub-menu,
    .primary-navigation .primary-menu a {
        max-width: 100%;
    }
    .primary-navigation .primary-menu a,
    .hakirya-cinematic .site-header .primary-navigation .primary-menu a,
    .hakirya-cinematic .site-header.is-scrolled .primary-navigation .primary-menu a {
        color: var(--ink) !important;
    }
    .primary-menu .sub-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
    }

    /* Menu button remains above the overlay and readable in both states. */
    .menu-toggle {
        position: relative;
        z-index: 10004;
    }
    html.menu-is-open .menu-toggle {
        color: var(--ink) !important;
        border-color: rgba(15,16,15,.18) !important;
        background: rgba(255,255,255,.78) !important;
    }
    html.menu-is-open .menu-toggle > span:not(.screen-reader-text) {
        background: var(--ink) !important;
    }

    /* Hard containment for grids/cards that previously could exceed viewport width. */
    .giga-service-grid,
    .giga-photo-story__grid,
    .giga-process__grid,
    .feature-grid,
    .location-grid,
    .photo-grid,
    .catalog-grid,
    .material-card-grid,
    .content-grid,
    .material-features,
    .contact-block__grid,
    .contact-page__grid,
    .service-detail__grid,
    .material-overview__grid,
    .local-intro__grid,
    .about-values__grid,
    .gallery-intro,
    .location-index__top {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .giga-service-grid > *,
    .giga-photo-story__grid > *,
    .giga-process__grid > *,
    .feature-grid > *,
    .location-grid > *,
    .photo-grid > *,
    .catalog-grid > *,
    .material-card-grid > *,
    .content-grid > *,
    .material-features > * {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .site-shell { width: calc(100% - 24px) !important; max-width: 100% !important; }
    .site-header__inner { width: calc(100% - 24px) !important; }
    .site-brand { max-width: calc(100% - 58px) !important; }
    .primary-navigation,
    .hakirya-cinematic .site-header .primary-navigation,
    .hakirya-cinematic .site-header.is-scrolled .primary-navigation {
        padding-inline: 16px !important;
        padding-top: calc(78px + env(safe-area-inset-top)) !important;
    }

    /* Single column is forced with minmax(0,1fr) so no intrinsic content can widen the viewport. */
    .giga-service-grid,
    .giga-photo-story__grid,
    .giga-process__grid,
    .feature-grid,
    .location-grid,
    .photo-grid,
    .catalog-grid,
    .material-card-grid,
    .content-grid,
    .material-features {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cinematic-hero,
    .cinematic-hero--home,
    .cinematic-hero--inner {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .cinematic-hero__content,
    .cinematic-hero__rail,
    .cinematic-hero__media,
    .cinematic-hero__overlay {
        max-width: 100% !important;
    }

    .material-card__image,
    .material-card__swatch {
        max-width: none !important;
    }
}


/* ===== v12: content alignment, stable dropdown and richer footer ===== */

/* The small hero bubble was intentionally removed from all primary heroes. */
.hero-pill { display: none !important; }

/* Service/process copy should begin at a predictable vertical position instead of
   being pushed toward the bottom by flex auto margins. */
.giga-service-card {
    justify-content: flex-start;
}
.giga-service-card h3 {
    margin: 52px 0 14px;
}
.giga-service-card p {
    margin: 0;
}
.giga-process article {
    justify-content: flex-start;
}
.giga-process h3 {
    margin: 52px 0 14px;
}
.giga-process p {
    margin: 0;
}

/* Desktop dropdown hover bridge. The submenu can keep breathing room without
   disappearing while the pointer travels from the parent item into it. */
@media (min-width: 1181px) {
    .site-header .menu-item-has-children .sub-menu {
        top: calc(100% + 10px);
    }
    .site-header .menu-item-has-children .sub-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -14px;
        height: 14px;
    }
}

/* Footer uses guaranteed theme links instead of depending on a separately configured WP menu. */
.site-footer {
    padding-block: clamp(64px, 7vw, 96px) 24px;
    background: #111310;
    color: #f5f5f0;
    border-top: 0;
}
.site-footer__top {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, .75fr));
    gap: clamp(34px, 5vw, 82px);
    align-items: start;
}
.site-footer__brand-block {
    max-width: 420px;
}
.site-footer__brand {
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.045em;
}
.site-footer__tagline {
    max-width: 34ch;
    margin: 24px 0 30px;
    color: rgba(255,255,255,.62);
    font-size: 16px;
}
.site-footer__phone {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 400;
}
.site-footer__hours {
    margin-top: 8px;
    color: rgba(255,255,255,.5);
    font-size: 12px;
}
.site-footer__column h2 {
    margin: 0 0 20px;
    color: rgba(255,255,255,.48);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
}
.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-link-list li + li {
    margin-top: 11px;
}
.footer-link-list a {
    color: rgba(255,255,255,.84);
    text-decoration: none;
    font-size: 14px;
    transition: color .18s ease, opacity .18s ease;
}
.footer-link-list a:hover,
.footer-link-list a:focus-visible {
    color: #fff;
}
.site-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(48px, 7vw, 92px);
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.45);
    font-size: 11px;
}
.thank-you-actions {
    background: var(--giga-paper);
}
.thank-you-actions__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.thank-you-home-link {
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
}

@media (max-width: 1024px) {
    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-footer__brand-block {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}
@media (max-width: 640px) {
    .giga-service-card h3,
    .giga-process h3 {
        margin-top: 34px;
    }
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .site-footer__brand-block {
        grid-column: auto;
    }
    .site-footer__column {
        padding-top: 24px;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .footer-link-list li + li {
        margin-top: 9px;
    }
    .footer-link-list a {
        font-size: 15px;
    }
    .thank-you-actions__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .thank-you-actions__inner .giga-button {
        width: 100%;
    }
}

/* ===== v13: theme-managed local/niche pages ===== */
.cemetery-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.cemetery-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
}
.cemetery-card {
    min-width: 0;
    padding: clamp(24px, 3vw, 42px);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.cemetery-card__label {
    display: block;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 11px;
}
.cemetery-card h3 {
    margin: 0 0 34px;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -.04em;
}
.cemetery-card__row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.cemetery-card__row span {
    color: var(--muted);
    font-size: 12px;
}
.cemetery-card__row strong {
    min-width: 0;
    font-size: 15px;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.cemetery-card__row a { color: inherit; text-decoration: none; }
.cemetery-card__row a:hover { text-decoration: underline; }
.cemetery-card__note {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
}
.cemetery-section__disclaimer {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.location-prepare { background: var(--giga-paper); }
.location-prepare__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
}
.location-prepare__grid article {
    min-width: 0;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.location-prepare__grid article > span {
    color: var(--muted);
    font-size: 11px;
}
.location-prepare__grid h3 {
    margin: auto 0 14px;
    font-size: clamp(28px, 2.4vw, 40px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -.035em;
}
.location-prepare__grid p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
    .cemetery-card-grid { grid-template-columns: minmax(0, 1fr); }
    .location-prepare__grid { grid-template-columns: minmax(0, 1fr); }
    .location-prepare__grid article { min-height: 210px; }
}

@media (max-width: 560px) {
    .cemetery-card { padding: 22px; }
    .cemetery-card__row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
    .cemetery-card h3 { margin-bottom: 26px; }
}

/* ===== v15: unified technical pages + accessibility by default + cookie consent ===== */

/* Keyboard focus is intentionally strong and visible on both light and dark surfaces. */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 3px solid #0b63ce !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #0b63ce !important;
}
#main-content,
[id] { scroll-margin-top: 110px; }

/* Larger interactive targets without changing the visual language. */
.primary-menu > li > a,
.menu-parent-control > a,
.header-phone,
.header-cta,
.footer-link-list a,
.site-footer__phone,
.giga-button,
.button,
.menu-toggle,
.submenu-toggle,
.faq-item summary {
    min-height: 44px;
}
.primary-menu > li > a,
.menu-parent-control > a,
.footer-link-list a,
.site-footer__phone {
    display: inline-flex;
    align-items: center;
}
.form-row input,
.form-row select { min-height: 48px; }
.form-row textarea { min-height: 120px; }
.prose a,
.technical-article a {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .18em;
}

/* Accessible parent + submenu control. Hover remains supported; keyboard and touch
   have an explicit button with aria-expanded. */
.menu-parent-control {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.submenu-toggle {
    width: 34px;
    min-width: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}
.submenu-toggle span {
    display: inline-block;
    transition: transform .18s ease;
}
.submenu-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
@media (min-width: 1181px) {
    .site-header .menu-item-has-children.submenu-is-open > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(50%) translateY(0);
    }
}
@media (max-width: 1180px) {
    .primary-navigation .menu-parent-control {
        width: 100%;
        justify-content: space-between;
    }
    .primary-navigation .menu-parent-control > a { flex: 1; }
    .primary-navigation .submenu-toggle {
        color: var(--ink) !important;
        border: 1px solid rgba(15,16,15,.16);
    }
    .primary-navigation .menu-item-has-children > .sub-menu {
        display: none !important;
    }
    .primary-navigation .menu-item-has-children.submenu-is-open > .sub-menu {
        display: block !important;
    }
}

/* Technical/system pages share one stable layout and no longer render legacy Divi. */
.technical-content {
    background: var(--giga-paper, #f2f1ec);
    border-top: 1px solid var(--line);
}
.technical-layout {
    display: grid;
    grid-template-columns: minmax(190px, .42fr) minmax(0, 1.58fr);
    gap: clamp(48px, 8vw, 130px);
    align-items: start;
}
.technical-nav {
    position: sticky;
    top: 118px;
    padding-top: 8px;
}
.technical-nav__title {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}
.technical-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}
.technical-nav li { border-bottom: 1px solid var(--line); }
.technical-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}
.technical-nav a::after { content: "←"; opacity: .5; }
.technical-nav a:hover,
.technical-nav a[aria-current="page"] {
    color: var(--ink);
}
.technical-nav a[aria-current="page"] { font-weight: 600; }
.technical-article {
    width: min(100%, 880px);
    min-width: 0;
}
.technical-article__header {
    padding-bottom: clamp(34px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
}
.technical-article__header h2 {
    margin: 0;
    font-size: clamp(44px, 5vw, 78px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.045em;
}
.technical-updated {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.technical-section {
    padding-block: clamp(36px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
}
.technical-section h3 {
    margin: 0 0 22px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -.03em;
}
.technical-section p {
    max-width: 760px;
    margin: 0;
    color: #4f514c;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.8;
}
.technical-section p + p { margin-top: 18px; }

/* Readability fixes on the dark footer. */
.site-footer__tagline,
.site-footer__hours,
.site-footer__column h2,
.site-footer__legal { color: rgba(255,255,255,.72); }
.footer-link-list a { color: rgba(255,255,255,.9); }

@media (max-width: 900px) {
    .technical-layout { grid-template-columns: minmax(0, 1fr); gap: 42px; }
    .technical-nav { position: static; }
    .technical-nav ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-right: 1px solid var(--line);
    }
    .technical-nav li { border-left: 1px solid var(--line); }
    .technical-nav a { padding-inline: 12px; }
}
@media (max-width: 620px) {
    .technical-nav ul { grid-template-columns: minmax(0, 1fr); border-right: 0; }
    .technical-nav li { border-left: 0; }
}
.form-row { display: grid; gap: 8px; }
.form-row > label { display: block; }
.required-mark { color: #8d1b1b !important; font-weight: 700 !important; }
.lead-message[tabindex="-1"]:focus { outline: 3px solid #0b63ce; outline-offset: 3px; }
.hakirya-lead-form[aria-busy="true"] { opacity: .72; }


/* ===== v15: footer credit + compact cookie choice ===== */
.site-footer__legal-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    width: 100%;
}
.site-footer__credit {
    color: rgba(255,255,255,.9);
    text-decoration: underline;
    text-underline-offset: .2em;
}
.cookie-settings-link {
    min-height: 44px;
    margin-inline-start: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.86);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: pointer;
}
.cookie-consent {
    position: fixed;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 11900;
    width: min(440px, calc(100vw - 32px));
    direction: rtl;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__inner {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(17,19,16,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    color: #171815;
    box-shadow: 0 14px 44px rgba(0,0,0,.16);
}
.cookie-consent__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}
.cookie-consent__text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.cookie-consent__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}
.cookie-consent__button {
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid #171815;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.cookie-consent__button--primary {
    background: #171815;
    color: #fff;
}
.cookie-consent__button--secondary {
    background: #fff;
    color: #171815;
}
@media (max-width: 620px) {
    .site-footer__legal-row { align-items: flex-start; }
    .cookie-settings-link { margin-inline-start: 0; }
    .cookie-consent {
        left: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: calc(100vw - 24px);
    }
    .cookie-consent__inner { padding: 14px; border-radius: 12px; }
    .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-consent__button { width: 100%; }
}

/* ===== v16: precise desktop menu spacing + richer local information ===== */
@media (min-width: 1181px) {
    .site-header .primary-menu {
        gap: clamp(18px, 1.45vw, 26px);
    }
    .site-header .menu-parent-control {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-height: 44px;
        white-space: nowrap;
    }
    .site-header .menu-parent-control > .menu-parent-link {
        min-height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
    }
    .site-header .submenu-toggle {
        width: 20px;
        min-width: 20px;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        line-height: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        opacity: .92;
    }
    .site-header .submenu-toggle__icon {
        width: 12px;
        height: 7px;
        line-height: 0;
        display: block;
        transform-origin: 50% 50%;
    }
    .site-header .submenu-toggle__icon svg {
        display: block;
        width: 12px;
        height: 7px;
    }
    .site-header .submenu-toggle[aria-expanded="true"] .submenu-toggle__icon {
        transform: rotate(180deg);
    }
}

/* The old glyph rule is intentionally neutralized for the SVG icon. */
.submenu-toggle__icon { transition: transform .18s ease; }
.submenu-toggle__icon svg { display: block; }
.submenu-toggle[aria-expanded="true"] .submenu-toggle__icon { transform: rotate(180deg); }

.cemetery-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.cemetery-card__waze {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
}
.cemetery-card__waze:hover { opacity: .78; }
.cemetery-card__row--stack {
    grid-template-columns: 86px minmax(0, 1fr);
}
.cemetery-card__types {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.cemetery-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}
.cemetery-card__unverified {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}
.cemetery-card__directions {
    line-height: 1.65;
}
.cemetery-card__source-note {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}
@media (max-width: 560px) {
    .cemetery-card__row--stack { grid-template-columns: 72px minmax(0,1fr); }
    .cemetery-card__actions { margin-top: 20px; }
    .cemetery-card__waze { width: 100%; }
}
