/* Clayton Financial Services — agency redesign v5 */

@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/fraunces-600.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/fraunces-700.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/inter-700.woff2') format('woff2');}

:root {
  --blue: #1448ae;
  --blue-dark: #133d8f;
  --blue-deep: #0d2c6b;
  --ink: #0b1e47;
  --navy-bg: #081b42;
  --text: #24324a;
  --muted: #5d6b84;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef2fa;
  --accent: #f5b73d;
  --accent-deep: #e09c10;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-lg: 0 24px 64px -16px rgba(11, 30, 71, 0.28);
  --shadow-md: 0 12px 32px -8px rgba(11, 30, 71, 0.14);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { color: var(--ink); }

.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

/* ---------- reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- header ---------- */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
  background: rgba(255,255,255,0);
}
header.solid { background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(11,30,71,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-chip { background: #fff; border-radius: 12px; padding: 7px 12px; box-shadow: var(--shadow-md); }
header.solid .logo-chip { box-shadow: none; padding-left: 0; }
.logo-chip img { height: 44px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 30px; }
nav > a { color: #fff; text-decoration: none; font-size: .93rem; font-weight: 500; }
header.solid nav > a { color: var(--ink); }
nav > a:not(.btn):hover { opacity: .75; }
.nav-phone { font-weight: 700; letter-spacing: .01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: 999px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: #211500; box-shadow: 0 10px 28px -8px rgba(224,156,16,.55); }
.btn-gold:hover { background: #ffc655; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 28px -8px rgba(20,72,174,.5); }
.btn-blue:hover { background: var(--blue-dark); }
.btn small { display: block; font-weight: 500; opacity: .75; font-size: .74rem; line-height: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 640px at 82% -10%, rgba(38,92,196,.55), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(20,72,174,.5), transparent 55%),
    linear-gradient(165deg, var(--navy-bg) 0%, var(--blue-deep) 58%, var(--blue-dark) 100%);
  color: #fff;
  padding: 150px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-texas {
  position: absolute; right: -60px; bottom: -80px; width: 520px; opacity: .05;
  pointer-events: none; user-select: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #ffd98a; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--accent); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: #ffd98a; }
.hero-sub { color: rgba(255,255,255,.78); font-size: 1.13rem; max-width: 520px; margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500; }
.hero-points svg { flex: none; }

/* founder card in hero */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); transform: rotate(1.5deg);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.hero-photo img { width: 100%; height: auto; display: block; }
.hero-photo-frame {
  position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid rgba(245,183,61,.5);
  border-radius: var(--r-lg); pointer-events: none;
}
.hero-badge {
  position: absolute; left: -26px; bottom: 30px; z-index: 2;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.hero-badge .num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--blue); line-height: 1; }
.hero-badge .lbl { font-size: .78rem; color: var(--muted); line-height: 1.3; font-weight: 500; }
.hero-badge-name {
  position: absolute; right: 2px; top: -18px; z-index: 2;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 18px;
  font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-md);
}
.hero-badge-name span { color: #ffd98a; font-weight: 500; }

/* ---------- trust band ---------- */
.trust { background: var(--ink); color: #fff; padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 13px; justify-content: center; }
.trust-item svg { flex: none; }
.trust-item span { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.85); }

/* ---------- sections ---------- */
section { padding: 104px 0; }
.section-head { max-width: 620px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 16px;
}
.kicker::before { content: ""; width: 30px; height: 1.5px; background: var(--accent); }
.section-head.center .kicker::after { content: ""; width: 30px; height: 1.5px; background: var(--accent); }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- pain points ---------- */
.pains { background: var(--bg-soft); }
.pain-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pain-wrap .section-head { margin-bottom: 28px; }
.pain-copy p.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.pain-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-size: .92rem; font-weight: 500; color: var(--ink);
  box-shadow: 0 2px 10px -4px rgba(11,30,71,.12);
}
.chip svg { flex: none; }
.pain-panel {
  background: linear-gradient(165deg, var(--blue-deep), var(--blue));
  border-radius: var(--r-lg); color: #fff; padding: 44px 42px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.pain-panel::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
  border: 1.5px solid rgba(255,255,255,.14); border-radius: 50%; z-index: 1;
}
.pain-panel-photo {
  background:
    linear-gradient(165deg, rgba(8,27,66,.92), rgba(20,72,174,.82)),
    url('img/report-review.jpg') center/cover no-repeat;
}
.pain-panel-photo h3, .pain-panel-photo p { position: relative; z-index: 1; }
.pain-panel::after {
  content: ""; position: absolute; right: 10px; top: 10px; width: 120px; height: 120px;
  border: 1.5px solid rgba(255,255,255,.1); border-radius: 50%;
}
.pain-panel h3 { color: #fff; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 14px; }
.pain-panel p { color: rgba(255,255,255,.8); font-size: .98rem; margin-bottom: 22px; }
.pain-panel .btn { position: relative; z-index: 1; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 38px 32px; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c9d6ef; }
.svc-num {
  position: absolute; right: 22px; top: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem;
  color: var(--bg-tint); line-height: 1;
}
.svc-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); margin-bottom: 22px;
}
.svc h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.005em; }
.svc p { color: var(--muted); font-size: .95rem; }

/* ---------- process ---------- */
.process { background: var(--bg-soft); }
.proc-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; counter-reset: step; }
.proc-rail::before {
  content: ""; position: absolute; top: 27px; left: 10%; right: 10%;
  border-top: 2px dashed #c6d3ec;
}
.proc { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 40px 30px 32px; box-shadow: 0 4px 18px -10px rgba(11,30,71,.12); }
.proc-dot {
  position: absolute; top: -27px; left: 30px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 8px 20px -6px rgba(20,72,174,.55); border: 3px solid #fff;
}
.proc h3 { font-size: 1.08rem; font-weight: 700; margin: 12px 0 10px; }
.proc p { color: var(--muted); font-size: .94rem; }
.proc .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.founder-photo2 { position: relative; }
.founder-photo2 img { width: 100%; border-radius: var(--r-lg); display: block; box-shadow: var(--shadow-lg); }
.founder-photo2::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  background: var(--bg-tint); border-radius: var(--r-lg); z-index: -1;
}
.founder-quote {
  position: absolute; left: 26px; right: 26px; bottom: -34px;
  background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 22px 26px;
  box-shadow: var(--shadow-lg);
}
.founder-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; line-height: 1.5; color: #fff; }
.founder-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: .78rem; color: #ffd98a; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.founder-copy h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 8px; }
.founder-role { color: var(--blue); font-weight: 600; font-size: .95rem; margin-bottom: 22px; }
.founder-copy p { color: var(--muted); margin-bottom: 18px; }
.founder-marks { display: flex; gap: 34px; margin: 30px 0 34px; }
.fmark .num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.fmark .lbl { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; }
.fmark { padding-left: 18px; border-left: 3px solid var(--accent); }
.link-arrow { color: var(--blue); font-weight: 700; text-decoration: none; font-size: .98rem; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- faq ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--blue);
  line-height: 1; transition: transform .25s ease; flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); font-size: .96rem; }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(38,92,196,.5), transparent 60%),
    linear-gradient(160deg, var(--navy-bg), var(--blue-deep));
  color: #fff; text-align: center; padding: 110px 0;
}
.cta-band .texas { position: absolute; left: -70px; top: -60px; width: 420px; opacity: .05; z-index: 1; }
.cta-band-photo::after {
  content: ""; position: absolute; inset: 0;
  background: url('img/family-car.jpg') center/cover no-repeat; opacity: .1; pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 18px; }
