/* ==========================================================================
   MASOUN — Page sections (one block per template part)
   ========================================================================== */

/* ---------------------------------------------------------------- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--c-ivory);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }

.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s var(--ease);
}
.hero.has-video .hero__video { opacity: 1; }
.hero.has-video .hero__placeholder { opacity: 0; }

/* Cinematic placeholder until the tennis film is delivered */
.hero__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 28%, rgba(184, 154, 94, .16), transparent 70%),
    radial-gradient(120% 90% at 50% 20%, #2A251F 0%, #15120F 55%, #090807 100%);
  transition: opacity 2s var(--ease);
  overflow: hidden;
}
.hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 36% 55%;
  transform: scale(1.03);
  animation: poster-drift 28s var(--ease-in-out) infinite alternate;
}
/* Portrait screens: show the scene in the upper part, text on dark below */
@media (max-aspect-ratio: 1/1) {
  .hero__poster {
    height: 62%;
    object-position: 50% 40%;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
}
@keyframes poster-drift { to { transform: scale(1.09) translate3d(-1%, -1%, 0); } }





.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 9, 8, .9) 0%, rgba(10, 9, 8, .45) 32%, transparent 60%),
    linear-gradient(to bottom, rgba(10, 9, 8, .55), transparent 24%);
}
@media (min-width: 900px) {
  .hero__shade {
    background:
      linear-gradient(to left, rgba(10, 9, 8, .78) 0%, rgba(10, 9, 8, .35) 38%, transparent 62%),
      linear-gradient(to top, rgba(10, 9, 8, .75) 0%, transparent 40%),
      linear-gradient(to bottom, rgba(10, 9, 8, .5), transparent 22%);
  }
  html[dir="ltr"] .hero__shade {
    background:
      linear-gradient(to right, rgba(10, 9, 8, .78) 0%, rgba(10, 9, 8, .35) 38%, transparent 62%),
      linear-gradient(to top, rgba(10, 9, 8, .75) 0%, transparent 40%),
      linear-gradient(to bottom, rgba(10, 9, 8, .5), transparent 22%);
  }
}



.hero__content { padding-bottom: clamp(96px, 16vh, 150px); }
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  margin-bottom: 22px;
}
html[lang="en"] .hero__title { line-height: .95; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-block: .1em .14em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.8s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: .18s; }
.hero__title em { font-style: normal; color: var(--c-sand); }
.is-loaded .hero__title .line > span { transform: none; }

.hero__lead { max-width: 40ch; color: var(--c-text-soft); font-size: var(--fs-lead); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }

.hero__fade { opacity: 0; transform: translateY(16px); transition: opacity 1.4s var(--ease-out) .7s, transform 1.6s var(--ease-out) .7s; }
.hero__fade--late { transition-delay: 1s; }
.is-loaded .hero__fade { opacity: 1; transform: none; }

.hero__meta {
  position: absolute;
  inset-inline: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: var(--c-text-mute);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue__line { position: relative; width: 1px; height: 28px; background: var(--line-light); overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--c-ivory);
  animation: cue 2.6s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 767px) {
  .hero__actions .btn { flex: 1 1 auto; }
}

/* --------------------------------------------------------------- Trust ---- */
.trust { background: var(--c-onyx); border-bottom: 1px solid var(--line-light); }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; }
.trust__item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}
.trust__item:nth-child(odd) { padding-inline-end: 14px; border-inline-end: 1px solid var(--line-light); }
.trust__item:nth-child(even) { padding-inline-start: 18px; }
.trust__item:nth-last-child(-n + 2) { border-bottom: 0; }
.trust__item .i { color: var(--c-gold); margin-top: 3px; }
.trust__item strong { display: block; font-weight: 400; font-size: 14.5px; line-height: 1.5; }
.trust__item div > span { display: block; font-size: 12.5px; color: var(--c-text-mute); line-height: 1.6; margin-top: 2px; }
@media (min-width: 900px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__item, .trust__item:nth-child(odd), .trust__item:nth-child(even) {
    padding: 34px 28px; border-bottom: 0; border-inline-end: 1px solid var(--line-light);
  }
  .trust__item:first-child { padding-inline-start: 0; }
  .trust__item:last-child { border-inline-end: 0; padding-inline-end: 0; }
}

