:root {
  --bg: #f8f8f6;
  --paper: rgba(255, 255, 255, 0.82);
  --ink: #101010;
  --muted: #6d6d6d;
  --line: rgba(16, 16, 16, 0.08);
  --shadow: 0 30px 80px rgba(20, 20, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(180deg, #fbfbfa 0%, #f2f2ef 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition:
    width 160ms ease,
    height 160ms ease,
    border-color 160ms ease;
  mix-blend-mode: multiply;
}

.cursor.is-active {
  width: 54px;
  height: 54px;
  border-color: rgba(0, 0, 0, 0.22);
}

.scroll-meter {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 95;
  width: 2px;
  height: min(46vh, 360px);
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
  transition: background 140ms ease;
}

.scroll-meter span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 52px;
  transform: translate3d(-50%, 0, 0);
  border-radius: 999px;
  background: #111;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  transition:
    height 180ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.scroll-meter.is-inverted {
  background: rgba(255, 255, 255, 0.26);
}

.scroll-meter.is-inverted span {
  background: #fff;
  box-shadow: 0 10px 26px rgba(255, 255, 255, 0.24);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  padding: 0 clamp(20px, 3.5vw, 64px);
  background: rgba(250, 250, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: fit-content;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
}

.main-nav a {
  min-width: 58px;
  padding: 12px 15px;
  border-radius: 8px;
  text-align: center;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  background: rgba(10, 10, 10, 0.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.header-meta {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 24px;
  color: #4c4c4c;
  font-weight: 700;
}

.lang-toggle {
  min-width: 66px;
  height: 43px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.section {
  position: relative;
  min-height: 100vh;
}

.hero {
  display: grid;
  place-items: center;
  padding: 76px 24px 60px;
  overflow: hidden;
  cursor: none;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.field {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.055);
  font-size: clamp(42px, 4.2vw, 72px);
  font-weight: 950;
  line-height: 1.55;
  letter-spacing: 0.34em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-pattern div:nth-child(odd) {
  margin-left: -2.2em;
}

.hero-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 45%, rgba(248, 248, 246, 0.94), rgba(248, 248, 246, 0));
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  color: #fff;
  clip-path: circle(0 at -300px -300px);
  pointer-events: none;
  will-change: clip-path;
}

.hero-spotlight .hero-pattern {
  z-index: 0;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(32px, 3.2vw, 52px);
}

.hero-spotlight .hero-pattern::after {
  background: radial-gradient(45% 40%, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.spotlight-copy {
  color: #fff;
}

.spotlight-copy h1,
.spotlight-copy p {
  color: #fff;
}

.spotlight-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.24em;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: auto;
  touch-action: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7.2vw, 104px);
  line-height: 0.94;
  font-weight: 950;
  transform: perspective(900px) translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 21px);
  font-weight: 600;
}

body.is-booting .hero-copy p {
  opacity: 0;
  transform: translateY(12px);
}

body.is-booting .scroll-hint {
  opacity: 0;
  transform: translate(-50%, 12px);
}

body.hero-typed .hero-copy p {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 780ms ease,
    transform 780ms ease;
}

body.hero-typed .scroll-hint {
  opacity: 1;
  transform: translate(-50%, 0);
  transition:
    opacity 780ms ease,
    transform 780ms ease;
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 7vh;
  left: 50%;
  width: min(90vw, 520px);
  transform: translateX(-50%);
  color: #a2a2a2;
  text-align: center;
  font-weight: 700;
}

.magnetic {
  will-change: transform;
}

.page-band {
  padding: 116px clamp(22px, 5vw, 72px);
  overflow: hidden;
}

.page-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 246, 244, 0.9));
}

.striped::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.035) 0,
    rgba(0, 0, 0, 0.035) 2px,
    transparent 2px,
    transparent 18px
  );
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 42px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.section-heading h2,
.work-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 950;
}

.about-layout,
.skill-stack,
.project-list,
.work-heading,
.service-grid,
.contact-wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 32px;
}

.profile-panel,
.skill-card,
.service-card,
.contact-form,
.method-grid article {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.profile-panel {
  padding: clamp(28px, 4vw, 56px);
}

.profile-panel > p {
  max-width: 770px;
  margin: 0 0 44px;
  color: #555;
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.7;
  font-weight: 700;
}

.profile-stats,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.profile-stats div,
.metric-grid div {
  display: grid;
  gap: 8px;
  text-align: center;
}

.profile-stats strong,
.metric-grid strong {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  font-weight: 950;
}

.profile-stats span,
.metric-grid span {
  color: #686868;
  font-weight: 700;
}

.notes {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px;
}

.notes span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #555;
  font-weight: 900;
}

