* { box-sizing: border-box; }
:root {
  --red: #b5121b;
  --navy: #17263c;
  --ink: #202632;
  --muted: #5f6875;
  --pale: #f4f5f7;
  --max: 1180px;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pale); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; }
.site-header {
  height: 88px; padding: 8px clamp(18px, 5vw, 64px); background: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  position: relative; z-index: 5; box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.brand { display: flex; align-items: center; min-width: 180px; }
.brand img { display: block; width: min(310px, 32vw); height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.navigation a { text-decoration: none; font-size: 15px; font-weight: 700; color: #111820; }
.navigation a:hover { color: var(--red); }
.navigation .nav-cta, .contact-button {
  background: var(--red); color: white; border-radius: 28px; padding: 11px 22px;
  text-decoration: none; font-weight: 700; transition: background .2s ease, transform .2s ease;
}
.navigation .nav-cta:hover, .contact-button:hover { background: #8f0e16; color: #fff; transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 28px; color: var(--navy); }
.hero { position: relative; width: 100%; line-height: 0; overflow: hidden; background: #17263c; }
.hero-art { display: block; width: 100%; height: auto; min-height: 290px; object-fit: cover; object-position: center; }
.hero-action { position: absolute; left: 15.4%; top: 57.5%; width: 21%; height: 11%; border-radius: 40px; }
.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 82px 0; }
.intro { text-align: center; max-width: 900px; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; margin: 0 0 13px; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(32px, 4vw, 48px); line-height: 1.12; margin-bottom: 18px; }
h2 { color: var(--navy); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.16; margin-bottom: 18px; }
h3 { color: var(--navy); font-size: 20px; line-height: 1.25; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 19px; max-width: 760px; margin: 0 auto; }
.services { padding-top: 30px; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid #e3e6ea; border-top: 4px solid var(--red); padding: 26px 22px; min-height: 250px; box-shadow: 0 8px 24px rgba(20,35,55,.045); }
.service-number { color: var(--red); font-weight: 800; letter-spacing: .08em; font-size: 13px; display: block; margin-bottom: 20px; }
.service-card p, .approach-grid p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card-link:hover .service-card {
  cursor: pointer;
}
.about-band { background: var(--pale); border-top: 1px solid #e8eaee; border-bottom: 1px solid #e8eaee; }
.about-content { max-width: 900px; }
.about-content p:not(.eyebrow) { color: #505b68; font-size: 17px; max-width: 850px; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.approach-grid > div { border-left: 2px solid var(--red); padding-left: 18px; }
.approach-grid strong { display: block; color: var(--red); font-size: 14px; margin-bottom: 14px; }
.approach-grid h3 { margin-bottom: 8px; }
.project-note { margin: 38px 0 0; padding: 20px 24px; background: var(--pale); color: var(--navy); font-weight: 700; }

.contact-form {
  max-width: 720px;
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-service-value {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #cbd2db;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd2db;
  border-radius: 4px;

  background: #fff;
  color: var(--ink);

  font-size: 15px;
  font-family: inherit;

  transition: all .2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form select option {
  color: #202632;
  background: #ffffff;
}

.contact-form .contact-button {
  justify-self: start;
  margin-top: 10px;
}
.application-band { background: var(--pale); padding: 54px 24px 84px; }
.application-content { width: min(100%, 980px); margin: 0 auto; }
.application-content > h1 { margin-bottom: 12px; }
.application-intro { max-width: 800px; color: var(--muted); font-size: 17px; }
.application-house-rules { padding: 12px 16px; border-left: 4px solid var(--navy); background: #e9edf2; color: var(--navy); }
.application-sensitive-note { padding: 16px 18px; border-left: 4px solid var(--red); background: #fff; color: var(--ink); }
.application-form { display: grid; gap: 16px; margin-top: 30px; }
.application-tabs { display: none; gap: 0; overflow-x: auto; border-bottom: 1px solid #bfc8d3; background: #fff; scrollbar-width: thin; }
.application-tabs.is-active { display: flex; }
.application-tabs [role="tab"] { flex: 0 0 auto; min-height: 48px; padding: 12px 17px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #526174; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.application-tabs [role="tab"]:hover { background: #f3f5f8; color: var(--navy); }
.application-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--red); color: var(--navy); }
.application-tabs [role="tab"]:focus-visible { outline: 3px solid rgba(181,18,27,.3); outline-offset: -3px; }
.application-panel { min-width: 0; }
.application-panel[hidden], [data-income-field][hidden], [data-id-image-field][hidden], [data-guardian-fields][hidden], [data-adult-signature][hidden], .application-conditional[hidden] { display: none !important; }
.application-section { min-width: 0; margin: 0; padding: 24px; border: 1px solid #dce2e9; border-radius: 8px; background: #fff; box-shadow: 0 5px 20px rgba(20,35,55,.045); }
.application-section legend { padding: 0 10px; color: var(--navy); font-size: 21px; font-weight: 700; }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 18px; }
.application-field { display: flex; min-width: 0; flex-direction: column; align-items: stretch; }
.application-field > label, .application-field-label { display: block; order: -1; width: 100%; margin: 0 0 6px; color: #263447; font-size: 14px; font-weight: 700; }
.application-field-wide { grid-column: 1 / -1; }
.application-subheading { margin: 8px 0 0; padding: 17px 0 0; border-top: 1px solid #e3e6ea; color: var(--navy); font-size: 16px; }
.application-field label span, .application-required-note span, .application-consent strong { color: var(--red); }
.application-field input, .application-field select, .application-field textarea { display: block; width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cbd2db; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; }
.application-field input[type="file"] { min-height: auto; padding: 9px; background: #fbfcfd; }
.application-field small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.application-field textarea { min-height: 115px; resize: vertical; }
.application-field input:focus, .application-field select:focus, .application-field textarea:focus { outline: 3px solid rgba(181,18,27,.18); border-color: var(--red); }
.application-help { margin: 0 0 14px; color: var(--muted); }
.application-upload-help { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.application-check-options { display: flex; gap: 10px; margin-top: 4px; }
.application-check-option { display: inline-flex !important; min-width: 86px; align-items: center; gap: 8px; margin: 0 !important; padding: 10px 14px; border: 1px solid #cbd2db; border-radius: 5px; background: #fff; cursor: pointer; }
.application-check-option input { width: 17px; min-height: 17px; height: 17px; margin: 0; accent-color: var(--red); }
.application-conditional { margin-top: 13px; }
.application-conditional > label { display: block; margin-bottom: 6px; color: #263447; font-size: 13px; }
.application-conditional textarea { display: block; width: 100%; min-height: 76px; padding: 11px 13px; border: 1px solid #cbd2db; border-radius: 4px; color: var(--ink); font: inherit; resize: vertical; }
.application-occupants { display: grid; gap: 16px; }
.application-person { padding: 18px; border: 1px solid #e0e5eb; border-radius: 7px; background: #fbfcfd; }
.application-repeater-block { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e0e5eb; }
.application-repeater-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.application-repeater-title h3 { margin: 0 0 4px; color: var(--navy); font-size: 18px; }
.application-repeater-title p { margin: 0; color: var(--muted); font-size: 14px; }
.application-repeater-list { display: grid; gap: 16px; }
.application-repeater-card { padding: 18px; border: 1px solid #e0e5eb; border-radius: 7px; background: #fbfcfd; }
.application-repeater-card h4 { margin: 0; color: var(--navy); font-size: 16px; }
.application-adult-signatures { display: grid; gap: 14px; margin-top: 26px; }
.application-adult-signatures .application-person-signature { margin: 0; padding: 18px; border: 1px solid #e0e5eb; border-radius: 7px; background: #fbfcfd; }
.application-adult-signatures .application-person-signature h3 { font-size: 17px; }
.application-person-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.application-person-heading h3 { margin: 0; color: var(--navy); font-size: 17px; }
.application-remove-person { border: 0; background: transparent; color: #9f1d26; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.application-add-person { margin-top: 16px; padding: 11px 16px; border: 1px dashed #8995a5; border-radius: 5px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.application-add-person:hover { border-color: var(--red); color: var(--red); }
.application-add-person:disabled { opacity: .5; cursor: not-allowed; }
.application-person-signature { margin-top: 20px; padding-top: 17px; border-top: 1px solid #dfe4ea; }
.application-person-signature h4 { margin: 0 0 14px; color: var(--navy); }
.application-authorization { padding: 18px; background: #f6f7f9; border: 1px solid #e4e7eb; border-radius: 5px; }
.application-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: var(--ink); }
.application-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--red); }
.application-notice { margin: 24px 0; padding: 18px 22px; border-radius: 5px; background: #fff; }
.application-notice h2 { font-size: 24px; }
.application-errors { border-left: 4px solid var(--red); }
.application-errors ul { margin-bottom: 0; }
.application-success { border-left: 4px solid #2e7d4f; }
.application-success p { margin-bottom: 0; }
.application-submit { justify-self: start; padding: 14px 26px; border: 0; border-radius: 28px; background: var(--red); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.application-submit:hover { background: #8f0e16; }
.application-required-note { margin: -10px 0 0; color: var(--muted); font-size: 13px; }
.application-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-band { background: var(--pale); color: var(--ink); }
.contact-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-content h2 { color: #fff; max-width: 650px; }
.contact-content p:not(.eyebrow) { color: #d9e0e9; max-width: 650px; margin-bottom: 0; }
.contact-content .eyebrow { color: #f18b91; }
.contact-button { white-space: nowrap; padding: 15px 26px; }
.site-footer { background: #101a29; color: #dce2ea; padding: 32px 24px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; text-align: center; }
.footer-brand { font-weight: 900; color: #fff; text-decoration: none; font-size: 20px; }
.footer-brand span { font-weight: 400; }
.site-footer p { margin: 0; color: #aeb9c8; }
.site-footer > a:not(.footer-brand) { color: #fff; }
.site-footer small { width: 100%; color: #9ba8b8; }
.footer-payment { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; }
.footer-payment > span { font-weight: 700; }
.footer-payment a { display: inline-flex; width: 152px; max-width: 152px; padding: 3px; background: #fff; border-radius: 6px; }
.footer-payment img { display: block; width: 144px; height: 144px; max-width: 144px; max-height: 144px; object-fit: contain; }
.footer-payment small { width: auto; max-width: 220px; color: #aeb9c8; line-height: 1.4; }
@media (max-width: 900px) {
  .site-header { height: 76px; }
  .brand img { width: min(260px, 42vw); }
  .navigation { gap: 14px; }
  .navigation a { font-size: 13px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header { height: 70px; padding: 7px 16px; }
  .brand img { width: min(245px, 72vw); }
  .menu-toggle { display: block; }
  .navigation {
    display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 18px 22px 22px;
    background: #fff; box-shadow: 0 10px 16px rgba(0,0,0,.12); flex-direction: column; align-items: stretch; gap: 16px;
  }
  .navigation.is-open { display: flex; }
  .navigation a { font-size: 15px; }
  .navigation .nav-cta { text-align: center; }
  .hero-art { min-height: 260px; object-fit: cover; object-position: 42% center; }
  .hero-action { left: 15%; top: 57%; width: 25%; height: 12%; }
  .section { width: min(100% - 36px, var(--max)); padding: 58px 0; }
  .intro { padding-top: 55px; }
  .lead { font-size: 17px; }
  .service-grid, .approach-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .contact-content { align-items: flex-start; flex-direction: column; gap: 24px; }
  .site-footer { flex-direction: column; gap: 10px; }
  .application-band { padding: 38px 18px 56px; }
  .application-section { padding: 8px 16px 20px; }
  .application-grid { grid-template-columns: 1fr; }
  .application-field-wide { grid-column: auto; }
  .application-subheading { grid-column: auto; }
  .application-tabs [role="tab"] { padding: 11px 13px; font-size: 13px; }
  .application-person { padding: 14px; }
  .application-repeater-title { align-items: flex-start; flex-direction: column; }
  .application-repeater-card { padding: 14px; }
  .application-submit { width: 100%; }
}
