/* Sunstone Advisory: one-page site. No build step. */
:root {
  --navy: #021637;         /* sampled from logo background */
  --navy-deep: #010f28;
  --navy-soft: #0b2552;
  --navy-ink: #031d47;     /* sampled from off-white logo wordmark */
  --gold: #e09c51;         /* sampled from hexagon */
  --gold-light: #f4c27f;
  --copper: #a86935;       /* sampled from tagline */
  --copper-dark: #8a5226;  /* accessible copper for small text on light */
  --offwhite: #faf7f0;
  --sand: #f3ede2;
  --ink: #1b2437;
  --muted: #4a5468;
  --on-navy: #e9edf4;
  --on-navy-muted: #b9c3d3;
  --line-light: rgba(3, 29, 71, 0.12);
  --line-navy: rgba(224, 156, 81, 0.28);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(2, 22, 55, 0.06), 0 12px 32px -12px rgba(2, 22, 55, 0.18);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; color: var(--navy-ink); letter-spacing: -0.005em; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); text-wrap: balance; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 900px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .95rem 1.8rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #ecb06a 0%, var(--gold) 55%, #cf8a45 100%); color: var(--navy); box-shadow: 0 8px 22px -10px rgba(224, 156, 81, .7); }
.btn-gold:hover { box-shadow: 0 12px 26px -10px rgba(224, 156, 81, .85); }
.btn-ghost { border-color: rgba(244, 194, 127, .55); color: var(--gold-light); background: transparent; }
.btn-ghost:hover { background: rgba(244, 194, 127, .1); }
.btn-sm { padding: .55rem 1.2rem; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 22, 55, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(224, 156, 81, .18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.brand-name span { color: var(--gold); font-family: var(--sans); font-size: .62rem; font-weight: 500; letter-spacing: .32em; margin-left: .35rem; vertical-align: middle; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--on-navy-muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav ul a:hover { color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 18%, rgba(224, 156, 81, .16) 0%, rgba(224, 156, 81, 0) 70%),
    radial-gradient(90% 80% at 50% 110%, #0a2552 0%, rgba(10, 37, 82, 0) 60%),
    var(--navy);
  color: var(--on-navy);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.hero::after { /* thin gold rule at base */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(560px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 156, 81, .7), transparent);
}
.hero-inner { max-width: 960px; }
.hero-logo img { width: min(520px, 88%); margin: 0 auto clamp(2rem, 4vw, 3rem); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.1rem); font-weight: 600; max-width: 21ch; margin: 0 auto .45em; text-wrap: balance; }
.hero h1 em { color: var(--gold-light); font-weight: 500; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-navy-muted); max-width: 44rem; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-light { background: var(--offwhite); }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: #fff; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-dark); margin-bottom: .8rem; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: .75rem; opacity: .7; }
.center .kicker::after, .section-head.center .kicker::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: .75rem; opacity: .7; }
.kicker.kicker-gold { color: var(--gold); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; margin-inline: auto; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* Video */
.video-frame {
  margin: 2.25rem auto 0; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow);
  border: 1px solid rgba(224, 156, 81, .35);
  aspect-ratio: 16 / 9;
}
.video-frame video, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.transcript { max-width: 46rem; margin: 1.5rem auto 0; text-align: left; border-top: 1px solid var(--line-light); padding-top: 1rem; }
.transcript summary { cursor: pointer; color: var(--copper-dark); font-weight: 600; text-align: center; list-style-position: inside; }
.transcript p { margin-top: 1rem; color: var(--muted); font-size: 1rem; }

/* Service cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; box-shadow: 0 1px 2px rgba(2, 22, 55, .04);
  position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before { content: ""; position: absolute; top: 0; left: 1.75rem; right: 1.75rem; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(224,156,81,0)); border-radius: 2px; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(224, 156, 81, .45); }
.card-icon { width: 44px; height: 44px; margin-bottom: 1.1rem; fill: none; stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon .fill { fill: var(--gold); stroke: none; }
.card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Why fractional */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split-copy p:not(.kicker) { color: var(--on-navy-muted); font-size: 1.12rem; margin-bottom: 2rem; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.points li { background: var(--navy-soft); border: 1px solid var(--line-navy); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.points li::before { content: ""; display: block; width: 12px; height: 12px; margin-bottom: 1rem; background: var(--gold); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.points h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.points p { color: var(--on-navy-muted); font-size: .98rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.about-photo img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-copy h2 { margin-bottom: .15em; }
.role { font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-dark); margin-bottom: 1.5rem; }
.about-copy > p:not(.role):not(.kicker) { color: var(--muted); }
blockquote { margin: 2rem 0 0; padding: 1.25rem 0 0 1.5rem; border-left: 2px solid var(--gold); }
blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.3; color: var(--navy-ink); margin-bottom: .5rem; }
blockquote cite { font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dark); font-weight: 600; }

/* Closing CTA */
.cta {
  background:
    radial-gradient(55% 70% at 50% 0%, rgba(224, 156, 81, .18) 0%, rgba(224, 156, 81, 0) 70%),
    var(--navy);
  color: var(--on-navy);
}
.cta-mark img { width: 96px; height: 96px; margin: 0 auto 1.25rem; }
.cta h2 { color: #fff; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4rem); font-weight: 500; }
.cta h2 em { color: var(--gold-light); }
.cta .lede { color: var(--on-navy-muted); margin-bottom: 2.2rem; }
.cta-note { overflow-wrap: anywhere; margin: 1.75rem 0 0; font-size: .95rem; color: var(--on-navy-muted); }
.cta-note a { color: var(--gold-light); }
.placeholder-tag { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border: 1px dashed rgba(244, 194, 127, .6); border-radius: 999px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); vertical-align: middle; }

/* Footer */
.site-footer { background: var(--offwhite); border-top: 3px solid var(--gold); padding: 3rem 0 2.5rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.footer-logo img { width: 300px; }
.footer-copy { max-width: 30rem; text-align: right; }
.footer-copy p { color: var(--muted); font-size: .95rem; margin-bottom: .75rem; }
.footer-links { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: 1.5rem; justify-content: flex-end; flex-wrap: wrap; }
.footer-links a { color: var(--navy-ink); font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1px solid rgba(168, 105, 53, .5); }
.footer-links a:hover { color: var(--copper-dark); }
.footer-copy .copyright { font-size: .85rem; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .site-nav ul { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; margin-inline: auto; width: calc(100% - 12px); }
  .about-photo::before { inset: 12px -12px -12px 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cards, .points { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.1rem; letter-spacing: .1em; }
  .brand-name span { display: none; }
  .hero-actions .btn { width: 100%; }
  .kicker::before, .center .kicker::after, .section-head.center .kicker::after { width: 18px; }
  blockquote p { font-size: 1.4rem; }
}

/* Testimonials */
.testimonials .section-head { margin-bottom: clamp(2.25rem, 4.5vw, 3rem); }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.quote-card {
  position: relative; display: flex; flex-direction: column;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(224, 156, 81, .10) 0%, rgba(224, 156, 81, 0) 55%),
    var(--navy);
  color: var(--on-navy);
  border: 1px solid rgba(224, 156, 81, .35);
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem 2.25rem;
  box-shadow: 0 18px 40px -22px rgba(2, 22, 55, .55);
  overflow: hidden;
}
.quote-card::before { /* gold rule, echoing the service cards */
  content: ""; position: absolute; top: 0; left: 2.5rem; right: 2.5rem; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(224, 156, 81, 0));
}
.quote-mark {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: 6rem; line-height: .8; height: 3rem; margin-bottom: .75rem;
  color: var(--gold);
}
.quote-card blockquote { margin: 0 0 1.75rem; padding: 0; border: 0; }
.quote-card blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.5rem; line-height: 1.42; color: #f4f1ea; margin: 0;
}
.quote-attrib { margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(224, 156, 81, .28); display: flex; flex-direction: column; gap: .15rem; }
.quote-attrib strong { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: #fff; letter-spacing: .01em; }
.quote-attrib span { font-size: .92rem; line-height: 1.45; color: var(--on-navy-muted); }
.quote-attrib span + span { color: var(--gold-light); }

@media (max-width: 960px) { .nav-extra { display: none; } }
@media (max-width: 800px) {
  .quotes { grid-template-columns: 1fr; gap: 1.25rem; }
  .quote-card { padding: 1.9rem 1.6rem; }
  .quote-card::before { left: 1.6rem; right: 1.6rem; }
  .quote-card blockquote p { font-size: 1.35rem; }
  .quote-mark { font-size: 5rem; height: 2.5rem; }
}

/* Company links in testimonial attributions */
.quote-attrib a { color: inherit; text-decoration: none; }
.quote-attrib a:hover, .quote-attrib a:focus-visible { text-decoration: underline; }

/* Single approved testimonial: center one card */
.quotes-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
