/* =========================================================
   NOVIX CREATIVE
   INTERNAL PAGES
========================================================= */


/* =========================================================
   COMPATIBILITY HEADER
   For older internal-page HTML
========================================================= */

.nav {
  width: min(
    calc(100% - var(--pad) * 2),
    var(--max)
  );

  height: 92px;

  margin-inline: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 28px;

  position: relative;

  z-index: 120;
}


/* old text logo fallback */

.brand {
  display: flex;

  align-items: center;

  gap: 10px;

  flex-shrink: 0;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-weight: 700;

  letter-spacing: -.035em;
}


.brand-mark {
  width: 34px;

  height: 34px;

  display: grid;

  place-items: center;

  border-radius: 10px;

  background: #f5f5f2;

  color: #09090b;
}


.brand-dim {
  margin-left: 4px;

  opacity: .43;

  font-size: .82em;

  font-weight: 500;
}


/* old nav */

.nav-links {
  display: flex;

  align-items: center;

  gap: 30px;

  color: #c0c2c8;

  font-size: 13px;
}


.nav-links a {
  position: relative;

  transition: .25s;
}


.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;

  right: 100%;

  bottom: -8px;

  height: 1px;

  background: var(--acid);

  transition: .3s;
}


.nav-links a:hover,
.nav-links a.active {
  color: white;
}


.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}


.desktop-cta {
  flex-shrink: 0;
}


.menu-toggle {
  width: 44px;

  height: 44px;

  display: none;

  place-items: center;

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

  border-radius: 50%;

  background:
    rgba(255,255,255,.03);

  cursor: pointer;
}


.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";

  width: 16px;

  height: 1px;

  display: block;

  position: relative;

  background: white;
}


.menu-toggle span::before {
  position: absolute;

  top: -5px;
}


.menu-toggle span::after {
  position: absolute;

  top: 5px;
}



/* =========================================================
   INTERNAL MOBILE MENU
========================================================= */

.mobile-menu {
  position: fixed;

  inset: 0;

  z-index: 110;

  padding:
    120px var(--pad) 40px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  background:
    rgba(9,9,11,.98);

  -webkit-backdrop-filter:
    blur(20px);
  backdrop-filter:
    blur(20px);

  opacity: 0;

  visibility: hidden;

  transition: .3s ease;
}


.mobile-menu.open {
  opacity: 1;

  visibility: visible;
}


.mobile-menu nav {
  display: flex;

  flex-direction: column;
}


.mobile-menu nav a {
  padding: 8px 0;

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

  font-family:
    "Space Grotesk";

  font-size:
    clamp(42px,11vw,76px);

  letter-spacing: -.06em;
}


.mobile-menu-meta {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  color: #747883;

  font-size: 11px;
}



/* =========================================================
   GENERIC INTERNAL PAGE HERO
========================================================= */

.page-hero {
  width: min(
    calc(100% - var(--pad) * 2),
    var(--max)
  );

  min-height: 67vh;

  margin-inline: auto;

  padding:
    120px 0 90px;

  display: flex;

  align-items: flex-end;

  position: relative;

  overflow: hidden;
}


.page-hero-orb {
  width: 700px;

  height: 700px;

  position: absolute;

  right: -250px;

  top: -260px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(124,81,255,.16),
      transparent 68%
    );

  pointer-events: none;
}


.page-hero > div:not(.page-hero-orb) {
  position: relative;

  z-index: 2;
}


.page-title {
  max-width: 1150px;

  margin:
    20px 0 30px;

  font-family:
    "Space Grotesk";

  font-size:
    clamp(72px,11vw,165px);

  font-weight: 600;

  line-height: .78;

  letter-spacing: -.07em;
}


.page-lead {
  max-width: 680px;

  margin: 0;

  color: #9fa2ac;

  font-size: 17px;

  line-height: 1.75;
}



/* =========================================================
   WORK PAGE
========================================================= */

.filter-row {
  margin-bottom: 34px;

  display: flex;

  flex-wrap: wrap;

  gap: 9px;
}


.filter {
  padding:
    10px 15px;

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

  border-radius: 999px;

  background:
    rgba(255,255,255,.015);

  color: #c3c5cc;

  font-size: 11px;

  cursor: pointer;

  transition: .25s;
}


