/* AVELENNA public site — Noir #1B1817, Powder Rose #D5B1B8, Ivory #EBE3DA.
   Mobile-first. No external requests: brand typefaces are used when installed,
   otherwise the system fallbacks below. Rose is never used for text on Ivory. */
:root {
  --noir: #1B1817;
  --rose: #D5B1B8;
  --ivory: #EBE3DA;
  --serif: "Cormorant Garamond", Cormorant, "EB Garamond", Garamond, "Hoefler Text", Baskerville, Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 70rem;
  --measure: 38rem;
  --gutter: 1.25rem;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--noir);
  font: 1rem/1.65 var(--sans);
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }

/* Links and focus */
a { color: inherit; text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--rose); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  background: var(--noir); color: var(--ivory); text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; outline-color: var(--rose); }

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

/* Header: one institutional lockup, linked home */
.site-header { border-bottom: 1px solid var(--rose); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-top: .75rem; padding-bottom: .75rem; }
.lockup { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.lockup img { width: auto; height: 1.5rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; letter-spacing: .04em; text-decoration-color: transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration-color: var(--rose); }
.site-nav .optional { display: none; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; }
h1 { font-size: 2.5rem; letter-spacing: -.01em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; font-weight: 600; }
p, ul, dl, ol { margin: 0 0 1rem; }
.eyebrow { margin: 0 0 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.lead { font-size: 1.125rem; max-width: var(--measure); }
.small { font-size: .875rem; }

/* Sections */
.section { padding: 3.5rem 0; border-top: 1px solid var(--rose); }
.section-head { max-width: var(--measure); margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .75rem; }
.prose { max-width: var(--measure); }
.dark { background: var(--noir); color: var(--ivory); border-top: 0; }
.dark a { text-decoration-color: var(--rose); }

/* Hero */
.hero { padding: 3rem 0 3.5rem; }
.hero .wrap { display: grid; gap: 2.5rem; }
.hero h1 { margin-bottom: 1.25rem; max-width: 18ch; }
.offer { margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--noir); max-width: var(--measure); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin: 0 0 1rem; }
.price strong { font-family: var(--serif); font-size: 2.5rem; font-weight: 500; line-height: 1; }
.price span { font-size: .9375rem; }
/* Status, deliberately not a button and not a link */
.status { display: inline-flex; align-items: center; gap: .625rem; min-height: 44px; margin: 0 0 1rem; padding: .5rem 1.125rem; border: 1px solid var(--noir); border-radius: 999px; font-weight: 600; font-size: .9375rem; cursor: default; }
.status::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 1px var(--noir); }

/* Motif: abstract paths. Five lines, two thicker for Focus, a gap that resumes. Decorative only. */
.motif { align-self: center; margin: 0; padding: 1.75rem 1.5rem; border: 1px solid var(--rose); }
.motif .path { display: flex; align-items: center; height: 2.25rem; }
.motif .seg { flex: 1 1 0; height: 1px; background: var(--noir); }
.motif .focus .seg { height: 2px; }
.motif .ahead { flex: 1 1 0; height: 0; border-top: 1px dashed var(--noir); opacity: .45; }
.motif .gap { flex: 0 0 1.75rem; }
.motif .mark { flex: none; width: .75rem; height: .75rem; border: 1px solid var(--noir); border-radius: 50%; background: var(--ivory); }
.motif .focus .mark { width: 1rem; height: 1rem; background: var(--rose); }
.motif .w1 { flex-grow: 1; } .motif .w2 { flex-grow: 2; } .motif .w3 { flex-grow: 3; } .motif .w4 { flex-grow: 4; }
.motif .legend { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rose); font-size: .8125rem; letter-spacing: .02em; }

/* Concepts: a quiet definition list, not a card grid */
.concepts { margin: 0; display: grid; gap: 0; }
.concepts div { padding: 1.5rem 0; border-top: 1px solid var(--rose); }
.concepts div:first-child { border-top: 0; padding-top: 0; }
.concepts dt { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin-bottom: .5rem; }
.concepts dd { margin: 0; max-width: var(--measure); }
.dark .concepts div { border-top-color: rgba(213, 177, 184, .45); }

/* Lists */
.list { padding: 0; list-style: none; max-width: var(--measure); }
.list li { position: relative; padding: .625rem 0 .625rem 1.5rem; border-bottom: 1px solid var(--rose); }
.list li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: .5rem; height: .5rem; border: 1px solid currentColor; border-radius: 50%; }
.dark .list li { border-bottom-color: rgba(213, 177, 184, .45); }

.split { display: grid; gap: 2.5rem; }

/* Mail link styled as a quiet pill (support contact, never checkout) */
.mail { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.25rem; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; font-weight: 600; }
.mail:hover { background: var(--noir); color: var(--ivory); }
.dark .mail:hover { background: var(--ivory); color: var(--noir); }

/* Footer */
.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--rose); font-size: .875rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer p { margin: 0; }

/* Policy pages */
.doc { max-width: 42rem; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.doc h1 { margin-bottom: .75rem; }
.doc h2 { font-size: 1.5rem; font-weight: 600; margin: 2.25rem 0 .625rem; padding-top: 1.25rem; border-top: 1px solid var(--rose); }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: .375rem; }
.doc .meta { font-size: .875rem; }
.doc .mail { margin: .25rem 0 1rem; }

/* Larger screens */
@media (min-width: 40rem) {
  :root { --gutter: 2rem; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.375rem; }
  .site-nav .optional { display: list-item; }
  .split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 4rem; }
  .hero { padding: 5rem 0; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .section { padding: 5rem 0; }
  .section .cols { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; }
  .concepts { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .concepts div:nth-child(2) { border-top: 0; padding-top: 0; }
  .lockup img { height: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .status::before, .motif .mark { forced-color-adjust: none; }
}
@media print {
  .skip, .site-nav, .motif { display: none; }
  .dark { background: none; color: #000; }
}
