@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Libre+Baskerville:wght@400;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --charcoal: #1c1915;
  --charcoal-soft: #2a251f;
  --ink: #2c261f;
  --cream: #f5efe3;
  --parchment: #f8efdc;
  --parchment-deep: #e7dcc8;
  --stone: #cfc0a8;
  --sand: #b6a78d;
  --moss: #536745;
  --moss-dark: #1f2a1d;
  --lichen: #9b8655;
  --lichen-soft: #c0aa78;
  --muted: #736858;
  --line-light: rgba(44, 38, 31, 0.16);
  --line-dark: rgba(245, 239, 227, 0.16);
  --max-width: 1180px;
  --radius: 18px;
  --page-hero-image: none;
  --page-hero-position: center center;
  --page-hero-size: cover;
  --page-hero-moon-glow: radial-gradient(circle at 32% 20%, transparent 0, transparent 18rem);
  --page-surface-rgb: 241, 230, 211;
  --page-footer-image: url("images/frog-pond-footer.png");
  --page-footer-position: center center;
  --page-footer-size: cover;
  --hero-fade-height: clamp(150px, 16vw, 230px);
}

.home-page {
  --page-footer-image: url("images/frog-pond-footer.png");
  --page-footer-position: center 78px;
  --page-footer-size: cover;
}

.about-page {
  --page-hero-image: url("images/about-hero.png");
  --page-hero-position: center 28%;
  --page-hero-moon-glow: radial-gradient(circle at 31% 19%, rgba(207, 225, 255, 0.2), rgba(207, 225, 255, 0.08) 7rem, transparent 19rem);
  --page-footer-image: url("images/about-footer.png");
  --page-footer-position: center 78px;
  --page-footer-size: cover;
}

.services-page {
  --page-hero-image: url("images/services-hero.png");
  --page-hero-position: center 18%;
  --page-hero-moon-glow: radial-gradient(circle at 21% 27%, rgba(207, 225, 255, 0.22), rgba(207, 225, 255, 0.08) 7rem, transparent 18rem);
  --page-footer-image: url("images/services-footer.png");
  --page-footer-position: center 78px;
  --page-footer-size: cover;
}
.services-page .page-hero::before {
  inset: 0;
}
.projects-page {
  --page-hero-image: url("images/approach-hero.png");
  --page-hero-position: center 46%;
  --page-footer-image: url("images/approach-footer.png");
  --page-footer-position: center 78px;
  --page-footer-size: cover;
}

.contact-page {
  --page-hero-image: url("images/contact-hero.png");
  --page-hero-position: center 48%;
  --page-hero-moon-glow: radial-gradient(circle at 66% 18%, rgba(207, 225, 255, 0.2), rgba(207, 225, 255, 0.08) 7rem, transparent 18rem);
  --page-footer-image: url("images/contact-footer.png");
  --page-footer-position: center 78px;
  --page-footer-size: cover;
}



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(83, 103, 69, 0.12), transparent 34rem),
    linear-gradient(180deg, #f1e6d3 0%, #d9c9ad 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

main {
  position: relative;
  isolation: isolate;
  background-color: #10160f;
  background-image: var(--page-footer-image);
  background-position: var(--page-footer-position);
  background-size: var(--page-footer-size);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 25, 21, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(192, 170, 120, 0.62);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--lichen-soft);
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-mark::before {
  inset: 8px;
  border: 1px solid rgba(83, 103, 69, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 35% 28%, rgba(245, 239, 227, 0.18), transparent 38%),
    rgba(83, 103, 69, 0.14);
}

.brand-mark::after {
  width: 10px;
  height: 10px;
  right: 9px;
  bottom: 9px;
  border-radius: 999px 999px 999px 0;
  background: rgba(83, 103, 69, 0.46);
  transform: rotate(-22deg);
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: rgba(245, 239, 227, 0.78);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cream);
}

.nav-cta {
  border: 1px solid rgba(196, 168, 111, 0.74);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  background: transparent;
  border-radius: 14px;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
}

/* Shared layout */

.container,
.page-hero-inner,
.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

body:not(.home-page) main > .section:not(.footer-scene) {
  padding: 96px 0;
}

main > .section {
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--cream);
}

main > .section:not(.footer-scene):not(.section-dark) {
  background: transparent;
}