.filter:hover {
  border-color:
    rgba(255,255,255,.28);

  background:
    rgba(255,255,255,.06);
}


.filter.active {
  border-color: white;

  background: white;

  color: #09090b;
}


.case-grid {
  display: grid;

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

  gap:
    56px 24px;
}


.case-card {
  min-width: 0;

  display: block;
}


.case-thumb {
  width: 100%;

  height: 500px;

  position: relative;

  overflow: hidden;

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

  border-radius: 27px;

  background: #111318;

  transition:
    transform .4s ease,
    border-color .4s ease;
}


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

  border-color:
    rgba(255,255,255,.24);
}


/*
   IMPORTANT:
   prevents old portfolio visuals from
   exploding outside the card.
*/

.case-thumb .browser-frame {
  position: absolute;

  inset:
    10% 7%;
}


.case-thumb .phone {
  position: absolute;
}


.case-thumb .poster {
  position: absolute;

  inset:
    10% 14%;

  max-width: none;

  max-height: none;
}


.case-card .project-meta {
  padding:
    20px 4px 0;
}

.project-feature .project-visual {
  min-height: 0;
  aspect-ratio: 900 / 620;
  background: #11131d;
}

.project-feature .project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.project-browser {
  position: absolute;
  inset: 6% 5% 7%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 18px;
  background: #101117;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48), 0 0 45px rgba(126, 115, 255, .12);
  transform: perspective(1400px) rotateX(1.5deg) rotateY(-1deg);
  transition: transform .5s ease, box-shadow .5s ease;
}

.project-feature:hover .project-browser {
  transform: perspective(1400px) rotateX(0) rotateY(0) translateY(-3px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .52), 0 0 54px rgba(126, 115, 255, .2);
}

.project-browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  color: #b5b7c1;
  background: linear-gradient(180deg, #24252d, #181920);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 10px/1 Inter, sans-serif;
  letter-spacing: .02em;
}