.skill-stack {
  width: min(1120px, 100%);
  display: grid;
  gap: 24px;
}

.skill-stack .skill-card.reveal:nth-child(1) { transition-delay: 0ms; }
.skill-stack .skill-card.reveal:nth-child(2) { transition-delay: 90ms; }
.skill-stack .skill-card.reveal:nth-child(3) { transition-delay: 180ms; }
.skill-stack .skill-card.reveal:nth-child(4) { transition-delay: 270ms; }

.skill-card {
  min-height: 270px;
  padding: clamp(26px, 3.6vw, 40px);
}

.skill-head-wrap {
  /* wrapper kept for markup compatibility, no grid trick needed */
}

.skill-head {
  display: flex;
  align-items: center;
  gap: 22px;
  opacity: 1;
  transition: opacity 200ms ease;

  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.icon-badge,
.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(145deg, #222, #050505);
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.skill-head h3,
.service-card h3,
.project-row h3,
.method-grid h3 {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 950;
}

.skill-head p,
.service-card p,
.project-row p,
.method-grid p {
  margin: 8px 0 0;
  color: #666;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 650;
  line-height: 1.6;
}

.metric-grid {
  margin-top: 34px;
  border-top: 0;
}

/* ══ Skill card hover — cinematic reveal ══════════════════ */

/* Light-sweep shine on hover */
@keyframes cardShine {
  from { transform: translateX(-120%) skewX(-12deg); }
  to   { transform: translateX(220%)  skewX(-12deg); }
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-120%) skewX(-12deg);
  pointer-events: none;
  z-index: 2;
}

.skill-card:hover::before {
  animation: cardShine 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Card body */
.card-body {
  margin-top: 28px;
  perspective: 700px;
}

.skill-card:hover .skill-head {
  opacity: 0;
}

/* Metric numbers flip upward and out */
.card-body .metric-grid {
  overflow: hidden;
  min-height: 0;
  margin-top: 0;
}

.card-body .metric-grid div {
  transition:
    opacity   220ms ease,
    transform 280ms cubic-bezier(0.4, 0, 1, 1);
  transform-origin: center bottom;
}

.skill-card:hover .card-body .metric-grid div:nth-child(1) {
  opacity: 0;
  transform: translateY(-18px) rotateX(55deg);
  transition-delay: 0ms;
}
.skill-card:hover .card-body .metric-grid div:nth-child(2) {
  opacity: 0;
  transform: translateY(-18px) rotateX(55deg);
  transition-delay: 50ms;
}
.skill-card:hover .card-body .metric-grid div:nth-child(3) {
  opacity: 0;
  transform: translateY(-18px) rotateX(55deg);
  transition-delay: 100ms;
}

/* Skill list — absolute overlay, direct child of skill-card */
.skill-list {
  list-style: none;
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: clamp(26px, 3.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  background: #fff;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 200ms ease;
}

.skill-card:hover .skill-list {
  pointer-events: auto;
  opacity: 1;
}

/* Each row slides in from below, staggered */
.skill-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 15px;
  font-weight: 600;
  color: #222;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity   320ms ease,
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-list li:first-child { border-top: 1px solid rgba(0, 0, 0, 0.07); }
.skill-list li:last-child  { border-bottom: 0; }

.skill-card:hover .skill-list li:nth-child(1) { opacity: 1; transform: none; transition-delay: 120ms; }
.skill-card:hover .skill-list li:nth-child(2) { opacity: 1; transform: none; transition-delay: 180ms; }
.skill-card:hover .skill-list li:nth-child(3) { opacity: 1; transform: none; transition-delay: 240ms; }
.skill-card:hover .skill-list li:nth-child(4) { opacity: 1; transform: none; transition-delay: 300ms; }
.skill-card:hover .skill-list li:nth-child(5) { opacity: 1; transform: none; transition-delay: 360ms; }

/* Level tags spring-bounce in */
.skill-list em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
  flex-shrink: 0;
  transform: scale(0);
  transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-card:hover .skill-list li:nth-child(1) em { transform: scale(1); transition-delay: 220ms; }
.skill-card:hover .skill-list li:nth-child(2) em { transform: scale(1); transition-delay: 280ms; }
.skill-card:hover .skill-list li:nth-child(3) em { transform: scale(1); transition-delay: 340ms; }
.skill-card:hover .skill-list li:nth-child(4) em { transform: scale(1); transition-delay: 400ms; }
.skill-card:hover .skill-list li:nth-child(5) em { transform: scale(1); transition-delay: 460ms; }

.lv-master   { background: #111; color: #fff; }
.lv-skilled  { background: rgba(0, 0, 0, 0.08); color: #444; }
.lv-beginner { background: rgba(0, 0, 0, 0.04); color: #999; }
/* ══════════════════════════════════════════════════════════ */

.project-list {
  width: min(940px, 100%);
  display: grid;
  gap: 28px;
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 178px;
  padding: 34px clamp(24px, 4vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.07);
  transform: rotate(-1.4deg);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.project-row:nth-child(even) {
  transform: rotate(1deg) translateX(34px);
}

.project-row:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: rotate(0deg) translateX(12px);
}

.project-no {
  color: rgba(0, 0, 0, 0.1);
  font-size: 72px;
  font-weight: 950;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-row span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.work {
  min-height: auto;
}

.work-field {
  opacity: 0.28;
}

.work-heading {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: end;
  gap: 44px;
  margin-bottom: 56px;
}

.work-heading p {
  margin: 0;
  color: #606060;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.65;
  font-weight: 700;
  text-align: right;
}

.section-line {
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 24px;
  background: #222;
}

.service-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  min-height: 290px;
  padding: 38px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover,
.method-grid article:hover {
  transform: translateY(-10px);
  box-shadow: 0 38px 86px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  margin-top: 34px;
}

.service-card a {
  display: inline-flex;
  margin-top: 28px;
  font-size: 18px;
  font-weight: 950;
}

.contact {
  min-height: auto;
  padding-top: 96px;
}

.contact-intro {
  width: min(860px, 100%);
  margin: 0 auto 54px;
}

.contact-intro p {
  width: min(640px, 100%);
  margin: 26px 0 18px;
  color: #666;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
  font-weight: 700;
}

.contact-intro ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: #252525;
  font-weight: 800;
}

.contact-wrap {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}

.contact-form {
  padding: clamp(28px, 4vw, 48px);
}

.contact-form h2,
.contact-methods h2 {
  margin-bottom: 30px;
  font-size: clamp(28px, 4vw, 44px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  color: #9a9a9a;
  font-size: 20px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #151515;
}

.contact-form button {
  width: 100%;
  min-height: 68px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.method-grid {
  grid-template-columns: repeat(3, 1fr);
}

.method-grid article {
  padding: 28px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.notes.compact {
  display: flex;
}

.method-grid small {
  display: block;
  margin-top: 14px;
  color: #aaa;
  font-size: 15px;
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lab-board,
.process-strip {
  width: min(860px, 100%);
  margin-inline: auto;
}

.lab-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.6fr);
  gap: 28px;
  align-items: center;
  min-height: 300px;
  margin-bottom: 30px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(520px circle at var(--mx, 62%) var(--my, 42%), rgba(0, 0, 0, 0.12), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 241, 238, 0.7));
  box-shadow: 0 36px 90px rgba(18, 18, 18, 0.11);
}

.lab-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(0, 0, 0, 0.06) 49% 50%, transparent 50%),
    linear-gradient(0deg, transparent 0 49%, rgba(0, 0, 0, 0.05) 49% 50%, transparent 50%);
  background-size: 42px 42px;
  opacity: 0.36;
  pointer-events: none;
}

.lab-board > * {
  position: relative;
  z-index: 1;
}

.panel-kicker {
  display: block;
  margin-bottom: 18px;
  color: #777;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.28em;
}

.lab-copy h3 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.03;
  font-weight: 950;
}

.lab-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #5e5e5e;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.75;
  font-weight: 720;
}

.radar-panel {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.1) 0 2px, transparent 3px),
    conic-gradient(from 220deg, rgba(0, 0, 0, 0.2), transparent 34%, rgba(0, 0, 0, 0.08), transparent 70%);
  background-size: auto, auto;
}

.radar-panel span,
.radar-panel i {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
}

.radar-panel span:nth-child(2) {
  inset: 34%;
}

.radar-panel span:nth-child(3) {
  inset: 50%;
  background: #111;
}

.radar-panel i {
  inset: 8%;
  border: 0;
  background: conic-gradient(from 0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  clip-path: polygon(50% 50%, 100% 44%, 100% 56%);
  animation: radarSweep 4.6s linear infinite;
}

.lab-stats {
  display: grid;
  gap: 12px;
}

.lab-stats div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.lab-stats strong {
  font-size: 26px;
  font-weight: 950;
}

.lab-stats span {
  color: #565656;
  font-weight: 900;
}

.skill-stack {
  width: min(860px, 100%);
  grid-template-columns: 1fr;
  gap: 24px;
}

.skill-card {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 0, 0, 0.06), transparent 42%),
    #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.skill-card::after,
.service-card::after,
.project-row::after,
.method-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.65), transparent 45%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.skill-card:hover::after,
.service-card:hover::after,
.project-row:hover::after,
.method-grid article:hover::after {
  opacity: 1;
}

