@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* Layers: navigation 10, skip link 20, native dialog in the top layer. */
:root {
  --paper: #f4f4ef;
  --ink: #242620;
  --muted: #65675e;
  --body-color: #45483e;
  --text-body: 1.0625rem;
  --text-lead: 1.125rem;
  --text-secondary: 0.875rem;
  --text-label: 0.875rem;
  --text-meta: 0.9375rem;
  --text-action: 0.9375rem;
  --text-intro: 1rem;
  --body-leading: 1.7;
  --line: #d7d9cf;
  --accent: #d6ed48;
  --highlight: #d6ed48;
  --accent-ink: #242620;
  --surface: #e9ebe3;
  --card: #eeefe8;
  --focus: #646d17;
  --radius: 6px;
  color-scheme: light;
  --mono: Manrope, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #20221e;
    --ink: #f0f1e8;
    --muted: #b3b7a8;
    --body-color: #d1d5c7;
    --body-leading: 1.75;
    --line: #42463a;
    --surface: #2b2f25;
    --card: #272a23;
    --focus: #d6ed48;
    --highlight: #566121;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #20221e;
  --ink: #f0f1e8;
  --muted: #b3b7a8;
  --body-color: #d1d5c7;
  --body-leading: 1.75;
  --line: #42463a;
  --surface: #2b2f25;
  --card: #272a23;
  --focus: #d6ed48;
  --highlight: #566121;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
}
a,
button {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
canvas:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(42px, 5vw, 68px);
}
h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 100px;
}
.mono,
.eyebrow,
.project-meta {
  font-family: var(--mono);
  font-size: var(--text-meta);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.eyebrow {
  font-size: var(--text-meta);
  letter-spacing: 0.035em;
  line-height: 1.6;
  color: var(--body-color);
}
.accent-text {
  color: var(--ink);
  position: relative;
}
.accent-text:after {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--highlight);
  width: 0.48em;
  height: 0.35em;
  bottom: 0.04em;
  left: 0;
}
.visually-hidden {
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-180%);
  z-index: 20;
}
.skip-link:focus {
  transform: none;
}
.mobile-break {
  display: none;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-label);
  font-weight: 800;
  line-height: 1.4;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 43px;
  border-radius: 4px;
  font-size: 40px;
  letter-spacing: -0.09em;
  padding-right: 4px;
  background: var(--ink);
  color: var(--paper);
  line-height: 1;
}
.brand-mark span {
  color: var(--accent);
}
.brand-description {
  display: block;
  font-weight: 400;
  font-size: var(--text-label);
  color: var(--muted);
  margin-top: 2px;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--text-action);
  font-weight: 600;
}
.navigation > a {
  position: relative;
  font-size: var(--text-action);
}
.navigation > a:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.navigation > a:hover:after {
  transform: scaleX(1);
}
.navigation .nav-contact {
  display: flex;
  gap: 20px;
  margin-left: 12px;
}
.theme-toggle {
  display: grid;
  place-content: center;
  width: 36px;
  height: 36px;
  font-size: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}
