*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===== PALETTE: RAW OBSIDIAN / CRACKED STONE (NO COLOR) ===== */

:root {
  --bg: #050506;
  --bg-elevated: #0a0a0c;
  --bg-soft: #111113;
  --accent: #f5f5f5;           /* used only for subtle lines / focus */
  --accent-soft: rgba(245, 245, 245, 0.22);
  --text: #d4d4d6;
  --muted: #7b7d85;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --shadow-strong: 0 32px 90px rgba(0, 0, 0, 0.95);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.85);
}

html,
body {
  margin: 0;
  padding: 0;
}

body.page {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(120, 122, 132, 0.14), transparent 55%),
    radial-gradient(circle at bottom, rgba(24, 24, 28, 0.65), transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(0, 0, 0, 0.9), transparent 60%),
    #020203;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 6, 0.96),
    rgba(5, 5, 6, 0.86),
    rgba(5, 5, 6, 0.0)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0 0.8rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(250, 250, 250, 0.16), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(24, 24, 27, 0.9), transparent 70%),
    #050506;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1b1b1f;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.12),
    0 -1px 2px rgba(0, 0, 0, 0.95);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c3c3c5;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #7b7d85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(249, 250, 251, 0.9), rgba(118, 118, 128, 0.6));
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-highlight {
  background: linear-gradient(130deg, #e5e5e5, #d4d4d6, #a3a3a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-body {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 32rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Buttons */

.btn {
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease, box-shadow 0.14s ease,
    background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, #e5e5e5, #d4d4d4);
  color: #050506;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

.btn-ghost {
  background: rgba(10, 10, 12, 0.9);
  color: var(--muted);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(15, 15, 18, 0.96);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--muted);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: rgba(243, 244, 246, 0.9);
  color: var(--text);
}

/* Hero visual – photo-based obsidian shard */

.hero-visual {
  position: relative;
}

.hero-shard {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  margin-left: auto;
  margin-right: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  border: none;
  mix-blend-mode: lighten;
}

.hero-shard--photo {
  padding: 0;
}

.hero-shard-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.12) brightness(0.98);
  mix-blend-mode: lighten;
}

.hero-caption {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 18rem;
  margin-left: auto;
}


/* Sections */

.section-heading {
  text-align: left;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.6rem;
}

.section-body {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.95rem;
}

/* Drop / product grid */

.drop {
  padding: 1rem 0 3.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.product-card {
  background:
    radial-gradient(circle at top, rgba(100, 100, 110, 0.35), transparent 60%),
    radial-gradient(circle at bottom, rgba(20, 20, 26, 0.6), transparent 60%),
    var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

/* Obsidian garment panels */

.product-media {
  position: relative;
  padding: 1rem;
  min-height: 220px;
  overflow: hidden;
}

.product-media::before,
.product-media::after {
  content: "";
  position: absolute;
  border-radius: 40% 60% 45% 55%;
}

.product-media::before {
  inset: 8% 10%;
  background:
    radial-gradient(circle at 20% 0%, rgba(250, 250, 250, 0.08), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(31, 31, 35, 0.9), transparent 70%),
    radial-gradient(circle at 10% 95%, rgba(0, 0, 0, 0.96), transparent 65%),
    #050506;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.98);
}

/* Sculpted “carved garment” faceting – shard-based silhouettes */
.product-media::after {
  inset: 14% 18% 22%;
  background: url("../img/obsidian-hero-shard.jpg") center / cover no-repeat;
  border: 1px solid rgba(245, 245, 245, 0.08);
  clip-path: polygon(10% 0%, 90% 6%, 100% 46%, 80% 100%, 18% 94%, 0% 42%);
  box-shadow:
    inset 0 0 56px rgba(0, 0, 0, 0.98),
    0 0 32px rgba(0, 0, 0, 0.95);
  filter: contrast(1.2) brightness(0.9);
}
.product-media--hoodie::after {
  clip-path: polygon(12% 4%, 88% 0%, 100% 40%, 84% 100%, 30% 96%, 0% 50%);
}

.product-media--pants::after {
  clip-path: polygon(20% 0%, 80% 6%, 100% 40%, 86% 100%, 60% 100%, 28% 100%, 4% 40%);
}

.product-media--tee::after {
  clip-path: polygon(14% 4%, 86% 4%, 100% 36%, 80% 100%, 20% 100%, 0% 40%);
}

.product-media-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0.25rem 0.4rem;
}

.media-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249, 250, 251, 0.9);
}

