/* ICONA Development / page sections, in page order. */

/* ============================================================== hero == */

.hero {
  position: relative; height: 100svh; min-height: 600px; max-height: 1400px;
  overflow: hidden; color: var(--ink); background: var(--plaster);
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__picture, .hero__picture img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 18% 30%, rgb(236 236 236 / 0.5), rgb(236 236 236 / 0) 70%),
    linear-gradient(to top, rgb(13 23 48 / 0.62), rgb(13 23 48 / 0) 26%);
}

html[dir='rtl'] .hero__shade {
  background:
    radial-gradient(60% 55% at 82% 30%, rgb(236 236 236 / 0.5), rgb(236 236 236 / 0) 70%),
    linear-gradient(to top, rgb(13 23 48 / 0.62), rgb(13 23 48 / 0) 26%);
}

.hero__layer { position: absolute; inset: 0; z-index: 1; }
.hero__content {
  position: relative; height: 100%;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 6vh, 5rem));
  padding-bottom: clamp(6.5rem, 15vh, 9.5rem);
}
.hero__head { align-self: start; }
.hero__eyebrow { margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
.hero__title {
  font-size: clamp(3.4rem, 8.1vw, 10.5rem); line-height: .94; letter-spacing: -0.045em;
  color: var(--night);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }
.hero__line--bold { font-weight: 600; }
.hero__line--light { font-weight: 300; font-style: italic; padding-inline-start: .62em; letter-spacing: -0.035em; color: var(--navy); }

.hero__aside {
  align-self: end; justify-self: end; width: min(100%, 31rem);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: rgb(236 236 236 / 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--corner);
}
.hero__lede { font-size: var(--fs-lead); line-height: 1.55; color: var(--night); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.4rem; }
.link--call { color: var(--navy); }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  color: var(--plaster);
}
.hero__formerly { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; opacity: .85; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; padding: .5rem; }
.scroll-cue__line { position: relative; width: 1px; height: 3.25rem; background: rgb(236 236 236 / 0.3); overflow: hidden; }
.scroll-cue__line::after { content: ''; position: absolute; inset: 0; background: var(--plaster); animation: cue 2.4s var(--ease-inout) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 899px), (max-aspect-ratio: 4/5) {
  .hero__shade, html[dir='rtl'] .hero__shade {
    background:
      linear-gradient(to bottom, rgb(236 236 236 / 0.55), rgb(236 236 236 / 0) 42%),
      linear-gradient(to top, rgb(13 23 48 / 0.86), rgb(13 23 48 / 0.35) 42%, rgb(13 23 48 / 0) 62%);
  }
  .hero__content { padding-bottom: 6.25rem; }
  .hero__title { font-size: clamp(2.9rem, 15vw, 7rem); }
  .hero__line--light { padding-inline-start: .4em; }
  .hero__aside { justify-self: stretch; width: 100%; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero__lede { color: var(--plaster); max-width: 34ch; }
  .hero__aside .btn--primary { --btn-bg: var(--plaster); --btn-fg: var(--night); --btn-fill: #fff; }
  .link--call { color: var(--plaster); }
  .hero__formerly { display: none; }
  .hero__foot { justify-content: center; }
  .scroll-cue span:first-child { display: none; }
  .scroll-cue__line { height: 2.5rem; }
}

/* ============================================================= about == */

.about__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.statement {
  font-size: var(--fs-statement); font-weight: 400; line-height: 1.22; letter-spacing: -0.025em;
  max-width: 26ch; text-wrap: pretty;
}
.statement strong { font-weight: 600; color: var(--navy); }
.statement .sw { transition: none; }
.motion .statement .sw { color: rgb(19 34 63 / 0.18); }
.motion .statement strong .sw { color: rgb(59 72 120 / 0.2); }

.about__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(4rem, 9vw, 9rem);
}
.detail { display: grid; gap: .9rem; align-content: start; }
.detail__img { overflow: hidden; border-radius: var(--corner); aspect-ratio: 4 / 5; background: #dcdcdc; }
.detail__img img { width: 100%; height: 100%; object-fit: cover; }
.detail figcaption { font-size: var(--fs-small); color: var(--ink-soft); }
.detail--a { grid-column: 1 / 5; margin-top: clamp(4rem, 12vw, 12rem); }
.detail--b { grid-column: 6 / 10; }
.detail--c { grid-column: 10 / 13; margin-top: clamp(8rem, 24vw, 22rem); }
.about__copy {
  grid-column: 6 / 10; margin-top: clamp(3rem, 5vw, 5rem);
  display: grid; gap: 1.1rem; justify-items: start; font-size: var(--fs-lead); color: var(--ink-soft);
}
.about__copy p:first-child { color: var(--ink); }

@media (max-width: 899px) {
  .about__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 2.5rem; }
  .detail--a { grid-column: 1 / 4; margin-top: 3rem; }
  .detail--b { grid-column: 4 / 7; margin-top: 0; }
  .detail--c { grid-column: 2 / 6; margin-top: 0; }
  .about__copy { grid-column: 1 / -1; margin-top: 0; }
}

/* ========================================================== projects == */

.projects {
  padding-block: var(--section);
  border-radius: var(--corner-xl);
}
.projects__head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.projects__head .h2 { max-width: 16ch; }
.projects__note { font-size: var(--fs-small); color: var(--on-night-soft); max-width: 44ch; }

.project + .project { margin-top: clamp(6rem, 12vw, 12rem); }
.project__stage { position: relative; height: min(100svh, 62.5vw); min-height: 460px; }
.project__media {
  position: absolute; inset: 0; overflow: hidden; background: var(--deep);
  border-radius: var(--corner-xl);
}
.project__media img, .project__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__video { opacity: 0; transition: opacity 1s var(--ease-out); }
.project__video.is-playing { opacity: 1; }
.project__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(12 23 48 / 0.7), rgb(12 23 48 / 0.25) 38%, rgb(12 23 48 / 0) 60%);
}
.project__title {
  position: absolute; left: 0; right: 0; top: clamp(1.75rem, 4.5vw, 4rem); z-index: 1;
}
.project__place { display: flex; align-items: center; gap: 1rem; font-size: var(--fs-small); letter-spacing: .08em; margin-bottom: .75rem; color: var(--plaster); }
.project__name { font-size: var(--fs-display); line-height: .95; letter-spacing: -0.045em; color: var(--plaster); }
.project__name b { font-weight: 600; }
.project__name i { font-weight: 300; }

