/* =============================================================
   uno.com.my — Components
   1. Buttons & links      6. Process rail
   2. Marquee ticker       7. Testimonial
   3. Cards                8. Logos & accreditation
   4. Feature callouts     9. Accordion / FAQ
   5. Stats               10. CTA bands
   ============================================================= */

/* ---- 1. Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__arrow {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--uno-yellow);
  color: var(--c-black);
  box-shadow: 0 6px 20px rgba(247,181,0,.32);
}
.btn--primary:hover { background: var(--uno-yellow-600); box-shadow: 0 10px 28px rgba(247,181,0,.42); }

.btn--dark { background: var(--c-black); color: #fff; }
.btn--dark:hover { background: var(--c-graphite); }

.btn--light { background: #fff; color: var(--c-black); box-shadow: var(--sh-sm); }
.btn--light:hover { background: var(--c-fog); }

.btn--outline {
  background: transparent;
  color: var(--c-black);
  box-shadow: inset 0 0 0 1.5px rgba(16,16,16,.18);
}
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--c-black); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--c-line-dark);
}
.btn--outline-light:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }

.btn--sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn--lg { padding: 17px 32px; font-size: var(--fs-body); }

/* Text link with trailing arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-black);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--t-base) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--light { color: #fff; }
.link-arrow--accent { color: var(--uno-yellow); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-6);
  margin-top: var(--s-7);
}

/* ---- Breadcrumb -------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--text-invert-soft);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--s-3); }
.breadcrumb li + li::before { content: "/"; opacity: .45; }
.breadcrumb a:hover { color: var(--uno-yellow); }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }
.breadcrumb--dark { color: var(--c-slate); }
.breadcrumb--dark [aria-current] { color: var(--c-black); }

/* Outline button for use over photography: white on transparent. */
.btn--ghost-light {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
}
.btn--ghost-light:hover { color: var(--c-black); background: #fff; border-color: #fff; }
.btn--ghost-light svg { width: 16px; height: 16px; }

/* ---- 2. Marquee ticker ------------------------------------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding-block: 16px;
  background: var(--c-black);
  border-block: 1px solid rgba(255,255,255,.08);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding-inline: var(--s-6);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.ticker__item:nth-child(odd) { color: var(--uno-yellow); }
.ticker__item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--uno-yellow);
  opacity: .7;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- 3. Cards ---------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-8);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.card--ink { background: var(--c-black); border-color: transparent; color: var(--text-invert-soft); }
.card--ink h3, .card--ink h4 { color: #fff; }
.card--navy { background: var(--uno-navy); border-color: transparent; color: var(--text-invert-soft); }
.card--navy h3 { color: #fff; }
.card--yellow { background: var(--uno-yellow); border-color: transparent; color: rgba(11,11,11,.78); }
.card--yellow h3 { color: var(--c-black); }
.card--soft { background: var(--c-cream); border-color: transparent; }
.card--flat:hover { transform: none; box-shadow: none; }

.card__index {
  display: block;
  margin-bottom: var(--s-5);
  font-size: var(--fs-index);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(16,16,16,.28);
}
.card--ink .card__index, .card--navy .card__index,
.showcase__item--a .card__index { color: rgba(255,255,255,.42); }
.card--yellow .card__index { color: rgba(11,11,11,.42); }

.card__title { margin-bottom: var(--s-3); }
.card__text { font-size: var(--fs-sm); margin-bottom: var(--s-6); }
.card__cta { margin-top: auto; }
.card__media { margin-top: var(--s-7); border-radius: var(--r-md); overflow: hidden; }
/* In a row of equal-height cards, spare space collects on the last auto
   margin. When a card carries artwork, park that space above the artwork so
   the CTA stays with its text instead of drifting down. Older engines without
   :has() simply keep the previous behaviour. */
.card:has(.card__media) .card__cta { margin-top: 0; }
.card:has(.card__media) .card__media { margin-top: auto; padding-top: var(--s-7); }
.card__media img { width: 100%; }

/* Service showcase grid (homepage 01/02/03) */
.showcase {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--s-6);
}
.showcase__item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: var(--s-6);
  min-height: 220px;
  padding: var(--s-8);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.showcase__item--a { background: var(--c-black); color: var(--text-invert-soft); }
