/* Shared identity, with an editorial gallery for downloadable brand assets. */
.brand-page {
  --kit-surface: #17201a;
  --kit-border: #2d3a30;
}
.brand-page .wrap {
  width: min(1240px, calc(100% - 80px));
}
.brand-page img {
  display: block;
  max-width: 100%;
}
.brand-page a:focus-visible,
.brand-page button:focus-visible {
  outline: 3px solid #c3f66b;
  outline-offset: 5px;
}
.brand-page .brand {
  white-space: nowrap;
}
.brand-header nav [aria-current="page"] {
  color: var(--lime);
}
.brand-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
  padding: 74px 0 66px;
}
.kit-eyebrow,
.kit-index,
.art-corner,
.art-caption,
.kit-nav a span,
.file-tag,
.gremlin-number {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.kit-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c1cdbb;
  font-size: 12px;
  letter-spacing: 1.9px;
  margin: 0 0 22px;
}
.kit-eyebrow > span {
  color: var(--lime);
  font-size: 19px;
  letter-spacing: -3px;
}
.brand-intro h1 {
  font-family: Manrope, sans-serif;
  font-weight: 750;
  font-size: clamp(48px, 5.2vw, 74px);
  letter-spacing: -4px;
  line-height: 1.06;
  margin: 0 0 23px;
}
.brand-intro h1 > span,
.type-sample > span {
  color: var(--lime);
}
.brand-lede {
  color: #b4c2af;
  font-size: 18px;
  line-height: 1.75;
  max-width: 510px;
  margin: 0 0 27px;
}
.kit-download {
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 21px;
  min-height: 56px;
}
.download-symbol {
  font-size: 23px;
  line-height: 1;
}
.file-tag {
  font-size: 10px;
  letter-spacing: 1px;
  border: 1px solid #10161335;
  padding: 4px 6px;
  border-radius: 4px;
}
.kit-note {
  color: #9aac93;
  font-size: 13px;
  line-height: 1.7;
  margin: 14px 0 0;
}
.brand-intro-art {
  aspect-ratio: 1.25;
  border: 1px solid var(--kit-border);
  border-radius: 16px;
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  background-color: #17201a;
  background-image:
    linear-gradient(#c3f66b06 1px, transparent 1px),
    linear-gradient(90deg, #c3f66b06 1px, transparent 1px);
  background-size: 32px 32px;
}
.brand-hero-mark {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
}
.brand-hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px #080d0960);
}
.art-corner {
  position: absolute;
  color: #92a58c;
  font-size: 10px;
  letter-spacing: 1.3px;
}
.art-corner-first {
  top: 20px;
  left: 21px;
}
.art-corner-last {
  right: 21px;
  bottom: 20px;
}
.art-caption {
  color: #b5c5ab;
  font-size: 10px;
  letter-spacing: 1.25px;
  margin-top: 24px;
}
.kit-nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 38px;
  row-gap: 4px;
  padding: 16px 0;
  border-block: 1px solid var(--kit-border);
}
.kit-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  font-size: 14px;
  font-weight: 500;
  color: #bccab6;
}
.kit-nav a span {
  font-size: 11px;
  color: #9bad94;
}
.kit-nav a:hover,
.kit-nav a:hover span {
  color: var(--lime);
}
.kit-section {
  padding-top: 73px;
  scroll-margin-top: 30px;
}
.kit-section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 27px;
}
.kit-index {
  color: #a8b89e;
  font-size: 11px;
  letter-spacing: 1.6px;
  margin: 0 0 12px;
}
.kit-section h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(25px, 2.65vw, 35px);
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -1.35px;
  margin: 0;
}
.kit-section-heading > p {
  color: #aabca2;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.inline-mark {
  font-family: ui-monospace, monospace;
  color: var(--lime);
  letter-spacing: -1px;
}
.asset-grid {
  display: grid;
  gap: 20px;
}
.logo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.asset-card {
  border: 1px solid var(--kit-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--kit-surface);
  min-width: 0;
}
.asset-preview {
  position: relative;
  overflow: hidden;
}
.logo-preview {
  height: 220px;
  display: grid;
  place-items: center;
  padding: 36px;
}
.logo-preview img {
  width: min(100%, 420px);
  height: auto;
  max-height: 90px;
  object-fit: contain;
}
.preview-light {
  background: #edf2e9;
}
.preview-ink {
  background: #101613;
}
.preview-soft {
  background: #263222;
}
.preview-grid {
  background-color: #111a14;
  background-image:
    linear-gradient(#c3f66b08 1px, transparent 1px),
    linear-gradient(90deg, #c3f66b08 1px, transparent 1px);
  background-size: 24px 24px;
}
.asset-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--kit-border);
  min-height: 94px;
}
.asset-details > div:first-child,
.gremlin-details > div {
  min-width: 0;
}
.asset-details h3,
.gremlin-details h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.35;
}
.asset-details p,
.gremlin-details p {
  color: #a8b89f;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.asset-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 13px;
  min-height: 42px;
  border: 1px solid #46533e;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #d4e1cb;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.asset-download span {
  color: var(--lime);
  font-size: 18px;
}
.asset-download:hover {
  background: #253320;
  border-color: #9ebc78;
}
.asset-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.icon-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.icon-preview {
  height: 230px;
  display: grid;
  place-items: center;
  padding: 35px;
}
.icon-preview img {
  height: 118px;
  width: 118px;
  object-fit: contain;
}
.icon-preview .raster-icon {
  border-radius: 23px;
}
.icon-details {
  flex-wrap: wrap;
}
.favicon-strip {
  padding: 21px 0 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.favicon-strip p {
  color: #a5b69c;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.favicon-strip p .inline-mark {
  margin-right: 7px;
}
.favicon-strip .asset-downloads {
  column-gap: 20px;
}
.favicon-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #d0dfc5;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.favicon-strip a:hover {
  color: var(--lime);
}
.social-grid {
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}
.social-preview {
  aspect-ratio: 1200 / 630;
  background: #101613;
}
.social-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.banner-card {
  display: flex;
  flex-direction: column;
}
.banner-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 0 0;
  background: #111a14;
}
.banner-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.banner-label {
  text-align: center;
  color: #9eb394;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 20px 16px;
}
.gremlin-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gremlin-preview {
  background: radial-gradient(ellipse at 50% 60%, #2b3b20, #141e16 72%);
  padding: 32px 10px 6px;
  height: 265px;
  display: flex;
  justify-content: center;
}
.gremlin-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gremlin-number {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #a2b497;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.gremlin-details {
  border-top: 1px solid var(--kit-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.palette-card {
  appearance: none;
  padding: 0;
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--kit-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--kit-surface);
  color: inherit;
  text-align: left;
  transition: border-color 0.15s ease;
}
.palette-card:hover {
  border-color: #b2d280;
}
.palette-swatch {
  min-height: 170px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 18px 24px;
}
.palette-swatch > span {
  font-family: Manrope, sans-serif;
  font-weight: 650;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -4px;
}
.swatch-ink {
  background: #101613;
  color: #edf2e9;
}
.swatch-lime {
  background: #c3f66b;
  color: #101613;
}
.swatch-ivory {
  background: #edf2e9;
  color: #101613;
}
.palette-info {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.palette-info strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 600;
}
.palette-info code {
  color: #b3c3a8;
  font-size: 12px;
}
.color-copy-label {
  color: #c6d7b9;
  font-size: 11px;
  padding: 7px 9px;
  border: 1px solid #425139;
  border-radius: 5px;
  white-space: nowrap;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.type-card {
  border: 1px solid var(--kit-border);
  padding: 28px;
  border-radius: 12px;
  min-width: 0;
}
.type-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.type-card-top .kit-index {
  margin: 0;
}
.type-card-top > span {
  font-size: 13px;
  color: #d4dfce;
}
.type-sample {
  font-size: clamp(42px, 4.5vw, 64px);
  letter-spacing: -3px;
  line-height: 1.2;
  margin: 26px 0 16px;
}
.type-manrope {
  font-family: Manrope, sans-serif;
  font-weight: 650;
}
.type-dm {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
}
.type-description {
  color: #a6b79e;
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 0 16px;
}
.type-link {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: #d8e6cc;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.type-link span {
  color: var(--lime);
}
.type-note {
  color: #a8b99e;
  font-size: 13px;
  line-height: 1.7;
  margin: 20px 0 0;
}
.kit-outro {
  border: 1px solid #405232;
  border-radius: 15px;
  background: #1b281c;
  margin: 74px 0 0;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.kit-outro h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.14;
  letter-spacing: -1.5px;
  margin: 0 0 14px;
}
.kit-outro p:last-child {
  color: #b0c0a7;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 380px;
}
.kit-outro .kit-download {
  flex-shrink: 0;
}
.kit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0;
  margin-top: 38px;
  border-top: 1px solid var(--kit-border);
}
.kit-footer > .brand {
  font-size: 19px;
}
.kit-footer > .brand .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 17px;
}
.kit-footer > p {
  color: #a8b99e;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.kit-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.kit-footer nav a {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #c0d1b7;
}
.kit-footer nav a:hover {
  color: var(--lime);
}
.brand-copy-status {
  position: fixed;
  z-index: 80;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  max-width: calc(100% - 32px);
  padding: 13px 19px;
  border: 1px solid #697f52;
  border-radius: 8px;
  background: #c3f66b;
  color: #101613;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.brand-copy-status.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 1100px) {
  .brand-intro {
    gap: 36px;
  }
  .brand-hero-mark {
    width: 128px;
    height: 128px;
  }
  .kit-nav {
    column-gap: 25px;
  }
  .gremlin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gremlin-preview {
    height: 295px;
  }
  .gremlin-details {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .social-grid .asset-details {
    flex-wrap: wrap;
  }
  .favicon-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}
@media (max-width: 800px) {
  .brand-page .wrap {
    width: calc(100% - 40px);
  }
  .brand-header {
    flex-wrap: wrap;
    height: auto;
    padding: 20px 0 10px;
    gap: 14px;
  }
  .brand-header nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .brand-header nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 13px;
  }
  .brand-header > .button {
    min-height: 40px;
    font-size: 12px;
    padding-inline: 14px;
  }
  .brand-intro {
    grid-template-columns: 1.4fr 0.85fr;
    padding: 45px 0;
    gap: 28px;
  }
  .brand-intro h1 {
    font-size: 49px;
    letter-spacing: -2.8px;
  }
  .brand-lede {
    font-size: 16px;
  }
  .brand-intro-art {
    aspect-ratio: 0.8;
  }
  .brand-hero-mark {
    width: 100px;
    height: 100px;
  }
  .art-caption {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .art-corner {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .art-corner-first {
    left: 12px;
    top: 14px;
  }
  .art-corner-last {
    right: 12px;
    bottom: 14px;
  }
  .kit-download {
    font-size: 13px;
    gap: 9px;
    padding-inline: 17px;
  }
  .kit-section {
    padding-top: 55px;
  }
  .kit-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 22px;
  }
  .kit-section-heading > p {
    max-width: 520px;
  }
  .asset-grid,
  .palette-grid,
  .type-grid {
    gap: 15px;
  }
  .logo-preview {
    height: 175px;
    padding: 22px;
  }
  .asset-details {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }
  .icon-preview {
    height: 180px;
    padding: 22px;
  }
  .icon-preview img {
    width: 100px;
    height: 100px;
  }
  .icon-details {
    flex-wrap: nowrap;
  }
  .palette-info {
    align-items: flex-start;
    flex-direction: column;
  }
  .palette-swatch {
    min-height: 140px;
    padding: 18px;
  }
  .palette-swatch > span {
    font-size: 47px;
  }
  .type-card {
    padding: 22px;
  }
  .kit-outro {
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 55px;
  }
  .kit-footer {
    flex-wrap: wrap;
  }
  .kit-footer > p {
    text-align: right;
  }
  .kit-footer nav {
    width: 100%;
    gap: 25px;
  }
}
@media (max-width: 580px) {
  .brand-intro {
    grid-template-columns: 1fr;
    gap: 29px;
    padding-top: 36px;
  }
  .brand-intro h1 {
    font-size: clamp(40px, 11.5vw, 57px);
  }
  .brand-intro-art {
    aspect-ratio: auto;
    height: 195px;
  }
  .brand-hero-mark {
    width: 100px;
    height: 100px;
  }
  .art-caption {
    margin-top: 16px;
    font-size: 9px;
  }
  .art-corner {
    font-size: 9px;
  }
  .art-corner-first {
    top: 16px;
    left: 16px;
  }
  .art-corner-last {
    bottom: 16px;
    right: 16px;
  }
  .kit-nav {
    column-gap: 24px;
    row-gap: 5px;
  }
  .kit-nav a {
    font-size: 13px;
    min-height: 39px;
  }
  .logo-grid,
  .social-grid,
  .type-grid {
    grid-template-columns: 1fr;
  }
  .logo-preview {
    height: 185px;
    padding: 28px;
  }
  .asset-details {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .icon-grid {
    grid-template-columns: 1fr;
  }
  .icon-preview {
    height: 185px;
  }
  .icon-grid .asset-details {
    flex-wrap: wrap;
  }
  .banner-preview {
    min-height: 195px;
  }
  .gremlin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .gremlin-preview {
    height: 205px;
    padding: 30px 0 5px;
  }
  .gremlin-details {
    padding: 15px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gremlin-details h3 {
    font-size: 14px;
    min-height: 38px;
  }
  .gremlin-details p {
    font-size: 11px;
  }
  .gremlin-number {
    top: 13px;
    left: 12px;
    font-size: 9px;
  }
  .palette-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .palette-swatch {
    min-height: 135px;
  }
  .palette-info {
    flex-direction: row;
    align-items: center;
    padding: 17px;
  }
  .color-copy-label {
    padding: 9px 11px;
  }
  .type-card {
    padding: 24px;
  }
  .type-sample {
    font-size: 54px;
  }
  .kit-outro {
    padding: 24px;
  }
  .kit-outro .kit-download {
    width: 100%;
  }
  .kit-footer {
    padding: 30px 0;
  }
  .kit-footer > p {
    text-align: left;
    width: 100%;
  }
}
@media (max-width: 360px) {
  .brand-page .wrap {
    width: calc(100% - 32px);
  }
  .brand-header .brand {
    font-size: 21px;
  }
  .brand-header .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 18px;
    margin-right: 7px;
  }
  .brand-header > .button {
    padding-inline: 10px;
  }
  .kit-download {
    font-size: 12px;
    gap: 8px;
    padding-inline: 12px;
  }
  .kit-section h2 {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
  .gremlin-preview {
    height: 180px;
  }
  .type-sample {
    font-size: 46px;
  }
  .art-caption {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .brand-page {
    scroll-behavior: auto;
  }
  .brand-page *,
  .brand-page *::before,
  .brand-page *::after {
    scroll-behavior: auto;
    transition: none !important;
  }
}
