/* Troy Star Launch
   Black #0B0B0B · Off-white #F5F3EF · Gold #CFAE6C · Jost */

:root {
  --black: #0B0B0B;
  --black-2: #131313;
  --line: #2A2926;
  --text: #F5F3EF;
  --muted: #A8A49C;
  --gold: #CFAE6C;
  --gold-hover: #DDBF82;
  --radius: 6px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 116px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}

h1, h2, h3 { margin: 0; font-weight: 300; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.06; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
h3 { font-size: 20px; font-weight: 400; line-height: 1.3; }
p { margin: 0; }

.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { border-color: #4A4843; color: var(--text); }
.btn-line:hover { border-color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 11, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-block: 16px;
}
.brand { display: block; width: 280px; line-height: 0; }
.header-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #CFCBC3;
}
@media (max-width: 640px) {
  .header-tagline { font-size: 11px; letter-spacing: .12em; }
  /* Phones: logo, tagline and menu stacked and centred */
  .nav { flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
  .nav ul { justify-content: center; }
}
.brand svg { width: 100%; height: auto; }
.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 30px;
}
.nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #CFCBC3;
}
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--gold); }
.nav .nav-cta:hover { color: var(--gold-hover); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 12vw, 150px) clamp(64px, 10vw, 120px);
}
.hero-star {
  position: absolute;
  right: 5%;
  top: 50%;
  height: 86%;
  transform: translateY(-50%);
  fill: var(--gold);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 26px; }
.hero-inner > * { max-width: 760px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #CFCBC3; max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Audience switch ----------
   choose       → only the big chooser shows
   new / established → compact switch + matching content */
[data-audience="choose"] [data-for],
[data-audience="choose"] .details,
[data-audience="choose"] .details-only,
[data-audience="new"] [data-for="established"],
[data-audience="established"] [data-for="new"],
[data-audience="new"] .chooser-only,
[data-audience="established"] .chooser-only { display: none !important; }

.chooser-head { display: grid; gap: 14px; }
[data-audience="choose"] .hero {
  min-height: calc(100svh - 110px);
  display: grid;
  align-content: center;
}

/* Content fades up when it appears */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy [data-for], .hero-copy .actions, .details { animation: rise .6s ease-out both; }
.hero-copy .actions { animation-delay: .1s; }
.details { animation-delay: .2s; }
.hero-copy { display: grid; gap: 22px; }

/* Big chooser pills: first solid gold, second outlined, each with a light streak */
.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.toggle-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 108px;
  padding: 24px 18px 24px 34px;
  font: inherit;
  text-align: left;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform .25s, background-color .25s, color .25s;
}
.toggle-btn[data-set="new"] { background: var(--gold); color: var(--black); }
.toggle-btn[data-set="established"] { background: transparent; color: var(--text); }
.toggle-btn::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -50%;
  width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
  pointer-events: none;
}
.toggle-btn[data-set="established"]::before {
  background: linear-gradient(100deg, transparent, rgba(207, 174, 108, .28), transparent);
  animation-delay: 1.8s;
}
@keyframes shine {
  0%, 55%   { left: -50%; }
  85%, 100% { left: 130%; }
}
.toggle-btn:hover { transform: scale(1.02); }
.toggle-btn[data-set="new"]:hover { background: var(--gold-hover); }
.toggle-btn[data-set="established"]:hover { background: rgba(207, 174, 108, .1); }
.toggle-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.t-text { position: relative; display: grid; gap: 2px; }
.t-title { font-size: clamp(20px, 2.4vw, 25px); font-weight: 400; line-height: 1.2; }
.t-desc { font-size: 15px; opacity: .75; }
.t-arrow {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  font-size: 22px;
  line-height: 1;
  transition: transform .25s;
}
.toggle-btn[data-set="new"] .t-arrow { background: var(--black); color: var(--gold); }
.toggle-btn[data-set="established"] .t-arrow { background: var(--gold); color: var(--black); }
.toggle-btn:hover .t-arrow { transform: translateX(4px); }

/* Compact switch once a choice is made */
[data-audience="new"] .toggle,
[data-audience="established"] .toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-self: start;
  gap: 4px;
  padding: 4px;
  border: 1px solid #4A4843;
  border-radius: calc(var(--radius) + 4px);
}
[data-audience="new"] .toggle-btn,
[data-audience="established"] .toggle-btn {
  min-height: 0;
  padding: 11px 20px;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  color: #CFCBC3;
  transform: none;
}
[data-audience="new"] .toggle-btn::before,
[data-audience="established"] .toggle-btn::before { display: none; }
[data-audience="new"] .toggle-btn:hover,
[data-audience="established"] .toggle-btn:hover { color: var(--text); }
[data-audience="new"] .t-title,
[data-audience="established"] .t-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
[data-audience="new"] .t-desc,
[data-audience="new"] .t-arrow,
[data-audience="established"] .t-desc,
[data-audience="established"] .t-arrow { display: none; }
.toggle-btn[aria-pressed="true"] { background: var(--gold) !important; color: var(--black) !important; }

