/* Ararat Ventures LLC
   Mobile-first. Desktop rules live in @media (min-width: 768px) and up. */

:root {
  --ink:        #14161a;
  --ink-soft:   #4a5058;
  --ink-faint:  #878e97;
  --line:       #e3e5e8;
  --line-soft:  #eef0f2;
  --paper:      #ffffff;
  --paper-alt:  #f7f8f9;
  --accent:     #1f3a5f;

  --wrap:       1080px;
  --radius:     4px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { margin: 0; padding-left: 18px; }

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.wordmark:hover { text-decoration: none; }

.mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1;
}

.wordmark-text { font-size: 15px; }
.wordmark-suffix { color: var(--ink-faint); font-weight: 400; }

.nav { display: none; }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero .wrap { position: relative; z-index: 1; }

/* ---------- Hero artwork: Mount Ararat, drawn on arrival ---------- */

.hero-art {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -8px;
  width: 148%;
  height: auto;
  transform: translateX(-50%);
  opacity: 0.13;
  pointer-events: none;
}

.hero-art path,
.hero-art circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-art .art-sun     { stroke: var(--accent); }
.hero-art .art-cloud   { stroke: var(--ink-faint); }
.hero-art .art-snow    { stroke: var(--ink-soft); }
.hero-art .art-ridge   { stroke: var(--ink-faint); stroke-width: 1; }
.hero-art .art-horizon { stroke: var(--line); stroke-width: 1; }

.hero-art [data-draw] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw var(--dur, 1.6s) cubic-bezier(.33, .1, .25, 1) var(--delay, 0s) forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.hero-art .art-horizon { --delay: .15s; --dur: 1.1s; }
.hero-art .art-peak    { --delay: .55s; --dur: 2.2s; }
.hero-art .art-snow    { --delay: 2.3s; --dur: .7s; }
.hero-art .art-ridge   { --delay: 2.5s; --dur: 1s; }
.hero-art .art-sun     { --delay: 2.9s; --dur: 1.6s; }
.hero-art .art-cloud   { --delay: 3.2s; --dur: .9s; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.hero .lede { margin-bottom: 28px; }

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover { background: #000; }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}
.btn-ghost:hover { border-color: var(--ink-faint); }

/* ---------- Sections ---------- */

.section { padding: 48px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { margin-bottom: 28px; }

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

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.card {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.card-index {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.card h3 { margin-bottom: 10px; }

.card p { color: var(--ink-soft); font-size: 15px; }

.card ul {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15px;
}
.card li { margin-bottom: 6px; }

/* ---------- Approach ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-soft);
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Company ---------- */

.company {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.company p { color: var(--ink-soft); }

.facts { margin: 0; }

.facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:first-child { border-top: 1px solid var(--line); }

.facts dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

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

.section-contact {
  background: var(--ink);
  color: #fff;
}
.section-contact .eyebrow { color: rgba(255, 255, 255, 0.55); }
.section-contact h2 { color: #fff; }
.section-contact .lede { color: rgba(255, 255, 255, 0.75); }

.contact-mail {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 20px;
  overflow-wrap: anywhere;
}
.contact-mail a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}
.contact-mail a:hover { text-decoration: none; border-bottom-color: #fff; }

/* ---------- Legal page ---------- */

.doc { padding: 48px 0 8px; }
.doc h2 { margin-top: 36px; font-size: 20px; }
.doc h2:first-of-type { margin-top: 28px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc li { margin-bottom: 6px; }
.doc .updated { font-size: 14px; color: var(--ink-faint); }

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

.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-name { margin: 0 0 4px; font-weight: 600; font-size: 15px; }
.footer-legal { margin: 0; font-size: 14px; color: var(--ink-faint); max-width: 46ch; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.footer-nav a { color: var(--ink-soft); overflow-wrap: anywhere; }

.copyright {
  margin: 0;
  padding-top: 18px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Desktop ---------- */

@media (min-width: 768px) {
  body { font-size: 17px; }

  h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  h3 { font-size: 20px; }

  .wrap { padding: 0 32px; }

  .header-inner { min-height: 72px; }
  .wordmark-text { font-size: 16px; }

  .nav {
    display: flex;
    gap: 28px;
    font-size: 15px;
  }
  .nav a { color: var(--ink-soft); }
  .nav a:hover { color: var(--ink); text-decoration: none; }

  .hero { padding: 112px 0 100px; }
  .hero h1 { max-width: 14ch; }
  .lede { font-size: 18px; }

  .hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    column-gap: 48px;
  }

  .hero-copy .lede { max-width: 46ch; }

  .hero-art {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    opacity: 1;
  }

  .cta-row { flex-direction: row; gap: 12px; }

  .section { padding: 80px 0; }
  .section h2 { margin-bottom: 44px; }

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

  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }

  .company {
    grid-template-columns: 1.35fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .contact-mail { font-size: 26px; }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .footer-nav { align-items: flex-end; }
}

@media (min-width: 1024px) {
  h1 { font-size: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }

  /* the drawing is decorative: show it finished, never animate it */
  .hero-art [data-draw] {
    animation: none;
    stroke-dashoffset: 0;
  }
}
