/* ============================================================
   childcustodyhelper.com — level-6 editorial design system
   Palette: Bone, Ink, Sepia. Type: Fraunces (display) + Inter (body).
   ============================================================ */

:root {
  --bone:        #F8F4EE;
  --bone-warm:   #EDE5D7;
  --bone-rule:   #D6CDBE;
  --ink:         #0F0F0F;
  --ink-soft:    #1A1A1A;
  --ink-mid:     #2A2A2A;
  --ink-light:   #4A4845;
  --sepia:       #D4A574;
  --sepia-deep:  #B0824A;
  --sepia-soft:  #E8D2B0;
  --rule-on-ink: rgba(245, 232, 211, 0.18);
  --rule-on-bone:rgba(15, 15, 15, 0.10);

  --serif:  'Fraunces', 'Times New Roman', Georgia, serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --t-fast: 200ms cubic-bezier(.2,.7,.3,1);
  --t-slow: 700ms cubic-bezier(.2,.7,.3,1);
  --t-reveal: 900ms cubic-bezier(.16,.84,.3,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--serif); font-weight: 400; }
ul, ol { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--sepia); color: var(--ink); }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(248, 244, 238, 0.72);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), padding var(--t-fast);
}
.nav.scrolled {
  background: rgba(248, 244, 238, 0.92);
  border-bottom-color: var(--bone-rule);
  padding: 0.875rem var(--gutter);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.018em;
  color: var(--ink);
  white-space: nowrap;
  font-style: normal;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  transition: font-size var(--t-fast);
}
.nav-logo .dot { color: var(--sepia-deep); font-weight: 500; }
.nav.scrolled .nav-logo { font-size: 1.2rem; }
.nav-links {
  display: flex;
  gap: 2.25rem;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-mid);
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--sepia);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink);
  color: var(--bone);
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav-cta:hover { background: var(--sepia-deep); transform: translateY(-1px); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bone);
}
.btn-primary:hover {
  background: var(--sepia-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(15,15,15,0.4);
}
.btn-sepia {
  background: var(--sepia);
  color: var(--ink);
}
.btn-sepia:hover {
  background: var(--sepia-deep);
  color: var(--bone);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-on-bone);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost-light {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(245, 232, 211, 0.4);
  padding: 0.95rem 1.75rem;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost-light:hover {
  background: var(--sepia);
  border-color: var(--sepia);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-large {
  padding: 1.15rem 2.25rem;
  font-size: 1.05rem;
}

/* ============================================================
   ATOMS — eyebrows, section titles
   ============================================================ */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia-deep);
  margin: 0 0 1.25rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.section-lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 38rem;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 4.5rem;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================================================
   HERO — full-bleed photographic background
   ============================================================ */

.hero {
  min-height: 100vh;
  padding: 9rem var(--gutter) 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--bone);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-hallway.png');
  background-size: cover;
  background-position: 50% 65%;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
  filter: grayscale(0.4) contrast(1.08) brightness(0.9);
  z-index: 0;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.15) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 25%, transparent 65%, rgba(0,0,0,0.7) 100%);
}
.hero-overlay::after {
  /* subtle film grain */
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(rgba(245,232,211,1) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-text {
  max-width: 42rem;
}
.hero .eyebrow {
  color: var(--sepia);
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 7.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 2rem;
  color: var(--bone);
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero-headline .line { display: block; }
.hero-headline .line.accent { color: var(--sepia); }
.hero-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(245, 232, 211, 0.88);
  max-width: 34rem;
  margin: 0 0 2.5rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero-ctas .btn-primary {
  background: var(--sepia);
  color: var(--ink);
}
.hero-ctas .btn-primary:hover {
  background: var(--bone);
  color: var(--ink);
}
.hero-meta {
  font-size: 0.88rem;
  color: rgba(245, 232, 211, 0.65);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 232, 211, 0.55);
  font-weight: 500;
  z-index: 2;
}
.hero-scroll-hint .line-down {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(245,232,211,0.7), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 900px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.85) 100%);
  }
  .hero-scroll-hint { display: none; }
}

/* ============================================================
   PULL QUOTES (dark + final)
   ============================================================ */

