/* =========================================================
   DIRECTED ENERGY CONSULTING
   Global stylesheet
   ========================================================= */

:root {
  --primary: #B8121C;
  --primary-dark: #8e0d15;
  --primary-rgb: 184, 18, 28;
  --dark: #1a1a1d;
  --dark-2: #232326;
  --grey: #6c6c70;
  --grey-light: #9a9a9e;
  --light: #f5f4f1;
  --white: #ffffff;

  --font: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --eyebrow-tracking: 0.18em;

  --radius: 4px;
  --radius-sm: 2px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --section-pad-y: clamp(80px, 10vw, 140px);
  --section-pad-x: clamp(24px, 5vw, 80px);
  --container-max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--primary); color: var(--white); }

/* =========================================================
   Skip to content
   ========================================================= */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dark);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
  font-size: 14px;
}
.skip-link:focus { top: 0; }

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

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

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

.section--white {
  background: var(--white);
  color: var(--dark);
}

/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--primary);
}

.section--dark .eyebrow { color: var(--primary); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  margin-bottom: 12px;
}

h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--grey);
  max-width: 62ch;
}

.section--dark .lede { color: var(--grey-light); }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.text-accent { color: var(--primary); }

/* =========================================================
   Buttons
   ========================================================= */

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--light);
  border-color: rgba(245, 244, 241, 0.3);
}
.btn--ghost:hover {
  border-color: var(--light);
  background: rgba(245, 244, 241, 0.05);
}

.section--light .btn--ghost,
.section--white .btn--ghost {
  color: var(--dark);
  border-color: rgba(26, 26, 29, 0.25);
}
.section--light .btn--ghost:hover,
.section--white .btn--ghost:hover {
  border-color: var(--dark);
  background: rgba(26, 26, 29, 0.04);
}

.btn--arrow::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--transition-fast);
}
.btn--arrow:hover::after {
  transform: translateX(4px);
}

/* =========================================================
   Brand mark
   ========================================================= */

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}

.brand-mark__icon {
  width: 72px;
  height: 36px;
  flex-shrink: 0;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-mark__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark__sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero__poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  opacity: 0.42;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,26,29,0.55) 0%, rgba(26,26,29,0.75) 60%, rgba(26,26,29,0.95) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(184,18,28,0.10) 0%, transparent 60%);
  z-index: 1;
}

.hero__brand {
  position: relative;
  z-index: 2;
  padding: 32px var(--section-pad-x) 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px var(--section-pad-x);
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero__eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--primary);
}

.hero__headline {
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 18ch;
}

.hero__headline-line {
  display: block;
  overflow: hidden;
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: rgba(245, 244, 241, 0.75);
  max-width: 56ch;
  margin-bottom: 44px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: var(--section-pad-x);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.6);
}

.hero__scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(245, 244, 241, 0.4);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateX(-100%);
  animation: scrollLine 2.5s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* =========================================================
   Capability strip
   ========================================================= */

.capability-strip {
  background: var(--dark);
  border-top: 1px solid rgba(245, 244, 241, 0.08);
  border-bottom: 1px solid rgba(245, 244, 241, 0.08);
  padding: 28px 0;
  color: var(--light);
}

.capability-strip__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: center;
}

.capability-strip__item {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.85);
  display: flex;
  align-items: center;
  gap: 40px;
}

.capability-strip__item:not(:last-child)::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  display: inline-block;
}

/* =========================================================
   Two-column section (about, founder, cyber)
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .split--reverse { grid-template-columns: 1.2fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

.split__media {
  position: relative;
  background: var(--dark-2);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  min-height: 400px;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(184,18,28,0.08) 0%, transparent 60%),
    var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 12px;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
}

.split__content {
  padding-top: 8px;
}

.split__content p {
  color: var(--grey);
  margin-bottom: 1.2em;
}

.section--dark .split__content p { color: rgba(245, 244, 241, 0.75); }

/* =========================================================
   Founder
   ========================================================= */

.founder-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 244, 241, 0.12);
}

.section--light .founder-name,
.section--white .founder-name {
  border-bottom-color: rgba(26, 26, 29, 0.1);
}

.founder-name__name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.founder-name__role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--primary);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245, 244, 241, 0.12);
  margin-top: 36px;
  border: 1px solid rgba(245, 244, 241, 0.12);
}

.section--light .credentials,
.section--white .credentials {
  background: rgba(26, 26, 29, 0.1);
  border-color: rgba(26, 26, 29, 0.1);
}

.credential {
  background: var(--dark);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section--light .credential,
.section--white .credential { background: var(--light); }

.section--white .credential { background: var(--white); }

.credential__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--primary);
}

.credential__value {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: inherit;
}

/* =========================================================
   Approach cards
   ========================================================= */

.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header--center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(245, 244, 241, 0.1);
  border: 1px solid rgba(245, 244, 241, 0.1);
}

