:root {
  --bg: #000000;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --line: #1f1f1f;
  --yellow: #ffd100;
  --blue: #0057b8;
  --red: #e30613;
  --pad: 24px;
  --header: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

::selection {
  background: var(--yellow);
  color: #000000;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--text);
  color: #000000;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 500;
}

.skip:focus {
  top: 16px;
}

.shell {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #000000;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: var(--header);
  flex-wrap: wrap;
  padding-block: 16px;
}

.brand {
  flex: none;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#recent {
  border-top: 0;
}

#recent .featured {
  gap: 24px;
}

#recent .card {
  gap: 12px;
}

#recent .media {
  max-height: 160px;
}

#recent .kicker {
  margin-bottom: 8px;
}

#recent .card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

#recent .summary {
  font-size: 14px;
  line-height: 1.4;
}

.hero {
  padding-block: 64px 72px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0.01em;
}

.section {
  padding-block: 64px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.mark-yellow {
  background: var(--yellow);
}

.mark-blue {
  background: var(--blue);
}

.featured {
  display: grid;
  gap: 64px;
}

.featured-row {
  display: grid;
  gap: 48px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.media {
  background: #000000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  background: linear-gradient(160deg, #141414 0%, #0a0a0a 100%);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.card .summary {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
}

.card-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-underline-offset: 4px;
  text-decoration-color: #3a3a3a;
}

.card-links a:hover {
  text-decoration-color: var(--text);
}

.groups {
  display: grid;
  gap: 48px;
}

.fold > summary {
  list-style: none;
  cursor: pointer;
}

.fold > summary::-webkit-details-marker {
  display: none;
}

summary.section-head::after,
.group > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  flex: none;
}

details[open] > summary.section-head::after,
details[open].group > summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.group > summary h3 {
  margin-bottom: 0;
}

.group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.group h3::before {
  content: "";
  width: 8px;
  height: 2px;
  background: var(--mark, var(--yellow));
  flex: none;
}

.group li {
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.group a {
  text-decoration: none;
}

.group a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#client {
  --mark: var(--blue);
}

.connect-list {
  border-bottom: 1px solid var(--line);
}

.connect-link {
  display: block;
  padding-block: 32px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.connect-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.connect-value {
  display: block;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.connect-link:hover .connect-value {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-name {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-top {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding-block: 8px;
}

.footer-top:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  :root {
    --pad: 40px;
    --header: 72px;
  }

  .hero {
    padding-block: 80px 96px;
  }

  .section {
    padding-block: 80px;
  }

  .section-head {
    margin-bottom: 48px;
  }
}

@media (min-width: 800px) {
  .featured-row {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  #recent .featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .card-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .groups-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (min-width: 640px) {
  .groups-4 {
    grid-template-columns: 1fr 1fr;
    gap: 48px 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --pad: 80px;
    --header: 80px;
  }

  .section {
    padding-block: 96px;
  }

  .groups-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 720px) {
  summary.section-head {
    margin-bottom: 0;
  }

  details[open] > summary.section-head {
    margin-bottom: 24px;
  }

  .section-fold:not([open]) + .groups,
  .group:not([open]) > ul {
    display: none;
  }
}

@media (min-width: 721px) {
  .fold > summary {
    pointer-events: none;
    cursor: default;
  }

  summary.section-head::after,
  .group > summary::after {
    content: none;
  }

  .fold::details-content {
    content-visibility: visible;
    height: auto;
    display: block;
  }
}

.card h3 a,
.media-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--text);
}

.article h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.prose {
  margin-top: 32px;
}

.prose p,
.prose ul,
.prose h2,
.prose h3,
.prose .soon,
.prose .player,
.prose .embed,
.prose .figure,
.prose .gallery,
.prose .link-line,
.prose .file-block,
.prose .card-grid {
  margin-top: 24px;
}

.prose h2,
.prose h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.prose h2 {
  font-size: 24px;
  margin-top: 40px;
}

.prose h3 {
  font-size: 20px;
}

.prose p,
.prose li {
  font-size: 16px;
  line-height: 1.6;
  max-width: 68ch;
}

.prose a {
  text-underline-offset: 3px;
}

.prose strong {
  font-weight: 600;
}

.prose ul {
  list-style: none;
  padding: 0;
}

.prose li {
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.prose .link-line a {
  overflow-wrap: anywhere;
}

.article .figure,
.article .player,
.article .file-block,
.article .embed,
.article .soon,
.article .gallery {
  max-width: 960px;
  margin-inline: auto;
}

.article .figure {
  text-align: center;
}

.figure img,
.article .player {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75vh;
  margin-inline: auto;
  object-fit: contain;
  border: 1px solid var(--line);
}

.article .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.article .gallery .figure {
  margin: 0;
  max-width: none;
}

.article .gallery img {
  width: 100%;
  max-height: 45vh;
}

.soon,
.embed {
  aspect-ratio: 16 / 9;
  width: min(960px, 100%, calc(75vh * 16 / 9));
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.soon {
  display: grid;
  place-items: center;
}

.soon p {
  margin: 0;
  color: var(--muted);
  max-width: none;
}

.player {
  display: block;
  background: #000000;
}

.file-block {
  max-width: 960px;
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(720px, 75vh);
  max-height: 75vh;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.embed {
  position: relative;
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.card-grid {
  display: grid;
  gap: 32px;
}

a.card-link {
  text-decoration: none;
  color: inherit;
  gap: 16px;
}

a.card-link h2,
.prose .card-link h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: none;
}

a.card-link:hover h2 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.landing {
  min-height: 100vh;
  min-height: 100dvh;
}

.landing-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: 48px;
}

.landing-main h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.landing-intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 20px;
}

.landing-actions {
  margin-top: 32px;
}

.landing-portfolio {
  display: inline-block;
  background: #f5f5f5;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 20px;
}

.landing-portfolio:hover {
  background: #ffffff;
}

.landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.landing-links a {
  color: var(--muted);
  text-decoration: none;
}

.landing-links a:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
