/* 📋 The job application (/jobs). Update 268 (Ryan: "match the tone of the new website. elegant professional layout. we just need one
   link with options"): built on the website's own look (site.css: forest green, warm gold, cream, the serif headings); picking
   Goat Mowing switches to Goat's colors. No hex colors. */
body.ap { background: var(--cream); padding-bottom: 40px; }
.ap-bar { position: sticky; top: 0; z-index: 20; background: hsl(42 45% 97% / .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
body.ap.goat .ap-bar { background: hsl(36 60% 97% / .94); }
.ap-bar-in { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 12px; }
.ap-logos { display: flex; gap: 8px; align-items: center; } .ap-logos img { height: 44px; width: auto; object-fit: contain; }
.ap-lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.ap-lang button { border: 0; background: transparent; font: 600 .88rem Inter, sans-serif; padding: 9px 16px; cursor: pointer; min-height: 42px; color: var(--ink); }
.ap-lang button.on { background: var(--forest); color: var(--white); }
.ap-hero { padding: clamp(44px, 8vw, 84px) 0 clamp(70px, 10vw, 110px); }
.ap-hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); }
.ap-hero .sub { margin-bottom: 0; }
.ap-main { margin-top: clamp(-70px, -8vw, -44px); position: relative; z-index: 2; max-width: 860px; }
.ap-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: clamp(20px, 4vw, 34px); margin-bottom: 18px; }
.ap-card h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 6px; }
.ap-card > p.muted { margin: 0 0 16px; }
.ap-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--white); font: 700 .9rem Inter, sans-serif; margin-right: 10px; vertical-align: 3px; }
/* the team choice */
.ap-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ap-team { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; text-align: left; background: var(--cream); border: 2px solid var(--line); border-radius: var(--r); padding: 16px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 96px; }
.ap-team:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ap-team img { width: 56px; height: 56px; object-fit: contain; }
.ap-team b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--forest); line-height: 1.15; }
.ap-team small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: 4px; }
.ap-team.on { border-color: var(--leaf); background: var(--white); box-shadow: 0 0 0 3px hsl(145 40% 34% / .18); }
.ap-team.both { grid-template-columns: 1fr; text-align: center; }
/* fields */
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-f { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--forest); }
.ap-f input, .ap-f select, .ap-f textarea { width: 100%; font: 400 1rem Inter, sans-serif; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.ap-f textarea { min-height: 120px; resize: vertical; }
.ap-f input:focus, .ap-f select:focus, .ap-f textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px hsl(145 40% 34% / .18); }
.ap-f em { font-style: normal; font-weight: 400; color: var(--muted); }
.ap-sub { margin: 18px 0 8px; font: 600 .78rem/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
/* choices as pills */
.ap-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-pill { position: relative; }
.ap-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ap-pill span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .95rem; min-height: 44px; transition: background .15s, border-color .15s; }
.ap-pill input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--white); }
.ap-pill input:checked + span::before { content: "✓"; font-weight: 700; }
.ap-pill input:focus-visible + span { box-shadow: 0 0 0 3px hsl(145 40% 34% / .3); }
.ap-yn { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ap-yn:last-child { border-bottom: 0; }
.ap-file { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ap-hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.ap-err { color: hsl(4 70% 42%); font-weight: 600; min-height: 1em; }
.ap-send { width: 100%; font-size: 1.05rem; border: 0; cursor: pointer; padding: 16px 26px; }
.ap-send:disabled { opacity: .6; cursor: default; transform: none; }
.ap-done { text-align: center; padding: clamp(30px, 6vw, 56px) 20px; }
.ap-done h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.ap-foot { text-align: center; padding: 10px 0 0; }
body.ap.goat .ap-step, body.ap.goat .ap-lang button.on, body.ap.goat .ap-pill input:checked + span { background: var(--forest-2); border-color: var(--forest-2); }
@media (max-width: 600px) { .ap-grid { grid-template-columns: 1fr; } .ap-logos img { height: 38px; } }
/* 🗓️ update 270: picking an interview time */
.ap-ivh { font-family: var(--serif); color: var(--forest); font-size: 1.3rem; margin: 18px 0 4px; }
.ap-slot { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 16px; font: 500 .95rem Inter, sans-serif; cursor: pointer; min-height: 44px; color: var(--ink); }
.ap-slot:hover { border-color: var(--leaf); } .ap-slot:disabled { opacity: .5; cursor: default; }
.ap-ivdone { margin: 18px auto 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); max-width: 520px; }
.ap-ivdone h3 { font-family: var(--serif); color: var(--forest); margin: 0 0 6px; } .ap-when { font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; }