.cta-band h2 em { font-style: italic; color: #ffd98a; }
.cta-band > .container > p { color: rgba(255,255,255,.78); max-width: 540px; margin: 0 auto 42px; font-size: 1.1rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 46px; }
.cta-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; }
.cta-meta a { color: #fff; font-weight: 600; text-decoration: none; font-size: 1.02rem; }
.cta-meta .label { display: block; color: rgba(255,255,255,.5); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 5px; }

/* ---------- footer ---------- */
footer { background: #061532; color: rgba(255,255,255,.55); padding: 46px 0 38px; font-size: .88rem; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.foot-brand { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 1.1rem; }
.foot-brand span { color: #ffd98a; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { color: rgba(255,255,255,.65); text-decoration: none; }
.foot-links a:hover { color: #fff; }
.disclaimer { max-width: 860px; font-size: .78rem; color: rgba(255,255,255,.35); border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; }

/* ---------- mobile ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pain-wrap { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid { grid-template-columns: 1fr; }
  .proc-rail { grid-template-columns: 1fr; gap: 44px; }
  .proc-rail::before { display: none; }
  .founder-grid { grid-template-columns: 1fr; gap: 70px; }
  .founder-photo2 { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 720px) {
  section { padding: 76px 0; }
  .hero { padding: 120px 0 84px; }
  nav > a:not(.btn) { display: none; }
  .hero-badge { left: 8px; bottom: 16px; padding: 11px 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- legal pages ---------- */
.legal-hero { background: linear-gradient(160deg, var(--navy-bg), var(--blue-deep)); color: #fff; padding: 140px 0 60px; }
.legal-hero h1 { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal-hero p { color: rgba(255,255,255,.65); margin-top: 10px; font-size: .95rem; }
.legal-body { padding: 70px 0 90px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin: 38px 0 12px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.legal-body ul { padding-left: 22px; margin-bottom: 14px; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; text-align: left; }
.contact-copy h2 { text-align: left; }
.contact-copy > p { margin: 0 0 34px; max-width: none; text-align: left; }
.cta-meta-left { flex-direction: column; align-items: flex-start; gap: 18px; }
.form-card {
  background: #fff; border-radius: var(--r-lg); padding: 38px 36px;
  box-shadow: var(--shadow-lg); color: var(--text);
}
.form-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); }
.form-card input, .form-card textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: var(--bg-soft); transition: border-color .15s ease, background .15s ease;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form-card textarea { resize: vertical; }
.form-submit { width: 100%; justify-content: center; border: 0; cursor: pointer; font-size: 1.02rem; margin-top: 6px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-note a { color: var(--blue); }
/* thanks page */
.thanks-wrap { min-height: 60vh; display: grid; place-items: center; padding: 160px 0 100px; text-align: center; }
.thanks-wrap h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.thanks-wrap p { color: var(--muted); max-width: 480px; margin: 0 auto 30px; }
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
