/* Latifa Alzamil Studio — shared styles for the Arabic and English pages. */
/* Brand colours and page spacing are defined in :root below. */

@font-face {
  font-family: Plex;
  src: url('../fonts/arabic-regular.ttf') format('truetype');
  font-display: swap;
}
:root {
  --paper: #f3f1eb;
  --ink: #292c26;
  --muted: #76796d;
  --line: #d8d8cd;
  --dark: #272b25;
  --accent: #b8c1a7;
  --pad: clamp(24px, 5vw, 90px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 118px;
  scrollbar-width: thin;
  scrollbar-color: #77796b80 transparent;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.9 Plex,
    Tahoma,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
[tabindex='0']:focus-visible {
  outline: 2px solid #9ca38b;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
em {
  font-style: normal;
  color: var(--muted);
}
.skip {
  position: fixed;
  top: -80px;
  background: var(--paper);
  padding: 10px 20px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.section {
  padding: 110px var(--pad);
}
h2 {
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.45;
  letter-spacing: -1.8px;
}
.section-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.arrow {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
}
.text-link:hover .arrow {
  transform: translate(3px, -3px);
}
.dark-link {
  border-bottom: 1px solid var(--line);
}
.inline-instagram {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 26px;
  border: 1px solid transparent;
  font-size: 16px;
  min-height: 58px;
  position: relative;
  overflow: hidden;
  transition:
    color 0.35s,
    background 0.35s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.light {
  background: var(--paper);
  color: var(--ink);
}
.button:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px #0002;
  background: #d6decb;
}
.button:hover .arrow {
  transform: translate(3px, -3px);
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: #aebc98;
  z-index: 80;
  pointer-events: none;
}
/* Floating, centered navigation */
header {
  position: fixed;
  inset: 18px 3vw auto;
  height: 82px;
  padding: 0 25px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #33372d6b;
  color: #f5f5ed;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 10px 40px #1111;
  transition:
    background 0.45s,
    height 0.45s,
    border-color 0.45s,
    box-shadow 0.45s;
}
header.scrolled {
  height: 72px;
  background: #f3f1ebeb;
  color: var(--ink);
  border-color: #ffffffc0;
  box-shadow: 0 8px 30px #25282016;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  perspective: 600px;
  justify-self: start;
}
.brand img {
  width: 52px;
  height: 52px;
  filter: brightness(0) invert(1);
  transition: transform 0.35s var(--ease);
}
.scrolled .brand img,
header:has(nav.open) .brand img {
  filter: none;
}
.brand-text {
  font-size: 18px;
  line-height: 1.5;
  white-space: nowrap;
}
.brand small {
  display: block;
  font:
    9px/1.5 Arial,
    sans-serif;
  letter-spacing: 1px;
}
.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}
.language-switch {
  font: 13px Arial;
  border: 1px solid #ffffff40;
  display: grid;
  place-items: center;
  min-width: 39px;
  height: 35px;
  border-radius: 6px;
  transition:
    background 0.3s,
    transform 0.3s;
}
.language-switch:hover {
  background: #fff2;
  transform: translateY(-2px);
}
.scrolled .language-switch {
  border-color: var(--line);
}
#navigation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 5px 12px;
  isolation: isolate;
}
#navigation a {
  position: relative;
  padding: 8px 0;
  min-height: 42px;
  font-size: 15px;
  white-space: nowrap;
}
#navigation a:after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
#navigation a:hover:after,
#navigation a:focus-visible:after,
#navigation a[aria-current='location']:after {
  transform: scaleX(1);
}
.nav-indicator {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 4px;
  height: calc(100% - 8px);
  width: 0;
  border-radius: 7px;
  background: #ffffff14;
  opacity: 0;
  transition:
    width 0.5s var(--ease),
    transform 0.5s var(--ease),
    opacity 0.25s;
}
.scrolled .nav-indicator {
  background: #dce0d273;
}
.nav-word {
  height: 28px;
  display: block;
  overflow: hidden;
}
.nav-word > span {
  display: block;
  height: 28px;
  line-height: 28px;
  transition: transform 0.6s var(--ease);
}
#navigation a:hover .nav-word > span,
#navigation a:focus-visible .nav-word > span {
  transform: translateY(-100%);
}
.menu-toggle {
  display: none;
}
/* Architectural opening */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: 100svh;
  min-height: 810px;
  max-height: 1120px;
  padding: 135px var(--pad) 150px;
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}
.hero:after {
  content: '';
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 104px;
  height: 1px;
  background: #ffffff24;
}
.hero-content {
  width: 49%;
  padding-inline-end: 35px;
  position: relative;
  z-index: 3;
}
.hero-kicker {
  font:
    12px/1.8 Arial,
    sans-serif;
  letter-spacing: 3px;
  color: #e3e9d9;
  margin-bottom: 28px;
  width: fit-content;
}
.hero-kicker span {
  display: block;
  font-size: 9px;
  letter-spacing: 4px;
  color: #aeb5a2;
}
.eyebrow {
  font-size: 13px;
  color: #b6beac;
  margin-bottom: 17px;
}
h1 {
  font-size: clamp(39px, 4.1vw, 65px);
  line-height: 1.6;
  letter-spacing: -1.8px;
}
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 6px;
  margin-bottom: -6px;
}
.hero-line > span {
  display: block;
  transform-origin: center bottom;
}
.hero-line:last-child {
  color: #c5ceb7;
}
.hero-description {
  font-size: 17px;
  line-height: 1.9;
  color: #c4c9bb;
  margin-top: 25px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}
