:root {
  color-scheme: light;
  --accent-100: var(--color-5);
  --accent-300: var(--color-9);
  --accent-500: var(--color-10);
  --accent-600: var(--color-11);
  --bg: var(--color-2);
  --card: #ffffff;
  --card-inset: var(--color-1);
  --text: #251a15;
  --text-2: #66574e;
  --text-3: #766456;
  --line: var(--color-3);
  --error: #d92d20;
  --success-top: #2ab868;
  --success-bottom: #1a9d54;
  --success-ring: #178a49;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 40px rgba(0, 0, 0, 0.06);
  --contact-shadow: 0 1px 2px rgb(16 24 40 / 5%);
  --raised: 0 0 0 1px rgb(16 24 40 / 10%), var(--contact-shadow);
  --raised-hover: 0 0 0 1px rgb(16 24 40 / 20%), var(--contact-shadow);
  --raised-active:
    inset 0 1px 2px 0 rgba(17, 17, 17, 0.08), 0 0 0 1px rgba(17, 17, 17, 0.12),
    0 1px 2px -1px rgba(17, 17, 17, 0.08);
  --radius-card: 28px;
  --radius-row: 20px;
  --radius-ctl: 14px;
  --gutter: 20px;
  --max: 480px;
}
@media (min-width: 720px) {
  :root {
    --max: 560px;
    --radius-card: 32px;
  }
}
*,
:after,
:before {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  background: var(--bg);
  color: var(--text);
  font-family:
    var(--font-sans),
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}
.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 10001;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}
.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.page {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}
@media (min-width: 720px) {
  .page {
    padding-top: 56px;
  }
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  background: linear-gradient(180deg, #fff, #fcfcfc);
  border-radius: var(--radius-card);
  corner-shape: superellipse(1.6);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(17, 17, 17, 0.08),
    0 3px 4px -1px rgba(17, 17, 17, 0.08),
    0 12px 32px -8px rgba(17, 17, 17, 0.06);
  padding: 24px 20px;
}
@media (min-width: 720px) {
  .card {
    padding: 28px;
  }
}
.label {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-3);
}
.title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.body {
  margin: 8px 0 0;
  color: var(--text-2);
}
.header {
  text-align: center;
  padding-top: 28px;
}
.avatar {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card-inset);
  box-shadow:
    0 0 0 4px var(--card),
    0 0 0 5px var(--line);
}
@media (min-width: 720px) {
  .avatar {
    width: 88px;
    height: 88px;
  }
}
.name {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.identity {
  margin: 8px auto 0;
  max-width: 34ch;
  color: var(--text-2);
}
.icons {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: 24px -20px -24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .icons {
    margin: 28px -28px -28px;
  }
}
.icons li {
  border-left: 1px solid var(--line);
}
.icons li:first-child {
  border-left: 0;
}
.icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  color: var(--text);
  transition:
    color 0.12s ease,
    background-color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.icons a:hover {
  color: var(--accent-500);
}
.icons a:active {
  background: var(--card-inset);
}
.icons li:last-child a {
  border-bottom-right-radius: var(--radius-card);
}
.icons li:first-child a {
  border-bottom-left-radius: var(--radius-card);
}
.form {
  margin-top: 20px;
}
.form,
.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 720px) {
  .form-row {
    flex-direction: row;
  }
  .field {
    flex: 1 1;
  }
  .btn-primary[type="submit"] {
    flex: none;
  }
  .form-row {
    align-items: flex-start;
  }
}
.input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-ctl);
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: var(--raised);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.input::placeholder {
  color: var(--text-3);
}
.input:focus {
  outline: none;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--accent-500),
    0 0 0 4px var(--accent-100);
}
.input[aria-invalid="true"] {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--error);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-ctl);
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.12s ease,
    transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.985);
}
.btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.btn-primary {
  --btn-top: var(--color-10);
  --btn-bottom: var(--color-11);
  padding: 10px 20px;
  background: linear-gradient(180deg, var(--btn-top) 0, var(--btn-bottom) 100%);
  color: #fff;
  border-radius: 14px;
  corner-shape: superellipse(1.6);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.33),
    0 0 0 1px var(--color-11),
    var(--contact-shadow);
  transition:
    background 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.12s ease;
}
.btn-primary:hover {
  --btn-top: var(--color-9);
  --btn-bottom: var(--color-10);
}
.btn-primary:active {
  --btn-top: var(--color-11);
  --btn-bottom: var(--color-12);
  transform: scale(0.985);
  box-shadow:
    inset 0 1px 2px 0 rgba(0, 0, 0, 0.12),
    0 0 0 1px var(--color-11),
    var(--contact-shadow);
}
.btn-primary:disabled {
  opacity: 0.45;
  transform: none;
  --btn-top: var(--color-10);
  --btn-bottom: var(--color-11);
}
.btn-primary:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 1px var(--color-11),
    0 0 0 3px #fff,
    0 0 0 5px var(--color-11),
    var(--contact-shadow);
}
.btn-primary.btn-success,
.btn-primary.btn-success:active,
.btn-primary.btn-success:hover {
  --btn-top: var(--success-top);
  --btn-bottom: var(--success-bottom);
  transform: none;
  cursor: default;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.33),
    0 0 0 1px var(--success-ring),
    0 3px 4px -1px rgba(26, 157, 84, 0.45);
}
.input:disabled {
  color: var(--text-2);
  opacity: 1;
  -webkit-text-fill-color: var(--text-2);
}
.btn-secondary {
  background: linear-gradient(180deg, #fff, #f6f6f6);
  color: var(--text);
  border-radius: 14px;
  corner-shape: superellipse(1.6);
  box-shadow: var(--raised);
}
.btn-secondary:hover {
  box-shadow: var(--raised-hover);
}
.btn-secondary:active {
  box-shadow: var(--raised-active);
}
.field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-ctl);
  corner-shape: superellipse(1.6);
  overflow: hidden;
  background: var(--card-inset);
  box-shadow: var(--raised);
  transition: box-shadow 0.12s ease;
}
.field .input {
  border-radius: 0;
  background: #fff;
}
.field .input,
.field .input:focus {
  box-shadow: none;
}
.field:focus-within {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--accent-500),
    0 0 0 4px var(--accent-100);
}
.field[data-state="good"],
.field[data-state="good"]:focus-within {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--success-bottom);
}
.field[data-state="good"]:focus-within {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--success-bottom),
    0 0 0 4px rgba(42, 184, 104, 0.18);
}
.field[data-state="warn"],
.field[data-state="warn"]:focus-within {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--error);
}
.hint-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.18s ease;
}
.hint-wrap > * {
  min-height: 0;
  overflow: hidden;
}
.field[data-open] .hint-wrap {
  grid-template-rows: 1fr;
}
.hint {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 11px 16px 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.12s ease;
}
.hint svg {
  flex: none;
  margin-top: 3px;
}
.hint-good {
  color: var(--success-bottom);
}
.hint-warn {
  color: var(--error);
}
.hint-fix {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-ctl);
  background: var(--accent-100);
  color: var(--text);
  font-weight: 500;
}
.success svg {
  color: var(--accent-600);
  flex: none;
}
.proof-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--text-2);
}
.avatars {
  display: inline-flex;
  flex: none;
}
.avatars img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--card);
  background: var(--card-inset);
}
.avatars img + img {
  margin-left: -9px;
}
.rows {
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.row,
.rows {
  display: flex;
}
.row {
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 16px 16px 16px 18px;
  border-radius: var(--radius-row);
  corner-shape: superellipse(1.6);
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: var(--raised);
  transition:
    box-shadow 0.12s ease,
    transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.row:hover {
  box-shadow: var(--raised-hover);
}
.row:active {
  box-shadow: var(--raised-active);
  transform: scale(0.99);
}
.row-text {
  flex: 1 1;
  min-width: 0;
}
.row-title {
  display: block;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge,
.row-title {
  font-weight: 600;
  align-items: center;
}
.badge {
  display: inline-flex;
  gap: 5px;
  height: 22px;
  padding: 0 8px 0 7px;
  border-radius: 999px;
  background: var(--card-inset);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
  color: var(--text-2);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.badge svg {
  flex: none;
}
.badge .icon-apple {
  transform: translateY(-1px);
}
.badge-short {
  display: none;
}
@media (max-width: 359px) {
  .badge-long {
    display: none;
  }
  .badge-short {
    display: inline;
  }
}
.row-desc {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-2);
}
.row-chevron {
  flex: none;
  color: var(--text-3);
  transition:
    color 0.12s ease,
    transform 0.12s ease;
}
.row:hover .row-chevron {
  color: var(--accent-500);
  transform: translateX(2px);
}
.logo {
  flex: none;
  align-self: flex-start;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: var(--radius-ctl);
  corner-shape: superellipse(1.6);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
}
.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.keyword {
  flex: none;
  margin-top: 16px;
}
.guide-status {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}
.guide-status:not(:empty) {
  margin-top: 12px;
}
#guides .rows {
  margin-top: 14px;
}
.guide-row {
  gap: 12px;
  padding: 10px 12px 10px 10px;
}
.guide-row .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--text-2);
}
.guide-title {
  flex: 1 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
}
.kw {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--color-3);
  color: var(--accent-600);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 719px) {
  .guide-row .kw {
    display: none;
  }
}
.guide-more {
  width: 100%;
  margin-top: 12px;
}
html:has(.sheet[open]) {
  overflow: hidden;
}
.sheet {
  width: 100%;
  max-width: 100%;
  height: 76dvh;
  max-height: none;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 -12px 40px rgba(17, 17, 17, 0.12);
  overflow: hidden;
}
.sheet[open] {
  display: flex;
  animation: sheet-up 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet::-webkit-backdrop {
  background: rgba(17, 17, 17, 0.32);
  animation: sheet-fade 0.24s ease;
}
.sheet::backdrop {
  background: rgba(17, 17, 17, 0.32);
  animation: sheet-fade 0.24s ease;
}
.sheet-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  padding: 10px var(--gutter) 0;
}
.sheet-grab {
  align-self: center;
  flex: none;
  width: 40px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #d4d4d4;
}
.sheet-title {
  margin: 0 0 14px 4px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.sheet-title:focus {
  outline: none;
}
.sheet-search {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-ctl);
  corner-shape: superellipse(1.6);
  background: #fff;
  box-shadow: var(--raised);
  color: var(--text-3);
  cursor: text;
}
.sheet-search:focus-within {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--accent-500),
    0 0 0 4px var(--accent-100);
}
.sheet-input {
  flex: 1 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.sheet-input::placeholder {
  color: var(--text-3);
}
.sheet-list {
  flex: 1 1;
  min-height: 0;
  margin: 0 calc(var(--gutter) * -1);
  padding: 14px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet-list .rows {
  margin-top: 0;
}
@media (min-width: 720px) {
  .sheet {
    max-width: var(--max);
    height: min(76dvh, 720px);
    margin: auto;
    border-radius: var(--radius-card);
    corner-shape: superellipse(1.6);
    box-shadow: 0 24px 64px rgba(17, 17, 17, 0.2);
  }
  .sheet-body {
    padding: 24px 24px 0;
  }
  .sheet-grab {
    display: none;
  }
  .sheet-list {
    margin: 0 -24px;
    padding: 14px 24px 24px;
  }
}
@keyframes sheet-up {
  0% {
    transform: translateY(100%);
  }
}
@keyframes sheet-fade {
  0% {
    opacity: 0;
  }
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 8px;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 359px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tiles li {
  padding: 14px 6px;
  text-align: center;
  border-radius: 16px;
  corner-shape: superellipse(1.6);
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: var(--raised);
}
.tiles strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.tiles span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-2);
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
@media (min-width: 720px) {
  .actions {
    flex-direction: row;
  }
  .actions .btn {
    flex: 1 1;
  }
}
.social {
  padding: 14px 16px;
}
.social-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  corner-shape: superellipse(1.6);
  background: linear-gradient(180deg, #fff, #f6f6f6);
  box-shadow: var(--raised);
}
.social-handle {
  font-size: 15px;
  color: var(--text-2);
}
.footer {
  display: flex;
  justify-content: center;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
}
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-ctl);
  corner-shape: superellipse(1.6);
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: var(--raised);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-500);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
@font-face {
  font-family: "Inter Tight";
  font-weight: 100 900;
  src: url("/portfolio-assets/assets/inter-tight.woff2") format("woff2");
  font-display: swap;
}
/* Match Inter Tight's average glyph width and line metrics during a cold load. */
@font-face {
  font-family: "Inter Tight Arial";
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 96.39%;
  ascent-override: 100.51%;
  descent-override: 25.03%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Tight Roboto";
  src: local("Roboto");
  size-adjust: 96.60%;
  ascent-override: 100.29%;
  descent-override: 24.97%;
  line-gap-override: 0%;
}
:root {
  --font-sans: "Inter Tight", "Inter Tight Arial", "Inter Tight Roboto", Arial;
}
.page {
  padding-bottom: 40px;
}
.row-text {
  min-width: 0;
}
.row-title {
  white-space: normal;
}
.row .end {
  margin-left: auto;
  color: var(--text-3);
}
.logo.letter {
  display: grid;
  place-items: center;
  background: #1b3453;
  color: white;
  font-weight: 600;
}
.stackline {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 12px 0;
  color: var(--text-2);
  font-weight: 600;
}
.card.header {
  overflow: hidden;
}
.icons svg {
  width: 20px;
  height: 20px;
}
.hint {
  margin-top: 8px;
}
.project-root .row {
  width: 100%;
  text-align: left;
}
.proof-line {
  flex-wrap: wrap;
}
.input {
  min-width: 0;
}
.field {
  min-width: 0;
}
.guide-more {
  width: 100%;
}
.tiles a {
  display: block;
}
.row small {
  color: var(--text-2);
}
@media (min-width: 720px) {
  .page {
    --page-zoom: 0.9167;
    zoom: var(--page-zoom);
  }
}