@media (min-width: 800px) {
  .approach-grid { grid-template-columns: repeat(3, 1fr); }
}

.approach-card {
  background: var(--dark);
  padding: 48px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}

.approach-card:hover { background: var(--dark-2); }

.approach-card__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  color: var(--primary);
  margin-bottom: 32px;
}

.approach-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.approach-card__title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin-top: 16px;
  transition: width var(--transition);
}

.approach-card:hover .approach-card__title::after { width: 48px; }

.approach-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245, 244, 241, 0.7);
}

/* =========================================================
   Proof / stats
   ========================================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(26, 26, 29, 0.1);
  border: 1px solid rgba(26, 26, 29, 0.1);
}

@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.section--dark .stats {
  background: rgba(245, 244, 241, 0.1);
  border-color: rgba(245, 244, 241, 0.1);
}

.stat {
  background: var(--light);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section--dark .stat { background: var(--dark); }
.section--white .stat { background: var(--white); }

.stat__number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 12px;
}

.stat__label {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

/* =========================================================
   CTA section
   ========================================================= */

.cta-panel {
  background: var(--dark);
  border-radius: var(--radius);
  padding: clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

.cta-panel__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .cta-panel__inner { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}

.cta-panel__content {
  color: var(--light);
}

.cta-panel__content h2 { color: var(--light); }
.cta-panel__content .lede { color: rgba(245, 244, 241, 0.7); }

.cta-panel__direct {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 244, 241, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-panel__direct-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--grey-light);
}

.cta-panel__direct-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition-fast);
}

.cta-panel__direct-link:hover { color: var(--primary); }

/* =========================================================
   Form
   ========================================================= */

.form {
  background: var(--dark-2);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 244, 241, 0.08);
}

.form__field {
  margin-bottom: 20px;
}

.form__field:last-of-type { margin-bottom: 24px; }

.form__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.7);
  margin-bottom: 8px;
}

.form__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  color: var(--grey);
}

.form__input,
.form__textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid rgba(245, 244, 241, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--light);
  transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font);
}

.form__error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--primary);
}

.form__field--error .form__input,
.form__field--error .form__textarea { border-color: var(--primary); }
.form__field--error .form__error { display: block; }

.form__submit {
  width: 100%;
}

.form__count {
  font-size: 11px;
  color: var(--grey);
  text-align: right;
  margin-top: 4px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--dark);
  color: var(--light);
  padding: 80px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.6;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 244, 241, 0.1);
}

@media (min-width: 800px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; }
}

.footer__brand-block .lede {
  font-size: 15px;
  margin-top: 20px;
  max-width: 36ch;
}

.footer__col h4 {
  font-size: 11px;
  letter-spacing: var(--eyebrow-tracking);
  color: var(--grey-light);
  margin-bottom: 20px;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; }
.footer__col a {
  font-size: 15px;
  color: rgba(245, 244, 241, 0.85);
  transition: color var(--transition-fast);
}
.footer__col a:hover { color: var(--primary); }

.footer__bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  color: var(--grey-light);
}

@media (min-width: 700px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__legal a {
  color: var(--grey-light);
  transition: color var(--transition-fast);
}
.footer__legal a:hover { color: var(--light); }

/* =========================================================
   Scroll reveal
   ========================================================= */

.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* Hero text reveal */
.hero__headline-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroReveal 1s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}

.hero__headline-line:nth-child(2) span { animation-delay: 0.15s; }

@keyframes heroReveal {
  to { transform: translateY(0); }
}

.hero__sub-anim,
.hero__buttons,
.hero__eyebrow {
  opacity: 0;
  animation: heroFade 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero__eyebrow { animation-delay: 0.1s; }
.hero__sub-anim { animation-delay: 0.5s; }
.hero__buttons { animation-delay: 0.65s; }

@keyframes heroFade {
  to { opacity: 1; }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__headline-line span { transform: translateY(0); }
  .hero__eyebrow, .hero__sub-anim, .hero__buttons { opacity: 1; }
  .fade { opacity: 1; transform: none; }
}

/* =========================================================
   Legal page styles (privacy, terms)
   ========================================================= */

.legal-hero {
  background: var(--dark);
  color: var(--light);
  padding: 140px var(--section-pad-x) 80px;
}

.legal-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.legal-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

.legal-hero__date {
  font-size: 13px;
  color: var(--grey-light);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
}

.legal-content {
  background: var(--light);
  padding: 80px 0 120px;
}

.legal-content__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.legal-intro {
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 24px;
  margin-bottom: 56px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark);
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  color: var(--primary);
  margin-bottom: 12px;
}

.legal-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-section p {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.7;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 26, 29, 0.1);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.legal-back::before { content: '\2190'; }
.legal-back:hover { color: var(--primary-dark); }

/* =========================================================
   404 / Thank you
   ========================================================= */

