/* Dragonfly – one-page site
   Brand: blue #45b2e5, deep blue #1b8dc2, charcoal #45474d, PT Sans */

:root {
  --blue: #45b2e5;
  --blue-deep: #1b8dc2;
  --blue-ink: #13699a;      /* accessible blue for small text on white */
  --blue-pale: #eaf6fc;
  --charcoal: #45474d;
  --charcoal-dark: #37393e;
  --text: #45474d;
  --muted: #6b6e75;
  --line: #e3e6ea;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(27, 60, 90, .22);
  --container: 1140px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: 'PT Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); color: var(--charcoal); }
h3 { font-size: 1.3rem; color: var(--blue-deep); }
p { margin: 0 0 1.1em; }

a { color: var(--blue-ink); font-weight: 700; text-decoration: none; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 8vw, 110px) 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue-deep); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.eyebrow-blue { color: var(--blue-deep); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-light { background: #fff; border-color: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--blue-deep); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  color: #fff;
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand img { width: 240px; }

.site-nav ul { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.btn) {
  display: block;
  padding: 8px 14px;
  color: #fff;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav li:last-child { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; margin: 6px 0; background: #fff; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { width: 190px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--charcoal);
    box-shadow: 0 16px 24px -12px rgba(0, 0, 0, .4);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .site-nav.is-open { max-height: 360px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 20px; }
  .site-nav a:not(.btn) { padding: 14px 20px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav li:last-child { margin: 12px 20px 0; }
  .site-nav .btn { display: block; text-align: center; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 110px);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  max-width: 14em;
  font-size: clamp(2.2rem, 1.3rem + 3.8vw, 3.9rem);
  color: #fff;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .eyebrow { animation: rise .9s .05s cubic-bezier(.2, .7, .2, 1) both; }
.lead {
  max-width: 34em;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem);
  line-height: 1.55;
  animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both; }

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 720px;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .35);
  animation: rise .9s .35s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-points li { padding: 20px 20px 0 0; }
.hero-points li + li { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .35); }
.hero-points strong { display: block; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); text-transform: uppercase; line-height: 1.2; }
.hero-points span { font-size: .95rem; opacity: .9; }

@media (max-width: 560px) {
  .hero-points { grid-template-columns: 1fr; }
  .hero-points li, .hero-points li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}

.hero-wing {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(580px, 52vw);
  transform: translateY(-50%) rotate(-3deg);
  fill: #fff;
  opacity: .07;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
@media (max-width: 860px) { .hero-wing { opacity: .05; right: -35%; width: 95vw; } }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drift {
  from { transform: translateY(-50%) rotate(-3deg); }
  to   { transform: translateY(-53%) rotate(3deg); }
}

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.about-lead { font-size: 1.3rem; line-height: 1.5; color: var(--charcoal); }

.fixed-price {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 22px 24px;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.fixed-price svg { flex: none; width: 34px; height: 34px; fill: var(--blue-deep); }
.fixed-price p { margin: 0; font-size: 1.05rem; }

.about-body .highlight {
  font-size: 1.3rem; line-height: 1.5; font-style: italic;
  color: var(--blue-deep);
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--blue);
  margin: 1.6em 0;
}
.signoff { margin-top: 2em; }
.signature {
  display: block;
  margin-top: 4px;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 700;
  color: var(--blue);
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-intro { position: static; }
}

/* Who I help */
.who { background: #f5f7f9; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.who-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 30px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform .3s, box-shadow .3s;
}
.who-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(27, 60, 90, .3); }
.who-card img { width: 84px; margin: 0 0 14px -6px; }
.who-card p { margin: 0; font-size: 1.05rem; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }

/* Services */
.services { background: var(--charcoal); color: #fff; }
.services h2 { color: #fff; }
.services .eyebrow { color: var(--blue); }
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.service-list li {
  position: relative;
  padding: 22px 22px 22px 58px;
  background: var(--charcoal-dark);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  font-size: 1.05rem;
  line-height: 1.45;
  transition: border-color .3s, background-color .3s;
}
.service-list li:hover { border-color: var(--blue); background: #3c3e43; }
.service-list li::before {
  content: "";
  position: absolute; left: 20px; top: 23px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 7-7 1.4 1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.services-note { margin: 36px 0 0; font-size: 1.1rem; }
.services-note a { color: var(--blue); margin-left: 6px; }
.services-note a::after { content: " →"; }
.services-note a:hover { color: #fff; }
@media (max-width: 960px) { .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-list { grid-template-columns: 1fr; } }

/* Accreditations */
.accreditations { padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.accred-title {
  text-align: center;
  font-size: .85rem;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 28px;
}
.accred-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 24px 40px;
  margin: 0; padding: 0; list-style: none;
}
.accred-logos img { width: auto; height: 96px; }
@media (max-width: 600px) { .accred-logos img { height: 72px; } }

/* Contact */
.contact { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-copy p:last-child { margin: 0; font-size: 1.15rem; }
.contact-cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  color: var(--charcoal);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .35);
  transition: transform .25s;
}
a.contact-card:hover { transform: translateX(6px); color: var(--charcoal); }
.contact-card svg {
  grid-row: span 2;
  width: 52px; height: 52px; padding: 13px;
  border-radius: 50%;
  background: var(--blue-pale);
  fill: var(--blue-deep);
}
.contact-card .label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-card .value { font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); font-weight: 700; color: var(--blue-ink); overflow-wrap: anywhere; line-height: 1.3; }
@media (max-width: 860px) { .contact-inner { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, .8); padding: 36px 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footer-inner img { width: 181px; }
.site-footer p { margin: 0; }
.credit { opacity: .7; }
.footer-legal { flex-basis: 100%; order: 1; font-size: .85rem; opacity: .7; }
.credit a { color: #fff; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); transition: text-decoration-color .25s; }
.credit a:hover { color: #fff; text-decoration-color: var(--blue); }
@media (max-width: 700px) { .footer-inner { flex-direction: column; text-align: center; } }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4);
}
.link-btn:hover { text-decoration-color: var(--blue); }
.footer-links { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: inherit; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.footer-links a:hover { color: #fff; text-decoration-color: var(--blue); }
.cookie-banner a { color: var(--blue); }
.cookie-banner a:hover { color: #fff; }

/* Privacy page */
.back-link { flex: none; }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); color: var(--charcoal); }
.legal h2 { font-size: 1.35rem; color: var(--blue-deep); margin-top: 2.2em; }
.legal-updated { color: var(--muted); font-size: 1rem; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .6em; }
.link-btn-inline { color: var(--blue-ink); font-weight: 700; text-decoration: none; }
.link-btn-inline:hover { color: var(--charcoal); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.legal th, .legal td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--blue-pale); color: var(--charcoal); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.legal tr:last-child td { border-bottom: 0; }
.legal code { font-size: .95em; color: var(--charcoal); }
@media (max-width: 560px) { .back-link { padding: 8px 14px; font-size: .75rem; } }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  max-width: 820px; margin: 0 auto; padding: 18px 22px;
  background: var(--charcoal); color: #fff;
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  animation: rise .5s cubic-bezier(.2, .7, .2, 1) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 1rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--charcoal); }

/* Scroll reveal – only applied once JS confirms support, so content is never hidden without it */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--delay, 0ms);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

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