.showcase__item--b {
  grid-row: span 2;
  grid-template-columns: 1fr;
  align-content: start;
  background: var(--uno-yellow);
  color: rgba(11,11,11,.78);
}
.showcase__item--c { background: var(--c-cream-2); }
.showcase__item h3 { margin-bottom: var(--s-3); }
.showcase__item--a h3 { color: #fff; }
.showcase__item p { font-size: var(--fs-sm); margin-bottom: var(--s-6); }
.showcase__body { max-width: 34ch; }
.showcase__art { align-self: center; }
.showcase__item--b .showcase__art { margin-top: var(--s-7); }
.showcase__art img { width: 100%; border-radius: var(--r-sm); }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__item, .showcase__item--b { grid-row: auto; grid-template-columns: 1fr; }
  .showcase__art { margin-top: var(--s-6); }
}

/* ---- 4. Feature callouts (floating cards) ------------------- */
.callouts {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: var(--s-5);
  max-width: 400px;
  padding: var(--s-6);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.callout:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.callout:nth-child(2) { margin-left: auto; }
.callout:nth-child(3) { margin-left: clamp(0px, 4vw, 60px); }
.callout__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--c-cream);
}
.callout__icon svg { width: 22px; height: 22px; }
.callout :is(h3, h4) { margin-bottom: 6px; font-size: var(--fs-h4); }
.callout p { font-size: var(--fs-sm); }

@media (max-width: 860px) {
  .callout, .callout:nth-child(2), .callout:nth-child(3) { max-width: none; margin-left: 0; }
}

/* Icon-and-text feature row */
.feature {
  padding: var(--s-6);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: var(--s-5);
  border-radius: var(--r-sm);
  background: var(--c-cream);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature :is(h3, h4) { margin-bottom: 6px; font-size: var(--fs-h4); }
.feature p { font-size: var(--fs-sm); }

/* Numbered list (Built for real business operations) */
.numlist li {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--c-line);
  font-weight: 600;
  color: var(--text-strong);
}
.numlist li:last-child { border-bottom: 0; }
.numlist__n {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-mist);
  min-width: 24px;
}

/* Pill chips (tech stack) */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  padding: 8px 15px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xs);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-graphite);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--uno-yellow); color: var(--c-black); }

.stack-group + .stack-group { margin-top: var(--s-7); }
.stack-group__label {
  margin-bottom: var(--s-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-black);
}

