/* Stockbridge Clean Line — forest mist */
:root {
  --sc-pine: #1a3a30;
  --sc-deep: #0e241e;
  --sc-moss: #2f5c4a;
  --sc-leaf: #5a8a72;
  --sc-mist: #d5e4dc;
  --sc-fog: #e8f0eb;
  --sc-cloud: #f4f8f6;
  --sc-ink: #15241e;
  --sc-soft: #5c6f66;
  --sc-rule: rgba(26, 58, 48, 0.14);
  --sc-white: #ffffff;
  --sc-lichen: #9fb59a;
  --sc-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sc-sans: "DM Sans", "Segoe UI", sans-serif;
  --sc-wide: 1080px;
  --sc-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sc-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sc-ink);
  background:
    radial-gradient(ellipse 50% 35% at 100% 0%, rgba(90, 138, 114, 0.14), transparent 55%),
    linear-gradient(190deg, var(--sc-mist) 0%, var(--sc-fog) 22%, var(--sc-cloud) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sc-moss);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sc-pine);
}

h1,
h2,
h3,
.brand-mark {
  font-family: var(--sc-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--sc-deep);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.shell {
  width: min(100% - 2.4rem, var(--sc-wide));
  margin-inline: auto;
}

.shell-slim {
  width: min(100% - 2.4rem, 660px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 248, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sc-rule);
}

.site-header.over-hero {
  position: absolute;
  inset-inline: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.site-header.over-hero .brand-mark,
.site-header.over-hero .menu-toggle {
  color: var(--sc-white);
}

.site-header.over-hero .nav-main a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header.over-hero .nav-main a:hover,
.site-header.over-hero .nav-main a[aria-current="page"] {
  color: var(--sc-white);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--sc-deep);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.brand-mark em {
  font-family: var(--sc-sans);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.68;
}

.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--sc-pine);
  font-family: var(--sc-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-main a {
  text-decoration: none;
  color: var(--sc-ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--sc-pine);
}

/* Hero — full bleed, brand-first */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--sc-white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.03);
  animation: sc-drift 22s var(--sc-ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 36, 30, 0.82) 0%, rgba(14, 36, 30, 0.4) 48%, rgba(14, 36, 30, 0.55) 100%),
    linear-gradient(0deg, rgba(14, 36, 30, 0.72) 0%, rgba(14, 36, 30, 0.15) 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, var(--sc-wide));
  margin: 0 auto;
  padding: 7rem 0 4.25rem;
  max-width: 34rem;
  animation: sc-rise 1s var(--sc-ease) both;
}

.hero-copy .brand-hero {
  margin: 0 0 0.85rem;
  font-size: clamp(2.6rem, 7.2vw, 4.4rem);
  color: var(--sc-white);
  max-width: 11ch;
}

.hero-line {
  margin: 0 0 1.65rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--sc-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--sc-ease), color 0.25s var(--sc-ease), border-color 0.25s var(--sc-ease), transform 0.25s var(--sc-ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-mist {
  background: var(--sc-mist);
  color: var(--sc-deep);
}

.btn-mist:hover {
  background: var(--sc-white);
  color: var(--sc-deep);
}

.btn-pine {
  background: var(--sc-pine);
  color: var(--sc-white);
}

.btn-pine:hover {
  background: var(--sc-deep);
  color: var(--sc-white);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.site-header:not(.over-hero) .btn-ghost,
.lane .btn-ghost,
.page-head .btn-ghost,
footer .btn-ghost {
  color: var(--sc-pine);
}

/* Filament bar — clean line motif */
.filament {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: var(--sc-deep);
  color: rgba(255, 255, 255, 0.85);
  border-top: 2px solid var(--sc-lichen);
}

.filament-item {
  flex: 1 1 10rem;
  padding: 1.45rem 1.4rem 1.55rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.filament-item:last-child {
  border-right: none;
}

.filament-item strong {
  display: block;
  font-family: var(--sc-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--sc-white);
  margin-bottom: 0.3rem;
}

.filament-item span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Lanes / sections */
.lane {
  padding: 4.6rem 0;
}

.lane-fog {
  background: var(--sc-fog);
}

.lane-pine {
  background: var(--sc-pine);
  color: rgba(255, 255, 255, 0.9);
}

.lane-pine h2,
.lane-pine h3 {
  color: var(--sc-white);
}

.lane-pine .lede {
  color: rgba(255, 255, 255, 0.78);
}

.lane-pine a:not(.btn) {
  color: var(--sc-mist);
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sc-leaf);
}

.lane-pine .kicker {
  color: var(--sc-lichen);
}

.lane-intro {
  max-width: 34rem;
  margin-bottom: 2.3rem;
}

.lane-intro h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.65rem, 3.3vw, 2.35rem);
}

.lede {
  margin: 0;
  font-size: 1.05rem;
  color: var(--sc-soft);
}

/* Editorial column */
.editorial {
  max-width: 38rem;
}

.editorial h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.editorial p + p {
  margin-top: 0.85rem;
}

/* Twin columns */
.twin {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.25rem;
  align-items: start;
}

.twin h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.facts {
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--sc-leaf);
}

.facts dl {
  margin: 0;
}

.facts dt {
  margin-top: 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sc-soft);
}

.facts dt:first-child {
  margin-top: 0;
}

.facts dd {
  margin: 0.22rem 0 0;
  font-family: var(--sc-serif);
  font-size: 1.05rem;
  color: var(--sc-deep);
}

