.hero {
  min-height: 800px;
}

.hero-content {
  padding-top: clamp(160px, 18vh, 205px);
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(76px, 7.5vw, 96px);
  line-height: 0.97;
  letter-spacing: -0.025em;
}

.hero-line,
.hero-copy,
.hero-content > .button {
  animation: none;
}

.hero-poster {
  animation: none;
  transition: none;
}

.hero-media {
  filter: brightness(var(--scene-light, 0.98));
}

.hero-media .scene-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero-copy {
  font-size: 15px;
  max-width: 335px;
}

.hero h1 em {
  font-style: normal;
}

.hero-foot {
  font-size: 12px;
}

.scene-controls {
  display: flex;
  gap: 4px;
  align-items: center;
}

.scene-button {
  color: #e7e2d8;
  background: transparent;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 12px;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s,
    color 0.25s;
}

.scene-button.active {
  color: var(--gold);
  border-color: var(--gold);
}

.light-control {
  position: absolute;
  z-index: 4;
  inset-inline-end: var(--gutter);
  bottom: 160px;
  width: 235px;
  padding: 16px 0;
  color: var(--paper);
}

.light-control label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.light-control > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.light-control input {
  width: 175px;
  min-height: 44px;
  margin: 0;
  accent-color: var(--gold);
  background: transparent;
  cursor: ew-resize;
}

