/* ==========================================================================
   Lumos Design Studio — base layer
   Layout geometry from the licensed template, measured at 1440px and left as-is.
   Brand colour and type are applied in tokens.css and brand.css.
   ========================================================================== */

/* ---------- page shell ---------------------------------------------------- */

.page      { background: var(--c-off); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 40px; }

@media (max-width: 809px) { .container { padding-inline: 20px; } }

/* ---------- site header --------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: grid; grid-template-columns: repeat(5, 1fr) auto;
  align-items: center;
  height: 52px; padding-inline: 24px;
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-inline: 8px;
  inset: 8px 0 auto 0;
}
.site-header a { font-size: var(--fs-base); font-weight: 500; letter-spacing: var(--tracking); }
.site-header .wordmark { font-weight: 600; }
.site-header .count { font-size: 9px; vertical-align: super; margin-left: 2px; }
.site-header nav { display: contents; }

.menu-toggle {
  justify-self: end; width: 34px; height: 14px;
  background: none; border: 0; padding: 0; cursor: pointer;
  display: grid; align-content: space-between;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--c-white); }

@media (max-width: 809px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
}

/* ---------- hero ---------------------------------------------------------- */

.hero {
  /* One number for the founder card's width, so the hero's upper band can align
     its right-hand column to the card's left edge without hard-coding it twice. */
  --hero-card-w: 280px;
  position: relative;
  margin: 60px 8px 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: #050505;
  min-height: calc(100vh - 60px);
  display: grid;
  align-content: end;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }

/* the oversized scroll-scrubbed wordmark */
.hero__mark {
  position: absolute; left: 50%; top: 34%;
  transform: translate(-50%, -50%);
  display: flex; align-items: flex-start; gap: .04em;
  font-family: var(--font-ui);
  font-weight: 600; font-size: 200px; line-height: 1;
  letter-spacing: -0.06em; color: var(--c-white);
  white-space: nowrap; pointer-events: none;
}
.hero__mark sup { font-size: .28em; line-height: 1; }

/* the decorative plus marks */
.hero__pluses { position: absolute; inset: 0; pointer-events: none; }
.hero__pluses i {
  position: absolute; width: 13px; height: 13px; opacity: .55;
  background:
    linear-gradient(var(--c-white),var(--c-white)) center/100% 1px no-repeat,
    linear-gradient(var(--c-white),var(--c-white)) center/1px 100% no-repeat;
}

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: end; gap: 40px;
  padding: 0 32px 40px;
}
.hero__lede {
  max-width: 460px; margin: 0;
  font-size: var(--fs-lg); font-weight: 500;
  line-height: 1.2; letter-spacing: var(--tracking);
  color: rgba(255,255,255,.55);
}
.hero__lede strong { color: var(--c-white); font-weight: 500; }
.hero__copyright { font-size: var(--fs-sm); font-weight: 500; color: var(--c-white); }

/* team card */
.team-card {
  display: grid; grid-template-columns: 104px 1fr; gap: 0;
  background: var(--c-white); color: var(--c-ink);
  border-radius: var(--r-md); padding: 6px; width: 360px;
}
.team-card__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 1/1.28; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 14px 16px; display: grid; align-content: start; gap: 2px; }
.team-card__role { font-size: var(--fs-sm); font-weight: 600; }
.team-card__at   { font-size: 12px; font-weight: 600; color: var(--c-ink-90); }
.team-card__name { font-size: 22px; font-weight: 600; color: var(--c-ink-90); margin: 4px 0 14px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-ink); color: var(--c-white);
  font-size: 12px; font-weight: 600; letter-spacing: var(--tracking);
  padding: 8px 8px 8px 14px; border-radius: var(--r-xl);
  width: max-content;
}
.pill::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-white); }

@media (max-width: 1199px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__mark  { font-size: 15vw; }
  .team-card   { width: 100%; max-width: 360px; }
}

/* ---------- clients ------------------------------------------------------- */

.clients { padding: 56px 0 72px; }
.clients__head {
  display: flex; justify-content: space-between;
  font-size: var(--fs-base); font-weight: 500; letter-spacing: var(--tracking);
  margin-bottom: 48px;
}
.clients__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center; gap: 32px;
}
.clients__grid img { height: 28px; width: auto; margin-inline: auto; opacity: .85; }

/* ---------- projects ------------------------------------------------------ */
/* Measured from the source: heading 144px, then a two-column grid of 561px
   image cards with the name and year set over the top-left corner. */

.projects { padding: 96px 0 112px; }
.projects__head { display: grid; grid-template-columns: 300px 1fr auto; gap: 40px; align-items: start; }
.projects__title {
  margin: 0; font-size: var(--fs-display); font-weight: 600;
  line-height: .92; letter-spacing: -0.05em;
}
.projects__year  { font-size: var(--fs-base); font-weight: 500; }
.projects__stamp { font-size: 36px; font-weight: 600; letter-spacing: var(--tracking); margin: 18px 0 0; }
.projects__lede  { font-size: var(--fs-base); font-weight: 500; color: var(--c-muted-local); max-width: 300px; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 84px; }
.project-card {
  position: relative; display: block; height: 561px;
  border-radius: var(--r-md); overflow: hidden; background: #e6e6e6;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.project-card:hover img { transform: scale(1.03); }
/* A short scrim keeps the label readable. It was tuned for pale artwork; the
   posters that replaced it are dark behind the label on all three, so it is
   lighter now — at full strength it was greying the pale corner of the Zadinga
   poster for no benefit. */
.project-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 92px;
  background: linear-gradient(rgba(0,0,0,.26), rgba(0,0,0,0));
  pointer-events: none; z-index: 1;
}
.project-card__tag {
  position: absolute; left: 24px; top: 18px; z-index: 2;
  display: flex; align-items: baseline; gap: 8px; color: var(--c-white);
  text-shadow: 0 1px 14px rgba(0,0,0,.45);
}
.project-card__name { font-size: var(--fs-md); font-weight: 600; letter-spacing: var(--tracking); }
.project-card__meta { font-size: 12px; font-weight: 500; opacity: .8; }
.project-card:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 4px; }

@media (max-width: 1199px) { .projects__head { grid-template-columns: 1fr; } .projects__title { font-size: 15vw; } }
@media (max-width: 809px)  { .project-grid { grid-template-columns: 1fr; } .project-card { height: 62vw; } }
