/* =========================================================
   ABOUT PAGE — screenshot-matched layout
   This file is intentionally namespaced so your home page
   is not changed.
========================================================= */

.about-page {
  --about-brown: #35140d;
  --about-orange: #ff7b3f;
  --about-orange-deep: #ff6518;
  --about-navy: #0f0d2b;
  --about-black: #050505;
  --about-text: #101012;
  --about-muted: #77736f;
  --about-border: #eceae6;
  --about-paper: #ffffff;

  margin: 0;
  background: var(--about-paper);
  color: var(--about-text);
  font-family: "Inter", sans-serif;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5,
.about-page h6 {
  font-family: "Rethink Sans", sans-serif;
}

.about-main {
  padding-top: 76px;
}

.about-container {
  width: min(940px, calc(100% - 44px));
  margin-inline: auto;
}

/* Keep the existing home-page header exactly as-is. */
.about-page .header-logo img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.about-page .about-nav-active {
  background: var(--about-orange);
  color: #23100b;
}

/* =========================================================
   01. HERO
========================================================= */

.about-service-hero {
  position: relative;
  min-height: 375px;
  overflow: hidden;
  color: #fff;
  background: var(--about-brown);
}

.service-hero-inner {
  position: relative;
  min-height: inherit;
}

.service-hero-copy {
  width: 620px;
  padding-top: 70px;
}

.about-eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--about-orange);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.service-hero-copy h1 {
  margin: 0;
  font-family: "Rethink Sans", sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
}

.service-hero-copy h1 span {
  display: block;
  color: var(--about-orange);
}

.service-hero-copy p {
  width: 590px;
  margin-top: 19px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.65;
}

.service-hero-lines {
  position: absolute;
  top: 65px;
  right: 16px;
  width: 130px;
  height: 200px;
  overflow: hidden;
}

.service-hero-lines i {
  position: absolute;
  top: 0;
  width: 1px;
  height: 210px;
  background: var(--about-orange);
  transform-origin: top center;
  opacity: .85;
}

.service-hero-lines i:nth-child(1) { left: 10px; transform: rotate(-42deg); }
.service-hero-lines i:nth-child(2) { left: 29px; transform: rotate(-34deg); }
.service-hero-lines i:nth-child(3) { left: 48px; transform: rotate(-26deg); }
.service-hero-lines i:nth-child(4) { left: 67px; transform: rotate(-18deg); }
.service-hero-lines i:nth-child(5) { left: 86px; transform: rotate(-10deg); }
.service-hero-lines i:nth-child(6) { left: 105px; transform: rotate(-2deg); }
.service-hero-lines i:nth-child(7) { left: 124px; transform: rotate(6deg); }

/* =========================================================
   02. LOGOS
========================================================= */

.about-logos {
  min-height: 125px;
  display: flex;
  align-items: center;
  background: #fff;
}

.about-logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 25px;
}

.brand-logo {
  display: block;
  text-align: center;
  white-space: nowrap;
  color: #c7c7c7;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  filter: grayscale(1);
  opacity: .8;
}

.brand-logo.fiverr {
  color: #424242;
  font-size: 25px;
  letter-spacing: -.06em;
}

.brand-logo.fiverr span {
  color: #35bf75;
}

.brand-logo.upwork {
  color: #6ccf31;
  font-size: 20px;
}

.brand-logo.upwork b {
  font-weight: 800;
}

.brand-logo.freelancer {
  color: #4e5762;
  font-size: 13px;
  font-style: italic;
}

.brand-logo.freelancer i {
  color: #3baee8;
}

.brand-logo.monday {
  color: #999;
  font-size: 11px;
}

.brand-logo.openzeppelin,
.brand-logo.morpheus {
  color: #c8c8c8;
  font-size: 11px;
}

/* =========================================================
   03. WHO WE ARE
========================================================= */

.about-introduction {
  padding: 78px 0 95px;
  background: #fff;
}

.about-intro-heading {
  width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 17px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
}

.section-label i,
.pricing-label i {
  width: 5px;
  height: 5px;
  display: inline-block;
  background: #ffb22e;
  border-radius: 50%;
}

.about-intro-title {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.035em;
}

.about-intro-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr;
  gap: 62px;
}