.page-hero:not(.home-hero) + .section {
  position: relative;
  z-index: 1;
  padding-top: 150px;
}

.page-hero:not(.home-hero) + .section:not(.footer-scene):not(.section-dark) {
  background: transparent;
}

.page-hero:not(.home-hero) + .section::before {
  content: none;
}

.page-hero:not(.home-hero) + .section > .container {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: transparent;
  color: var(--cream);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(660px, calc(100svh - 78px), 820px);
  background: linear-gradient(135deg, #1a1713 0%, #2f2a23 100%);
  color: var(--cream);
  margin-bottom: 0;
  padding: 110px 0 clamp(150px, 14vw, 220px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(
      90deg,
      rgba(18, 17, 13, 0.48) 0%,
      rgba(18, 17, 13, 0.3) 34%,
      rgba(18, 17, 13, 0.09) 64%,
      rgba(18, 17, 13, 0.02) 100%
    ),
    linear-gradient(180deg, rgba(10, 12, 9, 0.18) 0%, transparent 34%, rgba(10, 12, 9, 0.14) 100%),
    var(--page-hero-moon-glow),
    radial-gradient(circle at 78% 16%, rgba(158, 134, 85, 0.08), transparent 28rem),
    radial-gradient(circle at 82% 24%, rgba(255, 244, 205, 0.04) 0 1px, transparent 1px),
    radial-gradient(circle at 28% 74%, rgba(196, 168, 111, 0.05) 0 1px, transparent 1px),
    var(--page-hero-image) var(--page-hero-position) / var(--page-hero-size) no-repeat;
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    38px 38px,
    52px 52px,
    var(--page-hero-size);
  transform: translate3d(0, var(--hero-parallax-y, 0px), 0);
  will-change: transform;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 118px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 6, 0.04) 52%, rgba(6, 9, 6, 0.2) 100%);
}

.page-hero-inner {
  max-width: 930px;
  position: relative;
  z-index: 1;
}

.page-hero:not(.home-hero) h1,
.page-hero:not(.home-hero) p {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lichen);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.page-hero .eyebrow {
  color: var(--lichen-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 7.2vw, 6.7rem);
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  letter-spacing: -0.055em;
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  letter-spacing: -0.035em;
}

p {
  margin: 0;
}

.page-hero p,
.section-heading p {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(245, 239, 227, 0.72);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading p {
  color: var(--muted);
}

.section-dark p {
  color: rgba(245, 239, 227, 0.72);
}

.split,
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  align-items: start;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  border: 1px solid rgba(77, 65, 45, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 250, 239, 0.78), rgba(231, 220, 200, 0.6)),
    var(--parchment);
  padding: 28px;
  box-shadow: 0 16px 42px rgba(39, 35, 29, 0.08);
}

.card.dark {
  border-color: rgba(245, 239, 227, 0.14);
  background: rgba(245, 239, 227, 0.045);
}

.card-label {
  display: block;
  margin-bottom: 16px;
  color: var(--lichen);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card p,
.card li {
  color: var(--muted);
}

.card.dark p,
.card.dark li {
  color: rgba(245, 239, 227, 0.68);
}

.fit-card {
  align-self: center;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.7), rgba(231, 220, 200, 0.54)),
    rgba(245, 239, 227, 0.58);
}

.fit-card h3 {
  margin-bottom: 18px;
}

.fit-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
}

.fit-card li::marker {
  color: var(--lichen);
}

.services-cta {
  position: relative;
  overflow: hidden;
  border-top: 0;
}

.services-cta::before {
  content: none;
}

.services-cta .container {
  position: relative;
  z-index: 1;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.button-primary {
  background: var(--charcoal);
  color: var(--cream);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 226, 0.08),
    0 14px 28px rgba(39, 35, 29, 0.14);
}

