/* =========================================================
   Matthew Levy, CFA — site styles
   One file controls the look of every page.
   Colours and fonts live in the :root block below, so a
   single edit there changes the whole site.
   ========================================================= */

:root {
  /* Brand palette */
  --navy-950: #071022;
  --navy-900: #0b1730;
  --navy-800: #122347;
  --navy-700: #1c325a;   /* original brand navy */
  --navy-500: #2e4f86;
  --navy-300: #6f8fc4;
  --gold:     #c9a45c;
  --gold-600: #a8843e;
  --gold-200: #ead9b3;

  /* Neutrals */
  --paper:   #f6f4ee;
  --paper-2: #ede9df;
  --white:   #ffffff;
  --ink:     #14192b;
  --ink-2:   #4a5168;
  --ink-3:   #7a8199;
  --line:    rgba(20, 25, 43, 0.10);

  /* Type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shape & motion */
  --radius: 4px;
  --radius-sm: 3px;
  --shadow-card: 0 1px 2px rgba(20, 25, 43, 0.06), 0 10px 28px rgba(20, 25, 43, 0.07);
  --shadow-lift: 0 18px 40px rgba(20, 25, 43, 0.14);
  --shadow-deep: 0 24px 64px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--navy-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 48px); margin-inline: auto; }

.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 18px;
}
.overline::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .overline, .hero .overline { color: var(--gold); }

.lead { font-size: 1.2rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-700) 60%, var(--navy-900) 100%);
  box-shadow: 0 10px 24px rgba(28, 50, 90, 0.32);
}
.btn--primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(28, 50, 90, 0.42); }
.btn--gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, #e3c684 0%, var(--gold) 55%, var(--gold-600) 100%);
  box-shadow: 0 10px 24px rgba(201, 164, 92, 0.35);
}
.btn--gold:hover { color: var(--navy-950); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201, 164, 92, 0.5); }
.btn--ghost { color: var(--navy-700); border-color: rgba(28, 50, 90, 0.35); background: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: var(--white); border-color: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn--ghost-light { color: var(--white); border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { color: var(--white); background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.btn--pulse { }
@keyframes glowPulse {
  from { box-shadow: 0 10px 24px rgba(201, 164, 92, 0.30); }
  to   { box-shadow: 0 14px 40px rgba(201, 164, 92, 0.62); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-700); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { background: rgba(246, 244, 238, 0.9); border-color: var(--line); box-shadow: 0 8px 30px rgba(20, 25, 43, 0.08); }
.site-header.on-dark { background: rgba(11, 23, 48, 0.55); }
.site-header.on-dark.is-scrolled { background: rgba(11, 23, 48, 0.85); border-color: rgba(255,255,255,0.08); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { color: var(--navy-700); }
.brand__mark {
  width: 38px; height: 38px; border-radius: var(--radius); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-900));
  color: var(--white); font-family: var(--font-body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(28, 50, 90, 0.3);
}
.brand__cfa { color: var(--gold-600); font-style: italic; }
.on-dark .brand { color: var(--white); }
.on-dark .brand__cfa { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 10px 14px; border-radius: var(--radius); font-weight: 500; font-size: 0.95rem; color: var(--ink-2); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(20, 25, 43, 0.06); }
.on-dark .nav__links a { color: rgba(255,255,255,0.78); }
.on-dark .nav__links a:hover, .on-dark .nav__links a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.1); }
.nav__cta { margin-left: 8px; padding: 11px 22px; font-size: 0.92rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255,255,255,0.6); cursor: pointer; place-items: center; color: var(--ink);
}
.on-dark .nav__toggle { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: var(--white); }
.nav__toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav__toggle span + span { margin-top: 5px; }
.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); }

