/* limak studio — dark blue, yellow accent, white details. No JavaScript, no external requests. */
:root {
  --bg: #0a1325;
  --bg-2: #0e1a31;
  --surface: #12203b;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #e8ecf4;
  --muted: #8c99b3;
  --yellow: #f5c518;
  --white: #ffffff;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--yellow); color: var(--bg); }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.y { color: var(--yellow); }

/* Small coloured details */
.tag {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--yellow);
  letter-spacing: .04em;
}
.tag::before { content: "// "; color: var(--muted); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: middle; }
.link {
  color: var(--white);
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 2px;
  transition: color .2s;
}
.link:hover { color: var(--yellow); }
.arrow::after { content: " →"; color: var(--yellow); transition: margin .2s; }
.arrow:hover::after { margin-left: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-strong);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { border-color: var(--white); }
.btn-primary { background: var(--yellow); color: var(--bg); border-color: var(--yellow); }
.btn-primary:hover { background: var(--white); border-color: var(--white); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 19, 37, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 700; font-size: 18px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.logo .mark {
  min-width: 30px; height: 28px; padding: 0 6px; border-radius: 8px;
  border: 1.5px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; line-height: 1;
}
.logo .mark span { color: var(--yellow); }
nav.main { display: flex; gap: 30px; align-items: center; font-size: 15px; }
nav.main a { color: var(--muted); transition: color .2s; }
nav.main a:hover, nav.main a.active { color: var(--white); }
nav.main a.active::before { content: "•"; color: var(--yellow); margin-right: 6px; }
nav.main .btn { color: var(--white); padding: 9px 16px; }

/* CSS-only mobile menu */
#menu-toggle { display: none; }
.menu-btn { display: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { padding: 120px 0 100px; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
  max-width: 900px; margin: 22px 0 26px; color: var(--white);
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 580px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; }
.status {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  background: var(--bg-2);
}
.status div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.status div:last-child { border-bottom: 0; }
.status b { color: var(--white); font-weight: 500; }
.status .ok { color: var(--yellow); }

/* Sections */
section { padding: 110px 0; }
section + section { border-top: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.025em; line-height: 1.1; color: var(--white); margin-top: 12px; max-width: 640px; }
.head p { color: var(--muted); max-width: 420px; }

/* Image placeholders */
.ph {
  position: relative;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 15px),
    var(--bg-2);
  display: grid; place-items: center;
  color: var(--muted);
  font-family: var(--mono); font-size: 12.5px;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute; top: 14px; left: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 14px 0 0 var(--line-strong), 28px 0 0 var(--line-strong);
}
.ph span { border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; background: var(--bg); }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-1-1 { aspect-ratio: 1 / 1; }
.r-3-4 { aspect-ratio: 3 / 4; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 34px 30px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.service:hover { background: var(--bg-2); }
.service .num { font-family: var(--mono); font-size: 13px; color: var(--yellow); }
.service h3 { font-size: 21px; color: var(--white); margin: 18px 0 10px; letter-spacing: -.01em; }
.service p { color: var(--muted); font-size: 15px; }
.service ul { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.service li { font-family: var(--mono); font-size: 12px; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 28px; }
.project .ph { margin-bottom: 18px; transition: border-color .25s; }
.project:hover .ph { border-color: var(--yellow); }
.project .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.project h3 { font-size: 20px; color: var(--white); letter-spacing: -.01em; }
.project .year { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.project p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.project .stack { font-family: var(--mono); font-size: 12.5px; color: var(--yellow); margin-top: 10px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { padding-top: 22px; border-top: 1px solid var(--line-strong); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -1px; left: 0; padding-top: 8px;
  font-family: var(--mono); font-size: 12.5px; color: var(--yellow);
  border-top: 1px solid var(--yellow); width: 40px;
}
.step h3 { font-size: 18px; color: var(--white); margin: 20px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.prose p strong { color: var(--white); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats b { display: block; font-size: 34px; color: var(--white); letter-spacing: -.02em; font-weight: 700; }
.stats b i { font-style: normal; color: var(--yellow); }
.stats span { font-size: 13.5px; color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member h3 { font-size: 17px; color: var(--white); margin-top: 14px; }
.member p { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

/* Quote */
.quote { max-width: 820px; }
.quote blockquote { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--white); letter-spacing: -.015em; }
.quote blockquote::before { content: "“"; color: var(--yellow); }
.quote blockquote::after { content: "”"; color: var(--yellow); }
.quote cite { display: block; margin-top: 22px; font-style: normal; color: var(--muted); font-size: 15px; }
.quote cite b { color: var(--white); font-weight: 600; }

/* CTA */
.cta {
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
  position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid var(--yellow); opacity: .5; }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.025em; color: var(--white); line-height: 1.1; }
.cta p { color: var(--muted); margin-top: 10px; }

/* Page header */
.page-head { padding: 96px 0 70px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.035em; line-height: 1.05; color: var(--white); margin: 18px 0 18px; max-width: 820px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 600px; }

/* Case study list (work page) */
.case { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case:nth-child(even) .ph { order: 2; }
.case h2 { font-size: 30px; color: var(--white); letter-spacing: -.02em; margin: 12px 0 14px; }
.case p { color: var(--muted); margin-bottom: 18px; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; font-size: 14.5px; margin-bottom: 22px; }
.case dt { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.case dd { color: var(--white); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.info { display: grid; gap: 26px; align-content: start; }
.info > div:not(.ph) { border-left: 2px solid var(--yellow); padding-left: 18px; }
.info small { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.info > div:not(.ph) a, .info > div:not(.ph) span { font-size: 18px; color: var(--white); }
.info > div:not(.ph) a:hover { color: var(--yellow); }
form.contact { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--white);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px;
}
.field select option { background: var(--bg-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--yellow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px;
  font-size: 14px; color: var(--text); cursor: pointer; transition: .2s; font-family: var(--sans);
}
.chips input:checked + label { border-color: var(--yellow); color: var(--yellow); }
.chips input:focus-visible + label { outline: 2px solid var(--yellow); outline-offset: 2px; }
.note { font-size: 13px; color: var(--muted); }

/* FAQ (details/summary – no JS) */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; color: var(--white); font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--yellow); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 720px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 60px 0 34px; color: var(--muted); font-size: 14.5px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer.site h4 { font-family: var(--mono); font-size: 12.5px; font-weight: 400; color: var(--yellow); margin-bottom: 14px; }
footer.site ul { list-style: none; display: grid; gap: 8px; }
footer.site a:hover { color: var(--white); }
footer.site .legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  nav.main {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 24px 20px 28px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  #menu-toggle:checked ~ nav.main { display: flex; }
  #menu-toggle:checked + .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #menu-toggle:checked + .menu-btn span:nth-child(2) { opacity: 0; }
  #menu-toggle:checked + .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .split, .contact-grid, .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .ph { order: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 76px 0; }
  .hero { padding: 76px 0 70px; }
  .services, .work-grid, .process, .team, .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .cta { padding: 36px 26px; }
  footer.site .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
