/* =========================================================
   IREC SERVICES PAGE
   Premium Engineering Consultancy / Project Portfolio
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

:root {

  --navy: #081b3d;
  --navy-deep: #05132f;
  --navy-light: #102d5c;

  --purple: #59318f;
  --purple-dark: #3f216d;
  --lavender: #b69aff;
  --lavender-light: #ded5ff;

  --white: #ffffff;
  --off-white: #f7f8fb;

  --ink: #182238;
  --muted: #68758b;

  --line: #dfe4ec;
  --line-dark: rgba(255,255,255,0.14);

  --max-width: 1240px;

}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "DM Sans", sans-serif;

  color: var(--ink);

  background: var(--white);

  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;

  font-family: "Manrope", sans-serif;

  line-height: 1.08;

  letter-spacing: -0.045em;
}

p {
  margin-top: 0;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.services-container {

  width: min(
    var(--max-width),
    calc(100% - 64px)
  );

  margin: 0 auto;

}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

  position: sticky;

  top: 0;

  z-index: 100;

  height: 76px;

  background: rgba(255,255,255,0.97);

  border-bottom: 1px solid #e5e8ee;

  backdrop-filter: blur(12px);

}


.header-container {

  width: min(
    1320px,
    calc(100% - 48px)
  );

  height: 100%;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

}


/* =========================================================
   HEADER LOGO
   ========================================================= */

.logo-link {

  display: flex;

  align-items: center;

  gap: 13px;

  min-width: 0;

}


.site-logo {

  width: 105px;

  height: auto;

  max-height: 58px;

  object-fit: contain;

}


.logo-text {

  display: flex;

  flex-direction: column;

  gap: 3px;

  min-width: 0;

}


.logo-text strong {

  color: #172554;

  font-size: 0.82rem;

  line-height: 1.2;

  font-weight: 800;

}


.logo-text small {

  color: #64748b;

  font-size: 0.58rem;

  letter-spacing: 0.07em;

  line-height: 1.3;

}


/* =========================================================
   HEADER NAV
   ========================================================= */

.main-navigation {

  display: flex;

  align-items: center;

  gap: 29px;

  color: #172554;

  font-size: 0.82rem;

  font-weight: 700;

}


.main-navigation a {

  transition:
    color 0.25s ease,
    transform 0.25s ease;

}


.main-navigation a:hover {

  color: var(--purple);

}


.header-button {

  padding: 11px 20px;

  border-radius: 999px;

  background: var(--purple);

  color: var(--white) !important;

  transition:
    background 0.25s ease,
    transform 0.25s ease;

}


.header-button:hover {

  background: var(--purple-dark);

  transform: translateY(-2px);

}


/* =========================================================
   SECTION EYEBROW
   ========================================================= */

.section-eyebrow {

  display: block;

  margin-bottom: 22px;

  color: var(--purple);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.18em;

  line-height: 1.5;

  text-transform: uppercase;

}


.service-dark .section-eyebrow,
.services-hero .section-eyebrow,
.services-cta .section-eyebrow {

  color: var(--lavender);

}


/* =========================================================
   HERO
   ========================================================= */

.services-hero {

  position: relative;

  min-height: 690px;

  overflow: hidden;

  display: flex;

  align-items: center;

  color: var(--white);

  background:

    radial-gradient(
      circle at 82% 28%,
      rgba(100,68,163,0.30),
      transparent 28%
    ),

    linear-gradient(
      120deg,
      #061633 0%,
      #0b214b 55%,
      #17113b 100%
    );

}


.services-hero::before {

  content: "";

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    );

  background-size: 65px 65px;

  mask-image:
    linear-gradient(
      to right,
      black,
      transparent 85%
    );

  pointer-events: none;

}


.services-hero::after {

  content: "";

  position: absolute;

  width: 520px;

  height: 520px;

  right: -220px;

  bottom: -280px;

  border-radius: 50%;

  border: 1px solid rgba(182,154,255,0.14);

  box-shadow:
    0 0 0 70px rgba(182,154,255,0.025),
    0 0 0 140px rgba(182,154,255,0.018);

  pointer-events: none;

}


/* =========================================================
   HERO GRID
   ========================================================= */

.services-hero-grid {

  position: relative;

  z-index: 2;

  width: min(
    var(--max-width),
    calc(100% - 64px)
  );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.85fr);

  gap: 80px;

  align-items: center;

}