/* The title sits in the sky at the top of the picture (right-aligned when flipped);
   the detail picture overlaps the lower corner, the text sits below. */
.project__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  align-items: start; margin-top: clamp(2.5rem, 4vw, 4rem); position: relative; z-index: 2;
}
.project__detail {
  grid-column: 8 / 12; grid-row: 1; margin-top: calc(-1 * clamp(8rem, 16vw, 16rem));
  overflow: hidden; border-radius: var(--corner); aspect-ratio: 3 / 2; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6);
}
.project__detail img { width: 100%; height: 100%; object-fit: cover; }
.project__text { grid-column: 1 / 7; grid-row: 1; display: grid; gap: 1.25rem; justify-items: start; color: var(--on-night-soft); }
.project__line { font-size: var(--fs-h3); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: var(--on-night); max-width: 22ch; }
.project--flip .project__title { text-align: end; }
.project--flip .project__place { justify-content: flex-end; }
.project--flip .project__detail { grid-column: 2 / 6; }
.project--flip .project__text { grid-column: 7 / 13; }

.facts { display: grid; width: 100%; border-top: 1px solid var(--line-night); margin-bottom: .5rem; }
.facts li { padding-block: .8rem; border-bottom: 1px solid var(--line-night); color: var(--on-night); font-size: .9375rem; }

