:root {
  --bg: #090b0d;
  --bg-strong: #040506;
  --bg-card: #101317;
  --bg-light: #f4f0e8;
  --text: #f1f2f3;
  --text-dark: #121212;
  --accent: #c8a34a;
  --line: #1a1f24;
  --line-strong: #252c33;
  --line-light: #d9d0c2;
  --shadow-soft: 0 18px 38px rgba(0, 0, 0, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 10%, rgba(200, 163, 74, 0.08), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(200, 163, 74, 0.05), transparent 40%);
  pointer-events: none;
  z-index: -1;
  animation: ambientFloat 18s ease-in-out infinite alternate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(9, 11, 13, 0.84);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  font-family: "Playfair Display", serif;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.06em;
  font-size: 1.16rem;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: #dcdcdc;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.01em;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 56px);
  line-height: 1.2;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 4vw, 32px);
  letter-spacing: 0.04em;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

p {
  margin: 0 0 20px;
  color: #dfdfdf;
}

.container {
  width: min(1120px, 100% - 120px);
  margin: 0 auto;
}

.section {
  padding: 108px 0;
}

.section-centered {
  text-align: center;
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-light p,
.section-light li {
  color: #2b2b2b;
}

.section-light h2,
.section-light h3,
.section-light .award-top {
  color: #101010;
}

.section-divider {
  margin: 0;
  border: none;
  border-top: 1px solid rgba(200, 163, 74, 0.18);
}

.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 10, 10, 0.74), rgba(10, 10, 10, 0.8)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-content {
  max-width: 920px;
}

.eyebrow {
  margin-bottom: 24px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.subtitle {
  margin: 24px auto 0;
  max-width: 760px;
}

.button-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(8, 8, 8, 0.64);
  border-radius: 14px;
  overflow: hidden;
}

.metric {
  padding: 18px 14px;
  border-right: 1px solid rgba(201, 162, 39, 0.28);
}

.metric:last-child {
  border-right: none;
}

.metric-value {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.85rem;
  color: #f6edcf;
  line-height: 1.1;
}

