:root {
  --paper: #f5f0e8;
  --text: #1c1b17;
  --muted: #6c665c;
  --rule: #d8cfbf;
  --field: #fdfaf5;
  --cream: #fff5df;
  --night: #1c1b17;
  --red: #e74436;
  --error: #b3261e;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: 'DM Sans', Arial, sans-serif; font-size: 15px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--paper); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Header */
.dmv-header { position: sticky; top: 0; z-index: 5; background: var(--paper); min-height: 68px; padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule); }
.dmv-wordmark { font-family: 'DM Serif Display', Georgia, serif; font-size: 21px; line-height: 1.15; font-weight: 400; text-decoration: none; }
.dmv-header nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 500; }
.dmv-header nav a { text-decoration: none; padding: 10px 0; white-space: nowrap; }
.dmv-header-cta { border-bottom: 1px solid currentColor; }
.dmv-short { display: none; }

/* Hero */
.dmv-hero { height: min(640px, calc(100svh - 68px)); min-height: 520px; position: relative; color: var(--cream); background: var(--night); }
.dmv-hero--split { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.dmv-hero--split > .dmv-hero-photo { height: 100%; min-height: 0; }
.dmv-hero-copy { padding: 38px 44px 38px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; z-index: 1; min-width: 0; }
.dmv-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.dmv-hero .dmv-eyebrow { margin-bottom: 22px; }
.dmv-hero h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(43px, 5.6vw, 76px); line-height: .94; letter-spacing: -.025em; font-weight: 400; }
.dmv-hero h1 span, .dmv-hero h1 em { display: block; }
.dmv-hero h1 em { color: var(--red); font-weight: 400; margin: 5px 0 8px; }
.dmv-hero-intro { margin-top: 25px !important; font-size: 15px; line-height: 1.6; }
.dmv-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; display: block; min-width: 0; }
.dmv-hero--cinema { isolation: isolate; overflow: hidden; }
.dmv-hero--cinema .dmv-hero-photo { position: absolute; inset: 0; object-position: center 50%; z-index: -2; }
.dmv-hero--cinema::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,14,11,.72), rgba(12,14,11,.38) 60%, rgba(12,14,11,.08)); }
.dmv-hero--cinema .dmv-hero-copy { width: 62%; height: 100%; padding-left: 48px; }
.dmv-hero--cinema h1 { font-size: clamp(48px, 7vw, 92px); }

