:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f4f4f5;
  --surface-2: #eeeeef;
  --surface-3: #e4e4e7;
  --text: #111113;
  --muted: #555660;
  --soft: #73737d;
  --line: rgba(17, 17, 19, 0.06);
  --line-strong: rgba(17, 17, 19, 0.12);
  --accent: #c74343;
  --accent-2: #f3b6b6;
  --accent-3: #e57d7d;
  --ink-on-accent: #ffffff;
  --radius: 12px;
  --glass: rgba(255, 255, 255, 0.34);
  --glass-strong: rgba(255, 255, 255, 0.66);
  --glass-line: rgba(255, 255, 255, 0.82);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -26px 58px rgba(199, 67, 67, 0.055),
    inset 18px 0 46px rgba(255, 255, 255, 0.28);
  --page-bg: #ffffff;
  --shadow: var(--glass-shadow);
  --max: 1160px;
}

html.dark {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #18181b;
  --surface-2: #27272a;
  --surface-3: #3f3f46;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --soft: #71717a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink-on-accent: #ffffff;
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --glass-line: rgba(255, 255, 255, 0.22);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -26px 58px rgba(199, 67, 67, 0.08),
    inset 18px 0 46px rgba(255, 255, 255, 0.045);
  --page-bg: #09090b;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

html.theme-transitioning::view-transition-new(root) {
  animation: theme-circle-reveal 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  clip-path: circle(var(--theme-radius, 140vmax) at var(--theme-x, 50vw) var(--theme-y, 50vh));
}

html.theme-transitioning::view-transition-old(root) {
  animation: none;
}

@keyframes theme-circle-reveal {
  from {
    clip-path: circle(0 at var(--theme-x, 50vw) var(--theme-y, 50vh));
  }

  to {
    clip-path: circle(var(--theme-radius, 140vmax) at var(--theme-x, 50vw) var(--theme-y, 50vh));
  }
}

body {
  min-width: 320px;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

p {
  color: var(--muted);
}

.site-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px) 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 36px;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wordmark {
  color: var(--text);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1;
  white-space: nowrap;
}

.theme-toggle,
.menu-toggle,
.icon-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  color: var(--muted);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover,
.menu-toggle:hover,
.icon-button:hover {
  background: var(--surface-2);
  color: var(--text);
}

.theme-toggle:active,
.menu-toggle:active,
.icon-button:active {
  transform: translateY(1px);
}

.theme-toggle {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-toggle:hover {
  background: transparent;
}

.theme-toggle svg,
.menu-toggle svg,
.icon-button svg {
  width: 18px;
  height: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}

.site-nav a,
.footer-links a,
.text-link {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  gap: 10px;
  padding: 0 0 24px;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  display: block;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.45);
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
  font-weight: 650;
}

.site-main {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-grid,
.project-grid,
.feature-grid,
.archive-grid,
.press-grid,
.case-grid,
.related-grid {
  display: grid;
  gap: 24px;
}

.home-grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}

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

.feature-grid,
.case-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.press-grid,
.archive-grid,
.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.project-card,
.mini-card,
.stat,
.press-item,
.archive-card,
.case-section,
.case-aside,
.contact-panel {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16) 42%, rgba(255, 235, 235, 0.24)),
    var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(34px) saturate(1.75) contrast(1.04);
  -webkit-backdrop-filter: blur(34px) saturate(1.75) contrast(1.04);
  isolation: isolate;
  overflow: hidden;
}

.panel {
  overflow: hidden;
}

.panel,
.project-card,
.mini-card,
.stat,
.press-item,
.archive-card,
.case-section,
.case-aside,
.contact-panel {
  position: relative;
}

.panel::before,
.project-card::before,
.mini-card::before,
.stat::before,
.press-item::before,
.archive-card::before,
.case-section::before,
.case-aside::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), transparent 31%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.54), transparent 22%),
    linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.22));
  opacity: 0.78;
  pointer-events: none;
  z-index: 0;
}

