/* Leading Edge E-Commerce — teal editorial theme, distinct from prior output sites */
:root {
  --ink: #0a1210;
  --teal-deep: #0d3d3a;
  --teal-mid: #1a6b64;
  --gold: #d4a84b;
  --gold-soft: #e8c468;
  --surface: #f0ebe3;
  --card: #ffffff;
  --line: rgba(10, 18, 16, 0.1);
  --muted: #4a5754;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(13, 61, 58, 0.12);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-mid);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.le-wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Header */
.le-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 235, 227, 0.92);
  border-bottom: 3px solid var(--gold);
  backdrop-filter: blur(10px);
}

.le-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.le-logo img {
  height: 44px;
  width: auto;
}

.le-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}

.le-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.le-nav a:hover,
.le-nav a.is-active {
  color: var(--teal-mid);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.le-menu-btn {
  display: none;
  border: 0;
  background: var(--teal-deep);
  color: var(--gold-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .le-menu-btn {
    display: block;
  }
  .le-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--card);
    border-bottom: 2px solid var(--gold);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .le-nav.is-open {
    max-height: 320px;
  }
  .le-nav ul {
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    gap: 0.75rem;
  }
}

/* Hero carousel */
.le-hero {
  position: relative;
  min-height: min(78vh, 720px);
  margin: 1.25rem auto 0;
  width: min(var(--max), calc(100% - 2.5rem));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.le-hero__slides {
  position: absolute;
  inset: 0;
}

.le-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
}

.le-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.le-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.le-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
      105deg,
      rgba(13, 61, 58, 0.82) 0%,
      rgba(13, 61, 58, 0.35) 45%,
      rgba(10, 18, 16, 0.55) 100%
    );
}

.le-hero__content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
}

.le-hero__panels {
  position: relative;
}

.le-hero__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.le-hero__panel.is-active {
  position: relative;
  top: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.le-hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.le-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.le-hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  opacity: 0.94;
  max-width: 42ch;
}

.le-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.le-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.le-btn:hover {
  transform: translateY(-2px);
}

.le-btn--primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.le-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.le-hero__dots {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.le-hero__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.le-hero__dot.is-active {
  background: var(--gold-soft);
  transform: scale(1.2);
}

/* Sections */
.le-section {
  padding: clamp(3rem, 5vw, 4.75rem) 0;
}

.le-section__head {
  text-align: center;
  margin-bottom: 2rem;
}

.le-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.le-h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  letter-spacing: -0.02em;
}

/* Product grid — 4 equal columns, fixed card geometry */
.le-products .le-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.le-pcard {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.le-pcard__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.le-pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.le-pcard__body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.le-pcard__body h3 {
  margin: 0;
  font-size: 1.02rem;
}

.le-pcard__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .le-products .le-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .le-products .le-grid {
    grid-template-columns: 1fr;
  }
  .le-hero {
    margin: 0.5rem 1rem 0;
    width: auto;
    border-radius: 10px;
    min-height: 70vh;
  }
}

/* Intro split */
.le-intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.le-intro-split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 280px;
}

.le-intro-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.le-intro-split__text h2 {
  margin-top: 0;
}

.le-intro-split__text p {
  color: var(--muted);
  margin: 0 0 1rem;
}

@media (max-width: 900px) {
  .le-intro-split {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.le-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.le-review {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.le-review__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.le-review__top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.le-review__name {
  font-weight: 700;
}

.le-review__role {
  font-size: 0.88rem;
  color: var(--muted);
}

.le-stars {
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.le-review p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .le-testimonials {
    grid-template-columns: 1fr;
  }
}

/* Message split — image left, form right; mobile: image on top */
.le-msg .le-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  align-items: stretch;
}

.le-split__fig {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.le-split__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.le-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.le-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.le-field {
  display: grid;
  gap: 0.35rem;
}

.le-field span {
  font-size: 0.88rem;
  color: var(--muted);
}

.le-field input,
.le-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #faf9f7;
}

.le-field textarea {
  resize: vertical;
  min-height: 140px;
}

.le-form .le-btn {
  border: 0;
  justify-self: start;
}

.le-form__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .le-msg .le-split {
    grid-template-columns: 1fr;
  }
  .le-form__row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.le-footer {
  background: var(--teal-deep);
  color: #dfecea;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.le-footer a {
  color: var(--gold-soft);
}

.le-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.le-footer__brand img {
  height: 48px;
  margin-bottom: 0.75rem;
}

.le-footer__brand p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
  max-width: 36ch;
}

.le-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.le-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.le-footer li {
  margin-bottom: 0.45rem;
}

.le-footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.le-footer__social a {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(232, 196, 104, 0.35);
}

.le-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.le-footer__copy {
  text-align: center;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 860px) {
  .le-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* About page */
.le-about-hero {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 1.25rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 420px;
}

.le-about-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.le-about-copy {
  width: min(720px, calc(100% - 2.5rem));
  margin: 2.5rem auto;
}

.le-about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.le-about-wide {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.le-about-wide img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

/* Contact page */
.le-contact-banner {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
}

.le-contact-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.le-contact-main {
  padding: 2.5rem 0 3.5rem;
}

.le-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.le-contact-split__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.le-contact-split__img img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.le-contact-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.le-contact-card h2 {
  margin-top: 0;
}

.le-contact-row {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}

.le-contact-row .label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 700;
}

@media (max-width: 900px) {
  .le-contact-split {
    grid-template-columns: 1fr;
  }
}

.le-backtop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--teal-deep);
  color: var(--gold-soft);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 40;
}
