:root {
  --bg-outer: #1c142b;
  --bg-panel: #d5d0cd;
  --text-dark: #10171d;
  --soft-white: #f2f1f0;
  --soft-gray: rgba(12, 17, 22, 0.15);
  --shadow: rgba(0, 0, 0, 0.12);
  --grid-columns: 12;
  --grid-rows: 8;
  --grid-gap: 20px;
  --grid-color: rgba(255, 0, 0, 0.15);
  --row-color: rgba(0, 100, 255, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-overflow-scrolling: touch;
}

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg-outer);
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text-dark);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: clip;
  overscroll-behavior-y: contain;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #dfe0df;
  overflow-x: clip;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: var(--grid-gap);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--grid-gap);
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Grid row system for horizontal arrangement */
.grid-row {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: var(--grid-gap);
  width: 100%;
}

.grid-row.no-gap {
  gap: 0;
}

.grid-row.small-gap {
  gap: 10px;
}

.grid-row.large-gap {
  gap: 40px;
}

/* Grid Overlay System */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

.grid-overlay.active {
  display: block !important;
}

.grid4-overlay {
  z-index: 999999 !important;
}

.grid4-overlay .grid-column {
  background: rgba(255, 0, 0, 0.25);
  border-left: 1px solid rgba(255, 0, 0, 0.6);
  border-right: 1px solid rgba(255, 0, 0, 0.6);
}

.grid-column {
  background: rgba(255, 0, 0, 0.2);
  border-left: 1px solid rgba(255, 0, 0, 0.5);
  border-right: 1px solid rgba(255, 0, 0, 0.5);
}

.grid-column::before {
  content: attr(data-col);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 0, 0, 0.8);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Row Overlay System */
.row-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  display: none;
}

.row-overlay.active {
  display: block;
}

.row-overlay-inner {
  display: grid;
  grid-template-rows: repeat(var(--grid-rows), 1fr);
  gap: var(--grid-gap);
  width: 100%;
  height: 100vh;
  padding: var(--grid-gap) 0;
}

.grid-row-line {
  background: var(--row-color);
  border-top: 1px solid rgba(0, 100, 255, 0.3);
  border-bottom: 1px solid rgba(0, 100, 255, 0.3);
  position: relative;
}

.grid-row-line::before {
  content: attr(data-row);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(0, 100, 255, 0.8);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 3px;
}

.grid-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.9);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.grid-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.grid-toggle-btn.active {
  background: rgba(0, 255, 0, 0.9);
}

.row-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 100px;
  z-index: 10000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 100, 255, 0.9);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.row-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.row-toggle-btn.active {
  background: rgba(0, 255, 100, 0.9);
}


.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 0px 16px;
  background: #0c1319;
  height: 50px;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
  transform: translateY(0);
  opacity: 1;
}

.site-header.is-scrolled {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  padding-bottom: 4px;
  object-fit: contain;
  aspect-ratio: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 78px;
  margin-right: 0px;
  align-content: flex-start;
}

.main-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.request-call-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  height: 50px;
  margin-top: -12px;
  margin-right: -32px;
  margin-bottom: 0;
  padding: 0 32px 0 32px;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  background: #962f2f;
  color: #ffffff;
  font-size: .9rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 240ms ease, color 240ms ease;
}

.request-call-nav:hover {
  background: #ce9c7a;
  color: #ffffff;
}

.hero {
  position: relative;
  height: calc(100vh - 50px);
  min-height: calc(100vh - 50px);
  background: #d9dadb;
  overflow: hidden;
}

.hero-left {
  position: absolute;
  left: 2.5%;
  bottom: 0;
  z-index: 5;
  padding-bottom: 2px;
}

.location-pill {
  width: 218px;
  height: 60px;
  background: rgba(15, 17, 20, 0.95);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1.05;
  color: rgba(245, 245, 245, 0.96);
  letter-spacing: -0.03em;
  font-weight: 400;
}

.location-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(252, 252, 252, 0.9);
  display: grid;
  place-items: center;
  margin-left: 10px;
}

.location-icon span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(20, 20, 20, 0.9);
  border-radius: 50%;
}

.location-icon span::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 9px;
  background: rgba(20,20,20,0.9);
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.hero-right {
  position: absolute;
  right: 110px;
  top: 56px;
  width: 358px;
  color: rgba(14, 17, 22, 0.96);
  z-index: 3;
}

.scroll-arrow {
  font-size: 3rem;
  font-weight: 200;
  line-height: 1;
  margin-left: -34px;
  color: rgba(11, 15, 19, 0.9);
  transform: translateY(15px);
}

