/* ==========================================================================
   one-page.css — the portfolio itself: a single page, light, dense.

   Loaded only by index.html. Structure: intro (identity + proof) → work →
   capabilities → other work → numbers → contact. No dark bands; contrast comes
   from type scale, hairlines and one maroon accent.
   ========================================================================== */

/* ---- Top bar --------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 250, 248, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.topbar[data-scrolled='true'] {
  border-bottom-color: var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__link {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-strong);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur) var(--ease);
}

.topbar__link:hover {
  color: var(--accent);
}

.btn--sm {
  height: 38px;
  padding-inline: 16px;
  font-size: 0.8125rem;
}

/* ---- Intro ----------------------------------------------------------- */

.intro {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(28px, 3.4vw, 44px);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.78fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}

.intro__title {
  margin-top: 18px;
  font-size: clamp(2.35rem, 5.2vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.intro__title .serif {
  color: var(--accent);
  font-size: 1.03em;
}

.intro__line {
  margin-top: 18px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted-strong);
  max-width: 46ch;
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* Four facts, label over value: no column squeeze, reads in one pass. */
.facts {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink);
}

/* ---- Cover strip ----------------------------------------------------- */

.covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.cover-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cover-card .cover {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line);
}

.cover-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cover-card__name {
  color: var(--ink);
  letter-spacing: 0.06em;
}

.cover-card:hover .cover svg {
  transform: scale(1.04);
}

.cover-card:hover .cover-card__name {
  color: var(--accent);
}

/* ---- Section headers ------------------------------------------------- */

.band-top {
  border-top: 1px solid var(--line);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(16px, 3vw, 56px);
  align-items: end;
  padding-bottom: clamp(22px, 2.4vw, 32px);
}

.sec-head h2 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.035em;
}

.sec-head__note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-strong);
  padding-bottom: 4px;
  max-width: 38ch;
}

/* ---- Work rows ------------------------------------------------------- */

.work-list {
  border-top: 1px solid var(--line-strong);
}

.work-item {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 36px);
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}

.work-item__cover .cover {
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.work-item:hover .cover svg {
  transform: scale(1.03);
}

.work-item__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.work-item__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.work-item__idx {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  color: var(--accent);
}

.work-item__title {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.03em;
}

.work-item__cat {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-item__line {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-strong);
  max-width: 62ch;
}

.work-item__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.work-item__metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.work-item__metric {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-item__metric b {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.details {
  margin-top: 2px;
}

.details > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 0;
}

.details > summary::-webkit-details-marker {
  display: none;
}

.details > summary::after {
  content: '+';
  font-size: 0.75rem;
  line-height: 1;
}

.details[open] > summary::after {
  content: '−';
}

.details > summary:hover {
  color: var(--accent-deep);
}

.details__body {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--white);
  display: grid;
  gap: 8px;
}

.details__body li {
  position: relative;
  padding-left: 16px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

.details__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--accent);
  opacity: 0.8;
}

.details__more {
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.details__more:hover {
  color: var(--accent);
}

/* ---- Capability rows ------------------------------------------------- */

.cap-list {
  border-top: 1px solid var(--line-strong);
}

.cap-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4vw, 32px);
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cap-row__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.cap-row__n {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.cap-row__line {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-strong);
}

.cap-row__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---- Other work ------------------------------------------------------ */

.mini-list {
  border-top: 1px solid var(--line-strong);
}

.mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) auto 20px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.mini-row:hover {
  background: var(--white);
  padding-inline: 12px 6px;
}

