/* ==========================================================================
   Digihack — AboutUs
   Only for about-us/
   ========================================================================== */


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font: 600 16px/1 "Poppins",sans-serif;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.crumb {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--accent);
}

.crumb b {
  color: var(--ink);
  font-weight: 500;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.why-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-copy p {
  color: var(--muted);
  font-size: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  font: 500 14px/1 "Poppins",sans-serif;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent-dark);
}

.feat {
  background: #faf7f5;
}

@media (max-width:640px) {
  .sec {
    padding: 3.5rem 0;
  }

  .ctas .btn {
    flex: 1 1 0;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
  }
}

.works {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 48px;
  align-items: center;
}

.works-photos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.works-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/3.6;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.works-photos img:last-child {
  margin-top: 40px;
}

@media (max-width:1024px) {
  .works {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width:640px) {
  .works-photos img:last-child {
    margin-top: 24px;
  }
}

.mv {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.mv-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px;
  border-radius: 22px;
  background: var(--tint);
  border: 1px solid #f5dccd;
}

.mv-card.dark {
  background: var(--dark);
  border-color: var(--dark);
}

.mv-ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-card.dark .mv-ic {
  background: rgba(238,95,37,.18);
  color: #ff8a57;
}

.mv-label {
  font: 600 13px/1 "Poppins",sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.mv-card.dark .mv-label {
  color: #ff9a6b;
}

.mv-card h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.mv-card.dark h3 {
  color: #fff;
}

.mv-card p {
  font-size: 17px;
  color: var(--muted);
}

.mv-card.dark p {
  color: var(--on-dark-muted);
}

@media (max-width:640px) {
  .mv {
    grid-template-columns: minmax(0,1fr);
  }

  .mv-card {
    padding: 24px;
  }

  .mv-card h3 {
    font-size: 21px;
  }
}

.jr {
  background: var(--tint);
}

.jr-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.jr-head > p {
  font-size: 18px;
  color: var(--text);
}

.jr-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
  position: relative;
}

.jr-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  border-top: 2px dashed #e2b79f;
}

.jr-line li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 40px;
}

.jr-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand);
}

.jr-yr {
  font: 700 34px/1 "Poppins",sans-serif;
  color: var(--accent);
}

.jr-line h3 {
  font-size: 19px;
  font-weight: 600;
}

.jr-line p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.jr-line li.now {
  background: var(--dark);
  border-radius: 18px;
  padding: 28px 24px 24px;
  margin-top: -18px;
}

.jr-line li.now .jr-dot {
  left: 24px;
  top: -10px;
  background: var(--brand);
  border-color: #fff;
}

.jr-line li.now .jr-yr {
  color: #ff7a45;
}

.jr-line li.now h3 {
  color: #fff;
}

.jr-line li.now p {
  color: var(--on-dark-muted);
}

@media (max-width:1024px) {
  .jr-head {
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
    margin-bottom: 40px;
  }

  .jr-line {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: 36px;
  }

  .jr-line::before {
    display: none;
  }
}

@media (max-width:640px) {
  .jr-line {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
    padding-left: 30px;
  }

  .jr-line::before {
    display: block;
    left: 9px;
    right: auto;
    top: 6px;
    bottom: 6px;
    border-top: 0;
    border-left: 2px dashed #e2b79f;
  }

  .jr-line li {
    padding: 0 0 28px;
  }

  .jr-dot {
    left: -30px;
    top: 4px;
  }

  .jr-yr {
    font-size: 26px;
  }

  .jr-line li.now {
    margin-top: 0;
    padding: 20px;
  }

  .jr-line li.now .jr-dot {
    left: -30px;
    top: 4px;
    border-color: var(--tint);
  }
}

.abh {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: 56px;
  align-items: center;
  margin-top: 28px;
  padding-bottom: 4.5rem;
}

.abh-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.abh-copy h1 {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.1;
}

.abh-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

.abh-copy p {
  font-size: 19px;
  color: var(--muted);
}

.abh-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.abh-trust b {
  color: var(--ink);
  font-weight: 600;
}

.abh-media {
  position: relative;
  padding: 0 0 60px 60px;
}

.abh-main {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3.4;
}

.abh-main img,
.abh-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.abh-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3/3.6;
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: none;
}

.abh-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.abh-badge b {
  font: 700 34px/1 "Poppins",sans-serif;
}

.abh-badge span {
  font: 500 14px/1.3 "Poppins",sans-serif;
}

.abs-band {
  background: var(--dark);
}

