/*Font families*/

@font-face {
  font-family: AkkuratPro;
  src: url('/fonts/AkkuratPro-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: AkkuratPro;
  src: url('/fonts/AkkuratPro-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: AkkuratPro;
  src: url('/fonts/AkkuratPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: AkkuratPro;
  src: url('/fonts/AkkuratPro-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: AkkuratPro;
  src: url('/fonts/AkkuratPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: AkkuratPro;
  src: url('/fonts/AkkuratPro-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-UltraLight.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-UltraLightItalic.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-Thin.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-ThinItalic.woff2') format('woff2');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-Book.woff2') format('woff2');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-BookItalic.woff2') format('woff2');
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-SemiboldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Bright;
  src: url('/fonts/BrightGrotesk-ExtraBoldItalic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Chiq;
  src: url('/fonts/ChiqRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Chiq;
  src: url('/fonts/ChiqItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Chiq;
  src: url('/fonts/ChiqMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Chiq;
  src: url('/fonts/ChiqMediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Chiq;
  src: url('/fonts/ChiqBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Chiq;
  src: url('/fonts/ChiqBoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: QuicksandPro;
  src: url('/fonts/QuicksandPro-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: QuicksandPro;
  src: url('/fonts/QuicksandPro-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: QuicksandPro;
  src: url('/fonts/QuicksandPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: QuicksandPro;
  src: url('/fonts/QuicksandPro-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: QuicksandPro;
  src: url('/fonts/QuicksandPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: QuicksandPro;
  src: url('/fonts/QuicksandPro-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f5f4ef;
  --fg: #111;
  --muted: #777;
  --line: #c9c7c0;
  --ease: cubic-bezier(.2,.8,.2,1);
}

[data-theme=dark] {
  --bg: #0b0b0b;
  --fg: #f3f1eb;
  --muted: #999;
  --line: #383838;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: AkkuratPro,Arial,sans-serif;
  background: var(--bg);
  color: var(--fg);
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  max-width: 1600px;
  margin: auto;
  padding: 0 28px;
}

.top {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: color-mix(in srgb,var(--bg) 92%,transparent);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: auto;
}

.name {
  font-weight: 700;
  letter-spacing: -.04em;
}

.sub,.meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

[data-theme=dark] .brand-mark {
  filter: invert(1);
}

.controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 9px;
  font-size: 11px;
}

.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  display: grid;
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-content: center;
  gap: 40px;
  padding: clamp(32px, 8svh, 96px) 0;
  border-bottom: 1px solid var(--line);
}

.hero h1,.page-title {
  font-family: Bright,AkkuratPro,sans-serif;
  font-weight: 800;
  font-synthesis: none;
  letter-spacing: -.075em;
  margin: 0;
}

.hero h1 {
  /* Bright 800, -.075em tracking: TYPEFACES. advances 5.359em.
     Reserve the side column/gap and 1px for subpixel rounding. */
  font-size: clamp(48px, 9vw, 190px); /* Fallback without container units. */
  font-size: min(190px, calc((100cqw - 250px - 40px - 1px) / 5.359));
  line-height: .76;
}

.hero h1 .hero-payoff {
  display: block;
  margin-top: .12em;
  font-family: Bright, AkkuratPro, sans-serif;
  font-size: .32em;
  font-weight: 350;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.035em;
}

.hero-watermark {
  position: absolute;
  right: -7vw;
  bottom: -9vw;
  width: min(46vw,680px);
  opacity: .035;
  pointer-events: none;
}

[data-theme=dark] .hero-watermark {
  filter: invert(1);
}

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.45;
  font-size: 14px;
  z-index: 1;
}

.hero>h1 {
  min-width: 0;
  z-index: 1;
}

@media (min-width: 801px) {
  .hero-side {
    gap: 24px;
  }
  .hero-side > p {
    margin: 0;
  }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 54px 0 22px;
}

.section-head h2 {
  font-family: Bright,AkkuratPro,sans-serif;
  font-weight: 700;
  font-size: clamp(34px,5vw,72px);
  letter-spacing: -.06em;
  margin: 4px 0 0;
}

.text-link {
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-bottom: 1px solid;
  padding-bottom: 4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 82px 28px;
  padding-bottom: 90px;
}

.card {
  text-decoration: none;
}

.card.feature {
  grid-column: 1/-1;
}

.visual {
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4/3;
}

.feature .visual {
  aspect-ratio: 16/7;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}

.card:hover img {
  transform: scale(1.012);
}

.caption {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.title {
  font-size: clamp(22px,2.25vw,34px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}

.desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.type-teaser {
  border-top: 1px solid var(--line);
  padding: 58px 0 70px;
}

.type-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: end;
}

.type-aa {
  font-family: Bright;
  font-size: clamp(140px,24vw,360px);
  font-weight: 400;
  line-height: .75;
  letter-spacing: -.08em;
  transition: font-family .2s;
}

.type-list {
  border-top: 1px solid var(--line);
}

.type-list a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: clamp(24px,3vw,42px);
  font-weight: 700;
  letter-spacing: -.04em;
}

.page-hero {
  padding: 9vh 0 6vh;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: clamp(76px,14vw,210px);
  line-height: .8;
}

.page-intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px,520px);
  gap: 40px;
  margin-top: 42px;
}

.page-intro-editorial {
  display: grid;
  grid-template-columns: max-content minmax(0, 760px);
  justify-content: start;
  gap: 18px;
}

.page-intro-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.page-intro-separator {
  font-size: 16px;
  font-weight: 700;
}

.page-intro-statement {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.page-intro-copy .meta {
  margin-bottom: 18px;
}

.page-intro-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.archive-switch button {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-left: 18px;
  padding-bottom: 4px;
}

.archive-switch .active {
  color: var(--fg);
  border-bottom: 1px solid;
}

.index {
  display: none;
  padding-bottom: 90px;
}

.row {
  display: grid;
  grid-template-columns: 60px 1.5fr 1fr auto;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  align-items: center;
  text-decoration: none;
}

.row:last-child {
  border-bottom: 1px solid var(--line);
}

.row strong {
  font-size: clamp(24px,3vw,44px);
  letter-spacing: -.045em;
}

.row span {
  font-size: 12px;
  color: var(--muted);
}

.family-list {
  padding: 40px 0 90px;
}

.family {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
}

.family:last-child {
  border-bottom: 1px solid var(--line);
}

.family-top {
  display: flex;
  justify-content: space-between;
}

.family-word {
  font-size: clamp(80px,14vw,210px);
  line-height: normal;
  padding: .28em 0 .35em;
  letter-spacing: -.06em;
  overflow: visible;
}

.family.bright .family-word {
  font-family: Bright;
}

.family.chiq .family-word {
  font-family: Chiq;
}

.family.quicksand .family-word {
  font-family: QuicksandPro;
  font-weight: 300;
}

.family-meta {
  display: flex;
  justify-content: space-between;
}

.typeface-hero {
  padding: 8vh 0 4vh;
  border-bottom: 1px solid var(--line);
}

.typeface-name {
  font-size: clamp(78px,15vw,220px);
  line-height: normal;
  letter-spacing: -.065em;
  padding: .15em 0 .2em;
  margin: 0;
  overflow: visible;
}

.bright-face {
  font-family: Bright;
}

.chiq-face {
  font-family: Chiq;
}

.quicksand-face {
  font-family: QuicksandPro;
  font-weight: 300;
}

.specimen {
  padding: 55px 0;
  border-bottom: 1px solid var(--line);
}

.specimen-line {
  font-size: clamp(54px,10vw,150px);
  line-height: normal;
  padding: .22em 0 .3em;
  overflow: visible;
}

select,input {
  width: 100%;
}

.about-profile {
  display: block;
}

/*ABOUT — HERO: size the composition from the canvas below the public header.*/
.about-hero {
  --about-canvas: max(500px, calc(100svh - 72px));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: var(--about-canvas);
  border-bottom: 1px solid var(--line);
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, calc(var(--about-canvas) * .025), 28px);
  padding-top: clamp(24px, calc(var(--about-canvas) * .1), 110px);
  padding-bottom: clamp(24px, calc(var(--about-canvas) * .06), 64px);
}

.about-hero .page-title {
  margin: 0;
  font-size: clamp(76px, min(14vw, calc(var(--about-canvas) * .27)), 210px);
  line-height: .8;
}

.about-hero-meta {
  max-width: 460px;
}

.about-statement {
  margin-top: auto;
  max-width: 850px;
  padding-right: clamp(24px, 3vw, 56px);
  font-family: Bright, AkkuratPro, sans-serif;
  font-size: clamp(32px, min(3.2vw, calc(var(--about-canvas) * .068)), 68px);
  font-weight: 400;
  font-style: italic;
  font-synthesis: none;
  font-feature-settings: "swsh" 1;
  line-height: .98;
  letter-spacing: 0;
}

.about-philosophy {
  margin: 0;
}

.about-portrait-cutout {
  position: relative;
  align-self: stretch;
  margin: 0;
  min-width: 0;
  z-index: 1;
  overflow: hidden;
}

.about-portrait-cutout img {
  position: absolute;
  inset: 0;
  width: 100%;
  /* Use the same vertical source crop as the phone portrait. */
  height: calc(100% * 1.25 / .92);
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 800px) {
  .about-hero {
    --about-canvas: max(560px, calc(100svh - 64px));
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(180px, 1fr) auto;
    gap: clamp(12px, calc(var(--about-canvas) * .022), 24px);
    padding: clamp(16px, calc(var(--about-canvas) * .045), 52px) 0 24px;
  }
  .about-hero-copy {
    display: contents;
  }
  .about-hero .page-title {
    order: 1;
    font-size: clamp(72px, 22vw, 112px);
    line-height: .82;
  }
  .about-hero-meta {
    order: 2;
    width: 100%;
    max-width: none;
  }
  .about-portrait-cutout {
    order: 3;
    align-self: center;
    width: min(92%, 480px, calc(var(--about-canvas) * .46));
    margin: 0 auto;
    border-bottom: 2px solid var(--line);
    aspect-ratio: 1 / .92;
    overflow: hidden;
  }
  .about-portrait-cutout img {
    inset: 0 0 auto;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    transform: translateY(-3%);
  }
  .about-statement {
    order: 4;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    font-size: clamp(22px, min(6.5vw, calc(var(--about-canvas) * .045)), 32px);
    line-height: 1.2;
  }
}

/* Phone portrait consumes the flexible track; tablet framing remains unchanged. */
@media (max-width: 600px) {
  .about-portrait-cutout {
    align-self: stretch;
    width: 100vw;
    margin-inline: calc((100% - 100vw) / 2);
    aspect-ratio: auto;
  }
  .about-portrait-cutout img {
    /* Asset height/width is 1.25; preserve the approved .92 vertical crop. */
    height: calc(100% * 1.25 / .92);
    object-fit: cover;
    object-position: center top;
  }
}

/*Biography*/

.about-story {
  display: grid;
  grid-template-columns: max-content minmax(0, 760px);
  justify-content: start;
  gap: 18px;
  padding: clamp(64px, 5vw, 96px) 0;
}

.about-story-text {
  max-width: 680px;
}

.about-story-text p {
  margin: 0;
  font-size: clamp(20px,1.65vw,28px);
  line-height: 1.35;
}

.about-story-text p + p {
  margin-top: 1.5em;
}

.about-story-copy {
  grid-column: 2;
  max-width: 680px;
}

.about-story-copy .meta {
  margin-bottom: 32px;
}

.about-story-copy p {
  margin: 0;
  font-size: clamp(17px,1.45vw,22px);
  line-height: 1.5;
}

.about-story-copy p + p {
  margin-top: 1.5em;
}

.footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 110px) 0 56px;
}

.cta-footer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 48px;
  align-items: end;
}

.cta-kicker {
  font-size: clamp(16px,1.45vw,22px);
  margin-bottom: 16px;
}

.cta-title {
  font-family: AkkuratPro;
  font-weight: 700;
  font-size: clamp(76px,13vw,210px);
  line-height: .78;
  letter-spacing: -.075em;
  margin: 0;
}

.message-btn {
  display: inline-flex;
  gap: 34px;
  min-width: 230px;
  justify-content: space-between;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: clamp(58px, 8vw, 100px);
  padding: 18px 0 17px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.menu-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0;
  z-index: 101;
}

.menu-btn:before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg);
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(0 at calc(100% - 45px) 36px);
  transition: clip-path .72s cubic-bezier(.76,0,.24,1),opacity 0s .72s,visibility 0s .72s;
}

.menu-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(150vmax at calc(100% - 45px) 36px);
  transition: clip-path .72s cubic-bezier(.76,0,.24,1);
}

.menu-inner {
  max-width: 1600px;
  height: 100%;
  margin: auto;
  padding: 22px 28px 32px;
  display: flex;
  flex-direction: column;
}

.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb,var(--bg) 30%,transparent);
}

.menu-close {
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb,var(--bg) 45%,transparent);
  border-radius: 50%;
  position: relative;
  font-size: 0;
}

.menu-close:before,.menu-close:after {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  top: 16px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.menu-close:after {
  transform: rotate(-45deg);
}

.menu-links {
  margin: auto 0;
  display: flex;
  flex-direction: column;
}

.menu-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(58px,10vw,158px);
  line-height: .78;
  letter-spacing: -.075em;
  padding: .07em 0 .1em;
  border-bottom: 1px solid color-mix(in srgb,var(--bg) 28%,transparent);
}

.menu-links a:first-child {
  border-top: 1px solid color-mix(in srgb,var(--bg) 28%,transparent);
}

.menu-links a:hover {
  font-style: italic;
}

.menu-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .68;
}


@media (max-width:800px) {
  .wrap {
    padding: 0 16px;
  }
  .brand-mark {
    width: 36px;
  }
  .top .sub {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(max-content, 1fr) auto;
    align-content: normal;
    min-height: calc(100svh - 64px);
    gap: 0;
    padding-block: 0 clamp(24px, 4svh, 40px);
  }
  .hero h1 {
    font-size: clamp(48px, 16vw, 190px);
    font-size: min(190px, calc((100cqw - 1px) / 5.359));
  }
  .hero > h1 {
    align-self: center;
    padding-block: clamp(24px, 3svh, 32px);
  }
  .hero-side {
    gap: clamp(24px, 3svh, 32px);
    justify-content: flex-start;
  }
  .hero-side > p {
    margin: 0;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .card.feature {
    grid-column: auto;
  }
  .feature .visual {
    aspect-ratio: 4/3;
  }
  .type-teaser-grid,.page-intro,.about-grid,.row {
    grid-template-columns: 36px 1fr auto;
  }
  .row .discipline {
    display: none;
  }
  .cta-footer {
    grid-template-columns: 1fr;
  }
  .message-btn {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .menu-panel {
    clip-path: circle(0 at calc(100% - 33px) 36px);
  }
  .menu-panel.open {
    clip-path: circle(150vmax at calc(100% - 33px) 36px);
  }
  .menu-inner {
    padding: 19px 16px 24px;
  }
  .menu-links a {
    font-size: clamp(52px,18vw,96px);
  }
}

.typeface-back {
  padding: 28px 0 0;
}

.typeface-back a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .2s;
}

.typeface-back a:hover {
  color: var(--fg);
}

/*Project case study*/

.project-detail {
  --project-tight: clamp(16px, 1.5vw, 24px);
  --project-related: clamp(24px, 2.5vw, 40px);
  --project-section: clamp(40px, 4vw, 64px);
  --project-major: clamp(48px, 5vw, 80px);
}

.project-back {
  padding: 28px 0 0;
}

.project-back a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .2s;
}

.project-back a:hover {
  color: var(--fg);
}

.project-hero {
  padding: var(--project-major) 0 var(--project-section);
  border-bottom: 1px solid var(--line);
}

.project-hero h1 {
  font-family: Bright,AkkuratPro,sans-serif;
  font-weight: 800;
  font-synthesis: none;
  font-size: clamp(62px,10vw,150px);
  line-height: .82;
  letter-spacing: -.07em;
  margin: 18px 0 0;
  max-width: 1320px;
  overflow-wrap: anywhere;
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(280px,.8fr) minmax(320px,1.2fr);
  gap: 8vw;
  margin-top: var(--project-section);
  align-items: start;
}

.project-intro>p {
  font-size: clamp(20px,2.1vw,32px);
  line-height: 1.12;
  margin: 0;
  max-width: 780px;
}

.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-facts div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.project-facts span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.project-facts strong {
  font-size: 13px;
  line-height: 1.4;
}

.project-media {
  margin: 0;
  padding: var(--project-related) 0 var(--project-section);
}

.project-media img {
  display: block;
  width: 100%;
  height: auto;
}

.project-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.project-story {
  display: grid;
  grid-template-columns: minmax(180px,.6fr) minmax(0,1.4fr);
  gap: 8vw;
  padding: var(--project-section) 0;
  border-top: 1px solid var(--line);
}

.project-story h2 {
  font-family: Bright,AkkuratPro,sans-serif;
  font-weight: 700;
  font-size: clamp(46px,7vw,104px);
  line-height: .88;
  letter-spacing: -.065em;
  margin: 0 0 var(--project-tight);
}

.project-story p {
  white-space: pre-line;
  font-size: clamp(16px,1.55vw,22px);
  line-height: 1.5;
  max-width: 850px;
  margin: 0 0 1em;
}

.project-story-tight {
  padding-bottom: var(--project-related);
}

.project-pull {
  display: grid;
  grid-template-columns: minmax(180px,.6fr) minmax(0,1.4fr);
  gap: 8vw;
  padding: var(--project-section) 0;
  border-top: 1px solid var(--line);
}

.project-pull p {
  font-family: Bright,AkkuratPro,sans-serif;
  font-size: clamp(62px,9vw,138px);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.07em;
  margin: 0;
}

.project-pull em {
  font-weight: 400;
}

.project-end {
  border-top: 1px solid var(--line);
  padding: var(--project-related) 0 var(--project-major);
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.project-end a {
  text-decoration: none;
  font-size: clamp(28px,4vw,60px);
  font-weight: 700;
  letter-spacing: -.05em;
  display: flex;
  gap: 60px;
}

.project-end a:hover span {
  transform: translateX(6px);
}

.project-end a span {
  transition: transform .2s;
}

@media (max-width:800px) {
  .project-intro,.project-story,.project-pull {
    grid-template-columns: 1fr;
    gap: var(--project-tight);
  }
  .project-facts {
    grid-template-columns: 1fr 1fr;
  }
  .project-end {
    flex-direction: column;
    gap: 26px;
  }
  .project-end a {
    width: 100%;
    justify-content: space-between;
  }
}

/* A narrative block owns its gap to the media it introduces. */
.project-story p:last-child {
  margin-bottom: 0;
}

:is(.project-story, .project-pull):has(+ .project-media) {
  padding-bottom: var(--project-related);
}

:is(.project-story, .project-pull, .project-media) + .project-media {
  padding-top: 0;
}

/*Project Statement variants*/

.project-pull-editorial p {
  font-family: AkkuratPro, Arial, sans-serif;
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  max-width: 760px;
}

.project-pull-editorial > .meta {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--fg);
  font-weight: 700;
}

/*Split alignment*/

.project-pull:not(.project-pull-full).project-pull-center > .meta,
.project-pull:not(.project-pull-full).project-pull-center p {
  text-align: center;
}

.project-pull:not(.project-pull-full).project-pull-right > .meta,
.project-pull:not(.project-pull-full).project-pull-right p {
  text-align: right;
}

/*Display statements need more room for the expressive typography.*/

.project-pull:not(.project-pull-editorial):not(.project-pull-full) p {
  grid-column: 1 / -1;
  width: min(1100px, 100%);
}

.project-pull:not(.project-pull-editorial):not(.project-pull-full).project-pull-center p {
  margin-left: auto;
  margin-right: auto;
}

.project-pull:not(.project-pull-editorial):not(.project-pull-full).project-pull-right p {
  margin-left: auto;
  margin-right: 0;
}

/*Full-width statements use a constrained composition
   that can move across the available width.*/

.project-pull-full.project-pull-editorial > .meta {
  display: block;
  width: min(760px, 100%);
}

.project-pull-full.project-pull-editorial p {
  width: min(760px, 100%);
}

.project-pull-full.project-pull-center > .meta,
.project-pull-full.project-pull-center p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.project-pull:not(.project-pull-full).project-pull-editorial.project-pull-label-right > p {
  grid-column: 1;
  grid-row: 1;
}

/*Optional label position for split statements*/

.project-pull:not(.project-pull-full).project-pull-editorial.project-pull-label-right > .meta {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}

.project-pull:not(.project-pull-full).project-pull-editorial.project-pull-label-right {
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr);
}

.project-pull:not(.project-pull-full).project-pull-label-right > .meta {
  grid-column: 2;
  grid-row: 1;
}

.project-pull:not(.project-pull-full).project-pull-label-right > p {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width:800px) {
  .project-pull-editorial {
    gap: var(--project-tight);
  }
  .project-pull-editorial p {
    font-size: 20px;
    line-height: 1.5;
  }
  .project-pull-editorial > .meta {
    font-size: 18px;
  }
}

/*========================================
   STUDIO / ADMIN
   ========================================*/

.studio-body {
  background: #efeee9;
}

/*Shell + navigation*/

.studio-body .studio {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}

.studio-body .side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.studio-body .side nav {
  display: grid;
  gap: 6px;
  margin-top: 70px;
}

.studio-body .side nav a {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-left: -10px;
  padding: 7px 10px;
  border-radius: 7px;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease, opacity 160ms ease;
}

.studio-body .side nav a.active {
  background: rgba(127, 127, 127, 0.09);
  font-weight: 700;
}

.studio-body .side nav a:hover {
  background: rgba(127, 127, 127, .09);
}

.studio-body .main {
  padding: 32px 40px;
}

.studio-body .studio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 18px;
}