.theme-toggle:hover {
  transform: rotate(30deg);
}
.menu-toggle {
  display: none;
  font-size: var(--text-action);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 76px 74px;
  min-height: 660px;
}
.hero-copy {
  position: relative;
  min-width: 0;
}
.hero-intro {
  margin-bottom: 26px;
  font-size: var(--text-intro);
  letter-spacing: 0.055em;
  color: var(--body-color);
}
h1 {
  font-size: clamp(78px, 8.8vw, 124px);
  line-height: 0.99;
  letter-spacing: -0.075em;
  position: relative;
  width: max-content;
  max-width: 100%;
}
.headline-accent {
  position: relative;
  z-index: 0;
}
.headline-accent:before {
  content: "";
  position: absolute;
  left: -8px;
  right: -13px;
  bottom: 7px;
  height: 0.38em;
  background: var(--highlight);
  transform: rotate(-2deg);
  z-index: -1;
}
.title-period {
  font-size: 0.68em;
  font-weight: 500;
  display: inline-block;
  vertical-align: top;
  margin-left: 18px;
  margin-top: -9px;
  color: var(--ink);
}
.hero-description {
  font-size: var(--text-lead);
  line-height: var(--body-leading);
  max-width: 40ch;
  color: var(--body-color);
  margin-top: 28px;
}
.hero-description a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 43px;
  min-height: 49px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: var(--text-action);
  font-weight: 600;
  max-width: 100%;
  white-space: normal;
  text-align: left;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--ink) 20%, transparent);
}
.button span {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
  margin-top: 28px;
}
.playground {
  width: 100%;
  max-width: 465px;
  justify-self: end;
  align-self: center;
  position: relative;
  transform: rotate(2deg);
  padding: 16px 18px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.playground-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding-inline: 3px;
  color: var(--muted);
}
.playground-top .mono {
  font-size: var(--text-meta);
}
.playground-corner {
  font-size: 21px;
  color: var(--ink);
}
#pixel-canvas {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  cursor: crosshair;
  touch-action: none;
  border-radius: 2px;
}
.playground-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.playground-caption {
  font-size: var(--text-label);
  font-weight: 500;
}
.playground-tools {
  display: flex;
  align-items: center;
  gap: 7px;
}
.swatch {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  outline: 1px solid transparent;
  display: grid;
  place-content: center;
  font-size: 15px;
  line-height: 1;
}
.swatch[aria-pressed="true"] {
  outline-color: var(--muted);
}
.swatch-ink {
  background: var(--ink);
}
.swatch-accent {
  background: var(--accent);
}
.swatch-erase {
  background: var(--paper);
}
.reset-canvas {
  font-size: 25px;
  line-height: 1;
  width: 28px;
  height: 28px;
  margin-left: 7px;
}
.intro-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-intro);
  color: var(--body-color);
}
.intro-line > a {
  font-size: var(--text-intro);
  color: var(--ink);
  display: flex;
  gap: 19px;
  align-items: center;
}
.intro-line > a span {
  font-size: 17px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 45px;
  gap: 32px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-bottom: 4px;
  max-width: 100%;
}
.filter {
  font-size: var(--text-action);
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.filter:hover {
  background: var(--surface);
}
.filter.active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 30px;
}
.project[hidden] {
  display: none;
}
.project-revalgo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background: var(--card);
  border-radius: var(--radius);
}
.revalgo-story {
  min-width: 0;
}
.revalgo-context {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--body-color);
}
.revalgo-context > span:first-child {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.project-revalgo .revalgo-story h3 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.project-revalgo .button {
  margin-top: 1.75rem;
}
.project-revalgo .revalgo-privacy {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 45ch;
}
.revalgo-visual {
  min-width: 0;
  margin: 0;
  padding: 1.5rem 0.5rem;
}
.architecture-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.875rem;
  padding: 0.75rem 1.25rem 1.5rem;
}
.architecture-layer {
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.375rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: rotate(-4deg);
}
.architecture-layer:hover {
  border-color: var(--focus);
}
.architecture-layer:nth-child(2) {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: rotate(2deg) translateX(0.625rem);
}
.architecture-layer:nth-child(3) {
  transform: rotate(-2deg);
}
.architecture-layer > span {
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.architecture-layer > small {
  font-size: 0.875rem;
  line-height: 1.5;
}
.revalgo-visual figcaption {
  margin-top: 0.625rem;
  font-size: var(--text-label);
  text-align: center;
  color: var(--body-color);
}
.imgkilo-image {
  background: var(--surface);
}
.imgkilo-image img {
  border-radius: 3px;
  transform: rotate(-2deg);
}
.imgkilo-image:hover img {
  transform: rotate(0) translateY(-4px);
}
.project-android {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
}
.android-heading {
  max-width: 64ch;
  margin-bottom: 2.5rem;
}
.project-android .android-heading h3 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.android-heading > p {
  max-width: 55ch;
}
.android-heading > .text-button {
  margin-top: 1.25rem;
  font-size: 0.875rem;
}
.android-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.android-app {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.android-app-heading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.android-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
}
.android-app h4 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.375rem;
}
.android-app-heading span {
  display: block;
  font-size: var(--text-label);
  color: var(--body-color);
  line-height: 1.5;
}
.android-preview {
  display: block;
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.android-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transition: transform 0.5s var(--ease);
}
.android-preview:hover img {
  transform: scale(1.025);
}
.android-app > p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.android-app > .text-button {
  margin-top: auto;
  font-size: 0.875rem;
  min-height: 44px;
}
.project-android .android-source {
  display: block;
  margin-top: 1.5rem;
  color: var(--body-color);
  font-size: var(--text-label);
  line-height: 1.5;
}
.project-featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}
.project-image {
  position: relative;
  display: block;
  aspect-ratio: 1.45;
  background: var(--surface);
  padding: 32px 30px 0;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
  text-align: left;
}
.project-image img {
  height: auto;
  width: 100%;
  box-shadow: 0 12px 45px #24262019;
  transition: transform 0.6s var(--ease);
  object-fit: cover;
  object-position: top;
}
.project-image:hover img {
  transform: translateY(-5px) scale(1.025);
}
.image-visit {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 15px;
  font-size: var(--text-label);
  border-radius: 30px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    transform 0.25s;
  box-shadow: 0 2px 10px #24262015;
}
.project-image:hover .image-visit,
.project-image:focus-visible .image-visit {
  opacity: 1;
  transform: none;
}
.busdriver-image {
  padding: 30px 30px 0;
  aspect-ratio: 1.52;
  background: #d9d8ce;
  border-radius: 0;
}
.busdriver-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 4px 4px 0 0;
  transform: rotate(-1deg);
  transform-origin: bottom;
}
.busdriver-image:hover img {
  transform: rotate(0) scale(1.025);
}
.project-info {
  padding-top: 23px;
}
.project-featured .project-info {
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.375rem 1.25rem;
  color: var(--body-color);
  font-size: var(--text-meta);
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 14px;
  width: 100%;
}
.project h3 {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
}
.project h3 a,
.project h3 button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
}
.project h3 span {
  font-size: 25px;
  font-weight: 400;
  margin-left: auto;
  flex-shrink: 0;
}
.project h3 a:hover span,
.project h3 button:hover span {
  transform: translate(3px, -3px);
}
.project h3 span {
  transition: transform 0.25s var(--ease);
}
.project p {
  font-size: var(--text-body);
  line-height: var(--body-leading);
  color: var(--body-color);
  margin-top: 14px;
  max-width: 48ch;
}
.project-featured h3 {
  font-size: 37px;
  width: 100%;
}
.project-featured p {
  font-size: var(--text-body);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.tags span {
  font-size: var(--text-label);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--muted);
}
.text-button {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: var(--text-action);
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.text-button span {
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}
.text-button:hover span {
  transform: translate(2px, -2px);
}
.project-info > .text-button {
  margin-top: 24px;
  font-size: var(--text-action);
}
.commerce-image {
  background: #e1e5d4;
  padding-top: 40px;
}
.commerce-image img {
  transform: rotate(-3deg);
  border-radius: 3px;
}
.commerce-image:hover img {
  transform: rotate(-1deg) scale(1.035);
}
.ai-image {
  background: #e3e2da;
  padding: 40px 30px 0;
}
.ai-image img {
  transform: rotate(3deg);
  border-radius: 3px;
}
.ai-image:hover img {
  transform: rotate(1deg) scale(1.035);
}
.project-tools {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 55px;
  align-items: center;
}
.tools-image {
  background: #e1e5d4;
  aspect-ratio: 1.45;
  padding: 32px 30px 0;
}
.project-tools .project-info {
  grid-column: 1;
  grid-row: 1;
  padding-top: 0;
}
.project-tools .project-meta {
  justify-content: flex-start;
  gap: 26px;
}
.project-tools h3 {
  font-size: 30px;
}
.work-footnote {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-block: 38px;
  font-size: var(--text-label);
  color: var(--muted);
}
.work-footnote a {
  color: var(--ink);
}

.about-section {
  padding-top: 30px;
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 100px;
  align-items: start;
}
.about-photo {
  position: relative;
  width: 85%;
  margin-top: 28px;
  transform: rotate(-3deg);
  background: var(--surface);
  padding: 14px 14px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1);
}
.photo-note {
  position: absolute;
  bottom: 12px;
  left: 18px;
  font-size: var(--text-label);
  font-weight: 600;
  transform: rotate(1deg);
}
.about-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
}
.about-copy h2 {
  margin-bottom: 27px;
}
.about-copy > p:not(.eyebrow) {
  font-size: var(--text-body);
  line-height: var(--body-leading);
  max-width: 52ch;
  color: var(--body-color);
  margin-top: 1.25rem;
}
.about-copy > p.about-aside {
  font-size: var(--text-body);
  margin-top: 25px;
}
.experience {
  margin-top: 85px;
}
.experience-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.experience-heading h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
}
.experience-heading > a {
  font-size: var(--text-action);
}
.experience-heading > a span {
  margin-left: 15px;
}
.experience details {
  border-top: 1px solid var(--line);
}
.experience details:last-child {
  border-bottom: 1px solid var(--line);
}
.experience summary {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.8fr 20px;
  gap: 25px;
  align-items: start;
  padding-block: 25px;
  list-style: none;
  cursor: pointer;
}
.experience summary::-webkit-details-marker {
  display: none;
}
.experience-company {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.current-label {
  font-family: var(--mono);
  font-size: var(--text-label);
  color: var(--accent-ink);
  letter-spacing: 0;
  font-weight: 400;
  padding: 3px 7px;
  background: var(--accent);
  border-radius: 3px;
}
.experience-role {
  font-size: var(--text-intro);
  padding-top: 5px;
}
.experience-role > span {
  display: block;
  font-size: var(--text-label);
  color: var(--muted);
  margin-top: 3px;
}
.experience-date {
  font-family: var(--mono);
  font-size: var(--text-label);
  color: var(--muted);
  padding-top: 7px;
  text-align: right;
}
.details-icon {
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
}
.experience details[open] .details-icon {
  transform: rotate(45deg);
}
.experience-description {
  padding-left: calc(34.5% + 4px);
  padding-bottom: 27px;
  max-width: 1040px;
}
.experience-description > p {
  font-size: var(--text-body);
  color: var(--body-color);
  line-height: var(--body-leading);
}
.experience-description .tags {
  margin-top: 15px;
}
.toolkit {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 35px;
  align-items: baseline;
}
.toolkit .mono {
  font-size: var(--text-meta);
  color: var(--body-color);
}
.toolkit > p:last-child {
  font-size: var(--text-intro);
  line-height: 2;
}
.toolkit > p span {
  color: var(--line);
  margin-inline: 8px;
}

.testimonial {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-block: 48px 75px;
  border-bottom: 1px solid var(--line);
}
.recommendations-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}
.recommendations-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}
.recommendation-content {
  min-width: 0;
}
.recommendation-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-bottom: 1.75rem;
}
.recommendation-choice {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: var(--body-color);
  font-size: 0.875rem;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.recommendation-choice:hover {
  background: var(--surface);
}
.recommendation-choice[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}
.full-recommendation {
  margin-top: 1.5rem;
  max-width: 64ch;
}
.full-recommendation summary {
  width: fit-content;
  padding-block: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-underline-offset: 0.25em;
}
.full-recommendation summary:hover {
  text-decoration: underline;
}
.full-recommendation p {
  color: var(--body-color);
  font-size: var(--text-body);
  line-height: var(--body-leading);
  margin-top: 1.25rem;
}
.full-recommendation .recommendation-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.quote-mark {
  font-size: 150px;
  line-height: 1;
  color: var(--ink);
  font-weight: 800;
  position: relative;
  width: 70px;
  height: 90px;
}
.quote-mark:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 86px;
  height: 50px;
  background: var(--accent);
  transform: rotate(-5deg);
  z-index: -1;
}
.testimonial blockquote {
  margin: 0;
  max-width: 710px;
}
.testimonial blockquote > p {
  font-size: clamp(1.3125rem, 2.1vw, 1.75rem);
  min-height: 4.5em;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.testimonial blockquote footer {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 28px;
}
.quote-avatar {
  display: grid;
  place-content: center;
  font-size: var(--text-label);
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.testimonial strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial footer > span > span {
  display: block;
  font-size: 0.875rem;
  color: var(--body-color);
  margin-top: 2px;
}
.testimonial footer > a {
  margin-left: 12px;
  font-size: 22px;
}
.writing-section h2 {
  margin-bottom: 42px;
}
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 31px;
  text-align: left;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.note:hover {
  transform: translateY(-5px);
  background: var(--surface);
}
.note-category {
  font-size: var(--text-meta);
  color: var(--body-color);
}
.note h3 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-top: 27px;
}
.note p {
  font-size: var(--text-body);
  color: var(--body-color);
  line-height: var(--body-leading);
  margin-top: 17px;
  max-width: 45ch;
}
.note-link {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: var(--text-action);
  font-weight: 600;
}
.note-link > span {
  font-size: 23px;
  line-height: 1;
}

.contact-section {
  border-top: 1px solid var(--line);
  padding-top: 65px;
  padding-bottom: 78px;
}
.contact-top .eyebrow {
  color: var(--muted);
  margin-bottom: 28px;
}
.contact-top h2 {
  font-size: clamp(65px, 8vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-top: 45px;
}
.contact-intents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.contact-intent {
  font-size: var(--text-action);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  min-width: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    background 0.2s,
    color 0.2s;
}
.contact-intent:hover {
  background: var(--surface);
}
.contact-intent.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.contact-intent > span {
  font-size: 18px;
  line-height: 1.2;
}
.contact-action > p {
  font-size: var(--text-body);
  color: var(--body-color);
  line-height: var(--body-leading);
  max-width: 39ch;
  min-height: 5.25rem;
}
.email-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: clamp(15px, 1.85vw, 26px);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-top: 21px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  width: max-content;
  max-width: 100%;
}
.email-link:hover {
  border-color: var(--focus);
}
.email-link > span {
  font-weight: 400;
}
.contact-action > .text-button {
  font-size: var(--text-action);
  color: var(--body-color);
  margin-top: 15px;
}
.copy-status {
  font-size: var(--text-label);
  color: var(--muted);
  margin-left: 14px;
}
.site-footer {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 10px 35px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 32px 30px;
}
.footer-brand {
  font-size: 50px;
  letter-spacing: -0.09em;
  line-height: 1;
  gap: 0;
}
.site-footer > p {
  font-size: var(--text-label);
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: var(--text-action);
}
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copyright {
  grid-column: 2;
  font-size: var(--text-label);
  color: var(--muted);
}

dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 64px);
  overscroll-behavior: contain;
  box-shadow: 0 30px 100px #141a1830;
}
dialog::backdrop {
  background: #181b17a1;
  backdrop-filter: blur(5px);
}
.dialog-toolbar {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 1;
}
.dialog-toolbar > .mono {
  font-size: var(--text-meta);
  color: var(--muted);
  min-width: 0;
}
.close-dialog {
  font-size: var(--text-action);
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 32px;
  flex-shrink: 0;
}
.close-dialog > span {
  font-size: 25px;
  line-height: 1;
}
#story-content {
  padding: 42px 42px 48px;
}
#story-content h2 {
  font-size: clamp(32px, 5vw, 51px);
  line-height: 1.1;
  margin-bottom: 25px;
}
#story-content h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-block: 30px 12px;
}
#story-content > p,
#story-content ul {
  font-size: var(--text-body);
  line-height: var(--body-leading);
  color: var(--body-color);
  margin-top: 17px;
  max-width: 64ch;
}
#story-content ul {
  padding-left: 19px;
}
#story-content li {
  padding-left: 4px;
  margin-block: 8px;
}
#story-content .story-intro {
  font-size: 1.1875rem;
  color: var(--ink);
  line-height: var(--body-leading);
}
#story-content .story-image {
  margin: 28px 0;
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}
#story-content .story-source {
  font-size: var(--text-secondary);
  color: var(--body-color);
  margin-top: 35px;
}
#story-content .button {
  margin-top: 30px;
}
#story-content .story-source > a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.confidential-note {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-block: 1.75rem;
}
.confidential-note > strong {
  font-size: 1rem;
  font-weight: 700;
}
.confidential-note > p {
  margin-top: 0.75rem;
  color: var(--body-color);
  font-size: var(--text-body);
  line-height: var(--body-leading);
}
.story-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
  padding-block: 22px;
  gap: 25px;
  margin-block: 30px;
}
.story-metrics strong {
  display: block;
  font-size: 43px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.story-metrics span {
  display: block;
  font-size: var(--text-label);
  margin-top: 8px;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: enter 0.8s var(--ease) both;
  }
  .playground {
    animation: enter-art 0.9s 0.1s var(--ease) both;
  }
  .reveal {
    animation: section-enter 0.65s var(--ease) both;
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes enter-art {
    from {
      opacity: 0;
      transform: translateY(25px) rotate(4deg);
    }
    to {
      opacity: 1;
      transform: translateY(0) rotate(2deg);
    }
  }
  @keyframes section-enter {
    from {
      opacity: 0.2;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 1550px) {
  .hero {
    min-height: 730px;
    gap: 100px;
  }
  .hero h1 {
    font-size: 142px;
  }
  .hero-description {
    font-size: var(--text-lead);
  }
  .playground {
    max-width: 490px;
  }
}
@media (max-width: 1100px) {
  .project-revalgo {
    gap: 1.5rem;
    padding: 2rem;
  }
  .architecture-layer {
    padding: 1.25rem;
  }
  .android-grid {
    gap: 1.25rem;
  }
  .android-preview {
    height: 320px;
  }
  .wrap {
    width: calc(100% - 72px);
  }
  .hero {
    gap: 28px;
    min-height: 600px;
    padding-block: 65px;
  }
  .hero h1 {
    font-size: 9.8vw;
  }
  .hero-intro {
    font-size: var(--text-intro);
  }
  .hero-description {
    font-size: var(--text-lead);
    max-width: 40ch;
  }
  .playground {
    padding: 12px;
  }
  .playground-caption {
    font-size: var(--text-label);
  }
  .playground-tools {
    gap: 4px;
  }
  .swatch {
    width: 22px;
    height: 22px;
  }
  .project-featured .project-info {
    padding: 30px 25px;
  }
  .project-featured h3 {
    font-size: 33px;
  }
  .project-featured p {
    font-size: var(--text-body);
  }
  .project-meta {
    font-size: var(--text-meta);
  }
  .project h3 {
    font-size: 23px;
  }
  .about-intro {
    gap: 65px;
  }
  .contact-content {
    gap: 60px;
  }
  .toolkit > p:last-child {
    font-size: var(--text-intro);
  }
  .toolkit > p span {
    margin-inline: 5px;
  }
  .section {
    padding-block: 80px;
  }
  .about-section {
    padding-top: 15px;
  }
  .testimonial {
    padding-block: 30px 60px;
  }
}
@media (max-width: 767px) {
  .project-revalgo {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .revalgo-context {
    margin-bottom: 1.25rem;
  }
  .project-revalgo .revalgo-story h3 {
    font-size: 1.875rem;
  }
  .revalgo-visual {
    padding: 0;
  }
  .architecture-map {
    padding-inline: 0.25rem;
  }
  .architecture-layer {
    padding: 1.125rem;
  }
  .architecture-layer > span {
    font-size: 1.5rem;
  }
  .architecture-layer > small {
    font-size: var(--text-label);
  }
  .android-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }
  .android-preview {
    height: 400px;
  }
  .android-heading {
    margin-bottom: 2rem;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 82px;
  }
  .brand {
    font-size: var(--text-label);
    gap: 10px;
  }
  .brand-mark {
    width: 35px;
    height: 37px;
    font-size: 35px;
  }
  .brand-description {
    font-size: var(--text-label);
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: var(--text-action);
    padding: 10px 0 10px 10px;
    min-height: 44px;
  }
  .menu-toggle > span {
    font-size: 22px;
    line-height: 1;
  }
  .menu-toggle[aria-expanded="true"] > span {
    transform: rotate(45deg);
  }
  .navigation {
    display: none;
    position: absolute;
    top: 81px;
    left: 0;
    right: 0;
    padding: 22px 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 15px #20231f08;
    z-index: 10;
    gap: 12px;
    font-size: var(--text-action);
  }
  .navigation.is-open {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .navigation > a {
    padding: 8px 5px;
    font-size: var(--text-action);
  }
  .navigation .nav-contact {
    margin-left: 0;
    gap: 10px;
  }
  .theme-toggle {
    width: 33px;
    height: 33px;
    font-size: 20px;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-block: 49px 45px;
    min-height: unset;
  }
  .hero h1 {
    font-size: clamp(64px, 20vw, 126px);
    letter-spacing: -0.07em;
  }
  .hero-intro {
    font-size: var(--text-intro);
    letter-spacing: 0.025em;
    margin-bottom: 24px;
  }
  .hero-description {
    max-width: 40ch;
    font-size: var(--text-lead);
    margin-top: 25px;
    line-height: var(--body-leading);
  }
  .title-period {
    margin-left: 18px;
    margin-top: -3px;
  }
  .button-dark {
    margin-top: 24px;
  }
  .playground {
    max-width: 370px;
    justify-self: center;
    padding: 13px 16px 12px;
    transform: rotate(2deg);
  }
  .playground-top .mono {
    font-size: var(--text-meta);
  }
  .playground-caption {
    font-size: var(--text-label);
  }
  .swatch {
    width: 25px;
    height: 25px;
  }
  .intro-line {
    padding-block: 21px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    font-size: var(--text-intro);
    line-height: 1.9;
  }
  .intro-line > a {
    font-size: var(--text-intro);
    max-width: none;
    line-height: 1.7;
    gap: 12px;
  }
  .mobile-break {
    display: block;
  }
  .section {
    padding-block: 63px;
  }
  .section-heading {
    display: block;
    margin-bottom: 29px;
  }
  .section-heading h2 {
    font-size: 45px;
  }
  .filters {
    margin-top: 27px;
    gap: 6px;
  }
  .filter {
    font-size: var(--text-action);
    padding: 9px 13px;
  }
  .projects {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-featured {
    display: block;
  }
  .project-featured .project-info {
    padding: 24px;
  }
  .project-featured h3 {
    font-size: 34px;
  }
  .project-meta {
    font-size: var(--text-meta);
  }
  .project-featured .project-meta {
    font-size: var(--text-meta);
  }
  .busdriver-image {
    aspect-ratio: 1.35;
    padding: 20px 20px 0;
  }
  .project h3 {
    font-size: 26px;
  }
  .project p {
    font-size: var(--text-body);
    max-width: 48ch;
  }
  .project-image {
    aspect-ratio: 1.4;
  }
  .project-featured .project-image {
    aspect-ratio: 1.35;
  }
  .project-image:not(.busdriver-image) {
    padding: 32px 23px 0;
  }
  .image-visit {
    opacity: 1;
    transform: none;
    font-size: var(--text-label);
    padding: 7px 12px;
    right: 13px;
    bottom: 13px;
  }
  .project-tools {
    display: block;
  }
  .project-tools .project-info {
    padding-top: 23px;
  }
  .project-tools .project-meta {
    justify-content: space-between;
  }
  .project-info {
    padding-top: 20px;
  }
  .work-footnote {
    font-size: var(--text-label);
    align-items: start;
    padding-block: 30px;
    gap: 30px;
  }
  .work-footnote > .text-button {
    font-size: var(--text-action);
    gap: 9px;
    white-space: nowrap;
  }
  .about-section {
    padding-top: 4px;
  }
  .about-intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .about-photo {
    width: 210px;
    max-width: 70%;
    margin-top: 0;
    padding: 9px 9px 34px;
    margin-left: 10px;
  }
  .photo-note {
    font-size: var(--text-label);
    bottom: 9px;
    left: 13px;
  }
  .about-copy .eyebrow {
    font-size: var(--text-meta);
  }
  .about-copy h2 {
    font-size: 48px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: var(--text-body);
  }
  .about-copy > p.about-aside {
    font-size: var(--text-body);
  }
  .experience {
    margin-top: 53px;
  }
  .experience-heading {
    gap: 12px;
    margin-bottom: 22px;
  }
  .experience-heading h3 {
    font-size: 22px;
  }
  .experience-heading > a {
    font-size: var(--text-action);
  }
  .experience-heading > a span {
    margin-left: 5px;
  }
  .experience summary {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 0.5rem 0.75rem;
    padding-block: 22px;
  }
  .experience-company {
    grid-column: 1;
    grid-row: 1;
    font-size: 20px;
  }
  .experience-role {
    grid-column: 1;
    grid-row: 2;
    font-size: var(--text-intro);
    padding-top: 6px;
  }
  .experience-date {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    font-size: var(--text-label);
    padding-top: 6px;
  }
  .details-icon {
    grid-column: 2;
    grid-row: 1;
    font-size: 21px;
  }
  .current-label {
    font-size: var(--text-label);
  }
  .experience-role > span {
    font-size: var(--text-label);
  }
  .experience-description {
    padding-left: 0;
    max-width: 100%;
    padding-bottom: 22px;
  }
  .experience-description > p {
    font-size: var(--text-body);
  }
  .toolkit {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 28px;
  }
  .toolkit > p:last-child {
    font-size: var(--text-intro);
  }
  .toolkit > p span {
    margin-inline: 5px;
  }
  .testimonial {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-block: 15px 49px;
  }
  .recommendations-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .recommendation-choices {
    gap: 0.25rem;
    margin-bottom: 1.25rem;
  }
  .recommendation-choice {
    padding-inline: 0.625rem;
  }
  .quote-mark {
    font-size: 100px;
    height: 60px;
    width: 50px;
  }
  .quote-mark:before {
    width: 58px;
    height: 31px;
    bottom: 7px;
  }
  .testimonial blockquote > p {
    font-size: 1.3125rem;
    line-height: 1.55;
  }
  .testimonial blockquote footer {
    margin-top: 23px;
  }
  .writing-section h2 {
    font-size: 43px;
    margin-bottom: 30px;
  }
  .notes-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .note {
    padding: 26px;
  }
  .note h3 {
    font-size: 34px;
    margin-top: 24px;
  }
  .note p {
    font-size: var(--text-body);
    max-width: 45ch;
  }
  .note-link {
    padding-top: 25px;
    font-size: var(--text-action);
  }
  .contact-section {
    padding-block: 42px 50px;
  }
  .contact-top .eyebrow {
    font-size: var(--text-meta);
    letter-spacing: 0.03em;
    margin-bottom: 24px;
  }
  .contact-top h2 {
    font-size: 69px;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 30px;
  }
  .contact-intents {
    gap: 8px;
  }
  .contact-intent {
    font-size: var(--text-action);
    padding: 10px 14px;
    min-width: 220px;
  }
  .contact-action > p {
    font-size: var(--text-body);
    max-width: 36ch;
    min-height: 0;
  }
  .email-link {
    font-size: clamp(16px, 5.4vw, 27px);
    gap: 15px;
    margin-top: 15px;
  }
  .site-footer {
    grid-template-columns: 50px 1fr;
    gap: 17px 10px;
    padding-block: 26px;
  }
  .footer-brand {
    font-size: 46px;
  }
  .site-footer > p {
    font-size: var(--text-label);
    max-width: 23ch;
  }
  .footer-links {
    grid-column: 1/-1;
    gap: 25px;
    font-size: var(--text-action);
    margin-top: 5px;
  }
  .copyright {
    grid-column: 1/-1;
    font-size: var(--text-label);
    margin-top: 1px;
  }
  #story-content {
    padding: 28px 23px 32px;
  }
  .dialog-toolbar {
    padding: 13px 20px;
  }
  #story-content > p,
  #story-content ul {
    font-size: var(--text-body);
  }
  #story-content .story-intro {
    font-size: 1.1875rem;
  }
  #story-content h2 {
    font-size: 36px;
  }
  dialog {
    max-height: calc(100dvh - 32px);
  }
  .story-metrics strong {
    font-size: 35px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 20.5vw;
  }
  .hero-intro {
    font-size: var(--text-intro);
  }
  .section-heading h2,
  .writing-section h2 {
    font-size: 39px;
  }
  .experience-date {
    font-size: var(--text-label);
  }
  .contact-top h2 {
    font-size: 61px;
  }
  .navigation {
    padding-inline: 14px;
    gap: 6px;
    font-size: var(--text-action);
  }
  .navigation > a {
    font-size: var(--text-action);
  }
  .playground-caption {
    font-size: var(--text-label);
  }
  .playground-tools {
    gap: 3px;
  }
  .swatch {
    width: 23px;
    height: 23px;
  }
}

/* Secondary text keeps the same readable scale across viewport sizes. */
@media (min-width: 768px) {
  .project-meta {
    font-size: var(--text-meta);
  }
  .project-featured .project-meta {
    font-size: var(--text-meta);
  }
  .tags span {
    font-size: var(--text-label);
  }
  .experience-role {
    font-size: var(--text-intro);
  }
  .experience-date {
    font-size: var(--text-label);
  }
  .navigation {
    font-size: var(--text-action);
  }
  .note-category {
    font-size: var(--text-meta);
  }
  .note-link {
    font-size: var(--text-action);
  }
  .project-info > .text-button {
    font-size: var(--text-action);
  }
}

/* Paragraphs use natural word spacing and keep short final lines together. */
p {
  text-wrap: pretty;
  letter-spacing: normal;
}
#story-content > p + p {
  margin-top: 1.25rem;
}
.experience-description > p + p {
  margin-top: 1rem;
}
#story-content li + li {
  margin-top: 0.875rem;
}

