/* =========================================================================
   how-it-works.html — page-specific styles
   Load AFTER css/site.css. This page has its own look (Playfair Display /
   Plus Jakarta Sans, softer muted text, rounder corners), so the first block
   re-applies its values on top of the shared defaults.
   ========================================================================= */

:root{
  --bg-surface:#17120c;
  --muted:#b8aba0;
  --line:rgba(243,236,222,.1);
  --radius:12px;
  --display:'Playfair Display',serif;
  --body:'Plus Jakarta Sans',sans-serif;
}

*{margin:0;padding:0;}

body{
  overflow-x:hidden;
  -webkit-font-smoothing:auto;
}

section{position:static;}  /* site.css makes every section position:relative; this page's weren't */

/* This heading never sets a weight, so it used the browser's bold; site.css's
   h1-h4 rule would make it 600. */
.cta-box h2{font-weight:700;}

.wrap{
  width:100%;
  padding:0 24px;
}

/* site.css turns every .fa-solid into a 1em mask icon. The header icons (arrow,
   chevron, close) use those shapes like every other page; the icons in this page's
   content are Font Awesome glyphs (music included), so undo the mask for them.
   :where() keeps this at single-class specificity so the page's own icon rules win. */
.fa-solid:where(:not(.fa-arrow-right, .fa-chevron-down, .fa-xmark)){
  width:auto;
  height:auto;
  background-color:transparent;
  -webkit-mask-image:none;
  mask-image:none;
  vertical-align:baseline;
  flex:0 1 auto;
}

.hiw-hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(227,161,61,.18),
      transparent 65%
    );
}

.hiw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(255,90,54,.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(191,212,255,.08),
      transparent 45%
    );
}

.eyebrow {
  font: 12px ui-monospace,monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
  display: inline-block;
}

.hiw-hero h1 {
  position: relative;
  font-family: var(--display);
  font-size: clamp(38px,5.5vw,60px);
  font-weight: 600;
  margin-bottom: 18px;
  background:
    linear-gradient(
      90deg,
      var(--cream),
      var(--gold-soft) 50%,
      var(--cream)
    );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleshine 6s linear infinite;
}

@keyframes titleshine {
  to { background-position: -200% 0; }
}

.hiw-hero p {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
}

.process {
  padding: 100px 0;
}

.process-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.process-head h2 {
  font-family: var(--display);
  font-size: clamp(30px,4vw,42px);
  font-weight: 600;
  margin-bottom: 14px;
}

.process-head p {
  color: var(--muted);
  font-size: 16.5px;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background:
    linear-gradient(
      180deg,
      rgb(255,158,181),
      rgb(255,210,74),
      rgb(240,195,120),
      rgb(191,212,255),
      rgb(201,182,255)
    );
  opacity: .5;
}

.t-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 0 0 56px;
}

.t-step:last-child {
  padding-bottom: 0;
}

.t-num {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  color: #1B1206;
  background:
    linear-gradient(
      135deg,
      rgb(var(--m-a)),
      rgb(var(--m-b))
    );
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 28px rgba(var(--m-a),.5);
}

.t-body {
  background:
    linear-gradient(
      180deg,
      rgba(23,18,12,.9),
      rgba(15,12,9,.95)
    );
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 28px 30px;
  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.t-body:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--m-a));
  box-shadow:
    0 20px 45px -20px rgba(var(--m-a),.35);
}

.t-tag {
  font: 11px ui-monospace,monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgb(var(--m-a));
  margin-bottom: 8px;
  display: block;
}

.t-body h3 {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 10px;
}

.t-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.promise {
  padding: 20px 0 100px;
}

.promise-box {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(23,18,12,.95),
      rgba(35,26,17,.95)
    );
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  overflow: hidden;
}

.promise-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #1B1206;
  background:
    linear-gradient(
      135deg,
      var(--gold),
      var(--rust)
    );
  box-shadow: 0 0 30px rgba(227,161,61,.5);
}

.promise-box h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.promise-box p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width:640px) {
  .promise-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promise-badge {
    margin: 0 auto;
  }
}

.hiw-cta {
  padding: 0 0 110px;
  text-align: center;
}

.cta-box {
  background:
    linear-gradient(
      135deg,
      rgba(23,18,12,.95),
      rgba(35,26,17,.95)
    );
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}

.cta-box h2 {
  font-family: var(--display);
  font-size: clamp(28px,4vw,40px);
  margin-bottom: 16px;
}

.cta-box p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 16.5px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  color: #1B1206;
  background:
    linear-gradient(
      90deg,
      var(--gold),
      #FF5A36,
      var(--rust),
      var(--gold)
    ) 0 0/300% 100%;
  box-shadow: 0 0 25px rgba(227,161,61,.4);
  transition: transform .25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
}

@media (max-width:640px) {
  .timeline::before {
    left: 27px;
  }

  .t-step {
    grid-template-columns: 56px 1fr;
    gap: 18px;
  }

  .t-num {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .t-body {
    padding: 22px 20px;
  }
}
