/* ============================================
   Tactile Design Co. — gettactile.com
   Moody. Warm. Confident.
   ============================================ */

/* --- Custom Fonts ---
   Black Caviar (display) and Arboria (body) go here when available.
   Add @font-face rules pointing to local .woff2 files.
   Until then, Montserrat covers both roles.
   -------------------------------------------- */
/*
@font-face {
  font-family: 'Black Caviar';
  src: url('/fonts/black-caviar.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Arboria';
  src: url('/fonts/arboria-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Arboria';
  src: url('/fonts/arboria-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
*/

/* --- Brand Tokens --- */
:root {
  --color-grungy: #18181D;
  --color-moody: #061E2C;
  --color-dreamy: #184556;
  --color-rockstar: #B9795B;
  --color-cozy: #CFC0AE;
  --color-fresh: #F0EBE3;

  --font-display: 'Black Caviar', 'Montserrat', serif;
  --font-body: 'Arboria', 'Montserrat', sans-serif;

  --container: 820px;
  --container-wide: 1080px;
  --section-py: clamp(5rem, 10vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-grungy);
  background: var(--color-fresh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-rockstar);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #a5694d;
}

.container {
  width: 88%;
  max-width: var(--container);
  margin: 0 auto;
}

.prose-container {
  max-width: var(--container);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-style: italic;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 2rem;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin-bottom: 0.75rem;
}

/* --- Highlight — copper underline like Haus of Bold's yellow --- */
.highlight {
  display: inline;
  background-image: linear-gradient(
    to top,
    var(--color-rockstar) 0%,
    var(--color-rockstar) 28%,
    transparent 28%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 0.05em;
}

/* Stronger highlight on dark/colored backgrounds */
.the-shift .highlight,
.the-stuck-point .highlight,
.who .highlight {
  background-image: linear-gradient(
    to top,
    var(--color-rockstar) 0%,
    var(--color-rockstar) 32%,
    transparent 32%
  );
}

.the-window .highlight {
  background-image: linear-gradient(
    to top,
    var(--color-cozy) 0%,
    var(--color-cozy) 32%,
    transparent 32%
  );
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--color-rockstar);
  color: var(--color-grungy);
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #a5694d;
  color: var(--color-grungy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185, 121, 91, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1.15rem 3rem;
  font-size: 1.1rem;
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================
   HEADER — dark nav bar (grungy)
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-grungy);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(207, 192, 174, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--color-fresh);
}

.btn-header {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
}

/* ============================================
   SECTION 1: Hero — light bg (fresh)
   ============================================ */
.hero {
  background: var(--color-fresh);
  padding: 8rem 0 var(--section-py);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: var(--color-grungy);
  margin-bottom: 2rem;
}

.hero-body {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--color-dreamy);
  margin-bottom: 3rem;
  max-width: 660px;
  border-top: 1px solid var(--color-cozy);
  padding-top: 1.5rem;
}

/* ============================================
   SECTION 2: The Shift — dark bg (grungy)
   ============================================ */
.the-shift {
  background: var(--color-grungy);
  color: var(--color-cozy);
  padding: var(--section-py) 0;
}

.the-shift h2 {
  color: var(--color-fresh);
  margin-bottom: 2.5rem;
}

.the-shift p {
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
}

.the-shift p:first-of-type {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--color-fresh);
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(207, 192, 174, 0.12);
}

.the-shift p:last-child {
  margin-bottom: 0;
}

.the-shift em {
  color: var(--color-fresh);
  font-style: italic;
}

/* ============================================
   SECTION 3: The Window — accent bg (dreamy)
   ============================================ */
.the-window {
  background: var(--color-dreamy);
  color: var(--color-fresh);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.the-window h2 {
  color: var(--color-fresh);
  margin-bottom: 1.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

.the-window p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: var(--color-cozy);
}

.the-window p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SECTION 4: The Stuck Point — dark bg (moody)
   ============================================ */
.the-stuck-point {
  background: var(--color-moody);
  color: var(--color-cozy);
  padding: var(--section-py) 0;
}

.the-stuck-point h2 {
  color: var(--color-fresh);
  margin-bottom: 2.5rem;
}

.the-stuck-point p {
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
}

.the-stuck-point p:first-of-type {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--color-fresh);
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(207, 192, 174, 0.12);
}