.section-dark .button-primary,
.page-hero .button-primary {
  background: var(--cream);
  color: var(--charcoal);
  border-color: rgba(196, 168, 111, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 14px 30px rgba(0, 0, 0, 0.24);
}

.button-secondary {
  border-color: rgba(245, 239, 227, 0.28);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 248, 226, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button-primary:hover {
    border-color: rgba(196, 168, 111, 0.58);
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 226, 0.14),
      0 18px 34px rgba(39, 35, 29, 0.18);
  }

  .section-dark .button-primary:hover,
  .page-hero .button-primary:hover {
    background: #fff8ea;
    border-color: rgba(196, 168, 111, 0.58);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      0 18px 36px rgba(0, 0, 0, 0.3);
  }

  .button-secondary:hover {
    border-color: rgba(196, 168, 111, 0.56);
    color: var(--cream);
    box-shadow: inset 0 1px 0 rgba(255, 248, 226, 0.14);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 18px;
}

.hidden-field {
  display: none;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.required-label {
  margin-left: 6px;
  color: rgba(115, 104, 88, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: rgba(245, 239, 227, 0.72);
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
}

.field-group textarea {
  min-height: 150px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: rgba(169, 136, 79, 0.75);
}

.form-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Closing section */

.closing-section {
  padding-top: 0;
  padding-bottom: 92px;
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 34px;
}

.closing-panel h2 {
  max-width: 660px;
}

.closing-panel p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.closing-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.closing-actions span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Lower image content */

main > .section:not(.footer-scene) > .container {
  position: relative;
  z-index: 1;
}

main > .section:not(.footer-scene) h2,
main > .section:not(.footer-scene) h3 {
  color: #fff4df;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.52);
}

main > .section:not(.footer-scene) p:not(.eyebrow),
main > .section:not(.footer-scene) .section-heading p,
main > .section:not(.footer-scene) .card p,
main > .section:not(.footer-scene) .card li {
  color: rgba(245, 239, 227, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

main > .section:not(.footer-scene) .eyebrow,
main > .section:not(.footer-scene) .card-label,
main > .section:not(.footer-scene) .project-detail-list h4,
main > .section:not(.footer-scene) .project-card-toggle {
  color: var(--lichen-soft);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

main > .section:not(.footer-scene) .card {
  border-color: rgba(245, 239, 227, 0.14);
  background:
    linear-gradient(135deg, rgba(14, 18, 13, 0.42), rgba(15, 22, 17, 0.24)),
    rgba(12, 17, 12, 0.18);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

main > .section:not(.footer-scene) .card::before {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 252, 238, 0.1), transparent 12rem),
    radial-gradient(circle at 92% 94%, rgba(83, 103, 69, 0.14), transparent 11rem),
    repeating-linear-gradient(
      104deg,
      rgba(255, 248, 226, 0.016) 0 1px,
      transparent 1px 16px
    );
  opacity: 0.46;
}

main > .section:not(.footer-scene) .button-primary {
  background: var(--cream);
  color: var(--charcoal);
  border-color: rgba(245, 239, 227, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

/* Footer image scene */

.footer-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: inset(0);
  min-height: clamp(560px, 78vh, 840px);
  margin-top: -1px;
  padding: clamp(140px, 14vw, 196px) 0 clamp(124px, 12vw, 172px);
  background: transparent;
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--page-footer-image) var(--page-footer-position) / var(--page-footer-size) no-repeat;
  transform: translateZ(0);
}

.footer-scene::after {
  content: none;
}

.footer-scene > .container {
  position: relative;
  z-index: 1;
}

.footer-scene h2,
.footer-scene h3 {
  color: #fff4df;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.54);
}

.footer-scene p:not(.eyebrow),
.footer-scene .section-heading p,
.footer-scene .card p,
.footer-scene .card li,
.footer-scene .contact-next-card p,
.footer-scene .closing-actions span {
  color: rgba(245, 239, 227, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.footer-scene .eyebrow,
.footer-scene .card-label,
.footer-scene .project-detail-list h4,
.footer-scene .contact-next-card span {
  color: var(--lichen-soft);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.footer-scene .card,
.footer-scene .contact-form-card,
.footer-scene .contact-next-card {
  border-color: rgba(245, 239, 227, 0.16);
  background:
    linear-gradient(135deg, rgba(15, 20, 14, 0.52), rgba(15, 22, 17, 0.28)),
    rgba(12, 17, 12, 0.22);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.footer-scene .card::before {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 252, 238, 0.1), transparent 12rem),
    radial-gradient(circle at 92% 94%, rgba(83, 103, 69, 0.14), transparent 11rem),
    repeating-linear-gradient(
      104deg,
      rgba(255, 248, 226, 0.018) 0 1px,
      transparent 1px 16px
    );
  opacity: 0.5;
}

.footer-scene .contact-form-card::after {
  border-color: rgba(245, 239, 227, 0.12);
  background:
    repeating-linear-gradient(
      104deg,
      rgba(255, 248, 226, 0.018) 0 1px,
      transparent 1px 16px
    );
  opacity: 0.5;
}

.footer-scene .field-group label {
  color: rgba(245, 239, 227, 0.84);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.footer-scene .required-label {
  color: rgba(245, 239, 227, 0.58);
}

.footer-scene .form-note {
  color: rgba(245, 239, 227, 0.7);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.footer-scene .field-group input,
.footer-scene .field-group textarea,
.footer-scene .field-group select {
  border-color: rgba(245, 239, 227, 0.26);
  background: rgba(255, 250, 238, 0.86);
}

.footer-scene .button-primary {
  background: var(--cream);
  color: var(--charcoal);
  border-color: rgba(245, 239, 227, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 16px 34px rgba(0, 0, 0, 0.26);
}

@media (hover: hover) and (pointer: fine) {
  .footer-scene .card:hover {
    transform: none;
    border-color: rgba(245, 239, 227, 0.22);
    box-shadow:
      0 30px 74px rgba(0, 0, 0, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

/* Footer */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: inset(0);
  min-height: clamp(320px, 40vh, 440px);
  background: #0d120c;
  color: var(--cream);
  margin-top: -1px;
  padding: clamp(116px, 10vw, 154px) 0 36px;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 12, 8, 0.36) 0%,
      rgba(8, 12, 8, 0.58) 40%,
      rgba(8, 12, 8, 0.84) 100%
    ),
    linear-gradient(
      90deg,
      rgba(6, 9, 6, 0.7) 0%,
      rgba(6, 9, 6, 0.48) 48%,
      rgba(6, 9, 6, 0.3) 100%
    ),
    radial-gradient(circle at 24% 18%, rgba(204, 223, 255, 0.1), transparent 24rem),
    radial-gradient(circle at 22% 28%, rgba(255, 248, 226, 0.055) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 70%, rgba(83, 103, 69, 0.075) 0 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    36px 36px,
    52px 52px;
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .site-footer::before {
    position: fixed;
  }
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-dark);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.footer-top p {
  max-width: 520px;
  color: rgba(245, 239, 227, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(245, 239, 227, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  color: rgba(245, 239, 227, 0.48);
  font-size: 0.86rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

/* Mobile */

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px 26px;
    background: rgba(20, 17, 13, 0.96);
    border: 1px solid rgba(245, 239, 227, 0.12);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .nav-cta {
    width: auto;
    margin-top: 4px;
  }

  .split,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .closing-panel {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    justify-items: start;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .page-hero-inner,
  .footer-inner,
  .header-inner {
    width: min(100% - 28px, var(--max-width));
  }



  .section {
    padding: 76px 0;
  }

  .page-hero {
    min-height: calc(100svh - 78px);
    margin-bottom: 0;
    padding: 104px 0 164px;
    display: grid;
    align-items: center;
  }

  .page-hero:not(.home-hero)::before {
    inset: -12%;
    opacity: 1;
    background:
      linear-gradient(
        90deg,
        rgba(18, 17, 13, 0.58) 0%,
        rgba(18, 17, 13, 0.36) 48%,
        rgba(18, 17, 13, 0.18) 100%
      ),
      linear-gradient(180deg, rgba(10, 12, 9, 0.24) 0%, transparent 42%, rgba(10, 12, 9, 0.18) 100%),
      var(--page-hero-moon-glow),
      radial-gradient(circle at 78% 16%, rgba(158, 134, 85, 0.08), transparent 28rem),
      radial-gradient(circle at 82% 24%, rgba(255, 244, 205, 0.04) 0 1px, transparent 1px),
      radial-gradient(circle at 28% 74%, rgba(196, 168, 111, 0.05) 0 1px, transparent 1px),
      var(--page-hero-image) var(--page-hero-position) / var(--page-hero-size) no-repeat;
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      38px 38px,
      52px 52px,
      var(--page-hero-size);
  }

  .page-hero:not(.home-hero) p {
    color: rgba(245, 239, 227, 0.84);
  }

  .page-hero:not(.home-hero) + .section {
    padding-top: 136px;
  }

  .page-hero:not(.home-hero) + .section::before {
    top: -132px;
    height: 210px;
  }

  .site-footer {
    margin-top: -1px;
    min-height: 300px;
    padding-top: 96px;
  }

  .site-footer::before {
    background: var(--page-footer-image) var(--page-footer-position) / var(--page-footer-size) no-repeat;
  }

  .footer-scene {
    min-height: auto;
    padding: 108px 0 104px;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .card {
    padding: 26px 22px;
  }

  .card p,
  .card li {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .section-heading p,
  .page-hero p,
  .hero p {
    line-height: 1.65;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Soft neutral card polish */

.service-card,
.approach-card,
.project-card,
.process-card,
.value-card,
.info-card,
.card {
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.service-card > *,
.approach-card > *,
.project-card > *,
.process-card > *,
.value-card > *,
.info-card > *,
.card > * {
  position: relative;
  z-index: 1;
}

.service-card::before,
.approach-card::before,
.project-card::before,
.process-card::before,
.value-card::before,
.info-card::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 252, 238, 0.58), transparent 12rem),
    radial-gradient(circle at 92% 94%, rgba(83, 103, 69, 0.08), transparent 11rem),
    repeating-linear-gradient(
      104deg,
      rgba(80, 62, 38, 0.022) 0 1px,
      transparent 1px 16px
    );
  opacity: 0.58;
  transition: opacity 220ms ease;
}

.card.dark::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 252, 238, 0.1), transparent 12rem),
    radial-gradient(circle at 92% 94%, rgba(83, 103, 69, 0.12), transparent 11rem),
    repeating-linear-gradient(
      104deg,
      rgba(255, 248, 226, 0.018) 0 1px,
      transparent 1px 16px
    );
  opacity: 0.52;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .approach-card:hover,
  .project-card:hover,
  .process-card:hover,
  .value-card:hover,
  .info-card:hover,
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(39, 35, 29, 0.12);
    border-color: rgba(86, 103, 69, 0.28);
  }

  .service-card:hover::before,
  .approach-card:hover::before,
  .project-card:hover::before,
  .process-card:hover::before,
  .value-card:hover::before,
  .info-card:hover::before,
  .card:hover::before {
    opacity: 0.86;
  }
}

/* Subtle stone texture layer */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(183, 145, 83, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255, 249, 236, 0.06) 0 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%, rgba(0, 0, 0, 0.035));
  background-size:
    34px 34px,
    46px 46px,
    100% 100%;
  mix-blend-mode: multiply;
}

@media (max-width: 640px) {
  .about-page,
  .services-page,
  .projects-page,
  .contact-page {
    --page-hero-position: center 58%;
  }
}

/* Homepage cottage hero image */

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: clamp(96px, 10vw, 142px) 0 clamp(86px, 9vw, 128px);
  background:
    url("images/cottage-hero.png") center calc(50% + 64px) / cover no-repeat,
    linear-gradient(135deg, #211a13 0%, #3b2e22 100%);
  color: var(--cream);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(
      90deg,
      rgba(15, 11, 8, 0.32) 0%,
      rgba(15, 11, 8, 0.24) 30%,
      rgba(15, 11, 8, 0.08) 58%,
      rgba(15, 11, 8, 0.02) 100%
    ),
    linear-gradient(
      180deg,
      rgba(20, 14, 9, 0.04) 0%,
      rgba(20, 14, 9, 0) 42%,
      rgba(20, 14, 9, 0.1) 100%
    ),
    radial-gradient(circle at 74% 44%, rgba(255, 186, 104, 0.1), transparent 24rem),
    radial-gradient(circle at 18% 58%, rgba(83, 103, 69, 0.06), transparent 24rem);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 68%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(180deg, transparent 72%, rgba(8, 12, 8, 0.04) 88%, rgba(8, 12, 8, 0.18) 100%);
}

.home-hero .page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 40px));
  max-width: var(--max-width);
  min-height: clamp(520px, 62vh, 760px);
  display: grid;
  align-content: center;
}

.home-hero .page-hero-inner::before {
  content: none;
}

.home-hero h1 {
  max-width: 650px;
  color: #fff4df;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.46);
}

.home-hero p {
  max-width: 570px;
  color: rgba(255, 244, 223, 0.86);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.46);
}

.home-hero .hero-actions {
  margin-top: 36px;
}

@supports (background-attachment: fixed) {
  @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .page-hero {
      background-attachment: scroll, scroll, scroll, scroll, scroll;
    }

    .home-hero {
      background-attachment: fixed, scroll;
    }
  }
}

.services-preview {
  position: relative;
  isolation: isolate;
  padding-top: 108px;
  padding-bottom: 58px;
  background: transparent;
}

.services-preview::before {
  content: none;
  position: absolute;
  left: 0;
  right: 0;
  top: -82px;
  z-index: 0;
  height: 82px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 12, 8, 0), rgba(8, 12, 8, 0.08) 72%, rgba(8, 12, 8, 0.14) 100%);
}

.services-preview .container {
  position: relative;
  z-index: 1;
}

.closing-section:not(.footer-scene) {
  padding-top: 0;
}

@media (max-width: 1023px) {
  main {
    background-color: #10160f;
    background-image: none;
    background-attachment: scroll;
  }

  .page-hero {
    background-attachment: scroll;
  }

  .footer-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--page-footer-image) center center / cover no-repeat;
  }

  .site-footer::before {
    position: absolute;
    background: var(--page-footer-image) center center / cover no-repeat;
  }
}

@media (max-width: 900px) {
  .home-hero {
    min-height: calc(100vh - 78px);
    background-position: 58% 54%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #10160f;
    background-attachment: scroll;
  }

  .home-hero::before {
    background:
      radial-gradient(circle at 24% 16%, rgba(207, 225, 255, 0.14), rgba(207, 225, 255, 0.05) 7rem, transparent 18rem),
      linear-gradient(
        90deg,
        rgba(20, 14, 9, 0.54) 0%,
        rgba(20, 14, 9, 0.38) 48%,
        rgba(20, 14, 9, 0.14) 100%
      ),
      linear-gradient(
        180deg,
        rgba(20, 14, 9, 0.16) 0%,
        rgba(20, 14, 9, 0.02) 42%,
        rgba(20, 14, 9, 0.18) 100%
      ),
      radial-gradient(circle at 62% 42%, rgba(255, 190, 112, 0.14), transparent 22rem);
  }

  .home-hero .page-hero-inner {
    min-height: 560px;
  }

  .home-hero .page-hero-inner::before {
    left: -24px;
    width: min(650px, 86vw);
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: calc(100vh - 78px);
    padding: 82px 0 96px;
    background-position: 58% 54%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #10160f;
    background-attachment: scroll;
  }

  .home-hero::before {
    background:
      radial-gradient(circle at 28% 14%, rgba(207, 225, 255, 0.12), rgba(207, 225, 255, 0.04) 6rem, transparent 16rem),
      linear-gradient(
        90deg,
        rgba(20, 14, 9, 0.62) 0%,
        rgba(20, 14, 9, 0.46) 58%,
        rgba(20, 14, 9, 0.2) 100%
      ),
      linear-gradient(
        180deg,
        rgba(20, 14, 9, 0.22) 0%,
        rgba(20, 14, 9, 0.04) 36%,
        rgba(20, 14, 9, 0.28) 100%
      );
  }

  .home-hero .page-hero-inner {
    min-height: 520px;
    width: min(100% - 28px, var(--max-width));
  }

  .home-hero .page-hero-inner::before {
    left: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 44px);
    border-radius: 24px;
  }

  .home-hero p {
    font-size: 1rem;
  }
}

