/* Tech Artisans theme: company templates (about, contact, legal, 404, search).
   Loaded after theme.css on those templates only; never overrides its components globally. */

/* ---------- Shared ---------- */
.page-head .orbit-line { z-index: 0; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head--plain { padding-bottom: clamp(24px, 3vw, 40px); }

/* A clearly labelled block that shows a UI state for review (empty state, form states). */
.state-demo {
  border: 1.5px dashed var(--line-strong); border-radius: 24px;
  padding: clamp(20px, 3vw, 36px); background: #fff;
}
.state-demo__label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  padding: 5px 12px; border-radius: 999px; background: var(--ta-mist);
  font: 600 0.8125rem/1.2 var(--ta-font-body); color: var(--ta-reverse-blue);
}

/* Search box (404 + search) */
.search-box { display: flex; gap: 8px; max-width: 560px; }
.search-box__field { position: relative; flex: 1; min-width: 0; }
.search-box__field .bi { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.search-box .ta-field { padding-left: 44px; border-radius: 999px; height: 100%; }
.search-box .btn-ta { flex-shrink: 0; }
@media (max-width: 479.98px) {
  .search-box { flex-direction: column; }
  .search-box .ta-field { padding-block: 14px; }
  .search-box .btn-ta { justify-content: center; }
}

/* Closing call to action without a form */

/* ---------- About ---------- */
.about-head { padding-block: clamp(56px, 8vw, 128px) clamp(56px, 7vw, 112px); }
.about-head h1 { font-size: clamp(3rem, 1.6rem + 6.4vw, 6.6rem); letter-spacing: -0.045em; line-height: 0.98; max-width: none; margin-bottom: 0.32em; }
.about-head .lede { max-width: 46ch; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); }
.about-head__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

.beliefs { display: grid; gap: clamp(24px, 4vw, 72px); }
.beliefs > * { min-width: 0; }
@media (min-width: 992px) {
  .beliefs { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
  .beliefs__head { position: sticky; top: 112px; align-self: start; }
}
.beliefs__head p { color: var(--ink-2); max-width: 30ch; }
.belief-list { list-style: none; margin: 0; padding: 0; }
.belief { padding-block: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line-strong); }
.belief:last-child { border-bottom: 1px solid var(--line-strong); }
.belief__line {
  font-family: var(--ta-font-headline); font-weight: 800; color: var(--ink);
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.3rem); line-height: 1.16; letter-spacing: -0.028em;
  margin: 0; max-width: 26ch; text-wrap: balance;
}
.belief--lead .belief__line { font-size: clamp(1.7rem, 1.15rem + 2.2vw, 2.85rem); max-width: 22ch; }
.belief__more { margin: 12px 0 0; font-size: 1.125rem; color: var(--ink-2); max-width: 46ch; }

