:root {
  --paper: #ece8df;
  --ink: #0f0f0f;
  --muted: #6d695f;
  --line: rgba(15, 15, 15, 0.16);
  --accent: #ff4f1a;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 3vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 70px; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { padding-inline: var(--gutter); }

/* grain over everything for a printed feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type ---------- */
.label {
  display: flex; align-items: center; gap: 12px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
}
.label > span:first-child { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: var(--paper); }
h2 {
  font-size: clamp(48px, 9vw, 150px); font-weight: 800; font-stretch: 125%; line-height: 0.88; letter-spacing: -0.045em; text-transform: uppercase;
}
.section-top { display: grid; gap: 26px; margin-bottom: clamp(40px, 6vw, 80px); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-word > span { display: inline-block; }

.arrow-link {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; font-size: 17px;
}
.arrow-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: 100% 50%; transition: transform 0.6s var(--ease); }
.arrow-link:hover::after { transform: scaleX(0); transform-origin: 0 50%; }
.arrow-link span { display: inline-block; transition: transform 0.5s var(--ease); }
.arrow-link:hover span { transform: rotate(45deg); }

.pill-button {
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 28px; border-radius: 99px; overflow: hidden; isolation: isolate;
  background: var(--accent); color: var(--ink); font-weight: 700; font-size: 16px; will-change: transform;
}
.pill-button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--paper); transform: translateY(101%); transition: transform 0.6s var(--ease); }
.pill-button:hover::before { transform: none; }
.pill-light { background: var(--paper); }
.pill-light::before { background: var(--accent); }

/* ---------- loader ---------- */
.loader { display: none; }
.has-motion .loader {
  position: fixed; inset: 0; z-index: 200; display: flex; justify-content: space-between; align-items: flex-end; padding: var(--gutter);
  background: var(--ink); color: var(--paper);
}
.loader-name { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.loader-count { font-size: clamp(90px, 22vw, 320px); font-weight: 800; font-stretch: 125%; line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    position: fixed; top: 0; left: 0; z-index: 150; display: grid; place-items: center; width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border-radius: 50%; background: var(--accent); pointer-events: none; opacity: 0;
    transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s;
  }
  .cursor.is-active { opacity: 1; }
  .cursor-label { opacity: 0; font: 600 13px var(--display); color: var(--ink); white-space: nowrap; transition: opacity 0.2s; }
  .cursor.is-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .cursor.is-big .cursor-label { opacity: 1; transition-delay: 0.1s; }
  .cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: transparent; border: 1.5px solid var(--accent); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter); color: #fff; mix-blend-mode: difference; font-size: 15px; font-weight: 600;
}
.brand { font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; font-size: 17px; text-transform: uppercase; }
.brand sup { font-size: 0.55em; margin-left: 2px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.5s var(--ease); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.header-end { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header-clock { font: 500 13px var(--mono); }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 1000px); padding: 86px var(--gutter) 40px; display: flex; flex-direction: column; }
.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em;
}
.hero-meta span:last-child { justify-self: end; }
.available { display: inline-flex; align-items: center; gap: 8px; }
.available i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.hero-stage { position: relative; flex: 1; min-height: clamp(340px, 40vw, 600px); display: grid; place-items: center; }
.wave { position: absolute; inset: 0 calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); height: 100%; }

.hero-name {
  position: relative; z-index: 2; width: 100%; pointer-events: none;
  font-size: clamp(52px, 15vw, 260px); font-weight: 900; font-stretch: 125%; line-height: 0.8; letter-spacing: -0.055em; text-transform: uppercase;
}
.hero-name .line { display: block; white-space: nowrap; }
.hero-name .line-right { text-align: right; }
.hero-name .char { display: inline-block; }

