/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 33.75rem;
  padding: 8.2rem var(--gutter) 1.6rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0 0 0 26.25rem;
  --pos: 72% center;
  border-radius: 0;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 22%),
    linear-gradient(to bottom, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 22%),
    linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-composite: intersect;
}

.hero__content { position: relative; z-index: 1; }
.hero .eyebrow { font-size: .72rem; }

.hero__title {
  margin-top: 1.15rem;
  font-family: var(--font-head);
  font-size: 5.1rem;
  font-weight: 700;
  line-height: .87;
  letter-spacing: -.01em;
  color: var(--white);
  text-transform: uppercase;
}

.hero__lead {
  max-width: 17rem;
  margin-top: 1.2rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
}

.hero__cta { margin-top: 1.3rem; height: 2.45rem; padding: 0 1.1rem; font-size: .68rem; gap: 1.6rem; }

.hero__social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.4rem;
  color: var(--text);
  font-size: 1.1rem;
}

.hero__social a:hover { color: var(--accent); }

/* rotating circular badge */
.badge {
  position: absolute;
  z-index: 1;
  right: 5.25rem;
  top: 24.4rem;
  width: 5.6rem;
  height: 5.6rem;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.badge svg.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.badge text {
  fill: currentColor;
  font-size: 9px;
  letter-spacing: 3.1px;
  text-transform: uppercase;
}

.badge .icon { font-size: 1.05rem; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .badge svg.ring { animation: none; }
}

/* ---------- selected work ---------- */
.work {
  padding: 2.3rem var(--gutter) 1.4rem;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.section-num { font-size: .55rem; color: var(--accent); }

.section-title {
  margin-top: .35rem;
  font-family: var(--font-head);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}

.section-head .link-arrow { color: var(--white); font-size: .62rem; gap: 1.1rem; padding-bottom: .3rem; }
.section-head .link-arrow .icon { color: var(--accent); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .875rem;
}

.card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}

.card--wide { grid-column: span 3; }
.card:hover { border-color: var(--line-2); }
.card .ph { border-radius: 0; aspect-ratio: 300 / 167; }
.card--wide .ph { aspect-ratio: 457 / 158; }

.card__info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: .7rem;
  height: 4.6rem;
  padding: 0 1.3rem 0 1rem;
}

.card__num { font-size: .85rem; color: var(--accent); align-self: end; padding-bottom: .15rem; }
.card__title { font-size: .95rem; color: var(--white); align-self: end; }
.card__sub { grid-column: 2; font-size: .6rem; color: var(--muted); align-self: start; }

.card__arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--accent);
  font-size: .95rem;
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 18.55rem 1fr 18.6rem;
  gap: 1.8rem;
  align-items: start;
  padding: 1.55rem var(--gutter) 1.75rem;
  border-bottom: 1px solid var(--line);
}

.about__portrait { aspect-ratio: 4 / 5; --pos: center 35%; border-radius: var(--radius); }

.about__text { padding-top: .2rem; }
.about__text .eyebrow { font-size: .5rem; }

.about__title {
  margin-top: .75rem;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
}

.about__bio {
  margin-top: 1.05rem;
  max-width: 15.6rem;
  font-size: .62rem;
  line-height: 1.7;
  color: var(--muted);
}

.about__text .btn { margin-top: 1.1rem; }

.services { padding-left: 1.2rem; }

.services li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: 2.47rem;
  font-size: .75rem;
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

.services .icon { font-size: 1.3rem; color: var(--text); }

/* ---------- contact footer ---------- */
.contact {
  display: grid;
  grid-template-columns: 17rem 14.5rem 10rem 9rem 1fr;
  align-items: center;
  padding: 1.75rem var(--gutter);
}

.contact__cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.contact__circle {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #161616;
  color: var(--accent);
  font-size: 1.1rem;
  transition: background .2s;
}

.contact__cta:hover .contact__circle { background: #1f1f1f; }

.contact__cta span {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--white);
}

