:root {
  color-scheme: dark;
  --bg: #060a11;
  --surface: #0d1521;
  --text: #f4f7fb;
  --muted: #a8b3c2;
  --line: rgba(172, 196, 226, .14);
  --accent: #49bff5;
  --accent2: #2775f5;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: #a8dfff; color: var(--bg); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: #fff; text-decoration: underline; }
a:focus-visible { outline: 3px solid #8ddcff; outline-offset: 5px; border-radius: 4px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
p { color: var(--muted); margin: 0 0 20px; max-width: 70ch; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(48px, 5.2vw, 74px); letter-spacing: -.035em; margin: 0 0 26px; }
h2 { font-size: clamp(32px, 3.3vw, 44px); letter-spacing: -.03em; margin: 0; }
h3 { font-size: 25px; letter-spacing: -.02em; margin: 0 0 20px; }
h4 { font-size: 16px; margin: 28px 0 9px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; color: #060a11; padding: 12px 18px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.brand img { object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: #c5ced9; font-size: 14px; }
.introduction { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 90px; padding-block: 80px 90px; }
.positioning { font-size: clamp(23px, 2.2vw, 30px); color: var(--text); line-height: 1.4; font-weight: 550; margin-bottom: 22px; }
.positioning span { color: #8fd7ff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 11px; padding: 12px 18px; font-size: 15px; font-weight: 650; }
.btn-primary { background: linear-gradient(135deg, #2164df, #2e64e8); color: #fff; }
.btn-primary:hover { background: #2164df; text-decoration: none; }
.btn-secondary { border: 1px solid rgba(196, 216, 239, .3); color: #dbe4ee; }
.btn-secondary:hover { background: var(--surface); text-decoration: none; }
.selected-work { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 30px; }
.selected-work h2 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 12px; }
.selected-work > p { font-size: 15px; }
.work-link { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line); gap: 15px; }
.work-link strong { display: block; font-size: 24px; }
.work-link small { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.arrow { color: var(--accent); font-size: 24px; }
.selected-work .work-note { margin: 8px 0 0; font-size: 13px; }
.projects { border-block: 1px solid var(--line); background: #09101a; padding-block: 75px 20px; }
.section-head { display: flex; align-items: start; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-head p { max-width: 510px; margin: 0; }
.case-study { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 45px 65px; scroll-margin-top: 110px; }
.case-study + .case-study { border-top: 1px solid var(--line); padding-top: 60px; }
.status { display: inline-block; color: #a8dfff; font-size: 13px; margin-bottom: 18px; }
.project-summary h3 { font-size: 42px; margin-bottom: 6px; }
.project-subtitle { font-size: 19px; color: #dbe4ee; margin-bottom: 22px; }
.case-detail h4:first-child { margin-top: 0; }
.case-detail p:last-child { margin-bottom: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0; }
.tags li { color: #c4d4e6; background: #101a29; border-radius: 7px; padding: 5px 10px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: #8fd7ff; text-decoration: underline; font-size: 15px; gap: 9px; }
.experience { padding-block: 85px; }
.experience-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.responsibilities { color: var(--muted); padding-left: 20px; }
.responsibilities li { padding-left: 4px; margin-bottom: 10px; }
.development { background: var(--surface); padding: 30px; border-radius: 16px; align-self: start; }
.development .tags { margin-bottom: 0; }
.contact-section { border-top: 1px solid var(--line); background: #09101a; padding-block: 65px; }
.contact-layout { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.contact-layout h2 { margin-bottom: 18px; }
.contact-layout p { max-width: 570px; margin: 0; }
.contact-layout .actions { margin: 0; flex-shrink: 0; flex-direction: column; }
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); }
.footer-layout { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-layout p { margin: 0; font-size: 13px; }
.footer-layout nav { gap: 20px; }
@media (max-width: 980px) {
  .introduction { gap: 35px; grid-template-columns: 1.2fr 1fr; padding-block: 60px; }
  .case-study, .experience-layout { gap: 40px; }
  .selected-work { padding: 24px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 130px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav { flex-wrap: wrap; gap: 0; padding-block: 12px 5px; }
  .nav nav { width: 100%; gap: 24px; }
  .introduction, .case-study, .experience-layout { grid-template-columns: 1fr; gap: 34px; }
  .introduction { padding-block: 45px 54px; }
  .desktop-break { display: none; }
  h1 { font-size: clamp(43px, 10vw, 62px); }
  .section-head, .contact-layout, .footer-layout { flex-direction: column; gap: 22px; }
  .section-head { margin-bottom: 30px; }
  .projects { padding-top: 54px; }
  .case-study { padding-block: 25px 48px; scroll-margin-top: 140px; }
  .case-study + .case-study { padding-top: 45px; }
  .project-summary h3 { font-size: 36px; }
  .experience { padding-block: 54px; }
  .development { padding: 24px; }
  .contact-section { padding-block: 48px; }
  .contact-layout { align-items: stretch; }
  .contact-layout .actions { flex-direction: row; }
  .footer-layout { align-items: flex-start; }
  .footer-layout nav { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