.about-years {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-years strong {
  color: var(--about-orange);
  font-family: "Rethink Sans", sans-serif;
  font-size: 82px;
  font-weight: 600;
  line-height: .85;
  letter-spacing: -.045em;
}

.about-years span {
  margin-top: 15px;
  padding: 6px 10px;
  color: #666;
  background: #f5f4f2;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 700;
}

.about-intro-card h3 {
  margin: 0 0 17px;
  font-size: 16px;
  font-weight: 700;
}

.about-intro-card p {
  margin: 0 0 18px;
  color: #777;
  font-size: 18px;
  line-height: 1.6;
}

/* =========================================================
   04. SERVICE SHOWCASE
========================================================= */

.about-service-showcase {
  background: var(--about-navy);
}

.service-detail-row {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-detail-image {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--about-navy);
}

.service-detail-inner {
  width: min(470px, calc(100% - 84px));
  margin-left: 62px;
}

.service-meta {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  color: #88849c;
  font-size: 8px;
}

.service-detail-inner h3 {
  margin: 0;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.service-detail-inner > p {
  margin-top: 17px;
  color: #c0bdcd;
  font-size: 18px;
  line-height: 1.55;
}

.service-detail-inner ul {
  margin: 18px 0 0;
  padding-left: 14px;
  color: #e2e0e8;
  font-size: 16px;
  line-height: 1.75;
}

.detail-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  padding: 8px 15px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #4a4665;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .06em;
}

.detail-button b {
  width: 21px;
  height: 21px;
  margin: -4px -10px -4px 0;
  display: grid;
  place-items: center;
  border: 1px solid #4a4665;
  border-radius: 50%;
  font-size: 17px;
}

.detail-button-orange {
  color: #fff;
  background: var(--about-orange);
  border-color: var(--about-orange);
}

.detail-button-orange b {
  color: #23100b;
  background: #ff994f;
  border-color: #ff994f;
}

/* =========================================================
   05. VIDEO
========================================================= */

.about-video-section {
  background: #fff;
}

.about-video {
  position: relative;
  height: 530px;
  margin: 0;
  overflow: hidden;
}

.about-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-play {
  position: absolute;
  left: 82%;
  top: 61%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

/* =========================================================
   06. PRICING
========================================================= */

.about-pricing {
  padding: 105px 0 115px;
  background: #fff;
}
.pricing-heading {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  text-align: center !important;
}

.pricing-heading h2 {
  margin: 0 !important;
  font-size: 50px !important;
  font-weight: 800 !important;
  line-height: .88 !important;
  letter-spacing: -.045em !important;
  text-align: center !important;
}

.pricing-grid {
  width: 760px;
  margin: 38px auto 0;
}
.pricing-heading {
  text-align: center;
}

.pricing-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--about-orange);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .05em;
}

.pricing-heading h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.045em;
}

.pricing-grid {
  width: 760px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  min-height: 420px;
  padding: 30px 28px;
  border: 1px solid var(--about-border);
  background: #fff;
}

.pricing-card + .pricing-card {
  border-left: 0;
}

.pricing-type {
  color: #555;
  font-size: 9px;
}

.pricing-card h3 {
  margin: 22px 0 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.pricing-card > strong {
  display: block;
  margin-bottom: 18px;
  font-family: "Rethink Sans", sans-serif;
  font-size: 14px;
}

.pricing-card > strong small {
  font-size: 8px;
  font-weight: 500;
}

.pricing-button {
  display: inline-block;
  padding: 7px 10px;
  text-decoration: none;
  border-radius: 2px;
  font-size: 7px;
}

.pricing-button.light {
  color: #e87951;
  border: 1px solid #f2e0d7;
}

.pricing-button.dark {
  color: #fff;
  background: #0c0c0c;
}

.pricing-card ul {
  margin: 26px 0 0;
  padding: 22px 0 0 14px;
  border-top: 1px solid var(--about-border);
  color: #777;
  font-size: 8px;
  line-height: 1.85;
}

/* =========================================================
   07. CTA
========================================================= */

.about-cta-wrap {
  position: relative;
  padding: 55px 0 0;
  background: #fff;
}

.about-cta-panel {
  position: relative;
  display: block;
  height: 360px;
  overflow: hidden;
  color: #000;
  text-decoration: none;
  background: var(--about-orange-deep);
}

.about-cta-panel > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-cta-copy {
  position: absolute;
  left: 55px;
  top: 62px;
  width: 460px;
}

.about-cta-copy h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.04em;
}

.about-cta-copy p {
  margin-top: 22px;
  font-size: 18px;
}

.about-cta-copy > span {
  display: inline-block;
  margin-top: 17px;
  padding: 8px 15px;
  color: #fff;
  background: #070707;
  border-radius: 2px;
  font-size: 8px;
}

.cta-gem {
  position: absolute;
  z-index: 3;
  left: -42px;
  top: 0;
  width: 100px;
  height: 100px;
  background:
    conic-gradient(
      from 30deg,
      #6b2109,
      #ff7a22,
      #ffaf63,
      #8f2f0b,
      #ff6f16,
      #6b2109
    );
  clip-path: polygon(
    50% 0,
    87% 17%,
    100% 53%,
    72% 92%,
    31% 100%,
    0 66%,
    12% 23%
  );
  transform: rotate(10deg);
  filter: drop-shadow(0 9px 9px rgba(0,0,0,.18));
}

/* =========================================================
   08. FOOTER
========================================================= */

.about-footer {
  padding: 70px 0 32px;
  color: #fff;
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr .55fr .55fr 1fr;
  gap: 55px;
}

.footer-newsletter h2 {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
}

.footer-newsletter form {
  width: 300px;
  display: flex;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}

