:root {
  --green: #9cff49;
  --yellow: #fff64b;
  --white: #fff;
  --black: #000;
  --grey: #c7c0c0;
  --dark: #3d3d3d;
  --radius: 20px;
  --pad-x: 100px;
  --pad-y: 75px;
  --gap: 75px;
  --header-h: 143px;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin.woff2) format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--black);
  color: var(--white);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--green); font-weight: 700; text-decoration: none; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--green); color: var(--black); padding: 10px 16px; }
.skip-link:focus { left: 0; }

/* Type */
.t-primary { font-size: 2.6em; font-weight: 400; line-height: 1.3; color: var(--white); }
.t-secondary { font-size: 2.2em; font-weight: 400; line-height: 1.1; color: var(--white); }
.t-accent { font-size: 1.6em; font-weight: 400; line-height: 1.3; color: var(--white); }
.t-text { font-size: 1em; font-weight: 400; line-height: 1.7; }
main p:not(.btn-wrap), .footer-brand p, .quote blockquote { margin-bottom: 14.4px; }
.prose p { margin-bottom: 14.4px; }
main p.nm { margin-bottom: 0; }
.t-lead { font-size: 1.2em; font-weight: 500; line-height: 1.3; color: var(--grey); }
.t-lead.regular { font-weight: 400; }
.c-green.c-green { color: var(--green); }
.c-grey.c-grey { color: var(--grey); }
.c-black.c-black { color: var(--black); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--black);
  font-family: inherit;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  border: 0;
  border-radius: 10px;
  padding: 15px 40px;
  text-align: center;
  cursor: pointer;
  transition: background-color .3s, transform .3s ease-out;
}
.btn:hover, .btn:focus { background: var(--yellow); color: var(--black); transform: translateY(-8px); }
.form .btn:hover, .form .btn:focus { transform: none; }
.btn-wrap { display: flex; }
.btn-wrap.center { justify-content: center; }
.btn-wrap.pad { padding: 30px 0 0; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 50px 50px 20px;
  background: var(--black);
  transition: background .2s linear, padding .2s linear;
}
.site-header .logo img { display: block; width: 20vw; height: auto; transition: width .2s linear; }
.site-nav { display: flex; align-items: center; margin-left: auto; }
.site-nav ul { display: flex; }
.site-nav li + li { margin-left: 15px; }
.site-nav a { display: block; padding: 8px 20px; color: var(--grey); font-weight: 500; line-height: 20px; transition: font-size .2s linear, color .4s; }
.site-nav a:hover, .site-nav a:focus { color: var(--green); }
.site-nav a[aria-current="page"] { color: var(--white); }
.site-header .btn { margin-left: 20px; transition: padding .2s linear, background-color .3s, transform .3s ease-out; }
.site-header .logo-mark, .menu { display: none; }
.site-header.is-shrunk {
  background: #00000059;
  padding: 10px 20px;
  box-shadow: 0 6px 30px -4px rgba(0, 0, 0, .05);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}
.site-header.is-shrunk .logo img { width: 200px; }
.site-header.is-shrunk .site-nav a { font-size: .8rem; }
.site-header.is-shrunk .btn { padding: 10px 20px; font-size: .7rem; }

/* Mobile menu */
.menu summary { list-style: none; cursor: pointer; position: relative; z-index: 2; display: block; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary img { display: block; width: 43px; height: auto; }
.menu-panel {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  background: var(--black);
  padding: 100px 20px 40px;
}
.menu-panel .menu-logo img { width: 150px; display: block; }
.menu-panel .menu-link { font-size: 2.2em; font-weight: 400; line-height: 1.1; color: var(--white); }
.menu-panel .menu-link:hover { color: var(--green); }

/* Sections */
.section { display: flex; gap: var(--gap); padding: var(--pad-y) var(--pad-x); }
.section.col { flex-direction: column; }
.section.dark { background: var(--dark); }
.section.gap-20 { gap: 20px; }
.section.gap-30 { gap: 30px; }
.col-half { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 50px; align-items: flex-start; }
.stack-50 { display: flex; flex-direction: column; gap: 50px; align-items: flex-start; }

/* Hero */
.hero { display: flex; gap: var(--gap); padding: 40px var(--pad-x); min-height: 70vh; }
.hero-text { flex: 677 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; align-items: flex-start; }
.hero-text.tight { gap: 40px; }
.hero-media { flex: 488 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-media .ph { border-radius: var(--radius); background: center / cover no-repeat; }
.hero-media .ph-main { flex: 0 0 60%; }
.hero-media .ph-row { flex: 1 1 0; display: flex; gap: 20px; }
.hero-media .ph-row .ph { flex: 1 1 0; }
.jump-links { display: flex; flex-direction: column; gap: 10px; }
.jump-links a { font-weight: 700; transition: color .5s; }

/* Boxes */
.box { border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 50px; width: 100%; }
.gradient { background: url(../images/gradient.svg) center / cover repeat; }
.box-photo { position: relative; padding: 5% 5% 5% 60%; background: right center / cover no-repeat; align-items: flex-start; }
.box-photo.overlay::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--black); opacity: .5; }
.box-photo > * { position: relative; }
.box-photo.wide-text { padding-left: 40%; }
.box-lime { background: url(../images/lime-black-horizontal-3.webp) center / cover no-repeat; padding: 7%; align-items: center; }
.box-outline { border: 3px solid var(--green); align-items: flex-start; }

