:root {
  color-scheme: light;
  --ink: #151411;
  --stone: #565049;
  --muted: #787068;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #ded7cb;
  --gold: #c6a15a;
  --bronze: #8c6044;
  --charcoal: #24211d;
  --shadow: 0 24px 70px rgba(30, 26, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(198, 161, 90, 0.10), transparent 36%),
    linear-gradient(300deg, rgba(86, 80, 73, 0.10), transparent 42%),
    var(--paper);
  color: var(--ink);
  direction: rtl;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 42px);
  background: rgba(247, 244, 238, 0.78);
  border-bottom: 1px solid rgba(222, 215, 203, 0.75);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.topbar.is-raised {
  background: rgba(247, 244, 238, 0.92);
  box-shadow: 0 14px 34px rgba(21, 20, 17, 0.12);
}

.brand,
.topbar nav,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

main {
  width: 100%;
  overflow-x: hidden;
}

.brand-mark {
  overflow: hidden;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(21, 20, 17, 0.2);
  border-radius: 50%;
  background: var(--surface);
}

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

.topbar nav {
  gap: clamp(10px, 3vw, 22px);
  color: var(--stone);
  font-size: 0.92rem;
  font-weight: 800;
}

.topbar nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-shade {
  background:
    radial-gradient(circle at 22% 22%, rgba(198, 161, 90, 0.28), transparent 28%),
    linear-gradient(270deg, rgba(14, 13, 11, 0.76), rgba(14, 13, 11, 0.32) 58%, rgba(14, 13, 11, 0.52)),
    linear-gradient(to top, rgba(14, 13, 11, 0.86), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 120px clamp(18px, 5vw, 72px) 72px;
  color: white;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 10vw, 7.2rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.35rem, 8vw, 5.5rem);
  line-height: 0.95;
}

.intro h2 span {
  display: block;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2.2vw, 1.3rem);
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--gold);
  color: #16130f;
}

.button.secondary,
.button.glass {
  border-color: rgba(255, 255, 255, 0.38);
  color: white;
}

.button.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.button.dark {
  background: var(--charcoal);
  color: white;
}

.sound-button,
.audio-toggle,
.lightbox-close {
  border: 0;
  cursor: pointer;
}

.sound-button,
.audio-toggle {
  display: grid;
  place-items: center;
  color: white;
}

.sound-button {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  bottom: 28px;
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.audio-toggle {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 11, 10, 0.58);
  backdrop-filter: blur(12px);
}

.icon-volume,
.icon-close {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[aria-pressed="true"] .icon-volume-off,
[aria-pressed="false"] .icon-volume-on {
  display: none;
}

.intro,
.section,
.contact {
  padding: clamp(54px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.intro p:not(.section-kicker),
.section-heading p,
.services-grid p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.intro p:not(.section-kicker) {
  margin: 0;
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading,
.intro,
.contact {
  text-align: right;
}

.section-heading p {
  max-width: 34rem;
  margin: 14px 0 0;
}

.portfolio-stack {
  display: grid;
  gap: clamp(22px, 4vw, 38px);
}

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

.portfolio-group {
  display: grid;
  gap: 12px;
}

.group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.group-heading span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.image-strip {
  display: block;
  direction: ltr;
  overflow: hidden;
  padding: 0;
}

.strip-wrap {
  position: relative;
  width: 100%;
  direction: ltr;
  overflow: hidden;
}

.strip-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.62));
  transition: transform 160ms ease, opacity 160ms ease;
}

.strip-arrow:hover {
  opacity: 0.78;
}

.strip-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.strip-arrow svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strip-arrow-prev {
  left: 14px;
}

.strip-arrow-next {
  right: 14px;
}

.portfolio-item {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(222, 215, 203, 0.9);
  border-radius: 8px;
  padding: 0;
  background: #ede8de;
  box-shadow: 0 16px 40px rgba(30, 26, 20, 0.08);
  color: inherit;
  direction: rtl;
}

.portfolio-item.is-video {
  flex-basis: auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 9 / 16;
  background: #11100e;
}

.portfolio-item.is-image {
  display: none;
  width: 100%;
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
  background: #ece7dc;
}

.portfolio-item.is-image.is-active {
  display: block;
}

.portfolio-item img,
.portfolio-item video {
  height: 100%;
}

.portfolio-item img {
  background: #ece7dc;
  object-fit: cover;
}

.portfolio-item video {
  object-fit: cover;
}

.services-section {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.services-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(140deg, rgba(198, 161, 90, 0.12), transparent 42%),
    #fbfaf7;
}

.services-grid span {
  color: var(--bronze);
  font-weight: 900;
}

.services-grid p {
  margin: 24px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  background: var(--charcoal);
  color: white;
}

.contact p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.74);
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card span {
  font-size: clamp(1.35rem, 4vw, 2.4rem);
  font-weight: 900;
}

.contact-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.social-links {
  display: flex;
  gap: 10px;
  margin: 0;
}

.social-link {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: #151411;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

footer a {
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 0;
  background: rgba(7, 6, 5, 0.96);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  width: 100%;
  height: 100svh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  z-index: 42;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  filter: drop-shadow(0 3px 9px rgba(0, 0, 0, 0.72));
  transition: transform 160ms ease, opacity 160ms ease;
}

.lightbox-arrow:hover {
  opacity: 0.78;
}

.lightbox-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.lightbox-arrow svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-prev {
  left: max(14px, env(safe-area-inset-left));
}

.lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 12px 14px;
  }

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

  .topbar nav {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    padding: 104px 18px 82px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-actions .button {
    min-width: calc(50% - 5px);
  }

  .intro,
  .section-heading,
  .contact {
    display: block;
  }

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

  .portfolio-video-grid {
    gap: 10px;
  }

  .image-strip {
    margin-inline: 0;
    padding-inline: 0;
  }

  .strip-arrow {
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
  }

  .strip-arrow-prev {
    left: 10px;
  }

  .strip-arrow-next {
    right: 10px;
  }

  .lightbox-prev {
    left: max(10px, env(safe-area-inset-left));
  }

  .lightbox-next {
    right: max(10px, env(safe-area-inset-right));
  }

  .portfolio-item.is-image {
    min-height: 420px;
    aspect-ratio: 4 / 5;
  }

  .portfolio-item.is-video {
    width: 100%;
    min-height: 0;
    height: 78svh;
    aspect-ratio: auto;
  }

  .services-grid article {
    min-height: 210px;
  }

  .contact-card {
    display: block;
  }

  .contact-card div {
    justify-content: flex-start;
    margin-top: 16px;
  }

  footer {
    display: flex;
    align-items: center;
  }

  footer .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .topbar nav {
    gap: 10px;
  }

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

  .portfolio-item.is-image {
    min-height: 360px;
  }

  .portfolio-item.is-video {
    width: 100%;
  }
}