.mini-row__name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mini-row__cat {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-row__arrow {
  justify-self: end;
  color: var(--muted);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.mini-row:hover .mini-row__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---- Numbers --------------------------------------------------------- */

.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  margin-top: 0;
}

.numbers__item {
  padding: 22px 20px 0 0;
  border-right: 1px solid var(--line);
}

.numbers__item:last-child {
  border-right: 0;
  padding-right: 0;
}

.numbers__v {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.numbers__k {
  display: block;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Contact --------------------------------------------------------- */

.contact {
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(24px, 3vw, 40px);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.contact__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.contact__title .serif {
  color: var(--accent);
}

.contact__line {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-strong);
  max-width: 44ch;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact__list {
  display: grid;
  border-top: 1px solid var(--line);
}

.contact__list a,
.contact__list span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.contact__list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__list b {
  font-weight: 500;
  color: var(--ink);
}

.contact__list a:hover b {
  color: var(--accent);
}

/* ---- Footer ---------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 22px 30px;
  margin-top: clamp(40px, 5vw, 72px);
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot__inner a:hover {
  color: var(--accent);
}

/* ---- Responsive ------------------------------------------------------ */

@media (max-width: 960px) {
  .intro__grid,
  .contact__grid,
  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .cap-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
  }

  .cap-row__line {
    grid-column: 1 / -1;
  }

  .cap-row__tags {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .covers {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-item__cover {
    order: -1;
    max-width: 220px;
  }

  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .numbers__item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .numbers__item:nth-child(2n) {
    border-right: 0;
  }

  .mini-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
  }

  .mini-row__cat {
    grid-column: 1;
  }

  .facts > div {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .topbar__link {
    display: none;
  }

  .intro__actions .btn,
  .contact__actions .btn {
    flex: 1 1 100%;
  }

  /* Long status labels must wrap, not overflow. */
  .status {
    white-space: normal;
    align-items: flex-start;
    line-height: 1.4;
  }

  .status::before {
    margin-top: 4px;
  }
}

/* ---- Refinements after the first read ------------------------------- */

.covers-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(26px, 3vw, 38px);
  margin-bottom: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}

.covers-head .mono:first-child {
  color: var(--ink);
}

.cover-card__meta {
  font-size: 0.625rem;
  color: var(--muted-strong);
}

.cover-card__name {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
}

.cover {
  display: block;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.cover svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.cover-card:hover .cover {
  border-color: var(--accent-line);
}

/* Numbers carry the proof, so they get real weight and separators. */
.work-item__metrics {
  gap: 0;
  align-items: center;
}

.work-item__metric {
  font-size: 0.625rem;
  color: var(--muted-strong);
  padding-right: 16px;
}

.work-item__metric + .work-item__metric {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.work-item__metric b {
  font-size: 1.0625rem;
  color: var(--ink);
}

/* Evidence is the reason to trust the row: make it look like a control. */
.details > summary {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--ink);
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--accent-line);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.details > summary:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.details[open] > summary {
  color: var(--accent);
}

@media (max-width: 760px) {
  .covers-head {
    margin-top: 22px;
  }

  .work-item__cover {
    max-width: 100%;
  }
}

/* ---- v3: single-column work rows, inline "also built", maroon close --- */

/* The covers already show the three products; the rows stay text so they read fast. */
.work-item {
  grid-template-columns: minmax(0, 1fr);
}

.section {
  padding-block: clamp(52px, 5.6vw, 84px);
}

.also {
  margin-top: 30px;
}

.also__label {
  color: var(--muted);
  margin-bottom: 8px;
}

.also__list {
  border-top: 1px solid var(--line);
}

.also__row {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr) auto 20px;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease), padding-inline var(--dur) var(--ease);
}

.also__row:hover {
  background: var(--white);
  padding-inline: 10px 4px;
}

.also__name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.also__cat {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.also__arrow {
  justify-self: end;
  color: var(--muted);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.also__row:hover .also__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---- Contact: the one maroon moment, as a close ---------------------- */

.contact-band {
  background: var(--accent);
  color: #fff;
  padding-block: clamp(48px, 6vw, 76px);
}

.contact-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow--light::before {
  background: rgba(255, 255, 255, 0.5);
}

.contact-band__title {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
  max-width: 18ch;
}

.contact-band__title .serif {
  color: var(--accent-rose);
}

.contact-band__line {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}

.contact-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-band__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9375rem;
  color: #fff;
}

.contact-band__list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-band__list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.contact-band__list a:hover {
  color: var(--accent-rose);
}

/* ---- Legibility floor: nothing below 10px ---------------------------- */

.facts dt,
.cap-row__n,
.foot__inner,
.cover-card__meta {
  font-size: 0.625rem;
}

.facts dd {
  font-size: 0.875rem;
}

.work-item__metric,
.details > summary {
  font-size: 0.6875rem;
}

.chips li {
  font-size: 0.625rem;
}

@media (max-width: 760px) {
  .contact-band__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .also__row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 3px;
  }

  .also__cat {
    grid-column: 1;
  }

  .contact-band__actions .btn {
    flex: 1 1 100%;
  }
}


/* ---- v4: one left edge, one right edge, one accent CTA -------------- */

/* Number in a fixed gutter so title, line, metrics and Evidence share an axis. */
.work-item__idx {
  flex: none;
  width: 30px;
}

.work-item__line,
.work-item__meta,
.details {
  margin-left: 42px;
}

.work-item__title {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
}

.work-item__cat {
  font-size: 0.625rem;
  color: var(--muted-strong);
}

/* Badges line up on the right across all three rows. */
.work-item__status {
  margin-left: auto;
}

/* Metrics left, stack right: two clean edges instead of ragged flow. */
.work-item__meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.work-item__meta .chips {
  justify-content: flex-end;
}

.topbar__link {
  font-size: 0.6875rem;
}

/* ---- Closing block: footer lives on the maroon, so the page ends there -- */

.foot--onAccent {
  margin-top: clamp(34px, 4vw, 52px);
  padding-block: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.foot--onAccent .foot__inner {
  color: rgba(255, 255, 255, 0.7);
}

.contact-band__list em {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.72);
}

.contact-band__list li {
  border-bottom-color: rgba(255, 255, 255, 0.26);
}

.contact-band__list li:first-child {
  border-top-color: rgba(255, 255, 255, 0.26);
}

.contact-band .btn--outline-light {
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 760px) {
  .work-item__line,
  .work-item__meta,
  .details {
    margin-left: 0;
  }

  .work-item__status {
    margin-left: 0;
  }

  .work-item__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .work-item__meta .chips {
    justify-content: flex-start;
  }
}

/* Legibility on maroon: micro-copy gets a floor, not a suggestion. */
.foot--onAccent .foot__inner {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.6875rem;
}

.contact-band__list em {
  color: rgba(255, 255, 255, 0.84);
}

/* ---- Mobile refinements --------------------------------------------- */

@media (max-width: 760px) {
  /* Stacked covers were three tall 16:9 blocks; shorten them so the page moves. */
  .cover-card .cover {
    aspect-ratio: 2.2 / 1;
  }

  .cover-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .cover-card__meta span:last-child {
    font-size: 0.625rem;
    color: var(--muted);
  }
}

@media (max-width: 560px) {
  /* Long name + badge on one line gets cramped: badge drops to its own line. */
  .work-item__status {
    order: 3;
    flex-basis: 100%;
    margin-top: 6px;
  }

  .work-item__cat {
    order: 2;
  }
}

/* Header: the arrow must never wrap below the word. */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__actions .topbar__link {
  white-space: nowrap;
}

/* ---- "Also built": a panel, not a footnote ------------------------- */

.also {
  margin-top: 26px;
  padding: 20px 22px 6px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.also__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 0.6875rem;
  margin-bottom: 10px;
}

.also__list {
  border-top: 1px solid var(--line-strong);
}

.also__list > li:last-child .also__row {
  border-bottom: 0;
}

.also__row:hover {
  background: var(--white);
}

.also__name {
  font-size: 0.9375rem;
}

@media (max-width: 760px) {
  .also {
    padding: 16px 16px 4px;
  }
}

/* Panel micro-labels earn their contrast back. */
.also__label {
  color: var(--ink);
}

.also__cat {
  color: var(--muted-strong);
}

/* Anchor jumps clear the sticky bar instead of hiding under it. */
#work,
#contact,
.section[id] {
  scroll-margin-top: 84px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* One anchor offset only: html scroll-padding. Doubling it (padding + margin)
   left sections 100px lower than intended. */
html {
  scroll-padding-top: 84px;
}

#work,
#contact,
.section[id] {
  scroll-margin-top: 0;
}
/* =====================================================================
   Dark studio (2026-11, v2)
   Near-black canvas, screenshots doing the talking, numbers as type.
   One light band (contact) closes the page; rose replaces maroon on dark.
   ===================================================================== */

:root {
  --night: #0b0b0a;
  --night-raise: #121211;
  --night-line: rgba(255, 255, 255, 0.11);
  --night-line-soft: rgba(255, 255, 255, 0.065);
  --night-text: #f4f2ed;
  --night-muted: rgba(244, 242, 237, 0.6);
  --night-faint: rgba(244, 242, 237, 0.46);
}

body.page-studio {
  background: var(--night);
  color: var(--night-text);
}
body.page-studio ::selection {
  background: var(--accent-rose);
  color: #151312;
}

/* ------------------------------------------------------------------ bar */
.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-block: 18px;
  background: rgba(11, 11, 10, 0);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.bar[data-scrolled='true'] {
  padding-block: 12px;
  background: rgba(11, 11, 10, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--night-line-soft);
}
.bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bar__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--night-text);
  text-decoration: none;
}
.bar__nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
}
.bar__nav a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.bar__nav a:hover {
  color: var(--accent-rose);
}
.bar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bar__gh {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bar__gh:hover {
  color: var(--night-text);
}

/* buttons on dark */
.btn--rose {
  background: var(--accent-rose);
  border: 1px solid var(--accent-rose);
  color: #191413;
  font-weight: 600;
}
.btn--rose:hover {
  background: #f0bcc8;
  border-color: #f0bcc8;
  color: #191413;
}
.btn--hairline {
  border: 1px solid var(--night-line);
  color: var(--night-text);
  background: transparent;
}
.btn--hairline:hover {
  border-color: var(--night-muted);
  color: #fff;
}

/* ---------------------------------------------------------------- hero */
.hero {
  padding-block: clamp(38px, 6vw, 84px) clamp(34px, 4vw, 58px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--night-muted);
  margin: 0 0 clamp(18px, 2.4vw, 30px);
}
.hero__eyebrow .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 0 3px rgba(227, 166, 180, 0.18);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.58fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: end;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 10.5vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: -0.052em;
  margin: 0;
  color: var(--night-text);
}
.hero__title em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.44em;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--accent-rose);
  margin-top: 0.12em;
}
.hero__lede {
  margin: 0 0 20px;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.62;
  color: var(--night-muted);
  max-width: 38ch;
}
.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* hero screenshot: the evidence sits in the fold */
.hero__shot {
  margin-top: clamp(30px, 4.5vw, 62px);
  position: relative;
}
.hero__shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--night-line);
  border-radius: 4px;
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
}
.hero__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-faint);
}