.services-hero-content {

  max-width: 760px;

  padding: 60px 0;

}


.services-hero h1 {

  margin: 0;

  color: var(--white);

  font-size:
    clamp(
      3.2rem,
      6vw,
      6.1rem
    );

  font-weight: 600;

  line-height: 0.98;

  letter-spacing: -0.065em;

}


.services-hero h1 span {

  color: var(--lavender);

}


.services-hero-description {

  max-width: 650px;

  margin: 34px 0 0;

  color: #c6d2e7;

  font-size: 17px;

  line-height: 1.85;

}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.services-hero-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 13px;

  margin-top: 38px;

}


.service-button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 49px;

  padding: 0 23px;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 800;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;

}


.service-button:hover {

  transform: translateY(-3px);

}


.service-button.primary {

  background: var(--purple);

  color: var(--white);

  border: 1px solid var(--purple);

}


.service-button.primary:hover {

  background: #7042b0;

  border-color: #7042b0;

  box-shadow:
    0 12px 30px rgba(52,27,91,0.35);

}


.service-button.secondary {

  color: var(--white);

  border: 1px solid rgba(255,255,255,0.32);

  background: rgba(255,255,255,0.03);

}


.service-button.secondary:hover {

  background: rgba(255,255,255,0.08);

  border-color: rgba(255,255,255,0.55);

}


/* =========================================================
   HERO TECHNICAL VISUAL
   ========================================================= */

.services-hero-visual {

  position: relative;

  min-height: 470px;

  display: flex;

  align-items: center;

  justify-content: center;

}


.technical-grid {

  position: absolute;

  width: 360px;

  height: 360px;

  border: 1px solid rgba(182,154,255,0.20);

  transform: rotate(45deg);

}


.technical-grid::before,
.technical-grid::after {

  content: "";

  position: absolute;

  inset: 45px;

  border: 1px solid rgba(182,154,255,0.12);

}


.technical-grid::after {

  inset: 90px;

}


.technical-grid span {

  position: absolute;

  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: var(--lavender);

}


.technical-grid span:nth-child(1) {

  top: -4px;
  left: 50%;

}


.technical-grid span:nth-child(2) {

  right: -4px;
  top: 50%;

}


.technical-grid span:nth-child(3) {

  bottom: -4px;
  left: 50%;

}


.technical-grid span:nth-child(4) {

  left: -4px;
  top: 50%;

}


.hero-stat-card {

  position: relative;

  z-index: 2;

  width: 265px;

  padding: 34px 35px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.10),
      rgba(255,255,255,0.035)
    );

  border: 1px solid rgba(255,255,255,0.18);

  backdrop-filter: blur(15px);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.28);

}


.hero-stat-number {

  display: block;

  color: var(--lavender);

  font-family: "Manrope", sans-serif;

  font-size: 4.5rem;

  line-height: 0.9;

  font-weight: 600;

  letter-spacing: -0.07em;

}


.hero-stat-label {

  display: block;

  margin-top: 18px;

  color: #d0d9e9;

  font-size: 12px;

  line-height: 1.7;

  letter-spacing: 0.04em;

  text-transform: uppercase;

}


.hero-project-marker {

  position: absolute;

  right: 5px;

  bottom: 50px;

  display: flex;

  align-items: center;

  gap: 12px;

  color: #91a2c3;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.15em;

  line-height: 1.5;

}


.marker-line {

  width: 48px;

  height: 1px;

  background: var(--lavender);

}


/* =========================================================
   INTRO
   ========================================================= */

.services-intro {

  padding: 125px 0;

  background: var(--white);

}


.services-intro .services-container {

  display: grid;

  grid-template-columns: 220px minmax(0,1fr);

  gap: 90px;

}


.intro-label {

  padding-top: 12px;

}


.intro-label span {

  color: var(--purple);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.18em;

}


.intro-content {

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(280px, 0.75fr);

  gap: 90px;

}


.intro-content h2 {

  margin: 0;

  color: var(--ink);

  font-size:
    clamp(
      2.5rem,
      4.3vw,
      4.5rem
    );

  font-weight: 500;

  line-height: 1.03;

}


.intro-text {

  padding-top: 8px;

}


.intro-text p {

  margin: 0 0 25px;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.85;

}


