/* ZnytriQ — site styles */

:root {
  --plum: #644B61;
  --plum-dark: #4E3A4B;
  --mauve: #977492;
  --lilac: #E3CFE0;
  --ink: #2A1F2B;
  --ink-2: #3A2C3B;
  --text: #3F3342;
  --muted: #55465A;
  --muted-2: #7D5E79;
  --bg: #FBF8FA;
  --white: #FFFFFF;
  --tint: #F2EAF0;
  --tint-2: #F7F2F6;
  --chip: #EFE5EE;
  --line: #ECE4EB;
  --line-2: #E3D7E1;
  --on-dark: #DCCFDA;
  --on-dark-2: #EADFE8;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--plum); }
a:hover { color: var(--ink); }

h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

:focus-visible { outline: 3px solid var(--mauve); outline-offset: 3px; }

/* ---------- Layout ---------- */

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--white); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
@media (min-width: 1000px) { .split--reverse > :first-child { order: 2; } }
.split--top { align-items: flex-start; }

.stack { display: flex; flex-direction: column; gap: 16px; }

.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid > * { flex: 1 1 280px; min-width: 0; }
.grid--wide { gap: 24px; }
.grid--wide > * { flex-basis: 440px; }

/* ---------- Type ---------- */

.serif { font-family: var(--serif); letter-spacing: -0.015em; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 12px;
}
.eyebrow a { color: inherit; }

.h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; }
.h1--xl { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; }
.h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.h2--sm { font-size: clamp(26px, 3vw, 40px); }
.h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; font-size: 22px; line-height: 1.25; }

.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
.body-copy p { font-size: 17px; line-height: 1.7; color: var(--text); margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.note { font-size: 13px; color: var(--muted-2); }

.accent { font-style: italic; color: var(--mauve); }

.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--plum-dark); color: var(--white); }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

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

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 250, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }

.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--plum); }
.nav a[aria-current="page"] { color: var(--plum); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav .btn[aria-current="page"] { text-decoration: none; background: var(--plum); color: var(--white); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(42, 31, 43, .08);
  }
  .nav[data-open] { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

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

.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42, 31, 43, .95) 0%, rgba(42, 31, 43, .82) 50%, rgba(42, 31, 43, .28) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; }
.hero--home .wrap { padding-top: 136px; padding-bottom: 136px; }
.hero__content { max-width: 660px; }
.hero .eyebrow { color: var(--lilac); margin-bottom: 18px; }
.hero .h1 { margin-bottom: 22px; }
.hero .accent { color: var(--lilac); }
.hero__lead { font-size: 19px; line-height: 1.6; color: var(--on-dark-2); margin-bottom: 34px; }

@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(42, 31, 43, .78) 0%, rgba(42, 31, 43, .92) 100%); }
  .hero .wrap, .hero--home .wrap { padding-top: 88px; padding-bottom: 88px; }
}

/* ---------- Photos ---------- */

