:root {
  --bg: #0d0f11;
  --surface: #151719;
  --surface-soft: #202326;
  --surface-strong: #282c30;
  --text: #f4f1ec;
  --muted: #a7adb4;
  --line: rgba(255, 255, 255, .12);
  --accent: #c6a06d;
  --accent-2: #d7d7d2;
  --accent-3: #6d7c8e;
  --ink: #111318;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --radius: 8px;
  --container: min(100% - 40px, 1320px);
}

[data-theme="light"] {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --surface-soft: #e9edf0;
  --surface-strong: #dfe6ea;
  --text: #15120f;
  --muted: #65707a;
  --line: rgba(21, 18, 15, .14);
  --accent: #9d6d36;
  --accent-2: #287f78;
  --accent-3: #405b78;
  --ink: #ffffff;
  --shadow: 0 24px 70px rgba(50, 41, 30, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 122px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.container-fluid {
  width: var(--container);
  padding-right: 0;
  padding-left: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(13, 15, 17, .92), rgba(13, 15, 17, .72), transparent);
}

.top-info,
.header-shell {
  pointer-events: auto;
}

.top-info {
  width: 100%;
  min-height: 38px;
  max-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px max(20px, calc((100vw - 1320px) / 2));
  border: 0;
  border-radius: 0;
  background: #181818;
  backdrop-filter: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  overflow: hidden;
  transform: translateY(0);
  transition: max-height .28s ease, min-height .28s ease, padding .28s ease, opacity .22s ease, transform .28s ease;
}

.top-info.is-hidden {
  min-height: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.top-info p {
  margin: 0;
  text-align: center;
}

.top-info button {
  position: absolute;
  right: max(18px, calc((100vw - 1320px) / 2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
}

.header-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  font-weight: 800;
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
  color: #fff;
}

.brand-copy strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .09em;
}

.brand-copy small {
  margin-top: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
}

.mobile-nav-head {
  display: none;
}

.main-nav > a {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav > a:hover,
.main-nav > a:focus {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-toggle,
.mobile-close {
  height: 44px;
  width: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.08);
  color: var(--text);
}

.theme-toggle i,
.menu-toggle i,
.mobile-close i {
  font-size: 18px;
}

.header-cta,
.primary-link,
.ghost-link,
.wide-banner a,
.contact-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  font-weight: 700;
}

.header-cta,
.primary-link,
.wide-banner a,
.contact-form button {
  background: var(--accent);
  color: #101114;
  padding: 0 18px;
}

.hero-actions .primary-link,
.hero-actions .ghost-link {
  min-width: 140px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background: rgba(0,0,0,.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.hero-actions .primary-link:hover,
.hero-actions .ghost-link:hover {
  background: rgba(255,255,255,.12);
}

.ghost-link {
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0 18px;
}

.menu-toggle,
.menu-backdrop {
  display: none;
}

.section-with-grid {
  position: relative;
}

.section-with-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  opacity: .2;
}

.hero-section {
  min-height: 100vh;
  padding: 140px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.55) 48%, rgba(0,0,0,.74)),
    linear-gradient(135deg, rgba(198,160,109,.22), transparent 34%),
    linear-gradient(315deg, rgba(109,124,142,.24), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 126px),
    linear-gradient(135deg, #151719, #262b30 44%, #101214);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .72fr);
  align-items: center;
  gap: 72px;
  min-height: 66vh;
  padding-bottom: 40px;
}

.hero-copy,
.hero-consult,
.client-ribbon {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.hero-copy h1,
.section-heading h2,
.slider-content h2,
.service-content h2,
.cta-shell h2 {
  margin: 14px 0 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: clamp(32px, 3.55vw, 50px);
}

.hero-copy p {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(15px, 1.16vw, 18px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-consult {
  align-self: center;
  max-width: 450px;
  color: #fff;
}

.hero-consult > span {
  display: block;
  max-width: 360px;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.16;
  font-weight: 700;
}

.hero-consult > p {
  max-width: 430px;
  margin: 18px 0 64px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.45;
}

.hero-mini-form {
  display: grid;
  gap: 26px;
}

.hero-mini-form label {
  display: grid;
  gap: 5px;
}

.hero-mini-form label span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

.hero-mini-form input {
  width: 100%;
  height: 36px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.48);
  border-radius: 0;
  background: transparent;
  color: #fff;
  outline: none;
}

.hero-mini-form input:focus {
  border-bottom-color: #fff;
}

.hero-mini-form button {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: #030303;
  color: #fff;
  font-weight: 700;
}

.project-card small {
  color: var(--muted);
}

.client-ribbon {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.client-track {
  --marquee-distance: 50%;
  width: max-content;
  display: flex;
  align-items: center;
  min-height: 70px;
  animation: clientMarquee 28s linear infinite;
}

.client-sequence {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
}

.client-track strong {
  color: var(--text);
  font-size: clamp(16px, 1.65vw, 23px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: .86;
}

.about-section,
.service-overview,
.project-wall,
.service-detail-list,
.blog-section,
.faq-section,
.cta-section {
  padding: 104px 0;
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.about-photo {
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(180deg, rgba(11,15,20,.05), rgba(11,15,20,.44)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, var(--surface-strong), var(--accent-3) 52%, var(--accent));
}

.about-photo::before,
.about-photo::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.22);
}

.about-photo::before {
  left: 12%;
  top: 12%;
  width: 48%;
  height: 54%;
}

.about-photo::after {
  right: 10%;
  bottom: 10%;
  width: 44%;
  height: 36%;
  background: rgba(255,255,255,.08);
}

.section-heading {
  max-width: 900px;
}

.section-heading h2,
.service-content h2,
.cta-shell h2 {
  font-size: clamp(23px, 2.55vw, 38px);
}

.section-desc,
.about-content > p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-stats div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px 20px 20px 0;
  border-right: 1px solid var(--line);
}

.about-stats div + div {
  padding-left: 20px;
}

.about-stats div:last-child {
  border-right: 0;
}

.about-stats strong {
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
}

.about-stats span {
  color: var(--muted);
  font-size: 14px;
}

.featured-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--surface);
}

.slider-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 120px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}

.slider-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,.2), rgba(0,0,0,.05)),
    linear-gradient(135deg, #17202b, #405b78 48%, #b9894b);
}

