:root {
  --ink: #15131a;
  --muted: #62606a;
  --paper: #f7f7f5;
  --surface: #ffffff;
  --line: #dedee4;
  --purple: #2c183a;
  --purple-2: #4b2c5f;
  --sage: #566f66;
  --steel: #8d9098;
  --accent: #c9b77d;
  --shadow: 0 18px 60px rgba(21, 19, 26, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: clip;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.is-loading {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  max-width: 100vw;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  direction: ltr;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(21, 19, 26, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .language-switch,
.site-header.is-open .language-switch {
  border-color: rgba(44, 24, 58, 0.14);
  background: rgba(44, 24, 58, 0.06);
}

.language-switch button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--purple);
  background: #fff;
}

[dir="rtl"] body {
  text-align: right;
}

[dir="rtl"] .hero-content {
  margin-left: 0;
  margin-right: clamp(18px, 7vw, 92px);
}

[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(21, 19, 26, 0.86) 0%, rgba(44, 24, 58, 0.62) 41%, rgba(21, 19, 26, 0.12) 72%),
    linear-gradient(0deg, rgba(21, 19, 26, 0.36), rgba(21, 19, 26, 0.05));
}

[dir="rtl"] .quote-note,
[dir="rtl"] .service-card {
  direction: rtl;
}

.brand strong,
.brand small {
  display: block;
  min-width: 0;
}

.brand strong {
  white-space: nowrap;
}

.brand small {
  font-size: 0.78rem;
  color: currentColor;
  opacity: 0.74;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 7px 0;
}

.entry-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--purple);
  animation: entryExit 900ms ease 7200ms forwards;
}

.entry-bg,
.entry-shade {
  position: absolute;
  inset: 0;
}

.entry-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  animation: entryImage 1200ms ease forwards;
}

.entry-shade {
  background:
    linear-gradient(90deg, rgba(21, 19, 26, 0.72), rgba(44, 24, 58, 0.48)),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.24), transparent 34%);
}

.entry-content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(560px, calc(100% - 48px));
  color: #fff;
  text-align: center;
}

.entry-logo {
  width: min(440px, 82vw);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  animation:
    entryLogoIn 1100ms cubic-bezier(0.22, 1, 0.36, 1) 900ms forwards,
    entryLogoSettle 800ms cubic-bezier(0.22, 1, 0.36, 1) 3000ms forwards;
}

.entry-content p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  font-weight: 800;
  opacity: 0;
  transform: translateY(16px);
  animation: entryTextIn 850ms ease 3300ms forwards;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--purple);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 19, 26, 0.86) 0%, rgba(44, 24, 58, 0.62) 41%, rgba(21, 19, 26, 0.12) 72%),
    linear-gradient(0deg, rgba(21, 19, 26, 0.36), rgba(21, 19, 26, 0.05));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  padding: 112px 0 70px;
  margin-left: clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 5.6vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.4vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button.primary {
  background: #fff;
  color: var(--purple);
  border-color: #fff;
}