.skill-card > *,
.service-card > *,
.project-row > *,
.method-grid article > * {
  position: relative;
  z-index: 1;
}

/* skill-list is an absolute overlay — must not be overridden by the rule above */
.skill-card > .skill-list {
  position: absolute;
  z-index: 5;
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 38px 92px rgba(18, 18, 18, 0.12);
}

.metric-grid {
  gap: 0;
}

.metric-grid div {
  padding-inline: 14px;
  border-right: 1px solid var(--line);
}

.metric-grid div:last-child {
  border-right: 0;
}

.project-list {
  width: min(1120px, 100%);
  gap: 14px;
}

.project-row,
.project-row:nth-child(even),
.project-row:hover {
  transform: none;
}

.project-row {
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 28px;
  min-height: 158px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(246, 246, 244, 0.72)),
    radial-gradient(420px circle at var(--mx, 20%) var(--my, 40%), rgba(0, 0, 0, 0.08), transparent 46%);
}

.project-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #111;
  transform: scaleY(0.2);
  transform-origin: top;
  transition: transform 220ms ease;
}

.project-row:hover::before {
  transform: scaleY(1);
}

.project-no {
  color: rgba(0, 0, 0, 0.16);
  font-size: clamp(48px, 5.5vw, 78px);
}

.project-status {
  align-self: start;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #333;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work {
  color: #f8f8f6;
  background: #0e0e0e;
}