.slider-panel:nth-child(2)::before {
  background:
    linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,.2), rgba(0,0,0,.05)),
    linear-gradient(135deg, #10151c, #287f78 48%, #d9d2c5);
}

.slider-panel:nth-child(3)::before {
  background:
    linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,.2), rgba(0,0,0,.05)),
    linear-gradient(135deg, #1c2530, #6f89a8 48%, #5bb7b0);
}

.slider-panel::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(255,255,255,.26);
  background-image:
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 84px 84px;
}

.slider-panel.is-active {
  opacity: 1;
  visibility: visible;
}

.slider-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.slider-content h2 {
  max-width: 860px;
  font-size: clamp(27px, 3.2vw, 46px);
}

.slider-content p {
  max-width: 620px;
  margin: 24px 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.slider-content a,
.text-link,
.blog-grid a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 700;
}

.slider-controls {
  position: absolute;
  right: max(20px, calc((100vw - 1320px) / 2));
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
}

.slider-dots button.is-active {
  background: var(--accent);
}

.service-overview {
  padding-bottom: 74px;
}

.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.split-heading p {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.service-list article {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-soft) 72%, transparent));
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.service-list article::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--line);
  transform: rotate(18deg);
}

.service-list article:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
}

.service-list i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 21px;
}

.service-list span,
.project-card span,
.blog-grid span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-list h3,
.blog-grid h3 {
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.16;
}

.service-list p,
.blog-grid p,
.service-content p,
.cta-shell p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.wide-banner {
  width: 100%;
  padding: 0;
}

.wide-banner .container-fluid {
  width: 100%;
}

.banner-inner {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #101114;
}

.banner-inner span {
  max-width: 920px;
  font-size: clamp(19px, 2.45vw, 34px);
  font-weight: 700;
  line-height: 1.08;
}

.banner-inner a {
  min-width: 170px;
  background: #101114;
  color: #fff;
  white-space: nowrap;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-top: 42px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 7px;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(to top, rgba(0,0,0,.72), transparent),
    linear-gradient(135deg, var(--surface-soft), var(--accent-2));
  color: #fff;
}