/* Home: service cards */
.cards { display: flex; gap: 20px; align-items: stretch; }
.card { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.card img { display: block; width: 100%; border-radius: var(--radius); }
.mark { display: block; margin: 0 auto; width: 71px; height: 71px; }

/* Home: quotes */
.quotes { display: flex; justify-content: center; gap: 50px; padding: 40px; margin-bottom: 30px; border-radius: var(--radius); background: url(../images/lime-black-horizontal-3.webp) top center no-repeat; }
.quote { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; text-align: center; }
.quote .by { font-size: .9em; font-weight: 500; line-height: 1.7; margin-bottom: 14.4px; }
.callout { font-size: 1.6em; font-weight: 500; line-height: 1.5; text-align: center; }

/* About: values */
.values { display: flex; gap: 20px; }
.values .box { flex: 0 0 calc((100% - 20px) * 631 / 1220); }
.values-media { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.values-media .ph { border-radius: var(--radius); background: center / cover no-repeat; }
.values-media .ph-main { flex: 0 0 60%; padding: 10px; }
.values-media .ph-row { flex: 1 1 0; display: flex; gap: 20px; }
.values-media .ph-row .ph { flex: 1 1 0; }
.story-sec { --pad-y: 100px; gap: 40px; }
.story { display: flex; gap: 100px; margin-top: 50px; }
.story > * { flex: 1 1 0; min-width: 0; }

/* Carousels */
.carousel { position: relative; padding: 0 30px; width: 100%; min-width: 0; }
.carousel.narrow { width: 75%; max-width: 100%; margin: 0 auto; }
.carousel-track {
  display: flex; align-items: center; gap: 95px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.bottom { align-items: flex-end; }
.carousel-track > * { flex: 0 0 calc((100% - 190px) / 3); scroll-snap-align: start; min-width: 0; }
.carousel-track a { display: block; }
.carousel-track img { display: block; width: 100%; border-radius: var(--radius); }
.carousel-btn {
  position: absolute; top: calc(50% - 22px); transform: translateY(-50%);
  width: 25px; height: 25px; padding: 0; border: 0; background: none; color: var(--green); cursor: pointer;
}
.carousel-btn svg { display: block; width: 25px; height: 25px; fill: currentColor; }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-btn:hover { color: var(--yellow); }
.carousel-dots { display: flex; justify-content: center; gap: 12px; height: 24px; align-items: center; margin-top: 12px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--green); cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: var(--yellow); }

.carousel.testimonials { padding: 0 74px; }
.carousel.testimonials .carousel-track { gap: 50px; align-items: stretch; }
.carousel.testimonials .carousel-track > * { flex-basis: calc((100% - 50px) / 2); }
.carousel.testimonials .carousel-btn { width: 20px; height: 20px; }
.carousel.testimonials .carousel-btn svg { width: 20px; height: 20px; }
.carousel.testimonials .carousel-btn.prev { left: 10px; }
.carousel.testimonials .carousel-btn.next { right: 10px; }
.carousel.testimonials .carousel-dots button { width: 6px; height: 6px; background: var(--green); }
.carousel.testimonials .carousel-dots button[aria-current="true"] { background: var(--black); outline: 1px solid var(--green); }
.testimonial { border: 1px solid var(--green); border-radius: var(--radius); padding: 10px; text-align: center; }
.testimonial blockquote { font-size: 1em; line-height: 1.7; margin-bottom: 0; }
.testimonial cite { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: 700; line-height: 1.5; display: block; margin-top: 40px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .8); color: var(--white); }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 80vw; max-height: 85vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; cursor: pointer; }
.lightbox .lb-close { top: 68px; right: 118px; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--black); font-size: 30px; line-height: 1; }
.lightbox .lb-close:hover { background: var(--yellow); }
.lightbox .lb-nav { top: 0; bottom: 0; width: 8%; background: none; color: var(--white); }
.lightbox .lb-nav svg { width: 30px; height: 30px; fill: currentColor; }
.lightbox .lb-prev { left: 0; }
.lightbox .lb-next { right: 0; }

