/* Drone Estate brand, matched to www.droneestatemedia.com:
   black #00060F, charcoal #242834, slate #3C5F6D, deep teal #073649, green #4CB970, Montserrat headings. */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/assets/fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --black: #00060f;
  --charcoal: #242834;
  --slate: #3c5f6d;
  --teal: #073649;
  --green: #4cb970;
  --green-dark: #337b4b;   /* brand palette dark green, for text/links on white */
  --gray: #c7c7c7;
  --light: #f1f1f1;
  --white: #fff;
  --text: #242834;
  --muted: #5d5d61;
  --line: rgba(36, 40, 52, 0.14);
  --radius: 15px;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.18; margin: 0 0 .55em; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .9rem; }
.on-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--green); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Buttons: pill shapes like the live site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 100px; background: var(--green); color: var(--black); text-decoration: none; border: 0; cursor: pointer; font: 600 .98rem var(--display); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #5cc87f; box-shadow: 0 10px 24px -12px var(--green); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #343a4a; box-shadow: none; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }

/* Header: white bar, black pill nav, phone on the right */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px max(16px, calc((100% - 1180px) / 2)); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav .logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; background: var(--black); border-radius: 100px; padding: 6px 10px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--white); font: 500 .9rem var(--display); padding: .5rem .95rem; border-radius: 100px; transition: color .15s; }
.nav-links a:hover { color: var(--green); }
.nav-links a[aria-current] { color: var(--green); }
.nav-phone { font: 600 .98rem var(--display); color: var(--charcoal); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; background: var(--black); border: 0; border-radius: 10px; padding: 10px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; transition: transform .2s, opacity .2s; }

