:root {
  --ink: #07191b;
  --ink-soft: #183034;
  --canvas: #e5e5e5;
  --card: #f9f9f9;
  --card-muted: #ededed;
  --text: #0d1314;
  --muted: #647073;
  --line: rgba(7,25,27,.11);
  --white-line: rgba(255,255,255,.95);
  --accent: #8ee6d4;
  --radius: 22px;
  --shadow: 0 10px 25px rgba(20,25,26,.14);
  --spring: cubic-bezier(.2,.85,.25,1);
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-rounded, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--canvas); }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button,input { font: inherit; }
button { color: inherit; }
::selection { color: white; background: var(--ink); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; color: white; background: var(--ink); border-radius: 10px; }
.skip-link:focus { transform: none; }
.noise { display: none; }
.section-shell { width: min(var(--max),calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; z-index: 50; top: 14px; left: 50%; width: min(var(--max),calc(100% - 28px)); min-height: 62px; display: flex; align-items: center; justify-content: space-between; transform: translateX(-50%); padding: 0 12px 0 18px; color: white; border: 2px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(7,25,27,.94); box-shadow: 0 8px 20px rgba(7,25,27,.14); transition: box-shadow .3s var(--spring),transform .3s var(--spring); }
.site-header.scrolled { box-shadow: 0 12px 30px rgba(7,25,27,.24); }
.brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); border: 2px solid rgba(255,255,255,.9); border-radius: 11px; background: var(--accent); font-weight: 850; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: 3px; }
nav a { padding: 11px 14px; color: rgba(255,255,255,.78); border-radius: 11px; text-decoration: none; font-size: 12px; font-weight: 600; transition: color .2s,background .2s,transform .3s var(--spring); }
nav a:hover,nav a:focus-visible { color: white; background: rgba(255,255,255,.1); transform: translateY(-1px); }
nav .nav-cta { color: var(--ink); background: white; }
nav .nav-cta:hover { color: var(--ink); background: var(--accent); }
.menu-button { display: none; padding: 9px 11px; color: white; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: transparent; }

