:root {
  --green-900: #0b2a1d;
  --green-800: #0f3a27;
  --green-700: #154a32;
  --gold: #c9a24a;
  --gold-light: #e6c97a;
  --cream: #faf7ef;
  --white: #ffffff;
  --ink: #1d2a23;
  --muted: #5d6b63;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  transition: background .35s ease, padding .35s ease;
}
.site-header.scrolled {
  background: rgba(11, 42, 29, .96);
  padding: 14px 48px;
  box-shadow: 0 1px 0 rgba(201, 162, 74, .35);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 17px; letter-spacing: .04em; }
.brand-name .amp { color: var(--gold-light); }
.brand-sub { font-size: 9.5px; letter-spacing: .38em; color: var(--gold-light); text-transform: uppercase; }

.nav { display: flex; gap: 38px; }
.nav a {
  color: var(--white); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-light); transition: width .3s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold-light); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 34px; height: 24px; position: relative;
}
.menu-toggle span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--white);
  transition: transform .3s, opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 3px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 19px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--white); overflow: hidden; padding: 140px 24px 120px;
}
.hero.short { min-height: 68vh; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.06); animation: slowzoom 18s ease-out forwards;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,30,20,.72) 0%, rgba(11,42,29,.55) 45%, rgba(8,30,20,.88) 100%);
}
@keyframes slowzoom { to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 2; max-width: 960px; }

.frame {
  display: inline-block; border: 1px solid rgba(230, 201, 122, .6);
  padding: 34px 48px; margin-bottom: 40px;
}
.frame svg { width: 74px; height: 74px; margin: 0 auto 14px; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 5.2vw, 64px); line-height: 1.12; letter-spacing: .02em;
}
.hero-title .amp { color: var(--gold-light); }
.hero-sub {
  font-size: clamp(11px, 1.3vw, 14px); letter-spacing: .55em; text-transform: uppercase;
  color: var(--gold-light); margin-top: 12px;
}
.tagline {
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .32em; text-transform: uppercase;
  margin-top: 30px; color: rgba(255,255,255,.88);
}
.script {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px); color: var(--gold-light); margin-top: 22px; line-height: 1.2;
}
.script strong { display: block; font-style: normal; font-family: var(--serif); font-weight: 500;
  color: var(--white); font-size: .72em; letter-spacing: .12em; margin-top: 6px; }
.page-title {
  font-family: var(--serif); font-weight: 500; letter-spacing: .08em;
  font-size: clamp(34px, 5vw, 60px);
}
.page-kicker {
  font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 18px;
}

.vline { width: 1px; height: 70px; background: rgba(230,201,122,.7); margin: 34px auto 0; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 10px; letter-spacing: .5em; color: rgba(255,255,255,.75); text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase;
  padding: 16px 34px; border: 1px solid var(--gold); color: var(--white);
  transition: background .3s, color .3s; margin-top: 38px;
}
.btn:hover { background: var(--gold); color: var(--green-900); }
.btn.dark { color: var(--green-900); }
.btn.dark:hover { color: var(--white); background: var(--green-800); border-color: var(--green-800); }
.btn .dash { width: 26px; height: 1px; background: currentColor; }

/* ---------- Sections ---------- */
section { padding: 120px 24px; }
.container { max-width: 1160px; margin: 0 auto; }
.narrow { max-width: 820px; margin: 0 auto; }
.eyebrow {
  font-size: 11.5px; letter-spacing: .45em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
  display: flex; align-items: center; gap: 16px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
h2 {
  font-family: var(--serif); font-weight: 500; color: var(--green-900);
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; letter-spacing: .03em; margin-bottom: 26px;
}
.lead { font-family: var(--display); font-size: clamp(21px, 2.1vw, 26px); line-height: 1.55; color: var(--ink); }
.center { text-align: center; }
p + p { margin-top: 18px; }

.dark-section { background: var(--green-900); color: rgba(255,255,255,.88); position: relative; overflow: hidden; }
.dark-section h2 { color: var(--white); }
.dark-section .lead { color: rgba(255,255,255,.92); }
.white-section { background: var(--white); }

.gold-rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.photo-frame::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold); z-index: -1;
}
.placeholder-tag {
  position: absolute; bottom: 16px; left: 16px; font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.7); background: rgba(0,0,0,.25); padding: 6px 10px;
}

/* Statement blocks */
.statement {
  border-top: 1px solid rgba(201,162,74,.5); border-bottom: 1px solid rgba(201,162,74,.5);
  padding: 56px 0; position: relative;
}
.statement + .statement { border-top: 0; }
.statement-label {
  font-family: var(--serif); color: var(--gold-light); letter-spacing: .3em;
  font-size: 13px; text-transform: uppercase; margin-bottom: 20px;
}
.quote-mark { font-family: var(--display); color: var(--gold); font-size: 80px; line-height: .4; display: block; margin-bottom: 18px; }

/* Cards / values */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201,162,74,.35); border: 1px solid rgba(201,162,74,.35); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(201,162,74,.35); border: 1px solid rgba(201,162,74,.35); }
.card {
  background: var(--white); padding: 46px 38px; transition: background .35s;
}
.card:hover { background: var(--cream); }
.dark-section .card { background: var(--green-900); }
.dark-section .card:hover { background: var(--green-800); }
.card-num { font-family: var(--display); font-size: 15px; color: var(--gold); letter-spacing: .2em; margin-bottom: 18px; }
.card h3 {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .06em;
  color: var(--green-900); margin-bottom: 12px;
}
.dark-section .card h3 { color: var(--white); }
.card p { color: var(--muted); font-size: 15px; }
.dark-section .card p { color: rgba(255,255,255,.75); }

