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

:root {
  color-scheme: light;
  --ground: #e8ece5;
  --ink: #20271f;
  --muted: #596352;
  --accent: #314f34;
  --surface: #dce3d7;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --motion-fast: 160ms;
  --motion-ui: 260ms;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #87977e var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: Bricolage, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: white; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button[hidden] { display: none; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 7px; }
p, h1, h2 { margin: 0; }
p { text-wrap: pretty; }
svg { display: block; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: 12px; z-index: 10; padding: 12px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { max-width: 1520px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 80px); }
.site-header { min-height: 112px; display: flex; justify-content: space-between; align-items: center; }
.signature { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 650; letter-spacing: -.03em; }
.personal-mark { transform: rotate(-10deg); }
.header-link { display: flex; align-items: center; gap: 12px; font-size: 16px; padding: 12px 0 12px 12px; }
.arrow-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.intro { padding: 34px 0 53px; }
h1 { font-size: clamp(58px, 7.6vw, 112px); font-weight: 650; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.title-period { color: var(--accent); }
.intro-bottom { display: flex; justify-content: flex-end; align-items: flex-end; margin-top: 22px; gap: 24px; }
.arrange-button { display: flex; gap: 9px; align-items: center; border: 0; border-radius: 24px; padding: 12px 17px; background: var(--surface); font-size: 15px; white-space: nowrap; transition: background-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out); }
.arrange-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.arrange-button:active { transform: scale(.96); }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 38px); padding: 20px 0 0; }
.project { display: block; min-width: 0; border-radius: var(--radius); }
.project-window { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--window-bg); transform: translateY(var(--offset)) rotate(var(--angle)); transform-origin: center 85%; transition: transform var(--motion-ui) var(--ease-out); }
.project-axinity { --window-bg: #222c37; --window-ink: #f0f5ee; --angle: -3deg; --offset: 11px; }
.project-liketik { --window-bg: #f9f8f1; --window-ink: #253c2d; --angle: 2deg; --offset: -6px; }
.project-krotek { --window-bg: #f3d55c; --window-ink: #282a22; --angle: -2deg; --offset: 18px; }

.window-bar { height: 37px; color: var(--window-ink); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; font-size: 13px; }
.window-bar > .arrow-icon { width: 13px; height: 13px; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; }
.project-art { position: relative; height: clamp(230px, 21.2vw, 310px); overflow: hidden; }
.art-wordmark { position: absolute; top: 21px; left: 23px; z-index: 2; font-size: 36px; font-weight: 650; letter-spacing: -.04em; }
.art-caption { position: absolute; bottom: 20px; left: 23px; z-index: 2; font-size: 15px; font-weight: 500; }
.axinity-art { background: #121b24; color: #ebf3ee; }
.signal-sculpture { width: 210px; height: 170px; position: absolute; left: 50%; top: 57%; transform: translate(-50%, -50%) rotate(-23deg); }
.signal-sculpture span { --i: 0; position: absolute; width: 124px; height: 124px; left: calc(var(--i) * 10px); top: calc(var(--i) * -5px); border: 2px solid #a4c6b4; border-radius: 50%; transform: rotateX(40deg) rotateY(35deg); transition: transform var(--motion-ui) var(--ease-out); }
.signal-sculpture span:nth-child(2) { --i: 1; }.signal-sculpture span:nth-child(3) { --i: 2; }.signal-sculpture span:nth-child(4) { --i: 3; }.signal-sculpture span:nth-child(5) { --i: 4; }.signal-sculpture span:nth-child(6) { --i: 5; }.signal-sculpture span:nth-child(7) { --i: 6; }.signal-sculpture span:nth-child(8) { --i: 7; }.signal-sculpture span:nth-child(9) { --i: 8; }
.liketik-art { background: #d4e8df; color: #294535; }
.liketik-star { display: inline-block; padding-left: 2px; color: #9b472d; }
.storefront { position: absolute; width: 85%; height: auto; top: 79px; left: 22%; transform: rotate(-8deg); transform-origin: left top; border-radius: 5px; transition: transform var(--motion-ui) var(--ease-out); }
.liketik-art .art-caption { background: #d4e8df; padding: 7px 10px; left: 13px; bottom: 13px; border-radius: 5px; }
.krotek-art { background: #efcc48; color: #262d27; }
.krotek-art .art-wordmark { font-size: 32px; }
.krotek-bird { width: 105%; height: auto; position: absolute; left: 7%; top: 33px; transform: rotate(-8deg); transition: transform var(--motion-ui) var(--ease-out); }
.visit-label { position: absolute; inset: auto 12px 12px auto; z-index: 3; background: var(--ink); color: #fff; padding: 11px 13px; display: flex; gap: 14px; align-items: center; border-radius: 8px; font-size: 14px; opacity: 0; transform: translateY(7px); transition: opacity var(--motion-fast) ease, transform var(--motion-ui) var(--ease-out); }
.visit-label svg { width: 15px; height: 15px; }
.project-copy { margin-top: 35px; }
h2 { font-size: 24px; font-weight: 650; line-height: 1.15; letter-spacing: -.03em; }
.project-copy p { margin-top: 9px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.mobile-domain { display: none; }
.projects.is-tidy .project-window { transform: translateY(0) rotate(0); }
.project:focus-visible .project-window { transform: translateY(-5px) rotate(0); transition: none; }
.project:focus-visible .visit-label { opacity: 1; transform: none; transition: none; }
.project:active .project-window { transform: translateY(0) rotate(0) scale(.98); }

.connect { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 57px; padding: 24px 0 30px; }
.connect > p { font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.linkedin-link { display: flex; align-items: center; gap: 17px; padding: 15px 18px; background: var(--surface); border-radius: var(--radius); transition: background-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out); }
.linkedin-symbol { width: 35px; height: 35px; display: grid; place-items: center; background: var(--ink); color: var(--ground); border-radius: 5px; font-family: sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.linkedin-link > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.linkedin-link strong { font-size: 16px; font-weight: 600; }
.linkedin-link > span:nth-child(2) > span { font-size: 14px; color: var(--muted); }
.linkedin-link > .arrow-icon { margin-left: 16px; }
.linkedin-link:active { transform: scale(.98); }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 29px; color: var(--muted); font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .project:hover .project-window { transform: translateY(-9px) rotate(0); }
  .project:hover .visit-label { opacity: 1; transform: translateY(0); }
  .project:hover .storefront { transform: rotate(-4deg) translateY(-8px); }
  .project:hover .krotek-bird { transform: rotate(-3deg) translateY(-4px); }
  .project:hover .signal-sculpture span { transform: rotateX(25deg) rotateY(15deg); }
  .arrange-button:hover, .linkedin-link:hover { background: #d2ddcb; }
  .header-link:hover { text-decoration: underline; text-underline-offset: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .intro h1 { animation: arrive 600ms var(--ease-out) both; }
  .intro-bottom { animation: arrive 600ms 50ms var(--ease-out) both; }
  .project { animation: arrive 600ms var(--delay, 100ms) var(--ease-out) both; }
  .project-liketik { --delay: 145ms; }.project-krotek { --delay: 190ms; }
  .connect { animation: arrive 600ms 280ms var(--ease-out) both; }
  .site-footer { animation: arrive 600ms 320ms var(--ease-out) both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (min-width: 1550px) { .intro { padding-top: 48px; } .projects { padding-top: 32px; } .connect { margin-top: 75px; } }
@media (max-width: 1050px) and (min-width: 681px) {
  .page-shell { padding-inline: 32px; }
  .site-header { min-height: 88px; }
  .intro { padding: 24px 0 36px; }
  h1 { font-size: clamp(60px, 8.3vw, 84px); }
  .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .project-art { height: 240px; }
  .project-copy { margin-top: 30px; }
  .signal-sculpture { top: 60%; }
  .storefront { width: 80%; left: 27%; }
  .krotek-bird { width: 90%; left: 16%; top: -10px; }
  .connect { margin-top: 35px; }
}
@media (max-width: 680px) {
  .page-shell { padding-inline: 22px; }
  .site-header { min-height: 79px; }
  .signature { font-size: 18px; gap: 9px; }
  .personal-mark { width: 26px; height: 26px; }
  .header-link { font-size: 14px; gap: 7px; }
  .intro { padding: 24px 0 29px; }
  h1 { max-width: 510px; font-size: clamp(49px, 10.9vw, 72px); line-height: .98; }
  .intro-bottom { margin-top: 18px; align-items: center; gap: 12px; }
  .arrange-button { padding: 12px; }
  .arrange-button span { display: none; }
  .projects { display: flex; flex-direction: column; gap: 25px; padding-top: 5px; }
  .project { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 23px; align-items: center; }
  .project-window { --offset: 0px; border-radius: 10px; }
  .window-bar { height: 21px; padding: 0 7px; }
  .window-bar > span:nth-child(2), .window-bar > .arrow-icon { display: none; }
  .window-dots { gap: 3px; }
  .window-dots i { width: 4px; height: 4px; }
  .project-art { height: 102px; }
  .art-wordmark { font-size: 20px; top: 8px; left: 11px; }
  .art-caption { display: none; }
  .signal-sculpture { transform: translate(-50%, -50%) rotate(-23deg) scale(.43); top: 70%; }
  .storefront { width: 85%; top: 33px; left: 27%; border-radius: 2px; }
  .krotek-art .art-wordmark { font-size: 17px; }
  .krotek-bird { width: 90%; left: 18%; top: 10px; }
  .project-copy { margin-top: 0; }
  h2 { font-size: 23px; }
  .project-copy p { margin-top: 5px; font-size: 15px; line-height: 1.3; }
  .mobile-domain { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; color: var(--accent); }
  .mobile-domain .arrow-icon { width: 11px; height: 11px; }
  .visit-label { display: none; }
  .connect { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 34px; padding: 0 0 14px; }
  .connect > p { font-size: 20px; }
  .connect > p br { display: none; }
  .connect > p br::after { content: " "; }
  .linkedin-link { padding: 15px; gap: 13px; }
  .linkedin-link > .arrow-icon { margin-left: auto; }
  .site-footer { font-size: 13px; padding: 20px 0 25px; }
}
@media (max-width: 360px) {
  .page-shell { padding-inline: 17px; }
  .project { grid-template-columns: 108px minmax(0, 1fr); gap: 18px; }
  .project-art { height: 91px; }
  h2 { font-size: 21px; }
  .project-copy p { font-size: 14px; }
  .site-footer { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .project:hover .project-window, .project:focus-visible .project-window { transform: translateY(var(--offset)) rotate(var(--angle)); }
  .project:hover .storefront { transform: rotate(-8deg); }
  .project:hover .krotek-bird { transform: rotate(-8deg); }
  .project:hover .signal-sculpture span { transform: rotateX(40deg) rotateY(35deg); }
}
