/* Dobromil Reserve — inaugural house styles */

:root {
  --obsidian: #110D0A;
  --mahogany: #1B1410;
  --mahogany-lift: #241C16;
  --gold: #C5A059;
  --gold-soft: #D4B36A;
  --gold-deep: #A8873E;
  --gold-line: rgba(197, 160, 89, 0.42);
  --gold-faint: rgba(197, 160, 89, 0.18);
  --parchment: #F3ECE0;
  --parchment-deep: #E7DDD0;
  --ink: #1B1410;
  --ink-soft: #3A2F27;
  --ivory: #F3ECE0;
  --ivory-dim: rgba(243, 236, 224, 0.74);
  --ivory-mute: rgba(243, 236, 224, 0.55);
  --header-h: 5.15rem;
  --measure: 40rem;
  --page: min(1120px, calc(100% - 5.5rem));
  --serif-display: "Cormorant Garamond", "Playfair Display", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  --serif-body: "EB Garamond", "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  --sans-label: "Cinzel", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  --sans-ui: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html:not(.age-ok) {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--serif-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold);
  color: var(--obsidian);
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--gold-soft);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--obsidian);
  padding: 0.6rem 1rem;
  font-family: var(--sans-label);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Subtle film grain */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ——— Typography helpers ——— */
.eyebrow {
  margin: 0 0 1.15rem;
  font-family: var(--sans-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
}

.display {
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.35rem 0 0;
  color: var(--gold);
}

.rule::before,
.rule::after {
  content: "";
  width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.7;
}

.rule::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.rule i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  display: block;
  flex: none;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.7rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--sans-label);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  color: var(--obsidian);
  text-decoration: none;
}

.btn-ghost {
  border-color: var(--gold-line);
  color: var(--ivory-dim);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold);
}

.btn-ink {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ink:hover,
.btn-ink:focus-visible {
  background: var(--ink);
  color: var(--parchment);
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(17, 13, 10, 0.92) 0%, rgba(17, 13, 10, 0.78) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-line);
}

.header-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ivory);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--ivory);
}

.crest {
  width: 2.55rem;
  height: 2.55rem;
  flex: none;
  display: block;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.wordmark-name {
  font-family: var(--sans-label);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
}

.wordmark-sub {
  font-family: var(--sans-label);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(243, 236, 224, 0.88);
  text-decoration: none;
  font-family: var(--sans-label);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  appearance: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle::before { top: 0.85rem; }
.nav-toggle span { top: 1.2rem; }
.nav-toggle::after { top: 1.55rem; }

body.nav-open .nav-toggle::before {
  top: 1.2rem;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::after {
  top: 1.2rem;
  transform: rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 3.55rem) 1.5rem 5.5rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 92%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(17, 13, 10, 0.15) 0%, rgba(17, 13, 10, 0.55) 70%, rgba(17, 13, 10, 0.86) 100%),
    linear-gradient(180deg, rgba(17, 13, 10, 0.55) 0%, rgba(17, 13, 10, 0.28) 38%, rgba(17, 13, 10, 0.72) 100%);
}

.hero-copy {
  text-align: center;
  max-width: 46rem;
  background: radial-gradient(ellipse at 50% 40%, rgba(17, 13, 10, 0.38) 0%, rgba(17, 13, 10, 0.12) 58%, transparent 74%);
}

.hero-copy .eyebrow {
  margin-bottom: 1.35rem;
}

.hero-copy h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 7.2vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ivory);
}

.hero-lead {
  margin: 1.55rem 0 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: 0.02em;
  color: var(--ivory);
  line-height: 1.35;
}

.hero-lead em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}

.hero-copy .rule {
  margin: 1.5rem auto 0;
}

.hero-copy .btn {
  margin-top: 2.15rem;
}

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--sans-label);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding: 5.25rem 0 5rem;
}

.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
  color: var(--ivory);
}

.section p {
  margin: 0 0 0.95rem;
  color: var(--ivory-dim);
  font-size: 1.12rem;
  max-width: var(--measure);
}

.section p:last-child {
  margin-bottom: 0;
}

#the-release,
#dobromil-capital,
#private-allocation {
  scroll-margin-top: calc(var(--header-h) - 1px);
  background: var(--obsidian);
}

#the-release {
  padding: 1.85rem 0 1.45rem;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(36, 28, 22, 0.9), transparent 55%),
    var(--obsidian);
}

.release-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.4rem;
  align-items: center;
}

.portrait {
  position: relative;
  padding: 0.7rem;
  border: 1px solid var(--gold-line);
  background: var(--mahogany);
}

.portrait img {
  width: 100%;
  height: auto;
  max-height: 19.5rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
}

.portrait-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  font-family: var(--sans-label);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Gold corner ornaments */
.ornamented {
  position: relative;
}

.ornamented::before,
.ornamented::after,
.ornamented .corners::before,
.ornamented .corners::after {
  content: "";
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.85;
}

