:root {
  --ink: #25231f;
  --charcoal: #302f2b;
  --stone: #d8c49d;
  --sand: #f3ead8;
  --shell: #fbf7ef;
  --moss: #304634;
  --moss-dark: #18291f;
  --clay: #9b6f3d;
  --line: rgba(48, 47, 43, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(37, 35, 31, 0.16);
  --font: "Inter", "Montserrat", Arial, sans-serif;
  --display: "Georgia", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  background: var(--shell);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

svg:not([width]) {
  inline-size: 1em;
  block-size: 1em;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--moss);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(251, 247, 239, 0.97);
  box-shadow: 0 1px 0 rgba(48, 47, 43, 0.1);
  backdrop-filter: blur(16px);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-solid,
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(251, 247, 239, 0.95);
  box-shadow: 0 14px 38px rgba(37, 35, 31, 0.12);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 98px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand img {
  width: 110px;
  height: auto;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 58px;
}

.primary-menu a,
.nav-cta,
.mobile-cta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-menu a {
  font-weight: 400;
}

.nav-cta,
.mobile-cta {
  font-weight: 800;
}

.primary-menu a {
  color: rgba(37, 35, 31, 0.78);
  transition: color 180ms ease;
}

.primary-menu a:hover,
.primary-menu a[aria-current="page"] {
  color: var(--moss);
  font-weight: 700;
}

.primary-menu a[aria-current="page"] {
  font-weight: 700;
}

.nav-cta,
.mobile-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--moss);
}

.nav-cta:hover,
.button-primary:hover {
  color: var(--moss);
  border-color: var(--moss);
  background: transparent;
  transform: translateY(-2px);
}

.hero .button-primary:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.74);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
  transition: top 170ms ease, transform 170ms ease, opacity 120ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 26px;
}

.mobile-cta {
  display: none;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 64px;
  color: var(--white);
  background: var(--moss-dark);
}

.hero-bg,
.hero::before {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.92), rgba(24, 41, 31, 0.58) 48%, rgba(24, 41, 31, 0.12)),
    url("../../images/home-hero-waterfall.png") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.92), rgba(24, 41, 31, 0.58) 48%, rgba(24, 41, 31, 0.12)),
    image-set(
      url("../../images/optimized/home-hero-waterfall-960.webp") type("image/webp"),
      url("../../images/home-hero-waterfall.png") type("image/png")
    ) center / cover no-repeat;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.06);
  will-change: transform;
}

.hero::before {
  content: "";
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.22));
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.image-band .eyebrow,
.cta-section .eyebrow {
  color: var(--stone);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 72px);
}

h2 {
  font-size: clamp(32px, 4.1vw, 52px);
}

h3 {
  font-size: 23px;
}

.hero p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 82px;
  max-width: 285px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(76, 74, 47, 0.92);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro-band {
  background: #f6f5f0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(290px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.about-story,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 70px;
  align-items: start;
}

.intro-heading h2 {
  max-width: 420px;
}

.intro-heading h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 28px;
  background: var(--moss);
}

.intro-copy {
  min-height: 150px;
  display: flex;
  align-items: center;
  padding-left: 34px;
  border-left: 1px solid rgba(48, 47, 43, 0.18);
}

.intro-facts {
  display: grid;
  gap: 22px;
}

