/* =========================================================
   LuminHuman — shared styles
   Editorial / warm-premium aesthetic
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ivory:      #FAF6EE;
  --ivory-2:    #F3ECDD;
  --card:       #FFFDF8;
  --ink:        #211D18;
  --ink-soft:   #574E43;
  --ink-faint:  #8A7F70;
  --amber:      #C2772E;
  --amber-deep: #9E5717;
  --line:       #E4DAC7;
  --line-soft:  #EDE5D6;
  --glow:       rgba(214, 148, 64, 0.22);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }

.serif-italic { font-style: italic; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand .mark { flex: 0 0 auto; }
.brand .wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand .wordmark b { color: var(--amber-deep); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--ivory) !important;
  background: var(--ink);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--amber-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 4px auto;
  background: var(--ink); transition: 0.3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head .eyebrow { display: block; margin-bottom: 0.9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, var(--glow) 0%, rgba(214,148,64,0) 68%);
  z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; margin-bottom: 1.6rem; }
.hero .lede { max-width: 46ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note { font-size: 0.9rem; color: var(--ink-faint); }

/* ---------- Feature / value cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 0.6rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--ivory-2); }
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column;
}
.quote .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 1rem; font-size: 0.9rem; }
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.4rem;
  flex: 1;
}
.quote .by { font-size: 0.9rem; color: var(--ink-faint); }
.quote .by strong { color: var(--ink); font-weight: 600; display: block; font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex; flex-direction: column;
  position: relative;
}
.tier.featured { border-color: var(--amber); box-shadow: 0 18px 40px -24px rgba(158,87,23,0.4); }
.tier .badge {
  position: absolute; top: -12px; left: 2.2rem;
  background: var(--amber); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 999px;
}
.tier .tier-name { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.4rem; }
.tier .price { font-family: var(--serif); font-size: 3rem; line-height: 1; margin-bottom: 0.3rem; }
.tier .price span { font-size: 1rem; font-family: var(--sans); color: var(--ink-faint); }
.tier .tier-sub { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }
.tier ul { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.tier ul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; font-size: 0.95rem; color: var(--ink-soft); }
.tier ul li::before { content: "✦"; position: absolute; left: 0; color: var(--amber); }
.tier .btn { width: 100%; justify-content: center; }

/* ---------- Work / portfolio ---------- */
.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(33,29,24,0.4); }
.work-thumb {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--ivory-2), #E9DFCC);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.work-thumb .doc {
  width: 56%; height: 74%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 30px -12px rgba(33,29,24,0.3);
  padding: 12% 14%;
  display: flex; flex-direction: column; gap: 6px;
}
.work-thumb .doc .bar { height: 4px; border-radius: 2px; background: var(--line); }
.work-thumb .doc .bar.accent { background: var(--amber); width: 50%; height: 7px; }
.work-thumb .doc .bar.short { width: 60%; }
.work-thumb .doc .bar.mid { width: 80%; }
.work-card .work-body { padding: 1.4rem 1.6rem 1.7rem; }
.work-card .tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep); }
.work-card h3 { font-size: 1.2rem; margin: 0.5rem 0 0.5rem; }
.work-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 2.2rem; align-items: start; }
.founder .portrait {
  aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--ivory-2), #E6DAC4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3rem; color: var(--amber-deep);
  border: 1px solid var(--line);
}
.founder h3 { font-size: 1.6rem; }
.founder .role { color: var(--amber-deep); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em; margin-bottom: 1rem; }
.founder p { color: var(--ink-soft); margin-bottom: 0.9rem; }

/* ---------- Contact / CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--ivory);
  border-radius: 20px;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 120%;
  background: radial-gradient(circle, rgba(194,119,46,0.35) 0%, rgba(194,119,46,0) 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--ivory); margin-bottom: 1rem; }
.cta-band p { color: rgba(250,246,238,0.78); max-width: 48ch; margin: 0 auto 2rem; }
.cta-band .btn-primary { background: var(--amber); color: #fff; }
.cta-band .btn-primary:hover { background: #fff; color: var(--ink); }
.cta-band .contact-line { margin-top: 1.6rem; font-size: 0.95rem; color: rgba(250,246,238,0.7); }
.cta-band .contact-line a { color: var(--amber); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-grid .col h4 { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.9rem; }
.footer-grid .col a, .footer-grid .col p { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-grid .col a:hover { color: var(--amber-deep); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: 0.85rem; color: var(--ink-faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder .portrait { width: 140px; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 1.4rem;
    background: var(--ivory); padding: 2rem var(--pad);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform 0.3s ease;
    align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