.pull {
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.pull--dark,
.pull--final {
  background: var(--ink);
  color: var(--bone);
}
.pull--final { text-align: center; }
.pull--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/dark-clouds.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  z-index: 0;
}
.pull--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0.4) 0%, rgba(15,15,15,0.85) 100%);
  z-index: 1;
}
.pull--final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/child-drawing.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  filter: grayscale(0.3) contrast(1.05);
  z-index: 0;
}
.pull--final::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%),
    radial-gradient(ellipse 75% 65% at 50% 50%, rgba(0,0,0,0.2) 0%, rgba(15,15,15,0.75) 100%);
  z-index: 1;
}
.pull--breath {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.pull-quote--small {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem) !important;
}
.pull-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.pull-quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sepia);
  margin: 0 0 2rem;
}
.pull-quote em { color: var(--bone); }
.pull-attribution {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 232, 211, 0.55);
  margin: 0;
}
.pull--final .pull-quote { color: var(--bone); }
.pull--final .pull-quote em { color: var(--sepia); }
.pull--final .btn { margin-top: 2rem; }

/* ============================================================
   METHOD (3 steps)
   ============================================================ */

.section--method {
  background: var(--bone);
}
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: method;
}
.method-step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bone-rule);
}
.method-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--sepia-deep);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.method-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.method-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-mid);
  margin: 0;
}

@media (max-width: 820px) {
  .method-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   WHAT'S INSIDE (8 skills)
   ============================================================ */

.section--inside {
  background: var(--bone-warm);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bone-rule);
  border: 1px solid var(--bone-rule);
}
.skill-card {
  background: var(--bone);
  padding: 2rem 1.75rem;
  transition: background var(--t-fast);
}
.skill-card:hover {
  background: var(--bone-warm);
}
.skill-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sepia-deep);
  letter-spacing: 0.05em;
  margin-bottom: 0.875rem;
}
.skill-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.875rem;
  color: var(--ink);
}
.skill-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0;
}
.inside-footer {
  margin-top: 3rem;
  text-align: center;
}
.inside-footer-note {
  font-size: 0.95rem;
  color: var(--ink-light);
  max-width: 44rem;
  margin: 0 auto;
}

@media (max-width: 1100px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .skills-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PHOTO BAND
   ============================================================ */

.photo-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--bone-rule);
  height: clamp(280px, 40vw, 480px);
}
.photo {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.photo--documents {
  background-image: url('../images/documents-desk.png');
  background-size: cover;
  background-position: 50% 72%;
  filter: grayscale(0.3) contrast(1.05);
}
.photo--documents::before {
  /* bottom darken for caption legibility */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.55) 100%);
}
.photo--drawing {
  background-image: url('../images/child-drawing.png');
  background-size: cover;
  background-position: center;
  filter: contrast(1.05);
}
.photo--drawing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.55) 100%);
}
.photo--drawing::after { display: none; }
.photo-caption {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  color: var(--sepia-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 720px) {
  .photo-band { grid-template-columns: 1fr; height: auto; }
  .photo { aspect-ratio: 4/3; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.section--how {
  background: var(--bone);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 4rem;
}
.how-step {
  padding: 2rem;
  background: var(--bone-warm);
  border: 1px solid var(--bone-rule);
  border-radius: 4px;
}
.how-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1;
  color: var(--sepia-deep);
  margin-bottom: 1.25rem;
}
.how-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.how-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0;
}
.how-prerequisites {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--bone-rule);
  border-bottom: 1px solid var(--bone-rule);
}
.prereq-title {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia-deep);
  margin: 0 0 1rem;
}
.prereq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.6;
}
.prereq-list li::before {
  content: '·';
  color: var(--sepia-deep);
  font-weight: 700;
  margin-right: 0.75rem;
}

.how-language {
  max-width: 52rem;
  margin: 3rem auto 0;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--bone);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.how-language::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sepia), var(--sepia-deep));
}
.lang-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia);
  margin: 0 0 1.25rem;
}
.lang-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  color: var(--bone);
}
.lang-title em {
  color: var(--sepia);
  font-style: italic;
}
.lang-text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(245, 232, 211, 0.82);
  max-width: 42rem;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   FOUNDER STORY
   ============================================================ */

.story {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/documents-desk.png');
  background-size: cover;
  background-position: 50% 70%;
  background-repeat: no-repeat;
  opacity: 0.4;
  filter: grayscale(0.5) contrast(1.05);
  z-index: 0;
}
.story::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.75) 100%),
    radial-gradient(ellipse 70% 70% at 30% 50%, rgba(0,0,0,0.3) 0%, rgba(15,15,15,0.7) 100%);
  z-index: 1;
}
.story-inner {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.story-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--bone);
  margin: 0 0 1.75rem;
}
.story-text em {
  color: var(--sepia);
  font-style: italic;
}
.story-attribution {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 232, 211, 0.5);
  margin: 2rem 0 0;
}

