/* Athena Inquiry Form
   Every rule is scoped to .ath-inq so nothing here can reach the rest of the
   page, and nothing on the page reaches in. */

.ath-inq,.ath-inq *,.ath-inq *::before,.ath-inq *::after{box-sizing:border-box}

/* Breakdance lays a section out as a flex column that does not stretch its
   children, so the block is told to fill the section it sits in. */
.bde-code-block:has(> .ath-inq){width:100%;align-self:stretch}

.ath-inq{
  --f-ink:#0B0B0C; --f-gold:#FFC04A; --f-body:#3A3A42; --f-muted:#6C6C75;
  --f-line:#DAD8D0; --f-shade:#F7F7F5; --f-err:#B3261E;
  display:block;width:100%;background:#FFFFFF;
  font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--f-ink);
}
.ath-inq .f-in{max-width:1000px;margin:0 auto;padding:34px 40px 90px}

/* Landing on #inquiry-form used to put the top of the form underneath the
   fixed header, so the title and the first fields were hidden.

   The header is no longer one fixed height: it is 182px at the top of a page
   and 135px once it has shrunk. So the height is measured in inquiry.js and
   written to --ai-hdr as an inline property, which beats everything below.
   The numbers here are only the fallback for JavaScript being off, and they
   deliberately use the taller reading at each width: landing a little low is
   a great deal better than landing underneath the header and seeing nothing. */
:root{--ai-hdr:182px}
@media (max-width:1199px){ :root{--ai-hdr:212px} }
@media (max-width:1023px){ :root{--ai-hdr:226px} }
@media (max-width:767px){ :root{--ai-hdr:262px} }
.ath-inq{scroll-margin-top:calc(var(--ai-hdr) + 24px)}

/* The form title. Poppins is named outright because the theme sets a font on
   every h1 to h6, which beats the family this block declares on itself. */
.ath-inq .f-head{margin:0 0 26px;padding:0 0 20px;border-bottom:1px solid var(--f-line,#DAD8D0)}
.ath-inq .f-title{
  font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:32px;font-weight:700;line-height:1.06;letter-spacing:-.026em;
  color:var(--f-ink);margin:0;padding:0}
.ath-inq .f-intro{
  font-family:Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px;font-weight:400;line-height:1.6;color:var(--f-body);
  margin:10px 0 0;padding:0;max-width:62ch}

@media (max-width:767px){
  .ath-inq .f-head{margin-bottom:22px;padding-bottom:16px}
  .ath-inq .f-title{font-size:26px}
  .ath-inq .f-intro{font-size:16px}
}

/* ------------------------------------------------------------- LAYOUT */
/* minmax(0,1fr) rather than 1fr. A plain 1fr track refuses to shrink below
   its content's min-content width, and a dropdown's min-content is as wide
   as its longest option, which pushes the page sideways on a small phone. */
.ath-inq .f-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 44px}
.ath-inq .f-full{grid-column:1 / -1}
.ath-inq .f-row{margin:0 0 24px;min-width:0}

.ath-inq .f-lab{display:block;font-size:15px;font-weight:600;letter-spacing:-.005em;
  line-height:1.4;margin:0 0 8px;color:var(--f-ink)}
.ath-inq .f-req{color:var(--f-gold);margin-left:3px}
/* the old form hid the label on some fields and leaned on the note below.
   It is still here for anyone using a screen reader. */
.ath-inq .f-lab--hide{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ath-inq .f-help{font-family:Roboto,system-ui,sans-serif;font-size:13px;font-weight:400;
  line-height:1.6;color:var(--f-muted);margin:7px 0 0;padding:0}

.ath-inq input[type=text],.ath-inq input[type=email],.ath-inq input[type=tel],
.ath-inq input[type=date],.ath-inq select,.ath-inq textarea{
  width:100%;display:block;background:#FFFFFF;color:var(--f-ink);
  font-family:Roboto,system-ui,sans-serif;font-size:16px;font-weight:400;line-height:1.5;
  border:1px solid var(--f-line);border-radius:2px;padding:13px 14px;margin:0;
  min-width:0;max-width:100%;
  transition:border-color .15s ease,box-shadow .15s ease;-webkit-appearance:none;appearance:none;
}
.ath-inq textarea{min-height:150px;resize:vertical}
.ath-inq textarea.f-sm{min-height:110px}
.ath-inq select{
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center;background-size:18px;padding-right:42px;
}
.ath-inq input:focus,.ath-inq select:focus,.ath-inq textarea:focus{
  outline:none;border-color:var(--f-ink);box-shadow:0 0 0 3px rgba(255,192,74,.35);
}
.ath-inq input::placeholder,.ath-inq textarea::placeholder{color:#A9A9B2;opacity:1}
/* Safari draws a date field as shrink to fit unless it is told otherwise,
   and iOS gives it its own inner padding. Both are levelled here so the
   picker sits in a box the same size as every other field. */
.ath-inq input[type=date]{min-height:51px;-webkit-appearance:none;appearance:none}
.ath-inq input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0}
.ath-inq input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.55}
.ath-inq input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}
.ath-inq .f-stack > * + *{margin-top:10px}
.ath-inq .f-sub{font-family:Roboto,system-ui,sans-serif;font-size:13px;color:var(--f-muted);
  margin:6px 0 14px;display:block}
