/* ===== Design tokens ===== */
:root {
  --teal: #16404d;
  --teal-deep: #0f2e38;
  --gold: #e0a43b;
  --gold-deep: #c98d24;
  --cream: #faf7f0;
  --paper: #ffffff;
  --ink: #1a1c1d;
  --muted: #5b6a6f;
  --line: #e4ded1;
  --maxw: 1140px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--gold); }

.section-head { max-width: 46rem; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-sub { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--teal-deep); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost { color: var(--teal); border: 1px solid var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: var(--cream); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(250, 247, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-sub {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 3px;
}
.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 0.92rem; font-weight: 500; }
.site-nav a:not(.nav-cta):hover { color: var(--gold-deep); }
.nav-cta { background: var(--teal); color: var(--cream) !important; padding: 0.55rem 1.1rem; border-radius: 2px; }
.nav-cta:hover { background: var(--teal-deep); }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  /* Tighter underneath so the hero leads into the intro instead of drifting away from it */
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 2.5vw, 2rem);
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 600; }
.hero-lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--muted); margin-top: 1.4rem; max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  box-shadow: 0 30px 60px -30px rgba(15, 46, 56, 0.5);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Fallback text lives in CSS (not the HTML source) so crawlers and AI engines
   never read it as page content. It only appears if the photo fails to load. */
.portrait-fallback {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center; text-align: center;
  color: rgba(255,255,255,0.75); font-size: 0.85rem; padding: 1rem;
}
.portrait-empty .portrait-fallback { display: flex; }
.portrait-empty .portrait-fallback::after { content: "Add your photo in the CMS"; }

/* ===== Pitch ===== */
.pitch {
  max-width: 52rem; margin-inline: auto; padding-inline: var(--pad);
  text-align: center;
  /* Pulls the intro up close to the hero it follows on from */
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}
.pitch p { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 400; line-height: 1.4; }
.pitch p + p { margin-top: 1.5rem; }
.pitch strong { color: var(--teal); font-weight: 600; }
.pitch em { font-style: italic; color: var(--gold-deep); }

/* ===== Services ===== */
.services { background: var(--paper); border-block: 1px solid var(--line); }
.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
}
.service-card {
  padding: 2.2rem 2rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -25px rgba(15,46,56,0.4); border-color: var(--gold); }
.service-num { font-family: var(--serif); font-size: 1rem; color: var(--gold-deep); font-weight: 600; }
.service-card h3 { font-size: 1.4rem; margin: 0.6rem 0 0.8rem; }
.service-card p { color: var(--muted); font-size: 1rem; }

/* ===== About ===== */
.about-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem);
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  align-items: start;
}
.about .section-head { text-align: left; margin: 0; max-width: none; }
.about .section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.about-body p { color: var(--muted); font-size: 1.08rem; }
.about-body p + p { margin-top: 1.2rem; }
.cred-list { list-style: none; margin-top: 2rem; display: grid; gap: 0.8rem; }
.cred-list li { padding-left: 1.4rem; position: relative; color: var(--ink); }
.cred-list li::before { content: "›"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }
.cred-list strong { color: var(--teal); }

/* ===== Quote ===== */
.quote { background: var(--teal); color: var(--cream); }
.quote blockquote { max-width: 54rem; margin-inline: auto; padding-inline: var(--pad); text-align: center; position: relative; }
/* Pull-quote treatment: the hook lands big, the supporting detail sits quieter beneath it. */
.quote-pull {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin-inline: auto;
}
/* Click to reveal the full quote */
.quote-more { margin-top: 1.5rem; }
.quote-more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.quote-more summary::-webkit-details-marker { display: none; }
.quote-more summary::after { content: "+"; font-size: 1.15rem; line-height: 1; }
.quote-more[open] summary::after { content: "\2013"; }
.quote-more summary:hover { text-decoration: underline; }
.quote-rest {
  font-family: var(--sans);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  color: rgba(250, 247, 240, 0.78);
  max-width: 46rem;
  margin: 1.4rem auto 0;
  text-align: left;
}
.quote cite { display: block; margin-top: 1.6rem; font-family: var(--sans); font-style: normal; font-size: 0.9rem; letter-spacing: 0.04em; color: rgba(250,247,240,0.7); }

