/* Minimal landing styles */

:root {
  --bg: #0b0b0b;
  --bg-elev: #111213;
  --fg: #ffffff;
  --muted: #b8bcc3;
  --line: #1f2225;
  --brand: #e6e6e6;
  --radius: 12px;
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(1200px 600px at 70% -10%, #1b1d22 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 10%, #15181c 0%, transparent 55%),
    linear-gradient(180deg, #0b0b0b, #0b0b0b);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(130%) blur(8px); background: rgba(11,11,11,0.6); border-bottom: 1px solid var(--line); }
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--maxw); margin: 0 auto; }
.logo { color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero { display: grid; place-items: center; padding: 96px 0 56px; border-bottom: 1px solid var(--line); }
.hero-inner { text-align: center; }
.headline { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.subhead { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 2.5vw, 18px); }
.cta-row { margin-top: 28px; display: inline-flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: all .15s ease; border: 1px solid transparent; }
.btn-primary { background: var(--fg); color: #0c0c0c; }
.btn-primary:hover { transform: translateY(-1px); background: var(--brand); }
.btn-secondary { color: var(--fg); border-color: #2a2d31; background: #141519; }
.btn-secondary:hover { border-color: #3a3f44; background: #171a1f; }
.btn-ghost { color: var(--muted); border-color: #24272b; background: transparent; }
.btn-ghost:hover { color: var(--fg); border-color: #2e3237; background: rgba(255,255,255,0.02); }

.pill-row { margin-top: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pill { border: 1px solid #23262a; color: #c6c9cf; background: #111315; padding: 6px 10px; border-radius: 999px; font-size: 12px; }

/* Simple content */
.simple-section { padding: 56px 0; text-align: left; }
.card { border: 1px solid var(--line); background: var(--bg-elev); border-radius: var(--radius); padding: 28px; }
.section-title { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.01em; }
.bullets { list-style: none; display: grid; gap: 8px; color: var(--muted); }
.bullets li::before { content: "•"; margin-right: 10px; color: #8b8f97; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 16px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--fg); }
.footer .brand { font-weight: 700; letter-spacing: -0.01em; }
.footer .divider { color: #4a4f55; margin: 0 8px; }

/* Media */
@media (max-width: 640px) {
  .nav-container { padding: 12px 16px; }
  .nav-links { gap: 14px; }
  .cta-row { width: 100%; justify-content: center; }
}

/* Storefront extensions */
.store-section { padding: 60px 0; min-height: 90vh; display: flex; align-items: center; justify-content: center; }
.store-grid { display: grid; grid-template-columns: 1fr; gap: 20px; width: 100%; }
.product-card { border: 1px solid var(--line); background: var(--bg-elev); border-radius: var(--radius); overflow: clip; display: grid; grid-template-columns: 1.2fr 1fr; max-width: 1100px; margin: 0 auto; width: 100%; }
.product-media { border-right: 1px solid var(--line); }
.product-hero { width: 100%; height: 100%; min-height: 500px; background: #101215 url('/images/iso.png'); background-size: contain; background-repeat: no-repeat; background-position: center; }
.product-info { padding: 40px; display: grid; gap: 20px; align-content: start; }
.product-info .section-title { font-size: 32px; margin-bottom: 8px; }
.product-info .muted { font-size: 17px; }
.muted { color: var(--muted); }
.price-row { display: flex; gap: 12px; align-items: baseline; }
.price-label { color: var(--muted); font-size: 16px; }
.price { font-weight: 800; letter-spacing: -0.02em; font-size: 28px; }
.opt-label { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.options { display: grid; gap: 8px; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.dropdown {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: #111419;
  color: var(--fg);
  border: 1px solid #2a2d31;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.dropdown:hover { border-color: #3a3f44; background: #14191f; }
.dropdown:focus { outline: none; border-color: #3a3f44; }

.notify-section { margin-top: 8px; }
.notify-form { display: flex; gap: 10px; margin-top: 8px; }
.email-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  background: #111419;
  color: var(--fg);
  border: 1px solid #2a2d31;
  font-size: 14px;
  transition: all .15s;
  font-family: inherit;
}
.email-input:hover { border-color: #3a3f44; }
.email-input:focus { outline: none; border-color: #3a3f44; }
.email-input::placeholder { color: #6a6e73; }
.notify-status {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.qty-row { display: inline-flex; align-items: center; gap: 8px; }
.qty-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #2a2d31; background: #101318; color: var(--fg); font-size: 18px; cursor: pointer; }
.qty-input { width: 64px; padding: 8px 10px; border-radius: 8px; border: 1px solid #2a2d31; background: #0f1216; color: var(--fg); }
.bullets.small { font-size: 15px; line-height: 1.8; }

/* cart styles removed per request */

/* Gallery Timeline */
.gallery-timeline { display: grid; gap: 40px; margin-top: 20px; }
.gallery-period { position: relative; }
.period-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #23262a;
}
.gallery-grid-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gallery-grid-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #23262a;
  background: #0f1114;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.gallery-grid-row img:hover { transform: scale(1.02); border-color: #3a3f44; }

.muted-small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

/* Old gallery grid (hidden, used by JS) */
.gallery-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; border: 1px solid #23262a; background: #0f1114; cursor: pointer; transition: transform .2s, border-color .2s; }
.gallery-grid img:hover { transform: scale(1.02); border-color: #3a3f44; }


/* Timeline */
.timeline { display: grid; gap: 18px; margin-top: 8px; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed #23262a; }
.tl-item:last-child { border-bottom: none; }
.tl-tag { color: #c0c4ca; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.tl-body h4 { margin-bottom: 6px; }
.tl-body ul { color: var(--muted); }
.tl-pre { white-space: pre-wrap; font-family: inherit; color: var(--muted); }

/* Order */
.order-summary { white-space: pre-wrap; min-height: 80px; padding: 12px; border: 1px dashed #2a2d31; border-radius: 8px; color: var(--muted); }

@media (max-width: 960px) {
  .store-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-media { border-right: none; border-bottom: 1px solid var(--line); }
  .product-hero { min-height: 400px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .store-section { min-height: auto; }
  .product-hero { min-height: 300px; }
  .product-info { padding: 24px; }
  .product-info .section-title { font-size: 24px; }
  .price { font-size: 22px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-tag { margin-bottom: 4px; }
  .gallery-grid-row { grid-template-columns: 1fr; }
  .gallery-timeline { gap: 32px; }
}

/* Overrides to ensure consistent black background and lightbox */
body { background: var(--bg); }
.footer, .store-section, .simple-section { background: var(--bg); }

.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 1000; }
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.lightbox-content { position: relative; max-width: min(92vw, 1200px); max-height: 86vh; border: 1px solid var(--line); background: #0b0b0b; border-radius: 12px; overflow: hidden; }
.lightbox-content img { display: block; max-width: 100%; max-height: 86vh; }
.lightbox-close { position: absolute; top: 8px; right: 8px; border: 1px solid #2a2d31; background: #0f1216; color: var(--fg); font-size: 22px; width: 36px; height: 36px; line-height: 32px; border-radius: 8px; cursor: pointer; }
