/* Netanalyser — premium dark gold theme */
:root {
  --bg: #0c0b09;
  --bg-elevated: #141210;
  --bg-soft: #1a1714;
  --bg-panel: #201c17;
  --gold: #c9a84c;
  --gold-soft: #e8d5a3;
  --gold-deep: #8a7030;
  --ink: #f3efe6;
  --ink-muted: #b0a896;
  --ink-dim: #7a7366;
  --line: rgba(201, 168, 76, 0.22);
  --line-strong: rgba(201, 168, 76, 0.45);
  --danger: #d4786a;
  --ok: #7faf8a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", Georgia, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.5rem;
  --space-lg: 2.75rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 168, 76, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(232, 213, 163, 0.06), transparent 50%),
    linear-gradient(180deg, #100e0c 0%, var(--bg) 35%, #0a0908 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.65em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

p { margin: 0 0 1em; color: var(--ink-muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-main {
  padding-top: var(--header-h);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 11, 9, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  transform: rotate(45deg);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 0.45rem 0.9rem;
  color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--gold-soft);
  margin: 0.28rem 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .site-nav.is-open { max-height: 28rem; }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.9rem 1.45rem;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold));
  color: #120f0a;
  border-color: var(--gold);
}

.btn-primary:hover {
  color: #120f0a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hero — editorial split, brand-forward */
.hero-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(160deg, rgba(32, 28, 23, 0.95), rgba(12, 11, 9, 0.4));
}

.hero-brand-signal {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-brand-signal span {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-size: 0.55em;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 34ch;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.55), transparent 40%);
  pointer-events: none;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-2%, -1%); }
}

@media (max-width: 900px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-media { min-height: 320px; order: -1; }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(12, 11, 9, 0.75), transparent 50%);
  }
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section-tight {
  padding: var(--space-xl) 0;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: var(--space-lg);
}

.divider-gold {
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0;
}

/* Proof strip */
.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: var(--space-lg) 0;
}

.proof-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.proof-item span {
  color: var(--ink-dim);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Featured course band */
.featured-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.featured-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.featured-copy {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

@media (max-width: 850px) {
  .featured-band { grid-template-columns: 1fr; }
}

/* Benefits */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-list li {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.benefit-list h3 {
  margin-bottom: 0.4rem;
  color: var(--gold-soft);
}

@media (max-width: 700px) {
  .benefit-list { grid-template-columns: 1fr; }
}

/* Course cards */
.course-grid,
.blog-grid,
.price-grid {
  display: grid;
  gap: 1.75rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease);
}

.media-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-tile-body {
  padding: 1.35rem 1.35rem 1.6rem;
}

.media-tile h3 {
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.media-tile p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.tile-meta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote-block {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.quote-block:last-child {
  border-bottom: 1px solid var(--line);
}

.quote-block blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-dim);
}

.quote-wide {
  padding-left: clamp(0rem, 4vw, 3rem);
}

.quote-compact blockquote {
  font-size: 1.15rem;
  font-family: var(--sans);
  color: var(--ink-muted);
}

.rating-row {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Pricing */
.price-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-tier {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.price-tier.featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 168, 76, 0.1), transparent 40%),
    var(--bg-panel);
}

.price-tier h3 {
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.price-amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--ink);
  margin: 0.75rem 0;
}

.price-amount span {
  font-size: 1rem;
  color: var(--ink-dim);
  font-family: var(--sans);
}

.price-tier ul {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero.with-image {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero.with-image .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero.with-image .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.35), rgba(12, 11, 9, 0.92));
  z-index: 1;
}

.page-hero.with-image .container {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

/* Forms */
.form-panel {
  max-width: 36rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-group.has-error .field-error { display: block; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--danger);
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  border-color: var(--ok);
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  border-color: var(--danger);
  color: var(--danger);
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--danger);
  color: var(--danger);
  background: rgba(212, 120, 106, 0.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.contact-details p {
  margin-bottom: 0.75rem;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Legal / prose */
.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose ul,
.prose ol {
  color: var(--ink-muted);
  padding-left: 1.25rem;
}

.prose li { margin-bottom: 0.45rem; }

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: var(--bg-soft);
  color: var(--gold-soft);
  font-weight: 500;
}

/* Modules / FAQ */
.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.module-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.module-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list p {
  margin-top: 0.75rem;
}

/* Instructor */
.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: var(--bg-elevated);
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

@media (max-width: 600px) {
  .instructor { grid-template-columns: 1fr; }
}

/* Case studies */
.case-study {
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-elevated);
  margin-bottom: 1.75rem;
}

.case-study h3 { color: var(--gold-soft); }

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--space-xl) 0;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at center, rgba(201, 168, 76, 0.12), transparent 65%),
    var(--bg-soft);
}

.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { max-width: 36rem; margin: 0 auto 1.5rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #080706;
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xl);
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-tag {
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

.footer-heading {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.footer-col a:hover { color: var(--gold-soft); }

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--ink-dim);
  font-size: 0.85rem;
}

@media (max-width: 850px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 200;
  max-width: 34rem;
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, 34rem);
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: bannerIn 0.55s var(--ease);
}

@keyframes bannerIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-banner[hidden] { display: none !important; }

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page .code {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 9rem);
  color: var(--gold);
  line-height: 1;
  margin: 0;
}

/* Outcomes list */
.outcome-list {
  columns: 2;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.outcome-list li {
  break-inside: avoid;
  padding: 0.75rem 0 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-muted);
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}

@media (max-width: 700px) {
  .outcome-list { columns: 1; }
}