.work::before {
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #101010, #050505);
}

.work .section-line {
  background: #f8f8f6;
}

.work-heading p,
.work .panel-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.work-field {
  opacity: 0.08;
  filter: invert(1);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.process-strip div {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.process-strip div:last-child {
  border-right: 0;
}

.process-strip span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.process-strip strong {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 950;
}

.process-strip small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 760;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.service-card p,
.service-card a {
  color: rgba(255, 255, 255, 0.72);
}

.service-icon {
  background: #fff;
  color: #111;
}

.contact {
  background:
    linear-gradient(180deg, rgba(248, 248, 246, 1), rgba(238, 238, 234, 0.86));
}

.contact-intro {
  width: min(1120px, 100%);
}

.contact-wrap {
  width: min(1120px, 100%);
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1fr);
  align-items: start;
}

.contact-form,
.contact-methods {
  position: relative;
}

.contact-form {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #111;
  color: #fff;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.55);
}

.contact-form input,
.contact-form textarea {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #fff;
}

.contact-form button {
  background: #fff;
  color: #111;
}

.method-grid article {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.work {
  color: var(--ink);
  background: var(--bg);
}

.work::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 0, 0, 0.035), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 247, 244, 0.92));
}

.work .section-line {
  background: #111;
}

.work-heading p,
.work .panel-kicker {
  color: #676767;
}

.work-field {
  opacity: 0.18;
  filter: none;
}

.process-strip {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.06);
}

.process-strip div {
  border-right-color: rgba(0, 0, 0, 0.08);
}

.process-strip span {
  color: rgba(0, 0, 0, 0.34);
}

.process-strip small {
  color: #767676;
}

.service-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 0, 0, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.07);
}

.service-card p,
.service-card a {
  color: #616161;
}

.service-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #111;
  box-shadow: none;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon svg.github-mark {
  width: 32px;
  height: 32px;
  fill: currentColor;
  stroke: none;
}

.service-icon.brand-icon {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.contact-form {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.contact-form label {
  color: #8a8a8a;
}

.contact-form input,
.contact-form textarea {
  color: var(--ink);
  border-bottom-color: rgba(0, 0, 0, 0.14);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #111;
}

.contact-form button {
  background: #111;
  color: #fff;
}

.contact-wrap {
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
}

.contact-methods h2 {
  margin-bottom: 24px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.method-grid article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
  min-height: 126px;
  padding: 24px;
  border-color: rgba(0, 0, 0, 0.1);
  background:
    radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 0, 0, 0.045), transparent 45%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.055);
}

