/* Vinita Silaparasetty: one stylesheet, no web fonts, no JS. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c2330;
  --muted: #535d6c;
  --line: #e3e0d8;
  --navy: #14304f;
  --teal: #0b6e69;
  --teal-soft: #e3f1ef;
  --focus: #c2410c;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 68rem;
  --measure: 40rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151d;
    --surface: #161e29;
    --text: #e6e9ee;
    --muted: #a8b1bf;
    --line: #29333f;
    --navy: #c9d8ea;
    --teal: #5cc6bd;
    --teal-soft: #15302f;
    --focus: #fb923c;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--teal);
}

/* Type */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; max-width: var(--measure); }

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.lead { font-size: 1.2rem; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

/* Sections */
main { display: block; }
.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.page-intro { padding: 3.5rem 0 1.5rem; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 46rem) {
  .hero .wrap { grid-template-columns: auto 1fr; gap: 3rem; }
}
.monogram, .portrait {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
}
.monogram {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 2.9rem;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--teal);
}
.portrait { object-fit: cover; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--teal); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--navy);
}
.btn-primary { background: var(--navy); color: var(--bg); }
.btn-primary:hover { background: var(--teal); border-color: var(--teal); }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--teal-soft); }

/* Proof row */
.proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.proof li {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line);
}
.proof strong { display: block; color: var(--navy); font-weight: 600; }
.proof span { color: var(--muted); font-size: 0.92rem; }

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem;
}
.card p:last-child { margin-bottom: 0; }
.deliverable {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--teal);
  padding-left: 0.75rem;
}
.deliverable b { color: var(--text); }

/* Book feature */
.book {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 46rem) {
  .book { grid-template-columns: 13rem 1fr; gap: 3rem; }
}
.book img {
  width: 13rem;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(20, 48, 79, 0.18);
  background: var(--line);
}

/* Lists */
.plain-list { padding-left: 1.2rem; max-width: var(--measure); }
.plain-list li { margin-bottom: 0.4rem; }
.steps { padding-left: 0; list-style: none; counter-reset: s; max-width: var(--measure); }
.steps li { counter-increment: s; position: relative; padding-left: 2.5rem; margin-bottom: 0.9rem; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

/* Facts table */
.facts { border-collapse: collapse; width: 100%; max-width: var(--measure); margin: 1rem 0 1.5rem; }
.facts th, .facts td { text-align: left; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { color: var(--muted); font-weight: 500; width: 9rem; font-size: 0.95rem; }
.facts td { overflow-wrap: anywhere; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: 0.92rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--text); font-weight: 600; }

/* FAQ */
.faq dt { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.15rem; margin-top: 1.5rem; }
.faq dd { margin: 0.35rem 0 0; max-width: var(--measure); }

/* Callout (Aevoxis) */
.callout {
  background: var(--teal-soft);
  border-radius: 6px;
  padding: 1.75rem;
}
.callout p:last-child { margin-bottom: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { margin-bottom: 0.9rem; }
.contact-list .label { display: block; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-list a { font-size: 1.3rem; font-family: var(--serif); overflow-wrap: anywhere; }

/* Legal pages */
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.08rem; margin-top: 1.25rem; }
.legal address { font-style: normal; margin-bottom: 1rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .site-nav a { transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
}

/* Case study tables */
.table-scroll { overflow-x: auto; margin: 1rem 0 1.5rem; }
.data { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: 0.97rem; }
.data th, .data td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data thead th { color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--line); }
.data tbody th { font-weight: 600; color: var(--text); }
.pull { margin: 1.5rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--teal); background: var(--surface); font-family: var(--serif); font-size: 1.12rem; max-width: var(--measure); }
.pull p { margin: 0; }

/* VS Design page: product images and the "notify me" sign-up form */
.shot { border-radius: 8px; margin: 1.5rem 0; border: 1px solid var(--line); }
.signup { max-width: var(--measure); margin-top: 1rem; }
.signup label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.signup-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.signup input[type="email"] {
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 6px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