.ath-inq .f-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 20px}
.ath-inq .f-two-item{min-width:0}

/* -------------------------------------------------------- YES NO PAIR */
.ath-inq .f-yn{display:flex;gap:10px;flex-wrap:wrap}
.ath-inq .f-yn label{
  display:inline-flex;align-items:center;gap:9px;cursor:pointer;margin:0;
  border:1px solid var(--f-line);border-radius:2px;padding:11px 18px;
  font-family:Roboto,system-ui,sans-serif;font-size:15px;color:var(--f-body);
  transition:border-color .15s ease,background-color .15s ease,color .15s ease;
}
.ath-inq .f-yn input{accent-color:#0B0B0C;width:16px;height:16px;margin:0}
.ath-inq .f-yn label:has(input:checked){border-color:var(--f-ink);background:var(--f-shade);color:var(--f-ink)}
.ath-inq .f-yn label:has(input:focus-visible){box-shadow:0 0 0 3px rgba(255,192,74,.35)}

/* ----------------------------------------------------------- DROP ZONE */
.ath-inq .f-drop{
  position:relative;overflow:hidden;display:block;margin:0;
  border:1px dashed var(--f-line);border-radius:3px;background:var(--f-shade);
  padding:26px 22px;text-align:center;cursor:pointer;
  transition:border-color .15s ease,background-color .15s ease;
}
.ath-inq .f-drop:hover,.ath-inq .f-drop.is-over{border-color:var(--f-gold);background:#FFFDF6}
.ath-inq .f-drop:focus-within{border-color:var(--f-ink);box-shadow:0 0 0 3px rgba(255,192,74,.35)}
.ath-inq .f-drop svg{width:24px;height:24px;color:var(--f-muted);display:block;margin:0 auto}
.ath-inq .f-drop-t{display:block;font-size:15px;font-weight:600;margin-top:9px}
.ath-inq .f-drop-p{display:block;font-family:Roboto,system-ui,sans-serif;font-size:13px;color:var(--f-muted);margin:5px 0 0}
.ath-inq .f-drop-list{display:block;font-family:Roboto,system-ui,sans-serif;font-size:14px;color:var(--f-ink);margin:12px 0 0}
.ath-inq .f-drop-list:empty{display:none}
.ath-inq .f-drop-list span{display:inline-block;background:#FFF;border:1px solid var(--f-line);
  border-radius:2px;padding:7px 12px;margin:0 6px 6px 0}
.ath-inq .f-drop input{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none;clip-path:inset(50%)}

/* --------------------------------------------------------------- NOTE
   A panel of copy rather than a field. Used to send a complaint to the
   right form, and to point applicants at the Careers page. */
.ath-inq .f-note{
  border:1px solid var(--f-line);border-left:3px solid var(--f-ink);border-radius:3px;
  background:#FFFFFF;padding:22px 24px;margin:0 0 24px;
}
.ath-inq .f-note-t{font-size:16px;font-weight:600;line-height:1.4;margin:0;color:var(--f-ink)}
.ath-inq .f-note-p{
  font-family:Roboto,system-ui,sans-serif;font-size:15px;line-height:1.7;
  color:var(--f-body);margin:8px 0 0;max-width:70ch;
}
.ath-inq .f-note-a{
  display:inline-block;margin-top:14px;
  font-family:Roboto,system-ui,sans-serif;font-size:13px;font-weight:500;
  letter-spacing:.08em;text-transform:uppercase;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;
  transition:text-decoration-color .2s ease;
}
.ath-inq a.f-note-a,.ath-inq a.f-note-a:link,.ath-inq a.f-note-a:visited{color:var(--f-ink)}
.ath-inq a.f-note-a:hover,.ath-inq a.f-note-a:focus-visible{
  color:var(--f-ink);text-decoration-color:var(--f-gold);text-decoration-thickness:2px;
}
.ath-inq a.f-note-a:focus-visible{outline:2px solid var(--f-gold);outline-offset:3px}

/* ------------------------------------------------------------- ERRORS */
.ath-inq .f-errors{border:1px solid var(--f-err);border-left-width:3px;border-radius:3px;
  background:#FDF4F3;padding:20px 24px;margin:0 0 30px}
.ath-inq .f-errors-t{font-size:15px;font-weight:600;margin:0;color:var(--f-err)}
.ath-inq .f-errors ul{font-family:Roboto,system-ui,sans-serif;font-size:15px;line-height:1.7;
  color:var(--f-body);margin:8px 0 0;padding-left:20px}
.ath-inq .f-bad input,.ath-inq .f-bad textarea,.ath-inq .f-bad select{border-color:var(--f-err)}
.ath-inq .f-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ------------------------------------------------------------ ACTIONS */
.ath-inq .f-act{margin-top:6px}
.ath-inq .f-btn{
  display:inline-block;padding:16px 38px;border-radius:2px;cursor:pointer;
  background:var(--f-gold);border:1px solid var(--f-gold);color:var(--f-ink);
  font-family:Poppins,system-ui,sans-serif;font-size:15px;font-weight:600;line-height:1;
  transition:background-color .2s ease,border-color .2s ease;
}
.ath-inq .f-btn:hover,.ath-inq .f-btn:focus-visible{background:#FFD07A;border-color:#FFD07A;color:var(--f-ink)}
.ath-inq .f-btn:focus-visible{outline:2px solid var(--f-gold);outline-offset:3px}
.ath-inq .f-btn[disabled]{opacity:.6;cursor:default}

/* ------------------------------------------------------------- THANKS */
.ath-inq .f-thanks{display:none;border:1px solid var(--f-line);border-top:3px solid var(--f-gold);
  border-radius:3px;background:var(--f-shade);padding:44px}
.ath-inq .f-thanks.is-shown{display:block}
.ath-inq .f-thanks:focus{outline:none}
.ath-inq .f-tick{width:44px;height:44px;border-radius:50%;background:var(--f-gold);display:grid;place-items:center}
.ath-inq .f-tick svg{width:22px;height:22px;color:var(--f-ink)}
.ath-inq .f-thanks h3{font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.2;margin:20px 0 0;color:var(--f-ink)}
.ath-inq .f-thanks p{font-family:Roboto,system-ui,sans-serif;font-size:16px;line-height:1.7;
  color:var(--f-body);margin:12px 0 0;max-width:62ch}
.ath-inq .f-thanks a{color:var(--f-ink);font-weight:500;text-decoration:underline;text-underline-offset:2px}
.ath-inq .f-thanks a:hover,.ath-inq .f-thanks a:focus-visible{color:var(--f-ink);text-decoration-color:var(--f-gold)}
.ath-inq .f-ref{display:inline-block;margin-top:20px;background:#FFFFFF;border:1px solid var(--f-line);
  border-radius:2px;padding:12px 18px;font-family:Roboto,system-ui,sans-serif;font-size:15px;color:var(--f-body)}
.ath-inq .f-ref b{font-family:Poppins,sans-serif;font-weight:600;color:var(--f-ink);letter-spacing:.02em}

/* --------------------------------------------------------- CONDITIONAL */
.ath-inq [data-when]{display:none}
.ath-inq [data-when].is-shown{display:block}
/* Before the script runs, show nothing conditional rather than everything. */
.ath-inq .f-form:not(.is-ready) [data-when]{display:none}

/* ---------------------------------------------------------- RESPONSIVE */
@media (max-width:1023px){ .ath-inq .f-in{padding:30px 32px 76px} }
@media (max-width:767px){
  .ath-inq .f-in{padding:26px 24px 60px}
  .ath-inq .f-grid,.ath-inq .f-two{grid-template-columns:minmax(0,1fr);gap:0}
  .ath-inq .f-btn{width:100%;text-align:center}
  /* 16px keeps iOS from zooming the page when a field is focused */
  .ath-inq input,.ath-inq select,.ath-inq textarea{font-size:16px}
  /* a date field is easy to fat finger, so it gets the full width on a phone */
  .ath-inq input[type=date]{width:100%}
  .ath-inq .f-note{padding:18px 20px}
  .ath-inq .f-thanks{padding:30px 24px}
  .ath-inq .f-thanks h3{font-size:22px}
}
@media (prefers-reduced-motion:no-preference){
  .ath-inq [data-when].is-shown{animation:ccf-in .22s ease}
  @keyframes ccf-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
}
