:root {
  --bg: #f7f2e9;
  --bg-alt: #efe7db;
  --surface: rgba(255, 252, 247, 0.84);
  --text: #24211d;
  --muted: #6d655c;
  --line: rgba(36, 33, 29, 0.12);
  --olive: #5f6d4a;
  --olive-deep: #455039;
  --shadow: 0 22px 55px rgba(36, 33, 29, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --shell: min(1180px, calc(100vw - 40px));
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

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

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  transition: opacity 220ms ease, transform 220ms ease;
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo-header {
  width: min(297px, 55.3vw);
  filter: none;
}

.brand-footer {
  padding: 0;
}

.brand-logo-footer {
  width: min(136px, 25.76vw);
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-nav a {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav .nav-cta {
  color: #ffffff;
}

.nav-cta,
.button,
.floating-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-cta,
.button {
  min-height: 46px;
  padding: 0 22px;
  background: #2f3728;
  color: #fffdf8;
  box-shadow: 0 12px 30px rgba(27, 32, 22, 0.22);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-cta:hover,
.button:hover,
.floating-cta:hover {
  transform: translateY(-1px);
  background: #20261b;
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: rgba(32, 38, 27, 0.78);
  border: 1px solid rgba(255, 253, 248, 0.14);
  backdrop-filter: blur(10px);
  transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease, color 180ms ease;
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  overflow: clip;
  margin-top: calc(var(--header-height) * -1);
  padding-top: var(--header-height);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 22s cubic-bezier(0.32, 0.02, 0.18, 1) infinite alternate;
  transform-origin: center center;
  filter: saturate(0.96);
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 18, 15, 0.52), rgba(20, 18, 15, 0.2) 42%, rgba(20, 18, 15, 0.28)),
    linear-gradient(180deg, rgba(20, 18, 15, 0.18), rgba(20, 18, 15, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
  color: #f8f5ef;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--olive);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: rgba(248, 245, 239, 0.76);
  font-size: 0.88rem;
}

.hero .eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.18em;
  font-size: 0.92rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  margin-bottom: 20px;
}

h2.heading-sm {
  font-size: clamp(1.82rem, 2.8vw, 2.55rem);
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.hero-copy,
.section-copy p,
.text-section p,
.final-cta p,
.testimonial-card p,
.helper-text,
.form-note,
.small-note {
  max-width: 62ch;
  font-size: 0.98rem;
  color: var(--muted);
}

.hero-copy {
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(248, 245, 239, 0.8);
  margin: 24px 0 32px;
}

.section-copy p,
.text-section p,
.testimonial-card p,
.helper-text,
.form-note,
.small-note,
label,
input,
select,
textarea {
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.trust-line {
  margin: 0;
  color: rgba(248, 245, 239, 0.72);
  font-size: 0.94rem;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(239, 231, 219, 0.65), rgba(247, 242, 233, 0.2));
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.section-grid.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.section-heading {
  margin-bottom: 34px;
}

.detail-list {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--text);
}

.detail-list.compact {
  margin-bottom: 12px;
}

.feature-block + .feature-block {
  margin-top: 18px;
}

.carousel {
  position: relative;
  width: 100%;
  background: rgba(255, 252, 247, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.carousel-track {
  position: relative;
  aspect-ratio: 4 / 3;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.82);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(36, 33, 29, 0.14);
  cursor: pointer;
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.carousel-dots {
  display: none;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.5);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: #fff;
}

.text-section {
  text-align: center;
}

.logo-marquee {
  overflow: hidden;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.44);
}

.logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 18px;
  animation: logoScroll 34s linear infinite;
}

.logo-item {
  width: 180px;
  min-width: 180px;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 10px 28px rgba(36, 33, 29, 0.06);
}

.logo-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.86;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.72);
  box-shadow: var(--shadow);
}

.quote {
  margin-top: 0;
  color: var(--text);
}

.author {
  margin: auto 0 2px;
  font-weight: 700;
  color: var(--text);
}

.meta {
  margin: 0;
}

.inquiry-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.inquiry-form {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.8);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.field-full,
.form-actions,
.form-message {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(36, 33, 29, 0.14);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  padding: 14px 16px;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(95, 109, 74, 0.24);
  border-color: rgba(95, 109, 74, 0.4);
}

.helper-text,
.form-note,
.small-note {
  margin: 0;
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.form-message {
  min-height: 1.5em;
  margin: 0;
  color: var(--olive-deep);
}

.form-message.is-error {
  color: #8a3b2a;
}

.final-cta {
  background:
    linear-gradient(180deg, rgba(69, 80, 57, 0.92), rgba(69, 80, 57, 0.86)),
    radial-gradient(circle at top left, rgba(247, 242, 233, 0.12), transparent 45%);
  color: #f8f5ef;
  text-align: center;
}

.final-cta p {
  color: rgba(248, 245, 239, 0.8);
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 18;
  min-height: 48px;
  padding: 0 18px;
  background: rgba(32, 38, 27, 0.96);
  color: #fffdf8;
  box-shadow: 0 16px 34px rgba(27, 32, 22, 0.24);
}

@keyframes heroDrift {
  from {
    transform: scale(1.05) translate3d(-1.1%, -0.3%, 0);
  }
  to {
    transform: scale(1.12) translate3d(1.1%, 0.4%, 0);
  }
}

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

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .section-grid,
  .section-grid.reverse,
  .inquiry-wrap,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100vw - 24px, 100%);
  }

  .section {
    padding: 78px 0;
  }

  .hero-content {
    padding: 84px 0 64px;
  }

  h1 {
    font-size: clamp(2.4rem, 10.5vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 7.4vw, 2.45rem);
  }

  .eyebrow {
    font-size: 0.88rem;
  }

  .carousel-arrow {
    display: none;
  }

  .section-grid,
  .section-grid.reverse,
  .inquiry-wrap {
    display: flex;
    flex-direction: column;
  }

  .section-grid > .section-copy,
  .inquiry-wrap > .section-copy {
    order: 1;
  }

  .section-grid > .carousel,
  .inquiry-wrap > .inquiry-form {
    order: 2;
  }

  .carousel {
    width: 100%;
    margin-top: 18px;
  }

  .carousel-track {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-cta {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .brand-logo-header {
    width: min(260px, 66.5vw);
  }

  .brand-logo-footer {
    width: min(116px, 35.42vw);
  }
}