@media (max-width: 900px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 16px 24px 24px; margin: 0;
    background: rgba(246, 244, 238, 0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(20,25,43,0.12);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
  }
  .on-dark .nav__links { background: rgba(11, 23, 48, 0.97); }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px 16px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Dark hero / bands ---------- */
.hero, .band-dark {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(at 18% 82%, rgba(46, 79, 134, 0.55) 0%, transparent 52%),
    radial-gradient(at 82% 12%, rgba(201, 164, 92, 0.22) 0%, transparent 46%),
    radial-gradient(at 55% 55%, rgba(28, 50, 90, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.hero h1, .hero h2, .hero h3, .band-dark h1, .band-dark h2, .band-dark h3 { color: var(--white); }
.hero p, .band-dark p { color: rgba(255,255,255,0.82); }

.blob {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.32; pointer-events: none;
  animation: float 40s ease-in-out infinite;
}
.blob--1 { width: 420px; height: 420px; background: var(--navy-500); left: -120px; bottom: -140px; }
.blob--2 { width: 360px; height: 360px; background: var(--gold); right: -100px; top: -140px; opacity: 0.25; animation-delay: -7s; }
.blob--3 { width: 300px; height: 300px; background: var(--navy-300); right: 22%; bottom: -160px; opacity: 0.28; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(30px, -50px) rotate(120deg); }
  66%      { transform: translate(-20px, 20px) rotate(240deg); }
}
.grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 3px 3px; }

/* Home hero */
.hero--home { margin-top: -78px; padding: 150px 0 0; min-height: 92vh; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
.hero__copy { padding-bottom: 96px; }
.hero__title { font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 400; margin-bottom: 14px; line-height: 1; }
.hero__title em { font-style: italic; color: var(--gold-200); }
.hero__sub { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: rgba(255,255,255,0.9); margin-bottom: 6px; font-weight: 400; }
.hero__cred { font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.hero__portrait { position: relative; align-self: end; display: flex; justify-content: center; }
.hero__portrait::before {
  content: ""; position: absolute; left: 50%; bottom: 60px; width: min(440px, 90%); aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(201,164,92,0.35), rgba(46,79,134,0.35) 55%, transparent 72%);
  filter: blur(6px);
}
.hero__portrait::after { content: none; }
.hero__portrait img {
  position: relative; z-index: 1; width: min(520px, 100%);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
  animation: fadeUp 1s var(--ease) 0.3s both;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 99%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 99%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero__badge {
  position: absolute; z-index: 2; left: 4%; bottom: 40px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.22); box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  font-size: 0.85rem; color: var(--white); animation: fadeUp 1s var(--ease) 0.7s both;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.hero__badge span { color: rgba(255,255,255,0.72); }
.hero__badge i { width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center;
  background: linear-gradient(135deg, #e3c684, var(--gold-600)); color: var(--navy-950); font-style: normal; font-weight: 800; font-size: 0.75rem; }

.fade-1 { animation: fadeUp 0.9s var(--ease) 0.05s both; }
.fade-2 { animation: fadeUp 0.9s var(--ease) 0.2s both; }
.fade-3 { animation: fadeUp 0.9s var(--ease) 0.35s both; }
.fade-4 { animation: fadeUp 0.9s var(--ease) 0.5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.hero__scroll { display: none; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; z-index: 1; }

@media (max-width: 900px) {
  .hero--home { min-height: 0; padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { padding-bottom: 24px; text-align: center; }
  .hero__actions, .socials { justify-content: center; }
  .hero__portrait img { width: min(380px, 85%); }
  .hero__badge { left: 0; right: 0; width: max-content; margin-inline: auto; bottom: 24px; white-space: nowrap; }
  .hero__scroll { display: none; }
}

/* Social icons */
.socials { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.socials a {
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); color: var(--white);
  backdrop-filter: blur(10px); transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.socials svg { width: 20px; height: 20px; }
.socials--light a { border-color: var(--line); background: var(--white); color: var(--navy-700); box-shadow: 0 2px 6px rgba(20,25,43,0.06); }
.socials--light a:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { margin-top: -78px; padding: 150px 0 80px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,0.8); max-width: 680px; margin: 0; }
.page-hero--article { padding-bottom: 60px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--white { background: var(--white); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { margin-bottom: 12px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .overline { justify-content: center; }
@media (max-width: 700px) { .section { padding: 72px 0; } }

/* Intro split */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__text p { font-size: 1.15rem; color: var(--ink-2); }
.intro__text p:first-of-type { font-size: 1.3rem; color: var(--ink); }
.intro__aside { position: relative; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  padding: 28px 26px; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-card); border-top: 4px solid var(--gold); transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.stat:nth-child(2) { border-top-color: var(--navy-500); }
.stat:nth-child(3) { border-top-color: var(--navy-700); }
.stat:nth-child(4) { border-top-color: var(--gold-600); }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.stat__num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--navy-700); margin-bottom: 8px; }
.stat__label { font-size: 0.9rem; color: var(--ink-3); font-weight: 500; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 32px;
  box-shadow: var(--shadow-card); border: 1px solid rgba(20,25,43,0.07);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-900)); color: var(--white);
  box-shadow: 0 8px 18px rgba(28,50,90,0.28);
}
.card__icon--gold { background: linear-gradient(135deg, #e3c684, var(--gold-600)); color: var(--navy-950); box-shadow: 0 8px 18px rgba(201,164,92,0.35); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.card p { color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }
.card--featured { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); color: var(--white); border: none; box-shadow: var(--shadow-deep); }
.card--featured h3, .card--featured h4 { color: var(--white); }
.card--featured h4 { color: var(--gold); }
.card--featured p, .card--featured .check li { color: rgba(255,255,255,0.88); }
.card--featured .check li.check--lead { color: var(--white); }
.card--featured .check li::before { background: rgba(201,164,92,0.2); color: var(--gold); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Check lists */
.check { list-style: none; padding: 0; margin: 0 0 8px; }
.check li { position: relative; padding-left: 34px; margin-bottom: 11px; color: var(--ink-2); }
.check li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(201,164,92,0.18); color: var(--gold-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8843e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.card--featured .check li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.check--lead { font-weight: 600; color: var(--ink); }

/* CTA band */
.cta-band { padding: 110px 0; text-align: center; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 18px; }
.cta-band p { font-size: 1.25rem; max-width: 640px; margin: 0 auto 34px; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quotes--3 { grid-template-columns: repeat(3, 1fr); }
.quote { padding: 38px 36px; position: relative; }
.quote__mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.6; color: var(--gold); opacity: 0.6; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 22px; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--ink); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__avatar { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; color: var(--white);
  background: linear-gradient(135deg, var(--navy-500), var(--navy-900)); box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--gold); }
.quote__name { font-weight: 600; color: var(--ink); display: block; }
.quote__org { font-size: 0.9rem; color: var(--ink-3); }
@media (max-width: 900px) { .quotes, .quotes--3 { grid-template-columns: 1fr; } }

.upwork {
  display: flex; align-items: center; gap: 28px; padding: 28px 32px; margin-top: 56px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); border-left: 5px solid var(--gold);
}
.upwork img { width: 260px; border-radius: var(--radius-sm); }
.upwork p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
@media (max-width: 700px) { .upwork { flex-direction: column; align-items: flex-start; } }

/* About */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.about__photo { position: sticky; top: 110px; }
.about__photo figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-card); border-top: 4px solid var(--gold); }
.about__photo img { border-radius: var(--radius-sm); width: 100%; }
.about__photo figcaption { padding: 18px 8px 6px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }
.about__photo figcaption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; font-weight: 500; }
.about__text p { font-size: 1.12rem; color: var(--ink-2); }
.about__text p:first-of-type { font-size: 1.3rem; color: var(--ink); }
.about__sign { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.about__sign p { margin: 0; }
.about__sign .name { font-family: var(--font-display); font-size: 1.9rem; font-style: italic; color: var(--navy-700); margin-top: 4px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } .about__photo { position: static; max-width: 420px; } }

/* Services page */
.service { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; padding: 64px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service__num { font-family: var(--font-display); font-size: 1rem; color: var(--gold-600); letter-spacing: 0.1em; margin-bottom: 12px; display: block; }
.service h3 { font-size: 2.1rem; }
.service__body .check { columns: 2; column-gap: 32px; }
.service__body .check li { break-inside: avoid; }
.service__body p { color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; gap: 20px; } .service__body .check { columns: 1; } }
@media (max-width: 600px) { .service__body .check { columns: 1; } }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { padding: 0; overflow: hidden; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 0.8rem; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.post-card__meta .pill { text-transform: none; letter-spacing: 0; }
.post-card h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--navy-700); }
.post-card p { color: var(--ink-2); font-size: 0.98rem; flex: 1; }
.post-card .link-arrow { margin-top: 6px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.post-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; overflow: hidden; padding: 0; margin-bottom: 40px; }
.post-feature .post-card__img { aspect-ratio: auto; min-height: 320px; }
.post-feature .post-card__body { padding: 44px 44px 48px; justify-content: center; }
.post-feature h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 900px) { .post-feature { grid-template-columns: 1fr; } .post-feature .post-card__img { min-height: 240px; aspect-ratio: 16/9; } }

.pill { display: inline-block; padding: 4px 10px; border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 600;
  background: rgba(201,164,92,0.16); color: var(--gold-600); }
.pill--navy { background: rgba(28,50,90,0.1); color: var(--navy-700); }
.on-dark .pill { background: rgba(255,255,255,0.12); color: var(--white); }

/* Article */
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 18px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.article-hero-img { width: min(1000px, 100% - 48px); margin: -40px auto 0; position: relative; z-index: 2; }
.article-hero-img img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-deep); }
.article { padding: 64px 0 96px; }
.article-body { font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); }
.article-body > p:first-child { font-size: 1.28rem; color: var(--ink); }
.article-body h2 { font-size: 2rem; margin: 2em 0 0.6em; }
.article-body h3 { font-size: 1.55rem; margin: 1.8em 0 0.5em; }
.article-body h4 { font-size: 1.15rem; margin: 1.6em 0 0.4em; font-family: var(--font-body); font-weight: 700; color: var(--ink); }
.article-body a { text-decoration: underline; text-decoration-color: rgba(28,50,90,0.35); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--navy-500); }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: 0.5em; }
.article-body li::marker { color: var(--gold-600); font-weight: 600; }
.article-body strong { color: var(--ink); }
.article-body figure { margin: 2.2em 0; }
.article-body figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-card); background: var(--white); }
.article-body figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--ink-3); text-align: center; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.article-author {
  display: flex; gap: 22px; align-items: center; margin-top: 40px; padding: 26px 28px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.article-author img { width: 76px; height: 76px; border-radius: var(--radius); object-fit: cover; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold); flex: none; }
.article-author strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; display: block; }
.article-author p { margin: 4px 0 0; font-size: 0.95rem; color: var(--ink-2); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 24px; }
.back-link:hover { color: var(--white); }
.back-link svg { width: 16px; height: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { padding: 40px; }
.contact-card .email { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); word-break: break-all; display: inline-block; margin: 8px 0 22px; }
.contact-card .email:hover { color: var(--gold-600); }
.contact-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border-left: 3px solid var(--gold); background: rgba(201,164,92,0.12); color: var(--ink-2); font-size: 0.95rem; margin: 0 0 26px; }
.contact-note svg { width: 20px; height: 20px; flex: none; color: var(--gold-600); margin-top: 2px; }
.calendly-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; padding: 6px; }
.calendly-wrap iframe { width: 100%; height: 720px; border: 0; display: block; border-radius: var(--radius-sm); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Disclaimer */
.prose p { color: var(--ink-2); font-size: 1.08rem; }
.prose--card { background: var(--white); padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow-card); border-top: 5px solid var(--gold); }
@media (max-width: 600px) { .prose--card { padding: 28px 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding: 72px 0 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(at 10% 0%, rgba(46,79,134,0.35), transparent 50%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .brand { color: var(--white); font-size: 1.5rem; margin-bottom: 14px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