.portrait::before { top: 0.28rem; left: 0.28rem; border-width: 1px 0 0 1px; }
.portrait::after { top: 0.28rem; right: 0.28rem; border-width: 1px 1px 0 0; }
.portrait .corners::before { bottom: 0.28rem; left: 0.28rem; border-width: 0 0 1px 1px; }
.portrait .corners::after { bottom: 0.28rem; right: 0.28rem; border-width: 0 1px 1px 0; }

.release-copy h2 {
  white-space: nowrap;
  font-size: clamp(2.15rem, 3.2vw, 3.05rem);
}

.release-copy .eyebrow {
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.release-copy .btn {
  margin-top: 1.1rem;
}

.release-kicker {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-soft);
  margin: -0.35rem 0 0.95rem;
}

.profile-row {
  margin: 0 0 1.05rem;
  padding: 0;
}

.profile-row div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0;
  padding: 0.48rem 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.profile-row dt {
  margin: 0;
  font-family: var(--sans-label);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.profile-row dd {
  margin: 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

/* ——— The House (parchment) ——— */
#the-house {
  scroll-margin-top: calc(var(--header-h) - 1px);
  background: var(--parchment);
  color: var(--ink);
  padding: 2.2rem 0 2.3rem;
}

#the-house h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.1vw, 2.65rem);
  margin-bottom: 0.7rem;
}

#the-house p {
  color: var(--ink-soft);
  max-width: 42rem;
  margin-bottom: 0.9rem;
  font-size: 1.12rem;
}

#the-house .eyebrow {
  color: var(--gold-deep);
}

.house-inner {
  width: var(--page);
  margin: 0 auto;
  position: relative;
  padding: 1.55rem 2.35rem 1.45rem;
  border: 1px solid rgba(27, 20, 16, 0.18);
  background:
    linear-gradient(180deg, rgba(243, 236, 224, 0.5), rgba(231, 221, 208, 0.35));
}

.house-inner::before,
.house-inner::after,
.house-inner .corners::before,
.house-inner .corners::after {
  content: "";
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border-color: var(--gold-deep);
  border-style: solid;
  opacity: 0.8;
}

.house-inner::before { top: 0.55rem; left: 0.55rem; border-width: 1px 0 0 1px; }
.house-inner::after { top: 0.55rem; right: 0.55rem; border-width: 1px 1px 0 0; }
.house-inner .corners::before { bottom: 0.55rem; left: 0.55rem; border-width: 0 0 1px 1px; }
.house-inner .corners::after { bottom: 0.55rem; right: 0.55rem; border-width: 0 1px 1px 0; }

.house-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.virtues {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.virtues li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-family: var(--sans-label);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 1px solid rgba(27, 20, 16, 0.14);
  padding-top: 0.85rem;
}

.virtues li:first-child {
  border-top: 0;
  padding-top: 0;
}

.virtues li span {
  color: var(--gold-deep);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

/* ——— Capital ——— */
.capital-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 3.5rem;
  align-items: start;
  padding-top: 0.2rem;
  border-top: 1px solid var(--gold-faint);
}

#dobromil-capital {
  padding-top: 3.35rem;
  padding-bottom: 2.9rem;
}

.capital-sign {
  margin: 1.6rem 0 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ivory);
}

.capital-sign a {
  color: var(--gold);
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}

.capital-sign a:hover {
  border-bottom-color: var(--gold);
}

.nobr {
  white-space: nowrap;
}

body.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-404 .page-empty {
  flex: 1 1 auto;
  min-height: 0;
}

/* ——— Allocation ——— */
#private-allocation {
  background:
    linear-gradient(180deg, var(--obsidian), var(--mahogany));
  padding-top: 3.4rem;
  padding-bottom: 3.3rem;
}

.allocation-wrap {
  width: min(40rem, var(--page));
  margin: 0 auto;
  text-align: center;
}

.allocation-wrap p {
  margin-left: auto;
  margin-right: auto;
}

.allocation-panel {
  margin-top: 2.2rem;
  padding: 2.1rem 2.1rem 1.9rem;
  border: 1px solid var(--gold-line);
  background: rgba(17, 13, 10, 0.55);
  text-align: left;
  position: relative;
}

.allocation-panel::before,
.allocation-panel::after,
.allocation-panel .corners::before,
.allocation-panel .corners::after {
  content: "";
  position: absolute;
  width: 0.95rem;
  height: 0.95rem;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.8;
}

.allocation-panel::before { top: 0.35rem; left: 0.35rem; border-width: 1px 0 0 1px; }
.allocation-panel::after { top: 0.35rem; right: 0.35rem; border-width: 1px 1px 0 0; }
.allocation-panel .corners::before { bottom: 0.35rem; left: 0.35rem; border-width: 0 0 1px 1px; }
.allocation-panel .corners::after { bottom: 0.35rem; right: 0.35rem; border-width: 0 1px 1px 0; }

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--sans-label);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.15rem 0.55rem;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--serif-body);
  font-size: 1.1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-row textarea {
  min-height: 6.2rem;
  resize: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ivory-mute);
  font-style: italic;
}

.form-row input:focus,
.form-row textarea:focus {
  border-bottom-color: var(--gold);
}

