/* ==========================================================================
   ASPECT MANAGEMENT SERVICES — "Contour & Current" design system v1.1
   File: base.css
   Source of truth: Aspect Website.pdf (design-system board, PDF pp. 1–6). These files are the
   stylesheet the PDF was rendered from, split by section; visual rules are unchanged.
   ========================================================================== */

/* ---------- Base ---------------------------------------------------------- */
.site {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 0;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site h1, .site h2, .site h3, .site h4, .site p, .site figure, .site blockquote, .site dl, .site dd { margin: 0; }
.site h1, .site h2, .site h3, .site h4 { font-weight: 400; text-wrap: balance; }
.site p, .site li { text-wrap: pretty; }
.site img { max-width: 100%; display: block; }
.site a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.site a:hover { text-decoration-thickness: 2px; }
.site :focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.site ::selection { background: var(--blue-tint); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper) !important; padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip:focus { left: 16px; }

/* ---------- Typography ---------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow::before {
  content: ""; width: 26px; height: 10px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 6c4-5 8-5 12 0s8 5 12 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 6c4-5 8-5 12 0s8 5 12 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eyebrow--plain::before { display: none; }
.sec--deep .eyebrow { color: var(--on-deep-green); }

.display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(46px, 4.4vw + 14px, 86px); line-height: 1.02; letter-spacing: -.024em;
}
.h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 3.2vw + 14px, 68px); line-height: 1.04; letter-spacing: -.022em;
}
.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 2.2vw + 14px, 52px); line-height: 1.08; letter-spacing: -.018em;
}
.h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(23px, .9vw + 14px, 30px); line-height: 1.2; letter-spacing: -.01em;
}
.h4 { font: 600 19px/1.35 var(--font-sans); letter-spacing: -.005em; }
.h5 { font: 600 16px/1.4 var(--font-sans); }
.lead { font-size: clamp(18px, .45vw + 14px, 21px); line-height: 1.6; color: var(--ink-2); }
.body { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.small { font-size: 14.5px; line-height: 1.55; }
.xsmall { font-size: 13px; line-height: 1.5; }
.muted { color: var(--muted); }
.it { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.accent-green { color: var(--green-ink); }
.accent-blue { color: var(--blue-ink); }
.accent-orange { color: var(--orange-ink); }
.num { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--orange-ink); font-size: 20px; line-height: 1; }
.tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, .8vw + 14px, 26px); color: var(--blue-ink); letter-spacing: -.005em; }
.prose { display: grid; gap: var(--s4); max-width: 68ch; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.measure { max-width: 62ch; }
.sec--deep .lead, .sec--deep .body, .sec--deep .prose, .sec--deep .muted { color: var(--on-deep-2); }
.sec--deep .prose strong { color: var(--on-deep); }
.sec--deep .it.accent-green, .sec--deep .accent-green { color: var(--on-deep-green); }
.sec--deep .tagline, .sec--deep .accent-blue { color: var(--on-deep-blue); }
.sec--deep .num { color: var(--on-deep-orange); }
.sec--deep a { color: var(--on-deep-blue); }

/* ---------- Motion -------------------------------------------------------- */
@keyframes asp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes asp-draw { from { stroke-dashoffset: 1800; } to { stroke-dashoffset: 0; } }
.reveal { animation: asp-rise .9s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }
.draw path { stroke-dasharray: 1800; animation: asp-draw 2.6s var(--ease) .2s both; }
.draw path:nth-child(2) { animation-delay: .4s; }
.draw path:nth-child(3) { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .draw path { animation: none !important; }
  .draw path { stroke-dasharray: none; }
  .btn, .btn .ic, .link-arrow .ic, .index__row, .index__go { transition: none !important; }
}


/* ---------- Document defaults (prototype addition) ------------------------ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #FAF8F3; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
