/* ============================================
   HydeTheJekyllDesigns — tokens
   Signature: the page itself is split, Hyde / Jekyll,
   meeting at a seam marked by the :): / :(: duality.
   ============================================ */
:root {
  --hyde-bg: #100d0d;
  --hyde-bg-soft: #1c1717;
  --hyde-accent: #e0492f;
  --hyde-text: #f3e9df;

  --jekyll-bg: #f1eee4;
  --jekyll-bg-soft: #e6e2d3;
  --jekyll-accent: #2f6e63;
  --jekyll-text: #15191a;

  --seam-gold: #d9a23d;
  --ink: #15110d;

  --font-hyde: "Anton", "Impact", sans-serif;
  --font-jekyll: "Space Mono", "SFMono-Regular", monospace;
  --font-tagline: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--jekyll-bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   Split header
   ============================================ */
.split-header {
  display: flex;
  min-height: 64px;
  position: relative;
}
.split-header .half {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 1.6rem;
}
.split-header .half--hyde {
  background: var(--hyde-bg);
  color: var(--hyde-text);
  justify-content: flex-end;
}
.split-header .half--jekyll {
  background: var(--jekyll-bg);
  color: var(--jekyll-text);
  justify-content: flex-start;
}
.split-header nav { display: flex; gap: 1.4rem; }
.split-header .half--hyde nav a { font-family: var(--font-hyde); font-size: 0.85rem; letter-spacing: 0.03em; }
.split-header .half--jekyll nav a { font-family: var(--font-jekyll); font-size: 0.78rem; letter-spacing: 0.02em; }

.brand-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--seam-gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-tagline);
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  border: 3px solid var(--jekyll-bg);
  z-index: 5;
}

/* ============================================
   Duality hero
   ============================================ */
.duality-hero {
  display: flex;
  position: relative;
  min-height: 78vh;
  overflow: hidden;
}
.side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem 5rem;
  position: relative;
}
.side-hyde {
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(224,73,47,0.18) 0%, rgba(224,73,47,0) 60%),
    var(--hyde-bg);
  color: var(--hyde-text);
}
.side-jekyll {
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(47,110,99,0.14) 0%, rgba(47,110,99,0) 60%),
    var(--jekyll-bg);
  color: var(--jekyll-text);
}

.side-hyde h1 {
  font-family: var(--font-hyde);
  font-size: clamp(3rem, 10vw, 6.5rem);
  margin: 0;
  letter-spacing: 0.01em;
  transform: rotate(-2deg);
  text-shadow: 3px 3px 0 var(--hyde-accent);
}
.side-jekyll h1 {
  font-family: var(--font-jekyll);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  margin: 0;
  letter-spacing: -0.01em;
  border: 2px solid var(--jekyll-text);
  padding: 0.1em 0.3em;
}

.side-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  max-width: 280px;
  margin: 1.1rem 0 0;
  opacity: 0.85;
}
.side-hyde .side-sub { color: var(--hyde-text); }
.side-jekyll .side-sub { color: var(--jekyll-text); }

/* Seam: vertical divider + duality marks + tagline */
.seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--seam-gold) 15%, var(--seam-gold) 85%, transparent);
  z-index: 3;
}

.duality-marks {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 4;
  font-family: var(--font-tagline);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
}
.duality-marks span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--seam-gold);
}
.duality-marks .mark-hyde { background: var(--hyde-bg); color: var(--seam-gold); }
.duality-marks .mark-jekyll { background: var(--jekyll-bg); color: var(--ink); }

.tagline-banner {
  text-align: center;
  padding: 1.6rem 1rem 1.8rem;
  background: var(--ink);
  color: var(--jekyll-bg);
}
.tagline-banner p {
  font-family: var(--font-tagline);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin: 0;
}
.tagline-banner span.gold { color: var(--seam-gold); }

/* ============================================
   The Drop — merch grid (hang-tag cards)
   ============================================ */
