:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --paper-2: #ece9e0;
  --ink: #102225;
  --muted: #5e6d6e;
  --line: rgba(16, 34, 37, 0.14);
  --brand: #0f7c73;
  --brand-dark: #075c56;
  --accent: #f08a5d;
  --white: #fffdfa;
  --surface: #fffdfa;
  --surface-faint: rgba(255, 253, 250, 0.48);
  --surface-soft: rgba(255, 253, 250, 0.58);
  --surface-strong: rgba(255, 253, 250, 0.72);
  --header-bg: rgba(246, 244, 239, 0.88);
  --grid-line: rgba(16, 34, 37, 0.035);
  --wash-teal: rgba(15, 124, 115, 0.15);
  --wash-coral: rgba(240, 138, 93, 0.17);
  --wash-sky: rgba(82, 137, 177, 0.13);
  --wash-violet: rgba(126, 104, 170, 0.12);
  --wash-gold: rgba(218, 174, 85, 0.14);
  --pattern-line: rgba(16, 34, 37, 0.055);
  --solid: #102225;
  --solid-text: #fffdfa;
  --action: #102225;
  --action-text: #fffdfa;
  --shadow: 0 24px 70px rgba(16, 34, 37, 0.12);
  --radius-sm: 14px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --container: min(1180px, calc(100% - 40px));
  --font-display: "Arial Narrow", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b1517;
  --paper-2: #152326;
  --ink: #eef6f4;
  --muted: #a6b7b5;
  --line: rgba(238, 246, 244, 0.15);
  --brand: #66d1c5;
  --brand-dark: #36a99e;
  --accent: #ff9b70;
  --surface: #132124;
  --surface-faint: rgba(19, 33, 36, 0.58);
  --surface-soft: rgba(19, 33, 36, 0.72);
  --surface-strong: rgba(19, 33, 36, 0.86);
  --header-bg: rgba(11, 21, 23, 0.9);
  --grid-line: rgba(238, 246, 244, 0.04);
  --wash-teal: rgba(102, 209, 197, 0.13);
  --wash-coral: rgba(255, 155, 112, 0.13);
  --wash-sky: rgba(91, 143, 190, 0.11);
  --wash-violet: rgba(151, 128, 196, 0.1);
  --wash-gold: rgba(218, 174, 85, 0.09);
  --pattern-line: rgba(238, 246, 244, 0.05);
  --solid: #14282b;
  --solid-text: #f5fbf9;
  --action: #66d1c5;
  --action-text: #081315;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: clip;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, var(--wash-coral), transparent 28rem),
    radial-gradient(circle at 90% 22%, var(--wash-teal), transparent 32rem),
    radial-gradient(circle at 24% 74%, var(--wash-violet), transparent 34rem),
    var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), var(--grid-line) 25%);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--brand);
}

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

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

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

button,
select {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--action-text);
  background: var(--action);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.site-header.scrolled {
  background: var(--header-bg);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: var(--container);
  max-width: 100%;
  min-height: 84px;
  margin-inline: auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 11px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-mark {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  place-items: center;
  background: var(--paper-2);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(16, 34, 37, 0.14);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: -0.04em;
  transition: transform 0.3s ease, background 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-mark img {
  position: absolute;
  width: 144px;
  height: auto;
  max-width: none;
  left: -45px;
  top: -9px;
}

.brand-name {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 6px;
}

[dir="rtl"] .main-nav {
  margin-right: auto;
  margin-left: 0;
}

.nav-link {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 650;
}

.nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 7px;
  left: 14px;
  height: 1.5px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-wrap {
  position: relative;
}

.language-select {
  min-width: 126px;
  padding: 10px 28px 10px 12px;
  border: 1px solid var(--line);
  outline: 0;
  background-color: var(--surface-strong);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  appearance: none;
}

[dir="rtl"] .language-select {
  padding: 10px 12px 10px 28px;
  background-position: 13px 50%, 9px 50%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
}

.theme-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border: 1px solid var(--line);
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border-radius: 50%;
  font-size: 1.08rem;
  line-height: 1;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: rotate(10deg);
}

.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.language-select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 38%, transparent);
  outline-offset: 3px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

main,
section,
.site-footer {
  max-width: 100%;
}

.hero-grid > *,
.split-heading > *,
.page-hero-grid > *,
.service-detail > *,
.about-grid > *,
.contact-grid > *,
.footer-top > * {
  min-width: 0;
}

.display-title,
.section-title,
.service-card h3,
.footer-brand {
  overflow-wrap: break-word;
  -webkit-hyphens: none;
  hyphens: none;
}

.section {
  position: relative;
  padding: clamp(90px, 11vw, 160px) 0;
}

.section-tight {
  padding: clamp(65px, 8vw, 110px) 0;
}

.section-rule {
  border-top: 1px solid var(--line);
}

main > .section {
  overflow: clip;
  isolation: isolate;
}

main > .section > .container {
  position: relative;
  z-index: 1;
}

main > .section::before,
main > .section::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

