/* =========================================================
   SUPPORTLY — MAIN STYLESHEET
   ========================================================= */

:root {
  --bg: #0f1715;
  --bg-soft: #17211e;
  --bg-card: rgba(25, 37, 33, 0.78);

  --text: #eef2ed;
  --text-soft: #aebbb4;
  --text-muted: #74837c;

  --green: #42d59a;
  --green-dark: #239b70;

  --yellow: #ffb52e;

  --border: rgba(239, 242, 237, 0.12);

  --max-width: 1360px;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;

  width: 100%;

  scroll-behavior: smooth;

  background: var(--bg);
}

body {
  margin: 0;
  padding: 0;

  width: 100%;
  min-height: 100vh;

  overflow-x: hidden;

  background: var(--bg);

  color: var(--text);

  font-family: var(--sans);

  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   COMMON WRAPPER
   ========================================================= */

.wrap {
  width: min(calc(100% - 80px),
      var(--max-width));

  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
  width: 100%;
}

header .wrap {
  min-height: 78px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */
.brand-logo {
  transform: scale(3.0);

  transform-origin: left center;
}

@media (max-width: 768px) {
  .brand-logo {
    width: 95px !important;
    max-width: 95px !important;
    transform: none !important;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .brand-tagline {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .nav-cta .btn {
    font-size: 10px;
    padding: 9px 12px;
    white-space: nowrap;
  }
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-links {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 34px;

  margin-left: auto;
}

.nav-links a {
  color: var(--text-soft);

  font-size: 14px;

  font-weight: 500;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding:
    0 24px;

  border-radius: 999px;

  border: 1px solid transparent;

  font-family: var(--sans);

  font-size: 14px;

  font-weight: 700;

  white-space: nowrap;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #111714;

  background: var(--yellow);

  box-shadow:
    0 10px 30px rgba(255, 181, 46, 0.15);
}

.btn-primary:hover {
  background: #ffc14c;

  box-shadow:
    0 14px 35px rgba(255, 181, 46, 0.22);
}

.btn-ghost-dark {
  color: var(--text);

  border-color:
    rgba(239, 242, 237, 0.20);

  background:
    rgba(15, 23, 21, 0.20);
}

.btn-ghost-dark:hover {
  border-color:
    rgba(239, 242, 237, 0.38);

  background:
    rgba(239, 242, 237, 0.06);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 720px;

  display: flex;

  align-items: center;

  padding:
    100px 0 100px;
}

.hero-grid {
  width: 100%;
  padding-left: 40px;
}

.hero-grid>div {
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 22px;

  color:
    rgba(184, 216, 201, 0.92);

  font-family: var(--mono);

  font-size: 12px;

  font-weight: 500;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.eyebrow::before {
  content: "";

  width: 9px;
  height: 9px;

  flex: 0 0 9px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 12px rgba(66, 213, 154, 0.65);
}

.hero h1 {
  max-width: 1000px;

  margin:
    0 0 30px;

  color: var(--text);

  font-family: var(--serif);

  font-size: clamp(56px,
      6.5vw,
      100px);

  font-weight: 400;

  line-height: 1.08;

  letter-spacing: 0.034em;
}

.hero h1 em {
  color: var(--yellow);

  font-style: italic;
}

.lead {
  max-width: 760px;

  margin:
    0 0 38px;

  color:
    rgba(232, 239, 235, 0.86);

  font-size: 20px;

  line-height: 1.65;
}

.hero-cta {
  display: flex;

  align-items: center;

  gap: 14px;
}


/* =========================================================
   SECTION COMMON
   ========================================================= */

section {
  width: 100%;
}

.about,
.gallery,
.services,
.convergence,
.results,
.process,
.contact {
  padding:
    120px 0;
}

.section-head {
  max-width: 850px;

  margin-bottom: 55px;
}

.section-head h2 {
  margin:
    0 0 20px;

  color: var(--text);

  font-family: var(--serif);

  font-size: clamp(44px,
      5vw,
      72px);

  font-weight: 400;

  line-height: 1.02;

  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 700px;

  margin: 0;

  color: var(--text-soft);

  font-size: 17px;

  line-height: 1.7;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.about-card {
  min-height: 280px;

  padding: 36px;

  border:
    1px solid var(--border);

  border-radius: 24px;

  background:
    rgba(25, 37, 33, 0.72);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(66, 213, 154, 0.30);
}

.num {
  margin-bottom: 35px;

  color: var(--green);

  font-family: var(--mono);

  font-size: 12px;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.about-card h3 {
  margin:
    0 0 14px;

  font-family: var(--serif);

  font-size: 32px;

  font-weight: 400;

  line-height: 1.1;
}

.about-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 15px;

  line-height: 1.7;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
  background:
    rgba(27, 38, 34, 0.55);
}

.gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px;

  align-items: start;
}


/*
IMPORTANT:
Images keep their original aspect ratio.
NO CROPPING.
*/

.gallery-item {
  position: relative;

  margin: 0;

  overflow: hidden;

  border:
    1px solid rgba(239, 242, 237, 0.10);

  border-radius: 22px;

  background:
    rgba(15, 23, 21, 0.70);

  height: auto !important;

  min-height: 0 !important;
}

.gallery-item--tall {
  grid-row: span 2;

  height: auto !important;
}

.gallery-item img {
  display: block;

  width: 100% !important;

  height: auto !important;

  max-width: 100%;

  max-height: none !important;

  object-fit: contain !important;

  object-position: center center !important;

  background:
    rgba(15, 23, 21, 0.45);

  transition:
    transform 0.45s ease;
}

.gallery-item:nth-child(3) {
  grid-column: 1 / 3;
  justify-self: center;
  width: 55%;
}

.gallery-item:nth-child(1) {
  grid-column: 1;
}

.gallery-item:hover img {
  transform: scale(1.015);
}

.gallery-item figcaption {
  padding:
    18px 22px 21px;

  color: var(--text);

  font-size: 14px;

  line-height: 1.55;

  background:
    rgba(15, 23, 21, 0.82);
}


/* =========================================================
   SERVICES
   ========================================================= */

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  border:
    1px solid var(--border);

  border-radius: 24px;

  overflow: hidden;

  background:
    rgba(25, 37, 33, 0.70);
}

.service-card {
  min-height: 180px;

  padding: 28px;

  border-right:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition:
    background 0.3s ease;
}

.service-card:hover {
  background:
    rgba(66, 213, 154, 0.06);
}

.service-card:nth-child(4n) {
  border-right: 0;
}

.service-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.service-card svg {
  width: 30px;
  height: 30px;

  margin-bottom: 25px;

  color: var(--green);

  stroke: currentColor;
}

.service-card h4 {
  margin: 0;

  color: var(--text);

  font-size: 16px;

  font-weight: 600;
}


/* =========================================================
   CONVERGENCE
   ========================================================= */

.convergence {
  min-height: 650px;

  display: flex;

  align-items: center;

  background:
    rgba(15, 23, 21, 0.12);
}

.convergence-content {
  max-width: 900px;
}

.convergence h2 {
  margin:
    0 0 25px;

  font-family: var(--serif);

  font-size: clamp(48px,
      5vw,
      78px);

  font-weight: 400;

  line-height: 1.02;

  letter-spacing: -0.05em;
}

.convergence p {
  max-width: 680px;

  margin: 0;

  color: var(--text-soft);

  font-size: 18px;

  line-height: 1.7;
}


/* =========================================================
   RESULTS
   ========================================================= */

.results-list {
  width: 100%;

  border-top:
    1px solid var(--border);
}

.result-row {
  display: grid;

  grid-template-columns:
    160px 1fr;

  gap: 30px;

  padding:
    25px 0;

  border-bottom:
    1px solid var(--border);

  align-items: center;
}

.result-row .mark {
  color: var(--green);

  font-family: var(--mono);

  font-size: 13px;
}

.result-row .label {
  color: var(--text);

  font-family: var(--serif);

  font-size: 25px;

  line-height: 1.3;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;
}

.process-card {
  min-height: 310px;

  padding: 30px;

  border:
    1px solid var(--border);

  border-radius: 22px;

  background:
    rgba(25, 37, 33, 0.70);
}

.process-card .step {
  margin-bottom: 60px;

  color: var(--green);

  font-family: var(--mono);

  font-size: 12px;

  letter-spacing: 0.08em;
}

.process-card h4 {
  margin:
    0 0 14px;

  font-family: var(--serif);

  font-size: 27px;

  font-weight: 400;

  line-height: 1.15;
}

.process-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;

  line-height: 1.7;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  padding:
    130px 0;
}

.contact-grid {
  display: grid;

  grid-template-columns:
    1.2fr 0.8fr;

  gap: 70px;

  align-items: center;
}

.contact h2 {
  margin:
    0 0 25px;

  font-family: var(--serif);

  font-size: clamp(48px,
      5vw,
      76px);

  font-weight: 400;

  line-height: 1;

  letter-spacing: -0.05em;
}

.contact-cta {
  margin-top: 30px;
}

.contact-box {
  border:
    1px solid var(--border);

  border-radius: 22px;

  overflow: hidden;

  background:
    rgba(25, 37, 33, 0.76);
}

.contact-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding:
    22px 25px;

  border-bottom:
    1px solid var(--border);

  font-size: 14px;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row>span:first-child {
  color: var(--text-muted);

  font-family: var(--mono);

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.contact-row a {
  color: var(--text);

  transition:
    color 0.2s ease;
}

.contact-row a:hover {
  color: var(--green);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding:
    35px 0;

  border-top:
    1px solid var(--border);

  color: var(--text-muted);

  font-size: 12px;
}

footer .wrap {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;
}

.social {
  display: flex;

  align-items: center;

  gap: 24px;
}

.social a {
  color: var(--text-soft);

  transition:
    color 0.2s ease;
}

.social a:hover {
  color: var(--green);
}


/* =========================================================
   OLD PARTICLE ELEMENTS
   ========================================================= */

#particles-mount,
.convergence-canvas {
  display: none !important;

  width: 0 !important;
  height: 0 !important;

  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
}


/* =========================================================
   MOBILE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .wrap {
    width:
      min(calc(100% - 50px),
        var(--max-width));
  }

  .nav-links {
    gap: 20px;
  }

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

  .service-card:nth-child(4n) {
    border-right:
      1px solid var(--border);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card:nth-last-child(-n + 4) {
    border-bottom:
      1px solid var(--border);
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .contact-grid {
    grid-template-columns:
      1fr;
  }
}


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

@media (max-width: 768px) {

  .wrap {
    width:
      calc(100% - 36px);
  }

  header .wrap {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta .btn {
    min-height: 42px;

    padding:
      0 17px;

    font-size: 12px;
  }


  /* HERO */

  .hero {
    min-height: auto;

    padding:
      90px 0 80px;
  }

  .hero-grid {
    padding-left: 0;
  }

  .hero h1 {
    font-size:
      clamp(45px,
        13vw,
        70px);

    line-height: 1;
  }

  .lead {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }


  /* SECTIONS */

  .about,
  .gallery,
  .services,
  .convergence,
  .results,
  .process,
  .contact {
    padding:
      80px 0;
  }

  .section-head {
    margin-bottom: 35px;
  }

  .section-head h2 {
    font-size:
      clamp(40px,
        11vw,
        58px);
  }


  /* ABOUT */

  .about-grid {
    grid-template-columns:
      1fr;
  }


  /* GALLERY */

  .gallery-grid {
    grid-template-columns:
      1fr;

    gap: 18px;
  }

  .gallery-item--tall {
    grid-row: auto;
  }

  .gallery-item img {
    width: 100% !important;

    height: auto !important;

    object-fit: contain !important;
  }


  /* SERVICES */

  .service-grid {
    grid-template-columns:
      1fr;
  }

  .service-card,
  .service-card:nth-child(2n),
  .service-card:nth-child(4n) {
    border-right: 0;

    border-bottom:
      1px solid var(--border);
  }

  .service-card:last-child {
    border-bottom: 0;
  }


  /* CONVERGENCE */

  .convergence {
    min-height: 500px;
  }

  .convergence h2 {
    font-size:
      clamp(45px,
        12vw,
        64px);
  }


  /* RESULTS */

  .result-row {
    grid-template-columns:
      70px 1fr;

    gap: 15px;
  }

  .result-row .label {
    font-size: 20px;
  }


  /* PROCESS */

  .process-grid {
    grid-template-columns:
      1fr;
  }


  /* CONTACT */

  .contact h2 {
    font-size:
      clamp(45px,
        12vw,
        65px);
  }

  .contact-row {
    align-items: flex-start;

    flex-direction: column;

    gap: 7px;
  }


  /* FOOTER */

  footer .wrap {
    flex-direction: column;

    align-items: flex-start;
  }

  .social {
    flex-wrap: wrap;

    gap: 16px;
  }
}


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

@media (max-width: 480px) {

  .wrap {
    width:
      calc(100% - 28px);
  }

  .logo {
    font-size: 17px;
  }

  .nav-cta .btn {
    padding:
      0 13px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .section-head h2 {
    font-size: 40px;
  }

  .about-card {
    padding: 25px;
  }

  .process-card {
    padding: 25px;
  }

  .contact-box {
    border-radius: 18px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;
  }
}