/* ===== Writing ===== */
.writing { text-align: center; }
.writing .section-head { margin-bottom: 2rem; }

/* ===== Service pages ===== */
.svc-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.svc-hero-inner { max-width: 52rem; margin-inline: auto; padding-inline: var(--pad); }
.crumbs { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-deep); }
.svc-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.svc-lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); margin-top: 1.2rem; }
.svc-hero .btn { margin-top: 2rem; }

.svc-body { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.svc-block { max-width: 52rem; margin-inline: auto; padding-inline: var(--pad); }
.svc-block + .svc-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.svc-block h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.2rem; }
.svc-prose p { color: var(--muted); font-size: 1.08rem; }
.svc-prose p + p { margin-top: 1rem; }
.svc-block .cred-list { margin-top: 0; }

.svc-steps { list-style: none; display: grid; gap: 1.5rem; counter-reset: step; }
.svc-steps li { padding-left: 3.2rem; position: relative; }
.svc-step-num { position: absolute; left: 0; top: 0; font-family: var(--serif); font-weight: 600; color: var(--gold-deep); font-size: 1.1rem; }
.svc-steps h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.svc-steps p { color: var(--muted); font-size: 1rem; }

/* Service cards become links once pages exist */
a.service-card { display: block; text-decoration: none; color: inherit; }
.service-more { display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); }

/* ===== FAQ ===== */
.faq { background: var(--paper); border-block: 1px solid var(--line); }
.faq-list { max-width: 50rem; margin-inline: auto; padding-inline: var(--pad); display: grid; gap: 0.9rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  padding: 0 1.5rem;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--gold-deep);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-answer { padding: 0 0 1.3rem; }
.faq-answer p { color: var(--muted); font-size: 1.02rem; }

/* ===== Contact ===== */
.contact { background: var(--teal-deep); color: var(--cream); }
.contact-inner { max-width: 46rem; margin-inline: auto; padding-inline: var(--pad); text-align: center; }
.contact h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.contact-lede { color: rgba(250,247,240,0.8); font-size: 1.1rem; margin: 1.2rem auto 2.4rem; max-width: 38ch; }
.contact-alt { margin-top: 1rem; font-size: 0.92rem; color: rgba(250, 247, 240, 0.7); }
.contact-alt a { color: var(--gold); text-decoration: none; }
.contact-alt a:hover { text-decoration: underline; }
.contact-social { display: flex; justify-content: center; gap: 1.8rem; margin-top: 2.5rem; }
.contact-social a { color: rgba(250,247,240,0.75); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.04em; }
.contact-social a:hover { color: var(--gold); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--cream); padding-block: 3rem; }
.footer-inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); text-align: center; display: grid; gap: 0.8rem; justify-items: center; }
.brand-footer .brand-name { color: var(--cream); }
.brand-footer .brand-sub { color: var(--gold); }
.footer-tag { font-family: var(--serif); font-size: 1.1rem; color: rgba(250,247,240,0.85); }
.footer-legal { font-size: 0.82rem; color: rgba(250,247,240,0.5); }

/* ===== Scroll reveal (slicker section transitions) ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.7, 0.24, 1), transform 0.7s cubic-bezier(0.22, 0.7, 0.24, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
/* gentle stagger for grids/lists */
.service-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.service-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.service-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.faq-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.faq-list .reveal:nth-child(3) { transition-delay: 0.12s; }
.faq-list .reveal:nth-child(4) { transition-delay: 0.18s; }
.faq-list .reveal:nth-child(5) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-portrait { order: -1; max-width: 300px; margin-inline: auto; justify-self: center; }
  .about-inner { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 1rem; }
  .site-nav a:not(.nav-cta) { display: none; }
}
