:root {
  --burgundy: #631f35;
  --burgundy-deep: #411321;
  --gold: #c99d4d;
  --gold-light: #e9d3a4;
  --cream: #f8f3e9;
  --white: #ffffff;
  --ink: #2e2523;
  --muted: #716661;
  --border: #e3d9c9;
  --shadow: 0 16px 40px rgba(65, 19, 33, 0.11);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 105px; }

:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 5px; }
.section-burgundy :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }
section { scroll-margin-top: 12px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; overflow-wrap: anywhere; text-underline-offset: 4px; }

img { max-width: 100%; }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.container > *, .form-row > * { min-width: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--burgundy);
}

.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid rgba(99, 31, 53, 0.1); }

.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--burgundy); text-decoration: none; }

.brand-logo { display: block; flex: 0 0 auto; width: 64px; height: 64px; object-fit: contain; }

.brand-name, .brand-tagline { display: block; }
.brand-name { font-family: var(--font-serif); font-size: 21px; font-weight: bold; line-height: 1.1; letter-spacing: 0.02em; }
.brand-tagline { color: var(--muted); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; }

.primary-navigation { display: flex; align-items: center; gap: 18px; color: var(--burgundy-deep); font-size: 13px; font-weight: 600; }
.primary-navigation a { white-space: nowrap; transition: color 0.2s ease, background 0.2s ease; }
.primary-navigation a { text-decoration: none; }
.primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--gold); }
.primary-navigation .nav-cta { padding: 10px 14px; color: var(--white); background: var(--burgundy); }
.primary-navigation .nav-cta:hover, .primary-navigation .nav-cta:focus-visible { color: var(--burgundy-deep); background: var(--gold); }

.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 25px; height: 2px; background: var(--burgundy); transition: transform 0.2s ease; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { position: absolute; content: ""; left: 0; }
.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }

.hero { overflow: hidden; background: radial-gradient(ellipse at 0% 100%, #ead9b755, transparent 65%), var(--cream); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1fr 0.93fr; align-items: center; gap: 65px; }
.hero-content { padding: 80px 0; }
.eyebrow { margin: 0 0 13px; color: var(--burgundy); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--burgundy-deep); font-family: var(--font-serif); line-height: 1.1; }
h1 { margin-bottom: 22px; font-size: clamp(46px, 6vw, 77px); font-weight: 400; }
h2 { margin-bottom: 19px; font-size: clamp(35px, 4vw, 52px); font-weight: 400; }
h3 { margin-bottom: 8px; font-size: 24px; }
.hero-intro { max-width: 450px; margin: 0 0 31px; font-family: var(--font-serif); font-size: 21px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 23px; border: 1px solid transparent; border-radius: 5px; font-family: inherit; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.button:hover { box-shadow: 0 5px 15px #41132112; }
.nav-cta { border-radius: 5px; }
.button-gold { background: var(--gold); color: var(--burgundy-deep); }
.button-gold:hover, .button-gold:focus-visible { background: #b78a3d; }
.button-quiet { border-color: var(--burgundy); color: var(--burgundy); }
.button-quiet:hover, .button-quiet:focus-visible { color: var(--white); background: var(--burgundy); }
.button-burgundy { color: var(--white); background: var(--burgundy); }
button:disabled { cursor: not-allowed; opacity: 0.8; }

.image-placeholder { display: grid; place-items: center; min-height: 270px; color: var(--muted); background: linear-gradient(135deg, #e9dfcf, #f9f6ef); border: 1px solid var(--border); text-align: center; }
.image-placeholder span { display: inline-block; padding: 10px 13px; border: 1px solid rgba(99, 31, 53, 0.2); background: rgba(255,255,255,0.62); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-placeholder { position: relative; min-height: 480px; padding: 40px; border-radius: 180px 180px 12px 12px; background: linear-gradient(150deg, #e9ddc6, #f3ece0 55%, #d8c4a0); box-shadow: var(--shadow); }
.hero-placeholder::before { content: ""; position: absolute; inset: 17px; border: 1px solid #a7824c80; border-radius: 170px 170px 5px 5px; pointer-events: none; }
.photo-label { position: relative; }
.hero-placeholder .photo-monogram { display: grid; place-items: center; width: 84px; height: 84px; padding: 0; margin: 0 auto; color: var(--burgundy); border-radius: 50%; font-family: var(--font-serif); font-style: italic; font-size: 48px; }
.photo-label p { color: var(--burgundy); font-family: var(--font-serif); font-size: 26px; }

.section { padding: 105px 0; }
.section-cream { background: var(--cream); }
.section-burgundy { color: var(--white); background: var(--burgundy); }
.section-burgundy h2 { color: var(--white); }
.section-gold { background: var(--gold-light); }
.two-column { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.section-copy { max-width: 575px; font-size: 18px; }
.section-copy p:first-child { margin-top: 0; }
.placeholder-note { color: var(--muted); font-size: 14px; line-height: 1.55; }
.placeholder-note-light { color: rgba(255,255,255,0.82); }
.section-heading { max-width: 670px; margin-bottom: 45px; }
.section-heading-row { display: flex; justify-content: space-between; gap: 30px; max-width: none; }
.gallery-note { max-width: 290px; margin: 10px 0 0; }

.card-grid { display: grid; gap: 20px; }
.card-grid-three { grid-template-columns: repeat(3, 1fr); }
.content-card { min-height: 260px; padding: 32px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: 0 6px 22px #41132106; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.content-card h3 { font-size: 25px; line-height: 1.25; font-weight: 400; }
.service-icon { display: block; width: 51px; height: 51px; padding: 9px; margin-bottom: 24px; border-radius: 12px; background: var(--cream); fill: none; stroke: var(--burgundy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.content-card span { color: var(--gold); font-size: 13px; font-weight: bold; letter-spacing: 0.12em; }
.content-card p { margin-bottom: 0; color: var(--muted); }

.life-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.life-placeholder { min-height: 480px; border-radius: 12px 100px 12px 12px; background: linear-gradient(140deg, #7c4453, #4c1b2a); border-color: #c99d4d80; }
.life-placeholder span { color: var(--burgundy-deep); background: var(--cream); }
.life-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0 0; }
.life-values div { padding-top: 16px; border-top: 1px solid #ffffff33; }
.life-values dt { color: var(--gold-light); font-family: var(--font-serif); font-size: 22px; }
.life-values dd { margin: 6px 0 0; color: #f4e8eb; font-size: 14px; }
.eyebrow-light { color: var(--gold-light); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery-item { min-height: 0; aspect-ratio: 4 / 3; border-radius: 9px; }
.gallery-item:nth-child(3n) { background: linear-gradient(135deg, #e4d5cb, #faf5ee); }
.gallery-item span::after { content: " · Coming soon"; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 45px; }
.values-grid article { border-top: 2px solid var(--gold); padding-top: 25px; }
.values-grid h3 { font-size: 25px; font-weight: 400; }
.values-grid p { color: var(--muted); font-size: 15px; }

blockquote { margin: 0 0 26px; padding-left: 25px; border-left: 3px solid var(--gold); color: var(--burgundy); font-family: var(--font-serif); font-size: 24px; font-style: italic; line-height: 1.45; }

.tour-layout { display: grid; grid-template-columns: 1fr 0.87fr; gap: 80px; align-items: center; }
.tour-layout p:not(.eyebrow) { max-width: 390px; }
.tour-form { padding: 32px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-notice { padding: 15px; margin: 0 0 23px; border-left: 3px solid var(--gold); background: var(--cream); font-size: 13px; }
.form-notice strong { display: block; }
.tour-form label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.tour-form input, .tour-form textarea { display: block; width: 100%; min-width: 0; margin-bottom: 16px; padding: 11px; border: 1px solid var(--border); border-radius: 5px; background: #fafafa; color: #625953; -webkit-text-fill-color: #625953; opacity: 1; font: inherit; }
.tour-form textarea { resize: vertical; }
.tour-form input::placeholder, .tour-form textarea::placeholder { color: #716661; opacity: 1; }
.tour-form button { width: 100%; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: stretch; }
address { margin: 0 0 18px; font-style: normal; }
.contact-grid a { color: var(--burgundy); }
.contact-map { min-width: 0; align-self: start; overflow: hidden; border: 7px solid #fcf9f2; outline: 1px solid var(--border); border-radius: 12px; background: #fcf9f2; box-shadow: 0 10px 26px #41132107; }
.contact-map-frame { display: block; width: 100%; height: 380px; border: 0; border-radius: 6px; background: var(--cream); }
.contact-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 12px 12px; }
.contact-map-actions p { margin: 0; color: var(--muted); font-size: 12px; }
.contact-map-actions .button { color: var(--burgundy-deep); text-decoration: none; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; padding: 30px; color: var(--burgundy); background: repeating-linear-gradient(32deg, transparent 0 70px, #ffffff80 71px 78px, transparent 79px 140px), repeating-linear-gradient(115deg, #ede5d8 0 85px, #f9f6ef 86px 92px, #ede5d8 93px 160px); border: 1px solid var(--border); border-radius: 14px; text-align: center; }
.map-placeholder p { padding: 18px; background: #fffdf8f5; border-radius: 7px; }
.map-note { display: inline-block; margin-top: 10px; color: var(--muted); font-size: 13px; }
.map-pin { display: grid; place-items: center; width: 53px; height: 53px; margin-bottom: 8px; border-radius: 50% 50% 50% 0; color: var(--gold); background: var(--burgundy); transform: rotate(-45deg); }
.map-pin::first-letter { transform: rotate(45deg); }

.qr-section { padding: 52px 0; background: var(--cream); border-top: 1px solid var(--border); }
.qr-content { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.qr-content .placeholder-note { margin: 0; }
.qr-code { display: block; width: 185px; height: auto; background: var(--white); }

.site-footer { padding: 24px 0; color: rgba(255,255,255,0.8); background: var(--burgundy-deep); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.site-footer p { margin: 0; }

/* Visual polish: shared treatments keep the existing content and structure intact. */
body { -webkit-font-smoothing: antialiased; }
h1, h2 { letter-spacing: -0.035em; text-wrap: balance; }
h3 { letter-spacing: -0.015em; }
p { text-wrap: pretty; }
.section { padding: clamp(76px, 8vw, 112px) 0; }
.eyebrow { letter-spacing: 0.17em; font-size: 11px; }
.section-heading > p:last-child, .section-copy { line-height: 1.8; }
.site-header { background: #fffdf9f7; box-shadow: 0 3px 20px #41132105; border-bottom-color: #c99d4d40; }
.brand { flex-shrink: 0; gap: 12px; }
.brand-name { font-size: 23px; font-weight: 400; }
.brand-tagline { margin-top: 4px; font-size: 9px; }
.primary-navigation > a { display: inline-flex; align-items: center; min-height: 44px; }
.primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--burgundy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 7px; }
.primary-navigation .nav-cta { border: 1px solid var(--burgundy); padding-inline: 17px; box-shadow: 0 4px 10px #4113210c; text-decoration: none; }
.menu-toggle { min-width: 48px; min-height: 48px; border-radius: 6px; }
.menu-toggle:hover { background: var(--cream); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.hero { background: radial-gradient(ellipse at 92% 40%, #e8d5ab70, transparent 58%), linear-gradient(110deg, #fffcf6, var(--cream)); border-bottom: 1px solid #c99d4d40; }
.hero-grid { min-height: 690px; grid-template-columns: 1.08fr 1fr; gap: 56px; padding-block: 54px; }
.hero-content { padding-block: 38px; }
.hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: 1.06; margin-bottom: 28px; }
.hero-content .eyebrow { max-width: 440px; margin-bottom: 26px; }
.hero-intro { max-width: 440px; font-family: var(--font-sans); font-size: 18px; line-height: 1.85; color: #65564f; margin-bottom: 34px; }
.hero-actions { gap: 14px; }
.button { min-height: 52px; padding: 13px 25px; letter-spacing: 0.015em; border-radius: 6px; }
.button-gold { background: linear-gradient(120deg, #e1bf7d, var(--gold)); border-color: #b68c45; box-shadow: 0 6px 16px #9a713322, inset 0 1px #fff7e580; }
.button-gold:hover, .button-gold:focus-visible { background: #d5ad64; box-shadow: 0 8px 20px #9a71332b; }
.button-quiet { background: #fffdf97a; border-color: #631f3566; }
.button:disabled:hover { box-shadow: none; }
.hero-placeholder { min-height: 520px; border-radius: 240px 240px 14px 14px; border-color: #b797635c; background: radial-gradient(ellipse at 50% 28%, #fff9ea, transparent 70%), linear-gradient(140deg, #e8d8bd, #f1e6d3 65%, #dcc39a); box-shadow: 0 22px 44px #623b2014, 0 4px 10px #623b200a; }
.hero-placeholder::before { inset: 14px; border-radius: 230px 230px 5px 5px; border-color: #b9986466; }
.hero-placeholder .photo-monogram { width: 92px; height: 92px; border-color: #b9986480; background: #fffaf080; box-shadow: 0 0 0 7px #fffaf040; font-size: 52px; }
.photo-label p { font-size: 29px; margin: 26px 0 22px; letter-spacing: -0.02em; }
.image-placeholder span { border-radius: 4px; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; }
#about { background: #fffcf7; }
#about .section-copy { padding-left: 28px; border-left: 1px solid #c99d4d70; }
#about .section-copy p:last-child { margin-bottom: 0; }

.card-grid { gap: 24px; }
.content-card { padding: 34px 30px 30px; border-color: #e9dfd0; background: linear-gradient(145deg, #fff, #fffdf9); border-radius: 10px; box-shadow: 0 5px 18px #41132105; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.content-card h3 { font-size: 25px; line-height: 1.25; max-width: 300px; }
.content-card p { line-height: 1.75; font-size: 15px; }
.service-icon { width: 58px; height: 58px; padding: 12px; margin-bottom: 25px; background: #f8f1e4; border: 1px solid #c99d4d40; border-radius: 50%; stroke-width: 1.4; box-shadow: inset 0 0 0 4px #fffaf4; }
@media (hover: hover) { .content-card:hover { transform: translateY(-3px); border-color: #c99d4d99; box-shadow: 0 12px 28px #4113210d; } }
.section-burgundy { background: radial-gradient(ellipse at 10% 0, #81405580, transparent 65%), var(--burgundy); border-block: 1px solid #c99d4d66; }
.life-grid { gap: 64px; }
.life-grid > div > p:not(.eyebrow) { color: #f0e1e5; line-height: 1.8; }
.life-placeholder { position: relative; min-height: 500px; border-radius: 10px 90px 10px 10px; padding: 30px; background: linear-gradient(145deg, #9c657352, #3e14224d); box-shadow: 0 16px 35px #260b1726; }
.life-placeholder::before { content: ""; position: absolute; inset: 13px; border: 1px solid #e9d3a440; border-radius: 4px 79px 4px 4px; pointer-events: none; }
.life-placeholder span { background: #fff9ee; }
.life-values { gap: 26px; }
.life-values div { padding-top: 20px; border-color: #e9d3a44d; }
.life-values dt { font-size: 23px; }
.life-values dd { line-height: 1.75; }

.gallery-grid { gap: 20px; }
.gallery-item { position: relative; border-radius: 8px; border: 6px solid #fffcf8; outline: 1px solid var(--border); box-shadow: 0 5px 15px #41132107; }
.gallery-item span { padding: 9px 10px; background: #fffdf5d9; border-color: #b7976355; }
.gallery-note { padding-left: 16px; border-left: 2px solid var(--gold-light); }
#why-tevah { background: linear-gradient(120deg, var(--cream), #fffcf6); border-block: 1px solid #e3d9c980; }
#why-tevah .section-copy { padding: 30px 32px; background: #fffdf9; border: 1px solid #d4b88680; border-radius: 8px; box-shadow: 0 8px 25px #41132105; }
blockquote { font-size: clamp(20px, 2vw, 25px); font-style: normal; line-height: 1.6; margin-bottom: 0; border-left-width: 2px; padding-left: 22px; }
.values-grid { gap: 24px; margin-top: 42px; }
.values-grid article { padding: 24px 20px 10px; border: 1px solid #e3d9c9b3; border-top: 2px solid #c99d4db3; border-radius: 4px; background: #fffdf980; }
.values-grid h3 { font-size: 24px; }

.section-gold { background: linear-gradient(110deg, #ecdbb9, #f6ecd9); }
.tour-layout { grid-template-columns: 0.85fr 1fr; gap: 72px; }
.tour-layout > div > p:not(.eyebrow) { font-size: 17px; line-height: 1.85; }
.tour-form { padding: 36px; border: 1px solid #d4b88680; border-radius: 12px; box-shadow: 0 16px 40px #72512e12; }
.tour-form .form-notice { max-width: none; border-radius: 4px; margin-bottom: 26px; line-height: 1.75; }
.tour-form label { margin-bottom: 7px; color: var(--burgundy-deep); font-size: 13px; font-weight: 600; }
.tour-form input, .tour-form textarea { background: #fcfaf6; border-color: #e1d8ca; padding: 13px; margin-bottom: 21px; border-radius: 6px; line-height: 1.5; }
.tour-form input { min-height: 50px; }
.tour-form button:disabled { opacity: 1; color: #fff6ed; background: #78505b; }
.contact-grid address { line-height: 1.85; }
.contact-grid a { text-decoration-color: #c99d4d99; }
.contact-grid a:hover { text-decoration-color: var(--burgundy); }
.map-placeholder { border: 7px solid #fcf9f2; outline: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 26px #41132107; }
.map-placeholder p { padding: 23px; border: 1px solid #d4b88666; box-shadow: 0 5px 18px #41132108; line-height: 1.85; }
.map-placeholder strong { font-family: var(--font-serif); font-size: 23px; font-weight: 400; }
.map-pin { box-shadow: -5px 5px 12px #41132118; }
.qr-section h2 { font-size: clamp(28px, 3vw, 38px); }
.site-footer { padding-block: 30px; border-top: 2px solid #c99d4d80; }

@media (max-width: 1100px) {
  .header-inner { min-height: 70px; }
  .brand-logo { width: 54px; height: 54px; }
  .menu-toggle { display: block; padding: 12px; }
  .primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 70px); overflow-y: auto; padding: 10px 20px 20px; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 12px 18px rgba(0,0,0,0.07); }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { padding: 12px 0; }
  .primary-navigation .nav-cta { margin-top: 6px; padding: 12px 14px; text-align: center; }
  .primary-navigation > a { justify-content: flex-start; }
  .primary-navigation .nav-cta { justify-content: center; }
  .hero-placeholder { min-height: 450px; }
  .life-grid, .tour-layout, .contact-grid { gap: 36px; }
  .values-grid { gap: 16px; }
  .values-grid article { padding-inline: 16px; }
  .values-grid h3 { font-size: 22px; overflow-wrap: anywhere; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(44px, 5.7vw, 65px); }
}

@media (max-width: 820px) {
  .hero-grid, .two-column, .life-grid, .tour-layout, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-grid { min-height: auto; padding: 60px 0; }
  .hero-content { padding: 0; }
  .hero-placeholder { min-height: 340px; }
  .hero-placeholder { width: min(100%, 510px); justify-self: center; min-height: 400px; }
  .hero-content { max-width: 590px; }
  .hero-intro { max-width: 520px; }
  .hero-content .eyebrow { max-width: none; }
  #about .section-copy { padding-left: 22px; }
  .form-row { gap: 20px; }
  .section { padding: 76px 0; }
  .card-grid-three, .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading-row { display: block; }
  .gallery-note { max-width: 440px; }
  .life-grid { gap: 38px; }
  .life-placeholder { order: 2; min-height: 300px; }
  .tour-layout { gap: 35px; }
  .qr-content { grid-template-columns: 1fr auto; }
  .qr-code { width: 148px; }
  .qr-content .placeholder-note { grid-column: span 2; }
  .footer-inner { display: block; }
  .footer-inner p + p { margin-top: 8px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 32px, 1120px); }
  .brand-tagline { display: none; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .hero-placeholder { padding: 32px 20px; }
  .hero-content .eyebrow { font-size: 10px; }
  .card-grid-three, .form-row, .life-values, .values-grid { grid-template-columns: 1fr; }
  .life-values, .values-grid { gap: 22px 16px; }
  .hero-actions { display: grid; }
  .gallery-grid { gap: 12px; }
  .gallery-item { aspect-ratio: 1; }
  .gallery-item span { font-size: 10px; padding: 7px; }
  .gallery-item span::after { content: ""; }
  .tour-form { padding: 22px; }
  .hero-grid { padding-block: 44px; gap: 34px; }
  .hero-intro { font-size: 16px; line-height: 1.8; }
  .hero h1 { margin-bottom: 22px; }
  .hero-content .eyebrow { margin-bottom: 20px; line-height: 1.8; }
  .hero-placeholder { min-height: 340px; }
  .photo-label p { font-size: 25px; }
  .section { padding-block: 64px; }
  .content-card { padding: 27px; }
  .service-icon { margin-bottom: 20px; }
  .gallery-grid { gap: 14px; }
  .gallery-item { border-width: 4px; }
  #why-tevah .section-copy { padding: 23px 20px; }
  blockquote { padding-left: 16px; font-size: 18px; }
  .values-grid article { padding: 22px; }
  .life-placeholder { padding: 24px; }
  .map-placeholder { padding: 22px 12px; }
  .map-placeholder p { padding: 16px 12px; }
  .contact-map-frame { height: 320px; }
  .contact-map-actions .button { width: 100%; }
}

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

/* Homepage only: an edge-to-edge split with an easily replaceable HTML image. */
#home { background: var(--cream); }
#home .hero-grid { width: 100%; margin: 0; padding: 0; min-height: clamp(600px, 48vw, 820px); grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); align-items: stretch; gap: 0; }
#home .hero-content { align-self: center; min-width: 0; max-width: none; padding: 64px clamp(28px, 4vw, 64px) 64px max(32px, calc((100vw - 1200px) / 2)); }
#home .hero-photo { position: relative; min-width: 0; overflow: hidden; }
#home .hero-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
@media (max-width: 700px) {
  #home .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  #home .hero-content { padding: 48px 24px; }
  #home .hero-photo { width: 100%; aspect-ratio: 1 / 1; }
}

/* Multi-page navigation and shared footer. */
[hidden] { display: none !important; }
.page-title { font-size: clamp(35px, 4vw, 52px); }
.section-burgundy h1 { color: var(--white); }
.primary-navigation { gap: 13px; font-size: 12px; }
.primary-navigation [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 7px; }
.teaser-card { display: flex; flex-direction: column; gap: 12px; }
.teaser-card > a { margin-top: auto; padding-top: 16px; color: var(--burgundy); font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: .8fr 1fr 1.2fr; gap: 48px; padding-block: 20px 36px; }
.footer-logo { object-fit: contain; background: white; border-radius: 6px; margin-bottom: 16px; }
.site-footer h2 { color: var(--gold-light); font-size: 22px; letter-spacing: 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 8px 20px; }
.footer-links h2 { grid-column: 1 / -1; }
.footer-links a { min-height: 36px; }
.footer-bottom { border-top: 1px solid #e9d3a440; padding-top: 24px; }
.footer-social-title { margin-top: 24px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-profile { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; text-decoration: none; }
.social-profile small { display: block; font-size: 11px; }
.social-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; }
.social-icon svg, .share-actions svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-icon:has(svg) { border: 0; }
.site-footer .social-profile { padding: 6px 9px; border-color: #e9d3a440; font-size: 11px; }
.testimonial-card h2 { font-size: 29px; }
.share-container { max-width: 850px; text-align: center; }
.share-tabs { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.share-tabs button, .share-actions > *, .slider-arrow, .slider-pause { min-height: 48px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); color: var(--burgundy); font: inherit; cursor: pointer; }
.share-tabs [aria-selected="true"] { background: var(--burgundy); color: white; border-color: var(--burgundy); }
.share-panel { display: grid; place-items: center; align-content: center; min-height: 360px; margin-top: 20px; padding: 32px 20px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.share-panel .qr-code { width: 240px; padding: 12px; }
.share-panel h2 { font-size: 27px; margin: 16px 0 0; }
.share-heading { font-size: 28px; margin-top: 36px; }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.share-actions > * { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.share-actions > *:hover { border-color: var(--burgundy); }
.share-actions span { font-weight: 700; }
[data-share-status] { min-height: 28px; }
[data-copy-fallback] input { width: 100%; max-width: 400px; padding: 14px; font: inherit; }
/* Native scrolling supports touch swipes without a dependency. */
.carousel { min-width: 0; --visible-slides: 3; }
.carousel-small { --visible-slides: 1; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 4px 2px 14px; }
.carousel-slide { flex: 0 0 calc((100% - (var(--visible-slides) - 1) * 20px) / var(--visible-slides)); min-width: 0; scroll-snap-align: start; }
.carousel-slide .image-placeholder { aspect-ratio: 4 / 3; min-height: 240px; border-radius: 10px; padding: 18px; }
.carousel-slide img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.carousel-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.carousel-dots button { display: grid; place-items: center; width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.carousel-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: 1px solid var(--burgundy); }
.carousel-dots button[aria-current="true"]::before { background: var(--burgundy); }
.slider-pause { font-size: 13px; }
.section-burgundy .carousel-dots button::before { border-color: var(--gold-light); }
.section-burgundy .carousel-dots button[aria-current="true"]::before { background: var(--gold); }
@media (max-width: 1200px) and (min-width: 1101px) { .header-inner { gap: 12px; } .primary-navigation { gap: 9px; } .brand-tagline { display: none; } .brand-name { font-size: 20px; } }
@media (max-width: 1000px) { .carousel { --visible-slides: 2; } .carousel-small { --visible-slides: 1; } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .carousel { --visible-slides: 1; } .footer-grid { grid-template-columns: 1fr; gap: 30px; } .share-tabs button { flex: 1; padding: 12px 8px; } .carousel-dots button { width: 27px; } }

/* Wide layouts with separate limits for readable text. */
.container { width: calc(100% - 6vw); }
.section-copy { max-width: 65ch; }
.content-card p, .values-grid p { max-width: 55ch; }
.content-card h3 { max-width: 25ch; }
.two-column > div:first-child { max-width: 38rem; }
.footer-grid { grid-template-columns: 1fr 1fr 1.2fr; gap: clamp(32px, 5vw, 100px); }
.footer-links { column-gap: clamp(20px, 3vw, 60px); }
.tour-layout > div > p { max-width: 55ch; }
.tour-form { width: 100%; }
#home .hero-content { padding-left: max(24px, 3vw); }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