.browser-lights { display: flex; gap: 5px; }
.browser-lights i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b72; }
.browser-lights i:nth-child(2) { background: #ffc45d; }
.browser-lights i:nth-child(3) { background: #5bd795; }
.project-address { flex: 1; text-align: center; opacity: .8; }
.browser-open { color: #ececf3; font-size: 13px; }

.project-browser-screen {
  position: relative;
  height: calc(100% - 38px);
  overflow: hidden;
}

.project-feature .project-browser-screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-aquashine .project-browser-screen > img { object-position: center 55%; }
.visual-ethere .project-browser-screen > img { object-position: center 48%; }

.website-preview-copy {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 58%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(18px, 4vw, 52px);
  color: #fff;
  background: linear-gradient(90deg, rgba(3, 20, 28, .88), rgba(4, 24, 31, .55) 72%, transparent);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .32);
}

.website-preview-copy small,
.jarvis-interface > span {
  margin-bottom: 13px;
  font-size: 9px;
  letter-spacing: .19em;
  font-weight: 700;
}

.website-preview-copy strong {
  font: 600 clamp(23px, 3.5vw, 50px)/1.04 "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}

.website-preview-copy > span {
  margin-top: 19px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.ethere-copy {
  color: #fffaf1;
  background: linear-gradient(90deg, rgba(40, 27, 35, .79), rgba(43, 29, 38, .43) 72%, transparent);
}

.ethere-copy strong { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.025em; }

.preview-stamp {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 9%;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 50%;
  color: white;
  background: rgba(15, 37, 46, .25);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  text-align: center;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .15em;
  transform: rotate(9deg);
}

.ethere-stamp { color: #fff4e9; border-color: rgba(255, 238, 224, .78); background: rgba(97, 58, 73, .27); }

.jarvis-browser .project-browser-screen > img { object-fit: cover; }

.jarvis-interface {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 230px;
  padding: 13px 22px;
  border: 1px solid rgba(190, 208, 255, .28);
  border-radius: 12px;
  color: #f4f1ff;
  background: rgba(15, 17, 40, .75);
  box-shadow: 0 8px 35px rgba(0, 0, 0, .3), 0 0 28px rgba(130, 112, 255, .15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.jarvis-interface > span { margin: 0 0 5px; color: #bfc4ff; font-size: 8px; }
.jarvis-interface strong { font: 600 17px/1.2 "Space Grotesk", sans-serif; }
.jarvis-interface i { margin-top: 7px; color: #aeb4c8; font-size: 9px; font-style: normal; }

.project-feature .visual-aquashine img {
  filter: saturate(1.35) hue-rotate(11deg) contrast(1.08);
}

.project-feature .visual-ethere img {
  filter: saturate(1.18) hue-rotate(320deg) contrast(1.04);
}

.project-feature .visual-aquashine::after,
.project-feature .visual-ethere::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.project-feature .visual-aquashine::after {
  background:
    radial-gradient(ellipse at 77% 18%, rgba(117, 247, 255, .44), transparent 25%),
    linear-gradient(135deg, rgba(17, 231, 255, .16), transparent 48%, rgba(106, 93, 255, .3));
}

.project-feature .visual-ethere::after {
  background:
    radial-gradient(ellipse at 74% 20%, rgba(255, 227, 185, .48), transparent 25%),
    linear-gradient(145deg, rgba(255, 126, 194, .22), transparent 46%, rgba(134, 104, 255, .34));
}

.project-feature:hover .project-visual img {
  transform: scale(1.035);
}

.project-feature .project-meta {
  align-items: flex-start;
  gap: 20px;
}

.project-feature .project-meta > div {
  max-width: 540px;
}

.project-feature .project-meta p {
  line-height: 1.75;
}

.project-feature .project-meta .project-tech {
  margin-top: 12px;
  color: #c7c8d0;
  font-size: 12px;
}

.project-feature .project-tech b {
  color: var(--acid);
  font-weight: 600;
}




/* =========================================================
   PROJECT DETAIL PAGES
========================================================= */

.project-detail-hero { padding-top: clamp(44px, 7vw, 100px); padding-bottom: clamp(32px, 5vw, 66px); }
.project-back { display: inline-block; margin-bottom: clamp(32px, 6vw, 72px); color: #b8bac3; font-size: 12px; transition: color .2s ease, transform .2s ease; }
.project-back:hover { color: var(--acid); transform: translateX(-3px); }
.project-detail-hero h1 { margin: 13px 0 22px; font-size: clamp(46px, 8vw, 104px); letter-spacing: -.075em; }
.project-detail-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); align-items: end; gap: clamp(30px, 7vw, 100px); }
.project-detail-intro .page-lead { max-width: 650px; margin: 0; }
.project-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.project-detail-facts > div { display: grid; gap: 8px; }
.project-detail-facts span { color: #9699a5; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.project-detail-facts strong { color: #f1f0f5; font-size: 11px; line-height: 1.5; font-weight: 500; }
.project-detail-image { position: relative; overflow: hidden; margin-top: 0; margin-bottom: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; background: #12131a; box-shadow: 0 32px 100px rgba(0, 0, 0, .35); }
.project-detail-image img { display: block; width: 100%; max-height: 680px; aspect-ratio: 16 / 8.5; object-fit: cover; }
.ethere-detail-image img { aspect-ratio: auto; max-height: none; object-fit: contain; }
.jarvis-detail-image img { background: #100f24; }
.project-detail-image figcaption { padding: 12px 17px; color: #b4b5bf; background: #111217; font-size: 11px; }
.project-gallery-heading { max-width: 610px; margin-bottom: 30px; }
.project-gallery-heading h2 { margin: 13px 0 10px; font: 500 clamp(30px, 4vw, 48px)/1.08 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.project-gallery-heading p { color: #a4a7b0; font-size: 13px; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-gallery-item { min-width: 0; overflow: hidden; margin: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 15px; background: #111217; }
.project-gallery-item img { display: block; width: 100%; height: auto; }
.project-gallery-item figcaption { display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: #e6e5ea; font-size: 11px; }
.project-gallery-item figcaption span { color: var(--acid); font-size: 9px; letter-spacing: .12em; }
.project-detail-content { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(35px, 8vw, 120px); align-items: start; }
.project-detail-content h2 { max-width: 480px; margin-top: 16px; font: 500 clamp(30px, 4vw, 52px)/1.08 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.project-detail-content > div:last-child > p { color: #c0c1ca; font-size: 14px; line-height: 1.85; }
.project-tech-panel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .025); }
.project-tech-panel > span { flex-basis: 100%; margin-bottom: 5px; color: #999ba6; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.project-tech-panel strong { padding: 7px 10px; border: 1px solid rgba(185, 255, 98, .22); border-radius: 30px; color: #dcf8c3; background: rgba(185, 255, 98, .06); font-size: 10px; font-weight: 500; }
.project-tech-panel p { flex-basis: 100%; margin: 9px 0 0; color: #9699a5; font-size: 11px; line-height: 1.7; }
.project-next { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-top: 25px; padding-bottom: clamp(65px, 10vw, 130px); border-top: 1px solid var(--line); }
.project-next h2 { margin: 13px 0 0; font: 500 clamp(30px, 4.5vw, 58px)/1.08 "Space Grotesk", sans-serif; letter-spacing: -.055em; }

@media (max-width: 760px) {
  .project-detail-intro, .project-detail-content { grid-template-columns: 1fr; }
  .project-detail-facts { grid-template-columns: 1fr; }
  .project-detail-facts > div { grid-template-columns: 90px 1fr; align-items: baseline; }
  .project-detail-image { border-radius: 18px; }
  .project-detail-image img { aspect-ratio: 4 / 3; }
  .ethere-detail-image img { aspect-ratio: auto; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-next { align-items: flex-start; flex-direction: column; }
}

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

.service-detail {
  display: grid;

  grid-template-columns:
    75px
    minmax(0,1.05fr)
    minmax(0,.95fr);

  gap: 42px;

  padding:
    48px 0;

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


.service-detail:last-child {
  border-bottom:
    1px solid var(--line);
}


.service-detail .num {
  color: #696d77;

  font-size: 11px;
}


.service-detail h2 {
  margin: 0;

  font-family:
    "Space Grotesk";

  font-size:
    clamp(35px,4vw,62px);

  font-weight: 600;

  line-height: 1;

  letter-spacing: -.055em;
}


.service-detail p {
  margin: 0;

  color: #969aa4;

  font-size: 14px;

  line-height: 1.8;
}


.tags {
  margin-top: 20px;

  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}


.tag {
  padding:
    8px 11px;

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

  border-radius: 999px;

  color: #bfc2c9;

  font-size: 10px;
}


.solutions-grid {
  display: grid;

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

  gap: 14px;
}


.solution-card {
  min-height: 190px;

  padding: 21px;

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

  border-radius: 20px;

  background:
    #0d0f13;

  transition:
    transform .3s ease,
    border-color .3s ease;
}


.solution-card:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(255,255,255,.22);
}


.solution-card strong {
  display: block;

  margin-bottom: 38px;

  font-family:
    "Space Grotesk";

  font-size: 20px;
}


.solution-card span {
  color: #858a94;

  font-size: 12px;

  line-height: 1.65;
}



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

.process-timeline {
  border-top:
    1px solid var(--line);
}


.timeline-row {
  display: grid;

  grid-template-columns:
    70px
    minmax(220px,.8fr)
    minmax(0,1.2fr);

  gap: 45px;

  padding:
    46px 0;

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


.timeline-row .num {
  color: #666a75;

  font-size: 11px;
}


.timeline-row h2 {
  margin: 0;

  font-family:
    "Space Grotesk";

  font-size:
    clamp(34px,4vw,60px);

  line-height: 1;

  letter-spacing: -.055em;
}


.timeline-row p {
  margin: 0;

  color: #969aa4;

  font-size: 14px;

  line-height: 1.8;
}


.deliverables {
  display: grid;

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

  gap: 16px;
}


.deliverable {
  min-height: 240px;

  padding: 24px;

  display: flex;

  flex-direction: column;

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

  border-radius: 22px;

  background:
    #0d0f13;
}


.deliverable h3 {
  margin:
    auto 0 10px;

  font-family:
    "Space Grotesk";

  font-size: 27px;
}


.deliverable p {
  margin: 0;

  color: #878b95;

  font-size: 12px;

  line-height: 1.7;
}



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

.about-intro {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 90px;
}


.big-copy {
  margin: 0;

  font-family:
    "Space Grotesk";

  font-size:
    clamp(27px,3vw,44px);

  line-height: 1.22;

  letter-spacing: -.045em;
}


.values {
  display: grid;

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

  gap: 15px;
}


.value-card {
  min-height: 270px;

  padding: 25px;

  display: flex;

  flex-direction: column;

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

  border-radius: 22px;

  background:
    #0d0f13;
}


.value-card .num {
  color: #676b76;

  font-size: 10px;
}


.value-card h3 {
  margin:
    auto 0 10px;

  font-family:
    "Space Grotesk";

  font-size: 27px;
}


.value-card p {
  margin: 0;

  color: #878b95;

  font-size: 20px;

  line-height: 1.7;
}


.stack-grid {
  display: grid;

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

  gap: 10px;
}


.stack-chip {
  padding:
    23px 12px;

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

  border-radius: 15px;

  background:
    #0d0f13;

  text-align: center;

  font-family:
    "Space Grotesk";

  font-size: 13px;
}



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

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(300px,.85fr)
    minmax(0,1.15fr);

  gap: 75px;

  padding-bottom: 125px;
}


.contact-panel {
  height: max-content;

  padding: 29px;

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

  border-radius: 27px;

  background:
    #0d0f13;
}


.contact-panel h2 {
  margin:
    0 0 17px;

  font-family:
    "Space Grotesk";

  font-size: 40px;

  letter-spacing: -.05em;
}


.contact-panel p {
  color: #8f939d;

  font-size: 13px;

  line-height: 1.75;
}


.contact-list {
  margin-top: 38px;
}


.contact-list div {
  padding:
    15px 0;

  display: flex;

  justify-content: space-between;

  gap: 20px;

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

  font-size: 12px;
}


.contact-list span {
  color: #747984;
}


form {
  display: flex;

  flex-direction: column;

  gap: 20px;
}


.form-row {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 18px;
}


.field {
  display: flex;

  flex-direction: column;

  gap: 8px;
}


.field label {
  color: #737883;

  font-size: 9px;

  letter-spacing: .14em;

  text-transform: uppercase;
}


.field input,
.field textarea,
.field select {
  width: 100%;

  padding:
    14px 0;

  border: 0;

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

  outline: 0;

  background:
    transparent;

  color: white;
}


.field textarea {
  min-height: 130px;

  resize: vertical;
}


.field select option {
  background: #101116;

  color: white;
}



/* =========================================================
   CASE STUDY PAGES
========================================================= */

.case-hero {
  padding:
    90px 0 40px;
}


.case-hero h1 {
  margin:
    24px 0 32px;

  font-family:
    "Space Grotesk";

  font-size:
    clamp(84px,13vw,184px);

  line-height: .76;

  letter-spacing: -.075em;
}


.case-summary {
  display: grid;

  grid-template-columns:
    1.15fr .85fr;

  gap: 80px;

  align-items: end;
}


.case-summary > p {
  margin: 0;

  color: #b2b5bd;

  font-size: 19px;

  line-height: 1.6;
}


.case-facts {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 15px;
}


.fact {
  padding-top: 13px;

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


.fact span {
  display: block;

  color: #666a75;

  font-size: 9px;

  letter-spacing: .14em;

  text-transform: uppercase;
}


.fact strong {
  display: block;

  margin-top: 7px;

  font-size: 12px;
}


.case-visual-large {
  height: 74vh;

  min-height: 540px;

  position: relative;

  overflow: hidden;

  margin-top: 52px;

  border-radius: 30px;
}


.case-story {
  display: grid;

  grid-template-columns:
    .7fr 1.3fr;

  gap: 100px;
}


.case-story h2 {
  margin: 0;

  font-family:
    "Space Grotesk";

  font-size:
    clamp(36px,4vw,60px);

  line-height: 1;

  letter-spacing: -.055em;
}


.case-story p {
  margin:
    0 0 20px;

  color: #989ca6;

  font-size: 16px;

  line-height: 1.85;
}


.results {
  display: grid;

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

  gap: 14px;
}


.result-card {
  min-height: 190px;

  padding: 25px;

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

  border-radius: 21px;
}


.result-card strong {
  display: block;

  margin-bottom: 42px;

  font-family:
    "Space Grotesk";

  font-size: 44px;
}


.result-card span {
  color: #858a95;

  font-size: 11px;

  line-height: 1.6;
}

/* =========================================================
   ABOUT PAGE — WHO WE ARE
   ========================================================= */

.hoya-about-section {
    padding-top: 70px;
    padding-bottom: 30px;
}


/* Main layout */

.hoya-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 80px;
    align-items: start;
}


/* ---------------------------------------------------------
   LEFT SIDE
   --------------------------------------------------------- */

.hoya-about-content {
    max-width: 720px;
}


.hoya-about-title {
    margin: 20px 0 28px;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.045em;

    color: #ffffff;
}


.hoya-about-lead {
    max-width: 680px;

    margin-bottom: 30px;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
}


.hoya-about-copy {
    max-width: 650px;
}


.hoya-about-copy p {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 16px;
    line-height: 1.8;
}



/* ---------------------------------------------------------
   LOCATION
   --------------------------------------------------------- */

.hoya-location-info {
    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.location-label {
    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.18em;
}


.location-name {
    margin-bottom: 8px;

    color: #ffffff;

    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
    font-weight: 600;
}


.hoya-location-info p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;
}



/* ---------------------------------------------------------
   MAP CARD
   --------------------------------------------------------- */

.hoya-map-card {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.25);
}


.hoya-map-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 24px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}


.hoya-map-top > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.map-small-title {
    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.18em;
}


.hoya-map-top strong {
    color: #ffffff;

    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
}


.map-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;

    color: #ffffff;

    font-size: 17px;
}


/* MAP */

.hoya-map {
    width: 100%;
    height: 430px;

    overflow: hidden;
}


.hoya-map iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: none;
}





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

@media (max-width: 1050px) {

    .hoya-about-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }


    .hoya-about-content {
        max-width: 800px;
    }


    .hoya-map-card {
        max-width: 800px;
    }

}



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

@media (max-width: 700px) {

    .hoya-about-section {
        padding-top: 40px;
        padding-bottom: 80px;
    }


    .hoya-about-grid {
        gap: 40px;
    }


    .hoya-about-title {
        font-size: clamp(38px, 12vw, 54px);
    }


    .hoya-about-lead {
        font-size: 17px;
    }


    .hoya-about-copy p {
        font-size: 15px;
    }


    .hoya-map {
        height: 330px;
    }


    .hoya-map-top {
        padding: 18px;
    }

}

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

@media (max-width: 980px) {

  .nav-links,
  .desktop-cta {
    display: none;
  }


  .menu-toggle {
    display: grid;
  }


  .page-hero {
    min-height: 58vh;

    padding:
      90px 0 75px;
  }


  .page-title {
    font-size:
      clamp(68px,14vw,115px);
  }


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


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


  .service-detail > div:last-child {
    grid-column: 2;
  }


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


  .timeline-row {
    grid-template-columns:
      55px 1fr;
  }


  .timeline-row > div:last-child {
    grid-column: 2;
  }


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


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

    gap: 40px;
  }


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


  .stack-grid {
    grid-template-columns:
      repeat(3,1fr);
  }


  .contact-grid,
  .case-summary,
  .case-story {
    grid-template-columns:
      1fr;

    gap: 40px;
  }

}



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

@media (max-width: 680px) {

  .nav {
    height: 78px;
  }


  .page-hero {
    min-height: auto;

    padding:
      72px 0 65px;
  }


  .page-title {
    font-size:
      18vw;
  }


  .page-lead {
    font-size: 14px;
  }


  .case-thumb {
    height: 400px;
  }


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

    gap: 14px;
  }


  .service-detail > div:last-child {
    grid-column: auto;
  }


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


  .timeline-row {
    grid-template-columns:
      1fr;

    gap: 14px;
  }


  .timeline-row > div:last-child {
    grid-column: auto;
  }


  .deliverables,
  .values,
  .stack-grid,
  .results {
    grid-template-columns:
      1fr;
  }


  .contact-grid {
    gap: 35px;
  }


  .form-row {
    grid-template-columns:
      1fr;
  }


  .case-hero h1 {
    font-size:
      20vw;
  }


  .case-visual-large {
    height: 56vh;

    min-height: 420px;
  }

  

}
