@import url('/assets/fonts.css');

:root {
  color-scheme: dark;
  --bg: #090b0e;
  --text: #ebf3f5;
  --muted: #a5b7bd;
  --line: rgba(171, 213, 222, .16);
  --cyan: #49d9e8;
  --pink: #e53cda;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 0; min-height: 100vh; margin: 0; color: var(--text); background: var(--bg); font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; hyphens: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 40; top: -100px; left: 12px; padding: 9px 13px; border-radius: 4px; color: #061015; background: var(--cyan); font-weight: 700; }
.skip-link:focus { top: 10px; }
.cursor-glow { position: fixed; z-index: 30; top: 0; left: 0; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(73, 217, 232, .075), rgba(73, 217, 232, .024) 44%, transparent 72%); transform: translate3d(-500px, -500px, 0); transition: opacity .25s ease; will-change: transform; }
.cursor-glow.visible { opacity: 1; }

.topbar { position: relative; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.065); background: rgba(8, 10, 14, .85); }
.topbar-inner { width: min(calc(100% - 52px), 1210px); min-height: 80px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topbar-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #e7f3f6; text-decoration: none; }
.topbar-brand img { display: block; width: 34px; height: 34px; flex: none; object-fit: contain; }
.topbar-brand span { font: 500 .76rem/1 Orbitron, ui-monospace, monospace; letter-spacing: .12em; white-space: nowrap; }
.topbar-brand b { font-weight: 500; background: linear-gradient(100deg, var(--cyan), var(--pink)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.35vw, 31px); }
.desktop-nav a { color: #acbac3; font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--cyan); }
.desktop-nav .nav-os { color: #bdeef1; }
.desktop-nav .nav-os span { color: var(--pink); }
.desktop-nav .lang-link { padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; color: #deeaee; font: 600 .71rem Orbitron, monospace; }
.small-actions { display: none; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1700px; min-height: min(680px, calc(100svh - 82px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
.hero-copy { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px clamp(40px, 5.6vw, 96px) 94px clamp(34px, 7.2vw, 120px); }
.hero-copy > .hero-folio { max-width: none; margin: 0 0 clamp(34px, 4vw, 60px); }
.eyebrow { margin: 0 0 27px; color: #9ce9ef; font: 600 clamp(11px, 1vw, 13px)/1.75 'IBM Plex Mono', ui-monospace, monospace; text-transform: uppercase; letter-spacing: .11em; }
.hero-copy h1 { max-width: 780px; margin: 0; font-size: clamp(42px, 5.15vw, 82px); line-height: 1.08; font-weight: 300; letter-spacing: -.075em; text-wrap: balance; }
.hero-copy h1 .accent-stop { color: #e53cda; }
.hero-copy > p:not(.eyebrow):not(.hero-folio) { max-width: 39ch; margin: 29px 0 0; color: #b7c7cd; font-size: clamp(18px, 1.45vw, 21px); font-weight: 300; line-height: 1.6; letter-spacing: -.018em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 30px; margin-top: 43px; }
.hero-actions a { font-size: .85rem; font-weight: 600; text-decoration: none; }
.primary-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 20px; border: 1px solid rgba(73, 217, 232, .65); color: #dbfbfd; background: rgba(18, 87, 100, .14); transition: background .2s ease, border-color .2s ease; }
.primary-link:hover { background: rgba(37, 133, 148, .23); border-color: var(--cyan); }
.secondary-link { color: #9bb0b8; }
.secondary-link:hover { color: var(--cyan); }
.identity-scene {
  position: relative;
  min-width: 0;
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 58px clamp(34px, 4.8vw, 78px) 72px;
  border-left: 1px solid rgba(171, 213, 222, .16);
  background: #0c151b;
}
.identity-scene::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(106%, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(90, 221, 231, .18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.architecture-plate { --light-x: 50%; --light-y: 51%; position: relative; z-index: 1; width: min(92%, 510px); aspect-ratio: 1; background: rgba(7, 20, 27, .2); }
.architecture-study { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.architecture-study-bright { opacity: .95; filter: brightness(1.65) saturate(1.35) drop-shadow(0 0 7px rgba(73, 217, 232, .28)); -webkit-mask-image: radial-gradient(circle 126px at var(--light-x) var(--light-y), #000 12%, transparent 100%); mask-image: radial-gradient(circle 126px at var(--light-x) var(--light-y), #000 12%, transparent 100%); }
.architecture-light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 130px at var(--light-x) var(--light-y), rgba(75, 230, 241, .07), transparent 90%); }
.architecture-caption { position: absolute; z-index: 2; right: 8%; bottom: 33px; left: 8%; margin: 0; color: #b8d4d8; font: 500 .75rem/1.4 Inter, ui-sans-serif, sans-serif; letter-spacing: .025em; text-align: center; }
.architecture-caption span { padding-inline: 6px; color: var(--pink); }
.hero-edge { position: absolute; z-index: 3; bottom: 20px; left: clamp(34px, 7.2vw, 120px); right: clamp(34px, 7.2vw, 120px); display: flex; justify-content: flex-end; gap: 20px; color: #66838c; font: 600 .61rem/1.5 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .11em; }

.section-inner { width: min(calc(100% - clamp(68px, 14.4vw, 240px)), 1200px); margin-inline: auto; }
.work { padding-block: 102px 116px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 32px; }
.section-head h2, .method h2, .campaign h2, .closing h2 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.16; font-weight: 300; letter-spacing: -.06em; text-wrap: balance; }
.work-context { max-width: 72ch; margin: -8px 0 30px; color: #a5b8c0; font-size: .93rem; line-height: 1.72; }
.area-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.area-jump a { display: inline-flex; align-items: center; gap: 12px; min-height: 34px; padding: 5px 11px; border: 1px solid rgba(171, 213, 222, .15); border-radius: 3px; color: #aac4cd; background: rgba(13, 29, 36, .32); font-size: .73rem; line-height: 1.45; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.area-jump a:hover { border-color: rgba(85, 229, 237, .45); color: #e5fbfb; }
.area-jump span { color: var(--pink); }
.work-list { border-top: 1px solid var(--line); }
.work-group { padding-block: 38px 47px; border-bottom: 1px solid var(--line); scroll-margin-top: 28px; }
.group-head { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 19px; }
.row-number { padding-top: 6px; color: #75b5bf; font: 600 .69rem/1.5 'IBM Plex Mono', ui-monospace, monospace; }
.group-head h3 { margin: 0 0 8px; color: #e8f0f2; font-size: clamp(1.35rem, 2.25vw, 1.9rem); line-height: 1.3; font-weight: 300; letter-spacing: -.045em; }
.group-head h3::after { content: ""; display: inline-block; width: 8px; height: 3px; margin-left: .38em; vertical-align: .2em; background: var(--pink); box-shadow: 0 0 9px rgba(229, 60, 218, .4); transition: width .3s ease, box-shadow .3s ease; }
.work-group:hover .group-head h3::after, .work-group:focus-within .group-head h3::after { width: 26px; box-shadow: 0 0 14px rgba(229, 60, 218, .75); }
@media (prefers-reduced-motion: reduce) { .group-head h3::after { transition: none; } }
.group-head p { max-width: 720px; margin: 0; color: #a5b8c0; font-size: .93rem; line-height: 1.72; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 33px; margin: 24px 0 0 57px; padding: 0; list-style: none; }
.service-list li { min-width: 0; padding-block: 16px 18px; border-top: 1px solid rgba(171, 213, 222, .12); }
.service-list h4 { margin: 0 0 5px; color: #b9f0f1; font-size: .94rem; line-height: 1.45; font-weight: 600; letter-spacing: -.012em; }
.service-list p { margin: 0; color: #93a7b0; font-size: .84rem; line-height: 1.66; }
.work-interlude { position: relative; height: clamp(180px, 23vw, 270px); margin: 29px 0 13px; overflow: hidden; border: 1px solid rgba(88, 173, 187, .24); background: #0b171e; }
.work-interlude::before, .work-interlude::after { content: ""; position: absolute; z-index: 1; width: 35px; height: 1px; pointer-events: none; }
.work-interlude::before { top: -1px; left: 0; background: var(--cyan); box-shadow: 0 0 16px rgba(73, 217, 232, .7); }
.work-interlude::after { right: 0; bottom: 0; background: var(--pink); box-shadow: 0 0 16px rgba(229, 60, 218, .7); }
.work-interlude img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.work-interlude picture { display: block; width: 100%; height: 100%; }
.work-interlude--stage img { object-position: center 54%; }

.work-tail { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; padding-top: 25px; }
.work-tail p { max-width: 63ch; margin: 0; color: #a5b8c0; font-size: .9rem; line-height: 1.7; }
.work-tail a { flex: none; }
.text-link { color: #aef1f2; font-size: .91rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.method { padding-block: 97px 104px; border-top: 1px solid var(--line); }
.method-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(230px, .65fr); gap: clamp(36px, 8vw, 112px); align-items: start; }
.method h2 { max-width: 500px; }
.method p:not(.eyebrow) { max-width: 560px; margin: 17px 0 0; color: #93a8b0; font-size: .95rem; line-height: 1.7; }
.method ol { margin: 5px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method li { display: flex; align-items: baseline; gap: 16px; padding-block: 15px; border-bottom: 1px solid var(--line); color: #d7e5e8; font-size: .91rem; }
.method li span { color: #60929d; font: 600 .68rem 'IBM Plex Mono', ui-monospace, monospace; }

.campaign { position: relative; border-block: 1px solid var(--line); background: linear-gradient(115deg, rgba(11, 29, 37, .66), rgba(25, 12, 31, .52)); }
.campaign::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(74, 220, 228, .42), rgba(240, 100, 230, .38), transparent); }
.campaign-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 51px 54px; }
.campaign .eyebrow { margin-bottom: 12px; }
.campaign h2 { font-size: clamp(1.55rem, 3.1vw, 2.4rem); }
.campaign p:not(.eyebrow) { margin: 9px 0 0; color: #abbcc5; font-size: .94rem; }
.campaign a { flex: none; color: #adf2f5; font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.campaign a:hover { text-decoration: underline; text-underline-offset: 5px; }
.closing { background: rgba(11, 22, 29, .33); }
.closing-inner { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 22px 35px; padding-block: 70px 79px; }
.closing a { color: var(--cyan); font-size: clamp(.95rem, 2.2vw, 1.14rem); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.closing a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 25px; padding-block: 29px 37px; color: #718b95; font-size: .77rem; }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 25px; }
.footer a { color: #91aab3; text-decoration: none; }
.footer a:hover { color: var(--cyan); }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .small-actions { display: flex; align-items: center; gap: 10px; }
  .small-os, .small-lang { padding: 7px 10px; border: 1px solid rgba(89, 228, 236, .28); border-radius: 4px; color: #a8f3f5; font: 600 .68rem Orbitron, monospace; text-decoration: none; white-space: nowrap; }
  .small-lang { border-color: var(--line); color: #deeaee; }
  .mobile-nav { position: relative; }
  .mobile-nav summary { min-height: 36px; display: grid; place-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; color: #d6e8eb; font-size: .72rem; font-weight: 600; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: grid; gap: 2px; width: min(245px, calc(100vw - 28px)); padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: #101b22; box-shadow: 0 24px 50px rgba(0,0,0,.48); }
  .mobile-nav nav a { padding: 8px 10px; color: #d0e4e8; font-size: .82rem; text-decoration: none; }
  .mobile-nav nav a:hover, .mobile-nav nav a[aria-current="page"] { color: var(--cyan); background: rgba(91, 222, 231, .07); }
  .hero-copy { padding-left: clamp(32px, 5vw, 64px); padding-right: 30px; }
  .hero-copy h1 { font-size: clamp(40px, 5.3vw, 58px); }
  .architecture-plate { width: min(96%, 470px); }
}
@media (max-width: 760px) {
  .topbar-inner { min-height: 67px; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 32px 58px; }
  .hero-copy h1 { max-width: 650px; font-size: clamp(38px, 7.5vw, 58px); }
  .hero-copy > p:not(.eyebrow):not(.hero-folio) { max-width: 54ch; font-size: 18px; }
  .identity-scene { min-height: 560px; padding: 30px 32px 55px; border-left: 0; border-top: 1px solid var(--line); }
  .architecture-plate { width: min(80%, 440px); }
  .architecture-caption { bottom: 28px; }
  .hero-edge { bottom: 17px; }
  .section-head { align-items: start; flex-direction: column; gap: 15px; }
  .work { padding-block: 73px 83px; }
  .group-head { grid-template-columns: 35px minmax(0, 1fr); gap: 13px; }
  .service-list { margin-left: 48px; gap: 0 20px; }
  .work-tail { align-items: start; flex-direction: column; }
  .method { padding-block: 70px 77px; }
  .method-inner { grid-template-columns: 1fr; gap: 25px; }
  .campaign-inner { align-items: start; flex-direction: column; gap: 18px; padding-block: 43px 47px; }
}
@media (max-width: 560px) {
  .identity-scene { min-height: 470px; }
  .architecture-plate { width: min(84%, 370px); }
  .work-interlude { height: 190px; }
  .work-interlude--stage img { object-position: 68% center; }
  .work-interlude:not(.work-interlude--stage) img { object-position: 78% center; }
  .service-list { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .hero-copy > .hero-folio { margin-bottom: 30px; font-size: 9px; }
  .topbar-inner { width: min(calc(100% - 28px), 1210px); }
  .section-inner { width: calc(100% - 48px); }
  .topbar-brand { gap: 6px; }
  .topbar-brand img { width: 27px; height: 27px; }
  .topbar-brand span { font-size: .58rem; letter-spacing: .04em; }
  .small-actions { gap: 5px; }
  .small-os { display: none; }
  .small-lang, .mobile-nav summary { padding: 5px 7px; font-size: .62rem; }
  .hero-copy { padding: 29px 24px 47px; }
  .hero-copy h1 { font-size: clamp(31px, 8.2vw, 38px); line-height: 1.11; letter-spacing: -.065em; }
  .hero-copy > p:not(.eyebrow):not(.hero-folio) { margin-top: 22px; font-size: 15px; line-height: 1.55; }
  .hero-actions { gap: 12px 18px; margin-top: 27px; }
  .hero-actions a { font-size: .77rem; }
  .primary-link { min-height: 43px; padding-inline: 14px; }
  .identity-scene { min-height: 360px; padding: 12px 16px 47px; }
  .architecture-plate { width: min(94%, 282px); }
  .work-interlude { height: 150px; margin-block: 20px 7px; }
  .architecture-caption { right: 3%; bottom: 20px; left: 3%; font-size: .61rem; letter-spacing: 0; }
  .architecture-caption span { padding-inline: 3px; }
  .hero-edge { left: 24px; right: 24px; }
  .hero-edge { display: none; }
  .section-head h2, .method h2, .campaign h2, .closing h2 { font-size: 1.68rem; }
  .area-jump { gap: 6px; }
  .area-jump a { font-size: .68rem; padding-inline: 9px; }
  .work-group { padding-block: 30px 34px; }
  .group-head { grid-template-columns: 1fr; gap: 5px; }
  .row-number { padding-top: 0; }
  .group-head h3 { font-size: 1.22rem; overflow-wrap: break-word; }
  .group-head p { font-size: .86rem; }
  .service-list { grid-template-columns: 1fr; margin-left: 0; margin-top: 21px; }
  .service-list h4 { font-size: .9rem; }
  .service-list p { font-size: .81rem; }
  .footer-inner { padding-block: 25px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .desktop-nav a, .primary-link, .area-jump a { transition: none; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow, .architecture-study-bright, .architecture-light { display: none; }
  .architecture-study:not(.architecture-study-bright) { filter: brightness(1.12); }
}
