:root {
  --ink: #1a1a1a;
  --forest: #1f4d2e;
  --forest-hover: #2e6b43;
  --forest-tint: #f4f8f5;
  --cream: #faf8f4;
  --paper: #ffffff;
  --foreground: #1a1a1a;
  --background: #fff;
  --font-inter: "Inter", system-ui, sans-serif;
  --font-serif: "Lora", Georgia, serif;
  --font-sans: var(--font-inter);
}

html {
  scroll-behavior: smooth;
  line-height: 1.5;
  font-family: var(--font-inter), system-ui, sans-serif;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-inter), system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-sans {
  font-family: var(--font-inter), system-ui, sans-serif;
}

.font-serif {
  font-family: var(--font-serif), Georgia, serif;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background-color: var(--forest);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: #fff;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.btn-primary:hover {
  background-color: var(--forest-hover);
}

.btn-primary:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--forest);
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid var(--forest);
  background-color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.btn-secondary:hover {
  background-color: var(--forest-tint);
}

.btn-secondary:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--forest);
}

.container-page {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-page {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-page {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.h-display {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 2.25rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .h-display {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .h-display {
    font-size: 3.75rem;
    line-height: 1;
  }
}

.h-section {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 1.875rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .h-section {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 768px) {
  .h-section {
    font-size: 3rem;
    line-height: 1;
  }
}

.h-card {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.375;
}

.label-eyebrow {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--forest);
}

.drop-shadow {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
}

/* Sticky frosted header — matches HN: bg-white/90 + backdrop-blur(8px) + supports bg-white/75 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: hsla(0, 0%, 100%, 0.9);
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header {
    background-color: hsla(0, 0%, 100%, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

.site-header__bar {
  display: flex;
  height: 4.75rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .site-header__bar {
    height: 5.75rem;
  }
}

.site-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.site-logo img {
  display: block;
  height: 3.75rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 4.5rem;
  }
}

.site-logo--on-dark {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border-radius: 0.5rem;
  background: var(--cream);
  padding: 0.3rem 0.5rem;
}

.site-logo--on-dark img {
  height: 4rem;
}

.site-menu {
  display: none;
}

.site-menu.is-open {
  display: block;
}

@media (min-width: 768px) {
  .site-menu,
  .site-menu.is-open {
    display: none !important;
  }
}

.site-menu__panel {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  padding: 1.5rem 1rem;
}

.mobile-cta {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: hsla(0, 0%, 100%, 0.95);
  }

  @supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
    .mobile-cta {
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }
  }
}

.card-hover {
  transition: translate 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-hover:hover {
  translate: 0 -4px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.28);
}

.img-zoom {
  overflow: hidden;
}

.img-zoom-target {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover .img-zoom-target,
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

.marquee {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.gallery-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.gallery-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.05);
}

.gallery-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card__shade {
  opacity: 1;
}

.gallery-card__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card__caption {
  opacity: 1;
}

.gallery-card__label {
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-card__title {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.4;
}

.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quote-intro.reveal.is-visible {
  transform: none;
}

.field-error {
  border-color: rgb(248 113 113) !important;
}

.field-help {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(185 28 28);
}

.accent-forest {
  accent-color: var(--forest);
}

input[type="date"],
input[type="time"],
input[type="datetime-local"] {
  color-scheme: light;
}

.quote-form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .quote-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-form__full {
    grid-column: 1 / -1;
  }
}

.quote-form input:not([type="checkbox"]):not([type="radio"]),
.quote-form select,
.quote-form textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 0.375rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  color: var(--ink);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.quote-form input:not([type="checkbox"]):not([type="radio"]):focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: none;
}

.quote-form__grid label > span:first-child {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.quote-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1.5rem;
  cursor: pointer;
  font-size: 0.6875rem;
  line-height: 1.625;
  color: rgba(26, 26, 26, 0.6);
}

.quote-form__consent input[type="checkbox"] {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: none;
  accent-color: var(--forest);
}

.quote-form__consent > span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.6);
}

@media (min-width: 1024px) {
  .quote-intro {
    position: sticky;
    top: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-hover:hover,
  .hover-lift:hover,
  .img-zoom:hover .img-zoom-target {
    transform: none;
    translate: none;
  }

  .marquee__track,
  .reveal,
  .reveal.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  html {
    scroll-behavior: auto;
  }
}
