/* NORR — Architecture studio typography overrides */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font_instrument: "Space Grotesk", sans-serif;
  --brand: #96775b;
  --mocha: #96775b;
  --mocha-light: #b7a38b;
  --mocha-glow: 150, 119, 91;
}

body,
a,
button,
input,
textarea,
select,
.tf-btn,
.tf-btn-2 {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.heading-title,
.text-display-1,
.text-display-2,
.text-display-3,
.section-hero .title,
.section-hero .title1,
.featured-works-item .heading,
.pricing-item .price-number,
.statistic-number .number,
.mb-menu-link,
.footer-content .title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 500;
}

.heading-sub,
.nav-menu-main .item-link,
.section-hero .sub {
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-hero .title1,
.section-hero .title2,
.section-hero .title1.text-gradient-1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-background-clip: unset !important;
  background-clip: padding-box !important;
  color: #18181b !important;
  -webkit-text-fill-color: #18181b !important;
  -webkit-text-stroke: 0 !important;
  paint-order: normal;
  position: relative;
  display: inline-block;
  padding: 0.18em 0.55em 0.22em;
  border-radius: 18px;
  box-shadow:
    0 10px 40px rgba(255, 255, 255, 0.55),
    0 18px 50px rgba(0, 0, 0, 0.08);
  text-shadow: none;
}

.section-hero .title1::after,
.section-hero .title2::after {
  display: none;
}

.tf-btn,
.tf-btn-2 {
  letter-spacing: 0.04em;
}

.section-team .team-item .image {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.section-team .team-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-contact .contact-item .text a {
  color: inherit;
  text-decoration: none;
}

.section-contact .contact-item .text a:hover {
  color: var(--brand);
}

/* Contact — enhanced panel */
.section-contact--enhanced {
  padding: 24px 0 80px;
}

.section-contact--enhanced .contact-panel {
  padding: 48px 52px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(150, 119, 91, 0.1) 0%, rgba(250, 250, 250, 0.98) 48%, rgba(244, 244, 245, 1) 100%);
  border: 1px solid rgba(150, 119, 91, 0.16);
  box-shadow:
    0 28px 70px rgba(150, 119, 91, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.section-contact--enhanced .heading-title {
  margin-bottom: 20px;
}

.contact-panel__intro {
  margin: 0;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.7;
}

.contact-phone-hero {
  padding: 32px 34px;
  margin-bottom: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1410 0%, #2b2119 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.contact-phone-hero__head {
  margin-bottom: 18px;
}

.contact-phone-hero__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4e8dc;
  background: rgba(150, 119, 91, 0.28);
  border: 1px solid rgba(183, 163, 139, 0.35);
}

.contact-phone-hero__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.contact-phone-hero__numbers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-phone-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-phone-messengers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.contact-messenger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-messenger-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.contact-messenger-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.contact-messenger-btn--telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-phone-link--primary {
  color: #f3ddc6;
  text-shadow: 0 0 28px rgba(183, 163, 139, 0.35);
}

.contact-phone-link:hover {
  color: #fff;
  transform: translateX(4px);
}

.contact-phone-link--primary:hover {
  color: #fff;
}

.contact-phone-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.contact-phone-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
}

.contact-phone-hero__cta .icon {
  font-size: 18px;
}

.contact-phone-hero__note {
  font-size: 14px;
  line-height: 1.5;
}

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

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-channel-card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(150, 119, 91, 0.28);
  box-shadow: 0 16px 36px rgba(150, 119, 91, 0.14);
}

.contact-channel-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  font-size: 22px;
  color: var(--brand);
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-channel-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-channel-card__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.contact-channel-card__value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.contact-channel-card__arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--brand);
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-channel-card:hover .contact-channel-card__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

@media (max-width: 991px) {
  .section-contact--enhanced {
    padding-bottom: 56px;
  }

  .section-contact--enhanced .contact-panel {
    padding: 36px 28px;
  }

  .contact-panel__intro {
    margin-bottom: 8px;
  }
}

