
/* =========================================
   REBEL & RECODE
   MAIN STYLESHEET
   ========================================= */

/* 01. BASE */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #151514;
  color: #f2eee6;
  font-family: Arial, sans-serif;
}

main,
header,
footer {
  padding: 28px max(22px, calc((100vw - 1050px) / 2));
}

section {
  padding: 80px max(22px, calc((100vw - 1050px) / 2));
}


/* 02. TYPOGRAPHY */

h1 {
  font-size: clamp(48px, 9vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 22px 0;
}

h2 {
  font-size: clamp(34px, 6vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 20px 0;
}

h3 {
  font-size: clamp(23px, 4vw, 38px);
}

p {
  line-height: 1.7;
  max-width: 700px;
}

.muted {
  color: #c3beb6;
}

.gold {
  color: #c4a887;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.6px;
  color: #c4a887;
  font-weight: 700;
  text-transform: uppercase;
}


/* 03. HEADER & LOGO */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #444;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-logo {
  display: block;
  width: min(240px, 36vw);
  max-height: 58px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}


/* 04. HERO SECTION */

/*
  No gradient overlay.
  Original image colors remain visible.
*/

/* HERO IMAGE */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  padding-top: 78px;
  padding-bottom: 70px;

  overflow: hidden;
  background-color: #151514;
}

/* DARK FADE FROM BOTTOM TO TOP */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(21, 21, 20, 1) 0%,
    rgba(21, 21, 20, 0.85) 12%,
    rgba(21, 21, 20, 0.35) 30%,
    rgba(21, 21, 20, 0) 55%
  );
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 84px);
}


/* 05. BUTTONS */

.button {
  display: inline-block;
  background: #c4a887;
  color: #171514;
  border: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 17px 23px;
  cursor: pointer;
  margin: 10px 10px 0 0;
}

.button.secondary {
  background: transparent;
  border: 1px solid #9b8a78;
  color: #f2eee6;
}


/* 06. QUESTIONS */

.questions,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.questions article {
  border: 1px solid #625b53;
  padding: 24px;
  min-height: 155px;
}

.questions p {
  font-size: 19px;
  font-weight: bold;
  line-height: 1.3;
}


/* 07. METHOD — SIX STEPS */

.method {
  background: #22211f;
}

.steps button {
  background: transparent;
  color: #f2eee6;
  border: 1px solid #776b5e;
  text-align: left;
  padding: 19px;
  cursor: pointer;
  font-weight: bold;
}

.steps button.active {
  background: #c4a887;
  color: #171514;
}

.steps small {
  display: block;
  margin-bottom: 9px;
}

.stepdetail {
  border-top: 1px solid #61574d;
  margin-top: 25px;
  padding-top: 20px;
  min-height: 185px;
}


/* 08. REFLECTION */

.reflect {
  background: #35372f;
}

textarea {
  display: block;
  width: 100%;
  max-width: 700px;
  min-height: 110px;
  padding: 16px;
  background: #252821;
  color: white;
  border: 1px solid #aaa;
  font: inherit;
}

.response {
  display: none;
  border-left: 3px solid #c4a887;
  padding: 15px;
  background: #ffffff10;
}


/* 09. WALK & RECODE OFFER */

.offer {
  background: #e9e2d7;
  color: #25231f;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.offer .eyebrow {
  color: #846a4d;
}

.pricebox {
  background: #f9f6f0;
  padding: 30px;
}

.price {
  font-size: 55px;
  font-weight: bold;
}


/* 10. STORY */

.story {
  background: #252522;
}

.quote {
  font-size: clamp(25px, 4vw, 45px);
  font-weight: bold;
  line-height: 1.25;
  color: #e6d2b8;
}


/* 11. UTILITIES */

.center {
  text-align: center;
}

.center p {
  margin: 20px auto;
}


/* 12. FOOTER */

footer {
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid #555;
}


/* 13. MOBILE */

