/* ==========================================================================
   Kemzi.site — Quiet Modern Design System
   Pure CSS3 · Editorial · Refined · Premium
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg: #F7F5F0;
  --bg-sage: #E9ECE7;
  --primary: #315C52;
  --secondary: #6E7F74;
  --accent: #C9895B;
  --highlight: #E7C979;
  --dark: #202421;
  --text: #202421;
  --text-muted: #69716B;
  --white: #FFFFFF;
  --border: rgba(32, 36, 33, 0.11);

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 1px 2px rgba(32, 36, 33, 0.04), 0 8px 24px rgba(32, 36, 33, 0.05);
  --shadow-nav: 0 1px 0 var(--border), 0 4px 16px rgba(32, 36, 33, 0.03);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --header-h: 4.25rem;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Grain Overlay
   -------------------------------------------------------------------------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* --------------------------------------------------------------------------
   Shared Utilities
   -------------------------------------------------------------------------- */
.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.divider {
  border: none;
  height: 1px;
  background: var(--border);
  width: 100%;
  max-width: 6rem;
  margin: var(--space-md) 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
  min-height: 48px;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: #274a42;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--primary);
  background: rgba(49, 92, 82, 0.04);
}

.btn--light {
  background: var(--bg);
  color: var(--primary);
}

.btn--light:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

/* Fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.9s var(--ease) both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-nav);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  z-index: 110;
}

.nav__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 110;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--primary);
  margin-left: auto;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  padding: 0.35rem 0;
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav__cta:hover {
  background: #274a42;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem clamp(4rem, 10vw, 7rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero__content {
  max-width: 32rem;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  color: var(--dark);
  margin: 1.1rem 0 1.35rem;
  line-height: 1.08;
}

.hero__text {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__visual {
  position: relative;
  min-height: 340px;
  margin-left: 0;
}

.hero__frame {
  position: relative;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background:
    linear-gradient(160deg, rgba(49, 92, 82, 0.18), rgba(201, 137, 91, 0.12)),
    linear-gradient(45deg, #d5dbd4 25%, transparent 25%),
    linear-gradient(-45deg, #d5dbd4 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d5dbd4 75%),
    linear-gradient(-45deg, transparent 75%, #d5dbd4 75%),
    var(--bg-sage);
  background-size: auto, 24px 24px, 24px 24px, 24px 24px, 24px 24px, auto;
  background-position: 0 0, 0 0, 0 12px, 12px -12px, -12px 0, 0 0;
  transition: transform 1.2s var(--ease);
}

.hero__visual:hover .hero__image {
  transform: scale(1.04);
}

.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__line {
  position: absolute;
  background: rgba(49, 92, 82, 0.28);
}

.hero__line--v {
  top: 12%;
  left: 18%;
  width: 1px;
  height: 55%;
}

.hero__line--h {
  top: 38%;
  left: 10%;
  width: 48%;
  height: 1px;
}

.hero__panel {
  position: absolute;
  bottom: -1.25rem;
  left: -1rem;
  width: 7rem;
  height: 9rem;
  background: var(--accent);
  border-radius: var(--radius-sm);
  opacity: 0.92;
  animation: floatY 6s ease-in-out infinite;
}

.hero__orb {
  position: absolute;
  top: 8%;
  right: 8%;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 0 8px rgba(231, 201, 121, 0.2);
  animation: floatY 5s ease-in-out 0.8s infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro {
  padding: var(--space-2xl) 1.5rem;
  background: var(--bg);
}

.intro__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.intro__text {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 36rem;
}

/* --------------------------------------------------------------------------
   Features — Editorial Rows
   -------------------------------------------------------------------------- */
.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem var(--space-2xl);
}

.features__header {
  margin-bottom: var(--space-lg);
}

.feature-rows {
  border-top: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 0.75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.feature-row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--primary);
  transition: width 0.5s var(--ease);
}

