/* ============================================================
   ATTENTION THEORY — shared design system
   Black #0A0A0A · Neon Green #39FF14 · White #FFFFFF
   Headings: Space Grotesk · Body: Inter · Labels/data: JetBrains Mono
   ============================================================ */

:root {
  --ink: #0A0A0A;
  --bg: #FFFFFF;
  --paper: #F4F5F1;            /* subtle neutral off-white for alt sections */
  --paper-2: #ECEEE8;
  --green: #39FF14;            /* canonical accent, fills only */
  --green-ink: #1C8A0A;        /* readable green for text on white */
  --muted: #5A5F57;
  --muted-2: #898E84;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.22);
  --ink-line: rgba(255, 255, 255, 0.14);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 11vw, 150px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;

  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--green); color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; margin: 0; letter-spacing: -0.025em; line-height: 1.02; }

.display {
  font-size: clamp(2.7rem, 7.6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); letter-spacing: -0.03em; line-height: 1.0; text-wrap: balance; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }

p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: rgba(255,255,255,0.72); }
.measure { max-width: 62ch; }

.kicker {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--green);
  display: inline-block;
}
.kicker--bare::before { display: none; }
.section--ink .kicker { color: rgba(255,255,255,0.6); }

.mono { font-family: var(--f-mono); }
.green-ink { color: var(--green-ink); }
.hl { background: linear-gradient(transparent 62%, var(--green) 62% 92%, transparent 92%); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.5em;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s;
  line-height: 1;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--primary { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(57,255,20,0.6); }

.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(10,10,10,0.5); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--ink .btn--outline { color: #fff; border-color: var(--ink-line); }
.section--ink .btn--outline:hover { border-color: #fff; }

.textlink {
  font-family: var(--f-head);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  transition: gap .25s var(--ease);
}
.textlink:hover { gap: 0.85em; }
.section--ink .textlink { color: #fff; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__eye { width: 38px; height: 38px; object-fit: contain; }
.brand__wm { font-family: var(--f-head); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; line-height: 0.92; }
.brand__wm small { display: block; font-size: inherit; }
.brand__wm .t1 { color: var(--ink); }
.brand__wm .t2 { color: var(--green-ink); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a.navlink {
  font-family: var(--f-head); font-weight: 500; font-size: 0.98rem;
  color: var(--ink); position: relative; padding: 4px 0;
}
.nav a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green); transition: width .28s var(--ease);
}
.nav a.navlink:hover::after, .nav a.navlink[aria-current="page"]::after { width: 100%; }
.nav a.navlink[aria-current="page"] { color: var(--ink); }

.head-cta { display: flex; align-items: center; gap: 14px; }
.head-cta .btn { padding: 0.7em 1.15em; font-size: 0.95rem; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: rotate(45deg); top: 0; }
body.menu-open .burger span::after { transform: rotate(-45deg); top: 0; }

.mobile-sheet {
  position: fixed; inset: 76px 0 0 0; z-index: 99;
  background: var(--bg); padding: 24px var(--gutter) 40px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--line);
}
body.menu-open .mobile-sheet { opacity: 1; transform: none; pointer-events: auto; }
.mobile-sheet a { font-family: var(--f-head); font-weight: 600; font-size: 1.4rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-sheet .btn { margin-top: 18px; justify-content: center; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--muted-2); padding-top: 26px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }
.section--ink .crumbs { color: rgba(255,255,255,0.5); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 88px) 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 28px; }
.foot-col h4 { font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.foot-col a { display: block; padding: 6px 0; color: rgba(255,255,255,0.82); font-size: 0.96rem; }
.foot-col a:hover { color: var(--green); }
.foot-brand .brand__wm .t1 { color: #fff; }
.foot-brand .brand__wm .t2 { color: var(--green); }
.foot-tag { color: rgba(255,255,255,0.62); margin-top: 18px; max-width: 34ch; font-size: 0.98rem; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.foot-legal a:hover { color: #fff; }
.foot-legal .links { display: flex; gap: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Generic cards / utility ---------- */
.eyebrow-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tag {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.section--ink .tag { color: rgba(255,255,255,0.7); border-color: var(--ink-line); }

.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* image placeholder */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(10,10,10,0.05) 0 10px, rgba(10,10,10,0.02) 10px 20px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2);
  text-align: center; padding: 24px;
}
.section--ink .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 10px, rgba(255,255,255,0.02) 10px 20px); border-color: var(--ink-line); color: rgba(255,255,255,0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav, .head-cta .btn--book-desktop { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 821px) { .mobile-sheet { display: none; } }