/* Freelance: availability badge, hero actions, services, floating CTA. */
.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: var(--text-label);
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.availability:hover {
  background: var(--surface);
  border-color: var(--ink);
}
.availability > span:last-child {
  transition: transform 0.25s var(--ease);
}
.availability:hover > span:last-child {
  transform: translateX(3px);
}
.availability-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3fae4f;
  flex-shrink: 0;
}
.availability-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #3fae4f;
  opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 28px;
}
.hero-actions .button-dark {
  margin-top: 0;
}
.hero-secondary {
  min-height: 44px;
}
.button-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.hire-section {
  padding-top: 40px;
}
.hire-intro .eyebrow {
  color: var(--muted);
  margin-bottom: 18px;
}
.hire-lead {
  margin-top: 22px;
  font-size: var(--text-lead);
  line-height: var(--body-leading);
  color: var(--body-color);
  max-width: 44ch;
}
.services {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.service {
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}
.service + .service {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.service-number {
  font-size: var(--text-meta);
  color: var(--muted);
}
.service h3 {
  margin-top: 22px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.service p {
  margin-top: 12px;
  font-size: var(--text-body);
  line-height: var(--body-leading);
  color: var(--body-color);
}
.hire-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 36px;
}
.proof-line {
  font-size: var(--text-body);
  color: var(--body-color);
  line-height: var(--body-leading);
}
.proof-line strong {
  color: var(--ink);
  font-weight: 800;
}

.floating-cta {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--text-action);
  font-weight: 600;
  box-shadow: 0 10px 30px #14181430;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
}
.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.floating-cta:hover {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .services {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }
  .service,
  .service + .service {
    padding: 22px 0 24px;
    border-left: 0;
  }
  .service h3 {
    margin-top: 12px;
  }
  .hire-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Recommendation pixel bubble (replaces the static quote mark). */
.rec-art {
  width: min(220px, 100%);
  padding-top: 8px;
}
#rec-art {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-3deg);
}
#rec-art .px {
  fill: transparent;
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), fill 0.3s;
}
#rec-art .px-ink { fill: var(--ink); }
#rec-art .px-accent { fill: var(--accent); }
#rec-art .px-accent-ink { fill: var(--accent-ink); }
#rec-art .px-mid { fill: color-mix(in srgb, var(--accent-ink) 30%, var(--accent)); }
#rec-art .px-ink,
#rec-art .px-accent,
#rec-art .px-accent-ink,
#rec-art .px-mid {
  opacity: 1;
  transform: none;
}
@media (max-width: 767px) {
  .rec-art {
    width: 96px;
    padding-top: 0;
  }
}
.testimonial footer .recommendation-when {
  font-family: var(--mono);
  font-size: var(--text-label);
  color: var(--body-color);
  margin-top: 6px;
}
.recommendation-when time {
  white-space: nowrap;
}

