/* Full-screen project showcase: home hero slider, stacked project panels and project page heroes */

.showcase { position: relative; height: 100svh; min-height: 680px; background: #0A1A0E; color: #fff; overflow: hidden; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

/* Background: blurred render (atmosphere) or sharp landscape, with a slow zoom */
.slide__bg { position: absolute; inset: -4%; z-index: -2; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.is-active .slide__bg img { animation: kenburns 16s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.24) translate3d(-1.5%, -1%, 0); } }
.slide__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(8,20,11,0.94) 0%, rgba(8,20,11,0.78) 38%, rgba(8,20,11,0.25) 70%, rgba(8,20,11,0.35) 100%),
  linear-gradient(0deg, rgba(8,20,11,0.85) 0%, rgba(8,20,11,0) 32%),
  linear-gradient(180deg, rgba(8,20,11,0.6) 0%, rgba(8,20,11,0) 22%); }

/* Giant outlined word behind everything */
.slide__word { position: absolute; z-index: -1; left: -1vw; bottom: 9vh; font-family: var(--font-head); font-weight: 800; font-size: clamp(120px, 21vw, 400px); line-height: 0.8; letter-spacing: -0.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.13); text-transform: uppercase; pointer-events: none; transform: translateX(6vw); opacity: 0; transition: transform 2.4s var(--ease), opacity 1.6s var(--ease); }
.slide.is-active .slide__word { transform: none; opacity: 1; }

