@font-face { font-family: "Archivo"; src: url("fonts/Archivo.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --orange: #D5590A;
  --orange-dark: #B44A06;
  --black: #000;
  --slate: #111827;
  --muted: #4B5563;
  --paper: #F9FAFB;
  --white: #fff;
  --overlay: rgba(0, 0, 0, .61);
  --head: "Montserrat", "Archivo", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--slate); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.08; margin: 0 0 .6em; color: var(--black); letter-spacing: -.01em; }
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--black); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--dark { background: var(--black); color: #E5E7EB; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--paper { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

.eyebrow { font: 700 .8125rem/1 var(--head); text-transform: uppercase; letter-spacing: .18em; color: var(--black); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 32px; height: 4px; background: var(--orange); }
.eyebrow--light { color: var(--white); }

/* Buttons & links */
.btn { display: inline-block; background: var(--orange); color: var(--black); font: 800 .9375rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; padding: 18px 30px; border: 0; cursor: pointer; transition: background-color .2s ease-in-out, color .2s ease-in-out; }
.btn:hover { background: var(--black); color: var(--white); }
.btn--sm { padding: 12px 18px; font-size: .8125rem; }
.link-arrow { font: 700 1rem var(--head); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.link-arrow span { transition: transform .2s ease-in-out; color: var(--orange); }
.link-arrow:hover span { transform: translateX(6px); }
.link-arrow--light { color: var(--white); }

/* Header: sticky, hides on scroll down */
.header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50; display: flex; align-items: center; justify-content: flex-start; gap: 32px; padding: 0 max(16px, calc((100% - 1240px) / 2)); border-top: 4px solid var(--orange); transition: transform .4s var(--ease), background-color .3s; }
.header.is-solid { background: var(--black); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo img { width: 170px; height: auto; }
.header__nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); flex: 1; }
/* equal free space either side of the links: they sit centered between logo and CTA */
.header__nav > a:first-child, .header__nav .btn { margin-left: auto; }
/* Instagram icon sits right beside the logo */
.header__ig { display: flex; color: var(--white); margin-left: -12px; transition: color .2s; }
.header__ig:hover { color: var(--orange); }
/* Header CTA: big rectangle that wipes in, then a light sheen sweeps across it on a loop */
.header__nav .btn { font-size: 1.0625rem; letter-spacing: .12em; padding: 17px 32px; position: relative; overflow: hidden; isolation: isolate; animation: cta-in 1.1s var(--ease) .3s both; }
.header__nav .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: cta-sheen 3.6s ease-in-out 1.6s infinite; pointer-events: none; }
@keyframes cta-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes cta-sheen { 0% { left: -60%; } 45%, 100% { left: 130%; } }
.header__nav a:not(.btn) { color: var(--white); text-decoration: none; font: 600 .9375rem var(--head); position: relative; }
.header__nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease-in-out; }
.header__nav a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; position: relative; z-index: 60; }
.burger span { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; background: var(--black); z-index: 45; transform: translateX(100%); transition: transform .5s var(--ease); display: flex; align-items: center; padding: 0 32px; visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer nav { display: grid; gap: 20px; }
.drawer a { color: var(--white); font: 800 2rem var(--head); text-decoration: none; transform: translateX(40px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.drawer.is-open a { transform: none; opacity: 1; }
.drawer.is-open a:nth-child(2) { transition-delay: .06s; }
.drawer.is-open a:nth-child(3) { transition-delay: .12s; }
.drawer.is-open a:nth-child(4) { transition-delay: .18s; }
.drawer.is-open a:nth-child(5) { transition-delay: .24s; }
.drawer.is-open a:nth-child(6) { transition-delay: .30s; }

/* Hero: crossfade slider with slow zoom */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); color: var(--white); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadein 1.2s ease-in-out both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.3) 30%, var(--overlay) 55%, rgba(0,0,0,.85) 100%); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(96px, 14vh, 150px); }
.hero h1 { color: var(--white); text-transform: uppercase; margin-bottom: 24px; }
.hero__lead { font-size: clamp(1.0625rem, 1.6vw, 1.3rem); max-width: 600px; margin-bottom: 32px; }
.hero__content > * { animation: rise .9s var(--ease) both; }
/* Hero eyebrow: bigger, orange; bar draws in, then the words wipe in left to right */
.hero .eyebrow { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); letter-spacing: .14em; color: var(--orange); gap: 16px; margin-bottom: 22px; animation: none; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero .eyebrow::before { width: 56px; height: 5px; flex: none; transform-origin: left; animation: bar .6s var(--ease) .2s both; }
.hero .eyebrow span { display: inline-block; animation: wipe 1s var(--ease) .6s both; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); transform: translateX(-12px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__content > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__controls { position: absolute; z-index: 3; bottom: 32px; right: clamp(16px, 4vw, 48px); }
.hero__pause { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--white); background: transparent; color: var(--white); font-size: .75rem; cursor: pointer; transition: background-color .2s; }
.hero__pause:hover { background: rgba(255,255,255,.15); }

