/* Lapse — inner-page styles. Loaded after style.css on every route except the home page. */

/* ---------- active nav state (inner pages only) ---------- */
.link{color:var(--grey);transition:color .3s var(--ease-soft)}
.link[aria-current="page"]{color:var(--white)}
.link[aria-current="page"]::after{content:"";display:block;width:auto;height:1px;margin-top:6px;background:var(--white)}
.menu-link[aria-current="page"]{color:var(--white)}

/* ---------- page shell ---------- */
.page{width:100%;max-width:var(--canvas);margin:0 auto;padding:0 20px}
.page-head{display:flex;flex-direction:column;gap:24px;max-width:760px;padding:100px 0 0}
.page-head .t-h1{max-width:720px}
.page-intro{color:var(--grey);font-size:18px;line-height:1.4em;max-width:620px}
.section{width:100%;max-width:var(--canvas);margin:0 auto;padding:100px 20px;display:flex;flex-direction:column;gap:48px}
.section--tight{padding:64px 20px;gap:40px}
.section-head{display:flex;flex-direction:column;gap:16px;max-width:680px}
@media (width<=1199.98px){.page-head{padding:80px 0 0}.section{padding:80px 20px}}
@media (width<=809.98px){.page-head{padding:64px 0 0}.section{padding:64px 20px;gap:40px}}

/* ---------- about ---------- */
.about-hero{width:100%;max-width:var(--canvas);margin:0 auto;padding:100px 20px 0;display:flex;flex-direction:column;gap:48px}
.about-hero-media{border-radius:16px;overflow:clip;width:100%}
.about-hero-media img{width:100%;height:auto;display:block}
.about-logos{display:flex;flex-direction:column;gap:20px}
.about-logos .t-eyebrow{color:var(--dark-grey)}
.logo-row{display:flex;flex-wrap:wrap;align-items:center;gap:32px}
.logo-row img{height:22px;width:auto;opacity:.6}
.about-story{display:flex;flex-direction:column;gap:20px;max-width:760px}
.about-story .t-body-m{font-size:17px;line-height:1.5em;color:var(--grey)}
.about-rules{display:flex;flex-direction:column;gap:32px}
.rules-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.rule-card{background:var(--surface);border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:24px;overflow:clip}
.rule-texture{width:100%;height:140px;object-fit:cover;border-radius:8px;display:block}
.rule-num{font-family:var(--font-mono);letter-spacing:.8px;color:var(--dark-grey);font-size:11px}
.rule-text{color:var(--white);font-size:20px;line-height:1.3em;font-weight:400}
.about-team{display:flex;flex-direction:column;gap:40px}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.team-card{display:flex;flex-direction:column;gap:16px}
.team-photo{border-radius:16px;overflow:clip;aspect-ratio:1/1}
.team-photo img{width:100%;height:100%;object-fit:cover;display:block}
.team-name{color:var(--white);font-size:16px;line-height:1.2em}
.team-role{font-family:var(--font-mono);color:var(--dark-grey);font-size:12px;line-height:1.2em}
@media (width<=1199.98px){.rules-grid{grid-template-columns:1fr}.team-grid{grid-template-columns:repeat(2,1fr)}}
@media (width<=809.98px){.about-hero{padding:64px 20px 0}.team-grid{grid-template-columns:1fr 1fr}.rule-card{padding:24px}}

/* ---------- pricing compare ---------- */
.compare-wrap{width:100%;overflow:clip;border-radius:16px;background:var(--surface)}
.compare{width:100%;border-collapse:collapse}
.compare th,.compare td{padding:18px 20px;text-align:left;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:middle}
.compare thead th{color:var(--white);font-weight:400;font-size:16px}
.compare thead th:first-child{width:34%}
.compare tbody th{color:var(--white);font-weight:400;font-size:14px}
.compare td{color:var(--grey);font-size:14px;line-height:1.3em}
.compare-group-head td{color:var(--dark-grey);font-family:var(--font-mono);font-size:11px;letter-spacing:.8px;text-transform:uppercase;padding-top:32px;border-bottom:1px solid rgba(255,255,255,.12)}
.compare .yes{color:var(--white)}
.compare .no{color:var(--dark-grey)}
.compare-foot{color:var(--dark-grey);font-size:14px;padding:24px 20px 0}
@media (width<=809.98px){.compare-wrap{overflow-x:auto}.compare{min-width:640px}}

/* ---------- forms (contact + demo) ---------- */
.contact-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:start}
.form{display:flex;flex-direction:column;gap:24px;width:100%}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.field{display:flex;flex-direction:column;gap:8px}
.field--full{grid-column:1 / -1}
.field-label{font-family:var(--font-mono);color:var(--dark-grey);font-size:12px;letter-spacing:.8px;text-transform:uppercase;line-height:1.2em}
.input,.textarea,.select{background:var(--surface);border:1px solid var(--grey-20);border-radius:12px;color:var(--white);font-family:var(--font);font-size:16px;line-height:1.3em;padding:14px 16px;width:100%;outline:none;transition:border-color .3s var(--ease-soft)}
.input:focus,.textarea:focus,.select:focus{border-color:var(--grey)}
.textarea{min-height:140px;resize:vertical}
.select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path d='M 5 9 L 12 16 L 19 9' fill='none' stroke='%236d6a6a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-repeat:no-repeat;background-position:right 16px center;padding-right:44px}
.input::placeholder,.textarea::placeholder{color:var(--dark-grey)}
.form-note{color:var(--dark-grey);font-size:13px;line-height:1.4em}
.form-submit{margin-top:8px}
.form-side{display:flex;flex-direction:column;gap:20px}
.channel{background:var(--surface);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:6px}
.channel-label{font-family:var(--font-mono);color:var(--dark-grey);font-size:11px;letter-spacing:.8px;text-transform:uppercase}
.channel-value{color:var(--white);font-size:16px;line-height:1.3em}
.channel-value a{color:var(--white)}
.next-steps{background:var(--surface);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:16px}
.next-steps h3{color:var(--white);font-size:18px;font-weight:400}
.next-steps ol{list-style:none;counter-reset:step;display:flex;flex-direction:column;gap:14px}
.next-steps li{counter-increment:step;display:flex;gap:12px;color:var(--grey);font-size:14px;line-height:1.4em}
.next-steps li::before{content:counter(step,decimal-leading-zero);flex:none;font-family:var(--font-mono);color:var(--dark-grey);font-size:12px}
@media (width<=1199.98px){.contact-grid{grid-template-columns:1fr;gap:40px}}
@media (width<=809.98px){.form-grid{grid-template-columns:1fr}}