.form-note {
  margin: 0.35rem 0 1.3rem;
  font-size: 0.98rem;
  color: var(--ivory-mute);
  font-style: italic;
}

.allocation-panel .btn {
  width: 100%;
}

.thanks {
  text-align: center;
  padding: 1.2rem 0.5rem 0.6rem;
}

.thanks h3 {
  margin: 0 0 0.8rem;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--ivory);
}

.thanks p {
  margin: 0 auto;
}

.is-hidden {
  display: none !important;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--obsidian);
  border-top: 1px solid var(--gold-line);
  padding: 1.7rem 0 1.85rem;
  color: var(--ivory-mute);
  text-align: center;
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 0.7rem;
  font-family: var(--sans-label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer p {
  margin: 0 auto 0.45rem;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ivory-mute);
}

.copyright {
  margin-top: 0.7rem !important;
  font-family: var(--sans-label);
  font-size: 0.58rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

/* ——— Age gate ——— */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(27, 20, 16, 0.2), rgba(17, 13, 10, 0.94) 68%),
    var(--obsidian);
}

html.age-ok .age-gate {
  display: none !important;
}

.age-panel {
  width: min(32rem, 100%);
  text-align: center;
  padding: 2.4rem 2rem 2.1rem;
  border: 1px solid var(--gold-line);
  background: rgba(17, 13, 10, 0.72);
  position: relative;
}

.age-panel::before,
.age-panel::after,
.age-panel .corners::before,
.age-panel .corners::after {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-color: var(--gold);
  border-style: solid;
}

.age-panel::before { top: 0.4rem; left: 0.4rem; border-width: 1px 0 0 1px; }
.age-panel::after { top: 0.4rem; right: 0.4rem; border-width: 1px 1px 0 0; }
.age-panel .corners::before { bottom: 0.4rem; left: 0.4rem; border-width: 0 0 1px 1px; }
.age-panel .corners::after { bottom: 0.4rem; right: 0.4rem; border-width: 0 1px 1px 0; }

.age-panel .crest {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1.15rem;
}

.age-panel h2 {
  margin: 0 0 1rem;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: var(--ivory);
}

.age-panel p {
  margin: 0 auto 1.1rem;
  max-width: 26rem;
  color: var(--ivory-dim);
  font-size: 1.08rem;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0 1.1rem;
}

.age-legal {
  margin: 0 !important;
  font-family: var(--sans-label) !important;
  font-size: 0.55rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute) !important;
}

/* ——— 404 ——— */
.page-empty {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  text-align: center;
}

.page-empty h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.2rem);
  margin: 0 0 1rem;
  line-height: 0.95;
}

.page-empty p {
  color: var(--ivory-dim);
  max-width: 28rem;
  margin: 0 auto 1.8rem;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  :root { --page: min(1120px, calc(100% - 3rem)); }
  .release-copy h2,
  .release-copy .eyebrow { white-space: normal; }

  .release-grid,
  .house-layout,
  .capital-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .house-inner {
    padding: 2rem 1.5rem 1.8rem;
  }

  .virtues {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .virtues li {
    flex: 1 1 8rem;
    border-top: 0;
    border-left: 1px solid rgba(27, 20, 16, 0.14);
    padding: 0 0 0 1rem;
    margin: 0;
  }

  .virtues li:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 820px) {
  :root { --header-h: 4.5rem; }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(17, 13, 10, 0.97);
    border-bottom: 1px solid var(--gold-line);
    padding: 0.6rem 0 1rem;
  }

  body.nav-open .nav { display: flex; }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .wordmark-sub { display: none; }

  .hero { padding-bottom: 4.2rem; }

  .section { padding: 3.6rem 0 3.4rem; }

  #the-house { padding: 3.2rem 0; }

  .allocation-panel { padding: 1.5rem 1.2rem 1.4rem; }

  .age-actions { flex-direction: column; }
  .age-actions .btn { width: 100%; }
}

@media (max-width: 560px) {
  :root { --page: min(1120px, calc(100% - 2rem)); }

  .hero-copy h1 { letter-spacing: 0.01em; }

  .virtues {
    flex-direction: column;
  }

  .virtues li {
    border-left: 0;
    border-top: 1px solid rgba(27, 20, 16, 0.14);
    padding: 0.75rem 0 0;
    margin: 0;
  }

  .virtues li:first-child { border-top: 0; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* Screenshot framing helper: used only with ?shot=product */
html.shot-product .hero,
html.shot-product #dobromil-capital,
html.shot-product #private-allocation,
html.shot-product .site-footer {
  display: none !important;
}
html.shot-product main {
  padding-top: var(--header-h);
}

html.shot-lower .hero,
html.shot-lower #the-release,
html.shot-lower #the-house {
  display: none !important;
}
html.shot-lower main {
  padding-top: var(--header-h);
}

html.shot-form .hero,
html.shot-form #the-release,
html.shot-form #the-house,
html.shot-form #dobromil-capital {
  display: none !important;
}
html.shot-form main { padding-top: var(--header-h); }
