/* Typography and spacing from renkavia.com's public design system, 10 Nov 2026.
   One scale for the full landing; the vertical VSL layout remains unchanged. */
@font-face { font-family: Kalivo; src: url('assets/brand/kalivo-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Kalivo; src: url('assets/brand/kalivo-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('assets/brand/cormorant-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('assets/brand/cormorant-semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --paper: #f7f5ef;
  --light: #fffdf8;
  --sand: #e9e1d5;
  --gold: #c5b08d;
  --gold-dark: #745d3b;
  --ink: #34342f;
  --muted: #65645b;
  --line: #c6bfb2;
  --focus: #725a36;
  --error: #8a3735;
  --font-body: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --text-caption: .8125rem;
  --text-small: .9375rem;
  --text-body: 1rem;
  --text-lead: clamp(1.125rem, 1.05rem + .35vw, 1.375rem);
  --heading: clamp(2.5rem, 1.85rem + 2vw, 4.25rem);
  --heading-small: clamp(1.875rem, 1.6rem + .8vw, 2.5rem);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --container: 78rem;
  --reading: 39rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4rem, 7.5vw, 7.5rem);
  --radius: .1875rem;
  --sticky-clearance: 9rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: calc(var(--sticky-clearance) + 1.5rem); }
body { margin: 0; padding-bottom: var(--sticky-clearance); background: var(--paper); color: var(--ink); font: var(--text-body)/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
h2 { font-size: var(--heading); line-height: 1.08; letter-spacing: -.025em; }
p, li { overflow-wrap: break-word; }
em { font: inherit; color: var(--gold-dark); }
strong, b { font-weight: 600; }
a { color: inherit; text-underline-offset: .25em; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
:where(button, a, input, select, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: 2rem; }
[hidden] { display: none !important; }
::selection { background: var(--sand); color: var(--ink); }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--light); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: block; color: var(--gold-dark); font-size: var(--text-caption); font-weight: 600; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.quiet { color: var(--muted); font-size: var(--text-small); }

/* Brand and hero */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 6rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); min-width: 0; text-decoration: none; }
.brand img { width: 3.68rem; height: 3.68rem; flex: none; object-fit: contain; }
.brand-type { min-width: 0; font-family: Kalivo, Arial, sans-serif; font-size: 1.76rem; font-weight: 500; line-height: 1.2; letter-spacing: .12em; }
.brand-type sup { font-size: .5em; letter-spacing: 0; vertical-align: super; margin-left: .04em; }
.brand-type small { display: block; margin-top: var(--space-2); font-family: var(--font-body); font-size: var(--text-caption); font-weight: 400; line-height: 1.5; letter-spacing: .04em; }
.location { display: flex; align-items: center; gap: var(--space-2); color: var(--muted); font-size: var(--text-caption); }
.location-dot { width: .375rem; height: .375rem; flex: none; border-radius: 50%; background: var(--gold-dark); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 21.375rem); grid-template-areas: 'copy video' 'action video' 'steps steps'; column-gap: clamp(2rem, 6vw, 6rem); padding-block: var(--space-12) var(--section-space); }
.hero-copy { grid-area: copy; align-self: end; min-width: 0; }
.hero h1 { max-width: 11em; margin-block: var(--space-6); font-size: clamp(3.5rem, 4.7vw, 5.5rem); font-weight: 400; line-height: .99; letter-spacing: -.035em; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: var(--space-3); }
.hero-copy .eyebrow span { display: block; width: var(--space-6); height: 1px; background: var(--gold); }
.price { white-space: nowrap; }
.subheadline { color: var(--muted); font-size: var(--text-lead); line-height: 1.6; }
.hero-video { grid-area: video; align-self: center; justify-self: center; width: 100%; max-width: 21.375rem; }
.video-frame { width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-video figcaption { margin-top: var(--space-3); text-align: center; color: var(--muted); font-size: var(--text-caption); }
.hero-action { grid-area: action; align-self: start; min-width: 0; margin-top: var(--space-8); }
.hero-note { max-width: var(--reading); margin-top: var(--space-4); }
.steps { grid-area: steps; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 2rem 1fr; align-items: start; gap: 1.25rem; }
.step-number { padding-top: .125rem; color: var(--gold-dark); font-size: var(--text-caption); letter-spacing: .08em; }
.step p { color: var(--muted); font-size: var(--text-body); line-height: 1.65; }
.step strong { display: block; margin-bottom: var(--space-2); color: var(--ink); font-size: var(--text-body); }
.step-bonus { display: block; margin-top: var(--space-4); }

/* Shared buttons: one size and rhythm across the page */
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-6); min-width: 0; min-height: 3rem; max-width: 100%; padding: .75rem 1.375rem; border: 1px solid transparent; border-radius: var(--radius); font-size: var(--text-small); font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .16s, border-color .16s, color .16s; }
.primary { background: var(--ink); color: var(--light); }
.primary:hover { background: #5e4b2f; }
.outline { border-color: var(--gold-dark); background: transparent; color: var(--ink); }
.outline:hover { background: var(--sand); }
.button:disabled, .button[aria-disabled='true'] { border-color: var(--line); background: var(--sand); color: var(--muted); cursor: not-allowed; }
.cta-copy { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; overflow-wrap: break-word; }
.cta-copy strong { font-size: inherit; font-weight: 500; line-height: 1.4; }
.cta-copy small { font-size: var(--text-caption); font-weight: 400; line-height: 1.5; }
.cta-arrow { flex: none; font-size: 1.125rem; line-height: 1; }
.hero-cta { width: min(100%, 32rem); }
.gallery-cta { display: flex; width: fit-content; margin: var(--space-8) auto 0; }

/* Results stay full width, with the original photos uncropped */
.results-section { padding-block: var(--section-space); border-block: 1px solid var(--line); background: var(--light); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-8); }
.section-heading h2 { margin-top: var(--space-4); }
.gallery-count { flex: none; color: var(--muted); font-size: var(--text-small); }
.gallery-count b { font-weight: 500; }
.gallery-notice { max-width: var(--reading); margin-block: var(--space-4) var(--space-12); color: var(--muted); font-size: var(--text-small); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); width: 100%; max-width: 56.25rem; margin-inline: auto; }
.result-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.result-image-button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; }
.result-image-button img { width: 100%; height: auto; object-fit: contain; }
.result-image-button::after { content: '↗'; position: absolute; right: var(--space-3); bottom: var(--space-3); display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--light); color: var(--ink); }
.result-card figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2) var(--space-4); padding: var(--space-4) var(--space-6); color: var(--muted); font-size: var(--text-caption); }
.result-card figcaption span { color: var(--gold-dark); letter-spacing: .08em; }
.result-card figcaption a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.gallery-footnote { margin-top: var(--space-6); color: var(--muted); font-size: var(--text-caption); text-align: center; }