.light-control output {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.concept-label {
  font-size: 12px;
  letter-spacing: 0;
}

.display {
  max-width: 15ch;
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.studio-grid {
  align-items: center;
  gap: 9vw;
}

.studio-copy {
  padding-top: 0;
}

.studio-copy > p:not(.lead),
.expertise-heading > p,
.portfolio-heading > p,
.collection-copy > p,
.process p,
.service-body p,
.contact-copy > p {
  font-size: 16px;
}

.expertise-heading,
.portfolio-heading {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 45px;
}

.expertise-heading {
  border-color: #ffffff30;
}

.expertise-visual {
  height: 620px;
  position: sticky;
  top: 35px;
  background: #35362f;
}

.expertise-visual > img {
  transition: none;
}

.expertise-visual:hover > img {
  transform: none;
}

.visual-caption {
  font-size: 12px;
  padding-bottom: 24px;
  gap: 15px;
  color: var(--paper);
  z-index: 3;
}

.visual-caption span:last-child {
  font-size: 11px;
  text-align: end;
  opacity: 0.85;
}

.service-name {
  font-size: clamp(30px, 2.8vw, 42px);
}

.service-num,
.project-index {
  display: none;
}

.service-item > summary {
  gap: 16px;
  padding: 26px 0;
}

.service-body {
  padding-inline-start: 0;
  padding-inline-end: 15px;
  animation: none;
}

.service-tags span {
  font-size: 12px;
  border: 0;
  border-bottom: 1px solid #ffffff38;
  padding: 6px 0;
}

.service-tags {
  gap: 8px 20px;
}

.service-plus svg {
  width: 20px;
  height: 20px;
  display: block;
}

.project-grid {
  align-items: start;
}

.project-card:first-child {
  grid-column: span 2;
}

.project-card:first-child .project-button {
  aspect-ratio: 1.57;
}

.project-card:nth-child(2) .project-button {
  aspect-ratio: 0.785;
}

.project-card h3 {
  font-size: 28px;
}

.project-card p {
  font-size: 12px;
}

.project-arrow {
  width: 48px;
  height: 48px;
  border-radius: 0;
  opacity: 1;
  transform: none;
}

.project-button:hover .project-arrow svg {
  transform: translate(2px, -2px);
}

.project-arrow svg {
  transition: transform 0.2s;
}

.supply-list {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  width: 100%;
  font-size: 14px;
}

.supply-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.page-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

html[dir="rtl"] .page-progress {
  transform-origin: right;
}

.js-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.button svg,
.text-link svg,
.header-cta svg,
.scroll-mark svg,
.motion-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

.motion-toggle svg {
  width: 17px;
  height: 17px;
}

.lightbox-close {
  display: grid;
  place-items: center;
}

.identity-study,
.web-study,
.consult-study {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.identity-study {
  background: #b9b19e;
  perspective: 1200px;
}

.identity-sheet {
  position: absolute;
  top: 9%;
  left: 10%;
  width: 68%;
  height: 62%;
  background: #f3f0e9;
  color: var(--ink);
  padding: 32px;
  transform: rotate(-7deg);
  box-shadow: 5px 12px 30px #17191630;
}

.sheet-title {
  font: 48px/0.95 var(--serif);
  display: block;
}

.sheet-subtitle {
  display: block;
  margin-top: 24px;
  font-size: 12px;
}

.identity-palette {
  display: flex;
  margin-top: 30px;
}

.identity-palette span {
  display: block;
  width: 38px;
  height: 38px;
  background: var(--ink);
}

.identity-palette span:nth-child(2) {
  background: var(--gold);
}
.identity-palette span:nth-child(3) {
  background: #e4ded1;
}

.identity-card {
  position: absolute;
  width: 65%;
  height: 29%;
  top: 50%;
  left: 26%;
  transform: rotate(8deg);
  padding: 30px;
  background: #11130f;
  color: var(--gold);
  box-shadow: 4px 14px 25px #17191640;
}

.identity-card img {
  width: 100%;
}
.identity-card > span {
  display: block;
  font-size: 10px;
  margin-top: 12px;
}
.identity-type {
  position: absolute;
  bottom: 13%;
  left: 11%;
  font: 58px/1 var(--serif);
  color: var(--ink);
}
.identity-type small {
  display: block;
  font: 12px var(--sans);
  margin-top: 8px;
}

.web-study {
  background: #a7aea1;
  padding: 50px 35px;
}

.browser-study {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 6px 12px 26px #17191640;
}

.browser-top {
  height: 30px;
  background: #d7d9cf;
  color: #41493b;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 14px;
}

.browser-lights {
  display: flex;
  gap: 4px;
}
.browser-lights i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #68725e;
}
.browser-window {
  height: 370px;
  overflow: hidden;
}
.browser-page {
  animation: web-demo 10s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.study-visible .browser-page {
  animation-play-state: running;
}
.browser-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.browser-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.browser-hero > span {
  position: absolute;
  top: 55px;
  left: 25px;
  font: 48px/0.95 var(--serif);
  color: var(--paper);
}
.browser-copy {
  padding: 22px;
  font: 25px var(--serif);
  color: var(--ink);
}
.browser-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 22px 25px;
}
.browser-photos img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.browser-footer {
  padding: 22px;
  font-size: 10px;
  background: var(--ink);
  color: var(--gold);
}
.phone-study {
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 28%;
  height: 44%;
  background: #181b16;
  border: 5px solid #181b16;
  border-radius: 17px;
  overflow: hidden;
  transform: rotate(7deg);
  box-shadow: 5px 12px 20px #17191640;
}
.phone-study > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-speaker {
  position: absolute;
  top: 6px;
  left: 30%;
  width: 40%;
  height: 5px;
  background: #171916;
  border-radius: 10px;
  z-index: 2;
}
.phone-study > span {
  position: absolute;
  bottom: 20px;
  left: 10px;
  font: 25px/0.95 var(--serif);
  color: var(--paper);
}
@keyframes web-demo {
  0%,
  15% {
    transform: translateY(0);
  }
  85%,
  100% {
    transform: translateY(-135px);
  }
}

.consult-study {
  background: #dfdbce;
  color: #272f24;
}
.consult-lines {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  padding: 35px 15px;
}
.consult-lines path {
  stroke-dasharray: 900;
}
.consult-centre {
  position: absolute;
  top: 42%;
  left: 33%;
  width: 34%;
  text-align: center;
  padding: 22px 5px;
  background: var(--ink);
  color: var(--gold);
  font: 34px/1.1 var(--serif);
}
.consult-node {
  position: absolute;
  padding: 12px;
  font-size: 13px;
  background: #dfdbce;
  text-align: center;
  max-width: 35%;
}
.consult-node-one {
  top: 18%;
  left: 8%;
}
.consult-node-two {
  top: 18%;
  right: 4%;
}
.consult-node-three {
  bottom: 23%;
  right: 9%;
}
.consult-node-four {
  bottom: 23%;
  left: 5%;
}
.motion-paused .browser-page,
.page-hidden .browser-page {
  animation-play-state: paused;
}

body {
  scrollbar-color: #8e805f var(--paper);
}
input,
textarea {
  caret-color: var(--gold);
}
a {
  text-underline-offset: 5px;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 90px;
  }
  .expertise-visual {
    height: 590px;
  }
  .identity-sheet {
    padding: 24px;
  }
  .sheet-title {
    font-size: 40px;
  }
  .identity-card {
    padding: 22px;
  }
  .web-study {
    padding: 45px 20px;
  }
  .browser-window {
    height: 350px;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 770px;
  }
  .hero-content {
    padding-top: 165px;
  }
  .hero h1 {
    font-size: 82px;
  }
  .light-control {
    bottom: 105px;
    width: 190px;
  }
  .light-control input {
    width: 135px;
  }
  .hero-foot {
    flex-wrap: wrap;
  }
  .scroll-cue {
    display: none;
  }
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .expertise-visual {
    height: 560px;
  }
  .identity-sheet {
    padding: 20px;
  }
  .identity-card {
    padding: 18px;
  }
  .sheet-title {
    font-size: 36px;
  }
  .identity-type {
    font-size: 45px;
  }
  .project-card:first-child {
    grid-column: span 2;
  }
  .project-card:nth-child(2) .project-button {
    aspect-ratio: 0.75;
  }
}

@media (max-width: 560px) {
  .hero {
    height: auto;
    min-height: 820px;
  }
  .hero-content {
    padding-top: 155px;
    padding-bottom: 220px;
  }
  .hero h1 {
    font-size: 72px;
    margin-bottom: 24px;
  }
  .hero-copy {
    font-size: 14px;
    max-width: 290px;
  }
  .hero-foot {
    bottom: 39px;
    gap: 10px;
  }
  .light-control {
    bottom: 113px;
    inset-inline: var(--gutter);
    width: 100%;
    max-width: 240px;
  }
  .light-control input {
    width: 175px;
  }
  .scene-button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .motion-toggle {
    font-size: 11px;
  }
  .concept-label {
    bottom: 13px;
    font-size: 12px;
  }
  .display {
    font-size: 50px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .expertise-visual {
    position: relative;
    top: 0;
    height: 420px;
  }
  .expertise-heading,
  .portfolio-heading {
    margin-bottom: 32px;
    gap: 22px;
  }
  .service-name {
    font-size: 32px;
  }
  .service-body p {
    font-size: 15px;
  }
  .project-card:first-child .project-button {
    aspect-ratio: 1;
  }
  .project-card h3 {
    font-size: 24px;
  }
  .project-card p {
    font-size: 12px;
  }
  .project-arrow {
    width: 40px;
    height: 40px;
  }
  .identity-sheet {
    padding: 24px;
    width: 65%;
    height: 67%;
  }
  .sheet-title {
    font-size: 42px;
  }
  .identity-card {
    padding: 24px;
    width: 60%;
    height: 32%;
  }
  .identity-type {
    bottom: 13%;
    font-size: 45px;
  }
  .web-study {
    padding: 35px 25px;
  }
  .browser-window {
    height: 290px;
  }
  .browser-hero {
    height: 180px;
  }
  .browser-hero > span {
    font-size: 40px;
  }
  .phone-study {
    height: 49%;
    width: 27%;
  }
  .consult-centre {
    font-size: 27px;
  }
  html[dir="rtl"] .hero h1 {
    font-size: 56px;
  }
  html[dir="rtl"] .hero-content {
    padding-top: 140px;
  }
  html[dir="rtl"] .service-body {
    padding-inline-start: 0;
    padding-inline-end: 12px;
  }
}

@media (max-width: 360px) {
  .light-control {
    bottom: 160px;
  }
}

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

.form-note,
.footer-bottom {
  font-size: 12px;
}

/* DaVinci's controls: slim frames, deliberate type and quiet movement. */
.brand img,
.footer-brand img {
  mix-blend-mode: normal;
}
.brand {
  width: 190px;
}
.hero-content {
  max-width: 790px;
}
.hero h1 {
  font-size: clamp(70px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero h1 .hero-line {
  white-space: nowrap;
}
.hero-copy {
  font-size: 16px;
  line-height: 1.75;
  max-width: 355px;
  color: #eeece5;
}
.display {
  font-size: clamp(44px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.display em {
  font-style: normal;
}
.service-name {
  font-weight: 500;
  font-size: clamp(29px, 2.5vw, 36px);
}
.studio-copy .lead {
  font-size: clamp(23px, 2.1vw, 29px);
  line-height: 1.4;
}
.hero .button,
.contact .button {
  --action-ink: #f0d49a;
  --action-hover-ink: #171916;
  --action-hover-surface: #e8cd98;
}
.button {
  --action-ink: #252a23;
  --action-hover-ink: #edf0ed;
  --action-hover-surface: #252a23;
  position: relative;
  min-height: 52px;
  padding: 13px 18px;
  gap: 28px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: var(--action-ink);
  font: 500 14px/1.4 var(--sans);
  letter-spacing: 0.01em;
  transform: none;
  transition:
    background 220ms,
    color 220ms,
    border-color 220ms;
}
.button:hover {
  background: var(--action-hover-surface);
  color: var(--action-hover-ink);
  border-color: var(--action-hover-surface);
  transform: none;
}
.button > span:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 220ms var(--ease);
}
.button:hover > span:last-child {
  transform: translate(2px, -2px);
}
.header-cta {
  min-height: 44px;
  border: 1px solid #d6b77680;
  border-radius: 2px;
  padding: 10px 15px;
  gap: 16px;
  font-size: 13px;
  transition:
    background 220ms,
    border-color 220ms;
}
.header-cta:hover {
  background: #d6b7761a;
  border-color: var(--gold);
}
.language,
.menu-toggle {
  border: 1px solid #ffffff38;
  border-radius: 2px;
  transition:
    border-color 220ms,
    background 220ms;
}
.language:hover,
.menu-toggle:hover {
  border-color: var(--gold);
  background: #d6b77615;
}
.scene-controls {
  gap: 0;
  border: 1px solid #d6b77680;
  border-radius: 2px;
}
.scene-button {
  color: #efede7;
  border: 0;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  transition:
    background 220ms,
    color 220ms;
}
.scene-button.active {
  background: #e8cd98;
  color: #171916;
  border: 0;
}
.scene-button:hover:not(.active) {
  background: #d6b77620;
}
.motion-toggle {
  border: 1px solid #ffffff60;
  border-radius: 2px;
  padding: 8px 13px;
  font-size: 12px;
  letter-spacing: 0;
  transition:
    border-color 220ms,
    background 220ms;
}
.motion-toggle:hover {
  border-color: var(--gold);
  background: #d6b77615;
}
.filter-bar {
  gap: 8px 24px;
  padding-bottom: 0;
}
.filter {
  position: relative;
  background: transparent;
  color: #535a51;
  padding: 13px 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
}
.filter.active,
.filter:hover:not(.active) {
  background: transparent;
  color: var(--ink);
}
.filter.active {
  border-bottom-color: var(--ink);
}
.filter:hover:not(.active) {
  border-bottom-color: #535a5180;
}
.text-link {
  font-size: 14px;
  font-weight: 500;
  gap: 20px;
  padding-block: 10px;
  min-height: 44px;
}
.service-plus {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d6b77680;
  border-radius: 50%;
}
.service-item > summary:hover .service-plus {
  background: #d6b77615;
  border-color: var(--gold);
}
.project-arrow,
.lightbox-close,
.lightbox-caption button {
  border-radius: 50%;
}
.lightbox-caption button {
  border: 1px solid #ffffff60;
}
.visual-caption span:last-child,
.service-body .text-link {
  font-size: 13px;
}
.project-card h3 {
  font-weight: 500;
}
html[dir="rtl"] .hero h1 {
  font-size: clamp(46px, 5vw, 70px);
  line-height: 1.4;
}
html[dir="rtl"] .hero h1 .hero-line {
  white-space: normal;
}
html[dir="rtl"] .button,
html[dir="rtl"] .filter,
html[dir="rtl"] .scene-button,
html[dir="rtl"] .motion-toggle {
  font-family: "Noto Sans Arabic", Arial, sans-serif;
}
@media (max-width: 560px) {
  .brand {
    width: 155px;
  }
  .header-actions {
    gap: 12px;
  }
  .hero h1 {
    font-size: clamp(50px, 14vw, 68px);
  }
  .hero-content {
    padding-top: 165px;
  }
  .hero-copy {
    font-size: 16px;
    max-width: 290px;
  }
  .hero-content > .button {
    width: auto;
  }
  .hero-foot {
    gap: 12px;
    flex-wrap: wrap;
  }
  .scene-button {
    padding: 10px 9px;
    font-size: 11px;
  }
  .motion-toggle {
    padding: 8px 9px;
    font-size: 11px;
  }
  .display {
    font-size: 44px;
  }
  .filter-bar {
    gap: 0 20px;
  }
  .filter {
    font-size: 13px;
  }
  html[dir="rtl"] .hero h1 {
    font-size: 42px;
  }
  .service-body p {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .button > span:last-child,
  .scene-button,
  .motion-toggle {
    transition: none;
  }
}