.intro-facts article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.intro-facts span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 111, 75, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.intro-facts svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--moss);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-facts h3 {
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.intro-facts p {
  margin: 0;
  color: rgba(37, 35, 31, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.intro-grid p:not(.eyebrow),
.about-story p,
.contact-layout p,
.section-heading p:not(.eyebrow) {
  color: rgba(37, 35, 31, 0.68);
  font-size: 18px;
}

.intro-grid .intro-facts p {
  color: rgba(37, 35, 31, 0.66);
  font-size: 14px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.split-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.gallery-preview .split-heading > div {
  max-width: 720px;
}

.gallery-preview {
  background: #f6f5f0;
}

.gallery-preview .text-link {
  white-space: nowrap;
}

.text-link {
  color: var(--moss);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.services-strip {
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.service-grid,
.process-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.process article,
.value-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.52);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover,
.service-card:focus-visible,
.process article:hover,
.value-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.service-card span,
.process span,
.value-grid span {
  color: var(--clay);
  font-weight: 900;
}

.service-card-icon {
  width: 104px;
  height: 78px;
  display: block;
  margin: -27px auto 18px;
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  max-width: 230px;
  margin-top: 0;
}

.service-card p,
.process p,
.value-grid p {
  color: rgba(37, 35, 31, 0.66);
}

.image-band {
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.44)),
    url("../../images/homepage-oolite-feature.png") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.44)),
    image-set(
      url("../../images/optimized/homepage-oolite-feature-960.webp") type("image/webp"),
      url("../../images/homepage-oolite-feature.png") type("image/png")
    ) center / cover no-repeat;
  background-attachment: fixed;
}

.image-band div {
  max-width: 760px;
}

.image-band p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.95fr 0.95fr 1fr;
  grid-auto-rows: 178px;
  gap: 16px;
}

.masonry-grid picture > img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masonry-grid > picture:nth-child(1) {
  grid-row: span 2;
}

.masonry-grid > picture:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.masonry-grid > picture:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.masonry-grid > picture:nth-child(4) {
  grid-column: 3;
  grid-row: span 2;
}

.masonry-grid > picture:nth-child(5) {
  grid-column: 4;
  grid-row: 1;
}

.masonry-grid > picture:nth-child(6) {
  grid-column: 4;
  grid-row: 2;
}

.process-grid,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-band {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 188, 136, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(24, 41, 31, 0.86), rgba(25, 48, 34, 0.78)),
    url("../../images/process-band-bg.png") center / cover no-repeat,
    var(--moss-dark);
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 188, 136, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(24, 41, 31, 0.86), rgba(25, 48, 34, 0.78)),
    image-set(
      url("../../images/optimized/process-band-bg-960.webp") type("image/webp"),
      url("../../images/process-band-bg.png") type("image/png")
    ) center / cover no-repeat,
    var(--moss-dark);
}

.process-band-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.55fr);
  gap: 58px;
  align-items: center;
  padding: 56px 0;
}

.process-band-copy {
  max-width: 470px;
}

.process-band .eyebrow {
  color: var(--stone);
}

.process-band h2 {
  color: var(--white);
  font-size: clamp(30px, 3.8vw, 50px);
}

