:root {
  --web-ink: #232820;
  --web-muted: #797d73;
  --web-line: #d8d9d0;
  --web-paper: #f5f2eb;
  --web-lime: #c4cf61;
  --web-accent: #d7634a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body.web-page { margin: 0; overflow-x: clip; background: var(--web-paper); color: var(--web-ink); font-family: "DM Sans",sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.web-header { position: sticky; top: 0; z-index: 100; display: flex; height: 82px; align-items: center; justify-content: space-between; padding: 0 max(6vw,24px); border-bottom: 1px solid var(--web-line); background: #f5f2ebf2; backdrop-filter: blur(16px); }
.web-brand { display: flex; align-items: center; gap: 11px; font: 800 12px "Manrope",sans-serif; letter-spacing: .1em; }
.web-brand small { display: block; margin-top: 2px; color: var(--web-muted); font: 500 8px "DM Sans",sans-serif; letter-spacing: .18em; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--web-ink); color: white; font: 700 11px "Manrope",sans-serif; letter-spacing: 0; }
.web-header nav { display: flex; align-items: center; gap: clamp(17px,3vw,42px); font-size: 11px; }
.web-header nav a { transition: color .2s ease; }.web-header nav a:hover { color: var(--web-accent); }
.web-header nav .web-nav-cta { padding: 10px 15px; border: 1px solid var(--web-ink); border-radius: 2px; }
.web-hero { position: relative; display: grid; min-height: 625px; grid-template-columns: 1fr 1fr; align-items: center; gap: 5%; padding: 58px max(9vw,28px) 85px; background: #e9e9df; }
.web-hero { overflow: hidden; background: radial-gradient(circle at 75% 35%,#f0d7b6 0,transparent 36%),linear-gradient(125deg,#edece2 0%,#e0e7d4 100%); }
.web-hero::after { position: absolute; inset: 0; background-image: radial-gradient(circle 260px at var(--pointer-x,75%) var(--pointer-y,35%),#d7634a23,transparent 100%),linear-gradient(#6576580a 1px,transparent 1px),linear-gradient(90deg,#6576580a 1px,transparent 1px); background-size: auto,44px 44px,44px 44px; content: ""; pointer-events: none; }
.web-hero::before { position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--web-accent); content: ""; }
.web-hero-text { position: relative; z-index: 1; }
.web-overline { display: flex; gap: 9px; align-items: center; color: var(--web-muted); font: 600 9px "DM Sans",sans-serif; letter-spacing: .17em; }
.web-overline > span:not(.overline-text) { width: 19px; height: 1px; background: var(--web-accent); }
.web-hero h1 { margin: 24px 0 18px; font: 600 clamp(3.9rem,8vw,7.8rem)/.92 "Manrope",sans-serif; letter-spacing: -.09em; }
.web-hero h1 em { color: var(--web-accent); font-style: normal; }
.web-hero-text > p:not(.web-overline) { max-width: 360px; color: #70746a; font-size: 14px; line-height: 1.8; }
.web-scroll { display: inline-flex; gap: 23px; align-items: center; margin-top: 32px; padding-bottom: 8px; border-bottom: 1px solid #969a8e; font: 700 9px "DM Sans",sans-serif; letter-spacing: .11em; }
.web-scroll span:last-child { color: var(--web-accent); font-size: 17px; }
.web-hero-visual { position: relative; display: grid; min-height: 420px; place-items: center; }
.web-visual-shape { position: absolute; width: min(390px,85%); aspect-ratio: 1; border-radius: 50%; background: #d2d7b1; }
.web-visual-shape { border: 1px solid #acb97e; background: radial-gradient(circle at 30% 30%,#e0e8bf,#b8c999); box-shadow: 0 0 0 22px #ffffff38,0 0 0 44px #879c6620; animation: web-breathe 7s ease-in-out infinite alternate; }
.web-sticker { position: absolute; z-index: 3; padding: 10px 12px; box-shadow: 4px 7px 0 #28302026; font: 700 9px "DM Sans",sans-serif; letter-spacing: .08em; }
.web-sticker-one { top: 10%; right: 0; background: #d7634a; color: white; transform: rotate(7deg); animation: web-float 5s ease-in-out infinite; }
.web-sticker-two { bottom: 10%; left: 0; border: 1px solid #263023; background: #c4cf61; color: #263023; transform: rotate(-6deg); animation: web-float 6s ease-in-out infinite reverse; }
.web-project-art { isolation: isolate; }
.web-project-art::before { transition: transform .6s ease; }
.web-project:hover .web-project-art::before { transform: scale(1.12) rotate(5deg); }
.web-project:hover .project-open { transform: translate(3px,-3px); }
.project-open { transition: transform .25s ease; }
@keyframes web-breathe { from { transform: scale(.94) rotate(-5deg); } to { transform: scale(1.05) rotate(5deg); } }
@keyframes web-float { 50% { translate: 0 -12px; } }
.web-marquee { overflow: hidden; border-block: 1px solid #263023; background: #263023; color: #e6edbf; }
.web-marquee-track { display: flex; width: max-content; animation: web-marquee 24s linear infinite; }
.web-marquee-track span { padding: 14px 18px; font: 700 10px "DM Sans",sans-serif; letter-spacing: .16em; white-space: nowrap; }
@keyframes web-marquee { to { transform: translateX(-50%); } }
.web-browser-card { position: relative; z-index: 1; width: min(380px,100%); background: #faf9f4; box-shadow: 16px 21px 45px #282d211f; transform: rotate(3deg); animation: web-float 6s ease-in-out infinite; transition: transform .45s ease, box-shadow .45s ease; }
.web-hero-visual:hover .web-browser-card { transform: rotate(0) translateY(-7px); box-shadow: 20px 29px 50px #282d212b; }
.fake-browser-head { display: flex; height: 33px; align-items: center; gap: 5px; padding: 0 12px; border-bottom: 1px solid #e6e5de; }
.fake-browser-head > span { width: 5px; height: 5px; border-radius: 50%; background: #b6b9ae; }.fake-browser-head b { margin-left: auto; color: #90948a; font: 500 8px "DM Sans",sans-serif; }
.fake-browser-body { position: relative; display: flex; min-height: 320px; flex-direction: column; justify-content: center; align-items: flex-start; padding: 35px 12%; overflow: hidden; }
.fake-browser-body::after { position: absolute; right: -14%; bottom: -34%; width: 185px; height: 185px; border-radius: 50%; background: #e6e4d8; content: ""; }
.fake-browser-body small { position: relative; z-index: 1; color: var(--web-accent); font-size: 8px; letter-spacing: .15em; }
.fake-browser-body strong { position: relative; z-index: 1; margin: 13px 0; font: 600 clamp(2rem,4vw,3rem)/1.02 "Manrope",sans-serif; letter-spacing: -.07em; }
.fake-browser-body > i { z-index: 1; width: 75px; height: 24px; margin-top: 14px; background: var(--web-ink); }
.fake-browser-foot { position: absolute; z-index: 2; right: 12%; bottom: 20px; left: 12%; display: flex; justify-content: space-between; color: #82867d; font: 8px "DM Sans",sans-serif; }
.fake-browser-foot b { color: var(--web-accent); font-size: 15px; }
.visual-caption { position: absolute; bottom: -10px; left: 6%; color: #808477; font: 8px "DM Sans",sans-serif; letter-spacing: .1em; }
.web-hero-index { position: absolute; right: 6%; bottom: 28px; color: #8e9288; font: 10px "DM Sans",sans-serif; }.web-hero-index span { color: var(--web-accent); }
.web-work { width: min(1200px,calc(100% - 64px)); margin: auto; padding: 95px 0 112px; }
.web-work-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.web-work-heading .web-overline { margin: 0 0 14px; }
.web-work-heading h2 { margin: 0; font: 600 clamp(2.6rem,6vw,5.1rem)/1 "Manrope",sans-serif; letter-spacing: -.075em; }
.web-work-heading h2 span { color: var(--web-accent); }
.web-work-heading > p { max-width: 320px; margin: 0 1% 5px 0; color: var(--web-muted); font-size: 12px; }
.web-project-stories { counter-reset: web-project; border-top: 1px solid var(--web-line); }
.web-project { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: clamp(30px,6vw,85px); align-items: center; padding: clamp(28px,5vw,62px) 0; border: 0; border-bottom: 1px solid var(--web-line); background: transparent; color: inherit; text-align: left; cursor: pointer; counter-increment: web-project; }
.web-project:nth-child(even) { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); }
.web-project:nth-child(even) .web-project-art { grid-column: 2; grid-row: 1; }
.web-project:nth-child(even) .web-project-meta { grid-column: 1; grid-row: 1; }
.web-project-art { position: relative; display: grid; min-height: clamp(300px,32vw,420px); place-items: center; overflow: hidden; background: #e8e8de; }
.web-project-featured .web-project-art { min-height: clamp(300px,32vw,420px); }
.web-project-art > * { transition: transform .45s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .web-project:hover .web-project-art > :first-child { transform: translate(var(--art-x,0px),var(--art-y,0px)) scale(1.035); }
}
.web-project-art::after { position: absolute; inset: 12px; border: 1px solid #ffffff50; content: ""; pointer-events: none; }
.web-project:hover .web-project-art::after { inset: 7px; transition: inset .3s ease; }
.ranked-art { background: linear-gradient(140deg,#171c29,#273137); }
.ranked-ui { position: relative; width: 83%; height: 75%; overflow: hidden; background: linear-gradient(120deg,#ede8d9 0 55%,#c4cf61 55%); box-shadow: 0 20px 40px #090e1670; transition: transform .45s ease; }
.web-project:hover .ranked-ui { transform: scale(1.025); }
.ranked-nav { display: flex; height: 38px; align-items: center; padding: 0 13px; border-bottom: 1px solid #20271c25; color: #283022; }.ranked-nav b { font: 800 15px "Manrope",sans-serif; }.ranked-nav b span { color: var(--web-accent); }.ranked-nav small { margin-left: auto; font-size: 6px; letter-spacing: .1em; }.ranked-nav i { display: none; }
.ranked-copy { position: absolute; top: 25%; left: 12%; display: flex; flex-direction: column; align-items: flex-start; }.ranked-copy small { color: #65704f; font-size: 7px; letter-spacing: .1em; }.ranked-copy strong { margin: 10px 0 13px; color: #20271d; font: 700 clamp(2rem,5vw,4.2rem)/.85 "Manrope",sans-serif; letter-spacing: -.09em; }.ranked-copy strong em { color: var(--web-accent); font-style: normal; }.ranked-copy > span { padding: 7px 9px; background: #263023; color: white; font-size: 6px; letter-spacing: .1em; }
.ranked-index { position: absolute; right: 12px; bottom: 11px; color: #303b2b; font: 7px "DM Sans",sans-serif; text-align: right; }
.mammut-art { align-items: start; justify-items: start; padding: 29px; background: #e0ddd3; color: #302f28; }
.mammut-art::before { position: absolute; right: -5%; bottom: -24%; width: 70%; aspect-ratio: 1; border: 1px solid #4f51413b; border-radius: 50%; content: ""; box-shadow: 0 0 0 30px #4f51410a,0 0 0 60px #4f51410a; }
.mammut-art > span { color: var(--web-accent); font: 800 25px "Manrope",sans-serif; }.mammut-art > small { position: absolute; top: 34px; right: 30px; color: #6f7268; font-size: 7px; line-height: 1.5; text-align: right; letter-spacing: .1em; }.mammut-art > b { align-self: center; font: 600 clamp(1.7rem,3.8vw,3rem)/1 "Manrope",sans-serif; letter-spacing: -.07em; }.mammut-art > i { position: absolute; bottom: 29px; left: 30px; color: var(--web-accent); font: 700 8px "DM Sans",sans-serif; letter-spacing: .1em; }
.saas-art,.restaurant-art { background: #ecece8; }.saas-art img,.restaurant-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }.web-project:hover .saas-art img,.web-project:hover .restaurant-art img { transform: scale(1.035); }.image-label { position: absolute; right: 13px; bottom: 13px; padding: 7px 9px; background: #20271ddd; color: white; font: 8px "DM Sans",sans-serif; letter-spacing: .1em; }
.wiki-art { background: #d8e4de; }.wiki-art::before { position: absolute; right: 5%; bottom: -35%; width: 190px; aspect-ratio: 1; border-radius: 50%; background: #a1c2b166; content: ""; }.wiki-window { position: relative; z-index: 1; display: flex; width: 70%; min-height: 175px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px; background: #f5f5ee; box-shadow: 0 18px 35px #313c3424; }.wiki-window span { color: #728577; font-size: 7px; letter-spacing: .12em; }.wiki-window strong { margin: 10px 0; font: 600 clamp(1.4rem,3vw,2.2rem)/1 "Manrope",sans-serif; letter-spacing: -.06em; }.wiki-window i { width: 100%; padding: 8px; border: 1px solid #d5ddd6; color: #939b93; font-size: 8px; font-style: normal; }
.cv-art { background: #d8d1c5; }.cv-sheet { position: relative; display: flex; width: 59%; min-height: 205px; flex-direction: column; padding: 18px; background: #fbfaf6; box-shadow: 0 18px 35px #25271e26; transition: transform .4s ease; }.web-project:hover .cv-sheet { transform: rotate(-2deg) translateY(-4px); }.cv-sheet > span { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #d8d8cf; color: #464b40; font: 800 8px "Manrope",sans-serif; letter-spacing: .08em; }.cv-sheet > span i { color: var(--web-accent); font: 7px "DM Sans",sans-serif; }.cv-sheet > b { margin: 22px 0 12px; font: 600 clamp(1.1rem,2.8vw,2.1rem)/1.05 "Manrope",sans-serif; letter-spacing: -.06em; }.cv-sheet > small { color: #85897e; font-size: 7px; line-height: 1.5; letter-spacing: .1em; }.cv-sheet > i { margin-top: auto; color: var(--web-accent); font: 700 7px "DM Sans",sans-serif; }.cv-stamp { position: absolute; right: 15%; bottom: 18%; display: grid; width: 46px; height: 46px; place-content: center; border: 1px solid var(--web-accent); border-radius: 50%; color: var(--web-accent); font: 700 7px "DM Sans",sans-serif; text-align: center; transform: rotate(12deg); }
.web-project-meta { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 0; }
.web-project-meta::before { content: counter(web-project, decimal-leading-zero); color: #c1c6b7; font: 500 clamp(3rem,6vw,6rem)/1 "Manrope",sans-serif; letter-spacing: -.09em; transition: color .3s ease; }
.web-project:hover .web-project-meta::before { color: var(--web-accent); }
.web-project-meta > div > span { color: #747a6f; font: 600 9px "DM Sans",sans-serif; letter-spacing: .12em; }
.web-project-meta h3 { margin: 10px 0; font: 700 clamp(1.8rem,3vw,3.2rem)/1.05 "Manrope",sans-serif; letter-spacing: -.065em; }
.web-project-meta p { max-width: 340px; margin: 0; color: #656b60; font-size: 14px; line-height: 1.75; }
.project-open { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1px solid #d7634a80; color: #b54835; font: 700 11px "DM Sans",sans-serif; }
.web-project:focus-visible { outline: 2px solid var(--web-accent); outline-offset: 4px; }
.web-end { display: flex; min-height: 180px; flex-direction: column; align-items: center; justify-content: center; padding: 35px 20px; background: #dfe3d2; text-align: center; }.web-end p { margin: 0 0 10px; color: #6b7065; font-size: 12px; }.web-end a { font: 700 clamp(1.5rem,4vw,2.5rem) "Manrope",sans-serif; letter-spacing: -.05em; }.web-end a span { color: var(--web-accent); }
.web-footer { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 18px; padding: 15px max(6vw,24px); color: #898d83; font: 8px "DM Sans",sans-serif; letter-spacing: .1em; }.web-footer > a:first-child { color: var(--web-ink); font-weight: 800; }.web-footer > a:last-child { color: var(--web-accent); }

.gallery-popup { z-index: 4000; }.gallery-popup-backdrop { background: #151812d9; }.gallery-popup-dialog { border-color: #ffffff33; background: #f5f2eb; }.gallery-popup-header { border-color: #dedfd6; }.gallery-popup-title { color: var(--web-ink); font-family: "Manrope",sans-serif; }.gallery-popup-close,.gallery-control { border-color: #c7c9bd; background: #f5f2eb; color: var(--web-ink); }.gallery-popup-content { background: #e6e5dc; }.gallery-popup-indicators { background: #f5f2eb; }.gallery-indicator { border-color: #8b8d82; }.gallery-indicator.is-active { border-color: var(--web-accent); background: var(--web-accent); }

@media (max-width: 760px) {
  .web-header { height: 70px; padding-inline: 20px; }.web-header nav { gap: 16px; font-size: 10px; }.web-header nav .web-nav-cta { padding: 8px 10px; }
  .web-hero { min-height: 0; grid-template-columns: 1fr; gap: 20px; padding: 68px 28px 65px; }.web-hero h1 { font-size: clamp(4rem,13vw,6.8rem); }.web-hero-visual { min-height: 350px; }.fake-browser-body { min-height: 270px; }.web-hero-index { right: 26px; bottom: 18px; }
  .web-work { width: calc(100% - 40px); padding: 68px 0 75px; }.web-work-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 30px; }
  .web-project,.web-project:nth-child(even) { grid-template-columns: minmax(0,1fr); gap: 22px; padding: 32px 0; }
  .web-project:nth-child(even) .web-project-art,.web-project:nth-child(even) .web-project-meta { grid-column: auto; grid-row: auto; }
  .web-project-art,.web-project-featured .web-project-art { min-height: clamp(250px,60vw,380px); }
  .web-project-meta { gap: 14px; }.web-project-meta::before { font-size: 3rem; }.web-project-meta h3 { font-size: clamp(1.9rem,7vw,2.7rem); }.web-project-meta p { font-size: 13px; }
  .web-footer { flex-wrap: wrap; font-size: 7px; }.web-footer > span { display: none; }
}
@media (max-width: 520px) {
  .web-header nav { gap: 11px; }.web-header nav a:first-child { font-size: 9px; }.web-header nav .web-nav-cta { padding: 7px 8px; }
  .web-hero { padding-inline: 21px; }.web-hero-visual { min-height: 315px; }.web-browser-card { width: 88%; }.fake-browser-body { min-height: 245px; }
  .web-work { width: calc(100% - 36px); }.ranked-copy strong { font-size: 3rem; }
  .web-footer { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 20px; }
}
@media (max-width: 380px) { .web-hero h1 { font-size: 3.1rem; } }
@media (max-width: 760px) { html { scroll-padding-top: 155px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
