/* Scoped additions for the candidate pages. Shared site assets remain reusable. */
.bt-web {
  --web-ink: #19342f;
  --web-muted: #415650;
  --web-action: #184d42;
  --web-mint: #eaf3ed;
  --web-line: #cddbd3;
  color: var(--web-ink);
}
.bt-web-wrap, .bt-web-hero-inner {
  width: min(100% - 2.75rem, 73rem);
  margin-inline: auto;
}
.bt-web-hero {
  background: radial-gradient(ellipse at 87% 15%, #dcefe4, transparent 60%), #f6f8f2;
  border-block: 1px solid #dae8df;
  padding-block: clamp(3rem, 6vw, 6.25rem) clamp(2.4rem, 5vw, 4.6rem);
}
.bt-web-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.25rem);
}
.bt-web-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--web-action);
  font-size: .84rem;
  margin: 0 0 1.2rem;
}
.bt-web-kicker::before { content: ""; width: 1.7rem; height: 1px; background: currentColor; }
.bt-web h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 4.2rem);
  letter-spacing: -.04em;
  line-height: 1.24;
  font-weight: 650;
  font-feature-settings: "palt";
}
.bt-web h1 span { display: block; }
.bt-web-lead, .bt-web-section-heading > p, .bt-web dd, .bt-web-split p {
  font-size: clamp(.95rem, 1.2vw, 1.06rem);
  line-height: 1.95;
  color: var(--web-muted);
}
.bt-web-lead { max-width: 32rem; margin: 1.25rem 0 0; }
.bt-web-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.bt-web-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .72rem 1rem;
  min-height: 48px;
  background: var(--web-action);
  border: 1px solid var(--web-action);
  border-radius: 4px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.bt-web-button:hover { background: #0d362e; color: #fff; }
.bt-web-button-outline { color: var(--web-action); background: transparent; }
.bt-web-button-outline:hover { background: #dcf0e5; color: #173f34; }
.bt-web :is(a, summary):focus-visible, .bt-home-business-links a:focus-visible {
  outline: 3px solid #276961;
  outline-offset: 4px;
}
.bt-web-devices { margin: 0; min-width: 0; }
.bt-web-screen-board {
  position: relative;
  overflow: hidden;
  border-radius: .8rem;
  padding: 10% 14% 12% 6%;
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, #d4ede414 29px 30px),
    repeating-linear-gradient(90deg, transparent 0 28px, #d4ede414 29px 30px),
    linear-gradient(135deg, #15372f, #3d715d 65%, #83ab92);
}
.bt-web-screen-board::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid #d9f2d899;
  border-radius: 50%;
  top: -42%;
  right: -15%;
  pointer-events: none;
}
.bt-web-browser-frame {
  position: relative;
  border-radius: .44rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 17px 45px #081e19a8;
  border: 1px solid #fff9;
}
.bt-web-window { height: min(1.45rem, 4.5vw); background: #f0f3ef; display: flex; align-items: center; gap: .25rem; padding-inline: .5rem; }
.bt-web-window i { width: .28rem; height: .28rem; border-radius: 50%; background: #718880; }
.bt-web-browser-frame img { display: block; width: 100%; height: auto; }
.bt-web-phone-frame {
  position: absolute;
  width: 23%;
  max-width: 8rem;
  inset: auto 5% 5% auto;
  padding: .28rem;
  background: #15211d;
  border: 1px solid #b2c5b8;
  border-radius: .82rem;
  box-shadow: 0 8px 28px #0e251e88;
}
.bt-web-phone-frame img { width: 100%; height: auto; display: block; border-radius: .57rem; }
.bt-web-devices figcaption { margin-block: .6rem 0; font-size: .76rem; color: var(--web-muted); text-align: right; }
.bt-web-section { padding-block: clamp(2.8rem, 6vw, 5.1rem); scroll-margin-top: 7rem; }
.bt-web-section-heading { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(.4rem, 4vw, 3.2rem); align-items: start; margin-bottom: 1.6rem; }
.bt-web h2 { margin: 0; font-size: clamp(1.55rem, 2.7vw, 2.55rem); line-height: 1.46; letter-spacing: -.032em; }
.bt-web h3 { margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.33rem); line-height: 1.5; }
.bt-web-section-heading p { margin: .22rem 0 0; }
.bt-web-needs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bt-web-needs article { border: 1px solid var(--web-line); border-top: 3px solid #408169; border-radius: 0 0 6px 6px; padding: clamp(1.15rem, 2.8vw, 2rem); background: #fff; }
.bt-web-needs p, .bt-web-case-copy > p:not(.bt-web-case-type), .bt-web-process p, .bt-web-questions p { color: var(--web-muted); line-height: 1.85; font-size: .95rem; }
.bt-web-needs a, .bt-web-case-copy a { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; color: var(--web-action); text-underline-offset: 4px; font-weight: 650; font-size: .88rem; }
.bt-web-services { background: #f3f7f3; }
.bt-web-specs { margin: 0; border-top: 1px solid var(--web-line); }
.bt-web-specs div { display: grid; grid-template-columns: .75fr 1.5fr; gap: 1rem 2.5rem; border-bottom: 1px solid var(--web-line); padding-block: 1.15rem; }
.bt-web-specs dt { font-weight: 700; }
.bt-web-specs dd { margin: 0; }
.bt-web-portfolio { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.bt-web-portfolio article { border: 1px solid var(--web-line); border-radius: 5px; overflow: hidden; background: #fff; }
.bt-web-portfolio img { display: block; width: 100%; height: auto; aspect-ratio: 1.61; object-fit: cover; object-position: top; border-bottom: 1px solid var(--web-line); }
.bt-web-case-copy { padding: clamp(1rem, 2vw, 1.35rem); }
.bt-web-case-type { margin: 0 0 .32rem; font-size: .75rem; color: var(--web-action); font-weight: 700; letter-spacing: .035em; }
.bt-web-principles { background: var(--web-ink); color: #f5fbf7; }
.bt-web-split { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 1.7rem 3rem; }
.bt-web-split p { margin: .22rem 0 .6rem; }
.bt-web-principles p { color: #d9e7df; }
.bt-web-process { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; margin: 0; padding: 0; list-style-position: inside; }
.bt-web-process li { padding: 1rem; border-top: 2px solid #63927a; background: #f4f7f4; min-width: 0; }
.bt-web-process li::marker { color: #285d4d; font-weight: 700; }
.bt-web-process p { margin-bottom: 0; }
.bt-web-questions details { border-top: 1px solid var(--web-line); }
.bt-web-questions details:last-child { border-bottom: 1px solid var(--web-line); }
.bt-web-questions summary { cursor: pointer; font-weight: 650; min-height: 48px; padding-block: .95rem; }
.bt-web-questions p { margin: 0 0 1.2rem; }
.bt-web-contact { background: var(--web-mint); }
.bt-web-contact .bt-web-button { justify-self: end; }

.bt-home-business-links { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-block: 1.05rem; }
.bt-home-business-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .2rem .6rem;
  align-items: center;
  padding: .8rem 1rem;
  background: #edf6f1;
  border: 1px solid #cddfd5;
  border-radius: 5px;
  text-decoration: none;
  color: #1e3b35;
}
.bt-home-business-links a:hover { background: #dfeee6; }
.bt-home-business-links strong { font-size: .96rem; }
.bt-home-business-links a > span:not([aria-hidden]) { grid-column: 1; font-size: .8rem; }
.bt-home-business-links a > span[aria-hidden] { grid-row: 1 / span 2; grid-column: 2; }

.bt-ts-page .bt-ts-name { color: #1f5e69; font-size: .8rem; line-height: 1.6; font-weight: 700; letter-spacing: .07em; }
.bt-ts-page .bt-sec-hero.bt-ts-hero {
  border: 1px solid #21434a;
  background: radial-gradient(ellipse at 95% 0%, #244f59, transparent 62%), #142f37;
  color: #fff;
  border-radius: .65rem;
  padding: clamp(1.1rem, 4vw, 3.2rem);
  gap: clamp(1.25rem, 3vw, 3rem);
}
.bt-ts-page .bt-ts-hero .bt-ts-name { color: #b3f0e5; font-size: clamp(1rem, 1.8vw, 1.38rem); letter-spacing: .045em; margin-block: 0 .9rem; }
.bt-ts-page .bt-ts-hero .bt-ts-name small { margin-inline-start: .65rem; font-size: .62em; color: #cdf0eb; font-weight: 600; white-space: nowrap; }
.bt-ts-page .bt-ts-hero h1 { color: #fff; }
.bt-ts-page .bt-ts-hero .bt-sec-lead { color: #def0ee; }
.bt-ts-page .bt-ts-hero .bt-sec-hero-action {
  min-height: 44px;
  background: #a4e5d6;
  border-color: #a4e5d6;
  color: #123931;
  font-weight: 700;
}
.bt-ts-page .bt-ts-hero .bt-sec-hero-action:hover { background: #c6f4e9; color: #113831; }
.bt-ts-page .bt-ts-hero .bt-sec-hero-action:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.bt-ts-page .bt-ts-hero .bt-sec-hero-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid #b6dad9;
  border-radius: .4rem;
  background: #e7f2f2;
}
.bt-ts-page .bt-ts-hero .bt-sec-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: 83% center;
}

@media (max-width: 900px) {
  .bt-web-hero-inner { gap: 1.5rem; }
  .bt-web h1 { font-size: clamp(2rem, 5.1vw, 3.5rem); }
  .bt-web-portfolio { gap: .7rem; }
  .bt-web-process { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .bt-web-wrap, .bt-web-hero-inner { width: min(100% - 2rem, 73rem); }
  .bt-web-hero-inner, .bt-web-section-heading, .bt-web-needs, .bt-web-portfolio, .bt-web-split { grid-template-columns: 1fr; }
  .bt-web h1 { font-size: clamp(2.02rem, 8.7vw, 3.18rem); }
  .bt-web-section-heading { gap: .6rem; margin-bottom: 1.3rem; }
  .bt-web-kicker { margin-bottom: .85rem; }
  .bt-web-actions { margin-top: 1.25rem; }
  .bt-web-specs div { grid-template-columns: 1fr; gap: .24rem; }
  .bt-web-devices figcaption { text-align: left; }
  .bt-web-contact .bt-web-button { justify-self: start; }
  .bt-home-business-links { grid-template-columns: 1fr; }
  .bt-ts-page .bt-ts-hero h1 {
    font-size: clamp(1.22rem, 6.15vw, 1.72rem);
    font-feature-settings: "palt";
  }
  .bt-ts-page .bt-ts-hero h1 > span { white-space: nowrap; }
  .bt-ts-page .bt-ts-hero .bt-sec-hero-media img { aspect-ratio: 1.75; }
}
@media (max-width: 375px) {
  .bt-web-actions .bt-web-button { width: 100%; }
  .bt-web-process { grid-template-columns: 1fr; }
}