@media (max-width: 899px) {
  .project__stage { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .project__body { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; margin-top: 0; }
  .project__detail, .project--flip .project__detail { grid-column: 1; grid-row: 1; width: 78%; justify-self: end; margin-top: -2.5rem; }
  .project--flip .project__title { text-align: start; }
  .project--flip .project__place { justify-content: flex-start; }
  .project__text, .project--flip .project__text { grid-column: 1; grid-row: 2; }
  .project__name { font-size: clamp(2.6rem, 12.5vw, 4.5rem); }
  .project__title { top: 1.5rem; }
}

/* ============================================================ values == */

.values { position: relative; background: var(--plaster); }
.values__pin { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.values__media { position: absolute; inset: 0; }
.values__media picture, .values__media img, .values__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.values__video { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.values__video.is-playing { opacity: 1; }
.values__inner { position: relative; z-index: 1; padding-block: clamp(6rem, 12vh, 9rem); }
.values__inner > .eyebrow { margin-bottom: 2rem; }

.values__tabs {
  position: relative; display: inline-flex; padding: 5px; gap: 2px;
  background: rgb(246 246 245 / 0.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--corner);
}
.values__tab {
  position: relative; z-index: 1; min-height: 2.75rem; padding: .55rem 1.2rem;
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); border-radius: var(--corner-sm);
  transition: color var(--dur) var(--ease-out);
}
.values__tab:hover { color: var(--ink); }
.values__tab[aria-selected='true'] { color: var(--plaster); }
.values__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; z-index: 0;
  background: var(--navy); border-radius: var(--corner-sm);
  transition: transform .6s var(--ease-out), width .6s var(--ease-out);
}
.values__panels { display: grid; margin-top: clamp(2rem, 5vh, 3.5rem); }
.values__panel { grid-area: 1 / 1; max-width: 44rem; }
.values__word {
  font-size: var(--fs-display); font-weight: 600; line-height: .95; letter-spacing: -0.05em; color: var(--night);
}
.values__word .ch { display: inline-block; }
.values__text { margin-top: 1.5rem; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.5; color: var(--ink); max-width: 32ch; }

@media (max-width: 899px) {
  .values__media::after { content: ''; position: absolute; inset: 0; background: rgb(236 236 236 / 0.55); }
  .values__tabs { display: none; }
  .values__panels { gap: 3rem; margin-top: 0; }
  .values__panels .values__panel[hidden] { display: block !important; }
  .values__panel { grid-area: auto; }
  .values__word { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .values__text { margin-top: .75rem; font-size: 1.0625rem; }
}

/* ========================================================== approach == */

.approach__head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.approach__head .h2 { max-width: 18ch; }
.approach__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.approach__media { grid-column: 1 / 6; }
.approach__frame {
  position: sticky; top: calc(var(--header-h) + 2rem);
  aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 4rem); margin-inline: auto;
  overflow: hidden; border-radius: var(--corner); background: #dcdcdc;
}
.approach__img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); z-index: 0; }
.approach__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.approach__img.is-prev { clip-path: inset(0); z-index: 1; }
.approach__img.is-active { clip-path: inset(0); z-index: 2; transition: clip-path 1.1s var(--ease-out); }
.approach__img.is-active img { transform: none; }
.approach__steps { grid-column: 7 / 13; counter-reset: step; }
.step {
  min-height: 72svh; display: grid; align-content: center; gap: .9rem;
  border-top: 1px solid var(--line); padding-block: 3rem;
  opacity: .32; transition: opacity .6s var(--ease-out);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step.is-active { opacity: 1; }
.step__img { display: none; }
.step__num { font-size: var(--fs-small); font-weight: 500; letter-spacing: .2em; color: var(--navy); font-variant-numeric: tabular-nums; }
.step__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
.step__text { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 34ch; }

@media (max-width: 899px) {
  .approach__grid { display: block; }
  .approach__media { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 2.5rem; }
  .step__img { display: block; overflow: hidden; border-radius: var(--corner); aspect-ratio: 4 / 5; margin-bottom: 1rem; }
  .step__img img { width: 100%; height: 100%; object-fit: cover; }
}

/* ========================================================== register == */

.register {
  z-index: 1;
  padding-block: var(--section);
  border-radius: var(--corner-xl);
}
.register__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 3.5rem; }
.register__intro { grid-column: 1 / 7; display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.register__intro .h2 { max-width: 14ch; }
.register__lede { font-size: var(--fs-lead); color: var(--on-night-soft); max-width: 38ch; }
.register__hotline { display: grid; margin-top: 1.5rem; }
.register__hotline-label { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--on-night-soft); }
.register__hotline-num {
  font-size: clamp(4.5rem, 11vw, 10rem); font-weight: 600; line-height: .9; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums; transition: color var(--dur) var(--ease-out);
}
.register__hotline:hover .register__hotline-num { color: #fff; }
.contact { display: grid; gap: 1.1rem; width: 100%; max-width: 30rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-night); }
.contact div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; }
.contact dt { font-size: var(--fs-small); color: var(--on-night-soft); }
.contact dd { font-size: .9375rem; }
.contact a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease-out); }
.contact a:hover { background-size: 100% 1px; }

