/* ============================================================
   Local Lens Studio — shared stylesheet
   Mobile-first. Warm, craftsman-like, restrained.
   ============================================================ */

:root {
  /* Color */
  --paper: #faf6f0;        /* warm off-white ground */
  --paper-2: #f1e9de;      /* slightly deeper cream for alt sections */
  --ink: #2b2620;          /* warm near-black text */
  --ink-soft: #5c554b;     /* secondary text */
  --clay: #b4552d;         /* the one confident accent */
  --clay-deep: #92421f;    /* accent, hover/darker */
  --clay-tint: #f3e0d6;    /* accent wash for highlights */
  --line: #e3d9cb;         /* hairline borders */
  --white: #ffffff;

  /* Type scale (fluid, min → max via clamp) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 4vw, 2rem);
  --fs-2xl: clamp(2rem, 6vw, 3rem);
  --fs-hero: clamp(2.125rem, 7vw, 3.5rem);

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-6: 6rem;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 66rem;
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }

h1, h2, h3, .wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-2);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
p  { margin: 0 0 var(--sp-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--clay-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-2);
}
@media (min-width: 48em) {
  .container { padding: 0 var(--sp-4); }
}

.section { padding: var(--sp-5) 0; }
.section--alt { background: var(--paper-2); }
@media (min-width: 48em) {
  .section { padding: var(--sp-6) 0; }
}

.section-head { max-width: 44rem; margin-bottom: var(--sp-4); }
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: var(--sp-1);
}
.lede { font-size: var(--fs-lg); color: var(--ink-soft); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.logo svg { width: 34px; height: 34px; flex: none; }
.wordmark {
  font-size: 1.15rem;
  margin: 0;
  white-space: nowrap;
}
.wordmark .accent { color: var(--clay); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--clay); color: var(--clay-deep); }

.site-nav { display: none; }
.site-nav.open {
  display: block;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-2) var(--sp-2) var(--sp-3);
  box-shadow: 0 12px 24px rgba(43, 38, 32, 0.08);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.site-nav a {
  display: block;
  padding: 0.6rem 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--paper-2); }
.site-nav a[aria-current="page"] {
  color: var(--clay-deep);
  background: var(--clay-tint);
}

@media (min-width: 56em) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: none;
  }
  .site-nav ul { display: flex; gap: var(--sp-1); align-items: center; }
  .site-nav a { padding: 0.5rem 0.85rem; font-size: var(--fs-sm); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: var(--white); }
.btn-primary:hover { background: var(--clay-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--clay-deep);
  border-color: var(--clay);
}
.btn-ghost:hover { background: var(--clay-tint); color: var(--clay-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }

/* Focus visibility — trust product */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero { padding: var(--sp-5) 0 var(--sp-4); }
.hero h1 { max-width: 20ch; }
.hero .lede { max-width: 36rem; }
@media (min-width: 48em) {
  .hero { padding: var(--sp-6) 0 var(--sp-5); }
}

/* Hero beats — four distinct stacked lines */
.hero-beats { display: grid; gap: 0.1em; }
.hero-beat {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.hero-beat--alt { color: var(--clay-deep); }
.hero-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: var(--sp-2);
}
.hero-reviews {
  margin-top: var(--sp-3);
  padding: 0.9rem 1.25rem;
  border-left: 4px solid var(--clay);
  background: var(--clay-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--fs-sm);
  max-width: 36rem;
  color: var(--ink);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: var(--sp-3);
  counter-reset: step;
}
@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-head);
  margin-bottom: var(--sp-1);
}
.step h3 { font-size: var(--fs-lg); }

/* ---------- Placeholder blocks ---------- */
/* Well-designed, clearly-marked slots for Eric's real assets. */
.placeholder {
  background: repeating-linear-gradient(
    -45deg,
    var(--paper-2),
    var(--paper-2) 12px,
    var(--paper) 12px,
    var(--paper) 24px
  );
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  padding: var(--sp-2);
  min-height: 10rem;
}
.placeholder .ph-icon { font-size: 1.5rem; margin-bottom: 0.35rem; opacity: 0.7; }

/* ---------- Social proof ---------- */
.proof-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 48em) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}
.proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  font-size: var(--fs-sm);
}
.proof-card blockquote {
  margin: 0 0 var(--sp-1);
  font-family: var(--font-head);
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--ink);
}
.proof-card cite { color: var(--ink-soft); font-style: normal; }
.proof-card .result { font-weight: 700; color: var(--clay-deep); }

/* ---------- Eric bio ---------- */
.bio {
  display: grid;
  gap: var(--sp-3);
  align-items: start;
}
@media (min-width: 48em) {
  .bio { grid-template-columns: 200px 1fr; gap: var(--sp-4); }
}
.bio-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--line), 0 8px 20px rgba(43, 38, 32, 0.12);
  overflow: hidden;
  flex: none;
}

/* ---------- Pricing ---------- */
.tier-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 56em) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
}
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
}
.tier--featured {
  border: 2px solid var(--clay);
  box-shadow: 0 12px 32px rgba(180, 85, 45, 0.14);
  position: relative;
}
.tier-badge {
  position: absolute;
  top: -0.8rem;
  left: var(--sp-3);
  background: var(--clay);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.tier-name { font-size: var(--fs-xl); margin-bottom: 0.25rem; }
.tier-price {
  font-family: var(--font-head);
  font-size: var(--fs-2xl);
  color: var(--clay-deep);
  margin-bottom: var(--sp-1);
}
.tier-price small { font-size: var(--fs-sm); color: var(--ink-soft); font-family: var(--font-body); }
.tier-tag { font-style: italic; color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-2); }
.tier ul { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: grid; gap: 0.5rem; font-size: var(--fs-sm); }
.tier li { padding-left: 1.4rem; position: relative; }
.tier li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 0.65rem; height: 0.65rem;
  border-radius: 50%;
  background: var(--clay-tint);
  border: 2px solid var(--clay);
}
.tier .btn { margin-top: auto; }
.tier-note { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: var(--sp-1); }
.pricing-footnote {
  margin-top: var(--sp-4);
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Sample work: phone-frame video slots ---------- */
.work-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 56em) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}
.phone {
  background: var(--ink);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(43, 38, 32, 0.22);
  max-width: 280px;
  margin: 0 auto;
}
.phone-screen {
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #3d362e 0%, #2b2620 60%, #1f1b16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 14px;
  border-radius: 999px;
  background: var(--ink);
  z-index: 2;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #cfc4b4;
  font-size: var(--fs-xs);
  text-align: center;
  padding: 2rem 1rem 1rem;
}
.play-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.work-card h3 { font-size: var(--fs-lg); margin-top: var(--sp-2); }
.work-card .caption { font-size: var(--fs-sm); color: var(--ink-soft); }
.work-card { text-align: left; }

/* ---------- Contact form ---------- */
.contact-wrap { max-width: 34rem; }
.field { margin-bottom: var(--sp-2); }
.field label {
  display: block;
  font-weight: 700;
  font-size: var(--fs-sm);
  margin-bottom: 0.35rem;
}
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--clay); }
.form-note { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--sp-2); }

/* Thank-you state (shown by JS after the form sends) */
.thankyou {
  background: var(--white);
  border: 2px solid var(--clay);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
}
.thankyou h2 { font-size: var(--fs-xl); }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: var(--sp-4) 0 var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--clay-deep); }
.footer-links { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
