:root {
  --bg: #081018;
  --text: #edf4f7;
  --muted: #b8c7cf;
  --accent: #4dd0e1;
  --accent-hover: #6ee7f2;
  --success: #85e89d;
  --error: #ff9b9b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

/* =========================================================
   Shared Header / Nav
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 36px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 208, 225, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

/* =========================================================
   Shared Logo Card
   ========================================================= */

.hero-brand-card {
  position: fixed;
  top: 20px;
  left: 40px;
  right: auto;
  width: 340px;
  max-width: 36vw;
  z-index: 60;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(77, 208, 225, 0.45);
  background: rgba(4, 14, 24, 0.72);
  box-shadow:
    0 0 10px rgba(77, 208, 225, 0.16),
    inset 0 0 10px rgba(77, 208, 225, 0.04);
  overflow: hidden;
  opacity: 0;
  animation: fadeInLogo 3.5s ease forwards;
  animation-delay: 0.5s;
}

.hero-brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 35%,
    rgba(77, 208, 225, 0.5) 50%,
    transparent 65%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: logoTrace 3.5s ease-in-out infinite;
}

.hero-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 2;
  pointer-events: none;
  border-radius: 12px;
}

/* =========================================================
   Home Page
   ========================================================= */

.page {
  min-height: 100vh;
  background: var(--bg);
}

.splash {
  display: flex;
  justify-content: center;
  padding: 0;
  background: var(--bg);
}

.splash-inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
}

.splash-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-text {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 9;
  width: min(90%, 900px);
}

.hero-title {
  margin: 0;
  font-size: clamp(3.2rem, 5.4vw, 5.2rem);
  font-weight: 400;
  color: rgba(235, 245, 250, 0.94);
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(77, 208, 225, 0.18);
}

.hero-subtitle {
  margin-top: 10px;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.22;
  font-weight: 400;
  color: rgba(220, 242, 255, 0.86);
  text-shadow: 0 0 14px rgba(77, 208, 225, 0.12);
}

.cta-button {
  position: absolute;
  left: 50%;
  bottom: 12.5%;
  transform: translateX(-50%);
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: #062129;
  box-shadow: 0 0 18px rgba(77, 208, 225, 0.22);
  transition: background 0.15s ease, box-shadow 0.15s ease;
  z-index: 10;
}

.cta-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 18px rgba(77, 208, 225, 0.35);
}

.splash-bottom-copy {
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 9;
  width: min(92%, 760px);
}

.tagline {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 400;
  color: rgba(235, 245, 250, 0.85);
}

.byline {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 1.6vw, 1.9rem);
  font-weight: 400;
  color: rgba(235, 245, 250, 0.95);
}

/* =========================================================
   About Page
   ========================================================= */

.about-page {
  position: relative;
  min-height: 100vh;
  padding: 240px 24px 80px;
  background:
    radial-gradient(circle at top left, rgba(77, 208, 225, 0.16), transparent 34%),
    linear-gradient(180deg, #020617 0%, #07111f 55%, #020617 100%);
  color: var(--text);
}

.about-hero,
.about-card,
.about-bottom {
  max-width: 920px;
  margin: 0 auto;
}

.about-hero {
  padding-bottom: 48px;
}

.about-hero h1 {
  margin: 0 0 32px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.about-lead {
  font-size: 1.45rem;
  color: #ffffff;
}

.about-page p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.about-punch {
  color: #ffffff !important;
  font-size: 1.4rem !important;
  font-weight: 700;
}

.about-page blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.7;
}

.about-card {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(77, 208, 225, 0.22);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.about-card-highlight {
  border-color: rgba(77, 208, 225, 0.45);
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.55), rgba(15, 23, 42, 0.8));
}

.about-card h2,
.about-bottom h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.about-card h3 {
  margin-top: 36px;
  color: #9eefff;
  font-size: 1.5rem;
}

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

.about-card li {
  margin-bottom: 10px;
  color: #dff7ff;
  font-size: 1.08rem;
  line-height: 1.6;
}

.about-bottom {
  padding: 72px 0 12px;
  text-align: center;
}

.about-bottom p {
  font-size: 1.35rem;
}

.about-small {
  margin-top: 32px;
  font-size: 1rem !important;
  color: #8fb3c8 !important;
}

/* =========================================================
   Modal
   ========================================================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  padding: 24px 16px;
}

.modal-content {
  background: rgba(5, 18, 28, 0.96);
  color: var(--text);
  width: min(100%, 520px);
  margin: 5vh auto 0;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.modal-content h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.card-copy {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.5;
}

.close {
  float: right;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.close:hover {
  color: var(--accent-hover);
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 0.95rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(77, 208, 225, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: #a9bac3;
}

select:invalid {
  color: #a9bac3;
}

select option {
  background-color: #0f1b26;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: #062129;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  background: var(--accent-hover);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.status {
  min-height: 1.2em;
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.status.success {
  color: var(--success);
  font-weight: 500;
}

.status.error {
  color: var(--error);
  font-weight: 500;
}

/* =========================================================
   Animations
   ========================================================= */

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

@keyframes logoTrace {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  20% {
    opacity: 0.35;
  }

  45% {
    transform: translateX(120%);
    opacity: 0;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* =========================================================
   Mobile Portrait
   ========================================================= */

@media (max-width: 768px) and (orientation: portrait) {
  .site-header {
    padding: 18px 20px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .hero-brand-card {
       top: 14px;
    left: 16px;
    right: auto;
    transform: none;
    width: 180px;
    max-width: 70vw;
    padding: 6px 8px;
    border-radius: 12px;
    z-index: 60;
  }

  .splash {
    min-height: 100svh;
  }

  .splash-inner {
    min-height: 100svh;
    width: 100%;
    max-width: none;
    overflow: hidden;
  }

  .splash-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
  }

  .hero-text {
    top: 24%;
    width: 94%;
    z-index: 4;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .hero-subtitle {
    margin-top: 6px;
    font-size: 1.05rem;
    line-height: 1.18;
  }

  .cta-button {
    bottom: 7%;
    width: 72%;
    max-width: 280px;
    padding: 11px 12px;
    font-size: 0.9rem;
    z-index: 5;
  }

  .splash-bottom-copy {
    bottom: 1.5%;
    width: calc(100% - 28px);
    z-index: 4;
  }

  .tagline,
  .byline {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .about-page {
    padding: 200px 18px 64px;
  }

  .about-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .about-page blockquote {
    padding: 20px;
    font-size: 1.15rem;
  }
}

/* =========================================================
   Phone Landscape
   ========================================================= */

@media (orientation: landscape) and (max-height: 500px) {
  .hero-brand-card {
    top: 14px;
    left: 16px;
    right: auto;
    transform: none;
    width: 220px;
    max-width: 45vw;
    padding: 6px 8px;
    border-radius: 12px;
  }

  .hero-text {
    top: 28%;
    width: 90%;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .cta-button {
    bottom: 12.5%;
    min-width: 240px;
    max-width: 300px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .splash-bottom-copy {
    bottom: 7%;
    width: calc(100% - 40px);
  }
}