@charset "UTF-8";
:root {
  --color-bg: #f6f5ed;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-soft: #4a4a4a;
  --color-text-muted: #6e6e6e;
  --color-link: #1a1a1a;
  --color-link-hover: #0066cc;
  --color-border: #d0d0d0;
  --color-border-strong: #a8a8a8;
  --color-accent: #0066cc;
  --color-tag-bg: #e8e8e8;
  --color-tag-text: #4a4a4a;
  --font-mono: "JetBrains Mono", "Fira Code", "SF Mono", "Cascadia Code",
    "Source Code Pro", "Courier New", monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.2;
  --lh-body: 1.6;
  --ls-tight: -0.01em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --space-2: 0.125rem;
  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-20: 1.25rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --space-64: 4rem;
  --space-80: 5rem;
  --space-96: 6rem;
  --container-max: 48rem;
  --page-gutter: 1rem;
  --header-height: 3.5rem;
}

[data-theme=dark] {
  --color-bg: #111111;
  --color-surface: #1a1a1a;
  --color-text: #f5f5f5;
  --color-text-soft: #d0d0d0;
  --color-text-muted: #a8a8a8;
  --color-link: #f5f5f5;
  --color-link-hover: #8ab4ff;
  --color-border: #2e2e2e;
  --color-border-strong: #4a4a4a;
  --color-accent: #8ab4ff;
  --color-tag-bg: #1a1a1a;
  --color-tag-text: #d0d0d0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  font-size: var(--text-md);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-normal);
  background: var(--color-bg);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 120ms ease;
}

a:hover {
  color: var(--color-link-hover);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  padding-left: var(--space-24);
}

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

::selection {
  background: var(--color-accent);
  color: #fff;
}

.page-main {
  flex: 1 0 auto;
  padding-top: calc(var(--header-height) + var(--space-40));
  padding-bottom: var(--space-80);
}

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

.section {
  margin-bottom: var(--space-64);
}

.stack > * + * {
  margin-top: var(--space-24);
}

.stack-sm > * + * {
  margin-top: var(--space-16);
}

.stack-lg > * + * {
  margin-top: var(--space-40);
}

@media (min-width: 48rem) {
  :root {
    --page-gutter: 2rem;
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  width: min(100% - var(--page-gutter) * 2, var(--container-max));
  margin-inline: auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding-block: var(--space-12);
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  order: 3;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  text-decoration: none;
  color: var(--color-text);
}

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

.brand__badge {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
}

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

.brand__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-32);
  flex-wrap: wrap;
  order: 2;
  margin-left: auto;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: 0;
  cursor: pointer;
  color: var(--color-text);
  font-size: var(--text-md);
  line-height: 1;
  transition: background 120ms ease, color 120ms ease;
}

.theme-toggle:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.theme-toggle svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

.theme-toggle__icon--dark {
  display: none;
}

[data-theme=dark] .theme-toggle__icon--light {
  display: none;
}

[data-theme=dark] .theme-toggle__icon--dark {
  display: inline;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: 0;
  padding: var(--space-8) var(--space-12);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle__bars span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-text);
  transition: transform 120ms ease, opacity 120ms ease;
}

.nav-toggle[aria-expanded=true] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded=true] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded=true] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  color: var(--color-text-soft);
  text-decoration: none;
  transition: color 120ms ease;
}

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

.nav-link[aria-current=page] {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  border: 1px solid var(--color-border-strong);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.button:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.button--primary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.button--primary:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.tag {
  display: inline-block;
  padding: var(--space-2) var(--space-8);
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

.divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}

.arrow-link::after {
  content: "→";
  transition: transform 120ms ease;
}

.arrow-link:hover::after {
  transform: translateX(2px);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-20) var(--space-24);
  align-items: center;
}

.logo-grid img {
  max-width: 8rem;
  opacity: 0.95;
  filter: grayscale(1);
  transition: opacity 120ms ease;
}

[data-theme=dark] .logo-grid img {
  filter: grayscale(1) brightness(0) invert(1);
}

.logo-grid img:hover {
  opacity: 1;
}

.article-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
}

.article-card:last-of-type {
  border-bottom: 1px solid var(--color-border);
}

.article-card:hover {
  color: inherit;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}