.process-band-copy p:not(.eyebrow) {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.process-band-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-band-features article {
  min-height: 210px;
  padding: 4px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.process-band-features svg {
  width: 42px;
  height: 42px;
  inline-size: 42px;
  block-size: 42px;
  max-width: 42px;
  max-height: 42px;
  display: block;
  flex: 0 0 auto;
  margin-bottom: 28px;
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-band-features h3 {
  margin-bottom: 14px;
  color: var(--stone);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-band-features p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.cta-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 82px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: 44px;
  color: var(--white);
  background: var(--moss);
}

.cta-section h2 {
  max-width: 760px;
}

.cta-section .button-primary {
  color: var(--moss);
  background: var(--white);
  border-color: var(--white);
}

.cta-section .button-primary:hover {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 0%, rgba(91, 111, 75, 0.16), transparent 32%),
    linear-gradient(135deg, #20231f, #151a18 58%, #101412);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px minmax(230px, 1.08fr) minmax(190px, 0.85fr) minmax(140px, 0.62fr) minmax(190px, 0.8fr);
  gap: 34px;
  align-items: start;
  padding: 54px 0 34px;
}

.footer-brand,
.footer-about,
.footer-links,
.footer-contact {
  min-height: 142px;
}

.footer-about,
.footer-links,
.footer-contact {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand img {
  width: 118px;
}

.footer-inner h2 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.1;
}

.footer-inner h3 {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.footer-inner a,
.copyright a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  transition: color 180ms ease;
}

.footer-inner a:hover,
.copyright a:hover {
  color: var(--stone);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.copyright {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  background: rgba(13, 17, 15, 0.72);
}

.copyright p {
  margin: 0;
}

.copyright nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.copyright > span {
  display: inline-block;
  margin-left: 8px;
}

.page-hero {
  min-height: 440px;
  display: grid;
  align-items: end;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.48)),
    url("../../images/oolite-bg.jpg") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.48)),
    image-set(
      url("../../images/optimized/oolite-bg-960.webp") type("image/webp"),
      url("../../images/oolite-bg.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 5vw, 64px);
}

.gallery-hero {
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.86), rgba(24, 41, 31, 0.46)),
    url("../../images/work/548514_cbda5b05a1ef4c609bc2e640794068fb~mv2_d_2048_1536_s_2.jpg") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.86), rgba(24, 41, 31, 0.46)),
    image-set(
      url("../../images/optimized/work/548514_cbda5b05a1ef4c609bc2e640794068fb~mv2_d_2048_1536_s_2-720.webp") type("image/webp"),
      url("../../images/work/548514_cbda5b05a1ef4c609bc2e640794068fb~mv2_d_2048_1536_s_2.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.5) 48%, rgba(24, 41, 31, 0.18)),
    url("../../images/services-hero-oolite.png") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.5) 48%, rgba(24, 41, 31, 0.18)),
    image-set(
      url("../../images/optimized/services-hero-oolite-960.webp") type("image/webp"),
      url("../../images/services-hero-oolite.png") type("image/png")
    ) center / cover no-repeat;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.9), rgba(24, 41, 31, 0.52) 48%, rgba(24, 41, 31, 0.2)),
    url("../../images/contact-hero-oolite.png") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.9), rgba(24, 41, 31, 0.52) 48%, rgba(24, 41, 31, 0.2)),
    image-set(
      url("../../images/optimized/contact-hero-oolite-960.webp") type("image/webp"),
      url("../../images/contact-hero-oolite.png") type("image/png")
    ) center / cover no-repeat;
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.5) 48%, rgba(24, 41, 31, 0.18)),
    url("../../images/about-hero-oolite.png") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.5) 48%, rgba(24, 41, 31, 0.18)),
    image-set(
      url("../../images/optimized/about-hero-oolite-960.webp") type("image/webp"),
      url("../../images/about-hero-oolite.png") type("image/png")
    ) center / cover no-repeat;
}

.service-list {
  display: grid;
  gap: 22px;
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.service-list img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 160px;
  gap: 14px;
}

.gallery-grid button {
  display: block;
  min-height: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: var(--moss);
  cursor: zoom-in;
}

.gallery-grid picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-grid button.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid button.is-tall {
  grid-row: span 2;
}

.gallery-grid button.is-wide {
  grid-column: span 2;
}

.gallery-grid img {
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-grid button:hover img {
  transform: scale(1.06);
  opacity: 0.82;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(24, 41, 31, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 20px;
  right: 22px;
  border: 0;
  color: var(--white);
  font-size: 42px;
  background: transparent;
  cursor: pointer;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 34px;
  background: rgba(24, 41, 31, 0.78);
  backdrop-filter: blur(12px);
}

.quote-modal[hidden] {
  display: none;
}

.quote-dialog {
  position: relative;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(48, 70, 52, 0.68), transparent 34%),
    linear-gradient(135deg, var(--moss-dark), #111313 58%, #0d0e0d);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.quote-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quote-close span {
  position: absolute;
  top: 21px;
  left: 10px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.quote-close span:first-child {
  transform: rotate(45deg);
}

.quote-close span:last-child {
  transform: rotate(-45deg);
}

.quote-copy {
  max-width: 530px;
}

.quote-copy .eyebrow {
  color: var(--stone);
}

.quote-copy h2 {
  margin: 0 0 22px;
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
}

.quote-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.quote-copy ul {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.quote-copy li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 850;
}

.quote-copy li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--stone);
}

.quote-copy li::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid var(--moss-dark);
  border-left: 2px solid var(--moss-dark);
  transform: rotate(-45deg);
}