.studio-body .studio-head h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 100px);
  line-height: .9;
  letter-spacing: -.06em;
}

.studio-body .studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.studio-body .studio-brand-mark {
  display: block;
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

.studio-body .studio-brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.studio-body .studio-brand-copy strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.studio-body .studio-brand-copy span {
  font-size: 16px;
  color: var(--muted);
}

/*Studio utility navigation*/

.studio-body .studio-utilities {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-body .studio-utilities form {
  margin: 0;
}

.studio-body .studio-utility-button,
.studio-body .studio-utilities .studio-logout {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.studio-body .studio-utility-button:hover,
.studio-body .studio-utilities .studio-logout:hover {
  background: rgba(127, 127, 127, .09);
}

.studio-body .studio-utility-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*Shared Studio controls*/

.studio-body .actions,
.studio-body .save-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--fg);
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.studio-body .btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.studio-body .btn.primary {
  background: var(--fg);
  color: var(--bg);
}

.studio-body .btn:disabled {
  cursor: default;
  opacity: .55;
  transform: none;
}

/*Project editor*/

.studio-body .editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  margin-top: 36px;
}

.studio-body .panel {
  border-top: 1px solid var(--fg);
  padding-top: 16px;
}

.studio-body .field {
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
}

.studio-body .field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.studio-body .field input,
.studio-body .field textarea,
.studio-body .field select {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
}

.studio-body .field textarea {
  min-height: 110px;
  resize: vertical;
}

/*Typeface style editor*/

.studio-body .typeface-style-editor {
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.studio-body .typeface-style-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 140px 36px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.studio-body .field .typeface-style-row input,
.studio-body .field .typeface-style-row select {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.studio-body .field .typeface-style-row input:focus,
.studio-body .field .typeface-style-row select:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.035);
}

.studio-body .typeface-style-row .style-weight {
  font-variant-numeric: tabular-nums;
}

.studio-body .style-webfont {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 2px 0 4px;
}

.studio-body .style-specimen {
  grid-column: 1 / -1;
  margin: 0;
}

.studio-body .style-specimen-features {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.studio-body .style-specimen-features[hidden] {
  display: none;
}

.studio-body .field .style-specimen-features label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.studio-body .field .typeface-style-row .style-specimen-features input {
  width: 16px;
  height: 16px;
  padding: 0;
  flex: none;
  appearance: auto;
}

.studio-body .field .typeface-style-row .style-specimen-features input:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.studio-body .style-specimen-text {
  width: 100%;
  min-width: 0;
  font-size: 16px;
}

.studio-body .field .style-webfont .style-font-file {
  min-width: 0;
  padding: 6px 0;
  font-size: 12px;
  color: var(--muted);
}

.studio-body .style-font-upload {
  white-space: nowrap;
  padding: 7px 12px;
}

.studio-body .style-font-state {
  white-space: nowrap;
  text-align: right;
}

.studio-body .style-remove {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.45;
}

.studio-body .style-remove:hover {
  opacity: 1;
}

.studio-body .style-add {
  margin-top: 12px;
}

@media (max-width: 680px) {
  .studio-body .typeface-style-row {
    grid-template-columns: minmax(0, 1fr) 80px 105px 32px;
    gap: 6px;
  }
  .studio-body .field .typeface-style-row input,
  .studio-body .field .typeface-style-row select {
    font-size: 16px;
  }
  .studio-body .style-remove {
    width: 32px;
  }
  .studio-body .style-webfont {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 4px 0;
  }
  .studio-body .style-font-state {
    grid-column: 1 / -1;
    text-align: left;
  }
}

.studio-body .blocks {
  display: grid;
  gap: 10px;
}

.studio-body .block {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f7f5f0;
  cursor: grab;
  transition: opacity 150ms ease, transform 150ms ease;
}

.studio-body .block > .handle {
  grid-column: 1;
}

.studio-body .block > .block-content {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

.studio-body .block > .remove {
  grid-column: 3;
}

.studio-body .block.dragging {
  opacity: .35;
}

.studio-body .handle {
  cursor: grab;
}

.studio-body .studio-preview {
  margin-top: 28px;
}

.studio-body .studio-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.studio-body .notice {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 13px;
}

/*Legacy grid/card helpers still used by Studio pages*/

.studio-body .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.studio-body .card {
  grid-column: span 6;
  margin-bottom: 4vw;
  padding-top: 10px;
  border-top: 1px solid var(--fg);
}

.studio-body .table {
  margin-top: 40px;
}

.studio-body .row {
  display: grid;
  grid-template-columns: 1.7fr .6fr .7fr .6fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  .studio-body .studio {
    grid-template-columns: 1fr;
  }
  .top .controls > .meta {
    display: none;
  }
  .studio-body .studio-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .studio-body .studio-head > div:last-child {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .studio-body .studio-head > div:last-child > * {
    flex: 0 0 auto;
  }
  .studio-body .studio-head.typeface-editor-head > .actions {
    gap: 6px;
  }
  .studio-body .typeface-editor-head .btn {
    padding-inline: 6px;
    white-space: nowrap;
  }
  .studio-body .typeface-editor-head .typeface-preview-arrow {
    display: none;
  }
  .studio-body .typeface-editor-head .save-actions {
    display: contents;
  }
  .studio-body .typeface-editor-head #saveState:empty {
    display: none;
  }
  .studio-body .typeface-editor-head #saveState:not(:empty) {
    flex-basis: 100%;
    order: 1;
  }
  .studio-body .side {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .studio-body .side nav {
    display: flex;
    gap: 6px;
    margin-top: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .studio-body .side nav::-webkit-scrollbar {
    display: none;
  }
  .studio-body .side nav a {
    width: auto;
    flex: 0 0 auto;
    margin-left: 0;
    padding: 7px 10px;
  }
  .studio-body .main {
    padding: 24px;
  }
  .studio-body .studio-head {
    gap: 20px;
  }
  .studio-body .editor {
    grid-template-columns: 1fr;
  }
  .studio-body .grid {
    display: block;
  }
  .studio-body .card {
    margin-bottom: 50px;
  }
  .studio-body .row {
    grid-template-columns: 1fr .5fr;
  }
  .studio-body .row > *:nth-child(n + 3) {
    display: none;
  }
}

/*Smooth theme transition*/

html.theme-transition,
html.theme-transition body,
html.theme-transition header,
html.theme-transition main,
html.theme-transition footer,
html.theme-transition section,
html.theme-transition nav,
html.theme-transition button,
html.theme-transition a,
html.theme-transition .menu-panel,
html.theme-transition .work-card,
html.theme-transition .project-media,
html.theme-transition .project-story,
html.theme-transition .project-pull {
  transition: background-color 320ms cubic-bezier(.22, 1, .36, 1),
    color 320ms cubic-bezier(.22, 1, .36, 1),
    border-color 320ms cubic-bezier(.22, 1, .36, 1),
    fill 320ms cubic-bezier(.22, 1, .36, 1),
    opacity 320ms cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.theme-transition,
  html.theme-transition *,
  html.theme-transition *::before,
  html.theme-transition *::after {
    transition: none !important;
  }
}

/*Typography refinements*/

/*Relax footer tracking*/

.cta-kicker {
  letter-spacing: .02em;
}

.cta-title {
  letter-spacing: -.045em;
}

.footer-bottom {
  letter-spacing: .14em;
}

.message-btn {
  letter-spacing: .13em;
}

/*Give full-screen menu labels more breathing room*/

.menu-links a {
  line-height: .82;
  padding: .14em 0 .18em;
}

/*Menu typography refinement*/

.menu-links a {
  text-transform: uppercase;
  font-size: clamp(50px, 8vw, 126px);
  line-height: .84;
  padding: .16em 0 .20em;
  letter-spacing: -.055em;
}

@media (max-width:800px) {
  .menu-links a {
    font-size: clamp(42px, 14vw, 76px);
    padding: .18em 0 .22em;
  }
}

/*Menu optical vertical alignment*/

.menu-links a {
  padding-top: .22em;
  padding-bottom: .18em;
}

@media (max-width:800px) {
  .menu-links a {
    padding-top: .24em;
    padding-bottom: .19em;
  }
}

/*Stronger optical centering for menu labels*/

.menu-links a {
  padding-top: .30em;
  padding-bottom: .15em;
}

@media (max-width:800px) {
  .menu-links a {
    padding-top: .32em;
    padding-bottom: .16em;
  }
}

/*Menu hover motion*/

.menu-links a {
  transition: letter-spacing 420ms cubic-bezier(.22, 1, .36, 1),
    transform 420ms cubic-bezier(.22, 1, .36, 1),
    opacity 300ms ease;
}

.menu-links a:hover {
  font-style: normal;
  letter-spacing: -.015em;
  transform: translateX(12px);
}

@media (prefers-reduced-motion: reduce) {
  .menu-links a {
    transition: none;
  }
  .menu-links a:hover {
    transform: none;
  }
}

/*Menu hover arrow*/

.menu-links a {
  position: relative;
  padding-right: 1em;
}

.menu-links a::after {
  content: '→';
  position: absolute;
  right: .08em;
  top: 50%;
  font-family: AkkuratPro, Arial, sans-serif;
  font-weight: 300;
  font-size: .42em;
  letter-spacing: 0;
  opacity: 0;
  transform: translate(-18px, -50%);
  transition: opacity 280ms ease,
    transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.menu-links a:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
  .menu-links a::after {
    transition: none;
  }
}

/*Studio Media Library*/

.media-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 32px 0;
}

.media-stats>div {
  padding: 18px 0;
}

.media-stats>div+div {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.media-stats span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.media-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 38px;
  letter-spacing: -.05em;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px 16px;
  margin-top: 32px;
}

.media-card {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.media-thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ddd;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.media-thumb:hover img {
  transform: scale(1.025);
}

.media-card-body {
  padding-top: 10px;
}

.media-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.media-badge {
  font-size: 9px;
  letter-spacing: .12em;
  font-weight: 700;
}

.media-badge.used:before,
.media-badge.unused:before {
  content: '●';
  font-size: 6px;
  margin-right: 6px;
}

.media-badge.unused {
  color: var(--muted);
}

.media-filename {
  font-size: 13px;
  margin: 12px 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-reference {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 9px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.media-delete {
  margin-top: 14px;
  width: 100%;
}

@media (max-width:1000px) {
  .media-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:600px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
  .media-stats strong {
    font-size: 30px;
  }
}

/*Studio — Projects list*/

.project-list {
  display: grid;
  gap: 8px;
  padding-top: 16px;
}

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease,
    border-color 160ms ease;
}

.project-row:hover {
  background: rgba(127, 127, 127, 0.07);
}

.project-row-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.project-row-main strong {
  font-size: 15px;
  line-height: 1.25;
}

.project-row-main .meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-row-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill.published {
  font-weight: 700;
}

.status-pill.draft {
  opacity: 0.55;
}

.status-pill.featured {
  opacity: 0.7;
}

.project-arrow {
  margin-left: 8px;
  font-size: 18px;
  transition: transform 160ms ease;
}

.project-row:hover .project-arrow {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .project-row {
    align-items: flex-start;
    padding: 16px;
  }
  .project-row-meta {
    flex-wrap: wrap;
  }
  .status-pill.featured {
    display: none;
  }
  .project-row-main .meta {
    max-width: 48vw;
  }
}

/*Studio — Dashboard*/

.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
}

.studio-stat {
  display: grid;
  gap: 8px;
  padding: 22px 22px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.studio-stat strong {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.studio-dashboard-section {
  margin-top: 48px;
}

.studio-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.studio-section-head h2 {
  margin: 4px 0 0;
}

.studio-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 720px) {
  .studio-stats {
    grid-template-columns: 1fr;
  }
  .studio-dashboard-section {
    margin-top: 36px;
  }
}

/*About — lower sections*/

.about-story {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: clamp(56px, 4vw, 72px) 0 clamp(72px, 5vw, 96px);
}

.about-story .page-intro-label,
.about-personal .page-intro-label {
  transform: translateY(-3px);
}

.about-story-text {
  max-width: none;
}

.about-story-text p {
  margin: 0;
  font-size: clamp(20px,1.65vw,28px);
  line-height: 1.35;
}

.about-story-text p + p {
  margin-top: 1.5em;
}

/* Disciplines */

.about-disciplines {
  border-top: 1px solid var(--line);
  padding: 24px 0 24px;
}

.about-discipline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 100px);
  margin-top: clamp(32px, 3vw, 48px);
}

.about-discipline {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
}

.about-discipline:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.about-discipline span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
}

.about-discipline strong {
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 700;
}

.about-personal {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: clamp(36px,3vw,56px) 0 clamp(48px,4vw,72px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px,3vw,48px);
}

.about-personal-text p {
  max-width: none;
  margin: 0;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.35;
}

.about-personal-text p + p {
  margin-top: .7em;
}

@media (max-width: 800px) {
  .studio-body .side {
    position: relative;
  }
  .studio-body .studio-utilities {
    top: 28px;
    right: 28px;
    bottom: auto;
    left: auto;
  }
  .studio-body .side nav {
    margin-top: 28px;
  }
  .studio-body .visibility-options {
    display: flex;
    align-items: stretch;
    gap: 8px;
  }
  .studio-body .visibility-modes {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }
  .studio-body .visibility-modes label {
    min-width: 0;
  }
  .studio-body .visibility-modes span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 10px;
    white-space: nowrap;
  }
  .studio-body .visibility-save {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-left: 4px;
  }
  .about-story {
    display: block;
    padding: 72px 0 96px;
  }
  .about-story-text {
    max-width: 100%;
  }
  .about-discipline-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .about-discipline {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 16px 0 20px;
  }

  .about-discipline:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .about-discipline:last-child {
    border-bottom: 1px solid var(--line);
  }

  .about-discipline strong {
    font-size: clamp(32px, 9vw, 46px);
    white-space: nowrap;
  }

  .about-personal {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 0;
    margin-bottom: 32px;
    padding-bottom: 96px;
  }
  .about-personal-text p {
    font-size: 18px;
    line-height: 1.5;
}
}

/*Contact modal*/

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  justify-items: end;
  visibility: hidden;
  pointer-events: none;
}