.hero-right h2 {
  margin: 26px -34px 0 -34px;
  font-size: clamp(2.2rem, 2vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: rgba(11, 15, 19, 0.9);
}

.flicker-word {
  display: inline-block;
  animation: flicker 0.8s ease-in-out;
  animation-fill-mode: both;
}

.bold-word {
  font-weight: 600;
}

.flicker-word:nth-child(1) {
  animation-delay: 0s;
}

.flicker-word:nth-child(2) {
  animation-delay: 0.15s;
}

.flicker-word:nth-child(3) {
  animation-delay: 0.3s;
}

.flicker-word:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes flicker {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  60% {
  opacity: 0.25;
  }
  70% {
    opacity: 1;
  }
  80% {
    opacity: 0.8;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

.brand-name {
  position: absolute;
  left: 0;
  right: 0;
    bottom: 65px;
    margin: 0;
    font-size: clamp(8.1rem, 23.4vw, 35.1rem);
    line-height: 0.7;
  letter-spacing: -0.12em;
  font-weight: 300;
    color: rgba(255, 255, 255, 0.96);
    text-transform: none;
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: designum-slide 12s ease-in-out infinite;
  animation-delay: 2.25s;
}

@keyframes designum-slide {
  0% {
    transform: translateX(30vw);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(-32vw);
    opacity: 0;
  }
}

.reference-section {
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  background: #0c1319;
  padding: 60px 0 50px;
  color: rgba(233, 236, 237, 0.86);
  display: flex;
  align-items: flex-start;
}

.reference-content {
  width: min(1600px, 90vw);
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 20px;
  padding: 0 20px;
}

.reference-cloud {
  width: min(100%, 1400px);
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: rgba(228, 231, 232, 0.8);
}

.cloud-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  line-height: 0.9;
}

.row-1 {
  font-size: clamp(2.1rem, 2.8vw, 4.2rem);
  margin-bottom: 0.2rem;
}

.row-2,
.row-3 {
  font-size: clamp(2.1rem, 2.9vw, 4.5rem);
}

.subtle,
.muted {
  color: rgba(228, 231, 232, 0.6);
  font-weight: 300;
  font-size: 0.5em;
}

.heavy {
  font-weight: 500;
  color: rgba(230, 233, 234, 0.9);
}

.alt {
  font-weight: 300;
}

.location-tag {
  font-size: 0.58em;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: rgba(228, 231, 232, 0.7);
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  position: relative;
  top: -0.2em;
}

/* Services Header */
.services-header {
  grid-column: 1 / 5;
  align-self: start;
  padding: 44px 21px 23px 126px;
}

.services-title {
  margin: 0;
  font-size: clamp(30.6px, 4.8vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 210;
  text-align: left;
  white-space: nowrap;
}

.services-title .dim {
  opacity: 0.5;
}

/* Services Menu - Editorial Style */
.services-menu {
  grid-column: 9 / 13;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 30px 30px 39px 0px;
  row-gap: 8px;
  margin: 0px 0px 1px -8px;
}

.service-item {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 20px;
  padding: 16px 0;
  width: 100%;
  position: relative;
  cursor: pointer;
  transition: padding-left 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(238, 239, 240, 0.9);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover {
  padding-left: 18px;
}

.service-item:hover::before {
  transform: scaleY(1);
}

.service-divider {
  width: 100%;
  height: 1px;
  background: rgba(228, 231, 232, 0.25);
  transition: background 380ms ease, width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover + .service-divider {
  background: rgba(238, 239, 240, 0.7);
}

.service-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.service-name {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(238, 239, 240, 0.95);
  font-family: "Inter", "Segoe UI", sans-serif;
  background-image: linear-gradient(rgba(238, 239, 240, 0.95), rgba(238, 239, 240, 0.95));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left bottom;
  transition: color 380ms ease, background-size 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover .service-name {
    color: #ce9c7a;
    background-size: 100% 1px;
  }

.service-detail {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(228, 231, 232, 0.6);
  font-family: "Inter", "Segoe UI", sans-serif;
  max-width: 340px;
  transition: color 380ms ease;
}

.service-item:hover .service-detail {
  color: rgba(238, 239, 240, 0.9);
}

.service-index {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(228, 231, 232, 0.45);
  font-family: "Inter", "Segoe UI", sans-serif;
  flex-shrink: 0;
  transition: color 380ms ease;
}

.service-item:hover .service-index {
  color: #ce9c7a;
}

.service-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.service-name {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(238, 239, 240, 0.95);
  font-family: "Inter", "Segoe UI", sans-serif;
  background-image: linear-gradient(rgba(238, 239, 240, 0.95), rgba(238, 239, 240, 0.95));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left bottom;
  transition: color 380ms ease, background-size 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover .service-name {
    color: #ce9c7a;
    background-size: 100% 1px;
  }

.service-detail {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(228, 231, 232, 0.6);
  font-family: "Inter", "Segoe UI", sans-serif;
  max-width: 340px;
  transition: color 380ms ease, opacity 380ms ease;
}

.service-item:hover .service-detail {
  color: rgba(238, 239, 240, 0.9);
}

.reference-copy {
  align-self: center;
  max-width: 410px;
  margin-left: 20px;
  color: rgba(220, 223, 224, 0.9);
  font-family: "Inter", "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.reference-copy p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(238, 239, 240, 0.9);
  width: 100%;
}

.cta-group {
  margin-bottom: 22px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.primary-btn,
.menu-btn {
  border: none;
  background: transparent;
  color: rgba(236, 238, 239, 0.95);
  height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  width: auto;
}

.primary-btn {
  min-width: 238px;
}

.star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(255, 215, 0, 0.2);
  color: #f8d54a;
  font-size: 0.92rem;
}

.menu-btn {
  min-width: 160px;
  justify-content: center;
  border-color: rgba(235, 237, 239, 0.7);
}

.menu-icon {
  font-size: 1.1rem;
}

.extended-section {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  background: #0c1319;
  color: #d9dadb;
  padding: 0 0 28px;
  overflow: hidden;
}

.extended-section,
.extended-section .intro-copy,
.extended-section .twice-word,
.extended-section .copyright-mark,
.extended-section .define-text,
.extended-section .extended-cta p,
.extended-section .form-field,
.extended-section .footer-links,
.extended-section .social-link {
  color: #d9dadb;
}

.extended-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 93px 64px 0 125px;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  align-items: start;
  gap: 14px;
  min-height: 500px;
  border-top: 1px solid rgba(19, 24, 26, 0.34);
  align-content: start;
  justify-content: start;
  justify-items: start;
}

.extended-copy {
  padding-left: 10px;
  color: rgba(233, 237, 238, 0.9);
}

.intro-copy {
  margin: 0 0 8px;
  font-size: clamp(1.54rem, 1.89vw, 2.94rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 300;
  white-space: nowrap;
  color: rgba(18, 21, 25, 0.9);
}

.twice-wrap {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.twice-word {
  display: block;
  font-size: clamp(3.92rem, 8.82vw, 10.5rem);
  line-height: 0.75;
  margin-left: -9px;
  margin-top: 13px;
  letter-spacing: -0.13em;
  font-weight: 500;
  color: rgba(18, 21, 25, 0.82);
}

.copyright-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid rgba(18, 21, 25, 0.8);
  font-size: 2.6rem;
  line-height: 1;
  margin-top: 10px;
  color: rgba(18, 21, 25, 0.88);
}

.define-text {
  max-width: 470px;
  margin: 290px 0 0 0;
  font-size: clamp(1.05rem, 1.2vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.04em;
  font-weight: 300;
  color: rgba(18, 21, 25, 0.8);
}

.extended-cta {
  padding-top: 213px;
  padding-left: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.extended-cta p {
  max-width: 470px;
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.2vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.04em;
  font-weight: 300;
  color: rgba(18, 21, 25, 0.8);
}

.contact-form {
  width: 72%;
  max-width: 709px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: -201px;
  margin-left: 81px;
  position: relative;
}

.form-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 21, 25, 0.78);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(18, 21, 25, 0.45);
  background: #ffffff;
  color: rgba(18, 21, 25, 0.9);
  padding: 11px 12px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  resize: vertical;
  min-height: 48px;
  line-height: 1.3;
}

.form-field textarea {
  min-height: 88px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(18, 21, 25, 0.5);
}

.request-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  height: 60px;
    border: 1px solid rgba(18, 21, 25, 0.72);
    background: #962f2f;
    color: #ffffff;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85rem;
}

.extended-footer {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 20px 64px 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18, 21, 25, 0.9);
}

.footer-links .percent {
  margin-left: 2px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 170px;
  height: 52px;
  border: 1px solid rgba(18, 21, 25, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(18, 21, 25, 0.96);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(18, 21, 25, 0.9);
}

.socials {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 71px;
  color: rgba(18, 21, 25, 0.9);
  font-size: 1.8rem;
  line-height: 1;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(18, 21, 25, 0.78);
  text-decoration: none;
  transition: color 300ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.social-link svg {
  width: 26px;
  height: 26px;
  display: block;
  pointer-events: none;
}

.social-link:hover,
.social-link:focus-visible {
  color: #ce9c7a;
  transform: translateY(-3px);
}

.contact-popup {
  position: fixed;
  top: 50%;
  top: 50dvh;
  left: 50%;
  z-index: 100000;
  width: min(400px, calc(100vw - 32px));
  padding: clamp(18px, 5vw, 30px);
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: #168047;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.contact-popup[hidden] {
  display: none !important;
}

.contact-popup.is-error {
  background: #641f1f;
}

.mobile-socials {
  display: none;
}

.work-showcase {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  background: #d9dadb;
  color: rgba(18, 21, 25, 0.9);
  padding: 75px 146px 84px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.work-header {
  width: min(100%, 1500px);
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(18, 21, 25, 0.8);
}

.work-count {
  font-weight: 500;
}

@media (min-width: 641px) {
  .work-count {
    display: none;
  }
}

.project-grid {
  width: min(100%, 1500px);
  margin: -8px auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 99px;
  justify-content: start;
  align-content: start;
}

.project-card {
  border: 1px solid rgba(18, 21, 25, 0.48);
  background: rgba(255, 255, 255, 0.06);
  min-height: 335px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(18, 21, 25, 0.7);
}

.project-thumb {
  height: 250px;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.08);
}

.project-card--one .project-thumb {
  background: linear-gradient(135deg, rgba(16,23,29,0.12), rgba(16,23,29,0.42)),
    url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.project-card--two .project-thumb {
  background: linear-gradient(135deg, rgba(16,23,29,0.12), rgba(16,23,29,0.42)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.project-card--three .project-thumb {
  background: linear-gradient(135deg, rgba(16,23,29,0.12), rgba(16,23,29,0.42)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.project-card--four .project-thumb {
  background: linear-gradient(135deg, rgba(16,23,29,0.12), rgba(16,23,29,0.42)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 20px;
}

.project-index {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(18, 21, 25, 0.72);
}

.project-meta h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.06em;
  font-weight: 500;
  text-align: right;
}

.work-phrase-wrap {
  position: relative;
  width: min(100%, 1500px);
  margin: 88px auto 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 32px;
}

.work-phrase-small {
  font-size: clamp(23.5px, 4vw, 0.1rem);
  display: block;
  margin-bottom: -5px;
  margin-top: 8px;
}

.work-phrase-sub {
  margin: 17px 44px 67px 11px;
  max-width: 417px;
  font-size: clamp(17.625px, 3vw, 0.075rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  font-weight: 300;
  color: rgba(18, 21, 25, 0.72);
  animation: flicker 0.8s ease-in-out;
  animation-fill-mode: both;
  animation-delay: 0.5s;
}

@keyframes workPhraseSlide {
  0% {
    opacity: 0;
    transform: translateX(40vw);
  }
  12% {
    opacity: 1;
    transform: translateX(0);
  }
  55% {
    opacity: 1;
    transform: translateX(0);
  }
  75% {
    opacity: 0.8;
    transform: translateX(-28vw);
  }
  100% {
    opacity: 0;
    transform: translateX(-45vw);
  }
}

@keyframes workPhraseSubSlide {
  0% {
    opacity: 0;
    transform: translateX(14vw);
  }
  18% {
    opacity: 1;
    transform: translateX(0);
  }
  60% {
    opacity: 1;
    transform: translateX(0);
  }
  82% {
    opacity: 0.8;
    transform: translateX(-12vw);
  }
  100% {
    opacity: 0;
    transform: translateX(-22vw);
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-nav {
    gap: 22px;
  }

  .hero-right {
    right: 26px;
    width: 270px;
  }

  .brand-name {
    font-size: clamp(7rem, 18vw, 24rem);
  }

  .reference-image-card {
    margin-left: 2rem;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-right {
    width: 250px;
  }

  .extended-inner {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }

  .extended-cta {
    margin-left: 90px;
    padding-left: 0;
  }

  .extended-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
    padding-right: 24px;
  }

  .socials {
    margin-left: 0;
  }

  .footer-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 12px;
  }

  .hero {
    min-height: 520px;
  }

  .location-pill {
    width: 180px;
    height: 52px;
    padding: 0 12px 0 14px;
  }

  .location-copy {
    font-size: 0.64rem;
  }

  .location-icon {
    width: 32px;
    height: 32px;
  }

  .hero-right h2 {
    font-size: 1.75rem;
    line-height: 0.9;
  }

  .brand-name {
    font-size: clamp(5rem, 32vw, 14rem);
    bottom: 14px;
  }

  .reference-cloud {
    width: min(92vw, 700px);
  }

  .row-1,
  .row-2,
  .row-3 {
    font-size: clamp(1.55rem, 6vw, 2.5rem);
    gap: 0.4rem;
  }

  .reference-content {
    grid-template-columns: 1fr;
    width: min(86vw, 560px);
    margin-top: 28px;
  }

  .reference-image-card {
    width: 100%;
    height: 380px;
    margin-left: 0;
  }

  .reference-copy {
    max-width: 100%;
  }

  .work-showcase {
    padding-left: 24px;
    padding-right: 24px;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-copy {
    white-space: normal;
  }

  .form-grid {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    justify-content: space-between;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    margin-right: 0;
    gap: 12px;
  }

  .hero {
    min-height: 420px;
    height: 420px;
  }

  .hero-left {
    left: 16px;
    bottom: 14px;
  }

  .hero-right {
    right: 16px;
    top: 18px;
    width: 180px;
  }

  .scroll-arrow {
    margin-left: 40px;
    font-size: 2.2rem;
  }

  .hero-right h2 {
    font-size: 1.45rem;
    line-height: 0.9;
  }

  .brand-name {
    font-size: clamp(4rem, 22vw, 8rem);
    bottom: 10px;
  }

  .reference-section {
    padding-bottom: 32px;
  }

  .reference-content {
    width: min(90vw, 480px);
  }

  .cta-group {
    width: 100%;
  }

  .primary-btn,
  .menu-btn,
  .request-call {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }

  .work-showcase {
    padding-left: 16px;
    padding-right: 16px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .extended-inner {
    padding: 40px 18px 0;
  }

  .intro-copy {
    font-size: clamp(1.7rem, 8vw, 2.8rem);
  }

  .twice-wrap {
    gap: 10px;
    align-items: center;
  }

  .twice-word {
    font-size: clamp(3rem, 17vw, 7rem);
    letter-spacing: -0.08em;
  }

  .copyright-mark {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    margin-top: 0;
  }

  .extended-cta p {
    max-width: 100%;
    font-size: 1rem;
  }

  .extended-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-links {
    gap: 12px;
    font-size: 0.75rem;
  }

  .footer-actions {
    align-items: center;
    gap: 12px;
  }

  bottom: 12px;
  left: 170px;
  z-index: 999999;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: #121519;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  pointer-events: auto;
  display: none !important;
}

.mobile-rows-toggle-btn {
  position: fixed !important;
  bottom: 60px !important;
  right: 12px !important;
  z-index: 1000000 !important;
  padding: 12px 20px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #fff !important;
  background: red !important;
  border: 3px solid yellow !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: none !important;
}

body.mobile-preview .mobile-rows-toggle-btn {
  display: block !important;
}

.grid4-toggle-btn {
  position: fixed;
  bottom: 12px;
  left: 90px;
  z-index: 10001;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: #121519;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.mobile-view-toggle-btn {
  position: fixed;
  bottom: 12px;
  left: 12px !important;
  z-index: 10001;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: #121519;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  pointer-events: auto;
}

body.mobile-preview {
  max-width: 375px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  overflow-x: hidden;
  overflow-y: auto;
}

body.mobile-preview *,
body.mobile-preview *::before,
body.mobile-preview *::after {
  box-sizing: border-box;
  max-width: 100%;
}

body.mobile-preview .main-nav {
  gap: 8px;
  font-size: 0.8rem;
  width: 100%;
  justify-content: space-between;
}

.request-call-mobile {
  display: none;
}

body.mobile-preview .services-title {
  margin: 0;
  font-size: clamp(30.6px, 4.8vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 210;
  text-align: left;
  white-space: nowrap;
  margin-left: -130px;
  margin-top: -34px;
}

body.mobile-preview .designum-does {
  font-weight: 273;
}

body.mobile-preview .service-name {
  font-size: 1.07rem;
  font-weight: 390;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(228, 231, 232, 0.6);
  font-family: "Inter", "Segoe UI", sans-serif;
}

body.mobile-preview .services-menu {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
  padding: 85px 0px 60px 0px;
  row-gap: 0px;
  margin: 0px 0px 1px -146px;
  align-content: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  min-width: auto;
  max-width: 250px;
  grid-column: 5 / 13;
}

body.mobile-preview .service-detail {
  max-width: 100%;
  width: 100%;
}

body.mobile-preview .brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

body.mobile-preview .request-call-mobile {
  display: block;
  align-self: flex-start;
  margin-top: 12px;
  margin-left: -34px;
  background: #962f2f;
  color: #fff;
  font-size: 1rem;
  padding: 15px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

body.mobile-preview .request-call-nav {
  display: none;
}

body.mobile-preview .main-nav {
  justify-content: flex-end;
}

body.mobile-preview .brand-name {
  bottom: auto;
  top: -40px;
}

body.mobile-preview .brand-name {
  bottom: auto;
  top: -40px;
}

body.mobile-preview .hero-left {
  left: 12px;
  bottom: 10px;
}

body.mobile-preview .hero-right {
  right: 12px;
  top: 14px;
  width: 150px;
}

body.mobile-preview .hero-right h2 {
  font-size: 1.5rem;
  line-height: 0.9;
}

body.mobile-preview .scroll-arrow {
  font-size: 1.6rem;
  font-weight: 200;
  line-height: 1;
  margin-left: -34px;
  color: rgba(11, 15, 19, 0.9);
  transform: translateY(15px);
}

body.mobile-preview .request-call-mobile {
  text-transform: uppercase;
}

body.mobile-preview .brand-name {
  font-size: clamp(3.5rem, 26vw, 6rem);
  bottom: 8px;
}

body.mobile-preview .reference-content {
  grid-template-columns: 1fr;
  width: min(92vw, 360px);
  margin-top: 20px;
}

body.mobile-preview .reference-image-card {
  width: 100%;
  height: 260px;
  margin-left: 0;
}

body.mobile-preview .work-showcase {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  padding: 40px 12px 48px;
}

body.mobile-preview .intro-copy {
  margin: 0 0 8px;
  font-size: clamp(1.14rem, -0.11vw, 2.94rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 300;
  white-space: nowrap;
  color: rgba(18, 21, 25, 0.9);
}

body.mobile-preview .extended-inner {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  grid-template-columns: 1fr;
  padding: 40px 16px 0;
}

body.mobile-preview .extended-cta {
  padding-left: 0;
}

body.mobile-preview .extended-footer {
  flex-direction: column;
  align-items: flex-start;
  padding-left: 16px;
  padding-right: 16px;
}

body.mobile-preview .define-text {
  max-width: 470px;
  margin: 8px 0 0 0;
  font-size: clamp(1.05rem, 0.2vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.04em;
  font-weight: 300;
  color: rgba(18, 21, 25, 0.8);
}

body.mobile-preview .twice-word {
  display: block;
  font-size: clamp(3.92rem, 1.82vw, 10.5rem);
  line-height: 0.75;
  margin-left: -9px;
  margin-top: 13px;
  letter-spacing: -0.13em;
  font-weight: 500;
  color: rgba(238, 239, 240, 0.95);
}

body.mobile-preview .contact-form {
  width: 74%;
  max-width: 709px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: -201px;
  margin-left: 11px;
  position: relative;
}

body.mobile-preview .project-grid {
  height: max(60%);
  width: min(50%, 1500px);
  margin: -8px auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 99px;
  grid-auto-flow: row;
  justify-content: start;
  align-items: start;
  justify-items: stretch;
}

body.mobile-preview .project-card {
  max-height: 25vh;
  min-height: 95px;
}

body.mobile-preview .project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
}

body.mobile-preview .project-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

body.mobile-preview .project-card:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

body.mobile-preview .project-card:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
}

body.mobile-preview .project-card:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 3 / 4;
}

body.mobile-preview .extended-inner {
  grid-template-columns: 1fr;
  padding: 32px 14px 0;
}

body.mobile-preview .extended-cta {
  padding-left: 0;
}

body.mobile-preview .extended-footer {
  flex-direction: column;
  align-items: flex-start;
  padding-left: 14px;
  padding-right: 14px;
}

body.mobile-preview .socials {
  margin-left: 0;
}

body.mobile-preview .footer-actions {
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

body.mobile-preview .form-grid {
  max-width: 100%;
  grid-template-columns: 1fr;
}

body.mobile-preview .main-nav {
  justify-content: flex-end;
}

body.mobile-preview .hero-right {
  position: relative;
  width: 100%;
  right: auto;
  top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

body.mobile-preview .hero-right .request-call-nav {
  display: block;
}

body.mobile-preview .brand-name {
  bottom: 30px;
  top: auto;
}

body.mobile-preview .hero-right {
  position: relative;
  width: 100%;
  right: auto;
  left: 48px;
  top: 74px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-left: 0;
  text-align: left;
}

body.mobile-preview .reference-section,
body.mobile-preview .work-showcase,
body.mobile-preview .extended-inner {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

body.mobile-preview .primary-btn,
body.mobile-preview .menu-btn,
body.mobile-preview .request-call {
  width: 100%;
  justify-content: center;
  min-width: 0;
}

@media (max-width: 480px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
    height: 46px;
  }

  .brand-mark {
    font-size: 1.2rem;
  }

  .main-nav {
    gap: 8px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 360px;
    height: 360px;
  }

  .hero-left {
    left: 12px;
    bottom: 10px;
  }

  .hero-right {
    right: 12px;
    top: 14px;
    width: 150px;
  }

  .hero-right h2 {
    font-size: 1.2rem;
    line-height: 0.9;
  }

  .brand-name {
    font-size: clamp(3.5rem, 26vw, 6rem);
    bottom: 8px;
  }

  .scroll-arrow {
    margin-left: 24px;
    font-size: 1.8rem;
  }

  .reference-section {
    padding-bottom: 24px;
  }

  .reference-content {
    width: min(92vw, 400px);
    margin-top: 20px;
  }

  .reference-image-card {
    height: 260px;
  }

  .work-showcase {
    padding: 40px 12px 48px;
  }

  .work-phrase-wrap {
    margin: 48px auto 0;
    gap: 16px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-card {
    padding: 16px 12px;
  }

  .extended-inner {
    padding: 32px 14px 0;
  }

  .intro-copy {
    font-size: clamp(1.4rem, 9vw, 2.2rem);
  }

  .twice-word {
    font-size: clamp(2.4rem, 16vw, 4rem);
  }

  .extended-cta p {
    font-size: 0.9rem;
  }

  .extended-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-links {
    gap: 8px;
    font-size: 0.7rem;
  }

  .form-grid {
    max-width: 100%;
  }
}

.mobile-layout-grid,
.mobile-layout-grid-toggle,
.mobile-preview-launch,
.mobile-preview-overlay {
  display: none;
}

.mobile-preview-overlay[hidden] {
  display: none !important;
}

body.mobile-preview-open {
  overflow: hidden;
}

.mobile-preview-launch {
  position: fixed;
  left: 16px;
  bottom: 18px;
  z-index: 10001;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 22px;
  background: #121519;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  font: 600 0.72rem/1 "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
}

@media (min-width: 641px) {
  .mobile-preview-overlay:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 9, 12, 0.72);
    backdrop-filter: blur(5px);
  }

  .mobile-preview-window {
    display: grid;
    grid-template-rows: 44px minmax(0, 1fr);
    width: min(392px, calc(100vw - 40px));
    height: min(860px, calc(100dvh - 40px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    background: #dfe0df;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  }

  .mobile-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    background: #0c1319;
    color: #f2f1f0;
    font: 500 0.72rem/1 "Inter", "Segoe UI", sans-serif;
    letter-spacing: 0.04em;
  }

  .mobile-preview-close {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
  }

  .mobile-preview-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #dfe0df;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 56px;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 0 20px;
  }

  .main-nav {
    width: auto;
    flex: 1;
    justify-content: flex-end;
    gap: clamp(16px, 4vw, 36px);
    margin: 0;
  }

  .request-call-nav {
    min-width: 120px;
    height: 56px;
    margin: 0;
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .reference-section,
  .work-showcase,
  .extended-section {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .reference-content {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 40px, 640px);
    padding: 0;
    gap: 30px;
  }

  .services-header,
  .services-menu {
    grid-column: 1;
    margin: 0;
    padding: 0;
  }

  .services-title {
    white-space: normal;
    font-size: clamp(2rem, 6vw, 3rem);
    margin: 0;
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 300;
    text-align: left;
  }

  .services-menu {
    width: 100%;
    max-width: fit-content;
    row-gap: 0;
    margin-left: 60px;
  }

  .service-name {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 350;
    letter-spacing: 0.009em;
    line-height: 1;
    color: rgba(238, 239, 240, 0.95);
    font-family: "Inter", "Segoe UI", sans-serif;
    background-image: linear-gradient(rgba(238, 239, 240, 0.95), rgba(238, 239, 240, 0.95));
  }

  .work-showcase {
    padding: 56px 24px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 auto;
  }

  .project-card {
    min-height: 0;
  }

  .project-thumb {
    height: clamp(150px, 26vw, 240px);
  }

  .work-phrase-wrap {
    justify-content: flex-start;
    margin-top: 38px;
  }

  .work-phrase-sub {
    margin: 0;
  }

  .extended-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    min-height: 0;
    padding: 56px 24px 36px;
  }

  .extended-cta {
    padding: 0;
    width: auto;
  }

  .contact-form {
    width: 100%;
    min-width: inherit;
    max-width: 100vh;
    margin: 0;
  }

  .extended-footer {
    padding: 24px;
  }

  #gridToggle,
  #rowToggle,
  #gridOverlay,
  #rowOverlay {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .mobile-layout-grid {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    height: 100vh;
    height: 100svh;
    pointer-events: none;
  }

  .mobile-layout-grid.active {
    display: block;
  }

  .mobile-layout-columns,
  .mobile-layout-rows {
    position: absolute;
    inset: 0;
    display: grid;
  }

  .mobile-layout-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 16px;
  }

  .mobile-layout-column {
    position: relative;
    border-right: 1px solid rgba(200, 35, 35, 0.55);
    border-left: 1px solid rgba(200, 35, 35, 0.55);
    background: rgba(220, 55, 55, 0.08);
  }

  .mobile-layout-column::before {
    content: attr(data-column);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
    color: rgba(170, 25, 25, 0.95);
    font-size: 0.7rem;
    font-weight: 700;
  }

  .mobile-layout-rows {
    grid-template-rows: repeat(8, minmax(0, 1fr));
    gap: 12px;
    padding: 12px 0;
  }

  .mobile-layout-row {
    position: relative;
    border-top: 1px solid rgba(25, 85, 180, 0.48);
    border-bottom: 1px solid rgba(25, 85, 180, 0.48);
    background: rgba(45, 105, 200, 0.06);
  }

  .mobile-layout-row::before {
    content: attr(data-row);
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
    color: rgba(20, 70, 155, 0.95);
    font-size: 0.7rem;
    font-weight: 700;
  }

  .mobile-layout-grid-toggle {
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 10001;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 22px;
    background: #121519;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    font: 600 0.72rem/1 "Inter", "Segoe UI", sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
  }

  .mobile-preview-launch {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
  }

  .reference-section,
  .extended-section {
    height: 100vh;
    min-height: fit-content;
    max-height: fit-content;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }

  .work-showcase {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }

  .site-header {
    height: 56px;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 16px;
  }

  .brand-logo {
    width: auto;
    max-width: 96px;
    height: 28px;
    padding-bottom: 0;
  }

  .main-nav {
    width: auto;
    flex: 1;
    justify-content: flex-end;
    gap: clamp(8px, 3vw, 14px);
    margin: 0;
  }

  .main-nav a {
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .request-call-nav {
    display: inline-flex;
    min-width: 0;
    height: 36px;
    margin: 0;
    padding: 0 10px;
    border-left: 0;
    font-size: 0.58rem;
    white-space: nowrap;
  }

  .hero {
    flex: 1;
    height: auto;
    min-height: 0;
  }

  .hero-left {
    left: 18px;
    bottom: 18px;
  }

  .hero-right {
    top: 58px;
    right: 20px;
    left: 20px;
    width: auto;
  }

  .scroll-arrow {
    margin: 3px 0 11px -7px;
    font-size: 2rem;
    transform: none;
  }

  .hero-right h2 {
    margin: 19px 42px 0 -6px;
    max-width: 390px;
    font-size: clamp(1.3rem, 6vw, 2.2rem);
    line-height: 1.02;
  }

  .request-call-mobile {
    display: none !important;
  }

  .brand-name {
    right: auto;
    left: 0;
    bottom: 38px;
    font-size: clamp(9.35rem, 23vw, 15.4rem);
    line-height: 0.85;
    transform: none;
    animation: designum-slide-mobile 12s ease-in-out infinite;
    animation-delay: 2.25s;
    opacity: 0;
    white-space: nowrap;
  }

  @keyframes designum-slide-mobile {
    0% {
      transform: translateX(100vw);
      opacity: 0;
    }

    15%,
    80% {
      opacity: 1;
    }

    100% {
      transform: translateX(-100%);
      opacity: 0;
    }
  }

  .reference-section {
    padding: 52px 0 58px;
  }

  .reference-content {
    width: calc(100% - 40px);
    margin: 0 auto;
    margin-left: 16px;
    gap: 26px;
  }

  .services-header {
    padding: 0;
  }

  .services-title {
    white-space: normal;
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .service-item {
    gap: 14px;
    padding: 18px 0;
  }

  .service-name {
    font-size: 1.2rem;
  }

  .service-detail {
    max-width: 69%;
    font-size: 0.7rem;
  }

  .work-showcase {
    padding: 48px 20px 54px;
  }

  .work-header {
    margin-bottom: 22px;
  }

  .project-grid {
    height: 68%;
    gap: 8px;
  }

  .project-thumb {
    height: clamp(122px, 38vw, 178px);
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
    padding: 6px;
  }

  .project-meta h3 {
    font-size: 0.8rem;
    text-align: right;
  }

  .work-phrase-wrap {
    margin-top: 32px;
  }

  .work-phrase-sub {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.35;
  }

  .work-phrase-small {
    font-size: 1.35rem;
    margin: 0 0 -4px;
  }

  .extended-inner {
    gap: 76px;
    padding: 42px 16px 32px;
  }

  .extended-copy {
    width: fit-content;
    padding: 0;
    max-height: 20vh;
  }

  .extended-cta {
    margin-left: 90px;
    padding: 0;
    width: auto;
  }

  .intro-copy {
    margin-bottom: 14px;
    font-size: clamp(0.9rem, 6.5vw, 1rem);
    line-height: 1.05;
    white-space: normal;
  }

  .twice-wrap {
    align-items: center;
    gap: 8px;
  }

  .twice-word {
    margin: 0;
    font-size: clamp(2.8rem, 12vw, 4.2rem);
    line-height: 0.9;
    letter-spacing: -0.1em;
  }

  .copyright-mark {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    border-width: 2px;
    font-size: 1.5rem;
  }

  .define-text {
    display: none;
  }

  .extended-footer .socials {
    display: none;
  }

  .extended-cta p {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .contact-form {
    gap: 18px;
    min-width: inherit;
    width: min(41vh, calc(100vw - 32px));
    max-width: 709px;
    padding-right: 11px;
    margin: 0 auto 0 0;
  }

  .form-grid {
    gap: 16px;
  }

  .form-field input,
  .form-field textarea {
    width: 100%;
    border: 1px solid rgba(18, 21, 25, 0.45);
    background: #ffffff;
    color: rgba(18, 21, 25, 0.9);
    padding: 11px 12px;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.86rem;
    resize: vertical;
    min-height: 32px;
    max-height: 36px;
    line-height: 1.3;
  }

  .request-call {
    width: 100%;
    min-width: 0;
    height: 52px;
  }

  .extended-footer {
    padding: 20px;
  }

  .footer-actions {
    width: 100%;
  }

  .socials {
    gap: 26px;
    margin: 0;
    margin-top: auto;
  }

  .mobile-socials {
    display: flex;
    gap: 20px;
    margin: 22px 0 0;
  }

  .mobile-socials .social-link:hover,
  .mobile-socials .social-link:focus-visible {
    color: inherit;
    transform: none;
  }

  .mobile-socials .social-link:active {
    color: #ce9c7a;
  }

  #gridToggle,
  #rowToggle,
  #gridOverlay,
  #rowOverlay {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .project-card {
    padding: 8px 6px;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-logo {
    max-width: 78px;
  }

  .main-nav {
    gap: 7px;
  }

  .main-nav a {
    font-size: 0.56rem;
  }

  .request-call-nav {
    padding: 0 7px;
    font-size: 0.54rem;
  }

  .hero-right {
    right: 16px;
    left: 16px;
  }

  .reference-content {
    width: calc(100% - 32px);
  }

  .work-showcase {
    padding-right: 16px;
    padding-left: 16px;
  }

  .extended-inner {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .reference-section,
  .work-showcase,
  .extended-section {
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
    overscroll-behavior-y: auto;
  }

  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }

  .extended-footer {
    padding: 0;
  }

  .extended-cta {
    width: auto;
    min-width: 0;
  }

  .contact-form {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-right: 11px;
    margin: 0;
  }
}

@media (max-width: 640px) and (max-height: 700px) {
  .reference-section {
    padding: clamp(25px, 9.3svh, 57px) 0 clamp(24px, 5svh, 58px);
  }

  .reference-content {
    gap: clamp(18px, 3svh, 26px);
  }

  .services-title {
    font-size: clamp(1.6rem, 6vw, 3rem);
  }

  .service-item {
    padding: clamp(10px, 2.1svh, 18px) 0;
  }

  .service-name {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .service-detail {
    font-size: clamp(0.62rem, 1.8svh, 0.7rem);
  }

  .extended-inner {
    gap: clamp(24px, 8svh, 76px);
    padding-top: clamp(24px, 5svh, 42px);
    padding-bottom: clamp(20px, 4svh, 32px);
  }
}

@media (max-width: 640px) and (max-height: 600px) {
  .work-showcase {
    padding: clamp(20px, 4.2svh, 28px) 16px clamp(20px, 4svh, 28px);
  }

  .work-header {
    margin-bottom: 12px;
  }

  .project-grid {
    height: auto;
    min-height: 0;
    flex: 1;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    min-height: 0;
  }

  .project-thumb {
    height: auto;
    min-height: 0;
    flex: 1;
  }

  .project-meta {
    padding: 4px;
  }

  .work-phrase-wrap {
    margin-top: 12px;
  }

  .work-phrase-sub {
    font-size: 0.84rem;
    line-height: 1.15;
  }

  .work-phrase-small {
    font-size: 1.1rem;
  }

  .extended-section {
    padding-bottom: 12px;
  }

  .extended-inner {
    gap: 20px;
    padding: 20px 16px 16px;
  }

  .extended-copy {
    max-height: none;
  }

  .intro-copy {
    margin-bottom: 8px;
  }

  .twice-word {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }

  .copyright-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
  }

  .mobile-socials {
    margin-top: 12px;
  }

  .contact-form {
    gap: 12px;
  }

  .form-grid {
    gap: 10px;
  }

  .form-field {
    gap: 5px;
    font-size: 0.62rem;
  }

  .form-field input,
  .form-field textarea {
    min-height: 30px;
    max-height: 34px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .request-call {
    height: 42px;
  }
}