.quote-form {
  gap: 18px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(48, 47, 43, 0.1);
  border-radius: 18px;
  background: var(--shell);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.28);
}

.quote-form-heading h3 {
  margin: 0;
  color: var(--ink) !important;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.quote-form-heading p {
  margin: 10px 0 4px;
  color: rgba(37, 35, 31, 0.7) !important;
}

.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form .button-primary {
  width: 100%;
}

.quote-form label {
  color: var(--ink) !important;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  color: var(--ink);
  background: var(--shell);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(37, 35, 31, 0.58);
  opacity: 1;
}

.contact-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--sand);
}

.contact-card strong,
.contact-card a {
  display: block;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--shell);
}

.form-note {
  margin: 0;
  color: var(--moss);
  font-weight: 800;
}

.form-note.is-error {
  color: #9b2c2c;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 640ms ease, transform 640ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (min-width: 961px) {
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(24, 41, 31, 0.92), rgba(24, 41, 31, 0.58) 48%, rgba(24, 41, 31, 0.12)),
      image-set(
        url("../../images/optimized/home-hero-waterfall-1600.webp") type("image/webp"),
        url("../../images/home-hero-waterfall.png") type("image/png")
      ) center / cover no-repeat;
  }

  .image-band {
    background:
      linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.44)),
      image-set(
        url("../../images/optimized/homepage-oolite-feature-1600.webp") type("image/webp"),
        url("../../images/homepage-oolite-feature.png") type("image/png")
      ) center / cover no-repeat;
    background-attachment: fixed;
  }

  .process-band {
    background:
      radial-gradient(circle at 18% 18%, rgba(214, 188, 136, 0.1), transparent 34%),
      linear-gradient(135deg, rgba(24, 41, 31, 0.86), rgba(25, 48, 34, 0.78)),
      image-set(
        url("../../images/optimized/process-band-bg-1600.webp") type("image/webp"),
        url("../../images/process-band-bg.png") type("image/png")
      ) center / cover no-repeat,
      var(--moss-dark);
  }

  .page-hero {
    background:
      linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.48)),
      image-set(
        url("../../images/optimized/oolite-bg-1600.webp") type("image/webp"),
        url("../../images/oolite-bg.jpg") type("image/jpeg")
      ) center / cover no-repeat;
  }

  .gallery-hero {
    background:
      linear-gradient(90deg, rgba(24, 41, 31, 0.86), rgba(24, 41, 31, 0.46)),
      image-set(
        url("../../images/optimized/work/548514_cbda5b05a1ef4c609bc2e640794068fb~mv2_d_2048_1536_s_2-1600.webp") type("image/webp"),
        url("../../images/work/548514_cbda5b05a1ef4c609bc2e640794068fb~mv2_d_2048_1536_s_2.jpg") type("image/jpeg")
      ) center / cover no-repeat;
  }

  .services-hero {
    background:
      linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.5) 48%, rgba(24, 41, 31, 0.18)),
      image-set(
        url("../../images/optimized/services-hero-oolite-1600.webp") type("image/webp"),
        url("../../images/services-hero-oolite.png") type("image/png")
      ) center / cover no-repeat;
  }

  .contact-hero {
    background:
      linear-gradient(90deg, rgba(24, 41, 31, 0.9), rgba(24, 41, 31, 0.52) 48%, rgba(24, 41, 31, 0.2)),
      image-set(
        url("../../images/optimized/contact-hero-oolite-1600.webp") type("image/webp"),
        url("../../images/contact-hero-oolite.png") type("image/png")
      ) center / cover no-repeat;
  }

  .about-hero {
    background:
      linear-gradient(90deg, rgba(24, 41, 31, 0.88), rgba(24, 41, 31, 0.5) 48%, rgba(24, 41, 31, 0.18)),
      image-set(
        url("../../images/optimized/about-hero-oolite-1600.webp") type("image/webp"),
        url("../../images/about-hero-oolite.png") type("image/png")
      ) center / cover no-repeat;
  }
}