.contact-modal.open {
  visibility: visible;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  opacity: 0;
  transition: opacity 360ms ease;
}

.contact-modal.open .contact-modal-backdrop {
  opacity: 1;
}

.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 92vw);
  height: 100%;
  overflow-y: auto;
  padding: 28px 34px 36px;
  background: var(--bg);
  color: var(--fg);
  transform: translateX(100%);
  transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
}

.contact-modal.open .contact-modal-panel {
  transform: translateX(0);
}

.contact-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-modal-close {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-modal-intro {
  padding: clamp(42px, 7vh, 76px) 0 48px;
}

.contact-modal-intro h2 {
  margin: 0;
  font-family: AkkuratPro, Arial, sans-serif;
  font-size: clamp(72px, 9vw, 126px);
  font-weight: 700;
  line-height: .76;
  letter-spacing: -.075em;
}

.contact-modal-intro p {
  max-width: 390px;
  margin: 34px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.contact-modal-form {
  display: grid;
}

.contact-modal-field {
  display: grid;
  gap: 8px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.contact-modal-field:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contact-modal-field label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.contact-modal-field input,
.contact-modal-field textarea {
  width: 100%;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 18px;
  line-height: 1.4;
}

.contact-modal-field textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}

.contact-modal-actions .message-btn {
  width: auto;
}

.contact-status {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.contact-modal-email {
  margin-top: 38px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.contact-modal-email a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 600px) {
  .contact-modal-panel {
    width: 100%;
    padding: 20px 18px 28px;
  }
  .contact-modal-intro {
    padding: 42px 0 36px;
  }
  .contact-modal-intro h2 {
    font-size: clamp(68px, 23vw, 100px);
  }
  .contact-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-modal-actions .message-btn {
    width: 100%;
  }
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.typeface-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.typeface-download-bar>span {
  color: var(--muted);
}

.typeface-download-bar a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
}

.typeface-download-bar a span {
  display: inline-block;
  transition: transform .25s var(--ease);
}

.typeface-download-bar a:hover span {
  transform: translateY(3px);
}

@media (max-width:600px) {
  .typeface-download-bar {
    padding: 15px 0;
  }
}

.typeface-buy-pending {
  font-weight: 700;
  color: var(--fg);
}

/*Optional family specimen*/
.type-specimen {
  min-width: 0;
  margin-bottom: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.type-specimen-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px 0 30px;
}

.type-specimen-heading h2 {
  margin: 0;
  font-family: Bright, AkkuratPro, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
}

.type-specimen-heading p {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 11px;
}

.type-specimen-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(110px, .22fr) minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
}

.type-specimen-row > .tester-toolbar {
  grid-column: 1 / -1;
  min-width: 0;
}

.type-specimen-label {
  min-width: 0;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.type-specimen-text {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  outline: none;
  --specimen-min-size: 28px;
  --specimen-max-scale: 1;
  font-size: clamp(var(--specimen-min-size), 4vw, 56px);
  font-synthesis: none;
  line-height: 1.12;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  cursor: text;
}

.type-specimen-loading .type-specimen-text:not(.font-ready) {
  visibility: hidden;
}

.type-specimen-text:focus-visible {
  outline: none;
}

@media (max-width: 700px) {
  .type-specimen-text {
    --specimen-max-scale: .25;
  }

  .type-specimen-heading p {
    width: 100%;
    margin-left: 0;
  }

  .type-specimen-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0 26px;
  }

  .type-specimen-label {
    margin-top: 0;
  }
}

/*Interactive type tester*/

.type-tester {
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 88px);
}

.tester-toolbar {
  display: grid;
  grid-template-columns: minmax(140px, 1.15fr)
    minmax(150px, 1fr)
    minmax(150px, 1fr)
    minmax(150px, 1fr)
    auto
    minmax(130px, .8fr)
    auto;
  align-items: end;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease,
    transform .2s ease,
    visibility .2s;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.type-tester.active .tester-toolbar,
.type-specimen-row.active .tester-toolbar {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 300px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow: visible;
}

.tester-field {
  min-width: 0;
}

.tester-field label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.tester-field select {
  width: 100%;
  height: 30px;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 18px 0 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 11px;
}

.tester-field input[type="range"] {
  display: block;
  width: 100%;
  height: 30px;
  margin: 0;
  accent-color: var(--fg);
}

.tester-align-buttons {
  display: flex;
  height: 30px;
}

.tester-align-buttons button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-right: 0;
  font-size: 11px;
  color: var(--muted);
}

.tester-align-buttons button:last-child {
  border-right: 1px solid var(--line);
}

.tester-align-buttons button.active {
  background: var(--fg);
  color: var(--bg);
}

.tester-reset {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1;
}

.tester-stage {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 1.15em 0 1.55em;
  overflow: hidden;
}

.tester-text {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  outline: none;
  cursor: text;
  font-size: 112px;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  line-height: .9;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  text-align: left;
}

.type-tester.text-wrap .tester-text {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.tester-text:focus {
  outline: none;
}

@media (max-width: 1000px) {
  .tester-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tester-reset {
    align-self: end;
  }
}

@media (max-width: 700px) {
  .tester-field select {
    font-size: 16px;
  }

  .type-tester.active .tester-toolbar,
  .type-specimen-row.active .tester-toolbar {
    max-height: none;
  }

  .type-tester {
    padding-bottom: 0;
  }
  .tester-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .tester-stage {
    min-height: 0;
    padding: 42px 0 50px;
  }

  /* OpenType feature buttons */
.tester-features {
  grid-column: 1 / -1;
}

.tester-feature-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tester-feature-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition:
    background .15s ease,
    color .15s ease,
    border-color .15s ease;
}

.tester-feature-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tester-feature-option:has(input:checked) {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.tester-feature-option span {
  display: block;
}
  
}

/*Bright Grotesk — specimen showcase*/

.bright-showcase {
  padding: clamp(32px, 4vw, 56px) 0 34px;
  border-bottom: 1px solid var(--line);
}

.bright-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  padding-bottom: clamp(34px, 4vw, 54px);
}

.bright-showcase-head h1 {
  margin: 0;
  font-size: clamp(54px, 6vw, 100px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.055em;
}

.bright-showcase-description {
  margin: 0;
  max-width: 460px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.45;
  color: var(--muted);
}

.bright-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  border-top: 1px solid var(--line);
}

.bright-showcase-aa {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: .08em .08em .16em 0;
  font-size: clamp(180px, 27vw, 430px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.075em;
}

.bright-showcase-details {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-content: start;
  min-width: 0;
  border-left: 1px solid var(--line);
}

.bright-showcase-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 18px 20px 22px;
  border-bottom: 1px solid var(--line);
}

.bright-showcase-feature + .bright-showcase-feature {
  border-left: 1px solid var(--line);
}

.bright-showcase-feature > span,
.bright-showcase-feature small {
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.bright-showcase-feature strong {
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.055em;
}

.bright-showcase-feature .bright-range {
  font-size: clamp(24px, 2.7vw, 44px);
  line-height: .95;
}

.bright-showcase-alphabet {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 20px;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .bright-showcase {
    padding-top: 52px;
  }
  .bright-showcase-head {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 44px;
  }
  .bright-showcase-head h1 {
    font-size: 60px;
  }
  .bright-showcase-grid {
    grid-template-columns: 1fr;
  }
  .bright-showcase-aa {
    font-size: clamp(190px, 66vw, 280px);
    padding: .12em 0 .18em;
  }
  .bright-showcase-details {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .bright-showcase-feature {
    min-height: 145px;
    padding: 16px 12px 18px 0;
  }
  .bright-showcase-feature + .bright-showcase-feature {
    padding-left: 12px;
  }
  .bright-showcase-alphabet {
    padding: 18px 0;
    font-size: 18px;
  }
}

/*Mobile header refinement*/

@media (max-width: 800px) {
  .top {
    height: 64px;
  }
  .top .brand {
    gap: 10px;
    min-width: 0;
  }
  .top .brand-mark {
    width: 32px;
    flex: 0 0 auto;
  }
  .top .name {
    font-size: 13px;
    line-height: 1;
    letter-spacing: -.035em;
    white-space: nowrap;
  }
  .top .sub {
    display: none;
  }
  .top .controls {
    gap: 8px;
    flex: 0 0 auto;
  }
  .top .theme {
    width: auto;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  .top .menu-btn {
    width: 34px;
    height: 34px;
  }
}

/*Compact typeface archive*/

.family-word {
  font-size: clamp(48px, 6vw, 92px);
  padding: .18em 0 .22em;
  white-space: nowrap;
}

.family {
  padding-top: 20px;
  padding-bottom: 28px;
}

@media (max-width: 800px) {
  .family-word {
    font-size: clamp(38px, 9.5vw, 56px);
    padding: .18em 0 .24em;
    white-space: nowrap;
  }
  .family {
    padding-top: 16px;
    padding-bottom: 22px;
  }
}

/*=========================================================
   Type Setter — refined control toolbar
   =========================================================*/

@media (min-width: 1001px) {
  .tester-toolbar {
    grid-template-columns: minmax(130px, .9fr)
      minmax(145px, 1fr)
      minmax(145px, 1fr)
      minmax(145px, 1fr)
      auto
      minmax(120px, .75fr)
      minmax(170px, auto)
      52px;
    align-items: end;
    gap: 0;
    padding: 14px 0px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  /*Individual control groups*/
  .tester-field {
    position: relative;
    padding: 0 14px;
  }
  .tester-field:first-child {
    padding-left: 0;
  }
  .tester-field::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 38px;
    background: var(--line);
  }
  .tester-field label {
    margin-bottom: 8px;
  }
  /*Style + Sample*/
  .tester-style select,
  .tester-sample select {
    height: 36px;
    padding: 0 32px 0 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: linear-gradient(
        45deg,
        transparent 50%,
        var(--muted) 50%
      )
      calc(100% - 14px) 15px / 5px 5px no-repeat,

      linear-gradient(
        135deg,
        var(--muted) 50%,
        transparent 50%
      )
      calc(100% - 10px) 15px / 5px 5px no-repeat;
    color: var(--fg);
  }
  /*Alignment segmented control*/
  .tester-align-buttons {
    height: 36px;
  }
  .tester-align-buttons button {
    width: 36px;
    height: 36px;
    border-color: var(--line);
    font-size: 12px;
  }
  .tester-align-buttons button:first-child {
    border-radius: 6px 0 0 6px;
  }
  .tester-align-buttons button:last-child {
    border-radius: 0 6px 6px 0;
  }
  /*OpenType features*/
  .tester-features {
    min-width: 0;
  }
  .tester-feature-options {
    display: flex;
    gap: 6px;
    min-height: 36px;
  }
  .tester-feature-option {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 9px !important;
    min-width: 0;
    min-height: 36px;
    margin: 0 !important;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--fg) !important;
  }
  .tester-feature-option input {
    appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 16px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    cursor: pointer;
    transition: background .18s ease,
      border-color .18s ease;
  }
  .tester-feature-option input::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--muted);
    transition: transform .18s ease,
      background .18s ease;
  }
  .tester-feature-option input:checked {
    background: var(--fg);
    border-color: var(--fg);
  }
  .tester-feature-option input:checked::after {
    transform: translateX(12px);
    background: var(--bg);
  }
  .tester-feature-option span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.15;
  }
  /*Reset*/
  .tester-reset {
    width: 38px;
    height: 36px;
    align-self: end;
    margin-left: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 16px;
    transition: background .15s ease,
      color .15s ease;
  }
  .tester-reset:hover {
    background: var(--fg);
    color: var(--bg);
  }
}