main > .section:nth-of-type(even) {
  background:
    radial-gradient(ellipse at 8% 18%, var(--wash-coral), transparent 34rem),
    radial-gradient(ellipse at 92% 74%, var(--wash-teal), transparent 38rem),
    linear-gradient(118deg, transparent 0 71%, var(--wash-sky) 71% 71.15%, transparent 71.15%),
    var(--paper);
}

main > .section:nth-of-type(even)::before {
  top: clamp(60px, 9vw, 130px);
  right: clamp(-190px, -12vw, -100px);
  width: clamp(290px, 36vw, 540px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  border-radius: 42% 58% 64% 36% / 38% 44% 56% 62%;
  transform: rotate(18deg);
}

main > .section:nth-of-type(even)::after {
  bottom: -32px;
  left: 5%;
  width: min(300px, 36vw);
  height: 120px;
  opacity: 0.56;
  background: repeating-linear-gradient(128deg, transparent 0 13px, var(--pattern-line) 13px 14px);
  transform: skewX(-12deg);
}

main > .section:nth-of-type(odd) {
  background:
    radial-gradient(circle at 86% 16%, var(--wash-violet), transparent 28rem),
    radial-gradient(circle at 18% 82%, var(--wash-gold), transparent 32rem),
    repeating-linear-gradient(45deg, transparent 0 34px, var(--pattern-line) 34px 35px),
    var(--paper);
}

main > .section:nth-of-type(odd)::before {
  top: 18%;
  left: clamp(-170px, -9vw, -80px);
  width: clamp(240px, 28vw, 420px);
  aspect-ratio: 1;
  opacity: 0.55;
  background: linear-gradient(145deg, var(--wash-sky), var(--wash-violet));
  clip-path: polygon(50% 0, 100% 38%, 78% 100%, 12% 84%, 0 26%);
  transform: rotate(-15deg);
}

main > .section:nth-of-type(odd)::after {
  right: 7%;
  bottom: 9%;
  width: 104px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 22px color-mix(in srgb, var(--accent) 5%, transparent), 0 0 0 45px color-mix(in srgb, var(--brand) 4%, transparent);
}

body[data-page="home"] #services-preview {
  background:
    radial-gradient(circle at 9% 22%, var(--wash-coral), transparent 29rem),
    radial-gradient(circle at 88% 64%, var(--wash-teal), transparent 36rem),
    linear-gradient(132deg, transparent 0 48%, var(--wash-gold) 48% 48.25%, transparent 48.25%),
    var(--paper);
}

body[data-page="home"] main > .section:nth-of-type(3) {
  background:
    linear-gradient(var(--pattern-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pattern-line) 1px, transparent 1px),
    radial-gradient(circle at 84% 18%, var(--wash-violet), transparent 30rem),
    radial-gradient(circle at 14% 90%, var(--wash-sky), transparent 34rem),
    var(--paper);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}

body[data-page="home"] main > .section:nth-of-type(4) {
  background:
    linear-gradient(105deg, var(--wash-teal), transparent 34%),
    linear-gradient(285deg, var(--wash-coral), transparent 36%),
    var(--paper);
}

body[data-page="home"] main > .section:nth-of-type(5),
body[data-page="portfolio"] main > .section:nth-of-type(3) {
  background:
    radial-gradient(circle at 50% 100%, var(--wash-coral), transparent 32rem),
    radial-gradient(circle at 86% 10%, var(--wash-violet), transparent 26rem),
    repeating-linear-gradient(-55deg, transparent 0 28px, var(--pattern-line) 28px 29px),
    var(--paper);
}

body[data-page="about"] main > .section:nth-of-type(2) {
  background:
    radial-gradient(ellipse at 15% 24%, var(--wash-sky), transparent 34rem),
    radial-gradient(ellipse at 84% 78%, var(--wash-coral), transparent 36rem),
    linear-gradient(150deg, transparent 0 64%, var(--pattern-line) 64% 64.2%, transparent 64.2%),
    var(--paper);
}

body[data-page="about"] main > .section:nth-of-type(3) {
  background:
    radial-gradient(circle, var(--pattern-line) 1.2px, transparent 1.4px),
    radial-gradient(circle at 86% 20%, var(--wash-gold), transparent 28rem),
    radial-gradient(circle at 12% 82%, var(--wash-violet), transparent 32rem),
    var(--paper);
  background-size: 22px 22px, auto, auto, auto;
}

body[data-page="services"] main > .section:nth-of-type(2) {
  background:
    repeating-linear-gradient(135deg, transparent 0 38px, var(--pattern-line) 38px 39px),
    radial-gradient(circle at 8% 18%, var(--wash-teal), transparent 30rem),
    radial-gradient(circle at 92% 72%, var(--wash-coral), transparent 36rem),
    var(--paper);
}

