/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink:          #1A2332;
  --ink-light:    #243040;
  --paper:        #F5F1EB;
  --paper-dim:    rgba(245, 241, 235, 0.65);
  --gold:         #C49A3C;
  --gold-faint:   rgba(196, 154, 60, 0.12);
  --gold-border:  rgba(196, 154, 60, 0.28);
  --slate:        #3D5467;
  --mist:         #8FA9B2;

  --font-display: 'Cormorant', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --max-w:        1100px;
  --pad-section:  96px;
  --pad-side:     48px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 28px var(--pad-side);
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  padding: 16px var(--pad-side);
  background: rgba(26, 35, 50, 0.97);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(196, 154, 60, 0.1);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-links .nav-cta {
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 8px 22px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

/* ============================================================
   HERO
   ============================================================ */
#top {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px var(--pad-side) 100px;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 154, 60, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 154, 60, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}

.hero-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 75% 50%, rgba(196, 154, 60, 0.07) 0%, transparent 60%);
}

.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--paper-dim);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: var(--pad-side);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.35;
}

.hero-scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-line {
  width: 44px;
  height: 1px;
  background: var(--paper);
}

/* ============================================================
   CREDENTIALS STRIP
   ============================================================ */
.credentials-strip {
  background: var(--ink-light);
  border-top: 1px solid rgba(196, 154, 60, 0.14);
  border-bottom: 1px solid rgba(196, 154, 60, 0.14);
  padding: 18px var(--pad-side);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.credentials-strip .dot {
  color: var(--gold);
  opacity: 0.45;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section {
  padding: var(--pad-section) var(--pad-side);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 56px;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--ink-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(196, 154, 60, 0.08);
}

.service-card {
  background: var(--ink-light);
  padding: 48px 36px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
  background: var(--ink);
  border-color: var(--gold-border);
}

.service-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 16px;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--paper-dim);
  line-height: 1.8;
}

/* ============================================================
   PROOF OF WORK
   ============================================================ */
#work {
  background: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  padding: 40px 32px;
  border: 1px solid rgba(196, 154, 60, 0.13);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.work-card:hover {
  border-color: rgba(196, 154, 60, 0.38);
  transform: translateY(-4px);
}

.work-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 4px 11px;
  margin-bottom: 20px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 14px;
  line-height: 1.3;
}

.work-card p {
  font-size: 0.88rem;
  color: var(--paper-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}

.work-meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--mist);
  text-transform: uppercase;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: var(--ink-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}

.about-text .section-headline {
  margin-bottom: 28px;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--paper);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--paper-dim);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-certs {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(196, 154, 60, 0.14);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cert-row {
  font-size: 0.82rem;
  color: var(--mist);
  letter-spacing: 0.03em;
  font-weight: 300;
}

.about-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--gold-border);
  display: block;
  filter: grayscale(15%);
  transition: filter 0.3s ease;
}

.about-photo:hover {
  filter: grayscale(0%);
}

.about-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  padding: 18px 22px;
  border: 1px solid rgba(196, 154, 60, 0.12);
  transition: border-color 0.3s ease;
}

.stat:hover {
  border-color: var(--gold-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--ink);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.rate-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 24px;
}

.rate {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.rate span {
  font-size: 1.1rem;
  color: var(--paper-dim);
  font-weight: 300;
}

.rate-note {
  font-size: 0.88rem;
  color: var(--paper-dim);
  line-height: 1.7;
  margin-bottom: 10px;
}

.availability-note {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid rgba(196, 154, 60, 0.22);
  background: var(--gold-faint);
  font-size: 0.85rem;
  color: var(--paper);
  line-height: 1.65;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.form-group input,
.form-group textarea {
  background: var(--ink-light);
  border: 1px solid rgba(196, 154, 60, 0.15);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--paper);
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 241, 235, 0.28);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(196, 154, 60, 0.55);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.7;
}

.form-note {
  font-size: 0.78rem;
  color: var(--mist);
  opacity: 0.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #111922;
  border-top: 1px solid rgba(196, 154, 60, 0.1);
  padding: 52px var(--pad-side);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--paper);
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--mist);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin: 10px 0 4px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.65;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(245, 241, 235, 0.2);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 980px) {
  :root {
    --pad-section: 72px;
    --pad-side: 32px;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 199;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .service-card {
    padding: 36px 28px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    gap: 12px;
  }

  .stat {
    min-width: 130px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 560px) {
  :root {
    --pad-side: 20px;
    --pad-section: 56px;
  }

  #navbar {
    padding: 20px var(--pad-side);
  }

  #navbar.scrolled {
    padding: 14px var(--pad-side);
  }

  #top {
    padding: 120px var(--pad-side) 80px;
  }

  .hero-scroll {
    left: var(--pad-side);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .credentials-strip {
    padding: 16px var(--pad-side);
    gap: 10px;
    font-size: 0.68rem;
  }

  .credentials-strip .dot {
    display: none;
  }

  .service-card {
    padding: 32px 24px;
  }

  .work-card {
    padding: 28px 22px;
  }

  .about-aside {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    width: 100%;
    flex-direction: column;
  }

  .rate {
    font-size: 2rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
