*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #111110;
  --ink2:   #1e1d1b;
  --g1:     #888580;
  --g2:     #c5c2bb;
  --g3:     #dedad3;
  --g4:     #eae7e1;
  --cream:  #f2efe9;
  --off:    #f8f6f2;
  --acc:    #c2581a;
  --acc-bg: #fdf0e8;
  --sans:   'Geist', sans-serif;
  --mono:   'Geist Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 3.5rem; height: 56px;
  background: rgba(242,239,233,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g3);
}
.nav-logo { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 13px; color: var(--g1); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13px; font-weight: 500; color: #fff;
  background: var(--acc); padding: 7px 18px; border-radius: 6px;
  text-decoration: none; transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 56px;
}
.hero-left {
  background: var(--ink2);
  padding: 5rem 3.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.hero-left::after {
  content: 'GTM';
  position: absolute; bottom: -10px; right: -10px;
  font-size: 180px; font-weight: 700;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em; line-height: 1;
  pointer-events: none; user-select: none;
}
.hero-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: blink 2.5s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-name {
  font-size: clamp(52px, 5.5vw, 84px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 0.97; color: #fff;
  position: relative; z-index: 1;
}
.hero-name-ghost {
  display: block; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.22);
}
.hero-foot {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.2); letter-spacing: 0.1em; text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  position: relative; z-index: 1;
}
.hero-right {
  background: var(--cream);
  padding: 5rem 3.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-role {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--acc); margin-bottom: 1.25rem;
}
.hero-tagline {
  font-size: clamp(19px, 2vw, 26px); font-weight: 300; line-height: 1.55;
  color: var(--ink); max-width: 400px; margin-bottom: 2.5rem;
}
.hero-tagline strong { font-weight: 600; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-acc {
  font-size: 14px; font-weight: 500; padding: 12px 26px;
  background: var(--acc); color: #fff; text-decoration: none;
  border-radius: 8px; border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-acc:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-outline {
  font-size: 14px; font-weight: 400; padding: 12px 26px;
  background: transparent; color: var(--ink); text-decoration: none;
  border-radius: 8px; border: 1.5px solid var(--g3);
  transition: border-color 0.15s;
}
.btn-outline:hover { border-color: var(--g2); }
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--g3); border-radius: 10px; overflow: hidden;
}
.hstat { padding: 1.25rem 1.5rem; border-right: 1px solid var(--g3); background: var(--off); }
.hstat:last-child { border-right: none; }
.hstat-v { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.hstat-v em { color: var(--acc); font-style: normal; }
.hstat-k { font-family: var(--mono); font-size: 10px; color: var(--g1); text-transform: uppercase; letter-spacing: 0.09em; line-height: 1.4; }

.stats-band {
  background: var(--ink);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.sb-item {
  padding: 3.5rem 3rem; border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s; cursor: default;
}
.sb-item:last-child { border-right: none; }
.sb-item:hover { background: rgba(255,255,255,0.03); }
.sb-num {
  font-size: clamp(36px, 3.5vw, 54px); font-weight: 700;
  color: #fff; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.6rem;
}
.sb-num em { color: var(--acc); font-style: normal; }
.sb-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.4; }

.page {
  display: flex; flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.card-section {
  border-radius: 16px;
  overflow: hidden;
}

.lbl {
  font-family: var(--mono); font-size: 10px; color: var(--g1);
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 1.25rem; display: flex; align-items: center; gap: 10px;
}
.lbl::after { content: ''; width: 24px; height: 1px; background: currentColor; opacity: 0.3; }
.lbl-light { color: rgba(255,255,255,0.35); }
.sh2 {
  font-size: clamp(28px, 3vw, 44px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); margin-bottom: 0.85rem;
}
.sh2-light { color: #fff; }
.ssub { font-size: 16px; color: var(--g1); max-width: 460px; line-height: 1.65; margin-bottom: 3rem; font-weight: 300; }
.ssub-light { color: rgba(255,255,255,0.4); }

.about-wrap { background: var(--g4); padding: 4rem 3.5rem; }
.about-grid { display: grid; grid-template-columns: 210px 1fr; gap: 4.5rem; align-items: start; margin-top: 0.5rem; }
.about-meta { display: flex; flex-direction: column; }
.meta-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid var(--g3); font-size: 13px;
}
.meta-row:first-child { border-top: 1px solid var(--g3); }
.mk { color: var(--g1); font-weight: 300; }
.mv { font-weight: 500; color: var(--ink); }
.mv-open { color: var(--acc); font-weight: 500; }
.about-quote {
  font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.45;
  border-left: 3px solid var(--acc); padding-left: 1.25rem; margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.about-body p { font-size: 16px; font-weight: 300; color: var(--g1); line-height: 1.82; margin-bottom: 1.25rem; }
.about-body p strong { color: var(--ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2rem; }
.chip {
  font-family: var(--mono); font-size: 11px; padding: 5px 12px;
  background: var(--off); border: 1px solid var(--g3); color: var(--ink);
  border-radius: 100px; cursor: default; transition: border-color 0.15s;
}
.chip:hover { border-color: var(--g2); }

.demo-wrap { background: var(--ink2); padding: 4rem 3.5rem; }
.vid-frame { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
.vid-r { position: relative; padding-bottom: 56.25%; height: 0; }
.vid-r iframe { position: absolute; top:0; left:0; width:100%; height:100%; display:block; }
.vid-meta {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  overflow: hidden; margin-top: 1rem;
}
.vm { padding: 1.1rem 1.5rem; border-right: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); transition: background 0.15s; cursor: default; }
.vm:last-child { border-right: none; }
.vm:hover { background: rgba(255,255,255,0.07); }
.vm-v { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.vm-k { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.09em; }

.projects-wrap { background: var(--off); padding: 4rem 3.5rem; }
.proj-featured {
  display: grid; grid-template-columns: 1fr 260px;
  border: 1px solid var(--g3); border-radius: 10px; overflow: hidden; margin-bottom: 1.25rem;
  transition: box-shadow 0.2s;
}
.proj-featured:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.pf-body { background: var(--cream); padding: 2.5rem; }
.pf-eye { font-family: var(--mono); font-size: 10px; color: var(--acc); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.pf-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.2; }
.pf-desc { font-size: 14px; color: var(--g1); line-height: 1.72; font-weight: 300; margin-bottom: 1.5rem; }
.pf-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ptag { font-family: var(--mono); font-size: 10px; padding: 3px 9px; background: var(--g4); border: 1px solid var(--g3); color: var(--g1); border-radius: 4px; }
.pf-link { font-family: var(--mono); font-size: 11px; color: var(--acc); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; }
.pf-link:hover { opacity: 0.7; }
.pf-nums { background: var(--ink); padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.pfn-v { font-size: 44px; font-weight: 700; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.pfn-v em { color: var(--acc); font-style: normal; }
.pfn-k { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 5px; }
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pcard {
  background: var(--cream); border: 1px solid var(--g3); border-radius: 10px;
  padding: 2rem; display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s; cursor: default;
  position: relative; overflow: hidden;
}
.pcard::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--acc); transform:scaleX(0); transform-origin:left; transition:transform 0.25s; }
.pcard:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-3px); }
.pcard:hover::before { transform: scaleX(1); }
.pc-num { font-family: var(--mono); font-size: 10px; color: var(--g2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.pc-title { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.pc-desc { font-size: 13.5px; color: var(--g1); line-height: 1.7; font-weight: 300; margin-bottom: 1.25rem; flex: 1; }
.pc-mets { display: flex; gap: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--g3); margin-bottom: 1.1rem; }
.pcm-v { font-size: 24px; font-weight: 700; color: var(--acc); letter-spacing: -0.02em; line-height: 1; }
.pcm-k { font-family: var(--mono); font-size: 10px; color: var(--g1); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.process-wrap { background: var(--g4); padding: 4rem 3.5rem; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--g3); border-radius: 10px; overflow: hidden; margin-top: 0.5rem; }
.step { background: var(--off); padding: 2.5rem 2rem; transition: background 0.15s; cursor: default; }
.step:hover { background: var(--cream); }
.step-num { font-family: var(--mono); font-size: 11px; color: var(--acc); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 8px; }
.step-num::before { content: ''; width: 18px; height: 1px; background: var(--acc); }
.step-title { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.step-body { font-size: 14px; color: var(--g1); line-height: 1.72; font-weight: 300; margin-bottom: 1.5rem; }
.step-tools { display: flex; flex-wrap: wrap; gap: 5px; }
.stool { font-family: var(--mono); font-size: 10px; padding: 3px 9px; background: var(--g4); border: 1px solid var(--g3); color: var(--g1); border-radius: 4px; }

.contact-wrap { background: var(--cream); padding: 4rem 3.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.c-intro { font-size: 16px; font-weight: 300; color: var(--g1); line-height: 1.8; margin-bottom: 2.5rem; }
.c-links { display: flex; flex-direction: column; margin-bottom: 2.5rem; }
.clink { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 14px; padding: 1rem 0; border-bottom: 1px solid var(--g3); transition: color 0.15s, padding-left 0.2s; }
.clink:first-child { border-top: 1px solid var(--g3); }
.clink:hover { color: var(--acc); padding-left: 6px; }
.cl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--g1); min-width: 68px; }
.ca { margin-left: auto; color: var(--g2); }
.c-cta-label { font-size: 14px; color: var(--g1); margin-bottom: 1rem; font-weight: 300; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; padding: 15px 34px;
  background: var(--acc); color: #fff; border-radius: 10px;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-cta:hover { opacity: 0.88; transform: translateY(-2px); }
.c-form { background: var(--off); border: 1px solid var(--g3); border-radius: 12px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.flbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--g1); }
.fg input, .fg textarea {
  background: var(--cream); border: 1px solid var(--g3); color: var(--ink);
  padding: 10px 14px; font-family: var(--sans); font-size: 14px;
  outline: none; resize: none; border-radius: 7px; transition: border-color 0.15s;
}
.fg input:focus, .fg textarea:focus { border-color: var(--acc); }
.fg textarea { min-height: 110px; }
input::placeholder, textarea::placeholder { color: var(--g2); }
.f-submit { font-size: 15px; font-weight: 600; padding: 12px 24px; background: var(--ink); color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: opacity 0.15s; align-self: flex-start; }
.f-submit:hover { opacity: 0.8; }

footer { background: var(--ink); padding: 1.75rem 3.5rem; display: flex; justify-content: space-between; align-items: center; }
.f1 { font-size: 13px; color: rgba(255,255,255,0.3); font-family: var(--mono); }
.f2 { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.2); }

.rv { opacity:0; transform:translateY(16px); transition:opacity 0.6s ease,transform 0.6s ease; }
.rv.on { opacity:1; transform:none; }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}

@media(max-width:900px){
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { min-height: 55vw; padding: 3.5rem 1.5rem; }
  .hero-right { padding: 3rem 1.5rem 3.5rem; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .sb-item:nth-child(2){ border-right:none; }
  .sb-item:nth-child(3){ border-top:1px solid rgba(255,255,255,0.07); }
  .page { padding: 1rem; gap: 1rem; }
  .about-wrap, .demo-wrap, .projects-wrap, .process-wrap, .contact-wrap { padding: 3rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .vid-meta { grid-template-columns: repeat(2,1fr); }
  .vm:nth-child(2){ border-right:none; }
  .proj-featured { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}
