:root {
  --brown: #3b2f0a;
  --brown-deep: rgba(55, 42, 10, 0.96);
  --gold: #d4a93a;
  --gold-dark: #7a5a14;
  --cream: #f5e6c8;
  --glass-gold: rgba(255, 200, 100, 0.25);
  --success: #4ca66a;
  --warning: #d98c2b;
  --danger: #b84a4a;
  --info: #4d78b8;
  --black: #080704;
  --surface: rgba(59, 47, 10, 0.64);
  --line: rgba(245, 230, 200, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 169, 58, 0.12), transparent 34rem),
    linear-gradient(135deg, #070604 0%, #201806 48%, #090806 100%);
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: var(--gold);
  color: var(--black);
}

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

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

.site-header {
  align-items: center;
  background: rgba(8, 7, 4, 0.42);
  border-bottom: 1px solid transparent;
  display: grid;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  backdrop-filter: blur(16px);
  background: rgba(8, 7, 4, 0.82);
  border-color: var(--line);
}

.brand {
  align-items: center;
  display: flex;
  height: 56px;
  width: 72px;
}

.brand img {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.48));
  height: 72px;
  object-fit: contain;
  width: 72px;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
}

.nav-links a,
.header-action {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(245, 230, 200, 0.8);
}

.nav-links a:hover {
  color: var(--gold);
}

.header-action {
  border: 1px solid rgba(212, 169, 58, 0.58);
  color: var(--gold);
  padding: 10px 16px;
}

.hero {
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  padding: 122px clamp(18px, 5vw, 72px) 56px;
  place-items: end start;
  position: relative;
}

.hero-bg,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-bg img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 6000ms ease;
  width: 100%;
}

.hero-bg img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 7, 4, 0.92), rgba(8, 7, 4, 0.62) 38%, rgba(8, 7, 4, 0.14) 72%),
    linear-gradient(0deg, #080704 0%, rgba(8, 7, 4, 0.1) 38%);
}

.hero-content {
  max-width: 760px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-logo {
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.72));
  margin-bottom: 18px;
  width: min(250px, 44vw);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  color: #fff7dc;
  font-size: clamp(4.2rem, 12vw, 11.5rem);
  margin-bottom: 20px;
  text-shadow: 0 8px 0 rgba(122, 90, 20, 0.54), 0 24px 60px rgba(0, 0, 0, 0.64);
}

h2 {
  color: #fff4d5;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  margin-bottom: 22px;
}

h3 {
  color: #fff2cd;
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-copy {
  color: rgba(245, 230, 200, 0.86);
  font-size: clamp(1rem, 2vw, 1.28rem);
  max-width: min(620px, 100%);
  overflow-wrap: break-word;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid rgba(245, 230, 200, 0.2);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold), #ffd77c);
  border-color: var(--gold);
  color: #1a1204;
  box-shadow: 0 14px 34px rgba(212, 169, 58, 0.22);
}

.button.primary:hover {
  background: linear-gradient(135deg, #ffd77c, var(--gold));
}

.button.secondary {
  background: rgba(245, 230, 200, 0.08);
  color: var(--cream);
}

.button.secondary:hover {
  border-color: rgba(212, 169, 58, 0.7);
}

.hero-panel {
  background: rgba(55, 42, 10, 0.72);
  border: 1px solid var(--glass-gold);
  box-shadow: var(--shadow);
  max-width: 340px;
  padding: 22px;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: 58%;
  transform: translateY(-50%);
  z-index: 3;
}

.hero-panel span {
  color: var(--gold);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-panel strong {
  color: #fff5d8;
  display: block;
  font-size: 1.36rem;
  line-height: 1.1;
}

.hero-panel p {
  color: rgba(245, 230, 200, 0.78);
  margin: 12px 0 0;
}

.section,
.gallery-section,
.join-section,
.split-section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  margin: 0 auto 44px;
  max-width: 1180px;
}

.section-heading.compact {
  display: block;
  max-width: 840px;
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.feature,
.experience-list > div {
  background: linear-gradient(180deg, rgba(245, 230, 200, 0.08), rgba(245, 230, 200, 0.03));
  border: 1px solid var(--line);
  padding: 24px;
}

.feature span {
  color: var(--gold);
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 22px;
}

.feature p,
.experience-list p,
.split-copy p,
.join-section p,
.section-heading p {
  color: rgba(245, 230, 200, 0.78);
}

.split-section {
  align-items: stretch;
  background: rgba(8, 7, 4, 0.42);
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.split-media {
  min-height: 520px;
  overflow: hidden;
}

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

.split-copy {
  align-self: center;
  max-width: 620px;
}

.stat-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.stat-row div {
  border-top: 1px solid var(--glass-gold);
  padding-top: 14px;
}

.stat-row strong {
  color: var(--gold);
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}

.stat-row span {
  color: rgba(245, 230, 200, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.experience-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 44px auto 0;
  max-width: 1180px;
}

.gallery-section {
  background: linear-gradient(180deg, rgba(59, 47, 10, 0.48), rgba(8, 7, 4, 0.28));
}

.gallery-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 28px;
  max-width: 1240px;
}

.gallery-heading h2 {
  margin-bottom: 0;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-controls button {
  background: rgba(245, 230, 200, 0.08);
  border: 1px solid var(--line);
  color: var(--cream);
  cursor: pointer;
  font-size: 2rem;
  height: 48px;
  line-height: 1;
  width: 48px;
}

.gallery-controls button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-main {
  aspect-ratio: 16 / 7;
  background: var(--black);
  box-shadow: var(--shadow);
  margin: 0 auto 16px;
  max-width: 1240px;
  overflow: hidden;
}

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

.thumb-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(9, minmax(74px, 1fr));
  margin: 0 auto;
  max-width: 1240px;
}

.thumb-strip button {
  aspect-ratio: 16 / 9;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.thumb-strip button.is-selected {
  border-color: var(--gold);
}

.thumb-strip img {
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 100%;
}

.thumb-strip button:hover img,
.thumb-strip button.is-selected img {
  opacity: 1;
  transform: scale(1.04);
}

.join-section {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 7, 4, 0.9), rgba(8, 7, 4, 0.52)),
    url("assets/kartell_06.png") center / cover;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 460px;
}

.join-section > div:first-child {
  max-width: 820px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: rgba(245, 230, 200, 0.72);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.site-footer img {
  height: 54px;
  object-fit: contain;
  width: 54px;
}

.site-footer span {
  font-weight: 800;
  margin-right: auto;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-panel {
    margin-top: 34px;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
  }

  .section-heading,
  .split-section,
  .join-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .experience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thumb-strip {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand,
  .brand img {
    height: 54px;
    width: 54px;
  }

  .header-action {
    padding: 9px 12px;
  }

  .hero {
    display: block;
    padding: 102px 16px 38px;
  }

  .hero-content,
  .hero-copy {
    max-width: calc(100vw - 32px);
  }

  .hero-copy {
    max-width: min(340px, calc(100vw - 48px));
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.75rem);
  }

  h2 {
    font-size: clamp(2.3rem, 13vw, 3.8rem);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 7, 4, 0.9), rgba(8, 7, 4, 0.48)),
      linear-gradient(0deg, #080704 0%, rgba(8, 7, 4, 0.22) 56%);
  }

  .feature-grid,
  .experience-list,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 320px;
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
  }

  .gallery-main {
    aspect-ratio: 4 / 3;
  }

  .thumb-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .join-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

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