/* FAQ */
.faq { width: 100%; padding-bottom: 20px; }
.faq details { border-bottom: 1px solid #d5d8dc; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0; padding: 20px; background: var(--black); color: var(--green); font-size: 1.6em; font-weight: 400; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 16px; height: 16px; fill: currentColor; transition: transform .3s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 10px 10px 0; line-height: 1.7; }
.faq .answer p { margin-bottom: 14.4px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s ease, content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { .faq { interpolate-size: allow-keywords; } }

/* Fees */
.fees { display: flex; gap: var(--gap); }
.fees > * { flex: 1 1 0; min-width: 0; padding: 10px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.fees > :first-child { align-items: stretch; }

/* Contact */
.contact { display: flex; gap: 20px; padding: 100px var(--pad-x); border-bottom: 1px solid var(--green); }
.contact > * { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact .mark { margin: 0; width: 66px; height: 66px; }
.icon-list li + li { margin-top: 19px; }
.icon-list a { display: flex; align-items: flex-start; gap: 5px; font-weight: 400; line-height: 1.7; color: var(--white); transition: color .3s; }
.icon-list a:hover { color: var(--green); }
.icon-list svg { flex: none; width: 14px; height: 14px; margin: 5px 5px 0 0; fill: var(--green); }
.social { display: flex; gap: 24px; padding-bottom: 49px; }
.social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--black); transition: background-color .3s, transform .3s; }
.social a:hover { background: var(--yellow); opacity: .9; }
.social.grow a:hover { transform: scale(1.1); }
.social svg { width: 19px; height: 19px; fill: currentColor; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form label, .form legend { display: block; color: var(--green); line-height: 1.7; padding: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  background: transparent; color: var(--green);
  border: 1px solid var(--green); border-radius: 30px;
  font: inherit; line-height: 1.7; padding: 5px 14px; min-height: 45px;
}
.form textarea { padding: 10px 14px; resize: vertical; height: 121px; }
.form ::placeholder { color: var(--green); opacity: .6; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form .checks label { display: flex; align-items: baseline; gap: 4px; }
.form .checks input { margin: 0; }
.form .btn { width: 100%; padding: 14px; }
.form .hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--black); position: relative; z-index: 1; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 1340px; margin: 0 auto; padding: 50px var(--pad-x); }
.footer-brand { flex: 0 0 31%; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.footer-brand img { width: 30%; display: block; }
.footer-brand p { font-size: .9em; line-height: 1.7; }
.footer-links li + li { margin-top: 19px; }
.footer-links a { color: var(--white); font-weight: 400; line-height: 1.7; transition: color .3s; }
.footer-links a:hover { color: var(--green); }
.footer-bar { display: flex; justify-content: center; align-items: center; gap: 50px; padding: 10px var(--pad-x); background: var(--green); border-top: 1px solid var(--black); color: var(--black); font-size: .9em; line-height: 1.7; }
.footer-bar a { color: var(--black); font-weight: 700; }
.footer-bar a:hover { color: var(--black); text-decoration: underline; }

/* Privacy and utility pages */
.prose { max-width: 820px; margin: 0 auto; padding: var(--pad-y) var(--pad-x); line-height: 1.7; }
.prose h1 { font-size: 2.6em; font-weight: 400; line-height: 1.3; margin-bottom: 30px; }
.prose h2 { font-size: 1.6em; font-weight: 400; line-height: 1.3; color: var(--green); margin: 40px 0 14px; }
.prose p, .prose ul { margin-bottom: 14.4px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { font-weight: 400; text-decoration: underline; }

/* Fade in on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js main > section { opacity: 0; transform: translateY(50px); transition: opacity 2s ease-out, transform 2s ease-out; }
  .js main > section.scroll-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .carousel-track { scroll-behavior: auto; } .btn:hover, .btn:focus { transform: none; } }

/* Tablet */
@media (max-width: 1024px) {
  :root { --header-h: 118px; }
  .site-header { padding: 30px; }
  .site-header .logo, .site-nav, .site-header > .btn { display: none; }
  .site-header .logo-mark, .menu { display: block; }
  .site-header .logo-mark img { display: block; width: 58px; height: 58px; transition: width .2s linear, height .2s linear; }
  .site-header.is-shrunk { padding: 10px; }
  .site-header.is-shrunk .logo-mark img { width: 25px; height: 25px; }
  .site-header.is-shrunk .menu summary img { width: 25px; }
  .carousel-track > * { flex-basis: calc((100% - 95px) / 2); }
  .carousel.testimonials { padding: 0 44px; }
  .carousel.testimonials .carousel-track { gap: 10px; }
  .carousel.testimonials .carousel-track > * { flex-basis: 100%; }
  .values .box { flex-basis: calc((100% - 20px) * .54); }
  .contact { padding: 50px; }
  .contact .mark { display: none; }
  .footer-main { padding: 40px 20px; }
  .footer-brand { flex-basis: 52%; }
  .footer-brand p { width: 316px; max-width: 100%; align-self: flex-start; }
  .footer-bar { padding: 20px 50px; }
}

/* Tablet only: the button sits on its own row above the logo */
@media (min-width: 768px) and (max-width: 1024px) {
  :root { --header-h: 164px; }
  .site-header { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "btn btn btn" "logo . menu"; }
  .site-header > .btn { display: block; grid-area: btn; justify-self: center; }
  .site-header .logo-mark { grid-area: logo; }
  .site-header .menu { grid-area: menu; }
  .site-header.is-shrunk > .btn { padding: 10px 32px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --pad-x: 10px; --pad-y: 40px; --header-h: 102px; }
  .site-header { padding: 20px; }
  .site-header .logo-mark img { width: 62px; height: 62px; }
  .menu summary img { width: 38px; }
  .menu-panel .btn { display: inline-block; }
  .section, .hero, .cards, .quotes, .values, .story, .fees, .contact { flex-direction: column; }
  .section > *, .story > *, .fees > *, .contact > *, .values > * { flex: none; width: 100%; }
  .hero { gap: 20px; min-height: 0; padding: 0 10px 40px; }
  .values .box { flex-basis: auto; }
  .hero.pt-20 { padding-top: 20px; }
  .hero.pt-40 { padding-top: 40px; }
  .hero-text { flex: none; gap: 20px; padding: 0; }
  .hero.pt-40 .hero-text, .hero.pt-40m .hero-text { gap: 40px; }
  .hero.pt-40m { padding-top: 40px; }
  .hero.pt-40, .hero.pt-40m { gap: 75px; }
  .hero-media { flex: none; }
  .hero-media .ph-main, .values-media .ph-main { flex: none; min-height: 15em; }
  .hero-media .ph-row, .values-media .ph-row { justify-content: space-between; gap: 0; }
  .hero-media .ph-row .ph, .values-media .ph-row .ph { flex: 0 0 47%; min-height: 15em; }
  .box { padding: 20px; }
  .box.gradient.roomy, .box-outline { padding: 30px; }
  .box-outline { gap: 0; }
  .box-photo.howto { padding: 7%; gap: 20px; }
  .fees h2 { text-align: left; }
  .box-photo, .box-photo.wide-text { padding: 20px; }
  .box-photo.pct { padding: 8%; background-position: center; }
  .box-lime { padding: 7%; gap: 0; }
  .box-lime .t-accent { font-size: 1.4em; }
  .values .t-accent { font-size: 1.3em; }
  .quotes { gap: 20px; padding: 20px; }
  .quote { gap: 0; }
  .section:has(> .quotes) > h2 { font-size: 1.7em; }
  .callout { padding: 0 20px; }
  .story-sec { --pad-y: 40px; gap: 30px; }
  .story { gap: 30px; margin-top: 0; }
  .story .stack-50 { gap: 30px; }
  .story, .story .t-accent { text-align: center; }
  .fees { gap: 40px; }
  .contact { padding: 50px 30px; }
  .contact .mark { display: none; }
  .contact h1 { font-size: 2.3em; }
  .contact .social { justify-content: center; gap: 16px; padding-bottom: 20px; }
  .carousel.narrow { width: 100%; }
  .carousel-track > *, .carousel.testimonials .carousel-track > * { flex-basis: 100%; }
  .carousel.testimonials { padding: 0 16px; }
  .section > .carousel.testimonials { padding: 0 36px; }
  .carousel.testimonials .carousel-btn.prev { left: 0; }
  .carousel.testimonials .carousel-btn.next { right: 0; }
  .faq { padding: 20px 0 50px; }
  .faq summary { padding: 20px 0; }
  .lightbox .lb-close { top: 20px; right: 20px; }
  .lightbox img { max-width: 94vw; }
  .footer-main { flex-wrap: wrap; justify-content: space-around; gap: 20px 0; padding: 60px 20px; }
  .footer-brand { flex: 0 0 100%; }
  .footer-brand img { width: 25%; margin-bottom: 19px; }
  .footer-brand p { width: auto; align-self: center; }
  .footer-links { text-align: center; }
  .footer-brand .social { gap: 16px; padding-bottom: 20px; }
  .footer-bar { flex-direction: column; gap: 10px; text-align: center; padding: 20px; }
  .prose h1 { font-size: 2.3em; }
}