.drop {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 2rem 4.5rem;
}
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.eyebrow {
  font-family: var(--font-jekyll);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--jekyll-accent);
  margin: 0 0 0.7rem;
}
.section-head h2 {
  font-family: var(--font-hyde);
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin: 0 0 0.6rem;
  letter-spacing: 0.01em;
}
.section-head p.sub { color: #565049; margin: 0; }

.drop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.tag-card {
  background: #fff;
  border: 1px solid #ddd6c4;
  position: relative;
  padding-top: 0.4rem;
}
.tag-card::before {
  /* hang-tag notch */
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--jekyll-bg);
  border: 1px solid #ddd6c4;
  box-shadow: 0 -3px 0 -1px var(--jekyll-bg) inset;
}
.tag-card::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd6c4;
}

.tag-img {
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(
    45deg, #efe9d8 0px, #efe9d8 10px, #e6dfc9 10px, #e6dfc9 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jekyll);
  font-size: 0.7rem;
  color: #9a917c;
  text-align: center;
  padding: 1rem;
  /* Replace this block with: background-image: url("assets/merch/your-design.jpg"); background-size: cover; */
}

.tag-line {
  height: 4px;
}
.tag-line[data-pillar="hyde"] { background: var(--hyde-accent); }
.tag-line[data-pillar="jekyll"] { background: var(--jekyll-accent); }
.tag-line[data-pillar="neutral"] { background: var(--seam-gold); }

.tag-body { padding: 1rem 1.1rem 1.3rem; }
.pillar-label {
  font-family: var(--font-jekyll);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.3rem;
}
.pillar-label[data-pillar="hyde"] { color: var(--hyde-accent); }
.pillar-label[data-pillar="jekyll"] { color: var(--jekyll-accent); }
.pillar-label[data-pillar="neutral"] { color: var(--seam-gold); }

.tag-body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.3rem;
}
.tag-body .price {
  font-family: var(--font-jekyll);
  font-size: 0.85rem;
  color: #6b6354;
  margin: 0;
}

/* ============================================
   Brand assets — logos shown on both contexts
   ============================================ */
.assets {
  background: var(--ink);
  padding: 5rem 2rem 5.5rem;
}
.assets .section-head h2 { color: var(--jekyll-bg); }
.assets .eyebrow { color: var(--seam-gold); }
.assets .section-head p.sub { color: #b6ada0; }

.asset-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.6rem;
}
.asset-card {
  background: #1c1717;
  border: 1px solid #2c2625;
  border-radius: 3px;
  overflow: hidden;
}
.asset-preview {
  display: flex;
  height: 100px;
}
.asset-preview .half { flex: 1; display: flex; align-items: center; justify-content: center; }
.asset-preview .half--dark { background: var(--hyde-bg); }
.asset-preview .half--light { background: var(--jekyll-bg); }
.asset-placeholder {
  font-family: var(--font-jekyll);
  font-size: 0.6rem;
  color: #8d8576;
  text-align: center;
}
/* Replace each .half background with your logo file, e.g.:
   background-image: url("assets/logos/primary-logo.png"); background-size: contain; background-repeat: no-repeat; background-position: center; */

.asset-label {
  padding: 0.8rem 1rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--jekyll-bg);
}
.asset-label span {
  display: block;
  font-family: var(--font-jekyll);
  font-size: 0.65rem;
  color: #9a917c;
  margin-top: 0.2rem;
}

/* ============================================
   Footer
   ============================================ */
footer {
  text-align: center;
  padding: 2.4rem 1rem 3rem;
  font-family: var(--font-jekyll);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #8a8170;
  background: var(--jekyll-bg);
}
footer a { color: var(--jekyll-accent); border-bottom: 1px solid var(--jekyll-accent); }

@media (max-width: 720px) {
  .duality-hero { flex-direction: column; min-height: auto; }
  .side { padding: 3.5rem 1.5rem; }
  .seam { left: 0; right: 0; top: 50%; bottom: auto; width: 100%; height: 2px;
    background: linear-gradient(to right, transparent, var(--seam-gold) 15%, var(--seam-gold) 85%, transparent); }
  .duality-marks { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
  .split-header { flex-direction: row; }
  .split-header .half { padding: 0 0.8rem; }
  .split-header nav { gap: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
