:root {
      --bg: #050505;
      --panel: rgba(9, 17, 18, 0.76);
      --panel-strong: rgba(8, 13, 15, 0.92);
      --accent: #00ffcc;
      --accent-soft: rgba(0, 255, 204, 0.18);
      --accent-line: rgba(0, 255, 204, 0.28);
      --blue: rgba(48, 112, 255, 0.2);
      --text: #e0e0e0;
      --muted: #8ba09b;
      --white: #f5fffd;
      --radius: 8px;
      --font-ui: "Inter", "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
      --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      margin: 0;
      overflow-x: hidden;
      color: var(--text);
      background:
        radial-gradient(circle at 15% 12%, var(--blue), transparent 28rem),
        radial-gradient(circle at 82% 8%, rgba(0, 255, 204, 0.12), transparent 30rem),
        linear-gradient(180deg, #050714 0%, var(--bg) 44%, #020202 100%);
      font-family: var(--font-ui);
    }

    body::before,
    body::after {
      position: fixed;
      inset: 0;
      z-index: -3;
      pointer-events: none;
      content: "";
    }

    body::before {
      background-image:
        linear-gradient(rgba(0, 255, 204, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.12) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 82%, transparent);
      opacity: 0.5;
      animation: gridMove 22s linear infinite;
    }

    body::after {
      z-index: -2;
      background:
        radial-gradient(circle, rgba(245, 255, 253, 0.85) 0 1px, transparent 1.8px),
        radial-gradient(circle, rgba(0, 255, 204, 0.28) 0 1px, transparent 1.7px),
        repeating-linear-gradient(180deg, transparent 0, transparent 7px, rgba(0, 255, 204, 0.026) 8px);
      background-size: 140px 140px, 240px 240px, 100% 9px;
      background-position: 0 0, 80px 40px, 0 0;
      opacity: 0.42;
      animation: starMove 42s linear infinite;
    }

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

    .starfield {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      overflow: hidden;
    }

    .shooting-star {
      position: absolute;
      left: -20%;
      width: 180px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--white), var(--accent), transparent);
      box-shadow: 0 0 20px rgba(0, 255, 204, 0.48);
      transform: rotate(-18deg);
      animation: shoot 8s ease-in-out infinite;
    }

    .shooting-star:nth-child(1) { top: 16%; }
    .shooting-star:nth-child(2) { top: 58%; animation-delay: 4s; animation-duration: 10s; }

    .shell {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
      padding: 24px 0 56px;
    }

    .topbar {
      position: sticky;
      top: 18px;
      z-index: 20;
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 18px;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid rgba(0, 255, 204, 0.18);
      border-radius: var(--radius);
      background: rgba(5, 5, 5, 0.72);
      box-shadow: 0 0 32px rgba(0, 255, 204, 0.08);
      backdrop-filter: blur(18px);
    }

    .brand {
      display: inline-grid;
      grid-template-columns: 34px auto;
      gap: 12px;
      align-items: center;
      min-width: 0;
      font-family: var(--font-mono);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .brand-logo {
      width: 34px;
      height: 34px;
      border-radius: 7px;
      display: block;
    }

    .brand-mark {
      position: relative;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(0, 255, 204, 0.58);
      border-radius: 7px;
      box-shadow: inset 0 0 18px var(--accent-soft), 0 0 18px rgba(0, 255, 204, 0.16);
    }

    .brand-mark::before,
    .brand-mark::after {
      position: absolute;
      content: "";
      border: 1px solid var(--accent);
      animation: pulseBox 2.8s ease-in-out infinite;
    }

    .brand-mark::before { inset: 7px; }
    .brand-mark::after { inset: 13px; border-color: rgba(255, 255, 255, 0.64); animation-delay: 0.48s; }

    .brand-name {
      overflow: hidden;
      color: var(--white);
      font-size: 0.78rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .media-card {
      overflow: hidden;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 14px 34px rgba(25, 31, 28, 0.08);
    }

    .media-card img,
    .panel-image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .panel-image {
      height: 180px;
      margin-bottom: 14px;
      border-radius: calc(var(--radius) - 2px);
    }

    .image-band {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      gap: 18px;
      align-items: center;
      padding: 20px;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 14px 34px rgba(25, 31, 28, 0.08);
    }

    .image-band img {
      width: 100%;
      min-height: 260px;
      object-fit: cover;
      border-radius: calc(var(--radius) - 2px);
    }

    .image-band h2 {
      margin: 0 0 12px;
      color: var(--white);
      font-size: clamp(1.6rem, 4vw, 2.8rem);
      line-height: 1.16;
    }

    .image-band p {
      margin: 0;
      color: #596662;
      line-height: 1.8;
    }

    .nav {
      display: flex;
      justify-content: center;
      gap: 8px;
    }

    .nav-link,
    .button {
      --mx: 50%;
      --my: 50%;
      position: relative;
      display: inline-flex;
      min-height: 38px;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border: 1px solid rgba(0, 255, 204, 0.16);
      border-radius: 6px;
      color: #b7cac6;
      font-family: var(--font-mono);
      font-size: 0.74rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background:
        radial-gradient(circle at var(--mx) var(--my), rgba(0, 255, 204, 0.22), transparent 36%),
        rgba(255, 255, 255, 0.018);
      transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    }

    .nav-link {
      padding: 0 13px;
    }

    .button {
      min-height: 44px;
      padding: 0 18px;
      color: var(--white);
      background:
        radial-gradient(circle at var(--mx) var(--my), rgba(0, 255, 204, 0.25), transparent 38%),
        rgba(0, 255, 204, 0.06);
    }

    .button.secondary {
      color: #bfd0cc;
      background: rgba(255, 255, 255, 0.018);
    }

    .nav-link::before,
    .button::before {
      position: absolute;
      top: 0;
      bottom: 0;
      left: -70%;
      width: 42%;
      content: "";
      background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.72), transparent);
      opacity: 0;
      transform: skewX(-18deg);
    }

    .nav-link:hover,
    .nav-link:focus-visible,
    .button:hover,
    .button:focus-visible {
      color: var(--white);
      border-color: rgba(0, 255, 204, 0.58);
      box-shadow: 0 0 26px rgba(0, 255, 204, 0.16);
      outline: none;
      transform: translateY(-2px);
    }

    .nav-link:hover::before,
    .nav-link:focus-visible::before,
    .button:hover::before,
    .button:focus-visible::before {
      animation: beam 780ms ease;
    }

    .contact-mini {
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 0.76rem;
      letter-spacing: 0.08em;
      white-space: nowrap;
    }

    .hero {
      display: grid;
      min-height: calc(100vh - 92px);
      place-items: center;
      padding: 82px 0 62px;
      text-align: center;
    }

    .hero-inner {
      position: relative;
      display: grid;
      justify-items: center;
      gap: 24px;
      width: min(980px, 100%);
      animation: enter 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }

    .hero-inner::before,
    .hero-inner::after {
      position: absolute;
      z-index: -1;
      pointer-events: none;
      content: "";
      border-radius: 50%;
      transform: rotateX(68deg);
    }

    .hero-inner::before {
      width: min(82vw, 700px);
      aspect-ratio: 1;
      border: 1px solid rgba(0, 255, 204, 0.14);
      box-shadow: inset 0 0 42px rgba(0, 255, 204, 0.05), 0 0 90px rgba(0, 255, 204, 0.08);
      animation: orbit 18s linear infinite;
    }

    .hero-inner::after {
      width: min(68vw, 530px);
      aspect-ratio: 1;
      border: 1px dashed rgba(224, 224, 224, 0.14);
      animation: orbit 26s linear reverse infinite;
    }

    .eyebrow {
      margin: 0;
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 0.76rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .hero h1 {
      margin: 0;
      color: var(--white);
      font-size: clamp(4rem, 11vw, 9.4rem);
      font-weight: 780;
      line-height: 0.92;
      letter-spacing: 0;
      text-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
    }

    .hero h1 span {
      display: block;
      color: transparent;
      -webkit-text-stroke: 1px rgba(0, 255, 204, 0.78);
      text-shadow: none;
    }

    .hero-copy {
      width: min(720px, 100%);
      margin: 0;
      color: #b0c2be;
      font-size: clamp(1rem, 2vw, 1.16rem);
      line-height: 1.8;
    }

    .hero-actions,
    .contact-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
    }

    .section-actions {
      justify-content: flex-start;
      margin-bottom: 16px;
    }

    .metrics {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      width: min(860px, 100%);
      margin-top: 12px;
    }

    .metric,
    .panel,
    .card,
    .timeline-item {
      --mx: 50%;
      --my: 50%;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(0, 255, 204, 0.18);
      border-radius: var(--radius);
      background:
        radial-gradient(circle at var(--mx) var(--my), rgba(0, 255, 204, 0.15), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 46%),
        var(--panel);
      box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.055);
      backdrop-filter: blur(18px);
    }

    .metric {
      padding: 15px;
    }

    .metric strong {
      display: block;
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 1.45rem;
      font-weight: 620;
    }

    .metric span {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    section {
      scroll-margin-top: 110px;
      padding: 24px 0 36px;
    }

    .section-head {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: end;
      gap: 24px;
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(0, 255, 204, 0.18);
    }

    .section-head h2 {
      margin: 0;
      color: var(--white);
      font-size: clamp(1.9rem, 4vw, 3rem);
      font-weight: 700;
      letter-spacing: 0;
    }

    .section-code {
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 0.76rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
      gap: 16px;
    }

    .panel {
      padding: 26px;
    }

    .panel h3,
    .card h3,
    .timeline-item h3 {
      margin: 0 0 12px;
      color: var(--white);
      font-size: clamp(1.28rem, 3vw, 2rem);
      font-weight: 660;
      letter-spacing: 0;
    }

    .panel p,
    .card p,
    .timeline-item p {
      margin: 0;
      color: #a9bbb7;
      line-height: 1.78;
    }

    .info-list {
      display: grid;
      gap: 12px;
      margin: 24px 0 0;
      padding: 0;
      list-style: none;
    }

    .info-list li {
      display: grid;
      grid-template-columns: 105px 1fr;
      gap: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(0, 255, 204, 0.13);
    }

    .info-list strong {
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 0.74rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .info-list span {
      color: #d3dfdc;
      line-height: 1.65;
    }

    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 18px 0 0;
      padding: 0;
      list-style: none;
    }

    .tag-cloud li {
      min-height: 28px;
      padding: 6px 10px;
      border: 1px solid rgba(0, 255, 204, 0.23);
      border-radius: 999px;
      color: #c8fff4;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      background: rgba(0, 255, 204, 0.06);
    }

    .project-grid,
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 16px;
    }

    .card {
      display: grid;
      grid-column: span 6;
      min-height: 330px;
      align-content: space-between;
      gap: 22px;
      padding: 22px;
      transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    }

    .card:nth-child(3),
    .card:nth-child(4) {
      grid-column: span 6;
    }

    .card::before {
      position: absolute;
      inset: 0;
      pointer-events: none;
      content: "";
      border-radius: inherit;
      background:
        linear-gradient(90deg, transparent, var(--accent), transparent) 0 0 / 100% 1px no-repeat,
        linear-gradient(180deg, transparent, var(--accent), transparent) 100% 0 / 1px 100% no-repeat,
        linear-gradient(90deg, transparent, var(--accent), transparent) 0 100% / 100% 1px no-repeat,
        linear-gradient(180deg, transparent, var(--accent), transparent) 0 0 / 1px 100% no-repeat;
      opacity: 0;
      transition: opacity 220ms ease;
    }

    .card:hover,
    .card:focus-within {
      border-color: rgba(0, 255, 204, 0.54);
      box-shadow: 0 24px 90px rgba(0, 0, 0, 0.55), 0 0 36px rgba(0, 255, 204, 0.16);
      transform: translateY(-6px);
    }

    .card:hover::before,
    .card:focus-within::before {
      opacity: 0.72;
      animation: borderFlow 1.3s linear infinite;
    }

    .card-meta {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .card-meta strong {
      color: var(--accent);
      font-weight: 520;
    }

    .project-grid.project-list {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .project-grid.project-list .card {
      grid-column: auto;
      grid-template-columns: 190px minmax(0, 1fr);
      align-items: center;
      min-height: 118px;
      gap: 24px;
      padding: 18px 22px;
    }

    .project-grid.project-list .card h3 {
      margin-bottom: 8px;
      font-size: clamp(1.18rem, 2vw, 1.42rem);
    }

    .project-grid.project-list .card p {
      font-size: 0.95rem;
      line-height: 1.65;
    }

    .project-grid.project-list .card-meta {
      display: grid;
      gap: 8px;
      align-content: center;
      height: 100%;
      padding-right: 18px;
      border-right: 1px solid rgba(0, 255, 204, 0.14);
    }

    .skills-grid .card {
      grid-column: span 4;
      min-height: 260px;
    }

    .skill-meter {
      display: grid;
      gap: 8px;
      margin-top: 18px;
    }

    .skill-meter span {
      display: flex;
      justify-content: space-between;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .skill-meter i {
      display: block;
      height: 4px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
    }

    .skill-meter i::before {
      display: block;
      width: var(--level);
      height: 100%;
      content: "";
      background: linear-gradient(90deg, var(--accent), rgba(48, 112, 255, 0.9));
      box-shadow: 0 0 18px rgba(0, 255, 204, 0.45);
    }

    .level-94 { --level: 94%; }
    .level-90 { --level: 90%; }
    .level-88 { --level: 88%; }
    .level-87 { --level: 87%; }
    .level-86 { --level: 86%; }
    .level-78 { --level: 78%; }

    .timeline {
      display: grid;
      gap: 14px;
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 190px 1fr;
      gap: 24px;
      padding: 22px;
    }

    .time {
      color: var(--accent);
      font-family: var(--font-mono);
      font-size: 0.76rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1.08fr 0.92fr;
      gap: 16px;
    }

    .contact-grid.single {
      grid-template-columns: 1fr;
    }

    .contact-grid .panel {
      min-height: 270px;
    }

    .contact-actions {
      justify-content: flex-start;
      margin-top: 24px;
    }

    .footer {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding-top: 28px;
      border-top: 1px solid rgba(0, 255, 204, 0.14);
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    @keyframes gridMove {
      from { background-position: 0 0, 0 0; }
      to { background-position: 72px 72px, 72px 72px; }
    }

    @keyframes starMove {
      from { background-position: 0 0, 80px 40px, 0 0; }
      to { background-position: 140px -140px, 240px -200px, 0 42px; }
    }

    @keyframes shoot {
      0%, 62%, 100% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-18deg); }
      70% { opacity: 1; }
      84% { opacity: 0; transform: translate3d(138vw, 36vh, 0) rotate(-18deg); }
    }

    @keyframes pulseBox {
      0%, 100% { opacity: 0.34; transform: scale(0.86); }
      50% { opacity: 1; transform: scale(1); }
    }

    @keyframes beam {
      0% { left: -70%; opacity: 0; }
      20%, 70% { opacity: 1; }
      100% { left: 130%; opacity: 0; }
    }

    @keyframes enter {
      from { opacity: 0; transform: translateY(28px) scale(0.985); filter: blur(10px); }
      to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    }

    @keyframes orbit {
      from { rotate: 0deg; }
      to { rotate: 360deg; }
    }

    @keyframes borderFlow {
      from { background-position: -100% 0, 100% -100%, 100% 100%, 0 100%; }
      to { background-position: 100% 0, 100% 100%, -100% 100%, 0 -100%; }
    }

    @media (max-width: 900px) {
      .shell {
        width: min(100% - 28px, 720px);
      }

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

      .nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
      }

      .nav-link {
        padding: 0 8px;
      }

      .contact-mini {
        display: none;
      }

      .hero {
        min-height: auto;
        padding: 86px 0 64px;
      }

      .metrics,
      .about-grid,
      .contact-grid,
      .section-head {
        grid-template-columns: 1fr;
      }

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

      .project-grid.project-list {
        grid-template-columns: 1fr;
      }

      .project-grid.project-list .card {
        grid-template-columns: 1fr;
      }

      .project-grid.project-list .card-meta {
        height: auto;
        padding-right: 0;
        padding-bottom: 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 255, 204, 0.14);
      }

      .card,
      .card:nth-child(3),
      .card:nth-child(4),
      .skills-grid .card {
        grid-column: auto;
      }

      .timeline-item,
      .info-list li {
        grid-template-columns: 1fr;
      }

      .footer {
        display: grid;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
      }
    }

    :root {
      --bg: #f7f7f4;
      --panel: #ffffff;
      --panel-strong: #ffffff;
      --accent: #2f6f5e;
      --accent-soft: rgba(47, 111, 94, 0.1);
      --accent-line: rgba(47, 111, 94, 0.18);
      --blue: rgba(47, 111, 94, 0.08);
      --text: #202522;
      --muted: #69736f;
      --white: #161a18;
    }

    body {
      color: var(--text);
      background:
        radial-gradient(circle at 80% 0%, rgba(47, 111, 94, 0.08), transparent 28rem),
        linear-gradient(180deg, #fbfbf8 0%, var(--bg) 100%);
    }

    body::before,
    body::after,
    .starfield,
    .hero-inner::before,
    .hero-inner::after,
    .nav-link::before,
    .button::before,
    .card::before {
      display: none;
    }

    .topbar {
      border-color: #e1dfd7;
      background: rgba(255, 255, 255, 0.82);
      box-shadow: 0 10px 28px rgba(25, 31, 28, 0.08);
      backdrop-filter: blur(14px);
    }

    .brand,
    .nav-link,
    .button,
    .contact-mini,
    .eyebrow,
    .metric strong,
    .metric span,
    .section-code,
    .card-meta,
    .info-list strong,
    .tag-cloud li,
    .footer {
      font-family: var(--font-ui);
      letter-spacing: 0;
      text-transform: none;
    }

    .brand-mark {
      border: 0;
      background: var(--accent);
      box-shadow: none;
    }

    .brand-mark::before,
    .brand-mark::after {
      display: none;
    }

    .brand-name,
    .hero h1,
    .section-head h2,
    .panel h3,
    .card h3,
    .timeline-item h3 {
      color: var(--white);
      text-shadow: none;
    }

    .nav-link,
    .button {
      border-color: #ddd9cf;
      color: #46514c;
      background: #ffffff;
    }

    .button {
      color: #ffffff;
      background: var(--accent);
      border-color: var(--accent);
    }

    .button.secondary {
      color: #46514c;
      background: #ffffff;
      border-color: #ddd9cf;
    }

    .nav-link:hover,
    .nav-link:focus-visible,
    .button:hover,
    .button:focus-visible {
      color: var(--white);
      border-color: var(--accent);
      box-shadow: 0 8px 20px rgba(47, 111, 94, 0.14);
      transform: translateY(-1px);
    }

    .button:hover,
    .button:focus-visible {
      color: #ffffff;
    }

    .hero {
      min-height: auto;
      padding: 80px 0 48px;
    }

    .hero-inner {
      gap: 22px;
      animation: enter 520ms ease both;
    }

    .eyebrow,
    .contact-mini,
    .section-code,
    .card-meta strong,
    .info-list strong {
      color: var(--accent);
    }

    .hero h1 {
      font-size: clamp(3rem, 8vw, 6.8rem);
      line-height: 1;
    }

    .hero h1 span {
      color: #4b5651;
      -webkit-text-stroke: 0;
    }

    .hero-copy,
    .panel p,
    .card p,
    .timeline-item p,
    .info-list span {
      color: #596662;
    }

    .metric,
    .panel,
    .card,
    .timeline-item {
      border-color: #e2dfd6;
      background: #ffffff;
      box-shadow: 0 14px 34px rgba(25, 31, 28, 0.08);
      backdrop-filter: none;
    }

    .metric strong {
      color: var(--accent);
    }

    .section-head,
    .info-list li,
    .project-grid.project-list .card-meta {
      border-color: #e2dfd6;
    }

    .tag-cloud li {
      color: #36594f;
      border-color: #d8e2dd;
      background: #f2f6f4;
    }

    .card:hover,
    .card:focus-within {
      border-color: #c8d4ce;
      box-shadow: 0 18px 42px rgba(25, 31, 28, 0.1);
      transform: translateY(-2px);
    }

    .skill-meter i {
      background: #e9e7df;
    }

    .skill-meter i::before {
      background: var(--accent);
      box-shadow: none;
    }

    .footer {
      border-top-color: #e2dfd6;
    }

    .portal {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
      gap: 28px;
      align-items: start;
      padding: 76px 0 48px;
    }

    .portal-intro {
      display: grid;
      gap: 18px;
      padding-top: 16px;
    }

    .portal-label {
      margin: 0;
      color: var(--accent);
      font-size: 0.92rem;
      font-weight: 600;
    }

    .portal h1 {
      margin: 0;
      color: var(--white);
      font-size: clamp(2.6rem, 6vw, 5rem);
      font-weight: 720;
      line-height: 1.08;
      letter-spacing: 0;
    }

    .portal-copy {
      max-width: 560px;
      margin: 0;
      color: #596662;
      font-size: 1.04rem;
      line-height: 1.8;
    }

    .entry-list {
      display: grid;
      gap: 12px;
    }

    .entry-card {
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr) auto;
      gap: 18px;
      align-items: center;
      padding: 18px;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 12px 28px rgba(25, 31, 28, 0.07);
      transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    }

    .entry-card:hover,
    .entry-card:focus-visible {
      border-color: #c8d4ce;
      box-shadow: 0 16px 36px rgba(25, 31, 28, 0.1);
      outline: none;
      transform: translateY(-2px);
    }

    .entry-index {
      color: var(--accent);
      font-weight: 700;
    }

    .entry-card h2 {
      margin: 0;
      color: var(--white);
      font-size: 1.1rem;
      font-weight: 650;
      letter-spacing: 0;
    }

    .entry-card p {
      margin: 6px 0 0;
      color: #69736f;
      line-height: 1.6;
    }

    .entry-arrow {
      color: #8a928e;
      font-size: 1.2rem;
    }

    .placeholder-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 22px;
    }

    .placeholder {
      min-height: 88px;
      padding: 16px;
      border: 1px dashed #d8d5cb;
      border-radius: var(--radius);
      color: #69736f;
      background: rgba(255, 255, 255, 0.54);
    }

    .placeholder strong {
      display: block;
      margin-bottom: 6px;
      color: var(--white);
    }

    @media (max-width: 900px) {
      .portal,
      .placeholder-grid {
        grid-template-columns: 1fr;
      }

      .entry-card {
        grid-template-columns: 42px minmax(0, 1fr);
      }

      .entry-arrow {
        display: none;
      }
    }

    .site-hero {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
      gap: 34px;
      align-items: center;
      padding: 86px 0 56px;
    }

    .site-hero-copy {
      display: grid;
      gap: 18px;
    }

    .site-hero h1 {
      max-width: 720px;
      margin: 0;
      color: var(--white);
      font-size: clamp(2.8rem, 7vw, 5.8rem);
      font-weight: 760;
      line-height: 1.06;
      letter-spacing: 0;
    }

    .tech-panel {
      position: relative;
      overflow: hidden;
      padding: 20px;
      border: 1px solid #d7e2dd;
      border-radius: var(--radius);
      background:
        linear-gradient(135deg, rgba(47, 111, 94, 0.12), transparent 42%),
        repeating-linear-gradient(90deg, rgba(47, 111, 94, 0.06) 0 1px, transparent 1px 44px),
        #ffffff;
      box-shadow: 0 18px 44px rgba(25, 31, 28, 0.1);
    }

    .panel-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-bottom: 14px;
      border-bottom: 1px solid #dfe5df;
      color: #5d6863;
      font-weight: 600;
    }

    .panel-head strong {
      color: var(--accent);
      font-size: 0.86rem;
    }

    .signal-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 14px;
    }

    .signal-grid div {
      min-height: 116px;
      padding: 16px;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.72);
    }

    .signal-grid strong {
      display: block;
      margin-bottom: 10px;
      color: var(--white);
      font-size: 1.05rem;
    }

    .signal-grid span {
      color: #68746f;
      line-height: 1.6;
    }

    .section-block {
      scroll-margin-top: 110px;
      padding: 42px 0;
    }

    .section-headline {
      display: grid;
      gap: 8px;
      margin-bottom: 18px;
    }

    .section-headline p {
      margin: 0;
      color: var(--accent);
      font-weight: 650;
    }

    .section-headline h2 {
      max-width: 760px;
      margin: 0;
      color: var(--white);
      font-size: clamp(1.7rem, 4vw, 3rem);
      line-height: 1.18;
      letter-spacing: 0;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .feature-card,
    .process-step {
      padding: 20px;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 12px 30px rgba(25, 31, 28, 0.07);
    }

    .feature-card span,
    .process-step span {
      display: inline-flex;
      width: 32px;
      height: 32px;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      border-radius: 50%;
      color: #ffffff;
      background: var(--accent);
      font-weight: 700;
    }

    .feature-card h3,
    .process-step strong {
      display: block;
      margin: 0 0 10px;
      color: var(--white);
      font-size: 1.16rem;
    }

    .feature-card p,
    .process-step p {
      margin: 0;
      color: #66736d;
      line-height: 1.7;
    }

    .solution-list {
      display: grid;
      gap: 12px;
    }

    .solution-row {
      display: grid;
      grid-template-columns: 180px minmax(0, 1fr);
      gap: 24px;
      align-items: center;
      padding: 20px;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 12px 30px rgba(25, 31, 28, 0.06);
    }

    .solution-row strong {
      color: var(--accent);
      font-size: 1.08rem;
    }

    .solution-row span {
      color: #596662;
      line-height: 1.7;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .about-band,
    .contact-panel {
      display: grid;
      grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
      gap: 28px;
      align-items: center;
      padding: 28px;
      border: 1px solid #d7e2dd;
      border-radius: var(--radius);
      background:
        linear-gradient(135deg, rgba(47, 111, 94, 0.1), transparent 50%),
        #ffffff;
      box-shadow: 0 16px 38px rgba(25, 31, 28, 0.08);
    }

    .about-band h2,
    .contact-panel h2 {
      margin: 0;
      color: var(--white);
      font-size: clamp(1.7rem, 4vw, 2.8rem);
      line-height: 1.16;
    }

    .about-band p,
    .contact-panel p {
      margin: 0;
      color: #596662;
      line-height: 1.8;
    }

    .contact-panel {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .page-hero {
      display: grid;
      gap: 16px;
      padding: 76px 0 38px;
      border-bottom: 1px solid #e2dfd6;
    }

    .page-hero h1 {
      max-width: 820px;
      margin: 0;
      color: var(--white);
      font-size: clamp(2.4rem, 6vw, 4.8rem);
      line-height: 1.08;
      letter-spacing: 0;
    }

    .page-hero p {
      max-width: 760px;
      margin: 0;
      color: #596662;
      font-size: 1.04rem;
      line-height: 1.8;
    }

    .detail-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .detail-card {
      padding: 22px;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 12px 30px rgba(25, 31, 28, 0.07);
    }

    .detail-card h2,
    .detail-card h3 {
      margin: 0 0 10px;
      color: var(--white);
      font-size: 1.28rem;
      line-height: 1.3;
    }

    .detail-card p,
    .detail-card li {
      color: #66736d;
      line-height: 1.75;
    }

    .detail-card p {
      margin: 0;
    }

    .detail-card ul {
      display: grid;
      gap: 8px;
      margin: 14px 0 0;
      padding-left: 1.1rem;
    }

    .split-panel {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      gap: 18px;
      align-items: start;
    }

    .plain-list {
      display: grid;
      gap: 12px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .plain-list li {
      padding: 16px;
      border: 1px solid #e2dfd6;
      border-radius: var(--radius);
      background: #ffffff;
      color: #596662;
      line-height: 1.7;
    }

    .plain-list strong {
      display: block;
      margin-bottom: 6px;
      color: var(--white);
    }

    .contact-form {
      display: grid;
      gap: 12px;
    }

    .field {
      display: grid;
      gap: 6px;
    }

    .field label {
      color: #46514c;
      font-weight: 650;
    }

    .field input,
    .field textarea {
      width: 100%;
      border: 1px solid #d8d5cb;
      border-radius: var(--radius);
      padding: 12px 14px;
      color: var(--text);
      background: #ffffff;
      font: inherit;
    }

    .field textarea {
      min-height: 132px;
      resize: vertical;
    }

    body::before,
    body::after {
      display: none;
    }

    .tech-panel {
      background:
        linear-gradient(135deg, rgba(47, 111, 94, 0.1), rgba(255, 255, 255, 0) 52%),
        #ffffff;
    }

    @media (max-width: 900px) {
      .site-hero,
      .feature-grid,
      .detail-grid,
      .split-panel,
      .process-grid,
      .about-band,
      .contact-panel,
      .solution-row {
        grid-template-columns: 1fr;
      }

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

      .section-block {
        padding: 30px 0;
      }
    }