/* Integration icon strip */
.integrations {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--s-5);
  align-items: start;
}
.integration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-invert-soft);
}
.integration svg { width: 30px; height: 30px; color: #fff; }
@media (max-width: 860px) { .integrations { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .integrations { grid-template-columns: repeat(3, 1fr); } }

/* ---- 5. Stats ---------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s-6);
}
.stat { padding-inline: var(--s-6); border-left: 1px solid var(--c-line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__value {
  display: block;
  font-size: var(--fs-stat);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-black);
}
.stat__label {
  display: block;
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-slate);
}
.stats--invert .stat { border-color: var(--c-line-dark); }
.stats--invert .stat__value { color: var(--uno-yellow); }
.stats--invert .stat__label { color: var(--text-invert-soft); }
.stats--center .stat { text-align: center; }
@media (max-width: 640px) {
  .stat { padding-inline: 0; border-left: 0; }
}

/* Inline metric pair (case-study bands) */
.metrics { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-block: var(--s-7); }
.metric { display: flex; align-items: center; gap: var(--s-4); }
.metric svg { width: 26px; height: 26px; color: var(--uno-yellow); flex-shrink: 0; }
.metric__value { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1.15; }
.metric__label { display: block; font-size: var(--fs-xs); color: var(--text-invert-soft); }
.metric + .metric { padding-left: var(--s-8); border-left: 1px solid var(--c-line-dark); }
@media (max-width: 640px) {
  .metric + .metric { padding-left: 0; border-left: 0; }
}

/* ---- 6. Process rail --------------------------------------- */
/* The connector is drawn per step rather than as one full-width line, so it
   always starts and ends on a circle's edge instead of slicing through the
   icons. --process-dot keeps the circle and the rail in sync. */
.process {
  --process-dot: 68px;
  --process-gap: var(--s-7);
  --process-inset: 12px;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: var(--s-9) var(--process-gap);
  padding-top: var(--s-4);
}
.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(var(--process-dot) / 2);
  left:  calc(50% + var(--process-dot) / 2 + var(--process-inset));
  right: calc(var(--process-dot) / 2 + var(--process-inset) - 50% - var(--process-gap));
  height: 1px;
  background: linear-gradient(90deg, rgba(247,181,0,.55), rgba(255,255,255,.28), rgba(247,181,0,.55));
}
.process__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--process-dot); height: var(--process-dot);
  margin-bottom: var(--s-5);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.process__step:hover .process__icon {
  border-color: var(--uno-yellow);
  background: rgba(247,181,0,.12);
  transform: translateY(-4px);
}
.process__icon svg { width: 26px; height: 26px; color: var(--uno-yellow); }
.process__n {
  display: block;
  margin-bottom: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-wide);
  color: var(--uno-yellow);
}
.process__step :is(h3, h4) { margin-bottom: var(--s-3); color: #fff; font-size: var(--fs-h4); }
.process__step p {
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--text-invert-soft);
}

/* Four narrow columns stop holding a readable measure well before the
   drawer breakpoint, so the rail folds to two columns early. */
@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: var(--s-9) var(--s-8); }
  .process__step:not(:last-child)::before { display: none; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; gap: var(--s-8); }
}

/* Flow diagram (problem statement) */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}
.flow__node {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-slate);
  box-shadow: var(--sh-sm);
}
.flow__arrow { color: var(--c-mist); flex-shrink: 0; }
/* The final arrow + outcome node wrap together as one unit. */
.flow__group { display: flex; align-items: center; gap: var(--s-3); }
.flow__arrow svg { width: 18px; height: 18px; }
.flow__node--solved {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 16px 20px;
  background: var(--uno-yellow);
  border-color: transparent;
  color: var(--c-black);
  font-weight: 700;
}
.flow__node--solved svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- 7. Testimonial ---------------------------------------- */
.testimonial {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-8);
  padding: var(--s-9);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.testimonial__mark {
  font-size: 5.5rem;
  line-height: .8;
  font-weight: 800;
  color: var(--uno-yellow);
  align-self: start;
}
.testimonial blockquote {
  margin: 0 0 var(--s-6);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-black);
}
.testimonial__name { font-weight: 700; color: var(--c-black); font-size: var(--fs-sm); }
.testimonial__role { font-size: var(--fs-xs); color: var(--c-slate); }
.testimonial__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-6); }
.testimonial__avatar {
  width: 118px; height: 118px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-fog);
}
/* No photographs of these clients, so the feature quote uses the same letter
   avatar as the review wall rather than a stand-in portrait. */
.testimonial__avatar--letter {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
}
.stars { display: flex; gap: 3px; color: var(--uno-yellow); }
.stars svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .testimonial { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-7); }
  .testimonial__avatar { width: 84px; height: 84px; }
}

/* ---- 8. Logo wall & accreditation --------------------------- */
.logowall {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: var(--s-7) var(--s-5);
}
/* The client logos are raster files on a uniform 196x140 canvas with their own
   internal padding, so they are sized by height and contained rather than
   trimmed to a cap height the way a wordmark SVG would be. */
