:root {
  --deep: #0d4d43;
  --deep-2: #083d36;
  --gold: #b18845;
  --cream: #fbfaf6;
  --ink: #17332e;
  --muted: #6e7d78;
  --white: #fff;
  --shadow: 0 16px 50px rgba(8, 61, 54, .10);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream)
}

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

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(1180px, 92%);
  margin: auto
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--deep-2);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 77, 67, .10);
  transition: box-shadow .4s ease, background .4s ease;
  animation: headerDrop .7s cubic-bezier(.22, 1, .36, 1);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  background: var(--deep-2);
}

@keyframes headerDrop {
  from {
    transform: translateY(-14px);
    opacity: 0
  }

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

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .45s ease
}

.brand:hover .logo-img {
  transform: scale(1.06) rotate(-1deg);
  filter: drop-shadow(0 6px 14px rgba(177, 136, 69, .35))
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
  color: #fff
}

.nav-links>a {
  position: relative;
  padding: 6px 0
}

.nav-links>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
}

.nav-links>a:hover::after {
  width: 100%
}

.nav-links a:hover,
.drop-trigger:hover {
  color: #e3d3ae
}

.products {
  position: relative
}

.drop-trigger {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px
}

.chevron {
  font-size: 11px;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1)
}

.products:hover .chevron,
.products.open .chevron {
  transform: rotate(180deg)
}

.dropdown {
  position: absolute;
  top: 43px;
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(.97);
  min-width: 190px;
  padding: 8px;
  background: white;
  border: 1px solid #e7e8e3;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility .3s;
  transform-origin: top center;
}

.products:hover .dropdown,
.products:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1)
}

.dropdown a {
  display: block;
  padding: 12px 14px;
  color: var(--ink);
  border-radius: 8px;
  transition: background .25s ease, padding-left .25s ease
}

.dropdown a:hover {
  background: #f3f7f4;
  color: var(--deep);
  padding-left: 18px
}

.buy-btn {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  padding: 13px 23px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease, background .45s ease;
  display: inline-block;
}

.buy-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .65s ease;
}

.buy-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(177, 136, 69, .35)
}

.buy-btn:hover::before {
  left: 130%
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  color: #fff;
  transition: transform .3s ease
}

.menu-toggle.is-open {
  transform: rotate(90deg)
}

/* Hero carousel */
.hero {
  position: relative;
  overflow: hidden;
  background: #eef4f0
}

.slider {
  position: relative;
  aspect-ratio: 16/7;
  min-height: 430px
}

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

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

.slide img {
  width: 100%;
  height: 95%;
  display: block;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease
}

.slide.active img {
  transform: scale(1)
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 54, 47, .12), transparent 55%, rgba(255, 255, 255, .04))
}

.slide-caption {
  position: absolute;
  left: 6%;
  bottom: 9%;
  z-index: 2;
  color: white;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .25)
}

.slide-caption .eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease .15s, transform .6s cubic-bezier(.22, 1, .36, 1) .15s
}

.slide-caption h1 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 72px);
  margin: 0;
  line-height: .98;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease .28s, transform .7s cubic-bezier(.22, 1, .36, 1) .28s
}

.slide.active .slide-caption .eyebrow,
.slide.active .slide-caption h1 {
  opacity: 1;
  transform: translateY(0)
}

.dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5
}

.dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .65);
  cursor: pointer;
  padding: 0
}

.dot.active {
  background: white;
  transform: scale(1.35)
}



/* Intro */


.kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 700
}





/* Molecules */
.molecules {
  padding: 35px 0 100px
}

.section-heading {
  text-align: center;
  margin-bottom: 36px
}

.section-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--deep);
  font-size: clamp(32px, 4vw, 48px);
  margin: 7px 0
}

.molecule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.molecule-card:nth-child(1) {
  transition-delay: 0s
}

.molecule-card:nth-child(2) {
  transition-delay: .09s
}

.molecule-card:nth-child(3) {
  transition-delay: .18s
}

.molecule-card:nth-child(4) {
  transition-delay: .27s
}

.molecule-card:nth-child(5) {
  transition-delay: .36s
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1)
}

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

.molecule-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(8, 61, 54, .06);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease, opacity .7s cubic-bezier(.22, 1, .36, 1);
  opacity: 0;
  transform: translateY(24px)
}

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

.molecule-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow)
}

.molecule-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1)
}

.molecule-card:hover img {
  transform: scale(1.06)
}

.molecule-name {
  padding: 17px;
  text-align: center;
  font-family: Georgia, serif;
  color: var(--deep);
  font-size: 20px
}

/* Application */
.application {
  padding: 0 0 100px
}

.application-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease
}

.application-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(8, 61, 54, .16)
}

.application img {
  width: 100%;
  display: block;
  height: auto
}

/* Contact */
.contact {
  padding: 90px 0;
  background: #eef3ef
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start
}

.contact h2 {
  font-family: Georgia, serif;
  color: var(--deep);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  margin: 8px 0 16px
}

.contact-copy {
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px
}

.contact-details {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  color: #365650
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(8, 61, 54, .07)
}