/* Homepage frog-pond night band */

.goal-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: inset(0);
  margin-top: -1px;
  padding: 112px 0 58px;
  border: 0;
  background: transparent;
}

.goal-section::before {
  content: none;
}

.goal-section::after {
  content: none;
}

.goal-section .container {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(245, 239, 227, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 20, 19, 0.32), rgba(15, 25, 22, 0.16)),
    rgba(14, 18, 16, 0.14);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.goal-section .split {
  align-items: center;
}

@media (max-width: 900px) {
  .goal-section {
    padding: 86px 0 50px;
    background-position: center center;
    background-attachment: scroll;
  }
}

/* Gentle logo hover effect */

.brand-mark {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark {
    transform: rotate(-3deg) scale(1.04);
    border-color: rgba(192, 170, 120, 0.74);
    background-color: rgba(83, 103, 69, 0.14);
    box-shadow:
      0 0 0 4px rgba(83, 103, 69, 0.12),
      0 10px 22px rgba(12, 15, 10, 0.2);
  }
}

/* Projects CTA panel */

.projects-cta-section:not(.footer-scene) {
  padding-top: 0;
}

.projects-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 42px;
}

.projects-cta-panel .section-heading {
  margin-bottom: 0;
}

.projects-cta-panel p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.02rem;
}