/* Buttons */
.dmv-action { font: 500 12px/1.4 'DM Sans', Arial, sans-serif; text-transform: uppercase; letter-spacing: .065em; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 16px 21px; min-height: 48px; border: 1px solid transparent; border-radius: 0; text-decoration: none; cursor: pointer; }
.dmv-action--light { background: var(--cream); color: var(--night); margin-top: 25px; }
.dmv-action--light:hover { background: #fff; }
.dmv-action--dark { background: var(--text); color: var(--paper); }
.dmv-action--dark:hover { background: #000; }
.dmv-action[disabled] { opacity: .6; cursor: progress; }

/* Sections */
.dmv-section { padding: 56px 40px; max-width: 1360px; margin: 0 auto; }
.dmv-section h2 { font: 400 38px/1.08 'DM Serif Display', Georgia, serif; letter-spacing: -.02em; }
.dmv-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dmv-section-heading .dmv-eyebrow { color: var(--muted); margin-bottom: 11px; }
.dmv-section-heading > p { font-size: 13px; color: var(--muted); max-width: 250px; }

.dmv-venue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.dmv-venue { min-width: 0; }
.dmv-venue-photo { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 55%; background: var(--rule); }
.dmv-sapiegos-photo { object-position: center 76%; }
.dmv-venue-copy { padding: 19px 0 0; }
.dmv-venue h3 { font: 400 27px/1.12 'DM Serif Display', Georgia, serif; letter-spacing: -.015em; }
.dmv-venue p { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 43px; }
.dmv-venue .dmv-address { margin-top: 4px; min-height: 0; font-size: 12px; }
.dmv-venue-select { font: 500 12px/1.5 'DM Sans', Arial, sans-serif; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--text); padding: 10px 0 7px; margin-top: 9px; min-height: 44px; text-align: left; border-radius: 0; cursor: pointer; }
.dmv-venue-select span { padding-left: 10px; }
.dmv-venue[data-selected="true"] .dmv-venue-select { border-color: var(--red); border-bottom-width: 2px; }

.dmv-offer-wrap { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dmv-offer { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-top: 36px; padding-bottom: 36px; }
.dmv-offer h2 { font-size: 30px; }
.dmv-offer em { font-weight: 400; }
.dmv-offer > p { font-size: 15px; color: var(--muted); max-width: 520px; }

/* Enquiry */
.dmv-enquiry { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; scroll-margin-top: 68px; }
.dmv-enquiry-intro .dmv-eyebrow { margin-bottom: 16px; color: var(--muted); }
.dmv-enquiry-intro > p:not(.dmv-eyebrow) { margin-top: 20px; font-size: 15px; }
.dmv-enquiry-intro .dmv-reassurance { color: var(--muted); font-size: 13px !important; max-width: 290px; margin-top: 32px !important; }
.dmv-form { display: flex; flex-direction: column; gap: 17px; min-width: 0; }
.dmv-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dmv-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dmv-field label { font-size: 12px; font-weight: 500; }
.dmv-field label span { font-weight: 400; color: var(--muted); }
.dmv-form input:not([type="checkbox"]), .dmv-form select, .dmv-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid var(--rule); border-radius: 0; padding: 11px 12px; min-height: 46px; background: var(--field); color: var(--text); font: 400 16px/1.4 'DM Sans', Arial, sans-serif; -webkit-appearance: none; appearance: none; }
.dmv-form select { padding-right: 34px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.dmv-form input[type="date"], .dmv-form input[type="time"] { min-height: 46px; }
.dmv-form textarea { resize: vertical; min-height: 104px; }
.dmv-form input:focus, .dmv-form select:focus, .dmv-form textarea:focus { outline: none; border-color: var(--text); }
.dmv-form [aria-invalid="true"] { border-color: var(--error) !important; }
.dmv-error-text { color: var(--error); font-size: 12px; min-height: 0; }
.dmv-error-text:empty { display: none; }
.dmv-flexible { display: flex; min-height: 28px; gap: 10px; align-items: center; font-size: 13px; cursor: pointer; }
.dmv-flexible input { width: 18px; height: 18px; margin: 0; accent-color: var(--text); }
.dmv-venue-hint { color: var(--muted); font-size: 12px; margin-top: -9px !important; min-height: 20px; }
.dmv-submit { width: 100%; }
.dmv-consent { font-size: 12px; color: var(--muted); }
.dmv-consent a { text-underline-offset: 2px; }
.dmv-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dmv-status { font-size: 14px; border-top: 1px solid var(--rule); padding-top: 14px; }
.dmv-status[hidden] { display: none; }
.dmv-status strong { display: block; font: 400 24px/1.15 'DM Serif Display', Georgia, serif; margin-bottom: 6px; }
.dmv-status--error { color: var(--error); border-top-color: var(--error); }
.dmv-status--error a { color: var(--error); }
.dmv-sent .dmv-form-body { display: none; }

/* Contacts / footer */
.dmv-contacts { border-top: 1px solid var(--rule); }
.dmv-contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; font-size: 13px; }
.dmv-contact-grid h3 { font: 400 20px/1.2 'DM Serif Display', Georgia, serif; margin-bottom: 8px; }
.dmv-contact-grid p { color: var(--muted); }
.dmv-contact-grid a { text-underline-offset: 2px; color: var(--text); }
.dmv-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 27px 40px; border-top: 1px solid var(--rule); }
.dmv-footer .dmv-wordmark { font-size: 18px; }
.dmv-footer p, .dmv-footer nav { font-size: 12px; color: var(--muted); }
.dmv-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.dmv-footer nav a { text-underline-offset: 2px; }
.dmv-footer > span { font-size: 11px; letter-spacing: .07em; }

/* Simple text pages */
.dmv-text { max-width: 720px; }
.dmv-text h1 { font: 400 44px/1.05 'DM Serif Display', Georgia, serif; letter-spacing: -.02em; margin-bottom: 24px; }
.dmv-text h2 { font-size: 24px !important; margin: 32px 0 10px; }
.dmv-text p, .dmv-text li { font-size: 15px; margin-bottom: 10px; }

