/* Layout columns come from Bootstrap Grid RTL. The visual design is custom to Noor Al Sama. */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/alexandria-arabic-wght-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/alexandria-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-200B, U+2012-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

.noor-showcase {
  --noor-deep: #0c3248;
  --noor-petrol: #104967;
  --noor-paper: #f4f8fa;
  --noor-edge: #d9e5ec;
  --noor-muted: #486372;
  --noor-gold: #f5bb59;
  --noor-space: clamp(42px, 6vw, 92px);
  --noor-display: 'Alexandria', 'Readex Pro', Readex, Arial, sans-serif;
}

.noor-showcase :is(h1, h2, h3, .noor-shortcut-caption strong, .noor-project-caption strong) {
  font-family: var(--noor-display);
  font-weight: 650;
  letter-spacing: normal;
}

.noor-showcase .store-logo .brand-descriptor {
  font-family: var(--noor-display);
  font-weight: 700;
}

.noor-showcase :is(.store-wrap, .work-shell) {
  width: min(1344px, calc(100% - 2 * clamp(16px, 4vw, 56px)));
}

.noor-showcase .store-head-main { min-height: 82px; }
.noor-showcase .store-navigation .atelier-contact {
  background: var(--noor-paper);
  border-color: var(--noor-edge);
  color: var(--noor-deep);
}

.noor-entrance { padding-block: clamp(18px, 3.4vw, 44px) 0; }
.noor-entrance-panel {
  overflow: hidden;
  border-radius: 9px;
  background: var(--noor-deep);
  color: #fff;
}

.noor-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(26px, 4.25vw, 68px);
}

.noor-intro-label {
  margin: 0 0 18px;
  color: var(--noor-gold);
  font-size: 14px;
  font-weight: 600;
}

.noor-showcase .noor-intro h1 {
  margin: 0;
  font-size: clamp(1.875rem, 3.2vw, 3rem);
  font-weight: 780;
  line-height: 1.35;
  color: inherit;
}
.noor-intro h1 .noor-heading-emphasis { color: var(--noor-gold); }

.noor-intro-description {
  max-width: 32ch;
  margin: 18px 0 0;
  color: #e4edf3;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.85;
}