.register__form { grid-column: 8 / 13; align-self: start; }
.form {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgb(236 236 236 / 0.04); border: 1px solid var(--line-night); border-radius: var(--corner);
}
.form__foot { display: grid; gap: .9rem; margin-top: .5rem; }
.form__status { min-height: 1.4em; font-size: .9375rem; }
.form__status.is-ok { color: #BFE3C6; }
.form__status.is-error { color: #FFB4A8; }
.form__note { font-size: .8125rem; color: var(--on-night-soft); }
.form__note a { color: var(--on-night); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1099px) {
  .register__intro, .register__form { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .contact div { grid-template-columns: 1fr; gap: .15rem; }
}

/* ============================================================ footer == */

.site-footer {
  position: relative; margin-top: calc(-1 * var(--r-xl));
  padding-top: calc(var(--r-xl) + clamp(4rem, 8vw, 7rem)); padding-bottom: max(2rem, env(safe-area-inset-bottom));
  background: var(--abyss); color: var(--on-night);
}
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-night); }
.site-footer__logo { display: block; width: clamp(200px, 26vw, 360px); }
.site-footer__logo .logo { width: 100%; height: auto; }
.site-footer__tag { font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1; }
.site-footer__tag b { font-weight: 600; }
.site-footer__tag i { font-weight: 300; color: var(--on-night-soft); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2.5rem; padding-block: clamp(3rem, 5vw, 4.5rem); }
.site-footer__h { font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--on-night-soft); margin-bottom: 1.1rem; }
.site-footer__cols ul { display: grid; gap: .55rem; font-size: .9375rem; }
.site-footer__cols a { display: inline-block; padding-block: .2rem; transition: color var(--dur-fast); }
.site-footer__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
/* floating WhatsApp: brand navy, not the loud green, and out of the way of
   the menu, the loader and the brochure dialog. */
.wafab {
  position: fixed; inset-inline-end: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: calc(var(--z-header) - 3);
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.25rem;
  background: var(--navy); color: var(--plaster);
  border-radius: 999px; text-decoration: none;
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  box-shadow: 0 6px 20px rgb(8 14 30 / .28);
  transition: transform var(--dur) var(--ease-out), background var(--dur-fast) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.wafab:hover { background: var(--deep); transform: translateY(-2px); }
.wafab:focus-visible { outline: 2px solid var(--plaster); outline-offset: 3px; }
.wafab__icon { width: 1.5rem; height: 1.5rem; flex: none; }
/* while a full-screen layer is open, the bubble is noise. A transition rather
   than an animation, so closing the menu brings it straight back. */
.menu-open .wafab, .gate-open .wafab, .loading .wafab {
  opacity: 0; pointer-events: none; transform: translateY(14px);
}
@media (max-width: 600px) {
  /* icon only: a label would crowd the thumb zone */
  .wafab { gap: 0; padding: .9rem; min-height: 0; }
  .wafab__label { display: none; }
  /* room at the very bottom so the bubble never sits on the credit line */
  .site-footer__bottom { padding-bottom: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wafab { transition: none; }
  .wafab:hover { transform: none; }
}

/* seven networks need a full row, not a narrow column */
.site-footer__follow { grid-column: 1 / -1; }
.socials { display: flex !important; gap: 1.25rem !important; flex-wrap: wrap; }
.socials .icon { width: 1.5rem; height: 1.5rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line-night); font-size: .8125rem; color: var(--on-night-soft); }
.credit a { color: var(--on-night); text-decoration: underline; text-underline-offset: 3px; }

/* ==================================================== reduced motion == */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-cue__line::after { animation: none; transform: none; }
}