.metric-label {
  margin: 6px 0 0;
  color: #d8d3c2;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  padding: 11px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.button:hover,
.button:focus-visible {
  background: var(--accent);
  color: #000;
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transition: left 0.55s ease;
}

.button:hover::after,
.button:focus-visible::after {
  left: 130%;
}

.button-secondary {
  border-color: #856b1b;
  color: #c5a951;
}

.button-dark {
  border-color: #2b2b2b;
  color: #1e1e1e;
}

.button-dark:hover,
.button-dark:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-image {
  width: 100%;
  min-height: 350px;
  border: 1px solid var(--line-strong);
  object-fit: cover;
  border-radius: 18px;
}

.pillars {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.pillar p {
  margin-bottom: 0;
  font-size: 16px;
}

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

.card {
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  padding: 40px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card ul {
  margin: 0 0 18px;
  padding-left: 18px;
}

.card li {
  margin-bottom: 8px;
}

.awards p {
  margin-bottom: 12px;
}

.award-top {
  margin-top: 8px;
  font-size: 2rem;
  color: var(--text);
}

.note {
  margin-top: 24px;
  font-size: 14px;
  color: #6a6a6a;
}

.timeline {
  max-width: 520px;
}

.timeline-item {
  border-left: 1px solid var(--line);
  padding: 0 0 28px 24px;
  margin-left: 6px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-title {
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 500;
}

.timeline-date {
  margin-bottom: 0;
  color: #cdcdcd;
}

.registration-intro {
  margin-top: -8px;
}

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

.price-box {
  border: 1px solid #333;
  padding: 40px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.section-light .price-box {
  border: 1px solid var(--line-light);
}

.price {
  margin: 6px 0 10px;
  color: var(--accent);
  font-size: 2.3rem;
  font-family: "Playfair Display", serif;
}

footer {
  background: var(--bg-strong);
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

footer p {
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-title {
  color: var(--text);
  font-size: 16px;
}

.footer-links {
  margin-top: 10px;
}

footer a {
  color: #d8d8d8;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

.copyright {
  margin-top: 14px;
  color: #9d9d9d;
}

.thank-you-main {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 40px;
}

.thank-you-card {
  width: min(760px, 100%);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  padding: 56px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.thank-you-card .button {
  margin-top: 10px;
}

.subpage-main {
  padding-top: 8px;
}

.page-hero {
  padding: 110px 0 80px;
  position: relative;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.86)), url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.page-hero .subtitle {
  margin-left: 0;
}

.button-row.left {
  justify-content: flex-start;
}

.sub-intro {
  max-width: 780px;
  margin-bottom: 34px;
  color: #3a3a3a;
}

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

.info-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.section-light .info-card {
  border-color: var(--line-light);
  background: #f8f5ed;
}

.info-card h3 {
  margin-bottom: 10px;
}

.info-card p {
  margin-bottom: 0;
  font-size: 15.5px;
}

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

.meta-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #d2d2d2;
  font-size: 15.5px;
}

.meta-list li:last-child {
  border-bottom: none;
}

.section-light .meta-list li {
  border-bottom-color: #d6cec1;
  color: #2d2d2d;
}

.pillars.compact {
  margin-top: 8px;
}

.pillars.compact .pillar {
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  padding: 24px;
}

.section-light .pillars.compact .pillar {
  border-color: var(--line-light);
  background: #f8f5ed;
}

.pillars.compact .pillar h3 {
  margin-bottom: 8px;
}

.pillars.compact .pillar p {
  margin-bottom: 0;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  padding: 0 20px;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--text);
}

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

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

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0 0 18px;
}

.quote {
  margin-bottom: 16px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #171717;
}

.stat-callout {
  margin: 6px 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #121212;
}

.testimonial-carousel {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.carousel-window {
  border: 1px solid #d9d0c2;
  background: #fbf8f1;
  border-radius: 18px;
  padding: 30px;
  min-height: 220px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
}

.quote-author {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c6149;
}

.quote-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f7f5e;
}

.quote-name {
  margin: 0 0 2px;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: #1a1a1a;
}

.quote-role {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f644a;
}

.carousel-indicator {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f644a;
}

.carousel-control {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #cfb97a;
  background: transparent;
  color: #6f591b;
  font-size: 1rem;
  cursor: pointer;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: #e8ddc3;
}

.legal-doc {
  border: 1px solid #d9d0c2;
  background: #fffdf8;
  border-radius: 20px;
  padding: 42px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.legal-doc h2 {
  margin-top: 26px;
  margin-bottom: 12px;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.legal-doc p {
  color: #252525;
}

.legal-doc ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-doc li {
  margin-bottom: 8px;
  color: #252525;
}

.legal-meta {
  margin-bottom: 8px;
  color: #3a3a3a;
  font-size: 15px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel-card {
  background: #fbf8f1;
  border: 1px solid #d9d0c2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.panel-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  padding: 24px;
}

.panel-content {
  padding: 22px 22px 24px;
}

.panel-content h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #161616;
}

.panel-content p {
  margin: 0;
  color: #333;
  font-size: 15px;
}

.card:hover,
.info-card:hover,
.price-box:hover,
.panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
  border-color: rgba(200, 163, 74, 0.6);
}

.js-enabled .reveal-target {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .reveal-target.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-content .eyebrow {
  animation: fadeUp 0.9s ease both;
}

.hero-content h1 {
  animation: fadeUp 0.9s 0.08s ease both;
}

.hero-content .subtitle {
  animation: fadeUp 0.9s 0.16s ease both;
}

.hero-content .button-row {
  animation: fadeUp 0.9s 0.24s ease both;
}

.hero-content .hero-metrics {
  animation: fadeUp 0.9s 0.32s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.04) translateY(-12px);
  }
}

@keyframes ambientFloat {
  from {
    transform: translate3d(-2%, 0, 0);
  }
  to {
    transform: translate3d(2%, -1.5%, 0);
  }
}

.panel-meta {
  margin-top: -8px;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6f644a;
}

.essay-shell {
  max-width: 860px;
}

.essay-question {
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: #101010;
}

.essay-form {
  border: 1px solid var(--line-light);
  background: #f8f5ed;
  padding: 28px;
}

.essay-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #121212;
}

.essay-form textarea {
  width: 100%;
  border: 1px solid #cfc5b6;
  padding: 16px;
  font: inherit;
  line-height: 1.55;
  color: #121212;
  background: #fff;
  resize: vertical;
}

.essay-form textarea:focus-visible {
  outline: 2px solid #222;
  outline-offset: 1px;
}

.essay-meta {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.essay-meta p {
  margin: 0;
  color: #3b3b3b;
  font-size: 14px;
}

@media (max-width: 980px) {
  .container {
    width: min(1100px, 100% - 56px);
  }

  .section {
    padding: 82px 0;
  }

  .cards,
  .pillars,
  .pricing,
  .split,
  .info-grid,
  .info-grid.two {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    justify-self: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: none;
  }

  .metric:nth-child(1),
  .metric:nth-child(2) {
    border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  }

  nav {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(1100px, 100% - 40px);
  }

  .hero {
    min-height: 74vh;
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: 68px;
  }

  nav {
    font-size: 14px;
    gap: 10px;
  }

  .card,
  .price-box,
  .thank-you-card,
  .essay-form {
    padding: 28px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  }

  .metric:last-child {
    border-bottom: none;
  }

  .metric:nth-child(2) {
    border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  }

  .legal-doc {
    padding: 28px;
  }
}
