/* Daylight Billing & Consulting — warmth, clarity, relief from paperwork */

:root {
  --cream: #fbf7f0;
  --cream-deep: #f4ecdd;
  --paper: #fffdf9;
  --ink: #202b33;
  --ink-soft: #47555e;
  --ink-mute: #6b7680;
  --sky: #7fa2b8;
  --sky-deep: #52768c;
  --gold: #dd9c56;
  --gold-soft: #ecc189;
  --coral: #e2896f;
  --line: rgba(32, 43, 51, 0.12);
  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 6vw;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(251, 247, 240, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 6vw;
  box-shadow: 0 1px 0 var(--line);
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-mark .sun {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(32, 43, 51, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(32, 43, 51, 0.08);
}

.btn-sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 8%, rgba(221, 156, 86, 0.35), transparent 60%),
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(127, 162, 184, 0.28), transparent 60%),
    var(--cream);
}

.hero-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.08;
  margin: 1.1rem 0 1.4rem;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--sky-deep);
}

.hero-copy p.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: linear-gradient(155deg, var(--gold-soft), var(--sky) 70%);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(32, 43, 51, 0.25);
}

.hero-art .sunrise-lines {
  position: absolute;
  inset: 0;
}

.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  grid-column: 1 / -1;
}

.stat {
  background: var(--paper);
  padding: 1.6rem 1.8rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
}

.stat span {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
}

/* ---------- Section shell ---------- */

section { padding: 8rem 0; position: relative; }

.section-head {
  max-width: 640px;
  margin: 0 auto 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.section-head.left { align-items: flex-start; text-align: left; margin: 0 0 3.5rem; }

.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Services ---------- */

.services { background: var(--cream-deep); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.service-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 2.6rem 2.2rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(32, 43, 51, 0.22);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--gold-soft), var(--gold));
}

.service-icon svg { width: 22px; height: 22px; stroke: var(--paper); }

.service-card h3 { font-size: 1.28rem; }

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-card li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--sky) 0%, var(--gold-soft) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  overflow: hidden;
}

.about-portrait .monogram {
  font-family: var(--serif);
  font-size: 4.5rem;
  color: rgba(255, 253, 249, 0.85);
  line-height: 1;
}

.about-portrait .names {
  position: relative;
  z-index: 1;
  color: var(--paper);
}

.about-portrait .names strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.about-portrait .names span {
  font-size: 0.8rem;
  opacity: 0.85;
}

.about-copy p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1rem; }

.founder-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.founder-card {
  background: var(--cream-deep);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}

.founder-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.founder-card .role {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.founder-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- Testimonials ---------- */

.testimonials { background: var(--ink); color: var(--cream); }

.testimonials .eyebrow { color: var(--gold-soft); }
.testimonials .section-head p { color: rgba(251, 247, 240, 0.7); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.testimonial-card {
  background: rgba(251, 247, 240, 0.06);
  border: 1px solid rgba(251, 247, 240, 0.12);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.testimonial-card .quote-mark {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-soft);
  line-height: 1;
}

.testimonial-card p.quote {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
}

.testimonial-card .attribution {
  font-size: 0.82rem;
  color: rgba(251, 247, 240, 0.65);
}

.testimonial-card .attribution strong {
  color: var(--cream);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

/* ---------- Contact ---------- */

.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 156, 86, 0.18), transparent 70%);
}

.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.contact-copy p { color: var(--ink-soft); margin-bottom: 2rem; max-width: 38ch; }

.contact-detail { margin-bottom: 1.3rem; }
.contact-detail .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}
.contact-detail .value { font-family: var(--serif); font-size: 1.15rem; }

.contact-note {
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 1.6rem;
}

form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  padding: 0.75rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(127, 162, 184, 0.18);
}

.field textarea { resize: vertical; min-height: 84px; }

.form-msg {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--sky-deep);
  min-height: 1.3em;
}

/* ---------- Footer ---------- */

footer { padding: 3rem 0 2.4rem; border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-mark {
  font-family: var(--serif);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-mark svg { width: 18px; height: 18px; }

.footer-meta {
  font-size: 0.78rem;
  color: var(--ink-mute);
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin: 0 auto; }
  .about-grid, .contact-panel { grid-template-columns: 1fr; }
  .services-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
  .contact-panel { padding: 2.4rem; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78vw;
    max-width: 320px;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2.8rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.08);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }

  section { padding: 5rem 0; }
}