.ab-stats2 {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.ab-stats2 div {
  padding: 34px 28px;
  border-left: 1px solid #34303a;
}

.ab-stats2 div:first-child {
  border-left: 0;
  padding-left: 0;
}

.ab-stats2 b {
  display: block;
  font: 700 38px/1.05 "Poppins",sans-serif;
  color: #fff;
}

.ab-stats2 b em {
  font-style: normal;
  color: #ff7a45;
}

.ab-stats2 span {
  font-size: 15px;
  color: var(--on-dark-muted);
}

@media (max-width:1024px) {
  .abh {
    grid-template-columns: minmax(0,1fr);
  }

  .ab-stats2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .ab-stats2 div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .ab-stats2 div:nth-child(n+3) {
    border-top: 1px solid #34303a;
  }
}

@media (max-width:640px) {
  .abh {
    gap: 28px;
    margin-top: 16px;
    padding-bottom: 3rem;
  }

  .abh-copy h1 {
    font-size: 32px;
  }

  .abh-copy p {
    font-size: 17px;
  }

  .abh-media {
    padding: 0 0 40px 36px;
  }

  .abh-badge {
    right: 10px;
    bottom: 10px;
    padding: 10px 14px;
  }

  .abh-badge b {
    font-size: 24px;
  }

  .abh-badge span {
    font-size: 12px;
  }

  .ab-stats2 div {
    padding: 20px 16px;
  }

  .ab-stats2 div:nth-child(odd) {
    padding-left: 0;
  }

  .ab-stats2 b {
    font-size: 26px;
  }
}

.ab-hero {
  padding: 2.5rem 0 0;
  background: #fff;
}

.ab-hero h1 {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  max-width: 980px;
  margin-top: 22px;
}

.ab-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.fd {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--dark);
}

.fd-photo {
  position: relative;
  min-height: 520px;
  background: #2a2730;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fd-ph {
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  border: 2px dashed #4a4450;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #bdb4ad;
  text-align: center;
  padding: 20px;
}

.fd-ph b {
  font: 600 16px/1.3 "Poppins",sans-serif;
  color: #f4efea;
}

.fd-photo .blob {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,#f6923c 0%,#ee5f25 50%,#d9461c 100%);
}

.fd-copy {
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--on-dark);
}

.fd-copy .eyebrow {
  color: #ff9a6b;
}

.fd-copy h2 {
  color: #fff;
  font-size: 38px;
  font-weight: 700;
}

.fd-role {
  font: 500 16px/1.3 "Poppins",sans-serif;
  color: var(--on-dark-muted);
  margin-top: -10px;
}

.fd-quote {
  position: relative;
  font-size: 21px;
  line-height: 1.55;
  color: #fff;
  padding-left: 44px;
}

.fd-quote .fi {
  position: absolute;
  left: 0;
  top: 2px;
  color: #ff7a45;
}

.fd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fd-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--on-dark-muted);
}

.fd-list .fi {
  flex: none;
  margin-top: 5px;
  color: #ff9a6b;
}

.fd-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.fd-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1.5px solid #4a4450;
  color: #f4efea;
  text-decoration: none;
  font: 600 14px/1 "Poppins",sans-serif;
}

.fd-contact a:hover {
  border-color: #ff9a6b;
  color: #ff9a6b;
}

.vl {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.vl div {
  padding: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vl .vn {
  font: 700 15px/1 "Poppins",sans-serif;
  color: var(--accent);
}

.vl h3 {
  font-size: 20px;
  font-weight: 600;
}

.vl p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.fd-photo {
  overflow: hidden;
}

.fd-photo .blob {
  right: -50px;
  bottom: auto;
  top: -50px;
  width: 150px;
  height: 150px;
  opacity: .9;
}

.fd-ph {
  position: relative;
  z-index: 1;
  background: rgba(255,243,236,.85);
}

@media (max-width:640px) {
  .fd-photo .blob {
    display: none;
  }
}

.fd {
  background: #fff;
  border: 1px solid var(--line);
}

.fd-photo {
  background: var(--tint);
}

.fd-ph {
  border-color: #e2c3b1;
  color: var(--muted);
}

.fd-ph b {
  color: var(--ink);
}

.fd-copy {
  color: var(--text);
}

.fd-copy .eyebrow {
  color: var(--accent);
}

.fd-copy h2 {
  color: var(--ink);
}

.fd-role {
  color: var(--muted);
}

.fd-quote {
  color: var(--ink);
}

.fd-quote .fi {
  color: var(--brand);
}

.fd-list li {
  color: var(--muted);
}

.fd-list .fi {
  color: var(--accent);
}

.fd-contact a {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.fd-contact a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width:1024px) {
  .fd {
    grid-template-columns: minmax(0,1fr);
  }

  .vl {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px) {
  .ab-hero h1 {
    font-size: 34px;
  }

  .fd-photo {
    min-height: 300px;
  }

  .fd-copy {
    padding: 26px 22px;
  }

  .fd-copy h2 {
    font-size: 28px;
  }

  .fd-quote {
    font-size: 18px;
    padding-left: 36px;
  }

  .vl {
    grid-template-columns: minmax(0,1fr);
  }

  .vl div {
    padding: 22px 0 0;
  }
}

/* Phones: section headings fill the width (stack_pass.py) */
@media (max-width: 640px) {
  .sec-head {
    max-width: none;
  }

  h2,
  .h2 {
    text-wrap: pretty;
  }

  .h2,
  .cta h2,
  .cx-info h2,
  .sg-head h2,
  .cb-copy h2 {
    font-size: 23px;
    line-height: 1.25;
  }

  .sec-head .lead {
    font-size: 16px;
  }
}
