:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; background: #000; color: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid #a5d7f4; outline-offset: 5px; }
.brand { padding-top: clamp(22px, 2vw, 48px); text-align: center; }
/* The inquiry form repeats the home page mark at the same size, in white. */
.brand img, .modal-horns { display: block; width: clamp(60px, 5.5vw, 130px); height: auto; margin: auto; }
.brand h1, .modal-name { font-family: Arial, Helvetica, sans-serif; font-variant: small-caps; font-size: clamp(16px, 1.35vw, 30px); font-weight: 400; color: #49515b; margin: 6px 0 0; }
.artwork { position: relative; width: min(1200px, max(45.5%, min(648px, calc(100% - 36px)))); aspect-ratio: 1.63; margin: clamp(36px, 3.5vw, 80px) auto clamp(40px, 4vw, 90px); overflow: hidden; }
.artwork > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.artwork canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .3s; }
.site-footer { background: #131821; color: #8b939f; padding: 14px 0; }
.footer-inner { width: 79%; max-width: 2100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.footer-inner > div { min-width: 0; padding: 0 22px; display: grid; grid-row: 1 / span 2; grid-template-rows: subgrid; }
.fund-information { grid-column: 1; }
.inquiry-information { grid-column: 2; }
.fund-information { text-align: right; border-right: 1px solid #252b36; }
.footer-inner p { font-size: clamp(11px, .62vw, 15px); line-height: 1.6; margin: 0; padding: 6px 0; overflow-wrap: break-word; }
.footer-inner p + p { border-top: 1px solid #242a34; }
#inquireNow, #investorOverview { display: inline; padding: 0; color: inherit; background: none; border: none; font-size: inherit; text-transform: uppercase; text-decoration: none; }
/* Hover styles only where a pointer can hover, so they don't stick after a tap. */
@media (hover: hover) { #inquireNow:hover, #investorOverview:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: bold; } }
#inquireNow:focus-visible, #investorOverview:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: bold; }
/* The existing inquiry form, with native dialog focus and background isolation. */
.modal-overlay { border: none; padding: 24px; background: transparent; color: white; width: 100%; max-width: 100vw; max-height: 100vh; max-height: 100dvh; margin: auto; overflow-y: auto; overscroll-behavior: contain; }
.modal-overlay::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-box { position: relative; max-width: 520px; margin: auto; background: #070e1c; border: 1px solid rgba(255,255,255,.1); padding: 38px 52px 44px; font-family: Montserrat, sans-serif; }
.modal-close { position: absolute; top: 12px; right: 12px; padding: 10px; min-width: 44px; min-height: 44px; background: none; border: none; color: #a5aab3; font-size: 24px; font-weight: 300; }
@media (hover: hover) { .modal-close:hover { color: #fff; } }
.modal-header { text-align: center; margin-bottom: 40px; }
/* The home page icon as a solid white silhouette: every pixel is pure white,
   keeping only the image's own transparency, so the outline is unchanged. */
.modal-horns { filter: brightness(0) invert(1); }
/* 1.44em is 28px at the approved 1440px layout and scales with the mark. */
.modal-name { color: #fff; margin-bottom: 1.44em; }
/* The title is 1.2x the subtitle below it at every width. */
.modal-title { font-size: clamp(13.2px, 1.14vw, 16.2px); font-weight: 300; margin: 0 0 6px; }
.modal-subtitle { font-size: clamp(11px, .95vw, 13.5px); line-height: 1.5; font-weight: 300; color: #a0a6b1; margin: 0; }
.modal-form { display: flex; flex-direction: column; gap: 28px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mf-field { min-width: 0; }
.mf-field label { display: block; font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #a0a6b1; margin-bottom: 7px; }
.mf-field input, .mf-field textarea { width: 100%; border: none; border-bottom: 1px solid #39404c; border-radius: 0; background: transparent; color: white; font-size: 13px; font-weight: 300; padding: 6px 0 9px; outline: none; resize: vertical; }
.mf-field textarea { min-height: 80px; }
.mf-field input::placeholder, .mf-field textarea::placeholder { color: #858c98; }
.mf-field input:focus, .mf-field textarea:focus { border-color: #bdcbd9; }
.field-error { display: none; font-size: 10px; color: #ff9c9c; margin-top: 5px; }
.field-error.show { display: block; }
.mf-field .invalid { border-color: #ff9c9c; }
.modal-submit { display: inline-flex; align-self: center; align-items: center; justify-content: center; gap: 10px; padding: 13px 30px; margin-top: 6px; border: 1px solid #9399a2; background: transparent; color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.modal-submit svg { width: 13px; height: 13px; }
@media (hover: hover) { .modal-submit:hover { background: white; color: black; } }
.modal-submit:disabled { opacity: .55; cursor: wait; }
.modal-error { display: none; margin: 0; color: #ff9c9c; font-size: 12px; line-height: 1.5; text-align: center; }
.modal-thankyou { display: none; flex-direction: column; align-items: center; text-align: center; padding: 20px 0 10px; }
.ty-ring { width: 48px; height: 48px; border: 1px solid #626a75; border-radius: 50%; display: grid; place-items: center; }
.ty-ring svg { width: 22px; height: 22px; stroke: white; fill: none; stroke-width: 1.5; }
.modal-thankyou h3 { font-size: 22px; font-weight: 300; margin-bottom: 0; }
.modal-thankyou p { color: #a0a6b1; font-size: 13px; line-height: 1.6; }
body.modal-open { overflow: hidden; }
@media (max-width: 900px) {
  .footer-inner { width: 94%; }
  .footer-inner > div { padding: 0 14px; }
}
@media (max-width: 600px) {
  .brand { padding-top: clamp(60px, 21vw, 90px); }
  .brand img { width: clamp(86px, 24vw, 110px); }
  .brand h1 { font-size: clamp(22px, 6vw, 28px); margin-top: 14px; }
  .modal-horns { width: 72px; }
  .modal-name { font-size: 18px; }
  .artwork { width: calc(100% - 6px); aspect-ratio: 1.48; margin: 24px auto 42px; }
  .site-footer { margin: 0 0 48px; padding: 0; background: #000; }
  .footer-inner { width: 100%; padding: 0; grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; }
  .footer-inner > div { display: contents; }
  .footer-inner p { grid-column: 1; text-align: center; font-size: clamp(10px, 2.6vw, 12px); line-height: 1.3; padding: 12px 8px; border: none; background: #131821; }
  .footer-inner .footer-tagline { grid-row: 1; font-size: clamp(12px, 3vw, 14px); padding: 12px 8px; border-bottom: 1px solid #242a34; }
  .footer-inner .fund-terms { grid-row: 2; border-bottom: 1px solid #242a34; }
  .footer-inner .inquiry-action { grid-row: 3; padding: 2px 0; }
  .footer-inner .company-details { grid-row: 4; padding: 34px 12px 10px; background: #000; }
  .tagline-prefix { display: none; }
  .mobile-break { display: block; }
  .desktop-separator { display: none; }
  #inquireNow, #investorOverview { font-size: 14px; min-height: 44px; padding: 10px 16px; }
  .modal-overlay { padding: 12px; }
  .modal-box { padding: 44px 24px 30px; }
  .modal-header { margin-bottom: 28px; }
  .modal-title { font-size: 14.4px; }
  .modal-subtitle { font-size: 12px; }
  .mf-field label { font-size: 11px; }
  .mf-row { grid-template-columns: 1fr; gap: 22px; }
  .modal-form { gap: 22px; }
  .mf-field input, .mf-field textarea { font-size: 16px; }
  .modal-submit { width: 100%; min-height: 48px; }
}
@media (pointer: coarse) {
  #inquireNow, #investorOverview { min-height: 44px; padding: 10px 16px; }
  .mf-field input, .mf-field textarea { font-size: 16px; }
  .modal-submit { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

@media (max-width: 600px) {
  .inquiry-action { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
  #inquireNow, #investorOverview { display: inline-flex; align-items: center; padding: 10px 8px; font-size: clamp(11px, 3.2vw, 14px); }
}