.panel::after,
.project-card::after,
.mini-card::after,
.stat::after,
.press-item::after,
.archive-card::after,
.case-section::after,
.case-aside::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.42), transparent 38%),
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.18) 28%, transparent 42% 100%);
  mix-blend-mode: screen;
  opacity: 0.68;
  pointer-events: none;
  z-index: 0;
}

.panel > *,
.project-card > *,
.mini-card > *,
.stat > *,
.press-item > *,
.archive-card > *,
.case-section > *,
.case-aside > *,
.contact-panel > * {
  position: relative;
  z-index: 1;
}

.portrait-panel {
  min-height: 0;
  aspect-ratio: 2 / 3;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.intro-panel {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(34px, 5vw, 48px);
  background:
    radial-gradient(circle at 4% 0%, rgba(216, 68, 68, 0.22), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(230, 126, 126, 0.2), transparent 44%),
    linear-gradient(135deg, rgba(255, 245, 245, 0.48) 0%, rgba(255, 255, 255, 0.22) 48%, rgba(248, 214, 214, 0.38) 100%);
}

html.dark .intro-panel {
  background:
    radial-gradient(circle at 4% 0%, rgba(199, 67, 67, 0.34), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(229, 125, 125, 0.22), transparent 44%),
    linear-gradient(135deg, rgba(48, 20, 24, 0.74) 0%, rgba(24, 18, 20, 0.64) 48%, rgba(75, 28, 31, 0.52) 100%);
}

.intro-content,
.contact-content,
.case-hero-content {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 620px;
  font-size: clamp(34px, 3.25vw, 40px);
  letter-spacing: 0;
  line-height: 1.14;
}

.intro-panel h1,
.case-hero-card h1 {
  color: var(--text);
}

.type-blur-title {
  opacity: 1;
  padding-bottom: 0.08em;
}

.type-blur-title span {
  display: inline-block;
  opacity: 1;
  transform: none;
}

.type-blur-title .title-space {
  width: 0.32em;
}

@keyframes letterBounceIn {
  0% {
    opacity: 0;
    transform: translateY(0.5em);
  }

  68% {
    opacity: 1;
    transform: translateY(-0.12em);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.recruiter-actions {
  margin-top: 20px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: clamp(20px, 2.2vw, 26px);
}

h4 {
  font-size: 17px;
}

.lead {
  max-width: 560px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.56;
}

.text-highlight {
  border-radius: 5px;
  background: linear-gradient(180deg, transparent 32%, var(--highlight-color) 32%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.text-highlight--ohio {
  --highlight-color: rgba(186, 12, 47, 0.2);
}

.text-highlight--emerson {
  --highlight-color: rgba(34, 126, 86, 0.2);
}

.intro-panel .lead,
.contact-panel p,
.case-hero-card .lead {
  color: var(--text);
}

.section {
  padding: 24px 0 0;
}

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

.section-head p {
  max-width: 560px;
  margin-top: 10px;
}

.project-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 368px;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(255, 244, 244, 0.28)),
    var(--glass);
  transition: border-color 180ms ease, transform 180ms ease;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.78);
  transform: translateY(-2px);
}

.project-card::before {
  inset: auto 0 0;
  height: 68%;
  border-radius: 0 0 var(--radius) var(--radius);
  background:
    linear-gradient(to top, rgba(18, 8, 10, 0.9) 0%, rgba(65, 20, 10, 0.58) 38%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(18px) saturate(1.38);
  -webkit-backdrop-filter: blur(18px) saturate(1.38);
  mask-image: linear-gradient(to top, #000 0%, #000 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 42%, transparent 100%);
  opacity: 0.9;
  transform: translateY(0);
  transition: backdrop-filter 220ms ease, -webkit-backdrop-filter 220ms ease, opacity 220ms ease, transform 220ms ease;
  z-index: 2;
}

.project-card:hover::before {
  backdrop-filter: blur(11px) saturate(1.18);
  -webkit-backdrop-filter: blur(11px) saturate(1.18);
  opacity: 0.82;
  transform: translateY(6px);
}

.project-card__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
  z-index: 3;
}

.project-card::after {
  z-index: 4;
}

.project-card:hover .project-card__arrow {
  color: #fff;
  opacity: 1;
  transform: translateX(0);
}

.project-card h3 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 86px;
  padding-right: 38px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
  z-index: 3;
}

.project-card__meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  z-index: 3;
}

.project-card[href="tiger-rock.html"] .project-card__meta {
  white-space: nowrap;
  font-size: 14px;
}

.project-card[href="tiger-rock.html"] h3 {
  bottom: 72px;
}

.project-card__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  border: 0;
  background: transparent;
  box-shadow: none;
  z-index: 0;
}