/* -------------------------------------------------------------- figures */
.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--night-line);
  margin-top: clamp(34px, 5vw, 68px);
}
.figure {
  padding: clamp(20px, 2.6vw, 34px) clamp(10px, 1.6vw, 26px) clamp(18px, 2.4vw, 30px) 0;
  border-right: 1px solid var(--night-line-soft);
}
.figure:last-child {
  border-right: 0;
}
.figure b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--night-text);
}
.figure span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-faint);
}

/* ---------------------------------------------------------------- work */
.work {
  padding-block: clamp(48px, 6.5vw, 100px) clamp(26px, 3.2vw, 46px);
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(18px, 3vw, 56px);
  align-items: end;
  margin-bottom: clamp(26px, 3.4vw, 48px);
}
.sec-head .eyebrow {
  color: var(--night-faint);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--night-text);
}
.sec-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-rose);
}
.sec-head__note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--night-muted);
  max-width: 34ch;
  justify-self: end;
}

/* a project is a band, not a card */
.proj {
  display: block;
  border-top: 1px solid var(--night-line);
  padding-block: clamp(26px, 3.6vw, 46px) clamp(30px, 4vw, 54px);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.proj__head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px 22px;
  align-items: start;
}
.proj__meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 8px;
}
.proj__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.proj__state::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.proj__state[data-tone='live'] {
  color: #9fd9bb;
}
.proj__state[data-tone='pilot'] {
  color: #e6c58b;
}
.proj__state[data-tone='packaged'] {
  color: #c2c8d6;
}
.proj__state[data-tone='progress'] {
  color: var(--accent-rose);
}
.proj__go {
  align-self: start;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-faint);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.proj:hover .proj__go {
  color: var(--accent-rose);
}
.proj__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--night-faint);
}
.proj__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--night-text);
  transition: color 0.25s ease;
}
.proj:hover .proj__name {
  color: var(--accent-rose);
}
.proj__cat {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-faint);
}