.the-stuck-point p:last-child {
  margin-bottom: 0;
}

.the-stuck-point em {
  color: var(--color-fresh);
  font-style: italic;
}

/* ============================================
   SECTION 5: The Offer — light bg (fresh)
   ============================================ */
.the-offer {
  background: var(--color-fresh);
  padding: var(--section-py) 0;
}

.the-offer .container {
  max-width: var(--container-wide);
}

.offer-header {
  max-width: var(--container);
  margin-bottom: 3.5rem;
}

.offer-header h2 {
  margin-bottom: 1rem;
}

.offer-tagline {
  font-size: 1.05rem;
  color: var(--color-dreamy);
  line-height: 1.7;
}

.phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.phase {
  border-top: 3px solid var(--color-cozy);
  padding: 2rem 2rem 2.5rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(24, 24, 29, 0.06);
}

.phase-1 {
  border-top-color: var(--color-rockstar);
}

.phase h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin-bottom: 0.5rem;
  color: var(--color-grungy);
}

.phase-price {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-rockstar);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.phase p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #4a4a4a;
}

.phase p:last-child {
  margin-bottom: 0;
}

.offer-cta {
  text-align: center;
  padding-top: 1rem;
}

/* ============================================
   SECTION 6: Who This Is For — dark bg (grungy)
   ============================================ */
.who {
  background: var(--color-grungy);
  color: var(--color-cozy);
  padding: var(--section-py) 0;
}

.who h2 {
  color: var(--color-fresh);
}

.who-opening {
  color: var(--color-cozy);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.profiles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.profile {
  border-left: 3px solid var(--color-rockstar);
  padding-left: 1.5rem;
}

.profile p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-cozy);
}

.profile strong {
  color: var(--color-fresh);
  font-size: 1.05rem;
}

.who-caveat {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-cozy);
  opacity: 0.8;
}

.who-caveat a {
  color: var(--color-rockstar);
}

/* ============================================
   SECTION 7: Credibility — light bg (fresh)
   ============================================ */
.credibility {
  background: var(--color-fresh);
  padding: var(--section-py) 0;
}

.credibility .container {
  max-width: var(--container-wide);
}

.credibility h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.credibility-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.fact {
  padding: 2rem;
  border-left: 3px solid var(--color-rockstar);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 8px rgba(24, 24, 29, 0.05);
}

.fact p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dreamy);
}

/* ============================================
   SECTION 8: CTA — dark bg (moody), dual paths
   ============================================ */
.cta-section {
  background: var(--color-moody);
  color: var(--color-cozy);
  padding: var(--section-py) 0;
}

.cta-section .container {
  max-width: var(--container-wide);
}

.cta-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.cta-path {
  padding: 2.5rem;
  border: 1px solid rgba(207, 192, 174, 0.15);
  border-radius: 6px;
  background: rgba(24, 24, 29, 0.3);
}

.path-book {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.path-book .btn {
  margin-top: auto;
}

.cta-path h3 {
  font-family: var(--font-display);
  color: var(--color-fresh);
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.path-book p {
  color: var(--color-cozy);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-cozy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  background: var(--color-fresh);
  color: var(--color-grungy);
  border: 2px solid transparent;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-rockstar);
  box-shadow: 0 0 0 3px rgba(185, 121, 91, 0.2);
}

.form-group input {
  height: 50px;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.path-form .btn-full {
  margin-top: 0.5rem;
  height: 50px;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.5em;
}

.status-error {
  color: #e57373;
}

.form-confirmation {
  text-align: center;
  padding: 2rem 0;
}

.form-confirmation h3 {
  color: var(--color-rockstar);
  margin-bottom: 0.5rem;
}

.form-confirmation p {
  color: var(--color-cozy);
}

.cta-shared {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--color-cozy);
  font-style: italic;
  opacity: 0.7;
}

/* ============================================
   Footer — grungy, minimal
   ============================================ */
.site-footer {
  background: var(--color-grungy);
  border-top: 1px solid rgba(207, 192, 174, 0.08);
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.75rem;
  color: var(--color-cozy);
  opacity: 0.4;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .phases {
    grid-template-columns: 1fr;
  }

  .cta-paths {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .credibility-facts {
    grid-template-columns: 1fr;
  }

  .cta-path {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .btn-header {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }

  h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }
}