.project-card__visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 220ms ease, object-position 260ms ease;
}

.project-card:hover .project-card__visual img {
  filter: saturate(1.08) contrast(1.03) brightness(1.02);
  object-position: center 48%;
}

.press-card--local .project-card__visual img,
.press-card--local:hover .project-card__visual img {
  object-position: center bottom;
}

.press-card--recipe .project-card__visual img {
  transform: scale(1.32);
}

.press-card--recipe:hover .project-card__visual img {
  filter: saturate(1.08) contrast(1.03) brightness(1.02);
  object-position: center 48%;
  transform: scale(1.38);
}

.project-card p,
.project-card .tags {
  display: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag,
.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pill {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface-2);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  padding: 22px;
}

.stat strong {
  display: block;
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 4% 0%, rgba(216, 68, 68, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 245, 245, 0.48) 0%, rgba(248, 214, 214, 0.34) 100%);
}

.contact-content {
  width: min(100%, 720px);
  margin: 0 auto;
  text-align: center;
}

.contact-content .lead {
  margin-right: auto;
  margin-left: auto;
}

.contact-content .contact-actions {
  justify-content: center;
}

html.dark .contact-panel {
  background:
    radial-gradient(circle at 4% 0%, rgba(199, 67, 67, 0.32), transparent 36%),
    radial-gradient(circle at 90% 5%, rgba(243, 182, 182, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(46, 19, 23, 0.72) 0%, rgba(30, 21, 23, 0.66) 52%, rgba(70, 26, 30, 0.5) 100%);
}

.contact-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  padding: 10px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  font-size: 14px;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.icon-link {
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 999px;
}

.icon-link svg {
  width: 22px;
  height: 22px;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn--accent {
  border-color: transparent;
  background: var(--accent);
  color: var(--ink-on-accent);
}

.btn--accent:hover {
  background: #d95656;
  color: var(--ink-on-accent);
}

.page-hero {
  padding: 30px 0 26px;
}

.page-hero p {
  max-width: 680px;
  margin-top: 14px;
  font-size: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 36px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
}

.archive-page .archive-hero {
  padding-bottom: 18px;
}

.archive-page .archive-hero h1 {
  max-width: 760px;
  font-weight: 300;
}

.archive-page .archive-hero p {
  max-width: 740px;
  font-size: 17px;
  line-height: 1.62;
}

.archive-page .section {
  padding-top: 18px;
}

.archive-page .filter-bar,
.work-page .filter-bar {
  position: relative;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  padding: 10px 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scrollbar-width: none;
}

.archive-page .filter-bar::-webkit-scrollbar,
.work-page .filter-bar::-webkit-scrollbar {
  display: none;
}

.archive-page .filter-indicator,
.work-page .filter-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--filter-indicator-width, 38px);
  height: var(--filter-indicator-height, 34px);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22) 54%, rgba(255, 235, 235, 0.22)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -16px 32px rgba(199, 67, 67, 0.06),
    0 -5px 12px rgba(17, 17, 19, 0.035),
    0 9px 20px rgba(17, 17, 19, 0.075);
  backdrop-filter: blur(24px) saturate(1.65);
  -webkit-backdrop-filter: blur(24px) saturate(1.65);
  pointer-events: none;
  transform: translate3d(var(--filter-indicator-x, 0px), var(--filter-indicator-y, 0px), 0);
  transition:
    width 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    height 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 420ms cubic-bezier(0.2, 0.9, 0.18, 1);
  z-index: 0;
}

