/* ============================================
   TOKENS
   ============================================ */
:root {
  --ink: #18211E;
  --ink-deep: #101714;
  --cyan: #7FC7B1;
  --cyan-dim: rgba(127, 199, 177, 0.22);
  --amber: #E8B85C;
  --paper: #F7F4EA;
  --slate: #B8C5BA;
  --charcoal: #202923;
  --clay: #C98966;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: 0;
}

/* ============================================
   BACKGROUND TEXTURE
   ============================================ */
.page-texture {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 244, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 234, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, black 35%, transparent 100%);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(24, 33, 30, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(127, 199, 177, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  color: var(--amber);
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.site-nav a {
  text-decoration: none;
  color: var(--slate);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--cyan); }

.nav-cta {
  color: var(--ink) !important;
  background: var(--amber);
  padding: 8px 14px;
  border-radius: 3px;
  font-weight: 500;
}

.nav-cta:hover { background: #ffb84f; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  padding: 96px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  color: var(--paper);
  max-width: 10ch;
}

.hero-sub {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 18px 0 32px;
}

.credibility-list {
  display: grid;
  gap: 12px;
  max-width: 58ch;
  margin: 0 0 32px;
  padding: 0;
}

.credibility-list p {
  margin: 0;
  padding-left: 16px;
  color: var(--slate);
  border-left: 2px solid rgba(232, 184, 92, 0.72);
}

.credibility-list strong {
  color: var(--paper);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  font-weight: 500;
}
.btn-primary:hover { background: #ffb84f; }

.btn-ghost {
  border-color: rgba(127, 199, 177, 0.4);
  color: var(--cyan);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(111,211,239,0.08); }

.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ---- hero profile ---- */
.hero-profile {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.profile-photo {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(247, 244, 234, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.profile-note {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(127, 199, 177, 0.24);
  background: rgba(16, 23, 20, 0.72);
}

.profile-note span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  border-left: 1px solid rgba(127, 199, 177, 0.18);
}

.profile-note span:first-child { border-left: 0; }

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 88px 0;
  border-top: 1px solid rgba(127, 199, 177, 0.14);
}

.section-alt { background: rgba(255,255,255,0.02); }

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin: 0 0 40px;
  text-transform: uppercase;
}

/* ---- services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(127, 199, 177, 0.18);
  border: 1px solid rgba(127, 199, 177, 0.18);
}

.service-card {
  background: var(--ink);
  padding: 32px;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.service-card h3 { font-size: 1.25rem; color: var(--paper); }
.service-card p { color: var(--slate); margin: 0; }

/* ---- process ---- */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
  max-width: 640px;
}

.process-steps li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--amber);
  border: 1px solid rgba(242, 169, 59, 0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-steps h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--paper); }
.process-steps p { color: var(--slate); margin: 0; }

/* ---- rates ---- */
.rate-sheet {
  max-width: 640px;
  font-family: var(--font-mono);
  border: 1px solid rgba(127, 199, 177, 0.25);
}

.rate-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(127, 199, 177, 0.15);
  font-size: 14px;
}

.rate-row:last-of-type { border-bottom: none; }

.rate-row-head {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: rgba(127, 199, 177, 0.06);
}

.rate-note {
  color: var(--slate);
  font-size: 13px;
  margin-top: 18px;
  font-family: var(--font-body);
}

.rate-sheet .rate-note {
  padding-left: 20px;
}

.inline-link { color: var(--cyan); text-decoration: underline; }

/* ---- CTA ---- */
.section-cta {
  text-align: center;
}
.section-cta h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--paper);
}
.section-cta .hero-sub { margin-left: auto; margin-right: auto; }
.section-cta .section-label { text-align: center; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(127, 199, 177, 0.14);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--slate); }
.footer-links a:hover { color: var(--cyan); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.section, .hero { opacity: 1; }
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .hero { padding: 28px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-profile { order: -1; max-width: 100%; margin: 0 auto 0; gap: 8px; }
  .profile-photo,
  .profile-note {
    width: min(100%, 160px);
  }
  .profile-photo { aspect-ratio: 1 / 1; }
  .hero h1 { max-width: 12ch; }
  .hero-sub { margin: 14px 0 20px; }
  .credibility-list {
    max-width: none;
    gap: 8px;
    margin-bottom: 24px;
  }
  .credibility-list p {
    padding-left: 12px;
    line-height: 1.35;
  }
  .section { padding: 36px 0 44px; }
  .section-label { margin-bottom: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
  .site-nav { gap: 16px; font-size: 12px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .rate-row { grid-template-columns: 1.6fr 1fr 1fr; font-size: 13px; }
  .process-steps { gap: 24px; }
  .process-steps li { gap: 16px; }
  .profile-note {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
  }
  .profile-note span {
    min-height: 0;
    padding: 0;
    border-left: 0;
    border-top: 0;
    color: var(--cyan);
    font-size: 11px;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