.button.secondary {
  background: var(--purple);
  color: #fff;
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -28px auto 0;
  position: relative;
  z-index: 4;
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-strip div {
  min-height: 86px;
  padding: 18px;
  background: var(--surface);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.split-section,
.quote-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(58px, 8vw, 106px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
}

.services-heading {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.services-heading h2 {
  max-width: none;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  white-space: nowrap;
}

.services-heading p {
  width: min(680px, 100%);
}

.service-grid,
.service-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 132px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(21, 19, 26, 0.05);
}

.service-card:nth-child(even) {
  margin-left: clamp(0px, 7vw, 90px);
}

.service-card:nth-child(odd) {
  margin-right: clamp(0px, 7vw, 90px);
}

.service-flow {
  overflow: hidden;
}

.service-flow .service-card.reveal {
  transform: translate3d(-76px, 0, 0) scale(0.985);
}

.service-flow .service-card.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.service-card.accent {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.service-card p,
.steps p,
.project-card p {
  color: var(--muted);
}

.service-card.accent p {
  color: rgba(255, 255, 255, 0.78);
}

.service-number {
  margin: 0;
}

.service-card.accent .service-number {
  color: #fff;
  background: var(--purple-2);
}

.number-circle,
.number-pill {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(44, 24, 58, 0.24);
}

.number-pill {
  min-width: auto;
  height: 34px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  padding-top: clamp(58px, 8vw, 106px);
}

.sticky-title {
  position: sticky;
  top: 110px;
  align-self: start;
}

.sticky-title p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
}

.steps article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(44, 24, 58, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff, #f4f2f6),
    radial-gradient(circle at 85% 14%, rgba(44, 24, 58, 0.14), transparent 32%);
  box-shadow: 0 18px 52px rgba(21, 19, 26, 0.1);
}

.step-deck article {
  position: sticky;
  top: 116px;
}

.step-deck article:nth-child(2) {
  top: 132px;
}

.step-deck article:nth-child(3) {
  top: 148px;
}

.step-deck article:nth-child(4) {
  top: 164px;
}

.steps span,
.project-card span {
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.steps .number-circle {
  margin-bottom: 46px;
  color: #fff;
}

.steps h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.project-heading p {
  width: min(620px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.project-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd;
}

.project-card div {
  padding: 18px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 950ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translate3d(-34px, 28px, 0);
}

.reveal.reveal-right {
  transform: translate3d(34px, 28px, 0);
}

.reveal.reveal-scale {
  transform: translate3d(0, 34px, 0) scale(0.96);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding-top: clamp(58px, 8vw, 106px);
}

.quote-copy {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 12% 16%, rgba(201, 183, 125, 0.28), transparent 32%);
  border: 1px solid rgba(44, 24, 58, 0.1);
}

.quote-copy p {
  color: var(--muted);
}

.quote-copy h2 {
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  line-height: 1.08;
}

.contact-mini {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.quote-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.quote-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 10px 24px rgba(44, 24, 58, 0.22);
}

.quote-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-note p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-mini a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.quote-form {
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

fieldset {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 900;
}

.multi-select {
  position: relative;
}

.multi-select summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #c9c9d1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.multi-select summary::-webkit-details-marker {
  display: none;
}

.multi-select summary svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.multi-options {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 12;
  display: grid;
  gap: 8px;
  max-height: 330px;
  margin-top: 8px;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.multi-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
  font-weight: 700;
}

.multi-options input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--purple);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9c9d1;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 138px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(75, 44, 95, 0.18);
  border-color: var(--purple-2);
}

.file-field {
  padding: 16px;
  border: 1px dashed #aaa7b1;
  border-radius: 8px;
  background: #fafafa;
}

.file-field input {
  padding: 0;
  border: 0;
  min-height: auto;
}

.file-field span,
.form-status {
  color: var(--muted);
  font-weight: 500;
}

.file-list {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.file-list li.is-error {
  color: #9d1c34;
  font-weight: 800;
}

.check-row {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-weight: 600;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  margin-top: clamp(58px, 8vw, 106px);
  padding: clamp(22px, 3.2vw, 30px) clamp(24px, 4vw, 40px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #31333a 70%, var(--sage));
}

.contact-section p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-logo {
  width: 118px;
  border-radius: 6px;
}

.footer-brand span {
  color: var(--ink);
  font-weight: 900;
}

.footer-brand small {
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 18px;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 16px 42px rgba(21, 19, 26, 0.24);
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--purple-2);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .header-tools {
    gap: 8px;
    flex: 0 0 auto;
  }

  .language-switch button {
    min-width: 34px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 10px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(21, 19, 26, 0.88), rgba(44, 24, 58, 0.54));
  }

  .hero-content {
    width: min(620px, calc(100% - 32px));
    padding-top: 104px;
    padding-bottom: 54px;
    margin-left: 18px;
  }

  [dir="rtl"] .hero-content {
    margin-right: 18px;
  }

  .proof-strip,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .split-section,
  .quote-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .services-heading h2 {
    white-space: normal;
  }

  .service-flow {
    overflow: visible;
  }

  .service-flow .service-card.reveal {
    transform: translate3d(0, 30px, 0);
  }

  .sticky-title {
    position: static;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card:nth-child(even),
  .service-card:nth-child(odd) {
    margin-left: 0;
    margin-right: 0;
  }

  .step-deck article,
  .step-deck article:nth-child(2),
  .step-deck article:nth-child(3),
  .step-deck article:nth-child(4) {
    position: relative;
    top: auto;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding-top: 88px;
    padding-bottom: 52px;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(3rem, 6vw, 4.85rem);
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 540px;
    font-size: 1.08rem;
  }

  .hero-actions {
    margin-top: 22px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 8px;
    padding: 8px 10px;
  }

  .brand {
    max-width: calc(100vw - 164px);
    gap: 7px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    overflow: hidden;
    font-size: 0.88rem;
    text-overflow: ellipsis;
  }

  .brand small {
    display: none;
  }

  .language-switch {
    padding: 2px;
    border-radius: 7px;
  }

  .language-switch button {
    min-width: 28px;
    height: 28px;
    border-radius: 5px;
    font-size: 0.68rem;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .nav-toggle span {
    margin: 6px 0;
  }

  h1 {
    max-width: 11.5ch;
    margin-bottom: 14px;
    font-size: clamp(1.95rem, 8.2vw, 2.55rem);
    line-height: 1.07;
    overflow-wrap: normal;
  }

  h2 {
    font-size: clamp(1.65rem, 8.2vw, 2.35rem);
    line-height: 1.12;
  }

  .hero {
    min-height: 64svh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 86px;
    padding-bottom: 38px;
    margin-left: 16px;
  }

  [dir="rtl"] .hero-content {
    margin-right: 16px;
  }

  .hero-copy {
    max-width: min(28rem, 100%);
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.96rem;
  }

  .hero-actions .button svg {
    width: 18px;
    height: 18px;
  }

  .proof-strip,
  .section,
  .split-section,
  .quote-section,
  .contact-section,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .proof-strip {
    margin-top: -18px;
  }

  .proof-strip div {
    min-height: auto;
    padding: 14px;
  }

  .section {
    padding-top: 48px;
  }

  .split-section,
  .quote-section {
    padding-top: 52px;
  }

  .service-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    padding: 16px;
  }

  .number-circle {
    min-width: 42px;
    height: 42px;
  }

  .steps article {
    min-height: auto;
    padding: 20px;
  }

  .steps .number-circle {
    margin-bottom: 24px;
  }

  .steps h3 {
    font-size: 1.35rem;
  }

  .project-heading {
    text-align: left;
  }

  [dir="rtl"] .project-heading {
    text-align: right;
  }

  .quote-copy h2 {
    font-size: clamp(1.7rem, 8.5vw, 2.25rem);
  }

  .quote-note {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .quote-icon {
    width: 38px;
    height: 38px;
  }

  .multi-options {
    position: static;
    max-height: none;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

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

  .quote-form,
  .contact-section {
    padding: 18px;
  }

  .contact-section {
    margin-top: 52px;
  }
}

@media (max-width: 380px) {
  .brand {
    max-width: 36px;
  }

  .brand > span:last-child {
    display: none;
  }

  .language-switch button {
    min-width: 27px;
  }

  h1 {
    font-size: clamp(1.78rem, 8.8vw, 2.2rem);
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 54px;
  }

  .hero-content {
    max-width: calc(100vw - 32px);
    overflow: hidden;
  }

  .hero h1 {
    max-width: min(11.2ch, 100%);
    font-size: clamp(1.82rem, 7.7vw, 2.45rem);
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-actions,
  .hero-actions .button {
    max-width: 100%;
  }
}

.legal-page {
  background: var(--surface);
}

.legal-page .section {
  max-width: 820px;
  padding-bottom: 80px;
}

.legal-page h1 {
  margin-top: 54px;
  color: var(--purple);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
}

.legal-brand {
  color: var(--ink);
}

@keyframes entryImage {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes entryLogoIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes entryLogoSettle {
  to {
    width: min(250px, 62vw);
    transform: translateY(-12px) scale(1);
  }
}

@keyframes entryTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes entryExit {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .nav a::after,
  .back-to-top,
  .entry-loader,
  .entry-bg,
  .entry-logo,
  .entry-content p {
    transition: none;
    animation: none;
  }

  .entry-loader {
    display: none;
  }
}
