:root {
  --ink: #151517;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef2ed;
  --muted: #626875;
  --line: #e1e4dd;
  --lime: #caff3d;
  --coral: #ff6548;
  --cyan: #26c6d0;
  --violet: #7657f6;
  --shadow: 0 24px 70px rgba(21, 21, 23, 0.12);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.is-lightbox-open,
body.is-menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

svg:not(.icon-sprite) {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 21, 23, 0.08);
  background: rgba(247, 248, 244, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  min-height: var(--header-height);
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  gap: clamp(14px, 2vw, 24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.site-logo {
  display: block;
  height: auto;
}

.nav .site-logo {
  width: clamp(135px, 13vw, 170px);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(21, 21, 23, 0.72);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 26px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--coral));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.language-option {
  border: 0;
  background: transparent;
  color: rgba(21, 21, 23, 0.42);
  padding: 0;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.language-option.is-active {
  color: var(--ink);
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-cta {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 28px rgba(21, 21, 23, 0.12);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--ink);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 20px 54px;
  background:
    linear-gradient(90deg, rgba(21, 21, 23, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 21, 23, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #f7f8f4 0%, #ffffff 48%, #eef4f2 100%);
  background-size:
    54px 54px,
    54px 54px,
    auto;
}

.hero-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero-slider {
  position: relative;
  display: grid;
  min-height: clamp(560px, 72svh, 720px);
}

.hero-slide {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  visibility: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(21, 21, 23, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy .hero-title,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-copy h1,
.hero-copy .hero-title {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.6vw, 4.55rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.gradient-text {
  display: inline;
  animation: gradientShift 7s ease-in-out infinite;
  background: linear-gradient(90deg, var(--coral), var(--violet), var(--cyan), var(--lime));
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 20px;
  cursor: pointer;
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 18px 38px rgba(21, 21, 23, 0.16);
}

.button-primary:hover {
  background: #000000;
}

.button-secondary {
  border-color: rgba(21, 21, 23, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(21, 21, 23, 0.28);
  background: var(--surface);
}

.hero-visual {
  position: relative;
  min-height: clamp(430px, 42vw, 580px);
  margin: 0;
  overflow: visible;
  --visual-accent: var(--coral);
  --visual-accent-soft: rgba(255, 101, 72, 0.18);
  --visual-pill: var(--cyan);
  isolation: isolate;
}

.hero-visual-product {
  --visual-accent: var(--violet);
  --visual-accent-soft: rgba(118, 87, 246, 0.16);
  --visual-pill: var(--violet);
}

.hero-visual-growth {
  --visual-accent: var(--cyan);
  --visual-accent-soft: rgba(38, 198, 208, 0.18);
  --visual-pill: var(--coral);
}

.hero-visual::before {
  position: absolute;
  right: 0;
  bottom: 6%;
  z-index: 0;
  width: 78%;
  height: 68%;
  border-radius: 4px 4px 52px 4px;
  background: #e7e8e5;
  content: "";
}

.hero-visual::after {
  position: absolute;
  bottom: 0;
  left: 6%;
  z-index: 0;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--visual-accent) 72%, transparent);
  border-radius: 999px;
  content: "";
}

.hero-visual > img {
  position: relative;
  z-index: 2;
  width: min(76%, 440px);
  height: clamp(390px, 38vw, 540px);
  min-height: 0;
  margin: 0 auto;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 999px 999px 22px 22px;
  box-shadow: 0 34px 80px rgba(21, 21, 23, 0.16);
  transform: translateY(16px);
}

.hero-visual-tile {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 25%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--visual-accent) 62%, transparent);
  border-radius: 28px;
  background: #f1f2ef;
}

.hero-visual-line {
  position: absolute;
  right: -18%;
  z-index: 0;
  width: 46%;
  height: 1px;
  background: color-mix(in srgb, var(--visual-accent) 70%, transparent);
  transform: rotate(-22deg);
  transform-origin: left center;
}

.hero-visual-line-one {
  top: 39%;
}

.hero-visual-line-two {
  top: 58%;
}

.hero-card {
  position: absolute;
  z-index: 3;
  border: 1px solid color-mix(in srgb, var(--visual-accent) 52%, rgba(255, 255, 255, 0.86));
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 54px rgba(21, 21, 23, 0.13);
  backdrop-filter: blur(14px);
}

.hero-rating-card {
  top: 36%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  padding: 12px 14px;
}

.hero-rating-card-pill {
  top: 38%;
  right: -2%;
  left: auto;
  min-width: 218px;
}

.hero-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--visual-accent), var(--coral));
  color: white;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.hero-rating-card strong,
.hero-stat-card strong {
  display: block;
  color: #170b2f;
  line-height: 1;
}

.hero-rating-card strong {
  font-size: 0.98rem;
  font-weight: 950;
}

.hero-rating-card small {
  display: block;
  margin-top: 4px;
  color: rgba(21, 21, 23, 0.5);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-stat-card {
  bottom: 4%;
  left: -6%;
  width: min(300px, 54%);
  padding: 22px 24px 20px;
}

.hero-stat-card > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(23, 11, 47, 0.56);
  font-weight: 850;
  line-height: 1;
}

.hero-stat-card strong {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 950;
}

.hero-stat-card svg {
  width: 100%;
  height: 58px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.hero-stat-card svg path:first-child {
  stroke: var(--visual-pill);
}

.hero-stat-card svg path:last-child {
  stroke: #ffb11f;
}

.hero-stat-card i {
  display: block;
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--visual-accent), var(--visual-pill)) left center / 86% 100% no-repeat,
    rgba(118, 87, 246, 0.08);
}

.slider-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid rgba(21, 21, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.icon-button:hover {
  border-color: rgba(21, 21, 23, 0.24);
  background: white;
  transform: translateY(-2px);
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 21, 23, 0.22);
  cursor: pointer;
  padding: 0;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.slider-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--coral), var(--cyan));
}