.intro-text p:last-child {

  margin-bottom: 0;

}


/* =========================================================
   SERVICES OVERVIEW
   ========================================================= */

.services-overview {

  padding: 115px 0 125px;

  background: #f6f7fa;

  border-top: 1px solid var(--line);

}


.section-heading {

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 390px);

  gap: 80px;

  align-items: end;

  margin-bottom: 65px;

}


.section-heading h2 {

  margin: 0;

  color: var(--ink);

  font-size:
    clamp(
      2.8rem,
      5vw,
      5.1rem
    );

  font-weight: 500;

}


.section-heading h2 span {

  color: var(--purple);

}


.section-heading > p {

  margin: 0;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.85;

}


/* =========================================================
   SERVICE INDEX
   ========================================================= */

.service-index {

  border-top: 1px solid var(--line);

}


.service-index-item {

  display: grid;

  grid-template-columns: 75px minmax(0,1fr) 45px;

  align-items: center;

  min-height: 102px;

  padding: 0 10px;

  border-bottom: 1px solid var(--line);

  transition:
    background 0.3s ease,
    padding-left 0.3s ease,
    padding-right 0.3s ease;

}


.service-index-item:hover {

  padding-left: 25px;

  padding-right: 25px;

  background: var(--white);

}


.index-number {

  color: #8b98ac;

  font-family: "Manrope", sans-serif;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.12em;

}


.index-title {

  color: var(--ink);

  font-family: "Manrope", sans-serif;

  font-size:
    clamp(
      1.2rem,
      2vw,
      1.65rem
    );

  font-weight: 600;

  letter-spacing: -0.035em;

}


.index-arrow {

  width: 35px;

  height: 35px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid #cfd6e1;

  border-radius: 50%;

  color: #65738a;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;

}


.service-index-item:hover .index-arrow {

  color: var(--white);

  background: var(--purple);

  border-color: var(--purple);

  transform: translate(3px,-2px);

}


/* =========================================================
   SERVICE DETAIL
   ========================================================= */

.service-detail {

  position: relative;

  padding: 125px 0;

  overflow: hidden;

}


.service-dark {

  color: var(--white);

  background:
    linear-gradient(
      120deg,
      var(--navy-deep),
      var(--navy)
    );

}


.service-light {

  color: var(--ink);

  background: var(--white);

}


.service-dark::after {

  content: "";

  position: absolute;

  width: 550px;

  height: 550px;

  right: -320px;

  top: 20%;

  border-radius: 50%;

  border: 1px solid rgba(182,154,255,0.09);

  box-shadow:
    0 0 0 80px rgba(182,154,255,0.02),
    0 0 0 160px rgba(182,154,255,0.015);

  pointer-events: none;

}


.service-light::after {

  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  right: -240px;

  top: 18%;

  border-radius: 50%;

  border: 1px solid rgba(89,49,143,0.07);

  pointer-events: none;

}


/* =========================================================
   SERVICE HEADER
   ========================================================= */

.service-detail-header {

  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns: 95px minmax(0, 1fr);

  gap: 30px;

  margin-bottom: 80px;

}


.service-number {

  padding-top: 7px;

  color: #8494b2;

  font-family: "Manrope", sans-serif;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.18em;

}


.service-dark .service-number {

  color: var(--lavender);

}


.service-detail-header h2 {

  max-width: 900px;

  margin: 0;

  font-size:
    clamp(
      2.8rem,
      5vw,
      5.4rem
    );

  font-weight: 500;

  letter-spacing: -0.06em;

}


.service-light .service-detail-header h2 {

  color: var(--ink);

}


/* =========================================================
   SERVICE DETAIL GRID
   ========================================================= */

.service-detail-grid {

  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(260px, 0.7fr)
    minmax(0, 1.3fr);

  gap: 100px;

}


.service-description {

  max-width: 470px;

}


.service-lead {

  margin-bottom: 27px;

  color: inherit;

  font-size: 19px;

  line-height: 1.7;

}


.service-description > p:not(.service-lead) {

  color:
    rgba(255,255,255,0.66);

  font-size: 14px;

  line-height: 1.85;

}


.service-light .service-description > p:not(.service-lead) {

  color: var(--muted);

}


/* =========================================================
   CAPABILITY LIST
   ========================================================= */

.capability-list {

  margin-top: 38px;

  border-top: 1px solid var(--line-dark);

}