.proj__line {
  margin: 14px 0 0 68px;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.55;
  color: var(--night-muted);
  max-width: 56ch;
}
.proj__nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 660px;
  margin: 20px 0 0 68px;
}
.proj__num b {
  font-variant-numeric: tabular-nums;
}
.proj__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--night-faint);
}
.proj__num b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--night-text);
  margin-bottom: 2px;
}

.proj__shot {
  margin-top: clamp(20px, 2.6vw, 34px);
  margin-left: 68px;
  border: 1px solid var(--night-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--night-raise);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.95);
  transition: transform 0.5s ease, border-color 0.3s ease;
}
.proj__shot img {
  display: block;
  width: 100%;
  height: clamp(300px, 30vw, 520px);
  object-fit: cover;
  object-position: top center;
}
.proj:hover .proj__shot {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}
.proj__shot--phones {
  display: flex;
  gap: clamp(8px, 1.4vw, 20px);
  justify-content: center;
  align-items: flex-start;
  padding: clamp(18px, 2.6vw, 34px) clamp(16px, 2.4vw, 34px) 0;
  background: linear-gradient(180deg, #151513 0%, #0e0e0d 100%);
}
.proj__shot--phones img {
  width: auto;
  height: 420px;
  max-width: 26%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.proj__shot--phones img:nth-child(2) {
  height: 380px;
  margin-top: 40px;
}

/* the NCC module wall replaces a screenshot that cannot be published */
.mapwall {
  margin: clamp(20px, 2.6vw, 34px) 0 0 68px;
  max-width: 780px;
  border-top: 1px solid var(--night-line);
}
.mapwall__label {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--night-line-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-faint);
}
.mapwall__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--night-line-soft);
}
.mapwall__row span {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 1.5vw, 1.25rem);
  letter-spacing: -0.01em;
  color: rgba(244, 242, 237, 0.72);
}
.mapwall__row b {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-rose);
  text-transform: uppercase;
}
.mapwall__note {
  margin: 14px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--night-faint);
}