.contact__label {
  font-size: .5rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.contact__label.accent { color: var(--accent); }
.contact__value { margin-top: .5rem; font-size: .72rem; color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .hero { padding-top: 6rem; min-height: auto; }
  .hero__media { inset: 0; opacity: .45; }
  .hero__title { font-size: 3.2rem; }
  .hero__lead { font-size: 1rem; max-width: 100%; }
  .hero__cta { font-size: .75rem; }
  .badge { top: auto; bottom: 1.5rem; right: var(--gutter); }
  .eyebrow { font-size: .75rem; }

  .section-title { font-size: 1.8rem; }
  .section-head { flex-wrap: wrap; gap: .75rem; }
  .section-num, .section-head .link-arrow { font-size: .7rem; }

  .work__grid { grid-template-columns: 1fr; }
  .card, .card--wide { grid-column: auto; }
  .card--wide .ph { aspect-ratio: 300 / 167; }
  .card__sub { font-size: .75rem; }

  .about { grid-template-columns: 1fr; }
  .about__text .eyebrow { font-size: .7rem; }
  .about__bio { font-size: .85rem; max-width: 100%; }
  .services { padding-left: 0; }
  .services li { font-size: .9rem; }

  .contact { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact__label { font-size: .7rem; }
  .contact__value { font-size: .9rem; }
}

/* ---------- photography (Qatar) ---------- */
.photos {
  padding: 2.3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.photos .section-head, .photos__lead, .reel__foot { margin-left: var(--gutter); margin-right: var(--gutter); }
.photos__lead { max-width: 28rem; margin-top: -.6rem; margin-bottom: 1.2rem; color: var(--muted); }

/* film-strip carousel */
.reel__track {
  --gap: .9rem;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) .2rem;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel__track.is-dragging a { pointer-events: none; }
.slide {
  flex: 0 0 calc((100% - 2 * var(--gutter) - 3.5 * var(--gap)) / 4.5);
  scroll-snap-align: start;
  margin: 0;
}
.slide__top {
  display: flex; justify-content: space-between;
  margin-bottom: .45rem;
  font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.slide__top span:last-child { color: var(--accent); }
.slide a {
  display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--panel); cursor: zoom-in;
}
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35) brightness(.85);
  transition: transform .6s ease, filter .4s ease;
  -webkit-user-drag: none; user-select: none;
}
.slide a:hover img, .slide a:focus-visible img { transform: scale(1.05); filter: none; }
.slide a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.slide figcaption {
  margin-top: .5rem; font-size: .55rem; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.reel__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.3rem;
}
.reel__nav { display: flex; align-items: center; gap: .7rem; }
.reel__btn {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .85rem;
  border: 1px solid var(--line-2); color: var(--white); transition: border-color .2s, color .2s;
}
.reel__btn:hover { border-color: var(--accent); color: var(--accent); }
.reel__count { min-width: 3.6rem; text-align: center; font-size: .6rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.reel__count b { color: var(--white); font-weight: 500; }
.reel__bar { width: 7rem; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.reel__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s ease; }
.reel__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* "view all" album */
.album {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--text);
}
.album[open] { display: flex; flex-direction: column; }
.album::backdrop { background: rgba(0,0,0,.85); }
.album__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1rem var(--gutter); background: rgba(4,4,6,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.album__title { font-family: var(--font-head); font-size: 1.2rem; color: var(--white); text-transform: uppercase; }
.album__title span { color: var(--accent); font-size: .6rem; margin-left: .5rem; vertical-align: middle; }
.album__filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  min-height: 1.5rem; padding: 0 .75rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .5rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.album__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem;
  padding: 1.2rem var(--gutter) 2rem; overflow-y: auto; flex: 1; min-height: 0; align-content: start;
}
.album__grid .slide { flex: none; }
.album__grid .slide[hidden] { display: none; }
.album__grid .slide img { filter: none; }

/* lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(4, 4, 6, .97); color: var(--white);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.2rem; font-size: .6rem; color: var(--muted); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 3.2rem; }
.lightbox__stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__caption { padding: .8rem 1.2rem 1.2rem; text-align: center; font-size: .65rem; }
.lightbox__btn, .album__close {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1rem;
  border: 1px solid var(--line-2); color: var(--white); background: rgba(18,18,18,.7);
}
.lightbox__btn:hover, .album__close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: .6rem; }
.lightbox__next { right: .6rem; }

@media (max-width: 1023px) {
  .slide { flex-basis: calc((100% - 2 * var(--gutter) - 2.5 * var(--gap)) / 3.3); }
  .album__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .reel__track { --gap: .6rem; }
  .slide { flex-basis: 62%; }
  .slide__top { font-size: .6rem; }
  .slide figcaption { font-size: .7rem; }
  .photos__lead { font-size: .8rem; }
  .reel__count { font-size: .75rem; }
  .reel__bar { display: none; }
  .reel__actions { width: 100%; }
  .reel__actions .btn { flex: 1; justify-content: center; }
  .album__grid { grid-template-columns: repeat(2, 1fr); gap: .45rem; }
  .album__title { font-size: 1.1rem; }
  .chip { height: 2rem; font-size: .65rem; }
  .album__grid .slide__top { display: none; }
  .album__grid .slide figcaption { font-size: .65rem; }
  .lightbox__stage { padding: 0 .5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -2.9rem; transform: none; }
  .lightbox__caption { padding-bottom: 3.6rem; }
  .lightbox__bar, .lightbox__caption { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slide img { transition: none; }
}
@media (hover: none) { .slide img { filter: none; } }

.reel__play .reel__ico-play, .reel__play[aria-pressed="true"] .reel__ico-pause { display: none; }
.reel__play[aria-pressed="true"] .reel__ico-play { display: inline; }
.reel__play span { font-size: .55rem; letter-spacing: -.1em; }
@media (max-width: 767px) {
  .reel__btn, .lightbox__btn, .album__close { width: 44px; height: 44px; }
  .chip { min-height: 44px; font-size: .78rem; }
  .slide__top { font-size: .75rem; }
  .slide figcaption, .album__grid .slide figcaption { font-size: .8rem; }
  .reel__count { font-size: .85rem; }
  .hero__social a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }
  .hero__title { font-size: 3rem; }
  .card__num, .section-num { font-size: .78rem; }
  .card__sub { font-size: .8rem; }
  .contact__label { font-size: .78rem; }
  .contact__value a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 767px) {
  .eyebrow, .about__text .eyebrow, .section-head .link-arrow { font-size: .78rem; }
  .reel__play span { font-size: .8rem; }
}
@media (max-width: 767px) { .hero .eyebrow { font-size: .78rem; } }
