  :root {
    --bg:        #F5F0E8;
    --bg-card:   #FBF7F0;
    --bg-sunk:   #EFE8DC;
    --ink:       #16213A;
    --ink-2:     #2C3852;
    --muted:     #7A7466;
    --muted-2:   #A39C8C;
    --line:      #E5DDD0;
    --line-2:    #D9CFBE;
    --accent:    #B8542C;
    --accent-soft: #F0DDD0;
    --ok:        #4F7A4F;
    --serif:     "Instrument Serif", "Times New Roman", serif;
    --sans:      "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono:      "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  }

  * { box-sizing: border-box; }
  html, body { margin:0; padding:0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--ink); color: var(--bg); }

  .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

  /* ---------- NAV ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em;
  }
  .brand-mark {
    width: 28px; height: 28px; border-radius: 8px;
    background: var(--ink); color: var(--bg);
    display: grid; place-items: center;
    font-family: var(--sans); font-weight: 600; font-size: 13px;
    letter-spacing: 0;
  }
  .nav-links {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px;
  }
  .nav-links a {
    padding: 8px 14px; border-radius: 999px;
    color: var(--ink-2);
    transition: background .18s ease, color .18s ease;
  }
  .nav-links a:hover { background: var(--bg-sunk); color: var(--ink); }
  .nav-links a.active { color: var(--ink); }
  .nav-cta {
    margin-left: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--ink); color: var(--bg) !important;
    font-weight: 500;
    transition: transform .15s ease, background .18s ease;
  }
  .nav-cta:hover { background: #0a1226; transform: translateY(-1px); }

  /* ---------- HERO ---------- */
  .hero { padding: 56px 0 88px; position: relative; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 56px;
    align-items: end;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 18px;
  }
  .eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 999px;
    background: var(--ok);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent);
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(56px, 9vw, 124px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    color: var(--ink);
  }
  .hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
  }
  .role-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin-bottom: 22px;
  }
  .role-pill {
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--bg-card);
    font-size: 13px;
    color: var(--ink-2);
  }
  .hero p.lede {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 540px;
    margin: 0 0 28px;
  }
  .hero-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 500;
    transition: transform .15s ease, background .18s ease, border-color .18s ease;
    cursor: pointer; border: 1px solid transparent;
  }
  .btn-primary { background: var(--ink); color: var(--bg); }
  .btn-primary:hover { background: #0a1226; transform: translateY(-1px); }
  .btn-ghost {
    background: transparent; color: var(--ink); border-color: var(--line-2);
  }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn .arrow {
    display: inline-block; transition: transform .2s ease;
  }
  .btn:hover .arrow { transform: translateX(3px); }

  /* hero side panel */
  .hero-side {
    display: flex; flex-direction: column; gap: 14px;
  }
  .photo {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line-2);
    background: linear-gradient(135deg, #d4c8b5 0%, #c0b39d 50%, #a89878 100%);
  }
  .photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-card);
    overflow: hidden;
  }
  .stat {
    padding: 16px 18px;
    border-right: 1px solid var(--line);
  }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .stat-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .meta-strip {
    margin-top: 56px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .meta-strip span { display: inline-flex; align-items: center; gap: 8px; }
  .meta-strip .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--muted-2); }

  /* ---------- SECTION HEADERS ---------- */
  .section { padding: 88px 0; }
  .section-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .section-head .num {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    color: var(--muted); text-transform: uppercase;
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin: 0;
  }
  .section-head h2 em { font-style: italic; color: var(--accent); }
  .section-head .sub {
    color: var(--muted); font-size: 14px;
    max-width: 380px; text-align: right;
  }

  /* ---------- FEATURED PROJECT ---------- */
  .featured-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
  }
  .featured-info {
    padding: 40px 44px;
    display: flex; flex-direction: column; gap: 22px;
    border-right: 1px solid var(--line);
  }
  .featured-tag-row {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  }
  .badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
  }
  .badge-flag { background: var(--ink); color: var(--bg); }
  .badge-mobile { background: #DDE5DD; color: #2D5430; }
  .badge-game { background: #E8DDF0; color: #5A3D75; }
  .badge-seo { background: #F0E2C8; color: #6B4F1A; }
  .badge-utility { background: #DCE4EC; color: #2D4A6B; }
  .badge-tool { background: #F0DDD0; color: #8C3F1E; }
  .badge-puzzle { background: #E5DDC8; color: #5C4A1F; }
  .badge-experiment { background: #EAE3D5; color: #6B6149; }
  .badge-ru { background: var(--bg-sunk); color: var(--ink-2); border: 1px solid var(--line-2); }

  .featured-info h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 56px;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0;
  }
  .featured-info .url {
    font-family: var(--mono); font-size: 13px;
    color: var(--accent);
  }
  .featured-info p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: 0;
    max-width: 460px;
  }

  .feat-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
    padding-top: 6px;
  }
  .feat-meta .k {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 6px;
  }
  .feat-meta .v {
    font-size: 14px; color: var(--ink); font-weight: 500;
  }

  .team-list {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 4px;
  }
  .team-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .15s ease, transform .15s ease;
  }
  a.team-row:hover {
    border-color: var(--ink);
    transform: translateY(-1px);
  }
  .avatar {
    width: 32px; height: 32px; border-radius: 999px;
    display: grid; place-items: center;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    background: var(--accent-soft); color: var(--accent);
    flex-shrink: 0;
  }
  .avatar.b { background: #DDE8E0; color: #2D5430; }
  .team-row .who { font-size: 13px; font-weight: 500; }
  .team-row .what { font-size: 12px; color: var(--muted); }

  .featured-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    padding-top: 6px;
  }

  /* visual side */
  .featured-visual {
    position: relative;
    background: linear-gradient(160deg, #E8DCC8 0%, #D5C4A8 100%);
    min-height: 520px;
    overflow: hidden;
  }
  .featured-visual .grid-bg {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(to right, rgba(22,33,58,0.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(22,33,58,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
  }
  .browser-mock {
    position: absolute;
    top: 48px; left: 48px; right: 96px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 24px 60px -20px rgba(22,33,58,0.25), 0 4px 12px -2px rgba(22,33,58,0.1);
    overflow: hidden;
  }
  .browser-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid #EFEAE0;
    background: #FAF7F1;
  }
  .browser-bar .light {
    width: 10px; height: 10px; border-radius: 999px; background: #E5DDD0;
  }
  .browser-content {
    aspect-ratio: 16 / 10;
    background: #FBF7F0;
    position: relative;
    overflow: hidden;
  }
  .browser-content img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  .phone-mock {
    position: absolute;
    bottom: 36px; right: 32px;
    width: 150px;
    filter: drop-shadow(0 24px 40px rgba(22,33,58,0.35)) drop-shadow(0 6px 12px rgba(22,33,58,0.15));
  }
  .phone-mock img {
    width: 100%;
    display: block;
  }

  /* second product row inside featured */
  .featured-extras {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .extra-row {
    padding: 22px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  .extra-row + .extra-row { border-left: 1px solid var(--line); }
  .extra-meta { display: flex; flex-direction: column; gap: 2px; }
  .extra-kind {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
  }
  .extra-name { font-family: var(--serif); font-size: 22px; line-height: 1; }
  .extra-url { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 4px; }
  .store-mini-row { display: flex; gap: 6px; }
  .store-mini {
    height: 32px;
    padding: 0 10px;
    background: var(--ink); color: var(--bg);
    border-radius: 8px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px;
    transition: transform .15s ease, background .15s ease;
  }
  .store-mini:hover { background: #0a1226; transform: translateY(-1px); }

  /* ---------- MOBILE APPS ---------- */
  .apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .app-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
    transition: transform .2s ease, border-color .18s ease, box-shadow .2s ease;
  }
  .app-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-2);
    box-shadow: 0 12px 30px -12px rgba(22,33,58,0.12);
  }
  .app-card .app-url {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin: -10px 0 0;
    align-self: flex-start;
  }
  .app-icon-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
  }
  .app-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(22,33,58,0.06), 0 4px 10px -2px rgba(22,33,58,0.15);
    flex-shrink: 0;
  }
  .app-card h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
  }
  .app-card .desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-2);
    margin: 0;
    flex: 1;
  }
  .app-card .stores {
    position: relative;
    z-index: 2;
    display: flex; align-items: center; gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--muted);
    flex-wrap: wrap;
  }
  .app-card .stores .pill {
    padding: 3px 8px;
    background: var(--bg-sunk);
    border-radius: 999px;
    color: var(--ink-2);
    transition: background .15s ease, color .15s ease;
  }
  a.pill:hover { background: var(--ink); color: var(--bg); }

  /* ---------- BROWSER GAMES & TOOLS GRID ---------- */
  .filter-row {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .filter {
    padding: 7px 14px;
    border: 1px solid var(--line-2);
    background: var(--bg-card);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink-2);
    cursor: pointer;
    font-family: inherit;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
  }
  .filter:hover { border-color: var(--ink); }
  .filter.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .filter .count {
    font-family: var(--mono); font-size: 10px;
    margin-left: 6px; opacity: 0.6;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .proj {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    display: flex; flex-direction: column;
    gap: 12px;
    position: relative;
    transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease;
    min-height: 220px;
  }
  a.proj:hover {
    transform: translateY(-2px);
    border-color: var(--line-2);
    box-shadow: 0 14px 28px -14px rgba(22,33,58,0.14);
  }
  .proj-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px;
  }
  .proj h5 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
  }
  .proj .arrow-link {
    width: 32px; height: 32px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    display: grid; place-items: center;
    color: var(--ink);
    flex-shrink: 0;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
  }
  a.proj:hover .arrow-link {
    background: var(--ink); color: var(--bg);
    border-color: var(--ink);
    transform: rotate(-45deg);
  }
  .proj .desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
    flex: 1;
  }
  .proj .url {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.02em;
  }
  .proj-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .proj-foot .badges { display: flex; gap: 6px; flex-wrap: wrap; }
  .proj-foot .url-mono {
    font-family: var(--mono); font-size: 11px; color: var(--accent);
  }

  .proj-shot {
    margin: -22px -22px 14px -22px;
    background: #FAF7F1;
    display: block;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .proj-shot .browser-bar {
    padding: 8px 12px;
    background: #FAF7F1;
    border-bottom: 1px solid #EFEAE0;
  }
  .proj-shot .browser-bar .light {
    width: 7px; height: 7px;
  }
  .proj-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
  }
  a.proj:hover .proj-shot img { transform: scale(1.03); }

  /* ---------- BACKGROUND / HISTORY ---------- */
  .history-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-bottom: 18px;
  }
  .history-meta {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 14px;
  }
  .history-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
  }
  .history-card h3 em { font-style: italic; color: var(--accent); }
  .history-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: 0 0 14px;
  }
  .history-milestones {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex; flex-direction: column; gap: 8px;
  }
  .history-milestones li {
    display: flex; align-items: baseline; gap: 14px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .history-milestones li strong {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
    color: var(--accent); min-width: 90px;
  }
  .history-tags {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-top: 18px;
  }
  .history-tags span {
    padding: 4px 10px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 12px;
    color: var(--ink-2);
    background: var(--bg);
  }
  .history-shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-content: start;
  }
  .history-shot {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px -10px rgba(22,33,58,0.18);
    display: block;
  }
  .history-shot .browser-bar {
    padding: 8px 10px;
  }
  .history-shot .browser-bar .light {
    width: 7px; height: 7px;
  }
  .history-shot img {
    width: 100%; aspect-ratio: 16 / 10;
    object-fit: cover; display: block;
  }
  .history-shot .cap {
    padding: 8px 12px;
    font-family: var(--mono); font-size: 10px;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .history-card.solo { grid-template-columns: 1fr; }
  .history-focus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-content: start;
    padding-left: 28px;
    border-left: 1px solid var(--line);
  }
  .focus-row {
    display: flex; align-items: baseline; gap: 14px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .focus-row .n {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
    color: var(--muted);
  }
  .focus-row .t {
    font-family: var(--serif); font-size: 18px; line-height: 1.15;
    color: var(--ink);
  }

  /* ---------- CONTACT ---------- */
  .contact-card {
    background: var(--ink); color: var(--bg);
    border-radius: 28px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: end;
  }
  .contact-card h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
  }
  .contact-card h2 em { font-style: italic; color: #E8B89C; }
  .contact-card p {
    font-size: 17px; line-height: 1.55;
    color: rgba(245,240,232,0.75);
    margin: 0 0 28px;
    max-width: 480px;
  }
  .contact-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
  }
  .btn-light {
    background: var(--bg); color: var(--ink);
  }
  .btn-light:hover { background: white; }
  .btn-outline-light {
    background: transparent; color: var(--bg);
    border-color: rgba(245,240,232,0.3);
  }
  .btn-outline-light:hover { border-color: var(--bg); }

  .contact-side {
    display: flex; flex-direction: column; gap: 14px;
  }
  .contact-line {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(245,240,232,0.15);
    font-size: 14px;
    gap: 16px;
  }
  .contact-line:last-child { border-bottom: none; }
  .contact-line .k {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(245,240,232,0.55);
  }
  .contact-line .v { font-family: var(--mono); font-size: 13px; color: var(--bg); text-align: right; }
  .contact-line a.v:hover { color: #E8B89C; }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 32px 0 56px;
    border-top: 1px solid var(--line);
    margin-top: 48px;
  }
  .foot-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--muted);
  }

  /* responsive */
  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-side { flex-direction: row; gap: 14px; }
    .photo { aspect-ratio: 1; flex: 1; }
    .stats-row { grid-template-columns: 1fr; }
    .stat { border-right: none; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: none; }
    .featured-card { grid-template-columns: 1fr; }
    .featured-info { border-right: none; border-bottom: 1px solid var(--line); }
    .featured-extras { grid-template-columns: 1fr; }
    .extra-row + .extra-row { border-left: none; border-top: 1px solid var(--line); }
    .apps-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-card { grid-template-columns: 1fr; padding: 48px 32px; }
    .nav-links a:not(.active):not(.nav-cta) { display: none; }
    .history-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
    .history-focus { padding-left: 0; border-left: none; padding-top: 8px; border-top: 1px solid var(--line); }
  }
  @media (max-width: 600px) {
    .container { padding: 0 20px; }
    .apps-grid, .projects-grid { grid-template-columns: 1fr; }
    .section-head { grid-template-columns: 1fr; }
    .section-head .sub { text-align: left; }
    .featured-info { padding: 32px 24px; }
    .history-shots { grid-template-columns: 1fr 1fr; }
  }