.icon-ring {
  width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: grid; place-items: center; margin-bottom: 24px; color: var(--gold);
}
.icon-ring svg { width: 28px; height: 28px; }

.note {
  margin-top: 40px; font-size: 14px; color: var(--muted); text-align: center;
  font-style: italic; max-width: 760px; margin-left: auto; margin-right: auto;
}

/* Who we serve */
.serve-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.serve-item { text-align: center; padding: 0 10px; }
.serve-item .icon-ring { margin: 0 auto 22px; }
.serve-item h3 { font-family: var(--serif); font-weight: 500; color: var(--white); font-size: 18px; letter-spacing: .08em; margin-bottom: 8px; }

/* CTA band */
.cta-band { background: var(--green-800); color: var(--white); text-align: center; position: relative; }
.cta-band h2 { color: var(--white); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.contact-person h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--green-900); letter-spacing: .04em; }
.contact-person .role { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.contact-list { list-style: none; margin-top: 40px; }
.contact-list li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid rgba(201,162,74,.35); }
.contact-list li:first-child { border-top: 1px solid rgba(201,162,74,.35); }
.contact-list .icon-ring { width: 48px; height: 48px; margin: 0; flex: none; }
.contact-list .icon-ring svg { width: 20px; height: 20px; }
.contact-list .label { font-size: 11px; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }
.contact-list .value { font-size: 17px; color: var(--green-900); word-break: break-word; }
.contact-list a.value:hover { color: var(--gold); }
.map-wrap { position: relative; border: 1px solid var(--gold); padding: 12px; background: var(--white); }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.75); padding: 80px 24px 40px; text-align: center; }
.footer-motto { font-family: var(--serif); color: var(--gold-light); letter-spacing: .35em; font-size: 13px; text-transform: uppercase; }
.footer-brand { margin: 34px 0 26px; }
.footer-brand .brand { justify-content: center; }
.footer-nav { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-nav a { font-size: 11.5px; letter-spacing: .25em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact { font-size: 14px; line-height: 2; }
.footer-contact a:hover { color: var(--gold-light); }
.copyright { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(201,162,74,.25); font-size: 12px; color: rgba(255,255,255,.5); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-header, .site-header.scrolled { padding: 16px 22px; }
  .menu-toggle { display: block; z-index: 60; }
  .nav {
    position: fixed; inset: 0; background: var(--green-900);
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav a { font-size: 15px; }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .serve-list { grid-template-columns: 1fr; }
  section { padding: 90px 22px; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .frame { padding: 26px 20px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 8px; letter-spacing: .3em; }
  .card { padding: 36px 26px; }
  .hero-sub { letter-spacing: .35em; }
  .tagline { letter-spacing: .2em; }
  .map-wrap iframe { height: 340px; }
  .photo-frame::before { inset: -10px 10px 10px -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   LUXURY MOTION: page curtain, intro, slideshow, slides
   ========================================================= */

/* Page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  display: grid; place-items: center;
  background: var(--green-900);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.77,0,.18,1), opacity .6s ease;
}
.curtain::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.curtain-mark { text-align: center; color: var(--white); transition: opacity .5s ease, transform .8s ease; }
.curtain-mark svg { width: 70px; height: 70px; margin: 0 auto 16px; }
.curtain-mark .brand-name { font-size: 20px; }
.curtain-line { width: 0; height: 1px; background: var(--gold-light); margin: 18px auto 0; animation: drawline 1.1s .15s ease forwards; }
@keyframes drawline { to { width: 180px; } }
body.loaded .curtain { transform: translateY(-100%); }
body.loaded .curtain-mark { opacity: 0; transform: translateY(-30px); }
body.leaving .curtain { transform: translateY(0); transition-duration: .8s; }
body.leaving .curtain-mark { opacity: 1; transform: none; }
body.leaving main, body.leaving .site-footer { opacity: 0; transition: opacity .5s ease; }

/* Hero slideshow (crossfade + slow zoom) */
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12);
  transition: opacity 2s ease, transform 9s ease-out;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide-dots {
  position: absolute; z-index: 3; bottom: 34px; right: 48px; display: flex; gap: 14px; align-items: center;
}
.slide-dots button {
  background: none; border: 0; cursor: pointer; padding: 8px 0;
  width: 36px; position: relative;
}
.slide-dots button::before {
  content: ""; display: block; height: 1px; background: rgba(255,255,255,.4);
}
.slide-dots button::after {
  content: ""; position: absolute; left: 0; top: 8px; height: 1px; width: 0; background: var(--gold-light);
}
.slide-dots button.active::after { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }
.slide-count {
  position: absolute; z-index: 3; bottom: 30px; left: 48px; color: rgba(255,255,255,.8);
  font-family: var(--display); font-size: 18px; letter-spacing: .15em;
}
.slide-count b { color: var(--gold-light); font-weight: 400; font-size: 26px; }

/* Hero text entrance (staggered fade-up) */
.hero .rise { opacity: 0; transform: translateY(26px); }
body.loaded .hero .rise { animation: rise 1.3s cubic-bezier(.2,.7,.2,1) forwards; }
body.loaded .hero .rise:nth-child(2) { animation-delay: .25s; }
body.loaded .hero .rise:nth-child(3) { animation-delay: .45s; }
body.loaded .hero .rise:nth-child(4) { animation-delay: .65s; }
body.loaded .hero .rise:nth-child(5) { animation-delay: .85s; }
body.loaded .hero .rise:nth-child(6) { animation-delay: 1.05s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero .frame { position: relative; border-color: transparent; }
.hero .frame::before, .hero .frame::after {
  content: ""; position: absolute; border: 1px solid rgba(230,201,122,.65);
  transition: width 1.4s ease .6s, height 1.4s ease .6s; width: 0; height: 0;
}
.hero .frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero .frame::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
body.loaded .hero .frame::before, body.loaded .hero .frame::after { width: 100%; height: 100%; }

/* Scroll cue line */
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 46px; margin: 12px auto 0;
  background: linear-gradient(var(--gold-light), transparent);
  animation: cue 2.2s ease-in-out infinite; transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Reveal variants */
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in { transform: none; }
.reveal[data-delay="1"] { transition-delay: .15s; }
.reveal[data-delay="2"] { transition-delay: .3s; }
.reveal[data-delay="3"] { transition-delay: .45s; }
.reveal[data-delay="4"] { transition-delay: .6s; }
.reveal[data-delay="5"] { transition-delay: .75s; }

/* Image wipe reveal (green panel slides away) */
.wipe { position: relative; overflow: hidden; }
.wipe::after {
  content: ""; position: absolute; inset: 0; background: var(--green-800);
  transform-origin: right; transition: transform 1.3s cubic-bezier(.77,0,.18,1);
}
.wipe.in::after { transform: scaleX(0); }
.wipe img { transform: scale(1.18); transition: transform 2.2s cubic-bezier(.2,.7,.2,1); }
.wipe.in img { transform: scale(1); }

/* Gold rule draws across */
.draw-rule { height: 1px; background: var(--gold); width: 0; transition: width 1.6s ease; margin: 0 auto; }
.draw-rule.in { width: 120px; }

/* Parallax band */
.parallax {
  position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden; padding: 120px 24px;
}
.parallax-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; will-change: transform; }
.parallax::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,30,20,.72); }
.parallax > .container { position: relative; z-index: 2; }

/* Values slider */
.slider { position: relative; }
.slider-track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 2px 30px; scrollbar-width: none; cursor: grab;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slide-card {
  flex: 0 0 calc((100% - 56px) / 3); scroll-snap-align: start;
  background: var(--green-800); border: 1px solid rgba(201,162,74,.35);
  padding: 48px 38px; position: relative; overflow: hidden;
  transition: transform .5s ease, border-color .5s ease;
  user-select: none;
}
.slide-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold-light);
  transition: width .6s ease;
}
.slide-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.slide-card:hover::before { width: 100%; }
.slide-card .big-num { font-family: var(--display); font-size: 64px; line-height: 1; color: rgba(230,201,122,.25); position: absolute; right: 26px; top: 20px; }
.slide-card h3 { font-family: var(--serif); font-weight: 500; color: var(--white); font-size: 20px; letter-spacing: .06em; margin-bottom: 14px; }
.slide-card p { color: rgba(255,255,255,.78); font-size: 15px; }
.slider-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.slider-progress { flex: 1; height: 1px; background: rgba(255,255,255,.2); margin-right: 30px; position: relative; }
.slider-progress span { position: absolute; left: 0; top: 0; height: 1px; background: var(--gold-light); width: 33%; transition: width .3s ease, left .3s ease; }
.arrows { display: flex; gap: 12px; }
.arrows button {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); background: none;
  color: var(--gold-light); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s;
}
.arrows button:hover { background: var(--gold); color: var(--green-900); }
.arrows svg { width: 18px; height: 18px; }