.utility-page {
  min-height: 100vh;
  background: var(--dark);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--section-pad-x);
  text-align: center;
}

.utility-page__inner {
  max-width: 540px;
}

.utility-page__big {
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 16px;
}

.utility-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.utility-page p {
  color: rgba(245, 244, 241, 0.7);
  margin-bottom: 32px;
  font-size: 17px;
}

.utility-page .btn-row { justify-content: center; }

/* Animated tick for thank-you page */
.tick {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tick svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: tickDraw 0.8s ease-out 0.3s forwards;
}

@keyframes tickDraw {
  to { stroke-dashoffset: 0; }
}

.next-steps {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 244, 241, 0.1);
  text-align: left;
}

.next-steps h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  text-align: center;
}

.next-steps ol {
  list-style: none;
  counter-reset: steps;
}

.next-steps li {
  counter-increment: steps;
  padding: 16px 0 16px 48px;
  position: relative;
  border-bottom: 1px solid rgba(245, 244, 241, 0.08);
  font-size: 15px;
  color: rgba(245, 244, 241, 0.85);
}

.next-steps li:last-child { border-bottom: none; }

.next-steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: var(--eyebrow-tracking);
}

/* =========================================================
   Loader (intro animation on first visit)
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

.loader.is-done {
  animation: loaderFadeOut 0.6s cubic-bezier(0.6, 0, 0.3, 1) 0.05s forwards;
  pointer-events: none;
}

@keyframes loaderFadeOut {
  to { opacity: 0; visibility: hidden; }
}

.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184, 18, 28, 0.05) 0%, transparent 55%);
  opacity: 0;
  animation: loaderAtmosphereFade 2.2s ease-out 0.2s forwards;
}

@keyframes loaderAtmosphereFade { to { opacity: 1; } }

.loader__stage {
  position: relative;
  width: 520px;
  max-width: 90vw;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__logo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.loader__logo-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.slash {
  opacity: 0;
  transform: translateY(-260px);
  animation: slashFall 0.55s cubic-bezier(0.34, 0.04, 0.18, 1) forwards;
  transform-origin: center;
  transform-box: fill-box;
}

.slash-1 { animation-delay: 0.25s; }
.slash-2 { animation-delay: 0.40s; }
.slash-3 { animation-delay: 0.55s; }
.slash-4 { animation-delay: 0.70s; }
.slash-5 { animation-delay: 0.85s; }

@keyframes slashFall {
  0%   { opacity: 0; transform: translateY(-260px) scaleY(1.15); }
  60%  { opacity: 1; transform: translateY(6px) scaleY(0.95); }
  80%  { transform: translateY(-1.5px) scaleY(1.02); }
  100% { opacity: 1; transform: translateY(0) scaleY(1); }
}

.jet-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.jet-wrap {
  position: absolute;
  top: -8%;
  left: 92%;
  width: 360px;
  height: 64px;
  transform-origin: 80% center;
  transform: translate(-80%, -50%) rotate(-22deg) scale(0.65);
  opacity: 0;
  animation: jetFly 1.5s cubic-bezier(0.4, 0, 0.4, 1) 1.5s forwards;
}

@keyframes jetFly {
  0%   { opacity: 0; transform: translate(-80%, -50%) rotate(-22deg) scale(0.65); }
  8%   { opacity: 1; transform: translate(-75%, -55%) rotate(-22deg) scale(0.7); }
  100% { opacity: 0; transform: translate(370%, -800%) rotate(-22deg) scale(0.9); }
}

.smoke-ribbon {
  stroke: url(#smokeGradient);
  stroke-width: 5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: smokeReveal 0.5s ease-out 1.62s forwards;
}

@keyframes smokeReveal { to { stroke-dashoffset: 0; } }

.smoke-wisp {
  stroke: rgba(245, 244, 241, 0.35);
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: smokeReveal 0.5s ease-out 1.66s forwards;
}

.loader__wordmark {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: wordmarkFade 0.8s ease-out 1.6s forwards;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.loader__wordmark-rule {
  width: 64px;
  height: 1px;
  background: rgba(184, 18, 28, 0.7);
}

.loader__wordmark-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.loader__wordmark-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--light);
}

.loader__wordmark-sub {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.55);
  margin-top: 8px;
}

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

/* Lock the body while loader is showing */
body.is-loading {
  overflow: hidden;
}

/* Skip loader entirely on reduced motion */
@media (prefers-reduced-motion: reduce) {
  .loader {
    animation: loaderFadeOut 0.3s ease-out 0.5s forwards;
  }
  .slash, .jet-wrap, .smoke-ribbon, .smoke-wisp, .loader__wordmark {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .slash { transform: translateY(0); }
  .loader__wordmark { transform: translateX(-50%); }
}

/* Returning-visitor: hide loader instantly, no animation, no body lock */
html.loader-skip .loader { display: none !important; }
html.loader-skip body { overflow: auto !important; }
