:root { color-scheme: dark; --navy: #253473; --cream: #ffedcc; --header-height: 72px; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff4e0; color: var(--navy); font-family: "Trebuchet MS", sans-serif; }

/* Header */
.site-header { position: relative; z-index: 2; background: #253473; color: #fff; }
.header-inner { max-width: 1360px; min-height: 96px; margin: auto; padding: 8px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-logo { display: block; width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.header-details { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.location-switcher { position: relative; }
.location-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-radius: 0; color: inherit; font: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap; min-height: 0; padding: 0; cursor: pointer; }
.location-menu { display: none; position: absolute; top: calc(100% + 10px); right: 0; min-width: 150px; margin: 0; padding: 8px 0; list-style: none; background: var(--navy); border: 1px solid #a0a8c6; border-radius: 6px; z-index: 4; box-shadow: 0 12px 24px rgba(16, 24, 59, .35); }
.location-menu[data-open="true"] { display: block; }
.location-menu li { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.location-menu span, .location-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; color: #fff; text-decoration: none; }
.location-menu a:hover { background: #1b2654; }
.location-menu li[aria-current="true"] { color: #fff; }
.location-menu li[aria-current="true"] span::after, .location-menu a[aria-current="page"]::after { content: "\2713"; color: #fff4e0; }
.chevron { display: inline-block; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 0; transition: transform .15s ease; }
.location-toggle[aria-expanded="true"] .chevron { transform: rotate(225deg); margin-top: 2px; }

@media (min-width: 900px) {
  .header-inner { min-height: 72px; padding-block: 6px; }
  .brand-logo { width: 60px; height: 60px; }
}
@media (max-width: 1199px) {
  .header-inner { gap: 16px; padding-inline: 20px; }
  .header-details { font-size: 10px; letter-spacing: .1em; gap: 12px; }
}
@media (max-width: 899px) {
  :root { --header-height: 76px; }
  .header-inner { min-height: 76px; gap: 10px; padding: 10px 16px; }
  .brand-logo { width: 52px; height: 52px; }
  .header-details { margin-left: auto; gap: 10px; font-size: 9px; letter-spacing: .08em; }
  .location-menu { top: calc(100% + 8px); padding: 6px 0; }
  .location-menu li { font-size: 10px; letter-spacing: .1em; }
  .location-menu span, .location-menu a { padding: 9px 14px; }
}

/* Banner */
main { background: #fff4e0; }
.banner-frame { position: relative; overflow: hidden; background: var(--navy); }
.banner {
  position: relative;
  height: calc(100svh - var(--header-height));
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 48px;
  overflow: hidden;
  isolation: isolate;
}
/* The supplied JPG has a baked-in navy frame; crop it in CSS, not the photo file. */
.banner::before { content: ""; position: absolute; inset: -2.5% -1.4%; z-index: -1; background: url("assets/website-thumbnail-bg.jpg") center / cover no-repeat; }
.banner .banner-title { margin: 0; color: #fff4e0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.6vw, 72px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; text-align: center; text-shadow: 0 2px 12px rgba(16, 24, 59, .75); }
.banner-location { margin: 0; font-size: clamp(14px, 2vw, 20px); font-weight: 600; letter-spacing: .12em; text-align: center; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.banner-wave { position: absolute; left: 0; bottom: -2px; display: block; width: 100%; height: 60px; transform: rotate(180deg); fill: #fff4e0; pointer-events: none; }

/* Signup */
.early-access { margin: 0; padding: 32px 28px 36px; text-align: center; color: var(--navy); background: #fff4e0; color-scheme: light; }
.eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; font-weight: 700; text-wrap: balance; }
.intro { margin: 10px 0 16px; font-size: 16px; line-height: 1.6; color: #465174; }
form { max-width: 640px; margin: auto; text-align: left; }
form > label { display: block; font-size: 13px; margin-bottom: 9px; }
.form-row { display: flex; gap: 10px; }
input, button { font: inherit; border-radius: 6px; min-height: 50px; }
input[type="email"] { width: 100%; min-width: 0; border: 1px solid #9299ac; background: #fffdf8; color: #1b2654; padding: 13px 18px; }
input::placeholder { color: #646d85; opacity: 1; }
button { border: 1px solid var(--navy); background: var(--navy); color: #fff4e0; padding: 12px 24px; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-weight: 700; cursor: pointer; transition: background .15s ease, transform .15s ease; }
button:hover { background: #1b2654; transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: .7; transform: none; }
.location-toggle:hover { background: none; transform: none; }
:focus-visible { outline: 3px solid #b55b15; outline-offset: 4px; }
.privacy { color: #59617a; font-size: 12px; line-height: 1.6; margin: 10px 0 0; text-align: center; }
.message { min-height: 21px; margin: 8px 0 0; text-align: center; font-size: 14px; line-height: 1.5; }
.message[data-state="error"] { color: #a52c32; }
.message[data-state="success"] { color: #246440; }
.visually-hidden, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Responsive */
@media (min-width: 900px) {
  .banner .banner-title { font-size: clamp(40px, 4vw, 64px); }
  .early-access { padding: 20px 28px; }
}
@media (min-width: 1024px) {
  .banner-wave { height: 100px; }
}
@media (max-width: 899px) {
  .banner { height: auto; aspect-ratio: 4 / 3; max-height: 440px; padding: 20px 18px 40px; gap: 8px; }
  .banner .banner-title { font-size: clamp(32px, 8vw, 48px); }
  .banner-location { font-size: clamp(12px, 3.2vw, 16px); letter-spacing: .08em; }
  .early-access { padding: 26px 20px 32px; }
}
@media (max-width: 560px) {
  .eyebrow { font-size: 10px; line-height: 1.6; }
  .intro { font-size: 14px; margin: 12px 0 20px; }
  .form-row { flex-direction: column; }
  .form-row button { width: 100%; }
  input[type="email"] { font-size: 16px; }
  .privacy { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }