:root {
  --cream: #f4f0e8;
  --cream-dark: #e8e2d6;
  --ink: #121212;
  --ink-soft: #2a2a2a;
  --muted: #6e6860;
  --line: rgba(18, 18, 18, 0.1);
  --line-strong: rgba(18, 18, 18, 0.22);
  --wrap: min(1140px, calc(100% - 2.5rem));
  --header-h: 72px;
  --serif: "Cormorant Garamond", "El Messiri", Georgia, serif;
  --sans: "Tajawal", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Subtle glass — not overused */
.glass-soft {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(18, 18, 18, 0.06);
}

.label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.01em;
}

h2 em {
  font-style: italic;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 0;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.btn--solid {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--solid:hover {
  background: transparent;
  color: var(--ink);
}

.btn--line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--full {
  width: 100%;
}

/* Masthead */
.masthead {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 500;
  height: var(--header-h);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.masthead.is-scrolled {
  background: rgba(244, 240, 232, 0.82);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  width: var(--wrap);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 12px rgba(18, 18, 18, 0.12));
}

.brand__word {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.masthead__nav {
  display: flex;
  gap: 0.15rem;
}

.masthead__nav a {
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.masthead__nav a:hover {
  color: var(--ink);
}

.masthead__cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: all 0.25s ease;
}

.masthead__cta:hover {
  background: var(--ink);
  color: var(--cream);
}

.masthead__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
}

.masthead__toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
  padding-top: var(--header-h);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero__since {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero__line {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__line--accent {
  font-style: italic;
  font-weight: 400;
  padding-inline-start: 0.12em;
}

.hero__line--thin {
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  opacity: 0.88;
}

.hero__desc {
  max-width: 26rem;
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 0 100%, 0 8%);
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.hero__badge {
  position: absolute;
  bottom: 1.25rem;
  inset-inline-start: 1.25rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero__accent-card {
  position: absolute;
  top: -0.5rem;
  inset-inline-end: -0.5rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 120px;
}

.hero__accent-card span {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero__accent-card small {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Marquee — seamless infinite loop */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 32s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.5rem;
  padding-inline-end: 1.5rem;
}

.marquee__group span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee__sep {
  letter-spacing: 0;
  opacity: 0.45;
}

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

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

/* Story */
.story {
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.story__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.story__visual {
  position: relative;
}

.story__visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(8%);
}

.story__index {
  position: absolute;
  bottom: -1rem;
  inset-inline-start: -1rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  line-height: 1;
  pointer-events: none;
}

.story__text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.story__points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.story__points li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
}

.story__points li::before {
  content: "—";
  margin-inline-end: 0.5rem;
  color: var(--muted);
}

/* Collections */
.collections {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--ink);
  color: var(--cream);
}

.collections .label {
  color: rgba(244, 240, 232, 0.5);
}

.collections h2 {
  color: var(--cream);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.collection-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}

.collection-piece {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(2rem, 4vw, 3rem);
}

.collection-piece--reverse {
  direction: ltr;
}

.collection-piece--reverse .collection-piece__info {
  direction: rtl;
}

.collection-piece__media {
  overflow: hidden;
}

.collection-piece__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.collection-piece:hover .collection-piece__media img {
  transform: scale(1.04);
}

.collection-piece__num {
  display: block;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(244, 240, 232, 0.4);
  margin-bottom: 1rem;
}

.collection-piece h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.collection-piece p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(244, 240, 232, 0.65);
  margin-bottom: 1rem;
}

.collection-piece__meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.45);
}

/* Lookbook */
.lookbook {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.lookbook__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lookbook__note {
  max-width: 16rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Carousel gallery */
.lookbook__carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.lookbook__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 2px;
}

.lookbook__viewport::-webkit-scrollbar {
  display: none;
}

.lookbook__track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  padding-block: 0.25rem;
}

.lookbook__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(244, 240, 232, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease), opacity 0.3s ease;
}

.lookbook__nav:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--cream);
  transform: scale(1.05);
}

.lookbook__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lookbook__slide {
  flex-shrink: 0;
  width: clamp(200px, 28vw, 260px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--cream-dark);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: border-color 0.35s ease, transform 0.35s var(--ease);
}

.lookbook__slide:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}

.lookbook__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.65s var(--ease), filter 0.65s ease;
  filter: grayscale(12%);
}

.lookbook__slide:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Visit */
.visit {
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.visit__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

.visit__card {
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
}

.visit__card h2 {
  margin-bottom: 0.75rem;
}

.visit__lead {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.visit__details {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.visit__details span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.visit__details strong,
.visit__details a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.visit__details a:hover {
  text-decoration: underline;
}

.visit__visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.visit__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.visit__stamp {
  position: absolute;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(244, 240, 232, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}

.visit__stamp span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 calc(env(safe-area-inset-bottom, 0px) + 2rem);
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand--footer span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.footer__nav {
  display: flex;
  gap: 1.25rem;
}

.footer__nav a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--ink);
}

.footer__copy {
  width: 100%;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 900px) {
  .masthead__nav,
  .masthead__cta {
    display: none;
  }

  .masthead__toggle {
    display: flex;
  }

  .masthead__nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(244, 240, 232, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
  }

  .masthead__nav.is-open a {
    padding: 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .masthead__toggle span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.nav-open .masthead__toggle span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

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

  .hero__visual {
    order: -1;
  }

  .hero__frame {
    clip-path: none;
  }

  .hero__accent-card {
  inset-inline-end: 0.5rem;
  top: 0.5rem;
  }

  .story__grid,
  .visit__grid {
    grid-template-columns: 1fr;
  }

  .story__index {
    inset-inline-start: 0;
    bottom: 0.5rem;
  }

  .collection-piece,
  .collection-piece--reverse {
    grid-template-columns: 1fr;
    direction: rtl;
  }

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

  .lookbook__carousel {
    position: relative;
    grid-template-columns: 1fr;
  }

  .lookbook__viewport {
    grid-column: 1;
  }

  .lookbook__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .lookbook__nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.05);
  }

  .lookbook__nav--prev {
    left: 0.5rem;
  }

  .lookbook__nav--next {
    right: 0.5rem;
  }

  .lookbook__slide {
    width: clamp(160px, 42vw, 220px);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
