/* =========================================================
   Forever Still Studio — Columbia, SC landing
   Modular vanilla CSS · mobile-first · FSS brand system
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --ink:        #1A1A1A;   /* primary background */
  --ink-2:      #232323;   /* raised panels */
  --ink-3:      #2c2c2c;   /* cards / borders base */
  --gold:       #C8A96A;   /* the one accent — never #D4AF37 */
  --gold-soft:  #d8bf90;
  --cream:      #F4EFE6;   /* primary text on dark */
  --rose:       #d8b9b3;   /* dusty rose, soft secondary lines */
  --muted:      #a8a097;   /* secondary text */
  --line:       rgba(200, 169, 106, 0.18);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Tangerine", cursive;

  /* Fluid spacing scale */
  --space-1: clamp(0.5rem, 1vw, 0.75rem);
  --space-2: clamp(0.75rem, 2vw, 1.25rem);
  --space-3: clamp(1.25rem, 3vw, 2rem);
  --space-4: clamp(2rem, 5vw, 3.5rem);
  --space-5: clamp(3rem, 8vw, 6rem);

  --maxw: 1120px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
p { margin: 0 0 1rem; }
em { font-style: italic; color: var(--gold-soft); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.narrow { max-width: var(--maxw-narrow); }
.center { text-align: center; }

section { padding-block: var(--space-5); }

.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 var(--space-2);
}
.eyebrow-gold { color: var(--gold); }

.section-title {
  font-size: clamp(1.9rem, 1.3rem + 3vw, 3.1rem);
  letter-spacing: -0.01em; margin-bottom: var(--space-3); max-width: 18ch;
}
.section-lead { color: var(--muted); max-width: 60ch; font-size: 1.08rem; margin-bottom: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-light { border-color: rgba(244,239,230,0.4); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); color: var(--cream); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 26, 26, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--cream); }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center;
}
.nav-menu a { color: var(--cream); font-size: 0.92rem; font-weight: 500; }
.nav-menu a:hover { color: var(--gold); }
.nav-menu .nav-cta { color: var(--ink); background: var(--gold); padding: 0.55rem 1.1rem; border-radius: 999px; }
.nav-menu .nav-cta:hover { background: var(--gold-soft); color: var(--ink); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--ink);
  background-image:
    radial-gradient(820px 420px at 80% 6%, rgba(200, 169, 106, 0.20), transparent 60%),
    linear-gradient(90deg, rgba(26,26,26,0.97) 0%, rgba(26,26,26,0.82) 40%, rgba(26,26,26,0.48) 72%, rgba(26,26,26,0.40) 100%),
    linear-gradient(0deg, rgba(26,26,26,0.96) 0%, rgba(26,26,26,0.30) 42%, rgba(26,26,26,0.10) 100%),
    url('../assets/hero.webp');
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  padding-block: var(--space-5);
}
.hero-inner { max-width: 880px; }
.hero-title {
  font-size: clamp(2.4rem, 1.4rem + 5.2vw, 4.5rem);
  letter-spacing: -0.02em; margin-bottom: var(--space-3);
}
.hero-sub { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: var(--cream); max-width: 56ch; margin-bottom: var(--space-4); }
.hero-sub strong { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: var(--space-5); }

.social-proof { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.proof-label { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.proof-logos { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 0; padding: 0; }
.proof-logo { color: var(--muted); font-weight: 600; font-size: 0.95rem; opacity: 0.7; }

/* ---------- Local Wedge ---------- */
.wedge { background: var(--ink-2); border-block: 1px solid var(--line); }
.wedge-body { max-width: 70ch; font-size: 1.1rem; }
.wedge-body p { color: var(--cream); }
.wedge-poc { margin-top: var(--space-3); color: var(--rose); font-style: italic; }
.wedge-poc strong { color: var(--gold); font-style: normal; }

/* ---------- Trust band ("Blast Radius") ---------- */
.trust { background: var(--ink); padding-block: var(--space-4); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.trust-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3);
}
.trust-icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 1rem; }
.trust-icon svg { width: 100%; height: 100%; }
.trust-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; color: var(--cream); }
.trust-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- About ---------- */
.about p { color: var(--cream); font-size: 1.08rem; max-width: 68ch; }

/* ---------- Meet Trina ---------- */
.meet { background: var(--ink-2); border-block: 1px solid var(--line); }
.meet-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
.meet-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: var(--radius); border: 1px solid var(--line); display: block;
}
.meet-body p { color: var(--cream); font-size: 1.08rem; max-width: 58ch; }
.meet-role { color: var(--gold); font-style: italic; margin-bottom: 1rem; }
.meet-quote {
  margin: var(--space-3) 0 0; padding-left: 1.3rem; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.4; color: var(--cream); font-style: italic;
}
.meet-quote cite {
  display: block; font-family: var(--sans); font-style: normal; font-size: 0.85rem;
  color: var(--muted); margin-top: 0.7rem; letter-spacing: 0.05em;
}
@media (min-width: 760px) {
  .meet-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-5); }
}