.archive-page .filter-btn,
.work-page .filter-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 8px 15px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.archive-page .filter-btn:hover,
.archive-page .filter-btn.active,
.work-page .filter-btn:hover,
.work-page .filter-btn.active {
  background: transparent;
  color: var(--text);
}

.archive-sections {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.archive-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
}

.archive-section__head h2 {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
}

.archive-section--credentials .archive-section__head {
  border-bottom: 0;
}

.archive-stack {
  display: grid;
}

.archive-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 14px 16px;
  margin: 0 -16px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.archive-entry[data-archive-entry] {
  cursor: pointer;
}

.archive-entry:hover,
.archive-entry[aria-expanded="true"] {
  background: rgba(17, 17, 19, 0.028);
  transform: translateX(2px);
}

html.dark .archive-entry:hover,
html.dark .archive-entry[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.04);
}

.archive-entry:focus-visible {
  outline: 2px solid var(--line-strong);
  outline-offset: 5px;
}

.archive-entry__content {
  min-width: 0;
}

.archive-entry h3 {
  max-width: 720px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.12;
}

.archive-entry__date {
  display: block;
  margin-bottom: 5px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.archive-entry p {
  max-width: 560px;
  margin-top: 5px;
  color: var(--soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.archive-entry__action {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, color 160ms ease;
}

.archive-entry:hover .archive-entry__action,
.archive-entry[aria-expanded="true"] .archive-entry__action {
  color: var(--muted);
  transform: translateX(3px);
}

.archive-grid--credentials .archive-card {
  border-radius: var(--radius);
  min-height: 132px;
}

.archive-grid--credentials .archive-card::before,
.archive-grid--credentials .archive-card::after {
  border-radius: inherit;
}

.archive-grid--credentials .archive-card:nth-child(4n + 1) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.14) 44%, rgba(255, 235, 235, 0.22)),
    var(--glass);
}

.archive-grid--credentials .archive-card:nth-child(4n + 2) {
  background:
    linear-gradient(35deg, rgba(255, 255, 255, 0.52), rgba(255, 246, 246, 0.18) 48%, rgba(230, 126, 126, 0.16)),
    var(--glass);
}

.archive-grid--credentials .archive-card:nth-child(4n + 3) {
  background:
    linear-gradient(215deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.13) 46%, rgba(244, 210, 210, 0.2)),
    var(--glass);
}

.archive-grid--credentials .archive-card:nth-child(4n) {
  background:
    linear-gradient(315deg, rgba(255, 255, 255, 0.5), rgba(255, 240, 240, 0.15) 50%, rgba(255, 255, 255, 0.26)),
    var(--glass);
}

.archive-grid--credentials .archive-card:nth-child(3n + 1)::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.78), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.44), transparent 24%),
    linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.2));
}

.archive-grid--credentials .archive-card:nth-child(3n + 2)::before {
  background:
    linear-gradient(220deg, rgba(255, 255, 255, 0.74), transparent 32%),
    radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.42), transparent 25%),
    linear-gradient(180deg, transparent 54%, rgba(255, 255, 255, 0.2));
}

.archive-grid--credentials .archive-card:nth-child(3n)::before {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.72), transparent 33%),
    radial-gradient(circle at 46% 5%, rgba(255, 255, 255, 0.4), transparent 24%),
    linear-gradient(180deg, transparent 56%, rgba(255, 255, 255, 0.22));
}

