/*
 * Pixel Wisdom — operator-grade product engineering
 * Quiet SaaS surfaces, precise hierarchy, and a high-signal delivery console.
 */

:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-subtle: #f9fafb;
  --surface-muted: #eef2f6;
  --surface-blue: #eef4ff;
  --ink: #101828;
  --ink-2: #344054;
  --ink-3: #667085;
  --ink-4: #98a2b3;
  --border: #e4e7ec;
  --border-strong: #d0d5dd;
  --accent: #155eef;
  --accent-hover: #004eeb;
  --accent-ink: #1849a9;
  --accent-soft: #d1e0ff;
  --accent-pale: #eff4ff;
  --cyan: #0e9384;
  --mint: #12b76a;
  --mint-soft: #dcfae6;
  --navy: #0b1220;
  --navy-2: #111b2e;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #027a48;
  --success-bg: #ecfdf3;
  --font-display: "Onest", "Avenir Next", sans-serif;
  --font-body: "Onest", "Avenir Next", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5.5rem, 9vw, 8rem);
  --radius: 1.5rem;
  --radius-sm: 0.85rem;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 4px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 12px 32px rgba(16, 24, 40, 0.08), 0 2px 8px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 28px 70px rgba(16, 24, 40, 0.14), 0 8px 24px rgba(16, 24, 40, 0.08);
  --header-h: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  min-width: 0;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.5);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

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

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

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

.honeypot-fields {
  contain: strict;
}

.honeypot-fields > * {
  position: absolute;
  inset: 0;
  width: 1px;
  min-width: 0;
  max-width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0.7rem;
  background: var(--surface);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 0.75rem;
}

/* Typography */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.36rem 0.65rem;
  border: 1px solid #b2ccff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.eyebrow::before {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1);
  content: "";
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  max-width: 13.5ch;
  font-size: clamp(3.15rem, 5.8vw, 5.35rem);
  line-height: 1.015;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.14;
}

.section-lede,
.hero-lede {
  max-width: 43rem;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.58;
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 0.8rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), 0 6px 14px rgba(21, 94, 239, 0.2);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08), 0 10px 22px rgba(21, 94, 239, 0.24);
}

.button--ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.button--ghost:hover {
  border-color: #b2ccff;
  background: var(--surface);
  color: var(--accent-ink);
  box-shadow: var(--shadow-md);
}

.button--compact {
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: fit-content;
  color: var(--accent-ink);
  font-size: 0.97rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  font-size: 0.9em;
  transition: transform 0.18s ease;
}

.text-link:hover {
  color: var(--accent);
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(228, 231, 236, 0.85);
  background: rgba(246, 248, 252, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(16, 24, 40, 0.08));
}

