@font-face {
  font-family: Clash;
  src: url("./clash-display-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Clash;
  src: url("./clash-display-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("./dm-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("./dm-sans-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #11130f;
  --ink: #f2f0e7;
  --quiet: #b8bcb0;
  --line: #454b3d;
  --accent: #f29a76;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.55 DM, system-ui, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body { overflow-wrap: break-word; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .18s, text-shadow .18s; }
a:hover, summary:hover { color: #fffdf4; text-shadow: 0 0 .65em #fffff32b; }
button, summary { font: inherit; cursor: pointer; }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { color: #17150f; background: #edaa88; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 14px; left: 24px; z-index: 200; padding: 8px 14px; background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }

/* A single field holds the project artwork throughout the story. */
.visual-stage { position: absolute; inset: 0 0 auto; height: 100svh; overflow: hidden; pointer-events: none; background: #11130f; perspective: 1400px; }
.motion-ready .visual-stage { position: fixed; height: 100svh; }
.work-world { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.art-plane { position: absolute; inset: auto; overflow: hidden; backface-visibility: hidden; transform-origin: center; box-shadow: 0 24px 65px #0004; background: #171f17; }
.art-plane img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.art-plane[data-art-type="catalog"] { background: #211b15; }
.art-plane[data-art-type="catalog"] img { object-position: 35% center; }
.art-plane[data-art-index="0"] { left: 57%; top: 12%; width: 39%; height: 43%; transform: translateZ(-60px) rotate(-8deg) rotateY(-7deg); }
.art-plane[data-art-index="0"] img { object-position: 50% 66%; }
.art-plane[data-art-index="1"] { left: 33%; top: 68%; width: 27%; height: 25%; transform: translateZ(140px) rotate(7deg); }
.art-plane[data-art-index="2"] { left: 6%; top: 13%; width: 18%; height: 18%; transform: translateZ(-80px) rotate(-7deg); }
.art-plane[data-art-index="3"] { left: 79%; top: 75%; width: 27%; height: 27%; transform: translateZ(95px) rotate(4deg); }
.art-plane[data-art-index="4"] { left: 32%; top: 9%; width: 23%; height: 24%; transform: translateZ(0) rotate(-4deg); }
.art-plane:nth-child(n+6) { left: 110%; top: 20%; width: 25%; height: 30%; opacity: 0; }
.art-plane[data-art-type="blog"] { background: #111210; }
.art-plane[data-art-type="blog"] img { filter: none; object-position: center; }
.stage-name { position: absolute; z-index: 2; left: 5.1%; top: 37%; width: 91%; font: 500 clamp(86px, 13.6vw, 232px)/1.05 Clash, sans-serif; letter-spacing: -.065em; white-space: nowrap; transform: translateZ(60px); color: var(--ink); }
.stage-name i { color: var(--accent); font-style: normal; }
.name-mask { display: block; overflow: hidden; margin-block: -.12em; padding-block: .12em; }
.name-word { display: block; }
.stage-shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, #0b100bed 0%, #0b100bd9 24%, #0b100b69 49%, transparent 77%), linear-gradient(0deg, #0b100bc7 0%, transparent 42%); opacity: .35; }
.stage-edge { position: absolute; inset: 0; z-index: 4; background: linear-gradient(180deg, #10140eda, transparent 19%, transparent 85%, #10140e3b); }

.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 100; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 16px clamp(24px, 5.1vw, 84px); background: linear-gradient(180deg, #11130f 80%, #11130f00); }
.monogram { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-weight: 700; font-size: 20px; letter-spacing: -.07em; }
.monogram span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 16px; }
.main-nav > a, .work-menu summary { display: flex; align-items: center; min-height: 44px; }
.work-menu { position: relative; }
.work-menu summary { list-style: none; gap: 9px; }
.work-menu summary::-webkit-details-marker { display: none; }
.work-menu-panel { position: absolute; left: -14px; right: auto; top: 100%; width: 174px; padding: 6px 0; background: var(--paper); border: 0; box-shadow: 0 10px 22px #0003; transform-origin: top; }
.work-menu[open] .work-menu-panel { animation: menu-drop .16s ease-out both; }
.work-menu-panel > a { display: flex; align-items: center; min-height: 40px; padding: 8px 14px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.work-menu-panel > a:hover { color: #fffdf4; }
@keyframes menu-drop { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.intro-scene { position: relative; min-height: 100svh; }
.intro-role { position: absolute; z-index: 5; left: 6.3%; top: 65%; max-width: 33ch; font-size: 18px; line-height: 1.55; }
.intro-role span { display: block; color: var(--quiet); }
.intro-action { position: absolute; z-index: 5; left: 6.3%; bottom: 7%; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 52px; color: #d0d4c5; }
.scroll-cue svg { width: 28px; height: 42px; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; animation: scroll-invitation 2.8s ease-in-out infinite; }
.scroll-cue:hover svg, .scroll-cue:focus-visible svg { animation: none; opacity: 1; }
@keyframes scroll-invitation { 0%, 100% { opacity: .3; transform: translateY(-3px); } 50% { opacity: .78; transform: translateY(4px); } }
.project-group { position: relative; }
.project-scene { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 110svh; padding: 110px 6.3% 130px; scroll-margin-top: -86px; }
.project-scene::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(90deg, #11130f, #11130f70 60%, transparent); }
.motion-ready .project-scene::before { display: none; }
.scene-fallback { position: absolute; z-index: -1; top: 0; right: 0; width: 70%; height: 100%; object-fit: cover; opacity: .52; }
.scene-catalog .scene-fallback { object-position: 35% center; }
.motion-ready .scene-fallback { display: none; }
.scene-copy { position: relative; z-index: 5; width: min(660px, 52%); }
.tools { max-width: 52ch; margin-bottom: 22px; color: #c1c9b9; font-size: 15px; line-height: 1.5; }
.skill { display: inline-block; }
.scene-copy h2 { font: 500 clamp(48px, 6.2vw, 95px)/1.02 Clash, sans-serif; letter-spacing: -.045em; max-width: 12ch; }
.scene-copy h2 .title-detail { display: block; margin-top: 14px; font-size: .48em; line-height: 1.12; letter-spacing: -.025em; max-width: 20ch; }
.purpose { margin-top: 27px; max-width: 42ch; color: #cbd0c1; font-size: 20px; line-height: 1.5; }
.project-title { color: var(--ink); transition: color .3s ease, text-shadow .4s ease; }
.project-title:hover, .project-title:focus-visible { color: #fff9ec; text-shadow: 0 0 .18em #fff5df30, 0 0 .7em #f4ad8a20; }
.project-kind { display: block; margin-top: 29px; color: #a2ac97; font-size: 13px; }

/* A quiet, personal interlude after the work. */
.about { position: relative; z-index: 6; display: grid; grid-template-columns: .8fr 1.5fr; gap: 8vw; align-items: start; min-height: 100svh; padding: 150px 6.3% 130px; background: var(--paper); }
.about h2 { max-width: 7ch; font: 500 clamp(64px, 7vw, 108px)/1.04 Clash, sans-serif; letter-spacing: -.05em; }
.about h2 span { color: var(--accent); }
.about-copy { max-width: 57ch; }
.about-copy p { color: var(--quiet); font-size: 22px; line-height: 1.65; }
.about-copy p:first-child { color: var(--ink); }
.about-copy p + p { margin-top: 28px; }

.blog-wordmark { display: inline-flex; align-items: baseline; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 750; letter-spacing: -.055em; line-height: 1.08; white-space: nowrap; color: var(--ink); }
.blog-invert { display: inline-block; background: var(--ink); color: var(--paper); padding: 0 .08em .065em .025em; margin-left: .035em; line-height: .96; letter-spacing: -.055em; }
.scene-blog .scene-copy h2 { max-width: none; font-size: clamp(55px, 6.4vw, 100px); }
.art-plane[data-art-type="blog"] img, .scene-blog .scene-fallback { object-fit: contain; object-position: center; }

.contact { position: relative; z-index: 6; min-height: 100svh; padding: 100px 6.3% 0; background: #11130f; }
.contact-inner { width: min(1440px, 100%); margin-inline: auto; }
.contact-label { color: var(--quiet); font-size: 15px; }
.contact-title { display: inline-block; margin-block: 20px 24px; font: 500 clamp(80px, 14vw, 220px)/1.06 Clash, sans-serif; letter-spacing: -.06em; }
.contact-title span { color: var(--accent); }
.contact-details { display: flex; flex-wrap: wrap; gap: 15px 50px; margin-bottom: 70px; color: #c1c8b7; font-size: 18px; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 25px 40px; padding-block: 25px 30px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 30px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; }

@media (min-width: 1800px) {
  .scene-copy h2 { font-size: 105px; }
  .intro-role { font-size: 20px; }
}
@media (max-width: 1050px) {
  .scene-copy { width: 58%; }
  .scene-copy h2 { font-size: clamp(44px, 6.8vw, 69px); }
  .purpose { font-size: 19px; }
  .intro-role { top: 64%; font-size: 17px; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 76px; }
  .masthead { min-height: 76px; padding: 12px 20px; gap: 16px; }
  .main-nav { gap: 18px; font-size: 15px; }
  .monogram { font-size: 19px; }
  .work-menu-panel { left: -12px; right: auto; top: 100%; width: 166px; max-height: calc(100svh - 90px); overflow: auto; padding: 5px 0; }
  .work-menu-panel > a { min-height: 44px; font-size: 15px; padding: 9px 12px; }
  .stage-name { top: 31%; left: 6.3%; width: 88%; max-width: 9ch; white-space: normal; font-size: clamp(78px, 17.5vw, 132px); line-height: .97; letter-spacing: -.055em; }
  .stage-name .name-mask { overflow: hidden; }
  .art-plane[data-art-index="0"] { left: 53%; top: 13%; width: 56%; height: 28%; transform: translateZ(-35px) rotate(-7deg); }
  .art-plane[data-art-index="1"] { left: 44%; top: 74%; width: 48%; height: 21%; transform: translateZ(50px) rotate(8deg); }
  .art-plane[data-art-index="2"] { left: -10%; top: 18%; width: 37%; height: 15%; transform: translateZ(-30px) rotate(-7deg); }
  .art-plane[data-art-index="3"] { left: 81%; top: 58%; width: 40%; height: 22%; transform: translateZ(-20px) rotate(4deg); }
  .art-plane[data-art-index="4"] { left: 34%; top: 16%; width: 30%; height: 16%; transform: translateZ(0) rotate(-4deg); }
  .intro-role { left: 7%; top: 61%; max-width: 28ch; font-size: 17px; }
  .intro-action { left: 7%; bottom: 6%; font-size: 15px; }
  .stage-shade { background: linear-gradient(0deg, #0b100b 0%, #0b100be6 20%, #0b100b85 48%, transparent 80%); }
  .stage-edge { background: linear-gradient(180deg, #0b100bec, transparent 21%, transparent 85%, #0b100b55); }
  .project-scene { align-items: flex-start; min-height: 110svh; padding: 48svh 7% 75px; scroll-margin-top: -76px; }
  .scene-copy { width: 100%; max-width: 520px; }
  .tools { font-size: 14px; margin-bottom: 18px; }
  .scene-copy h2 { max-width: 14ch; font-size: clamp(42px, 10.6vw, 68px); line-height: 1.03; }
  .scene-copy h2 .title-detail { margin-top: 11px; font-size: .56em; }
  .scene-blog .scene-copy h2 { font-size: clamp(49px, 13.6vw, 76px); }
  .purpose { max-width: 33ch; font-size: 18px; margin-top: 22px; }
  .project-kind { margin-top: 23px; font-size: 13px; }
  .scene-fallback { top: 7%; width: 100%; height: 65%; opacity: .55; }
  .project-scene::before { inset: 25% 0 0; background: linear-gradient(0deg, #0b100b, #0b100b99 70%, transparent); }
  .motion-ready .project-scene::before { display: none; }
  .about { display: block; min-height: 100svh; padding: 100px 7% 90px; }
  .about h2 { max-width: none; font-size: clamp(58px, 11vw, 80px); margin-bottom: 38px; }
  .about-copy { max-width: 47ch; }
  .about-copy p { font-size: 18px; line-height: 1.65; }
  .about-copy p + p { margin-top: 24px; }
  .contact { padding: 75px 7% 0; min-height: 100svh; }
  .contact-title { font-size: clamp(70px, 22vw, 140px); margin-block: 20px; }
  .contact-details { flex-direction: column; gap: 7px; margin-bottom: 40px; font-size: 17px; }
  .footer-bottom { flex-direction: column; gap: 20px; font-size: 13px; padding-block: 25px; }
  .footer-bottom nav { gap: 25px; }
}
@media (max-width: 370px) {
  .main-nav { gap: 12px; }
  .intro-role { font-size: 16px; }
  .scene-copy h2 { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .scroll-cue svg { opacity: .65; }
}