.archive-page .archive-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.archive-page .archive-card__meta {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.press-recognition-grid .archive-card {
  min-height: 132px;
}

.press-recognition-grid .archive-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.press-recognition-grid .archive-card__meta {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.archive-card--expired {
  opacity: 0.72;
}

.archive-note {
  margin-top: 18px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 650;
}

.archive-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 17, 19, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.archive-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.archive-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  width: min(540px, 100vw);
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, var(--glass-strong), var(--page-bg) 46%),
    var(--page-bg);
  box-shadow: -28px 0 70px rgba(17, 17, 19, 0.18);
  overflow-y: auto;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.archive-drawer.open {
  pointer-events: auto;
  transform: translateX(0);
}

.archive-drawer__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-strong);
  padding: 22px clamp(20px, 4vw, 30px);
  background: color-mix(in srgb, var(--page-bg) 86%, transparent);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

.archive-drawer__cat,
.archive-drawer__label {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-drawer__cat {
  margin-bottom: 7px;
}

.archive-drawer__title {
  font-size: clamp(25px, 4vw, 32px);
  line-height: 1.08;
}

.archive-drawer__close {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.archive-drawer__close:hover,
.archive-drawer__close:focus-visible {
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
}

.archive-drawer__close svg {
  width: 18px;
  height: 18px;
}

.archive-drawer__body {
  display: grid;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 30px) 36px;
}

.archive-drawer__media {
  display: grid;
  min-height: 180px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.archive-drawer__media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.archive-drawer__media-grid .archive-drawer__media {
  min-height: 150px;
  padding: 12px;
}

.archive-drawer__media-grid .archive-drawer__media img {
  max-height: 190px;
}

.archive-drawer__media img {
  width: min(100%, 240px);
  max-height: 180px;
  object-fit: contain;
}

.archive-drawer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 20px;
}

.archive-drawer__meta-item {
  display: grid;
  gap: 4px;
}

.archive-drawer__meta-value {
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.archive-drawer__section {
  display: grid;
  gap: 10px;
}

.archive-drawer__section p {
  font-size: 15px;
  line-height: 1.72;
}

.archive-drawer__list {
  display: grid;
  gap: 9px;
}

.archive-drawer__list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.archive-drawer__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.archive-drawer__note {
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.archive-drawer__reflection {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}

.archive-drawer__reflection p {
  color: var(--muted);
  font-style: italic;
}

.archive-drawer__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  transition: gap 160ms ease;
}

.archive-drawer__link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.archive-drawer__link:hover {
  gap: 12px;
}

.is-hidden {
  display: none !important;
}

.mini-card,
.press-item,
.archive-card,
.case-section,
.case-aside {
  padding: 24px;
}

.mini-card p,
.press-item p,
.archive-card p,
.case-section p,
.case-aside p {
  margin-top: 10px;
}

.mini-card h3,
.archive-card h3 {
  font-size: 22px;
}

.press-item {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.press-item:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.press-item__source,
.archive-card__meta {
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
}

.press-item__title {
  margin-top: 12px;
  font-size: 22px;
}

.archive-card {
  min-height: 230px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.archive-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.about-values-grid .archive-card {
  min-height: 210px;
  border-radius: calc(var(--radius) + 6px);
}

.about-values-grid .archive-card:nth-child(1) {
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 68, 68, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(255, 244, 244, 0.2) 44%, rgba(246, 210, 210, 0.2)),
    var(--glass);
}

.about-values-grid .archive-card:nth-child(2) {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(35deg, rgba(255, 248, 248, 0.46), rgba(255, 255, 255, 0.16) 46%, rgba(230, 126, 126, 0.14)),
    var(--glass);
}

.about-values-grid .archive-card:nth-child(3) {
  background:
    radial-gradient(circle at 46% 4%, rgba(244, 210, 210, 0.28), transparent 34%),
    linear-gradient(220deg, rgba(255, 255, 255, 0.5), rgba(255, 240, 240, 0.14) 48%, rgba(255, 255, 255, 0.28)),
    var(--glass);
}

.about-values-grid .archive-card:nth-child(1)::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.76), transparent 34%),
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.2));
}