.photo { width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo--420 { height: 420px; }
.photo--380 { height: 380px; }
.photo--320 { height: 320px; }
.photo--280 { height: 280px; }
@media (max-width: 700px) { .photo--420, .photo--380 { height: 300px; } }

/* ---------- Cards ---------- */

.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card .h3 { margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.media-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.media-card > img { width: 100%; height: 280px; object-fit: cover; }
.media-card__body { padding: 36px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.media-card__body p { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Home "two ways" cards */
.way { border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.way > img { width: 100%; height: 280px; object-fit: cover; }
.way__body { padding: 40px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.way__body .h2 { font-size: 32px; line-height: 1.15; }
.way__body .btn { align-self: flex-start; margin-top: auto; }
.way--plum { background: var(--plum); color: var(--white); }
.way--plum .eyebrow { color: var(--lilac); }
.way--light { background: var(--tint-2); }
@media (max-width: 600px) { .way__body { padding: 28px; } }

.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); margin-top: 8px; }
.rows__item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.rows__item .serif { font-size: 20px; font-weight: 600; }
.rows__item small { font-size: 14px; color: var(--muted); }
.way--plum .rows, .way--plum .rows__item { border-color: rgba(255, 255, 255, .25); }
.way--plum .rows__item small { color: var(--on-dark-2); display: block; width: 100%; }

/* ---------- Chips ---------- */

.chip { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; color: var(--plum-dark); background: var(--chip); }
.chip--solid { color: var(--white); background: var(--plum); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.chips span { font-size: 14px; font-weight: 600; color: var(--plum-dark); background: var(--chip); padding: 7px 13px; border-radius: 999px; }

/* ---------- Steps ---------- */

.steps-inline { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.steps-inline > * { flex: 1 1 220px; min-width: 0; }
.steps-inline .step { display: flex; gap: 14px; }
.step__num { font-family: var(--serif); font-style: italic; color: var(--mauve); font-size: 32px; line-height: 1; }
.steps-inline h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.steps-inline p { font-size: 14px; line-height: 1.55; color: var(--muted); }

.steps { display: flex; flex-wrap: wrap; gap: 24px; }
.steps > * { flex: 1 1 280px; min-width: 0; }
.steps h3 { font-size: 20px; font-weight: 700; margin: 10px 0 8px; }
.steps p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.steps .step__num { font-size: 40px; }
.steps--dark > * { border-top: 1px solid #5A4659; padding-top: 24px; }
.steps--dark p { color: var(--on-dark); }
.steps--dark .step__num { color: #C9A9C5; }
.steps--rule > * { flex-basis: 200px; border-top: 2px solid #D9C8D6; padding-top: 20px; }
.steps--rule h3 { font-size: 17px; margin: 6px 0; }
.steps--rule p { font-size: 14px; }
.steps--rule .step__num { font-size: 26px; }

/* ---------- Services list (services page) ---------- */

.svc-list { display: flex; flex-direction: column; gap: 88px; }
.svc__num { font-family: var(--serif); font-style: italic; color: var(--mauve); font-size: 20px; }
.svc .h2 { margin: 6px 0 14px; }
.svc p { font-size: 17px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; }

.industries { display: flex; flex-wrap: wrap; column-gap: 32px; }
.industries span { flex: 1 1 220px; padding: 18px 0; border-top: 1px solid #5A4659; font-size: 17px; }

/* ---------- Quote / stats ---------- */

.quote { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.22; }
.quote em { color: var(--plum); }

.stats { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.stat__value { display: block; font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1.05; color: var(--plum); }
.stat__label { font-size: 14px; color: var(--muted); }

.facts { border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.fact dd { margin: 0; font-size: 16px; font-weight: 600; }

/* ---------- CTA band ---------- */

.cta-band { border-radius: 28px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; color: var(--white); background: var(--ink); }
.cta-band > div { flex: 1 1 480px; min-width: 0; }
.cta-band .h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 12px; }
.cta-band p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.cta-band--plum { background: var(--plum); }
.cta-band--plum p { color: var(--on-dark-2); }
@media (max-width: 600px) { .cta-band { padding: 40px 28px; } }

/* ---------- Forms ---------- */

.form { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-row > * { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.input {
  min-height: 48px; width: 100%; padding: 0 16px; border: 1.5px solid #D9C8D6; border-radius: 12px;
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white);
}
textarea.input { padding: 12px 16px; min-height: 140px; resize: vertical; }
.input:focus { border-color: var(--plum); outline: none; box-shadow: 0 0 0 3px rgba(151, 116, 146, .25); }
.form .btn { align-self: flex-start; }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status[data-state="success"] { color: #2E6B3F; }
.form-status[data-state="error"] { color: #A23B3B; }
@media (max-width: 600px) { .form { padding: 24px; } }

.info { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.info:last-child { border-bottom: 1px solid var(--line-2); }
.info__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--mauve); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Sample result card ---------- */

.result { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; }
.result__line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.result__line:last-of-type { border-bottom: 0; }

/* ---------- People placeholders ---------- */

.person { display: flex; flex-direction: column; gap: 8px; }
.person__photo { aspect-ratio: 4 / 5; border-radius: 20px; background: var(--line-2); object-fit: cover; width: 100%; }

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

.site-footer { background: var(--white); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font: 700 14px/1.4 var(--sans); color: var(--ink); }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--plum); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer-bottom a { color: var(--muted); }

/* ---------- Utilities ---------- */

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.center { text-align: center; }