.method-grid article:hover {
  transform: translateX(8px);
}

.method-grid .service-icon {
  grid-row: 1 / span 3;
}

.method-grid h3,
.method-grid p,
.method-grid small {
  min-width: 0;
}

.method-grid h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}

.method-grid p {
  margin-top: 7px;
  color: #5f5f5f;
  overflow-wrap: anywhere;
}

.method-grid small {
  margin-top: 8px;
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

body.is-booting .hero-pattern {
  animation: none;
}

body.is-booting .hero-copy {
  animation: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

body.is-booting .hero::after {
  animation: none;
}

.hero h1.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  background: currentColor;
  transform: translateY(0.1em);
  animation: caretBlink 720ms steps(1) infinite;
}

.scroll-meter {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 10px;
  height: min(52vh, 420px);
  background: transparent;
}

.scroll-meter b,
.scroll-meter small {
  color: #111;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  transition: color 140ms ease;
}

.scroll-meter span {
  position: relative;
  top: auto;
  display: block;
  align-self: start;
}

.scroll-meter::before {
  content: "";
  grid-row: 2;
  grid-column: 1;
  width: 2px;
  height: 100%;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  transition: background 140ms ease;
}

.scroll-meter span {
  grid-row: 2;
  grid-column: 1;
}

.scroll-meter.is-inverted b,
.scroll-meter.is-inverted small {
  color: #fff;
}

.scroll-meter.is-inverted {
  background: transparent;
}

.scroll-meter.is-inverted::before {
  background: rgba(255, 255, 255, 0.26);
}

.legacy-project-list {
  display: none;
}

.case-viewer {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.project-case {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr) minmax(250px, 0.72fr);
  gap: clamp(22px, 4vw, 50px);
  align-items: center;
  min-height: 172px;
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 8px;
  background:
    radial-gradient(520px circle at var(--mx, 65%) var(--my, 45%), rgba(0, 0, 0, 0.06), transparent 44%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.055);
  transition:
    min-height 260ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.project-case.is-active,
.project-case:hover {
  min-height: 300px;
  background:
    radial-gradient(620px circle at var(--mx, 66%) var(--my, 48%), rgba(0, 0, 0, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 38px 100px rgba(20, 20, 20, 0.09);
}

.case-meta {
  display: grid;
  gap: 18px;
  align-content: center;
}

.project-case .project-no {
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.82;
  color: rgba(0, 0, 0, 0.14);
}

.case-copy h3 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 68px);
  line-height: 0.96;
  font-weight: 950;
}

.case-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #666;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 720;
  line-height: 1.65;
}

.case-visual {
  position: relative;
  min-height: 180px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.07) 1px, transparent 1px),
    rgba(255, 255, 255, 0.5);
  background-size: 28px 28px;
  opacity: 0.45;
  transform: translateX(24px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.project-case.is-active .case-visual,
.project-case:hover .case-visual {
  opacity: 1;
  transform: translateX(0);
}

.case-visual span {
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.56);
}

.case-visual span:nth-child(1) {
  left: 22px;
  top: 22px;
  width: 44%;
  height: 34%;
}

.case-visual span:nth-child(2) {
  right: 22px;
  top: 50px;
  width: 34%;
  height: 48%;
}

.case-visual span:nth-child(3) {
  left: 52px;
  bottom: 22px;
  width: 42%;
  height: 16%;
}

.contact-form {
  display: none;
}

.identity-card {
  min-height: 430px;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(520px circle at 70% 18%, rgba(0, 0, 0, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 84px rgba(20, 20, 20, 0.07);
}

.identity-card h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.9;
  font-weight: 950;
}

.identity-card p {
  max-width: 440px;
  margin: 28px 0 34px;
  color: #666;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
  font-weight: 720;
}

.identity-card a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: 0;
  width: min(1120px, 100%);
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(760px circle at 32% 20%, rgba(0, 0, 0, 0.045), transparent 42%),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 34px 92px rgba(20, 20, 20, 0.08);
}

.contact-panel .identity-card {
  min-height: 430px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel .contact-methods {
  display: grid;
  align-content: stretch;
  padding: clamp(24px, 3vw, 42px);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-panel .contact-methods h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 56px);
}