@media (max-width: 767px) {
  .section-contact--enhanced .contact-panel {
    padding: 28px 20px;
    border-radius: 28px;
  }

  .contact-phone-hero {
    padding: 24px 20px;
  }

  .contact-phone-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-phone-messengers {
    order: -1;
  }

  .contact-messenger-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .contact-messenger-btn svg {
    width: 20px;
    height: 20px;
  }

  .contact-phone-link {
    font-size: clamp(20px, 6.2vw, 30px);
    line-height: 1.2;
  }

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

  .contact-phone-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero height — balanced spacing */
.section-hero {
  min-height: unset;
}

.section-hero .content-wrap {
  padding: 170px 0 130px;
}

.section-hero .content-wrap .title {
  margin-bottom: 32px;
}

.section-hero .content-wrap .bot-btns {
  margin-bottom: 0;
}

.section-hero .scroll-more {
  margin-top: 48px;
  padding-bottom: 8px;
}

.section-hero .hero-image {
  inset: 16px 16px 0 16px;
}

@media (max-width: 991px) {
  .section-hero .content-wrap {
    padding: 150px 0 100px;
  }
}

@media (max-width: 767px) {
  .section-hero .content-wrap {
    padding: 118px 0 72px;
  }

  .section-hero .scroll-more {
    margin-top: 28px;
  }
}

/* Replace orange accents with mocha beige */
.mocha-accent,
.process-card .icon,
.section-hero .content-wrap .title-icon .box,
.features-center,
.tf-switch-check:checked {
  background: linear-gradient(180deg, var(--mocha-light) 0%, var(--mocha) 100%) !important;
  box-shadow:
    0px 3.44px 5.57px 0px rgba(0, 0, 0, 0.086),
    0px 22.91px 37.08px 0px rgba(var(--mocha-glow), 0.18),
    0px 76px 123px 0px rgba(var(--mocha-glow), 0.06),
    0px 5.05px 8.18px 0px rgba(var(--mocha-glow), 0.12),
    0px 16.98px 27.47px 0px rgba(var(--mocha-glow), 0.05),
    0px 56px 83px 0px rgba(var(--mocha-glow), 0.22),
    0px 14px 34px 0px rgba(var(--mocha-glow), 0.22),
    0px 1px 2px 0px rgba(var(--mocha-glow), 0.35) !important;
}

.process-card .icon {
  box-shadow:
    0px 3.44px 5.57px 0px rgba(0, 0, 0, 0.086),
    0px 22.91px 37.08px 0px rgba(var(--mocha-glow), 0.18),
    0px 76px 123px 0px rgba(var(--mocha-glow), 0.06),
    0px 5.05px 8.18px 0px rgba(var(--mocha-glow), 0.12),
    0px 16.98px 27.47px 0px rgba(var(--mocha-glow), 0.05),
    0px 56px 83px 0px rgba(var(--mocha-glow), 0.22),
    0px 14px 34px 0px rgba(var(--mocha-glow), 0.22),
    0px 1px 2px 0px rgba(var(--mocha-glow), 0.35),
    0px -3px 0px 0px rgba(0, 0, 0, 0.06) inset,
    0px 1px 0px 0px rgba(255, 255, 255, 0.6) inset !important;
}

.features-center {
  background:
    linear-gradient(180deg, var(--mocha-light) 0%, var(--mocha) 100%),
    radial-gradient(62.56% 62.56% at 28.14% -10.42%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%) !important;
  box-shadow:
    0px -3px 0px 0px rgba(0, 0, 0, 0.06) inset,
    0px 1px 0px 0px rgba(255, 255, 255, 0.6) inset,
    0px 3.44px 5.57px 0px rgba(0, 0, 0, 0.086),
    0px 22.91px 37.08px 0px rgba(var(--mocha-glow), 0.18),
    0px 76px 123px 0px rgba(var(--mocha-glow), 0.06),
    0px 5.05px 8.18px 0px rgba(var(--mocha-glow), 0.12),
    0px 16.98px 27.47px 0px rgba(var(--mocha-glow), 0.05),
    0px 56px 83px 0px rgba(var(--mocha-glow), 0.22),
    0px 14px 34px 0px rgba(var(--mocha-glow), 0.22),
    0px 1px 2px 0px rgba(var(--mocha-glow), 0.35) !important;
}

/* Project gallery — moderate size, no crop */
.section-work-single .project-gallery .wrap-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-100);
  overflow: hidden;
}

.section-work-single .project-gallery .wrap-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 16px;
}

.section-work-single .project-gallery .gallery-pair .wrap-image img {
  max-height: 420px;
}

.section-work-single .wrap-image.hero-shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Linea — large day/night hero viewer */
.project-daynight {
  margin-bottom: 56px;
}

.project-daynight__viewer {
  position: relative;
  width: 100%;
  background: transparent;
  overflow: visible;
}

.project-daynight__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(90vh, 980px);
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.22s ease;
}

.project-daynight__img.is-fading {
  opacity: 0.35;
}

.project-daynight__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 16px 28px 14px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: project-daynight-float 2.8s ease-in-out infinite;
}

.project-daynight__hint {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
  white-space: nowrap;
}