.section {
  padding: 96px 20px;
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1240px, 100%);
  margin: 0 auto;
  gap: 18px;
}

.service-item {
  position: relative;
  display: flex;
  min-height: 335px;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 23, 0.18);
  border-radius: var(--radius);
  background: #edf0f3;
  padding: clamp(24px, 2.8vw, 34px);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  isolation: isolate;
}

.service-item::before,
.service-item::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-item::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #08090a;
  background-size: 26px 26px;
}

.service-item::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(130deg, transparent 48%, rgba(255, 255, 255, 0.11) 100%);
}

.service-item:hover {
  border-color: rgba(21, 21, 23, 0.9);
  background: #08090a;
  color: white;
  transform: translateY(-3px);
}

.service-item:hover::before,
.service-item:hover::after {
  opacity: 1;
}

.service-item svg {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  margin-bottom: auto;
  color: var(--ink);
  stroke-width: 1.6;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.service-item:hover svg {
  color: white;
  transform: translateY(-2px);
}

.service-item h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.15vw, 1.34rem);
  font-weight: 500;
  line-height: 1.15;
  transition: color 0.25s ease;
}

.service-item p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: rgba(21, 21, 23, 0.58);
  font-size: clamp(0.88rem, 0.9vw, 0.95rem);
  line-height: 1.5;
  transition: color 0.25s ease;
}

.service-item:hover h3 {
  color: white;
}

.service-item:hover p {
  color: rgba(255, 255, 255, 0.64);
}

.brands {
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.brands .eyebrow,
.brands .section-heading p {
  color: rgba(255, 255, 255, 0.64);
}

.brands .section-heading h2 {
  color: white;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: min(1240px, 100%);
  text-align: left;
  gap: 32px;
}

.section-heading-row p:not(.eyebrow) {
  max-width: 410px;
  margin: 0;
}

.brand-marquee {
  width: min(1240px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: 24px 0;
}

.brand-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marquee 24s linear infinite;
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  min-width: 154px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.34);
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.brand-logo img {
  width: 120px;
  height: 42px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1) opacity(0.46);
  transition: filter 0.2s ease;
}

.brand-logo:hover {
  border-color: var(--brand-color);
  background: white;
  color: var(--brand-color);
  transform: translateY(-2px);
}

.brand-logo:hover img {
  filter: none;
}

.projects {
  background: linear-gradient(180deg, #f7f8f4 0%, #ffffff 100%);
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.7fr));
  grid-template-rows: repeat(2, 255px);
  width: min(1240px, 100%);
  margin: 0 auto;
  gap: 18px;
}

.project-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--surface-soft);
  cursor: pointer;
  padding: 0;
  text-align: left;
  isolation: isolate;
  box-shadow: 0 18px 44px rgba(21, 21, 23, 0.1);
}

.project-item-large {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.project-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.68));
  content: "";
  opacity: 0.86;
  transition: opacity 0.25s ease;
}

