/* =========================================================
   Annija Pelsa — personal site
   Edit these tokens to retheme the whole page.
   ========================================================= */
:root {
  --bg: #f7f5f0;
  --bg-alt: #f1ede4;
  --ink: #1a1a1f;
  --ink-soft: #4a4a55;
  --ink-muted: #7a7a85;
  --rule: #e3ddd0;
  --accent: #5b7a6a;       /* sage — primary action */
  --accent-ink: #ffffff;
  --accent-deep: #3f5a4c;
  --brass: #b8894a;        /* warm accent, used sparingly */

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --prose: 68ch;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 30, .04);
  --shadow-md: 0 8px 24px -12px rgba(20, 20, 30, .18);

  --step: clamp(1rem, .9rem + .5vw, 1.125rem);

  /* Spacing scale — consistent vertical rhythm */
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-2xl: 3rem;
  --space-section: clamp(3.5rem, 6vw, 6rem);
  --gutter: clamp(1.25rem, 3vw, 1.75rem);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 .6em;
  font-weight: 500;
}
h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.25rem); font-weight: 500; }
h1 em, .accent-italic { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

::selection { background: var(--brass); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose-wrap { max-width: var(--prose); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .5rem .75rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* =========================================================
   Focus states
   ========================================================= */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: background .25s ease;
}
.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: .9rem; padding-bottom: .9rem;
}
.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding-top: .9rem; padding-bottom: .9rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .75rem;
  }
  .brand { min-width: 0; }
  .primary-nav { display: none !important; }
  .nav-cta {
    display: inline-flex !important;
    padding: .5rem .8rem;
    font-size: .8rem;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 10px;
    cursor: pointer;
    justify-self: end;
    transition: border-color .2s ease, background .2s ease;
  }
  .nav-toggle:hover { border-color: var(--accent); }
  .nav-toggle-bar {
    display: block;
    width: 18px; height: 1.5px;
    margin: 0 auto;
    background: var(--ink);
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

.mobile-nav {
  display: none;
}
@media (max-width: 900px) {
  .mobile-nav.is-open {
    display: block;
    border-top: 1px solid var(--rule);
    background: var(--bg);
  }
  .mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: .5rem 1.25rem 1rem;
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .mobile-nav-links li { border-bottom: 1px solid var(--rule); }
  .mobile-nav-links li:last-child { border-bottom: none; margin-top: .75rem; }
  .mobile-nav-links a {
    display: block;
    padding: .9rem .25rem;
    color: var(--ink-soft);
    font-size: .95rem;
    font-family: var(--sans);
  }
  .mobile-nav-links a:hover { color: var(--ink); }
  .mobile-nav-cta {
    background: var(--accent);
    color: var(--accent-ink) !important;
    text-align: center;
    border-radius: 999px;
    padding: .85rem 1rem !important;
    font-family: var(--sans) !important;
  }
  .mobile-nav-cta:hover { background: var(--accent-deep); }
}

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.15rem;
  font: 500 .95rem/1 var(--sans);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: .55rem .9rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.4rem; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn .i { width: 1.05em; height: 1.05em; }

.text-link {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-muted);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.text-link:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.text-link.with-icon { display: inline-flex; align-items: center; gap: .45rem; border-bottom: none; }
.text-link.with-icon:hover { color: var(--accent-deep); }
.text-link.with-icon .i { width: 1.05em; height: 1.05em; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  font: 500 .9rem/1 var(--sans);
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
}
.back-link .i { width: 1em; height: 1em; }
.back-link:hover {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(-2px);
}

/* =========================================================
    Icons — shared
    ========================================================= */
.i { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.i-h { width: 1em; height: 1em; color: var(--brass); margin-right: .4em; vertical-align: -0.15em; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(4rem, 6vw + 3rem, 8rem) 0 var(--space-section);
  background-image: url('/integrations-hero.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 52%, transparent 85%);
  z-index: -1;
}
@media (max-width: 899px) {
  .hero {
    background-image: url('/__l5e/assets-v1/fee0e060-b0e1-4302-a58f-bd8c1916d0d6/hero-mobile.png');
    background-position: 180% 20%;
    background-size: 70% auto;
    background-repeat: no-repeat;
  }
  .hero::before {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, transparent 100%),
                linear-gradient(90deg, var(--bg) 0%, var(--bg) 45%, transparent 70%);
  }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}
.eyebrow .i { color: var(--brass); }
.hero h1 { max-width: 18ch; }
.lede { font-size: clamp(1.1rem, .95rem + .5vw, 1.35rem); color: var(--ink-soft); max-width: 60ch; margin-top: 1.25rem; }
.tagline {
  font-family: var(--sans); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, .9rem + .4vw, 1.2rem);
  color: var(--ink-soft);
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--brass);
}
.hero-actions { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); flex-wrap: wrap; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: var(--space-xl); }
.section-num {
  display: inline-block;
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--brass);
  letter-spacing: .18em;
  margin-bottom: var(--space-2xs);
}
.section-sub { color: var(--ink-soft); max-width: 60ch; margin-top: var(--space-2xs); }

