@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Spectral:ital,wght@0,400;1,400;1,500&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  /* base */
  --observatory-ink: #14213A;
  --midnight: #0C1526;
  --antique-gold: #B08A3E;
  --parchment: #EDE6D6;
  --star-silver: #C9CBD3;
  --slate: #3A4A6B;
  --vellum: #E2DAC6;
  --garnet: #7A2E2E;
  --ink-body: #2A2A26;
  --muted: #5A5A52;

  /* semantic */
  --surface-page: var(--parchment);
  --surface-dark: var(--observatory-ink);
  --surface-darkest: var(--midnight);
  --surface-card: var(--vellum);
  --text-heading: var(--observatory-ink);
  --text-body: var(--ink-body);
  --text-muted: var(--muted);
  --text-on-dark: var(--parchment);
  --accent: var(--antique-gold);
  --rule: rgba(20, 33, 58, 0.14);
  --rule-on-dark: rgba(237, 230, 214, 0.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-quote: 'Spectral', Georgia, serif;
  --font-body: 'Archivo', Arial, sans-serif;

  --page-gutter: 56px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--parchment);
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  min-height: 100vh;
}

a {
  color: var(--observatory-ink);
  text-decoration: none;
}
a:hover { opacity: 0.62; }

img { max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px var(--page-gutter);
  border-bottom: 1px solid var(--rule);
}
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
}
.logo img { width: 30px; height: 30px; display: block; }
.wordmark {
  font: 600 19px/1 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--observatory-ink);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav a {
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--observatory-ink);
}
.site-nav a[aria-current="page"] { color: var(--antique-gold); }

/* Footer */
.site-footer {
  padding: 46px var(--page-gutter);
  border-top: 1px solid var(--rule);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { width: 22px; height: 22px; display: block; }
.tagline {
  font: 400 italic 17px/1 var(--font-quote);
  color: var(--observatory-ink);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font: 400 13px/1 var(--font-body);
  color: var(--text-muted);
}
.footer-links a { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 17px 30px;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; }
.btn-gold {
  background: var(--antique-gold);
  color: var(--observatory-ink);
  border: 1px solid var(--antique-gold);
}
.btn-outline {
  color: var(--parchment);
  border: 1px solid var(--rule-on-dark);
}
.btn-outline:hover { opacity: 0.7; }
.btn-ink {
  background: var(--observatory-ink);
  color: var(--parchment);
  justify-self: start;
}

/* Eyebrow / rule */
.eyebrow {
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--antique-gold);
}
.eyebrow-sm { letter-spacing: 0.3em; }

.sight-line {
  height: 1px;
  background: var(--antique-gold);
}
.sight-line--sm { width: 60px; }
.sight-line--lg { width: 84px; }

