:root {
  --teal: #0b7f82;
  --teal-deep: #065e61;
  --teal-soft: #e6f4f4;
  --ink: #12181a;
  --muted: #5a6669;
  --line: rgba(18, 24, 26, 0.12);
  --paper: #f3f7f7;
  --white: #ffffff;
  --veil: rgba(6, 28, 30, 0.62);
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Sora", "Avenir Next", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(11, 127, 130, 0.08), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(6, 94, 97, 0.06), transparent 50%),
    var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-solid {
  background: var(--teal);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg {
  min-height: 54px;
  padding-inline: 1.7rem;
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: min(240px, 70vw);
  height: auto;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--teal), #38b2ac);
  transform-origin: left;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(6, 40, 42, 0.06);
}

.nav-inner {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  width: 150px;
  height: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-consult-slot {
  flex-shrink: 0;
  width: 11.5rem;
  height: 2.6rem;
  margin-left: 0.5rem;
  transition: width 0.45s var(--ease), margin 0.45s var(--ease), opacity 0.3s ease;
}

body.consult-docked .nav-consult-slot {
  width: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(8, 20, 22, 0.45);
}

/* Enquire pill → side tab (same motion as Green Heads) */
.consult-fly {
  position: fixed;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--teal);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 127, 130, 0.32);
  transform-origin: center center;
  border-radius: 999px;
  opacity: 1;
  visibility: visible;
  transition:
    left 0.55s var(--ease),
    top 0.55s var(--ease),
    width 0.55s var(--ease),
    height 0.55s var(--ease),
    transform 0.55s var(--ease),
    border-radius 0.55s var(--ease),
    font-size 0.55s var(--ease),
    background 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease,
    visibility 0.2s;
}

.consult-fly:hover {
  background: var(--teal-deep);
  box-shadow: 0 10px 26px rgba(11, 127, 130, 0.45);
}

.consult-fly__label {
  pointer-events: none;
  line-height: 1.2;
  padding: 0 0.2rem;
}

.consult-fly__short {
  display: none;
}

body.consult-docked .consult-fly {
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 6px 22px rgba(6, 40, 42, 0.22);
  font-size: 0.82rem;
}

