/* ═══════════════════════════════════════════════════════
   The Fine Line — Design System & Styles
   Typographic Tension — Scandinavian Minimalist
   ═══════════════════════════════════════════════════════ */

/* ─── Tokens ─── */
:root {
  --bg:           #FAFAF8;
  --bg-alt:       #F3F1ED;
  --text:         #1A1A1A;
  --text-muted:   #6B6B6B;
  --accent:       #8B7D6B;
  --sage:         #9CAF8B;
  --neutral:      #D4D0C8;
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width:    1120px;
}

/* ─── Reset ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

/* ═══════════════════════════════════════════════════════
   Header
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}

.site-header.scrolled { border-bottom-color: var(--neutral); }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-line {
  width: 100%;
  height: 9px;
  color: var(--accent);
  overflow: visible;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

.nav-link:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════
   Hero — Full viewport, bottom-anchored headline
   ═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7rem;
}

.hero-eyebrow,
.hero-location {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.hero-bottom {
  padding-bottom: 5rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 2.5rem;
}

.hero-rule {
  width: clamp(280px, 32vw, 440px);
  color: var(--accent);
  overflow: visible;
  margin-bottom: 2.5rem;
}

.hero-rule svg { width: 100%; height: auto; }

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
}

/* ═══════════════════════════════════════════════════════
   Services — Ruled list rows
   ═══════════════════════════════════════════════════════ */
.services {
  padding: 6rem 0;
  border-top: 1px solid var(--neutral);
}

.services-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
  display: block;
  margin-bottom: 3rem;
}

.services-list { width: 100%; }

.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
  min-height: 5.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--neutral);
  transition: background 0.25s var(--ease);
  cursor: default;
}

.service-row:first-of-type { border-top: 1px solid var(--neutral); }

.service-row:hover .service-title { color: var(--accent); }

.service-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.25s var(--ease);
}

.service-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 380px;
}

/* ═══════════════════════════════════════════════════════
   Approach
   ═══════════════════════════════════════════════════════ */
.approach {
  padding: 6rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--neutral);
  border-bottom: 1px solid var(--neutral);
}

.approach-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.approach-table { width: 100%; }

.approach-row {
  display: grid;
  grid-template-columns: 3rem 1fr 3fr;
  gap: 2.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--neutral);
  transition: opacity 0.25s;
}

.approach-row:first-child { border-top: 1px solid var(--neutral); }
.approach-row:hover { opacity: 0.7; }

.approach-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.approach-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
}

.approach-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   Contact
   ═══════════════════════════════════════════════════════ */
.contact {
  padding: 8rem 0;
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.contact-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.contact-fine-line {
  width: 260px;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 3.5rem;
}

.contact-fine-line svg { width: 100%; height: auto; }

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--neutral);
}

.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}

.contact-email {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  display: inline-block;
  transition: color 0.25s, border-color 0.25s;
}

.contact-email:hover { color: var(--text); border-color: var(--text); }

.contact-location {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--neutral);
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  opacity: 0.7;
}

.footer-line {
  width: 110px;
  color: var(--neutral);
}

/* ═══════════════════════════════════════════════════════
   Reveal Animations
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-inner { padding: 1rem 1.5rem; }

  .hero { padding: 0 1.5rem; }
  .hero-meta { padding-top: 5.5rem; }
  .hero-bottom { padding-bottom: 3.5rem; }

  .services-inner,
  .approach-inner,
  .contact-inner { padding: 0 1.5rem; }

  .service-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem 1.5rem;
  }
  .service-desc { grid-column: 2; }

  .approach-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem 1.5rem;
  }
  .approach-desc { grid-column: 2; }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .nav-right { gap: 1.5rem; }
  .service-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .service-num { display: none; }
}
