/* HAVLO product system — editorial, calm, human, and evidence-aware. */
:root {
  --hvp-ink: #102c2a;
  --hvp-ink-soft: #4d615e;
  --hvp-paper: #f4f1e9;
  --hvp-paper-deep: #e9e4d8;
  --hvp-surface: #fbfaf6;
  --hvp-line: rgba(16, 44, 42, .16);
  --hvp-moss: #587066;
  --hvp-copper: #ad6844;
  --hvp-navy: #1e3a5f;
  --hvp-info: #3a5a7a;
  --hvp-mint: #3e7a5e;
  --hvp-attention: #8f472f;
  --hvp-shadow: 0 2rem 6rem rgba(21, 43, 39, .09);
  --hvp-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --hvp-sans: "Instrument Sans", Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 20rem; background: var(--hvp-paper); color: var(--hvp-ink); font-family: var(--hvp-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.hv-constitution-document { min-height: 100vh; margin: 0; background: var(--hvp-paper); }
body.hv-moment-document { min-height: 100vh; margin: 0; background: var(--hvp-paper); }
body.hv-constitution-document :focus-visible { outline: 2px solid var(--hvp-copper); outline-offset: .25rem; }
body.hv-moment-document :focus-visible { outline: 2px solid var(--hvp-copper); outline-offset: .25rem; }

.hv-private-skip { position: fixed; z-index: 50; top: -6rem; left: 1rem; padding: .8rem 1rem; background: var(--hvp-ink); color: white; font: 700 .75rem var(--hvp-sans); }
.hv-private-skip:focus { top: 1rem; }
.hv-private-boundary { display: flex; min-height: 5.25rem; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 max(1rem,calc((100vw - 78rem)/2)); border-bottom: 1px solid var(--hvp-line); background: rgba(244,241,233,.92); font-family: var(--hvp-sans); }
.hv-private-brand { display: flex; align-items: center; gap: .75rem; color: var(--hvp-ink); text-decoration: none; }
.hv-private-brand img { width: 2rem; height: 2rem; }
.hv-private-brand span { display: grid; gap: .12rem; }
.hv-private-brand strong { font-size: .76rem; letter-spacing: .18em; }
.hv-private-brand small { color: var(--hvp-ink-soft); font-size: .62rem; }
.hv-private-boundary > p { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--hvp-ink-soft); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.hv-private-boundary > p span { width: .46rem; height: .46rem; border-radius: 50%; background: var(--hvp-mint); box-shadow: 0 0 0 .25rem rgba(62,122,94,.1); }
.hv-private-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem max(1rem,calc((100vw - 78rem)/2)); border-top: 1px solid var(--hvp-line); color: var(--hvp-ink-soft); font: .65rem/1.5 var(--hvp-sans); }
.hv-private-footer strong { color: var(--hvp-ink); letter-spacing: .15em; }

/* Shared private Moment frame: one person, one purpose, no portal furniture. */
.hv-moment-shell {
  width: min(100% - 2rem, 54rem);
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 6rem) 0;
  font-family: var(--hvp-sans);
}
.hv-moment-card {
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border: 1px solid var(--hvp-line);
  border-top: .24rem solid var(--hvp-copper);
  background: var(--hvp-surface);
  box-shadow: var(--hvp-shadow);
  position: relative;
}
.hv-moment-card::after { position: absolute; top: 1.5rem; right: 1.5rem; width: 4rem; height: 4rem; border: 1px solid var(--hvp-line); border-radius: 50%; content: "H"; display: grid; place-items: center; color: var(--hvp-copper); font-family: var(--hvp-serif); font-size: 1.4rem; opacity: .75; }
.hv-moment-card--safety { border-top-color: var(--hvp-attention); background: radial-gradient(circle at 88% 8%,rgba(143,71,47,.08),transparent 20rem),var(--hvp-surface); }
.hv-moment-eyebrow {
  margin: 0 0 1.5rem;
  color: var(--hvp-copper);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hv-moment-card h1 {
  max-width: 14ch;
  margin: 0 0 1.5rem;
  font-family: var(--hvp-serif);
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}
.hv-moment-card > p:not(.hv-moment-eyebrow) {
  max-width: 42rem;
  color: var(--hvp-ink-soft);
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  line-height: 1.7;
}
.hv-moment-card dl { display: grid; gap: 0; margin: 2.5rem 0; }
.hv-moment-card dl > div { display: grid; grid-template-columns: minmax(9rem, .4fr) 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--hvp-line); }
.hv-moment-card dl > div:last-child { border-bottom: 1px solid var(--hvp-line); }
.hv-moment-card dt { color: var(--hvp-ink-soft); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hv-moment-card dd { min-width: 0; margin: 0; color: var(--hvp-ink); font-family: var(--hvp-serif); font-size: 1rem; overflow-wrap: anywhere; }
.hv-moment-card form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.hv-moment-card label { color: var(--hvp-ink-soft); font-size: .74rem; font-weight: 700; }
.hv-moment-card select,
.hv-moment-card input:not([type="hidden"]) { min-height: 3.2rem; width: 100%; padding: .8rem 1rem; border: 1px solid var(--hvp-line); border-radius: 0; background: white; color: var(--hvp-ink); font: inherit; }
.hv-moment-card button { min-height: 3.2rem; width: fit-content; padding: .85rem 1.25rem; border: 1px solid var(--hvp-ink); border-radius: 0; background: var(--hvp-ink); color: white; font: 700 .78rem/1 var(--hvp-sans); letter-spacing: .03em; cursor: pointer; }
.hv-moment-card form + form button { border-color: var(--hvp-line); background: transparent; color: var(--hvp-ink); }
.hv-recovery-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 2.5rem; border-top: 1px solid var(--hvp-line); }
.hv-recovery-actions a { padding: 1.15rem 1rem 1.15rem 0; border-bottom: 1px solid var(--hvp-line); color: var(--hvp-ink); font-size: .78rem; font-weight: 700; text-underline-offset: .25rem; }
.hv-recovery-actions a:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--hvp-line); }
body.hv-constitution-document a { text-decoration-thickness: 1px; }