.project-item span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: white;
  font-size: clamp(0.86rem, 1.05vw, 1.06rem);
  font-weight: 400;
  line-height: 1.24;
}

.project-item:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.06);
}

.project-item:hover::after {
  opacity: 1;
}

.contact {
  display: grid;
  grid-template-columns:
    minmax(20px, 1fr)
    minmax(0, 500px)
    minmax(0, 660px)
    minmax(20px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #111113;
  background-size: 58px 58px;
  color: white;
}

.contact-copy {
  grid-column: 2;
}

.contact-copy .eyebrow,
.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-copy h2 {
  max-width: 520px;
  color: white;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.contact-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  grid-column: 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.form-row,
.consent {
  display: grid;
  gap: 8px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row-full,
.consent,
.form-button,
.form-status {
  grid-column: 1 / -1;
}

.form-row label {
  color: rgba(21, 21, 23, 0.74);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(21, 21, 23, 0.14);
  border-radius: var(--radius);
  background: #f8f9f6;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--cyan);
  background: white;
  box-shadow: 0 0 0 4px rgba(38, 198, 208, 0.14);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: rgba(21, 21, 23, 0.68);
  font-size: 0.88rem;
}

.consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
  transform: translateY(3px);
}

.legal-link {
  width: fit-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: rgba(21, 21, 23, 0.72);
  cursor: pointer;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(21, 21, 23, 0.28);
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.legal-link:hover,
.legal-link:focus-visible {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.form-button {
  width: 100%;
  border: 0;
}

.form-button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #1d7f57;
  font-weight: 800;
}

.form-status[data-state="pending"] {
  color: #6c5a12;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.site-footer {
  overflow: hidden;
  background: #ececea;
  color: var(--ink);
  padding: clamp(56px, 7vw, 96px) 0 28px;
}

.footer-inner {
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: clamp(40px, 9vw, 140px);
  align-items: start;
}

.footer-heading {
  max-width: 620px;
  margin: 0;
  color: #202124;
  font-size: clamp(3.4rem, 6vw, 5.9rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: clamp(42px, 7vw, 112px);
  align-items: start;
  padding-top: clamp(18px, 3vw, 48px);
}

.footer-meta h3 {
  margin: 0 0 14px;
  color: #2a2b2e;
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  color: rgba(32, 33, 36, 0.62);
}

.social-link svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}

.footer-contact a {
  display: inline-block;
  border-bottom: 1px solid rgba(32, 33, 36, 0.22);
  padding-bottom: 3px;
  color: rgba(32, 33, 36, 0.78);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  border-color: currentColor;
  color: var(--ink);
}

.footer-marquee {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-top: clamp(52px, 8vw, 102px);
  margin-left: -50vw;
  overflow: hidden;
  padding-block: clamp(16px, 3vw, 34px);
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: footerMarquee 110s linear infinite;
  will-change: transform;
}

.footer-marquee:hover .footer-marquee-track {
  animation-play-state: paused;
}

.footer-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 58px);
  padding-right: clamp(24px, 3.4vw, 58px);
}

.footer-marquee-group span:not(.footer-star) {
  display: inline-block;
  color: #202124;
  font-size: clamp(4.4rem, 10.5vw, 10.25rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.88;
  white-space: nowrap;
}

.footer-star {
  display: inline-block;
  color: #ffd16f;
  font-size: clamp(4.2rem, 8vw, 8.4rem);
  font-weight: 950;
  line-height: 0.8;
  transform: translateY(0.08em);
}

.footer-bottom {
  margin: clamp(26px, 4vw, 48px) 0 0;
  color: rgba(32, 33, 36, 0.36);
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: 0;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  width: min(980px, calc(100vw - 120px));
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 78svh;
  border-radius: var(--radius);
  object-fit: contain;
  background: #111;
}

.lightbox-figure figcaption {
  margin-top: 14px;
  color: white;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.lightbox .icon-button {
  position: fixed;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.lightbox .icon-button:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: none;
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  top: calc(50% - 22px);
  left: 24px;
}

.lightbox-next {
  top: calc(50% - 22px);
  right: 24px;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(720px, calc(100svh - 40px));
  overflow: auto;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.legal-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f4f5f1;
}

.legal-modal-panel h2 {
  max-width: calc(100% - 48px);
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.legal-modal-content {
  color: rgba(21, 21, 23, 0.72);
  font-size: 0.98rem;
}

.legal-modal-content p,
.legal-modal-content ul,
.legal-modal-content ol {
  margin: 0 0 16px;
}

.legal-modal-content ul,
.legal-modal-content ol {
  padding-left: 22px;
}

.legal-modal-content li + li {
  margin-top: 8px;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@keyframes footerMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-gallery {
    grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.75fr));
    grid-template-rows: repeat(2, 230px);
  }

  .project-item-large {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 940px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    grid-template-columns: auto 1fr auto auto;
    width: min(100% - 28px, 1240px);
    gap: 14px;
  }

  .nav-toggle {
    display: block;
    grid-column: 4;
    order: 3;
    justify-self: end;
  }

  .language-switcher {
    grid-column: 3;
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 14px;
    left: 14px;
    display: grid;
    justify-items: start;
    gap: 0;
    border: 1px solid rgba(21, 21, 23, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    border-radius: var(--radius);
    padding: 13px 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-slider {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
  }

  .hero-copy h1,
  .hero-copy .hero-title {
    max-width: 800px;
  }

  .hero-visual {
    width: min(100%, 640px);
    min-height: 430px;
    justify-self: center;
  }

  .hero-visual > img {
    width: min(70%, 390px);
    height: 390px;
    min-height: 0;
  }

  .hero-rating-card {
    left: 4%;
  }

  .hero-rating-card-pill {
    right: 0;
    left: auto;
  }

  .hero-stat-card {
    left: 0;
  }

  .slider-toolbar {
    margin-top: 18px;
  }

  .section-heading-row {
    display: block;
    text-align: center;
  }

  .section-heading-row p:not(.eyebrow) {
    max-width: 680px;
    margin: 16px auto 0;
  }

  .contact {
    grid-template-columns: minmax(20px, 1fr) minmax(0, 760px) minmax(20px, 1fr);
    padding: 76px 0;
  }

  .contact-copy,
  .contact-form {
    grid-column: 2;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 28px;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .nav .site-logo {
    width: 132px;
  }

  .hero-slider {
    min-height: 780px;
  }

  .hero-copy h1,
  .hero-copy .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.75rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-visual > img {
    width: min(68%, 320px);
    height: 340px;
    min-height: 0;
  }

  .hero-rating-card {
    top: 34%;
    left: 2%;
    min-width: 176px;
    gap: 9px;
    padding: 9px 10px;
  }

  .hero-rating-card-pill {
    right: 0;
    left: auto;
    min-width: 176px;
  }

  .hero-card-icon {
    width: 34px;
    font-size: 1.55rem;
  }

  .hero-rating-card strong {
    font-size: 0.84rem;
  }

  .hero-rating-card small {
    font-size: 0.7rem;
  }

  .hero-stat-card {
    bottom: 2%;
    left: 0;
    width: min(238px, 60%);
    padding: 16px 18px;
  }

  .hero-stat-card strong {
    font-size: 2.45rem;
  }

  .hero-stat-card svg {
    height: 46px;
  }

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

  .service-item {
    min-height: 300px;
  }

  .project-gallery {
    grid-template-rows: none;
    grid-auto-rows: 240px;
    gap: 14px;
  }

  .project-item-large {
    grid-column: 1;
    grid-row: auto;
  }

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

  .site-footer {
    padding-top: 48px;
  }

  .footer-inner {
    width: min(100% - 28px, 1500px);
  }

  .footer-heading {
    font-size: clamp(2.8rem, 14vw, 4.7rem);
  }

  .footer-meta {
    grid-template-columns: 1fr;
  }

  .footer-marquee {
    margin-top: 42px;
  }

  .footer-marquee-track {
    animation-duration: 92s;
  }

  .footer-marquee-group span:not(.footer-star) {
    font-size: clamp(3.4rem, 17vw, 6.2rem);
  }

  .footer-star {
    font-size: clamp(3.1rem, 15vw, 5.6rem);
  }

  .lightbox-figure {
    width: calc(100vw - 32px);
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-inline: 16px;
  }

  .hero-slider {
    min-height: 860px;
  }

  .hero-actions {
    gap: 10px;
  }

  .slider-toolbar {
    justify-content: space-between;
  }

  .section {
    padding: 72px 16px;
  }

  .brand-logo {
    min-width: 132px;
  }

  .contact {
    grid-template-columns: 16px minmax(0, 1fr) 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
