/* LUCKYBALL INC — teal + copper industrial theme */
:root {
  --bg: #f3f0e8;
  --bg-card: rgba(255, 255, 255, 0.88);
  --ink: #0f1f1e;
  --muted: #4a5c5a;
  --teal: #0f2f2e;
  --teal-mid: #1a4d4a;
  --copper: #c9a227;
  --copper-dim: #a6841e;
  --line: rgba(15, 31, 30, 0.1);
  --shadow: 0 22px 48px rgba(15, 31, 30, 0.1);
  --radius: 20px;
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--teal-mid);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--teal) 0%, #0c2827 100%);
  border-bottom: 3px solid var(--copper);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.header-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  padding: 0.55rem 1rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(201, 162, 39, 0.22);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    right: 1.25rem;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    background: var(--teal);
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid rgba(201, 162, 39, 0.35);
    min-width: 200px;
    box-shadow: var(--shadow);
  }
  .nav-menu.open {
    display: flex;
  }
}

/* —— Full-bleed hero (edge-to-edge, no rounded corners) —— */
.lb-hero {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  isolation: isolate;
}

.lb-hero__state {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lb-hero__slides {
  position: absolute;
  inset: 0;
}

.lb-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}

#lb-hero-s1:checked ~ .lb-hero__slides .lb-hero__slide:nth-child(1),
#lb-hero-s2:checked ~ .lb-hero__slides .lb-hero__slide:nth-child(2),
#lb-hero-s3:checked ~ .lb-hero__slides .lb-hero__slide:nth-child(3) {
  opacity: 1;
  z-index: 1;
}

.lb-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(15, 47, 46, 0.82) 0%, rgba(15, 47, 46, 0.35) 45%, rgba(15, 31, 30, 0.75) 100%),
    radial-gradient(900px 500px at 20% 30%, rgba(201, 162, 39, 0.12), transparent 55%);
}

.lb-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(5rem, 12vw, 7rem);
  color: #fff;
}

.lb-hero__copy-stack {
  display: grid;
}

.lb-hero__copy-pane {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 800ms;
}

#lb-hero-s1:checked ~ .lb-hero__inner .lb-hero__copy-pane:nth-child(1),
#lb-hero-s2:checked ~ .lb-hero__inner .lb-hero__copy-pane:nth-child(2),
#lb-hero-s3:checked ~ .lb-hero__inner .lb-hero__copy-pane:nth-child(3) {
  opacity: 1;
  visibility: visible;
}

.lb-hero__kicker {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--copper);
  margin: 0 0 1rem;
  font-weight: 700;
}

.lb-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.lb-hero__lead {
  max-width: 48ch;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  opacity: 0.94;
  margin: 0 0 1.85rem;
}

.lb-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  font-family: inherit;
}

.lb-btn:hover {
  transform: translateY(-2px);
}

.lb-btn--primary {
  background: var(--copper);
  color: var(--teal);
  border-color: var(--copper);
}

.lb-btn--primary:hover {
  background: #d4ae35;
}

.lb-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.lb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lb-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.lb-hero__dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.lb-hero__dot:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

#lb-hero-s1:checked ~ .lb-hero__dots label[for="lb-hero-s1"],
#lb-hero-s2:checked ~ .lb-hero__dots label[for="lb-hero-s2"],
#lb-hero-s3:checked ~ .lb-hero__dots label[for="lb-hero-s3"] {
  background: var(--copper);
  transform: scale(1.2);
}

/* —— Sections (cmp-* from component library) —— */
.cmp-container {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
}

.cmp-section {
  padding: clamp(3.25rem, 5.5vw, 5.5rem) 0;
}

.cmp-section__head {
  margin-bottom: 1.5rem;
}

.cmp-section__head--center {
  text-align: center;
}

.cmp-kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--copper-dim);
  font-weight: 700;
  margin: 0 0 0.55rem;
}

.cmp-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--teal);
}

/* Product grid — fixed 4 columns, equal cards */
.cmp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.cmp-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cmp-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.cmp-card__body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.4rem;
  flex: 1;
}

.cmp-card__title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--teal);
}

