/* The Academy in the painted theme (inc/academy.php here), over the live templates and their stylesheet
   (theme/assets/css/academy.css), after the paper skin (skin.css): the hub's band on the airfield painting and its end
   on the runway, as the founder's pick of 2026-11-21 draws them (the umbrella's
   marketing/landing/prototypes/academy/painted/academy.css); the founder, 2026-11-30: "we made the painted theme of the
   academy, I want it to move to getsales". The band's foot is torn as the painted pages' heroes are (kit.css
   --edge-bottom, the same mask). */

/* ---------- the hub's band: the airfield along its foot, its sky fading into the paper behind the words ---------- */
.ac-hero-painted {
  --aw: max(100vw, 780px);
  position: relative; isolation: isolate; overflow: hidden; padding: 60px var(--k-gutter, 24px) 196px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cfilter id='e' x='-2%25' y='-2%25' width='104%25' height='104%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .05' numOctaves='4' seed='21' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-40' width='1520' height='914' fill='black' filter='url(%23e)'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cfilter id='e' x='-2%25' y='-2%25' width='104%25' height='104%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .05' numOctaves='4' seed='21' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-40' width='1520' height='914' fill='black' filter='url(%23e)'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.ac-scene { position: absolute; z-index: -2; left: 50%; bottom: calc(var(--aw) / -7.6); width: var(--aw); aspect-ratio: 3 / 2; transform: translateX(-50%); }
.ac-paint { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%); mask-image: linear-gradient(180deg, transparent 0, #000 12%); }
.ac-hero-painted::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(58% 70% at 50% 36%, rgba(253, 246, 240, .9), rgba(253, 246, 240, 0) 74%); }
.ac-hero-painted .k-eyebrow { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 8px 20px -14px rgba(60, 40, 40, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink2); }
.ac-hero-painted .ac-h1 { margin-top: 16px; font-weight: 560; letter-spacing: -.043em; }
.ac-hero-painted .ac-dek { color: #3E3D46; }
.ac-hero-painted .ac-count { padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .74); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink2); }

/* ---------- the hub's end: Ready for takeoff, on the runway ---------- */
.ac-end { position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; width: calc(100% - 2 * var(--k-gutter, 24px)); max-width: var(--ac-w, 1180px); margin: 80px auto 80px; padding: 72px 40px 76px; border-radius: 36px; text-align: center; }
.ac-end-paint { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.ac-end::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 246, 240, .25), rgba(255, 246, 240, .82) 42%, rgba(255, 246, 240, .3)); }
.ac-end-k { margin: 0; font: 600 13px/1 var(--mono, ui-monospace, monospace); letter-spacing: .22em; text-transform: uppercase; color: #4A4955; }
.ac-end-h { margin: 14px 0 0; font: 560 56px/1 var(--display); letter-spacing: -.045em; color: var(--ink2); text-wrap: balance; }
.ac-end-sub { max-width: 560px; margin: 16px auto 0; font: 400 18px/1.5 var(--sans); color: #3E3D46; text-wrap: pretty; }
.ac-end form.field { position: relative; display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: min(560px, 100%); height: 60px; margin: 28px auto 0; padding: 0 8px 0 18px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(70, 52, 40, .1), 0 18px 36px -20px rgba(60, 40, 40, .55); text-align: left; }
.ac-end form.field:focus-within { box-shadow: 0 0 0 2px var(--ink2), 0 18px 36px -20px rgba(60, 40, 40, .55); }
.ac-end form.field > svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: #8E8D96; }
.ac-end form.field input { flex: 1 1 0; width: 0; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 400 16px/1 var(--sans); color: var(--ink2); outline: none; -webkit-appearance: none; appearance: none; }
.ac-end form.field input::placeholder { color: #8E8D96; opacity: 1; }
.ac-end form.field button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: none; height: 46px; padding: 0 20px; border-radius: 999px; background: #0B0B0F; color: #fff; font: 600 15px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background-color .16s ease, transform .16s ease; }
.ac-end form.field button:hover { background: #26252C; }
.ac-end form.field button:active { transform: scale(.97); }
.ac-end form.field button:focus-visible { outline: 2px solid #0B0B0F; outline-offset: 2px; }
.ac-end-fine { display: inline-block; max-width: 100%; box-sizing: border-box; margin: 18px auto 0; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 400 13.5px/1.45 var(--sans); color: #3E3D46; }

/* ---------- Coming soon on the paper ---------- */
.ac .ac-soon-tag { background: rgba(240, 67, 43, .1); color: #B8321F; }

@media (max-width: 760px) {
  .ac-hero-painted { display: flex; flex-direction: column; padding: 40px var(--k-gutter, 16px) 0; }
  .ac-scene { order: 2; position: relative; left: auto; bottom: auto; width: 190%; margin: -30% 0 0 -45%; transform: none; }
  .ac-paint { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
  .ac-end { margin: 56px auto 56px; padding: 52px 18px 56px; border-radius: 26px; }
  .ac-end-h { font-size: 38px; }
  .ac-end-sub { font-size: 16px; }
  .ac-end-fine { border-radius: 16px; }
  .ac-end form.field { height: 56px; padding-left: 14px; }
  .ac-end form.field button { height: 42px; padding: 0 16px; }
  .ac-end form.field .fb-more { display: none; }
}