/* =========================================================
   Competency cards
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
}
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2vw + 1rem, 1.75rem);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--rule));
}
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--sans);
  font-size: clamp(1.05rem, .95rem + .35vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem;
  line-height: 1.25;
}
.card p { color: var(--ink-soft); font-size: .96rem; }
.card-lede { color: var(--ink) !important; font-size: .98rem; margin-bottom: 1rem; }

.feature-list {
  list-style: none;
  margin: 0 0 .25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .65rem;
  align-items: start;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.feature-list .i-b {
  width: 18px; height: 18px;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.example {
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  border-left: 2px solid var(--brass);
  background: color-mix(in oklab, var(--brass) 6%, transparent);
  border-radius: 0 8px 8px 0;
  font-size: .9rem;
  color: var(--ink-soft);
}
.example-label {
  display: block;
  font-family: var(--sans);
  font-style: italic;
  color: var(--brass);
  font-size: .8rem;
  margin-bottom: .2rem;
  letter-spacing: .05em;
}
.example-standalone {
  margin-top: 2rem;
  border-left: none;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   What I do
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--rule));
}
.service-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--brass) 14%, var(--bg-alt));
  margin-bottom: 1.1rem;
}
.service-dot::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--brass) 60%, transparent);
}
.service-card:hover .service-dot::after {
  animation: pulse-brass 2.4s ease-out infinite;
}
@keyframes pulse-brass {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brass) 55%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in oklab, var(--brass) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brass) 0%, transparent); }
}
.service-card h3 {
  font-family: var(--sans);
  font-size: clamp(1.05rem, .95rem + .35vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .55rem;
  line-height: 1.25;
}
.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 780px) {
  .about-grid { grid-template-columns: 180px 1fr; gap: 3rem; }
}
.photo-frame {
  margin: 0;
  position: relative;
  width: 180px;
  isolation: isolate;
}
.photo-backdrop {
  position: absolute;
  inset: -14px -14px auto auto;
  width: 150px;
  height: 150px;
  border-radius: 18px;
  background-image: url("/signature-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  z-index: -1;
  transform: rotate(3deg);
}
.photo {
  position: relative;
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}
.about-copy p { color: var(--ink-soft); }
.career-path {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
}
.career-path-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .7fr);
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-xl);
}
.career-path-kicker {
  display: block;
  margin-bottom: .35rem;
  color: var(--brass);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.career-path-head h3 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2.1rem);
}
.career-path-head > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .9rem;
  line-height: 1.55;
}
.career-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: 0;
  padding: 2.4rem 0 0;
  list-style: none;
  position: relative;
}
.career-timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(10% - 1px);
  right: calc(10% - 1px);
  height: 1px;
  background: color-mix(in oklab, var(--ink-muted) 28%, transparent);
}
.career-step {
  position: relative;
  min-width: 0;
}
.career-step::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg-alt);
  border-radius: 50%;
  background: color-mix(in oklab, var(--ink-muted) 62%, var(--bg-alt));
  transform: translateX(-50%);
  z-index: 1;
}
.career-role {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem;
  background: color-mix(in oklab, var(--accent-ink) 42%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent-ink) 62%, transparent);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease;
}
.career-role:hover { box-shadow: var(--shadow-md); }
.career-role time {
  display: block;
  margin-bottom: .75rem;
  color: var(--ink-muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.career-role h4 {
  margin: 0 0 .2rem;
  min-height: 2.6em;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.3;
  text-wrap: balance;
}
.career-role p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .78rem;
  line-height: 1.6;
}
.career-role .career-company {
  margin-bottom: .9rem;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: .88rem;
  font-style: italic;
}
.career-role .career-desc { margin-top: auto; }
.career-step-current::before {
  background: var(--brass);
}
.career-step-current .career-role time { color: var(--brass); }
@media (prefers-reduced-motion: reduce) {
  .career-role, .career-role:hover { transition: none; transform: none; }
}

@media (max-width: 900px) {
  .career-path-head {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .career-path-head > p { max-width: 52ch; }
  .career-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 0 0 1.9rem;
  }
  .career-timeline::before {
    top: .75rem;
    bottom: .75rem;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .career-step::before {
    top: 1.25rem;
    left: -1.9rem;
    transform: none;
  }
  .career-role {
    min-height: 0;
    padding: 1.15rem 1.25rem;
  }


}
.location-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: color-mix(in oklab, var(--accent) 7%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 18%, transparent);
  border-radius: 12px;
}
.location-card .location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  color: var(--accent-deep);
}
.location-card .location-icon svg { width: 18px; height: 18px; }
.location-card .location-text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.location-card .location-text strong {
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 1rem;
}

/* =========================================================
   Pull quote
   ========================================================= */
.pullquote {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
  margin: 1.5rem 0 2rem;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--brass);
  quotes: none;
}
.pullquote footer {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-style: normal;
  color: var(--ink-muted);
  letter-spacing: .02em;
}

/* Compact testimonial inside About */
.testimonial-card {
  position: relative;
  max-width: var(--prose);
  margin: var(--space-xl) auto 0;
  padding: 1.5rem 0 0 0;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  line-height: 1.5;
  text-align: center;
  border-top: none;
  border-left: none;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--brass);
  border-radius: 1px;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  left: 50%;
  top: -.75em;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: color-mix(in oklab, var(--accent) 18%, transparent);
  pointer-events: none;
  z-index: -1;
}

.testimonial-card p {
  margin: 0 0 1rem;
  font-family: var(--sans);
}
.testimonial-card footer {
  margin-top: 0;
  font-size: .8rem;
}

.pullquote footer .testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .65rem;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent);
  transition: color .2s ease, border-color .2s ease;
}

.pullquote footer .testimonial-link:hover {
  color: var(--accent);
  border-bottom-color: var(--brass);
}
.pullquote footer .testimonial-link .i {
  width: .9em;
  height: .9em;
}



/* =========================================================
   Why fractional
   ========================================================= */
#why-fractional { position: relative; }
#why-fractional .section-head { margin-bottom: var(--space-xl); }
#why-fractional .section-head h2 {
  line-height: 1.2;
  max-width: none;
}
#why-fractional .section-head h2 .clause {
  display: inline-block;
}
#why-fractional .pullquote {
  max-width: var(--prose);
  margin: clamp(3rem, 5vw, 5rem) auto 2.75rem;
  text-align: left;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem);
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 2px solid var(--brass);
  padding: .35rem 0 .35rem 1.5rem;
  position: relative;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
}
#why-fractional .pullquote::before {
  content: "\201C";
  position: absolute;
  left: -.05em;
  top: -.55em;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: color-mix(in oklab, var(--brass) 35%, transparent);
  font-style: normal;
  pointer-events: none;
}

