/* ===========================================================
   Bubish Artificer — v3
   Concept: "Breaking Ground" — a fixed hero slider stays pinned
   behind the page; content rises over it like new ground covering
   the site. Editorial serif + clean grotesk, moss/gold/mint palette.
   =========================================================== */

html { scroll-behavior: smooth; font-size: 126.25%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

::selection { background: #C99A44; color: #14170F; }
:focus-visible { outline: 2px solid #C99A44; outline-offset: 3px; }

/* Deter casual image saving — see main.js for the matching contextmenu/drag guards.
   Not a real security measure: screenshots, dev tools, and view-source still work. */
img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; user-drag: none; -webkit-touch-callout: none; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }

/* ---------- Fixed nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 84px; display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-nav.is-solid { background: rgba(238,241,233,.95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(20,23,15,.08); height: 76px; }
.site-nav .nav-mark { color: #FAF9F4; transition: color .35s ease; }
.site-nav.is-solid .nav-mark { color: #14170F; }
.site-nav .nav-link { color: rgba(250,249,244,.85); font-weight: 500; font-size: 14.5px; transition: color .35s ease; position: relative; }
.site-nav.is-solid .nav-link { color: #14170F; }
.site-nav .nav-link::after { content:""; position:absolute; left:0; right:100%; bottom:-4px; height:1.5px; background:#C99A44; transition:right .25s ease; }
.site-nav .nav-link:hover::after { right: 0; }
.site-nav .nav-link.is-current { color: #C99A44; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 2px;
  background: #C99A44; color: #14170F; font-weight: 600; font-size: 13.5px; transition: background .2s ease;
}
.nav-cta:hover { background: #DDB165; }

.menu-btn { color: #FAF9F4; transition: color .35s ease; }
.site-nav.is-solid .menu-btn { color: #14170F; }

/* Logo backdrop chip — keeps a dark-colored logo visible over dark backgrounds.
   Remove/adjust once a light (white/gold) logo variant is available. */
.logo-chip { display: inline-flex; align-items: center; transition: background .35s ease, padding .35s ease, box-shadow .35s ease; border-radius: 999px; }
.site-nav:not(.is-solid) .logo-chip { background: rgba(250,249,244,.95); padding: 6px 14px; box-shadow: 0 4px 14px rgba(20,23,15,.18); }
.logo-chip-static { display: inline-flex; align-items: center; background: rgba(250,249,244,.95); padding: 6px 14px; border-radius: 999px; }
.logo-img-h { height: 74px; width: auto; display: block; }
.logo-img-f { height: 34px; width: auto; display: block; }
.logo-img-l { height: 46px; width: auto; display: block; }
.logo-img { height: 54px; width: auto; display: block; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-fab {
  position: fixed; z-index: 90; right: 22px; bottom: 22px;
  width: 58px; height: 58px; border-radius: 50%; background: #FAF9F4;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(20,23,15,.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(20,23,15,.38); }
.whatsapp-fab-ping {
  position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  opacity: .55; animation: whatsappPing 2.2s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes whatsappPing {
  0% { transform: scale(1); opacity: .55; }
  75%, 100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-fab-ping { animation: none; display: none; } }
@media (max-width: 640px) { .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

.mobile-menu-panel { position: fixed; inset: 0; z-index: 70; background: #14170F; display: none; flex-direction: column; }
.mobile-menu-panel.is-open { display: flex; }
.mobile-menu-panel a { color: #FAF9F4; font-family: 'Instrument Serif', serif; font-size: 2.1rem; }

/* ---------- Hero slider (standard in-flow, full height) ---------- */
.hero-slider { position: relative; height: 92vh; min-height: 600px; overflow: hidden; background: #14170F; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,15,.45) 0%, rgba(20,23,15,.25) 40%, rgba(20,23,15,.75) 100%); }

.hero-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 5rem; padding: 0 1.5rem; }
@media (min-width: 768px) { .hero-text { padding: 0 2.5rem; bottom: 6rem; } }
.hero-text-inner { max-width: 1200px; margin: 0 auto; }

.hero-slide .kicker { color: #DDB165; font-weight: 600; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; opacity:0; transform: translateY(10px); transition: opacity .7s ease .3s, transform .7s ease .3s; }
.hero-slide .big-line {
  font-family: 'Instrument Serif', serif; font-weight: 400; color: #FAF9F4; line-height: .98;
  font-size: clamp(2.6rem, 6vw, 5rem); margin-top: .5rem; max-width: 20ch;
  opacity:0; transform: translateY(20px); transition: opacity .8s ease .42s, transform .8s ease .42s;
}
.hero-slide .big-line em { font-style: italic; color: #C99A44; }
.hero-slide .hero-sub { color: rgba(250,249,244,.78); margin-top: 1rem; max-width: 40ch; font-size: 1.05rem; opacity:0; transform: translateY(16px); transition: opacity .8s ease .56s, transform .8s ease .56s; }
.hero-slide.is-active .kicker, .hero-slide.is-active .big-line, .hero-slide.is-active .hero-sub { opacity: 1; transform: translateY(0); }

.hero-index {
  position: absolute; z-index: 2; top: 2rem; right: 1.5rem;
  font-family: 'Instrument Serif', serif; font-style: italic; color: rgba(250,249,244,.7); font-size: 15px;
}
@media (min-width: 768px) { .hero-index { top: 2.5rem; right: 2.5rem; } }

.hero-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(250,249,244,.1); border: 1px solid rgba(250,249,244,.3); color: #FAF9F4; transition: background .2s ease; }
.hero-arrow:hover { background: rgba(250,249,244,.22); }
.hero-arrow.prev { left: 1.5rem; } .hero-arrow.next { right: 1.5rem; }
@media (min-width: 768px) { .hero-arrow.prev { left: 2.5rem; } .hero-arrow.next { right: 2.5rem; } }
@media (max-width: 768px) { .hero-arrow { display: none; } }

.hero-dots { position: absolute; z-index: 2; left: 1.5rem; bottom: 2rem; display: flex; gap: 8px; }
@media (min-width: 768px) { .hero-dots { left: 2.5rem; } }
.hero-dot { width: 34px; height: 2px; background: rgba(250,249,244,.35); border: none; padding: 0; cursor: pointer; transition: background .25s ease; }
.hero-dot.is-active { background: #C99A44; }

.scroll-cue {
  position: absolute; z-index: 2; right: 1.5rem; bottom: 2rem; display: flex; align-items: center; gap: 8px;
  color: rgba(250,249,244,.65); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
}
@media (min-width: 768px) { .scroll-cue { right: 2.5rem; } }
.scroll-cue .line { width: 1px; height: 26px; background: rgba(250,249,244,.4); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:""; position:absolute; top:-100%; left:0; right:0; height:100%; background:#C99A44; animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0%{top:-100%;} 60%{top:100%;} 100%{top:100%;} }
@media (prefers-reduced-motion: reduce) { .scroll-cue .line::after { animation: none; top: 40%; } }

/* ---------- Content wrapper (sits directly below the hero, normal flow) ---------- */
.content-sheet {
  position: relative; background: #EEF1E9;
  border-radius: 20px 20px 0 0; margin-top: -20px;
}

/* ---------- Section rhythm ---------- */
.section { padding-block: 6rem; }
@media (min-width: 768px) { .section { padding-block: 8rem; } }
.section-tight { padding-block: 4rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #7A8A6F; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: #C99A44; display: inline-block; }
.eyebrow.on-dark { color: #B9C4AC; }

.headline-serif { font-family: 'Instrument Serif', serif; font-weight: 400; color: #14170F; line-height: 1.05; }
.headline-serif em { font-style: italic; color: #4C6B47; }
.headline-serif.on-dark { color: #FAF9F4; }
.headline-serif.on-dark em { color: #DDB165; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px;
  padding: 13px 28px; border-radius: 2px; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-fill { background: #14170F; color: #FAF9F4; }
.btn-fill:hover { background: #3F6B4A; transform: translateY(-1px); }
.btn-gold { background: #C99A44; color: #14170F; }
.btn-gold:hover { background: #DDB165; }
.btn-ghost { border: 1.5px solid rgba(250,249,244,.5); color: #FAF9F4; }
.btn-ghost:hover { background: rgba(250,249,244,.1); border-color: #FAF9F4; }
.btn-ghost-dark { border: 1.5px solid rgba(20,23,15,.25); color: #14170F; }
.btn-ghost-dark:hover { background: rgba(20,23,15,.06); border-color: #14170F; }

/* ---------- Split row (alternating image/text) ---------- */
.split-row { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .split-row.is-reverse .split-media { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 4px; object-fit: cover; aspect-ratio: 4/3; }
.split-media .frame-tag {
  position: absolute; bottom: -18px; left: -18px; background: #FAF9F4; border: 1px solid rgba(20,23,15,.1);
  padding: 12px 18px; border-radius: 3px; box-shadow: 0 12px 30px rgba(20,23,15,.15);
}
@media (max-width: 640px) { .split-media .frame-tag { left: 12px; bottom: -14px; padding: 9px 14px; } }

/* ---------- Cards ---------- */
.card { background: #FAF9F4; border: 1px solid rgba(20,23,15,.08); border-radius: 4px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(20,23,15,.3); }
.card-dark { background: rgba(250,249,244,.05); border: 1px solid rgba(250,249,244,.12); border-radius: 4px; transition: background .25s ease, border-color .25s ease; }
.card-dark:hover { background: rgba(250,249,244,.08); border-color: rgba(201,154,68,.4); }

/* ---------- Photo service card (background image + hover zoom) ---------- */
.service-card {
  position: relative; overflow: hidden; border-radius: 4px; isolation: isolate;
  min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem; transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(20,23,15,.5); }
.service-card-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.02);
  transition: transform .7s cubic-bezier(.25,.8,.25,1), filter .5s ease;
  filter: saturate(.95);
}
.service-card:hover::before { transform: scale(1.14); filter: saturate(1.1); }
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,23,15,.25) 0%, rgba(20,23,15,.55) 55%, rgba(20,23,15,.92) 100%);
  transition: background .35s ease;
}
.service-card:hover::after { background: linear-gradient(180deg, rgba(20,23,15,.15) 0%, rgba(20,23,15,.45) 55%, rgba(20,23,15,.88) 100%); }
.service-card .service-icon {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(250,249,244,.12); border: 1px solid rgba(250,249,244,.3); margin-bottom: .9rem;
  transition: background .3s ease, transform .3s ease;
}
.service-card:hover .service-icon { background: #C99A44; transform: translateY(-2px); }
.service-card:hover .service-icon svg { stroke: #14170F; }
.service-card h3 { color: #FAF9F4; }
.service-card p { color: rgba(250,249,244,.75); }

/* Compact variant for the smaller feature-list cards */
.service-card.is-compact { min-height: 150px; padding: 1.35rem; }
.service-card.is-compact h3 { font-size: .95rem; }
.service-card.is-mini { min-height: 108px; padding: 1rem; }
.service-card.is-mini h3 { font-size: .85rem; line-height: 1.25; }

/* ---------- Reasons list (Why Choose Us) ---------- */
.reason-row { display: flex; gap: 1.25rem; padding-block: 1.5rem; border-top: 1px solid rgba(250,249,244,.12); }
.reason-row:last-child { border-bottom: 1px solid rgba(250,249,244,.12); }
.reason-mark { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201,154,68,.5); display: flex; align-items: center; justify-content: center; color: #C99A44; }

/* ---------- Stat block ---------- */
.stat-figure { font-family: 'Instrument Serif', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); color: #14170F; line-height: 1; }
.stat-caption { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #7A8A6F; margin-top: 6px; font-weight: 600; }
.stat-figure.on-dark, .stat-caption.on-dark { color: #FAF9F4; }
.stat-caption.on-dark { color: #B9C4AC; }

/* ---------- Gallery / lightbox ---------- */
.gallery-item { position: relative; overflow: hidden; border-radius: 3px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gcap { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(180deg, transparent, rgba(20,23,15,.85)); color: #FAF9F4; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.gallery-item:hover .gcap { opacity: 1; transform: translateY(0); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,23,15,.94); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 82vh; border-radius: 4px; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; color: #FAF9F4; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #FAF9F4; }

/* ---------- Tabs ---------- */
.tab-btn { padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1.5px solid rgba(20,23,15,.16); color: #14170F; transition: all .2s ease; }
.tab-btn.is-active, .tab-btn:hover { background: #14170F; color: #DDB165; border-color: #14170F; }

/* ---------- Before/After ---------- */
.ba-slider { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #C99A44; transform: translateX(-50%); cursor: ew-resize; }
.ba-handle-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #C99A44; color: #14170F; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ba-label { position: absolute; top: 12px; padding: 4px 10px; background: rgba(20,23,15,.8); color: #FAF9F4; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; z-index: 2; }
.ba-label.before { left: 12px; } .ba-label.after { right: 12px; }

/* ---------- Video ---------- */
.video-frame { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16/9; background: #14170F; }
.video-frame-full { width: 100%; border-radius: 0; max-height: 78vh; aspect-ratio: auto; height: 60vh; min-height: 340px; }

/* ---------- Scrolling client marquee (logo / name / both + center-focus zoom) ---------- */
.marquee-wrap {
  overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; align-items: center; animation: marquee 34s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.marquee-item {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-inline: 1.75rem;
  opacity: .55; transform: scale(.9);
  transition: transform .35s cubic-bezier(.25,.8,.25,1), opacity .35s ease;
}
.marquee-item.is-focused { opacity: 1; transform: scale(1.2); }

.marquee-badge {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: #14170F; color: #DDB165; display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: .95rem;
  transition: background .35s ease, color .35s ease;
}
.marquee-badge img { width: 100%; height: 100%; object-fit: contain; }
.marquee-item.is-focused .marquee-badge { background: #C99A44; color: #14170F; }

.marquee-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.marquee-item .marquee-name {
  font-family: 'Instrument Serif', serif; font-style: italic; white-space: nowrap;
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: #454F41; transition: color .35s ease;
}
.marquee-item.is-focused .marquee-name { color: #14170F; }

/* Display mode toggle — set data-marquee-mode="logo" | "name" | "both" on .marquee-wrap */
.marquee-wrap[data-marquee-mode="logo"] .marquee-name { display: none; }
.marquee-wrap[data-marquee-mode="name"] .marquee-badge { display: none; }

.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20,23,15,.25); transition: background .25s ease; }
.video-play-btn .circle { width: 78px; height: 78px; border-radius: 50%; background: #C99A44; display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.video-play-btn:hover .circle { transform: scale(1.08); }
.video-play-btn.is-hidden { opacity: 0; pointer-events: none; }

/* ---------- Quote marquee ---------- */
.quote-track { display: flex; transition: transform .5s ease; }
.quote-slide { flex: 0 0 100%; }
@media (min-width: 860px) { .quote-slide { flex: 0 0 33.333%; padding-inline: 14px; } }

/* ---------- Forms ---------- */
.form-tab { flex: 1; text-align: center; padding: 15px; font-weight: 600; font-size: 14px; color: rgba(20,23,15,.45); border-bottom: 2px solid transparent; transition: all .2s ease; }
.form-tab.is-active { color: #14170F; border-color: #C99A44; }
.field-label { display: block; font-size: 12.5px; font-weight: 600; color: #454F41; margin-bottom: 7px; letter-spacing: .02em; }
.field-input { width: 100%; padding: 12px 15px; border: 1.5px solid rgba(20,23,15,.15); border-radius: 3px; background: #fff; font-size: 14.5px; color: #14170F; transition: border-color .2s ease, box-shadow .2s ease; }
.field-input:focus { border-color: #C99A44; box-shadow: 0 0 0 3px rgba(201,154,68,.15); outline: none; }

/* ---------- Contact page: photo info panel ---------- */
.contact-info-panel { position: relative; border-radius: 6px; overflow: hidden; height: 100%; min-height: 480px; color: #FAF9F4; }
.contact-info-panel .cip-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.contact-info-panel .cip-overlay { position: absolute; inset: 0; background: linear-gradient(165deg, rgba(20,23,15,.92) 15%, rgba(20,23,15,.8) 100%); }
.contact-info-panel .cip-content { position: relative; z-index: 1; padding: 2.5rem; height: 100%; display: flex; flex-direction: column; }

.contact-item { display: flex; gap: 14px; align-items: flex-start; padding-block: 16px; border-top: 1px solid rgba(250,249,244,.14); }
.contact-item:first-of-type { border-top: none; padding-top: 0; }
.contact-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(201,154,68,.18); border: 1px solid rgba(201,154,68,.45); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #DDB165; }

/* ---------- Contact page: pill-style form tabs ---------- */
.form-tabs-pill { display: flex; gap: 6px; background: #EEF1E9; padding: 6px; border-radius: 999px; }
.form-tab-pill { flex: 1; text-align: center; padding: 12px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: #454F41; transition: all .25s ease; cursor: pointer; border: none; background: transparent; }
.form-tab-pill.is-active { background: #14170F; color: #DDB165; box-shadow: 0 6px 16px -6px rgba(20,23,15,.4); }

/* ---------- Contact page: response-time strip ---------- */
.promise-strip { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: rgba(201,154,68,.1); border: 1px solid rgba(201,154,68,.3); border-radius: 6px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: .1s; }
.reveal-delay-2.is-visible { transition-delay: .2s; }
.reveal-delay-3.is-visible { transition-delay: .3s; }

/* ---------- Footer link ---------- */
.footer-link { color: rgba(250,249,244,.65); transition: color .2s ease; }
.footer-link:hover { color: #C99A44; }

/* ---------- Footer with garden background ---------- */
.site-footer { position: relative; overflow: hidden; }
.site-footer .footer-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(.9);
}
.site-footer .footer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,23,15,.94) 0%, rgba(20,23,15,.56) 40%, #14170F 85%);
}
.site-footer .footer-inner { position: relative; z-index: 1; }
.site-footer .footer-divider { border-color: rgba(250,249,244,.14); }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(250,249,244,.25); color: #FAF9F4; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.social-icon:hover { background: #C99A44; border-color: #C99A44; color: #14170F; }

/* ---------- Sub-page (non-fixed) header banner ---------- */
.page-banner { position: relative; height: 62vh; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,15,.35) 0%, rgba(20,23,15,.35) 40%, rgba(20,23,15,.85) 100%); }
.page-banner-content { position: relative; z-index: 2; padding: 0 1.5rem 3.5rem; max-width: 1200px; margin: 0 auto; width: 100%; }
@media (min-width: 768px) { .page-banner-content { padding: 0 2.5rem 4.5rem; } }

/* ---------- Parallax background section ---------- */
.parallax-section { position: relative; overflow: hidden; }
.parallax-bg {
  position: absolute; inset: -35% 0; background-size: cover; background-position: center;
  will-change: transform; transform: translateY(0);
}
.parallax-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,15,.42) 0%, rgba(20,23,15,.62) 100%); }
.parallax-content .headline-serif, .parallax-content .eyebrow, .parallax-content h3, .parallax-content p { text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.parallax-content { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .parallax-bg { transform: none !important; } }

/* ---------- Smooth crossfade image cycler (case studies) ---------- */
.fade-card { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.fade-layer {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.3s ease, transform 2.2s ease;
}
.fade-layer-a { opacity: 1; transform: scale(1); }
.fade-card.is-swapped .fade-layer-a { opacity: 0; transform: scale(1.06); }
.fade-card.is-swapped .fade-layer-b { opacity: 1; transform: scale(1); }
