﻿:root {
  --bg-main: #035338;
  --bg-dark: #012b1d;
  --text: #f6f0e7;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.08);
  --glow: rgba(113, 199, 154, 0.22);
  --shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(113, 199, 154, 0.2), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 15%),
    linear-gradient(145deg, var(--bg-dark) 0%, var(--bg-main) 50%, #023926 100%);
  color: var(--text);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(28px);
}

body::before {
  top: -7rem;
  left: -5rem;
  width: 22rem;
  height: 22rem;
  background: rgba(113, 199, 154, 0.12);
}

body::after {
  right: -8rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 255, 255, 0.05);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: clamp(16px, 2.5vw, 30px);
}

.stage {
  width: min(1760px, 100%);
  min-height: calc(100vh - 2 * clamp(16px, 2.5vw, 30px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}

.ambient {
  position: absolute;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.9;
}

.ambient-left {
  top: 10%;
  left: 2%;
  width: min(28vw, 420px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.ambient-right {
  right: 2%;
  bottom: 11%;
  width: min(30vw, 460px);
  background: linear-gradient(90deg, transparent, rgba(113, 199, 154, 0.46), transparent);
}

.hero-card {
  position: relative;
  width: min(100%, 1700px);
  height: min(78vh, 960px);
  min-height: 560px;
  overflow: clip;
  border-radius: 36px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  clip-path: inset(0 round 36px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at center, transparent 58%, rgba(1, 43, 29, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: clip;
  border-radius: inherit;
  background: linear-gradient(180deg, #f3eee7 0%, #ddd7cd 100%);
  clip-path: inset(0 round 36px);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22)),
    linear-gradient(135deg, rgba(113, 199, 154, 0.08), transparent 34%);
  z-index: 1;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  z-index: 2;
  pointer-events: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.brand-mark {
  position: absolute;
  top: clamp(24px, 3vw, 42px);
  left: 50%;
  width: clamp(102px, 9vw, 148px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  z-index: 3;
}

.brand-ring {
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 34px rgba(113, 199, 154, 0.16);
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.hero-title {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 4vw, 42px);
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(1, 43, 29, 0.3);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.frame {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  z-index: 2;
  pointer-events: none;
}

.frame-top {
  top: clamp(94px, 10vw, 122px);
  width: min(360px, 28vw);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.frame-bottom {
  bottom: 18px;
  width: min(460px, 34vw);
  background: linear-gradient(90deg, transparent, rgba(113, 199, 154, 0.42), transparent);
}

@supports not (overflow: clip) {
  .hero-card,
  .hero-media {
    overflow: hidden;
  }
}

@media (min-width: 1600px) {
  .hero-card {
    height: min(72vh, 900px);
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 14px;
  }

  .hero-card {
    height: min(70vh, 760px);
    min-height: 500px;
    border-radius: 28px;
    clip-path: inset(0 round 28px);
  }

  .hero-media {
    clip-path: inset(0 round 28px);
  }

  .hero-media::after {
    inset: 12px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 110px;
    top: 26px;
  }

  .brand-ring {
    inset: -10px;
    border-radius: 20px;
  }

  .brand-mark img {
    border-radius: 14px;
  }

  .hero-title {
    bottom: 22px;
    padding: 10px 18px;
    letter-spacing: 0.2em;
  }
}

@media (max-width: 640px) {
  .hero-card {
    height: 62vh;
    min-height: 420px;
    border-radius: 24px;
    clip-path: inset(0 round 24px);
  }

  .hero-media {
    clip-path: inset(0 round 24px);
  }

  .hero-media::after {
    inset: 10px;
    border-radius: 16px;
  }

  .brand-mark {
    width: 94px;
    top: 28px;
  }

  .brand-ring {
    inset: -8px;
    border-radius: 18px;
  }

  .hero-title {
    bottom: 18px;
    font-size: 0.88rem;
    letter-spacing: 0.16em;
  }

  .frame,
  .ambient {
    display: none;
  }
}
