:root {
  --bg: #080b12;
  --bg-2: #0d1422;
  --card: rgba(14, 22, 36, 0.9);
  --card-2: rgba(16, 27, 46, 0.86);
  --ink: #f4efe7;
  --muted: #aaa39a;
  --line: rgba(128, 147, 176, 0.16);
  --panel: var(--bg-2);
  --panel-raised: var(--card);
  --accent: #ff6b3d;
  --accent-hover: #ff8a62;
  --accent-dark: #05070c;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --radius: 8px;
  --radius-sm: 5px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 48%, var(--bg) 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 11, 18, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 78px;
  padding: 0 28px;
}

.nav-links,
.social-links {
  align-items: center;
  display: flex;
  gap: 24px;
}

.social-links {
  justify-content: flex-end;
}

.social-icon-link {
  align-items: center;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.social-icon-link img {
  height: 22px;
  width: 22px;
}

.social-icon-link img[src*="youtube"],
.social-icon-link img[src*="discord"] {
  transform: scale(1.18);
}

.social-icon-link img[src*="discord"] {
  transform: scale(1.3);
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}

.brand-logo {
  align-items: center;
  display: flex;
  justify-content: center;
}

.brand-logo img {
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
  height: auto;
  max-width: 260px;
  width: min(260px, 28vw);
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a {
  font-weight: 700;
}

.nav a:hover,
.footer a:hover {
  color: var(--accent-hover);
}

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

.button {
  align-items: center;
  background: var(--accent);
  border-radius: var(--radius-sm);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 10px 24px var(--shadow);
  transform: translateY(-1px);
}

.hero {
  min-height: 0;
  position: relative;
}

.hero-media {
  height: 48vh;
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
  position: relative;
}

.hero-media img,
.page-hero img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-media::after,
.page-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.82), rgba(8, 11, 18, 0.34)),
    linear-gradient(180deg, rgba(8, 11, 18, 0.08), rgba(8, 11, 18, 0.62));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-copy {
  color: #fff;
  inset: 0;
  margin: 0 auto;
  max-width: var(--max);
  padding: 7vh 28px 0;
  position: absolute;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  margin: 0 0 18px;
  max-width: 920px;
}

.hero-copy p {
  font-size: 22px;
  margin: 0 0 30px;
  max-width: 680px;
}

.section {
  padding: 76px 28px;
}

.section.alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.split {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.split > img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px var(--shadow);
}

.home-intro {
  padding-top: 84px;
}