.brand-name {
  font-size: 1.08rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.85rem;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 0.45rem 0;
  color: var(--ink-3);
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.18s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.18s ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-action {
  display: none;
  margin-left: 0.15rem;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle__lines,
.mobile-menu-toggle__lines::before,
.mobile-menu-toggle__lines::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle__lines {
  position: relative;
}

.mobile-menu-toggle__lines::before,
.mobile-menu-toggle__lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.mobile-menu-toggle__lines::before {
  top: -5px;
}

.mobile-menu-toggle__lines::after {
  top: 5px;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__lines {
  background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 28px rgba(16, 24, 40, 0.08);
}

.mobile-panel.is-open {
  display: flex;
}

.mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-panel a:hover {
  background: var(--accent-pale);
  color: var(--accent-ink);
}

.mobile-panel a:last-child {
  margin-top: 0.35rem;
  background: var(--accent);
  color: #ffffff;
  justify-content: center;
}

@media (min-width: 861px) {
  .desktop-nav,
  .nav-action {
    display: inline-flex;
  }

  .mobile-menu-toggle,
  .mobile-panel {
    display: none !important;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.25rem, 8vw, 7.5rem) 0 clamp(5.75rem, 9vw, 8rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 82% 12%, rgba(132, 173, 255, 0.24), transparent 27rem),
    radial-gradient(circle at 8% 72%, rgba(71, 205, 137, 0.11), transparent 25rem),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(102, 112, 133, 0.16) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 80%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(3.5rem, 7vw, 6rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
  max-width: 48rem;
}

.hero-copy .eyebrow {
  margin-bottom: 0.1rem;
}

.hero-title__accent {
  position: relative;
  display: inline-block;
  color: var(--accent);
}

.hero-title__accent::after {
  position: absolute;
  right: 0.02em;
  bottom: -0.05em;
  left: 0.04em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #53b1fd);
  content: "";
  opacity: 0.45;
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 41rem;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-top: 0.2rem;
  color: var(--ink-3);
  font-size: 0.84rem;
  font-weight: 500;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.hero-meta li::before {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--success);
  content: "✓";
  font-size: 0.62rem;
  font-weight: 700;
}

.hero-proof {
  position: relative;
  overflow: hidden;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 85% 0%, rgba(21, 94, 239, 0.3), transparent 18rem),
    var(--navy);
  color: #ffffff;
  box-shadow: 0 34px 80px rgba(11, 18, 32, 0.25), 0 8px 24px rgba(11, 18, 32, 0.16);
}

.hero-proof::before {
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(132, 173, 255, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 2.4rem rgba(132, 173, 255, 0.035),
    0 0 0 5rem rgba(132, 173, 255, 0.018);
}

.hero-proof__chrome {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.6rem;
  padding: 0.35rem 0.65rem;
  color: #98a2b3;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.02em;
}

.window-dots {
  display: flex;
  gap: 0.28rem;
}

.window-dots span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #475467;
}

.window-dots span:nth-child(1) {
  background: #f97066;
}

.window-dots span:nth-child(2) {
  background: #fdb022;
}

.window-dots span:nth-child(3) {
  background: #32d583;
}

.hero-proof__badge {
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(178, 204, 255, 0.18);
  border-radius: 999px;
  background: rgba(21, 94, 239, 0.16);
  color: #b2ccff;
  font-size: 0.61rem;
}

.hero-proof__summary {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin: 0 0.2rem;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-proof__summary p {
  color: #84adff;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-proof__summary strong {
  max-width: 19ch;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.delivery-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
  margin-top: 0.35rem;
}

.delivery-track span {
  height: 0.32rem;
  border-radius: 999px;
  background: #344054;
}

.delivery-track span:nth-child(1) {
  background: #84adff;
}

.delivery-track span:nth-child(2) {
  background: #53b1fd;
}

.delivery-track span:nth-child(3) {
  background: #2ed3b7;
}

.delivery-track span:nth-child(4) {
  background: #32d583;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
  color: #98a2b3;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.01em;
}

.hero-proof__label {
  position: relative;
  z-index: 1;
  margin: 1.1rem 1rem 0.3rem;
  color: #98a2b3;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-proof__list {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 0 0.45rem 0.45rem;
}

.hero-proof__list li {
  display: grid;
  grid-template-columns: 2.15rem 1fr;
  column-gap: 0.75rem;
  padding: 0.85rem 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.hero-proof__list li::before {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  grid-row: 1 / span 2;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.65rem;
  background: rgba(132, 173, 255, 0.12);
  color: #b2ccff;
  content: "01";
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 600;
}

.hero-proof__list li:nth-child(2)::before {
  background: rgba(46, 211, 183, 0.1);
  color: #5fe9d0;
  content: "02";
}

.hero-proof__list li:nth-child(3)::before {
  background: rgba(83, 177, 253, 0.1);
  color: #84caff;
  content: "03";
}

.hero-proof__list strong,
.hero-proof__list span {
  grid-column: 2;
}

.hero-proof__list strong {
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-proof__list span {
  color: #98a2b3;
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 0.78fr);
  }
}

/* Sections */

.section {
  padding: var(--section) 0;
}

.section-head {
  display: grid;
  gap: 1.15rem;
  max-width: 49rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.section-head .eyebrow {
  margin-bottom: -0.15rem;
}

/* Work */

.work {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), #f8fafc 45%, var(--bg));
}

.project-list {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  --card-accent: var(--accent);
  position: relative;
  padding: clamp(1.65rem, 3.5vw, 2.45rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-subtle);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.project-card--zotero {
  --card-accent: var(--cyan);
}

.project-card::after {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  display: none;
  background: none;
  content: "";
  pointer-events: none;
}

.project-card--zotero::after {
  background: radial-gradient(circle, rgba(14, 147, 132, 0.075), transparent 70%);
}

.project-card:hover {
  border-color: #c7d7fe;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card--featured {
  border-color: #c7d7fe;
  background: var(--surface-subtle);
}

.project-card--featured:hover {
  border-color: #84adff;
}

.project-card--phraselang {
  --card-accent: var(--cyan);
  border-color: #b8e4dd;
  background: var(--surface-subtle);
}

.project-card--phraselang:hover {
  border-color: #7bd7c9;
}

.project-card--zotero.project-card--featured {
  border-color: #b8e4dd;
  background: var(--surface-subtle);
  box-shadow: var(--shadow-md);
}

.project-card--zotero.project-card--featured:hover {
  border-color: #7bd7c9;
  box-shadow: var(--shadow-lg);
}

.project-card--arc.project-card--featured {
  --card-accent: var(--accent);
  border-color: #b2ccff;
  background: var(--surface-subtle);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.project-card--arc::before {
  position: absolute;
  inset: 0;
  display: none;
  background-image: none;
  background-size: 38px 38px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(110deg, rgba(0, 0, 0, 0.72), transparent 64%);
  -webkit-mask-image: linear-gradient(110deg, rgba(0, 0, 0, 0.72), transparent 64%);
}

.project-card--arc::after {
  top: -11rem;
  right: -9rem;
  width: 29rem;
  height: 29rem;
  background: radial-gradient(circle, rgba(21, 94, 239, 0.09), transparent 68%);
}

.project-card--arc.project-card--featured:hover {
  border-color: #84adff;
  box-shadow: var(--shadow-lg);
}

.project-card--arc h3 {
  color: var(--ink);
}

.project-card--arc .project-card__index {
  border-color: #b2ccff;
  background: var(--accent-pale);
  color: var(--accent-ink);
}

.project-card--arc .project-card__type {
  color: var(--ink-3);
}

.project-card--arc .project-card__body > p {
  color: var(--ink-2);
}

.project-card--arc .project-card__body > p strong {
  color: var(--ink);
}

.project-card--arc .fact-row {
  margin-top: 0.45rem;
  border-color: #d6e4ff;
}

.project-card--arc .fact-row dt {
  color: var(--ink-3);
}

.project-card--arc .fact-row dd {
  color: var(--ink);
}

.project-card--arc .bullet-proof li {
  color: var(--ink-2);
}

.project-card--arc .bullet-proof li::before {
  background: var(--accent-pale);
  color: var(--accent);
}

.project-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1.1rem;
}

.project-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.65rem;
  padding: 0.18rem 0.45rem;
  border: 1px solid #b2ccff;
  border-radius: 999px;
  background: var(--accent-pale);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
}

.project-card--zotero .project-card__index {
  border-color: #99f6e0;
  background: #f0fdf9;
  color: #107569;
}

.project-card__type {
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 550;
}

.project-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
}

.project-card > p,
.project-card__body > p {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  color: var(--ink-2);
  font-size: 1rem;
}

.project-card__split {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.project-card__body {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.project-card__body h3 {
  margin-bottom: -0.05rem;
}

.project-card__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.project-card__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.18);
  border-radius: 1.1rem;
  background: #101012;
  aspect-ratio: 16 / 10;
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.2);
}

.project-card__media a {
  display: block;
  height: 100%;
}

.project-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card__media:hover img {
  transform: scale(1.025);
}

.project-card__media--phraselang {
  height: auto;
  aspect-ratio: auto;
  border-color: rgba(16, 24, 40, 0.12);
  background: #eef4f7;
}

.project-card__media--phraselang img {
  height: auto;
  object-position: center;
}

.project-card__media--phraselang-session {
  height: auto;
  aspect-ratio: auto;
  border-color: rgba(16, 24, 40, 0.12);
  background: #eef4f7;
}

.project-card__media--phraselang-session img {
  height: auto;
  object-position: center top;
}

.project-card__media--snappy {
  display: grid;
  aspect-ratio: 547 / 543;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.project-card__media--snappy a {
  display: grid;
  width: 100%;
  height: 100%;
  aspect-ratio: 547 / 543;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.18);
  border-radius: 1.1rem;
  background: #101012;
  box-shadow: none;
}

.project-card__media--snappy .snappy-preview {
  width: 100%;
  height: 100%;
  border-radius: 1.1rem;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card__media--snappy:hover .snappy-preview {
  transform: scale(1.015);
}

.arc-gallery-cta {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  padding: 0.95rem 1rem;
  border: 1px solid #c7d7fe;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.arc-gallery-cta:hover {
  border-color: #84adff;
  background: #f3f7ff;
  transform: translateY(-2px);
}

.arc-gallery-cta > span:first-child {
  display: grid;
  gap: 0.1rem;
}

.arc-gallery-cta strong {
  font-size: 0.88rem;
  font-weight: 650;
}

.arc-gallery-cta small {
  color: var(--ink-3);
  font-size: 0.68rem;
  line-height: 1.4;
}

.arc-gallery-cta__count {
  flex: 0 0 auto;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.arc-gallery-cta__count span {
  display: inline-block;
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}

.arc-gallery-cta:hover .arc-gallery-cta__count span {
  transform: translate(2px, -2px);
}

.arc-gallery-cta--zotero {
  border-color: #b8e4dd;
}

.arc-gallery-cta--zotero:hover {
  border-color: #7bd7c9;
  background: #f0fdf9;
}

.arc-gallery-cta--zotero .arc-gallery-cta__count {
  color: #107569;
}

.arc-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 0.7rem;
  align-self: center;
  padding: 0.7rem;
  border: 1px solid rgba(132, 173, 255, 0.24);
  border-radius: 1.2rem;
  background: var(--navy);
  box-shadow:
    0 22px 50px rgba(16, 24, 40, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.arc-showcase__rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  min-width: 0;
}

.arc-showcase__shot {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.78rem;
  background: #030405;
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.arc-showcase__rail .arc-showcase__shot {
  aspect-ratio: 8 / 5;
}

.arc-showcase__shot::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.arc-showcase__shot:hover::after {
  border-color: rgba(132, 173, 255, 0.82);
}

.arc-showcase__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.arc-showcase__shot:hover img {
  filter: brightness(1.08);
  transform: scale(1.018);
}

.arc-showcase__label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1.6rem 0.72rem 0.62rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.arc-showcase__label small {
  color: #84adff;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
}

.zotero-showcase {
  border-color: rgba(94, 234, 212, 0.22);
  background: #202128;
}

.zotero-showcase .arc-showcase__shot:hover::after {
  border-color: rgba(94, 234, 212, 0.78);
}

.zotero-showcase .arc-showcase__label small {
  color: #5eead4;
}

.fact-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.fact-row div {
  display: grid;
  gap: 0.15rem;
}

.fact-row dt {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.fact-row dd {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.42;
}

.bullet-proof {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.bullet-proof li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bullet-proof li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--card-accent);
  content: "✓";
  font-size: 0.6rem;
  font-weight: 700;
}

.metric-strip {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.3rem;
  padding: 1rem;
  border: 1px solid #d6e4ff;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.metric-strip div {
  display: grid;
  gap: 0.14rem;
}

.metric-strip strong {
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.metric-strip span {
  color: var(--ink-3);
  font-size: 0.72rem;
  line-height: 1.35;
}

.metric-note {
  color: var(--ink-3) !important;
  font-size: 0.75rem !important;
}

.metric-strip--features strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .fact-row {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }

  .metric-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card--arc {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .project-card--zotero {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .project-card--phraselang {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .project-card--snappy {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .project-card--featured .project-card__split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .project-card--arc .project-card__split {
    grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(2.25rem, 4.5vw, 4rem);
  }

  .project-card__split--zotero {
    grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(2.25rem, 4.5vw, 4rem);
  }

  .project-card--phraselang .project-card__split {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
  }

  .project-card--phraselang .project-card__gallery {
    align-self: center;
  }

  .project-card__media--snappy {
    height: 100%;
    aspect-ratio: auto;
  }

  .project-card__media--snappy a {
    width: auto;
    max-width: 100%;
    height: 100%;
  }
}

/* ARC Prize interface gallery */

.arc-dialog {
  width: min(calc(100vw - 2rem), 92rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid #c7d7fe;
  border-radius: 1.25rem;
  background: #f7f9fc;
  color: var(--ink);
  box-shadow:
    0 40px 120px rgba(16, 24, 40, 0.32),
    0 8px 28px rgba(16, 24, 40, 0.14);
}

.arc-dialog:not([open]) {
  display: none;
}

.arc-dialog::backdrop {
  background: rgba(16, 24, 40, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.arc-dialog :focus-visible {
  outline-color: rgba(132, 173, 255, 0.82);
}

.arc-dialog__shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
}

.arc-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

.arc-dialog__header > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.8rem;
}

.arc-dialog__eyebrow {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.arc-dialog__header h2 {
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.arc-dialog__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.65rem;
  background: #ffffff;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.arc-dialog__close span {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 0.8;
}

.arc-dialog__close:hover {
  border-color: #84adff;
  background: var(--accent-pale);
  color: var(--accent-ink);
}

.arc-dialog__stage {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem;
  align-items: center;
  gap: 0.8rem;
  min-height: 0;
  padding: 0.85rem 1rem 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(21, 94, 239, 0.1), transparent 34rem),
    linear-gradient(180deg, #f3f6fc, #f8fafc);
}

.arc-dialog__figure {
  display: grid;
  min-width: 0;
  min-height: 0;
}

.arc-dialog__image-frame {
  position: relative;
  display: grid;
  width: 100%;
  height: min(60dvh, 50rem);
  min-height: 16rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid #c2c9d6;
  border-radius: 0.9rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #020303;
  background-size: 24px 24px;
  box-shadow:
    0 18px 46px rgba(16, 24, 40, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.arc-dialog__image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.arc-dialog__caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  min-height: 4.4rem;
  padding: 0.8rem 0.1rem 0.65rem;
}

.arc-dialog__position {
  padding-top: 0.11rem;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.arc-dialog__caption-copy {
  display: grid;
  gap: 0.12rem;
}

.arc-dialog__caption-copy strong {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
}

.arc-dialog__caption-copy > span {
  color: var(--ink-3);
  font-size: 0.72rem;
  line-height: 1.45;
}

.arc-dialog__arrow {
  display: grid;
  width: 2.8rem;
  height: 3.5rem;
  place-items: center;
  padding: 0;
  border: 1px solid #b2ccff;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.arc-dialog__arrow:hover {
  border-color: #84adff;
  background: var(--accent-pale);
  transform: translateY(-1px);
}

.arc-dialog__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(5.25rem, 1fr));
  gap: 0.55rem;
  padding: 0.75rem 1rem 1rem;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  scrollbar-width: thin;
  scrollbar-color: #98a2b3 transparent;
}

.arc-dialog__thumb {
  position: relative;
  min-width: 5.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 0.58rem;
  background: #030405;
  aspect-ratio: 16 / 7;
  cursor: pointer;
  opacity: 0.58;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.arc-dialog__thumb:hover {
  border-color: #84adff;
  opacity: 0.9;
  transform: translateY(-1px);
}

.arc-dialog__thumb[aria-current="true"] {
  border-color: #84adff;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(132, 173, 255, 0.32);
}

.arc-dialog__thumb > span {
  position: absolute;
  left: 0.32rem;
  top: 0.28rem;
  z-index: 1;
  padding: 0.1rem 0.25rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
}

.arc-dialog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.arc-dialog--zotero {
  border-color: #b8e4dd;
}

.arc-dialog--zotero :focus-visible {
  outline-color: rgba(14, 147, 132, 0.7);
}

.arc-dialog--zotero .arc-dialog__eyebrow,
.arc-dialog--zotero .arc-dialog__position {
  color: #107569;
}

.arc-dialog--zotero .arc-dialog__stage {
  background:
    radial-gradient(circle at 50% 20%, rgba(14, 147, 132, 0.11), transparent 34rem),
    linear-gradient(180deg, #f0f9f7, #f8fafc);
}

.arc-dialog--zotero .arc-dialog__image-frame {
  border-color: #b7c9c6;
  background: #202128;
}

.arc-dialog--zotero .arc-dialog__arrow {
  border-color: #99e6dc;
  color: #107569;
}

.arc-dialog--zotero .arc-dialog__arrow:hover,
.arc-dialog--zotero .arc-dialog__close:hover {
  border-color: #5bc8b8;
  background: #f0fdf9;
  color: #107569;
}

.arc-dialog--zotero .arc-dialog__thumb:hover,
.arc-dialog--zotero .arc-dialog__thumb[aria-current="true"] {
  border-color: #5bc8b8;
}

.arc-dialog--zotero .arc-dialog__thumb[aria-current="true"] {
  box-shadow: 0 0 0 1px rgba(14, 147, 132, 0.28);
}

/* Offer */

.offer {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1d2939;
  background:
    radial-gradient(circle at 10% 0%, rgba(21, 94, 239, 0.3), transparent 32rem),
    radial-gradient(circle at 95% 100%, rgba(14, 147, 132, 0.14), transparent 28rem),
    var(--navy);
}

.offer::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), transparent 80%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), transparent 80%);
}

.offer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3.25rem;
}

.offer-copy {
  max-width: 39rem;
}

.offer-copy .eyebrow,
.contact-copy .eyebrow {
  border-color: rgba(178, 204, 255, 0.2);
  background: rgba(21, 94, 239, 0.12);
  color: #b2ccff;
}

.offer-copy .eyebrow::before,
.contact-copy .eyebrow::before {
  background: #84adff;
  box-shadow: 0 0 0 4px rgba(132, 173, 255, 0.11);
}

.offer-copy h2 {
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.offer-copy p {
  color: #b8c2d0;
  font-size: 1.08rem;
}

.offer-list {
  display: grid;
  gap: 0.85rem;
}

.offer-list li {
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-height: 9rem;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.offer-list li::before {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 0.25rem;
  place-items: center;
  border: 1px solid rgba(132, 173, 255, 0.2);
  border-radius: 0.55rem;
  background: rgba(21, 94, 239, 0.14);
  color: #84adff;
  content: "01";
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
}

.offer-list li:nth-child(2)::before {
  content: "02";
}

.offer-list li:nth-child(3)::before {
  border-color: rgba(46, 211, 183, 0.18);
  background: rgba(14, 147, 132, 0.11);
  color: #5fe9d0;
  content: "03";
}

.offer-list li:nth-child(4)::before {
  border-color: rgba(83, 177, 253, 0.18);
  background: rgba(83, 177, 253, 0.09);
  color: #84caff;
  content: "04";
}

.offer-list li:hover {
  border-color: rgba(132, 173, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.offer-list strong {
  color: #f9fafb;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.offer-list span {
  color: #98a2b3;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (min-width: 820px) {
  .offer-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(3rem, 7vw, 6.5rem);
    align-items: start;
  }

  .offer-copy {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .offer-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* About */

.about {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 0% 100%, rgba(132, 173, 255, 0.2), transparent 27rem),
    var(--surface-blue);
}

.about::after {
  position: absolute;
  top: 12%;
  right: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(21, 94, 239, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 3rem rgba(21, 94, 239, 0.025),
    0 0 0 6rem rgba(21, 94, 239, 0.015);
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

.about h2 {
  max-width: 8ch;
}

.about-body {
  display: grid;
  gap: 1.15rem;
  max-width: 46rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid #d6e4ff;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-2);
  font-size: clamp(1.06rem, 1.8vw, 1.2rem);
  line-height: 1.62;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-body p:first-child {
  color: var(--ink);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 0.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 820px) {
  .about-grid {
    grid-template-columns: minmax(15rem, 0.62fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 5%, rgba(21, 94, 239, 0.3), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgba(14, 147, 132, 0.1), transparent 26rem),
    var(--navy);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
}

.contact-copy {
  max-width: 36rem;
}

.contact-copy h2 {
  margin-bottom: 1.05rem;
  color: #ffffff;
}

.contact-copy p {
  color: #b8c2d0;
  font-size: 1.06rem;
}

.contact-form {
  padding: clamp(1.35rem, 4vw, 2.35rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 #ffffff;
}

.form-noscript {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid #fecdca;
  border-radius: var(--radius-sm);
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.42rem;
}

.form-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 600;
}

.form-field label span {
  color: var(--ink-4);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.72rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.035);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.form-field textarea {
  min-height: 9.5rem;
  resize: vertical;
  line-height: 1.55;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-4);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #98a2b3;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #f04438;
  box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.1);
}

.field-error {
  min-height: 1rem;
  color: var(--danger);
  font-size: 0.76rem;
}

.form-footer {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.form-status {
  min-height: 1.2rem;
  color: var(--ink-3);
  font-size: 0.85rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

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

  .form-field--full {
    grid-column: 1 / -1;
  }

  .form-footer .button {
    justify-self: start;
  }
}

@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.18fr);
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }

  .contact-copy {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* Footer */

.site-footer {
  padding: 2.25rem 0 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #070d18;
}

.footer-row {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.site-footer .brand {
  color: #f9fafb;
}

.site-footer .brand-mark {
  padding: 0;
  background: none;
  filter: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
}

.footer-links a {
  color: #98a2b3;
  font-size: 0.86rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  color: #667085;
  font-size: 0.78rem;
}

@media (min-width: 820px) {
  .footer-row {
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-meta {
    text-align: right;
  }
}

/* Motion */

.js [data-load] {
  opacity: 0;
  transform: translateY(14px);
  animation: rise-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.js.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .js [data-load],
  .js.reveal-ready [data-reveal],
  .js.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .button,
  .text-link::after,
  .project-card,
  .project-card__media img,
  .arc-gallery-cta,
  .arc-gallery-cta__count span,
  .arc-showcase__shot::after,
  .arc-showcase__shot img,
  .arc-dialog__close,
  .arc-dialog__arrow,
  .arc-dialog__thumb,
  .offer-list li {
    transition: none;
  }
}

/* Responsive */

@media (max-width: 979px) {
  .hero {
    padding-top: 4.75rem;
  }

  .hero-copy {
    max-width: 50rem;
  }

  .hero-proof {
    width: min(100%, 45rem);
  }
}

@media (max-width: 719px) {
  .hero-meta {
    display: grid;
    gap: 0.55rem;
  }

  .project-card__split {
    gap: 1.5rem;
  }

  .arc-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-width: 0;
    border-radius: 0;
  }

  .arc-dialog__shell {
    height: 100dvh;
    max-height: 100dvh;
  }

  .arc-dialog__header {
    padding: 0.85rem 1rem;
  }

  .arc-dialog__stage {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.7rem 0.75rem 0;
  }

  .arc-dialog__figure {
    grid-column: 1;
  }

  .arc-dialog__image-frame {
    height: min(54dvh, 31rem);
    min-height: 12rem;
  }

  .arc-dialog__arrow {
    position: absolute;
    top: calc(50% - 3.2rem);
    z-index: 2;
    width: 2.55rem;
    height: 3.2rem;
    border-color: #b2ccff;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 24px rgba(16, 24, 40, 0.2);
  }

  .arc-dialog__arrow--previous {
    left: 1rem;
  }

  .arc-dialog__arrow--next {
    right: 1rem;
  }

  .arc-dialog__thumbs {
    padding: 0.65rem 0.75rem 0.8rem;
  }

  .arc-dialog--zotero .arc-dialog__arrow {
    border-color: #99e6dc;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 4.45rem;
    --radius: 1.2rem;
  }

  body {
    font-size: 1rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    padding: 3.8rem 0 4.75rem;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 3.55rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    border-radius: 1.35rem;
  }

  .hero-proof__chrome {
    grid-template-columns: auto 1fr;
  }

  .hero-proof__badge {
    display: none;
  }

  .delivery-steps {
    font-size: 0.52rem;
  }

  .project-card,
  .contact-form {
    padding: 1.3rem;
  }

  .project-card--arc {
    padding: 1.15rem;
  }

  .project-card--arc .project-card__meta {
    margin-bottom: 0.9rem;
  }

  .arc-showcase {
    padding: 0.5rem;
    border-radius: 0.95rem;
  }

  .arc-showcase,
  .arc-showcase__rail {
    gap: 0.5rem;
  }

  .arc-showcase__shot {
    border-radius: 0.6rem;
  }

  .arc-showcase__label {
    padding: 1.35rem 0.55rem 0.48rem;
    font-size: 0.58rem;
  }

  .arc-gallery-cta {
    align-items: flex-end;
    padding: 0.85rem;
  }

  .arc-gallery-cta small {
    max-width: 12rem;
  }

  .arc-dialog__eyebrow {
    display: none;
  }

  .arc-dialog__caption {
    min-height: 5.2rem;
  }

  .arc-dialog__caption-copy > span {
    font-size: 0.68rem;
  }

  .metric-strip {
    padding: 0.9rem;
  }

  .about-body {
    padding: 1.3rem;
  }
}

@media (max-width: 359px) {
  h1 {
    font-size: 2.65rem;
  }

  .brand-name {
    font-size: 0.94rem;
  }
}