.media-note {
  align-self: flex-end;
  font-size: 0.75rem;
  color: rgba(209, 213, 219, 0.9);
  background: rgba(24, 24, 28, 0.9);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(118, 118, 128, 0.65);
}

.product-body {
  padding: 1.25rem 1.3rem 1.3rem;
  font-size: 0.9rem;
}

.product-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.product-body p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.product-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-meta li + li {
  margin-top: 0.25rem;
}

.product-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pill {
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(30, 30, 36, 0.8);
  border: 1px solid rgba(118, 118, 128, 0.85);
  color: rgba(229, 231, 235, 0.9);
}

/* Story */

.story {
  padding: 3rem 0 3.5rem;
}

.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.story-copy h2 {
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.story-copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.story-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-block {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem;
  background:
    radial-gradient(circle at top, rgba(120, 122, 132, 0.18), transparent 60%),
    var(--bg-soft);
}

.story-block--glass {
  box-shadow: var(--shadow-soft);
}

.story-block--glass h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.story-block--glass p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.story-block--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.story-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-size: 0.7rem;
}

.stat-value {
  color: #d4d4d6;
}

/* Code */

.code {
  padding: 0 0 3.5rem;
}

.code-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.code-card {
  border-radius: var(--radius-md);
  background: linear-gradient(
      135deg,
      rgba(52, 52, 60, 0.45),
      rgba(24, 24, 28, 0.98)
    );
  border: 1px solid rgba(120, 122, 132, 0.55);
  padding: 1rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.92);
  font-size: 0.9rem;
}

.code-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.code-card p {
  margin: 0;
  color: var(--muted);
}

/* Notify */

.notify {
  padding: 0 0 3.5rem;
}

.notify-inner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top left, rgba(118, 118, 128, 0.26), transparent 60%),
    radial-gradient(circle at bottom right, rgba(30, 30, 36, 0.9), transparent 65%),
    var(--bg-soft);
  padding: 1.6rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.notify-copy h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.notify-copy p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.notify-form input {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(118, 118, 128, 0.85);
  background: rgba(24, 24, 28, 0.96);
  padding: 0.55rem 0.75rem;
  min-width: 0;
  width: 220px;
  color: var(--text);
  font-size: 0.85rem;
}

.notify-form input::placeholder {
  color: rgba(118, 118, 128, 0.9);
}

.notify-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

/* Footer */

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(24, 24, 28, 1);
  background: radial-gradient(circle at top, rgba(24, 24, 28, 0.96), rgba(3, 4, 7, 1));
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-brand {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Utilities */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .code-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .notify-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero-inner {
    gap: 2.25rem;
  }

  .product-body {
    padding: 1rem 1.05rem 1.1rem;
  }

  .notify-inner {
    padding: 1.3rem 1.1rem;
  }

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



/* ===== PREMIUM OBSIDIAN "FORGED" LANE – REFINEMENTS ===== */

/* Slightly flatter, more gallery-like background */
body.page {
  background:
    radial-gradient(circle at top, rgba(31, 31, 35, 0.32), transparent 52%),
    radial-gradient(circle at bottom, rgba(3, 3, 5, 0.9), transparent 56%),
    #020203;
}

/* Typography: a touch more muted + refined */
:root {
  --text: #cfcfd2;
  --muted: #7a7b80;
}

/* Brand mark: more subtle, premium metal */
.brand-mark {
  border-radius: 1rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(250, 250, 250, 0.12), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(12, 12, 14, 0.95), transparent 70%),
    #050506;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #101012;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.08),
    0 -1px 2px rgba(0, 0, 0, 0.9);
}