/* Recommendation attribution: badge, hierarchy, and a consistent disclosure toggle. */
.testimonial blockquote footer {
  gap: 16px;
  align-items: flex-start;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.testimonial strong {
  font-size: 1.0625rem;
  line-height: 1.4;
}
.testimonial footer > span > span {
  line-height: 1.5;
}
.testimonial footer .recommendation-when {
  font-family: inherit;
  font-size: var(--text-label);
  color: var(--muted);
  margin-top: 4px;
}
.recommendation-when time {
  color: var(--body-color);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.full-recommendation summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  min-height: 44px;
}
.full-recommendation summary::-webkit-details-marker {
  display: none;
}
.full-recommendation summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.full-recommendation[open] summary::after {
  transform: rotate(45deg);
}

/* Label variant (replaces the monospace face): Manrope, semibold, tracked. */
.mono,
.eyebrow,
.project-meta,
.note-category,
.service-number,
.current-label,
.experience-date,
.dialog-toolbar > .mono {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.eyebrow.hero-intro {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  font-size: var(--text-lead);
}
.experience-date,
.current-label {
  letter-spacing: 0.02em;
}

/* Experience: description shares the summary grid so it starts exactly under the role column. */
@media (min-width: 768px) {
  .experience summary {
    align-items: baseline;
  }
  .experience-role,
  .experience-date {
    padding-top: 0;
  }
  .experience-description {
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.8fr 20px;
    column-gap: 25px;
    padding-left: 0;
    max-width: none;
  }
  .experience-description > * {
    grid-column: 2 / 4;
    max-width: 64ch;
  }
}

/* Hero: settled rhythm, readable display, and a lighter highlight. */

.hero.hero-polished {grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(32px,5vw,80px);min-height:640px;padding-block:64px 72px;}
.hero.hero-polished h1 {font-size:clamp(64px,6.5vw,96px);letter-spacing:-.04em;line-height:1.04;}
.hero-polished .hero-intro {margin:24px 0 0;font-size:var(--text-intro);font-weight:600;letter-spacing:0;line-height:1.6;text-transform:none;color:var(--ink);}
.hero-polished .hero-description {margin-top:14px;max-width:39ch;}
.hero-polished .availability {margin-bottom:28px;min-height:44px;}
.hero-polished .availability-dot {background:var(--accent);}
.hero-polished .availability-dot::after {animation:none;}
.hero-polished .hero-actions {margin-top:30px;gap:16px 28px;}
.hero-polished .hero-actions .button:hover {box-shadow:0 6px 18px color-mix(in srgb,var(--ink) 12%,transparent);}
.hero-polished .playground {transform:none;max-width:440px;}
.hero-polished .title-period {margin-left:10px;margin-top:0;}
.hero-polished .swatch,.hero-polished .reset-canvas {min-width:32px;min-height:32px;}
.hero-polished .playground-bottom {flex-wrap:wrap;gap:12px;}
@media(max-width:760px){
.hero.hero-polished {grid-template-columns:minmax(0,1fr);min-height:unset;gap:40px;padding-block:40px 48px;}
.hero.hero-polished h1 {font-size:clamp(48px,13vw,88px);}
.hero-polished .playground {width:100%;max-width:370px;justify-self:center;}
.hero-polished .hero-actions {gap:16px 24px;}
}
.hero.hero-polished {gap:clamp(32px,5vw,80px);padding-block:64px 72px;}
.hero-polished .hero-description {max-width:38ch;}
.hero-polished .playground {transform:rotate(.7deg);}
.hero-polished .headline-accent::before {height:.22em;bottom:.08em;transform:rotate(-1deg);left:-3px;right:-6px;}
@media(max-width:760px){.hero.hero-polished {padding-block:40px 48px;gap:40px;}}