/* ---------- "Two states" together figure (in About) ---------- */
.together { margin: var(--space-4) auto 0; max-width: 620px; }
.together img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.together figcaption {
  margin-top: 1rem; text-align: center; font-family: var(--serif); font-style: italic;
  color: var(--gold-soft); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); line-height: 1.4;
}

/* ---------- Services grid ---------- */
.services { background: var(--ink-2); border-block: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.service-card {
  position: relative; background: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--space-3);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.card-num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: 0.8rem; letter-spacing: 0.1em; }
.service-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; color: var(--cream); }
.service-card p { color: var(--muted); margin: 0; }
.pricing-note { margin-top: var(--space-4); color: var(--muted); }
.pricing-note strong { color: var(--cream); }

/* ---------- Software Edge ---------- */
.software { background: var(--ink); }
.edge-list { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.edge-item {
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: var(--space-3);
}
.edge-item h3 { font-size: 1.3rem; color: var(--cream); margin-bottom: 0.5rem; }
.edge-name { color: var(--gold); }
.edge-item > p { color: var(--cream); }
.proof {
  margin: 1rem 0 0; padding: 0.9rem 1.1rem; background: rgba(200,169,106,0.07);
  border-radius: 10px; font-size: 0.95rem; color: var(--muted); font-style: italic;
}
.proof strong { color: var(--gold); font-style: normal; }
.edge-item-wide { border-left-color: var(--rose); }

/* ---------- Work / testimonials / portfolio ---------- */
.work { background: var(--ink-2); border-block: 1px solid var(--line); }
.testimonials { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin-bottom: var(--space-4); }
.testimonial { margin: 0; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.testimonial blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--cream); }
.testimonial figcaption { color: var(--muted); font-size: 0.9rem; }
.testimonial figcaption strong { color: var(--gold); }

.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.portfolio-card { display: block; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; transition: transform 0.2s, border-color 0.2s; }
.portfolio-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.portfolio-thumb {
  aspect-ratio: 16/10; display: grid; place-items: center; border-radius: 10px; margin-bottom: 1rem;
  background: repeating-linear-gradient(45deg, var(--ink-3), var(--ink-3) 10px, var(--ink-2) 10px, var(--ink-2) 20px);
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.1em;
}
.portfolio-card h3 { font-size: 1.2rem; color: var(--cream); margin-bottom: 0.3rem; }
.portfolio-result { color: var(--gold-soft); font-size: 0.92rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--ink); }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.2rem 1.4rem; font-weight: 600; color: var(--cream);
  font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.3rem; }
.faq-answer p { color: var(--muted); margin: 0; }
.faq-answer strong { color: var(--cream); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(200,169,106,0.18), transparent 60%),
    var(--ink-2);
  border-block: 1px solid var(--line);
}
.cta-title { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); margin-bottom: var(--space-3); }
.cta-banner p { color: var(--cream); max-width: 58ch; margin-inline: auto; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: var(--space-4); }

/* ---------- Lead form ---------- */
.lead { background: var(--ink); }
.lead-form { display: grid; gap: 1.2rem; max-width: 620px; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; gap: 1.2rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--cream); }
.field .optional { color: var(--muted); font-weight: 400; }
.field input {
  font-family: var(--sans); font-size: 1rem; color: var(--cream);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--gold); background: #262017; }
.form-fineprint { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 0.5rem 0 0; }
.form-done {
  text-align: center; padding: var(--space-4) var(--space-3);
  background: var(--ink-2); border: 1px solid var(--gold); border-radius: var(--radius);
}
.form-done h3 { font-size: 1.7rem; color: var(--gold); margin-bottom: 0.5rem; }
.form-done p { color: var(--cream); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: var(--space-4) var(--space-3); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); margin: 0; }
.footer-tag { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.2rem 0 0; }
.footer-label { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.4rem; }
.footer-area p, .footer-contact p { color: var(--muted); margin: 0 0 0.3rem; }
.footer-contact a { color: var(--cream); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* =========================================================
   Breakpoints — enhance up from mobile
   ========================================================= */
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .edge-list { grid-template-columns: repeat(2, 1fr); }
  .edge-item-wide { grid-column: 1 / -1; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }
  .nav-menu.open { max-height: 420px; visibility: visible; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-menu .nav-cta { text-align: center; margin-top: 0.75rem; border-bottom: 0; }
}

/* ---------- Motion / contrast prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