.footer-newsletter input {
  width: 100%;
  padding: 11px 13px;
  color: #111;
  background: #fff;
  border: 0;
  outline: 0;
  font-size: 9px;
}

.footer-newsletter button {
  width: 40px;
  color: #af48ff;
  background: #fff;
  border: 0;
  cursor: pointer;
}

.footer-newsletter small {
  display: block;
  min-height: 16px;
  margin-top: 8px;
  color: #ff8d5c;
  font-size: 8px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a,
.footer-address a,
.footer-address p {
  color: #d1d1d1;
  text-decoration: none;
  font-size: 8px;
  line-height: 1.55;
}

.footer-address > a {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.footer-socials {
  margin-top: 18px;
  display: flex;
  gap: 7px;
}

.footer-socials a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #242424;
  border-radius: 50%;
  font-size: 8px;
}

.footer-socials a:first-child {
  background: var(--about-orange);
}

.footer-bottom {
  margin-top: 72px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #252525;
  color: #b5b5b5;
  font-size: 8px;
}

.footer-legal {
  display: flex;
  gap: 8px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom p {
  margin: 0;
}

/* =========================================================
   DESKTOP H2 TYPOGRAPHY — from your earlier request
   Applied only on laptop/larger.
========================================================= */

@media (min-width: 901px) {
  .about-page .about-intro-title,
  .about-page .pricing-heading h2,
  .about-page .about-cta-copy h2 {
    font-family: "Rethink Sans", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .about-main {
    padding-top: 68px;
  }

  .about-container {
    width: min(100% - 40px, 720px);
  }

  .about-page .header-logo img {
    height: 34px;
  }

  .service-hero-copy {
    width: min(520px, 75%);
  }

  .service-hero-copy p {
    width: 100%;
  }

  .about-logo-row {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }

  .about-logos {
    padding: 30px 0;
  }

  .about-intro-heading {
    width: min(100%, 650px);
  }

  .about-intro-title {
    font-size: 42px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .about-years {
    grid-column: 1 / -1;
  }

  .service-detail-row {
    min-height: 500px;
  }

  .service-detail-image,
  .service-detail-content {
    min-height: 500px;
  }

  .service-detail-inner {
    width: calc(100% - 48px);
    margin-left: 28px;
  }

  .service-detail-inner h3 {
    font-size: 22px;
  }

  .about-video {
    height: 390px;
  }

  .pricing-grid {
    width: 100%;
  }

  .about-cta-panel {
    height: 300px;
  }

  .about-cta-copy {
    left: 38px;
    top: 52px;
    width: 390px;
  }

  .about-cta-copy h2 {
    font-size: 38px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr .7fr .7fr;
  }

  .footer-address {
    grid-column: 2 / 4;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .about-main {
    padding-top: 64px;
  }

  .about-container {
    width: calc(100% - 34px);
  }

  .about-service-hero {
    min-height: 445px;
  }

  .service-hero-copy {
    width: 100%;
    padding-top: 65px;
  }

  .service-hero-copy h1 {
    font-size: 50px;
  }

  .service-hero-copy p {
    width: min(100%, 390px);
    font-size: 10px;
  }

  .service-hero-lines {
    right: -45px;
    top: 205px;
    transform: scale(.75);
  }

  .about-logo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-logo {
    white-space: normal;
  }

  .about-introduction {
    padding: 65px 0 75px;
  }

  .about-intro-heading {
    width: 100%;
    text-align: left;
  }

  .about-intro-title {
    font-size: 36px;
    line-height: .98;
  }

  .about-intro-grid {
    margin-top: 45px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-years {
    grid-column: auto;
  }

  .service-detail-row {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .service-detail-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.05 / 1;
  }

  .service-detail-content {
    min-height: 0;
    padding: 58px 0 65px;
  }

  .service-detail-inner {
    width: calc(100% - 38px);
    margin-inline: auto;
  }

  .service-detail-inner h3 {
    font-size: 27px;
  }

  .service-detail-inner > p {
    font-size: 18px;
  }

  .service-detail-inner ul {
    font-size: 9px;
  }

  .about-video {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .about-play {
    left: auto;
    right: 12%;
    top: 55%;
    width: 50px;
    height: 50px;
  }

  .about-pricing {
    padding: 75px 0;
  }

  .pricing-heading h2 {
    font-size: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pricing-card + .pricing-card {
    border-left: 1px solid var(--about-border);
  }

  .pricing-card {
    min-height: auto;
  }

  .about-cta-wrap {
    padding-top: 35px;
  }

  .about-cta-panel {
    height: 315px;
  }

  .about-cta-panel > img {
    object-position: 70% center;
  }

  .about-cta-copy {
    left: 24px;
    top: 40px;
    width: 62%;
  }

  .about-cta-copy h2 {
    font-size: 31px;
  }

  .cta-gem {
    width: 70px;
    height: 70px;
    left: -25px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-newsletter form {
    width: 100%;
  }

  .footer-address {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 50px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
