:root {
  --bg: #0b0b0c;
  --surface: #111113;
  --surface-2: #171719;
  --text: #f3f1eb;
  --muted: #9c9a95;
  --line: rgba(255,255,255,.11);
  --accent: #c9ff3d;
  --accent-2: #a8df22;
  --max: 1180px;
  --radius: 24px;
}
body.light {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --surface-2: #ebe9e1;
  --text: #101011;
  --muted: #676660;
  --line: rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden;}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "DM Sans", sans-serif; line-height: 1.6;
  transition: background .25s, color .25s;
  min-height: 100vh;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
}
body, a, button { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 48px)); margin: auto; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/*===========
HEADER STYLE
==========*/
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px "Space Grotesk"; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px;}
.dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.nav-cta span { color: var(--accent); }
.theme-toggle { border: 1px solid var(--line); color: var(--text); background: var(--surface); width: 36px; height: 36px; border-radius: 50%; }
.menu-toggle { display: none; background: none; border: 0; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--text); margin: 6px; }

/*==========
HERO STYLE
========*/
.hero { min-height: 690px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 60px; padding-top: 40px; padding-bottom: 80px; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.status { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent); }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(54px, 7vw, 92px); margin: 0 0 28px; max-width: 850px; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-text { max-width: 560px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0 42px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 23px; border-radius: 100px; font-weight: 700; font-size: 14px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #101100; background: var(--accent); }
.button-primary:hover { background: var(--accent-2); }
.button-ghost { border: 1px solid var(--line); }
.hero-proof { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-proof div { display: flex; flex-direction: column; gap: 4px; }
.hero-proof strong { font: 700 12px "Space Grotesk"; color: var(--accent); }
.hero-proof span { font-size: 11px; color: var(--muted); }
.hero-visual { position: relative; max-width: 530px; justify-self: end; width: 100%; }
.portrait-card { position: relative; top: -50px;  background: transparent;  border: none; }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; filter: saturate(.9) contrast(1.02); }
.portrait-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--accent); filter: blur(110px); opacity: .16; top: -80px; right: -80px; z-index: 1; }
.portrait-tag { position: absolute; left: 22px; top: 50px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.55); backdrop-filter: blur(14px); border-radius: 12px; display: flex; flex-direction: column; font-size: 10px; letter-spacing: .12em; }
.portrait-tag span { color: #bbb; }
.portrait-tag strong { color: white; }
.floating-card { position: absolute; z-index: 2; padding: 12px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: 11px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.card-top { right: -28px; top: 17%; }
.card-bottom { left: -35px; bottom: 20%; color: var(--muted); }
.card-bottom span { color: var(--accent); margin-left: 8px; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 17px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 28px; animation: scroll 26s linear infinite; font: 700 11px "Space Grotesk"; letter-spacing: .16em; }
.marquee b { color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }
.section { padding-top: 145px; padding-bottom: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 55px; }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(40px, 5vw, 66px); margin: 0; }
.section-intro { max-width: 380px; margin: 0; color: var(--muted); font-size: 15px; }
.projects-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 22px; }
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.project-featured { grid-row: span 2; }
.project-visual { min-height: 300px; padding: 28px; display: grid; place-items: center; overflow: hidden; }
.project-featured .project-visual { min-height: 470px; }
.landing { background: #d6d4cb; }
.browser { width: 90%; height: 84%; background: #f7f7f4; border-radius: 13px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.2); color: #111; }
.browser-bar { height: 34px; background: #ecebe6; display: flex; align-items: center; gap: 5px; padding: 0 10px; font-size: 7px; color: #777; }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #aaa; }
.browser-bar span { margin-left: 10px; }
.mock-landing { padding: 44px; height: calc(100% - 34px); background: linear-gradient(135deg,#f7f7f4,#dedfd5); }
.mock-landing small { font-size: 7px; letter-spacing: .16em; }
.mock-landing strong { display: block; font: 700 clamp(22px, 3vw, 40px)/.93 "Space Grotesk"; margin-top: 20px; }
.mock-button { width: 85px; height: 24px; background: #111; border-radius: 20px; margin-top: 26px; }
.dashboard { background: #c7ff43; }
.mini-window { width: 86%; height: 80%; background: #151516; border-radius: 14px; display: grid; grid-template-columns: 28% 1fr; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 25px 50px rgba(0,0,0,.2); }
.mini-sidebar { background: #202023; }
.mini-content { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mini-content i { border-radius: 7px; background: #2d2d31; }
.reader { background: #1b1821; }
.reader-card { width: 75%; height: 84%; border: 1px solid #4b4455; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; color: #f3e9ff; transform: rotate(3deg); }
.reader-card span, .reader-card small { font-size: 8px; letter-spacing: .15em; color: #b9a7ca; }
.reader-card strong { font: 700 29px/.93 "Space Grotesk"; }
.task { background: #ddd9ce; }
.task-window { background: #f8f7f2; color: #202020; width: 82%; padding: 25px; border-radius: 15px; box-shadow: 0 25px 50px rgba(0,0,0,.14); }
.task-window small { font-size: 8px; color: #777; }
.task-window h4 { margin: 8px 0 18px; font: 700 24px "Space Grotesk"; }
.task-window div { font-size: 10px; border-top: 1px solid #ddd; padding: 12px 0; }
.project-info { padding: 25px 27px 27px; display: flex; justify-content: space-between; gap: 20px; }
.project-number { color: var(--accent); font: 700 11px "Space Grotesk"; }
.project h3 { font-size: 24px; margin: 9px 0; }
.project p { margin: 0; color: var(--muted); font-size: 13px; max-width: 460px; }
.tags { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tags span { border: 1px solid var(--line); border-radius: 100px; padding: 5px 8px; font-size: 9px; color: var(--muted); }
.services-section { background: var(--surface); margin-top: 120px; padding-bottom: 120px; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { min-height: 290px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.service-icon { font: 700 11px "Space Grotesk"; color: var(--accent); }
.service h3 { font-size: 25px; margin-top: 80px; margin-bottom: 13px; }
.service p { color: var(--muted); font-size: 13px; margin: 0; }
.service-arrow { position: absolute; right: 26px; top: 25px; font-size: 20px; }
.about { display: grid; grid-template-columns: .25fr 1.2fr .7fr; gap: 50px; padding-top: 160px; padding-bottom: 130px; }
.about-number { font: 700 12px "Space Grotesk"; color: var(--accent); }
.about-number span { color: var(--muted); }
.about-copy p:not(.eyebrow) { color: var(--muted); max-width: 620px; font-size: 16px; }
.text-link { display: inline-block; margin-top: 16px; border-bottom: 1px solid var(--accent); padding-bottom: 4px; font-size: 13px; }
.about-stack { align-self: end; border-top: 1px solid var(--line); }
.about-stack div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font: 600 12px "Space Grotesk"; }
.about-stack b { color: var(--accent); font-size: 7px; }
.process-section { background: var(--surface); padding-bottom: 130px; }
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--line); }
.process-step { padding: 28px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); min-height: 220px; }
.process-step:last-child { border: 0; }
.process-step span { color: var(--accent); font: 700 11px "Space Grotesk"; }
.process-step h3 { font-size: 27px; margin: 70px 0 12px; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; }
.contact { padding-top: 150px; padding-bottom: 90px; }
.contact-inner { border: 1px solid var(--line); border-radius: 30px; padding: clamp(35px,6vw,80px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 35%), var(--surface); }
.contact-copy { color: var(--muted); max-width: 490px; margin-top: 28px; }
.contact-actions { align-self: center; }
.button.big { width: 100%; justify-content: space-between; border-radius: 14px; min-height: 64px; }
.socials { display: flex; gap: 22px; margin-top: 22px; font-size: 12px; color: var(--muted); }
.socials a:hover { color: var(--text); }
.footer { min-height: 90px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-visual { justify-self: center; max-width: 560px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-featured { grid-column: 1 / -1; grid-row: auto; }
  .project-featured .project-visual { min-height: 420px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-number { display: none; }
  .about-stack { max-width: 600px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
}
@media (max-width: 680px) {
  .container { width: min(var(--max), calc(100% - 30px)); }
  .nav { min-height: 68px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 15px; right: 15px; top: 74px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 25px 60px rgba(0,0,0,.25); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 6px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 8px; text-align: center; border: 1px solid var(--accent); border-radius: 10px; }
  .theme-toggle { position: absolute; top: 18px; right: 16px; }
  h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-text { font-size: 16px; }
  .hero-proof { gap: 16px; }
  .portrait-tag {left: 5px; top: 20px; padding: 7px 8px;}
  .floating-card { display: none; }
  .section { padding-top: 95px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-intro { margin-top: 25px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: auto; }
  .project-featured .project-visual { min-height: 350px; }
  .project-visual { min-height: 280px; }
  .project-info { display: block; }
  .tags { justify-content: flex-start; margin-top: 18px; }
  .services-section { margin-top: 80px; padding-bottom: 90px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 230px; }
  .service h3 { margin-top: 50px; }
  .about { padding-top: 100px; padding-bottom: 90px; }
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-right: 0; }
  .process-step h3 { margin-top: 45px; }
  .contact { padding-top: 100px; }
  .contact-inner { grid-template-columns: 1fr; border-radius: 20px; }
  .button.big { overflow: hidden; white-space: normal; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;}
  .footer { padding: 25px 0; flex-direction: column; align-items: flex-start; }
}