@media (max-width: 920px) {
  .nav-shell {
    display: flex;
    justify-content: space-between;
    min-height: 82px;
    width: min(100% - 32px, 1180px);
  }

  .brand img {
    width: 92px;
  }

  .menu-toggle {
    z-index: 121;
    display: block;
  }

  .primary-menu {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    z-index: 120;
    display: grid;
    gap: 0;
    padding: 16px;
    background: rgba(251, 247, 239, 0.98);
    box-shadow: 0 24px 60px rgba(37, 35, 31, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-menu a {
    min-height: 54px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    display: none;
  }

  .mobile-cta {
    display: flex !important;
    margin-top: 14px;
    color: var(--white) !important;
    background: var(--moss);
  }

  .menu-open .primary-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-open .menu-toggle span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .hero {
    min-height: 600px;
    padding-top: 130px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 26px;
  }

  .intro-grid,
  .about-story,
  .contact-layout,
  .service-list article,
  .process-band-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 30px;
  }

  .intro-copy {
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .intro-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .intro-facts article {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .quote-modal {
    padding: 18px;
  }

  .quote-dialog {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 74px;
    border-radius: 24px;
  }

  .quote-copy {
    max-width: none;
  }

  .service-grid,
  .process-grid,
  .value-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-auto-rows: 180px;
  }

  .gallery-grid button {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-grid button.is-featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .process-band-inner {
    gap: 34px;
  }

  .process-band-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .process-band-features article:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .process-band-features svg {
    inline-size: 38px;
    block-size: 38px;
    max-width: 38px;
    max-height: 38px;
  }

  .footer-inner {
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-about,
  .footer-links,
  .footer-contact {
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    max-width: 420px;
  }

  .footer-social,
  .copyright,
  .copyright nav {
    justify-content: center;
  }

  .copyright {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 32px, 1180px);
    padding: 58px 0;
  }

  .hero,
  .page-hero {
    min-height: 560px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero {
    min-height: 480px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .split-heading,
  .cta-section {
    display: grid;
  }

  .service-grid,
  .process-grid,
  .value-grid,
  .intro-facts,
  .process-band-features,
  .gallery-grid,
  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-grid button,
  .gallery-grid button.is-featured,
  .gallery-grid button.is-tall,
  .gallery-grid button.is-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .intro-facts article {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .quote-modal {
    padding: 10px;
  }

  .quote-dialog {
    padding: 66px 18px 20px;
    border-radius: 18px;
  }

  .quote-copy h2 {
    font-size: 36px;
  }

  .quote-copy > p {
    font-size: 16px;
  }

  .quote-copy ul {
    gap: 12px;
    margin-top: 24px;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    grid-auto-rows: 250px;
  }

  .masonry-grid > picture {
    grid-column: auto !important;
    grid-row: span 1 !important;
  }

  .image-band {
    background-attachment: scroll;
  }

  .process-band-inner {
    width: min(100% - 32px, 1180px);
    padding: 48px 0;
  }

  .process-band-features article {
    min-height: auto;
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .process-band-features svg {
    margin-bottom: 16px;
  }

  .cta-section {
    width: min(100% - 32px, 1180px);
    padding: 30px;
    margin-bottom: 58px;
  }

  .copyright {
    padding: 18px 16px;
  }

  .copyright nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.phone-reveal {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.contact-card .phone-reveal {
  display: block;
}

.footer-contact .phone-reveal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  color: var(--white);
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-contact .phone-reveal:hover {
  color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}