.home-intro .stack {
  background: linear-gradient(180deg, rgba(16, 27, 46, 0.88), rgba(11, 17, 28, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.home-intro .split > img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.eyebrow {
  color: #f08a61;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h2 {
  font-size: clamp(34px, 5vw, 66px);
  margin: 0 0 24px;
}

.section h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  margin: 0 0 16px;
}

h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.section-heading {
  margin-bottom: 32px;
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading p {
  color: #ded6ce;
  font-size: 18px;
}

.lead {
  color: #ded6ce;
  font-size: 20px;
}

.stack > * + * {
  margin-top: 20px;
}

.video-grid,
.post-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-card,
.post-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.video-card img,
.post-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.video-grid iframe {
  background: var(--card);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px var(--shadow);
  display: block;
}

.youtube-card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  padding: 12px 12px 18px;
  position: relative;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.youtube-card:hover {
  border-color: rgba(255, 107, 61, 0.42);
  box-shadow: 0 18px 42px var(--shadow);
  transform: translateY(-2px);
}

.youtube-card img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  object-fit: cover;
  width: 100%;
}

.youtube-card h3 {
  margin: 14px 4px 0;
  text-wrap: balance;
}

.duration {
  background: rgba(7, 9, 11, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 7px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 8px;
}

.review-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 18px;
  min-height: 260px;
  padding: 24px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.review-card:hover,
.review-card:focus-visible {
  border-color: rgba(255, 107, 61, 0.42);
  box-shadow: 0 24px 54px var(--shadow);
  outline: none;
  transform: translateY(-2px);
}

.review-quote {
  color: #ded6ce;
  font-size: 19px;
  line-height: 1.45;
}

.review-author {
  align-self: end;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.review-action {
  color: #ffb399;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 80;
}

.review-modal[hidden] {
  display: none;
}

.review-modal-backdrop {
  background: rgba(5, 7, 12, 0.78);
  inset: 0;
  position: absolute;
}

.review-modal-panel {
  background: var(--panel-raised);
  border: 1px solid rgba(255, 107, 61, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
  max-height: min(720px, calc(100vh - 56px));
  max-width: 760px;
  overflow: auto;
  padding: 34px;
  position: relative;
  width: 100%;
}

.review-modal-panel h2 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 18px;
}

.review-modal-panel p:last-child {
  color: #ded6ce;
  font-size: 20px;
  margin-bottom: 0;
}

.review-modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: #fff;
  display: flex;
  font-size: 30px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
}

.review-modal-close:hover,
.review-modal-close:focus-visible {
  background: var(--accent);
  outline: none;
}

.sponsor-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sponsor-card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 330px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sponsor-card:hover {
  border-color: rgba(255, 107, 61, 0.42);
  box-shadow: 0 18px 42px var(--shadow);
  transform: translateY(-2px);
}

.sponsor-logo {
  align-items: center;
  background: #cdcdff;
  display: flex;
  justify-content: center;
  padding: 26px;
}

.sponsor-logo img {
  max-height: 88px;
  object-fit: contain;
  width: 100%;
}

.sponsor-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
  padding: 24px;
  width: 100%;
}

.sponsor-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
}

.sponsor-copy {
  color: #ded6ce;
}

.sponsor-code {
  align-self: flex-start;
  background: rgba(255, 107, 61, 0.14);
  border: 1px solid rgba(255, 107, 61, 0.38);
  border-radius: var(--radius-sm);
  color: #ffb399;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 10px;
  text-transform: uppercase;
}

.subscribe {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

.subscribe-section {
  padding-bottom: 38px;
  padding-top: 38px;
}

.subscribe-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 10px;
}

.subscribe-section p {
  margin: 0;
}

.subscribe-section .subscribe {
  align-items: center;
  gap: 18px;
}

.subscribe form {
  display: flex;
  gap: 12px;
}

input,
textarea {
  border: 1px solid var(--line);
  background: rgba(14, 22, 36, 0.74);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 107, 61, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 107, 61, 0.18);
  outline: none;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.page-hero {
  color: #fff;
  height: 52vh;
  min-height: 360px;
  position: relative;
}

.page-hero .section-inner {
  inset: auto 0 42px;
  padding: 0 28px;
  position: absolute;
  z-index: 1;
}

.content {
  margin: 0 auto;
  max-width: 860px;
  padding: 70px 28px;
}

.content h1 {
  font-size: clamp(40px, 7vw, 84px);
  margin: 0 0 12px;
}

.content p {
  font-size: 18px;
}

.content figure {
  margin: 46px 0;
}

.content figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.appointments-page {
  margin: 0 auto;
  max-width: var(--max);
  padding: 70px 28px 82px;
}

.appointments-hero {
  margin-bottom: 34px;
  max-width: 900px;
}

.appointments-hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  margin: 0 0 18px;
}

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 46px;
}

.service-card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px var(--shadow);
  display: grid;
  gap: 18px;
  padding: 28px;
}

.service-card-featured {
  border-color: rgba(255, 107, 61, 0.34);
}

.service-card-header {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.service-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
}

.service-card p {
  color: #ded6ce;
  font-size: 18px;
  margin: 0;
}

.service-price {
  background: rgba(255, 107, 61, 0.12);
  border: 1px solid rgba(255, 107, 61, 0.34);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 14px;
  white-space: nowrap;
}

.service-price span {
  color: #ffb399;
  font-size: 15px;
  margin-left: 2px;
}

.service-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card li {
  border-left: 3px solid var(--accent);
  color: #ded6ce;
  padding-left: 12px;
}

.booking-panel {
  background: rgba(16, 27, 46, 0.54);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px var(--shadow);
  padding: 30px;
}

.booking-panel iframe {
  border-radius: var(--radius);
}

.booking-heading {
  margin: 0 auto 24px;
  max-width: 760px;
  text-align: center;
}

.booking-heading h2 {
  font-size: clamp(30px, 5vw, 54px);
  margin-bottom: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 34px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-decoration: none;
}

.footer {
  background: #05070c;
  color: #fff;
  border-top: 1px solid var(--line);
  padding: 46px 28px 34px;
}

.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-logo {
  justify-self: center;
  max-width: 90px;
}

.footer small {
  color: rgba(255, 255, 255, 0.65);
}

.footer-social-links {
  align-items: center;
  display: flex;
  gap: 18px;
  margin: 0;
}

@media (max-width: 840px) {
  .nav {
    grid-template-columns: 1fr;
    padding: 18px 22px;
  }

  .nav-links,
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-logo img {
    width: min(260px, 78vw);
  }

  .hero-media {
    height: 420px;
  }

  .split,
  .subscribe,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .video-grid,
  .post-grid,
  .sponsor-grid,
  .review-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .subscribe form {
    flex-direction: column;
  }

  .service-card-header {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    margin-left: -16px;
    margin-right: -16px;
    padding: 24px 16px;
  }

  .booking-panel iframe {
    width: 100% !important;
  }

  .review-modal {
    padding: 16px;
  }

  .review-modal-panel {
    padding: 28px 22px;
  }
}