/* -------------------------------------------------------------- method */
.method {
  padding-block: clamp(44px, 5.5vw, 84px) clamp(26px, 3.2vw, 46px);
  border-top: 1px solid var(--night-line);
}
.method__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
.step {
  border-top: 1px solid var(--night-line);
  padding-top: 16px;
}
.step__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent-rose);
  margin-bottom: 14px;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--night-text);
}
.step__line {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--night-muted);
}

/* ---------------------------------------------------------- capability
   Four capabilities as a 2x2 spec sheet. No auto columns: every cell is the
   same width, so a long chip row can never squeeze a title. */
.capa-section {
  display: block;
  padding-block: clamp(44px, 5.5vw, 84px) clamp(26px, 3.2vw, 46px);
  border-top: 1px solid var(--night-line);
}
.capa__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(26px, 4vw, 64px);
}
.capa {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px) 0 clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--night-line);
}
.capa__top {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.capa__n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-rose);
  flex: 0 0 auto;
  padding-top: 4px;
}
.capa__title {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.7vw, 1.4375rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  color: var(--night-text);
  text-wrap: balance;
}
.capa__line {
  margin: 0;
  padding-left: 30px;
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--night-muted);
  max-width: 44ch;
}
.capa__foot {
  margin-top: auto;
  padding-left: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}
.capa__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.capa__tags li {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night-muted);
  border: 1px solid var(--night-line-soft);
  border-radius: 3px;
  padding: 3px 7px;
  white-space: nowrap;
}
.capa__proof {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-rose);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.capa__proof:hover {
  color: #f0bcc8;
}
@media (max-width: 900px) {
  .capa__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .capa {
    padding-block: 20px 24px;
  }
  .capa__line,
  .capa__foot {
    padding-left: 0;
  }
}