.cmp-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .cmp-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cmp-container {
    width: calc(100% - 2.25rem);
  }
  .cmp-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* About strip — asymmetric layout */
.lb-about {
  background: linear-gradient(180deg, #e8e4da 0%, var(--bg) 100%);
}

.lb-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.lb-about__text p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.lb-about__text p:last-of-type {
  margin-bottom: 1.35rem;
}

.lb-about__mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  min-height: 320px;
}

.lb-about__mosaic .big {
  grid-row: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lb-about__mosaic .small {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lb-about__mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .lb-about__grid {
    grid-template-columns: 1fr;
  }
  .lb-about__mosaic {
    min-height: 280px;
    order: -1;
  }
}

/* Testimonials */
.cmp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.cmp-review {
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.cmp-review__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.cmp-review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--copper);
}

.cmp-review__name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cmp-review__role {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.cmp-review__stars {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  color: var(--copper);
}

.cmp-review__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

@media (max-width: 1080px) {
  .cmp-testimonials {
    grid-template-columns: 1fr;
  }
}

/* Split message */
.cmp-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  align-items: stretch;
}

.cmp-split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.cmp-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cmp-form {
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.cmp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.cmp-field {
  display: grid;
  gap: 0.4rem;
}

.cmp-field__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.cmp-field__input,
.cmp-field__textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0.88rem 1rem;
  background: #fff;
  outline: none;
  font: inherit;
}

.cmp-field__textarea {
  resize: vertical;
  min-height: 140px;
}

.cmp-field__input:focus,
.cmp-field__textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.cmp-form__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .cmp-split {
    grid-template-columns: 1fr;
  }
  .cmp-split__media {
    min-height: 220px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .cmp-form__row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.cmp-footer {
  padding-top: 3rem;
  margin-top: 0.5rem;
  background: var(--teal);
  color: rgba(255, 255, 255, 0.92);
  border-top: 3px solid var(--copper);
}

.cmp-footer a {
  color: inherit;
}

.cmp-footer__grid {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2.25rem;
}

.cmp-footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 0.65rem;
  display: block;
}

.cmp-footer__desc {
  margin: 0;
  opacity: 0.82;
  max-width: 36ch;
  font-size: 0.95rem;
}

.cmp-footer__title {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
}

.cmp-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.cmp-footer__list a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.cmp-footer__list a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.cmp-footer__social {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cmp-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.cmp-social:hover {
  background: rgba(201, 162, 39, 0.25);
}

.cmp-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cmp-footer__bottom {
  padding: 1.1rem 1.25rem 1.35rem;
  background: rgba(0, 0, 0, 0.2);
}

.cmp-footer__copy {
  margin: 0;
  text-align: center;
  opacity: 0.72;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .cmp-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page */
.lb-contact-hero {
  position: relative;
  min-height: min(42vh, 420px);
}

.lb-contact-hero img {
  width: 100%;
  height: min(42vh, 420px);
  object-fit: cover;
  display: block;
}

.lb-contact-hero__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(15, 47, 46, 0.92));
}

.lb-contact-hero__bar h1 {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #fff;
}

.lb-contact-body {
  padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.lb-contact-split {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.lb-contact-split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lb-contact-split__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.lb-contact-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lb-contact-card h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  color: var(--teal);
}

.lb-contact-card p,
.lb-contact-card address {
  margin: 0 0 0.85rem;
  font-style: normal;
  color: var(--muted);
}

.lb-contact-card a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .lb-contact-split {
    grid-template-columns: 1fr;
  }
  .lb-contact-split__media {
    order: -1;
  }
  .lb-contact-split__media img {
    min-height: 240px;
  }
}

/* About page — image-led */
.lb-about-page {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 4rem);
}

.lb-about-page__intro {
  width: min(720px, calc(100% - 3rem));
  margin: 0 auto 1.75rem;
  text-align: center;
}

.lb-about-page__intro .cmp-title {
  margin-bottom: 0.75rem;
}

.lb-about-page__intro .lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.lb-about-page__hero-img {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lb-about-page__hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.lb-about-page__second {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lb-about-page__second img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}
