/* =========================================================
   CONTACT PAGE — matches Contact_us.jpeg (1200px design)
   ========================================================= */

.page-contact {
  --yellow: #FDF958;          /* sampled from the design */
  --yellow-dark: #E6E13F;
  --c-ink: #0B0B0B;
  background: #fff;
}

/* Shared design container: 1120px wide, centered */
.c-wrap { width: 100%; max-width: 1120px; margin: 0 auto; }

/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */
.announce-bar {
  background: #050505;
  color: #fff;
  text-align: center;
  padding: 0 16px;
}
.announce-bar p {
  font-family: var(--f-cond);
  font-style: italic;
  font-weight: 700;
  font-size: 21px;
  line-height: 39px;
  letter-spacing: .11em;
  position: relative;
  top: -3px;
  left: 52px;
}

/* =========================================================
   HEADER (light)
   ========================================================= */
.site-header--light { background: #fff; border-bottom: 1px solid #e6e6e6; }
.site-header--light.is-scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.site-header--light .header__inner {
  max-width: 1139px;
  padding: 0 0 0 27px;
  height: 78px;
}

/* "THE TWELVE XII — BASKETBALL ACADEMY —" lockup */
.lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
  color: var(--c-ink);
  line-height: 1;
}
.lockup__name {
  display: block;
  font-family: var(--f-cond);
  font-style: italic;
  font-weight: 800;
  font-size: 52px;
  line-height: 41px;
  letter-spacing: -.005em;
  white-space: nowrap;
  transform: scaleX(.86);
  transform-origin: left center;
  margin-right: -38px;          /* compensate the horizontal scale */
  margin-left: 7px;
}
.lockup__xii {
  display: inline-block;
  background: var(--yellow);
  color: var(--c-ink);
  padding: 0 10px 0 9px;
  margin-left: 3px;
}
.lockup__sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .25em;
  white-space: nowrap;
}
.lockup__sub::before,
.lockup__sub::after { content: ""; flex: 1; height: 2px; background: currentColor; }
.lockup__sub::after { margin-left: -4px; }  /* letter-spacing trail */
.lockup--light { color: #fff; }

/* Nav */
.site-header--light .main-nav ul { gap: 0; }
.site-header--light .main-nav a {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  color: #111;
  padding: 10px 19px;
  letter-spacing: .015em;
}
.site-header--light .main-nav a::after { background: var(--c-ink); left: 18px; right: 18px; height: 2px; }
.site-header--light .main-nav a:hover { color: #000; }
.site-header--light .main-nav > ul > li > a.is-active {
  background: var(--yellow);
  color: #000;
  font-weight: 600;
  padding: 0 17px;
  line-height: 42px;
  margin-left: 12px;
}
.site-header--light .main-nav > ul > li > a.is-active::after { display: none; }
.site-header--light .has-sub > a { padding-right: 4px; }
.site-header--light .has-sub > a::after { right: 4px; }
.site-header--light .sub-toggle { color: #111; font-size: 18px; margin-right: 0; }
.site-header--light .has-sub:hover > .sub-toggle,
.site-header--light .has-sub.is-open > .sub-toggle { color: #000; }
.site-header--light .main-nav .sub-menu a { color: #fff; font-size: 17px; text-transform: none; }
.site-header--light .main-nav .sub-menu a:hover { color: var(--yellow); }
.site-header--light .nav-toggle { border-color: #111; }
.site-header--light .nav-toggle span { background: #111; }

/* =========================================================
   SHARED HEADINGS
   ========================================================= */
.c-bar { display: block; background: var(--yellow); }
.c-bar--center { margin-left: auto; margin-right: auto; }
.c-heading {
  font-family: var(--f-cond);
  font-style: italic;
  font-weight: 800;
  font-size: 53px;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: 0;
}
.c-form-wrap .c-heading { font-size: 51px; }
.c-heading--light { color: #fff; }
.c-heading--center { text-align: center; }

/* =========================================================
   HERO
   ========================================================= */
.c-hero {
  position: relative;
  overflow: hidden;
  background:
    url("../../assets/img/contact-court.svg") center / cover no-repeat,
    linear-gradient(180deg, #D5D3D4 0%, #C9C7C8 55%, #CBC9CA 100%);
}
.c-hero__inner { padding: 21px 0 28px 100px; }
.c-hero__kicker {
  font-family: var(--f-cond);
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--c-ink);
}
.c-hero__title {
  font-family: var(--f-cond);
  font-style: italic;
  font-weight: 800;
  font-size: 84px;
  line-height: 1;
  color: #000;
  margin-top: -2px;
  text-shadow: 0 2px 4px rgba(0,0,0,.18);
}
.c-hero .c-bar { width: 63px; height: 10px; margin: 10px 0 0 2px; }
.c-hero__text {
  margin-top: 9px;
  margin-left: 4px;
  font-family: var(--f-body);
  font-style: italic;
  font-size: 23px;
  line-height: 25px;
  color: #111;
}

/* =========================================================
   MAIN GRID
   ========================================================= */
.c-main { padding-top: 15px; }
.c-main__grid {
  display: grid;
  grid-template-columns: 522px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

/* Get in touch */
.c-touch {
  background: #101116;
  color: #fff;
  padding: 21px 36px 37px 40px;
}
.c-touch .c-heading { font-size: 66px; line-height: 1; }
.c-touch .c-bar { width: 79px; height: 9px; margin-top: 8px; }
.c-touch__list { margin-top: 21px; display: grid; gap: 22px; }
.c-touch__list li { display: flex; align-items: center; gap: 30px; }
.c-touch__icon { flex: 0 0 40px; width: 40px; height: 40px; color: #fff; margin-left: 13px; }
.c-touch__list li { gap: 26px; }
.c-touch__icon--mail { flex-basis: 37px; width: 37px; height: 30px; margin-left: 13px; }
.c-touch__mail { gap: 29px !important; }
.c-touch__name,
.c-touch__value {
  display: block;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 30px;
  line-height: 31px;
  letter-spacing: .04em;
}
.c-touch__value { letter-spacing: .07em; }
.c-touch__value { color: var(--yellow); }
.c-touch__value:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-touch__email { font-size: 30px; letter-spacing: .01em; }
.c-touch__mail { margin-top: 6px; }
.c-touch__areas {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 3px solid #A8A8A8;
}
.c-touch__areas h3 {
  font-family: var(--f-cond);
  font-style: italic;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
}
.c-touch__areas p {
  margin-top: 10px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 25px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--yellow);
  white-space: nowrap;
}
.c-touch__areas p span { margin: 0 .3em; }

/* Form box */
.c-form-wrap {
  background: linear-gradient(180deg, #E3E1E2 0%, #DDDDDF 100%);
  border: 1px solid #d6d6d8;
  padding: 11px 31px 19px 38px;
}
.c-form-wrap .c-bar { width: 63px; height: 8px; margin-top: 9px; }
.c-form { margin-top: 12px; display: grid; gap: 7.5px; }

.c-field { position: relative; }
.c-field input,
.c-field select,
.c-field textarea {
  display: block;
  width: 100%;
  height: 32px;
  font-family: var(--f-body);
  font-size: 15px;
  color: #111;
  background: #fff;
  border: 1.5px solid #9b9b9e;
  border-radius: 3px;
  padding: 0 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.c-field textarea { height: 85px; padding-top: 7px; resize: vertical; min-height: 70px; line-height: 1.4; }
.c-field--select select {
  padding-right: 40px;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8.5l7 7 7-7' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 13px center / 16px no-repeat;
}
.c-field input:focus,
.c-field select:focus,
.c-field textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(253,249,88,.8); }

/* Labels sit inside the field like the design's placeholders and fade once the field has a value
   (opacity keeps them in the accessibility tree). */
.c-field label {
  position: absolute;
  left: 17px; top: 6px;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 18px;
  color: #222;
  pointer-events: none;
  transition: opacity .15s ease;
}
.c-field label span { color: #222; }
.c-field--area label { top: 9px; }
.c-field input:not(:placeholder-shown) + label,
.c-field textarea:not(:placeholder-shown) + label,
.c-field select:valid + label { opacity: 0; }

.c-field.has-error input,
.c-field.has-error select,
.c-field.has-error textarea { border-color: #c62828; }
.c-error { font-size: 13px; color: #c62828; margin: 3px 2px 0; }
.c-error:empty { display: none; }

.c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.c-submit {
  margin-top: 7px;
  width: 100%;
  height: 47px;
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  color: #111;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: filter .2s ease, opacity .2s ease;
}
.c-submit:hover { filter: brightness(.96); }
.c-submit:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.c-submit[disabled] { opacity: .65; cursor: wait; }

.c-status:empty { display: none; }
.c-status { margin-top: 6px; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.c-status.is-success { background: #111; color: #fff; border-left: 5px solid var(--yellow); }
.c-status.is-error { background: #fdecec; color: #8e1b1b; border-left: 5px solid #c62828; }

/* =========================================================
   FOLLOW
   ========================================================= */
.c-follow { background: #fff; padding: 28px 16px 24px; }
.c-follow .c-bar { width: 74px; height: 9px; margin-top: 8px; }
.c-follow__links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.c-follow__links a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--f-cond);
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  color: #111;
}
.c-follow__links a svg { width: 39px; height: 39px; }
.c-follow__links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.c-follow__sep { width: 2px; height: 38px; background: #111; margin: 0 47px 0 48px; }

/* =========================================================
   BASED IN CENTRAL TEXAS
   ========================================================= */
.c-based {
  background:
    url("../../assets/img/contact-band.svg") center / cover no-repeat,
    linear-gradient(180deg, #CDCBCC, #C6C6C7);
  padding: 10px 16px 36px;
  text-align: center;
}
.c-based .c-bar { width: 74px; height: 9px; margin-top: 8px; }
.c-based p {
  margin-top: 11px;
  font-family: var(--f-body);
  font-style: italic;
  font-size: 20px;
  line-height: 1.2;
  color: #111;
}

/* =========================================================
   FOOTER (design)
   ========================================================= */
.cf-footer { background: #0A0A0A; color: #fff; }
.cf-footer__inner {
  display: flex;
  align-items: center;
  min-height: 120px;
  padding: 12px 0;
}
.cf-footer .lockup { margin-left: 6px; }
.cf-footer .lockup__name { font-size: 55px; line-height: 42px; margin-left: 9px; }
.cf-footer .lockup__sub { font-size: 17px; letter-spacing: .26em; margin-top: 4px; }
.cf-footer__div { align-self: stretch; width: 1px; background: rgba(255,255,255,.85); margin: 8px 0; }
.cf-footer__div:first-of-type { margin-left: 44px; }
.cf-footer__links { padding: 0 0 0 42px; margin-right: 59px; }
.cf-footer__inner { padding-bottom: 12px; }
.cf-footer__links { flex-shrink: 0; }
.cf-row a, .cf-footer__email { white-space: nowrap; }
.cf-footer__email svg { width: 32px; height: 26px; }
.cf-footer__links h4 {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: .03em;
  line-height: 1;
  margin-bottom: 6px;
}
.cf-row { display: flex; gap: 0 30px; }
.cf-row + .cf-row { margin-top: 4px; }
.cf-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: .02em;
  color: #fff;
}
.cf-row a svg { width: 16px; height: 16px; }
.cf-row a:hover { color: var(--yellow); }
.cf-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-left: 42px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .03em;
  color: var(--yellow);
}
.cf-footer__email svg { width: 30px; height: 24px; color: #fff; }
.cf-footer__email:hover { text-decoration: underline; text-underline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1150px) {
  .announce-bar p { left: 0; }
  .c-wrap { padding: 0 16px; }
  .site-header--light .header__inner { padding: 0 16px; }
  .site-header--light .main-nav a { padding: 10px 11px; font-size: 17px; }
  .site-header--light .main-nav > ul > li > a.is-active { margin-left: 8px; padding: 0 12px; }
  .c-main__grid { grid-template-columns: 46.5% minmax(0, 1fr); }
  .c-touch__name, .c-touch__value { font-size: 27px; }
  .c-touch__email { font-size: 24px; }
  .c-touch__areas p { font-size: 22px; white-space: normal; }
  .cf-footer__links { margin-right: 30px; padding-left: 26px; }
  .cf-footer__div:first-of-type { margin-left: 26px; }
  .cf-footer__email { margin-left: 26px; }
}

/* Mobile menu (hamburger from style.css at <=1000px): light panel under the header */
@media (max-width: 1000px) {
  .site-header--light .header__inner { height: 72px; }
  .lockup__name { font-size: 42px; line-height: 34px; margin-right: -30px; }
  .lockup__sub { font-size: 13px; }
  .site-header--light .main-nav {
    position: absolute;
    top: 100%;
    background: #fff;
    border-top: 3px solid var(--yellow);
    box-shadow: 0 14px 24px rgba(0,0,0,.12);
  }
  .site-header--light .main-nav.is-open { max-height: calc(100vh - 110px); }
  .site-header--light .main-nav a { padding: 14px 24px; font-size: 19px; border-bottom: 1px solid #ececec; }
  .site-header--light .main-nav > ul > li > a.is-active { margin: 0; padding: 14px 24px; line-height: 1.2; }
  .site-header--light .sub-toggle { border-color: #ececec; }
  .site-header--light .main-nav .sub-menu { background: #f4f4f5; }
  .site-header--light .main-nav .sub-menu a { color: #111; font-size: 17px; }

  .c-hero__inner { padding-left: 40px; }
  .c-touch .c-heading { font-size: 56px; }
  .c-heading { font-size: 46px; }
  .cf-footer__inner { flex-wrap: wrap; justify-content: center; gap: 22px 0; padding: 26px 16px; }
  .cf-footer__div { display: none; }
  .cf-footer__links { margin: 0; padding: 0 30px; }
  .cf-footer__email { margin-left: 0; flex-basis: 100%; justify-content: center; }
}

@media (max-width: 820px) {
  .announce-bar p { font-size: 15px; line-height: 1.35; letter-spacing: .06em; padding: 8px 0; }
  .c-main { padding-top: 0; }
  .c-main .c-wrap { padding: 0; }
  .c-main__grid { grid-template-columns: 1fr; gap: 0; }
  .c-touch { padding: 28px 24px 32px; }
  .c-form-wrap { padding: 26px 24px 26px; border-left: 0; border-right: 0; }
  .c-touch__areas p { white-space: normal; }
}

@media (max-width: 600px) {
  .lockup__name { font-size: 36px; line-height: 30px; margin-right: -26px; }
  .lockup__sub { font-size: 11px; gap: 6px; }
  .c-hero__inner { padding: 22px 16px 26px; }
  .c-hero__kicker { font-size: 21px; }
  .c-hero__title { font-size: 58px; }
  .c-hero__text { font-size: 18px; line-height: 1.3; }
  .c-touch { padding: 26px 18px 28px; }
  .c-touch .c-heading { font-size: 46px; }
  .c-touch__list li, .c-touch__mail { gap: 18px !important; }
  .c-touch__icon, .c-touch__icon--mail { margin-left: 0; }
  .c-touch__name, .c-touch__value { font-size: 24px; line-height: 27px; }
  .c-touch__email { font-size: 18px; letter-spacing: 0; word-break: break-all; }
  .c-touch__areas h3 { font-size: 28px; }
  .c-touch__areas p { font-size: 19px; }
  .c-form-wrap { padding: 22px 16px 24px; }
  .c-heading { font-size: 38px; }
  .c-field input, .c-field select, .c-field textarea { font-size: 16px; height: 40px; } /* no iOS zoom */
  .c-field textarea { height: 100px; }
  .c-field label { top: 11px; }
  .c-follow__links { flex-direction: column; gap: 14px; }
  .c-follow__sep { display: none; }
  .c-follow__links a { font-size: 22px; }
  .c-based p { font-size: 17px; }
  .cf-footer .lockup__name { font-size: 42px; line-height: 34px; }
  .cf-footer .lockup__sub { font-size: 13px; }
  .cf-footer__links { padding: 0; text-align: center; }
  .cf-row { flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
  .cf-footer__email { font-size: 16px; gap: 10px; }
}