.feature-row:hover {
  background: rgba(233, 236, 231, 0.55);
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.feature-row:hover::before {
  width: 100%;
}

.feature-row__num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--secondary);
  min-width: 2rem;
  transition: color 0.35s var(--ease);
}

.feature-row:hover .feature-row__num {
  color: var(--accent);
}

.feature-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.feature-row__desc {
  color: var(--text-muted);
  font-size: 0.975rem;
}

.feature-row__shape {
  width: 10px;
  height: 10px;
  background: var(--highlight);
  border-radius: 50%;
  opacity: 0.7;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}

.feature-row:hover .feature-row__shape {
  transform: scale(1.35);
  opacity: 1;
}

.feature-row__arrow {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.4s var(--ease);
}

.feature-row:hover .feature-row__arrow {
  transform: translateX(8px);
}

/* --------------------------------------------------------------------------
   Showcase Gallery
   -------------------------------------------------------------------------- */
.showcase {
  background: var(--bg-sage);
  padding: var(--space-2xl) 1.5rem;
}

.showcase__header {
  max-width: var(--max);
  margin: 0 auto var(--space-xl);
}

.gallery {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.gallery__item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.gallery__media {
  background:
    linear-gradient(145deg, rgba(49, 92, 82, 0.22), rgba(110, 127, 116, 0.1)),
    var(--secondary);
  min-height: 180px;
  transition: transform 0.8s var(--ease);
  transform-origin: center;
}

.gallery__item:hover .gallery__media {
  transform: scale(1.03);
}

.gallery__item--wide .gallery__media {
  background:
    linear-gradient(120deg, rgba(49, 92, 82, 0.35), rgba(201, 137, 91, 0.2)),
    #8a9a90;
  min-height: 220px;
}

.gallery__item--tall .gallery__media {
  background:
    linear-gradient(180deg, rgba(32, 36, 33, 0.15), rgba(49, 92, 82, 0.4)),
    #5a7066;
  min-height: 280px;
}

.gallery__item--square .gallery__media {
  background:
    linear-gradient(60deg, rgba(231, 201, 121, 0.35), rgba(49, 92, 82, 0.3)),
    #9aa89c;
  min-height: 220px;
  aspect-ratio: 1;
}

.gallery__item--narrow .gallery__media {
  background:
    linear-gradient(200deg, rgba(201, 137, 91, 0.4), rgba(110, 127, 116, 0.25)),
    #b39a7f;
  min-height: 200px;
}

.gallery__item--full .gallery__media {
  background:
    linear-gradient(100deg, rgba(49, 92, 82, 0.45), rgba(32, 36, 33, 0.2)),
    #4a635a;
  min-height: 240px;
}

.gallery__meta {
  padding: 1.25rem 1.35rem 1.5rem;
}

.gallery__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.4rem 0 0.35rem;
  color: var(--dark);
}

.gallery__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Small Details Constellation
   -------------------------------------------------------------------------- */
.details {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-2xl) 1.5rem;
}

.details__header {
  margin-bottom: var(--space-xl);
  max-width: 36rem;
}

.details__constellation {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
}

.details__center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  order: -1;
}

.details__word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: var(--primary);
  letter-spacing: 0.08em;
  opacity: 0.18;
  user-select: none;
}

.details__lines {
  display: none;
}

.detail {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.detail__name {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.detail__note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Numbers
   -------------------------------------------------------------------------- */
.numbers {
  background: var(--bg-sage);
  padding: var(--space-xl) 1.5rem;
}

.numbers__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
}

.stat {
  text-align: center;
  position: relative;
}

.stat::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
  opacity: 0.7;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat__plus,
.stat__slash {
  color: var(--accent);
  font-size: 0.7em;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Stories
   -------------------------------------------------------------------------- */
.stories {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-2xl) 1.5rem;
}

.stories__header {
  margin-bottom: var(--space-xl);
}

.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
}

.story:last-child {
  border-bottom: 1px solid var(--border);
}

.story__media {
  min-height: 220px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(49, 92, 82, 0.3), rgba(201, 137, 91, 0.15)),
    var(--bg-sage);
  transition: transform 0.7s var(--ease);
}

.story:hover .story__media {
  transform: scale(1.015);
}

.story:nth-child(3) .story__media {
  background:
    linear-gradient(200deg, rgba(110, 127, 116, 0.4), rgba(231, 201, 121, 0.2)),
    #c5ccc2;
}

.story:nth-child(4) .story__media {
  background:
    linear-gradient(40deg, rgba(32, 36, 33, 0.2), rgba(49, 92, 82, 0.35)),
    #a8b4ab;
}

.story__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  margin: 0.5rem 0 0.85rem;
  color: var(--dark);
}

.story__desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.story__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.story__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--secondary);
  letter-spacing: 0.04em;
}

.story__read {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: transform 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.story__read:hover {
  transform: translateX(4px);
}

.story__read span {
  transition: transform 0.3s var(--ease);
}

.story__read:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Kemzi Circle
   -------------------------------------------------------------------------- */
.circle {
  padding: var(--space-2xl) 1.5rem;
  background: var(--bg);
  overflow: hidden;
}

.circle__stage {
  position: relative;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle__core {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(49, 92, 82, 0.15), 0 0 0 18px rgba(49, 92, 82, 0.05);
}

.circle__brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  color: var(--bg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.circle__orbit {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: orbitSpin 60s linear infinite;
}

.circle__word {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  white-space: nowrap;
  animation: orbitCounter 60s linear infinite;
}

.circle__word--1 { top: 0; left: 50%; margin-left: -1.5rem; }
.circle__word--2 { top: 28%; right: 0; }
.circle__word--3 { bottom: 12%; right: 8%; }
.circle__word--4 { bottom: 0; left: 22%; }
.circle__word--5 { top: 30%; left: 0; }

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* --------------------------------------------------------------------------
   Membership
   -------------------------------------------------------------------------- */
.membership {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem var(--space-2xl);
}

.membership__header {
  margin-bottom: var(--space-xl);
}

.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.tier {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.tier__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.tier__desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
}

.tier__list {
  margin-bottom: 2rem;
  flex: 1;
}

.tier__list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.tier--featured {
  background: var(--primary);
  border-color: var(--highlight);
  border-width: 1.5px;
  position: relative;
}

.tier--featured .tier__name,
.tier--featured .tier__desc,
.tier--featured .tier__list li {
  color: var(--bg);
}

.tier--featured .tier__list li::before {
  background: var(--highlight);
}

.tier__badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--highlight);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  background: var(--primary);
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  overflow: hidden;
  text-align: center;
}

.final-cta__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-cta__circle {
  position: absolute;
  width: min(380px, 70vw);
  height: min(380px, 70vw);
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.18;
  top: -20%;
  right: -8%;
}

.final-cta__gold {
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--highlight);
  opacity: 0.35;
  bottom: 12%;
  left: 8%;
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--bg);
  margin-bottom: 1rem;
}

.final-cta__text {
  color: rgba(247, 245, 240, 0.78);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(247, 245, 240, 0.72);
  padding: var(--space-xl) 1.5rem var(--space-lg);
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--bg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.975rem;
  max-width: 16rem;
  color: rgba(247, 245, 240, 0.55);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer__heading {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.925rem;
  padding: 0.3rem 0;
  color: rgba(247, 245, 240, 0.65);
  transition: color 0.25s;
}

.footer__col a:hover {
  color: var(--bg);
}

.footer__form-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.footer__form-row input {
  flex: 1;
  min-width: 180px;
  background: rgba(247, 245, 240, 0.06);
  border: 1px solid rgba(247, 245, 240, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--bg);
  outline: none;
  transition: border-color 0.3s;
}

.footer__form-row input::placeholder {
  color: rgba(247, 245, 240, 0.4);
}

.footer__form-row input:focus {
  border-color: var(--highlight);
}

.footer__gold-line {
  max-width: var(--max);
  margin: 2.5rem auto 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  opacity: 0.45;
}

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 240, 0.4);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(247, 245, 240, 0.15);
  border-radius: 50%;
  color: rgba(247, 245, 240, 0.6);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.social-icon:hover {
  color: var(--highlight);
  border-color: var(--highlight);
  background: rgba(231, 201, 121, 0.08);
}