.service-light .capability-list {

  border-top-color: var(--line);

}


.capability-list span {

  display: block;

  padding: 12px 0;

  border-bottom: 1px solid var(--line-dark);

  color: #c3cde0;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.02em;

}


.service-light .capability-list span {

  color: #526078;

  border-bottom-color: var(--line);

}


.capability-list span::before {

  content: "→";

  display: inline-block;

  margin-right: 10px;

  color: var(--lavender);

}


.service-light .capability-list span::before {

  color: var(--purple);

}


/* =========================================================
   PROJECT SIDE
   ========================================================= */

.service-projects {

  border-top: 1px solid var(--line-dark);

}


.service-light .service-projects {

  border-top-color: var(--line);

}


.project-heading {

  padding: 18px 0 5px;

}


.project-heading span {

  color: #8291ae;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.17em;

}


.service-light .project-heading span {

  color: #778398;

}


/* =========================================================
   PROJECT FEATURE
   ========================================================= */

.project-feature {

  position: relative;

  padding: 32px 0 34px;

  border-bottom: 1px solid var(--line-dark);

  transition:
    padding-left 0.3s ease,
    background 0.3s ease;

}


.service-light .project-feature {

  border-bottom-color: var(--line);

}


.project-feature:hover {

  padding-left: 12px;

}


.project-meta {

  display: flex;

  flex-wrap: wrap;

  gap: 14px 30px;

  margin-bottom: 14px;

}


.project-meta span {

  color: #8998b4;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.14em;

}


.project-feature h3 {

  margin: 0 0 11px;

  color: var(--white);

  font-size:
    clamp(
      1.4rem,
      2.2vw,
      2rem
    );

  font-weight: 600;

}


.service-light .project-feature h3 {

  color: var(--ink);

}


.project-feature p {

  max-width: 720px;

  margin: 0;

  color: #aebbd0;

  font-size: 14px;

  line-height: 1.8;

}


.service-light .project-feature p {

  color: var(--muted);

}


/* =========================================================
   PROJECT METRIC
   ========================================================= */

.project-metric {

  display: flex;

  align-items: baseline;

  gap: 12px;

  margin-top: 22px;

}


.project-metric strong {

  color: var(--lavender);

  font-family: "Manrope", sans-serif;

  font-size: 2rem;

  font-weight: 600;

  letter-spacing: -0.05em;

}


.service-light .project-metric strong {

  color: var(--purple);

}


.project-metric span {

  color: #7e8da8;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;

}


/* =========================================================
   FEATURED PROJECT
   ========================================================= */

.featured-project {

  padding-top: 36px;

  padding-bottom: 42px;

}


.featured-project::before {

  content: "";

  position: absolute;

  left: -20px;

  top: 0;

  bottom: 0;

  width: 2px;

  background:
    linear-gradient(
      to bottom,
      var(--lavender),
      transparent
    );

}


.service-light .featured-project::before {

  background:
    linear-gradient(
      to bottom,
      var(--purple),
      transparent
    );

}


.project-tag {

  display: inline-flex;

  margin-top: 22px;

  padding: 7px 11px;

  border: 1px solid rgba(182,154,255,0.30);

  color: var(--lavender);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.15em;

}


.service-note {

  margin-top: 35px;

  padding: 25px;

  border: 1px solid var(--line-dark);

  background: rgba(255,255,255,0.025);

}


.service-light .service-note {

  border-color: var(--line);

  background: #f7f8fb;

}


.note-label {

  display: block;

  margin-bottom: 10px;

  color: var(--lavender);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.15em;

}


.service-light .note-label {

  color: var(--purple);

}


.service-note p {

  margin: 0;

  color: #9eacc2;

  font-size: 12px;

  line-height: 1.75;

}


.service-light .service-note p {

  color: var(--muted);

}


/* =========================================================
   PROJECT PORTFOLIO
   ========================================================= */

.project-portfolio {

  padding: 125px 0;

  background: #f5f6f9;

  border-top: 1px solid var(--line);

}


.portfolio-heading {

  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    minmax(280px,420px);

  gap: 80px;

  align-items: end;

  margin-bottom: 65px;

}


.portfolio-heading h2 {

  margin: 0;

  max-width: 800px;

  color: var(--ink);

  font-size:
    clamp(
      2.8rem,
      5vw,
      5rem
    );

  font-weight: 500;

}