@media (max-width: 900px) {
  .dmv-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .dmv-header { padding: 14px 20px; gap: 14px; min-height: 60px; }
  .dmv-wordmark { font-size: 18px; }
  .dmv-header nav { gap: 15px; }
  .dmv-header nav > a:first-child { display: none; }
  .dmv-long { display: none; }
  .dmv-short { display: inline; }
  .dmv-hero { height: auto; min-height: 0; }
  .dmv-hero--split { grid-template-columns: 1fr; grid-template-rows: auto 320px; }
  .dmv-hero-copy { padding: 34px 24px 36px; }
  .dmv-hero h1 { font-size: clamp(44px, 13.5vw, 64px); }
  .dmv-hero .dmv-eyebrow { margin-bottom: 18px; }
  .dmv-hero-intro { margin-top: 22px !important; font-size: 14px; }
  .dmv-action--light { margin-top: 22px; }
  .dmv-hero--cinema { min-height: 640px; }
  .dmv-hero--cinema .dmv-hero-copy { width: 100%; padding: 36px 24px; justify-content: flex-start; height: auto; }
  .dmv-hero--cinema h1 { font-size: clamp(48px, 14vw, 72px); }
  .dmv-hero--cinema::after { background: linear-gradient(180deg, rgba(12,14,11,.74), rgba(12,14,11,.38) 70%, rgba(12,14,11,.12)); }
  .dmv-section { padding: 38px 20px; }
  .dmv-section h2 { font-size: 33px; }
  .dmv-section-heading { display: block; margin-bottom: 25px; }
  .dmv-section-heading > p { margin-top: 16px; }
  .dmv-venue-grid { grid-template-columns: 1fr; gap: 34px; }
  .dmv-venue-photo { aspect-ratio: 3/2; }
  .dmv-venue p { min-height: 0; font-size: 14px; }
  .dmv-offer { grid-template-columns: 1fr; gap: 20px; }
  .dmv-offer h2 { font-size: 30px; }
  .dmv-enquiry { grid-template-columns: 1fr; gap: 28px; scroll-margin-top: 60px; }
  .dmv-enquiry-intro .dmv-reassurance { max-width: none; margin-top: 18px !important; }
  .dmv-form-row { grid-template-columns: 1fr; gap: 17px; }
  .dmv-field label { font-size: 13px; }
  .dmv-contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .dmv-footer { padding: 25px 20px; display: block; }
  .dmv-footer p, .dmv-footer nav { margin: 12px 0; }
  .dmv-text h1 { font-size: 36px; }
}

/* Secondary venues (Jasinskio 2, Ogmia): horizontal cards filling the full row */
.dmv-venue-copy { display: flex; flex-direction: column; align-items: flex-start; }
.dmv-venue p { min-height: 0; }
.dmv-venue-grid:not(.dmv-venue-grid--more) .dmv-venue p:not(.dmv-address) { min-height: 0; }
.dmv-venue-select { margin-top: 16px; }
.dmv-more { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--rule); }
.dmv-more > .dmv-eyebrow { color: var(--muted); margin-bottom: 22px; }
.dmv-venue-grid--more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.dmv-venue--small { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.dmv-venue--small .dmv-venue-photo { aspect-ratio: 4/3; height: 100%; }
.dmv-venue--small .dmv-venue-copy { padding: 4px 0 2px; justify-content: flex-end; }
.dmv-venue--small h3 { font-size: 25px; }
.dmv-contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
@media (max-width: 1000px) { .dmv-venue-grid--more { grid-template-columns: 1fr; } .dmv-venue--small { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 900px) { .dmv-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .dmv-more { margin-top: 38px; }
  .dmv-venue-grid--more { gap: 34px; }
  .dmv-venue--small { grid-template-columns: 1fr; gap: 0; }
  .dmv-venue--small .dmv-venue-photo { aspect-ratio: 3/2; height: auto; }
  .dmv-venue--small .dmv-venue-copy { padding-top: 19px; }
  .dmv-contact-grid { grid-template-columns: 1fr; }
}
/* Equal-height cards: buttons align on one line */
.dmv-venue-grid:not(.dmv-venue-grid--more) .dmv-venue { display: flex; flex-direction: column; }
.dmv-venue-grid:not(.dmv-venue-grid--more) .dmv-venue-copy { flex: 1; }
.dmv-venue-copy > p:last-of-type { margin-bottom: 16px; }
.dmv-venue-copy > .dmv-venue-select { margin-top: auto; }