/* Service lines */
.line-list {
  display: grid;
  gap: 0;
}

.line-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  gap: 1.4rem;
  align-items: start;
  padding: 1.55rem 0;
  border-top: 1px solid var(--sc-rule);
}

.line-row:last-child {
  border-bottom: 1px solid var(--sc-rule);
}

.line-num {
  font-family: var(--sc-serif);
  font-size: 0.95rem;
  color: var(--sc-leaf);
  padding-top: 0.15rem;
}

.line-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.line-row p {
  margin: 0;
  color: var(--sc-soft);
  max-width: 42ch;
}

.line-go {
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--sc-moss);
  padding-top: 0.15rem;
}

/* Mist river panel */
.mist-river {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
}

.mist-river-visual {
  background:
    linear-gradient(150deg, rgba(26, 58, 48, 0.25), transparent 50%),
    radial-gradient(ellipse at 40% 60%, rgba(159, 181, 154, 0.4), transparent 55%),
    linear-gradient(210deg, var(--sc-moss), var(--sc-deep));
  animation: sc-breathe 14s ease-in-out infinite alternate;
}

.mist-river-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.4rem clamp(1.4rem, 4.5vw, 3.75rem);
  background: var(--sc-mist);
}

.mist-river-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Page head */
.page-head {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--sc-rule);
  background:
    linear-gradient(115deg, rgba(213, 228, 220, 0.85) 0%, transparent 65%);
}

.page-head h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.page-head p {
  margin: 0;
  max-width: 40ch;
  color: var(--sc-soft);
  font-size: 1.05rem;
}

/* Service blocks */
.offer-list {
  display: grid;
  gap: 0;
}

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2.7rem 0;
  border-bottom: 1px solid var(--sc-rule);
}

.offer:first-child {
  padding-top: 0;
}

.offer h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.offer ul {
  margin: 0;
  color: var(--sc-soft);
}

.offer li + li {
  margin-top: 0.35rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 0;
}

.step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--sc-rule);
}

.step:last-child {
  border-bottom: 1px solid var(--sc-rule);
}

.step-mark {
  font-family: var(--sc-serif);
  color: var(--sc-leaf);
  font-size: 1rem;
  padding-top: 0.1rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--sc-soft);
  font-size: 0.98rem;
}

/* Eco principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.principle {
  padding-top: 1.1rem;
  border-top: 2px solid var(--sc-leaf);
}

.principle h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.principle p {
  margin: 0;
  color: var(--sc-soft);
  font-size: 0.98rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.detail-list {
  margin: 0;
}

.detail-list dt {
  margin-top: 1.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sc-soft);
}

.detail-list dt:first-child {
  margin-top: 0;
}

.detail-list dd {
  margin: 0.25rem 0 0;
  color: var(--sc-deep);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sc-rule);
  background: var(--sc-white);
  color: var(--sc-ink);
  font-family: var(--sc-sans);
  font-size: 1rem;
  border-radius: 0;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--sc-leaf);
  outline-offset: 1px;
}

.form-success {
  display: none;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--sc-mist);
  border-left: 3px solid var(--sc-moss);
  color: var(--sc-deep);
}

.form-success.show {
  display: block;
}

/* Legal */
.legal-body {
  padding: 3rem 0 4.5rem;
}

.legal-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.legal-body p,
.legal-body li {
  color: var(--sc-soft);
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--sc-deep);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .brand-mark {
  color: var(--sc-white);
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--sc-white);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.foot-grid h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--sc-white);
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links li + li {
  margin-top: 0.4rem;
}

.foot-links a {
  text-decoration: none;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.foot-legal {
  display: flex;
  gap: 1.15rem;
}

.foot-legal a {
  text-decoration: none;
}

/* Cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem;
  background: rgba(14, 36, 30, 0.96);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

#cookie-banner.show {
  display: block;
  animation: sc-rise 0.45s var(--sc-ease) both;
}

.cookie-inner {
  width: min(100% - 0.5rem, var(--sc-wide));
  margin-inline: auto;
}

.cookie-inner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.cookie-inner a {
  color: var(--sc-mist);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

#cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#cookie-panel.open {
  display: block;
}

.cookie-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

#cookie-banner .btn-ghost {
  color: var(--sc-white);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Motion */
@keyframes sc-drift {
  from {
    transform: scale(1.03) translate(0, 0);
  }
  to {
    transform: scale(1.07) translate(-1.2%, 0.8%);
  }
}

@keyframes sc-rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sc-breathe {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.12) brightness(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .mist-river-visual,
  .hero-copy,
  #cookie-banner.show {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .twin,
  .mist-river,
  .offer,
  .contact-grid,
  .principles,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .mist-river-visual {
    min-height: 180px;
  }

  .line-row {
    grid-template-columns: 2.5rem 1fr;
  }

  .line-go {
    grid-column: 2;
  }

  .facts {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--sc-leaf);
    padding-top: 1.25rem;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.2rem 1.1rem;
    background: var(--sc-cloud);
    border-bottom: 1px solid var(--sc-rule);
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--sc-rule);
    color: var(--sc-ink);
  }

  .site-header.over-hero .nav-main {
    background: var(--sc-deep);
  }

  .site-header.over-hero .nav-main a {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .filament {
    flex-direction: column;
  }

  .filament-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .filament-item:last-child {
    border-bottom: none;
  }

  .offer {
    gap: 1.25rem;
  }

  .foot-base {
    flex-direction: column;
  }
}
