.brand-lines { display: grid; line-height: 1.16; }
.brand-lines strong { font-weight: 600; }
.brand-lines small { font-size: .68rem; font-weight: 400; letter-spacing: .04em; margin-top: .18rem; }
.hero {
  grid-template-columns: minmax(0,1fr);
  align-items: end;
  justify-items: start;
  min-height: clamp(660px, 83svh, 960px);
  padding: clamp(84px, 10svh, 120px) var(--gutter) clamp(24px, 4vw, 64px);
  background: #090c10;
}
.cover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: -2; }
.native-cover { pointer-events: auto; }
.cover-motion, .cover-reel { position: absolute; top: 16px; min-height: 44px; padding: .4rem .9rem; border: 1px solid #ffffff70; border-radius: 2rem; background: #16141cdb; color: #fff; font: 600 .85rem Barlow,sans-serif; }
.cover-motion { right: var(--gutter); }
.cover-reel { left: var(--gutter); display: inline-flex; align-items: center; gap: .5em; text-decoration: none; }
.cover-motion:hover, .cover-reel:hover { background-color: #27222e; border-color: #fff; }
.hero .hero-shade { pointer-events: none; background: linear-gradient(0deg, #09090e38, transparent 28%, transparent 84%, #09090e3d); }
.hero .intro {
  width: min(100%, 39rem);
  align-items: stretch;
  padding: clamp(22px, 2.6vw, 42px);
  border: 1px solid #ffffff36;
  border-radius: clamp(22px, 2.2vw, 36px);
  background-color: rgba(18, 17, 26, .82);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 12px 38px #09091024;
  color: #faf8fa;
  text-align: left;
}
.cover-signature { display: flex; align-items: center; gap: clamp(.65rem, 1.2vw, 1.1rem); }
.hero .hero-mark { width: clamp(52px, 4.8vw, 74px); aspect-ratio: 1; flex: none; box-shadow: 0 0 0 1px #ffffff45; }
.hero .intro h1 { font: 500 clamp(2.55rem, 4.7vw, 4.8rem)/1.02 Barlow, Arial, sans-serif; text-transform: none; letter-spacing: -.045em; margin: 0; }
.hero .cover-role { margin-top: .7rem; color: #e0dbe7; font-size: clamp(.98rem, 1.18vw, 1.16rem); font-weight: 600; letter-spacing: normal; line-height: 1.4; text-wrap: pretty; }
.intro .cover-role span { display: inline-block; margin: 0; color: inherit; }
.cover-bio { margin-top: 1rem; }
.intro .cover-bio p { font-size: 1rem; line-height: 1.55; letter-spacing: normal; font-weight: 400; text-wrap: pretty; }
.intro .cover-bio p:first-child { font-size: clamp(1.08rem, 1.45vw, 1.3rem); font-weight: 600; line-height: 1.35; }
.cover-bio p + p { margin-top: .72em; }
.intro-links { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem clamp(.75rem, 2vw, 1.7rem); margin-top: 1.15rem; }
.intro-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 5px; font-weight: 600; text-underline-offset: .25em; text-decoration-color: #ffffff80; }
.intro-links .intro-primary { gap: .65em; padding-inline: 1.05em; border-radius: 2rem; background: var(--mint); color: #13271e; text-decoration: none; }
.intro-primary::after { content: ""; width: .42em; height: .42em; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-.1em) rotate(-45deg); }
.intro-links a:hover { text-decoration-color: currentColor; }
.intro-links .intro-primary:hover { background-color: #d5f7e3; }
.hero :focus-visible { outline: 3px solid #bcffda; outline-offset: 3px; }
@media (min-width: 901px) and (hover: hover) {
  .hero .intro { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .intro { animation: intro-settle 360ms cubic-bezier(.2,.7,.2,1); }
  .intro-links a, .cover-motion, .cover-reel { transition: background-color 160ms ease, border-color 160ms ease, text-decoration-color 160ms ease, transform 160ms ease; }
  .intro-primary::after { transition: transform 160ms ease; }
  .intro-primary:is(:hover,:focus-visible)::after { transform: translateY(.08em) rotate(-45deg); }
  .intro-links a:active, .cover-motion:active, .cover-reel:active { transform: translateY(1px); }
}
@keyframes intro-settle { from { transform: translateY(6px); } to { transform: translateY(0); } }
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  .hero .intro { background-color: #15141c; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: #e8e2eb; }
}
@media (forced-colors: active) {
  .hero .intro { background-color: Canvas; border-color: CanvasText; }
  .intro-links .intro-primary { border: 1px solid LinkText; }
}
.foot-base { flex-wrap: wrap; }
.foot-base a[href="concepts/index.html"] { margin-left: auto; }

@media (max-width: 700px) {
  .hero { justify-items: center; min-height: auto; padding: clamp(114px, 19svh, 172px) clamp(10px, 3vw, 20px) 14px; }
  .hero .intro { padding: clamp(16px, 4.7vw, 27px); }
  .hero .intro h1 { font-size: clamp(2.15rem, 8.8vw, 3.4rem); }
  .hero .hero-mark { width: clamp(44px, 12vw, 60px); }
  .intro-links { gap: .15rem clamp(.6rem, 3.5vw, 1.25rem); font-size: .95rem; }
  .intro-links .intro-primary { gap: .45em; padding-inline: .8em; }

}
@media (max-width: 420px) {
  .foot-base { gap: .55rem; }
}
@media (max-width: 360px) {
  .intro-links { margin-inline: -.25rem; column-gap: .45rem; font-size: .9rem; }
  .intro-links .intro-primary { padding-inline: .5em; }
  .intro-primary::after { display: none; }
}

.folio {
  --pattern-art: url("assets/home/original-work.png");
  --pattern-scale: max(100%, 1150px) auto;
  --pattern-filter: grayscale(1);
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 5.2vw, 80px) 0 clamp(72px, 6vw, 100px);
  background: white;
  color: #222324;
  text-align: center;
  font-family: "Open Sans", Barlow, sans-serif;
}
.folio-origin { position: absolute; top: 0; }
.folio-head { width: min(88%, 660px); margin: 0 auto clamp(44px, 4.8vw, 76px); }
.folio-head h2 {
  margin: 0;
  font: 500 clamp(1.65rem, 2.4vw, 2.15rem)/1.2 "Open Sans", Barlow, sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.folio-subtitle { margin: .95rem 0 .68rem; font-size: clamp(.95rem, 1.22vw, 1.1rem); }
.folio-intro { margin: 0 auto; max-width: 60ch; font-size: .9rem; color: #484949; }
.folio-index { max-width: 34rem; margin: .62rem auto 0; }
.folio-index summary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  padding: .3rem .6rem;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.folio-index summary::-webkit-details-marker { display: none; }
.folio-index summary::after {
  content: "";
  width: .46em;
  height: .46em;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.1em) rotate(45deg);
}
.folio-index[open] summary::after { transform: translateY(.1em) rotate(225deg); }
.folio-index summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.folio-index ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1rem;
  padding: .25rem 0;
  margin: 0;
  list-style: none;
}
.folio-index li { min-width: 0; }
.folio-index a, .folio-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: .88rem;
  color: #28502f;
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}
.folio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(72px, 6.8vw, 100px) clamp(28px, 3.7vw, 52px);
  width: min(88%, 1000px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.folio-card { min-width: 0; }
.folio-project {
  scroll-margin-top: 5.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: #a0d39d40;
}
.folio-art {
  position: relative;
  display: block;
  width: min(80%, 378px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #e8e9e6;
}
.folio-art img { width: 100%; height: 100%; object-fit: cover; }
.folio-art img[src="assets/home/divide.webp"] { object-position: 43.6508% 10.3175%; }
.folio-art img[src="assets/home/miner.webp"] { object-position: 31.4815% 50%; }
.folio-art img[src="assets/home/zeus.webp"] { object-position: 49.4709% 50%; }
.folio-title {
  margin: clamp(19px, 1.8vw, 26px) 0 0;
  max-width: 100%;
  font: 600 clamp(1.15rem, 1.5vw, 1.4rem)/1.3 "Open Sans", Barlow, sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.folio-title::after { content: ""; display: block; width: 55px; height: 1px; margin: .82rem auto; background: #595d59; }
.folio-category { margin: 0; color: #4b514d; font-size: .81rem; }
.folio-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: .62em; }
.folio-visited { color: #27583e; font: 600 .78rem/1.5 "Open Sans", Barlow, sans-serif; }
.folio-visited::before { content: "✓"; margin-right: .24em; }
.folio-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  visibility: hidden; pointer-events: none; fill: none; stroke: #b5e8ae;
  stroke-width: 2px; stroke-linecap: round;
  filter: drop-shadow(0 0 1px #174a2e);
}
.folio-ring circle { vector-effect: non-scaling-stroke; }
.folio-card[data-visited] .folio-ring { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .folio-card[data-tracing] .folio-ring circle {
    stroke-dasharray: 1;
    animation: folio-trace .72s cubic-bezier(.28,.67,.25,1) .22s backwards;
  }
  @keyframes folio-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
.folio-description { max-width: 41ch; margin: .4rem 0 0; line-height: 1.55; font-size: .95rem; text-wrap: pretty; }
.folio-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .4rem 1.18rem;
  margin-top: 1rem;
  border: 1px solid #78a970;
  border-radius: 100px;
  background: #b8f6a9;
  color: #193320;
  font-size: .88rem;
  font-weight: 600;
}
.folio-project:is(:hover, :focus-visible) .folio-more { background: #aaf394; border-color: #446d3b; }
.folio-project:focus-visible { outline: none; }
.folio-project:focus-visible :is(.folio-more, .folio-art), .folio-index :focus-visible, .folio-game:focus-visible {
  outline: 3px solid #285c4c;
  outline-offset: 4px;
}
.folio-game { margin-top: .2rem; }
.folio-empty { margin: 0; }
@media (max-width: 700px) {
  .folio { padding-block: 48px 76px; }
  .folio-head { margin-bottom: 40px; }
  .folio-list { grid-template-columns: minmax(0, 1fr); row-gap: 66px; }
  .folio-art { width: min(80%, 320px); }
  .folio-index ul { gap: 0 .8rem; }
  .folio-description { max-width: 38ch; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .folio-art img { transition: transform 340ms cubic-bezier(.22,.61,.36,1); }
  .folio-project:hover .folio-art img { transform: scale(1.035); }
  .folio-project:active .folio-art img { transform: scale(1.015); }
}
@media (forced-colors: active) {
  .folio::before { display: none; }
  .folio-project:focus-visible :is(.folio-more, .folio-art), .folio-index :focus-visible, .folio-game:focus-visible { outline-color: Highlight; }
  .folio-title::after { background: CanvasText; }
}