.hero { min-height: 820px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 60px; align-items: center; padding-top: 130px; padding-bottom: 76px; }
.eyebrow { width: fit-content; display: flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 7px 11px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.58); font-size: 11px; font-weight: 650; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22aa79; box-shadow: 0 0 0 5px rgba(34,170,121,.12); animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.75); opacity: .65; } }
h1,h2,h3,p { overflow-wrap: break-word; }
h1,h2,h3 { margin-top: 0; letter-spacing: -.045em; }
h1 { margin-bottom: 0; font-size: clamp(58px,7.4vw,108px); line-height: .9; font-weight: 780; }
h1 em,h2 em { color: var(--ink); font-style: normal; }
.hero-lede { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px,1.7vw,21px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .35s var(--spring),box-shadow .35s var(--spring),background .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 9px 16px rgba(7,25,27,.12); }
.button-primary { color: white; border-color: var(--ink); background: var(--ink); }
.button-primary:hover { background: #102b2e; }
.button-quiet { background: rgba(255,255,255,.7); }
.hero-proof { display: flex; gap: 0; margin: 44px 0 0; padding: 0; overflow: hidden; border: 1px solid var(--white-line); border-radius: 16px; background: rgba(255,255,255,.46); list-style: none; box-shadow: 0 7px 18px rgba(20,25,26,.06); }
.hero-proof li { flex: 1; display: grid; gap: 4px; padding: 14px; border-right: 1px solid var(--line); }
.hero-proof li:last-child { border: 0; }
.hero-proof strong { font-size: 12px; }
.hero-proof span { color: var(--muted); font-size: 10px; }

.hero-console { position: relative; min-width: 0; overflow: hidden; border: 2px solid var(--white-line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); transition: transform .55s var(--spring),box-shadow .55s var(--spring); }
.hero-console:hover { transform: translateY(-7px); box-shadow: 0 18px 38px rgba(20,25,26,.18); }
.console-bar { height: 58px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--card-muted); }
.console-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c8ccca; }
.console-bar span:first-child { background: #f58a7d; }
.console-bar span:nth-child(2) { background: #f1c96b; }
.console-bar span:nth-child(3) { background: #7ad2a7; }
.console-bar p { margin: 0 0 0 auto; color: var(--muted); font: 11px ui-monospace,SFMono-Regular,Consolas,monospace; }
pre { margin: 0; overflow: auto; padding: clamp(26px,4vw,44px); color: #dfe8e6; background: var(--ink); font: clamp(12px,1.25vw,15px)/1.72 ui-monospace,SFMono-Regular,Consolas,monospace; }
.code-muted { color: #789091; }.code-blue { color: #8fc8e4; }.code-green { color: #9ce3bf; }.code-yellow { color: #f1d585; }
.console-status { display: flex; justify-content: space-between; padding: 16px 18px; color: var(--muted); border-top: 1px solid var(--line); background: white; font: 10px ui-monospace,SFMono-Regular,Consolas,monospace; }
.console-status span:first-child { color: #15865f; }
.orbit { display: none; }

.signal-strip { overflow: hidden; color: white; background: var(--ink); }
.ticker { width: max-content; display: flex; align-items: center; gap: 30px; padding: 16px 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; animation: ticker 28s linear infinite; }
.ticker i { color: var(--accent); font-style: normal; }
@keyframes ticker { to { transform: translateX(-25%); } }

.work,.services,.about,.process { padding-block: 128px; }
.section-heading { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; margin-bottom: 56px; }
.kicker { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h2 { margin-bottom: 0; font-size: clamp(48px,6.6vw,84px); line-height: .94; font-weight: 760; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.65; }
.section-heading code { padding: 2px 5px; color: white; border-radius: 5px; background: var(--ink); }

.project-list { display: grid; gap: 24px; }
.project-card { position: relative; display: grid; grid-template-columns: 1.18fr .82fr; min-height: 510px; overflow: hidden; border: 2px solid var(--white-line); border-radius: 26px; background: var(--card); box-shadow: var(--shadow); transition: transform .5s var(--spring),box-shadow .5s var(--spring); }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20,25,26,.17); }
.project-media { position: relative; min-height: 410px; overflow: hidden; background: var(--project-gradient,#d4d7d6); }
.project-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .65s var(--spring),opacity .2s; }
.project-card:hover .project-media img { transform: scale(1.025); }
.media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; color: white; text-align: center; }
.media-placeholder div { display: grid; gap: 8px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.32); border-radius: 15px; background: rgba(7,25,27,.44); backdrop-filter: blur(7px); }
.media-placeholder strong { font-size: 17px; }.media-placeholder span { color: rgba(255,255,255,.7); font: 10px ui-monospace,monospace; }
.project-index { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 10px; color: white; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; background: rgba(7,25,27,.72); backdrop-filter: blur(8px); font: 10px ui-monospace,monospace; }
.project-content { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px,4vw,48px); }
.project-content h3 { margin-bottom: 0; font-size: clamp(34px,4vw,54px); line-height: .98; font-weight: 750; }
.project-content > div > p { color: var(--muted); line-height: 1.65; }
.project-tags,.dialog-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.project-tags span,.dialog-tags span { padding: 7px 9px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 8px; background: var(--card-muted); font-size: 10px; }
.project-result { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.project-result strong { display: block; color: var(--ink); font-size: 26px; }
.project-result span { color: var(--muted); font-size: 10px; }
.watch-button { width: 100%; min-height: 44px; color: white; border: 0; border-radius: 10px; background: var(--ink); font-weight: 700; cursor: pointer; transition: transform .3s var(--spring),background .2s; }
.watch-button span { margin-left: 7px; color: var(--accent); }
.watch-button:hover { transform: translateY(-2px); background: #102b2e; }

.services { color: white; background: var(--ink); }
.services .section-heading > p,.services .kicker { color: rgba(255,255,255,.6); }
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.service-card { min-height: 325px; padding: 32px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.055); transition: transform .45s var(--spring),background .25s,border-color .25s; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.service-card > span { color: var(--accent); font-size: 11px; font-weight: 700; }
.service-card h3 { margin: 64px 0 12px; font-size: 30px; letter-spacing: -.035em; }
.service-card p { color: rgba(255,255,255,.63); line-height: 1.6; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); font-size: 10px; }

.metrics { background: var(--canvas); }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding-block: 80px; }
.metric { padding: 34px 22px; border: 2px solid white; border-radius: 18px; background: var(--card); box-shadow: 0 7px 18px rgba(20,25,26,.08); }
.metric strong { display: block; color: var(--ink); font-size: clamp(45px,5.5vw,70px); line-height: 1; letter-spacing: -.06em; }
.metric span { color: var(--muted); font-size: 10px; text-transform: uppercase; }

.about-statement { max-width: 1020px; }
blockquote { margin: 0; font-size: clamp(36px,5vw,66px); line-height: 1.06; letter-spacing: -.05em; font-weight: 720; }
blockquote em { color: #227664; font-style: normal; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 78px; }
.about-copy p { color: var(--muted); font-size: 17px; line-height: 1.72; }.about-copy strong { color: var(--text); }
.text-link { display: inline-flex; gap: 10px; margin-top: 16px; color: var(--ink); font-weight: 700; text-underline-offset: 5px; }
.stack-panel { padding: 30px; border: 2px solid white; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.stack-panel > p { margin: 0 0 22px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-cloud span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--card-muted); font-size: 12px; }

.process { border-top: 1px solid var(--line); }
.process-list { margin: 0; padding: 0; overflow: hidden; border: 2px solid white; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); list-style: none; }
.process-list li { display: grid; grid-template-columns: 78px 1fr; gap: 26px; padding: 28px 32px; border-bottom: 1px solid var(--line); transition: padding-left .35s var(--spring),background .2s; }
.process-list li:last-child { border: 0; }
.process-list li:hover { padding-left: 38px; background: var(--card-muted); }
.process-list > li > span { color: #227664; font-size: 11px; font-weight: 750; }
.process-list h3 { margin-bottom: 0; font-size: 25px; }
.process-list p { max-width: 650px; margin: 8px 0 0; color: var(--muted); line-height: 1.6; }

.contact { padding-block: 60px 110px; }
.contact-card { position: relative; overflow: hidden; padding: clamp(38px,7vw,84px); color: white; border: 2px solid rgba(255,255,255,.18); border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); }
.contact-card::after { content: ""; position: absolute; width: 270px; height: 270px; right: -90px; bottom: -130px; border: 42px solid rgba(142,230,212,.08); border-radius: 50%; }
.contact-card .kicker { color: var(--accent); }
.contact-card h2 { position: relative; z-index: 1; max-width: 900px; }
.contact-card h2 em { color: var(--accent); }
.contact-card > p:not(.kicker) { max-width: 620px; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.6; }
.contact-card .button-primary { color: var(--ink); border-color: white; background: white; }
.contact-card .button-quiet { color: white; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.contact-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-meta { position: relative; z-index: 1; display: flex; gap: 25px; margin-top: 52px; color: rgba(255,255,255,.58); font-size: 10px; text-transform: uppercase; }
.contact-meta b { color: white; }
.site-footer { min-height: 94px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.site-footer div { display: flex; gap: 20px; }.site-footer a { text-underline-offset: 4px; }

.project-dialog { width: min(920px,calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: auto; padding: 0; color: var(--text); border: 2px solid white; border-radius: 24px; background: var(--card); box-shadow: 0 35px 90px rgba(7,25,27,.4); }
.project-dialog::backdrop { background: rgba(7,25,27,.72); backdrop-filter: blur(7px); }
.project-dialog[open] { animation: dialog-in .35s var(--spring); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dialog-close { position: sticky; z-index: 3; top: 12px; float: right; width: 38px; height: 38px; margin: 12px 12px -50px 0; color: white; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(7,25,27,.86); cursor: pointer; font-size: 22px; }
.dialog-media { position: relative; min-height: 390px; display: grid; place-items: center; background: var(--ink); }
.dialog-media iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: none; }.dialog-media iframe.ready { display: block; }
.video-fallback { padding: 50px; color: rgba(255,255,255,.65); text-align: center; }
.video-fallback > span { width: 60px; height: 60px; display: grid; place-items: center; margin: auto; color: var(--ink); border-radius: 50%; background: var(--accent); font-size: 21px; }
.video-fallback code { color: white; }
.dialog-copy { padding: 36px; }.dialog-copy h2 { font-size: clamp(38px,6vw,66px); }.dialog-copy > p:not(.kicker) { color: var(--muted); line-height: 1.65; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 22px; transform: translate(-50%,20px); padding: 11px 16px; color: white; border-radius: 11px; background: var(--ink); opacity: 0; pointer-events: none; transition: .3s var(--spring); }.toast.show { opacity: 1; transform: translate(-50%,0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease,transform .7s var(--spring); }.reveal.visible { opacity: 1; transform: none; }

@media (max-width:900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 145px; }
  .hero-console { max-width: 680px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .project-card { grid-template-columns: 1fr; }.project-media { min-height: 360px; }
  .service-grid { grid-template-columns: 1fr; }.metric-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width:650px) {
  .section-shell { width: min(100% - 28px,var(--max)); }
  .site-header { min-height: 58px; }.menu-button { display: block; }
  nav { position: fixed; top: 73px; left: 0; right: 0; display: grid; padding: 9px; border: 1px solid rgba(255,255,255,.17); border-radius: 15px; background: var(--ink); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .25s var(--spring); }
  nav.open { opacity: 1; transform: none; pointer-events: auto; }nav a { padding: 13px; }
  .hero { gap: 45px; padding-top: 130px; }.hero-proof { display: grid; grid-template-columns: repeat(3,1fr); }.hero-proof span { font-size: 8px; }
  .work,.services,.about,.process { padding-block: 90px; }
  .project-media { min-height: 270px; }.project-content { min-height: 400px; }
  .service-card { min-height: 290px; }.metric-grid { gap: 8px; padding-block: 55px; }.metric { padding: 28px 12px; }
  .process-list li { grid-template-columns: 38px 1fr; gap: 12px; padding: 23px 18px; }.process-list li:hover { padding-left: 21px; }
  .contact-meta { display: grid; gap: 9px; }.site-footer { padding-block: 25px; display: grid; gap: 17px; }.site-footer div { flex-wrap: wrap; }
  .dialog-media { min-height: 230px; }.dialog-copy { padding: 24px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}

