:root {
  color-scheme: light;
  --ink: #111214;
  --ink-soft: #292b2f;
  --muted: #484c50;
  --quiet: #62676a;
  --line: #d9dcd6;
  --line-soft: #e9ebe6;
  --paper: #fff;
  --surface: #f7f7f4;
  --yellow: #ffe600;
  --radius: 17px;
  --card-hover-border: #b9bdb4;
  --shadow-rest: inset 0 1px 0 rgba(255,255,255,.95), 0 5px 16px rgba(17,18,20,.04);
  --card-hover-shadow: inset 0 1px 0 #fff, 0 18px 36px rgba(17,18,20,.085), 0 4px 10px rgba(17,18,20,.035);
  --max: 1160px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.62; font-kerning: normal; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #cfaa00; outline-offset: 4px; border-radius: 4px; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #cfaa00; outline-offset: 3px; }
video:focus-visible, summary:focus-visible { outline: 3px solid #cfaa00; outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--yellow); font-weight: 700; }
.skip:focus { top: 12px; }

.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,.96); box-shadow: 0 4px 18px rgba(17,18,20,.035); backdrop-filter: blur(18px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; font-weight: 760; letter-spacing: -.035em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 0 #d3d4cf, 0 5px 12px rgba(17,18,20,.12); }
.brand-slash { color: #85878a; font-weight: 400; margin: 0 2px; }
.navlinks { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: .91rem; font-weight: 650; }
.navlinks a { text-decoration: none; transition: color .18s ease; }
.navlinks a:not(.nav-cta):not(.resume-download):hover, .navlinks [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 7px; }
.resume-download { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 7px 12px; border: 1px solid #b8a700; border-radius: 9px; background: #fffbe0; color: var(--ink); font-weight: 750; white-space: nowrap; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #e3e0c8; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.resume-download:hover { background: var(--yellow); border-color: #958800; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 0 #d2c451; text-decoration: none; }
.resume-download span { font-size: 1.1em; line-height: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 13px; border: 1px solid var(--ink); border-radius: 9px; background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #d1d2cd; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.nav-cta:hover { background: #2b2c30; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 5px 0 #c7c9c3; }
.nav-cta .arrow { width: 15px; height: 15px; }

.eyebrow, .small-label { font-size: .75rem; font-weight: 700; letter-spacing: .085em; text-transform: lowercase; color: var(--quiet); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px #d9c200; }
.arrow { display: inline-block; flex: 0 0 auto; width: 19px; height: 19px; background: currentColor; -webkit-mask: url('/assets/icons/iconoir-arrow-up-right.svg') center / contain no-repeat; mask: url('/assets/icons/iconoir-arrow-up-right.svg') center / contain no-repeat; }
.arrow-right { -webkit-mask-image: url('/assets/icons/iconoir-arrow-right.svg'); mask-image: url('/assets/icons/iconoir-arrow-right.svg'); }

.hero { position: relative; overflow: hidden; padding: 94px 0 84px; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; right: -130px; bottom: -200px; width: 380px; height: 380px; border: 1px solid #e6e6e2; border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(3.5rem, 7vw, 6.45rem); letter-spacing: -.073em; line-height: 1.03; margin: 22px 0 25px; }
.highlight { box-shadow: inset 0 -.18em var(--yellow); }
.lede { max-width: 58ch; margin: 0; color: var(--ink-soft); font-size: clamp(1.13rem, 2vw, 1.35rem); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 17px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 0 #d1d2cd; text-decoration: none; font-size: .92rem; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button.alt { background: #fffbe0; color: var(--ink); border-color: #b8a700; box-shadow: inset 0 1px 0 #fff, 0 3px 0 #e3e0c8; }
.button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 6px 0 #d1d2cd; }
.button.alt:hover { background: var(--yellow); border-color: #958800; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 0 #d2c451; }

.identity { position: relative; overflow: hidden; padding: 27px 27px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, #fbfbf8, var(--surface)); box-shadow: inset 0 1px 0 #fff, 0 18px 40px rgba(17,18,20,.065), 0 3px 8px rgba(17,18,20,.025); }
.identity::before { content: ""; position: absolute; top: 13px; left: 27px; width: 38px; height: 3px; border-radius: 99px; background: var(--yellow); }
.identity-top { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.identity-top img { width: 41px; height: 41px; border-radius: 9px; }
.identity-top strong { display: block; line-height: 1.25; letter-spacing: -.02em; }
.identity-top small { display: block; color: var(--quiet); font-size: .75rem; }
.identity dl { margin: 0; }
.identity dt { margin-top: 18px; color: var(--quiet); font-size: .72rem; font-weight: 650; letter-spacing: .075em; text-transform: lowercase; }
.identity dd { margin: 3px 0 0; font-weight: 650; line-height: 1.45; }

.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section.soft { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section h2 { margin: 11px 0 14px; font-size: clamp(2.05rem, 3.4vw, 2.9rem); line-height: 1.12; letter-spacing: -.048em; }
.section-head p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: .9fr 1.8fr; gap: clamp(34px, 6vw, 78px); }
.prose { max-width: 72ch; }
.prose p { margin: 0 0 19px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { font-weight: 650; }
.prose h3 { margin: 32px 0 8px; font-size: 1.35rem; letter-spacing: -.025em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.text-link:hover { border-bottom-color: var(--ink); }
.text-link .arrow { width: 16px; height: 16px; }

.reel-feature { margin-top: 64px; scroll-margin-top: 96px; }
.reel-player { position: relative; padding: 8px; border: 1px solid #cdd1ca; border-radius: 22px; background: #fdfdfa; box-shadow: inset 0 1px 0 #fff, 0 22px 48px rgba(17,18,20,.095), 0 5px 12px rgba(17,18,20,.035); }
.reel-player::before { content: ""; position: absolute; inset: 4px; z-index: 1; border: 1px solid rgba(17,18,20,.08); border-radius: 18px; pointer-events: none; }
.reel-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid #26282a; border-radius: 14px; background: #151618; object-fit: cover; }
.reel-play { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 100px; height: 100px; padding: 0 0 0 5px; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.84); border-radius: 50%; background: rgba(255,255,255,.76); color: #141518; box-shadow: 0 0 0 10px rgba(255,255,255,.10), 0 18px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.9); backdrop-filter: blur(12px); cursor: pointer; opacity: .88; transition: opacity .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.reel-play:hover { transform: translate(-50%, -50%) scale(1.07); background: rgba(255,255,255,.94); box-shadow: 0 0 0 12px rgba(255,255,255,.16), 0 22px 48px rgba(0,0,0,.3), inset 0 1px 0 #fff; opacity: 1; }
.reel-play:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.reel-play[hidden] { display: none; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card { position: relative; display: flex; flex-direction: column; min-height: 312px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #fff, #fdfdfa); box-shadow: var(--shadow-rest); text-decoration: none; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.project-card:hover, .project-card:focus-visible { transform: translateY(-3px); border-color: var(--card-hover-border); box-shadow: var(--card-hover-shadow); }
.project-card:focus-visible { border-radius: var(--radius); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.brand-tile { display: grid; place-items: center; flex: 0 0 auto; width: 65px; height: 65px; overflow: hidden; border: 1px solid #e1e4dd; border-radius: 14px; background: #fff; box-shadow: inset 0 1px 0 #fff, 0 3px 0 #e7e9e3, 0 7px 15px rgba(17,18,20,.04); }
.brand-tile img { width: 49px; height: 49px; object-fit: contain; }
.brand-tile--seo { background: #f5f8f5; }
.brand-tile--outclaw { background: #eef8fe; }
.brand-tile--outclaw img { width: 46px; height: 46px; image-rendering: auto; }
.brand-tile--distro { background: #12151c; }
.brand-tile--distro img { width: 62px; height: 62px; }
.brand-tile--book { background: #fff9cf; }
.brand-tile--book img { width: 38px; height: 34px; }
.card-index { display: inline-flex; align-items: center; gap: 9px; color: #777b79; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .78rem; }
.card-index::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px #d9c200; }
.domain { display: block; margin-top: 22px; color: var(--quiet); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .77rem; }
.project-card h3 { margin: 6px 0 7px; font-size: 1.46rem; line-height: 1.2; letter-spacing: -.04em; }
.project-card p { margin: 0 0 24px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line-soft); font-size: .87rem; font-weight: 700; }
.card-foot .arrow { width: 18px; height: 18px; transition: transform .2s ease; }
.project-card:hover .card-foot .arrow, .project-card:focus-visible .card-foot .arrow { transform: translate(2px,-2px); }
.note { max-width: 78ch; margin: 23px 0 0; padding-left: 16px; border-left: 3px solid var(--yellow); color: var(--muted); font-size: .9rem; }

.link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-link { display: flex; align-items: center; gap: 15px; min-height: 83px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #fff, #fdfdfa); box-shadow: var(--shadow-rest); text-decoration: none; transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease; }
.profile-link:hover, .profile-link:focus-visible { transform: translateY(-2px); border-color: var(--card-hover-border); box-shadow: var(--card-hover-shadow); }
.profile-link:focus-visible { border-radius: 14px; }
.profile-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid #e3e4df; border-radius: 11px; background: var(--surface); }
.profile-icon img { width: 23px; height: 23px; object-fit: contain; }
.profile-icon--logo img { width: 33px; height: 33px; }
.profile-icon--outclaw { background: #eef8fe; }
.profile-icon--book { background: #fff9cf; border-color: #eee5a7; }
.profile-icon--book img { width: 27px; height: 24px; }
.profile-icon--distro { background: #151821; }
.profile-icon--distro img { width: 42px; height: 42px; }
.profile-copy { min-width: 0; }
.profile-copy strong { display: block; overflow-wrap: anywhere; font-size: .93rem; line-height: 1.25; }
.profile-copy small { display: block; margin-top: 3px; color: var(--quiet); font-size: .77rem; }
.profile-link > .arrow { margin-left: auto; color: #76797a; width: 17px; height: 17px; transition: color .24s ease, transform .24s ease; }
.profile-link:hover > .arrow, .profile-link:focus-visible > .arrow { color: var(--ink); transform: translate(2px,-2px); }

.contact-section { background: var(--surface); scroll-margin-top: 76px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(36px, 7vw, 108px); }
.contact-copy { max-width: 48ch; }
.contact-copy > p { margin: 0 0 16px; color: var(--muted); font-size: 1.06rem; }
.contact-form { position: relative; display: grid; gap: 20px; padding: clamp(24px, 3.5vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: inset 0 1px 0 #fff, 0 22px 48px rgba(17,18,20,.08), 0 4px 12px rgba(17,18,20,.025); }
.contact-form::before { content: ""; position: absolute; top: 13px; left: clamp(24px, 3.5vw, 38px); width: 38px; height: 3px; border-radius: 99px; background: var(--yellow); }
.contact-form label { display: grid; gap: 7px; font-size: .85rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #c7cbc3; border-radius: 9px; background: #fdfdfc; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 400; line-height: 1.5; box-shadow: inset 0 1px 2px rgba(17,18,20,.035); transition: border-color .18s ease, box-shadow .18s ease; }
.contact-form input:hover, .contact-form textarea:hover { border-color: #999c95; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #867400; box-shadow: 0 0 0 3px rgba(255,230,0,.22); }
.contact-form textarea { min-height: 146px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-actions .button { cursor: pointer; font-family: inherit; }
.form-actions small { max-width: 28ch; color: var(--quiet); font-size: .77rem; line-height: 1.4; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.thanks-page { min-height: min(65vh, 600px); display: grid; align-items: center; }
.thanks-card { position: relative; max-width: 720px; padding: clamp(32px, 6vw, 64px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-rest), 0 20px 45px rgba(17,18,20,.055); }
.thanks-card::before { content: ""; position: absolute; top: 14px; left: clamp(32px, 6vw, 64px); width: 38px; height: 3px; border-radius: 99px; background: var(--yellow); }
.thanks-card h1 { margin: 12px 0 14px; font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.07; letter-spacing: -.06em; }
.thanks-card p { max-width: 52ch; margin: 0 0 26px; color: var(--muted); font-size: 1.08rem; }

.footer { padding: 32px 0 45px; background: #fdfdfa; color: var(--muted); font-size: .85rem; }
.footgrid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footgrid nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footgrid a { text-decoration: none; }
.footgrid a:not(.resume-download):hover { text-decoration: underline; }
.breadcrumbs { margin: 35px 0 0; color: var(--quiet); font-size: .82rem; }
.breadcrumbs a { color: var(--muted); }
.page-intro { padding: 48px 0 62px; }
.page-intro h1 { margin: 15px 0 20px; font-size: clamp(2.85rem, 5vw, 4.9rem); line-height: 1.06; letter-spacing: -.067em; }
.page-intro p { max-width: 64ch; margin: 0; color: var(--muted); font-size: 1.13rem; }
.fact-table { margin: 0; border-top: 1px solid var(--line); }
.fact-row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact-row dt { color: var(--quiet); font-size: .85rem; font-weight: 650; }
.fact-row dd { margin: 0; overflow-wrap: anywhere; }
.project-list { display: grid; gap: 13px; }
.project-item { position: relative; display: grid; grid-template-columns: 70px minmax(170px, .9fr) minmax(0, 1.7fr) auto; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #fff, #fdfdfa); box-shadow: var(--shadow-rest); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.project-item:hover, .project-item:focus-within { transform: translateY(-2px); border-color: var(--card-hover-border); box-shadow: var(--card-hover-shadow); }
.project-item:focus-within { outline: 3px solid #cfaa00; outline-offset: 3px; }
.project-item h2 { margin: 4px 0 0; font-size: 1.27rem; letter-spacing: -.03em; }
.project-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.project-item a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .88rem; font-weight: 700; text-decoration: none; }
.project-item a::after { content: ""; position: absolute; inset: 0; }
.project-item a:hover { text-decoration: underline; }
.project-item a .arrow { width: 16px; height: 16px; transition: transform .24s ease; }
.project-item:hover a .arrow, .project-item:focus-within a .arrow { transform: translate(2px,-2px); }

@media (max-width: 900px) {
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .identity { max-width: 560px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-item { grid-template-columns: 65px 1fr auto; }
  .project-item p { grid-column: 2 / -1; }
}
@media (max-width: 650px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .nav { align-items: flex-start; flex-wrap: wrap; min-height: 0; padding: 14px 0 12px; gap: 12px; }
  .navlinks { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px 12px; font-size: .8rem; }
  .navlinks .resume-download { min-height: 35px; padding: 6px 9px; }
  .nav-cta { min-height: 35px; padding: 6px 9px; }
  .hero { padding: 56px 0 59px; }
  .hero::after { display: none; }
  .hero h1 { font-size: clamp(3.1rem, 11vw, 4.2rem); }
  .section { padding: 59px 0; }
  .reel-feature { margin-top: 44px; }
  .reel-player { padding: 5px; border-radius: 15px; }
  .reel-player::before { inset: 3px; border-radius: 12px; }
  .reel-player video { border-radius: 10px; }
  .reel-play { width: 72px; height: 72px; }
  .reel-play svg { width: 36px; height: 36px; }
  .grid, .link-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-section { scroll-margin-top: 120px; }
  .project-card { min-height: 285px; }
  .fact-row { grid-template-columns: 1fr; gap: 2px; }
  .page-intro { padding: 36px 0 48px; }
  .project-item { grid-template-columns: 56px 1fr; gap: 14px; padding: 17px; }
  .project-item .brand-tile { width: 56px; height: 56px; }
  .project-item p, .project-item a { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
