:root {
  --bg: #0e1922;
  --bg-alt: #132432;
  --panel: #182c3a;
  --panel-soft: #213847;
  --panel-light: #edf1ee;
  --text: #ecf1ed;
  --text-soft: #b6c3c8;
  --text-dark: #1c2429;
  --accent: #1f9467;
  --accent-soft: #85d2b0;
  --line: rgba(220, 237, 243, 0.12);
  --shadow: 0 26px 70px rgba(4, 10, 16, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(31, 148, 103, 0.18), transparent 22%),
    radial-gradient(circle at 12% 24%, rgba(72, 126, 151, 0.16), transparent 20%),
    linear-gradient(180deg, #0c151d 0%, #10202c 100%);
  color: var(--text);
  font-family: Aptos, "Aptos Display", "Segoe UI", sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.page-frame {
  width: min(1460px, calc(100% - 28px));
  margin: 14px auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(17, 29, 39, 0.94) 0%, rgba(12, 22, 30, 0.98) 100%);
  box-shadow: var(--shadow);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 22, 30, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(236, 241, 237, 0.16);
}

.brand-kicker,
.tile-label {
  display: block;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--accent);
  white-space: nowrap;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: none;
}

.section-rail .section-label,
.story-main .section-label,
.gallery-heading .section-label,
.contact-copy .section-label {
  color: #1f9467;
}

.tile-label {
  margin: 0 0 12px;
}

.brand-copy h1,
.brand-copy .brand-name,
.hero-copy-shell h1,
.hero-copy-shell h2,
.section-rail h2,
.story-main h2,
.gallery-heading h2,
.contact-copy h2,
.product-card h3,
.story-tile h3 {
  font-family: inherit;
}

.brand-copy h1,
.brand-copy .brand-name {
  margin: 0.22rem 0 0;
  font-size: 1.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(236, 241, 237, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
}

.nav-toggle span {
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

main {
  padding: 0 1.4rem 3rem;
}

.hero-stage,
.section,
.site-footer {
  max-width: 1320px;
  margin: 0 auto;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  padding: 1.5rem 0 3.5rem;
  align-items: start;
}

.hero-visual-shell {
  min-height: 720px;
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  border-radius: 22px;
}

.hero-image-caption {
  display: none;
  margin: 0.9rem 0 0;
  color: var(--accent-soft);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
}

.hero-copy-shell {
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(27, 45, 58, 0.98) 0%, rgba(19, 34, 46, 0.98) 100%);
  border: 1px solid rgba(133, 210, 176, 0.18);
  box-shadow: var(--shadow);
}

.hero-copy-shell .eyebrow {
  color: var(--accent);
}

.hero-featured {
  margin-bottom: 0.6rem;
}

.hero-copy-shell p,
.copy-band p,
.story-main p,
.contact-copy p,
.detail-copy p,
.product-card p,
.story-tile p,
.gallery-card figcaption {
  color: var(--text-soft);
  line-height: 1.78;
}

.hero-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0 0 1rem;
  width: 100%;
}

.hero-status-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 220px;
}

.hero-status-card > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-status strong {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-status-card span {
  display: block;
}

.hero-status-card span:last-child {
  align-self: flex-end;
}

.hero-status-image {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  flex: 0 1 320px;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(236, 241, 237, 0.16);
  margin-left: auto;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: transparent;
  border-color: rgba(133, 210, 176, 0.34);
  color: var(--text);
}

.section {
  padding: 3.6rem 0;
}

#products {
  scroll-margin-top: 120px;
}

#story {
  scroll-margin-top: 120px;
}

.product-overview {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.5rem;
}

.section-rail {
  padding: 1.5rem 0;
}

.section-content {
  display: grid;
  gap: 1.5rem;
}

.copy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.page-index {
  padding-top: 0;
}

.section-index {
  gap: 1.2rem;
}

.section-index-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.section-index-links .button {
  min-width: 180px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  align-items: start;
}

.product-card,
.product-detail,
.story-main,
.story-tile,
.gallery-card,
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(4, 10, 16, 0.18);
}

.product-card {
  display: grid;
  align-content: start;
  padding: 1.2rem;
  border-radius: 22px;
}

.product-card-image {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 14px;
}

.product-card-image-zoomed {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  object-position: 24% center;
}

.product-card .badge {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 148, 103, 0.14);
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
}

.product-card h3,
.story-tile h3 {
  margin: 0 0 0.45rem;
  font-size: 1.72rem;
  line-height: 1.05;
  font-weight: 600;
}

.product-card h3 {
  font-size: clamp(1.45rem, 2vw, 1.72rem);
}

.product-card .button {
  width: 100%;
  margin-top: 1rem;
}

.product-detail {
  border-radius: 26px;
}

.detail-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.5rem;
}

.detail-photo {
  width: min(440px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.detail-photo.reveal {
  transform: scale(1.02);
}

.detail-copy {
  display: grid;
  gap: 1rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.detail-meta.product-card-meta {
  width: min(100%, 500px);
  max-width: 500px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.detail-meta div {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.detail-meta strong {
  display: block;
  margin-bottom: 0.35rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 380px;
  gap: 1.2rem;
}

.story-main {
  padding: 2rem;
  border-radius: 28px;
}

.story-stack {
  display: grid;
  gap: 1rem;
}

.story-tile {
  padding: 1.35rem;
  border-radius: 22px;
}

.accent-tile {
  background: linear-gradient(180deg, rgba(31, 148, 103, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.gallery-panel {
  display: grid;
  gap: 1.4rem;
}

.gallery-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.gallery-card {
  width: 100%;
  max-width: 600px;
  justify-self: center;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: auto;
}

.gallery-card figcaption {
  padding: 0.95rem 1rem 1.15rem;
}

.gallery-card-large {
  grid-row: span 2;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 1.2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 24px;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(236, 241, 237, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.form-feedback {
  color: var(--accent-soft);
  min-height: 1.2rem;
}

.site-footer {
  padding: 1.6rem 1.4rem 2.8rem;
  color: var(--text-soft);
  text-align: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    position: sticky;
    overflow: visible;
  }

  .brand-block {
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: flex;
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 1.4rem;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.85rem;
    min-width: 220px;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(12, 22, 30, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.45rem) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.34s ease,
      transform 0.34s ease,
      visibility 0s linear 0.34s;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      opacity 0.36s ease,
      transform 0.36s ease,
      visibility 0s linear 0s;
  }

  .hero-stage,
  .product-overview,
  .story-panel,
  .gallery-layout,
  .contact-panel,
  .detail-card,
  .copy-band,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-large {
    grid-row: auto;
  }

  .hero-image-caption {
    display: block;
  }
}

@media (max-width: 760px) {
  .page-frame {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  main,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-copy-shell h2 {
    font-size: 3rem;
  }

  .hero-status {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-status-image {
    width: min(48vw, 280px);
    height: auto;
    margin-left: 0;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 1rem;
    gap: 0.7rem;
  }

  .site-nav {
    right: 1rem;
  }

  .brand-block {
    gap: 0.7rem;
    align-items: flex-start;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .nav-toggle {
    width: 2.8rem;
    height: 2.8rem;
    margin-top: 0.15rem;
  }
}