/* ============================================================
   BrightSite LA — warm California editorial
   Cream paper · warm ink · sunset orange · Fraunces display
   Mobile-first, no frameworks.
   ============================================================ */

:root {
  --paper: #FBF4E8;
  --paper-deep: #F3E9D7;
  --ink: #261D14;
  --ink-soft: #5C5043;
  --accent: #DA5A0F;
  --accent-deep: #B8470A;
  --gold: #F0A93C;
  --gold-soft: #F8DFAE;
  --line: #DCCFB6;
  --night: #221A11;
  --night-soft: #352A1D;
  --paper-on-night: #F4E9D4;
  --muted-on-night: #BBA988;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --container: 1120px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw + 1rem, 4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw + 0.8rem, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--accent-deep); }

strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -200vw;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons & eyebrows ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--accent-deep), 0 10px 24px -10px rgba(184, 71, 10, 0.55);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #8f3708, 0 16px 30px -10px rgba(184, 71, 10, 0.6);
}
.btn:active { transform: translateY(0); box-shadow: 0 1px 0 var(--accent-deep); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-big { padding: 1rem 1.9rem; font-size: 1.07rem; }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

.link-quiet {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: border-color 150ms ease, color 150ms ease;
}
.link-quiet:hover { color: var(--accent-deep); border-color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.eyebrow-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(218, 90, 15, 0.18);
}
.eyebrow-light { color: var(--gold); }

.accent-ink {
  background: linear-gradient(0deg, var(--gold-soft) 0 38%, transparent 38%);
}
.accent-warm { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 232, 0.9);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand-name em { font-style: italic; color: var(--accent); }

.site-nav { display: none; gap: 1.6rem; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 140ms ease;
}
.site-nav a:hover { color: var(--accent-deep); }

@media (min-width: 720px) {
  .site-nav { display: flex; }
}

/* keep brand + CTA on one line at 320–420px */
@media (max-width: 420px) {
  .brand-name { font-size: 1.05rem; }
  .btn-small { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(240, 169, 60, 0.25), transparent 65%),
    radial-gradient(700px 420px at -15% 30%, rgba(218, 90, 15, 0.08), transparent 60%),
    var(--paper);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.lede {
  font-size: clamp(1.08rem, 1.4vw + 0.8rem, 1.25rem);
  color: var(--ink-soft);
  max-width: 34em;
}
.lede strong { color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.7rem;
}

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 1.9rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-proof li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-art { margin-inline: -0.5rem; }

.hero-hills { line-height: 0; }
.hero-hills svg { width: 100%; height: clamp(40px, 7vw, 90px); }

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

/* ---------- How it works (night section) ---------- */
.how {
  background: var(--night);
  color: var(--paper-on-night);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.how h2 { color: var(--paper-on-night); max-width: 17em; }

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--night-soft);
  border: 1px solid #4A3B28;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  transition: transform 180ms ease, border-color 180ms ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--gold); }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.step h3 { color: var(--paper-on-night); font-size: 1.22rem; }
.step p { color: var(--muted-on-night); margin: 0; font-size: 0.99rem; }
.step p strong, .step p em { color: var(--paper-on-night); }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ---------- Who we help ---------- */
.who { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.who h2 { max-width: 16em; }

.who-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: 0 1px 2px rgba(38, 29, 20, 0.04), 0 14px 34px -22px rgba(38, 29, 20, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 3px rgba(38, 29, 20, 0.05), 0 26px 44px -22px rgba(38, 29, 20, 0.32);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  margin-bottom: 1.2rem;
}

.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.99rem; }
.card p em { color: var(--ink); }

@media (min-width: 760px) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Pricing (night section) ---------- */
.pricing {
  background: var(--night);
  color: var(--paper-on-night);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background-image: radial-gradient(720px 380px at 110% 0%, rgba(240, 169, 60, 0.13), transparent 60%);
}
.pricing h2 { color: var(--paper-on-night); }
.pricing-lede { color: var(--muted-on-night); max-width: 38em; }

.price-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.price-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.7rem;
  border-top: 6px solid var(--accent);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55);
}
.price-card:nth-child(2) { border-top-color: var(--gold); }

.price-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.3rem;
  line-height: 1;
  margin: 0.35rem 0 0.2rem;
  letter-spacing: -0.02em;
}
.price-currency { font-size: 0.55em; vertical-align: 0.45em; margin-right: 0.05em; }
.price-note {
  font-family: var(--font-body);
  font-size: 0.32em;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-left: 0.5em;
}

.price-alt {
  display: inline-block;
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0.4rem 0 1.1rem;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--line);
}
.price-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.7rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.97rem;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 16px; height: 16px;
  background:
    no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' stroke='%23DA5A0F' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-foot {
  margin: 2rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted-on-night);
}

@media (min-width: 720px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 1.7rem; max-width: 880px; }
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background:
    radial-gradient(640px 420px at -10% 100%, rgba(240, 169, 60, 0.18), transparent 60%),
    var(--paper);
}

.contact-grid {
  display: grid;
  gap: 2.6rem;
  align-items: start;
}

.contact-copy p { color: var(--ink-soft); max-width: 32em; }

.contact-points {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.contact-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 2px 4px rgba(38, 29, 20, 0.05), 0 30px 60px -30px rgba(38, 29, 20, 0.35);
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #A8997F; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(218, 90, 15, 0.15);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }

.field-row { display: grid; gap: 0; }

.form-fine {
  margin: 0.9rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  text-align: center;
}

@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-form { padding: 2.2rem 2rem; }
}

@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--muted-on-night);
  padding: 2.2rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.brand-footer .brand-name { color: var(--paper-on-night); }
.footer-line { margin: 0; font-size: 0.95rem; }
.footer-line a { color: var(--gold); text-decoration: none; }
.footer-line a:hover { text-decoration: underline; }

@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 110ms; }
.d2 { transition-delay: 220ms; }
.d3 { transition-delay: 330ms; }
.d4 { transition-delay: 440ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .step { transition: none; }
}