.field {
  margin-bottom: 17px
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #46625c;
  margin-bottom: 7px
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #dfe6e2;
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  background: #fcfdfc;
  transition: border-color .35s ease, box-shadow .35s ease
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(177, 136, 69, .14)
}

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

.submit {
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: white;
  padding: 13px 25px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), background .4s ease, box-shadow .4s ease
}

.submit:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(177, 136, 69, .3)
}

/* Footer */
footer {
  background: var(--deep-2);
  color: white;
  padding: 48px 0 25px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(1.15);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1)
}

.footer-logo:hover {
  transform: scale(1.05)
}

footer p,
footer a {
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
  font-size: 14px
}

footer h4 {
  margin: 0 0 13px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e3d3ae
}

.copyright {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px;
  color: rgba(255, 255, 255, .55)
}

/* Responsive */
@media(max-width:900px) {
  .nav-links {
    gap: 18px;
  }

  .molecule-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .slider {
    aspect-ratio: auto;
    min-height: auto;
    height: auto;
    display: flex;
    position: relative;
  }

  .slide {
    position: relative;
    width: 100%;
    height: auto;
    display: none;
  }

  .slide.active {
    display: block;
  }

  /* Set image dimensions to auto while filling width */
  .slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
  }

  /* Keep text overlaid on top of the banner image */
  .slide-caption {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 12%;
    z-index: 3;
    pointer-events: none;
  }

  .slide-caption h1 {
    font-size: clamp(24px, 6vw, 38px);
  }
}

@media (max-width: 700px) {
  .navbar {
    height: 68px;
    min-height: 68px;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-img {
    height: 42px;
    max-width: 145px;
    object-fit: contain;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--deep-2);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 5%;
    gap: 4px;
    border-bottom: 1px solid #e7ebe8;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease, padding .45s ease;
  }

  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    padding: 14px 5%;
  }

  .nav-links a,
  .drop-trigger {
    padding: 13px 0;
  }

  .dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: 0 0 5px 14px;
    display: none;
  }

  .products.open .dropdown {
    display: block;
  }

  /* Slider Container Reset for Auto Dimensions */
  .slider {
    aspect-ratio: auto !important;
    min-height: auto !important;
    height: auto !important;
    display: flex;
    position: relative;
  }

  .slide {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto !important;
    display: none;
  }

  .slide.active {
    display: block;
  }

  /* Slide Image Width and Height Auto */
  .slide img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
    margin: 0 auto;
    object-fit: contain !important;
    transform: none !important;
  }

  /* Overlay Caption Text Directly Over the Banner Image */
  .slide-caption {
    position: absolute !important;
    left: 6% !important;
    right: 6% !important;
    bottom: 12% !important;
    z-index: 3;
    pointer-events: none;
  }

  .slide-caption h1 {
    font-size: clamp(22px, 6.5vw, 36px) !important;
    max-width: 100% !important;
  }

  .dots {
    bottom: 10px !important;
  }

  .molecule-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .molecule-name {
    font-size: 17px;
    padding: 13px 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 450px) {
  .navbar {
    height: 64px;
    min-height: 64px;
  }

  .nav-links {
    top: 64px;
  }

  .logo-img {
    height: 39px;
    max-width: 132px;
  }

  .buy-btn {
    padding: 11px 15px;
  }

  .molecule-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  /* Ensure Width & Height Remain Auto on Mobile Screens */
  .slider {
    aspect-ratio: auto !important;
    height: auto !important;
  }

  .slide img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .slide-caption {
    bottom: 10% !important;
  }

  .slide-caption h1 {
    font-size: clamp(18px, 7vw, 28px) !important;
  }

  .slide-caption .eyebrow {
    font-size: 10px;
    margin-bottom: 4px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }

  .reveal,
  .molecule-card,
  .slide-caption .eyebrow,
  .slide-caption h1 {
    opacity: 1 !important;
    transform: none !important
  }

  .slide img {
    transform: none !important
  }
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: all .25s ease
}

.footer-socials a:hover {
  color: #e3d3ae;
  border-color: #e3d3ae;
  transform: translateY(-2px)
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  display: block
}

/* Final responsive hardening */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle.is-open {
  transform: none;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.application img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .navbar {
    min-height: 68px;
    height: 68px;
  }

  .logo-img {
    height: 42px;
    max-width: 145px;
    object-fit: contain;
  }

  .nav-links {
    top: 68px;
  }

  .slider {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
  }

  .slide img {
    height: 100%;
    object-position: center center;
  }

  .slide-caption {
    left: 6%;
    right: 6%;
    bottom: 10%;
  }

  .slide-caption h1 {
    font-size: clamp(30px, 8vw, 42px);
    max-width: 90%;
  }

  .molecule-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

@media (max-width: 450px) {
  .navbar {
    height: 64px;
    min-height: 64px;
  }

  .nav-links {
    top: 64px;
  }

  .logo-img {
    height: 39px;
    max-width: 132px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .slider {
    aspect-ratio: 1 / 1;
  }

  .slide-caption {
    bottom: 12%;
  }

  .slide-caption h1 {
    font-size: clamp(28px, 8.5vw, 36px);
  }
}