.slide__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: var(--header-h); padding-bottom: 150px; }
.slide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf-bright); }
.slide__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.slide__title { margin: 22px 0 24px; font-family: var(--font-head); font-weight: 700; font-size: clamp(56px, 7vw, 136px); line-height: 0.88; letter-spacing: -0.015em; text-transform: uppercase; color: #fff; }
.slide__title .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.slide__title .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.slide__title .ln:nth-child(2) > span { transition-delay: .12s; }
.slide__title .ln:nth-child(3) > span { transition-delay: .24s; }
.slide.is-active .slide__title .ln > span, .panel.is-in .slide__title .ln > span { transform: none; }
.slide__title .accent { color: var(--accent, var(--leaf-bright)); }
.slide__title--long { font-size: clamp(46px, 5.2vw, 96px); }
.showcase .container, .panel .container, .showcase__ui .container { max-width: calc(1600px + var(--gutter) * 2); }
.showcase .location svg, .panel .location svg { stroke: var(--leaf-bright); }
.slide__lead { max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: #D5E2D2; }
.slide__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 28px 0 32px; }
.slide__facts div { font-size: 13px; color: #A9BBA5; letter-spacing: 0.06em; }
.slide__facts b { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2vw, 30px); color: #fff; letter-spacing: 0; line-height: 1.15; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) .35s, transform 1s var(--ease) .35s; }
.slide.is-active .fade-up, .panel.is-in .fade-up { opacity: 1; transform: none; }

/* Sharp render in a rising frame, revealed upward */
.slide__media { position: relative; height: min(74vh, 760px); justify-self: end; width: min(100%, 520px); transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0); transition: transform .6s var(--ease); }
.slide__frame { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease) .2s; }
.slide.is-active .slide__frame, .panel.is-in .slide__frame { clip-path: inset(0 0 0 0); }
.slide__frame .rise { position: absolute; inset: 0; --cut: 11%; }
.slide__frame img { width: 100%; height: 100%; object-fit: cover; }
.slide__card { position: absolute; left: -16%; bottom: 8%; width: 46%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 4px solid rgba(255,255,255,0.92); box-shadow: 0 24px 48px rgba(0,0,0,0.45); opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s; }
.slide.is-active .slide__card, .panel.is-in .slide__card { opacity: 1; transform: none; }
.slide__card img { width: 100%; height: 100%; object-fit: cover; }
.slide__credit { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

/* Slider controls */
.showcase__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding-bottom: clamp(20px, 3vh, 34px); }
.showcase__ui .container { display: flex; align-items: flex-end; gap: 24px; }
.showcase__count { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #A9BBA5; white-space: nowrap; padding-bottom: 6px; }
.showcase__count b { font-size: 34px; color: #fff; font-weight: 700; margin-right: 6px; }
.showcase__tabs { display: flex; gap: 10px; flex-grow: 1; justify-content: center; }
.s-tab { position: relative; display: flex; align-items: center; gap: 12px; width: min(270px, 30vw); padding: 10px 14px 14px 10px; border: 0; border-radius: 12px; background: rgba(255,255,255,0.07); color: #fff; text-align: left; cursor: pointer; backdrop-filter: blur(10px); transition: background .3s; }
.s-tab:hover { background: rgba(255,255,255,0.14); }
.s-tab[aria-current="true"] { background: rgba(255,255,255,0.16); }
.s-tab img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.s-tab small { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #A9BBA5; }
.s-tab span { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2; }
.s-tab__bar { position: absolute; left: 10px; right: 14px; bottom: 6px; height: 2px; background: rgba(255,255,255,0.18); border-radius: 2px; overflow: hidden; }
.s-tab__bar i { position: absolute; inset: 0; background: var(--leaf-bright); transform-origin: left; transform: scaleX(var(--p, 0)); }
.showcase__arrows { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.round:hover { background: #fff; color: var(--forest-900); border-color: #fff; }
.round svg { width: 22px; height: 22px; }
.showcase .scroll-cue { bottom: auto; top: calc(100% - 210px); left: auto; right: var(--gutter); transform: none; animation: none; display: none; }

/* Stacked full-screen project panels (each one slides over the last as you scroll) */
.panels { position: relative; }
.panel { position: sticky; top: 0; height: 100svh; min-height: 700px; overflow: hidden; color: #fff; background: #0A1A0E; isolation: isolate; box-shadow: 0 -30px 60px rgba(0,0,0,0.35); }
.panel .slide__bg img { transform: scale(1.15); transition: transform 2.4s var(--ease); }
.panel.is-in .slide__bg img { transform: scale(1.05); }
.panel .slide__word { bottom: 6vh; }
.panel.is-in .slide__word { transform: none; opacity: 1; }
.panel .slide__inner { padding-bottom: clamp(40px, 7vh, 80px); }
.panel__index { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--header-h) + 18px); font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #A9BBA5; }
.panel__index b { color: #fff; font-size: 30px; margin-right: 4px; }
.panels__intro { position: relative; z-index: 2; background: var(--white); padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); }

/* Project page hero variant */
.showcase--single .slide { opacity: 1; visibility: visible; }
.showcase--single .slide__inner { padding-bottom: clamp(70px, 10vh, 110px); }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: #A9BBA5; margin-bottom: 18px; }
.breadcrumb a { color: #D5E2D2; text-decoration: none; }
.breadcrumb a:hover { color: var(--leaf-bright); }
.showcase--single .scroll-cue { display: flex; left: 50%; right: auto; top: auto; bottom: 24px; transform: translateX(-50%); animation: bob 2.4s var(--ease) infinite; }

/* Header on top of full-screen sections */
.site-header { transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease); }

/* Tablet & phone: the sharp render becomes the full-screen background */
@media (max-width: 900px) {
  .slide__inner { grid-template-columns: 1fr; align-content: end; padding-bottom: 168px; }
  .slide__media { display: none; }
  .slide__bg { inset: 0; }
  .slide__bg img.sharp-mobile { display: block; }
  .slide__bg.has-sharp img:not(.sharp-mobile) { display: none; }
  .slide__shade { background:
    linear-gradient(0deg, rgba(8,20,11,0.97) 0%, rgba(8,20,11,0.86) 38%, rgba(8,20,11,0.25) 70%, rgba(8,20,11,0.45) 100%); }
  .slide__word { bottom: auto; top: calc(var(--header-h) + 12px); font-size: 26vw; }
  .showcase__tabs { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .s-tab { width: auto; flex: 0 0 auto; padding-right: 18px; }
  .s-tab img { width: 40px; height: 40px; }
  .showcase__count { display: none; }
  .panel .slide__inner, .showcase--single .slide__inner { padding-bottom: 56px; }
}
@media (min-width: 901px) { .slide__bg img.sharp-mobile { display: none; } }
@media (max-width: 520px) {
  .showcase__arrows { display: none; }
  .s-tab small { display: none; }
  .slide__facts { gap: 10px 24px; margin: 20px 0 24px; }
  .slide__title { font-size: clamp(46px, 14vw, 72px); }
  .showcase { min-height: 600px; }
  .panel { min-height: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide.is-active .slide__bg img { animation: none; }
  .slide__title .ln > span, .fade-up, .slide__card, .slide__word { transform: none !important; opacity: 1 !important; }
  .slide__frame { clip-path: none !important; }
}

/* Lake Breeze: site views (drone + masterplan) */
.site-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.site-views figure { margin: 0; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.site-views button { display: block; width: 100%; padding: 0; border: 0; background: #0A1A0E; cursor: zoom-in; }
.site-views img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .8s var(--ease); }
.site-views button:hover img { transform: scale(1.03); }
.site-views figcaption { padding: 14px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.site-views figcaption span { font-weight: 400; font-size: 14px; color: var(--text-soft); }
.chip--soon::before { background: #1590C0; box-shadow: 0 0 0 3px rgba(21,144,192,0.3); }

/* Floating WhatsApp button */
.fab--wa { width: 60px; height: 60px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; background: #25D366; box-shadow: 0 10px 28px rgba(7,94,84,0.38); }
.fab--wa:hover { background: #1EBE5A; transform: translateY(-2px) scale(1.04); }
.fab--wa svg { width: 32px; height: 32px; }
.fab--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
@media (max-width: 520px) { .fab--wa { width: 56px; } }
@media (prefers-reduced-motion: reduce) { .fab--wa::before { animation: none; display: none; } }
/* Keep slider arrows clear of the floating WhatsApp button; let 4 tabs shrink to fit */
.showcase__tabs { min-width: 0; }
.s-tab { flex: 0 1 270px; min-width: 0; }
.s-tab > div { min-width: 0; }
.s-tab span:not(.s-tab__bar) { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1900px) { .showcase__ui .container { padding-right: 96px; } }
@media (max-width: 900px) { .showcase__ui .container { padding-right: 88px; } .s-tab { flex: 0 0 auto; } }

/* Home hero: image-only full-screen slider (project renders, no text) */
.showcase--gallery .slide { transition: opacity 1.4s var(--ease), visibility 1.4s; }
.showcase--gallery .slide__bg { inset: 0; z-index: 0; }
.showcase--gallery .slide__bg picture { display: block; width: 100%; height: 100%; }
.showcase--gallery .slide__bg img { transform: scale(1.02); }
.showcase--gallery .slide.is-active .slide__bg img { animation: gallery-zoom 9s linear forwards; }
@keyframes gallery-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.showcase--gallery::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  linear-gradient(180deg, rgba(8,20,11,0.6) 0%, rgba(8,20,11,0) 24%),
  linear-gradient(0deg, rgba(8,20,11,0.6) 0%, rgba(8,20,11,0) 26%); }
.showcase--gallery .showcase__ui .container { justify-content: space-between; align-items: center; }
.showcase--gallery .showcase__tabs { flex-grow: 0; justify-content: flex-start; gap: 8px; overflow: visible; }
.showcase--gallery .s-tab { flex: 0 0 56px; width: 56px; height: 28px; padding: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
.showcase--gallery .s-tab:hover, .showcase--gallery .s-tab[aria-current="true"] { background: transparent; }
.showcase--gallery .s-tab__bar { left: 0; right: 0; bottom: 13px; height: 2px; background: rgba(255,255,255,0.35); }
.showcase--gallery .s-tab:hover .s-tab__bar { background: rgba(255,255,255,0.6); }
.showcase--gallery .s-tab__bar i { background: #fff; }
.showcase--gallery .scroll-cue { display: flex; left: 50%; right: auto; top: auto; bottom: 26px; transform: translateX(-50%); animation: bob 2.4s var(--ease) infinite; z-index: 6; }
@media (max-width: 900px) {
  .showcase--gallery .s-tab { flex: 0 0 40px; width: 40px; padding: 0; }
  .showcase--gallery .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .showcase--gallery .slide.is-active .slide__bg img { animation: none; } }
/* Drone image has its own logo top-left: zoom from the bottom-right so it stays out of frame */
.showcase--gallery .slide__bg img.crop-tl { transform-origin: 82% 88%; transform: scale(1.18); }
.showcase--gallery .slide.is-active .slide__bg img.crop-tl { animation-name: gallery-zoom-tl; }
@keyframes gallery-zoom-tl { from { transform: scale(1.18); } to { transform: scale(1.28); } }
@media (max-aspect-ratio: 1/1) { .showcase--gallery .slide__bg img.crop-tl { transform-origin: 62% 50%; object-position: 62% center; } }

/* ===== Menu with 8 links ===== */
.nav__links { gap: 22px; }
@media (max-width: 1500px) { .nav__phone { display: none; } }
@media (max-width: 1200px) {
  .nav__links, .nav__phone, .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}
.mobile-menu li a { font-size: clamp(22px, 6vw, 28px); padding: 11px 0; }
.mobile-menu { overflow-y: auto; }

/* ===== Full-bleed page banner (Rancon style) ===== */
.banner { position: relative; height: 78svh; min-height: 540px; max-height: 900px; display: flex; align-items: flex-end; justify-content: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; background: #0A1A0E; }
.banner__bg { position: absolute; inset: 0; z-index: -2; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; animation: banner-zoom 14s linear forwards; }
@keyframes banner-zoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,11,0.6) 0%, rgba(8,20,11,0) 26%), linear-gradient(0deg, rgba(8,20,11,0.88) 0%, rgba(8,20,11,0.3) 45%, rgba(8,20,11,0) 70%); }
.banner__inner { padding-bottom: clamp(48px, 9vh, 96px); max-width: 900px; }
.banner__eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--leaf-bright); margin-bottom: 14px; }
.banner h1 { color: #fff; margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(44px, 7vw, 104px); line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; }
.banner p { margin: 20px auto 0; max-width: 620px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: #D5E2D2; }
.banner--article h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; text-transform: none; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .banner__bg img { animation: none; } }

/* ===== Green living: seven feature rows ===== */
.g-features { display: grid; gap: 18px; }
.g-feature { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.g-feature__num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--leaf); }
.g-feature__head { display: flex; gap: 16px; align-items: flex-start; }
.g-feature__head svg { width: 40px; height: 40px; flex-shrink: 0; color: var(--forest); }
.g-feature h3 { margin: 0 0 10px; font-family: var(--font-head); font-size: clamp(22px, 2vw, 28px); font-weight: 600; color: var(--charcoal); }
.g-feature p { margin: 0; color: var(--text-soft); line-height: 1.65; }
.g-feature ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.g-feature li { display: flex; gap: 10px; align-items: baseline; line-height: 1.5; }
.g-feature li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex-shrink: 0; transform: translateY(-1px); }
.g-feature small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
@media (max-width: 860px) { .g-feature { grid-template-columns: 1fr; } .g-feature__num { font-size: 34px; } }

/* ===== Insights ===== */
.post-featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.post-featured__media { min-height: 360px; overflow: hidden; }
.post-featured__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-featured:hover img, .post-card:hover img { transform: scale(1.04); }
.post-featured__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--text-soft); }
.post-meta .tag { font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); }
.banner .post-meta { justify-content: center; color: #C9D8C6; margin-bottom: 16px; }
.banner .post-meta .tag { color: var(--leaf-bright); }
.post-featured h2, .post-card h3 { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--charcoal); }
.post-featured h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; margin-top: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.post-card h3 { font-size: 22px; line-height: 1.25; }
.post-card p, .post-featured p { margin: 0; color: var(--text-soft); line-height: 1.6; }
.post-card .link-arrow { margin-top: auto; padding-top: 6px; }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } .post-featured__media { min-height: 0; aspect-ratio: 16 / 10; } }

.article { max-width: 760px; margin: 0 auto; }
.article > * + * { margin-top: 18px; }
.article p, .article li { font-size: 18px; line-height: 1.75; color: #3A4046; }
.article h2 { margin-top: 44px; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; color: var(--charcoal); }
.article ul, .article ol { padding-left: 22px; display: grid; gap: 8px; }
.article strong { color: var(--charcoal); }
.article .callout { padding: 24px 28px; border-radius: var(--radius); background: var(--mist); border-left: 4px solid var(--leaf); }
.article .callout p { margin: 0; }
.article figure { margin: 34px 0; }
.article figure img { width: 100%; border-radius: var(--radius); }
.article figcaption { margin-top: 10px; font-size: 14px; color: var(--text-soft); }

/* ===== Events ===== */
.event-list { display: grid; gap: 18px; }
.event { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.event__date { aspect-ratio: 1; border-radius: 14px; background: var(--forest); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--font-head); padding: 8px; }
.event__date b { font-size: 24px; line-height: 1.05; font-weight: 700; }
.event__date span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #C9E6A6; margin-top: 6px; }
.event__date--soon { background: #1590C0; }
.event__date--soon span { color: #CDEBF7; }
.event__date--talk { background: #6D6E73; }
.event__date--talk span { color: #E3E4E6; }
.event h3 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 600; font-size: clamp(21px, 2vw, 26px); color: var(--charcoal); }
.event p { margin: 0; color: var(--text-soft); line-height: 1.6; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; color: var(--text-soft); }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta svg { width: 16px; height: 16px; color: var(--forest); }
@media (max-width: 760px) { .event { grid-template-columns: 84px minmax(0, 1fr); } .event .btn { grid-column: 1 / -1; justify-self: start; } .event__date b { font-size: 18px; } }

/* ===== Career ===== */
.teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.team { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.team svg { width: 34px; height: 34px; color: var(--forest); }
.team h3 { margin: 14px 0 8px; font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--charcoal); }
.team p { margin: 0; color: var(--text-soft); line-height: 1.6; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px 36px; }
.perks div { border-top: 2px solid var(--leaf-bright); padding-top: 18px; }
.perks h3 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: #fff; }
.perks p { margin: 0; color: #C9D8C6; line-height: 1.6; }
.field input[type="file"] { padding: 12px; background: #fff; }

/* ===== Location band with Google Map on the right ===== */
.location-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.location-band__grid .location-band__card { max-width: none; }
.location-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0A1A0E; box-shadow: 0 24px 48px rgba(0,0,0,0.35); border: 4px solid rgba(255,255,255,0.9); }
.location-map iframe { display: block; width: 100%; height: clamp(320px, 34vw, 460px); border: 0; }
.location-map__link { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--forest); font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,0.2); transition: background .25s, color .25s; }
.location-map__link:hover { background: var(--forest); color: #fff; }
.location-map__link svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .location-band__grid { grid-template-columns: 1fr; } .location-map iframe { height: 320px; } }

/* ===== CMS-generated blocks ===== */
/* Soft background made from the project render (replaces the pre-blurred images) */
.slide__bg--blur img:not(.sharp-mobile) { filter: blur(22px) saturate(1.15); }
@media (max-width: 900px) { .slide__bg--blur img.sharp-mobile { filter: none; } }

/* Job openings */
.jobs { display: grid; gap: 18px; }
.job { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.job__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 28px; }
.job h3 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 600; font-size: clamp(21px, 2vw, 26px); color: var(--charcoal); }
.job > p { margin: 16px 0 0; color: var(--text-soft); line-height: 1.65; max-width: 820px; }
.job details { margin-top: 14px; }
.job summary { cursor: pointer; font-weight: 600; color: var(--forest); }
.job ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-soft); }

/* Spam trap field on forms */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form-error { display: none; margin: 0; color: #B3261E; font-weight: 600; }
.form.has-send-error .form-error { display: block; }

/* ===== Video in gallery, lightbox and home slider ===== */
.gallery .g-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--forest); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform .3s var(--ease), background .3s; pointer-events: none; }
.g-play svg { width: 26px; height: 26px; margin-left: 4px; }
.gallery .g-video:hover .g-play { transform: scale(1.1); background: #fff; }
.g-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0) 50%); pointer-events: none; }
.g-badge { position: absolute; left: 12px; bottom: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }

.lightbox__media { width: min(1200px, 100%); aspect-ratio: 16 / 9; max-height: 100%; }
.lightbox__media[hidden] { display: none; }
.lightbox__media.is-vertical { width: auto; height: min(80vh, 900px); aspect-ratio: 9 / 16; }
.lightbox__media.is-file { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; }
.lightbox__media iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; background: #000; }
.lightbox__media video { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 6px; background: #000; }
.lightbox img[hidden] { display: none; }

/* home slider: video and YouTube slides fill the screen */
.slide__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__yt { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: #0A1A0E center / cover no-repeat; }
.slide__yt iframe { position: absolute; left: 50%; top: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%) scale(1.15); border: 0; }
.showcase--gallery .slide--video .slide__bg::after { content: ""; position: absolute; inset: 0; background: rgba(8,20,11,0.12); }

/* Home slider on wide desktop windows: show the whole 16:10 image (never crop the building);
   the empty space at the far left/right is filled with a soft, blurred copy of the same image. */
.slide__blur { position: absolute; inset: -60px; background: center / cover no-repeat; filter: blur(34px) saturate(1.1) brightness(.9); z-index: -1; }
.showcase--gallery .slide__bg--fit picture { position: relative; z-index: 1; }
@media (min-aspect-ratio: 16/10) {
  .showcase--gallery .slide__bg--fit img { object-fit: contain; transform-origin: 50% 8%; }
  .showcase--gallery .slide.is-active .slide__bg--fit img { animation-name: gallery-zoom-fit; }
}
@keyframes gallery-zoom-fit { from { transform: scale(1); } to { transform: scale(1.05); } }
.showcase--gallery .slide__bg--fit { overflow: hidden; isolation: isolate; }