.article-card__meta img {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
}

.article-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
}

.article-card p {
  color: var(--color-text-soft);
  font-size: var(--text-sm);
}

.article-card:hover h3 {
  color: var(--color-link-hover);
}

.testimonial-strip {
  display: grid;
  gap: var(--space-32);
}

.testimonial-card {
  padding-left: var(--space-20);
  border-left: 2px solid var(--color-border);
}

.testimonial-card blockquote {
  color: var(--color-text-soft);
  font-size: var(--text-sm);
  font-style: normal;
  margin-bottom: var(--space-12);
}

.testimonial-card strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.testimonial-card cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--color-border);
  padding: var(--space-40) 0;
}

.footer-inner {
  width: min(100% - var(--page-gutter) * 2, var(--container-max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: flex-start;
}

.footer-inner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.footer-social a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-soft);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1px;
  transition: color 120ms ease, border-color 120ms ease;
}

.footer-social a:hover {
  color: var(--color-link-hover);
  border-color: var(--color-link-hover);
}

@media (max-width: 47.99rem) {
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
    padding-block: var(--space-12);
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-actions {
    order: 2;
    margin-left: auto;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-16);
    padding-block: var(--space-16);
    border-top: 1px solid var(--color-border);
    order: 3;
    margin-left: 0;
  }
  .nav-links.is-open {
    display: flex;
  }
}
@media (min-width: 48rem) {
  .logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.service-block {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
}

.service-block:last-of-type {
  border-bottom: 1px solid var(--color-border);
}

.service-block h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-12);
}

.service-block p {
  color: var(--color-text-soft);
  margin-bottom: var(--space-16);
}

.home__hero {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.home__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 1px solid var(--color-border-strong);
  flex-shrink: 0;
}

.home__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
}

.home__subtitle {
  font-size: var(--text-md);
  color: var(--color-text-soft);
  margin-top: var(--space-8);
}

.home__intro {
  margin-top: var(--space-40);
  color: var(--color-text-soft);
}

.home__list {
  margin-top: var(--space-32);
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-20);
}

.home__list li {
  padding-left: var(--space-16);
  border-left: 2px solid var(--color-border);
}

.home__list li strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}

.home__list li em {
  color: var(--color-text);
  font-style: normal;
  font-weight: var(--fw-semibold);
}

.home__list p {
  color: var(--color-text-soft);
  margin: 0;
}

.home__projects {
  margin-top: var(--space-48);
}

.home__projects-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-24);
}

.home__projects-link {
  margin-top: var(--space-32);
}

.page-title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-8);
}

.page-lede {
  font-size: var(--text-md);
  color: var(--color-text-soft);
  margin-bottom: var(--space-40);
}

.project-group {
  margin-bottom: var(--space-48);
}

.project-group__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-24);
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-32);
}

.project-item {
  display: grid;
  gap: var(--space-4);
}

.project-item__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.project-item__name {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
}

.project-item__name a {
  text-decoration: none;
}

.project-item__name a:hover {
  text-decoration: underline;
}

.project-item__year {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--ls-wide);
}

.project-item__desc {
  color: var(--color-text-soft);
  font-size: var(--text-sm);
}

.project-item__status {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.project-item__link {
  font-size: var(--text-sm);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1px;
}

.project-item__link:hover {
  border-color: var(--color-link-hover);
}

.logo-grid-section {
  margin-top: var(--space-40);
}

.contact-form {
  display: grid;
  gap: var(--space-24);
  margin-top: var(--space-32);
}

.contact-form .cf-turnstile {
  max-width: 100%;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-field {
  display: grid;
  gap: var(--space-8);
}

.form-field label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg);
  border-radius: 0;
  padding: var(--space-12) var(--space-16);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  transition: border-color 120ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__submit {
  width: fit-content;
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-form__status {
  min-height: 1.5em;
  font-size: var(--text-sm);
}

.contact-form__status[data-state=pending] {
  color: var(--color-text-soft);
}

.contact-form__status[data-state=success] {
  color: var(--color-text);
}

.contact-form__status[data-state=error] {
  color: var(--color-link-hover);
}

.contact-note {
  margin-top: var(--space-40);
  padding: var(--space-16);
  border-left: 2px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
}