.contact-panel .method-grid {
  align-self: stretch;
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-panel .method-grid article {
  min-height: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel .method-grid article:last-child {
  border-bottom: 0;
}

.contact-panel .method-grid article:hover {
  transform: translateX(6px);
}

.contact-panel .method-grid p {
  font-size: clamp(17px, 1.45vw, 22px);
}

@keyframes bootDrift {
  from {
    opacity: 0;
    transform: translate3d(-22px, 12px, 0) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes bootSettle {
  from {
    opacity: 0;
    transform: perspective(900px) translate3d(0, 20px, 80px) rotateX(12deg);
  }
  to {
    opacity: 1;
    transform: perspective(900px) translate3d(0, 0, 0) rotateX(0);
  }
}

@keyframes bootScan {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes caretBlink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    height: 68px;
    padding-inline: 18px 26px;
  }

  .brand {
    font-size: 20px;
    letter-spacing: 0.12em;
  }

  .main-nav {
    justify-content: center;
    gap: 2px;
  }

  .main-nav a {
    min-width: 45px;
    padding: 10px 8px;
    font-size: 14px;
  }

  .header-meta span {
    display: none;
  }

  .lang-toggle {
    min-width: 54px;
    height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 92vh;
    padding-inline: 18px;
  }

  .about-layout,
  .work-heading,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .work-heading p {
    text-align: left;
  }

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

  .lab-board,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .radar-panel {
    width: min(260px, 70vw);
    margin-inline: auto;
  }

  .skill-stack,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .process-strip div:last-child {
    border-bottom: 0;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 18px;
    transform: none;
  }

  .project-row:nth-child(even) {
    transform: none;
  }

  .project-no {
    order: -1;
  }
}

@media (max-width: 620px) {
  .cursor,
  .scroll-meter {
    display: none;
  }

  .site-header {
    right: 0;
    gap: 8px;
  }

  .brand {
    font-size: 16px;
    letter-spacing: 0.18em;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    min-width: auto;
    padding: 9px 6px;
    font-size: 13px;
  }

  .lang-toggle {
    min-width: 50px;
    height: 36px;
    padding: 0 10px;
  }

  .hero h1 {
    display: grid;
    gap: 6px;
    font-size: clamp(34px, 14vw, 58px);
  }

  .hero-pattern {
    font-size: 34px;
    letter-spacing: 0.18em;
    line-height: 1.8;
  }

  .hero-spotlight .hero-pattern {
    font-size: 27px;
  }

  .hero p {
    margin-top: 18px;
    font-size: 17px;
  }

  .scroll-hint {
    bottom: 7vh;
    font-size: 15px;
  }

  .page-band {
    padding: 96px 18px;
  }

  .profile-stats,
  .metric-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

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

  .method-grid article {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 112px;
    padding: 20px;
  }

  .profile-stats div,
  .metric-grid div {
    text-align: left;
  }

  .skill-head {
    align-items: flex-start;
  }

  .icon-badge,
  .service-icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    font-size: 21px;
  }
}

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

  .project-case.is-active,
  .project-case:hover {
    min-height: auto;
  }

  .case-visual {
    min-height: 210px;
    transform: none;
  }

  .identity-card {
    min-height: auto;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-panel .identity-card {
    padding: 32px;
  }

  .contact-panel .contact-methods {
    padding: 32px;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 620px) {
  .case-viewer {
    gap: 12px;
  }

  .project-case {
    padding: 22px;
  }

  .project-case .project-no {
    font-size: 54px;
  }

  .case-copy h3 {
    font-size: 31px;
  }

  .case-visual {
    min-height: 150px;
  }

  .identity-card {
    padding: 28px;
  }

  .identity-card h2 {
    font-size: 48px;
  }

  .contact-panel .method-grid article {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

.contact-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(26px, 4vw, 48px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel .identity-card,
.contact-panel .contact-methods {
  min-height: 430px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(520px circle at 72% 18%, rgba(0, 0, 0, 0.045), transparent 44%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 84px rgba(20, 20, 20, 0.07);
}

.contact-panel .identity-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 3.5vw, 44px);
}

.contact-panel .identity-card a {
  margin-top: auto;
}

.contact-panel .contact-methods {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  padding: clamp(30px, 3.5vw, 44px);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-panel .contact-methods h2 {
  margin: 0 0 22px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 0.98;
}

.contact-panel .method-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-panel .method-grid article {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel .method-grid article:last-child {
  border-bottom: 0;
}

@media (max-width: 920px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel .identity-card,
  .contact-panel .contact-methods {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .contact-panel .identity-card,
  .contact-panel .contact-methods {
    padding: 28px;
  }

  .contact-panel .method-grid article {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}
