/* ============================================================
   Eleanor Wrenholme — Auros "abyssal observatory" design system
   Dark, tonal teal. Depth via tone, never drop shadows.
   ============================================================ */

/* ---------- Fonts (Matter -> Inter fallback via Google, then system) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  /* Surfaces (tonal depth) */
  --surface-900: #012624; /* abyssal teal — page canvas */
  --surface-950: #011d1c; /* midnight current — deepest / footer */
  --surface-800: #003734; /* raised surfaces, cards, nav */
  --surface-750: #044a45; /* hover / border tone */

  /* Accents */
  --grad-primary: linear-gradient(120deg, #0f9e8c 0%, #2fe1c8 100%);
  --grad-secondary: linear-gradient(120deg, #2fe1c8 0%, #9fe6ff 45%, #fde9ff 100%);
  --accent-lavender: #fde9ff;
  --accent-teal: #2fe1c8;

  /* Text */
  --text-primary: #f4fbfa;
  --text-muted: #8fb2ae;
  --dot-indicator: #2fe1c8;

  /* Type */
  --font-brand: 'Inter', 'Matter', Arial, system-ui, sans-serif;

  /* Shape */
  --radius: 6px;
  --card-pad: 40px;
  --section-gap: 96px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-gap) 0; position: relative; }
.section--tight { padding: 64px 0; }
.bg-950 { background: var(--surface-950); }
.bg-800 { background: var(--surface-800); }

.grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Eyebrow label (6px teal dot + tiny uppercase) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dot-indicator);
  flex: 0 0 auto;
}

/* ---------- Typography ---------- */
.display {
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.98;
  letter-spacing: -3px;
  font-weight: 400;
  margin: 0;
}
h1, .h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.5px; font-weight: 400; margin: 0 0 20px; }
h2, .h2 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; letter-spacing: -0.3px; font-weight: 400; margin: 0 0 20px; }
h3, .h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.2px; font-weight: 500; margin: 0 0 12px; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--text-primary); line-height: 1.5; }
.muted { color: var(--text-muted); }
.mw-60 { max-width: 60ch; }
.mw-70 { max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 500; font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer; border: none;
  transition: transform .18s ease, filter .18s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-primary); color: #012624; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  position: relative; color: var(--text-primary);
  background: transparent; border: 1px solid transparent;
  background-image: linear-gradient(var(--surface-900), var(--surface-900)), var(--grad-secondary);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.btn-ghost:hover { color: var(--accent-lavender); }
.btn-arrow::after { content: '\2192'; font-size: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(1, 29, 28, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(47, 225, 200, 0.12);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: -0.3px; font-size: 18px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-primary);
  display: grid; place-items: center;
  color: #012624; font-weight: 600; font-size: 13px;
}
.nav-links { display: none; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}
.nav-toggle { display: inline-flex; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }
@media (min-width: 900px) { .nav-toggle { display: none; } }
.mobile-menu { display: none; flex-direction: column; gap: 6px; padding: 12px 32px 24px; border-bottom: 1px solid rgba(47,225,200,.12); background: var(--surface-950); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,.05); }

/* ---------- Hero ---------- */
.hero { padding-top: 80px; padding-bottom: 90px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.hero .quote { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.4; letter-spacing: -0.4px; margin: 26px 0 32px; }
.hero .quote .grad-text { background: var(--grad-secondary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 52px; }
.hero-stats .stat .num { font-size: 34px; letter-spacing: -1px; }
.hero-stats .stat .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); }

/* portrait frame */
.portrait {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(253, 233, 255, 0.18);
  background: var(--surface-800);
  aspect-ratio: 4 / 5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.02); }
.portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,38,36,0) 45%, rgba(1,29,28,0.55) 100%);
}
.portrait-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-primary); background: rgba(1,29,28,.6);
  border: 1px solid rgba(47,225,200,.25);
  padding: 8px 12px; border-radius: 4px; backdrop-filter: blur(6px);
}

/* decorative glow (no shadow on components) */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; pointer-events: none; z-index: 0; }
.glow--teal { width: 460px; height: 460px; background: #0f9e8c; top: -120px; right: -80px; }
.glow--cyan { width: 360px; height: 360px; background: #2fe1c8; bottom: -140px; left: -100px; opacity: .16; }
.hero-grid, .section .container { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface-800);
  border: 1px solid rgba(253, 233, 255, 0.10);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(47, 225, 200, 0.4); transform: translateY(-3px); }
.card .idx { font-size: 11px; color: var(--accent-teal); letter-spacing: 1.5px; margin-bottom: 16px; display:block; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* expertise chip icon */
.chip-ico {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(47, 225, 200, 0.10);
  border: 1px solid rgba(47, 225, 200, 0.22);
  color: var(--accent-teal);
}
.chip-ico svg { width: 22px; height: 22px; }

/* ---------- About split ---------- */
.about-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 940px) { .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.about-portrait { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(253,233,255,.15); aspect-ratio: 3/4; background: var(--surface-800); position: relative; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.creds { display: grid; gap: 1px; margin-top: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 620px) { .creds { grid-template-columns: repeat(2, 1fr); } }
.cred { background: var(--surface-800); padding: 22px 24px; }
.cred .num { font-size: 26px; letter-spacing: -0.5px; }
.cred .lbl { font-size: 12px; color: var(--text-muted); }

/* ---------- Methodology steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.step { background: var(--surface-900); padding: 32px 36px; display: grid; grid-template-columns: 54px 1fr; gap: 22px; align-items: start; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 15px; color: var(--accent-teal); letter-spacing: 1px; padding-top: 4px; }
.step h3 { margin-bottom: 6px; font-size: 20px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- Article cards ---------- */
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .pillar { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-teal); margin-bottom: 16px; }
.article-card h3 { font-size: 22px; margin-bottom: 12px; }
.article-card .meta { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; align-items: center; }
.article-card .read { color: var(--text-primary); border-bottom: 1px solid var(--accent-teal); padding-bottom: 2px; }

.article-thumb { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); margin-bottom: 22px; background: linear-gradient(135deg, #003734, #012624); position: relative; border: 1px solid rgba(255,255,255,.06); }
.article-thumb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(47,225,200,.18), transparent 60%); }
.article-thumb .glyph { position: absolute; right: 18px; bottom: 14px; font-size: 40px; color: rgba(47,225,200,.35); letter-spacing: -2px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.social-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.social-list a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); background: var(--surface-800); transition: border-color .2s, transform .2s; }
.social-list a:hover { border-color: rgba(47,225,200,.4); transform: translateX(4px); }
.social-list .net { font-weight: 500; }
.social-list .handle { color: var(--text-muted); font-size: 13px; margin-left: auto; }

