@font-face {
  font-family: "Koralle Neue";
  src: url("../assets/metriculous/KoralleNeue-VF_otf.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
.metriculous-hero {
  display: grid;
  place-items: center;
  aspect-ratio: 64 / 27;
  height: auto;
  background: #000;
  color: #fff;
}
.breathing-logotype {
  font: 100 12.8vw/1 "Koralle Neue", sans-serif;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.breathing-logotype span {
  animation: breathe-weight 6s ease-in-out infinite;
  animation-delay: calc(var(--letter) * 110ms);
}
@keyframes breathe-weight {
  0%, 100% { font-weight: 100; }
  40% { font-weight: 900; }
}
@media (prefers-reduced-motion: reduce) {
  .breathing-logotype span { animation: none; font-weight: 400; }
}
.studio-link .external-link-icon { display: inline-block; width: .85em; height: .85em; margin-left: .25em; vertical-align: -.05em; }
.studio-link { color: inherit; text-underline-offset: .2em; }
.type-showcase { margin-bottom: 140px; }
.type-showcase .case-note { margin: 100px 0 56px; }
.specimen-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, .6vw, 10px);
}
.specimen-strip img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .specimen-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.specimen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.specimen-grid figure { margin: 0; min-width: 0; }
.specimen-grid img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
 .type-showcase { margin-bottom: 80px; }
 .type-showcase .case-note { margin: 64px 0 32px; }
 .specimen-grid { gap: 24px; }
}
@media (max-width: 480px) { .specimen-grid { grid-template-columns: 1fr; } }

.walkthrough-laptop {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #191919;
}
.laptop-lid {
  box-sizing: border-box;
  width: 90%;
  margin: 0 auto;
  padding: clamp(6px, 1.1vw, 14px) clamp(4px, .7vw, 9px);
  border: 2px solid currentColor;
  border-radius: clamp(8px, 1.3vw, 16px) clamp(8px, 1.3vw, 16px) 0 0;
  background: #f4f3f4;
}
.walkthrough-laptop::after {
  content: "";
  display: block;
  height: clamp(5px, .8vw, 10px);
  margin-top: -2px;
  border: 2px solid currentColor;
  border-radius: 2px 2px 2% 2% / 2px 2px 90% 90%;
  background: #dedddd;
}
.walkthrough-laptop::before {
  content: "";
  position: absolute;
  bottom: clamp(5px, .8vw, 10px);
  left: 44%;
  width: 12%;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: currentColor;
}
.website-video { display: block; width: 100%; height: auto; box-sizing: border-box; border: 1px solid #000; background: #000; }

@font-face {
  font-family: "Metriculous Logo";
  src: url("../assets/metriculous/MetriculousLogo.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}
.brand-artwork-row { display: grid; grid-template-columns: 2fr 1.5fr; gap: 32px; margin-bottom: 32px; align-items: center; }
.brand-artwork-row img { display: block; width: 100%; height: auto; }
.brand-logo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.brand-logo-sample { display: grid; place-items: center; aspect-ratio: 1; color: #000; min-width: 0; }
.brand-logo-orange { color: #e72b00; }
.brand-logo-purple { color: #70479a; }
.brand-logo-sample span {
  display: block;
  font-family: "Metriculous Logo", sans-serif;
  font-size: clamp(60px, 20vw, 320px);
  line-height: .75;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  font-synthesis: none;
  transition: font-variation-settings .35s ease;
}
.brand-logo-sample:hover span,
.brand-logo-sample:focus-visible span { font-variation-settings: "wght" 900; }
.brand-logo-sample:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 700px) {
  .brand-artwork-row { gap: 24px; margin-bottom: 24px; }
  .brand-logo-row { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo-sample span { transition: none; }
}

.koralle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.koralle-grid figure:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.koralle-grid figure:nth-child(2),
.koralle-grid figure:nth-child(3) { grid-column: 3; }
@media (max-width: 700px) {
  .koralle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .koralle-grid figure:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 480px) {
  .koralle-grid { grid-template-columns: 1fr; }
}
.brand-envelope { display: block; width: 100%; height: auto; margin-bottom: 32px; }
@media (max-width: 700px) {
  .brand-envelope { margin-bottom: 24px; }
}
.brand-sketch-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(76%, 440px);
  gap: clamp(12px, 2vw, 24px);
  margin: clamp(48px, 7vw, 96px) auto;
}
.brand-sketch-pair img { display: block; width: 100%; height: auto; }