.logowall img {
  height: 54px;
  width: 100%;
  object-fit: contain;
  max-width: 100%;
  /* Raster logos carry lighter elements than the solid wordmarks this wall was
     built for, so they need a touch more presence at rest. */
  opacity: .75;
  filter: grayscale(1);
  transition: opacity var(--t-base) var(--ease), filter var(--t-base) var(--ease);
}
@media (max-width: 1024px) { .logowall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .logowall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.logowall img:hover { opacity: 1; filter: none; }

.logowall__note {
  margin-bottom: var(--s-7);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-slate);
}

.accreditation {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.85fr) minmax(0, 1fr);
  max-width: 421px;
  align-items: center;
  justify-items: start;
  gap: var(--s-5) var(--s-6);
}
/* Award badges are taller than wordmarks and carry their own colour, so they
   run at full opacity rather than the muted treatment used on the logo wall. */
.accreditation img { height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.accreditation img.accreditation__mof { height: 64px; }
@media (max-width: 600px) { .accreditation img { height: 36px; } }
@media (max-width: 600px) { .accreditation { column-gap: 16px; } .accreditation img.accreditation__mof { height: 56px; } }

/* ---- Team grid ---------------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-7) var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.person { text-align: center; }
/* Eight of the ten portraits are cut-outs exported onto solid #000 and the
   other two carry real transparency, so the frame is pure black rather than
   --c-black (#101010): anything lighter leaves a visible rectangle behind the
   opaque ones. Black also makes the two treatments render identically. */
.person__photo {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--s-4);
  aspect-ratio: 424 / 531;
  background: #000;
  border-radius: var(--r-md);
}
.person__photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.person:hover .person__photo img { transform: scale(1.04); }
.person__name {
  margin-bottom: 2px;
  font-size: var(--fs-body);
  color: var(--c-black);
}
.person__role {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-slate);
}
.person__role-sub { display: block; }

.team-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-8);
  padding: var(--s-6) var(--s-7);
  text-align: center;
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.team-cta:hover { border-color: var(--uno-yellow); background: rgba(247,181,0,.06); }
.team-cta__title { font-weight: 700; color: var(--c-black); }
.team-cta__text { font-size: var(--fs-sm); color: var(--c-slate); }
.team-cta .btn__arrow { color: var(--uno-yellow-600); }

@media (max-width: 1024px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); } }

/* ---- Portfolio work list ------------------------------------ */
.workfilter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.workfilter__btn {
  padding: 9px 18px;
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-slate);
  background: none;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.workfilter__btn:hover { color: var(--c-black); border-color: var(--c-black); }
.workfilter__btn[aria-pressed="true"] {
  color: var(--c-black);
  background: var(--uno-yellow);
  border-color: var(--uno-yellow);
}

.workcount {
  margin-bottom: var(--s-6);
  font-size: var(--fs-xs);
  color: var(--c-slate);
}

.worklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-7) var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.work[hidden] { display: none; }
/* The shot is a button that opens the full capture. Everything inside stays
   in normal flow and simply fills the button: an absolutely positioned image
   collapses its <picture> wrapper to 0x0, and a zero-sized ancestor stops
   loading="lazy" from ever firing, so no thumbnail would load at all. */
.work__shot {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  margin-bottom: var(--s-3);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: zoom-in;
}
.work__shot picture { display: block; width: 100%; height: 100%; }
.work__shot img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--t-slow) var(--ease-out);
}
.work__shot:hover img,
.work__shot:focus-visible img { transform: scale(1.05); }
.work__shot:focus-visible { outline: 2px solid var(--uno-yellow); outline-offset: 3px; }
.work__name {
  margin: 0 0 2px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-black);
}
.work__cat {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--c-slate);
}

@media (max-width: 1024px) { .worklist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .worklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); } }