.projects-cta-section:not(.footer-scene) .projects-cta-panel p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 920px) {
  .projects-cta-panel {
    grid-template-columns: 1fr;
  }
}

/* Contact page polish */

.contact-section:not(.footer-scene) {
  padding-top: 96px;
}

.contact-intro {
  position: relative;
}

.contact-intro h2 {
  max-width: 520px;
}

.contact-intro p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 18px;
  font-size: 1.02rem;
}

.contact-section:not(.footer-scene) .contact-intro p:not(.eyebrow) {
  color: var(--muted);
}

.contact-email {
  padding-top: 18px;
}

.contact-form-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(77, 65, 45, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 252, 239, 0.72), transparent 15rem),
    linear-gradient(135deg, rgba(255, 248, 232, 0.82), rgba(231, 220, 200, 0.58)),
    var(--parchment);
  box-shadow: 0 18px 48px rgba(39, 35, 29, 0.08);
}

.contact-form-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border-radius: calc(var(--radius) - 7px);
  border: 1px solid rgba(83, 103, 69, 0.14);
  background:
    repeating-linear-gradient(
      104deg,
      rgba(80, 62, 38, 0.024) 0 1px,
      transparent 1px 16px
    );
  opacity: 0.72;
}

.contact-form-card > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 920px) {
  .contact-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-section:not(.footer-scene) {
    padding-top: 76px;
  }

  .contact-form-card {
    padding: 26px 22px;
  }
}