/* ----------------------------------------------------------- Manifesto ---- */
.manifesto { text-align: center; overflow: hidden; }
.manifesto .eyebrow { justify-content: center; }
.manifesto .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--c-gold); opacity: .7; }
.manifesto__mark { width: 40px; height: 46px; margin: 0 auto 36px; stroke: var(--c-cognac); fill: none; stroke-width: 1.3; }
.manifesto__title { font-size: clamp(34px, 6.6vw, 80px); line-height: 1.35; }
html[lang="en"] .manifesto__title { line-height: 1.05; }
.manifesto__title span { color: var(--c-cognac); }
.manifesto__text { max-width: 54ch; margin: 34px auto 34px; color: var(--c-text-soft); }

/* --------------------------------------------------------- Collections ---- */
.collections { background: var(--c-onyx); }
.collections__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.col-card { position: relative; display: block; overflow: hidden; color: var(--c-ivory); }
.col-card--feature { grid-column: 1 / -1; }
.col-card .ph, .col-card .media { --ratio: 3 / 4; transition: transform 2s var(--ease-out); }
.col-card--feature .ph, .col-card--feature .media { --ratio: 4 / 5; }
.col-card:hover .ph, .col-card:hover .media { transform: scale(1.04); }
.col-card .ph::after { bottom: auto; top: 40%; }
.col-card__body {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 3;
  padding: 18px 18px 20px;
  background: linear-gradient(to top, rgba(10, 9, 8, .78), transparent);
  display: grid; gap: 2px;
}
.col-card__title { font-size: clamp(20px, 2.4vw, 32px); }
.col-card--feature .col-card__title { font-size: clamp(30px, 4vw, 52px); }
.col-card__body .la { color: var(--c-sand); font-size: 9.5px; }
.col-card__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-text-soft);
}
.col-card__cta .i { transition: transform .8s var(--ease-out); }
.col-card:hover .col-card__cta .i { transform: translateX(-6px) scaleX(-1); }
html[dir="ltr"] .col-card:hover .col-card__cta .i { transform: translateX(6px); }
.col-card .num { position: absolute; top: 26px; inset-inline-end: 28px; z-index: 3; color: var(--c-ivory); opacity: .7; direction: inherit; }
@media (max-width: 767px) {
  .col-card:not(.col-card--feature) .col-card__cta { display: none; }
  .col-card .num { top: 22px; inset-inline-end: 22px; }
}
@media (min-width: 1100px) {
  .collections__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
  }
  .col-card--feature { grid-column: span 2; grid-row: span 2; }
  .col-card--feature .ph, .col-card--feature .media { --ratio: auto; height: 100%; min-height: 100%; }
  .col-card__body { padding: 28px 30px 30px; }
}

/* ----------------------------------------------------------- Signature ---- */
.signature { overflow: clip; }
.signature__grid { display: grid; gap: 48px; }
.signature__media { position: relative; }
.signature__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.signature__main .ph { transition: background 1.2s var(--ease); }
.signature__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.signature__thumbs .ph { outline-offset: -8px; }
.signature__thumbs .ph::after { font-size: 8.5px; bottom: 14px; inset-inline: 10px; letter-spacing: .12em; }
.signature__stamp {
  position: absolute; top: 28px; inset-inline-start: 28px; z-index: 3;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 223, .35);
  color: var(--c-ivory);
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  animation: spin 40s linear infinite;
}
.signature__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.signature__stamp text { font-family: var(--f-ui-la); font-size: 8.4px; letter-spacing: 2.6px; fill: rgba(243, 236, 223, .7); }
@keyframes spin { to { transform: rotate(360deg); } }