/* --------------------------------------------------------------------------
   Tablet+
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(120px, auto);
  }

  .gallery__item--wide {
    grid-column: span 4;
  }

  .gallery__item--tall {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--tall .gallery__media {
    flex: 1;
    min-height: 100%;
  }

  .gallery__item--square {
    grid-column: span 2;
  }

  .gallery__item--narrow {
    grid-column: span 2;
  }

  .gallery__item--full {
    grid-column: span 6;
  }

  .numbers__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .stat::after {
    display: none;
  }

  .tiers {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .tier--featured {
    transform: translateY(-8px);
  }

  .tier--featured:hover {
    transform: translateY(-11px);
  }
}

/* --------------------------------------------------------------------------
   Laptop / Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    padding-top: 4.5rem;
  }

  .hero__content {
    padding-right: 1rem;
    margin-top: -1.5rem;
  }

  .hero__visual {
    margin-left: 1.5rem;
    min-height: 480px;
  }

  .hero__frame,
  .hero__image {
    min-height: 480px;
  }

  .hero__panel {
    left: -1.75rem;
    bottom: -1.5rem;
    width: 8.5rem;
    height: 11rem;
  }

  .story {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }

  .story--rtl .story__media {
    order: 2;
  }

  .story--rtl .story__body {
    order: 1;
  }

  .details__constellation {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem 2rem;
    min-height: 480px;
    align-items: center;
    justify-items: center;
  }

  .details__center {
    grid-column: 2;
    grid-row: 1 / 4;
    order: 0;
    padding: 0;
  }

  .details__word {
    opacity: 0.14;
  }

  .detail {
    border: none;
    padding: 0.75rem 1rem;
    text-align: center;
    max-width: 11rem;
  }

  .detail--1 { grid-column: 1; grid-row: 1; justify-self: end; }
  .detail--2 { grid-column: 3; grid-row: 1; justify-self: start; }
  .detail--3 { grid-column: 1; grid-row: 2; justify-self: start; }
  .detail--4 { grid-column: 3; grid-row: 2; justify-self: end; }
  .detail--5 { grid-column: 1; grid-row: 3; justify-self: end; }
  .detail--6 { grid-column: 3; grid-row: 3; justify-self: start; }

  .details__lines {
    display: block;
    position: absolute;
    inset: 5% 10%;
    width: 80%;
    height: 90%;
    pointer-events: none;
    z-index: 0;
  }

  .details__lines line {
    stroke: rgba(32, 36, 33, 0.1);
    stroke-width: 1;
  }

  .detail,
  .details__center {
    position: relative;
    z-index: 1;
  }

  .footer__top {
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .circle__stage {
    width: 480px;
    height: 480px;
  }
}

/* --------------------------------------------------------------------------
   Wide Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1100px) {
  .feature-row {
    grid-template-columns: 4rem 1fr auto auto;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .feature-row__body {
    display: grid;
    grid-template-columns: 12rem 1fr;
    gap: 2rem;
    align-items: baseline;
  }

  .feature-row__title {
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   Mobile Navigation
   -------------------------------------------------------------------------- */
@media (max-width: 799px) {
  .nav__burger {
    display: flex;
  }

  .nav__panel {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }

  .nav__toggle:checked ~ .nav__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__toggle:checked ~ .nav__burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav__toggle:checked ~ .nav__burger span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle:checked ~ .nav__burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .nav__menu {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .nav__link {
    font-size: 1.25rem;
  }

  .nav__cta {
    font-size: 0.9375rem;
    padding: 0.9rem 1.75rem;
  }

  .feature-row {
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
  }

  .feature-row__shape {
    display: none;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Focus Styles (Accessibility)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav__cta:focus-visible,
.nav__link:focus-visible {
  outline-offset: 4px;
}