/* --------------------------------------------------------------- about */
.about {
  padding-block: clamp(44px, 5.5vw, 84px) clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--night-line);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(26px, 4vw, 76px);
  align-items: start;
}
.about__prose p {
  margin: 0 0 16px;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  color: var(--night-muted);
  max-width: 50ch;
}
.about__prose p strong {
  color: var(--night-text);
  font-weight: 600;
}
.about__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--night-line);
  margin: 0;
}
.about__fact {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--night-line-soft);
}
.about__fact dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-faint);
}
.about__fact dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--night-text);
}

/* ------------------------------------------------------------- contact */
.close {
  background: var(--bg-warm);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.close__inner {
  padding-block: clamp(52px, 7vw, 104px) clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}
.close .eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.close__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
  color: var(--ink);
}
.close__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.close__line {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-strong);
  max-width: 42ch;
}
.close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.close__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.close__list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.close__list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.close__list a,
.close__list span {
  color: var(--ink);
  text-decoration: none;
}
.close__list a:hover {
  color: var(--accent);
}
.close__foot {
  border-top: 1px solid var(--line);
  padding-block: 16px 22px;
}
.close__foot .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
  .cap {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .cap__line {
    grid-column: 1 / -1;
  }
  .cap__proof {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .hero__grid,
  .sec-head,
  .about__grid,
  .close__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .sec-head__note {
    justify-self: start;
    max-width: 46ch;
  }
  .figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .figure:nth-child(2) {
    border-right: 0;
  }
  .figure:nth-child(-n + 2) {
    border-bottom: 1px solid var(--night-line-soft);
  }
  .method__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proj__head {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }
  .proj__line,
  .proj__nums,
  .proj__shot,
  .mapwall {
    margin-left: 0;
  }
  .proj__nums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }
  .proj__shot--phones img {
    height: 300px;
  }
  .proj__shot--phones img:nth-child(2) {
    height: 268px;
  }
}
@media (max-width: 640px) {
  .bar__nav {
    display: none;
  }
  .hero__title {
    font-size: clamp(2.9rem, 15vw, 4.2rem);
  }
  .hero__title em {
    font-size: 0.5em;
  }
  .method__grid,
  .figures {
    grid-template-columns: minmax(0, 1fr);
  }
  .figure {
    border-right: 0;
    border-bottom: 1px solid var(--night-line-soft);
  }
  .figure:last-child {
    border-bottom: 0;
  }
  .proj__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .proj__idx {
    order: -1;
  }
    .proj__shot--phones img {
    height: 220px;
    max-width: 30%;
  }
  .proj__shot--phones img:nth-child(2) {
    height: 196px;
    margin-top: 24px;
  }
  .about__fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .proj__shot,
  .proj__name,
  .bar {
    transition: none;
  }
  .proj:hover .proj__shot {
    transform: none;
  }
}

/* compact rows: the four smaller products sit beside their screen, so the
   page keeps a rhythm instead of seven identical bands */
.proj--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  grid-template-areas:
    'head head'
    'line shot'
    'nums shot';
  gap: 0 clamp(24px, 3.4vw, 56px);
  align-items: start;
}
.proj--compact .proj__head {
  grid-area: head;
}
.proj--compact .proj__line {
  grid-area: line;
  margin-left: 46px;
  margin-top: 16px;
  max-width: 44ch;
}
.proj--compact .proj__nums {
  grid-area: nums;
  margin-left: 46px;
  margin-top: 18px;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.proj--compact .proj__shot {
  grid-area: shot;
  margin: 16px 0 0;
  align-self: start;
}
.proj--compact .proj__shot img {
  height: clamp(190px, 17vw, 268px);
}
.proj--compact .mapwall {
  grid-area: shot;
  margin: 18px 0 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .proj--compact {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'head'
      'line'
      'nums'
      'shot';
  }
  .proj--compact .proj__shot img {
    height: clamp(240px, 46vw, 360px);
  }
  .proj--compact .proj__line,
  .proj--compact .proj__nums {
    margin-left: 0;
  }
}