body[data-page="services"] main > .section:nth-of-type(3) {
  background:
    linear-gradient(var(--pattern-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pattern-line) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, var(--wash-sky), transparent 28rem),
    var(--paper);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

body[data-page="portfolio"] main > .section:nth-of-type(2) {
  background:
    radial-gradient(ellipse at 12% 12%, var(--wash-violet), transparent 34rem),
    radial-gradient(ellipse at 88% 76%, var(--wash-teal), transparent 38rem),
    repeating-linear-gradient(118deg, transparent 0 46px, var(--pattern-line) 46px 47px),
    var(--paper);
}

body[data-page="contact"] main > .section:nth-of-type(2) {
  background:
    radial-gradient(circle at 12% 26%, var(--wash-coral), transparent 32rem),
    radial-gradient(circle at 86% 74%, var(--wash-sky), transparent 36rem),
    linear-gradient(118deg, transparent 0 74%, var(--pattern-line) 74% 74.25%, transparent 74.25%),
    var(--paper);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 11px;
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.display-title {
  max-width: 970px;
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(clamp(3.35rem, 7.7vw, 7.8rem) - 2px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.section-title {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(clamp(2.5rem, 5.2vw, 5.3rem) - 2px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
  line-height: 1.6;
}

.text-gradient {
  color: var(--brand);
}

.button-row {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 800;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn::after {
  content: "\2197";
  font-size: 1.1em;
  transition: transform 0.25s ease;
}

[dir="rtl"] .btn::after {
  content: "\2196";
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  transform: translate(3px, -3px);
}

[dir="rtl"] .btn:hover::after {
  transform: translate(-3px, -3px);
}

.btn-primary {
  color: var(--action-text);
  background: var(--action);
  box-shadow: 0 12px 28px rgba(16, 34, 37, 0.18);
}

.btn-primary:hover {
  background: var(--brand);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface-soft);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 120px max(20px, calc((100vw - 1180px) / 2)) 50px;
  align-items: center;
  overflow: clip;
  background:
    radial-gradient(circle at 8% 14%, var(--wash-coral), transparent 30rem),
    radial-gradient(circle at 88% 18%, var(--wash-teal), transparent 36rem),
    radial-gradient(circle at 48% 100%, var(--wash-violet), transparent 32rem),
    linear-gradient(122deg, transparent 0 62%, var(--wash-sky) 62% 62.18%, transparent 62.18%),
    var(--paper);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: 0.85;
  background:
    repeating-linear-gradient(132deg, transparent 0 31px, var(--pattern-line) 31px 32px),
    radial-gradient(circle at 72% 52%, var(--wash-gold), transparent 25rem);
  -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 3%, #000 48%, #000 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.13fr) minmax(300px, 0.87fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .display-title {
  max-width: 760px;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.55vw, 1.24rem);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: min(72vh, 720px);
  isolation: isolate;
  transform-style: preserve-3d;
}

.hero-visual.tilt-ready {
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-origin: center;
  transition: transform 0.48s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.hero-visual.tilt-ready.tilt-active {
  transition-duration: 0.12s;
}

.portrait-frame {
  position: absolute;
  inset: 0 0 8% 8%;
  overflow: hidden;
  border-radius: 46% 46% 26px 26px;
  box-shadow: var(--shadow);
  transform: translateZ(34px) rotate(1.5deg);
  transform-style: preserve-3d;
}

[dir="rtl"] .portrait-frame {
  inset: 0 8% 8% 0;
  transform: translateZ(34px) rotate(-1.5deg);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(16, 34, 37, 0.35), transparent 45%);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.035);
  transition: transform 1.2s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-visual:hover img {
  transform: scale(1.09);
}

.orbit {
  position: absolute;
  top: -4%;
  right: -9%;
  width: clamp(100px, 13vw, 170px);
  aspect-ratio: 1;
  border: 1px solid rgba(15, 124, 115, 0.35);
  border-radius: 50%;
  animation: orbitPulse 5s ease-in-out infinite;
}

[dir="rtl"] .orbit {
  right: auto;
  left: -9%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.orbit::before {
  inset: 18%;
  background: rgba(240, 138, 93, 0.7);
  filter: blur(1px);
}

.orbit::after {
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--brand);
}

.hero-badge {
  position: absolute;
  right: -3%;
  bottom: 4%;
  z-index: 2;
  max-width: 210px;
  padding: 18px 20px;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(15, 124, 115, 0.28);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.4;
  transform: translateZ(70px) rotate(-3deg);
}

[dir="rtl"] .hero-badge {
  right: auto;
  left: -3%;
  transform: translateZ(70px) rotate(3deg);
}

.hero-sculpture {
  position: absolute;
  top: 13%;
  left: -7%;
  z-index: 4;
  width: clamp(96px, 11vw, 148px);
  aspect-ratio: 1;
  pointer-events: none;
  perspective: 620px;
  transform: translateZ(92px) rotate(-8deg);
  transform-style: preserve-3d;
}

[dir="rtl"] .hero-sculpture {
  right: -7%;
  left: auto;
  transform: translateZ(92px) rotate(8deg);
}

.sculpture-ring,
.sculpture-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.sculpture-ring {
  border: 1px solid color-mix(in srgb, var(--white) 76%, var(--brand));
  box-shadow: 0 0 24px rgba(15, 124, 115, 0.14);
}

.sculpture-ring-one {
  width: 100%;
  height: 100%;
  margin: -50%;
  animation: sculptureRingOne 9s linear infinite;
}

.sculpture-ring-two {
  width: 78%;
  height: 78%;
  margin: -39%;
  border-color: color-mix(in srgb, var(--accent) 72%, var(--white));
  animation: sculptureRingTwo 7s linear infinite reverse;
}

.sculpture-ring-three {
  width: 56%;
  height: 56%;
  margin: -28%;
  border-color: color-mix(in srgb, var(--brand) 72%, var(--white));
  animation: sculptureRingThree 6s ease-in-out infinite;
}

.sculpture-core {
  width: 28%;
  height: 28%;
  margin: -14%;
  background: radial-gradient(circle at 30% 25%, var(--white), var(--accent) 35%, var(--brand) 76%);
  box-shadow: 0 12px 32px rgba(16, 34, 37, 0.3), inset -8px -10px 18px rgba(16, 34, 37, 0.22);
  animation: sculptureCore 3.8s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue::before {
  width: 1px;
  height: 36px;
  content: "";
  background: var(--ink);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--wash-teal), transparent 32%, var(--wash-coral) 72%, transparent),
    var(--surface-faint);
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 21px 0;
  gap: 28px;
  animation: marquee 24s linear infinite;
}

[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee-item::after {
  color: var(--accent);
  content: "\2736";
}

.split-heading {
  display: grid;
  align-items: end;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
}

.split-heading .section-lead {
  margin: 0;
}

.service-grid {
  display: grid;
  margin-top: 64px;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  transition: color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.service-card::before {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 230px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.12;
  transition: transform 0.55s ease;
}

[dir="rtl"] .service-card::before {
  right: auto;
  left: -70px;
}

.service-card:hover {
  color: var(--solid-text);
  background: var(--solid);
  box-shadow: var(--shadow);
  --tilt-lift: -8px;
}

.service-card:hover::before {
  transform: scale(1.35);
}

.card-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 850;
  opacity: 0.75;
}

.service-card h3 {
  max-width: 270px;
  margin: 58px 0 16px;
  font-family: var(--font-display);
  font-size: calc(clamp(1.85rem, 3vw, 2.7rem) - 2px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  transition: color 0.35s ease;
}

.service-card:hover p {
  color: rgba(255, 253, 250, 0.72);
}

.card-link {
  position: absolute;
  right: 28px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 850;
}

[dir="rtl"] .card-link {
  right: auto;
  left: 28px;
}

.work-grid {
  display: grid;
  margin-top: 64px;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
}

.work-card {
  position: relative;
  min-height: 480px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-md);
  grid-column: span 7;
  isolation: isolate;
  transform-style: preserve-3d;
}

.work-card:hover {
  --tilt-lift: -5px;
}

.work-card:nth-child(2) {
  grid-column: span 5;
}

.work-card:nth-child(3) {
  grid-column: 3 / span 8;
}

.work-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-card:hover .work-visual img,
.project-card:hover .work-visual img {
  transform: scale(1.045);
}

.work-card:hover .work-visual {
  transform: scale(1.035);
}

.work-visual.web {
  background:
    linear-gradient(150deg, transparent 40%, rgba(255, 255, 255, 0.7) 40% 41%, transparent 41%),
    radial-gradient(circle at 30% 35%, #f5c6a8 0 15%, transparent 15.5%),
    linear-gradient(135deg, #ddd7c8, #aebfb8);
}

.work-visual.mobile {
  background:
    linear-gradient(90deg, transparent 23%, rgba(255, 253, 250, 0.88) 23% 48%, transparent 48%),
    linear-gradient(150deg, #0f7c73, #0d3334 74%);
}

.work-visual.social {
  background:
    radial-gradient(circle at 70% 28%, #f7ab7a 0 16%, transparent 16.5%),
    linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.45) 47% 48%, transparent 48%),
    linear-gradient(135deg, #eadac5, #b7cad0);
}

.work-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(to top, rgba(10, 27, 29, 0.88), rgba(10, 27, 29, 0.05) 62%);
}

.work-card-content {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  color: var(--white);
  transform: translateZ(42px);
}

.work-meta {
  margin-bottom: 10px;
  color: rgba(255, 253, 250, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(clamp(2rem, 4vw, 3.8rem) - 2px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.work-card p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(255, 253, 250, 0.76);
}

.manifesto {
  display: grid;
  padding: clamp(55px, 7vw, 90px);
  color: var(--solid-text);
  background:
    radial-gradient(circle at 92% 12%, rgba(102, 209, 197, 0.2), transparent 24rem),
    radial-gradient(circle at 7% 90%, rgba(240, 138, 93, 0.19), transparent 22rem),
    linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, 0.035) 55% 55.2%, transparent 55.2%),
    var(--solid);
  border-radius: var(--radius-lg);
  grid-template-columns: 0.35fr 1fr;
  gap: 50px;
}

.manifesto-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: clamp(6rem, 12vw, 12rem);
  line-height: 0.7;
}

.manifesto blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.manifesto cite {
  display: block;
  margin-top: 24px;
  color: rgba(255, 253, 250, 0.62);
  font-size: 0.82rem;
  font-style: normal;
}

.cta-panel {
  position: relative;
  padding: clamp(65px, 10vw, 120px) clamp(24px, 7vw, 88px);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 12%, var(--wash-coral), transparent 24rem),
    radial-gradient(circle at 92% 88%, var(--wash-teal), transparent 26rem),
    linear-gradient(135deg, transparent 0 66%, var(--wash-violet) 66% 100%),
    var(--surface);
  border-radius: var(--radius-lg);
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid var(--brand);
  border-radius: 50%;
  opacity: 0.18;
  box-shadow: 0 0 38px rgba(15, 124, 115, 0.12), inset 0 0 30px rgba(240, 138, 93, 0.08);
  transform-style: preserve-3d;
}

.cta-panel::before {
  top: -150px;
  left: -60px;
  animation: ctaRingLeft 10s ease-in-out infinite;
}

.cta-panel::after {
  right: -80px;
  bottom: -170px;
  animation: ctaRingRight 12s ease-in-out infinite reverse;
}

.cta-panel .section-title,
.cta-panel .section-lead {
  margin-inline: auto;
}

.cta-panel .button-row {
  justify-content: center;
}

.page-hero {
  position: relative;
  padding: clamp(165px, 20vw, 250px) 0 clamp(80px, 11vw, 145px);
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 8% 82%, var(--wash-violet), transparent 32rem),
    radial-gradient(ellipse at 72% 8%, var(--wash-teal), transparent 30rem),
    linear-gradient(116deg, transparent 0 68%, var(--wash-coral) 68% 68.22%, transparent 68.22%),
    repeating-linear-gradient(-38deg, transparent 0 40px, var(--pattern-line) 40px 41px),
    var(--paper);
  isolation: isolate;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.page-hero::before {
  top: 23%;
  right: max(18px, calc((100% - 1180px) / 2));
  width: clamp(82px, 10vw, 142px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 32% 26%, rgba(255, 253, 250, 0.95), var(--accent) 34%, var(--brand) 76%);
  box-shadow: 0 30px 70px rgba(15, 124, 115, 0.2), inset -18px -20px 30px rgba(16, 34, 37, 0.2);
  animation: pageOrbFloat 6.5s ease-in-out infinite;
}

.page-hero::after {
  top: 15%;
  right: max(-16px, calc((100% - 1250px) / 2));
  width: clamp(132px, 17vw, 236px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--brand) 36%, transparent);
  animation: pageOrbRing 12s linear infinite;
}

[dir="rtl"] .page-hero::before {
  right: auto;
  left: max(18px, calc((100% - 1180px) / 2));
}

[dir="rtl"] .page-hero::after {
  right: auto;
  left: max(-16px, calc((100% - 1250px) / 2));
}

.page-hero .display-title {
  max-width: 1060px;
}

.page-hero-grid {
  display: grid;
  margin-top: 42px;
  align-items: end;
  gap: 30px;
  grid-template-columns: 1fr minmax(280px, 0.58fr);
}

.page-hero-grid .section-lead {
  margin: 0;
}

.page-index {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.7;
  opacity: 0.16;
  text-align: right;
}

[dir="rtl"] .page-index {
  text-align: left;
}

.service-detail {
  display: grid;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  gap: 40px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail-media {
  position: relative;
  min-height: 330px;
  margin: 16px 0 0;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  grid-column: 1 / -1;
}

.service-detail-media::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 253, 250, 0.22);
  pointer-events: none;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-detail:hover .service-detail-media img {
  transform: scale(1.025);
}

.service-detail-number {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1;
}

.service-detail h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(clamp(2rem, 4vw, 3.6rem) - 2px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.service-detail p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

[dir="rtl"] .check-list li {
  padding-right: 28px;
  padding-left: 0;
}

.check-list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  color: var(--brand);
  content: "\2713";
  font-weight: 900;
}

[dir="rtl"] .check-list li::before {
  right: 0;
  left: auto;
}

.process-grid {
  display: grid;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  min-height: 280px;
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line);
}

[dir="rtl"] .process-step {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.process-step:first-child {
  border-left: 1px solid var(--line);
}

[dir="rtl"] .process-step:first-child {
  border-right: 1px solid var(--line);
}

.process-step span {
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin: 42px 0 12px;
  font-family: var(--font-display);
  font-size: calc(1.7rem - 2px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-bar {
  display: flex;
  margin: 0 0 44px;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  padding: 10px 17px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  color: var(--action-text);
  border-color: var(--action);
  background: var(--action);
}

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

.project-card {
  position: relative;
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  border: 0;
  text-align: left;
  border-radius: var(--radius-md);
  transition: opacity 0.3s ease, transform 0.3s ease;
  isolation: isolate;
  transform-style: preserve-3d;
}

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

.project-card.is-hidden {
  display: none;
}

.project-card .work-visual {
  z-index: -2;
}

.project-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(to top, rgba(10, 27, 29, 0.9), transparent 66%);
}

.project-card:hover {
  --tilt-lift: -6px;
}

.project-card:hover .work-visual {
  transform: scale(1.04);
}

.project-card-content {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: var(--white);
  transform: translateZ(42px);
}

.tilt-ready.reveal.visible {
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--tilt-lift, 0));
  transform-origin: center;
  transition: opacity 0.8s cubic-bezier(0.2, 0.75, 0.25, 1), transform 0.48s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.tilt-ready.reveal.visible.tilt-active {
  transition-duration: 0.8s, 0.12s;
}

.service-card.tilt-ready h3,
.service-card.tilt-ready p,
.service-card.tilt-ready .card-link {
  transform: translateZ(28px);
}

.project-card h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: calc(clamp(2.2rem, 4.5vw, 4rem) - 2px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.project-card p {
  margin: 12px 0 0;
  color: rgba(255, 253, 250, 0.74);
}

.project-open {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border-radius: 50%;
  font-size: 1.3rem;
}

[dir="rtl"] .project-open {
  right: auto;
  left: 25px;
}

.project-note {
  max-width: 680px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  border: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 40px 110px rgba(16, 34, 37, 0.28);
}

.project-modal::backdrop {
  background: rgba(16, 34, 37, 0.66);
  backdrop-filter: blur(10px);
}

.modal-inner {
  padding: clamp(28px, 6vw, 62px);
}

.modal-close {
  position: sticky;
  top: 18px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  place-items: center;
  background: var(--surface);
  border-radius: 50%;
  font-size: 1.25rem;
}

[dir="rtl"] .modal-close {
  margin-right: auto;
  margin-left: 0;
}

.modal-title {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-size: calc(clamp(2.6rem, 8vw, 5rem) - 2px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.modal-lead {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 1.08rem;
}

.case-row {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.case-row h3 {
  margin: 0 0 9px;
  color: var(--brand);
  font-size: calc(0.75rem - 2px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-row p {
  margin: 0;
}

.about-grid {
  display: grid;
  align-items: start;
  gap: clamp(45px, 8vw, 110px);
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
}

.about-photo {
  position: sticky;
  top: 120px;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 48% 48% var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: 50% 52%;
}

.about-copy .section-title {
  margin-bottom: 34px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.principle-list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  gap: 0;
  grid-template-columns: 1fr;
}

.principle span {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 850;
}

.principle h3 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: calc(1.7rem - 2px);
  letter-spacing: -0.035em;
}

.principle p {
  margin: 0;
  font-size: 0.95rem;
}

.skill-cloud {
  display: flex;
  margin-top: 45px;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-chip {
  padding: 11px 17px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(45px, 8vw, 100px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.contact-list {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.contact-link {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-label {
  display: inline-flex;
  min-width: 132px;
  align-items: center;
  gap: 12px;
}

.contact-label > span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.contact-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  place-items: center;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.contact-icon--gmail {
  background: #ea4335;
}

.contact-icon--whatsapp {
  background: #25d366;
}

.contact-icon--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}

.contact-icon--linkedin {
  background: #0a66c2;
}

.contact-icon--maps {
  background: #4285f4;
}

.contact-link[href]:hover .contact-icon {
  color: var(--white);
  transform: translateY(-2px) scale(1.06);
}

.contact-link strong {
  font-size: 0.88rem;
  text-align: right;
  overflow-wrap: anywhere;
}

[dir="rtl"] .contact-link strong {
  text-align: left;
}

.contact-link[href]:hover strong {
  color: var(--brand);
}

.contact-form {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: var(--radius-md);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.field input,
.field select {
  min-height: 50px;
}

.field textarea {
  min-height: 140px;
  padding-top: 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
}

.contact-form .btn {
  margin-top: 26px;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: min(380px, calc(100% - 48px));
  padding: 15px 18px;
  color: var(--action-text);
  background: var(--action);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[dir="rtl"] .toast {
  right: auto;
  left: 24px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  position: relative;
  padding: 58px 0 26px;
  overflow: clip;
  color: rgba(255, 253, 250, 0.78);
  background:
    radial-gradient(circle at 10% 0, rgba(240, 138, 93, 0.16), transparent 26rem),
    radial-gradient(circle at 88% 80%, rgba(102, 209, 197, 0.17), transparent 30rem),
    linear-gradient(118deg, transparent 0 64%, rgba(255, 255, 255, 0.025) 64% 64.2%, transparent 64.2%),
    var(--solid);
}

.footer-top {
  display: grid;
  padding-bottom: 50px;
  align-items: start;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-tagline {
  max-width: 470px;
  margin: 18px 0 0;
  color: rgba(255, 253, 250, 0.58);
}

.footer-sculpture {
  position: relative;
  width: min(100%, 360px);
  height: 230px;
  justify-self: end;
  perspective: 760px;
  transform-style: preserve-3d;
}

.footer-cube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  margin: -41px;
  animation: footerCubeSpin 15s linear infinite;
  transform-style: preserve-3d;
}

.cube-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 250, 0.48);
  background: linear-gradient(135deg, rgba(102, 209, 197, 0.34), rgba(240, 138, 93, 0.14));
  box-shadow: inset 0 0 24px rgba(255, 253, 250, 0.08);
  backface-visibility: visible;
}

.cube-front { transform: translateZ(41px); }
.cube-back { transform: rotateY(180deg) translateZ(41px); }
.cube-right { transform: rotateY(90deg) translateZ(41px); }
.cube-left { transform: rotateY(-90deg) translateZ(41px); }
.cube-top { transform: rotateX(90deg) translateZ(41px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(41px); }

.footer-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(102, 209, 197, 0.36);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(102, 209, 197, 0.08);
  transform-style: preserve-3d;
}

.footer-halo-one {
  width: 270px;
  height: 116px;
  margin: -58px -135px;
  animation: footerHaloOne 11s linear infinite;
}

.footer-halo-two {
  width: 214px;
  height: 214px;
  margin: -107px;
  border-color: rgba(240, 138, 93, 0.3);
  animation: footerHaloTwo 13s linear infinite reverse;
}

.footer-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--white), var(--accent) 35%, var(--brand) 78%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), inset -6px -8px 12px rgba(16, 34, 37, 0.25);
}

.footer-orb-one {
  top: 20%;
  right: 9%;
  width: 25px;
  height: 25px;
  animation: footerOrbOne 5.2s ease-in-out infinite;
}

.footer-orb-two {
  bottom: 18%;
  left: 8%;
  width: 16px;
  height: 16px;
  animation: footerOrbTwo 6.4s ease-in-out infinite reverse;
}

.footer-orb-three {
  top: 12%;
  left: 28%;
  width: 9px;
  height: 9px;
  background: var(--brand);
  animation: footerOrbThree 4.6s ease-in-out infinite;
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 250, 0.12);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 253, 250, 0.48);
  font-size: 0.72rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.availability::before {
  width: 8px;
  height: 8px;
  content: "";
  background: #68d391;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(104, 211, 145, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.75, 0.25, 1), transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.07) rotate(8deg); }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.45); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes sculptureRingOne {
  from { transform: rotateX(68deg) rotateY(12deg) rotateZ(0); }
  to { transform: rotateX(68deg) rotateY(12deg) rotateZ(360deg); }
}

@keyframes sculptureRingTwo {
  from { transform: rotateY(72deg) rotateX(18deg) rotateZ(0); }
  to { transform: rotateY(72deg) rotateX(18deg) rotateZ(360deg); }
}

@keyframes sculptureRingThree {
  0%, 100% { transform: rotateX(48deg) rotateY(55deg) scale(0.92); }
  50% { transform: rotateX(76deg) rotateY(18deg) scale(1.08); }
}

@keyframes sculptureCore {
  0%, 100% { transform: translateZ(22px) translateY(-3px) scale(0.94); }
  50% { transform: translateZ(58px) translateY(5px) scale(1.06); }
}

@keyframes pageOrbFloat {
  0%, 100% { transform: perspective(600px) translate3d(0, 0, 0) rotateY(-12deg) scale(0.96); }
  50% { transform: perspective(600px) translate3d(-10px, 16px, 44px) rotateY(18deg) scale(1.05); }
}

@keyframes pageOrbRing {
  from { transform: perspective(600px) rotateX(68deg) rotateZ(0); }
  to { transform: perspective(600px) rotateX(68deg) rotateZ(360deg); }
}

@keyframes ctaRingLeft {
  0%, 100% { transform: perspective(600px) rotateX(64deg) rotateZ(-8deg) translate3d(0, 0, 0); }
  50% { transform: perspective(600px) rotateX(74deg) rotateZ(16deg) translate3d(22px, 18px, 38px); }
}

@keyframes ctaRingRight {
  0%, 100% { transform: perspective(600px) rotateY(66deg) rotateZ(12deg) translate3d(0, 0, 0); }
  50% { transform: perspective(600px) rotateY(78deg) rotateZ(-14deg) translate3d(-20px, -16px, 42px); }
}

@keyframes footerCubeSpin {
  from { transform: rotateX(-22deg) rotateY(0deg) rotateZ(8deg); }
  to { transform: rotateX(338deg) rotateY(360deg) rotateZ(8deg); }
}

@keyframes footerHaloOne {
  from { transform: rotateX(68deg) rotateZ(0deg); }
  to { transform: rotateX(68deg) rotateZ(360deg); }
}

@keyframes footerHaloTwo {
  from { transform: rotateY(72deg) rotateZ(0deg); }
  to { transform: rotateY(72deg) rotateZ(360deg); }
}

@keyframes footerOrbOne {
  0%, 100% { transform: translate3d(0, 0, 18px) scale(0.9); }
  50% { transform: translate3d(-28px, 18px, 72px) scale(1.08); }
}

@keyframes footerOrbTwo {
  0%, 100% { transform: translate3d(0, 0, 8px); }
  50% { transform: translate3d(34px, -20px, 58px); }
}

@keyframes footerOrbThree {
  0%, 100% { transform: translate3d(0, 0, 12px); opacity: 0.45; }
  50% { transform: translate3d(18px, 34px, 82px); opacity: 1; }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .menu-open .site-header {
    z-index: 10000;
    background: var(--paper);
    isolation: isolate;
  }

  .nav-shell {
    min-height: 76px;
  }

  .main-nav {
    position: fixed;
    z-index: 1;
    inset: 76px 0 auto;
    display: flex;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    padding: 42px 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 8px 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.3rem);
    font-weight: 750;
    letter-spacing: -0.05em;
    line-height: 1.1;
  }

  .nav-link::after {
    right: 0;
    bottom: 2px;
    left: 0;
  }

  .nav-actions {
    margin-left: auto;
  }

  [dir="rtl"] .nav-actions {
    margin-right: auto;
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

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

  .hero-copy {
    padding-top: 20px;
  }

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

  .scroll-cue {
    display: none;
  }

  .split-heading,
  .page-hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 330px;
  }

  .work-card,
  .work-card:nth-child(2),
  .work-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .service-detail {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  }

  .service-detail > div:nth-of-type(2) {
    grid-column: 2;
  }

  .service-detail-media {
    grid-column: 1 / -1;
  }

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

  .process-step:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  [dir="rtl"] .process-step:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .about-photo {
    position: relative;
    top: 0;
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 28px);
    --radius-lg: 28px;
  }

  .brand-name {
    display: none;
  }

  .nav-shell {
    gap: 8px;
  }

  .nav-actions {
    min-width: 0;
    gap: 8px;
  }

  .language-wrap {
    min-width: 0;
  }

  .language-select {
    width: 106px;
    min-width: 0;
    padding-right: 24px;
  }

  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero::before {
    opacity: 0.58;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 100%);
  }

  main > .section:nth-of-type(even)::before {
    right: -170px;
    width: 300px;
    opacity: 0.65;
  }

  main > .section:nth-of-type(odd)::before {
    left: -150px;
    width: 260px;
    opacity: 0.34;
  }

  main > .section:nth-of-type(even)::after {
    width: 150px;
    opacity: 0.35;
  }

  main > .section:nth-of-type(odd)::after {
    right: -18px;
    width: 72px;
    opacity: 0.7;
  }

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

  .hero-sculpture {
    top: 9%;
    left: 8px;
    width: 88px;
  }

  [dir="rtl"] .hero-sculpture {
    right: 8px;
    left: auto;
  }

  .portrait-frame {
    inset: 0 0 8%;
  }

  .hero-badge {
    right: 8px;
    max-width: 180px;
  }

  [dir="rtl"] .hero-badge {
    right: auto;
    left: 8px;
  }

  .display-title {
    font-size: calc(clamp(3.2rem, 16vw, 5.3rem) - 2px);
  }

  .section-title {
    font-size: calc(clamp(2.4rem, 12vw, 4rem) - 2px);
  }

  .page-hero::before {
    top: 13%;
    right: 14px;
    width: 72px;
    opacity: 0.72;
  }

  .page-hero::after {
    top: 10%;
    right: -22px;
    width: 118px;
  }

  [dir="rtl"] .page-hero::before {
    right: auto;
    left: 14px;
  }

  [dir="rtl"] .page-hero::after {
    right: auto;
    left: -22px;
  }

  .work-card,
  .project-card {
    min-height: 430px;
  }

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

  .manifesto-mark {
    font-size: 6rem;
  }

  .service-detail {
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .service-detail > div:nth-of-type(2) {
    grid-column: auto;
  }

  .service-detail-media {
    min-height: 240px;
    grid-column: auto;
  }

  .service-detail-media img {
    min-height: 240px;
  }

  .process-grid,
  .portfolio-grid,
  .form-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:first-child,
  .process-step:nth-child(3) {
    min-height: 240px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .process-step h3 {
    margin-top: 32px;
  }

  .page-index {
    display: none;
  }

  .field.full {
    grid-column: auto;
  }

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

  .footer-sculpture {
    width: min(100%, 320px);
    height: 210px;
    justify-self: center;
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .contact-link strong,
  [dir="rtl"] .contact-link strong {
    padding-inline-start: 50px;
    text-align: start;
  }
}

@media (max-width: 360px) {
  :root {
    --container: calc(100% - 20px);
  }

  .nav-shell,
  .nav-actions {
    gap: 6px;
  }

  .brand-mark {
    width: 34px;
  }

  .language-select {
    width: 84px;
    padding-right: 21px;
    padding-left: 9px;
    background-position: calc(100% - 11px) 50%, calc(100% - 7px) 50%;
    font-size: 0.7rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-right: 10px;
    padding-left: 10px;
  }

  .display-title {
    font-size: calc(clamp(2.8rem, 15.5vw, 4.2rem) - 2px);
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

  .hero-visual.tilt-ready,
  .tilt-ready.reveal.visible {
    transform: none;
    will-change: auto;
  }
}