.founder { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.founder > * { min-width: 0; }
@media (min-width: 992px) { .founder { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.photo-slot {
  aspect-ratio: 4 / 5; width: 100%; max-width: 440px; border-radius: 24px;
  border: 1.5px dashed var(--line-strong); background: #fff;
  display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px;
  color: var(--ink-2);
}
.photo-slot .bi { font-size: 2.6rem; color: var(--ta-brand-blue); opacity: 0.7; }
.photo-slot b { font-family: var(--ta-font-headline); font-size: 1.25rem; color: var(--ink); }
.photo-slot span { font-size: 0.92rem; max-width: 24ch; }
@media (max-width: 991.98px) { .photo-slot { aspect-ratio: 5 / 4; max-width: none; } }
.founder__name { font-family: var(--ta-font-headline); font-weight: 800; font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.8rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.founder__body { font-size: 1.125rem; max-width: 52ch; }
.founder .founder-note { margin-bottom: 12px; max-width: 60ch; }
.founder .quote { margin-top: clamp(40px, 4vw, 56px); }

.company-grid { display: grid; gap: 48px; }
.company-grid > * { min-width: 0; }
@media (min-width: 992px) { .company-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.company-grid h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); }
.company-grid p { max-width: 46ch; }
.company-lines { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.company-lines li { display: flex; gap: 10px; align-items: center; }
.company-lines .bi { color: var(--ta-brand-blue); }

/* ---------- Contact ---------- */
.contact-head h1 { max-width: 14ch; }
.contact-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); } }
.contact-form { gap: 22px; border: 1px solid var(--line); }
.field-pair { display: grid; gap: 22px; }
@media (min-width: 576px) { .field-pair { grid-template-columns: 1fr 1fr; gap: 16px; } }
.field-help { font-size: 0.875rem; color: var(--ink-2); margin: 6px 0 0; }
.contact-form textarea.ta-field { min-height: 150px; }

.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; float: none; width: auto; padding: 0; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice__opt { position: relative; }
.choice__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__opt label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer;
  padding: 9px 16px 9px 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.choice__opt label:hover { border-color: var(--ta-brand-blue); }
.choice__opt input:checked + label { background: var(--ta-deep-blue); border-color: var(--ta-deep-blue); color: #fff; }
.choice__opt input:checked + label .pillar-dot { box-shadow: 0 0 0 2px #fff; }
.choice__opt input:focus-visible + label { outline: 3px solid var(--ta-brand-blue); outline-offset: 3px; }
.choice__opt .pillar-dot--none { background: transparent; border: 1.5px solid var(--ink-2); }

.check-row { display: flex; gap: 12px; align-items: flex-start; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ta-brand-blue); flex-shrink: 0; }
.ta-form .check-row label { margin: 0; font-weight: 500; }
.check-row small { display: block; color: var(--ink-2); font-size: 0.875rem; font-weight: 400; }
.optional { font-weight: 400; color: var(--ink-2); }

.contact-aside { display: grid; gap: 40px; }
.contact-aside h2 { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem); margin-bottom: 20px; }
.steps--stack { grid-template-columns: 1fr !important; gap: 0 !important; }
.steps--stack::before { content: none !important; }
.steps--stack li { padding: 0 0 28px 68px; min-height: 52px; }
.steps--stack li:not(:last-child)::after {
  content: ""; position: absolute; left: 26px; top: 60px; bottom: 8px; border-left: 1.5px dashed var(--line-strong);
}
.steps--stack h3 { font-size: 1.125rem; padding-top: 13px; }
.steps--stack .founder-note { font-size: 0.9rem; padding: 10px 12px; }
.direct { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.direct a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--ta-mist); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: background 0.2s var(--ease-out);
}
.direct a:hover { background: #e3e8f6; color: var(--ink); }
.direct .ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ta-brand-blue); font-size: 1.1rem; flex-shrink: 0; }
.direct small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.85rem; }
.direct a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.reassure {
  font-family: var(--ta-font-headline); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem);
  letter-spacing: -0.025em; line-height: 1.2; margin: 0; padding-top: 28px; border-top: 1px solid var(--line-strong);
}
.reassure span { display: block; font: 400 1rem/1.5 var(--ta-font-body); letter-spacing: 0; color: var(--ink-2); margin-top: 8px; }

.states-grid { display: grid; gap: 24px; }
.states-grid > * { min-width: 0; }
@media (min-width: 992px) { .states-grid { grid-template-columns: 1fr 1fr; } }
.states-grid h3 { font-size: 1.05rem; margin-bottom: 12px; }
.states-grid .ta-form { box-shadow: none; border: 1px solid var(--line); }