/* ---------- blog index: hero ---------- */
.blog-hero{display:flex;flex-direction:column;align-items:center;gap:80px;max-width:var(--canvas);margin:0 auto;padding:100px 20px 40px}
.bh-head{display:flex;justify-content:space-between;align-items:flex-end;width:100%}
.bh-title{display:flex;flex-direction:column;gap:24px;width:700px;max-width:100%}
.bh-blurb{width:273px;max-width:100%}
.bh-featured{display:flex;gap:8px;width:100%;height:577px}
.bh-content{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;flex:none;width:400px;padding:32px;border-radius:16px;overflow:clip;background:var(--surface);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.bh-top{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}
.bh-copy{display:flex;flex-direction:column;align-items:flex-start;gap:20px;width:100%}
.bh-copy h2,.bh-copy p{width:100%}
.bh-cover{flex:1 1 0;min-width:0;height:100%;border-radius:16px;overflow:clip}
.bh-cover img{width:100%;height:100%;object-fit:cover}
@media (width<=1199.98px){.blog-hero{gap:48px}.bh-head{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:24px}.bh-title,.bh-blurb{width:100%}.bh-featured{flex-direction:column;height:auto}.bh-content{width:100%;justify-content:flex-start;gap:24px}.bh-cover{flex:none;width:100%;height:320px}}
@media (width<=809.98px){.blog-hero{gap:40px;padding:64px 20px 32px}.bh-head{gap:20px}.bh-content{padding:20px}.bh-cover{height:220px}}

/* ---------- blog index: articles list + tabs ---------- */
.blog-articles{display:flex;flex-direction:column;align-items:center;gap:20px;max-width:var(--canvas);margin:0 auto;padding:0 20px 100px}
.ba-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:16px;width:100%}
.ba-tab{display:flex;align-items:center;justify-content:center;padding:4px 12px;border-radius:8px;overflow:clip;font-family:var(--font-mono);font-size:10px;line-height:1.2em;letter-spacing:.8px;text-transform:uppercase;white-space:nowrap;user-select:none;color:var(--dark-grey);background:transparent;transition:background-color .4s var(--ease-out),color .4s var(--ease-out)}
.ba-tab[aria-pressed="true"]{background:var(--white);color:var(--black)}
.ba-list{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:20px 8px;justify-content:start;width:100%}
.ba-card{display:flex;align-items:center;gap:8px;height:317px;border-radius:16px;overflow:clip;background:var(--surface)}
.ba-card[hidden]{display:none}
.ba-content{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:40px;flex:1 1 0;min-width:0;padding:32px}
.ba-content h3{width:100%}
.ba-cover{flex:none;width:307px;height:100%;overflow:clip}
.ba-cover img{width:100%;height:100%;object-fit:cover}
.ba-empty{grid-column:1 / -1;display:flex;align-items:center;padding:32px;border-radius:16px;border:1px dashed var(--surface)}
.ba-empty p{color:var(--dark-grey);flex:1}
@media (width<=1199.98px){.ba-list{display:flex;flex-direction:column;gap:20px}.ba-card,.ba-empty{width:100%}}
@media (width<=809.98px){.blog-articles{padding:0 20px 64px}.ba-tabs{flex-wrap:nowrap;gap:8px;padding-bottom:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.ba-tabs::-webkit-scrollbar{display:none}.ba-tab{flex:none}.ba-list{gap:16px}.ba-card{flex-direction:column;align-items:flex-start;height:auto}.ba-content{flex:none;width:100%;gap:20px;padding:20px}.ba-cover{order:-1;width:100%;height:180px}}
@media (prefers-reduced-motion:reduce){.ba-tab{transition:none}}

/* ---------- article page: top ---------- */
.article-top{display:flex;flex-direction:column;align-items:center;gap:40px;max-width:var(--canvas);margin:0 auto;padding:100px 20px 0}
.at-header{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%}
.at-meta{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}
.at-header>h1,.at-header>p{width:700px;max-width:100%;text-align:center}
.at-cover{width:100%;height:400px;object-fit:cover;border-radius:16px}
@media (width<=1199.98px){.at-header>h1,.at-header>p{width:100%}.at-cover{height:320px}}
@media (width<=809.98px){.article-top{gap:32px;padding:64px 20px 0}.at-header{gap:16px}.at-cover{height:220px}}

/* ---------- article page: body / prose ---------- */
.article-body{display:flex;flex-direction:column;align-items:center;gap:40px;max-width:var(--canvas);margin:0 auto;padding:40px 20px}
.prose,.ab-author{width:700px;max-width:100%}
.prose{display:flex;flex-direction:column}
.prose>*{margin:0}
.prose p{font-size:16px;line-height:1.5em;color:var(--grey)}
.prose>p,.prose>ul,.prose>h3{margin-top:20px}
.prose>h2,.prose>h4,.prose>h5{margin-top:40px}
.prose>:first-child{margin-top:0}
.prose h2,.prose h3,.prose h4,.prose h5{font-weight:400;line-height:1.1em;color:var(--white)}
.prose h2{font-size:32px}
.prose h3{font-size:24px}
.prose h4{font-size:20px}
.prose h5{font-size:18px;line-height:1.2em}
.prose strong{font-weight:600;color:var(--white)}
.prose a{color:var(--white);text-decoration:underline;text-underline-offset:2px}
.prose>ul{padding-left:20px;font-size:16px;line-height:1.5em;color:var(--grey)}
.prose>ul li{margin-top:10px}
.prose>ul li:first-child{margin-top:0}

/* callout: > **Title** then body */
.prose>blockquote{display:flex;flex-direction:column;gap:20px;margin:20px 0;padding:32px;border-radius:16px;background:var(--surface)}
.prose>blockquote p{margin:0}
.prose>blockquote>p:first-child{line-height:1.1em;color:var(--white)}
.prose>blockquote>p:first-child strong{font-weight:400}

/* step list: ordered list, numbered 01, 02 … */
.prose>ol{list-style:none;counter-reset:step;margin:20px 0}
.prose>ol li{counter-increment:step;display:flex;align-items:flex-start;gap:16px;padding:17px 0;font-size:16px;line-height:1.5em;color:var(--grey);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.prose>ol li::before{content:counter(step,decimal-leading-zero);flex:none;width:34px;font-family:var(--font-mono);font-size:14px;line-height:1.5em;color:var(--dark-grey)}
.prose>ol li:first-child{padding-top:37px}
.prose>ol li:last-child{padding-bottom:37px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -1px 0 rgba(255,255,255,.08)}

/* figure: horizontal bar chart */
.prose>figure.figure{display:flex;flex-direction:column;margin:20px 0;padding:34px 36px 28px;border-radius:16px;overflow:clip;background:var(--surface)}
.prose .figure p{margin:0}
.prose .figure figcaption{display:flex;flex-direction:column;gap:8px}
.prose .figure-title{line-height:1.1em;color:var(--white)}
.prose .figure-subtitle,.prose .figure-axis p,.prose .figure-row p:nth-child(n+2){font-family:var(--font-mono);font-size:14px;line-height:1.2em;color:var(--dark-grey)}
.prose .figure-rows{display:flex;flex-direction:column;gap:16px;padding:30px 0 20px}
.prose .figure-row{display:grid;grid-template-columns:minmax(0,1fr) 66px;grid-template-rows:auto auto;column-gap:18px}
.prose .figure-row p:nth-child(1){grid-area:1 / 1}
.prose .figure-row p:nth-child(n+2){grid-area:1 / 2 / 3 / 3;align-self:center;text-align:right}
.prose .figure-row p:nth-child(2){margin-bottom:calc(1.2em + 5px);color:var(--white)}
.prose .figure-row p:nth-child(3){margin-top:calc(1.2em + 5px)}
.prose .figure-row::before,.prose .figure-row::after{content:"";grid-area:2 / 1;height:12px;margin-top:9px;border-radius:0 4px 4px 0}
.prose .figure-row::before{background:var(--surface)}
.prose .figure-row::after{width:var(--bar,0%);max-width:100%;background:var(--grey-20)}
.prose .figure-row.is-outline p:nth-child(1){color:var(--white)}
.prose .figure-row.is-outline::after{background:none;border:1px dashed rgba(255,255,255,.35)}
.prose .figure-axis{display:flex;justify-content:space-between;align-items:center;padding:14px 84px 20px 0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.prose .figure .figure-caption{margin-top:18px;font-size:14px;line-height:1.2em;color:var(--dark-grey)}

/* author footer */
.ab-author{display:flex;align-items:flex-start;gap:16px;padding:20px 0;box-shadow:inset 0 1px 0 var(--grey-20)}
.ab-author img{flex:none;width:32px;height:32px;border-radius:999px;object-fit:cover}
.ab-name{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.ab-label{font-size:16px;line-height:1.1em;color:var(--grey)}
@media (width<=1199.98px){.prose,.ab-author{width:100%}.prose h2{font-size:28px}}
@media (width<=809.98px){.article-body{gap:32px;padding:32px 20px}.prose h2{font-size:26px}.prose>figure.figure{padding:24px 20px}}

/* ---------- related reading ---------- */
.related{display:flex;flex-direction:column;align-items:flex-start;gap:80px;max-width:var(--canvas);margin:0 auto;padding:40px 20px 100px}
.related h2{width:700px;max-width:100%}
@media (width<=1199.98px){.related{gap:48px}.related h2{width:100%}}
@media (width<=809.98px){.related{gap:32px;padding:32px 20px 64px}}

/* ---------- about: Meet the Team (rich profiles) ---------- */
.section--team{gap:56px}
.team-intro{color:var(--grey);font-size:18px;line-height:1.5em;max-width:680px}
.team-intro strong{color:var(--white);font-weight:500}
.team-grid--rich{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.team-profile{display:flex;gap:24px;background:var(--surface);border-radius:16px;padding:28px;overflow:clip;transition:transform .4s var(--ease-out),box-shadow .4s var(--ease-out)}
.team-profile .team-photo{flex:none;width:160px;aspect-ratio:1/1;border-radius:12px;overflow:clip;align-self:flex-start}
.team-profile .team-photo img{width:100%;height:100%;object-fit:cover;display:block}
.team-profile-body{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:14px}
.team-profile-head{display:flex;flex-direction:column;gap:4px}
.team-profile-head .team-name{font-size:22px;line-height:1.15em}
.team-profile-head .team-role{font-family:var(--font-mono);color:var(--dark-grey);font-size:12px;letter-spacing:.6px;text-transform:uppercase}
.team-about-line{font-family:var(--font-mono);color:var(--dark-grey);font-size:11px;letter-spacing:.7px;text-transform:uppercase;display:flex;align-items:center;gap:8px}
.team-about-line a{color:var(--white);text-decoration:underline;text-underline-offset:2px}
.team-about-line .dot{opacity:.5}
.team-bio{color:var(--grey);font-size:15px;line-height:1.5em;margin:0}
.team-tags{display:flex;flex-wrap:wrap;gap:8px}
.team-tag{font-family:var(--font-mono);letter-spacing:.6px;color:var(--grey);font-size:11px;line-height:1.2em;border-radius:999px;padding:5px 11px;display:inline-flex;box-shadow:inset 0 0 0 1px var(--grey-20)}
.team-quote{margin:8px 0 0;padding-left:14px;border-left:2px solid var(--grey-20);color:var(--white);font-size:14px;line-height:1.5em;font-style:italic}
@media (hover:hover){.team-profile:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px #000000a6}}
@media (width<=1199.98px){.team-grid--rich{grid-template-columns:1fr}.team-profile .team-photo{width:120px}}
@media (width<=809.98px){.team-profile{flex-direction:column;gap:16px;padding:20px}.team-profile .team-photo{width:100%;aspect-ratio:16/10}.team-profile-head .team-name{font-size:20px}}

/* ---------- about: Technology stack ---------- */
.tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tech-card{display:flex;flex-direction:column;gap:10px;background:var(--surface);border-radius:14px;padding:22px;overflow:clip;transition:transform .4s var(--ease-out),box-shadow .4s var(--ease-out)}
.tech-glyph{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;background:#101010;box-shadow:inset 0 0 0 1px var(--grey-20);font-family:var(--font-mono);font-size:15px;color:var(--white);font-weight:500}
.tech-name{color:var(--white);font-size:16px;line-height:1.2em}
.tech-desc{color:var(--dark-grey);font-size:12px;line-height:1.35em;font-family:var(--font-mono);letter-spacing:.4px}
@media (hover:hover){.tech-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px -22px #000000a6}}
@media (width<=1199.98px){.tech-grid{grid-template-columns:repeat(3,1fr)}}
@media (width<=809.98px){.tech-grid{grid-template-columns:repeat(2,1fr)}.tech-card{padding:18px}}

/* ---------- about: Selected work ---------- */
.work-list{display:flex;flex-direction:column;gap:20px}
.work-card{display:grid;grid-template-columns:1.05fr 1fr;gap:0;background:var(--surface);border-radius:16px;overflow:clip;transition:transform .4s var(--ease-out),box-shadow .4s var(--ease-out)}
.work-media{position:relative;min-height:340px;background:var(--black);overflow:clip}
.work-media img,.work-media video{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}
.work-media video{object-fit:cover}
.work-eyebrow{position:absolute;top:18px;left:18px;z-index:2;font-family:var(--font-mono);color:var(--white);font-size:11px;letter-spacing:.7px;text-transform:uppercase;background:rgba(16,16,16,.7);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;padding:6px 12px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.work-body{display:flex;flex-direction:column;gap:16px;padding:36px}
.work-body .work-name{color:var(--white);font-size:30px;line-height:1.1em;font-weight:400}
.work-body .work-desc{color:var(--grey);font-size:16px;line-height:1.5em;margin:0}
.work-tags{display:flex;flex-wrap:wrap;gap:8px}
.work-tag{font-family:var(--font-mono);letter-spacing:.6px;color:var(--grey);font-size:11px;line-height:1.2em;border-radius:999px;padding:5px 11px;display:inline-flex;box-shadow:inset 0 0 0 1px var(--grey-20)}
.work-link{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;color:var(--white);font-size:14px;padding:10px 18px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--grey-20);transition:background-color .3s var(--ease-soft),box-shadow .3s var(--ease-soft);margin-top:4px}
.work-link svg{width:14px;height:14px;transition:transform .3s var(--ease-out)}
@media (hover:hover){.work-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px -24px #000000a6}.work-link:hover{background:var(--white);color:var(--black)}.work-link:hover svg{transform:translateX(3px)}}
@media (width<=1199.98px){.work-card{grid-template-columns:1fr}.work-media{min-height:240px}.work-body{padding:28px}}
@media (width<=809.98px){.work-media{min-height:200px}.work-body{padding:20px}.work-body .work-name{font-size:24px}}


/* === AFTERSOLVES v3 PAGE COMPONENTS START === */

/* ---------- What We Do grid (about.html) ---------- */
.whatwedo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;width:100%}
.whatwedo-card{
  background:var(--surface);border-radius:14px;padding:24px;
  display:flex;flex-direction:column;gap:10px;overflow:clip;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.whatwedo-card .whatwedo-name{
  color:var(--white);font-size:15px;line-height:1.2em;font-weight:500;margin:0;
}
.whatwedo-card .whatwedo-desc{
  color:var(--grey);font-size:13px;line-height:1.5em;margin:0;
}
@media (width<=1199.98px){.whatwedo-grid{grid-template-columns:repeat(2,1fr)}}
@media (width<=809.98px){.whatwedo-grid{grid-template-columns:1fr}}

/* ---------- Technology cards as links (services + about) ---------- */
.tech-card--link{
  display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit;
  position:relative;
}
.tech-card--link .tech-glyph,
.tech-card--link .tech-name,
.tech-card--link .tech-desc{display:block}
.tech-card--link .tech-name{color:var(--white)}
.tech-card--link .tech-visit{
  margin-top:6px;font-family:var(--font-mono);font-size:11px;letter-spacing:.6px;
  text-transform:uppercase;color:var(--dark-grey);display:inline-flex;align-items:center;gap:6px;
  transition:color .25s var(--ease-out);
}
.tech-card--link .tech-visit svg{width:12px;height:12px;transition:transform .25s var(--ease-out)}
.tech-card--link:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px #000000a6}
.tech-card--link:hover .tech-visit{color:var(--white)}
.tech-card--link:hover .tech-visit svg{transform:translate(2px,-2px)}
.tech-grid--links{grid-template-columns:repeat(4,1fr)}
@media (width<=1199.98px){.tech-grid--links{grid-template-columns:repeat(3,1fr)}}
@media (width<=809.98px){.tech-grid--links{grid-template-columns:repeat(2,1fr)}}

/* ---------- section CTA row (inline ghost button after a section) ---------- */
.section-cta-row{display:flex;justify-content:flex-start;margin-top:8px}
@media (max-width:809px){.section-cta-row{justify-content:stretch}}
.section-cta-row .btn{width:auto}
@media (max-width:809px){.section-cta-row .btn{width:100%}}

/* ---------- team profile 'read full profile' link ---------- */
.team-profile-link{
  margin-top:6px;font-family:var(--font-mono);font-size:11px;letter-spacing:.8px;
  text-transform:uppercase;color:var(--white);text-decoration:none;
  display:inline-flex;align-items:center;gap:8px;align-self:flex-start;
}
.team-profile-link svg{width:14px;height:14px;transition:transform .25s var(--ease-out)}
.team-profile-link:hover svg{transform:translateX(3px)}

/* ---------- Leadership index (leaderships.html) ---------- */
.leadership-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;width:100%}
.leadership-card{
  display:flex;gap:24px;background:var(--surface);border-radius:16px;padding:28px;
  overflow:clip;text-decoration:none;color:inherit;position:relative;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.leadership-card .leadership-photo{
  flex:none;width:140px;aspect-ratio:1/1;border-radius:12px;overflow:clip;align-self:flex-start;
}
.leadership-card .leadership-photo img{width:100%;height:100%;object-fit:cover;display:block}
.leadership-card .leadership-body{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:12px}
.leadership-card .leadership-name{color:var(--white);font-size:22px;line-height:1.15em;font-weight:500;margin:0}
.leadership-card .leadership-role{
  font-family:var(--font-mono);color:var(--dark-grey);font-size:12px;letter-spacing:.6px;
  text-transform:uppercase;margin:0;
}
.leadership-card .leadership-bio{color:var(--grey);font-size:14px;line-height:1.5em;margin:0}
.leadership-card .leadership-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.leadership-card .leadership-arrow{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.8px;text-transform:uppercase;
  color:var(--white);display:inline-flex;align-items:center;gap:8px;
}
.leadership-card .leadership-arrow svg{width:14px;height:14px;transition:transform .25s var(--ease-out)}
.leadership-card:hover .leadership-arrow svg{transform:translateX(3px)}
@media (width<=809.98px){
  .leadership-grid{grid-template-columns:1fr}
  .leadership-card{flex-direction:column;gap:18px;padding:22px}
  .leadership-card .leadership-photo{width:100%;aspect-ratio:16/9}
}

/* ---------- Leadership detail page (leaderships/<slug>.html) ---------- */
.leader-hero{width:100%;max-width:var(--canvas);margin:0 auto;padding:80px 20px 0;display:flex;flex-direction:column;gap:32px}
.leader-hero-grid{display:grid;grid-template-columns:280px 1fr;gap:32px;align-items:start}
.leader-photo{
  border-radius:16px;overflow:clip;aspect-ratio:1/1;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.leader-photo img{width:100%;height:100%;object-fit:cover;display:block}
.leader-hero-head{display:flex;flex-direction:column;gap:14px}
.leader-hero-head .leader-name{font-size:44px;line-height:1.05em;color:var(--white);font-weight:400;margin:0;letter-spacing:-.5px}
.leader-hero-head .leader-role{
  font-family:var(--font-mono);color:var(--dark-grey);font-size:13px;letter-spacing:.8px;
  text-transform:uppercase;margin:0;
}
.leader-hero-head .leader-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.leader-hero-head .leader-tag{
  font-family:var(--font-mono);letter-spacing:.6px;color:var(--grey);font-size:11px;line-height:1.2em;
  border-radius:999px;padding:5px 11px;display:inline-flex;box-shadow:inset 0 0 0 1px var(--grey-20);
}
.leader-back{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.8px;text-transform:uppercase;
  color:var(--dark-grey);text-decoration:none;display:inline-flex;align-items:center;gap:8px;
  transition:color .25s var(--ease-out);
}
.leader-back:hover{color:var(--white)}
.leader-back svg{width:14px;height:14px;transform:rotate(180deg)}
.leader-section{display:flex;flex-direction:column;gap:16px;max-width:760px}
.leader-section .leader-section-head{
  font-family:var(--font-mono);color:var(--dark-grey);font-size:12px;letter-spacing:.8px;
  text-transform:uppercase;margin:0;
}
.leader-section .leader-body{display:flex;flex-direction:column;gap:18px}
.leader-section .leader-body p{color:var(--grey);font-size:16px;line-height:1.6em;margin:0}
.leader-section .leader-body p strong{color:var(--white);font-weight:500}
.leader-pullquote{
  margin:8px 0 0;padding:20px 24px;border-left:2px solid var(--grey-20);
  color:var(--white);font-size:18px;line-height:1.5em;font-style:italic;
  background:var(--surface);border-radius:0 12px 12px 0;max-width:680px;
}
.leader-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.leader-social a{
  font-family:var(--font-mono);font-size:12px;letter-spacing:.6px;text-transform:uppercase;
  color:var(--white);text-decoration:none;border-radius:999px;padding:8px 14px;
  background:var(--surface);box-shadow:inset 0 0 0 1px var(--grey-20);
  display:inline-flex;align-items:center;gap:8px;transition:transform .25s var(--ease-out),box-shadow .25s var(--ease-out);
}
.leader-social a:hover{transform:translateY(-2px);box-shadow:0 10px 24px -16px #000000a6,inset 0 0 0 1px rgba(255,255,255,.12)}
.leader-social a svg{width:14px;height:14px}
@media (width<=809.98px){
  .leader-hero-grid{grid-template-columns:1fr;gap:24px}
  .leader-photo{max-width:240px}
  .leader-hero-head .leader-name{font-size:34px}
}

/* ---------- Projects index (projects.html) ---------- */
.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;width:100%}
.project-card{
  display:flex;flex-direction:column;background:var(--surface);border-radius:16px;overflow:clip;
  text-decoration:none;color:inherit;position:relative;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.project-card .project-media{
  position:relative;aspect-ratio:16/10;overflow:clip;background:#0a0a0a;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.project-card .project-media img,
.project-card .project-media video{width:100%;height:100%;object-fit:cover;display:block}
.project-card .project-eyebrow{
  position:absolute;top:14px;left:14px;font-family:var(--font-mono);font-size:11px;
  letter-spacing:.6px;text-transform:uppercase;color:var(--white);
  background:rgba(16,16,16,.7);backdrop-filter:blur(6px);border-radius:999px;padding:5px 11px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);
}
.project-card .project-body{padding:28px;display:flex;flex-direction:column;gap:14px;flex:1}
.project-card .project-name{color:var(--white);font-size:24px;line-height:1.15em;font-weight:500;margin:0}
.project-card .project-desc{color:var(--grey);font-size:14px;line-height:1.5em;margin:0}
.project-card .project-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.project-card .project-tag{
  font-family:var(--font-mono);letter-spacing:.6px;color:var(--grey);font-size:11px;line-height:1.2em;
  border-radius:999px;padding:5px 11px;display:inline-flex;box-shadow:inset 0 0 0 1px var(--grey-20);
}
.project-card .project-link{
  font-family:var(--font-mono);font-size:12px;letter-spacing:.8px;text-transform:uppercase;
  color:var(--white);display:inline-flex;align-items:center;gap:8px;margin-top:6px;
}
.project-card .project-link svg{width:14px;height:14px;transition:transform .25s var(--ease-out)}
.project-card:hover .project-link svg{transform:translateX(3px)}
@media (width<=809.98px){.project-grid{grid-template-columns:1fr}}

/* ---------- Project detail (projects/<slug>.html) ---------- */
.project-hero{width:100%;max-width:var(--canvas);margin:0 auto;padding:80px 20px 0;display:flex;flex-direction:column;gap:32px}
.project-hero-media{
  border-radius:16px;overflow:clip;aspect-ratio:21/9;background:#0a0a0a;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.project-hero-media img,.project-hero-media video{width:100%;height:100%;object-fit:cover;display:block}
.project-meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:760px}
.project-meta-tile{background:var(--surface);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:6px}
.project-meta-tile .meta-label{font-family:var(--font-mono);color:var(--dark-grey);font-size:11px;letter-spacing:.6px;text-transform:uppercase}
.project-meta-tile .meta-value{color:var(--white);font-size:15px;line-height:1.3em}
@media (width<=809.98px){.project-meta-grid{grid-template-columns:1fr}}
.project-cta-card{
  background:var(--surface);border-radius:16px;padding:36px;display:flex;flex-direction:column;gap:20px;
  align-items:flex-start;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.project-cta-card .project-cta-title{color:var(--white);font-size:24px;line-height:1.15em;font-weight:500;margin:0}
.project-cta-card .project-cta-desc{color:var(--grey);font-size:15px;line-height:1.5em;margin:0;max-width:560px}

/* === AFTERSOLVES v3 PAGE COMPONENTS END === */


/* === AFTERSOLVES v5 PRICING START === */

/* Equal-height pricing cards + bottom-aligned CTA */
.tiers[data-astro-cid-2vt23bzg]{align-items:stretch}
.plans-card[data-astro-cid-2vt23bzg] .card-btn{margin-top:auto}

/* Recommended (featured) plan — auto height so long feature lists never clip,
   plus an elevated shadow + top accent bar to mark it as recommended. */
.plans-card--featured[data-astro-cid-2vt23bzg]{height:auto;min-height:0;box-shadow:0 24px 60px -20px #00000080, inset 0 0 0 1px rgba(255,255,255,.10)}
.plans-card--featured[data-astro-cid-2vt23bzg]::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#cd20ca,#ff5a36);border-radius:var(--radius) var(--radius) 0 0;
}
.plans-badge[data-astro-cid-2vt23bzg]{
  display:inline-flex;flex:none;align-self:flex-start;
  background:linear-gradient(135deg,#cd20ca,#ff5a36);color:var(--white);
  font-family:var(--font-mono);font-size:10px;letter-spacing:.8px;text-transform:uppercase;
  border-radius:999px;padding:4px 10px;line-height:1.2em;font-weight:500;
  box-shadow:0 0 16px rgba(205,32,202,.45);
}

/* 'Everything in Starter, plus:' header row inside a feature list */
.feature--head[data-astro-cid-2vt23bzg]{padding-bottom:4px;margin-bottom:2px}
.feature--head[data-astro-cid-2vt23bzg] .t-body-s[data-astro-cid-2vt23bzg]{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.6px;text-transform:uppercase;
  color:var(--white);box-shadow:inset 0 -1px 0 rgba(255,255,255,.12);padding-bottom:8px;width:100%;
}
.plans-card--featured .feature--head .t-body-s{color:var(--white)}

/* Enterprise pricing note line */
.plans-note[data-astro-cid-2vt23bzg]{
  color:var(--dark-grey);font-size:12px;line-height:1.5em;margin:0;
  padding-top:4px;border-top:1px solid rgba(255,255,255,.06);
}

/* Comparison table — custom-priced + available/optional indicators */
.compare .custom{
  display:inline-flex;align-items:center;font-family:var(--font-mono);font-size:11px;
  letter-spacing:.4px;color:var(--white);background:rgba(205,32,202,.16);
  border-radius:6px;padding:3px 8px;box-shadow:inset 0 0 0 1px rgba(205,32,202,.32);
}
.compare .avail{
  display:inline-flex;align-items:center;font-family:var(--font-mono);font-size:11px;
  letter-spacing:.4px;color:var(--white);background:rgba(255,255,255,.06);
  border-radius:6px;padding:3px 8px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
.compare .yes{color:var(--white)}
.compare .no{color:var(--dark-grey)}

/* Legend above + below the comparison table */
.compare-legend{
  display:flex;flex-wrap:wrap;gap:18px;margin-bottom:18px;
  font-family:var(--font-mono);font-size:11px;letter-spacing:.4px;color:var(--dark-grey);
}
.compare-legend .lg{display:inline-flex;align-items:center;gap:7px}
.compare-legend .lg svg{width:11px;height:11px}
.compare-legend .lg-yes{color:var(--white)}
.compare-legend .lg-no{color:var(--dark-grey)}
.compare-legend .lg-custom{color:var(--white)}
.compare-legend .lg-custom::before{content:"";width:9px;height:9px;border-radius:3px;background:rgba(205,32,202,.5);box-shadow:inset 0 0 0 1px rgba(205,32,202,.6)}
.compare-legend .lg-avail{color:var(--white)}
.compare-legend .lg-avail::before{content:"";width:9px;height:9px;border-radius:3px;background:rgba(255,255,255,.25);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.compare-legend:last-child{margin-bottom:0;margin-top:18px}

/* Small 2-column table variant for the domain pricing clarification */
.compare-wrap--small{max-width:560px;margin-top:14px}
.compare-wrap--small .compare th,.compare-wrap--small .compare td{padding:14px 16px}
.clarify-table tbody th{color:var(--grey);font-weight:400}

/* Sticky first column on the comparison table for readability while scrolling */
.compare-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.compare{min-width:560px;border-collapse:collapse;width:100%}
.compare thead th{position:sticky;top:0;background:var(--black);z-index:2}
.compare tbody th{text-align:left;position:sticky;left:0;background:var(--black);z-index:1;max-width:200px}

/* ---------- Custom Domain & Subdomain Policy ---------- */
.domain-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%}
.domain-option{
  background:var(--surface);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:16px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);overflow:clip;position:relative;
}
.domain-option--included::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#ffffff,#a3a3a3);
}
.domain-option--custom::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#cd20ca,#ff5a36);
}
.domain-option-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.domain-option-head .t-h4{margin:0;font-size:18px;font-weight:500;color:var(--white)}
.domain-pill{
  font-family:var(--font-mono);font-size:10px;letter-spacing:.8px;text-transform:uppercase;
  border-radius:999px;padding:4px 10px;line-height:1.2em;font-weight:500;flex:none;
}
.domain-pill--included{color:var(--black);background:var(--white)}
.domain-pill--custom{color:var(--white);background:linear-gradient(135deg,#cd20ca,#ff5a36);box-shadow:0 0 12px rgba(205,32,202,.4)}
.domain-option-desc{color:var(--grey);font-size:14px;line-height:1.5em;margin:0}
.domain-examples-label{font-family:var(--font-mono);color:var(--dark-grey);font-size:11px;letter-spacing:.6px;text-transform:uppercase;margin:0}
.domain-examples{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.domain-examples li{
  font-family:var(--font-mono);font-size:13px;color:var(--white);
  background:rgba(255,255,255,.04);border-radius:8px;padding:8px 12px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.domain-services,.domain-conditions{margin-top:8px}
.domain-services .t-eyebrow,.domain-conditions .t-eyebrow,.domain-clarify .t-eyebrow{margin-bottom:14px}
.domain-warning{
  margin-top:14px;color:var(--white);font-size:12px;line-height:1.5em;
  background:rgba(205,32,202,.08);border-radius:10px;padding:12px 16px;
  box-shadow:inset 0 0 0 1px rgba(205,32,202,.24);
}
@media (width<=809.98px){.domain-options{grid-template-columns:1fr}}

/* ---------- Additional Subscription Information ---------- */
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;width:100%}
.info-block{
  background:var(--surface);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.info-block .t-h4{margin:0;font-size:18px;font-weight:500;color:var(--white)}
.info-block .bullet-list{margin:0;padding:0}
@media (width<=1199.98px){.info-grid{grid-template-columns:repeat(2,1fr)}}
@media (width<=809.98px){.info-grid{grid-template-columns:1fr}}

/* === AFTERSOLVES v5 PRICING END === */


/* === AFTERSOLVES new-aftersolves-v2 PRICING START ===
   Appended 2026-11-07. New two-category pricing layout:
   Booking Solutions + Website Development plan grids, Website Management
   Options cards, Important Pricing Terms note, and a shared .bullet-list style. */

/* Shared bullet list — used by domain services/conditions, management services,
   and any other plain feature list. Replaces browser default bullets with a
   subtle dash marker that matches the dark, mono-accented design language. */
.bullet-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.bullet-list li{position:relative;padding-left:18px;color:var(--grey);font-size:14px;line-height:1.5em}
.bullet-list li::before{content:"";position:absolute;left:0;top:10px;width:8px;height:1px;background:var(--dark-grey)}

/* The two plan grids sit inside .section; make .plans fill the section width so
   the .tiers row spans edge-to-edge of the section's 1200px canvas. */
.section > .plans{width:100%;max-width:none}

/* Section heads on the pricing page get a touch more room under the lead. */
.section .section-head .lead{color:var(--grey);font-size:17px;line-height:1.5em;max-width:620px}

/* One-off price label — slightly smaller than the monthly RM amounts so the
   "From RM 2,500" sits comfortably in the .amount slot. */
.plans-card .amount.t-num{font-size:30px;line-height:1.1em}
@media (width<=809.98px){.plans-card .amount.t-num{font-size:26px}}

/* ---------- Website Management Options ---------- */
.manage-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%}
.manage-option{
  background:var(--surface);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);overflow:clip;position:relative;
  transition:transform .4s var(--ease-out),box-shadow .4s var(--ease-out);
}
@media (hover:hover){
  .manage-option:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px #000000a6}
}
.manage-option--oneoff::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#ffffff,#a3a3a3);
}
.manage-option--managed{box-shadow:inset 0 0 0 1px rgba(205,32,202,.28)}
.manage-option--managed::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#cd20ca,#ff5a36);
}
.manage-option-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.manage-option-head .t-h4{margin:0;font-size:18px;font-weight:500;color:var(--white)}
.manage-pill{
  font-family:var(--font-mono);font-size:10px;letter-spacing:.8px;text-transform:uppercase;
  border-radius:999px;padding:4px 10px;line-height:1.2em;font-weight:500;flex:none;
}
.manage-pill--oneoff{color:var(--black);background:var(--white)}
.manage-pill--managed{color:var(--white);background:linear-gradient(135deg,#cd20ca,#ff5a36);box-shadow:0 0 12px rgba(205,32,202,.4)}
.manage-option-desc{color:var(--grey);font-size:14px;line-height:1.5em;margin:0}
.manage-option .bullet-list{margin-top:2px}
.manage-note{
  margin:0;color:var(--white);font-size:12px;line-height:1.5em;
  background:rgba(205,32,202,.08);border-radius:10px;padding:12px 16px;
  box-shadow:inset 0 0 0 1px rgba(205,32,202,.24);
}
@media (width<=809.98px){.manage-options{grid-template-columns:1fr}}

/* ---------- Important Pricing Terms note ---------- */
.terms-note{
  align-self:flex-start;max-width:760px;background:var(--surface);border-radius:16px;
  padding:28px 32px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.terms-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.terms-list li{position:relative;padding-left:22px;color:var(--grey);font-size:14px;line-height:1.5em}
.terms-list li::before{
  content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:999px;
  background:linear-gradient(135deg,#cd20ca,#ff5a36);
}
@media (width<=809.98px){.terms-note{padding:22px 20px}}

/* ---------- Domain services / conditions spacing tidy ---------- */
.domain-services .bullet-list{margin-top:6px}

/* === AFTERSOLVES new-aftersolves-v2 PRICING END === */


/* === AFTERSOLVES new-aftersolves-v2.1 FORMS + 404 START ===
   Appended 2026-11-07. Plan-specific booking & website quote forms
   (/.booking/<plan>/, /website/<plan>/) and the 404 page. Reuses the
   existing .form / .form-grid / .field / .input / .select / .form-side
   styles defined earlier in this file; only adds the layout wrapper,
   the read-only order-summary card, the conditional "other" field and
   the 404 page chrome. */

/* Two-column layout: form on the left, "what happens next" rail on the right.
   Falls back to a single column under 1199.98px. */
.quote-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;align-items:start;width:100%}
.quote-main{display:flex;flex-direction:column;gap:24px;min-width:0}

/* Order summary — a read-only card mirroring the selected plan, with the price
   and billing cadence autofilled. Hidden inputs (in the form) carry the same
   values into the Formspree submission. */
.order-summary{
  background:var(--surface);border-radius:16px;padding:24px;
  display:flex;flex-direction:column;gap:14px;position:relative;overflow:clip;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.order-summary::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#cd20ca,#ff5a36);
}
.order-summary-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.order-summary-label{color:var(--dark-grey);font-family:var(--font-mono);font-size:11px;letter-spacing:.8px;text-transform:uppercase}
.order-summary-plan{margin:4px 0 0;font-size:22px;font-weight:500;color:var(--white);line-height:1.15em}
.order-summary-pill{
  flex:none;font-family:var(--font-mono);font-size:10px;letter-spacing:.8px;text-transform:uppercase;
  color:var(--white);background:rgba(255,255,255,.08);border-radius:999px;padding:4px 10px;line-height:1.2em;
}
.order-summary-price{margin:0;display:flex;align-items:baseline;gap:8px}
.order-summary-price .t-num{font-size:28px;line-height:1.1em;color:var(--white)}
.order-summary-unit{font-family:var(--font-mono);color:var(--dark-grey);font-size:12px;letter-spacing:.4px;text-transform:uppercase}
.order-summary-desc{margin:0;color:var(--grey);font-size:14px;line-height:1.5em}
.order-summary-change{
  align-self:flex-start;font-family:var(--font-mono);font-size:11px;letter-spacing:.6px;text-transform:uppercase;
  color:var(--dark-grey);transition:color .3s var(--ease-soft);
}
.order-summary-change:hover{color:var(--white)}

/* The "please specify" field revealed when the business category is "Other".
   Hidden by [hidden] attribute; JS toggles it. A short slide-down so the
   appearance isn't jarring. */
.field--other{overflow:hidden;transition:max-height .32s var(--ease-out),opacity .28s var(--ease-out),margin .32s var(--ease-out),padding .32s var(--ease-out)}
.field--other[hidden]{display:none}

@media (width<=1199.98px){.quote-layout{grid-template-columns:1fr;gap:32px}}

/* ---------- 404 page ---------- */
.notfound-actions{display:flex;flex-wrap:wrap;gap:12px}
.notfound-links{margin-top:32px;display:flex;flex-direction:column;gap:14px}
.notfound-links .t-eyebrow{color:var(--dark-grey)}
.notfound-links .bullet-list{max-width:480px}
.notfound-links .bullet-list a{color:var(--grey);transition:color .3s var(--ease-soft)}
.notfound-links .bullet-list a:hover{color:var(--white)}

/* === AFTERSOLVES new-aftersolves-v2.1 FORMS + 404 END === */


/* === AFTERSOLVES new-aftersolves-v2.2 SPACING + UI START ===
   Appended 2026-11-07. Tighter, more consistent vertical rhythm across every
   existing page: the gap between an eyebrow and its heading, a heading and its
   paragraph, a card's price and its feature list, and the breathing room
   around buttons and images. Overrides sit after the base rules in this file
   and use equal-or-higher specificity, so they win without touching the
   minified style.css. All values are tuned from measured renderings
   (eyebrow→h1 was 24px, section-head eyebrow→h2 was 16px, card name→price
   was 20px while price→features was 41px — uneven). */

/* --- Page head: eyebrow → h1 → intro. Lift the gap so the title has room
   to land, and give the intro paragraph more line-height for readability. --- */
.page-head{gap:28px}
.page-head .t-eyebrow{margin-bottom:-4px}
.page-head .page-intro{line-height:1.55em;letter-spacing:.002em}
@media (width<=809.98px){.page-head{gap:24px}}

/* --- Section head: eyebrow → h2 → lead. The 16px eyebrow→h2 gap was the
   tightest spot on the site; open it up and separate the lead paragraph. --- */
.section-head{gap:20px}
.section-head .t-h2{margin:0}
.section-head .lead,.section-head p:not(.t-eyebrow){margin-top:4px}
@media (width<=809.98px){.section-head{gap:16px}}

/* --- Section vertical rhythm: a touch more air between stacked blocks
   inside a section, and a softer top/bottom on tight sections. --- */
.section{gap:56px}
.section--tight{gap:44px}
@media (width<=809.98px){.section{gap:44px}.section--tight{gap:36px}}

/* --- Tier / plan cards (booking.html, website-development.html): even out
   the internal rhythm. Name→price was tight (20px) while price→features was
   loose (41px) and features→cta loose (50px); rebalance so the eye moves
   evenly down the card. The .tier-divider is a 1px rule between price and
   features — collapse its margin so the price's bottom margin alone controls
   that gap, then keep the feature-list→cta gap modest. --- */
.tier-card{padding:32px}
.tier-card .tier-name,.tier-card .t-h3,.tier-card h3{margin:0 0 8px}
.tier-card .tier-price,.tier-card .amount{margin:2px 0 28px}
.tier-card .tier-divider{margin:0}
.tier-card .tier-features,.tier-card ul,.tier-card .features{margin:0 0 28px;padding-left:18px}
.tier-card .tier-features li,.tier-card ul li,.tier-card .features li{line-height:1.5em;margin-bottom:7px}
.tier-card .tier-features li:last-child,.tier-card ul li:last-child{margin-bottom:0}
.tier-card .tier-cta{margin-top:0}
.tier-card .tier-cta .btn{width:100%}
@media (width<=809.98px){
  .tier-card{padding:24px}
  .tier-card .tier-price,.tier-card .amount{margin-bottom:22px}
  .tier-card .tier-features,.tier-card ul,.tier-card .features{margin-bottom:22px}
}

/* --- Pricing plans cards (pricing.html): consistent internal padding and
   gaps between the plan name, price, feature list and CTA. --- */
.plans-card{padding:28px}
.plans-card .feature--head{padding-bottom:8px;margin-bottom:16px}
.plans-card .amount.t-num{margin-bottom:20px}
.plans-card .features{margin-bottom:24px}
.plans-card .card-btn{margin-top:auto}

/* --- Generic feature / offer / work / stat cards: give every card a
   consistent inner rhythm and a comfortable gap below any heading before
   its description or image. --- */
.feature-card,.offer-card,.work-card,.stat-tile,.whatwedo-card,.leadership-card,.project-card,.tech-card,.rule-card,.blog-card{padding:28px}
.feature-card h3,.offer-card h3,.work-card h3,.whatwedo-card h3,.leadership-card h3,.project-card h3,.tech-card h3,.rule-card h3,.blog-card h3{margin:0 0 12px}
.feature-card p,.offer-card p,.work-card p,.whatwedo-card p,.project-card p,.blog-card p{margin:0;line-height:1.5em}
.feature-card img,.work-card img,.project-card img,.blog-card img{display:block;width:100%;margin-bottom:18px;border-radius:12px}
@media (width<=809.98px){
  .feature-card,.offer-card,.work-card,.stat-tile,.whatwedo-card,.leadership-card,.project-card,.tech-card,.rule-card,.blog-card{padding:22px}
  .feature-card img,.work-card img,.project-card img,.blog-card img{margin-bottom:14px}
}

/* --- Page CTA row: a little more room above a CTA button group so it
   doesn't crowd the paragraph above it. --- */
.page-cta{margin-top:8px;gap:12px}
.section-cta-row{margin-top:12px}

/* --- Bullet lists: looser line spacing so multi-line items breathe. --- */
.bullet-list li{line-height:1.55em;margin-bottom:6px}
.bullet-list li:last-child{margin-bottom:0}

/* --- Form pages (v2.1): a touch more gap between the order-summary card
   and the form, and between the form note and the submit button. --- */
.quote-main{gap:28px}
.order-summary{padding:26px}
.form{gap:26px}
.form-grid{gap:22px}
.form-note{margin-top:2px;line-height:1.5em}
.form-submit{margin-top:10px}
@media (width<=809.98px){.form-grid{gap:18px}.quote-main{gap:24px}}

/* --- Order summary: balance the price line and the description gap. --- */
.order-summary-price{margin:2px 0 4px}
.order-summary-desc{margin-top:6px}
.order-summary-change{margin-top:6px}

/* --- CTA section heading + side text: separate the muted lead from the
   headline and give the side paragraph room above its button. --- */
.cta-heading{line-height:1.12em}
.cta-side{gap:18px}
.cta-side .btn{margin-top:6px}

/* === AFTERSOLVES new-aftersolves-v2.2 SPACING + UI END === */


/* === AFTERSOLVES new-aftersolves-v2.3 SUCCESS START ===
   Appended 2026-11-07. The per-form success pages (/booking/starter/
   successfully, etc.) — a centred confirmation card with a checkmark badge,
   an auto-redirect countdown to /services, and manual Home / Services
   buttons. (The footer newsletter form moved to the v2.4 footer-redesign
   section below.) */

/* --- Success page card --- */
.success-section{min-height:62vh;display:flex;align-items:center;justify-content:center}
.success-card{max-width:640px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px;padding:48px 28px}
.success-badge{width:88px;height:88px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 50% 35%, rgba(120,200,140,.22), rgba(120,200,140,.04) 70%);
  border:1px solid rgba(120,200,140,.30);color:#9ad9ab;margin-bottom:4px;
  animation:success-pop .5s var(--ease-out) both}
.success-badge .success-check{width:54px;height:54px;color:#a6e6b8}
@keyframes success-pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}
.success-card .t-eyebrow{color:var(--dark-grey)}
.success-card .t-h1{margin:0}
.success-card .page-intro{margin:0 auto;max-width:520px}
@media (width<=809.98px){.success-card{padding:36px 20px;gap:18px}.success-badge{width:76px;height:76px}}

/* --- Success redirect timer --- */
.success-timer{display:inline-flex;align-items:center;gap:10px;margin-top:8px;padding:10px 16px;border-radius:999px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.success-timer-dot{width:8px;height:8px;border-radius:50%;background:#9ad9ab;animation:success-pulse 1s var(--ease-soft) infinite}
@keyframes success-pulse{0%,100%{opacity:.4}50%{opacity:1}}
.success-timer .t-body-s{color:var(--grey);margin:0}
.success-timer a{color:var(--white);text-decoration:underline;text-underline-offset:2px}
.success-timer .success-countdown{color:var(--white);font-variant-numeric:tabular-nums;min-width:1ch;display:inline-block;text-align:center}

/* --- Success action buttons --- */
.success-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:12px}
.success-actions .btn{width:auto}
@media (width<=809.98px){.success-actions .btn{width:100%}}

/* === AFTERSOLVES new-aftersolves-v2.3 SUCCESS END === */


/* === AFTERSOLVES new-aftersolves-v2.4 FOOTER REDESIGN START ===
   Appended 2026-11-07. The v2.3 footer was cluttered (a lone wordmark, four
   uneven columns, and a separate full-width newsletter strip = three stacked
   zones). v2.4 collapses it into two zones: .footer-top is a grid of a brand
   block (logo + motto + a COMPACT inline newsletter form) plus three link
   columns (Explore / Contact / Legal); .footer-bottom holds the copyright and
   inline social links. All 22 original links are preserved. The footer
   container, .footer-rule, .wordmark, .col, .col-label and .col-link colours
   and hover come from the Astro-scoped rules in style.css (scoped to
   [data-astro-cid-jo6i4kqk], kept on every element); we only add the new
   layout here and override the scoped .col{width:160px} so columns fill their
   grid track. The newsletter form keeps data-fx="newsletter-form" so the
   existing IIFE still binds (no JS change). */

/* --- Top zone: brand block + three link columns --- */
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;align-items:start;padding-top:48px}
.footer-brand{display:flex;flex-direction:column;gap:14px;max-width:340px}
.footer-brand .wordmark{display:inline-block}
.footer-tagline{color:var(--grey);line-height:1.5em;margin:0}
/* Compact newsletter form: one input + button row, note below (no label, no divider). */
.footer-brand .newsletter-form{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.footer-brand .newsletter-row{display:flex;gap:8px}
.footer-brand .newsletter-input{flex:1 1 auto;min-width:0}
.footer-brand .newsletter-submit{flex:0 0 auto;white-space:nowrap}
.footer-brand .newsletter-note{min-height:1.2em;margin:0;color:var(--grey);line-height:1.4em;transition:color .2s var(--ease-soft)}
.footer-brand .newsletter-note[data-state="success"]{color:#9ad9ab}
.footer-brand .newsletter-note[data-state="error"]{color:#e6a8a8}
/* Override the scoped .col[cid]{width:160px} so columns fill their grid track;
   tighten the column rows so they read as a clean list. */
.footer-top .col{width:auto}
.footer-top .col .t-body-s{margin:0;line-height:1.4em}
.footer-top .col-label{margin-bottom:2px}

/* --- Bottom zone: copyright + inline social links --- */
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;
  margin-top:40px;padding-top:28px;border-top:1px solid rgba(255,255,255,.08)}
.footer-bottom .t-body-s{margin:0;color:var(--dark-grey)}
.footer-social{display:flex;gap:20px;flex-wrap:wrap}
.footer-social .col-link{color:var(--dark-grey)}
.footer-social .col-link:hover{color:var(--white)}

/* Tablet (<=1199): brand spans full width on top, three columns in a row below. */
@media (width<=1199.98px){
  .footer-top{grid-template-columns:1fr 1fr 1fr;gap:32px}
  .footer-brand{grid-column:1 / -1;max-width:460px}
}
/* Mobile (<=809): everything stacks; bottom bar stacks too. */
@media (width<=809.98px){
  .footer-top{grid-template-columns:1fr;gap:28px;padding-top:40px}
  .footer-brand{max-width:none}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px;margin-top:32px;padding-top:24px}
  .footer-social{gap:16px}
}

/* === AFTERSOLVES new-aftersolves-v2.4 FOOTER REDESIGN END === */


/* === AFTERSOLVES new-aftersolves-v2.5 INDUSTRY PAGES + INTRO GAP START ===
   Appended 2026-11-07. Two changes:
   (1) Intro-to-content gap fix. .page-head had padding-top:80px but
       padding-bottom:0, and the first .section after it commonly carried an
       inline style="padding-top:0" (15 pages: contact, get-a-quote, booking,
       about, services, the legal pages, etc.). The two together left ZERO
       gap between the page intro paragraph and the form/cards below — on the
       quote and contact pages the form sat directly against the intro. We add
       a padding-bottom to .page-head here so every page gets a real gap
       regardless of the next section's inline padding-top. This is a single
       universal rule; no per-page markup change is needed.
   (2) Small utilities for the new /industries/* pages: a back link in the
       page head, a button row for the CTA, and the page-intro max-width. */

/* --- (1) Intro-to-content gap (universal fix) --- */
.page-head{padding-bottom:40px}
@media (max-width:809.98px){.page-head{padding-bottom:28px}}

/* --- (2) Industry-page utilities --- */
.back-link{display:inline-block;font-family:var(--font-mono);font-size:11px;letter-spacing:.8px;
  text-transform:uppercase;color:var(--dark-grey);text-decoration:none;margin-bottom:20px}
.back-link:hover{color:var(--white);text-decoration:underline;text-underline-offset:3px}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn-row .btn{width:auto}
@media (max-width:809.98px){.btn-row .btn{width:100%}}

/* Other-industries grid at the foot of each industry page: reuse .feature-grid
   but make each card a link. */
.feature-card--link{display:flex;flex-direction:column;gap:14px;padding:24px;text-decoration:none}
.feature-card--link h3{font-size:18px;line-height:1.2em;color:var(--white);font-weight:400;margin:0}
.feature-card--link p{font-size:14px;line-height:1.5em;color:var(--grey);margin:0}
.feature-card--link .card-more{margin-top:auto;font-family:var(--font-mono);font-size:11px;letter-spacing:.8px;
  text-transform:uppercase;color:var(--white)}
.feature-card--link:hover h3{text-decoration:underline;text-underline-offset:3px}

/* === AFTERSOLVES new-aftersolves-v2.5 INDUSTRY PAGES + INTRO GAP END === */