/* ---------- Responsible gambling band ---------- */
.rg-band { background: var(--surface-950); border-top: 1px solid rgba(47,225,200,.14); border-bottom: 1px solid rgba(47,225,200,.14); padding: 26px 0; }
.rg-band .container { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; justify-content: center; text-align: center; font-size: 13px; color: var(--text-muted); }
.rg-band .age { font-weight: 600; color: var(--text-primary); border: 1px solid var(--accent-teal); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; font-size: 13px; }
.rg-band a { color: var(--text-primary); border-bottom: 1px solid rgba(47,225,200,.5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-950); padding: 64px 0 40px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin: 0 0 18px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 14px; }
.footer-grid a:hover { color: var(--text-primary); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.disclosure { font-size: 12px; color: var(--text-muted); max-width: 46ch; line-height: 1.6; }

/* ---------- Blog listing ---------- */
.page-head { padding: 80px 0 40px; }
.blog-list { display: grid; gap: 28px; }
@media (min-width: 760px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .blog-list { grid-template-columns: repeat(3, 1fr); } }
.blog-feature { grid-column: 1 / -1; }
@media (min-width: 760px) { .blog-feature .article-card { flex-direction: row; gap: 32px; align-items: stretch; } .blog-feature .article-thumb { flex: 0 0 46%; margin-bottom: 0; aspect-ratio: auto; } .blog-feature .fc-body { display: flex; flex-direction: column; justify-content: center; } }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip { font-size: 12px; letter-spacing: .5px; padding: 9px 16px; border-radius: 40px; border: 1px solid rgba(255,255,255,.12); color: var(--text-muted); background: transparent; cursor: pointer; transition: all .2s; }
.filter-chip:hover { color: var(--text-primary); border-color: rgba(47,225,200,.4); }
.filter-chip.active { background: var(--grad-primary); color: #012624; border-color: transparent; font-weight: 500; }

/* ---------- Article (single) ---------- */
.article-hero { padding: 70px 0 40px; }
.article-hero .kicker { color: var(--accent-teal); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.author-mini { display: flex; align-items: center; gap: 12px; }
.author-mini img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(47,225,200,.3); }
.article-cover { aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; margin: 20px 0 8px; background: linear-gradient(135deg,#003734,#011d1c); position: relative; border: 1px solid rgba(255,255,255,.06); }
.article-cover::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 25% 30%, rgba(47,225,200,.2), transparent 55%); }
.prose { max-width: 74ch; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.prose h2 { margin: 52px 0 18px; font-size: 30px; }
.prose h3 { margin: 34px 0 12px; }
.prose p { color: #d7e8e6; }
.prose ul, .prose ol { color: #d7e8e6; padding-left: 22px; margin: 0 0 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose blockquote { margin: 30px 0; padding: 22px 28px; border-left: 3px solid var(--accent-teal); background: var(--surface-800); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-primary); font-size: 19px; }
.prose table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.prose th { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.callout { border: 1px solid rgba(47,225,200,.25); background: rgba(47,225,200,.06); border-radius: var(--radius); padding: 24px 28px; margin: 30px 0; font-size: 15px; }
.callout strong { color: var(--accent-teal); }

/* verdict box */
.verdict { display: grid; gap: 28px; margin: 40px 0; }
@media (min-width: 720px) { .verdict { grid-template-columns: 1.4fr 1fr; } }
.rating-badge { text-align: center; padding: 32px; border: 1px solid rgba(47,225,200,.3); border-radius: var(--radius); background: var(--surface-800); }
.rating-badge .score { font-size: 56px; letter-spacing: -2px; background: var(--grad-secondary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proscons { display: grid; gap: 20px; }
@media (min-width: 520px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.proscons ul { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.proscons li { padding: 6px 0 6px 22px; position: relative; color: #d7e8e6; }
.pros li::before { content: '+'; position: absolute; left: 0; color: var(--accent-teal); font-weight: 600; }
.cons li::before { content: '\2013'; position: absolute; left: 0; color: #e6a; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* section header block */
.sec-head { margin-bottom: 52px; max-width: 62ch; }

/* fine divider label */
.overline-row { display:flex; align-items:center; gap: 20px; margin-bottom: 10px; }
.overline-row .line { flex:1; height:1px; background: rgba(255,255,255,.1); }