.portfolio-heading p {

  margin: 0;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.85;

}


/* =========================================================
   PORTFOLIO GRID
   ========================================================= */

.portfolio-grid {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0,1fr));

  border-top: 1px solid var(--line);

  border-left: 1px solid var(--line);

}


.portfolio-card {

  min-height: 350px;

  padding: 28px;

  display: flex;

  flex-direction: column;

  border-right: 1px solid var(--line);

  border-bottom: 1px solid var(--line);

  background: var(--white);

  transition:
    transform 0.35s ease,
    background 0.35s ease;

}


.portfolio-card:hover {

  position: relative;

  z-index: 2;

  transform: translateY(-5px);

}


.portfolio-card-dark {

  color: var(--white);

  background: var(--navy);

  border-color: rgba(255,255,255,0.10);

}


.portfolio-card-top {

  display: flex;

  justify-content: space-between;

  gap: 15px;

  margin-bottom: 60px;

}


.portfolio-card-top span:first-child {

  color: #8290a7;

  font-family: "Manrope", sans-serif;

  font-size: 10px;

  font-weight: 800;

}


.portfolio-card-top span:last-child {

  color: #7e8ba0;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.13em;

  text-align: right;

}


.portfolio-card h3 {

  margin: 0 0 13px;

  color: var(--ink);

  font-size: 1.55rem;

  font-weight: 600;

}


.portfolio-card-dark h3 {

  color: var(--white);

}


.portfolio-card p {

  margin: 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.75;

}


.portfolio-card-dark p {

  color: #afbdd2;

}


.portfolio-card strong {

  display: block;

  margin-top: auto;

  padding-top: 40px;

  color: var(--purple);

  font-family: "Manrope", sans-serif;

  font-size: 2.3rem;

  font-weight: 600;

  letter-spacing: -0.06em;

}


.portfolio-card-dark strong {

  color: var(--lavender);

}


/* =========================================================
   EXPERIENCE NOTE
   ========================================================= */

.experience-note {

  padding: 125px 0;

  background: var(--white);

}


.experience-note-grid {

  display: grid;

  grid-template-columns:
    minmax(0,0.9fr)
    minmax(0,1fr);

  gap: 120px;

  align-items: start;

}


.experience-note h2 {

  margin: 0;

  max-width: 600px;

  color: var(--ink);

  font-size:
    clamp(
      2.8rem,
      4.7vw,
      4.8rem
    );

  font-weight: 500;

}


.experience-note-grid > div:last-child {

  padding-top: 8px;

}


.experience-note-grid p {

  margin: 0 0 24px;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.85;

}


.experience-note-grid p:last-child {

  margin-bottom: 0;

}


/* =========================================================
   CTA
   ========================================================= */

.services-cta {

  position: relative;

  overflow: hidden;

  padding: 110px 0;

  color: var(--white);

  background:
    linear-gradient(
      120deg,
      #081a39,
      #102b5a 55%,
      #21154b
    );

}


.services-cta::before {

  content: "";

  position: absolute;

  width: 600px;

  height: 600px;

  right: -260px;

  top: -260px;

  border-radius: 50%;

  border: 1px solid rgba(182,154,255,0.12);

  box-shadow:
    0 0 0 70px rgba(182,154,255,0.025),
    0 0 0 140px rgba(182,154,255,0.018);

}


.services-cta-inner {

  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 70px;

}


.services-cta h2 {

  max-width: 800px;

  margin: 0 0 20px;

  color: var(--white);

  font-size:
    clamp(
      2.8rem,
      5vw,
      5.1rem
    );

  font-weight: 500;

}


.services-cta p {

  max-width: 600px;

  margin: 0;

  color: #bac7dc;

  font-size: 15px;

}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

  padding: 70px 0 25px;

  color: #c4cede;

  background: #04132d;

}


.footer-grid {

  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    1fr
    1fr;

  gap: 55px;

  padding-bottom: 55px;

}


.footer-brand img {

  width: 95px;

  height: auto;

  margin-bottom: 20px;

}


.footer-brand p {

  max-width: 330px;

  margin: 0 0 10px;

  color: #8f9db4;

  font-size: 12px;

  line-height: 1.7;

}


.footer-brand p:first-of-type {

  color: var(--white);

  font-weight: 700;

}