body.modal-open .consult-fly,
body.nav-open .consult-fly {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: clip;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 24, 26, 0.35) 0%, rgba(4, 24, 26, 0.72) 70%, rgba(4, 24, 26, 0.88) 100%),
    linear-gradient(90deg, rgba(4, 30, 32, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 4.5rem;
  animation: riseIn 0.9s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #7fd6d8;
}

.hero-subbrand {
  margin: 0.35rem 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 600;
  color: var(--white);
}

.hero-lead {
  max-width: 42ch;
  margin-top: 1rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Sections */
.section {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.about-copy h2,
.quality-copy h2,
.connect h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section-lead {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-grid,
.quality-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-media,
.quality-media {
  overflow: hidden;
  border-radius: 2px;
}

.about-media img,
.quality-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-copy p,
.quality-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.about-points li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

/* Products — interaction containers */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.product {
  background: var(--paper);
  border: 1px solid transparent;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.product:hover {
  border-color: rgba(11, 127, 130, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6, 40, 42, 0.08);
}

.product-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product:hover .product-media img {
  transform: scale(1.05);
}

.product-body {
  padding: 1.35rem 1.4rem 1.55rem;
}

.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.product-body p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Quality */
.quality {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #04383a 0%, #0b7f82 55%, #12686b 100%);
  color: var(--white);
}

.quality-grid {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.quality .eyebrow {
  color: #9fe3e5;
}

.quality-copy > p {
  color: rgba(255, 255, 255, 0.82);
}

.quality-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.quality-stats div {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.quality-stats strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.quality-stats span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.quality-media img {
  min-height: 360px;
  border-radius: 2px;
}

/* Contact */
.connect {
  padding: 5.5rem 1rem;
  background:
    linear-gradient(180deg, rgba(230, 244, 244, 0.95), rgba(243, 247, 247, 0.55)),
    var(--paper);
}

.connect-wrap {
  width: min(var(--wrap), calc(100% - 0.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.connect-copy h2 {
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.connect-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
}

.connect-points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.connect-points li {
  position: relative;
  padding-left: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

.connect-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.connect-copy .btn {
  margin-top: 1.6rem;
}

.connect-aside {
  background: var(--white);
  border: 1px solid rgba(11, 127, 130, 0.14);
  padding: 1.6rem 1.5rem 1.45rem;
}

.connect-aside h3 {
  font-size: 1rem;
  margin: 0 0 1.1rem;
  color: var(--teal-deep);
  letter-spacing: 0.02em;
}

.connect-aside-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.connect-aside-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.connect-aside-item strong {
  font-family: var(--display);
  font-size: 0.92rem;
  color: var(--ink);
}

.connect-aside-item span,
.connect-aside-item a {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.5;
}

.connect-aside-item a {
  color: var(--teal-deep);
  font-weight: 600;
}

@media (max-width: 900px) {
  .connect-wrap {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Footer */
.site-footer {
  background:
    linear-gradient(180deg, #04383a 0%, #065e61 55%, #0a4f52 100%);
  color: rgba(255, 255, 255, 0.88);
}

.footer-main {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 2.25rem 2rem;
}

.footer-brand img {
  width: 160px;
  height: auto;
  background: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.footer-brand > p {
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.footer-gst {
  margin-top: 0.85rem !important;
  font-size: 0.88rem !important;
  font-weight: 600;
  color: #9fe3e5 !important;
}

.footer-cta {
  margin-top: 1.25rem;
  min-height: 42px;
  padding-inline: 1.1rem;
}

.footer-col h3 {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}

.footer-col nav {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #9fe3e5;
}

.footer-col--contact p {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col--contact strong {
  color: #fff;
  font-weight: 600;
}

.footer-mail {
  display: inline-block;
  font-weight: 600;
  color: #9fe3e5 !important;
  font-size: 0.98rem;
}

.footer-bottom {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-cin {
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 2.75rem;
    gap: 1.75rem;
  }

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

/* Modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 22, 0.55);
}

.contact-modal__shell {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 1.5rem));
  max-height: min(90vh, 760px);
  overflow: auto;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
}

.contact-modal.is-open .contact-modal__shell {
  transform: translateY(0);
}

.contact-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.contact-modal__dialog {
  padding: 2rem 1.5rem 1.6rem;
}

.contact-modal__dialog h2 {
  font-size: 1.45rem;
  padding-right: 2rem;
}

.contact-modal__lead {
  margin: 0.5rem 0 1.25rem;
  color: var(--muted);
}

#contact-form {
  display: grid;
  gap: 0.85rem;
}

#contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: 2px solid rgba(11, 127, 130, 0.35);
  border-color: var(--teal);
}

.contact-status {
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
  border-radius: 4px;
}

.contact-status.is-success {
  background: #e8f7ef;
  color: #146c43;
}

.contact-status.is-error {
  background: #fdeeee;
  color: #a33b3b;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .hero-image,
  .loader-logo,
  .reveal,
  .product,
  .product-media img,
  .consult-fly,
  .nav-consult-slot {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .quality-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .quality-stats {
    grid-template-columns: 1fr;
  }

  .about-media img,
  .quality-media img {
    min-height: 280px;
  }

  .nav-consult-slot {
    display: none !important;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    width: min(320px, 86vw);
    height: calc(100svh - 76px);
    margin: 0;
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--white);
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
  }

  body.nav-open .nav-links {
    transform: translateX(0);
  }

  .consult-fly {
    z-index: 950;
    font-size: 0.72rem;
  }

  body.consult-docked .consult-fly {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    font-size: 0.74rem;
  }

  body:not(.consult-docked) .consult-fly {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  body:not(.consult-docked) .consult-fly__full {
    display: none;
  }

  body:not(.consult-docked) .consult-fly__short {
    display: inline;
  }

  body.consult-docked .consult-fly__full {
    display: inline;
  }

  body.consult-docked .consult-fly__short {
    display: none;
  }

  body.nav-open .consult-fly,
  body.modal-open .consult-fly {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}

@media (max-width: 560px) {
  .hero-content {
    padding: 7rem 0 3.2rem;
  }

  .section,
  .quality-grid,
  .connect {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 2.75rem;
    gap: 1.75rem;
  }

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

  .consult-fly {
    font-size: 0.68rem;
  }

  body.consult-docked .consult-fly {
    font-size: 0.7rem;
    border-radius: 8px 0 0 8px;
  }
}