.brand-name {
  letter-spacing: 0.18em;
  color: #b4b4b8;
}

.brand-tagline {
  color: #707178;
}

/* Buttons: slimmer, more minimal */
.btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.btn-primary {
  background: linear-gradient(125deg, #f3f4f6, #d4d4d8);
  color: #050506;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.9);
}

.btn-ghost {
  background: rgba(9, 9, 11, 0.96);
  border-color: rgba(63, 63, 70, 0.9);
}

/* Product cards: flatter, more premium slabs */
.product-card {
  background: radial-gradient(circle at top, rgba(45, 45, 52, 0.45), transparent 60%),
              #08080b;
  border-radius: 1.35rem;
  border-color: rgba(82, 82, 91, 0.7);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.95);
}

/* Product media base lens subdued */
.product-media::before {
  inset: 10% 11%;
  background:
    radial-gradient(circle at 20% 0%, rgba(250, 250, 250, 0.12), transparent 58%),
    radial-gradient(circle at 80% 100%, rgba(34, 34, 40, 0.7), transparent 70%),
    radial-gradient(circle at 10% 95%, rgba(0, 0, 0, 0.96), transparent 65%),
    #020203;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.98);
}

/* Shard silhouette: lean into photographic rock texture */
.product-media::after {
  background:
    url("../img/obsidian-hero-shard.jpg") center / cover no-repeat,
    linear-gradient(145deg, rgba(3, 3, 4, 0.98), rgba(15, 15, 18, 0.98));
  border-color: rgba(229, 231, 235, 0.08);
  filter: contrast(1.16) brightness(0.88);
}

/* Code + notify blocks: gallery plinth look */
.code-card {
  background: linear-gradient(145deg, rgba(36, 36, 42, 0.95), rgba(15, 15, 19, 1));
  border-color: rgba(107, 114, 128, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.96);
}

.notify-inner {
  background:
    radial-gradient(circle at top left, rgba(63, 63, 70, 0.65), transparent 60%),
    radial-gradient(circle at bottom right, rgba(12, 12, 14, 0.98), transparent 65%),
    #060608;
  border-color: rgba(82, 82, 91, 0.85);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.98);
}

/* Section spacing: more breathing room */
.hero {
  padding: 4.8rem 0 3.8rem;
}

.drop,
.story,
.code,
.notify {
  padding-bottom: 3.8rem;
}



/* ===== OBA LOADER – CRACKED STONE FORGE ===== */

.oba-loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(15, 15, 19, 0.96), #020203 80%);
  transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
}

.oba-loader--done {
  opacity: 0;
  visibility: hidden;
}

.oba-loader__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(250, 250, 250, 0.06), transparent 60%),
    radial-gradient(circle at 0% 90%, rgba(0, 0, 0, 0.95), transparent 70%),
    #020203;
  opacity: 0.9;
}

.oba-loader__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.oba-loader__shard-wrap {
  position: relative;
  width: min(260px, 70vw);
  aspect-ratio: 9 / 14;
  overflow: visible;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.oba-loader__shard {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: contrast(1.18) brightness(0.92);
  mix-blend-mode: lighten;
}

/* Lightning / crack flash overlay */
.oba-loader__crack-flash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 75% 100%, rgba(229, 231, 235, 0.16), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: oba-crack-flash 3.4s infinite ease-out;
}

@keyframes oba-crack-flash {
  0%,
  70% {
    opacity: 0;
  }
  74% {
    opacity: 0.9;
  }
  80% {
    opacity: 0.15;
  }
  88% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}

.oba-loader__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a1a1aa;
}

/* ===== HERO LIGHTNING OVERLAY ===== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  background-image: url("../img/oba-lightning-tile.png");
  background-size: cover;
  background-position: center;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: oba-hero-lightning 6s infinite ease-out;
}

@keyframes oba-hero-lightning {
  0%,
  65% {
    opacity: 0;
  }
  68% {
    opacity: 0.9;
  }
  72% {
    opacity: 0.35;
  }
  78% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
  }
}