/* Application and shared field styles */
.application-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); padding-block: var(--section-space); }
.application-intro h2 { margin-block: var(--space-4) var(--space-6); }
.application-intro > p:not(.eyebrow) { max-width: var(--reading); color: var(--muted); }
.invitation-card { max-width: 25rem; margin-block: var(--space-8) var(--space-4); padding: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius); background: var(--sand); text-align: center; }
.invitation-card img { width: 3rem; margin: 0 auto var(--space-4); }
.invitation-card > span { display: block; color: var(--gold-dark); font-size: var(--text-caption); letter-spacing: .15em; line-height: 1.5; }
.invitation-card strong { display: block; margin-top: var(--space-4); font-family: var(--font-display); font-size: var(--heading-small); font-weight: 400; line-height: 1.15; }
.invitation-card strong em { font-size: var(--heading); }
.invitation-card p { margin-block: var(--space-2) var(--space-6); font-size: var(--text-small); }
.invitation-card > div { border-top: 1px solid var(--line); padding-top: var(--space-4); color: var(--gold-dark); font-size: var(--text-caption); letter-spacing: .08em; }
.form-shell { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--light); }
.form-heading { margin-bottom: var(--space-8); }
.form-heading > p { margin-top: var(--space-4); font-family: var(--font-display); font-size: var(--heading-small); font-weight: 400; line-height: 1.15; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .yes-no-field legend { display: block; width: 100%; margin-bottom: var(--space-2); padding: 0; color: var(--ink); font-size: var(--text-small); font-weight: 500; line-height: 1.65; }
.field input, .field textarea, .field select { width: 100%; min-height: 3.25rem; padding: .875rem 1rem; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--light); color: var(--ink); font-size: var(--text-body); line-height: 1.5; }
.field textarea { min-height: 6rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .field select:invalid { color: var(--muted); opacity: 1; }
.field input:disabled, .field textarea:disabled, .field select:disabled { background: var(--sand); }
.yes-no-field { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.yes-no-options { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field label.radio-option { display: flex; align-items: center; gap: var(--space-3); min-height: 3.25rem; margin: 0; padding: .875rem 1rem; border: 1px solid var(--muted); border-radius: var(--radius); background: var(--light); cursor: pointer; }
.field .radio-option input { flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; min-height: 0; margin: 0; padding: 0; accent-color: var(--gold-dark); }
.radio-option:has(input:checked) { border-color: var(--gold-dark); background: var(--sand); }
.consents { display: grid; gap: var(--space-4); margin-top: var(--space-8); border-top: 1px solid var(--line); padding-top: var(--space-6); }
.checkbox-label { display: flex; align-items: flex-start; gap: var(--space-3); min-height: 2.75rem; color: var(--muted); font-size: var(--text-small); line-height: 1.65; cursor: pointer; }
.checkbox-label input { flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; margin: .2rem 0 0; accent-color: var(--gold-dark); }
.checkbox-label a { color: var(--gold-dark); }
.form-submit { width: 100%; margin-top: var(--space-6); }
.form-error { margin-top: var(--space-4); color: var(--error); font-size: var(--text-small); }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.application-form[aria-busy='true'] .form-submit { cursor: wait; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); padding-block: var(--space-8); border-top: 1px solid var(--line); }
.footer-brand img { width: 2.875rem; height: 2.875rem; }
.footer-brand .brand-type { font-size: 1.375rem; }
.site-footer > div:last-child { color: var(--muted); font-size: var(--text-caption); text-align: right; }
.site-footer > div:last-child span { display: block; margin-top: var(--space-2); }

/* Countdown and dialogs use the same text sizes as the rest of the landing */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; padding: var(--space-4) var(--gutter) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--light); }
.sticky-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(16rem, 24rem); align-items: center; gap: var(--space-8); max-width: var(--container); margin-inline: auto; }
.countdown-block { min-width: 0; }
.expires-label { display: block; margin-bottom: var(--space-2); color: var(--gold); font-size: var(--text-caption); line-height: 1.5; letter-spacing: .15em; }
.countdown { display: flex; align-items: flex-start; gap: var(--space-2); font-variant-numeric: tabular-nums; }
.countdown > span { display: flex; flex-direction: column; align-items: center; min-width: 2rem; }
.countdown b { font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.countdown small { margin-top: var(--space-1); color: var(--sand); font-size: var(--text-caption); line-height: 1.5; }
.countdown i { color: var(--gold); font-size: 1.5rem; font-style: normal; line-height: 1.15; }
.sticky-copy { color: var(--sand); font-size: var(--text-small); }
.sticky-copy br { display: none; }
.sticky-cta { width: 100%; border-color: var(--gold); background: var(--light); color: var(--ink); }
.sticky-cta:hover { background: var(--sand); color: var(--ink); }
.sticky-bar.expired .countdown { opacity: .5; }
dialog { max-height: calc(100dvh - 2.5rem); padding: var(--space-8); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); background: var(--light); color: var(--ink); box-shadow: 0 30px 100px #34342f33; }
dialog::backdrop { background: #34342fb0; backdrop-filter: blur(5px); }
.form-dialog, .success-dialog { width: min(42rem, calc(100% - 2.5rem)); }
.close-dialog { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--light); color: var(--ink); font-size: 1.5rem; line-height: 1; }
.dialog-header { margin-bottom: var(--space-8); padding-right: var(--space-8); }
.dialog-header h2 { margin-block: var(--space-4); }
.dialog-header > p:last-child { color: var(--muted); font-size: var(--text-body); }
.success-dialog { padding-block: var(--space-12) var(--space-8); text-align: center; }
.success-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto var(--space-6); border: 1px solid var(--line); color: var(--gold-dark); font-size: 1.5rem; }
.success-dialog h2 { margin-block: var(--space-4) var(--space-6); }
.success-dialog > p:not(.eyebrow) { color: var(--muted); }
.success-close { width: 100%; margin-top: var(--space-8); }
.image-dialog { width: min(72rem, calc(100% - 2.5rem)); padding: var(--space-16) var(--space-6) var(--space-6); }
.image-dialog > img { width: 100%; max-height: calc(100dvh - 12rem); object-fit: contain; }
.lightbox-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-4); color: var(--muted); font-size: var(--text-caption); }
.lightbox-caption a { flex: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.noscript { position: fixed; bottom: var(--sticky-clearance); left: 0; right: 0; z-index: 30; padding: var(--space-4); background: var(--sand); text-align: center; }

@media (max-width: 63.99rem) {
  .hero h1 { font-size: clamp(3rem, 5.7vw, 4rem); }
  .sticky-inner { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-6); }
  .sticky-copy { display: none; }
}
@media (max-width: 56.1875rem) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'video' 'action' 'steps'; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero h1 { max-width: 39rem; margin-inline: auto; }
  .hero-video { width: min(100%, 20.375rem); margin-top: var(--space-8); }
  .hero-video figcaption { display: none; }
  .hero-action { margin-top: var(--space-4); }
  .hero-note { margin-inline: auto; }
  .steps { text-align: left; }
  .application-section { grid-template-columns: minmax(0, 1fr); max-width: 45rem; gap: var(--space-12); }
  .invitation-card { max-width: 100%; }
}
@media (max-width: 47.99rem) {
  :root { --sticky-clearance: 12rem; }
  .site-header { min-height: 5rem; flex-wrap: wrap; justify-content: center; gap: var(--space-3); padding-block: var(--space-4); }
  .brand img { width: 2.88rem; height: 2.88rem; }
  .brand-type { font-size: 1.44rem; }
  .brand-type small { max-width: 14rem; letter-spacing: 0; }
  .location { width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-cta { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: var(--space-8); }
  .section-heading { align-items: start; flex-direction: column; gap: var(--space-4); }
  .gallery-notice { margin-bottom: var(--space-8); }
  .result-card figcaption { padding-inline: var(--space-4); }
  .site-footer { align-items: start; flex-direction: column; }
  .site-footer > div:last-child { text-align: left; }
  .sticky-inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .countdown-block { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
  .expires-label { margin: 0; }
  .countdown b, .countdown i { font-size: 1.25rem; }
  .sticky-cta { min-height: 3.25rem; }
  .sticky-cta .cta-copy { gap: 0; }
  .form-dialog, .success-dialog { padding-inline: var(--space-6); }
}
@media (max-width: 24rem) {
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .button { gap: var(--space-4); }
  .brand-type { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .button, .field input, .field select, .field textarea { border: 1px solid ButtonText; }
}