:root {
  --color-1: oklch(0.991 0.009 55);
  --color-2: oklch(0.983 0.017 55);
  --color-3: oklch(0.967 0.042 55);
  --color-4: oklch(0.95 0.063 55);
  --color-5: oklch(0.928 0.084 55);
  --color-6: oklch(0.9 0.105 55);
  --color-7: oklch(0.861 0.128 55);
  --color-8: oklch(0.804 0.156 55);
  --color-9: oklch(0.67 0.185 55);
  --color-10: oklch(0.626 0.187 55);
  --color-11: oklch(0.505 0.15 55);
  --color-12: oklch(0.377 0.099 55);
}
.label {
  display: block;
  color: var(--color-12);
  letter-spacing: 0.015em;
}
.icons a[title="Email"] svg,
.icons a[title="Résumé"] svg {
  width: 24px;
  height: 24px;
}

/* Adapt to the usable card width, including when the page is zoomed. */
.card {
  container-type: inline-size;
}
.form-row {
  flex-flow: row wrap;
  align-items: stretch;
}
.form-row .field {
  flex: 1 1 15rem;
}
.form-row .btn {
  flex: 0 1 auto;
  height: auto;
  min-height: 52px;
}
.form + .proof-line {
  margin-block-start: 14px;
  gap: 4px 8px;
}
@container (max-width: 24rem) {
  .form-row {
    flex-direction: column;
  }
  .form-row .field {
    flex: none;
  }
}