.project-daynight__toggle {
  --daynight-accent: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.project-daynight__label {
  border: 0;
  background: none;
  padding: 6px 4px;
  min-width: 44px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--daynight-accent);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-daynight__label.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.project-daynight__label:hover {
  opacity: 0.92;
}

.project-daynight__switch {
  border: 0;
  background: none;
  padding: 8px 4px;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.2s ease;
}

.project-daynight__switch:hover {
  transform: scale(1.06);
}

.project-daynight__switch:active {
  transform: scale(0.98);
}

.project-daynight__track {
  display: block;
  width: 62px;
  height: 32px;
  border: 2px solid var(--daynight-accent);
  border-radius: 999px;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.project-daynight__knob {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--daynight-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-daynight.is-night .project-daynight__knob {
  left: calc(100% - 24px);
}

.project-daynight.is-day .project-daynight__knob {
  left: 4px;
}

@keyframes project-daynight-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* Featured works — Linea day/night block */
.featured-works-item--daynight .featured-works-item__visual {
  width: 100%;
}

.featured-works-item--daynight .project-daynight--featured {
  width: 100%;
}

.featured-works-item--daynight .project-daynight__viewer {
  border-radius: 32px;
  overflow: hidden;
  background: transparent;
}

.featured-works-item--daynight .project-daynight__controls--overlay-left {
  position: absolute;
  left: 22px;
  bottom: 22px;
  margin: 0;
  z-index: 4;
  align-items: flex-start;
}

.featured-works-item--daynight .project-daynight__img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 360px;
  object-fit: cover;
}

.featured-works-item--daynight .project-daynight__viewer .view-project {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  letter-spacing: 0.01em;
  color: var(--white);
  padding: 16px 24px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(44px);
  opacity: 0;
  visibility: hidden;
  z-index: 3;
}

.featured-works-item--daynight .project-daynight__viewer .view-project .icon {
  font-size: 24px;
}

.featured-works-item--daynight .project-daynight__viewer .view-project:hover {
  color: var(--brand);
}

.featured-works-item--daynight .project-daynight__viewer::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
  pointer-events: none;
}

.featured-works-item--daynight:hover .project-daynight__viewer::after {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}

.featured-works-item--daynight:hover .project-daynight__img {
  transform: none;
}

.featured-works-item--daynight:hover .project-daynight__viewer .view-project {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .project-daynight__img {
    max-height: min(75vh, 560px);
  }

  .project-daynight__controls {
    margin-top: 20px;
    padding: 14px 22px 12px;
    gap: 8px;
  }

  .project-daynight__hint {
    font-size: 10px;
    letter-spacing: 0.12em;
    white-space: normal;
    text-align: center;
    max-width: 140px;
  }

  .project-daynight__toggle {
    gap: 14px;
  }

  .project-daynight__label {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  .project-daynight__track {
    width: 58px;
    height: 32px;
    min-height: 44px;
    padding: 6px;
    box-sizing: border-box;
  }

  .project-daynight__knob {
    width: 20px;
    height: 20px;
  }

  .project-daynight.is-night .project-daynight__knob {
    left: calc(100% - 26px);
  }

  .featured-works-item--daynight .project-daynight__controls--overlay-left {
    left: 14px;
    bottom: 14px;
    padding: 12px 18px 10px;
  }

  .featured-works-item--daynight .project-daynight__img {
    min-height: 240px;
  }

  .featured-works-item--daynight .project-daynight__viewer {
    border-radius: 14px;
  }

  .featured-works-item--daynight .project-daynight__viewer .view-project {
    top: 15px !important;
    left: auto !important;
    right: 15px;
    transform: none !important;
    opacity: 1;
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-daynight__controls {
    animation: none;
  }
}

@media (max-width: 767px) {
  .section-work-single .project-gallery .wrap-image img,
  .section-work-single .project-gallery .gallery-pair .wrap-image img,
  .section-work-single .wrap-image.hero-shot img {
    max-height: 320px;
  }
}

/* Tools section — larger pills so brand logos stay readable */
.section-tools .img-1,
.section-tools .img-6 {
  width: 148px;
}
.section-tools .img-2 {
  width: 168px;
  background: #fff;
  padding: 10px 14px;
  object-fit: contain;
}
.section-tools .img-5 {
  width: 128px;
}
.section-tools .img-3 {
  width: 136px;
}
.section-tools .img-4 {
  width: 160px;
  background: #fff;
  padding: 10px 14px;
  object-fit: contain;
}
@media (max-width: 991px) {
  .section-tools .img-1,
  .section-tools .img-2,
  .section-tools .img-3,
  .section-tools .img-4,
  .section-tools .img-5,
  .section-tools .img-6 {
    width: 72px;
  }
}

/* Tools section — draggable physics pucks */
.tools-physics-arena {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.section-tools .container {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.section-tools .container a,
.section-tools .container button,
.section-tools .container .tf-btn {
  pointer-events: auto;
}

.tools-physics-arena .tools-puck {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  margin: 0;
  pointer-events: auto;
  box-shadow: 4.29817px 18.6254px 28.6545px rgba(0, 0, 0, 0.1);
  border-radius: 11px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  -webkit-user-drag: none;
  will-change: transform;
  transition: box-shadow 0.25s ease;
}

.tools-physics-arena .tools-puck.is-flowing {
  animation: tools-puck-glow 4.5s ease-in-out infinite;
}

@keyframes tools-puck-glow {
  0%,
  100% {
    box-shadow: 4.29817px 18.6254px 28.6545px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 2px 22px 34px rgba(150, 119, 91, 0.16);
  }
}

.tools-physics-arena .tools-puck.is-dragging {
  cursor: grabbing;
  z-index: 20;
}

.tools-physics-arena .tools-puck--2,
.tools-physics-arena .tools-puck--4 {
  background: #fff;
  padding: 10px 14px;
  object-fit: contain;
  box-sizing: border-box;
}

[data-theme="dark"] .tools-physics-arena .tools-puck--2,
[data-theme="dark"] .tools-physics-arena .tools-puck--4 {
  background: #fff;
}

/* Design process intro above features hub */
.design-process-intro {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
}

/* Services — larger preview + click-to-enlarge lightbox */
.section-services .row {
  align-items: flex-start;
}

.section-services .col-left {
  margin-bottom: 32px;
}

.section-services .services-image {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: 360px;
  height: 480px;
  margin-top: 40px;
  cursor: zoom-in;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.section-services .col-xxl-6 .accordion-faq_list {
  padding-top: 8px;
}

.section-services .services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  transition: opacity 0.2s ease, transform 0.35s ease;
}

.section-services .services-image:hover img {
  transform: scale(1.03);
}

.section-services .services-image__hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(10px);
  pointer-events: none;
  white-space: nowrap;
}

.services-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.services-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.services-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.services-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.services-lightbox__frame {
  max-width: min(920px, 92vw);
  max-height: min(88vh, 920px);
  width: 100%;
}

.services-lightbox__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(88vh, 920px);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

body.services-lightbox-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .section-services .services-image {
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    height: 420px;
  }

  .section-services .col-left {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .section-services .services-image {
    max-width: 100%;
    height: min(72vh, 520px);
  }

  .services-lightbox {
    padding: 20px;
  }

  .services-lightbox__close {
    top: 16px;
    right: 16px;
  }
}

.features-item .icon.process-step-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-style: normal;
}

.features-center-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}

/* Header nav — larger links, fill the pill bar */
.tf-header.header2 .header-inner {
  max-width: 980px;
  width: calc(100% - 48px);
  padding: 10px 12px 10px 28px;
  gap: 20px;
}

.tf-header .box-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.tf-header .nav-menu-main {
  width: 100%;
  justify-content: space-evenly;
  gap: 8px;
}

.tf-header .nav-menu-main .item-link {
  font-size: 17px;
  line-height: 28px;
  padding: 10px 18px;
  letter-spacing: 0.04em;
}

.tf-header .logo-site img {
  height: 32px;
  max-width: 160px;
}

/* About visual — replace globe with interior + zoom motion */
.section-about-us .about-visual {
  width: 100%;
  margin-top: -25px;
  border-radius: 38px;
  overflow: hidden;
  line-height: 0;
}

.section-about-us .about-visual-img,
.section-about-us .col-left .about-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 38px;
  margin-top: 0;
  transform: scale(1.08);
  animation: aboutVisualZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aboutVisualZoom {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 991px) {
  .tf-header.header2 .header-inner {
    max-width: unset !important;
    width: auto;
  }

  .section-about-us .about-visual-img,
  .section-about-us .col-left .about-visual img {
    min-height: 220px;
    max-height: 320px;
  }
}

/* Portfolio hub — works.html rolling text hero (inspired by rolling-text pattern) */
.works-rolling-hero {
  position: relative;
  min-height: clamp(460px, 78vh, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 16px 16px 0;
  border-radius: 40px;
  background: #f7f5f2;
  border: 1px solid rgba(24, 24, 27, 0.06);
}

.works-rolling-hero--project {
  min-height: clamp(340px, 52vh, 520px);
  margin-bottom: 32px;
}

.works-rolling-hero--project .works-rolling-hero__content {
  padding: 110px 16px 72px;
}

.works-rolling-hero--project .works-rolling-hero__desc {
  display: none;
}

.works-rolling-hero + .section-work-single,
.works-rolling-hero + #project-content {
  margin-top: 0 !important;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}

.works-rolling-hero__canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}

.works-rolling-hero__frame {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(150, 119, 91, 0.12);
  border-radius: 28px;
}

.works-rolling-hero__rule {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 119, 91, 0.22), transparent);
}