/* Hero (Home) */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: var(--parchment);
  padding: 132px var(--page-gutter) 118px;
}
.corner-instrument {
  position: absolute;
  pointer-events: none;
}
.hero .corner-instrument {
  top: -180px;
  right: -180px;
  width: 620px;
  height: 620px;
  opacity: 0.14;
}
.hero .container {
  position: relative;
  display: grid;
  gap: 34px;
}
.hero h1 {
  margin: 0;
  font: 600 clamp(46px, 6vw, 78px)/1.06 var(--font-display);
  letter-spacing: -0.01em;
  max-width: 15em;
  text-wrap: pretty;
}
.hero .lede {
  margin: 0;
  font: 400 19px/1.7 var(--font-body);
  color: rgba(237, 230, 214, 0.82);
  max-width: 34em;
  text-wrap: pretty;
}
.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Generic content sections */
.section {
  padding: 108px var(--page-gutter);
  border-bottom: 1px solid var(--rule);
}
.section h2,
.who-serve h2 {
  margin: 0;
  font: 600 34px/1.15 var(--font-display);
  color: var(--observatory-ink);
  text-wrap: pretty;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.problem-grid .head { display: grid; gap: 18px; }
.problem-grid .body { display: grid; gap: 26px; max-width: 40em; }
.problem-grid p {
  margin: 0;
  font: 400 18px/1.72 var(--font-body);
  color: var(--text-body);
  text-wrap: pretty;
}

.whynow { display: grid; gap: 56px; }
.whynow .head { display: grid; gap: 18px; max-width: 34em; }
.whynow > p {
  margin: 0;
  font: 400 18px/1.72 var(--font-body);
  color: var(--text-body);
  max-width: 44em;
  text-wrap: pretty;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.stat-row .stat {
  padding: 30px 34px;
  border-right: 1px solid var(--rule);
}
.stat-row .stat:first-child { padding-left: 0; }
.stat-row .stat:last-child { border-right: none; padding-right: 0; }
.stat .figure {
  font: 600 44px/1 var(--font-display);
  color: var(--observatory-ink);
}
.stat .figure .unit { font-size: 22px; color: var(--muted); }
.stat .caption {
  margin: 12px 0 0;
  font: 400 15px/1.6 var(--font-body);
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 96px var(--page-gutter);
  background: var(--observatory-ink);
  color: var(--parchment);
}
.cta-band--midnight { background: var(--midnight); }
.cta-band .corner-instrument {
  bottom: -220px;
  left: -160px;
  width: 520px;
  height: 520px;
  opacity: 0.12;
}
.cta-band .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 {
  margin: 0;
  font: 600 40px/1.15 var(--font-display);
  max-width: 20em;
}

/* Page head (Services / Contact style eyebrow+H1+rule) */
.page-head { padding: 96px var(--page-gutter) 72px; border-bottom: 1px solid var(--rule); }
.page-head .container { display: grid; gap: 26px; }
.page-head h1 {
  margin: 0;
  font: 600 clamp(38px, 4.6vw, 58px)/1.1 var(--font-display);
  color: var(--observatory-ink);
  max-width: 22em;
  text-wrap: pretty;
}

/* Services: three-up row */
.service-row { padding: 0 var(--page-gutter); border-bottom: 1px solid var(--rule); }
.service-row .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.service-cell {
  padding: 56px 40px 64px;
  border-right: 1px solid var(--rule);
  display: grid;
  gap: 16px;
  align-content: start;
}
.service-cell:first-child { padding-left: 0; }
.service-cell:last-child { border-right: none; padding-right: 0; }
.service-cell h2 { margin: 0; font: 600 27px/1.2 var(--font-display); color: var(--observatory-ink); }
.service-cell p {
  margin: 0;
  font: 400 17px/1.7 var(--font-body);
  color: var(--text-body);
  text-wrap: pretty;
}

/* Who we serve */
.who-serve { padding: 100px var(--page-gutter); border-bottom: 1px solid var(--rule); }
.who-serve .container { display: grid; gap: 52px; }
.who-serve .head { display: grid; gap: 18px; max-width: 30em; }

.card-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: var(--surface-card);
  padding: 34px 32px;
  display: grid;
  gap: 14px;
  align-content: start;
  border-top: 2px solid var(--antique-gold);
}
.card h3 { margin: 0; font: 600 21px/1.25 var(--font-display); color: var(--observatory-ink); }
.card p {
  margin: 0;
  font: 400 16px/1.68 var(--font-body);
  color: var(--text-body);
  text-wrap: pretty;
}

.pull-quote {
  margin: 0;
  font: 400 italic 21px/1.6 var(--font-quote);
  color: var(--observatory-ink);
  max-width: 40em;
  padding-left: 22px;
  border-left: 1px solid var(--antique-gold);
  text-wrap: pretty;
}
.pull-quote--lg { font-size: 22px; line-height: 1.55; max-width: 32em; }

/* About: founder head */
.founder-head { padding: 96px var(--page-gutter) 88px; border-bottom: 1px solid var(--rule); }
.founder-head .container {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.founder-head .head { display: grid; gap: 20px; }
.founder-head h1 {
  margin: 0;
  font: 600 clamp(34px, 3.4vw, 46px)/1.1 var(--font-display);
  color: var(--observatory-ink);
}
.role-label {
  font: 600 12px/1.5 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.founder-head .body { display: grid; gap: 26px; max-width: 40em; }
.founder-head .body p { margin: 0; color: var(--text-body); text-wrap: pretty; }
.founder-head .body p:first-child { font: 400 19px/1.7 var(--font-body); }
.founder-head .body p:last-child { font: 400 18px/1.72 var(--font-body); }

/* About: track record */
.track-record { padding: 88px var(--page-gutter); border-bottom: 1px solid var(--rule); }
.track-record .container { display: grid; gap: 44px; }
.track-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--rule);
}
.track-cell {
  padding: 34px 40px 40px;
  border-right: 1px solid var(--rule);
  display: grid;
  gap: 14px;
  align-content: start;
}
.track-cell:first-child { padding-left: 0; }
.track-cell:last-child { border-right: none; padding-right: 0; }
.track-cell h2 { margin: 0; font: 600 23px/1.2 var(--font-display); color: var(--observatory-ink); }
.track-cell p {
  margin: 0;
  font: 400 16px/1.7 var(--font-body);
  color: var(--text-body);
  text-wrap: pretty;
}

/* Contact */
.contact-page { display: flex; flex-direction: column; min-height: 100vh; }
.contact-section { flex: 1; padding: 104px var(--page-gutter) 112px; }
.contact-section .container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 72px;
  align-items: start;
}
.contact-left { display: grid; gap: 26px; }
.contact-left h1 {
  margin: 0;
  font: 600 clamp(38px, 4.4vw, 56px)/1.08 var(--font-display);
  color: var(--observatory-ink);
  max-width: 20em;
  text-wrap: pretty;
}
.contact-left p {
  margin: 0;
  font: 400 18px/1.72 var(--font-body);
  color: var(--text-body);
  max-width: 34em;
  text-wrap: pretty;
}

.details-card {
  background: var(--surface-card);
  padding: 36px 34px;
  display: grid;
  gap: 26px;
  border-top: 2px solid var(--antique-gold);
}
.details-block { display: grid; gap: 8px; }
.details-divider { height: 1px; background: var(--rule); }
.micro-label {
  font: 600 10px/1 var(--font-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.details-block .email-value { font: 400 18px/1.5 var(--font-body); color: var(--observatory-ink); }
.details-block p { margin: 0; font: 400 16px/1.65 var(--font-body); color: var(--text-body); }

/* Responsive */
@media (max-width: 700px) {
  :root { --page-gutter: 24px; }

  .hero { padding-top: 96px; padding-bottom: 80px; }

  .problem-grid,
  .founder-head .container,
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-row .stat,
  .service-cell,
  .track-cell {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .stat-row .stat:last-child,
  .service-cell:last-child,
  .track-cell:last-child {
    border-bottom: none;
  }

  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .site-header { flex-wrap: wrap; gap: 16px; }
  .site-nav { gap: 18px; }
}