/* ============================================================
   PRICING
   ============================================================ */

.section--pricing {
  background: var(--bone);
}
.price-card {
  max-width: 36rem;
  margin: 0 auto;
  background: var(--bone-warm);
  border: 1px solid var(--bone-rule);
  border-radius: 6px;
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  /* top accent bar */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sepia), var(--sepia-deep));
}
.price-amount {
  font-family: var(--serif);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
}
.price-amount .currency {
  font-size: 2rem;
  font-weight: 400;
  color: var(--sepia-deep);
}
.price-amount .number {
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-billing {
  font-size: 0.95rem;
  color: var(--ink-light);
  margin: 0 0 2.25rem;
  letter-spacing: 0.02em;
}
.price-features {
  text-align: left;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--ink-mid);
}
.price-features li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.price-features .check {
  color: var(--sepia-deep);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.price-fine {
  font-size: 0.82rem;
  color: var(--ink-light);
  margin: 1.25rem 0 0;
  line-height: 1.5;
}
.price-alt {
  margin-top: 2rem;
  text-align: center;
}
.price-alt-text {
  font-size: 0.95rem;
  color: var(--ink-mid);
}
.price-alt-text a {
  color: var(--sepia-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--sepia);
  transition: color var(--t-fast);
}
.price-alt-text a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ============================================================
   FAQ
   ============================================================ */

.section--faq {
  background: var(--bone-warm);
}
.faq-list {
  max-width: 52rem;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--bone-rule);
  padding: 1.5rem 0;
  transition: padding var(--t-fast);
}
.faq-item:first-child { border-top: 1px solid var(--bone-rule); }
.faq-item summary {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--sepia-deep);
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-mid);
  margin: 1.25rem 0 0;
  max-width: 44rem;
}
.faq-item p a {
  color: var(--sepia-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--sepia);
}

/* ============================================================
   LEAD MAGNET CAPTURE
   ============================================================ */

.capture {
  background: var(--bone);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  border-top: 1px solid var(--bone-rule);
  border-bottom: 1px solid var(--bone-rule);
}
.capture-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.capture-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.capture-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0 0 2rem;
}
.capture-cta-wrap {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
}
.capture-cta-btn {
  background: var(--ink);
  color: var(--bone);
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
  box-shadow: 0 12px 32px -12px rgba(15,15,15,0.4);
}
.capture-cta-btn:hover {
  background: var(--sepia-deep);
  transform: translateY(-2px);
}
.capture-fine {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 5rem var(--gutter) 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/dark-clouds.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
}
.footer-inner, .footer-bottom { position: relative; z-index: 2; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-on-ink);
}
.footer-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.625rem;
  color: var(--bone);
}
.footer-logo .dot { color: var(--sepia); }
.footer-tag {
  font-size: 0.95rem;
  color: rgba(245, 232, 211, 0.55);
  margin: 0;
  max-width: 22rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia);
  margin: 0 0 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col a {
  font-size: 0.95rem;
  color: rgba(245, 232, 211, 0.75);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--sepia); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(245, 232, 211, 0.45);
}
.footer-bottom p { margin: 0; }

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-reveal), transform var(--t-reveal);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }

/* Skill cards stagger */
.skill-card { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease-out, transform 600ms cubic-bezier(.2,.7,.3,1), background var(--t-fast); }
.skill-card.is-visible { opacity: 1; transform: translateY(0); }
.skill-card.is-visible:nth-child(1) { transition-delay: 0ms; }
.skill-card.is-visible:nth-child(2) { transition-delay: 60ms; }
.skill-card.is-visible:nth-child(3) { transition-delay: 120ms; }
.skill-card.is-visible:nth-child(4) { transition-delay: 180ms; }
.skill-card.is-visible:nth-child(5) { transition-delay: 240ms; }
.skill-card.is-visible:nth-child(6) { transition-delay: 300ms; }
.skill-card.is-visible:nth-child(7) { transition-delay: 360ms; }
.skill-card.is-visible:nth-child(8) { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .skill-card { opacity: 1; transform: none; transition: none; }
  .hero-scroll-hint .line-down { animation: none; }
  html { scroll-behavior: auto; }
}