.project-card:nth-child(2) {
  background:
    linear-gradient(to top, rgba(0,0,0,.72), transparent),
    linear-gradient(135deg, #202936, #6f89a8);
}

.project-card:nth-child(3) {
  background:
    linear-gradient(to top, rgba(0,0,0,.72), transparent),
    linear-gradient(135deg, #171d25, #b9894b);
}

.project-card:nth-child(4) {
  background:
    linear-gradient(to top, rgba(0,0,0,.72), transparent),
    linear-gradient(135deg, #141a22, #5bb7b0 48%, #405b78);
}

.project-card:nth-child(5),
.project-card:nth-child(6) {
  background:
    linear-gradient(to top, rgba(0,0,0,.72), transparent),
    linear-gradient(135deg, #10151c, #354b63);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.28);
  transform: scale(.96);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.project-card:hover::before {
  transform: scale(1);
  opacity: 1;
}

.project-card strong {
  position: relative;
  font-size: 21px;
  line-height: 1.12;
}

.project-card span,
.project-card small {
  position: relative;
}

.project-card-tall {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.project-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.project-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.project-card-wide {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.project-card:nth-child(5) {
  grid-column: 4;
  grid-row: 1;
}

.project-card:nth-child(6) {
  grid-column: 4;
  grid-row: 2;
}

.service-detail-list {
  padding-top: 30px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.service-detail.reverse .service-visual {
  order: 2;
}

.service-visual {
  min-height: 420px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.visual-web {
  background:
    linear-gradient(135deg, rgba(255,255,255,.12) 25%, transparent 25% 50%, rgba(255,255,255,.08) 50% 75%, transparent 75%),
    linear-gradient(135deg, var(--accent-2), #1d2028 60%, var(--accent));
  background-size: 72px 72px, auto;
}

.visual-campaign {
  background:
    radial-gradient(circle at 26% 28%, #fff 0 4%, transparent 4.2%),
    radial-gradient(circle at 68% 48%, rgba(255,255,255,.75) 0 7%, transparent 7.2%),
    linear-gradient(135deg, #6f89a8, #171a22 62%, #5bb7b0);
}

.visual-content {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 2px, transparent 2px 28px),
    linear-gradient(135deg, #15120f, #b9894b 42%, #405b78);
}

.service-content p {
  margin: 22px 0;
  font-size: 16px;
}

.blog-section {
  padding-top: 76px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.blog-grid article {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.blog-thumb {
  height: 118px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 38%),
    linear-gradient(135deg, var(--surface-strong), var(--accent-3));
}

.blog-grid article:nth-child(2n) .blog-thumb {
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), transparent 40%),
    linear-gradient(135deg, #18212b, var(--accent));
}

.blog-grid article:nth-child(3n) .blog-thumb {
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), transparent 40%),
    linear-gradient(135deg, #152328, var(--accent-2));
}

.blog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 20px;
}

.blog-grid h3 {
  font-size: 18px;
}

.blog-grid p {
  margin: 12px 0 18px;
  font-size: 14px;
}

.secondary-banner .banner-inner {
  width: 100%;
  max-width: none;
  background: linear-gradient(135deg, var(--surface-strong), var(--accent-2));
  color: var(--text);
}

.faq-shell {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 52px;
  align-items: start;
}

.custom-faq {
  display: grid;
  gap: 14px;
}

.custom-faq .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 52%),
    color-mix(in srgb, var(--surface) 88%, var(--surface-soft));
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.custom-faq .accordion-button {
  display: grid;
  grid-template-columns: 52px 1fr 22px;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 0 22px;
  background: transparent;
  color: var(--text);
  font-weight: 650;
  line-height: 1.35;
  box-shadow: none;
}

.custom-faq .accordion-button:not(.collapsed) {
  background: rgba(255,255,255,.035);
  color: var(--text);
}

.custom-faq .accordion-button:focus {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent);
}

.custom-faq .accordion-button::after {
  grid-column: 3;
  filter: grayscale(1);
  opacity: .75;
}

.faq-index {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.custom-faq .accordion-body {
  padding: 0 22px 22px 90px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-section {
  padding-top: 30px;
}

.cta-shell {
  padding: 0;
  background:
    linear-gradient(135deg, rgba(198,160,109,.14), transparent 40%),
    color-mix(in srgb, var(--surface) 92%, #000);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .8fr);
}

.contact-copy {
  padding: clamp(30px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.cta-shell p {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 17px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-methods a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.contact-methods i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--accent);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255,255,255,.025);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form .form-wide,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  min-height: 54px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  padding: 0 16px;
  outline: none;
}

.contact-form textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form button {
  min-height: 56px;
  border: 0;
}

.site-footer {
  padding: 36px 0 26px;
  background: #0d0f11;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-panel {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: #13161c;
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
}

.footer-tabs {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background .2s ease, color .2s ease;
}

.footer-tabs button:focus-visible {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 62%, transparent);
}

.footer-tabs button.is-active {
  background: rgba(255,255,255,.035);
  color: #fff;
}

.footer-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.7);
}

.footer-tabs i {
  color: rgba(255,255,255,.58);
  font-size: 18px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.65fr);
  gap: clamp(34px, 5vw, 72px);
  padding: clamp(34px, 5vw, 58px);
}

.footer-brand p {
  max-width: 360px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 16px;
  line-height: 1.45;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
}

.footer-desktop {
  display: block;
}

.footer-tab-panel {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.footer-tab-panel.is-active {
  display: grid;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-col > i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--accent);
  font-size: 22px;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1.35;
}

.footer-col a:hover,
.footer-legal a:hover {
  color: #fff;
}

.footer-mobile {
  display: none;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 26px clamp(34px, 5vw, 58px);
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.footer-legal div {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,.62);
  font-weight: 700;
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes clientMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--marquee-distance) * -1));
  }
}

@media (max-width: 1180px) {
  .top-info {
    display: none;
  }

  html {
    scroll-padding-top: 92px;
  }

  .site-header {
    position: fixed;
    top: 0;
    background: rgba(13, 15, 17, .92);
    backdrop-filter: blur(14px);
  }

  .header-shell {
    border-radius: 0;
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 48;
    display: block;
    border: 0;
    background: rgba(0,0,0,.52);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
  }

  .menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    width: min(86vw, 390px);
    height: 100vh;
    display: block;
    margin: 0;
    padding: 20px;
    border-right: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform .28s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
  }

  .main-nav > a {
    width: 100%;
    min-height: auto;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
  }

  .hero-section {
    padding-top: 96px;
  }

  .hero-shell,
  .about-shell,
  .faq-shell {
    grid-template-columns: 1fr;
  }

  .hero-consult {
    max-width: 620px;
    justify-self: start;
  }

  .hero-consult > p {
    margin-bottom: 34px;
  }

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

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

  .project-card,
  .project-card-tall,
  .project-card-wide,
  .project-card:not(.project-card-tall):not(.project-card-wide) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100% - 28px, 1320px);
  }

  .header-shell {
    min-height: 64px;
  }

  .brand-copy small,
  .header-cta {
    display: none;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-shell {
    gap: 28px;
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero-consult > span {
    font-size: 24px;
  }

  .hero-consult > p {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .client-sequence {
    gap: 34px;
    min-height: 66px;
    padding-right: 34px;
  }

  .about-media {
    min-height: 330px;
  }

  .about-stats,
  .service-list,
  .blog-grid,
  .contact-form,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .contact-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-form {
    padding: 24px;
  }

  .custom-faq .accordion-button {
    grid-template-columns: 40px 1fr 18px;
    gap: 12px;
    min-height: 66px;
    padding: 0 16px;
  }

  .faq-index {
    width: 34px;
    height: 34px;
  }

  .custom-faq .accordion-body {
    padding: 0 16px 18px 68px;
  }

  .site-footer {
    padding: 20px 0;
  }

  .footer-panel {
    border-radius: 12px;
  }

  .footer-tabs,
  .footer-desktop {
    display: none;
  }

  .footer-main {
    gap: 24px;
    padding: 24px 18px;
  }

  .footer-brand p {
    margin-top: 22px;
    font-size: 14px;
  }

  .footer-socials {
    margin-top: 22px;
  }

  .footer-mobile {
    display: grid;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .footer-accordion {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    background: rgba(255,255,255,.035);
    overflow: hidden;
  }

  .footer-accordion summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 14px;
    color: #fff;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
  }

  .footer-accordion summary::-webkit-details-marker {
    display: none;
  }

  .footer-accordion summary span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .footer-accordion a {
    display: block;
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    font-size: 13px;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .footer-legal div {
    gap: 16px;
  }

  .about-stats div,
  .about-stats div + div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-stats div:last-child {
    border-bottom: 0;
  }

  .split-heading,
  .banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .banner-inner {
    min-height: 240px;
    padding: 32px 20px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-detail.reverse .service-visual {
    order: 0;
  }

  .service-visual {
    min-height: 260px;
  }

  .slider-panel {
    padding: 90px 0 130px;
  }

  .slider-content h2 {
    font-size: 26px;
  }

  .slider-controls {
    left: 14px;
    right: auto;
  }
}

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