.guide-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
}
.guide-row .kw {
  display: inline-flex;
  justify-self: start;
}
@container (max-width: 23rem) {
  .guide-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

.tiles {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.1rem), 1fr));
}
.tiles li {
  padding: 0;
  display: flex;
  min-width: 0;
}
.tiles a {
  flex: 1;
  padding: 14px 6px;
  border-radius: inherit;
  overflow-wrap: anywhere;
}
.project-root .row,
.row-text {
  text-align: start;
}
.row .end {
  margin-left: 0;
  margin-inline-start: auto;
}
[dir="rtl"] .end {
  transform: scaleX(-1);
}
.icons li {
  border-left: 0;
  border-inline-start: 1px solid var(--line);
}
.icons li:first-child {
  border-inline-start: 0;
}
@container (max-width: 26rem) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.icons .kubai-icon,
.social-icon .kubai-icon {
  width: 24px;
  height: 24px;
}

.social-icon svg,
.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.social-icon {
  color: var(--color-12);
}
.project-root .row,
.row.social {
  gap: 14px;
}
.project-root .logo {
  align-self: center;
  margin: 0;
}
.row .end {
  font-size: 20px;
  line-height: 1;
  color: var(--text-2);
}
@media (prefers-reduced-motion: no-preference) {
  .row .end {
    transition: transform 180ms ease-out;
  }
  .row:is(:hover, :focus-visible) .end {
    transform: translateX(3px);
  }
  [dir="rtl"] .row:is(:hover, :focus-visible) .end {
    transform: translateX(-3px) scaleX(-1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .row,
  .btn,
  .tiles a {
    transition: none;
  }
}

.btn-primary {
  --kd-b: var(--color-7);
}

/* Narrow, overlapping masks keep the strongest blur at the outer edge. */
.blur-edge {
  pointer-events: none;
  user-select: none;
}
.blur-edge::before, .blur-edge > i, .blur-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(var(--radius));
  backdrop-filter: blur(var(--radius));
  -webkit-mask-image: linear-gradient(var(--direction), black var(--solid), transparent var(--end));
  mask-image: linear-gradient(var(--direction), black var(--solid), transparent var(--end));
}
.blur-edge::before { --radius: 1px; --solid: 40%; --end: 100%; }
.blur-edge > i { --radius: 3px; --solid: 18%; --end: 68%; }
.blur-edge::after { --radius: 6px; --solid: 0%; --end: 39%; }
#scroll-edges .blur-edge {
  position: fixed;
  inset-inline: 0;
  z-index: 2;
}
.edge-top {
  --direction: to bottom;
  top: 0;
  height: clamp(16px, 3vh, 32px);
}
.edge-bottom {
  --direction: to top;
  bottom: 0;
  height: clamp(24px, 5vh, 54px);
}
@supports (animation-timeline: scroll(root)) and (animation-range: 0px 1px) {
  #scroll-edges .blur-edge {
    visibility: hidden;
    animation: reveal-scroll-edge 1s linear both;
    animation-timeline: scroll(root);
  }
  #scroll-edges .edge-top { animation-range: 0px 1px; }
  #scroll-edges .edge-bottom {
    animation-direction: reverse;
    animation-range: calc(100% - 1px) 100%;
  }
}
@keyframes reveal-scroll-edge {
  from { visibility: hidden; }
  to { visibility: visible; }
}
@supports not ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {
  .blur-edge { display: none; }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active), print {
  #scroll-edges { display: none; }
}