.noor-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.noor-intro-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}
.noor-intro-actions .noor-main-button { background: var(--noor-gold); color: var(--noor-deep); }
.noor-intro-actions .noor-main-button:hover { background: #ffd284; }
.noor-intro-actions .noor-quote-button { border: 1px solid #85a4b6; color: #fff; }
.noor-intro-actions .noor-quote-button:hover { background: #1d4b63; }
.noor-entrance-panel :focus-visible { outline-offset: -4px; }

.noor-project-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  width: 100%;
  min-height: clamp(320px, 34vw, 520px);
  padding: clamp(16px, 3vw, 40px);
  color: #fff;
  background: #14384a;
}
.noor-project-cover img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}
.noor-project-cover::before {
  position: absolute;
  z-index: -1;
  inset: 40% 0 0;
  content: '';
  background: linear-gradient(transparent, #081c2af2);
  pointer-events: none;
}
.noor-project-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.noor-project-caption strong { color: #fff; font-size: clamp(18px, 2vw, 29px); line-height: 1.5; }
.noor-project-caption span { color: #ecf4f8; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }

.noor-film { margin-top: 12px; background: var(--noor-paper); border: 1px solid var(--noor-edge); border-radius: 6px; }
.noor-film summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 18px;
  color: var(--noor-deep);
  cursor: pointer;
}
.noor-film summary::-webkit-details-marker { display: none; }
.noor-film summary::after { content: '+'; font-size: 23px; line-height: 1; }
.noor-film[open] summary::after { content: '−'; }
.noor-film summary strong { font-size: 14px; font-weight: 600; }
.noor-film-length { margin-inline-start: auto; font-size: 12px; color: var(--noor-muted); }
.noor-play-mark {
  display: grid;
  flex: none;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--noor-petrol);
}
.noor-play-mark::before {
  content: '';
  border-block: 6px solid transparent;
  border-left: 9px solid #fff;
  margin-left: 2px;
}
.noor-film-content { max-width: 820px; margin-inline: auto; padding: 0 16px 16px; }
.noor-film .reel-media { border-radius: 5px; }
.noor-film .reel-stage video { max-height: none; }

.noor-catalog-shortcuts { padding-block: 22px clamp(22px, 4vw, 52px); }
.noor-catalog-shortcuts a {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--noor-edge);
  border-radius: 5px;
  color: var(--noor-deep);
}
.noor-catalog-shortcuts a:hover { background: var(--noor-paper); border-color: #9ebacb; }
.noor-catalog-shortcuts img {
  display: block;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
  background: var(--noor-paper);
}
.noor-shortcut-caption { display: grid; gap: 5px; padding: 12px 16px; }
.noor-catalog-shortcuts strong { font-size: 16px; font-weight: 600; }
.noor-catalog-shortcuts span { color: var(--noor-muted); font-size: 13px; line-height: 1.6; }

.noor-showcase .store-section { padding-block: var(--noor-space); }
.noor-showcase .store-section .shop-section-head { margin-bottom: clamp(18px, 3vw, 34px); }
.noor-showcase .shop-section-head h2 {
  color: var(--noor-deep);
  font-size: clamp(1.625rem, 2.6vw, 2.375rem);
  font-weight: 720;
  line-height: 1.5;
}
.noor-showcase .shop-section-head p { font-size: 1rem; line-height: 1.85; }
.noor-showcase .work-section { padding-bottom: clamp(22px, 3vw, 44px); }
.noor-showcase .work-section .work-piece-open { background: var(--noor-paper); }
.noor-showcase .work-section .work-caption { padding-top: 12px; }
.noor-showcase .work-section .work-caption h3 { line-height: 1.65; }
.noor-showcase .studio-services { padding-top: clamp(34px, 4vw, 62px); }
.noor-showcase .studio-service-list {
  display: flex;
  row-gap: 0;
  column-gap: 0;
  margin-block-start: calc(-1 * var(--bs-gutter-y));
}
.studio-service-list .col > a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--noor-edge);
  border-radius: 5px;
  color: var(--noor-deep);
  background: var(--noor-paper);
}
.studio-service-list .col > a:hover { border-color: #88adbf; }
.studio-service-list .col > a > span { margin-inline-start: auto; }
.studio-service-list .col img { flex: none; border-radius: 3px; }

.noor-showcase .catalog-refined {
  width: 100%;
  padding-inline: max(clamp(16px, 4vw, 56px), calc((100% - 1344px) / 2));
  background: var(--noor-paper);
  border-block: 1px solid var(--noor-edge);
}
.noor-showcase .catalog-refined .shop-product { border-color: var(--noor-edge); }
.noor-showcase .catalog-refined .shop-product-image { background: #edf3f6; }
.noor-showcase .catalog-refined .product-config-link { min-height: 44px; }

.noor-showcase :is(.noor-solutions, .noor-order) { padding-block-start: var(--noor-space); }
.noor-showcase .noor-order { padding-block-end: clamp(22px, 4vw, 52px); }

.noor-solution-card {
  height: 100%;
  border: 1px solid var(--noor-edge);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.noor-solution-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 43%;
  background: var(--noor-paper);
}
.noor-solution-copy { padding: clamp(16px, 2vw, 24px); }
.noor-solution-copy h3, .noor-order-card h3 {
  margin: 0;
  color: var(--noor-deep);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.55;
}
.noor-solution-copy p, .noor-order-card p, .noor-order-card ol {
  margin: 10px 0 0;
  color: var(--noor-muted);
  font-size: .9375rem;
  line-height: 1.8;
}
.noor-solution-links, .noor-order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 16px;
  margin-top: 12px;
}
.noor-solution-links a, .noor-order-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--noor-petrol);
  font-size: .875rem;
}
.noor-solution-links a:first-child { font-weight: 650; }
.noor-solution-links a:last-child { text-decoration: underline; text-underline-offset: 4px; }
.noor-order-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--noor-edge);
  border-radius: 6px;
  background: var(--noor-paper);
}
.noor-order-card ol { padding-inline-start: 1.5rem; list-style: decimal; }
.noor-order-actions { margin-top: auto; padding-top: 18px; }
.noor-order-actions .button { min-height: 46px; }
.noor-order-custom { background: var(--noor-deep); border-color: var(--noor-deep); }
.noor-order-custom h3 { color: #fff; }
.noor-order-custom :is(p, ol) { color: #e4edf3; }
.noor-order-custom .button {
  background: var(--noor-gold);
  color: var(--noor-deep);
}

.work-page.noor-showcase .work-intro {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 20px 0 24px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--noor-paper);
  border: 1px solid var(--noor-edge);
}
.work-page.noor-showcase .work-intro > div { padding: clamp(20px, 4vw, 58px); }
.work-page.noor-showcase .work-intro h1 {
  color: var(--noor-deep);
  font-size: clamp(2rem, 3.75vw, 3.5rem);
  font-weight: 760;
  line-height: 1.4;
}
.work-page.noor-showcase .work-intro figure img { border-radius: 0; }
.work-page.noor-showcase .work-intro figure figcaption { padding: 0 16px 12px; margin: 0; }
.work-page.noor-showcase .work-filters { margin-block: 24px 32px; }

@media (max-width: 991px) {
  .noor-intro { padding: clamp(24px, 4vw, 40px); }
  .noor-showcase .noor-intro h1 { font-size: clamp(1.625rem, 7.6vw, 3.125rem); }
}

@media (max-width: 575px) {
  .noor-showcase .store-head-main { min-height: 0; }
  .noor-intro-label { margin-bottom: 11px; font-size: 13px; }
  .noor-intro-description { margin-top: 12px; }
  .noor-intro-actions { margin-top: 18px; gap: 9px; }
  .noor-intro-actions a { padding-inline: 11px; font-size: 12px; min-height: 44px; }
  .noor-film summary { min-height: 56px; gap: 9px; padding-inline: 12px; }
  .noor-film summary strong { font-size: 13px; }
  .noor-catalog-shortcuts img { aspect-ratio: 1.9 / 1; }
  .noor-shortcut-caption { padding: 10px; }
  .noor-catalog-shortcuts strong { font-size: 13px; }
  .noor-catalog-shortcuts span { font-size: 11px; }
  .studio-service-list .col > a { padding: 12px; }
}
