@font-face {
  font-family: Golos;
  src: url("assets/golos-text.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --surface: #fffefb;
  --ink: #20221f;
  --mute: #585b54;
  --line: #d4d4cb;
  --accent: #e9501a;
  --on-ink: #faf9f4;
  --focus: #ac390f;
  --gutter: clamp(20px,5.1vw,82px);
  --space: clamp(39px,4.4vw,72px);
  --font: Golos, "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #191a18; --surface: #20211e; --ink: #f5f3eb; --mute: #c2c2b7;
    --line: #44463f; --accent: #ff7845; --on-ink: #20221d; --focus: #ffae83;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #191a18; --surface: #20211e; --ink: #f5f3eb; --mute: #c2c2b7;
  --line: #44463f; --accent: #ff7845; --on-ink: #20221d; --focus: #ffae83;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font); }
h1,h2,h3,p,ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1410px,calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 4; background: var(--surface); padding: 8px 14px; }
.skip:focus { top: 8px; }
header { border-bottom: 1px solid var(--line); }
.header-row,.brand,nav,.primary,.kicker,.works-head,.view-switch,.view-switch button,.go,.card-head,.stack,.footer-row { display: flex; align-items: center; }
.header-row { min-height: 64px; gap: clamp(10px,2vw,25px); }
.brand { gap: 6px; font-size: 21px; font-weight: 730; letter-spacing: -.065em; }
.brand img { width: 28px; height: 28px; display: block; }
nav { margin-left: auto; gap: clamp(13px,2.7vw,44px); }
nav a,.footer-row a { font-size: 12px; font-weight: 500; padding-block: 9px; }
nav a:hover,.footer-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.theme { flex: none; border: 1px solid var(--line); border-radius: 50%; background: transparent; width: 34px; height: 34px; display: grid; place-content: center; }
.theme i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(90deg,var(--ink) 50%,transparent 50%); transform: rotate(-32deg); }
.theme:hover { border-color: var(--ink); }
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; isolation: isolate; display: grid; }
.intro { position: relative; z-index: 1; padding: 34px 0 16px; }
.kicker,.industry,.stack li { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.kicker { gap: 9px; }
.kicker i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
h1 { font-size: clamp(68px,16vw,110px); font-weight: 720; letter-spacing: -.06em; line-height: .93; margin: 16px 0; }
h1 span,.about h2 span { color: var(--accent); }
.lead { font-size: clamp(16px,1.55vw,24px); line-height: 1.35; letter-spacing: -.025em; font-weight: 450; color: var(--mute); }
.primary { display: inline-flex; justify-content: center; gap: 20px; border-radius: 4px; margin-top: 20px; background: var(--ink); color: var(--on-ink); min-height: 45px; padding: 0 18px; font-weight: 550; font-size: 14px; }
.primary span { font-size: 18px; }
.primary:hover { box-shadow: inset 0 -3px 0 var(--accent); }
.mark-field { position: relative; isolation: isolate; height: 148px; margin-bottom: 20px; }
.dot-grid { position: absolute; inset: 0; background-image: radial-gradient(var(--mute) .7px,transparent 1px); background-size: 13px 13px; opacity: .40; mask-image: radial-gradient(ellipse,black 19%,#000b 58%,transparent 79%); }
.hero-mark { display: block; position: absolute; width: auto; height: 94%; max-width: 90%; object-fit: contain; top: 1%; left: 50%; transform: translateX(-50%) rotate(-5deg); filter: drop-shadow(1px 2px 1px #81371820); }
.mark-shadow { position: absolute; width: 49%; height: 5%; left: 28%; bottom: 1%; background: #423222; opacity: .16; border-radius: 50%; filter: blur(7px); }
.reg { position: absolute; width: 8px; height: 8px; opacity: .5; color: var(--mute); }.reg-tl { top: 6%; left: 7%; }.reg-br { bottom: 7%; right: 6%; }
.reg::before,.reg::after { content: ""; position: absolute; top: 50%; left: 0; background: currentColor; height: 1px; width: 100%; }.reg::after { transform: rotate(90deg); }
.works { padding-block: var(--space); background: var(--surface); }
.works-head { justify-content: space-between; align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 23px; }
h2 { font-size: clamp(32px,3.3vw,57px); line-height: 1.05; font-weight: 620; letter-spacing: -.045em; }
h2 sup { vertical-align: top; display: inline-block; color: var(--accent); font-size: .31em; font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: .28em 0 0 .55em; }
.view-switch { border: 1px solid var(--line); border-radius: 5px; padding: 3px; background: var(--paper); gap: 1px; }
.view-switch button { border: 0; background: transparent; border-radius: 3px; min-height: 32px; gap: 7px; padding: 5px 10px; font-size: 11px; font-weight: 550; }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.monitor,.phone { height: 10px; width: 14px; border: 1.3px solid currentColor; border-radius: 1.5px; display: inline-block; position: relative; }
.monitor::after { content: ""; position: absolute; width: 6px; height: 1px; left: 3px; bottom: -3px; background: currentColor; }
.phone { height: 13px; width: 8px; border-radius: 2px; }
.work-grid { display: grid; gap: 30px; }
.project { display: block; border-radius: 3px; }
.stage { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1.55; background: var(--back); border-radius: 4px; }
.barber { --back: #a8b9c7; --deep: #8198a8; }
.garden { --back: #c0c8a9; --deep: #9faa8f; }
.clay { --back: #ecc0a1; --deep: #d6a080; }
.stage::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(135deg,transparent 47%,var(--deep) 47.2%,transparent 84%); opacity: .48; }
.window { width: 87%; border: 1px solid #2223; overflow: hidden; border-radius: 4px; background: #f3f2ed; box-shadow: 3px 9px 12px #26201924; transform: rotate(-3deg); }
.garden .window { transform: rotate(2deg); }.clay .window { transform: rotate(-2deg); }
.window img,.handset img { display: block; width: 100%; height: auto; }
.window-bar { height: 9px; display: flex; align-items: center; gap: 2px; padding-left: 5px; background-color: #e7e7e2; }
.window-bar i { width: 2.5px; height: 2.5px; border-radius: 50%; background: #9a9d96; }
.handset { display: none; width: 37%; height: 88%; border: 3px solid #292a26; border-radius: 12px; overflow: hidden; background: #292a26; box-shadow: 4px 8px 10px #2620192d; }
[data-view="mobile"] .window { display: none; }[data-view="mobile"] .handset { display: block; }
.card-head { justify-content: space-between; align-items: end; gap: 12px; margin-top: 16px; }
.industry { color: var(--mute); font-size: 9px; }
h3 { font-size: clamp(23px,2.15vw,37px); font-weight: 620; letter-spacing: -.055em; line-height: 1.14; margin-top: 5px; }
.go { flex: none; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; line-height: 1; }
.project:hover .go,.project:focus-visible .go { color: var(--on-ink); background: var(--ink); border-color: var(--ink); }
.description { max-width: 38ch; margin-top: 8px; line-height: 1.5; font-size: 14px; color: var(--mute); }
.about { border-block: 1px solid var(--line); padding-block: var(--space); }
.about-inner { display: grid; gap: 18px; }
.about h2 { margin-top: 14px; }
.about-copy p { max-width: 55ch; font-size: 16px; color: var(--mute); }
.stack { list-style: none; padding: 0; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.stack li { font-size: 10px; letter-spacing: .075em; }.stack li+li::before { content: "·"; color: var(--accent); padding-right: 14px; }
.footer-row { justify-content: space-between; padding-block: 12px; font-size: 12px; }
.footer-row a span { padding-left: 5px; }
@media (min-width: 600px) {
  .header-row { min-height: 70px; }.brand { font-size: 24px; }.brand img { width: 34px; height: 34px; }
  nav a,.footer-row a { font-size: 14px; }.theme { width: 38px; height: 38px; margin-left: 4px; }
  .hero-inner { grid-template-columns: 1.07fr .93fr; align-items: center; min-height: clamp(310px,30vw,465px); }
  .intro { padding: 36px 0; }
  h1 { font-size: clamp(76px,9.3vw,153px); margin-block: 19px; }
  .mark-field { height: clamp(202px,22.8vw,350px); margin: 0; }
  .hero-mark { height: 81%; top: 7%; max-width: 82%; }.mark-shadow { bottom: 9%; }
  .works-head { flex-direction: row; align-items: center; gap: 15px; }
  .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2vw,32px); }
  .about-inner { grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center; }
  .go { width: 28px; height: 28px; font-size: 15px; }
  .description { font-size: 13px; }
}
@media (min-width: 1000px) {
  .header-row { min-height: 78px; }.brand { font-size: 26px; }.brand img { width: 38px; height: 38px; }
  .intro { padding-block: 43px; }
  .kicker { font-size: 11px; }.primary { margin-top: 25px; min-height: 48px; padding-inline: 20px; }
  .works-head { margin-bottom: 29px; }.view-switch button { font-size: 12px; min-height: 34px; padding-inline: 12px; }
  .go { width: 36px; height: 36px; font-size: 18px; }
  .description { font-size: 14px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .window { transition: transform .22s ease; }
  .project:hover .window { transform: translateY(-2px) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
