/* ------------------------------------------------------------------
   Portofolio Muhammad Rafiq Amin — halaman rilis
   Dunia visual: changelog produk. Kertas putih, tinta pekat, satu aksen
   hijau untuk status Live. Satu keluarga huruf (Mona Sans, variabel).
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("fonts/mona-sans.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-2: #f6f7f8;
  --ink: #111318;
  --ink-2: #5b6068;
  --rule: #e6e8eb;
  --rule-2: #d3d6db;
  --live: #0f7b3f;
  --live-dot: #1fa35a;
  --font: "Mona Sans", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --bar-h: 56px;
  --radius: 6px;
  --radius-lg: 10px;
  --wrap: 1120px;
  --measure: 720px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  caret-color: var(--ink);
  scrollbar-color: #c4c8ce var(--bg);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; }
time { font-variant-numeric: tabular-nums; }
.sprite { position: absolute; }
.ico { width: 14px; height: 14px; vertical-align: -2px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  height: var(--bar-h);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.topbar.scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -20px rgba(17, 19, 24, 0.35);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.brand-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule-2);
}
.brand-name { overflow: hidden; text-overflow: ellipsis; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
.site-nav ul {
  display: flex;
  align-items: stretch;
  gap: 4px;
  list-style: none;
  height: var(--bar-h);
}
.site-nav li a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav li a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease-out);
}
.site-nav li a:hover { color: var(--ink); }
.site-nav li a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
.home .brand-avatar { opacity: 0; transform: scale(0.6); transition: opacity 0.25s ease, transform 0.25s var(--ease-out); }
.home .topbar.scrolled .brand-avatar { opacity: 1; transform: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-toggle:hover { background: var(--bg-2); border-color: #b9bec6; }
.ico-menu { width: 20px; height: 20px; }
.ico-menu path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform 0.2s var(--ease-out), opacity 0.15s ease; transform-origin: 50% 50%; }
.nav-toggle[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .l2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .l3 { transform: translateY(-4px) rotate(-45deg); }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--bg-2); border-color: #b9bec6; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #2a2e36; border-color: #2a2e36; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 14px; }

.textlink {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}
.textlink:hover { text-decoration-color: var(--ink); }

/* ------------------------------------------------------------- layout */

main > section,
.colophon {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* -------------------------------------------------------------- intro */

.intro {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 56px);
}
.avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule-2);
  margin-top: 6px;
}
h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.role {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-2);
}
.lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.meta {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 26px;
}
.actions .more { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-left: 6px; }
.nowrap { white-space: nowrap; }

/* ----------------------------------------------------------- sections */

