/* KABALL launch site */
:root {
  --ivory: #F6F3EE;
  --black: #1C1C1C;
  --gold: #C6A878;
  --taupe: #B8A999;
  --white: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  --border: rgba(28, 28, 28, .16);
  --page: min(1440px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--gold); color: var(--black); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 999; top: 8px; left: 8px;
  transform: translateY(-160%); background: var(--black); color: white;
  padding: 10px 16px;
}
.skip-link:focus { transform: none; }

.announcement {
  min-height: 38px;
  display: flex; justify-content: center; gap: 18px; align-items: center;
  background: var(--black); color: var(--ivory);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 18px; text-align: center;
}
.announcement a { color: var(--gold); border-bottom: 1px solid var(--gold); }

.site-header {
  width: var(--page); margin: 0 auto; min-height: 96px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 20;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-word {
  font-family: var(--serif); font-size: 28px; letter-spacing: .28em; margin-right: -.28em;
}
.brand-sub { font-size: 8px; letter-spacing: .34em; margin: 8px -.34em 0 0; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }
.nav-cta { border: 1px solid var(--black); padding: 11px 18px; transition: .25s ease; }
.nav-cta:hover { background: var(--black); color: var(--ivory); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { width: 26px; height: 1px; background: var(--black); display: block; margin: 6px 0; transition: .2s; }

.hero {
  width: var(--page); min-height: calc(100vh - 134px); margin: 0 auto;
  display: grid; grid-template-columns: 1.12fr .88fr; align-items: center;
  gap: 7vw; padding: 80px 2vw;
}
.eyebrow {
  margin: 0 0 20px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
}
.hero h1, .section h2, .collector-list h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: .95;
}
.hero h1 { font-size: clamp(64px, 8vw, 126px); margin: 0 0 36px; max-width: 820px; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-text { font-size: 17px; max-width: 560px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center;
  padding: 0 24px; text-transform: uppercase; font-size: 10px; letter-spacing: .18em;
}
.button-dark { background: var(--black); color: var(--ivory); border: 1px solid var(--black); transition: .25s; }
.button-dark:hover { background: transparent; color: var(--black); }
.text-link { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.hero-mark { max-width: 540px; width: 100%; justify-self: end; }
.hero-mark img { filter: drop-shadow(0 24px 35px rgba(28,28,28,.08)); width: 100%; }

.ticker { overflow: hidden; background: var(--black); color: var(--ivory); padding: 15px 0; }
.ticker div {
  width: max-content; display: flex; align-items: center; gap: 28px;
  font-size: 10px; letter-spacing: .32em; animation: ticker 28s linear infinite;
}
.ticker i { color: var(--gold); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { width: var(--page); margin: 0 auto; padding: 140px 0; }
.section-heading { max-width: 760px; margin-bottom: 64px; }
.section h2, .collector-list h2 { font-size: clamp(50px, 6vw, 90px); margin: 0 0 24px; }
.section-heading > p:last-child, .notes-intro > p:last-child { max-width: 570px; }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.collection-card {
  min-height: 520px; padding: 28px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(255,255,255,.28);
  color: white; isolation: isolate;
}
.collection-card::before, .collection-card::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
}
.collection-card::after { background: linear-gradient(to top, rgba(15,15,15,.72), rgba(15,15,15,.08)); z-index: -1; }
.card-bags::before {
  background:
    radial-gradient(circle at 58% 35%, rgba(198,168,120,.75) 0 11%, transparent 11.5%),
    radial-gradient(ellipse at 50% 61%, #7b4e33 0 25%, #4a2c1f 25.5% 31%, transparent 31.5%),
    linear-gradient(135deg, #d7c6b1, #7d5a45);
}
.card-accessories::before {
  background:
    radial-gradient(ellipse at 52% 55%, #171717 0 24%, #3f3b38 24.5% 34%, transparent 34.5%),
    repeating-linear-gradient(45deg, rgba(198,168,120,.12) 0 4px, transparent 4px 18px),
    linear-gradient(140deg, #8f8277, #2f2a27);
}
.card-jewelry::before {
  background:
    radial-gradient(circle at 48% 48%, transparent 0 12%, #c6a878 12.5% 14%, transparent 14.5%),
    radial-gradient(circle at 60% 54%, transparent 0 8%, #e5d6ba 8.5% 10.5%, transparent 11%),
    linear-gradient(145deg, #cfc1ae, #7e6d5f);
}
.card-number { font-family: var(--serif); font-size: 28px; }
.card-content p { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }
.card-content h3 { font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; margin: 8px 0 14px; }
.card-content span { font-size: 13px; }
.special-release {
  margin-top: 18px; border: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; padding: 44px 48px; align-items: center;
}
.special-release h3 { font-family: var(--serif); font-weight: 400; font-size: 42px; margin: 0; }
.special-release p { margin: 0; }
.special-release a { border-bottom: 1px solid var(--gold); }

.story {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.story-mark { min-height: 520px; display: flex; align-items: center; justify-content: center; }
.story-mark img { width: min(34vw, 380px); filter: drop-shadow(0 24px 35px rgba(28,28,28,.08)); }
.story-copy h2 { font-size: clamp(46px, 5vw, 78px); }
.story-copy > p { max-width: 660px; }
blockquote { margin: 42px 0 0; padding-left: 24px; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 25px; }

.standards-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); }
.standards-grid article { padding: 42px 48px 20px 0; border-right: 1px solid var(--border); }
.standards-grid article + article { padding-left: 48px; }
.standards-grid article:last-child { border-right: 0; }
.standards-grid span { color: var(--gold); font-family: var(--serif); font-size: 24px; }
.standards-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 20px 0 14px; }
.standards-grid p { margin: 0; font-size: 14px; }

.notes { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; background: var(--black); color: var(--ivory); width: 100%; padding-left: max(24px, calc((100vw - min(1440px, calc(100vw - 48px))) / 2)); padding-right: max(24px, calc((100vw - min(1440px, calc(100vw - 48px))) / 2)); }
.notes-intro { max-width: 560px; }
.notes-list { border-top: 1px solid rgba(255,255,255,.24); }
.note { display: grid; grid-template-columns: 95px 1fr auto; align-items: center; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.24); padding: 28px 0; }
.note span, .note p { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.note h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; }
.note p { color: var(--gold); }

.collector-list {
  background: var(--taupe); min-height: 620px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px;
}
.collector-inner { max-width: 830px; }
.collector-list h2 { margin-bottom: 18px; }
.collector-inner > p:not(.eyebrow):not(.form-note) { max-width: 650px; margin: 0 auto 38px; }
form { display: flex; max-width: 620px; margin: 0 auto; border-bottom: 1px solid var(--black); }
form input {
  flex: 1; border: 0; background: transparent; padding: 16px 8px; outline: none;
  color: var(--black); min-width: 0;
}
form input::placeholder { color: rgba(28,28,28,.62); }
form button { border: 0; background: transparent; cursor: pointer; text-transform: uppercase; font-size: 10px; letter-spacing: .18em; padding: 16px 8px; }
.form-note { font-size: 10px; letter-spacing: .1em; margin-top: 18px; }

footer { background: var(--black); color: var(--ivory); padding: 80px max(24px, calc((100vw - min(1440px, calc(100vw - 48px))) / 2)) 30px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 50px; }
.footer-brand p { font-family: var(--serif); letter-spacing: .28em; font-size: 42px; margin: 0; }
.footer-brand span { font-size: 9px; letter-spacing: .34em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-family: var(--serif); color: var(--gold); font-size: 16px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Form: consent + honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent {
  display: flex; align-items: flex-start; gap: 10px; justify-content: center;
  max-width: 560px; margin: 18px auto 0; text-align: left;
  font-size: 12px; line-height: 1.5; color: rgba(28,28,28,.82);
}
.consent input { margin-top: 3px; accent-color: var(--black); flex: 0 0 auto; }
.consent a { border-bottom: 1px solid var(--gold); }

/* Cookie consent banner */
.cookie-banner {
  position: fixed; z-index: 900; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  background: var(--black); color: var(--ivory);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between;
  padding: 18px 22px; box-shadow: 0 20px 45px rgba(28,28,28,.28);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 12px; line-height: 1.5; flex: 1 1 320px; }
.cookie-banner a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.cookie-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.button-ghost { background: transparent; color: var(--ivory); border: 1px solid rgba(246,243,238,.5); transition: .25s; }
.button-ghost:hover { border-color: var(--ivory); }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker div { animation: none; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 980px) {
  :root { --page: calc(100vw - 36px); }
  .site-header { min-height: 78px; }
  .nav-toggle { display: block; z-index: 31; }
  .site-nav {
    position: fixed; inset: 38px 0 0; background: var(--ivory); display: flex;
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    font-size: 14px; transform: translateX(100%); transition: transform .35s ease; z-index: 30;
  }
  .site-nav.open { transform: none; }
  .hero { grid-template-columns: 1fr; padding: 70px 0 90px; }
  .hero-mark { grid-row: 1; justify-self: center; max-width: 430px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 480px; }
  .story, .notes { grid-template-columns: 1fr; }
  .story-mark { min-height: 380px; }
  .story-mark img { width: min(50vw, 320px); }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-grid article, .standards-grid article + article { padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .special-release { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .announcement { flex-direction: column; gap: 2px; font-size: 8px; letter-spacing: .12em; }
  .hero h1 { font-size: 58px; }
  .hero-mark { max-width: 320px; }
  .section { padding: 90px 0; }
  .section h2, .collector-list h2 { font-size: 50px; }
  .collection-card { min-height: 420px; }
  .special-release { padding: 30px 24px; }
  .story-mark { min-height: 260px; }
  .story-mark img { width: min(62vw, 240px); }
  .note { grid-template-columns: 1fr auto; }
  .note span { grid-column: 1 / -1; }
  .note h3 { font-size: 25px; }
  form { flex-direction: column; border: 0; gap: 12px; }
  form input { border-bottom: 1px solid var(--black); text-align: center; }
  form button { background: var(--black); color: var(--ivory); }
  .footer-bottom { flex-direction: column; }
}
