/* AImediated Theme v2.0 — main.css */

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

:root {
  --black:  #080808;
  --off:    #f0ede8;
  --mid:    #999;
  --dim:    #1e1e1e;
  --red:    #c8392b;
  --blue:   #4a9eda;
  --gold:   #b8960c;
  --border: #1c1c1c;
  --bg:     #f5f4f0;
  --bgdim:  #eeecea;
  --rule:   #d8d6d2;
}

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

body {
  background: var(--black);
  color: var(--off);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

* { -webkit-tap-highlight-color: transparent; }

/* ── ACCESSIBILITY ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── NAV ── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
}

.nav-mark img { height: 24px; width: auto; filter: invert(1); display: block; }

.nav-links { display: flex; gap: clamp(16px, 3vw, 36px); list-style: none; align-items: center; }
.nav-links a {
  font-size: 10px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; transition: color 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active { color: var(--off); outline: none; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px 4px; z-index: 200;
  min-height: 44px; min-width: 44px; align-items: center; justify-content: center;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #f0ede8; border-radius: 2px; transition: all 0.3s ease; }
.nav-hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 600px) { .nav-hamburger { display: flex; } .nav-links { display: none; } }

/* ── MOBILE OVERLAY ── */
.mobile-overlay {
  position: fixed; inset: 0; background: #080808; z-index: 150;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-overlay:not([hidden]) { opacity: 1; }
.mobile-overlay[hidden] { display: none; }
.overlay-close {
  position: absolute; top: 18px; right: 22px; font-size: 22px; color: #555;
  background: none; border: none; cursor: pointer; transition: color 0.2s;
  min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center;
}
.overlay-close:hover { color: var(--off); }
.overlay-mark { margin-bottom: 52px; }
.overlay-mark img { height: 48px; width: auto; filter: invert(1); display: block; }
.overlay-links { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.overlay-links a {
  font-size: clamp(20px, 6vw, 28px); font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--off); text-decoration: none; transition: color 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.overlay-links a:hover { color: var(--red); }
.overlay-bottom { position: absolute; bottom: 28px; font-size: 9px; letter-spacing: 0.35em; color: #333; text-transform: uppercase; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 100px clamp(20px, 5vw, 80px) 80px; background: var(--black); position: relative;
}
.hero-mark { margin-bottom: clamp(32px, 5vw, 52px); opacity: 0; animation: riseUp 1.4s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; }
.hero-mark img { height: clamp(80px, 18vw, 200px); width: auto; filter: invert(1); display: block; }
.hero-sub { font-size: clamp(10px, 1.5vw, 14px); font-weight: 500; letter-spacing: 0.45em; text-transform: uppercase; color: var(--mid); margin-bottom: 20px; opacity: 0; animation: riseUp 1s ease 0.5s forwards; }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 4.5vw, 48px); font-weight: 300; font-style: italic; color: var(--off); margin-bottom: 12px; opacity: 0; animation: riseUp 1s ease 0.7s forwards; }
.hero-decide { font-size: clamp(10px, 1.5vw, 14px); font-weight: 500; letter-spacing: 0.45em; text-transform: uppercase; color: var(--mid); opacity: 0; animation: riseUp 1s ease 0.9s forwards; }
.scroll-hint { position: absolute; bottom: 36px; font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: #555; opacity: 0; animation: riseUp 1s ease 1.3s forwards, breathe 3s ease-in-out 2.5s infinite; }

/* ── SECTIONS ── */
section { scroll-margin-top: 56px; }
.section-inner { max-width: 820px; margin: 0 auto; padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 40px); }
.eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.5em; text-transform: uppercase; color: var(--red); margin-bottom: 48px; display: flex; align-items: center; gap: 16px; }
.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── MANIFESTO ── */
#manifesto { background: var(--black); }
.manifesto-block { margin-bottom: 44px; }
.manifesto-block p { font-family: 'Cormorant Garamond', serif; font-size: clamp(20px, 3vw, 30px); font-weight: 300; line-height: 1.85; color: var(--off); }
.manifesto-block p + p { margin-top: 6px; }
.manifesto-block.indent { padding-left: 28px; border-left: 1px solid var(--border); }
.manifesto-block .strong { font-weight: 600; font-style: italic; color: var(--off); }
.manifesto-block .accent { color: var(--red); }
.manifesto-block .quiet { color: #888; }
.manifesto-block.center { text-align: center; }
.m-rule { width: 40px; height: 1px; background: var(--border); margin: 52px 0; }
.lb-link { color: var(--off); border-bottom: 1px solid var(--red); text-decoration: none; padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.lb-link:hover { color: var(--blue); border-color: var(--blue); }
.manifesto-closer { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #888; margin-top: 64px; line-height: 2.2; }
.manifesto-closer span { color: var(--off); display: block; font-size: 16px; margin-top: 8px; }

/* ── BRAND SHEET ── */
#brandsheet { background: var(--bg); color: var(--black); }
.bs-hero { background: var(--black); padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 80px) clamp(32px, 5vw, 52px); text-align: center; }
.bs-hero img { height: clamp(70px, 14vw, 160px); width: auto; filter: invert(1); display: block; margin: 0 auto clamp(16px, 3vw, 24px); }
.bs-title { font-size: clamp(10px, 1.5vw, 15px); font-weight: 500; letter-spacing: 0.45em; color: var(--off); text-transform: uppercase; margin-bottom: 10px; }
.bs-rule { width: 36px; height: 2px; background: var(--gold); margin: 0 auto 14px; }
.bs-tag { font-size: clamp(9px, 1.2vw, 12px); letter-spacing: 0.28em; color: #666; text-transform: uppercase; }
.bs-grid { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); }
@media (max-width: 800px) { .bs-grid { grid-template-columns: 1fr; } }
.bs-cell { background: var(--bg); padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px); }
.bs-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--black); margin-bottom: 16px; }
.bs-cell p { font-size: 12px; color: #555; line-height: 1.7; margin-bottom: 16px; }
.statements { font-size: 13px; font-weight: 700; color: var(--black); line-height: 1.9; margin-bottom: 16px; }
.gold-rule { width: 36px; height: 2px; background: var(--gold); }
.primary-display { display: flex; align-items: center; justify-content: center; padding: 20px 0; }
.primary-display img { height: clamp(50px, 9vw, 100px); width: auto; }
.lockups-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.lockup-item { background: var(--bgdim); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 100px; }
.lockup-item img { height: 32px; width: auto; object-fit: contain; }
.lbl { font-size: 9px; letter-spacing: 0.18em; color: #888; text-transform: uppercase; text-align: center; }
.bs-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); }
@media (max-width: 600px) { .bs-mid { grid-template-columns: 1fr; } }
.var-flex { display: flex; gap: 8px; flex-wrap: wrap; }
.var-item { flex: 1; min-width: 72px; background: var(--bgdim); padding: 12px 6px; display: flex; align-items: center; justify-content: center; min-height: 64px; }
.var-item.dark { background: var(--black); }
.var-item img { height: 32px; width: auto; object-fit: contain; }
.sizes-flex { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.size-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bs-bottom { display: grid; grid-template-columns: 1fr 1fr 260px; gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .bs-bottom { grid-template-columns: 1fr 1fr; } .why-cell { grid-column: 1/-1; } }
@media (max-width: 600px) { .bs-bottom { grid-template-columns: 1fr; } .why-cell { grid-column: auto; } }
@media (max-width: 768px) { .bs-grid { grid-template-columns: 1fr; } .hero-mark img { height: clamp(80px, 14vw, 140px); } }
.meaning-items { display: flex; gap: 12px; flex-wrap: wrap; }
.meaning-item { flex: 1; min-width: 80px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.meaning-icon { background: var(--bgdim); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.meaning-title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); text-align: center; }
.meaning-desc { font-size: 10px; color: #888; text-align: center; line-height: 1.5; }
.app-examples { display: flex; gap: 8px; flex-wrap: wrap; }
.app-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-box { width: clamp(60px, 8vw, 86px); height: clamp(60px, 8vw, 86px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.app-box img { width: 80%; height: 80%; object-fit: contain; }
.app-box.black { background: var(--black); }
.app-box.circle { background: var(--black); border-radius: 50%; }
.app-box.rounded { background: var(--black); border-radius: 16px; }
.app-box.kraft { background: #c4a47c; }
.app-box.darkgrey { background: #1a1a1a; }
.why-items { display: flex; flex-direction: column; gap: 14px; }
.why-item { display: flex; gap: 12px; align-items: flex-start; }
.why-icon { width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.why-text h3 { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); margin-bottom: 2px; }
.why-text p { font-size: 10px; color: #888; line-height: 1.4; }

/* ── DOWNLOAD ── */
#download { background: var(--black); border-top: 1px solid var(--border); }
.dl-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 5vw, 52px); font-weight: 300; line-height: 1.2; margin-bottom: 20px; }
.dl-body { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 2.5vw, 24px); font-weight: 300; color: var(--mid); line-height: 1.85; margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }
.dl-btn { display: inline-block; border: 1px solid var(--off); color: var(--off); text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; padding: 18px 44px; transition: background 0.2s, color 0.2s; min-height: 44px; }
.dl-btn:hover { background: var(--off); color: var(--black); }
.dl-cc { font-family: 'Cormorant Garamond', serif; font-size: clamp(16px, 2.2vw, 22px); font-weight: 300; color: var(--mid); margin-top: 32px; line-height: 1.8; display: block; }
.dl-cc strong { color: var(--off); font-style: italic; }

/* ── SUPPORT ── */
#support { background: #0d0d0d; border-top: 1px solid var(--border); }
.support-body { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 2.5vw, 24px); font-weight: 300; line-height: 1.85; color: var(--mid); margin-bottom: 40px; }
.support-body strong { color: var(--off); font-weight: 400; font-style: italic; }
.bmc-btn { display: inline-flex; align-items: center; gap: 12px; background: #FFDD00; color: #000; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; padding: 16px 32px; border-radius: 4px; transition: opacity 0.2s, transform 0.2s; min-height: 44px; }
.bmc-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.bmc-icon { font-size: 20px; }
.support-note { display: block; margin-top: 20px; font-size: 10px; color: #777; letter-spacing: 0.2em; text-transform: uppercase; }

/* ── CONTACT ── */
#contact { background: var(--black); border-top: 1px solid var(--border); }
.contact-body { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 2.5vw, 24px); font-weight: 300; line-height: 1.85; color: var(--mid); margin-bottom: 40px; }
.contact-body strong { color: var(--off); font-weight: 400; font-style: italic; }
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.contact-link { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--mid); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; transition: color 0.2s; width: fit-content; min-height: 44px; }
.contact-link:hover { color: var(--off); }
.contact-link:hover .cl-dot { background: var(--blue); }
.cl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; transition: background 0.2s; }
.contact-desc { font-size: 13px; color: #888; letter-spacing: 0.05em; padding-left: 22px; line-height: 1.7; }

/* ── FOOTER ── */
#site-footer {
  background: #040404; border-top: 1px solid var(--border);
  padding: clamp(20px, 3vw, 36px) clamp(16px, 4vw, 48px);
  padding-bottom: max(clamp(20px, 3vw, 36px), env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
#site-footer img { height: 20px; width: auto; filter: invert(1); opacity: 0.6; }
.footer-right { font-size: 9px; letter-spacing: 0.2em; color: #777; text-transform: uppercase; text-align: right; line-height: 2; }
.footer-right a { color: #777; text-decoration: none; }
.footer-right a:hover { color: var(--mid); }

/* ── ANIMATIONS ── */
@keyframes riseUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.5; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── PRINT ── */
@media print {
  #site-nav, .scroll-hint, .nav-hamburger { display: none; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 40px; }
  section { page-break-inside: avoid; }
}