.about-values-grid .archive-card:nth-child(2)::before {
  background:
    linear-gradient(215deg, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.44), transparent 25%),
    linear-gradient(180deg, transparent 54%, rgba(255, 255, 255, 0.22));
}

.about-values-grid .archive-card:nth-child(3)::before {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.7), transparent 33%),
    radial-gradient(circle at 48% 8%, rgba(255, 255, 255, 0.4), transparent 24%),
    linear-gradient(180deg, transparent 56%, rgba(255, 255, 255, 0.2));
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 58%;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--glass-shadow);
}

.site-main > .feature-grid:first-child {
  align-items: stretch;
}

.site-main > .feature-grid:first-child .intro-panel {
  min-height: clamp(440px, 46vw, 560px);
  justify-content: center;
}

.site-main > .feature-grid:first-child .about-visual {
  height: clamp(440px, 46vw, 560px);
  overflow: hidden;
  border-radius: var(--radius);
}

.site-main > .feature-grid:first-child .about-visual img {
  height: 100%;
  aspect-ratio: auto;
  object-position: center 58%;
}

.stack {
  display: grid;
  gap: 16px;
}

.timeline-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.timeline-list li {
  position: relative;
  padding: 0 0 18px 26px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.45;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.timeline-list li::after {
  content: "";
  position: absolute;
  top: calc(0.42em + 11px);
  bottom: 5px;
  left: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line-strong), transparent);
}

.timeline-list li:last-child {
  padding-bottom: 0;
}

.timeline-list li:last-child::after {
  display: none;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
}

.timeline-item span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-item strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
}

.site-footer {
  position: relative;
  display: block;
  border-top: 0;
  margin-top: clamp(48px, 7vw, 88px);
  height: clamp(118px, 14.5vw, 188px);
  overflow: hidden;
  padding: 0;
}

.footer-mega {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  fill: rgba(17, 17, 19, 0.16);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 248px;
  font-weight: 800;
  user-select: none;
  z-index: 0;
  transform: translateY(6px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 96%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 96%);
}

html.dark .footer-mega {
  fill: rgba(255, 255, 255, 0.1);
}

.footer-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 3vw, 34px);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}

.footer-overlay a {
  pointer-events: auto;
  color: #2f3036;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.footer-contact-stack {
  display: grid;
  gap: 4px;
  text-align: left;
}

.footer-contact-stack a:last-child {
  font-size: 13px;
}

.footer-social {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

html.dark .footer-overlay a {
  color: rgba(255, 255, 255, 0.76);
}

.reveal {
  opacity: 1;
  transition: opacity 360ms ease;
}

.reveal.visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .type-blur-title {
    opacity: 1;
  }

  .type-blur-title span {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .home-grid,
  .feature-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .press-grid,
  .archive-grid,
  .related-grid,
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-entry {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .archive-entry__action {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .wordmark {
    font-size: 24px;
    letter-spacing: 0.13em;
  }

  .site-header {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .intro-panel {
    min-height: 420px;
  }

  .intro-panel {
    padding: 30px;
  }

  .site-main > .feature-grid:first-child .intro-panel {
    min-height: 360px;
  }

  .site-main > .feature-grid:first-child .about-visual {
    height: min(138vw, 540px);
  }

  .home-page .type-blur-title {
    font-size: clamp(27px, 7.5vw, 32px);
    line-height: 1.18;
  }

  .section-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .project-grid,
  .press-grid,
  .archive-grid,
  .related-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 390px;
  }

  .project-card__visual {
    min-height: 200px;
  }

  .btn {
    width: 100%;
  }

  .archive-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .archive-entry h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .archive-section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .archive-drawer {
    width: 100vw;
  }

  .archive-drawer__media-grid {
    grid-template-columns: 1fr;
  }
}