:root {
  --dock-width: min(342px, calc(100vw - 24px));
  --dock-gap: max(14px, env(safe-area-inset-bottom));
}
html {
  scroll-padding-bottom: 110px;
}
body main.page {
  padding-bottom: calc(102px + var(--dock-gap));
}
.site-menu {
  box-sizing: border-box;
  position: fixed;
  z-index: 10;
  bottom: var(--dock-gap);
  left: 50%;
  transform: translateX(-50%);
  width: var(--dock-width);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  padding: 5px 7px;
  border: 1px solid #664536;
  border-radius: 24px;
  background: linear-gradient(170deg, #453026, #312119 75%);
  color: #f6dfce;
  box-shadow:
    inset 0 1px rgb(255 255 255 / 13%),
    0 2px 4px rgb(46 30 20 / 15%),
    0 8px 20px -10px rgb(46 30 20 / 30%);
}
.site-menu > :is(a, button) {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  border-radius: 16px;
}
.site-menu svg {
  display: block;
  --kd-b: #c49f83;
}
.site-menu > :is([aria-current], .section-active),
.site-menu:has(:popover-open) > [popovertarget] {
  background: #62402d;
  color: white;
}
.site-menu :is([aria-current], .section-active) svg {
  color: #ffdfc2;
  --kd-b: #e3a775;
}
.site-menu > #theme-toggle::before {
  content: "";
  position: absolute;
  left: -1px;
  height: 21px;
  width: 1px;
  background: #846451;
}
.site-menu :focus-visible {
  outline: 2px solid #ffbe86;
  outline-offset: -2px;
}
@media (hover: hover) {
  .site-menu > :is(a, button):hover {
    color: white;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .site-menu > :is(a, button) > svg {
    transition: scale 0.14s ease-out;
  }
  .site-menu > :is(a, button):active > svg {
    scale: 0.9;
  }
}
/* The label remains the accessible name even when visually transparent. */
.site-menu > :is(a, button) > span {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 10px;
  border-radius: 8px;
  color: white;
  background: #38261c;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.site-menu > :is(a, button) > span::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 10px;
}
.site-menu > :is(a, button):focus-visible > span {
  opacity: 1;
}
@media (hover: hover) {
  .site-menu > :is(a, button):hover > span {
    opacity: 1;
    pointer-events: auto;
  }
}
.site-menu > :is(a, button)[data-tip-dismissed] > span,
.site-menu:has(:popover-open) > [popovertarget] > span {
  opacity: 0;
  pointer-events: none;
}
#more-pages {
  position: fixed;
  inset: auto max(12px, calc((100vw - var(--dock-width)) / 2))
    calc(var(--dock-gap) + 66px) auto;
  box-sizing: border-box;
  width: 180px;
  max-height: calc(100dvh - 100px);
  overflow: auto;
  margin: 0;
  padding: 5px;
  background: var(--card);
  color: #38261c;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 18px -6px rgb(20 42 68 / 22%);
}
#more-pages a {
  display: block;
  padding: 12px 14px;
  border-radius: 11px;
  text-decoration: none;
  color: inherit;
  font-size: 15px;
}
#more-pages a:is(:hover, :focus-visible, [aria-current]) {
  background: var(--color-3);
  color: var(--color-12);
}
@media print {
  .site-menu {
    display: none;
  }
}