/* ---------- Legal ---------- */
.policy-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--ink-2); font-size: 0.95rem; margin-bottom: 20px; }
.policy-meta .bi { color: var(--ta-brand-blue); margin-right: 6px; }
.policy-set { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 760px; }
.policy-set p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 12px; max-width: 64ch; }
.policy-set ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.policy-set a {
  display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.92rem;
}
.policy-set a:hover { border-color: var(--ta-brand-blue); background: var(--ta-mist); }
.policy-set a[aria-current="page"] { background: var(--ta-deep-blue); border-color: var(--ta-deep-blue); color: #fff; font-weight: 600; }

.legal-grid { display: grid; gap: 32px; align-items: start; }
.legal-grid > * { min-width: 0; }
@media (min-width: 992px) { .legal-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { background: var(--ta-mist); border-radius: 16px; padding: 20px; }
@media (min-width: 992px) { .toc { position: sticky; top: 104px; background: transparent; padding: 0; } }
.toc h2 { font: 600 0.95rem/1.3 var(--ta-font-body); letter-spacing: 0; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 0.97rem; }
.toc a:hover { background: var(--ta-mist); color: var(--ink); }
@media (max-width: 991.98px) { .toc a:hover { background: #fff; } }
.toc .toc__top { margin-top: 14px; font-size: 0.9rem; }
.prose--legal > h2:first-child { margin-top: 0; }
.prose--legal h2 { scroll-margin-top: 104px; }
.policy-slot {
  border: 1.5px dashed var(--line-strong); border-radius: 14px; padding: 16px 18px;
  background: #fff; color: var(--ink-2); font-size: 1rem; line-height: 1.6; margin-bottom: 1em;
}
.policy-slot b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.policy-slot b .bi { color: var(--ta-brand-blue); }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(48px, 7vw, 112px) clamp(40px, 5vw, 80px); position: relative; overflow: hidden; }
.nf-grid { display: grid; gap: 40px; align-items: center; }
.nf-grid > * { min-width: 0; }
@media (min-width: 992px) { .nf-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.nf h1 { max-width: 13ch; }
.nf .lede { max-width: 44ch; margin-bottom: 28px; }
.nf-mark { position: relative; display: grid; place-items: center; min-height: 260px; }
.nf-mark__num {
  font-family: var(--ta-font-headline); font-weight: 800; letter-spacing: -0.06em; line-height: 1;
  font-size: clamp(6rem, 3rem + 12vw, 13rem); color: var(--ta-mist);
  -webkit-text-stroke: 1.5px rgba(74, 97, 171, 0.35);
  position: relative; z-index: 1;
}
.nf-mark .orbit-line { inset: 0; width: 100%; height: 100%; z-index: 2; }
.nf-mark .orbit-line ellipse { opacity: 0.55; stroke-width: 1.5; }
.nf-mark__dot { position: absolute; z-index: 3; width: 14px; height: 14px; border-radius: 50%; background: var(--ta-raspberry); right: 12%; top: 30%; box-shadow: 0 0 0 5px #fff; }
@media (max-width: 991.98px) { .nf-mark { min-height: 180px; order: -1; } }

.routes h2 { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem); margin-bottom: 16px; }
.route-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.route-list a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center;
  padding: 18px 12px; border-bottom: 1px solid var(--line-strong); color: var(--ink); text-decoration: none;
  transition: background 0.2s var(--ease-out);
}
.route-list a:hover { background: var(--ta-mist); }
.route-list a:hover .bi-arrow-right { transform: translateX(4px); }
.route-list b { font-family: var(--ta-font-headline); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.route-list small { grid-column: 2; color: var(--ink-2); font-size: 0.95rem; }
.route-list .lead-ic { grid-row: 1 / span 2; display: grid; place-items: center; font-size: 1.15rem; color: var(--ta-brand-blue); }
.route-list .lead-ic .pillar-dot { width: 12px; height: 12px; }
.route-list .bi-arrow-right { grid-row: 1 / span 2; grid-column: 3; color: var(--ta-brand-blue); transition: transform 0.25s var(--ease-out); }
.routes-grid { display: grid; gap: 40px; }
@media (min-width: 992px) { .routes-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 72px; align-items: start; } }
.nf-ask { background: var(--ta-blush); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.nf-ask h2 { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem); }
.nf-ask p { color: var(--ink-2); }
.nf-ask .btn-ta { white-space: normal; }

/* ---------- Search ---------- */
.search-head h1 { max-width: 20ch; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.search-head .search-box { margin-top: 24px; }
.results-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-strong);
}
.results-count { margin: 0; font-weight: 600; }
.results-count [data-for] { display: none; }
.search-results:has(#type-all:checked) .results-count [data-for="all"],
.search-results:has(#type-page:checked) .results-count [data-for="page"],
.search-results:has(#type-post:checked) .results-count [data-for="post"] { display: inline; }
.search-results:has(#type-page:checked) .result[data-type="post"],
.search-results:has(#type-post:checked) .result[data-type="page"] { display: none; }
.choice__opt .n { font-weight: 500; opacity: 0.7; font-variant-numeric: tabular-nums; }

.result-list { list-style: none; padding: 0; margin: 0 0 clamp(48px, 6vw, 80px); max-width: 860px; }
.result { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line); }
@media (max-width: 479.98px) { .result { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; } }
.result__thumb { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; background: var(--ta-mist); display: grid; place-items: center; font-size: 1.5rem; color: var(--ta-reverse-blue); }
.result__thumb--build { background: var(--ta-mist); color: var(--ta-brand-blue); }
.result__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 0.875rem; color: var(--ink-2); margin-bottom: 6px; }
.result__type { font-weight: 600; color: var(--ink); }
.result__meta > * + *::before { content: "·"; margin-right: 12px; color: var(--line-strong); }
.result h2 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); letter-spacing: -0.015em; margin-bottom: 6px; }
.result h2 a { color: var(--ink); text-decoration: none; }
.result h2 a:hover { color: var(--ta-brand-blue); text-decoration: underline; }
.result p { margin: 0; color: var(--ink-2); max-width: 68ch; }
.result__url { font-size: 0.875rem; color: var(--ta-reverse-blue); overflow-wrap: anywhere; margin-top: 4px !important; }
mark { background: var(--ta-cream); color: var(--ink); padding: 0 0.15em; border-radius: 4px; font-weight: 600; }

.empty { max-width: 860px; }
.empty h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.empty > p { color: var(--ink-2); max-width: 56ch; }
.empty-tips { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.empty-tips li { display: flex; gap: 12px; align-items: flex-start; }
.empty-tips .bi { color: var(--ta-brand-blue); margin-top: 3px; }
.empty-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.empty-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.empty-links a:hover { border-color: var(--ta-brand-blue); background: var(--ta-mist); }

/* ---------- Review fixes ---------- */
@media (max-width: 767.98px) { .about-head .orbit-line { display: none; } }

.contact-head { padding-bottom: clamp(56px, 6vw, 96px); }
.contact-head .contact-form { margin-top: 32px; }
@media (min-width: 992px) { .contact-aside { padding-top: 44px; } }

.toc h2 { padding-left: 12px; }
@media (min-width: 992px) { .toc { margin-left: -12px; } }
.prose--legal h2 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.65rem); margin-top: 1.8em; }

@media (min-width: 992px) {
  .routes-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .nf-ask .btn-ta { white-space: nowrap; }
}
@media (max-width: 991.98px) { .nf-ask .btn-ta { width: 100%; justify-content: center; text-align: center; } }

.result__meta { gap: 6px 14px; }
.result__meta > * + *::before { content: none; }
.result__type { padding: 2px 10px; border-radius: 999px; background: var(--ta-mist); font-size: 0.8125rem; }
.result__type--post { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
mark { padding: 0 2px; margin: 0 -2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Contact Form 7 markup in the design system's form ---------- */
/* The theme drops CF7's own stylesheet on owned templates; these rules replace the parts that matter. */
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-form-control-wrap { display: block; position: relative; }
/* Ultimate Addons for CF7 wraps the fields in one more div: keep the form grid spacing. */
.wpcf7-form.ta-form > .uacf7-form-wrapper-container { display: grid; gap: inherit; }
.ta-form .wpcf7-form-control-wrap + .field-help { margin-top: 6px; }
.wpcf7-not-valid-tip { display: flex; gap: 6px; align-items: center; color: var(--ta-raspberry); font-size: 0.875rem; margin-top: 6px; }
.wpcf7-not-valid-tip::before, .wpcf7-response-output::before {
  content: ""; width: 1.1em; height: 1.1em; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0M7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0M7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ta-field.wpcf7-not-valid { border-color: var(--ta-raspberry); }

/* Radio chips: CF7 renders <span.wpcf7-list-item><label><input><span.wpcf7-list-item-label> */
.wpcf7-radio.choice__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice__opts .wpcf7-list-item { margin: 0; position: relative; }
.choice__opts .wpcf7-list-item label { margin: 0; display: block; }
.choice__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__opts .wpcf7-list-item-label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 16px 9px 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.choice__opts .wpcf7-list-item-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: transparent; border: 1.5px solid var(--ink-2); }
.choice__opts .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label::before { background: var(--ta-raspberry); border-color: var(--ta-raspberry); }
.choice__opts .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::before { background: var(--ta-brand-blue); border-color: var(--ta-brand-blue); }
.choice__opts .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label::before { background: var(--ta-amber); border-color: var(--ta-amber); }
.choice__opts label:hover .wpcf7-list-item-label { border-color: var(--ta-brand-blue); }
.choice__opts input:checked + .wpcf7-list-item-label { background: var(--ta-deep-blue); border-color: var(--ta-deep-blue); color: #fff; }
.choice__opts input:checked + .wpcf7-list-item-label::before { box-shadow: 0 0 0 2px #fff; }
.choice__opts .wpcf7-list-item:nth-child(4) input:checked + .wpcf7-list-item-label::before { border-color: #fff; }
.choice__opts input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--ta-brand-blue); outline-offset: 3px; }

/* Agency checkbox */
.check-row { display: block; }
.check-row .wpcf7-list-item { margin: 0; }
.check-row .wpcf7-list-item label { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 500; cursor: pointer; }
.check-row small { padding-left: 32px; margin-top: 2px; }

/* Submit, spinner and the response message */
.ta-form .form-foot .wpcf7-spinner { display: none; }
.wpcf7 form.submitting .wpcf7-spinner {
  display: inline-block; width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--line-strong); border-top-color: var(--ta-brand-blue); animation: ta-spin 0.8s linear infinite;
}
@keyframes ta-spin { to { transform: rotate(360deg); } }
.wpcf7 form.submitting .wpcf7-submit { opacity: 0.7; pointer-events: none; }
.wpcf7-response-output { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; background: var(--ta-blush); color: #8a1f3d; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { background: #e8f3e7; color: #23502a; font-weight: 500; }
.wpcf7 form.sent .wpcf7-response-output::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .wpcf7 form.submitting .wpcf7-spinner { animation-duration: 2.4s; } }

/* ---------- Contact: who your message goes to ---------- */
.replier { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.replier__photo { position: relative; flex: 0 0 64px; width: 64px; height: 64px; }
.replier__photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; position: relative; z-index: 1; }
/* The brand's orbit ring passes behind the photo, so it shows only where it leaves the circle. */
.replier__ring { left: -16px; top: 4px; width: 96px; height: 56px; }
.replier p { margin: 0; color: var(--ink-2); line-height: 1.45; }
.replier b { color: var(--ink); font-weight: 700; }
.replier__line { display: block; margin-top: 4px; color: var(--ink); font-style: italic; }

/* ---------- About: founder photo and team ---------- */
.orbit-line--about { right: -480px; top: 60px; width: 980px; height: 460px; }
.founder__photo { position: relative; max-width: 420px; }
.founder__photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--ta-mist); }
/* The orbit ring passes behind the portrait, as on the logo mark. */
.founder__ring { left: -12%; top: 22%; width: 124%; height: 62%; }
@media (max-width: 991.98px) { .founder__photo { max-width: 280px; } }
.team-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.team-list li { display: grid; }
.team-list b { font-family: var(--ta-font-headline); font-size: 1.125rem; color: var(--ink); }
.team-list span { color: var(--ink-2); }
/* No team section: the company heading and its details share the row. */
@media (min-width: 992px) {
  .company-grid--solo { grid-template-columns: 1fr; }
  .company-grid--solo > div { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .company-grid--solo h2, .company-grid--solo .company-lines { margin: 0; }
}

/* ---------- Search: thumbnails ---------- */
img.result__thumb { height: auto; }
.result__thumb .bi { width: 1em; height: 1em; }
.result__thumb--grow { background: var(--ta-cream); color: var(--ta-amber-text); }
.result__thumb--automate { background: var(--ta-blush); color: var(--ta-raspberry); }