/* Home hero */
.hero { position: relative; min-height: min(86svh, 780px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--teal); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,6,15,.55) 0%, rgba(0,6,15,.15) 65%), linear-gradient(180deg, rgba(0,6,15,.2) 0%, rgba(0,6,15,.1) 40%, rgba(0,6,15,.85) 100%); }
.hero-inner { position: relative; padding-top: 96px; padding-bottom: 40px; }
.hero h1 { max-width: 20ch; letter-spacing: .05em; font-size: clamp(2.1rem, 4.6vw, 3.7rem); text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero .eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero .lead { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 640px; opacity: .94; margin: 0 0 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.trust { position: relative; list-style: none; padding: 22px 0 28px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(255,255,255,.22); }
.trust strong { display: block; font-family: var(--display); font-size: 1.12rem; }
.trust span { font-size: .88rem; opacity: .8; }

/* Inner page hero */
.page-hero { background: var(--teal); color: var(--white); padding: clamp(40px, 6vw, 72px) 0; }
.page-hero h1 { max-width: 24ch; }
.page-hero .lead { color: #dbe6ea; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.3rem; font-size: .86rem; color: var(--gray); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--white); }
.hero-img { margin-top: -28px; position: relative; }
.hero-img > * { border-radius: var(--radius); width: 100%; object-fit: cover; box-shadow: 0 30px 60px -40px rgba(0,6,15,.7); }

/* Placeholder images (until a real photo is added) */
.ph { position: relative; width: 100%; border-radius: inherit; display: flex; align-items: flex-end; overflow: hidden; background: linear-gradient(135deg, var(--slate) 0%, var(--teal) 60%, #0d4d4a 100%); }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 15%, rgba(76,185,112,.35), transparent 60%); }
.ph span { position: relative; margin: 14px; padding: .3rem .6rem; font-size: .72rem; line-height: 1.35; color: rgba(255,255,255,.8); background: rgba(0,0,0,.25); border-radius: 6px; max-width: 90%; }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.tight { padding: 28px 0; }
.section-alt { background: var(--light); }
.section-slate { background: var(--slate); color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-charcoal { background: var(--charcoal); color: var(--white); }
.section-slate p, .section-teal p, .section-charcoal p { color: #dfe7ea; }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

/* Feature icons (from the live site) */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.features img { width: 88px; height: 88px; margin: 0 auto 14px; }
.features h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.features p { font-size: .95rem; margin: 0; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,6,15,.55); }
.svc-card > img, .svc-card > .ph { border-radius: 0; object-fit: cover; }
.svc-card > div { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card p { color: var(--muted); font-size: .97rem; }
.more { margin-top: auto; font: 600 .92rem var(--display); color: var(--green-dark); }
.section-teal .svc-card, .section-slate .svc-card, .section-charcoal .svc-card { border-color: transparent; }
.section-teal .svc-card p, .section-slate .svc-card p, .section-charcoal .svc-card p { color: var(--muted); }

/* Work grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 14px; }
.tile { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; background: var(--teal); color: var(--white); }
.tile > img, .tile > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; border-radius: 0; }
.tile > .ph span { display: none; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,6,15,.78)); }
.tile-lg { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile figcaption { position: relative; z-index: 1; padding: 16px 20px; }
.tile b { display: block; font-family: var(--display); font-size: 1.02rem; }
.tile span { font-size: .84rem; opacity: .85; }

/* Testimonials (green left rule like the live site) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { margin: 0; border-left: 4px solid var(--green); padding: 4px 0 4px 22px; }
.quote::before { content: "\201C"; display: block; font: 700 3.4rem/1 var(--display); color: var(--white); height: 2.2rem; }
.quote p { color: #e3e8ec; font-size: 1rem; }
.quote footer { font: 700 .92rem var(--display); color: var(--white); }
.quote footer span { display: block; font: 400 .85rem var(--body); color: var(--gray); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { border-top: 3px solid var(--green); padding-top: 18px; }
.steps span { font: 700 .9rem var(--display); color: var(--green-dark); }
.steps h3 { margin-top: .4rem; }
.steps p { color: var(--muted); margin: 0; }

/* Chips */
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips a { display: inline-block; padding: .5rem 1.05rem; border-radius: 100px; background: var(--white); color: var(--text); border: 1px solid var(--line); text-decoration: none; font: 500 .92rem var(--display); transition: border-color .15s, color .15s; }
.chips a:hover { border-color: var(--green); color: var(--green-dark); }
.all-link { margin-top: 1.6rem; font: 600 1rem var(--display); }
.all-link a { color: var(--green-dark); text-decoration: none; }

/* Prose */
.prose-section { padding-top: clamp(40px, 6vw, 72px); }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin: .35rem 0; }
.prose a { color: var(--green-dark); font-weight: 600; }
.prose ul.checks { list-style: none; padding: 0; }
.prose ul.checks li { position: relative; padding-left: 1.8rem; }
.prose ul.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2300060f' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--display); background: var(--light); }
.callout { background: var(--light); border-left: 4px solid var(--green); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; font-size: .95rem; color: var(--muted); }
.byline { font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.6rem; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.about-img { border-radius: var(--radius); position: sticky; top: 110px; }

/* Area hub */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.area-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,6,15,.45); }
.area-card h2 { font-size: 1.25rem; margin-bottom: .1rem; }
.area-card .muted { font-size: .85rem; margin-bottom: .8rem; }
.area-card p:not(.muted) { font-size: .95rem; color: var(--muted); }
.also { margin-top: 2rem; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,6,15,.45); }
.guide-card h3 { font-size: 1.1rem; }
.guide-card p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.05rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-dark); font-size: 1.4rem; line-height: 1; transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { color: var(--muted); padding-top: .6rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--slate); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #dfe7ea; max-width: 560px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Contact */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--white); padding: 28px; border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(0,6,15,.35); }
.form label { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 600; }
.form .opt { color: var(--muted); font-weight: 400; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--text); background: var(--white); border: 1px solid #b9bcc3; border-radius: 2px; padding: .75rem .85rem; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: transparent; }
.form .btn { border-radius: 2px; }
.form :is(input, select, textarea):user-invalid { border-color: #b3261e; background: #fff7f6; }
.form :is(input, select, textarea):user-invalid:focus { outline-color: #b3261e; }
.btn[disabled] { opacity: .7; cursor: progress; }
.mobile-cta { display: none; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .9rem; }
.contact-aside ul:not(.contact-list) { padding-left: 1.2rem; color: var(--muted); }

/* Footer */
.footer { background: var(--charcoal); color: #d4d6db; font-size: .93rem; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font: 700 .82rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: .4rem 0; }
.footer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.footer a:hover { color: #fff; text-decoration-color: var(--green); }
.footer .logo { margin-bottom: 1rem; text-decoration: none; }
.footer .logo img { height: 56px; width: auto; }
.footer .nap { margin-top: 1rem; }
.footer .creds { color: var(--green); font-size: .85rem; }
.footer .social { margin-top: 1rem; display: flex; gap: 1rem; text-transform: capitalize; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 20px 0; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-base p { margin: 0; }

/* Reveal (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
}
@media (max-width: 980px) {
  .svc-grid, .area-grid, .guide-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; border-radius: 0; padding: 6px 16px 18px; display: none; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .9rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: 1rem; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav .logo img { height: 44px; }
}
@media (max-width: 780px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .svc-grid, .area-grid, .guide-grid, .steps, .about, .contact, .two-col, .quotes { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile-lg { grid-row: auto; }
  .tile-wide { grid-column: auto; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .about-img { position: static; max-width: 420px; }
  .hero-img { margin-top: 16px; }
  .hero-img > * { aspect-ratio: 16/10 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1; }
}

/* ---------- v3 additions: mega menu, strips, gallery, team ---------- */
.has-mega { position: relative; }
.has-mega > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -20px; z-index: 60; display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 8px 22px; width: min(900px, 90vw); padding: 22px 24px 18px; background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,6,15,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col p { font: 600 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .5rem; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; color: var(--text) !important; padding: .32rem 0 !important; font: 500 .9rem var(--display); border-radius: 0 !important; }
.mega li a:hover, .mega li a[aria-current] { color: var(--green-dark) !important; }
.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: .8rem !important; margin-top: .3rem; color: var(--green-dark) !important; font: 600 .9rem var(--display); }
.section.tight-top { padding-top: 0; }
.strip { display: grid; gap: 12px; }
.strip-1 { grid-template-columns: 1fr; } .strip-2 { grid-template-columns: repeat(2, 1fr); } .strip-3 { grid-template-columns: repeat(3, 1fr); } .strip-4 { grid-template-columns: repeat(4, 1fr); }
.strip figure { margin: 0; }
.strip img, .strip .ph { width: 100%; border-radius: 10px; }
.all-link.center { text-align: center; }
.tiles-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tiles-4 > div { border-top: 3px solid var(--green); padding-top: 16px; }
.tiles-4 p { margin: 0; }
.area-card { padding: 0; overflow: hidden; }
.area-card > img, .area-card > .ph { border-radius: 0; width: 100%; }
.area-card > div { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.guide-card { padding: 0; overflow: hidden; }
.guide-card > img, .guide-card > .ph { width: 100%; border-radius: 0; }
.guide-card > div { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-figure { margin: 0 0 1.6rem; }
.post-figure img { border-radius: var(--radius); width: 100%; }
.gallery-nav { padding: 18px 0 0; }
.gallery-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.gallery-nav a { display: inline-block; padding: .45rem .95rem; border-radius: 100px; background: var(--light); text-decoration: none; font: 500 .88rem var(--display); }
.gallery-nav a:hover { background: var(--green); color: var(--black); }
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 22px; }
.gallery-head h2 { margin: 0; }
.gallery-head a { font: 600 .92rem var(--display); color: var(--green-dark); text-decoration: none; }
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: 10px; overflow: hidden; }
.masonry img, .masonry .ph { width: 100%; border-radius: 10px; }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,6,15,.75)); opacity: 0; transition: opacity .2s; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team figure { margin: 0; text-align: center; }
.team img, .team .ph { width: 100%; max-width: 240px; border-radius: 50%; margin: 0 auto 14px; }
.team b { display: block; font-family: var(--display); }
.team span { font-size: .9rem; color: var(--muted); }
.about-img { border-radius: 50% !important; max-width: 380px; }
.two-col.top { align-items: start; }
.features.left { text-align: left; }
.footer .follow { margin-top: 1.4rem; }
@media (max-width: 980px) {
  .strip-4 { grid-template-columns: repeat(2, 1fr); }
  .tiles-4, .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .has-mega > a::after { display: none; }
  .mega { position: static; display: none; }
  .nav.open .nav-links .has-mega > a { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 780px) {
  .strip-2, .strip-3, .strip-4 { grid-template-columns: 1fr 1fr; }
  .tiles-4 { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; }
  .masonry figcaption { opacity: 1; font-size: .7rem; }
}
.about > *, .contact > *, .two-col > * { min-width: 0; }
.about-img { width: 100%; height: auto; }
/* mega menu: full-width panel anchored to the header, aligned with the content column */
@media (min-width: 861px) {
  .has-mega { position: static; }
  .nav-links { position: static; }
  .mega { top: 100%; left: max(16px, calc((100% - 1180px) / 2)); right: max(16px, calc((100% - 1180px) / 2)); width: auto; transform: translateY(4px); }
  .mega::before { top: -22px; height: 22px; }
}
.mega-all { border-radius: 0 !important; padding: .8rem 0 0 !important; background: none !important; }

/* Sticky call / quote bar on phones */
@media (max-width: 780px) {
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -14px rgba(0,6,15,.3); }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; text-align: center; white-space: nowrap; }
  .mobile-cta .call { background: var(--black); color: #fff; }
  .mobile-cta .btn { margin: 0; }
  body:has(.mobile-cta) { padding-bottom: 76px; }
}

/* Wide figure inside article copy (e.g., panorama prints) */
.wide-figure { margin: 1.6rem 0; }
.wide-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }

/* ---------- v4: four-pillar redesign (Nov 2026) ---------- */
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.text-link { color: var(--green-dark); font: 600 .95rem var(--display); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.on-dark .text-link { color: var(--green); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.section-head.split h2 { margin-bottom: 0; }
.section-head.split > p { margin: 0; max-width: 420px; }

/* Header */
.nav { gap: 18px; }
.nav-end { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-phone { text-decoration: none; font-size: .95rem; }
.nav-phone:hover { color: var(--green-dark); }
.mega { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 28px; padding: 26px 28px 20px; }
.mega-head { display: block; text-decoration: none; padding: 0 0 .7rem !important; margin-bottom: .45rem; border-bottom: 2px solid var(--green); border-radius: 0 !important; }
.mega-head b { display: block; font: 700 1rem var(--display); color: var(--black); }
.mega-head span { display: block; font: 400 .8rem/1.4 var(--body); color: var(--muted); margin-top: .2rem; }
.mega-head:hover b { color: var(--green-dark); }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .9rem; margin: .4rem 0 0; font-size: .85rem; color: var(--muted); }
.mega-foot a { color: var(--green-dark) !important; font: 600 .9rem var(--display); padding: 0 !important; }

/* Home hero */
.hero-home { min-height: min(92svh, 820px); }
.kicker { display: inline-flex; align-items: center; gap: .7rem; font: 600 italic clamp(1rem, 1.6vw, 1.2rem) var(--display); color: var(--green); margin: 0 0 1rem; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--green); }
.hero-home h1 { max-width: 18ch; letter-spacing: .02em; }
.hero-home .lead { max-width: 600px; }
.hero-home .btn-ghost { color: #fff; }

/* Proof band */
.proof { background: var(--black); color: var(--gray); padding: 34px 0 30px; }
.proof .stats { list-style: none; margin: 0 0 26px; padding: 0 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.proof .stats b { display: block; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.05 var(--display); color: var(--green); }
.proof .stats span { font-size: .9rem; color: #c9ced6; }
.proof-rows { display: grid; gap: 14px; }
.proof-row { display: flex; align-items: baseline; gap: .5rem 2rem; flex-wrap: wrap; }
.proof-row > p { margin: 0; min-width: 10rem; font: 600 .74rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.proof-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; margin: 0; padding: 0; flex: 1; font: 500 .93rem var(--display); color: #fff; }

/* Pillar doorways */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pillar-card:hover { box-shadow: 0 24px 50px -30px rgba(0,6,15,.5); transform: translateY(-2px); }
.pillar-img img, .pillar-img .ph { display: block; width: 100%; border-radius: 0; }
.pillar-body { position: relative; padding: 24px 26px 26px; }
.pillar-num { position: absolute; top: -26px; right: 22px; margin: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--black); font: 700 1rem var(--display); box-shadow: 0 8px 20px -10px rgba(0,6,15,.5); }
.pillar-body h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.pillar-body h3 a { text-decoration: none; color: var(--black); }
.pillar-body h3 a:hover { color: var(--green-dark); }
.pillar-who { font: 600 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .7rem; }
.pillar-body > p:not(.pillar-who):not(.pillar-num) { color: var(--muted); font-size: .98rem; }
.pillar-links { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.2rem; }
.pillar-links a { display: block; padding: .3rem 0; text-decoration: none; font: 500 .93rem var(--display); color: var(--text); }
.pillar-links a::after { content: " \2192"; color: var(--green-dark); opacity: 0; transition: opacity .15s; }
.pillar-links a:hover { color: var(--green-dark); }
.pillar-links a:hover::after { opacity: 1; }

/* Lifecycle band */
.lifecycle .section-head p { color: #dbe6ea; }
.life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: life; }
.life a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 20px 20px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.life a:hover { background: rgba(76,185,112,.14); border-color: var(--green); }
.life span { font: 700 .82rem var(--display); color: var(--green); letter-spacing: .1em; }
.life b { font: 700 1.15rem var(--display); margin: .5rem 0 .4rem; }
.life p { margin: 0; font-size: .92rem; color: #cfdce1; }
.life li:not(:last-child) a::after { content: ""; position: absolute; top: 33px; right: -14px; width: 14px; height: 2px; background: var(--green); opacity: .6; }

/* Case study cards (home) */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { display: flex; flex-direction: column; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,6,15,.55); }
.case-card img, .case-card .ph { display: block; width: 100%; border-radius: 0; }
.case-card > div { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case-card .eyebrow { margin-bottom: .5rem; font-size: .7rem; }
.case-card h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.case-card p:not(.eyebrow) { color: var(--muted); margin: 0 0 1rem; }
.case-card .case-sub { color: var(--text); font: 500 1rem var(--display); margin-bottom: .8rem; }
.case-stat { margin-top: auto; align-self: flex-start; padding: .35rem .8rem; border-radius: 100px; background: rgba(76,185,112,.14); color: var(--green-dark); font: 600 .82rem var(--display); }
.case-lg { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; }
.case-lg img, .case-lg .ph { height: 100%; aspect-ratio: auto !important; min-height: 320px; }
.case-lg > div { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.case-lg h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.case-lg p:not(.eyebrow) { font-size: 1.05rem; }
.case-lg .case-sub { font-size: 1.15rem; }

/* Know-how tiles */
.knowhow { list-style: none; padding: 0; margin: 0; }
.knowhow li { border-top: 3px solid var(--green); padding-top: 16px; }
.knowhow h3 { font-size: 1.1rem; }
.knowhow p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Work page */
.case-nav { margin-top: -26px; position: relative; }
.case-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.case-nav a { display: block; height: 100%; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 34px -26px rgba(0,6,15,.6); text-decoration: none; font: 700 .98rem var(--display); color: var(--black); transition: border-color .15s; }
.case-nav a:hover { border-color: var(--green); }
.case-nav span { display: block; font: 600 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .3rem; }
.case-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: 32px; }
.case-head h2 { margin-bottom: .15rem; }
.case-title { margin: 0; font: 500 clamp(1.05rem, 1.8vw, 1.3rem) var(--display); color: var(--muted); }
.case-stats { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; flex-wrap: wrap; }
.case-stats b { display: block; font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--display); color: var(--green-dark); }
.case-stats span { font-size: .85rem; color: var(--muted); }
.case-body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.case-body > * { min-width: 0; }
.case-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-photos figure { margin: 0; }
.case-photos .wide { grid-column: 1 / -1; }
.case-photos img, .case-photos .ph { display: block; width: 100%; border-radius: 10px; }
.note { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--green); padding-left: .8rem; }
.case-links-label { font: 600 .74rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); margin: 1.6rem 0 .6rem; }
.pill-links { list-style: none !important; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-links li { margin: 0 !important; }
.pill-links a { display: inline-block; padding: .45rem .95rem; border-radius: 100px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font: 500 .88rem var(--display) !important; color: var(--text) !important; }
.pill-links a:hover { border-color: var(--green); color: var(--green-dark) !important; }

/* Footer */
.footer { padding-top: 0; border-top: 6px solid var(--green); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-top: 56px; }
.footer-tag { font: 600 italic 1.05rem var(--display); color: var(--green); margin: 0 0 .6rem; }
.footer h2 a { text-decoration: none; color: #fff; }
.footer h2 a:hover { color: var(--green); }
.footer-mid { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer .inline { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.footer .inline li { margin: .15rem 0; }
.footer .social { margin-top: .8rem; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-base p + p a { margin-left: 1rem; }

@media (max-width: 1180px) {
  .nav-phone { display: none; }
  .nav-links a { padding: .5rem .75rem; }
}
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; max-width: 560px; }
  .life { grid-template-columns: repeat(3, 1fr); }
  .life li:not(:last-child) a::after { display: none; }
}
@media (max-width: 980px) {
  .case-nav ul { grid-template-columns: 1fr 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .proof .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-end { display: none; }
  .mega-head, .mega-foot { display: none; }
}
@media (max-width: 780px) {
  .pillar-grid, .case-grid { grid-template-columns: 1fr; }
  .case-lg { display: flex; }
  .case-lg img, .case-lg .ph { min-height: 0; aspect-ratio: 16/10 !important; }
  .life { grid-template-columns: 1fr; }
  .pillar-links { grid-template-columns: 1fr; }
  .footer-top, .footer-mid { grid-template-columns: 1fr; }
  .case-stats { gap: 18px; }
  .proof-row > p { min-width: 0; width: 100%; }
}

/* v4.1: proof section (white), hero badges, sub-links */
.hero-home .hero-inner { padding-bottom: 120px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1.6rem 0 0; padding: 0; font: 500 .9rem var(--display); color: #e8eef0; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-badges li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2300060f' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; }
.proof { background: var(--white); color: var(--text); padding: 0 0 clamp(56px, 7vw, 88px); }
.stat-card { position: relative; z-index: 2; margin-top: -64px; display: grid; grid-template-columns: 1.15fr 4fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,6,15,.45), 0 0 0 1px var(--line); }
.stat-intro { margin: 0; padding: 26px 26px; background: var(--teal); color: #dbe6ea; font-size: .92rem; line-height: 1.45; display: flex; flex-direction: column; justify-content: center; }
.stat-intro b { display: block; font: 700 1.35rem var(--display); color: #fff; margin-bottom: .3rem; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-list li { padding: 26px 22px; display: flex; flex-direction: column; justify-content: center; }
.stat-list li + li { border-left: 1px solid var(--line); }
.stat-list b { font: 700 clamp(1.9rem, 3.2vw, 2.6rem)/1 var(--display); color: var(--green-dark); }
.stat-list span { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.clients-block { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(48px, 6vw, 72px); }
.clients-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.client-grid li { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 66px; padding: 10px 14px; border-radius: 10px; background: var(--light); font: 600 .9rem/1.3 var(--display); color: var(--charcoal); }
.credits-block { margin-top: clamp(36px, 5vw, 56px); padding: 26px 28px 28px; border-radius: var(--radius); background: var(--charcoal); }
.credits-block .eyebrow { color: var(--green); margin-bottom: 1rem; }
.credit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.credit-grid li { border-top: 2px solid var(--green); padding-top: 12px; }
.credit-grid b { display: block; font: 700 1rem var(--display); color: #fff; }
.credit-grid span { display: block; margin-top: .3rem; font-size: .82rem; line-height: 1.4; color: #b9c0ca; }
.mega li.sub a, .footer li.sub a { padding-left: .9rem !important; font-size: .84rem !important; color: var(--muted) !important; position: relative; }
.mega li.sub a::before, .footer li.sub a::before { content: ""; position: absolute; left: 0; top: .2em; width: .5rem; height: .55em; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; opacity: .6; }
.footer li.sub a { color: #b5b9c1 !important; }
.mega li.sub a:hover { color: var(--green-dark) !important; }
@media (max-width: 1100px) {
  .credit-grid { grid-template-columns: repeat(4, 1fr); }
  .clients-block { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .stat-card { grid-template-columns: 1fr; }
  .stat-list { grid-template-columns: repeat(2, 1fr); }
  .stat-list li:nth-child(3) { border-left: 0; }
  .stat-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 780px) {
  .hero-home .hero-inner { padding-bottom: 96px; }
  .stat-card { margin-top: -48px; }
  .stat-list li { padding: 18px 16px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid li { min-height: 56px; font-size: .84rem; }
  .credit-grid { grid-template-columns: repeat(2, 1fr); }
  .credits-block { padding: 22px 18px; }
}

/* v4.2: formats across every pillar */
.mega-across { display: inline-flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.mega-across a { color: var(--text) !important; font: 600 .9rem var(--display) !important; }
.mega-across a:hover { color: var(--green-dark) !important; }
.mega-across small { font: 400 .8rem var(--body); color: var(--muted); }
.across-band { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius); background: var(--light); border: 1px solid var(--line); }
.across-band p { margin: 0; color: var(--muted); max-width: 720px; }
.across-band strong { color: var(--text); font-family: var(--display); }
.across-hub .svc-grid { grid-template-columns: 1fr; }
.across-hub .svc-card { flex-direction: row; }
.across-hub .svc-card > img, .across-hub .svc-card > .ph { width: 40%; aspect-ratio: auto !important; }
@media (max-width: 780px) { .across-hub .svc-card { flex-direction: column; } .across-hub .svc-card > img, .across-hub .svc-card > .ph { width: 100%; aspect-ratio: 4/3 !important; } }

/* Quote form honeypot (bots fill it, people never see it) */
.form .hp { display: none !important; }