/* ---- Client roster (clients page) --------------------------- */
.clientgroup + .clientgroup { margin-top: var(--s-10); }
.clientgroup__title {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-black);
  border-bottom: 1px solid var(--c-line);
}
.clientgroup__title span {
  display: grid;
  place-items: center;
  min-width: 26px;
  padding: 2px 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--c-black);
  background: var(--uno-yellow);
  border-radius: var(--r-pill);
}
.clientgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.clientgrid__item {
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 196 / 140;
  padding: var(--s-3);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.clientgrid__item:hover { border-color: var(--uno-yellow); box-shadow: var(--sh-md); }
.clientgrid__item picture { display: block; width: 100%; height: 100%; }
.clientgrid__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1024px) { .clientgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .clientgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); } }

/* ---- Review wall (testimonials) ----------------------------- */
.reviewsummary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-6) var(--s-9);
  margin-bottom: var(--s-9);
  padding: var(--s-7);
  background: var(--bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.reviewsummary__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-black);
}
.reviewsummary__glyph { width: 22px; height: 22px; }
.reviewsummary__score { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.reviewsummary__value { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--c-black); }
.reviewsummary__count { font-size: var(--fs-xs); color: var(--c-slate); }
.reviewsummary__cta { margin-left: auto; }
@media (max-width: 720px) { .reviewsummary__cta { margin-left: 0; } }
.stars--lg svg { width: 20px; height: 20px; }

/* Masonry via columns: the quotes vary from one line to a full paragraph, and
   a fixed grid would leave large gaps under the short ones. */
.reviewwall {
  columns: 3;
  column-gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.review {
  break-inside: avoid;
  margin-bottom: var(--s-5);
  padding: var(--s-6);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm, 0 1px 2px rgba(16,16,16,.06));
}
.review__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.review__source {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-start;
}
.review__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
}
.review__who { min-width: 0; }
.review__name {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-black);
}
.review__org {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--c-slate);
  overflow-wrap: anywhere;
}
.review__text {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--text-body);
}
@media (max-width: 1024px) { .reviewwall { columns: 2; } }
@media (max-width: 640px)  { .reviewwall { columns: 1; } }

/* ---- Brand wall (graphics portfolio) ------------------------ */
.brandwall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.brandwall__item {
  display: grid;
  place-items: center;
  aspect-ratio: 184 / 120;
  /* Grid items floor at their content height by default, which lets the logo's
     intrinsic size override the ratio and makes rows uneven. */
  min-height: 0;
  padding: var(--s-4);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.brandwall__item:hover { border-color: var(--uno-yellow); box-shadow: var(--sh-md); }
.brandwall__item picture { display: block; width: 100%; height: 100%; }
.brandwall__item img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
}
@media (max-width: 1024px) { .brandwall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .brandwall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); } }

/* ---- Video grid --------------------------------------------- */
.videogrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
.videogrid__item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-black);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
}
.videogrid__item iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 900px) { .videogrid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---- Lightbox (full page captures) -------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--s-5);
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 23, 51, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: zoom-out;
}
.lightbox__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: 92vh;
  overflow: hidden;
  background: var(--c-paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-shrink: 0;
  padding: var(--s-4) var(--s-4) var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--c-line);
}
.lightbox__title { margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--c-black); }
.lightbox__close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px; height: 38px;
  color: var(--c-slate);
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lightbox__close:hover { color: var(--c-black); border-color: var(--c-black); }
.lightbox__close svg { width: 16px; height: 16px; }
/* Captures run to ~6800px tall, so the panel scrolls instead of scaling the
   image down to something unreadable. */
.lightbox__scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-soft);
}
.lightbox__img { display: block; width: 100%; height: auto; }

@media (max-width: 600px) {
  .lightbox { padding: var(--s-3); }
  .lightbox__panel { max-height: 94vh; }
  .lightbox__bar { padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5); }
}