/* Expandable project cards */

.projects-list .grid-3 {
  align-items: start;
}

.project-card summary {
  display: block;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.project-card summary::-webkit-details-marker {
  display: none;
}

.project-card-toggle {
  display: inline-flex;
  margin-top: 18px;
  color: var(--lichen);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
}

.project-card-toggle::after {
  content: "+";
  margin-left: 8px;
}

.project-card[open] .project-card-toggle::after {
  content: "–";
}

.project-details {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 340ms ease,
    opacity 240ms ease,
    margin-top 240ms ease,
    padding-top 240ms ease;
}

.project-card[open] .project-details {
  margin-top: 22px;
  max-height: 820px;
  padding-top: 20px;
  border-top: 1px solid rgba(169, 136, 79, 0.24);
  opacity: 1;
}

.project-details p {
  font-size: 0.96rem;
}

.project-details ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 1.15rem;
}

.project-details li::marker {
  color: var(--lichen);
}

/* Keep expandable project cards steady while opening */

@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: none;
  }
}

.project-card {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.project-card:focus,
.project-card summary:focus {
  outline: none;
}

.project-card:focus-visible {
  outline: 2px solid rgba(196, 168, 111, 0.65);
  outline-offset: 4px;
}

/* Project detail notes */

.project-detail-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.project-detail-list div {
  padding-top: 14px;
  border-top: 1px solid rgba(169, 136, 79, 0.18);
}

.project-detail-list h4 {
  margin: 0 0 6px;
  color: var(--lichen);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-detail-list p {
  margin: 0;
}

/* Expandable services cards */

.services-list .grid-4 {
  align-items: start;
}

/* Services two-column expandable layout */

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.service-column {
  display: grid;
  gap: 22px;
  align-items: start;
}

.service-option-card {
  width: 100%;
}

@media (max-width: 760px) {
  .service-columns {
    grid-template-columns: 1fr;
  }
}

/* Homepage featured build */

.featured-build-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 58px;
  padding-bottom: 124px;
  background: transparent;
}

.featured-build-section::before {
  content: none;
}

.featured-build-section .container {
  position: relative;
  z-index: 1;
}

.featured-build-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 42px;
  border-color: rgba(245, 239, 227, 0.16);
  background:
    linear-gradient(135deg, rgba(14, 18, 13, 0.42), rgba(15, 22, 17, 0.24)),
    rgba(12, 17, 12, 0.18);
  backdrop-filter: blur(12px);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.featured-build-panel h2 {
  max-width: 620px;
}

.featured-build-panel > div > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(245, 239, 227, 0.82);
  font-size: 1.02rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.featured-build-details {
  display: grid;
  gap: 18px;
}

.featured-build-details div {
  padding-top: 14px;
  border-top: 1px solid rgba(169, 136, 79, 0.18);
}

.featured-build-details span {
  display: block;
  margin-bottom: 6px;
  color: var(--lichen-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.featured-build-details p {
  color: rgba(245, 239, 227, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.featured-build-details .button {
  justify-self: start;
  margin-top: 8px;
}

@media (max-width: 920px) {
  .featured-build-panel {
    grid-template-columns: 1fr;
  }
}

/* Contact next steps */

.contact-next-card {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(245, 239, 227, 0.44);
  box-shadow: 0 14px 34px rgba(39, 35, 29, 0.06);
}

.contact-next-card h3 {
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.contact-next-card div {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(169, 136, 79, 0.18);
}

.contact-next-card div + div {
  margin-top: 16px;
}

.contact-next-card span {
  color: var(--lichen);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-next-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Approach section: cottage threshold */

.home-hero + .section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -80px;
  padding-top: clamp(126px, 10vw, 158px);
  padding-bottom: clamp(86px, 7vw, 108px);
  background: transparent;
}

.home-hero + .section::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    repeating-linear-gradient(
      102deg,
      rgba(64, 48, 29, 0.036) 0 1px,
      transparent 1px 18px
    ),
    radial-gradient(circle at 18% 24%, rgba(255, 248, 224, 0.22), transparent 24rem),
    radial-gradient(circle at 82% 74%, rgba(60, 79, 49, 0.12), transparent 24rem);
}

.home-hero + .section::after {
  content: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: 126px;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(16, 14, 10, 0),
      rgba(8, 12, 8, 0.06) 44%,
      rgba(8, 12, 8, 0.12) 78%,
      transparent 100%
    );
}

.home-hero + .section .container {
  position: relative;
  z-index: 1;
}

.home-hero + .section .section-heading {
  max-width: 820px;
}

.home-hero + .section .section-heading h2 {
  color: #fff4df;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.52);
}

.home-hero + .section .section-heading p {
  color: rgba(245, 239, 227, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.approach-grid {
  align-items: stretch;
  gap: 30px;
}

.home-hero + .section .approach-card {
  min-height: 100%;
  padding: 34px 30px 32px;
  border-color: rgba(245, 239, 227, 0.14);
  background:
    linear-gradient(135deg, rgba(14, 18, 13, 0.42), rgba(15, 22, 17, 0.24)),
    rgba(12, 17, 12, 0.18);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.home-hero + .section .approach-card::before {
  opacity: 0.68;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 250, 226, 0.3), transparent 9rem),
    radial-gradient(circle at 88% 92%, rgba(67, 86, 52, 0.1), transparent 10rem);
}

.home-hero + .section .approach-card .card-label {
  color: var(--lichen-soft);
}

.home-hero + .section .approach-card h3 {
  margin-bottom: 12px;
  color: #fff4df;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.52);
}

.home-hero + .section .approach-card p {
  color: rgba(245, 239, 227, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero + .section .section-heading,
.home-hero + .section .approach-card {
  animation: soft-rise 680ms ease both;
}

.home-hero + .section .approach-card:nth-child(2) {
  animation-delay: 90ms;
}

.home-hero + .section .approach-card:nth-child(3) {
  animation-delay: 160ms;
}

@media (hover: hover) and (pointer: fine) {
  .home-hero + .section .approach-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 239, 227, 0.22);
    box-shadow:
      0 28px 68px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }
}

@media (max-width: 900px) {
  .home-hero + .section {
    margin-top: -56px;
    padding-top: 118px;
    background-position: center center;
    background-attachment: scroll;
  }
}

@media (max-width: 700px) {
  .home-hero + .section .approach-card {
    padding: 30px 24px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .home-hero,
  main,
  .page-hero,
  .home-hero + .section,
  .goal-section,
  .featured-build-section {
    background-attachment: scroll !important;
  }

  .site-footer::before {
    position: absolute !important;
  }
}