.hero-bottom { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 48px); align-items: end; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-photo { width: clamp(110px, 11vw, 160px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.6s; }
.hero-photo:hover img { filter: none; }
.hero-intro { max-width: 640px; font-size: clamp(20px, 2vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.hero-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

.badge { position: absolute; z-index: 3; right: 2%; top: 4%; width: clamp(110px, 10vw, 150px); aspect-ratio: 1; }
.badge svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge text { font: 600 11.5px var(--mono); letter-spacing: 0.24em; text-transform: uppercase; fill: var(--ink); }
.badge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; margin: 30px -2vw; padding: 18px 0; background: var(--accent); transform: rotate(-2deg); overflow: hidden; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 30px; font-size: clamp(30px, 4.6vw, 70px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; will-change: transform; }
.marquee-track b { font-size: 0.6em; display: inline-block; animation: spin 6s linear infinite; }
.no-motion .marquee-track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { padding-block: clamp(100px, 14vw, 200px) clamp(80px, 10vw, 140px); display: grid; gap: 40px; }
.statement { max-width: 1300px; font-size: clamp(30px, 4.4vw, 72px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; text-indent: 2.4em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 30px; }
.facts div { padding: 18px 18px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.facts dd { font-size: 17px; font-weight: 600; }

/* ---------- experience ---------- */
.experience { padding-bottom: clamp(100px, 12vw, 180px); }
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.job { border-bottom: 1px solid var(--ink); }
.job a {
  position: relative; display: grid; grid-template-columns: 110px 1fr auto; grid-template-areas: "when name arrow" "when role arrow"; column-gap: 24px;
  padding: clamp(18px, 2.4vw, 32px) 0;
}
.job-when { grid-area: when; padding-top: 0.8em; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.job-name { grid-area: name; font-size: clamp(34px, 6vw, 96px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.95; }
.job-role { grid-area: role; margin-top: 10px; font-size: 16px; color: var(--muted); }
.job-arrow { grid-area: arrow; align-self: center; font-size: clamp(30px, 4vw, 60px); }

/* ---------- websites ---------- */
/* screenshot that follows the cursor over the website rows */
.hover-preview { position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none; will-change: transform; }
.hover-card {
  width: clamp(320px, 30vw, 460px); border-radius: 10px; overflow: hidden; background: var(--ink);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.65); opacity: 0; transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.3s, transform 0.6s var(--ease);
}
.hover-preview.is-on .hover-card { opacity: 1; transform: translate(-50%, -50%); }
.hover-card img { width: 100%; height: auto; }

.work { padding-bottom: clamp(100px, 12vw, 180px); }
.work h2 sup { font: 500 clamp(14px, 1.4vw, 20px) var(--mono); vertical-align: top; letter-spacing: 0; }
.site-head, .site-row {
  display: grid; grid-template-columns: 56px minmax(0, 2.6fr) minmax(0, 1fr) minmax(0, 0.8fr) 48px; align-items: center; column-gap: 20px;
}
.site-head { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.site-list { list-style: none; margin: 0; padding: 0; }
.site-row {
  position: relative; padding: clamp(16px, 1.8vw, 26px) 0; border-bottom: 1px solid var(--ink); isolation: isolate;
  transition: color 0.5s var(--ease), padding 0.6s var(--ease);
}
.site-row::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.6s var(--ease); }
.site-row:hover { padding-left: 20px; }
.site-row:hover::before { transform: scaleY(1); }
.site-idx, .site-type, .site-co { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.site-name { display: block; height: 1em; overflow: hidden; font-size: clamp(26px, 3.3vw, 54px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.045em; line-height: 1; }
.roll { display: block; transition: transform 0.6s var(--ease); }
.roll > span { display: block; height: 1em; white-space: nowrap; }
.site-row:hover .roll { transform: translateY(-1em); }
.site-arrow { justify-self: end; font-size: clamp(26px, 3vw, 44px); transition: transform 0.6s var(--ease); }
.site-row:hover .site-arrow { transform: rotate(45deg); }
.site-thumb { display: none; }

/* ---------- bizora ---------- */
.bizora { position: relative; background: var(--ink); color: var(--paper); padding-block: clamp(100px, 12vw, 180px); overflow: hidden; border-radius: 28px 28px 0 0; }
.bizora .label > span:first-child { background: var(--accent); color: var(--ink); }
.bizora-title { font-size: clamp(64px, 18vw, 320px); line-height: 0.8; color: var(--paper); }
.bizora-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.bizora-stage { position: relative; }
.bizora-shot { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 60px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12); will-change: transform; }
.bizora-shot img { width: 100%; height: auto; }
.float-ui {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); font-weight: 600; font-size: 15px; will-change: transform;
}
.float-ui b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); font-size: 18px; font-weight: 800; }
.float-a { top: 8%; left: -6%; }
.float-b { bottom: 10%; right: -5%; }
.bizora-copy blockquote { font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 24px; }
.bizora-copy blockquote::before { content: "“"; display: block; height: 0.5em; font-size: 3em; line-height: 0.9; color: var(--accent); }
.bizora-copy > p { color: rgba(236, 232, 223, 0.68); font-size: 17px; line-height: 1.6; }
.bizora-list { list-style: none; counter-reset: item; margin: 28px 0 34px; padding: 0; border-top: 1px solid rgba(236, 232, 223, 0.2); }
.bizora-list li { counter-increment: item; display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(236, 232, 223, 0.2); font-size: 17px; font-weight: 500; }
.bizora-list li::before { content: "0" counter(item); font: 500 12px var(--mono); color: var(--accent); padding-top: 4px; }

/* ---------- services ---------- */
.services { padding-block: clamp(100px, 12vw, 180px); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.service { padding: 28px 24px 40px 0; }
.service + .service { padding-left: 24px; border-left: 1px solid var(--line); }
.service-num { font: 500 13px var(--mono); color: var(--muted); }
.service h3 { margin: 60px 0 16px; font-size: clamp(30px, 3.4vw, 52px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.95; transition: color 0.4s; }
.service:hover h3 { color: var(--accent); }
.service p { max-width: 340px; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding-top: clamp(100px, 12vw, 180px); overflow: hidden; }
.contact .label > span:first-child { background: var(--accent); color: var(--ink); }
.contact-big {
  display: block; margin: 40px 0 50px; font-size: clamp(56px, 12.5vw, 220px); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  line-height: 0.84; letter-spacing: -0.055em; transition: color 0.4s;
}
.contact-big .line { display: block; overflow: hidden; }
.contact-big .line > span { display: inline-block; }
.contact-big i { font-style: normal; display: inline-block; color: var(--accent); transition: transform 0.7s var(--ease); }
.contact-big:hover { color: var(--accent); }
.contact-big:hover i { transform: rotate(45deg); color: var(--paper); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-bottom: clamp(80px, 10vw, 140px); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px 26px; border-top: 1px solid rgba(236, 232, 223, 0.2); font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-meta { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .hero-meta span:last-child { justify-self: start; }
  .hero-bottom { grid-template-columns: auto 1fr; }
  .hero-links { grid-column: 1 / -1; flex-direction: row; gap: 26px; }
  .bizora-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service + .service { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .service h3 { margin-top: 30px; }
  .badge { display: none; }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px; padding: var(--gutter);
    background: #fff; color: #000; font-size: clamp(44px, 13vw, 72px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.04em;
    clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease);
  }
  .main-nav.is-open { clip-path: inset(0); }
  .menu-toggle { display: block; padding: 0; border: 0; background: none; color: inherit; font: 600 15px var(--display); text-transform: uppercase; cursor: pointer; }
  .header-clock { display: none; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-photo { width: 96px; }
  .hero-stage { min-height: 300px; }
  .job a { grid-template-columns: 1fr auto; grid-template-areas: "when arrow" "name arrow" "role arrow"; }
  .job-when { padding-top: 0; margin-bottom: 8px; }
  .hover-preview { display: none; }
  .float-a { left: 2%; top: -6%; }
  .float-b { right: 2%; bottom: -8%; }
  .float-ui { font-size: 13px; padding: 10px 14px; }
  .site-head { display: none; }
  .site-row { grid-template-columns: 1fr auto; grid-template-areas: "idx arrow" "name name" "thumb thumb" "type co"; row-gap: 10px; }
  .site-idx { grid-area: idx; }
  .site-name { grid-area: name; }
  .site-type { grid-area: type; color: var(--muted); }
  .site-co { grid-area: co; justify-self: end; color: var(--muted); }
  .site-arrow { grid-area: arrow; font-size: 28px; }
  .site-thumb { grid-area: thumb; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
  .site-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .site-footer { flex-direction: column; }
}