.works-rolling-hero__rule--top {
  top: 32%;
}

.works-rolling-hero__rule--bottom {
  bottom: 28%;
}

.works-rolling-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 16px 96px;
}

.works-rolling-hero__label {
  margin: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.rolling-text {
  perspective: 900px;
  margin-bottom: 24px;
}

.rolling-text-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #18181b;
}

.rolling-text-line--accent {
  margin-top: 6px;
  color: var(--brand);
}

.rolling-char-wrap {
  display: inline-block;
  overflow: hidden;
  height: 1.05em;
  vertical-align: bottom;
  transform-style: preserve-3d;
}

.rolling-char {
  display: inline-block;
  will-change: transform, opacity;
}

.works-rolling-hero__desc {
  max-width: 480px;
  margin: 0 auto;
  color: #52525b;
  font-size: 16px;
  line-height: 1.7;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.works-rolling-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #71717a;
  transition: color 0.3s ease;
}

.works-rolling-hero__scroll:hover {
  color: var(--brand);
}

.works-rolling-hero__scroll-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.works-rolling-hero__scroll-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(150, 119, 91, 0.28);
  animation: worksScrollBounce 2s ease-in-out infinite;
}

@keyframes worksScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.section-portfolio {
  padding-top: 48px;
  position: relative;
  z-index: 2;
  scroll-margin-top: 24px;
}

[data-theme="dark"] .section-portfolio,
[data-theme="dark"] #wrapper {
  background-color: var(--body);
}

[data-theme="dark"] .portfolio-card__desc,
[data-theme="dark"] .portfolio-card__scope,
[data-theme="dark"] .portfolio-card__title {
  color: var(--primary);
}

[data-theme="dark"] .portfolio-card__tag,
[data-theme="dark"] .portfolio-card__year {
  color: var(--secondary);
}

#project-content {
  scroll-margin-top: 24px;
}

.section-work-single.flat-spacing.pt-0 {
  padding-top: 0;
}

@media (max-width: 767px) {
  .works-rolling-hero--project {
    min-height: 360px;
    margin-bottom: 20px;
  }

  .works-rolling-hero--project .works-rolling-hero__content {
    padding: 96px 16px 64px;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(150, 119, 91, 0.14);
  color: inherit;
}

.portfolio-card--wide {
  grid-column: 1 / -1;
}

.portfolio-card--wide .portfolio-card__media {
  aspect-ratio: 1 / 1;
  display: block;
  max-height: none;
}

.portfolio-card--wide .portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: none;
}

.portfolio-card--wide:hover .portfolio-card__media img {
  transform: scale(1.03);
}

.portfolio-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--neutral-100, #f4f4f5);
}

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.05);
}

.portfolio-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-card__media::after {
  opacity: 1;
}

.portfolio-card__cta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-card:hover .portfolio-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card__body {
  padding: 24px 28px 28px;
}

.portfolio-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.portfolio-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.portfolio-card__year {
  font-size: 13px;
  color: #71717a;
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.portfolio-card__desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.portfolio-card__scope {
  color: #52525b;
}

.portfolio-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(150, 119, 91, 0.06) 0%, rgba(244, 244, 245, 0.95) 100%);
}

.portfolio-card__placeholder {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
}

.portfolio-card--placeholder:hover {
  transform: translateY(-4px);
}

.project-placeholder-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(150, 119, 91, 0.08) 0%, rgba(244, 244, 245, 1) 100%);
}

.project-placeholder-panel {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  border: 1px dashed rgba(150, 119, 91, 0.35);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 48px 24px;
}