/*Prevent Type Setter initial measurement flash*/

.tester-text {
  opacity: 0;
}

.type-tester.tester-ready .tester-text {
  opacity: 1;
}

/*Mobile Type Design teaser*/

@media (max-width: 800px) {
  .type-teaser-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .type-aa {
    font-size: clamp(120px, 42vw, 180px);
    line-height: .75;
  }
  .text-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
}

/* Mobile footer bottom row */

@media (max-width: 800px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .footer-bottom a {
    white-space: nowrap;
    text-align: right;
  }
}

/*Mobile page headers*/

@media (max-width: 800px) {
  .page-hero {
    padding: 7vh 0 5vh;
  }
  .page-title {
    font-size: clamp(72px, 22vw, 112px);
    line-height: .82;
  }
  .page-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 34px;
  }
  .page-intro > .meta {
    max-width: none;
  }
  .page-intro > p {
    margin: 0;
    max-width: 100%;
    font-size: clamp(20px, 5.6vw, 26px);
    line-height: 1.15;
    letter-spacing: -.025em;
  }
}

@media (max-width: 800px) {
  .page-title-typefaces {
    font-size: clamp(56px, 16.5vw, 84px);
    letter-spacing: -.065em;
  }
}

.type-aa {
  transition: none;
}

.project-pull p {
  white-space: pre-line;
}