.signature__title { font-size: clamp(42px, 6.4vw, 84px); margin-bottom: 18px; }
.signature__price-row {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px;
  margin-block: 30px 30px;
  padding-block: 22px;
  border-block: 1px solid var(--line-light);
}
.signature__price { font-size: 30px; }
.signature__note { font-size: 13px; color: var(--c-text-mute); }
.signature__options { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.signature__actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px) { .signature__actions { grid-template-columns: 1fr 1fr; } }

.features { margin-top: 64px; counter-reset: f; }
.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 18px;
  padding-block: 28px;
  border-top: 1px solid var(--line-light);
}
.feature:last-child { border-bottom: 1px solid var(--line-light); }
.feature .num { grid-row: span 2; padding-top: 6px; }
.feature h3 { font-size: var(--fs-h3); }
.feature p { color: var(--c-text-soft); font-size: 15px; }

@media (min-width: 1000px) {
  .signature__grid { grid-template-columns: 1.08fr 1fr; gap: clamp(56px, 7vw, 120px); align-items: start; }
  .signature__content { padding-top: 40px; }
}

/* --------------------------------------------------------- Bestsellers ---- */
.bestsellers { overflow: hidden; }
.rail-wrap { position: relative; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  scrollbar-width: none;
  padding-bottom: 6px;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .rail { grid-auto-columns: calc((100% - var(--gutter) * 2 - 28px) / 2.4); gap: 20px; } }
@media (min-width: 1100px) {
  .rail {
    grid-auto-columns: calc((min(100vw, var(--maxw) + var(--gutter) * 2) - var(--gutter) * 2 - 60px) / 4);
    padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  }
}
.rail-ctrl { display: flex; align-items: center; gap: 22px; }
.rail-progress { position: relative; width: 120px; height: 1px; background: var(--line-light); overflow: hidden; }
.rail-progress span {
  position: absolute; inset-block: 0; inset-inline-start: 0;
  width: 100%;
  background: var(--c-text);
  transform-origin: right;
  transform: scaleX(var(--p, .2));
  transition: transform .4s var(--ease);
}
html[dir="ltr"] .rail-progress span { transform-origin: left; }
.rail-btns { display: flex; gap: 8px; }
.rail-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background-color .5s var(--ease), color .5s var(--ease), opacity .4s;
}
.rail-btn:hover { background: var(--c-text); color: var(--c-onyx); }
.theme-ivory .rail-btn:hover { color: var(--c-ivory); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }
@media (max-width: 767px) { .rail-btns { display: none; } }

/* --------------------------------------------------------------- Craft ---- */
.craft__grid { display: grid; gap: 56px; }
@media (min-width: 900px) {
  .craft__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .craft__item:nth-child(2) { margin-top: 96px; }
  .craft__item:nth-child(3) { margin-top: 32px; }
}
.craft__item .ph, .craft__item .media { --ratio: 4 / 5; margin-bottom: 26px; }
.craft__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.craft__head h3 { font-size: var(--fs-h3); }
.craft__item p { color: var(--c-text-soft); max-width: 40ch; }
.craft__foot { display: flex; justify-content: center; margin-top: clamp(56px, 8vw, 100px); }