.writing-index {
  margin-block: 14px;
  padding-inline: clamp(8px, 3vw, 24px);
}
.writing-index header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.writing-index h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.writing-archive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--text-2);
  font-size: 14px;
}
.writing-index ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.writing-index li {
  border-top: 1px solid var(--line);
}
.writing-index li a {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding-block: 18px;
}
.writing-index time {
  color: var(--text-2);
  font: 12px/1.5 var(--font-sans);
}
.writing-index li span {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.32;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.writing-index a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 420px) {
  .writing-index li a {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 15px;
  }
}
.collab {
  margin-block: 12px;
  padding: 8px clamp(8px, 3vw, 24px);
}
.collab h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.collab-copy {
  margin: 12px 0 18px;
  max-width: 40ch;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.5;
}
.collab-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 9px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.collab-email svg {
  width: 18px;
  height: 18px;
}
.collab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin-top: 16px;
}
.collab-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.collab-links a:hover,
.collab-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.collab .brands {
  margin: 12px 0 0;
  padding: 18px 0 0;
}

/* Homepage sections share one reading edge. */
main.home-editorial {
  box-sizing: border-box;
  width: 100%;
  max-width: 740px;
  padding: clamp(42px, 7vw, 88px) clamp(22px, 5vw, 54px) 120px;
  display: grid;
  gap: clamp(38px, 7vw, 64px);
  zoom: 1;
}
.home-editorial > :is(section, header) {
  padding: 0;
  margin: 0;
  min-width: 0;
}
.home-editorial h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3.5vw, 32px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-align: start;
}
.profile-intro { isolation: isolate; }
.profile-byline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-byline img {
  object-fit: cover;
  border-radius: 9px;
}
.profile-byline h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 31px);
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.profile-intro nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-block: 8px 14px;
}
.profile-intro nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: var(--text-2);
}
.profile-intro nav [aria-current] {
  color: var(--text);
  font-weight: 600;
  background: radial-gradient(circle, var(--color-11) 1px, transparent 1.4px) left bottom 6px / 5px 3px repeat-x;
}
.profile-intro p {
  max-width: 56ch;
  margin: 0;
  color: var(--text-2);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.58;
}
.profile-intro p + p { margin-top: 16px; }
.profile-intro a:is(:hover, :focus-visible) { color: var(--color-12); }
.profile-inline-link {
  display: inline-flex;
  align-items: baseline;
  gap: .29em;
  white-space: nowrap;
  color: var(--color-11);
  font-weight: 550;
}
.profile-icon-tile {
  display: inline-grid;
  flex: none;
  position: relative;
  z-index: 1;
  align-self: center;
  width: 1.24em;
  height: 1.24em;
  padding: .16em;
  border-radius: .36em;
  background-color: #fffaf5;
  rotate: var(--icon-tilt, -7deg);
  box-shadow: inset 0 0 0 1px rgb(70 42 20 / 14%), 0 1px 2px rgb(45 28 15 / 12%);
}
.profile-icon-tile > :is(img, svg) {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.profile-inline-link svg { color: #784429; }
.profile-inline-link[href*="librebooks"] { --icon-tilt: 6deg; --icon-delay: 620ms; }
.profile-inline-link[href^="mailto:"] { --icon-delay: 760ms; }
.profile-inline-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}
.selected-work header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.selected-work .writing-archive { white-space: nowrap; }
.selected-work ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 28px 24px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.project-feature {
  display: block;
  height: 100%;
  border-radius: 8px;
}
.project-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  border-radius: 9px;
  outline: 1px solid color-mix(in oklab, var(--text) 17%, transparent);
  outline-offset: -1px;
}
.project-feature h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 2px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.035em;
}
.project-feature h3 span {
  color: var(--color-11);
  font-size: 15px;
}
.project-feature small {
  color: var(--color-11);
  font: 12px/1.5 var(--font-sans);
}
.project-feature p {
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.5;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-feature h3 span { transition: translate 180ms ease-out; }
  .project-feature:hover h3 span { translate: 2px -2px; }
}
.current-role > a {
  border-top: 1px solid var(--line);
}
.current-role strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.current-role span {
  display: block;
  color: var(--text-2);
  line-height: 1.45;
  margin-top: 3px;
}
.current-role a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.current-role > a {
  display: block;
  padding-top: 18px;
  margin-top: 16px;
}
.current-role small {
  display: inline-block;
  color: var(--color-11);
  margin-top: 10px;
  font-weight: 550;
}
.home-editorial .collab > .proof-line {
  justify-content: start;
  gap: 8px;
}
/* Move the house as one piece so its doorway stays centered and visible. */
@media (prefers-reduced-motion: no-preference) {
  .site-menu [data-motion-icon="home"] [data-l="all"] {
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .site-menu a:focus-visible [data-motion-icon="home"] [data-l="all"] {
    transform: translateY(-1px);
  }
  @media (hover: hover) {
    .site-menu a:hover [data-motion-icon="home"] [data-l="all"] {
      transform: translateY(-1px);
    }
  }
}

[data-theme="dark"] .summit-mark {
  content: url("/portfolio-assets/assets/summit-mark-dark.webp");
}
