/* About page */
.about-page { background: #fff; }
.about-page .breadcrumb a { text-decoration: none; }
.about-wrap { max-width: 1240px; }

/* 1. About us: photo on the left, text and a closing line on the right, the numbers strip below */
.ab-wrap { max-width: 1240px; }
.ab-intro { padding: 10rem 0 9rem; color: #fff; background: linear-gradient(rgba(10,12,16,.88), rgba(10,12,16,.92)), url("../images/why-choose-us-workshop.webp") center / cover no-repeat; }
.ab-intro .ab-title, .ab-intro .ab-lead, .ab-intro .ab-tagline, .ab-intro .ab-link { color: #fff; }
.ab-intro .ab-text { color: rgba(255,255,255,.76); }
.ab-intro .ab-photo-box { background: #1b1d22; }
.ab-media { position: relative; padding: 0 0 18px 18px; }
.ab-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; border-left: 4px solid var(--brand-red); border-bottom: 4px solid var(--brand-red); transition: width .5s ease, height .5s ease; }
.ab-photo-box { position: relative; overflow: hidden; background: #eceef0; }
.ab-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 12%; transition: transform .7s ease; }
.ab-photo-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(237,28,36,.38)); opacity: 0; transition: opacity .5s ease; }

.ab-media:hover .ab-photo { transform: scale(1.07); }
.ab-media:hover .ab-photo-box::after { opacity: 1; }
.ab-media:hover::before { width: 86%; height: 86%; }
.ab-media:hover @media (hover: none), (prefers-reduced-motion: reduce) { .ab-photo, .ab-media::before, .ab-photo-box::after { transition: none; } }

.ab-kicker { display: inline-block; margin-bottom: 1rem; padding: .35rem .9rem; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.35); }
.ab-h1 { margin: 0 0 .9rem; color: #fff; font-family: var(--font-body); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.ab-sub { max-width: 560px; margin: 0 0 1.1rem; color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.6; }
.ab-crumb { margin: 0 0 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.ab-title { margin: .8rem 0 1.2rem; font-family: var(--font-body); font-size: clamp(1.6rem, 2.5vw, 2.15rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
.ab-lead { margin-bottom: 1rem; color: #111; font-size: 1.12rem; font-weight: 500; line-height: 1.7; }
.ab-text { margin-bottom: 1.3rem; color: #566066; font-size: 1rem; line-height: 1.8; }


.ab-tagline { margin: 0 0 1.8rem; padding-left: 1rem; border-left: 3px solid var(--brand-red); color: #111; font-size: 1.08rem; font-weight: 700; line-height: 1.5; }

.ab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.ab-link { position: relative; padding-bottom: 3px; color: #111; font-weight: 700; text-decoration: none; }
.ab-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand-red); transform: scaleX(.4); transform-origin: left; transition: transform .3s ease; }
.ab-link i { margin-left: .3rem; color: var(--brand-red); transition: margin .2s; }
.ab-link:hover { color: var(--brand-red); }
.ab-link:hover::after { transform: scaleX(1); }
.ab-link:hover i { margin-left: .6rem; }

.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.ab-stats div { padding: 1.6rem 1rem; text-align: center; border-left: 1px solid #e3e6ea; }
.ab-stats div:first-child { border-left: 0; }
.ab-stats b { display: block; color: var(--brand-red); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ab-stats span { color: #667078; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 991.98px) {
  .ab-intro { padding: 3.5rem 0 3rem; }
  .ab-media { max-width: 520px; margin: 0 auto; }
  .ab-photo { aspect-ratio: 4 / 3.4; }
    .ab-stats { margin-top: 3rem; }
}
@media (max-width: 575.98px) {
  .ab-media { padding: 0 0 12px 12px; }
        .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stats div { padding: 1.2rem .4rem; }
  .ab-stats div:nth-child(odd) { border-left: 0; }
  .ab-stats div:nth-child(n+3) { border-top: 1px solid #e3e6ea; }
    .ab-stats b { font-size: 1.45rem; }
  .ab-stats span { font-size: .7rem; letter-spacing: .02em; }
  .ab-lead { font-size: 1.05rem; }
}

/* The counters: a white strip that overlaps the bottom of the dark About Us band */
.ab-figures { position: relative; z-index: 2; margin-top: -5.5rem; }
.ab-figures .ab-stats { margin-top: 0; background: #fff; border: 1px solid #e3e6ea; border-top: 3px solid var(--brand-red); }
.ab-figures .ab-stats div { padding: 2rem 1rem; }
@media (max-width: 575.98px) {
  .ab-figures { margin-top: -4rem; }
  .ab-figures .ab-stats div { padding: 1.3rem .4rem; border-left: 1px solid #e3e6ea; }
  .ab-figures .ab-stats div:nth-child(odd) { border-left: 0; }
  .ab-figures .ab-stats div:nth-child(n+3) { border-top: 1px solid #e3e6ea; }
}

/* 2. Vision and mission: dark band with a workshop photo, one panel with a line between the two columns */
.vm-section { padding: 5.5rem 0; color: #fff; background: linear-gradient(rgba(10,12,16,.86), rgba(10,12,16,.9)), url("../images/industries/manufacturing.jpg") center / cover no-repeat; }
.vm-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.vm-head h2 { margin: .7rem 0 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; }
.vm-panel { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-top: 3px solid var(--brand-red); }
.vm-col { padding: 2.8rem 2.6rem; }
.vm-col + .vm-col { border-left: 1px solid rgba(255,255,255,.16); }
.vm-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.3rem; color: #fff; background: var(--brand-red); font-size: 1.7rem; }
.vm-col h3 { margin-bottom: .9rem; color: #fff; font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.vm-col p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.85; }
.vm-col ul { margin: 0; padding: 0; list-style: none; }
.vm-col li { display: flex; gap: .7rem; margin-bottom: .8rem; color: rgba(255,255,255,.86); line-height: 1.6; }
.vm-col li i { flex: 0 0 auto; color: #ff6a70; }
@media (max-width: 767.98px) { .vm-panel { grid-template-columns: 1fr; } .vm-col { padding: 2rem 1.4rem; } .vm-col + .vm-col { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; } }

/* What you can count on, why we started, how we work, our commitment (flat: no shadows, no rounded corners) */
.st-section { padding: 5rem 0 5.5rem; background: #fff; }
.ab-figures + .st-section { padding-top: 6.5rem; }
.st-photos { position: relative; padding: 0 0 3rem 2.2rem; }
.st-photos::before { content: ""; position: absolute; top: 2rem; left: 0; width: 38%; height: 55%; background: var(--brand-red); }
.st-photo-main { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.st-photo-small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border: 8px solid #fff; }
.st-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.8rem; margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid #e3e6ea; }
.st-point { display: flex; align-items: flex-start; gap: .9rem; }
.st-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; color: var(--brand-red); font-size: 1.3rem; background: #fdecec; }
.st-point h3 { margin: 0 0 .3rem; color: #14161a; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.st-point p { margin: 0; color: #667078; font-size: .9rem; line-height: 1.6; }
@media (max-width: 575.98px) { .st-points { grid-template-columns: 1fr; } .st-photos { padding-left: 1.2rem; } }

.ws-section { padding: 5.5rem 0; background: #f4f5f7; }
.ws-photo { position: relative; padding: 0 1.4rem 1.4rem 0; }
.ws-photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-right: 4px solid var(--brand-red); border-bottom: 4px solid var(--brand-red); }
.ws-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 30% center; }
.ws-text { margin-bottom: 1.1rem; color: #566066; font-size: 1.02rem; line-height: 1.85; }
.ws-note { display: flex; align-items: flex-start; gap: 1rem; margin: 1.6rem 0 0; padding: 1.3rem 1.5rem; color: #111; font-weight: 500; line-height: 1.75; background: #fff; border-left: 4px solid var(--brand-red); }
.ws-note i { flex: 0 0 auto; margin-top: .1rem; color: var(--brand-red); font-size: 1.4rem; }

/* How we work: four steps along a line, the number sits on the line */
.hw-section { padding: 5.5rem 0; background: #fff; }
.hw-head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.hw-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.hw-track::before { content: ""; position: absolute; top: 24px; right: 12%; left: 12%; height: 2px; background: #cfd4d9; }
.hw-step { position: relative; padding: 0 .4rem; text-align: center; }
.hw-no { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 1.4rem; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .04em; background: var(--brand-red); border: 4px solid #fff; box-sizing: content-box; }
.hw-step h3 { margin-bottom: .7rem; color: #14161a; font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.hw-step p { margin: 0; color: #566066; font-size: .95rem; line-height: 1.75; }
@media (max-width: 991.98px) {
  .hw-track { grid-template-columns: 1fr; gap: 2rem; padding-left: 0; }
  .hw-track::before { top: 24px; bottom: 24px; right: auto; left: 28px; width: 2px; height: auto; }
  .hw-step { padding: 0 0 0 5rem; text-align: left; }
  .hw-no { position: absolute; top: 0; left: 0; margin: 0; }
}

.oc-section { padding: 5.5rem 0; background: #f4f5f7; }
.oc-text { margin-bottom: 1.1rem; color: #566066; font-size: 1.04rem; line-height: 1.85; }
.oc-section .btn { margin-top: .8rem; }
.oc-photo { position: relative; padding: 0 0 1.4rem 1.4rem; }
.oc-photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-left: 4px solid var(--brand-red); border-bottom: 4px solid var(--brand-red); }
.oc-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }

/* The FAQ on this page is light grey, with the heading staying in view while the answers are read */
.about-page .faq-section { background: #f4f5f7; }
@media (min-width: 992px) { .about-page .faq-section .col-lg-4 { position: sticky; top: 150px; } }

/* 3. Team */
.team-section { padding: 5rem 0; background: #fff; }
.team-head { max-width: 760px; margin: 0 auto 2.6rem; text-align: center; }
.team-head h2 { margin: .7rem 0 .7rem; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; }
.team-head p { margin: 0; color: #5b656b; line-height: 1.7; }
/* Team cards: the portrait fills the card, the name and role sit on a dark strip at the bottom,
   and the description slides up when the mouse is over the card (it is always shown on touch screens) */
.tm-card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #14151a; outline: 0; }
.tm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .6s ease; }
.tm-overlay { position: absolute; right: 0; bottom: 0; left: 0; padding: 4rem 1.3rem 1.4rem; color: #fff; background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,.82) 55%, rgba(10,10,12,.94) 100%); }
.tm-role { display: block; margin-bottom: .25rem; color: #ff5a60; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tm-overlay h3 { margin: 0; color: #fff; font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.tm-overlay p { max-height: 0; margin: 0; overflow: hidden; color: rgba(255,255,255,.85); font-size: .9rem; line-height: 1.6; opacity: 0; transition: max-height .45s ease, opacity .35s ease, margin .35s ease; }
.tm-card::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--brand-red); transform: scaleX(.2); transform-origin: left; transition: transform .45s ease; }
.tm-card:hover .tm-img, .tm-card:focus-visible .tm-img { transform: scale(1.06); }
.tm-card:hover .tm-overlay p, .tm-card:focus-visible .tm-overlay p { max-height: 8rem; margin-top: .7rem; opacity: 1; }
.tm-card:hover::after, .tm-card:focus-visible::after { transform: scaleX(1); }
@media (hover: none) { .tm-overlay p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; max-height: none; margin-top: .6rem; opacity: 1; } .tm-card::after { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tm-img, .tm-overlay p, .tm-card::after { transition: none; } }
.team-empty { padding: 2.5rem 1rem; text-align: center; color: #5b656b; background: #fff; border-radius: 18px; }

@media (max-width: 575.98px) {
  .vm-section, .team-section, .ws-section, .hw-section, .oc-section { padding: 3.5rem 0; }
  .st-section, .ab-figures + .st-section { padding: 3.5rem 0; }
  .ab-intro { padding: 7.5rem 0 6.5rem; }
}