.project-pull-full {
  grid-template-columns: minmax(0, 1fr);
}

.project-pull-full > .meta {
  display: none;
}

.project-pull-full p {
  max-width: none;
  overflow-wrap: anywhere;
}

/*Studio access and visibility*/

.studio-body .visibility-warning {
  display: block;
  margin: 24px 0;
  color: #a03b22;
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.4;
}

.studio-body .studio-logout {
  border: 0;
  background: none;
  padding: 7px 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.studio-body .visibility-control {
  margin: 30px 0;
}

.studio-body .visibility-options {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.studio-body .visibility-modes {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-body .studio-utility-button.visibility-save {
  flex: 0 0 auto;
  margin-left: 4px;
  border: 1px solid var(--fg);
}

.studio-body .visibility-save svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-body .visibility-options label {
  cursor: pointer;
}

.studio-body .visibility-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.studio-body .visibility-options span {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--fg);
  border-radius: 7px;
}

.studio-body .visibility-options input:checked+span {
  background: var(--fg);
  color: var(--bg);
}

.studio-body .visibility-options input:focus-visible+span {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.studio-body .studio-login {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px,5vw,72px);
}

.studio-body .studio-login-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.studio-body .studio-login-brand img {
  width: 48px;
}

.studio-body .studio-login-brand div {
  display: grid;
}

.studio-body .studio-login-brand span {
  color: var(--muted);
}

.studio-body .studio-login-form {
  width: min(100%,460px);
  margin: 9vh auto;
  display: grid;
  gap: 12px;
}

.studio-body .studio-login-form h1 {
  font-family: Bright,AkkuratPro,sans-serif;
  font-size: clamp(60px,9vw,110px);
  letter-spacing: -.07em;
  line-height: .85;
  margin: 8px 0 30px;
}

.studio-body .studio-login-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.studio-body .studio-login-form input {
  padding: 14px;
  border: 1px solid var(--fg);
  border-radius: 7px;
  font: inherit;
  background: transparent;
  color: inherit;
}

.studio-body .studio-login-form button {
  justify-self: end;
  margin-top: 20px;
}

.studio-body .studio-login-form [role=alert] {
  color: #a03b22;
}

/*Studio mobile navigation containment*/

@media (max-width: 800px) {
  .studio-body .studio,
  .studio-body .side,
  .studio-body .main {
    min-width: 0;
    width: 100%;
  }
  .studio-body .side nav {
    min-width: 0;
    max-width: 100%;
  }
  .studio-body .side nav form {
    flex: 0 0 auto;
    margin: 0;
  }
  .studio-body .side nav .studio-logout {
    display: flex;
    align-items: center;
    width: auto;
    white-space: nowrap;
    padding: 7px 10px;
    text-decoration: none;
    border-radius: 7px;
  }
  .studio-body .side nav .studio-logout:hover {
    background: rgba(127, 127, 127, .09);
  }
}