.log-section,
.skills-section,
.contact-section {
  border-top: 1px solid var(--rule);
  padding-block: clamp(40px, 5vw, 64px) clamp(44px, 6vw, 80px);
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.section-head p {
  margin-top: 12px;
  max-width: 70ch;
  font-size: 17px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.section-head p .status { vertical-align: 0; }

/* ------------------------------------------------------------ status */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink-2);
  white-space: nowrap;
  vertical-align: middle;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.status-live { color: var(--live); border-color: rgba(15, 123, 63, 0.35); }
.status-live::before { background: var(--live-dot); border-color: var(--live-dot); }
.status-private::before { background: var(--ink-2); }

/* ------------------------------------------------------------ filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.chip {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.chip:hover { background: var(--bg-2); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------------------------------------------------------------- log */

.log { margin-top: 28px; }
.month {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0 40px;
  padding-block: 32px 40px;
  border-top: 1px solid var(--rule);
}
.month > * { min-width: 0; }
.when {
  position: sticky;
  top: calc(var(--bar-h) + 28px);
  align-self: start;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.6;
}
.entries {
  display: grid;
  gap: 44px;
  max-width: var(--measure);
}
.entries > * { min-width: 0; }
.release h2,
.release h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.desc {
  margin-top: 10px;
  font-size: 17px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.result {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 550;
  color: var(--ink);
  text-wrap: pretty;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.tags li:not(:last-child)::after { content: "·"; margin-left: 6px; color: var(--rule-2); }
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
}
.links a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}
.links a:hover { text-decoration-color: var(--ink); }

.shot,
.diagram {
  margin-top: 20px;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
}
.shot {
  box-shadow: 0 14px 32px -20px rgba(17, 19, 24, 0.4);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.shot:hover { box-shadow: 0 18px 40px -20px rgba(17, 19, 24, 0.5); border-color: #b9bec6; }
.shot a { display: block; }
.shot img { display: block; width: 100%; height: auto; }
.shot.illus svg { display: block; width: 100%; height: auto; }
.il .frame { fill: #1b1e24; }
.il .corner path { fill: none; stroke: #8a8f98; stroke-width: 2; stroke-linecap: round; }
.il .flesh polygon { fill: #2f343c; stroke: #2f343c; stroke-width: 26; stroke-linejoin: round; }
.il .flesh path { fill: none; stroke: #2f343c; stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.il .bones path { fill: none; stroke: #ffffff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.il .joints circle { fill: #1b1e24; stroke: #ffffff; stroke-width: 2.5; }
.il .hud rect { fill: #ffffff; stroke: none; }
.il .hud text { font-family: var(--font); font-size: 15px; fill: var(--ink-2); }
.il .hud text.b { font-size: 17px; font-weight: 600; fill: var(--ink); }
.il .hud .rec { fill: var(--live-dot); stroke: none; }
.shots-phone { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.shots-phone .shot { flex: 1 1 180px; max-width: 250px; margin-top: 0; }
.shots-phone .shot img { aspect-ratio: 430 / 900; object-fit: cover; }
.shot .shot-cap { padding: 9px 12px 11px; border-top: 1px solid var(--rule); background: var(--bg); font-size: 13px; color: var(--ink-2); }

.diagram { max-width: 100%; padding: 12px; background: var(--bg); overflow-x: auto; overscroll-behavior-x: contain; }
.diagram-hint { display: none; padding: 10px 2px 0; font-size: 13px; color: var(--ink-2); }
.diagram svg { display: block; width: 100%; min-width: 600px; height: auto; }
.dg text { font-family: var(--font); font-size: 13px; font-weight: 500; fill: var(--ink); }
.dg .s { font-size: 12px; font-weight: 400; fill: var(--ink-2); }
.dg .box { fill: var(--bg); stroke: var(--ink); stroke-width: 1.2; }
.dg .host { fill: var(--bg-2); stroke: var(--rule-2); stroke-width: 1; }
.dg .store { fill: var(--bg); stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 3 3; }
.dg .bus { stroke: var(--ink); stroke-width: 2; }
.dg .wire { fill: none; stroke: var(--ink-2); stroke-width: 1.2; }

.log-empty { padding: 36px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }

/* ------------------------------------------------------------- skills */

.skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 36px;
}
.skills > div { padding-top: 18px; border-top: 1px solid var(--rule); }
.skills dt { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.skills dd { margin-top: 8px; color: var(--ink-2); text-wrap: pretty; }
.skills .proof { margin-top: 10px; font-size: 15px; color: var(--ink); }
.ti { width: 22px; height: 22px; flex: none; vertical-align: -5px; }
.ti-set { display: inline-flex; gap: 6px; margin-right: 10px; vertical-align: -5px; }
.ti-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.ti-row .ti { width: 26px; height: 26px; }
.skills .proof a {
  font-weight: 500;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}
.skills .proof a:hover { text-decoration-color: var(--ink); }

.how-title { margin-top: 56px; font-size: 22px; font-weight: 600; letter-spacing: -0.012em; }
.how {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-left: 24px;
  max-width: 70ch;
  color: var(--ink-2);
  text-wrap: pretty;
}
.how li::marker { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ contact */

.contacts { list-style: none; margin-top: 28px; max-width: var(--measure); }
.contacts li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.contacts li:last-child { border-bottom: 1px solid var(--rule); }
.contacts span { color: var(--ink-2); font-weight: 500; }
.contacts a {
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}
.contacts a:hover { text-decoration-color: var(--ink); }

/* ----------------------------------------------------------- colophon */

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-2);
}
.colophon .aset { color: var(--ink-2); }
.foot-links { display: flex; gap: 10px; }
.foot-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.foot-links a:hover { color: var(--ink); border-color: #b9bec6; background: var(--bg-2); }
.foot-links a:active { transform: translateY(1px); }
.fi { width: 18px; height: 18px; }

/* ------------------------------------------------------------- motion */

.js.reveal .release { opacity: 0; transform: translateY(12px); }
.js.reveal .release.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js.reveal .release { opacity: 1; transform: none; transition: none; }
  .btn, .chip, .shot, .textlink, .links a, .site-nav a, .site-nav a::after, .topbar, .ico-menu path { transition: none; }
}

/* --------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .month { grid-template-columns: 1fr; gap: 14px; padding-block: 30px; }
  .when { position: static; }
  .entries { gap: 36px; }
}

@media (max-width: 760px) {
  .skills { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .intro { grid-template-columns: 1fr; gap: 20px; padding-block: 36px 40px; }
  .avatar { width: 96px; height: 96px; margin-top: 0; }
  .role { font-size: 18px; margin-top: 8px; }
  .lead { margin-top: 22px; }
  .actions { margin-top: 24px; gap: 12px 18px; }
  .actions .more { flex-basis: 100%; margin-left: 0; }
  .desc, .result { font-size: 16px; }
  .release h2, .release h3 { font-size: 20px; }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 32px -24px rgba(17, 19, 24, 0.4);
  }
  .topbar.open .site-nav,
  html:not(.js) .site-nav { display: flex; }
  html:not(.js) .nav-toggle { display: none; }
  .site-nav ul { flex-direction: column; height: auto; gap: 0; margin: 0 0 4px; }
  .site-nav li a { height: 48px; padding: 0 4px; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav li a::after { display: none; }
  .site-nav li a[aria-current="page"] { color: var(--ink); }
}
@media (max-width: 640px) {
  .diagram-hint { display: block; }
}

@media (max-width: 480px) {
  .contacts li { grid-template-columns: 1fr; gap: 2px; }
  .btn { flex: 1 1 auto; }
}

/* -------------------------------------------------------------- print */

@media print {
  @page { margin: 14mm; }
  body { font-size: 12.5px; }
  .topbar, .skip-link, .filters, .log-empty, .nav-toggle { display: none; }
  main > section { max-width: none; padding-inline: 0; }
  .intro { padding-top: 0; }
  .release, .skills > div, .contacts li { break-inside: avoid; }
  .release[hidden], .month[hidden] { display: block; }
  .shot { box-shadow: none; }
  a { text-decoration: none; }
}

/* ------------------------------------------------------ halaman lain */

.page-first { padding-block: clamp(36px, 5vw, 64px) clamp(44px, 6vw, 80px); }
.page-head h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.page-head h1 .status { font-size: 14px; }
.page-head p {
  margin-top: 14px;
  max-width: 70ch;
  font-size: 17px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.page-head p a,
.section-head p a { color: var(--ink); text-decoration-color: var(--rule-2); text-underline-offset: 0.2em; }
.page-head p a:hover,
.section-head p a:hover { text-decoration-color: var(--ink); }
.page-first .filters { margin-top: 22px; }
.page-first .log { margin-top: 30px; }
.page-first .diagram { margin-top: 32px; }

.case { margin-top: 14px; border-top: 1px solid var(--rule); }
.case > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.case dt { font-size: 14px; font-weight: 600; padding-top: 2px; }
.case dd { color: var(--ink-2); text-wrap: pretty; }
.case dd a { color: var(--ink); text-decoration-color: var(--rule-2); text-underline-offset: 0.2em; }
.case > div:last-child dd { color: var(--ink); font-weight: 550; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px 56px;
  margin-top: 40px;
}
.two-col h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.012em; }
.two-col .how { margin-top: 14px; }
.spec { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.spec th,
.spec td { padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.spec th { width: 118px; padding-right: 12px; font-weight: 600; }
.spec td { color: var(--ink-2); }
.how-lead { margin-top: 10px; max-width: 70ch; color: var(--ink-2); }
.page-first > .tags { margin-top: 32px; }

.table-wrap { margin-top: 28px; overflow-x: auto; }
.skills-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.skills-table th,
.skills-table td { padding: 12px 20px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.skills-table thead th { font-size: 13px; font-weight: 600; color: var(--ink-2); border-bottom-color: var(--rule-2); }
.skills-table tbody th { width: 30%; font-weight: 600; }
.skills-table td { color: var(--ink-2); }
.skills-table td a { color: var(--ink); font-weight: 500; text-decoration-color: var(--rule-2); text-underline-offset: 0.2em; }
.skills-table td a:hover { text-decoration-color: var(--ink); }
.skills-table tr.group th { padding-top: 32px; font-size: 18px; letter-spacing: -0.01em; border-bottom-color: var(--rule-2); }

.cta-strip {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(32px, 4vw, 44px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.cta-strip > p { max-width: 60ch; font-size: 18px; text-wrap: pretty; }
.cta-strip .actions { margin-top: 20px; }
.contact-section.cta-strip .actions { margin-top: 26px; }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.more-link .ico { width: 15px; height: 15px; }

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .skills-table thead { display: none; }
  .skills-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .skills-table th,
  .skills-table td,
  .skills-table tbody th { display: block; width: auto; padding: 2px 0; border: 0; }
  .skills-table td::before { content: attr(data-th) ": "; font-weight: 600; color: var(--ink); }
  .skills-table tr.group { padding: 24px 0 4px; border-bottom: 1px solid var(--rule-2); }
  .skills-table tr.group th { padding: 0; }
}
@media (max-width: 640px) {
  .shots-phone { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .shots-phone .shot { flex: 0 0 62%; max-width: none; scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
  .home .brand-avatar { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .case > div { grid-template-columns: 1fr; gap: 2px; }
  .ti-row { gap: 10px; }
  .ti-row .ti { width: 24px; height: 24px; }
}
@media print {
  .cta-strip, .more-link { display: none; }
  .skills-table tr.group th { padding-top: 16px; }
}