@media (prefers-reduced-motion: reduce) {
  .toggle-btn::before, .hero-copy [data-for], .hero-copy .actions, .details { animation: none; }
}

/* Band: trades scroll left in one continuous line */
.band { border-block: 1px solid var(--line); padding-block: 28px; }
.band .container { display: flex; align-items: center; gap: 12px 32px; }
.band .kicker { flex: none; }
.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trades {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap;
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}
.trades li { display: flex; align-items: center; }
.trades li::after {
  content: "✦";
  color: var(--gold);
  font-size: 10px;
  margin-inline: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@media (max-width: 640px) {
  .band .container { flex-direction: column; align-items: stretch; }
}

/* Sections */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section-alt { background: var(--black-2); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 700px; }

/* Services */
.package {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding: clamp(28px, 4vw, 44px);
  margin-top: 28px;
  border-radius: var(--radius-lg);
  /* A soft band of light travels slowly around the gold border */
  border: 1px solid transparent;
  background:
    linear-gradient(var(--black), var(--black)) padding-box,
    conic-gradient(from var(--sweep),
      #8C7444 0deg, #8C7444 280deg,
      #E9D19B 320deg, #FFF1CC 335deg, #E9D19B 350deg,
      #8C7444 360deg) border-box;
  animation: package-sweep 7s linear infinite;
}
@property --sweep {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes package-sweep { to { --sweep: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .package { animation: none; background: var(--black); border-color: var(--gold); }
}
.package-text { display: grid; gap: 10px; max-width: 580px; }
.package-text h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 300; }
.package-text p:last-child { color: var(--muted); }
.package-price { display: grid; gap: 14px; justify-items: start; }
.price { font-size: clamp(48px, 6vw, 64px); font-weight: 300; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px;
  background: var(--black);
}
/* 5 services: website spans two columns so the rows fill evenly */
.service:nth-child(4) { grid-column: span 2; }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price-sm { color: var(--gold); font-size: 20px; font-variant-numeric: tabular-nums; }
.service p { color: var(--muted); font-size: 16px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.steps li { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line); padding-top: 22px; }
.step-num { color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: .2em; }
.steps p { color: var(--muted); font-size: 16px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.about > div:first-child { display: grid; gap: 14px; align-content: start; }
.about-text { display: grid; gap: 20px; color: #CFCBC3; max-width: 62ch; }
blockquote {
  margin: 12px 0 0;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
}
cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact > div:first-child { display: grid; gap: 14px; align-content: start; }
.form { display: grid; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
}
.field legend { margin-bottom: 10px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--black);
  border: 1px solid #3A3935;
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
input::placeholder, textarea::placeholder { color: #6E6B65; }
input:focus, textarea:focus { border-color: var(--gold); outline: none; }
textarea { resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks label {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--text);
  cursor: pointer;
}
.checks input { accent-color: var(--gold); width: 18px; height: 18px; }
.form .btn { justify-self: start; }
.hidden { display: none; }

/* Footer */
.site-footer { padding-block: 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner svg { width: 170px; height: auto; }
.footer-inner p { font-size: 14px; color: var(--muted); }

/* Small screens */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(4) { grid-column: auto; }
  .service:nth-child(5) { grid-column: span 2; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .brand { width: 210px; }
  .container { padding-inline: 18px; }
  .steps, .row, .checks { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .service:nth-child(5) { grid-column: auto; }
  .toggle { grid-template-columns: 1fr; }
  .toggle-btn { min-height: 88px; padding: 18px 14px 18px 26px; }
  .t-arrow { width: 48px; height: 48px; font-size: 19px; }
  [data-audience="new"] .toggle,
  [data-audience="established"] .toggle { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; }
  [data-audience="new"] .toggle-btn,
  [data-audience="established"] .toggle-btn { padding: 11px 8px; text-align: center; }
  [data-audience="new"] .t-title,
  [data-audience="established"] .t-title { font-size: 11px; letter-spacing: .06em; }
  /* On phones the star becomes a faint watermark behind the text */
  .hero-star { opacity: .18; right: -12%; }
}

/* Package option sits on its own row at the end of the list */
.checks .check-package {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.check-star { width: 10px; height: 20px; fill: var(--gold); flex: none; }

.save { color: var(--gold); font-weight: 500; }

/* Scroll fade: content fades up as it enters the screen and fades out as it leaves */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Cards and steps appear one after another */
.js-reveal .service:nth-child(2), .js-reveal .steps li:nth-child(2) { transition-delay: .08s; }
.js-reveal .service:nth-child(3), .js-reveal .steps li:nth-child(3) { transition-delay: .16s; }
.js-reveal .service:nth-child(4), .js-reveal .steps li:nth-child(4) { transition-delay: .24s; }
.js-reveal .service:nth-child(5) { transition-delay: .32s; }
.js-reveal .contact form, .js-reveal .about > div + div { transition-delay: .12s; }