.project__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.project__actions .link { color: var(--on-night); }

/* =============================================================== PARTNERS == */
/* One logo. Monochrome and quiet until pointed at; the name set in type when
   no logo was uploaded, so a partner is never an empty box. */
.plogo { display: grid; gap: .9rem; color: var(--ink); text-decoration: none; }
.plogo__mark {
  display: grid; place-items: center;
  height: clamp(3.25rem, 5vw, 4.25rem);
  /* the logo's white box multiplies against this, not against whatever the
     reveal animation isolates it from: keep it the page colour */
  background: var(--plaster);
}
.plogo__img {
  /* a definite height and a fixed max-width: with a percentage max-width an
     image that has not loaded yet is laid out at zero width, and the row
     measures as empty. object-fit keeps a clamped logo in proportion. */
  height: 100%; width: auto; max-width: 11rem; object-fit: contain;
  filter: grayscale(1); opacity: .62;
  mix-blend-mode: multiply;   /* a logo on a white box melts into the plaster background */
  transition: filter var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.plogo__word { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink-soft); white-space: nowrap; transition: color var(--dur) var(--ease-out); }
a.plogo:hover .plogo__img, a.plogo:focus-visible .plogo__img { filter: none; opacity: 1; }
a.plogo:hover .plogo__word, a.plogo:focus-visible .plogo__word { color: var(--navy); }
a.plogo:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: var(--r-sm); }
.plogo__cap { display: grid; gap: .2rem; text-align: center; }
.plogo__name { font-weight: 500; font-size: var(--fs-small); }
.plogo__role { font-size: var(--fs-small); color: var(--ink-soft); }

/* home: a single row between Approach and the register form */
.plogos { padding-block: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.plogos__inner { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.plogos__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; }
.plogos__title { font-size: var(--fs-lead); font-weight: 300; font-style: italic; color: var(--ink-soft); margin: 0; }
:lang(ar) .plogos__title { font-style: normal; }
.plogos__track { overflow: hidden; }
.plogos__list { display: flex; align-items: center; justify-content: space-between; gap: clamp(2rem, 5vw, 4.5rem); list-style: none; margin: 0; padding: 0; }
.plogos__list > li { flex: none; }
.plogos__more { margin: 0; }
/* more logos than fit: main.js doubles the list and it drifts, slowly */
.plogos__track.is-loop { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.plogos__track.is-loop .plogos__list { justify-content: flex-start; width: max-content; animation: plogos-drift var(--plogos-time, 40s) linear infinite; }
.plogos__track.is-loop:hover .plogos__list, .plogos__track.is-loop:focus-within .plogos__list { animation-play-state: paused; }
@keyframes plogos-drift { to { transform: translateX(calc(-50% * var(--dir))); } }
@media (max-width: 600px) {
  .plogos__list { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  /* no drift: the row scrolls sideways by hand instead */
  .plogos__track.is-loop { overflow-x: auto; mask-image: none; }
  .plogos__track.is-loop .plogos__list { animation: none; }
}

/* About: grouped, with names and roles under each logo */
.partners__groups { display: grid; gap: clamp(2.5rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.pgroup { display: grid; gap: 1.5rem; }
.pgroup__title { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; font-weight: 500; color: var(--ink-soft); margin: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
:lang(ar) .pgroup__title { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.pgroup__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }

