/* Indyadvisor Management Inc. — site stylesheet */

:root {
  --ink: #14171f;
  --ink-soft: #4b5563;
  --muted: #9aa1ae;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --accent: #00874e;
  --accent-dark: #00693d;
  --dark-bg: #12151c;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--ink); }
nav.main {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
nav.main a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}
nav.main a:hover { color: var(--ink); }
nav.main a.current { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: var(--accent-dark); color: #ffffff; }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }

/* Hero */
.hero {
  padding: 88px 0 72px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 760px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 32px;
}

/* Intro overlay: full-screen whiteboard-style sketch that plays on page load, then fades to reveal the site. Same on mobile and desktop. */
.intro-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: intro-fade-out 0.6s ease-in 3.0s forwards;
}
.intro-sketch {
  width: min(78vw, 440px);
  height: auto;
}
@keyframes intro-fade-out {
  0%   { opacity: 1; }
  99%  { opacity: 0; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
}
.sketch-circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sketch-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sketch-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  fill: var(--ink-soft);
  text-anchor: middle;
  opacity: 0;
}
.sketch-a {
  stroke-dasharray: 228;
  stroke-dashoffset: 228;
  animation: draw-stroke 0.6s ease-out 0.9s forwards;
}
.sketch-b {
  stroke-dasharray: 228;
  stroke-dashoffset: 228;
  animation: draw-stroke 0.6s ease-out 0.3s forwards;
}
.sketch-line {
  stroke-dasharray: 249;
  stroke-dashoffset: 249;
  animation: draw-stroke 0.7s ease-out 1.9s forwards;
}
.sketch-label-a {
  animation: sketch-fade-in 0.4s ease-out 1.3s forwards;
}
.sketch-label-b {
  animation: sketch-fade-in 0.4s ease-out 0.7s forwards;
}
@keyframes draw-stroke {
  to { stroke-dashoffset: 0; }
}
@keyframes sketch-fade-in {
  to { opacity: 1; }
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
h2.section-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
p.section-sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 620px;
  margin: 0 0 44px;
}

/* Step cards */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14.5px;
}

/* CTA band */
.cta-band {
  background: var(--dark-bg);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta-band p {
  color: #a7adb8;
  font-size: 17px;
  margin: 0 0 28px;
}

/* Contact page: directions menu + map */
.directions-menu {
  display: inline-block;
  margin: 8px 0 28px;
  position: relative;
}
.directions-menu summary {
  list-style: none;
  cursor: pointer;
}
.directions-menu summary::-webkit-details-marker { display: none; }
.directions-options {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  max-width: 220px;
}
.directions-options a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 6px;
}
.directions-options a:hover {
  background: #fff;
  color: var(--accent-dark);
}
.map-embed {
  margin: 4px 0 8px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 720px;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
}
.map-fallback-link {
  margin: 10px 0 4px;
  font-size: 14px;
}
.map-fallback-link a { font-weight: 600; }

/* About page: photo hero */
.about-hero-section { padding: 56px 0 8px; }
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}
@media (max-width: 820px) {
  .about-hero { grid-template-columns: 1fr; }
}
.about-intro { order: 1; }
.about-photo-wrap { order: 2; position: relative; }
@media (max-width: 820px) {
  .about-photo-wrap { order: -1; max-width: 300px; margin: 0 auto 8px; }
}
.about-intro .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.about-intro h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 6px;
}
.about-intro .wink {
  display: block;
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.about-intro p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 480px;
  margin: 0 0 14px;
}
.about-intro p.quote-ish {
  color: var(--ink);
  font-weight: 600;
  font-size: 18px;
}
.about-photo-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.photo-outline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1078;
  stroke-dashoffset: 1078;
  animation: draw-stroke 1.1s ease-out 0.2s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .photo-outline {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* Content pages */
.content-block { padding: 64px 0; max-width: 720px; }
.content-block h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.content-block h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.content-block p { color: var(--ink-soft); font-size: 16.5px; }
.content-block ul { color: var(--ink-soft); font-size: 16.5px; padding-left: 20px; }
.content-block li { margin-bottom: 8px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 48px 0 40px;
  margin-top: 40px;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0 0 24px;
}
.logo-slot {
  height: 48px;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 16px;
}
.logo-slot img {
  height: 100%;
  width: auto;
  display: block;
}
.logo-slot.real {
  border: none;
  justify-content: flex-start;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-transform: none;
}
.disclosures p {
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
