:root{--paper:#fffefa;--ink:#272923;--accent:#c8ef3f;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);background:#faf9f5;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,input,textarea{font:inherit;color:inherit}button{background:none;border:0;cursor:pointer;min-width:44px;min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px dashed var(--ink);outline-offset:3px}a{color:inherit;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:4px}#viewport{position:fixed;overflow:hidden;touch-action:none;cursor:grab}#viewport.dragging{cursor:grabbing}#world{position:absolute;transform-origin:0 0}.tile{position:absolute;width:420px;isolation:isolate;transform-origin:center;min-height:370px}.paper{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:var(--paper);stroke:#625f53;stroke-width:1.2;overflow:visible}.paper .echo{fill:none;opacity:.25;stroke-width:.65}.paper .highlight{fill:none;stroke:var(--accent);stroke-width:3;opacity:0}.tile.focused .highlight,.tile:hover .highlight{opacity:.8}.card-inner{position:relative;margin:10px;padding:22px 24px;overflow:visible}.eyebrow{font:10px/1.4 monospace;text-transform:uppercase;letter-spacing:1.2px;color:#606259}.tile h1,.tile h2{font-size:40px;line-height:1.08;letter-spacing:-1.5px;font-weight:350;margin:14px 0 12px}.intro{font:14px/1.6 monospace;margin:0}.art{display:block;width:100%;height:120px;margin:14px 0;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.portrait{display:block;width:100%;height:160px;object-fit:contain;margin:8px 0;mix-blend-mode:multiply}.detail{font:14px/1.6 monospace;margin-top:14px}.detail p{margin:0 0 10px}.foot{display:flex;justify-content:space-between;gap:12px;font:10px/1.5 monospace;margin-top:24px}.foot b{font-weight:400}.open-card{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:flex-start;justify-content:flex-end;padding:18px;font-size:22px;z-index:2}.tile.focused .open-card{display:none}.tile:not(.focused) .detail :is(a,input,textarea,button){pointer-events:none}.tile:focus{outline:none}.tile.focused:focus-visible .paper{stroke:var(--ink);stroke-width:2}.swatches{display:flex;gap:12px}.swatch{width:40px;height:40px;min-width:40px;min-height:40px;border:1px solid #625f53;border-radius:45% 56% 48% 53% / 53% 44% 59% 48%;background:var(--swatch)}.swatch:nth-child(even){border-radius:55% 42% 53% 45% / 44% 54% 48% 60%}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--paper),1px -1px 0 3px #625f53}.note{display:block;width:100%;height:110px;resize:none;border:0;border-bottom:1px solid transparent;background:var(--sketch-rule) left bottom / 100% 6px no-repeat;padding:8px 0;font:16px/1.6 Georgia,serif}.note-status{font-size:11px}.reference-list span{display:block;padding:9px 0;border-bottom:1px solid transparent;background:var(--sketch-rule) left bottom / 100% 6px no-repeat}.reference-list i{font-size:10px;float:right;color:#666}.service .card-inner{padding:18px 24px}.service h2{font-size:32px;margin:10px 0}.service .intro{font-size:12px}.service .detail{margin-top:6px}.service .foot{margin-top:12px}#website-request label{display:block;font:11px/1.4 monospace;margin:9px 0 5px}#website-request input[type=email],#website-request textarea{display:block;width:100%;border:1px solid transparent;border-radius:4px 6px 5px 3px;padding:8px;margin-top:5px;font:16px/1.3 'Segoe UI',Arial,sans-serif}#website-request textarea{height:52px;min-height:52px;resize:none}#website-request .budget-label{display:flex;justify-content:space-between;align-items:center}#budget{appearance:none;width:100%;height:30px;background:transparent;cursor:ew-resize;margin:1px 0 7px}#budget::-webkit-slider-runnable-track{height:2px;background:var(--budget-track) center / 100% 100% no-repeat}#budget::-moz-range-track{height:2px;background:var(--budget-track) center / 100% 100% no-repeat}#budget::-webkit-slider-thumb{appearance:none;width:45px;height:27px;margin-top:-13px;background:var(--accent) var(--budget-thumb) center / 100% 100% no-repeat;border:0;border-radius:7px 4px 6px 5px / 5px 2px 7px 4px;transform:rotate(-3deg)}#budget::-moz-range-thumb{width:45px;height:27px;border:1px solid transparent;background:var(--accent) var(--budget-thumb) center / 100% 100% no-repeat;border-radius:7px 4px 6px 5px / 5px 2px 7px 4px;transform:rotate(-3deg)}.request-send{width:100%;border:1px solid transparent;border-radius:5px 8px 4px 7px;font:13px monospace;min-height:40px}.request-send:disabled{opacity:.55;cursor:wait}.request-status{font:11px/1.4 monospace;margin:7px 0!important}.request-status:empty{display:none}#website-request small{font:10px/1.5 monospace;display:block;margin-top:5px}.honey{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){.tile{width:calc(100vw - 32px);max-width:380px;min-height:320px}.card-inner{padding:18px}.tile h1,.tile h2{font-size:34px;margin:12px 0 10px}.intro{font-size:14px;line-height:1.5}.art{height:100px;margin:10px 0}.portrait{height:135px}.detail{font-size:13px;line-height:1.5;margin-top:10px}.foot{margin-top:18px}.service .card-inner{padding:14px 17px}.service h2{font-size:28px;margin:8px 0}.service .intro{font-size:11px}.service .detail{margin-top:3px}.service .foot{margin-top:9px}#website-request label{margin:7px 0 4px}#website-request input[type=email],#website-request textarea{padding:7px;margin-top:4px}#website-request small{font-size:9px}.reference-list span{padding:8px 0}.reference-list i{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

@media(min-width:701px) and (max-height:500px){
.tile{width:620px;min-height:260px}.card-inner,.service .card-inner{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;padding:14px 18px}.eyebrow{grid-column:1;grid-row:1}.tile h1,.tile h2{grid-column:1;grid-row:2;font-size:32px;margin:6px 0}.intro{grid-column:1;grid-row:3;font-size:13px}.art,.portrait{grid-column:2;grid-row:1 / span 2;height:100px;margin:0}.detail{grid-column:2;grid-row:3 / span 2;font-size:13px;margin:0}.tile:not(:has(.art,.portrait)) .detail{grid-row:1 / span 4}.foot,.service .foot{grid-column:1;grid-row:4;margin-top:8px;align-self:end}.service .intro{font-size:12px}.service .detail{grid-column:2;grid-row:1 / span 4}.service h2{font-size:30px}#website-request label{margin:5px 0 3px}
}

.paper .highlight{transition:opacity .25s ease}.request-send,#website-request :is(input[type=email],textarea){transition:background-color .2s ease}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.profile .art{height:88px;margin:10px 0}.profile h2,.projects h2{font-size:37px;line-height:1.12;max-width:310px}.profile .intro{font-size:13px}.profile-list section{border-top:1px solid transparent;background:var(--sketch-rule) left top / 100% 6px no-repeat;padding:11px 0 4px}.profile-list h3,.project-list h3{font:600 13px/1.4 'Segoe UI',Arial,sans-serif;margin:0 0 5px;letter-spacing:0}.profile-list p{font:13px/1.5 monospace;margin:0 0 3px}.profile-list small,.project-list small{font:10px/1.4 monospace;color:#61645c}.projects .art{height:65px;margin:10px 0}.project-list{display:grid;gap:13px}.project-list a{display:block;padding:10px 0 6px;border-top:1px solid transparent;background:var(--sketch-rule) left top / 100% 6px no-repeat;text-decoration:none;min-height:44px}.project-list h3{display:flex;align-items:center;justify-content:space-between;font-size:15px}.project-list p{font:12px/1.5 monospace;margin:0 0 4px}.project-list a:hover h3 span:first-child{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:3px}.projects .foot,.profile .foot{margin-top:18px}
@media(max-width:700px){.profile h2,.projects h2{font-size:32px}.profile .art{height:66px}.projects .art{height:48px;margin:8px 0}.profile-list section{padding:9px 0 3px}.profile-list p{font-size:12px}.profile-list h3{font-size:13px}.project-list{gap:8px}.project-list a{padding-top:8px}.project-list p{font-size:12px}.projects .foot,.profile .foot{margin-top:14px}}
@media(min-width:701px) and (max-height:500px){.profile .art{height:90px;margin:0}.projects .art{height:65px;margin:0}.profile h2,.projects h2{font-size:32px}.profile .detail,.projects .detail{grid-column:2;grid-row:3 / span 2}.projects .art{grid-row:1 / span 2}.project-list{gap:7px}.project-list a{padding-top:7px}.profile-list section{padding-top:7px}}
.tile:hover:not(.focused){z-index:2}.tile.focused{z-index:3}

:root {
  --paper: #fffdf6;
  --graphite: #555246;
  --canvas: #f6f2e9;
  --sketch-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 7' preserveAspectRatio='none'%3E%3Cpath d='M1 4Q25 2 53 3.5T104 3.5T154 4Q177 2 201 3.5T254 4Q278 2 297 4T359 3' fill='none' stroke='%236b695d' stroke-width='.85' stroke-linecap='round' stroke-dasharray='7 4 3 4 13 5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --sketch-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 48' preserveAspectRatio='none'%3E%3Cpath d='M5 3Q38 1 75 2.5T150 2.5T224 3Q265 1 295 2.5T354 2Q359 4 358 10Q356 23 358 39Q358 46 352 45Q310 47 277 45T204 45.5T132 45Q93 46 60 45T7 46Q2 46 2 40Q3 30 2 23T3 9Q2 4 5 3Z' fill='none' stroke='%23767564' stroke-width='1' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M9 5Q27 4 49 5M315 44Q338 42 352 43' fill='none' stroke='%23767564' stroke-width='.65' opacity='.55' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --budget-track: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 5' preserveAspectRatio='none'%3E%3Cpath d='M1 3Q34 1 67 2.5T135 2Q174 3.5 210 2.4T285 2.5T351 2' fill='none' stroke='%236b695d' stroke-width='1.15' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --budget-thumb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 27'%3E%3Cpath d='M2 5Q12 5 22 3T42 2L43 22Q33 23 22 24T3 25Z M5 8Q23 7 39 5L40 19Q21 22 6 22Z M12 11l-3 2 3 2m21-6 4 2-4 3 M22 8C30 8 31 18 23 20C15 20 14 9 22 8Z M20 15q4-6 6-1q-3 6-6 1Z' fill='none' stroke='%23373926' stroke-width='.9' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}
body {
  background-color: var(--canvas);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.87' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23grain)' opacity='.13'/%3E%3C/svg%3E"),
    linear-gradient(#77736212 1px, transparent 1px),
    linear-gradient(90deg, #77736212 1px, transparent 1px);
  background-size: 128px 128px, 24px 24px, 24px 24px;
  background-position: 0 0, center, center;
}
#viewport {
  inset: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.paper {
  fill: none;
  stroke: var(--graphite);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.paper-shadow {
  fill: #645a43;
  stroke: none;
  opacity: .15;
  transform: translate(4px, 5px);
}
.paper-edge {
  fill: var(--paper);
  stroke-width: 1.6;
}
.paper .echo {
  opacity: .56;
  stroke-width: .85;
}
.paper .hatching {
  opacity: .38;
  stroke-width: .8;
}
.paper .highlight {
  stroke-width: 5;
}
.tile h1, .tile h2 {
  position: relative;
}
.tile:not(.service) :is(h1, h2)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 4.25rem;
  height: 5px;
  background: var(--sketch-rule) center / 100% 100% no-repeat;
  pointer-events: none;
}
.service .paper-edge {
  fill: #f4f5e4;
  fill: color-mix(in srgb, var(--accent) 14%, var(--paper));
  stroke: #505739;
}
.banknote-engraving {
  stroke: #505739;
  stroke-width: 1;
}
.note-border {
  opacity: .73;
}
.note-repeat {
  stroke-width: .8;
  opacity: .68;
}
.note-watermark {
  stroke-width: 1.35;
  opacity: .19;
}
.foot {
  position: relative;
}
.foot::before {
  content: '';
  position: absolute;
  inset: -5px auto auto 0;
  width: 28%;
  height: 4px;
  background: var(--sketch-rule) center / 100% 100% no-repeat;
}
.open-card svg {
  width: 19px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sketch-nav {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  right: max(18px, calc(env(safe-area-inset-right) + 8px));
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  width: 108px;
}
.nav-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 29px 8px 23px;
  transform-origin: 50% 4px;
}
.nav-paper, .nav-pin {
  position: absolute;
  pointer-events: none;
  stroke: var(--graphite);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-paper {
  inset: 0;
  width: 100%;
  height: 100%;
}
.nav-shadow, .pin-shadow {
  fill: #594c37;
  stroke: none;
  opacity: .25;
}
.nav-shadow { opacity: .12; }
.nav-face {
  fill: #fff5da;
  fill-opacity: .63;
  stroke-width: 1.2;
}
.nav-fold {
  fill: #e9dab7;
  fill-opacity: .8;
  stroke-width: .9;
}
.nav-ruling, .nav-fold-lines {
  fill: none;
  stroke-width: .65;
}
.nav-ruling {
  stroke: #8a826a;
  opacity: .43;
}
.nav-fold-lines {
  opacity: .65;
}
.nav-echo {
  fill: none;
  stroke-width: .8;
  opacity: .55;
}
.nav-pin {
  top: -12px;
  left: 50%;
  width: 31px;
  height: 33px;
  transform: translateX(-50%) rotate(-12deg);
  stroke: #58372e;
  stroke-width: 1;
}
.pin-needle { fill: #58372e; }
.pin-body { fill: #aa5140; }
.pin-cap { fill: #db7d62; }
.pin-glint { fill: none; stroke: #ffe5cf; }
.sketch-nav button {
  position: relative;
  pointer-events: auto;
  width: 64px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.sketch-nav button svg {
  width: 42px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease, stroke .2s ease;
}
.sketch-nav button:hover svg { stroke: #646b44; transform: translateY(-2px); }
.sketch-nav button:active svg { transform: translateY(0); }
#fit svg { width: 28px; height: 28px; }
#count { font: 11px/1 monospace; white-space: nowrap; }
@media (max-width: 1100px) {
  .sketch-nav { width: 58px; }
  .nav-sheet {
    gap: 2px;
    padding: 16px 3px 8px;
  }
  .nav-pin { width: 26px; height: 28px; top: -11px; }
  .sketch-nav button { width: 44px; gap: 3px; }
  .sketch-nav button svg { width: 34px; }
  #fit svg { width: 22px; height: 22px; }
  #count { font-size: 9px; }
}
@media (max-width: 700px) {
  #viewport {
    inset: max(10px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }
  .sketch-nav {
    top: max(20px, calc(env(safe-area-inset-top) + 10px));
    right: max(8px, calc(env(safe-area-inset-right) + 4px));
    transform: rotate(-3deg);
  }
}
@media (min-width: 701px) and (max-height: 280px) {
  .nav-sheet { gap: 2px; padding-block: 18px 12px; }
}
#website-request :is(input[type=email], textarea), .request-send {
  background-image: var(--sketch-field);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
#website-request :is(input[type=email], textarea) {
  background-color: #fffefaad;
}
#website-request :is(input[type=email], textarea):focus {
  background-color: var(--paper);
}
.request-send {
  background-color: color-mix(in srgb, var(--accent) 16%, var(--paper));
}
.request-send:hover:not(:disabled) {
  background-color: color-mix(in srgb, var(--accent) 31%, var(--paper));
}
@media (min-width: 701px) and (max-height: 500px) {
  .note-border {
    transform-origin: 210px 0;
    transform: scaleX(1.015);
  }
  .note-inner, .note-sides {
    transform-origin: 210px 0;
    transform: scaleX(1.042);
  }
}
@media (forced-colors: active) {
  body { background-image: none; }
  .nav-face, .nav-fold {
    fill: Canvas;
    fill-opacity: 1;
    stroke: CanvasText;
  }
  .nav-echo, .nav-pin, .sketch-nav button svg { stroke: CanvasText; }
  .pin-body, .pin-cap { fill: Canvas; }
  #website-request :is(input[type=email], textarea), .request-send {
    border-color: ButtonText;
  }
  #budget::-webkit-slider-runnable-track { background: ButtonText; }
  #budget::-moz-range-track { background: ButtonText; }
  #budget::-webkit-slider-thumb { border: 1px solid ButtonText; }
  #budget::-moz-range-thumb { border-color: ButtonText; }
  .swatch[aria-pressed=true]:not(:focus-visible) {
    outline: 2px solid Highlight;
    outline-offset: 3px;
  }
}

.paper-reveal {
  position: fixed;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  touch-action: manipulation;
}

.paper-reveal.is-loading {
  background-color: #f1e9d6;
  background-image: linear-gradient(135deg, #fffbed62, #fffbee15 48%, #75604430),
    repeating-linear-gradient(transparent 0 31px, #85776126 31px 32px);
  animation: paper-reveal-timeout 5s step-end forwards;
}

@keyframes paper-reveal-timeout {
  to { visibility: hidden; }
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .paper-tear-gust .tile {
    --gust-direction: 1;
    --gust-delay: 600ms;
    animation: paper-card-gust 760ms ease-in-out var(--gust-delay) paused;
  }
  .paper-tear-gust .tile:nth-child(even) {
    --gust-direction: -1;
    --gust-delay: 655ms;
  }
  .paper-tear-gust .tile:nth-child(3n) { --gust-delay: 720ms; }

  .paper-tear-gust .nav-sheet {
    animation: paper-menu-gust 380ms ease-in-out 1140ms paused;
  }
}

@keyframes paper-card-gust {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  25% { translate: calc(7px * var(--gust-direction)) -4px; rotate: calc(1.8deg * var(--gust-direction)); }
  52% { translate: calc(-4px * var(--gust-direction)) 2px; rotate: calc(-1.05deg * var(--gust-direction)); }
  76% { translate: calc(1.5px * var(--gust-direction)) -1px; rotate: calc(.4deg * var(--gust-direction)); }
}

@keyframes paper-menu-gust {
  0%, 100% { rotate: 0deg; }
  46% { rotate: 2deg; }
  65% { rotate: -1.05deg; }
  82% { rotate: .4deg; }
}

@media (prefers-reduced-motion: reduce), (forced-colors: active), (scripting: none) {
  .paper-reveal { display: none; }
}