.project-placeholder-panel__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.project-placeholder-panel__text {
  max-width: 420px;
  margin: 0 auto;
  color: #71717a;
}

.portfolio-footer-cta {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(24, 24, 27, 0.08);
}

.section-featured-works .works-hub-cta {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 767px) {
  .works-rolling-hero {
    min-height: 440px;
    margin: 12px 12px 0;
    border-radius: 28px;
  }

  .works-rolling-hero__frame {
    inset: 16px;
    border-radius: 20px;
  }

  .works-rolling-hero__content {
    padding: 100px 16px 80px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-card--wide .portfolio-card__media {
    aspect-ratio: 1 / 1;
  }

  .portfolio-card__cta {
    opacity: 1;
    transform: none;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .portfolio-card__body {
    padding: 20px;
  }
}

/* Site settings — theme toggle (Skiper4-inspired) & dark mode */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: ease;
}

.header-actions {
  flex-shrink: 0;
}

.site-quick-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-messenger-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sidebar-messenger {
  position: relative;
}

.sidebar-messenger__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background-color: #272727;
  box-shadow:
    0 -3px 0 0 #080808 inset,
    0 1px 0 0 rgba(255, 255, 255, 0.3) inset,
    0 2.77px 2.21px 0 rgba(0, 0, 0, 0.12),
    0 12.52px 10.02px 0 rgba(0, 0, 0, 0.13);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.sidebar-messenger__toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sidebar-messenger__toggle:hover,
.sidebar-messenger:focus-within .sidebar-messenger__toggle {
  transform: scale(1.04);
}

.sidebar-messenger--whatsapp .sidebar-messenger__toggle:hover,
.sidebar-messenger--whatsapp:focus-within .sidebar-messenger__toggle {
  background-color: #25d366;
}

.sidebar-messenger--telegram .sidebar-messenger__toggle:hover,
.sidebar-messenger--telegram:focus-within .sidebar-messenger__toggle {
  background-color: #229ed9;
}

.sidebar-messenger__menu {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  z-index: 1002;
  min-width: 196px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(24, 24, 27, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.sidebar-messenger:hover .sidebar-messenger__menu,
.sidebar-messenger:focus-within .sidebar-messenger__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.sidebar-messenger__menu::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  width: 14px;
  height: 100%;
}

.sidebar-messenger__link {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fafafa;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.sidebar-messenger__link + .sidebar-messenger__link {
  margin-top: 4px;
}

.sidebar-messenger--whatsapp .sidebar-messenger__link:hover {
  background: rgba(37, 211, 102, 0.18);
  color: #bbf7d0;
}

.sidebar-messenger--telegram .sidebar-messenger__link:hover {
  background: rgba(34, 158, 217, 0.18);
  color: #bae6fd;
}

[data-theme="dark"] .sidebar-messenger__menu {
  background: rgba(12, 12, 14, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

.tf-left-bar .theme-toggle-btn--sidebar {
  width: 50px;
  height: 50px;
  color: #fff;
}

.tf-left-bar .theme-toggle-btn--sidebar .theme-toggle-btn__track {
  width: 50px;
  height: 50px;
  border: none;
  background-color: #272727;
  box-shadow:
    0 -3px 0 0 #080808 inset,
    0 1px 0 0 rgba(255, 255, 255, 0.3) inset,
    0 2.77px 2.21px 0 rgba(0, 0, 0, 0.12),
    0 12.52px 10.02px 0 rgba(0, 0, 0, 0.13);
}

.tf-left-bar .theme-toggle-btn--sidebar .theme-toggle-btn__icon {
  width: 20px;
  height: 20px;
}

.tf-left-bar .theme-toggle-btn--sidebar.is-dark .theme-toggle-btn__track {
  background-color: #3f3f46;
  border-color: transparent;
  color: #fafafa;
}

.tf-left-bar .theme-toggle-btn--sidebar:hover .theme-toggle-btn__track {
  transform: scale(1.04);
  color: var(--mocha-light);
}

.btn-site-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #18181b;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-site-settings:hover {
  color: var(--brand);
  border-color: rgba(150, 119, 91, 0.35);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: #18181b;
}

.theme-toggle-btn__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.35s ease;
}

.theme-toggle-btn:hover .theme-toggle-btn__track {
  transform: scale(1.04);
}

.theme-toggle-btn__icon {
  position: absolute;
  width: 22px;
  height: 22px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.theme-toggle-btn__icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle-btn__icon--moon {
  opacity: 0;
  transform: rotate(-60deg) scale(0.4);
}

.theme-toggle-btn.is-dark .theme-toggle-btn__track {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fafafa;
}

.theme-toggle-btn.is-dark {
  color: #fafafa;
}

.theme-toggle-btn.is-dark .theme-toggle-btn__icon--sun {
  opacity: 0;
  transform: rotate(60deg) scale(0.4);
}

.theme-toggle-btn.is-dark .theme-toggle-btn__icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle-btn--large .theme-toggle-btn__track {
  width: 72px;
  height: 72px;
}

.theme-toggle-btn--large .theme-toggle-btn__icon {
  width: 28px;
  height: 28px;
}

body.cursor-custom,
body.cursor-custom *,
html[data-cursor-active],
html[data-cursor-active] * {
  cursor: none !important;
}

.theme-mode-group,
.cursor-mode-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-mode-btn,
.cursor-mode-btn {
  flex: 1 1 auto;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.theme-mode-btn:hover,
.cursor-mode-btn:hover {
  border-color: rgba(183, 163, 139, 0.45);
}

.theme-mode-btn.active,
.cursor-mode-btn.active {
  background: linear-gradient(180deg, var(--mocha-light) 0%, var(--mocha) 100%);
  border-color: transparent;
  color: #fff;
}

.site-settings-theme {
  text-align: center;
}

#siteSettingsPanel .canvas-header {
  margin-bottom: 8px;
}

.site-settings-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
}

/* ─── Dark theme — token overrides + component fixes ─── */
[data-theme="dark"] {
  color-scheme: dark;
  --body: #0a0a0c;
  --primary: #f4f4f5;
  --secondary: #a1a1aa;
  --white: #fafafa;
  --neutral-50: #101012;
  --neutral-100: #18181b;
  --neutral-200: #27272a;
  --neutral-300: #3f3f46;
  --neutral-400: #71717a;
  --neutral-500: #a1a1aa;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #141416;
  --neutral-950: #030304;
  --norr-surface-shadow: 0 16px 40px rgba(0, 0, 0, 0.38),
    0 -6px 0 rgba(255, 255, 255, 0.04) inset,
    0 3px 0 rgba(255, 255, 255, 0.03) inset;
  --norr-divider: linear-gradient(
    90deg,
    rgba(63, 63, 70, 0) 0%,
    rgba(113, 113, 122, 0.55) 50%,
    rgba(63, 63, 70, 0) 100%
  );
}

[data-theme="dark"] body {
  background-color: var(--body);
  color: var(--primary);
}

[data-theme="dark"] body::-webkit-scrollbar-thumb {
  background-color: #3f3f46;
}

/* Layout shells */
[data-theme="dark"] .box-white,
[data-theme="dark"] .stack-element + * {
  background-color: var(--neutral-50);
}

[data-theme="dark"] .box-black {
  background-color: #050506;
}

[data-theme="dark"] .box-black .light-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Shared card surfaces */
[data-theme="dark"] .section-about-us .review-box,
[data-theme="dark"] .section-about-us .box-quotes,
[data-theme="dark"] .section-about-us .mission-box,
[data-theme="dark"] .featured-works-item,
[data-theme="dark"] .features-item,
[data-theme="dark"] .accordion-faq_item,
[data-theme="dark"] .accordion-asked .accordion-asked-item,
[data-theme="dark"] .process-card,
[data-theme="dark"] .portfolio-card {
  background-color: var(--neutral-100);
  box-shadow: var(--norr-surface-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .section-about-us .col-left {
  background: radial-gradient(
      62.56% 62.56% at 28.14% -10.42%,
      rgba(150, 119, 91, 0.12) 0%,
      rgba(150, 119, 91, 0) 100%
    ),
    linear-gradient(0deg, #141416, #141416);
  box-shadow: var(--norr-surface-shadow);
}

[data-theme="dark"] .section-about-us .review-box .desc,
[data-theme="dark"] .section-about-us .review-box .text,
[data-theme="dark"] .section-about-us .box-quotes .desc,
[data-theme="dark"] .section-about-us .box-quotes .cite .name,
[data-theme="dark"] .section-about-us .box-quotes .cite .sub {
  color: #e4e4e7;
}

[data-theme="dark"] .section-about-us .review-box .counter {
  color: #fafafa;
}

/* Typography */
[data-theme="dark"] .heading-title,
[data-theme="dark"] .heading-sub,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .text-body-1,
[data-theme="dark"] .text-body-3,
[data-theme="dark"] .fw-semibold.text-body-3,
[data-theme="dark"] .design-process-intro {
  color: #f4f4f5;
}

[data-theme="dark"] .text-gradient-2 {
  background: linear-gradient(360deg, rgba(250, 250, 250, 0) 0%, #f4f4f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

[data-theme="dark"] .text-gradient-3 {
  background: linear-gradient(95.5deg, #d4d4d8 1.91%, #fafafa 43.92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

[data-theme="dark"] .heading-sub {
  color: var(--brand);
  -webkit-text-fill-color: currentColor;
  background: none;
}

[data-theme="dark"] .text-secondary,
[data-theme="dark"] .desc,
[data-theme="dark"] p.text-secondary,
[data-theme="dark"] .accordion-faq_item .accordion-title,
[data-theme="dark"] .featured-works-item .content .grid-text .title.text-secondary {
  color: #a1a1aa !important;
}

[data-theme="dark"] .text-neutral-300,
[data-theme="dark"] .accordion-faq_item .accordion-content .text-neutral-300 {
  color: #71717a !important;
}

[data-theme="dark"] .featured-works-item .content .bot .heading,
[data-theme="dark"] .features-item .title {
  color: #fafafa;
}

/* Header & navigation */
[data-theme="dark"] .tf-header.header2 .header-inner {
  background: rgba(20, 20, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .tf-header .nav-menu-main .item-link {
  color: #f4f4f5;
}

[data-theme="dark"] .tf-header .sub-menu {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .btn-site-settings,
[data-theme="dark"] .theme-toggle-btn__track {
  background: rgba(39, 39, 42, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fafafa;
}

[data-theme="dark"] .theme-toggle-btn {
  color: #fafafa;
}

/* Hero */
[data-theme="dark"] .section-hero .content-wrap .sub {
  background: rgba(24, 24, 27, 0.88);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--brand);
}

[data-theme="dark"] .section-hero .title1,
[data-theme="dark"] .section-hero .title2,
[data-theme="dark"] .section-hero .title1.text-gradient-1 {
  background: rgba(24, 24, 27, 0.9) !important;
  color: #fafafa !important;
  -webkit-text-fill-color: #fafafa !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .section-hero .scroll-more,
[data-theme="dark"] .section-hero .scroll-more .link1 {
  color: #d4d4d8;
}

[data-theme="dark"] .works-rolling-hero {
  background: #101012;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rolling-text-line {
  color: #fafafa;
}

[data-theme="dark"] .works-rolling-hero__desc,
[data-theme="dark"] .works-rolling-hero__scroll {
  color: #a1a1aa;
}

/* Buttons */
[data-theme="dark"] .tf-btn-2 {
  color: #fafafa;
  background: linear-gradient(0deg, #27272a, #27272a),
    radial-gradient(62.56% 62.56% at 28.14% -10.42%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tf-btn-2:hover {
  color: var(--brand);
}

/* Services accordion */
[data-theme="dark"] .accordion-faq_item .accordion-action::before {
  background: radial-gradient(
      62.56% 62.56% at 28.14% -10.42%,
      rgba(150, 119, 91, 0.15) 0%,
      rgba(150, 119, 91, 0) 100%
    ),
    #141416;
  box-shadow: 0 -6px 0 rgba(255, 255, 255, 0.04) inset;
}

[data-theme="dark"] .list-tags a,
[data-theme="dark"] .tags-item {
  color: #d4d4d8;
  background: #27272a;
  border-color: #3f3f46;
}

[data-theme="dark"] .list-tags a:hover {
  color: var(--brand);
}

/* Process / features hub lines */
[data-theme="dark"] .side-line-main .link-break-line,
[data-theme="dark"] .side-line-main .link-break-center {
  border-color: #3f3f46;
}

[data-theme="dark"] .side-line-main .link-break-line::after {
  background: var(--neutral-50);
}

[data-theme="dark"] .side-line-main .link-break-center::before,
[data-theme="dark"] .side-line-main .link-break-center::after {
  background: #52525b;
}

[data-theme="dark"] .process-card .content .title::after,
[data-theme="dark"] .section-about-us .mission-box .line,
[data-theme="dark"] .accordion-asked .accordion-body::before,
[data-theme="dark"] footer .footer-bottom::before {
  background: var(--norr-divider);
}

/* FAQ */
[data-theme="dark"] .accordion-asked .accordion-button {
  color: #f4f4f5;
}

[data-theme="dark"] .accordion-asked .accordion-body {
  color: #a1a1aa;
}

/* Contact */
[data-theme="dark"] .section-contact--enhanced .contact-panel {
  background:
    linear-gradient(135deg, rgba(150, 119, 91, 0.14) 0%, rgba(24, 24, 27, 0.98) 52%, rgba(16, 16, 18, 1) 100%);
  border-color: rgba(150, 119, 91, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .contact-channel-card {
  background: rgba(39, 39, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .contact-channel-card__icon {
  background: linear-gradient(180deg, #3f3f46 0%, #27272a 100%);
  color: #d4b896;
}

[data-theme="dark"] .contact-channel-card__value {
  color: #f4f4f5;
}

[data-theme="dark"] .section-contact .contact-item .icon {
  background: linear-gradient(0deg, #27272a, #27272a),
    radial-gradient(62.56% 62.56% at 28.14% -10.42%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.05) inset, 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--brand);
}

[data-theme="dark"] .section-contact .contact-item .title {
  color: #fafafa;
}

[data-theme="dark"] .section-contact .contact-item .text,
[data-theme="dark"] .section-contact .contact-item .text a {
  color: #d4d4d8;
}

/* Footer */
[data-theme="dark"] footer .footer-content .title,
[data-theme="dark"] footer .footer-content .text,
[data-theme="dark"] footer .footer-links a,
[data-theme="dark"] footer .coppy-rights {
  color: #a1a1aa;
}

[data-theme="dark"] footer .footer-links a:hover {
  color: var(--brand);
}

/* Tools section floating logos */
[data-theme="dark"] .section-tools .img-2,
[data-theme="dark"] .section-tools .img-4 {
  background: #fff;
}

/* Featured works dots */
[data-theme="dark"] .featured-works-item .content .pagi-dot span {
  background-color: #3f3f46;
}

[data-theme="dark"] .featured-works-item .content .pagi-dot span.active {
  background-color: var(--brand);
}

/* Mobile menu */
[data-theme="dark"] .offcanvas-menu .offcanvas-content {
  background: #0c0c0e;
}

/* Statistic slider (inside box-black — keep light numbers) */
[data-theme="dark"] .section-statistic .text-neutral-400 {
  color: #a1a1aa !important;
}

@media (min-width: 768px) {
  .header-actions {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .header-actions {
    margin-left: auto;
    margin-right: 8px;
  }

  .theme-toggle-btn,
  .theme-toggle-btn__track {
    width: 44px;
    height: 44px;
  }

  .theme-toggle-btn__icon {
    width: 18px;
    height: 18px;
  }
}

/* Crowd canvas — bottom of homepage (skiper39) */
.section-crowd-canvas {
  width: 100%;
  overflow: hidden;
  background: var(--surface-1, #f4f1ec);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-crowd-canvas__canvas {
  display: block;
  width: 100%;
  height: 220px;
}

[data-theme="dark"] .section-crowd-canvas {
  background: #141414;
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Building playground — bottom of homepage */
.section-building-playground {
  padding: 72px 0 88px;
  background: var(--surface-1, #f4f1ec);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.building-playground__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

.building-playground__label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.building-playground__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
}

.building-playground__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.building-playground__stage {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 24px 20px 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.35) 100%);
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.building-playground__canvas {
  display: block;
  width: 100%;
  height: 320px;
}

.building-playground__controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.building-playground__btn {
  min-width: 148px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.building-playground__btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.building-playground__btn:not(:disabled):hover {
  transform: translateY(-2px);
}

.building-playground__btn--explode {
  color: #fff;
  background: linear-gradient(180deg, #3f3f46 0%, #27272a 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.building-playground__btn--explode:not(:disabled):hover {
  background: linear-gradient(180deg, #52525b 0%, #3f3f46 100%);
}

.building-playground__btn--build {
  color: #fff;
  background: linear-gradient(180deg, var(--brand) 0%, #7a5f45 100%);
  box-shadow: 0 10px 24px rgba(150, 119, 91, 0.28);
}

.building-playground__btn--build:not(:disabled):hover {
  box-shadow: 0 14px 28px rgba(150, 119, 91, 0.38);
}

[data-theme="dark"] .section-building-playground {
  background: #141414;
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .building-playground__stage {
  background: linear-gradient(180deg, rgba(39, 39, 42, 0.9) 0%, rgba(24, 24, 27, 0.65) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   Mobile polish — NORR (≤767px phones)
   ============================================================ */

html,
body {
  overflow-x: clip;
}

body.body-scroll-lock {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width: 767px) {
  #wrapper {
    overflow-x: clip;
  }

  /* Header */
  .tf-header .header-inner {
    margin-left: 12px !important;
    margin-right: 12px !important;
    gap: 8px;
  }

  .tf-header .logo-site img {
    max-height: 28px;
    width: auto;
  }

  .header-actions {
    gap: 8px !important;
  }

  .mobile-menu {
    min-width: 44px;
    min-height: 44px;
  }

  .btn-mobile-menu {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile menu typography */
  .offcanvas-menu .mb-menu-link.text-display-1 {
    font-size: clamp(36px, 10vw, 48px) !important;
    line-height: 1.05 !important;
  }

  .offcanvas-menu .sub-nav-link {
    font-size: 16px !important;
    padding: 10px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Hero */
  .section-hero {
    padding: 12px 12px 0 !important;
  }

  .section-hero .hero-image {
    inset: 12px 12px 0 12px !important;
    border-radius: 28px !important;
    background-attachment: scroll !important;
  }

  .section-hero .content-wrap .sub {
    max-width: calc(100vw - 48px);
    white-space: normal;
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
    padding: 8px 14px;
  }

  .section-hero .content-wrap .title.text-display-2,
  .section-hero .content-wrap .title .title1 {
    font-size: clamp(26px, 8vw, 32px) !important;
    line-height: 1.12 !important;
  }

  .section-hero .content-wrap .title1 {
    padding: 6px 14px !important;
  }

  .section-hero .content-wrap .bot-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .section-hero .content-wrap .bot-btns .tf-btn,
  .section-hero .content-wrap .bot-btns .tf-btn-2 {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    justify-content: center;
  }

  .section-hero .scroll-more {
    width: min(320px, calc(100vw - 32px)) !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Section headings */
  .heading-title {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.12 !important;
  }

  .heading-sub {
    font-size: 13px;
  }

  /* About */
  .section-about-us .col-left {
    padding-top: 48px !important;
  }

  .about-visual-img {
    max-height: 280px;
    object-fit: cover;
  }

  /* Services */
  .section-services .services-image,
  .section-services .services-image img {
    height: min(52vh, 380px) !important;
    max-height: 380px;
  }

  .accordion-faq_item .accordion-content {
    padding-bottom: 48px !important;
  }

  .list-tags a,
  .tags-item {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px !important;
  }

  /* Featured works */
  .featured-works-item .heading {
    font-size: clamp(22px, 6vw, 28px) !important;
  }

  .featured-works-item .grid-text .text-body-3 {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Tools physics — keep usable on touch */
  .section-tools {
    min-height: 520px;
    padding-bottom: 48px !important;
  }

  .tools-physics-arena .tools-puck {
    width: 56px !important;
  }

  .section-tools .container .tf-btn {
    position: relative;
    z-index: 5;
    margin-top: 16px;
  }

  /* Statistics */
  .section-statistic .swiper .statistic-number {
    font-size: clamp(56px, 18vw, 96px) !important;
    line-height: 1 !important;
  }

  .section-statistic .swiper .statistic-number .prefix {
    font-size: clamp(52px, 16vw, 90px) !important;
    line-height: 1 !important;
  }

  .section-statistic .group-slider .btn-slider {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* FAQ */
  .accordion-asked-item .accordion-action span {
    min-width: 44px;
    min-height: 44px;
  }

  /* Contact */
  .section-contact--enhanced .heading-title {
    font-size: clamp(26px, 7vw, 36px) !important;
  }

  .contact-panel__intro {
    font-size: 15px;
    max-width: 100%;
  }

  .contact-phone-hero__cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Footer */
  .footer-bottom {
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px !important;
  }

  .footer-bottom .action-go-top {
    justify-content: center !important;
    min-height: 44px;
  }

  /* Works page hero */
  .works-rolling-hero__scroll {
    width: min(320px, calc(100vw - 32px));
    max-width: 100%;
  }

  .works-rolling-hero__desc {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 8px;
  }

  .portfolio-card__title {
    font-size: clamp(20px, 5.5vw, 26px) !important;
  }

  .portfolio-card__desc {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Building playground */
  .section-building-playground {
    padding: 56px 0 72px;
  }

  .building-playground__canvas {
    height: 260px;
  }

  .building-playground__title {
    font-size: clamp(24px, 7vw, 32px) !important;
  }

  .building-playground__btn {
    min-width: 140px;
    min-height: 48px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .tf-header .header-inner {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