.hv-constitution {
  min-height: 100vh;
  background: var(--hvp-paper);
  color: var(--hvp-ink);
  font-family: var(--hvp-sans);
}
.hv-constitution__first-frame { min-height: 100vh; padding: 0 max(1.25rem, calc((100vw - 92rem) / 2)); background: radial-gradient(circle at 86% 12%, rgba(173,104,68,.08), transparent 30rem), var(--hvp-paper); }
.hv-constitution__nav { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hvp-line); }
.hv-constitution__brand { display: grid; grid-template-columns: 2.2rem auto; align-items: center; color: inherit; text-decoration: none; }
.hv-constitution__brand > span { grid-row: 1 / 3; display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--hvp-serif); font-size: 1rem; }
.hv-constitution__brand strong { font-size: .75rem; letter-spacing: .16em; }
.hv-constitution__brand em { color: var(--hvp-ink-soft); font-size: .64rem; font-style: normal; letter-spacing: .03em; }
.hv-constitution__nav > div { display: flex; align-items: center; gap: 1.5rem; color: var(--hvp-ink-soft); font-size: .72rem; }
.hv-constitution__nav a:not(.hv-constitution__brand) { color: inherit; text-decoration: none; }
.hv-constitution__opening { display: grid; grid-template-columns: minmax(12rem,.42fr) minmax(24rem,1fr); gap: 2rem; padding: clamp(4rem,9vw,8rem) 0 clamp(3rem,6vw,5.5rem); }
.hv-constitution__opening > p, .hv-constitution__answer article > span, .hv-constitution__answer article > div > span, .hv-constitution__proof-line article > span { margin: .5rem 0 0; color: var(--hvp-copper); font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hv-constitution__opening h1 { max-width: 16ch; margin: 0; font-family: var(--hvp-serif); font-size: clamp(3.2rem,7.3vw,7.4rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; text-wrap: balance; }
.hv-constitution__operating-line { grid-column: 2; display: flex; max-width: 42rem; align-items: center; gap: .7rem; margin-top: .2rem; color: var(--hvp-ink-soft); font-size: .86rem; }
.hv-constitution__operating-line i { width: .55rem; height: .55rem; flex: 0 0 auto; border-radius: 50%; background: #668375; box-shadow: 0 0 0 .3rem rgba(102,131,117,.12); }
.hv-constitution__operating-line[data-tone="degraded"] i { background: var(--hvp-copper); }
.hv-constitution__answer { display: grid; grid-template-columns: minmax(20rem,.62fr) minmax(30rem,1fr); gap: clamp(2rem,6vw,7rem); padding: clamp(2.5rem,5vw,5rem) 0; border-top: 1px solid var(--hvp-line); }
.hv-constitution__answer article { min-width: 0; }
.hv-constitution__attention > strong { display: block; max-width: 12ch; margin: 1.3rem 0; font-family: var(--hvp-serif); font-size: clamp(2.2rem,4vw,4.1rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hv-constitution__attention > p, .hv-constitution__handling > p { max-width: 38rem; color: var(--hvp-ink-soft); font-size: .88rem; line-height: 1.7; }
.hv-constitution__attention > a { display: inline-block; margin-top: 1.4rem; padding-bottom: .25rem; border-bottom: 1px solid currentColor; color: var(--hvp-ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.hv-constitution__handling > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.hv-constitution__handling > div strong { font-family: var(--hvp-serif); font-size: 1.5rem; font-weight: 400; }
.hv-constitution .hv-control__responsibilities { display: grid; gap: 0; margin: 2rem 0; padding: 0; list-style: none; }
.hv-constitution .hv-control__responsibilities li { display: grid; grid-template-columns: minmax(12rem,.8fr) auto minmax(16rem,1.2fr); gap: 1rem; align-items: baseline; padding: 1.25rem 0; border-top: 1px solid var(--hvp-line); background: transparent; box-shadow: none; }
.hv-constitution .hv-control__responsibilities li:last-child { border-bottom: 1px solid var(--hvp-line); }
.hv-constitution .hv-control__responsibilities strong { font-family: var(--hvp-serif); font-size: 1.08rem; font-weight: 500; }
.hv-constitution .hv-control__responsibilities span { color: var(--hvp-moss); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hv-constitution .hv-control__responsibilities p, .hv-constitution .hv-control__responsibilities small { grid-column: 3; margin: 0; color: var(--hvp-ink-soft); font-size: .72rem; line-height: 1.5; overflow-wrap: anywhere; }
.hv-constitution .hv-control__responsibilities small { color: #72807d; }
.hv-constitution__proof-line { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-top: 1px solid var(--hvp-line); }
.hv-constitution__proof-line article { min-width: 0; padding: 2rem 1.4rem 2.5rem 0; }
.hv-constitution__proof-line article { position: relative; }
.hv-constitution__proof-line article::before { position: absolute; top: -1px; right: 1.4rem; left: 0; height: 2px; content: ""; background: var(--hvp-navy); opacity: .45; }
.hv-constitution__proof-line article[data-tone="ready"]::before { background: var(--hvp-mint); opacity: 1; }
.hv-constitution__proof-line article[data-tone="held"]::before,
.hv-constitution__proof-line article[data-tone="degraded"]::before { background: var(--hvp-copper); opacity: 1; }
.hv-constitution__proof-line article[data-tone="unproved"]::before { background: var(--hvp-info); opacity: .7; }
.hv-constitution__proof-line article + article { padding-left: 1.4rem; border-left: 1px solid var(--hvp-line); }
.hv-constitution__proof-line article > strong { display: block; margin: .9rem 0 .7rem; font-family: var(--hvp-serif); font-size: 1.25rem; font-weight: 500; line-height: 1.08; overflow-wrap: anywhere; }
.hv-constitution__proof-line article > p { margin: 0 0 1rem; color: var(--hvp-ink-soft); font-size: .7rem; line-height: 1.55; overflow-wrap: anywhere; }
.hv-constitution__proof-line article > a { color: var(--hvp-ink); font-size: .7rem; font-weight: 700; text-underline-offset: .25rem; }
.hv-constitution__proof-line code { font-size: .66rem; overflow-wrap: anywhere; }
.hv-constitution__depth { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding: 2rem 0 3rem; border-top: 1px solid var(--hvp-line); }
.hv-constitution__depth span { flex-basis: 100%; color: var(--hvp-ink-soft); font-family: var(--hvp-serif); font-size: 1.15rem; }
.hv-constitution__depth a { color: var(--hvp-ink); font-size: .72rem; font-weight: 650; text-underline-offset: .25rem; }
.hv-constitution__depth::before { width: 2.7rem; height: 1px; flex: 0 0 auto; content: ""; background: linear-gradient(90deg,var(--hvp-navy),var(--hvp-copper)); }

/* One-person, one-purpose Moment — the same visual language, without portal furniture. */
.ho-owner-story { --owner-ink: var(--hvp-ink); --owner-muted: var(--hvp-ink-soft); --owner-paper: var(--hvp-paper); --owner-copper: var(--hvp-copper); background: var(--hvp-paper); color: var(--hvp-ink); font-family: var(--hvp-sans); }
.ho-owner-story__opening { position: relative; min-height: 72vh; padding: clamp(2rem,5vw,5rem) max(1.35rem,calc((100vw - 86rem)/2)); background: radial-gradient(circle at 78% 15%,rgba(173,104,68,.12),transparent 28rem),var(--hvp-paper); color: var(--hvp-ink); }
.ho-owner-story__opening::after { position: absolute; right: max(1.35rem,calc((100vw - 86rem)/2)); bottom: 0; left: max(1.35rem,calc((100vw - 86rem)/2)); height: 1px; content: ""; background: var(--hvp-line); }
.ho-owner-story__opening > a { margin-bottom: clamp(6rem,13vw,12rem); color: var(--hvp-ink-soft); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.ho-owner-story__opening > p { color: var(--hvp-copper); }
.ho-owner-story__opening h1 { max-width: 14ch; color: var(--hvp-ink); font-family: var(--hvp-serif); font-size: clamp(3.5rem,8vw,8.4rem); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.ho-owner-story__opening > span { max-width: 42rem; margin-left: min(30vw,24rem); color: var(--hvp-ink-soft); font-size: clamp(.95rem,1.4vw,1.15rem); }
.ho-owner-story__body { grid-template-columns: minmax(0,1fr) minmax(20rem,.48fr); max-width: 86rem; padding-top: clamp(4rem,8vw,8rem); }
.ho-owner-story__continuity h2 { max-width: 13ch; font-family: var(--hvp-serif); font-weight: 400; }
.ho-owner-story__continuity li strong { font-family: var(--hvp-serif); font-size: 1.05rem; font-weight: 500; }
.ho-owner-story__action { border: 0; border-top: 3px solid var(--hvp-copper); border-radius: 0; background: var(--hvp-surface); box-shadow: var(--hvp-shadow); }
.ho-owner-story__action h2 { font-family: var(--hvp-serif); font-weight: 400; }
.ho-owner-story__primary, .ho-owner-story__action form > button { border-radius: 0; background: var(--hvp-ink); }

@media (max-width: 980px) {
  .hv-constitution__proof-line { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hv-constitution__proof-line article { border-bottom: 1px solid var(--hvp-line); }
  .hv-constitution__proof-line article:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
	.hv-private-boundary { min-height: 4.5rem; }
	.hv-private-boundary > p { font-size: 0; }
	.hv-private-boundary > p::after { content: "Private"; font-size: .62rem; }
	.hv-private-footer { display: grid; gap: .4rem; }
	.hv-moment-shell { width: min(100% - 1.25rem, 54rem); padding: .625rem 0 2rem; }
	.hv-moment-card { min-height: calc(100vh - 1.25rem); padding: 1.5rem 1.15rem 2rem; box-shadow: none; }
	.hv-moment-card::after { width: 2.7rem; height: 2.7rem; font-size: 1rem; }
	.hv-moment-card h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
	.hv-moment-card dl > div { grid-template-columns: 1fr; gap: .4rem; }
	.hv-moment-card button { width: 100%; }
	.hv-recovery-actions { grid-template-columns: 1fr; }
	.hv-recovery-actions a:nth-child(even) { padding-left: 0; border-left: 0; }
  .hv-constitution__first-frame { padding-right: 1.1rem; padding-left: 1.1rem; }
  .hv-constitution__nav { min-height: 4.5rem; }
  .hv-constitution__nav > div > span, .hv-constitution__nav > div a:first-of-type { display: none; }
  .hv-constitution__opening, .hv-constitution__answer { grid-template-columns: 1fr; }
  .hv-constitution__opening { gap: 1.5rem; padding-top: 4rem; }
  .hv-constitution__opening h1 { font-size: clamp(3.2rem,15vw,5.2rem); }
  .hv-constitution__operating-line { grid-column: 1; }
  .hv-constitution__answer { gap: 4rem; }
  .hv-constitution__handling > div { display: grid; }
  .hv-constitution .hv-control__responsibilities li { grid-template-columns: 1fr; gap: .45rem; }
  .hv-constitution .hv-control__responsibilities p, .hv-constitution .hv-control__responsibilities small { grid-column: 1; }
  .hv-constitution__proof-line { grid-template-columns: 1fr; }
  .hv-constitution__proof-line article, .hv-constitution__proof-line article + article { padding: 1.6rem 0; border-left: 0; }
  .ho-owner-story__opening { min-height: 78vh; padding-top: 1.5rem; }
  .ho-owner-story__opening > a { margin-bottom: 7rem; }
  .ho-owner-story__opening h1 { font-size: clamp(3.4rem,16vw,5.4rem); }
  .ho-owner-story__opening > span { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .hv-constitution *, .ho-owner-story * { scroll-behavior: auto !important; transition: none !important; } }