.actions .text-link {
  font-size: 14px;
  color: #d7decf;
}
.down {
  display: inline-block;
  animation: down-hint 2s ease-in-out infinite;
}
.hero-image {
  position: absolute;
  top: 143px;
  bottom: 130px;
  left: var(--pad);
  width: 46%;
  overflow: hidden;
  border-radius: 3px;
  transform: translateY(var(--hero-shift, 0px));
  background: #8e9280;
  box-shadow: 0 20px 70px #10140b33;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-position: center;
  transform: scale(1.04);
}
.hero-image-cover {
  position: absolute;
  inset: 0;
  background: var(--paper);
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left;
}
.hero > .slogan {
  position: absolute;
  bottom: 41px;
  left: var(--pad);
  margin: 0;
  text-align: left;
  font:
    italic clamp(18px, 1.8vw, 27px) / 1.25 Georgia,
    serif;
  color: #d5dbcd;
}
.hero-signature {
  position: absolute;
  bottom: 24px;
  inset-inline-start: var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-signature img {
  height: 61px;
  width: 61px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.hero-signature span {
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 2px;
  opacity: 0.55;
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 1px;
  height: 42px;
  background: #fff2;
  overflow: hidden;
}
.hero-scroll-cue span {
  display: block;
  width: 100%;
  height: 50%;
  background: #cbd6bd;
  animation: scroll-cue 1.8s ease-in-out infinite;
}
.hero-image-cover {
  animation: hero-curtain 1.5s var(--ease) both;
}
.hero-image img {
  animation: hero-photo 2s var(--ease) both;
}
.hero-line > span {
  animation: title-enter 1.2s var(--ease) calc(0.2s + var(--line-delay)) both;
}
.hero-kicker,
.eyebrow,
.hero-description,
.actions,
.hero > .slogan {
  animation: soft-enter 1s var(--ease) both;
}
.eyebrow {
  animation-delay: 0.15s;
}
.hero-description {
  animation-delay: 0.4s;
}
.actions {
  animation-delay: 0.6s;
}
.hero > .slogan {
  animation-delay: 0.9s;
}
@keyframes hero-curtain {
  0%,
  12% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes hero-photo {
  from {
    transform: scale(1.22);
    filter: brightness(0.75);
  }
  to {
    transform: scale(1.04);
    filter: brightness(1);
  }
}
@keyframes title-enter {
  from {
    transform: translateY(115%) rotate(3deg);
    opacity: 0.2;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes soft-enter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes down-hint {
  0%,
  100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(4px);
  }
}
@keyframes scroll-cue {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(240%);
  }
}
/* Studio and portfolio */
.intro {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 80px;
  align-items: center;
  padding-top: 125px;
  padding-bottom: 125px;
}
.studio-mark {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-top: 30px;
  transition:
    transform 0.7s var(--ease),
    filter 0.7s;
}
.studio-mark:hover {
  transform: perspective(600px) rotateY(-14deg) rotateX(5deg);
  filter: drop-shadow(12px 15px 10px #292c2616);
}
.intro-tag {
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 3px;
  color: #939885;
  margin-bottom: 25px;
  width: fit-content;
}
.intro h2 {
  font-size: clamp(38px, 4.3vw, 65px);
}
.intro-bottom {
  margin-top: 25px;
}
.intro-bottom p {
  max-width: 650px;
  line-height: 2.05;
  color: var(--muted);
  font-size: 17px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 42px;
}
.section-heading .section-label {
  margin-bottom: 14px;
}
.work {
  padding-top: 15px;
}
.projects {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 65px 50px;
  align-items: start;
}
.project:nth-child(even) {
  padding-top: 100px;
}
.image-button {
  display: block;
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  background: #dcddd2;
  overflow: hidden;
  color: var(--ink);
}
.project .image-button {
  aspect-ratio: 4/4.7;
}
.project:nth-child(even) .image-button {
  aspect-ratio: 4/3;
}
.image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.15s var(--ease),
    filter 0.8s;
}
.image-button:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #22291c3d, transparent 36%);
  opacity: 0;
  transition: opacity 0.5s;
}
.expand {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  background: var(--paper);
  padding: 12px;
  color: var(--ink);
  transition:
    transform 0.5s var(--ease),
    background 0.5s;
}
.view-label {
  font-size: 12px;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 0.5s var(--ease),
    opacity 0.5s;
}
.image-button:hover img,
.image-button:focus-visible img {
  transform: scale(1.075);
  filter: brightness(1.035);
}
.image-button:hover:after {
  opacity: 1;
}
.image-button:hover .expand {
  transform: translateY(-5px);
  background: #e2e9d9;
}
.image-button:hover .view-label,
.image-button:focus-visible .view-label {
  max-width: 120px;
  opacity: 1;
}
.project-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: baseline;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.project-info h3 {
  font-size: 23px;
}
.project-info > span {
  font-size: 12px;
  color: var(--muted);
}
.project-info .project-number {
  font: 11px Arial;
  color: #979b8b;
}
.small-copy {
  color: var(--muted);
  font-size: 15px;
}
/* Services */
.services {
  background: var(--dark);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
}
.services .section-label,
.services em,
.services p {
  color: #b0baa4;
}
.service-intro {
  align-self: start;
  position: sticky;
  top: 130px;
}
.service-intro > p {
  margin-top: 25px;
}
.service-list article {
  display: flex;
  gap: 32px;
  padding: 30px 20px;
  border-top: 1px solid #596151;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.service-list article:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #3a4333;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}
.service-list article:hover:before {
  transform: scaleX(1);
}
.service-list article > span {
  font: 11px Arial;
  color: #87927b;
  padding-top: 20px;
}
.service-list h3 {
  font-size: 31px;
  margin-bottom: 6px;
  transition: transform 0.5s var(--ease);
}
.service-list article:hover h3 {
  transform: translateX(-7px);
}
.service-list p {
  font-size: 15px;
}
/* Compact continuous client strip */
.clients.client-strip {
  display: flex;
  align-items: center;
  padding: 18px var(--pad);
  gap: 22px;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}
.client-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.client-caption {
  font-size: 12px;
  color: #85887a;
  white-space: nowrap;
}
.client-filter-defs {
  position: absolute;
  pointer-events: none;
}
.client-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  direction: ltr;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.client-track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: client-loop 24s linear infinite;
  will-change: transform;
}
.client-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: max(100vw, 1120px);
  gap: 28px;
  padding: 0 14px;
}
.client-item {
  width: 160px;
  height: 56px;
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-art {
  display: block;
  max-width: none;
  overflow: hidden;
  filter: brightness(0);
  opacity: 0.5;
}
.client-art-almajdiah {
  filter: none;
}
.client-pause {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #85887b;
  padding: 7px;
}
.client-pause:hover {
  background: #e3e5d9;
}
.client-pause svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.client-pause .play-icon {
  display: none;
}
.client-pause[aria-pressed='true'] .pause-icon {
  display: none;
}
.client-pause[aria-pressed='true'] .play-icon {
  display: block;
}
.client-strip.is-paused .client-track,
.client-strip.is-offscreen .client-track {
  animation-play-state: paused;
}
.client-marquee:focus-visible {
  outline: 1px solid #8a897d;
  outline-offset: 4px;
}
@keyframes client-loop {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
/* Gallery and first steps */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.gallery .image-button {
  aspect-ratio: 3/4;
  margin: 0;
}
.gallery-section {
  padding-bottom: 100px;
}
.start {
  padding-top: 15px;
  padding-bottom: 100px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 45px;
}
.steps > div {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.steps > div > span {
  font: 12px Arial;
  color: #9da28f;
}
.steps h3 {
  font-size: 23px;
  margin: 18px 0 7px;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
}
/* Accounts and closing */
.social-section {
  background: #e3e7db;
}
.social-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #bdc4b1;
}
.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
  padding: 28px 20px;
  min-height: 195px;
  border-inline-end: 1px solid #bdc4b1;
  border-bottom: 1px solid #bdc4b1;
  isolation: isolate;
  overflow: hidden;
}
.social-card:last-child {
  border-inline-end: 0;
}
.social-card:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f4f6ec;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.social-card:hover:before {
  transform: translateY(0);
}
.social-card > img {
  width: 27px;
  height: 27px;
  transition: transform 0.5s var(--ease);
}
.social-card:hover > img {
  transform: translateY(-4px) rotate(-8deg);
}
.social-card > .arrow {
  position: absolute;
  top: 36px;
  inset-inline-end: 20px;
}
.social-card:hover > .arrow {
  transform: translate(3px, -3px);
}
.social-label {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.social-label strong {
  display: block;
  font:
    20px Arial,
    sans-serif;
}
.social-label small {
  display: block;
  font: 11px/1.6 Arial;
  color: #7b8370;
  margin-top: 9px;
}
.social-featured {
  background: #d2dac6;
}
.social-recommended {
  display: block;
  direction: rtl;
  margin-top: 11px;
  font-size: 12px;
  color: #5d684e;
}
.contact {
  background: var(--dark);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 95px var(--pad) 35px;
}
.contact:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 70%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #7b8b5740, transparent 68%);
  pointer-events: none;
}
.contact > .section-label {
  color: #b9c6a7;
  position: relative;
}
.contact h2 {
  position: relative;
  font-size: clamp(52px, 6.8vw, 98px);
  line-height: 1.35;
}
.contact em {
  color: #b9c7a7;
}
.contact > .button {
  margin-top: 30px;
}
.contact-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #546147;
  padding-top: 24px;
  margin-top: 70px;
  font-size: 14px;
  color: #c7d0bc;
}
.contact-bottom a[dir] {
  font-family: Arial;
}
.contact-bottom a:last-child {
  display: flex;
  gap: 12px;
  align-items: center;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 30px var(--pad) 90px;
  font-size: 12px;
  color: var(--muted);
}
.footer-name {
  font-size: 17px;
  color: var(--ink);
}
.forma {
  display: flex;
  gap: 7px;
  align-items: center;
  font: 11px Arial;
}
.forma b {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--ink);
}
.whatsapp-float {
  position: fixed;
  z-index: 45;
  inset-inline-end: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border-radius: 50px;
  background: #187c4d;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 7px 26px #123b2529;
  transition:
    transform 0.4s,
    background 0.4s,
    opacity 0.3s;
}
.whatsapp-float svg {
  width: 23px;
  height: 23px;
}
.whatsapp-float:hover {
  transform: translateY(-4px);
  background: #136b40;
}
.contact-in-view .whatsapp-float {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
dialog {
  max-width: min(1100px, 94vw);
  max-height: 94svh;
  width: fit-content;
  padding: 0;
  border: 0;
  background: #22271e;
  color: var(--paper);
  overflow: auto;
  border-radius: 4px;
}
dialog::backdrop {
  background: #11170feb;
  backdrop-filter: blur(8px);
}
dialog > img {
  width: auto;
  max-width: 100%;
  max-height: 77svh;
  object-fit: contain;
}
.close-dialog {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: 28px Arial;
}
.lightbox-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 22px;
  font-size: 14px;
}
.lightbox-bottom a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.lightbox-bottom .inline-instagram {
  filter: invert(1);
}
dialog[open] {
  animation: dialog-enter 0.5s var(--ease);
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Scroll and entrance animation */
.reveal {
  opacity: 1;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(55px);
  transition:
    opacity 1s ease var(--reveal-delay, 0ms),
    transform 1.25s var(--ease) var(--reveal-delay, 0ms);
}
.motion-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.motion-ready .project .image-button,
.motion-ready .gallery .image-button {
  clip-path: inset(8% 0 8% 0);
  transition: clip-path 1.4s var(--ease) var(--reveal-delay, 0ms);
}
.motion-ready .project.visible .image-button,
.motion-ready .gallery .image-button.visible {
  clip-path: inset(0);
}
.motion-ready .project:not(.visible) img,
.motion-ready .gallery .image-button:not(.visible) img {
  transform: scale(1.13);
}
.section-arrival > h2,
.section-arrival > .section-heading h2 {
  animation: soft-enter 0.8s var(--ease);
}
section:focus {
  outline: none;
}
html.is-navigating {
  scroll-behavior: auto !important;
}
::-webkit-scrollbar {
  width: 7px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #7a806e80;
  border-radius: 8px;
}
html[lang='en'] body {
  font-family: Arial, sans-serif;
  line-height: 1.7;
}
html[lang='en'] .hero-image {
  left: auto;
  right: var(--pad);
}
html[lang='en'] .hero > .slogan {
  left: auto;
  right: var(--pad);
}
html[lang='en'] h1 {
  font-size: clamp(38px, 4.05vw, 63px);
  line-height: 1.22;
  letter-spacing: -2px;
}
html[lang='en'] h2 {
  line-height: 1.2;
  letter-spacing: -1.6px;
}
html[lang='en'] .hero-description {
  line-height: 1.7;
}
html[lang='en'] .brand-text {
  font-size: 16px;
}
html[lang='en'] .social-recommended {
  direction: ltr;
}
html[lang='en'] #navigation a:after {
  transform-origin: left;
}
/* Responsive layouts — keep after the base styles. */
@media (min-width: 901px) and (max-width: 1200px) {
  header {
    padding: 0 18px;
    gap: 12px;
  }
  .brand-text {
    font-size: 15px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  #navigation {
    gap: 20px;
  }
  #navigation a {
    font-size: 14px;
  }
  .hero-content {
    padding-inline-end: 15px;
  }
  .hero-image {
    width: 44%;
  }
  .hero {
    min-height: 790px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .services {
    gap: 50px;
  }
  .project-info {
    gap: 9px;
  }
  .project-info h3 {
    font-size: 20px;
  }
  .project-info > span:last-child {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  header,
  header.scrolled {
    inset: 12px 16px auto;
    height: 70px;
    padding: 0 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .brand-text {
    font-size: 16px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand img {
    width: 41px;
    height: 41px;
  }
  .header-tools {
    gap: 9px;
  }
  .language-switch {
    min-width: 33px;
    height: 32px;
    font-size: 12px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 31px;
    height: 36px;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
  }
  .menu-toggle i {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 0.4s var(--ease);
  }
  .menu-toggle[aria-expanded='true'] i:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] i:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  #navigation {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 25px;
    background: #f3f1ebf5;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 15px 30px #18200c20;
    backdrop-filter: blur(20px);
  }
  #navigation.open {
    display: flex;
    flex-direction: column;
    gap: 9px;
    animation: menu-enter 0.6s var(--ease);
  }
  #navigation a {
    font-size: 22px;
    min-height: 48px;
  }
  #navigation .nav-word {
    height: 32px;
  }
  #navigation .nav-word > span {
    height: 32px;
    line-height: 32px;
  }
  .nav-indicator {
    display: none;
  }
  header:has(nav.open) {
    background: var(--paper);
    color: var(--ink);
  }
  .hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 135px var(--pad) 110px;
    gap: 45px;
  }
  .hero-content {
    width: 100%;
    padding: 0;
  }
  .hero-kicker {
    margin-bottom: 20px;
  }
  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 380px;
    order: 2;
    transform: none !important;
    box-shadow: 0 15px 40px #0002;
  }
  .hero-content {
    order: 1;
  }
  .hero .slogan {
    order: 3;
  }
  .hero:after {
    bottom: 84px;
  }
  .hero-signature {
    bottom: 13px;
  }
  .hero-signature img {
    width: 50px;
    height: 50px;
  }
  .hero-signature span {
    display: none;
  }
  .hero > .slogan {
    bottom: 25px;
    left: var(--pad);
    font-size: 20px;
    max-width: 230px;
  }
  .hero-scroll-cue {
    display: none;
  }
  h1,
  .hero h1 {
    font-size: 52px;
    line-height: 1.5;
  }
  .hero-description {
    font-size: 16px;
    margin-top: 20px;
  }
  .actions {
    margin-top: 24px;
  }
  .intro {
    grid-template-columns: 1fr 2.5fr;
    gap: 25px;
  }
  .studio-mark {
    width: 130px;
    height: 130px;
  }
  .intro h2 {
    font-size: 38px;
  }
  .intro-bottom p {
    font-size: 16px;
  }
  .section {
    padding: 75px var(--pad);
  }
  .work {
    padding-top: 0;
  }
  .projects {
    gap: 42px 25px;
  }
  .project:nth-child(even) {
    padding-top: 70px;
  }
  .project-info {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .project-info > span:last-child {
    grid-column: 2;
  }
  .project-info h3 {
    font-size: 21px;
  }
  .services {
    gap: 35px;
    grid-template-columns: 1fr 1.2fr;
  }
  .service-list article {
    gap: 20px;
    padding: 24px 8px;
  }
  .service-list h3 {
    font-size: 25px;
  }
  .social-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .social-card:nth-child(3) {
    border-inline-end: 0;
  }
  .contact h2 {
    font-size: 63px;
  }
  .clients.client-strip {
    padding: 16px 24px;
  }
  .client-controls {
    flex-direction: column;
    gap: 0;
  }
  .client-caption {
    font-size: 11px;
  }
  .client-group {
    min-width: 1080px;
    gap: 20px;
    padding: 0 10px;
  }
  .client-item {
    height: 50px;
  }
  .client-art {
    max-height: 45px;
  }
  .client-track {
    animation-duration: 22s;
  }
  .client-strip {
    gap: 10px !important;
  }
  .client-pause {
    width: 24px;
    height: 24px;
  }
  .service-intro {
    position: static;
  }
  html[lang='en'] .hero-image {
    right: auto;
  }
  html[lang='en'] h1 {
    font-size: 52px;
    max-width: 660px;
    line-height: 1.16;
  }
  html[lang='en'] .brand-text {
    font-size: 14px;
  }
  @keyframes menu-enter {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 600px) {
  :root {
    --pad: 24px;
  }
  .hero {
    padding-top: 130px;
    gap: 35px;
    padding-bottom: 100px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 50px);
    letter-spacing: -1px;
  }
  .hero-image {
    height: 330px;
  }
  .hero-kicker {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .hero > .slogan {
    font-size: 18px;
    max-width: 205px;
  }
  .hero > .slogan br {
    display: none;
  }
  .hero-signature img {
    height: 45px;
    width: 45px;
  }
  .hero-description {
    font-size: 15px;
  }
  .button {
    font-size: 14px;
    padding: 14px 20px;
    min-height: 53px;
    gap: 24px;
  }
  .actions {
    gap: 22px;
  }
  .actions .text-link {
    font-size: 13px;
  }
  .intro {
    display: block;
    padding-top: 65px;
    padding-bottom: 70px;
  }
  .intro-identity .section-label {
    margin-bottom: 25px;
  }
  .studio-mark {
    display: none;
  }
  .intro-tag {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .intro h2,
  h2 {
    font-size: 37px;
    letter-spacing: -1px;
  }
  .intro-bottom p {
    font-size: 16px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > .text-link {
    margin-top: 17px;
    font-size: 13px;
  }
  .projects {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project:nth-child(even) {
    padding-top: 0;
  }
  .project .image-button {
    aspect-ratio: 4/4.5;
  }
  .project:nth-child(even) .image-button {
    aspect-ratio: 4/3;
  }
  .project-info {
    grid-template-columns: auto 1fr auto;
    gap: 13px;
  }
  .project-info > span:last-child {
    grid-column: auto;
    font-size: 11px;
  }
  .project-info h3 {
    font-size: 20px;
  }
  .expand {
    padding: 10px;
    bottom: 15px;
    left: 15px;
  }
  .view-label {
    display: none;
  }
  .services {
    display: block;
  }
  .service-intro {
    margin-bottom: 35px;
  }
  .service-intro h2 {
    font-size: 41px;
  }
  .service-list h3 {
    font-size: 26px;
  }
  .service-list article > span {
    padding-top: 14px;
  }
  .service-list p {
    font-size: 14px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .gallery .image-button:last-child {
    grid-column: 1/-1;
    aspect-ratio: 4/3;
  }
  .small-copy {
    font-size: 14px;
    margin-top: 13px;
  }
  .gallery-section {
    padding-bottom: 65px;
  }
  .start {
    padding-top: 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
  }
  .steps > div {
    padding-top: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 15px;
  }
  .steps > div > span {
    padding-top: 11px;
  }
  .steps h3 {
    margin: 0;
    font-size: 22px;
  }
  .steps p {
    grid-column: 2;
    font-size: 14px;
  }
  .social-links {
    grid-template-columns: 1fr;
  }
  .social-card {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    padding: 22px 15px;
    gap: 18px;
    border-inline-end: 0;
  }
  .social-card > .arrow {
    position: static;
    margin-inline-start: auto;
  }
  .social-label strong {
    font-size: 19px;
  }
  .social-recommended {
    font-size: 11px;
    margin-top: 5px;
  }
  .social-label small {
    margin-top: 5px;
    font-size: 11px;
  }
  .contact h2 {
    font-size: 49px;
  }
  .contact-bottom {
    flex-direction: column;
    gap: 16px;
    margin-top: 50px;
  }
  .contact-bottom a {
    font-size: 14px;
  }
  footer {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 90px;
  }
  .lightbox-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    font-size: 14px;
  }
  dialog > img {
    max-height: 72svh;
  }
  .whatsapp-float {
    inset-inline-end: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 11px 16px;
    font-size: 13px;
  }
  .whatsapp-float svg {
    width: 21px;
    height: 21px;
  }
  .client-group {
    min-width: 960px;
    gap: 0;
    padding: 0;
  }
  .client-item {
    flex-basis: 160px;
  }
  .client-controls {
    gap: 0;
  }
  .client-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  html[lang='en'] h1 {
    font-size: clamp(38px, 10vw, 49px);
    letter-spacing: -1.7px;
  }
  html[lang='en'] .contact h2 {
    font-size: 44px;
  }
}

@media (max-width: 600px) {
  .brand-text {
    font-size: 14px;
  }
  .brand small {
    font-size: 6.5px;
    letter-spacing: 0.4px;
  }
  .brand {
    gap: 8px;
  }
  html[lang='en'] .brand-text {
    font-size: 12px;
  }
}

/* Compact contact links */
.contact-bottom {
  gap: 24px;
  text-align: start;
}
.contact-copyright {
  font-size: 12px;
  white-space: nowrap;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.contact-bottom .footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 40px;
  width: 40px;
  height: 40px;
  min-width: 32px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition:
    background 0.35s,
    border-color 0.35s,
    transform 0.45s var(--ease);
}
.footer-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition:
    opacity 0.3s,
    transform 0.5s var(--ease);
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  background: #ffffff0f;
  border-color: #c7d0bc40;
  transform: translateY(-4px);
}
.footer-social-link:hover img,
.footer-social-link:focus-visible img {
  opacity: 1;
  transform: rotate(-7deg) scale(1.08);
}
@media (max-width: 600px) {
  .contact-bottom {
    gap: 16px;
  }
  .contact-copyright {
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
    gap: 4px;
  }
  .contact-bottom .footer-social-link {
    flex-basis: 38px;
    width: 38px;
    height: 40px;
  }
}

/* Studio slogan: a compact opening signature and a clear closing statement. */
.hero > .slogan {
  font-style: normal;
  line-height: 1.2;
  max-width: 46%;
  bottom: 35px;
}
.slogan-lead {
  display: block;
  font:
    400 11px/1.5 Arial,
    sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #d5dbcd;
  margin-bottom: 5px;
}
.slogan-finish {
  display: block;
  font:
    italic 400 clamp(23px, 2.15vw, 32px) / 1.15 Georgia,
    'Times New Roman',
    serif;
  color: #f3f1eb;
  letter-spacing: -0.025em;
}
footer.studio-footer {
  display: block;
  padding: 0 var(--pad) 35px;
  background: var(--paper);
}
.footer-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1080px;
  margin-inline: auto;
  padding: 65px 0 58px;
  text-align: left;
}
.signature-mark {
  width: 82px;
  height: 94px;
  flex: 0 0 82px;
  object-fit: contain;
}
.signature-copy {
  min-width: 0;
}
.signature-name {
  font:
    400 11px/1.5 Arial,
    sans-serif;
  letter-spacing: 0.22em;
  color: #626957;
  margin-bottom: 16px;
}
.signature-slogan {
  font:
    400 clamp(34px, 4.3vw, 66px) / 1.13 Georgia,
    'Times New Roman',
    serif;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}
.signature-slogan > span {
  display: block;
}
.signature-slogan .signature-dreams {
  font-style: italic;
  color: #637052;
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
@media (max-width: 900px) {
  .hero > .slogan {
    bottom: 21px;
    max-width: 65%;
  }
  .slogan-lead {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .slogan-finish {
    font-size: 24px;
  }
  .footer-signature {
    gap: 25px;
    padding: 54px 0;
  }
  .signature-mark {
    width: 64px;
    height: 80px;
    flex-basis: 64px;
  }
  .signature-slogan {
    font-size: clamp(34px, 5vw, 45px);
  }
}
@media (max-width: 600px) {
  .hero > .slogan {
    bottom: 23px;
    max-width: calc(100% - 110px);
  }
  .slogan-lead {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
  }
  .slogan-finish {
    font-size: 22px;
  }
  footer.studio-footer {
    padding-bottom: 90px;
  }
  .footer-signature {
    flex-direction: column;
    gap: 19px;
    text-align: center;
    padding: 42px 0 38px;
  }
  .signature-mark {
    width: 56px;
    height: 62px;
    flex-basis: auto;
  }
  .signature-name {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 13px;
  }
  .signature-slogan {
    font-size: clamp(27px, 7.2vw, 39px);
    line-height: 1.2;
    letter-spacing: -0.035em;
  }
  .footer-meta {
    flex-direction: column;
    gap: 16px;
    padding-top: 23px;
  }
}