@media (max-width: 650px) {

  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .questions,
  .offer {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  header .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    text-align: right;
  }

  .brand-logo {
    width: min(170px, 44vw);
    max-height: 48px;
  }

  .hero {
    min-height: 470px;
    padding-top: 62px;
    padding-bottom: 55px;
    /* Parallax image position is controlled by .hero::before */
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 65px);
  }

}


/* =========================================
   14. CINEMATIC SCROLL EFFECTS
   ========================================= */

/* Separate image layer allows smooth movement without moving the text. */
.hero::before {
  content: "";
  position: absolute;
  inset: -65px 0;
  z-index: 0;
  pointer-events: none;
  background: url("images/hero.png") center 46% / cover no-repeat;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Individual content animates; the section backgrounds stay in place. */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(.22,1,.36,1);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.questions article, .steps button, .pricebox {
  transition: transform 350ms ease, background-color 350ms ease, opacity 850ms ease;
}
.questions article:hover, .steps button:hover {
  transform: translateY(-4px);
}
@media (max-width: 650px) {
  .hero::before { background-position: 58% center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { transform: none !important; will-change: auto; }
  .scroll-reveal, .scroll-reveal.is-visible {
    opacity: 1; transform: none; transition: none;
  }
  .questions article:hover, .steps button:hover { transform: none; }
}


/* 14. FIVE PILLARS — MEANINGFUL CARDS */
.steps { align-items: stretch; }
.steps button { display: flex; flex-direction: column; gap: 11px; min-height: 215px; transition: transform .25s ease, background-color .25s ease; }
.steps button:hover { transform: translateY(-4px); }
.steps button strong { font-size: 19px; letter-spacing: -.02em; }
.steps button small { color: #c4a887; letter-spacing: 1.2px; margin: 0; }
.steps button.active small { color: #594735; }
.step-subtitle { font-size: 14px; color: #d9b998; font-weight: 700; }
.step-summary { font-size: 13px; line-height: 1.55; color: #c3beb6; font-weight: 400; }
.steps button.active .step-subtitle, .steps button.active .step-summary { color: #302820; }
.method-closing { max-width: 900px; margin: 50px 0 0; font-size: clamp(20px, 3vw, 30px); line-height: 1.35; font-weight: 800; }
.method-closing span { color: #c4a887; }
@media (max-width: 650px) { .steps { grid-template-columns: 1fr; } .steps button { min-height: 0; } .method-closing { margin-top: 35px; } }
@media (prefers-reduced-motion: reduce) { .steps button { transition: none; } .steps button:hover { transform: none; } }

@media (min-width: 651px) { .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); } .steps button { grid-column: span 2; } .steps button:nth-child(n+4) { grid-column: span 3; } }

/* Five-phase natural process */
.natural-process{list-style:none;padding:0;margin:48px 0 0;max-width:900px;display:grid;gap:0}.process-phase{display:grid;grid-template-columns:64px minmax(0,1fr);gap:24px;position:relative;padding:0 0 38px}.process-phase:not(:last-child)::after{content:"";position:absolute;left:31px;top:70px;bottom:7px;width:1px;background:#675440}.process-icon{width:64px;height:64px;display:grid;place-items:center;border:1px solid #675440;background:#292622;color:#c4a887;border-radius:12px}.process-icon svg{width:32px;height:32px}.process-copy .eyebrow{color:#c4a887;margin:0 0 10px}.process-copy h3{font-size:clamp(22px,3vw,32px);line-height:1.2;margin:0 0 12px}.process-copy p{margin:0 0 12px;line-height:1.6}.process-copy .process-name{color:#c4a887;font-weight:700}.process-phase:last-child{padding-bottom:0}@media(max-width:600px){.process-phase{grid-template-columns:44px minmax(0,1fr);gap:16px}.process-icon{width:44px;height:44px}.process-icon svg{width:25px;height:25px}.process-phase:not(:last-child)::after{left:21px;top:50px}}

.process-copy .pillar-title{font-size:clamp(30px,5vw,48px);letter-spacing:-.045em;margin:0 0 10px;color:#f2eee6}.process-copy .pillar-question{font-size:clamp(18px,2.5vw,24px);font-weight:700;color:#f2eee6;margin-bottom:10px}