/* Topographic line pattern (decorative) */
.topo::before { content: ""; position: absolute; right: 0; top: 0; width: min(520px, 50vw); height: 100%; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23D5590A' stroke-opacity='.35'%3E%3Cpath d='M400 40C300 60 260 20 180 50S60 140 0 120'/%3E%3Cpath d='M400 80C310 100 270 60 190 90S70 180 0 160'/%3E%3Cpath d='M400 120C320 140 280 100 200 130S80 220 0 200'/%3E%3Cpath d='M400 160C330 180 290 140 210 170S90 260 0 240'/%3E%3Cpath d='M400 200C340 220 300 180 220 210S100 300 0 280'/%3E%3Cpath d='M400 240C350 260 310 220 230 250S110 340 0 320'/%3E%3Cpath d='M400 280C360 300 320 260 240 290S120 380 0 360'/%3E%3C/svg%3E") right top/contain no-repeat; }
.topo > .wrap { position: relative; }

/* Media with hover zoom */
.media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--slate); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media:hover img { transform: scale(1.05); }
/* Owners: cutouts that dissolve into the page (no hard edges) */
.intro { overflow: hidden; } /* keep the glow from widening the page on phones */
.owners { position: relative; aspect-ratio: 1 / .9; }
.owners::before { content: ""; position: absolute; inset: -10% -15% 0; background: radial-gradient(closest-side, rgba(213,89,10,.16), rgba(213,89,10,.05) 60%, transparent); z-index: 0; }
.owner { position: absolute; margin: 0; }
.owner img { display: block; width: 100%; height: auto; }
.owners__b { width: 57%; right: -2%; top: 0; z-index: 1; }
.owners__b img { -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 92%); mask-image: linear-gradient(to bottom, #000 52%, transparent 92%); }
.owners__a { width: 55%; left: 0; top: 12%; z-index: 2; }
/* left photo is cut flat on its left sleeve and bottom: fade both edges */
.owners__a img { -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 84%), linear-gradient(to right, transparent 0, #000 22%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 84%), linear-gradient(to right, transparent 0, #000 22%); mask-composite: intersect; }
/* name sits in the faded area, centred under each face */
.owner figcaption { position: absolute; transform: translateX(-50%); text-align: center; white-space: nowrap; display: grid; gap: 6px; justify-items: center; }
.owners__a figcaption { left: 59%; top: 84%; }
.owners__b figcaption { left: 45%; top: 90%; }
.owner figcaption strong { font: 800 clamp(1.125rem, 1.8vw, 1.5rem)/1 var(--head); color: var(--black); }
.owner figcaption span { font: 500 .6875rem/1 var(--head); text-transform: uppercase; letter-spacing: .16em; color: var(--black); display: flex; align-items: center; gap: 8px; }
.owner figcaption span::before { content: ""; width: 18px; height: 3px; background: var(--orange); }

/* Stats */
.stats { background: var(--black); color: var(--white); text-align: center; }
.stats h2 { color: var(--white); margin-bottom: 56px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-top: 4px solid var(--orange); padding-top: 24px; }
.stat__num { display: block; font: 800 clamp(2.5rem, 5vw, 4rem)/1 var(--head); margin-bottom: 10px; }
.stat__label { font-size: 1rem; color: #D1D5DB; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid rgba(255,255,255,.15); margin: 32px 0 48px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 0 0 auto; background: linear-gradient(var(--orange), var(--orange)) left bottom/0 4px no-repeat; border: 0; color: #D1D5DB; font: 700 1rem var(--head); padding: 16px 20px; cursor: pointer; transition: background-size 200ms, color 100ms; }
.tabs button:hover { color: var(--white); }
.tabs button[aria-selected="true"] { color: var(--white); background-size: 100% 4px; }
.tabpanel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel .media img { transform: scale(1.1); transition: transform 1s; }
.tabpanel.is-active .media img { transform: scale(1); }
.tabpanel > div:last-child { animation: rise .6s var(--ease) both; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* Services carousel */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.carousel-nav { display: flex; gap: 12px; }
.circle { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--black); background: transparent; font-size: 1.25rem; cursor: pointer; transition: background-color .3s, color .3s, border .3s; }
.circle:hover { background: var(--orange); border-color: var(--orange); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 max(16px, (100% - 1240px) / 2) 24px; scroll-padding-inline: max(16px, (100% - 1240px) / 2); scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.card { scroll-snap-align: start; position: relative; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.06); }
.pm-graphic { display: block; width: 100%; height: 100%; }
.card__content { position: relative; padding: 28px 24px 32px; flex: 1; }
.card__content::before { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .3s ease-in; z-index: 0; }
.card:hover .card__content::before { transform: scaleY(1); }
.card__content > * { position: relative; z-index: 1; }
.card__num { font: 800 .875rem var(--head); color: var(--orange); display: block; margin-bottom: 10px; transition: color .3s; }
.card:hover .card__num { color: var(--black); }
.card p { margin: 0; }

/* Process */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { background: var(--white); padding: 32px 28px; border-top: 4px solid var(--black); position: relative; transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: var(--orange); transform: translateY(-6px); }
.step__num { font: 800 3rem/1 var(--head); color: var(--orange); display: block; margin-bottom: 20px; }
.step p { margin: 0; color: var(--muted); }

/* Background-text CTA */
.bgtext { position: relative; padding: clamp(96px, 14vw, 180px) 0; background: var(--img) center/cover fixed; color: var(--white); }
.bgtext::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.bgtext .wrap { position: relative; max-width: 760px; margin-left: max(16px, (100% - 1240px) / 2); }
.bgtext h2 { color: var(--black); line-height: 1.35; }
.strip { background: var(--orange); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: .05em .3em; }
.bgtext p { font-size: 1.2rem; margin: 24px 0 32px; }
.bgtext .btn { background: var(--white); }
.bgtext .btn:hover { background: var(--orange); color: var(--black); }

/* Contact */
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact__list strong { display: block; font: 700 .8125rem var(--head); text-transform: uppercase; letter-spacing: .12em; }
.contact__list a { text-decoration: none; border-bottom: 2px solid var(--orange); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--paper); padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--orange); }
.form label { display: grid; gap: 6px; font: 600 .875rem var(--head); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-family: var(--body); font-weight: 400; font-size: 1rem; padding: 14px; border: 1px solid #D1D5DB; background: var(--white); border-radius: 0; color: var(--slate); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }

/* Footer */
.footer { background: var(--black); color: #D1D5DB; padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.footer__brand img { width: 180px; height: auto; margin-bottom: 8px; }
.footer__brand p { margin: 0; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font: 800 .8125rem var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin: 0 0 6px; }
.footer__col a { color: #D1D5DB; text-decoration: none; font-size: .9375rem; transition: color .2s; }
.footer__col a:hover { color: var(--orange); }
.footer__contact { font-style: normal; display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--white); }
.footer__contact a { color: var(--orange); font-weight: 700; text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }
.footer__small { font-size: .875rem; color: #9CA3AF; margin: 24px 0 0; }

/* Clickable cards */
a.card { text-decoration: none; color: inherit; }
.card__more { display: inline-flex; gap: 8px; margin-top: 16px; font: 700 .875rem var(--head); }
.card__more span { color: var(--orange); transition: transform .2s ease-in-out, color .3s; }
.card:hover .card__more span { transform: translateX(6px); color: var(--black); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.tabpanel .link-arrow { margin-top: 28px; }

/* Inner pages */
.page-hero { overflow: hidden; background: var(--black); color: #E5E7EB; padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 8vw, 96px); }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.5rem); margin-bottom: 20px; }
.page-hero .lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 560px; }
.page-hero__sub { font: 800 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--head); color: var(--white); margin: 0 0 14px; }
.page-hero__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--slate); }
.page-hero__media img, .page-hero__media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.back-link { display: inline-flex; gap: 8px; color: #D1D5DB; text-decoration: none; font: 600 .875rem var(--head); margin-bottom: 28px; transition: color .2s; }
.back-link:hover { color: var(--orange); }
.page-hero .owners { aspect-ratio: 1 / .85; }
.page-hero .owners::before { background: radial-gradient(closest-side, rgba(213,89,10,.28), rgba(213,89,10,.08) 60%, transparent); }
.page-hero .owner figcaption strong, .page-hero .owner figcaption span { color: var(--white); }
.page-hero .owners__a img { -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 80%), linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, #000 40%, transparent 80%), linear-gradient(to right, transparent 0, #000 22%); }
.page-hero .owners__b img { -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 88%); mask-image: linear-gradient(to bottom, #000 50%, transparent 88%); }
.include-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px 40px; list-style: none; padding: 0; margin: 40px 0 0; }
.include-grid li { padding: 18px 0 18px 34px; border-top: 1px solid #E5E7EB; position: relative; font-weight: 500; }
.include-grid li::before { content: ""; position: absolute; left: 2px; top: 1.6em; width: 16px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.pillar { border-top: 4px solid var(--orange); padding-top: 22px; }
.pillar h3 { font-size: 1.125rem; }
.pillar p { margin: 0; color: var(--muted); }
.section--dark .pillar p { color: #D1D5DB; }
.section-head--links { margin-bottom: 40px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.cta-actions .link-arrow { color: var(--white); }

/* Contact page: form over the drone video */
.contact-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--black); color: #E5E7EB; padding: calc(var(--header-h) + 48px) 0 96px; }
.contact-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.66) 50%, rgba(0,0,0,.5) 100%); }
.contact-hero__grid { position: relative; z-index: 2; }
.contact-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.contact-hero .lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 520px; }
.contact-hero .contact__list strong { color: var(--white); }
.contact-hero .contact__list a { color: var(--white); }
.contact-hero .form { background: rgba(249, 250, 251, .97); color: var(--slate); }

/* Page-to-page transitions: shared elements morph, the rest blends */
@view-transition { navigation: auto; }
.header { view-transition-name: site-header; }
.vt-morph { view-transition-class: morph; }
.vt-text { view-transition-class: morph-text; }
::view-transition-group(.morph), ::view-transition-group(.morph-text) { animation-duration: .75s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
::view-transition-old(.morph), ::view-transition-new(.morph) { width: 100%; height: 100%; object-fit: cover; }
::view-transition-old(.morph-text), ::view-transition-new(.morph-text) { height: 100%; width: auto; object-fit: contain; object-position: left center; }
::view-transition-old(root) { animation: vt-out .45s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .65s .15s cubic-bezier(0, 0, .2, 1) both; }
::view-transition-group(site-header) { animation: none; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(28px); } }

/* Scroll reveal (staggered fade up) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.inviewed { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .split, .tabpanel { grid-template-columns: 1fr; }
  .owners { margin-bottom: -6%; }
  .intro { padding-bottom: 40px; }
  .stats__grid, .steps, .pillars { grid-template-columns: 1fr 1fr; }
  .bgtext { background-attachment: scroll; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .stats__grid, .steps, .form, .pillars { grid-template-columns: 1fr; }
  .carousel-nav { display: none; }
  .carousel { grid-auto-columns: 82%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