/* Card hover lift with gold underline */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; left: 38px; right: 38px; bottom: 26px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s ease;
}
.card:hover::after { transform: scaleX(1); }
.card .icon-ring { transition: background .4s, color .4s, transform .6s; }
.card:hover .icon-ring { background: var(--gold); color: var(--white); transform: rotateY(360deg); }

/* Button shimmer */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .9s ease;
}
.btn:hover::before { left: 140%; }

/* Back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 50px; height: 50px; border-radius: 50%;
  background: var(--green-900); border: 1px solid var(--gold); color: var(--gold-light);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s;
}
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* Scroll progress bar */
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

@media (max-width: 960px) {
  .slide-card { flex-basis: calc((100% - 28px) / 2); }
  .slide-dots { right: 22px; } .slide-count { left: 22px; }
}
@media (max-width: 620px) {
  .slide-card { flex-basis: 86%; }
  .slide-count { display: none; } .slide-dots { right: 50%; transform: translateX(50%); bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .wipe::after, .wipe img, .curtain { transition: none !important; }
  .hero .rise { opacity: 1 !important; transform: none !important; animation: none !important; }
  .wipe::after { display: none; }
}

/* fixes */
.photo-frame img { height: auto; }
.cta-band .lead { color: rgba(255,255,255,.88); }
.parallax::before { background: linear-gradient(180deg, rgba(8,30,20,.86), rgba(11,42,29,.78)); }

/* Drifting gold glow (slow, soft movement) */
.glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.glow span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,74,.55) 0%, rgba(201,162,74,.22) 38%, rgba(201,162,74,0) 70%);
  filter: blur(40px); will-change: transform;
}
.glow span:nth-child(1) { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; top: -18%; right: -10%; animation: drift1 38s ease-in-out infinite alternate; }
.glow span:nth-child(2) { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; bottom: -22%; left: -8%; opacity: .7; animation: drift2 46s ease-in-out infinite alternate; }
.glow span:nth-child(3) { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; top: 30%; left: 38%; opacity: .45; animation: drift3 54s ease-in-out infinite alternate; }
@keyframes drift1 {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-12vw, 10vh) scale(1.12); }
  66% { transform: translate(-4vw, 22vh) scale(.94); }
  100% { transform: translate(-18vw, 4vh) scale(1.06); }
}
@keyframes drift2 {
  0% { transform: translate(0,0) scale(1); }
  40% { transform: translate(14vw, -14vh) scale(1.15); }
  100% { transform: translate(28vw, -4vh) scale(.92); }
}
@keyframes drift3 {
  0% { transform: translate(0,0) scale(.9); }
  50% { transform: translate(-16vw, -12vh) scale(1.18); }
  100% { transform: translate(10vw, 8vh) scale(1); }
}
.hero-inner, .slide-dots, .slide-count, .scroll-cue { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .glow span { animation: none; } }