/* ---- 9. Accordion / FAQ ------------------------------------ */
.accordion { border-top: 1px solid var(--c-line); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  width: 100%;
  padding: var(--s-6) 0;
  text-align: left;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-black);
}
.accordion__trigger:hover { color: var(--uno-yellow-600); }
.accordion__sign {
  position: relative;
  flex-shrink: 0;
  width: 16px; height: 16px;
}
.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) linear;
}
.accordion__sign::after { transform: translateY(-50%) rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__sign::after { transform: translateY(-50%) rotate(0); opacity: 0; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  padding-bottom: var(--s-6);
  max-width: 68ch;
  font-size: var(--fs-sm);
}

/* ---- 10. CTA bands ------------------------------------------ */
/* ---- Dark case-study band ----------------------------------- */
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--uno-navy);
  border-radius: var(--r-xl);
}
.spotlight__body { align-self: center; padding: clamp(32px, 4vw, 64px); }
.spotlight__body h2 {
  margin-bottom: var(--s-7);
  font-size: var(--fs-h2);
  color: var(--text-invert);
}
.spotlight__body .metrics { margin-bottom: var(--s-8); }
.spotlight__media { position: relative; height: 100%; min-height: 320px; }
/* Screenshots crop from the top so the meaningful part of the UI survives. */
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__body { padding: var(--s-8); }
  .spotlight__media { min-height: 220px; }
}

/* ---- Insight / article cards -------------------------------- */
.insight {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.insight:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.insight__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.insight__thumb img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.insight:hover .insight__thumb img { transform: scale(1.05); }
.insight__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
  padding: var(--s-6);
}
/* Scoped past `.insight__body p`, which would otherwise win on specificity
   and paint the kicker slate instead of brand yellow. */
.insight__body .insight__meta {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--uno-yellow-600);
}
.insight__body h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.insight__body h3 a { color: var(--c-black); }
.insight__body h3 a:hover { color: var(--uno-yellow-600); }
.insight__body p { margin: 0; font-size: var(--fs-sm); color: var(--c-slate); }
.insight__body .link-arrow { margin-top: auto; }

/* ---- Reveal on scroll --------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.reveal--pending { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal--pending { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

/* ---- Quote cards (testimonials page) ------------------------ */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin: 0;
  padding: var(--s-7);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.quote-card blockquote {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.65;
  color: var(--c-graphite);
}
.quote-card blockquote::before { content: "\201C"; }
.quote-card blockquote::after  { content: "\201D"; }
.quote-card figcaption { margin-top: auto; }
.quote-card__name { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-black); }
.quote-card__role { display: block; font-size: var(--fs-xs); color: var(--c-slate); }

/* ---- Portfolio tiles ---------------------------------------- */
.industries {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-4);
}
@media (max-width: 1024px) { .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.industry {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-md);
}
/* Same in-flow rule as .work__shot: an absolutely positioned image collapses
   its <picture> wrapper to 0x0, and a zero-sized ancestor stops loading="lazy"
   from ever firing. */
.industry picture { display: block; width: 100%; height: 100%; }
.industry img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.industry::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,23,51,.05) 30%, rgba(9,23,51,.85));
}
.industry:hover img { transform: scale(1.07); }

.industry__label {
  position: absolute;
  inset: auto var(--s-4) var(--s-4) var(--s-4);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}
.industry__n {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--uno-yellow);
}
.industry__name { font-size: var(--fs-sm); font-weight: 700; }
.industry__sector {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  z-index: 1;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-black);
}
.industries .industry__name { line-height: 1.3; }
.portfolio__note {
  margin-top: var(--s-7);
  font-size: var(--fs-xs);
  color: var(--c-slate);
}

/* ---- Case-study hero ---------------------------------------- */
.hero--case { padding-bottom: var(--s-9); }
.hero--case .pagehero__inner { position: relative; max-width: 780px; }
.hero--case .hero__lead { max-width: 60ch; }