.statement-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 780px) {
  .statement-pair { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.statement {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.2vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--brass));
  opacity: 0;
  transition: opacity .3s ease;
}
.statement:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--rule));
}
.statement:hover::before { opacity: 1; }
.statement h3 {
  font-family: var(--sans);
  font-size: clamp(1.2rem, .95rem + 1vw, 1.6rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 .85rem;
}
.statement p {
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.6;
  margin: 0;
}

.pain-points {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--rule);
}
.pain-points-title {
  text-align: center;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--space-lg);
}
.pain-points-title::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brass);
  margin: 0 auto 1rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.pain-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--accent) 35%, var(--rule));
}
.pain-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent-deep);
  transition: background .3s ease, color .3s ease;
}
.pain-card:hover .pain-icon {
  background: var(--accent);
  color: var(--accent-ink);
}
.pain-icon svg { width: 18px; height: 18px; }
.pain-card p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}

.closing-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.15rem, .95rem + .55vw, 1.4rem);
  letter-spacing: -0.01em;
}
.closing-cta a {
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease;
}
.closing-cta a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }

/* =========================================================
   How we work together
   ========================================================= */
.together-intro {
  font-size: clamp(1.05rem, .95rem + .35vw, 1.2rem);
  color: var(--ink-soft);
  margin: 0 0 var(--space-lg);
}
.together-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
@media (min-width: 720px) {
  .together-grid { grid-template-columns: repeat(2, 1fr); }
}
.together-connect {
  color: var(--ink-soft);
  margin: 0 0 var(--space-sm);
}
.together-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: var(--space-xl);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: .45rem .85rem;
  background: color-mix(in oklab, var(--accent) 10%, var(--bg) 90%);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, var(--rule) 80%);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--accent-deep);
  line-height: 1;
}
.together-cta {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.together-cta .dot {
  flex-shrink: 0;
  margin-top: .45rem;
}
.together-cta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.5;
}

/* =========================================================
   Hero visual
   ========================================================= */
.hero-wrap {
  position: relative;
  z-index: 1;
}
.hero-text {
  max-width: 60ch;
  position: relative;
  z-index: 2;
}

/* =========================================================
   Availability
   ========================================================= */


.availability {
  display: block;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--ink-muted);
}
.availability .dot {
  display: inline-block;
  vertical-align: middle;
  margin-right: .55rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* Hero availability badge */
.availability-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--ink-soft);
  background: color-mix(in oklab, var(--accent) 12%, var(--bg) 88%);
  border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--rule) 78%);
  border-radius: 999px;
  padding: .45rem .75rem;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}
.availability-badge .dot {
  width: 7px; height: 7px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .availability-badge {
    font-size: .72rem;
    padding: .4rem .65rem;
    margin-bottom: 1rem;
  }
  .availability-badge .dot { width: 6px; height: 6px; }
}

/* =========================================================
   Contact
   ========================================================= */
.section-contact { text-align: left; }
.section-contact h2 { margin-top: var(--space-2xs); }
.contact-actions {
  display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap;
  margin-top: var(--space-lg);
}
.contact-secondary {
  display: flex; align-items: center; gap: var(--space-sm) var(--space-md); flex-wrap: wrap;
  margin-top: var(--space-md);
}
.contact-secondary .text-link {
  font-size: .95rem;
  color: var(--ink-soft);
}
.contact-secondary .text-link:hover { color: var(--accent-deep); }
.contact-secondary .text-link .i { color: var(--accent-deep); }

.email-row {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 1.9rem;
  height: 1.9rem;
  padding: .35rem;
  margin-left: .15rem;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
}
.copy-btn:hover {
  color: var(--accent-deep);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-color: color-mix(in oklab, var(--accent) 35%, var(--rule));
  transform: translateY(-1px);
}
.copy-btn .i { width: .95em; height: .95em; }
.copy-feedback {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: .25rem .55rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--accent-ink);
  background: var(--accent-deep);
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  animation: fade-in-up .2s ease forwards;
}
.copy-btn { position: relative; }
@keyframes fade-in-up {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (max-width: 600px) {
  .contact-actions .btn-primary { width: 100%; justify-content: center; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: var(--space-md) 0;
  font-size: .85rem;
  color: var(--ink-muted);
}
.footer-wrap {
  display: flex; justify-content: space-between; gap: var(--space-sm); flex-wrap: wrap;
}
.muted { color: var(--ink-muted); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