/* Faster page curtain (2x) */
.curtain { transition: transform .5s cubic-bezier(.77,0,.18,1), opacity .3s ease; }
.curtain-mark { transition: opacity .25s ease, transform .4s ease; }
.curtain-line { animation-duration: .55s; animation-delay: .08s; }
body.leaving .curtain { transition-duration: .4s; }
body.leaving main, body.leaving .site-footer { transition-duration: .25s; }

/* Real photos: a little lighter overlay so faces show */
.hero::before { background: linear-gradient(180deg, rgba(8,30,20,.7) 0%, rgba(11,42,29,.48) 45%, rgba(8,30,20,.86) 100%); }
.slide { background-position: center 30%; }
.parallax::before { background: linear-gradient(180deg, rgba(8,30,20,.74), rgba(11,42,29,.62)); }
.parallax-bg { inset: -30% 0; }
.parallax .glow { opacity: .55; }

/* ---------- Logo ---------- */
.brand-mark { height: 46px; width: auto; flex: none; }
.site-header.scrolled .brand-mark { height: 40px; }
.logo-frame { padding: 30px 44px 26px; background: rgba(5, 34, 20, .35); backdrop-filter: blur(2px); }
.logo-frame h1 { margin: 0; line-height: 0; }
.hero-logo { width: min(560px, 74vw); height: auto; margin: 0 auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.45)); }
.curtain-logo { width: min(340px, 68vw); height: auto; margin: 0 auto; }
.footer-logo { width: min(300px, 70vw); height: auto; margin: 0 auto; }

/* ---------- Photos ---------- */
.photo-frame img { aspect-ratio: 4/3; object-fit: cover; }
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.life-item { margin: 0; }
.life-item img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.life-item figcaption {
  margin-top: 18px; text-align: center; font-family: var(--serif); color: var(--green-900);
  letter-spacing: .3em; text-transform: uppercase; font-size: 13px;
}
.life-item:nth-child(2) { margin-top: 48px; }
@media (max-width: 960px) { .brand-mark { height: 38px; } }
@media (max-width: 760px) {
  .life-grid { grid-template-columns: 1fr; gap: 40px; }
  .life-item:nth-child(2) { margin-top: 0; }
  .life-item img { aspect-ratio: 4/3; }
  .logo-frame { padding: 22px 16px 18px; }
}

