/* ==========================================================================
   Dan with a Plan — "Field Notes" design system
   ========================================================================== */

:root {
  --navy: #1E3A5F;
  --navy-dark: #162E4D;
  --navy-mid: #2D5280;
  --gold: #F5A623;
  --gold-dark: #9E650B;
  --gold-text: #683E00;
  --gold-tint: #FDE8B4;
  --sage: #8FB89A;
  --sage-band: #51805E;
  --sage-tint: #D6EBD9;
  --sage-bg: #EEF6EF;
  --sage-border: #CFE7D2;
  --coral: #E8836F;
  --cream: #FBF6EC;
  --dashed: #C9C0AC;
  --border: #E7E1D6;
  --blue-bg: #EBF1F8;
  --blue-border: #D6E4F0;
  --text-body: #374151;
  --text-muted: #69707D;
  --text-caption: #4B5563;
  --approved-green: #2D7A3E;
  /* NOTE — colors above were adjusted from the original design-tool export
     to meet WCAG AA contrast (4.5:1 text / 3:1 large text). See a11y notes
     at the bottom of this file for the original values and ratios. */

  --font-serif: 'Lora', serif;
  --font-sans: 'Inter', sans-serif;
  --font-accent: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-sans);
  color: var(--text-body);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--cream);
}

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 44px;
  background: var(--cream);
  border-bottom: 2px dashed var(--dashed);
  flex-wrap: wrap;
  gap: 12px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-caption);
  font-weight: 500;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.is-active {
  color: var(--navy);
  font-weight: 600;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}
.nav-stamp {
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 12px;
  color: var(--approved-green);
  border: 2px solid var(--approved-green);
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
  transform: rotate(-3deg);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  display: inline-block;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--gold-text); }
.btn-primary:hover { background: var(--gold-dark); color: var(--gold-text); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-white { background: #fff; color: #2D5A36; font-size: 14px; padding: 14px 28px; white-space: nowrap; }
.btn-white:hover { background: #f3f3f3; color: #2D5A36; }
.btn-cta { font-size: 14px; padding: 14px 28px; }

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--navy);
  padding: 56px 44px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 280px; }
.eyebrow {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 16px;
}
.hero-sub {
  font-size: 14.5px;
  line-height: 1.7;
  color: #A8C4D4;
  margin-bottom: 26px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-logo-box {
  width: 340px;
  flex-shrink: 0;
  background: var(--cream);
  border-radius: 14px;
  padding: 14px;
  margin-top: 29px;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--blue-bg);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
  padding: 18px 44px;
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 12px;
  color: var(--navy-mid);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- Section wrappers ---------- */
.section { padding: 56px 44px 48px; }
.dash-rule { border: none; border-top: 2px dashed var(--dashed); margin: 0 0 34px; }
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 18px;
}

/* ---------- Who is Dan (intro) ---------- */
.intro-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.intro-col { flex: 2; min-width: 280px; }
.intro-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}
.intro-body { font-size: 14px; line-height: 1.75; }
.stat-row { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.stat-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E0EEF4;
  padding: 22px 20px;
  text-align: center;
  min-width: 130px;
}
.stat-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 11.5px; color: var(--text-muted); line-height: 1.5; }

/* ---------- Service cards ---------- */
.service-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.service-card {
  display: flex;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.service-card svg { flex-shrink: 0; }
.service-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}
.service-desc { font-size: 13px; color: #5b5b5b; line-height: 1.6; }

/* ---------- Route steps ---------- */
.step-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.step {
  border-left: 2px dashed var(--dashed);
  padding-left: 16px;
}
.step-num { font-family: var(--font-mono); font-size: 11px; color: var(--gold-dark); }
.step-text { font-size: 13.5px; color: var(--text-body); }

/* ---------- Case note ---------- */
.case-row { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 36px; flex-wrap: wrap; }
.sketch-card {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  padding: 10px 10px 30px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transform: rotate(-2deg);
}
.sketch-fill {
  height: 150px;
  background: repeating-linear-gradient(45deg, var(--border), var(--border) 8px, #EFEAE1 8px, #EFEAE1 16px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sketch-fill span { font-family: var(--font-mono); font-size: 9.5px; color: #8A8A8A; text-align: center; }
.case-note {
  flex: 1;
  min-width: 240px;
  background: var(--sage-bg);
  border: 1px solid var(--sage-border);
  border-radius: 14px;
  padding: 28px 30px 26px;
  position: relative;
  overflow: hidden;
}
.case-note::before {
  content: '\201C';
  position: absolute;
  top: -18px;
  left: 14px;
  font-family: var(--font-serif);
  font-size: 96px;
  line-height: 1;
  color: var(--sage-border);
  z-index: 0;
}
.case-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #776F5E;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.case-quote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  color: var(--navy);
}

/* ---------- Festivals band ---------- */
.festivals-band {
  background: var(--sage-band);
  padding: 56px 44px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.festivals-text { flex: 1; min-width: 260px; }
.festivals-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.festivals-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 14px;
}
.festivals-body { font-size: 14px; color: #fff; line-height: 1.7; margin-bottom: 20px; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag-pill {
  background: rgba(255,255,255,0.85);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}
.festivals-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1.5px dashed rgba(255,255,255,0.6);
  padding-bottom: 2px;
}
.festivals-link:hover { color: #F0F7F1; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: #fff;
  padding: 56px 44px;
  text-align: center;
}
.squiggle { width: 52px; height: 4px; background: var(--gold); border-radius: 2px; margin: 0 auto 20px; }
.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--navy);
  max-width: 560px;
  margin: 0 auto 18px;
  line-height: 1.55;
}
.testimonial-author { font-size: 13.5px; color: var(--text-muted); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  padding: 56px 44px;
  text-align: center;
}
.cta-band-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  margin: 0 0 12px;
}
.cta-band-sub { font-size: 14px; color: #A8C4D4; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  padding: 28px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo { font-family: var(--font-serif); font-weight: 700; font-size: 14px; color: #fff; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 20px; font-size: 12px; }
.footer-links a { color: #9096A2; }
.footer-links a:hover { color: #fff; }
.footer-note { font-size: 11px; color: #8B97A7; }

/* ---------- About page ---------- */
.about-hero {
  background: var(--navy);
  padding: 56px 44px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-hero-text { flex: 1; min-width: 280px; }
.about-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 16px;
}
.about-sub { font-size: 14.5px; color: #A8C4D4; line-height: 1.7; max-width: 460px; }
.avatar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 4px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-circle span {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
}

.stat-strip {
  background: var(--blue-bg);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
  padding: 26px 44px;
  display: flex;
  flex-wrap: wrap;
}
.stat-strip-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--blue-border);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-strip-label { font-size: 11.5px; color: var(--text-caption); line-height: 1.5; }

.story-row { padding: 56px 44px; display: flex; gap: 44px; flex-wrap: wrap; }
.story-col { flex: 2; min-width: 300px; }
.story-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.25;
}
.story-body { font-size: 14px; line-height: 1.8; }
.side-col { flex: 1; min-width: 220px; }
.info-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E0EEF4;
  padding: 20px 18px;
  margin-bottom: 16px;
}
.info-card:last-child { margin-bottom: 0; }
.info-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.info-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}
.info-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }

.skills-section { background: #fff; padding: 56px 44px; }
.skills-lede { font-size: 14px; color: var(--text-muted); max-width: 560px; margin-bottom: 36px; line-height: 1.7; }
.skill-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid #F5F0E8;
}
.skill-row svg { flex-shrink: 0; }
.skill-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 8px;
}
.skill-desc { font-size: 13.5px; color: var(--text-caption); line-height: 1.7; margin-bottom: 12px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--blue-bg);
  padding: 4px 12px;
  border-radius: 20px;
}
.skill-tag.is-highlight { color: var(--gold-text); background: var(--gold-tint); }

.edu-row { background: var(--cream); padding: 56px 44px; display: flex; gap: 44px; flex-wrap: wrap; }
.edu-col { flex: 1; min-width: 260px; }
.edu-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.edu-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 20px;
}
.edu-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E8E2D8;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.edu-card:last-child { margin-bottom: 0; }
.edu-school { font-size: 11px; font-weight: 600; color: var(--gold); margin-bottom: 6px; letter-spacing: 1px; }
.edu-degree {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.edu-place { font-size: 12.5px; color: var(--text-muted); }
.beyond-body { font-size: 13.5px; color: var(--text-caption); line-height: 1.7; margin-bottom: 18px; }
.beyond-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.beyond-tag {
  background: var(--blue-bg);
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ---------- Contact page ---------- */
.contact-section { padding: 64px 44px 72px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.contact-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.contact-value.is-placeholder {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12.5px;
  color: #746F64;
  border: 2px dashed var(--dashed);
  border-radius: 8px;
  padding: 7px 12px;
  background: var(--cream);
  display: inline-block;
}
.contact-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 480px;
  margin: 32px auto 0;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .site-nav, .hero, .trust-bar, .section, .festivals-band,
  .testimonial, .cta-band, .site-footer, .about-hero,
  .stat-strip, .story-row, .skills-section, .edu-row {
    padding-left: 24px;
    padding-right: 24px;
  }
  .site-nav { justify-content: center; text-align: center; }
  .nav-links { justify-content: center; gap: 16px; }
  .hero-heading { font-size: 27px; }
  .about-heading { font-size: 24px; }
  .cta-band-heading { font-size: 24px; }
  .festivals-heading { font-size: 21px; }
  .site-footer { flex-direction: column; text-align: center; }
  .stat-strip-item { border-right: none; border-bottom: 1px solid var(--blue-border); padding: 12px 0; }
  .stat-strip-item:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 44px 24px 56px; }
}

/* ==========================================================================
   Accessibility notes — WCAG AA contrast pass, July 2026

   The colors below were adjusted from the original design-tool export
   because they failed WCAG AA (4.5:1 normal text, 3:1 large text/18px+bold).
   Original value → new value (contrast ratio on its actual background):

   --gold-dark   #C47D0E → #9E650B   (kicker/edu-label on cream: 3.10 → 4.51)
   --gold-text   #7C4A00 → #683E00   (btn-primary text on gold: 3.65 → 4.57)
   --text-muted  #6B7280 → #69707D   (contact-note/edu-place on cream: 4.49 → 4.63)
   .festivals-band bg  #8FB89A (--sage) → #51805E (--sage-band)
                                      (white text on it: 2.21–2.24 → 4.57)
   .festivals-label/body text  #D6EBD9 (--sage-tint) → #fff (now 4.57, was 1.76)
   .tag-pill   rgba(255,255,255,.2)+white text → rgba(255,255,255,.85)+navy text
                                      (was 1.86–3.18, now 9.57)
   .footer-links a   #6B7280 → #9096A2  (on navy-dark footer: 2.84 → 4.62)
   .footer-note      #4B5563 → #8B97A7  (on navy-dark footer: 1.81 → 4.63)
   .case-label       #B0A99B → #776F5E  (on sage-bg: 2.12 → 4.51)
   .contact-value.is-placeholder  #9a958a → #746F64  (on cream: 2.77 → 4.66)

   --sage and --sage-tint are kept defined (unused in CSS now) in case the
   original brand swatch is needed for print or a non-text use.
   ========================================================================== */
