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

    :root {
      --bg: #f7f3ea;
      --paper: #fffdf8;
      --ink: #171717;
      --muted: #676057;
      --line: #ded6c9;
      --accent: #126e82;
      --accent-strong: #0d4c5d;
      --warm: #e66f45;
      --leaf: #697d3b;
      --shadow: 0 18px 45px rgba(34, 28, 20, 0.12);
      --radius: 8px;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        linear-gradient(120deg, rgba(18, 110, 130, 0.08), transparent 34%),
        linear-gradient(240deg, rgba(230, 111, 69, 0.1), transparent 38%),
        var(--bg);
    }

a {
  color: inherit;
  text-decoration: none;
}

figure,
menu {
  margin: 0;
}

    .page {
      width: min(1120px, calc(100% - 40px));
      margin: 0 auto;
      padding: 32px 0 56px;
    }

    .site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 14px 0 42px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: 0.02em;
    }

    .brand-mark {
      display: grid;
      width: 42px;
      height: 42px;
      place-items: center;
      color: #ffffff;
      background: var(--ink);
      border-radius: 50%;
      font-size: 0.92rem;
      overflow: hidden;
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
  list-style: none;
}

    .site-nav a {
      position: relative;
      padding-bottom: 4px;
    }

    .site-nav a::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 1px;
      content: "";
      background: currentColor;
      opacity: 0;
      transform: scaleX(0.7);
      transition: opacity 160ms ease, transform 160ms ease;
    }

    .site-nav a:hover::after,
    .site-nav a:focus-visible::after {
      opacity: 1;
      transform: scaleX(1);
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
      gap: 44px;
      align-items: end;
      min-height: min(320px, calc(100vh - 110px));
      padding-bottom: 42px;
    }

    .hero-copy {
      max-width: 700px;
    }

    .eyebrow {
      margin: 0 0 18px;
      color: var(--accent-strong);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    h1 {
      max-width: 780px;
      margin: 0;
      font-size: clamp(3rem, 7vw, 6.7rem);
      line-height: 0.94;
      letter-spacing: 0;
    }

    .lead {
      max-width: 650px;
      margin: 26px 0 0;
      color: var(--muted);
      font-size: clamp(1.05rem, 2vw, 1.28rem);
      line-height: 1.7;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 18px;
      border: 1px solid var(--ink);
      border-radius: var(--radius);
      font-weight: 800;
      transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    }

    .button.primary {
      color: #ffffff;
      background: var(--ink);
    }

    .button.secondary {
      color: var(--ink);
      background: rgba(255, 255, 255, 0.32);
    }

    .button:hover,
    .button:focus-visible {
      transform: translateY(-2px);
    }

    .button.secondary:hover,
    .button.secondary:focus-visible {
      color: #ffffff;
      background: var(--accent-strong);
      border-color: var(--accent-strong);
    }

    .hero-board {
      position: relative;
      min-height: 460px;
      border: 1px solid rgba(23, 23, 23, 0.12);
      border-radius: var(--radius);
      background:
        linear-gradient(90deg, rgba(23, 23, 23, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(23, 23, 23, 0.06) 1px, transparent 1px),
        rgba(255, 253, 248, 0.72);
      background-size: 32px 32px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .hero-board::before,
    .hero-board::after {
      position: absolute;
      content: "";
      background: var(--ink);
      opacity: 0.08;
    }

    .hero-board::before {
      width: 1px;
      height: 84%;
      top: 8%;
      left: 34%;
    }

    .hero-board::after {
      width: 76%;
      height: 1px;
      right: 8%;
      bottom: 31%;
    }

    .board-card {
      position: absolute;
      display: grid;
      align-content: space-between;
      min-height: 118px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--paper);
      box-shadow: 0 14px 30px rgba(23, 23, 23, 0.1);
      cursor: grab;
      touch-action: none;
      user-select: none;
      will-change: left, top;
      transition: box-shadow 160ms ease, transform 160ms ease;
      z-index: 1;
    }

    .board-card:hover,
    .board-card:focus-visible {
      box-shadow: 0 18px 38px rgba(23, 23, 23, 0.15);
      outline: none;
      transform: translateY(-2px);
      z-index: 2;
    }

    .board-card.dragging {
      cursor: grabbing;
      box-shadow: 0 22px 46px rgba(23, 23, 23, 0.18);
      transform: scale(1.015);
      z-index: 4;
    }

    .board-card strong {
      font-size: 1rem;
    }

    .board-card span {
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.4;
    }

    .board-card.tree {
      width: 54%;
      top: 26px;
      left: 24px;
    }

    .board-card.timer {
      width: 56%;
      top: 282px;
      left: 74px;
    }

    .board-card.small {
      width: 36%;
      top: 170px;
      left: 62%;
      min-height: 92px;
      background: #f3fbfd;
    }

    .mini-tree,
    .mini-timer {
      position: relative;
      height: 54px;
      margin-top: 14px;
    }

    .mini-tree::before,
    .mini-tree::after {
      position: absolute;
      content: "";
      background: var(--line);
    }

    .mini-tree::before {
      width: 74%;
      height: 1px;
      left: 13%;
      top: 28px;
    }

    .mini-tree::after {
      width: 1px;
      height: 32px;
      left: 50%;
      top: 10px;
    }

    .node {
      position: absolute;
      width: 34px;
      height: 22px;
      border-radius: 999px;
      background: var(--leaf);
    }

    .node:nth-child(1) {
      top: 0;
      left: calc(50% - 17px);
    }

    .node:nth-child(2) {
      bottom: 0;
      left: 8%;
      background: var(--warm);
    }

    .node:nth-child(3) {
      right: 8%;
      bottom: 0;
      background: var(--accent);
    }

    .mini-timer {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 12px;
      align-items: end;
    }

    .meter {
      position: relative;
      height: 54px;
      border: 1px solid var(--line);
      border-radius: 999px;
      overflow: hidden;
      background: #f4efe4;
    }

    .meter::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 68%;
      content: "";
      background: linear-gradient(0deg, var(--warm), #f7b267);
    }

    .timer-lines {
      display: grid;
      gap: 8px;
      padding-bottom: 6px;
    }

    .timer-lines span {
      display: block;
      height: 8px;
      border-radius: 999px;
      background: rgba(18, 110, 130, 0.18);
    }

    .timer-lines span:nth-child(2) {
      width: 78%;
      background: rgba(230, 111, 69, 0.2);
    }

    .timer-lines span:nth-child(3) {
      width: 54%;
    }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin: 22px 0 22px;
      padding-top: 24px;
      border-top: 1px solid rgba(23, 23, 23, 0.12);
    }

    .section-heading h2 {
      margin: 0;
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1;
      letter-spacing: 0;
    }

    .section-heading p {
      max-width: 430px;
      margin: 0;
      color: var(--muted);
      line-height: 1.6;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .project-card {
      display: grid;
      grid-template-rows: auto 1fr;
      min-height: 420px;
      border: 1px solid rgba(23, 23, 23, 0.13);
      border-radius: var(--radius);
      background: var(--paper);
      box-shadow: 0 8px 24px rgba(34, 28, 20, 0.08);
      overflow: hidden;
      transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .project-card:hover,
    .project-card:focus-visible {
      border-color: rgba(18, 110, 130, 0.48);
      box-shadow: var(--shadow);
      transform: translateY(-4px);
      outline: none;
    }

    .project-visual {
      position: relative;
      height: 190px;
      background: #efe8db;
      overflow: hidden;
    }

    .project-visual.tree-visual {
      background:
        linear-gradient(90deg, rgba(105, 125, 59, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(105, 125, 59, 0.18) 1px, transparent 1px),
        #f6f2e9;
      background-size: 34px 34px;
    }

    .project-visual.timer-visual {
      background: #101217;
    }

    .tree-preview {
      position: absolute;
      inset: 24px 22px;
    }

    .tree-line {
      position: absolute;
      background: rgba(23, 23, 23, 0.18);
    }

    .tree-line.v1 {
      top: 24px;
      left: 50%;
      width: 1px;
      height: 88px;
    }

    .tree-line.h1 {
      top: 92px;
      left: 17%;
      width: 66%;
      height: 1px;
    }

    .tree-line.v2 {
      top: 92px;
      left: 24%;
      width: 1px;
      height: 42px;
    }

    .tree-line.v3 {
      top: 92px;
      right: 24%;
      width: 1px;
      height: 42px;
    }

    .person-chip {
      position: absolute;
      display: grid;
      place-items: center;
      min-width: 76px;
      height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      color: #ffffff;
      font-size: 0.74rem;
      font-weight: 800;
      box-shadow: 0 10px 18px rgba(23, 23, 23, 0.14);
    }

    .person-chip.root {
      top: 6px;
      left: calc(50% - 38px);
      background: var(--leaf);
    }

    .person-chip.left {
      bottom: 0;
      left: 4%;
      background: var(--warm);
    }

    .person-chip.right {
      right: 4%;
      bottom: 0;
      background: var(--accent);
    }

    .timer-preview {
      position: absolute;
      inset: 24px;
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 22px;
      align-items: center;
      color: #f8f8f5;
    }

    .timer-bar {
      position: relative;
      width: 70px;
      height: 138px;
      border: 1px solid #313747;
      border-radius: 12px;
      background: #1a1d27;
      overflow: hidden;
    }

    .timer-bar::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 62%;
      content: "";
      background: linear-gradient(0deg, #e06030, #f4a14a, #fde68a);
      box-shadow: 0 0 26px rgba(244, 161, 74, 0.38);
    }

    .timer-preview-content {
      display: grid;
      gap: 13px;
    }

    .timer-time {
      font-size: clamp(2.1rem, 5vw, 3.3rem);
      font-weight: 900;
      line-height: 1;
      color: #f4a14a;
    }

    .timer-row {
      height: 8px;
      border-radius: 999px;
      background: #303546;
    }

    .timer-row:nth-child(3) {
      width: 76%;
    }

    .timer-row:nth-child(4) {
      width: 48%;
      background: #26384a;
    }

    .project-content {
      display: grid;
      align-content: space-between;
      gap: 24px;
      padding: 22px;
    }

    .project-kicker {
      margin: 0 0 12px;
      color: var(--accent-strong);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .project-content h3 {
      margin: 0;
      font-size: clamp(1.5rem, 3vw, 2rem);
      line-height: 1.05;
      letter-spacing: 0;
    }

    .project-content p {
      margin: 16px 0 0;
      color: var(--muted);
      line-height: 1.65;
    }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-content .project-meta {
  margin: 0;
}

    .tag {
      display: inline-flex;
      min-height: 30px;
      align-items: center;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.5);
      font-size: 0.8rem;
      font-weight: 700;
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      color: var(--accent-strong);
      font-weight: 900;
    }

    .project-link::after {
      content: ">";
      transition: transform 160ms ease;
    }

    .project-card:hover .project-link::after,
    .project-card:focus-visible .project-link::after {
      transform: translateX(4px);
    }

    .footer {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      margin-top: 42px;
      padding-top: 24px;
      border-top: 1px solid rgba(23, 23, 23, 0.12);
      color: var(--muted);
      font-size: 0.92rem;
    }

    .system-version {
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 10;
      margin: 0;
      padding: 7px 10px;
      border: 1px solid rgba(18, 110, 130, 0.24);
      border-radius: var(--radius);
      background: rgba(255, 253, 248, 0.84);
      box-shadow: 0 10px 24px rgba(34, 28, 20, 0.1);
      color: var(--accent-strong);
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      pointer-events: none;
    }

    @media (max-width: 860px) {
      .hero {
        grid-template-columns: 1fr;
        min-height: auto;
      }

      .hero-board {
        min-height: 460px;
      }

      .section-heading {
        display: block;
      }

      .section-heading p {
        margin-top: 12px;
      }

      .projects-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 620px) {
      .page {
        width: min(100% - 28px, 1120px);
        padding-top: 18px;
      }

      .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 30px;
      }

      .site-nav {
        width: 100%;
        justify-content: space-between;
      }

      .hero-actions,
      .button {
        width: 100%;
      }

      .hero-board {
        min-height: 486px;
      }

      .board-card {
        min-height: 98px;
        padding: 14px;
      }

      .board-card.tree {
        width: 62%;
        top: 16px;
        left: 14px;
      }

      .board-card.timer {
        width: 64%;
        top: 314px;
        left: 18%;
      }

      .board-card.small {
        width: 46%;
        top: 190px;
        left: 50%;
      }

      .project-card {
        min-height: 0;
      }

      .project-visual {
        height: 164px;
      }

      .timer-preview {
        grid-template-columns: 54px 1fr;
        gap: 16px;
      }

      .timer-bar {
        width: 54px;
        height: 116px;
      }

      .footer {
        display: block;
      }

      .footer p + p {
        margin-top: 8px;
      }

      .system-version {
        right: 12px;
        bottom: 12px;
        font-size: 0.7rem;
      }
    }