/* ---------- Director ---------- */
.director { background: var(--cream); }
.director .split { grid-template-columns: .8fr 1.2fr; align-items: start; }
.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); z-index: 0; }
.portrait-inner {
  position: relative; z-index: 1; aspect-ratio: 4/5; max-width: 100%;
  background: radial-gradient(circle at 70% 20%, rgba(201,162,74,.28), transparent 55%), var(--green-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.mono { font-family: var(--serif); font-size: clamp(64px, 9vw, 110px); color: var(--gold-light); letter-spacing: .08em; line-height: 1; }
.mono-sub { font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.director-role { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
.director-bio p { color: var(--ink); font-size: 16.5px; line-height: 1.85; max-width: 62ch; }
.director-bio p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 64px; line-height: .9; padding: 6px 12px 0 0; color: var(--gold);
}
.bio-quote { font-family: var(--display); font-style: italic; font-size: 1.2em; color: var(--green-800); }
@media (max-width: 960px) { .director .split { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }
.hero .hero-title { font-size: clamp(38px, 6.4vw, 84px); text-shadow: 0 4px 30px rgba(0,0,0,.4); }
body.loaded .hero .rise:nth-child(7) { animation-delay: 1.25s; }
.portrait-inner.photo { background: var(--green-900); overflow: hidden; }
.portrait-inner.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* ---------- Sharper photos: gentler zoom, smaller crops ---------- */
.slide { transform: scale(1.03); transition: opacity 2s ease, transform 8s ease-out; }
.slide.active { transform: scale(1); }
.hero-bg { transform: scale(1.02); animation-duration: 10s; }
.wipe img { transform: scale(1.04); }
.wipe.in img { transform: scale(1); }
.life-item img { aspect-ratio: 4/3; }
.life-item:nth-child(2) { margin-top: 0; }
.life-grid.four { grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.parallax.plain { background: radial-gradient(ellipse at 70% 20%, #154a32 0%, var(--green-900) 60%); }
.parallax.plain .glow { opacity: 1; }
@media (max-width: 960px) { .life-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .life-grid.four { grid-template-columns: 1fr; } }

/* ---------- Services dropdowns ---------- */
.narrow-wide { max-width: 940px; margin: 0 auto; }
.acc-hint { color: var(--muted); font-size: 14px; letter-spacing: .08em; margin: -8px 0 22px; }
.accordion { margin-top: 56px; border-top: 1px solid rgba(201,162,74,.45); }
.acc-item { border-bottom: 1px solid rgba(201,162,74,.45); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 24px; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 28px 8px; font: inherit; color: inherit;
  transition: background .4s ease;
}
.acc-head:hover { background: rgba(201,162,74,.06); }
.acc-head:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.acc-head .icon-ring { margin: 0; flex: none; width: 58px; height: 58px; transition: background .4s, color .4s; }
.acc-item.open .acc-head .icon-ring { background: var(--gold); color: var(--white); }
.acc-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.acc-title { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); color: var(--green-900); letter-spacing: .05em; }
.acc-short { font-size: 14.5px; color: var(--muted); }
.acc-toggle { position: relative; width: 22px; height: 22px; flex: none; }
.acc-toggle::before, .acc-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.acc-toggle::after { transform: rotate(90deg); }
.acc-item.open .acc-toggle::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2,.7,.2,1); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-body { overflow: hidden; }
.acc-body p {
  padding: 0 8px 34px 90px; font-family: var(--display); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.7; color: var(--ink);
  opacity: 0; transform: translateY(-8px); transition: opacity .45s ease .1s, transform .45s ease .1s;
}
.acc-item.open .acc-body p { opacity: 1; transform: none; }
@media (max-width: 620px) {
  .acc-head { gap: 16px; padding: 22px 4px; }
  .acc-head .icon-ring { width: 46px; height: 46px; }
  .acc-head .icon-ring svg { width: 22px; height: 22px; }
  .acc-body p { padding: 0 4px 28px 4px; }
}
@media (prefers-reduced-motion: reduce) { .acc-panel, .acc-body p { transition: none; } }

/* "A Place to Belong": tall photos, middle one stepped down */
.life-grid:not(.four) .life-item img { aspect-ratio: 4/5; }
.life-grid:not(.four) .life-item:nth-child(2) { margin-top: 48px; }
@media (max-width: 760px) {
  .life-grid:not(.four) .life-item img { aspect-ratio: 4/3; }
  .life-grid:not(.four) .life-item:nth-child(2) { margin-top: 0; }
}

/* Plain green page banner (no stretched photo) */
.hero.plain-hero { background: radial-gradient(ellipse at 70% 15%, #1b5a3c 0%, var(--green-800) 40%, var(--green-900) 80%); }
.hero.plain-hero::before { background: linear-gradient(180deg, rgba(8,30,20,.15), rgba(8,30,20,.45)); }
/* Contact photo above map */
.contact-media { display: flex; flex-direction: column; gap: 46px; min-width: 0; }
.contact-photo img { aspect-ratio: 16/9; }
.contact-media .map-wrap iframe { height: 380px; }

/* Photo inside each service dropdown */
.acc-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start;
  padding: 0 8px 36px 90px;
  opacity: 0; transform: translateY(-8px); transition: opacity .45s ease .12s, transform .45s ease .12s;
}
.acc-item.open .acc-grid { opacity: 1; transform: none; }
.acc-grid p { padding: 0; opacity: 1; transform: none; min-width: 0; }
.acc-photo { margin: 6px 0 0; position: relative; }
.acc-photo::before { content: ""; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid var(--gold); z-index: 0; }
.acc-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 760px) {
  .acc-grid { grid-template-columns: 1fr; padding: 0 4px 30px 4px; gap: 26px; }
  .acc-photo { max-width: 460px; margin-left: 10px; }
}
.acc-grid { grid-template-columns: 1fr; }

/* Split banner: title on green, photo at true size */
.hero.split-hero {
  min-height: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
  padding: 110px 0 0; text-align: center;
  background: radial-gradient(ellipse at 20% 30%, #1b5a3c 0%, var(--green-800) 45%, var(--green-900) 85%);
}
.hero.split-hero::before { display: none; }
.split-text { padding: 40px 32px 60px; }
.split-photo { position: relative; z-index: 2; align-self: stretch; display: flex; align-items: flex-end; }
.split-photo .wipe { width: 100%; max-width: 700px; }
.split-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.split-photo .wipe::after { transform: scaleX(1); }
body.loaded .split-photo .wipe::after { transform: scaleX(0); transition-delay: .3s; }
body.loaded .split-photo .wipe img { transform: scale(1); }
@media (max-width: 860px) {
  .hero.split-hero { grid-template-columns: 1fr; padding-top: 100px; }
  .split-text { padding: 20px 22px 36px; }
  .split-photo .wipe { max-width: none; }
}

/* Mission & Vision: single column, centered */
.mv-single { max-width: 820px; margin: 0 auto; }
.mv-single .statement { border-left: 0; }
.mv-single .lead { font-size: clamp(21px, 2.2vw, 26px); }
/* Small-source photos in banners: keep them as crisp as possible */
.hero-bg, .slide { image-rendering: auto; }
.contact-media .map-wrap iframe { height: 460px; }

/* Who We Serve band: full photo, no zoom */
.serve-band .parallax-bg { inset: 0; transform: none !important; background-size: cover; background-position: center 35%; }
.serve-band::before { background: linear-gradient(180deg, rgba(8,30,20,.62), rgba(11,42,29,.72)); }
.serve-band .glow { opacity: .5; }
@media (max-width: 760px) {
  .serve-band { background: var(--green-900); padding-top: 0; flex-direction: column; }
  .serve-band .parallax-bg { position: relative; inset: auto; width: 100%; aspect-ratio: 3/2; background-size: 100% auto; background-position: top center; }
  .serve-band::before { background: linear-gradient(180deg, rgba(8,30,20,.25) 0, rgba(8,30,20,.25) calc(100vw * .55), var(--green-900) calc(100vw * .667)); }
  .serve-band > .container { margin-top: calc(-100vw * .667 + 40px); padding-top: 0; }
}
@media (max-width: 760px) {
  .serve-band { padding: 0 0 80px; display: block; }
  .serve-band::before { display: none; }
  .serve-band .parallax-bg { position: relative; z-index: 1; width: 100%; aspect-ratio: 3/2; background-size: cover; background-position: center; }
  .serve-band .parallax-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,30,20,.1) 55%, var(--green-900) 100%); }
  .serve-band > .container { margin-top: 0; padding: 30px 22px 0; }
}

/* Who We Serve (stacked layout): text over the photo, whole photo at full width */
@media (max-width: 960px) {
  .serve-band { display: flex; padding: 110px 22px 90px; background: var(--green-900); }
  .serve-band::before { display: block; background:
      linear-gradient(180deg, rgba(8,30,20,.55) 0, rgba(8,30,20,.62) calc(100vw * .5), var(--green-900) calc(100vw * .667), var(--green-900) 100%); }
  .serve-band .parallax-bg {
    position: absolute; inset: 0 0 auto 0; width: 100%; height: calc(100vw * .667); aspect-ratio: auto;
    background-size: 100% auto; background-position: top center; background-repeat: no-repeat; z-index: 0;
  }
  .serve-band .parallax-bg::after { display: none; }
  .serve-band > .container { margin-top: 0; padding: 0; }
}

/* Who We Serve: same clean row layout on every screen */
@media (max-width: 960px) {
  .serve-band { display: flex; padding: 90px 16px; background: none; min-height: 0; }
  .serve-band::before { display: block; background: linear-gradient(180deg, rgba(8,30,20,.62), rgba(11,42,29,.72)); }
  .serve-band .parallax-bg { position: absolute; inset: 0; width: auto; height: auto; aspect-ratio: auto;
    background-size: cover; background-position: center 35%; }
  .serve-band .serve-list { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
}
@media (max-width: 620px) {
  .serve-band { padding: 70px 12px; }
  .serve-band h2 { font-size: 24px; }
  .serve-band .serve-item { padding: 0 2px; }
  .serve-band .serve-item .icon-ring { width: 50px; height: 50px; margin-bottom: 12px; }
  .serve-band .serve-item .icon-ring svg { width: 22px; height: 22px; }
  .serve-band .serve-item h3 { font-size: 13px; letter-spacing: .03em; line-height: 1.45; }
}
/* Contact banner: keep both faces in view */
.contact-hero-fix {}
.hero-bg[style*="embrace.jpg"] { background-position: center 18%; }

/* ---------- Slideshow controls: clickable lines + arrows ---------- */
.to-top { pointer-events: none; }
.to-top.show { pointer-events: auto; }
.slide-controls {
  position: absolute; z-index: 4; right: 48px; bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.slide-controls .slide-dots { position: static; transform: none; display: flex; gap: 6px; }
.slide-controls .slide-dots button { width: 46px; padding: 16px 0; position: relative; }
.slide-controls .slide-dots button::after { top: 16px; }
.slide-controls .slide-dots button:hover::before { background: rgba(255,255,255,.8); }
.slide-controls .slide-dots button:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 2px; }
.slide-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(230,201,122,.7);
  background: rgba(8,30,20,.35); color: var(--gold-light); cursor: pointer;
  display: grid; place-items: center; transition: background .3s, color .3s, transform .3s;
}
.slide-arrow svg { width: 17px; height: 17px; }
.slide-arrow:hover { background: var(--gold); color: var(--green-900); }
.slide-prev:hover { transform: translateX(-2px); }
.slide-next:hover { transform: translateX(2px); }
.slide-arrow:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
@media (max-width: 960px) { .slide-controls { right: 22px; } }
@media (max-width: 620px) {
  .slide-controls { right: 50%; transform: translateX(50%); bottom: 18px; gap: 10px; }
  .slide-controls .slide-dots button { width: 34px; }
  .slide-arrow { width: 40px; height: 40px; }
  .hero .scroll-cue { display: none; }
}
.slide[style*="embrace.jpg"] { background-position: center 22%; }
.hero-bg[style*="friends-park.jpg"] { background-position: center 40%; }
.slide[style*="friends-park.jpg"] { background-position: center 40%; }
.slide[style*="kitchen-meeting.jpg"] { background-position: center 40%; }

/* Contact banner with the tall "HOME" photo */
.hero-bg[style*="home-sign.jpg"] { background-position: center 30%; }
@media (min-width: 861px) {
  .hero:has(.hero-bg[style*="home-sign.jpg"]) {
    background: radial-gradient(ellipse at 20% 30%, #1b5a3c 0%, var(--green-800) 45%, var(--green-900) 85%);
  }
  .hero:has(.hero-bg[style*="home-sign.jpg"])::before { background: none; }
  .hero-bg[style*="home-sign.jpg"] {
    left: auto; right: 0; width: 50%; background-position: center 11%;
    animation: none; transform: none;
  }
  .hero-bg[style*="home-sign.jpg"]::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--green-900) 0%, rgba(11,42,29,.35) 22%, rgba(11,42,29,0) 45%),
                linear-gradient(180deg, rgba(8,30,20,.35) 0%, rgba(8,30,20,0) 30%);
  }
  .hero:has(.hero-bg[style*="home-sign.jpg"]) .hero-inner { margin-right: 50%; }
}
.slide[style*="home-sign.jpg"] { background-position: center 30%; }
.slide[style*="hands-circle.jpg"] { background-position: center 45%; }
.hero-bg[style*="home-sign.jpg"] { background-position: center 24% !important; }

/* Friendship photo: show the whole photo so both people are in view */
.life-grid:not(.four) .life-item img[src*="veteran-home.jpg"] { aspect-ratio: 3/2; object-position: center; }
@media (min-width: 761px) { .life-grid:not(.four) { align-items: start; } }
@media (min-width: 761px) { .life-grid:not(.four) .life-item:first-child { align-self: center; } }
/* Friendship photo: same tall size as the others, framed to show both people */
.life-grid:not(.four) .life-item img[src*="veteran-home.jpg"] { aspect-ratio: 4/5; object-position: 6% center; }
@media (min-width: 761px) { .life-grid:not(.four) .life-item:first-child { align-self: start; } }
@media (max-width: 760px) { .life-grid:not(.four) .life-item img[src*="veteran-home.jpg"] { aspect-ratio: 4/3; object-position: center; } }
.life-grid:not(.four) .life-item img[src*="veteran-home.jpg"] { object-position: 24% center; } @media (max-width: 760px) { .life-grid:not(.four) .life-item img[src*="veteran-home.jpg"] { object-position: center; } }
.hero-bg[style*="counseling.jpg"] { background-position: center 25%; }
.hero-bg[style*="counseling.jpg"] { background-position: center 8%; } @media (max-width: 760px) { .hero-bg[style*="counseling.jpg"] { background-position: 30% 8%; } }
.hero-bg[style*="phone-call.jpg"] { background-position: 60% 15%; }
.map-btn { margin-top: 26px; align-self: flex-start; }
/* Map card used only where embedded maps are blocked (preview) */
.map-card { height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(201,162,74,.18), transparent 60%), var(--green-900); color: #fff; padding: 24px; }
.map-card .icon-ring { color: var(--gold-light); margin: 0; }
.map-card .mc-addr { font-family: var(--serif); font-size: 22px; letter-spacing: .04em; }
.map-card .mc-note { font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .05em; }
@media (max-width: 620px) { .map-card { height: 340px; } }
.hero-bg[style*="office-call.jpg"] { background-position: center 48%; } @media (max-width: 760px) { .hero-bg[style*="office-call.jpg"] { background-position: 64% 48%; } }

/* Bigger "Reentry Homes" under the logo name */
.brand-sub { font-size: 12.5px; letter-spacing: .32em; font-weight: 500; margin-top: 3px; display: inline-block; }
@media (max-width: 620px) { .brand-sub { font-size: 10.5px; letter-spacing: .26em; } }

/* About & Services banners: show the whole photo (no crop, no zoom) */
@media (min-width: 761px) {
  .hero.short:has(.hero-bg[style*="reading-mentor.jpg"]) { min-height: 0; aspect-ratio: 1078 / 718; max-height: none; }
  .hero.short:has(.hero-bg[style*="steps-up.jpg"]) { min-height: 0; aspect-ratio: 1800 / 1009; max-height: none; }
}
.hero-bg[style*="reading-mentor.jpg"], .hero-bg[style*="steps-up.jpg"] { background-position: center; animation: none; transform: none; }

/* Who We Serve: vet with his children */
.serve-band .parallax-bg { background-position: center 30%; }
.serve-band .parallax-bg { background-position: center 12%; }

/* About, Services, Contact banners: all the same size, full photo shown */
@media (min-width: 761px) {
  .hero.short,
  .hero.short:has(.hero-bg[style*="reading-mentor.jpg"]),
  .hero.short:has(.hero-bg[style*="steps-up.jpg"]) { min-height: 0; height: auto; aspect-ratio: 16 / 9; max-height: none; }
}
.hero.short .hero-bg { background-size: cover; background-position: center; animation: none; transform: none; }
.hero-bg[style*="office-call.jpg"] { background-position: center 55%; }

/* "Reentry Homes" under the name: much larger */
.brand-name { font-size: 20px; }
.brand-sub { font-size: 15.5px; letter-spacing: .2em; font-weight: 600; margin-top: 4px; }
.brand-mark { height: 54px; }
.site-header.scrolled .brand-mark { height: 46px; }
@media (max-width: 960px) { .brand-mark { height: 46px; } }
@media (max-width: 620px) { .brand-name { font-size: 16px; } .brand-sub { font-size: 12.5px; letter-spacing: .16em; } .brand-mark { height: 42px; } }

/* Logo lockup (curtain + footer): emblem + real text so "Reentry Homes" can be large */
.lockup { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.lockup-mark { width: 150px; height: auto; margin-bottom: 14px; }
.lockup-name { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .04em; line-height: 1.1; color: #fff; }
.lockup-name .amp { color: var(--gold-light); }
.lockup-sub { display: flex; align-items: center; gap: 14px; margin-top: 10px;
  font-family: var(--sans); font-weight: 600; font-size: clamp(17px, 2vw, 23px); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }
.lockup-sub::before, .lockup-sub::after { content: ""; width: 44px; height: 1.5px; background: var(--gold); }
.lockup-tag { margin-top: 10px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.curtain-mark .lockup-mark { width: 170px; }
.footer-brand .lockup-mark { width: 130px; }
@media (max-width: 620px) {
  .lockup-mark { width: 120px; } .curtain-mark .lockup-mark { width: 130px; }
  .lockup-sub::before, .lockup-sub::after { width: 22px; }
  .lockup-tag { font-size: 10px; letter-spacing: .08em; }
}

/* Home hero: much bigger "Reentry Homes" */
.hero .hero-sub { font-size: clamp(17px, 2.3vw, 28px); letter-spacing: .3em; font-weight: 600; margin-top: 14px; }
@media (max-width: 620px) { .hero .hero-sub { letter-spacing: .2em; } }

/* ===== Phones: show banner photos in full, text on green below ===== */
@media (max-width: 760px) {
  .hero, .hero.short {
    display: block; min-height: 0 !important; height: auto; aspect-ratio: auto !important;
    padding: 72px 0 0; text-align: center;
    background: radial-gradient(ellipse at 50% 70%, #1b5a3c 0%, var(--green-800) 45%, var(--green-900) 90%);
  }
  .hero::before { display: none; }
  /* photo block */
  .hero.short .hero-bg, .hero .slides {
    position: relative; inset: auto; width: 100%; aspect-ratio: 3 / 2; height: auto;
    transform: none !important; animation: none !important; background-size: cover; background-position: center;
  }
  .hero .slides .slide { background-size: cover; background-position: center; }
  .hero.short .hero-bg::after, .hero .slides::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(8,30,20,0) 60%, var(--green-900) 100%);
  }
  .hero .glow { z-index: 0; }
  .hero .hero-inner { position: relative; z-index: 3; padding: 26px 20px 46px; margin: 0; }
  .hero.short .hero-inner { padding: 22px 20px 40px; }
  .hero .vline { height: 40px; margin-top: 20px; }
  /* slideshow lines sit at the bottom of the photo */
  .slide-controls { position: absolute; top: calc(72px + (100vw * 2 / 3) - 34px); bottom: auto; right: 50%; transform: translateX(50%); z-index: 4; }
  .slide-count { display: none; }
  /* per-photo framing on phones */
  .slide[style*="kitchen-table.jpg"] { background-position: center; }
  .slide[style*="chess-game.jpg"] { background-position: center 40%; }
}

/* ===== Phones: every other photo shown in full ===== */
@media (max-width: 760px) {
  /* Who We Serve: full photo on top, text on green below */
  .serve-band { display: block; padding: 0 0 60px; background: var(--green-900); min-height: 0; }
  .serve-band::before { display: none; }
  .serve-band .parallax-bg { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1184 / 740;
    background-size: cover; background-position: center; transform: none !important; }
  .serve-band .parallax-bg::after { content: ""; position: absolute; inset: 0; display: block;
    background: linear-gradient(180deg, rgba(8,30,20,0) 60%, var(--green-900) 100%); }
  .serve-band > .container { position: relative; z-index: 2; padding: 26px 16px 0; margin: 0; }
  .serve-band .glow { display: none; }
  /* A Place to Belong: whole photos, no cropping */
  .life-grid:not(.four) .life-item img,
  .life-grid:not(.four) .life-item img[src*="veteran-home.jpg"] { aspect-ratio: auto; height: auto; object-fit: contain; }
  /* Victor: whole photo */
  .portrait-inner.photo { aspect-ratio: 1202 / 1308; }
  .portrait-inner.photo img { object-fit: contain; }
}

/* ===== Phones (v2): photo stays in the background under the green overlay,
   sized to its full width so it isn't cropped; text sits on top ===== */
@media (max-width: 760px) {
  .hero, .hero.short { position: relative; background: var(--green-900); overflow: hidden; }
  .hero.short .hero-bg, .hero .slides {
    position: absolute; top: 0; left: 0; right: 0; width: 100%; aspect-ratio: 3 / 2; height: auto; z-index: 0;
  }
  .hero.short .hero-bg::after, .hero .slides::after { display: none; }
  .hero::before {
    display: block; z-index: 1;
    background: linear-gradient(180deg,
      rgba(8,30,20,.55) 0,
      rgba(8,30,20,.62) calc(100vw * .45),
      var(--green-900) calc(100vw * .667),
      var(--green-900) 100%);
  }
  .hero .glow { z-index: 1; display: block; opacity: .6; }
  /* page banners: same height as the photo, title centered on it */
  .hero.short {
    display: flex; align-items: center; justify-content: center;
    min-height: calc(100vw * .667 + 40px) !important; padding: 64px 16px 10px;
  }
  .hero.short .hero-inner { padding: 0; }
  .hero.short .vline { height: 30px; margin-top: 14px; }
  /* home: text starts over the photo and flows onto the green */
  .hero:not(.short) { display: block; padding: calc(100vw * .32) 0 70px; }
  .hero:not(.short) .hero-inner { padding: 0 20px; }
  .slide-controls { top: auto; bottom: 22px; }

  /* Who We Serve: same idea */
  .serve-band { position: relative; display: block; padding: calc(100vw * .3) 16px 60px; background: var(--green-900); }
  .serve-band::before {
    display: block; z-index: 1;
    background: linear-gradient(180deg,
      rgba(8,30,20,.5) 0,
      rgba(8,30,20,.62) calc(100vw * .42),
      var(--green-900) calc(100vw * .625),
      var(--green-900) 100%);
  }
  .serve-band .parallax-bg { position: absolute; top: 0; left: 0; right: 0; width: 100%; aspect-ratio: 1184 / 740; height: auto; z-index: 0; }
  .serve-band .parallax-bg::after { display: none; }
  .serve-band > .container { padding: 0; }
}
