/* ==========================================================
   Titan Waves — Coming Soon
   ========================================================== */

:root {
  --navy: #0f2530;
  --navy-2: #13303d;
  --navy-line: rgba(255, 255, 255, 0.08);
  --gold: #c8a46e;
  --gold-light: #e2c38f;
  --gold-deep: #9a7a45;
  --paper: #e9ebe6;
  --paper-line: #cfd3cd;
  --ink: #12303c;
  --ink-soft: #5d6a70;
  --white: #ffffff;
  --muted: #a9b6bc;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dark { color: var(--gold-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn span { transition: transform 0.35s var(--ease); }
.btn:hover span { transform: translate(3px, -3px); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); }

.btn--outline {
  padding: 11px 18px;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-weight: 500;
  font-size: 12.5px;
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.link-underline {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  padding-bottom: 8px;
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0.35); }

.section-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title em,
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.section-title em { color: var(--gold-deep); }
.section-title--light { color: var(--white); }
.section-title--light em { color: var(--gold); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--navy-2) 0%, var(--navy) 60%);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  position: absolute; inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  opacity: 0.55;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 640px; height: 640px;
  left: var(--mx, 50%); top: var(--my, 35%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 164, 110, 0.16) 0%, transparent 65%);
  pointer-events: none;
  transition: left 0.6s var(--ease), top 0.6s var(--ease);
}

/* Nav */
.nav {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--navy-line);
}
.nav__brand img { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.nav__links > a:not(.btn) { color: rgba(255, 255, 255, 0.85); transition: color 0.3s; }
.nav__links > a:not(.btn):hover { color: var(--gold); }

/* Hero content */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px 72px;
}

.hero__logo {
  width: clamp(220px, 30vw, 360px);
  margin: 34px 0 30px;
  filter: drop-shadow(0 10px 40px rgba(200, 164, 110, 0.18));
}

.hero__kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero__title {
  font-weight: 400;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero__title em {
  display: inline-block;
  color: var(--gold);
  font-size: 1.04em;
  margin-top: 6px;
}

.hero__lead {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
}

.hero__actions { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }

/* Ticker */
.ticker {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  border-top: 1px solid var(--navy-line);
  overflow: hidden;
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track {
  display: flex;
  gap: 38px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker__track i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SERVICES ---------- */
.services {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(80px, 11vw, 130px) 0;
}
.services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.services__head .eyebrow { margin-bottom: 18px; }
.services__intro {
  max-width: 280px;
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--paper-line);
  border-left: 1px solid var(--paper-line);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 32px;
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  background: transparent;
  transition: background 0.5s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 2px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover { background: #f3f4f0; }
.card:hover::before { transform: scaleX(1); }

.card__tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 30px;
}
.card__title {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.card__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 26px;
}
.card__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
}
.card__link span { transition: transform 0.35s var(--ease); }
.card:hover .card__link span { transform: translate(3px, -3px); }

/* ---------- NOTIFY ---------- */
.notify {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 12vw, 140px) 0;
  text-align: center;
  background: radial-gradient(90% 90% at 50% 100%, var(--navy-2) 0%, var(--navy) 70%);
}
.notify__inner { display: flex; flex-direction: column; align-items: center; }
.notify .eyebrow { margin-bottom: 22px; }
.notify__text {
  max-width: 460px;
  margin: 22px auto 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 300;
}
.notify__form {
  display: flex;
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.3s;
}
.notify__form:focus-within { border-color: var(--gold); }
.notify__form input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--white);
  font: inherit;
  font-size: 14px;
}
.notify__form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.notify__form .btn { flex-shrink: 0; }
.notify__form.is-error { border-color: #d77a6a; animation: shake 0.4s; }
@keyframes shake {
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.notify__msg { min-height: 24px; margin-top: 16px; font-size: 13px; color: var(--gold); }
.notify__msg.is-error { color: #e39a8c; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--navy-line);
  padding: 28px 0;
  font-size: 12px;
  color: var(--muted);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__logo { height: 40px; width: auto; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__intro { max-width: 420px; }
}

@media (max-width: 640px) {
  .container, .nav, .ticker { width: calc(100% - 32px); }
  .nav__links > a:not(.btn) { display: none; }
  .nav__brand img { height: 42px; }
  .hero__content { padding: 40px 16px 56px; }
  .cards { grid-template-columns: 1fr; }
  .notify__form { flex-direction: column; border: 0; gap: 10px; }
  .notify__form input { border: 1px solid rgba(255, 255, 255, 0.18); }
  .notify__form .btn { justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