.footer-column {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

}


.footer-column h3 {

  margin: 0 0 18px;

  color: var(--white);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;

}


.footer-column a,
.footer-column span {

  margin-bottom: 10px;

  color: #9ba8bd;

  font-size: 11px;

  line-height: 1.5;

  transition: color 0.25s ease;

}


.footer-column a:hover {

  color: var(--lavender);

}


.footer-bottom {

  display: flex;

  justify-content: space-between;

  gap: 25px;

  padding-top: 22px;

  border-top: 1px solid rgba(255,255,255,0.10);

  color: #728199;

  font-size: 9px;

  line-height: 1.5;

}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal-service {

  opacity: 0;

  transform: translateY(28px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;

}


.reveal-service.is-visible {

  opacity: 1;

  transform: translateY(0);

}


/* =========================================================
   ANIMATION DELAYS
   ========================================================= */

.portfolio-card:nth-child(1) {
  transition-delay: 0.03s;
}

.portfolio-card:nth-child(2) {
  transition-delay: 0.08s;
}

.portfolio-card:nth-child(3) {
  transition-delay: 0.13s;
}

.portfolio-card:nth-child(4) {
  transition-delay: 0.18s;
}

.portfolio-card:nth-child(5) {
  transition-delay: 0.23s;
}

.portfolio-card:nth-child(6) {
  transition-delay: 0.28s;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {


  .services-hero-grid {

    grid-template-columns:
      minmax(0,1fr)
      minmax(260px,0.7fr);

    gap: 45px;

  }


  .services-hero h1 {

    font-size:
      clamp(
        3rem,
        6vw,
        4.8rem
      );

  }


  .services-hero-visual {

    min-height: 400px;

  }


  .technical-grid {

    width: 300px;

    height: 300px;

  }


  .intro-content {

    gap: 45px;

  }


  .service-detail-grid {

    gap: 65px;

  }


  .portfolio-grid {

    grid-template-columns:
      repeat(2, minmax(0,1fr));

  }


  .footer-grid {

    grid-template-columns:
      repeat(2,1fr);

  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {


  .services-container {

    width:
      calc(100% - 36px);

  }


  /* HEADER */

  .site-header {

    height: 72px;

  }


  .header-container {

    width:
      calc(100% - 28px);

  }


  .site-logo {

    width: 78px;

    max-height: 48px;

  }


  .logo-text {

    max-width: 190px;

  }


  .logo-text strong {

    font-size: 0.62rem;

  }


  .logo-text small {

    font-size: 0.45rem;

  }


  .main-navigation {

    gap: 15px;

  }


  .main-navigation > a:not(.header-button) {

    display: none;

  }


  .header-button {

    padding:
      10px 14px;

    font-size: 10px;

  }


  /* HERO */

  .services-hero {

    min-height: auto;

  }


  .services-hero-grid {

    width:
      calc(100% - 36px);

    grid-template-columns: 1fr;

    gap: 10px;

  }


  .services-hero-content {

    padding:
      90px 0 25px;

  }


  .services-hero h1 {

    font-size:
      clamp(
        3rem,
        13vw,
        4rem
      );

    line-height: 0.99;

  }


  .services-hero-description {

    margin-top: 28px;

    font-size: 14px;

    line-height: 1.8;

  }


  .services-hero-actions {

    flex-direction: column;

    align-items: stretch;

    margin-top: 30px;

  }


  .service-button {

    width: 100%;

  }


  .services-hero-visual {

    min-height: 310px;

  }


  .technical-grid {

    width: 230px;

    height: 230px;

  }


  .hero-stat-card {

    width: 205px;

    padding: 27px;

  }


  .hero-stat-number {

    font-size: 3.6rem;

  }


  .hero-project-marker {

    right: 5px;

    bottom: 20px;

  }


  /* INTRO */

  .services-intro {

    padding: 80px 0;

  }


  .services-intro .services-container {

    grid-template-columns: 1fr;

    gap: 30px;

  }


  .intro-content {

    grid-template-columns: 1fr;

    gap: 30px;

  }


  .intro-content h2 {

    font-size: 2.7rem;

  }


  /* OVERVIEW */

  .services-overview {

    padding: 80px 0;

  }


  .section-heading {

    grid-template-columns: 1fr;

    gap: 28px;

    margin-bottom: 45px;

  }


  .section-heading h2 {

    font-size: 3rem;

  }


  .service-index-item {

    grid-template-columns:
      45px minmax(0,1fr) 38px;

    min-height: 90px;

  }


  .index-title {

    font-size: 1.1rem;

  }


  .service-index-item:hover {

    padding-left: 10px;

    padding-right: 10px;

  }


  /* SERVICE DETAILS */

  .service-detail {

    padding: 80px 0;

  }


  .service-detail-header {

    grid-template-columns:
      45px minmax(0,1fr);

    gap: 15px;

    margin-bottom: 50px;

  }


  .service-detail-header h2 {

    font-size: 2.8rem;

  }


  .service-detail-grid {

    grid-template-columns: 1fr;

    gap: 55px;

  }


  .service-description {

    max-width: none;

  }


  .service-lead {

    font-size: 17px;

  }


  .project-feature:hover {

    padding-left: 0;

  }


  /* PORTFOLIO */

  .project-portfolio {

    padding: 80px 0;

  }


  .portfolio-heading {

    grid-template-columns: 1fr;

    gap: 25px;

    margin-bottom: 45px;

  }


  .portfolio-heading h2 {

    font-size: 3rem;

  }


  .portfolio-grid {

    grid-template-columns: 1fr;

  }


  .portfolio-card {

    min-height: 300px;

  }


  /* EXPERIENCE */

  .experience-note {

    padding: 80px 0;

  }


  .experience-note-grid {

    grid-template-columns: 1fr;

    gap: 40px;

  }


  .experience-note h2 {

    font-size: 3rem;

  }


  /* CTA */

  .services-cta {

    padding: 80px 0;

  }


  .services-cta-inner {

    flex-direction: column;

    align-items: flex-start;

    gap: 35px;

  }


  .services-cta h2 {

    font-size: 3rem;

  }


  .services-cta .service-button {

    width: auto;

  }


  /* FOOTER */

  .footer-grid {

    grid-template-columns: 1fr;

    gap: 40px;

  }


  .footer-bottom {

    flex-direction: column;

    gap: 10px;

  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {


  .services-container {

    width:
      calc(100% - 28px);

  }


  .header-container {

    width:
      calc(100% - 20px);

  }


  .logo-text {

    display: none;

  }


  .services-hero-grid {

    width:
      calc(100% - 28px);

  }


  .services-hero-content {

    padding-top: 75px;

  }


  .services-hero h1 {

    font-size: 2.8rem;

  }


  .services-hero-description {

    font-size: 13px;

  }


  .services-hero-visual {

    min-height: 275px;

  }


  .technical-grid {

    width: 200px;

    height: 200px;

  }


  .hero-stat-card {

    width: 180px;

    padding: 23px;

  }


  .hero-stat-number {

    font-size: 3rem;

  }


  .hero-stat-label {

    font-size: 9px;

  }


  .section-heading h2,
  .portfolio-heading h2,
  .experience-note h2,
  .services-cta h2 {

    font-size: 2.65rem;

  }


  .intro-content h2 {

    font-size: 2.5rem;

  }


  .service-detail-header h2 {

    font-size: 2.45rem;

  }


  .service-number {

    font-size: 10px;

  }


  .project-feature h3 {

    font-size: 1.35rem;

  }


  .project-feature p {

    font-size: 13px;

  }


  .project-metric strong {

    font-size: 1.8rem;

  }


  .portfolio-card {

    min-height: 275px;

    padding: 24px;

  }


  .portfolio-card-top {

    margin-bottom: 45px;

  }


  .portfolio-card h3 {

    font-size: 1.35rem;

  }


  .services-cta .service-button {

    width: 100%;

  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

}
/* =========================================================
   PROJECT EXPERIENCE — LARGE SUPPORTING IMAGE
   ========================================================= */

.project-content-with-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
    align-items: stretch;
}

.project-text {
    min-width: 0;
}

.project-image-small {
    width: 260px;
    height: 175px;
    overflow: hidden;
    border-radius: 3px;
    align-self: stretch;
}

.project-image-small img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-image-small:hover img {
    transform: scale(1.04);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .project-content-with-image {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 24px;
    }

    .project-image-small {
        width: 220px;
        height: 150px;
    }

}


@media (max-width: 600px) {

    .project-content-with-image {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .project-image-small {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }

}