/* ------------------------------------------------------------- Marquee ---- */
.marquee {
  background: var(--c-onyx);
  border-block: 1px solid var(--line-light);
  overflow: hidden;
  padding-block: clamp(26px, 4vw, 44px);
  direction: ltr;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee__group { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-inline-end: clamp(28px, 4vw, 64px); }
.marquee__item {
  font-family: var(--f-display-la);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 7vw, 104px);
  line-height: 1;
  color: rgba(243, 236, 223, .2);
  white-space: nowrap;
}
.marquee__item--ar { font-family: var(--f-display-ar); font-style: normal; font-size: clamp(36px, 6.4vw, 96px); color: rgba(168, 149, 123, .5); line-height: 1.4; }
.marquee__sep { width: 10px; height: 12px; stroke: var(--c-gold); fill: none; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- Reviews ---- */
.reviews { background: var(--c-onyx); }
.reviews__score { display: flex; align-items: center; gap: 18px; }
.reviews__score b { font-family: var(--f-display-la); font-weight: 300; font-size: 64px; line-height: 1; direction: ltr; }
.reviews__score small { display: block; font-size: 12.5px; color: var(--c-text-mute); }
.stars { display: inline-flex; gap: 3px; color: var(--c-gold); }
.stars .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.reviews__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.reviews__list::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .reviews__list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
}
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--c-coal);
  border: 1px solid var(--line-light);
}
.review blockquote { font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.85; flex: 1; }
html[lang="en"] .review blockquote { line-height: 1.45; font-size: clamp(21px, 2vw, 25px); }
.review__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: 13px; }
.review__meta span { color: var(--c-text-mute); }
.review__verified { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--c-sand); }

/* -------------------------------------------------------------- Circle ---- */
.circle {
  background: var(--ph-cognac);
  text-align: center;
  overflow: hidden;
}
.circle::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.circle .eyebrow { justify-content: center; color: rgba(243, 236, 223, .7); }
.circle .eyebrow::before { background: var(--c-ivory); }
.circle .lead { margin: 18px auto 40px; color: rgba(243, 236, 223, .8); }
.circle__form {
  position: relative;
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(243, 236, 223, .5);
}
.circle__form input {
  flex: 1;
  min-width: 0;
  background: none; border: 0; outline: none;
  padding: 16px 0;
  font-size: 16px;
  color: var(--c-ivory);
}
.circle__form input::placeholder { color: rgba(243, 236, 223, .6); }
.circle__form button { display: inline-flex; align-items: center; gap: 10px; padding-inline: 8px; font-size: 14px; }
.circle__msg { min-height: 26px; margin-top: 16px; font-size: 13px; color: var(--c-ivory); }
.circle__wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; color: rgba(243, 236, 223, .85); }

/* -------------------------------------------------------------- Footer ---- */
.site-footer { background: var(--c-onyx); padding-top: clamp(72px, 10vw, 120px); }
.site-footer__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.site-footer__brand .brand__mark { width: 34px; height: 40px; margin-bottom: 22px; }
.site-footer__brand p { color: var(--c-text-mute); max-width: 32ch; font-size: 14px; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.site-footer__col h4 { font-family: var(--f-ui-la); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--c-sand); margin-bottom: 18px; font-weight: 400; }
.site-footer__col li + li { margin-top: 10px; }
.site-footer__col a { font-size: 14px; color: var(--c-text-soft); transition: color .4s var(--ease); }
.site-footer__col a:hover { color: var(--c-ivory); }
@media (min-width: 1000px) {
  .site-footer__top { grid-template-columns: 1.1fr 2fr; }
  .site-footer__cols { grid-template-columns: repeat(4, 1fr); }
}
.site-footer__bottom {
  display: flex; flex-direction: column; gap: 20px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--c-text-mute);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (min-width: 1000px) {
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.site-footer__word {
  font-family: var(--f-display-la);
  font-weight: 300;
  font-size: clamp(64px, 19vw, 290px);
  letter-spacing: .12em;
  line-height: .8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 236, 223, .12);
  direction: ltr;
  overflow: hidden;
  padding-top: 40px;
  margin-inline-end: -.12em;
  user-select: none;
}

/* ---------------------------------------------------------- Film modal ---- */
.film__poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; }
.film__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.film__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, transparent, rgba(10, 9, 8, .7)); }
.film__soon {
  position: relative; z-index: 2;
  padding: 12px 22px;
  border: 1px solid rgba(243, 236, 223, .5);
  border-radius: 999px;
  background: rgba(14, 12, 10, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px;
}
.film__caption { padding: 18px 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--c-text-mute); }
