/* ==========================================================================
   傅一可 · AIGC 作品集
   ========================================================================== */

:root {
  --paper: #f5f2ec;
  --paper-2: #efeae1;
  --ink: #16130f;
  --ink-2: #3f3a33;
  --muted: #857d73;
  --line: #ddd6cb;
  --line-soft: #e8e2d8;
  --accent: #96402c;
  --accent-2: #c07a4e;
  --dark: #12100e;
  --dark-ink: #eae4d9;

  --sans: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --wrap: 1160px;
  --gap: 28px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: #e6cfc3; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

/* ------------------------------ nav ------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  color: #f3efe7;
  transition: background .35s ease, color .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav__brand {
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  letter-spacing: .06em;
}

.nav__links a {
  position: relative;
  padding-bottom: 3px;
  opacity: .82;
  transition: opacity .2s;
}

.nav__links a:hover { opacity: 1; }

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .28s ease;
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { right: 0; }

.nav.is-solid {
  background: rgba(245, 242, 236, .94);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom-color: var(--line-soft);
  padding-top: 13px;
  padding-bottom: 13px;
}

.nav.is-solid .nav__links a { opacity: .72; }
.nav.is-solid .nav__links a:hover { opacity: 1; }

/* ------------------------------ hero ------------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 84px;
  color: #f4efe6;
  overflow: hidden;
  background: #14110e;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/v1.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.03);
  filter: saturate(.92);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 7, .72) 0%, rgba(10, 8, 7, .28) 38%, rgba(10, 8, 7, .82) 100%),
    linear-gradient(90deg, rgba(10, 8, 7, .55), transparent 60%);
}

.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #d8b79b;
  margin: 0 0 22px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: .04em;
  font-weight: 500;
}

.hero__sub {
  max-width: 660px;
  margin: 26px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  color: #e4dcd0;
}

.hero__meta {
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #cbbfb0;
}

.hero__meta span { position: relative; padding-left: 14px; }
.hero__meta span::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 4px; height: 4px;
  background: var(--accent-2);
  border-radius: 50%;
}

.hero__actions {
  margin: 40px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid rgba(244, 239, 230, .42);
  font-size: 14px;
  letter-spacing: .1em;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}

.btn:hover { transform: translateY(-1px); background: rgba(244, 239, 230, .12); }

.btn--solid {
  background: #f2ebdf;
  border-color: #f2ebdf;
  color: #1a1613;
}

.btn--solid:hover { background: #fff; border-color: #fff; }

.btn--ghost-light { color: #f2ebdf; }

/* ---------------------------- page head -------------------------------- */

.page-head {
  padding: 152px 0 60px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .03em;
}

.page-head__sub {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-head__lede {
  margin: 26px 0 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-2);
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}

.page-head__meta b {
  font-weight: 400;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 7px;
}

.page-head__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* --------------------------- section shell ------------------------------ */

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--dark .sec__lede { color: #b3a89a; }
.section--dark .sec__eyebrow { color: #c39a7a; }

.sec__head { max-width: 760px; margin-bottom: 54px; }

.sec__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.sec__eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.sec h2 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .02em;
}

.sec__lede {
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 700px;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------ about ----------------------------------- */

.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: start;
}

.about p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.about p strong { color: var(--ink); font-weight: 600; }

.about__side { border-left: 1px solid var(--line); padding-left: 34px; }

.fact { margin-bottom: 26px; }

.fact dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.fact dd { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.fact dd a { border-bottom: 1px solid var(--line); }
.fact dd a:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------ stats ---------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(234, 228, 217, .16);
  border: 1px solid rgba(234, 228, 217, .16);
}

.stat {
  background: var(--dark);
  padding: 34px 22px 30px;
}

.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  color: #f2ebdf;
}

.stat > span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #a99e90;
  letter-spacing: .04em;
}

.stat b small { font-size: .46em; font-weight: 400; letter-spacing: .04em; margin-left: 3px; }

/* ------------------------------ cards ---------------------------------- */

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }

.card {
  display: block;
  background: #fffdf9;
  border: 1px solid var(--line-soft);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(28, 22, 16, .09); border-color: var(--line); }

.card__media { overflow: hidden; aspect-ratio: 16 / 10; background: #ece7de; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }

.card__media--contain { background: #fffdf9; }
.card__media--contain img { object-fit: contain; }
.card:hover .card__media img { transform: scale(1.035); }

.card__body { padding: 26px 28px 30px; }

.card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; letter-spacing: .02em; }

.card p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

.card__more {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card__more::after { content: "→"; transition: transform .3s; }
.card:hover .card__more::after { transform: translateX(4px); }

/* --------------------------- flow strip -------------------------------- */

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.flow__item {
  background: var(--paper);
  padding: 22px 18px 24px;
  transition: background .3s;
}

.flow__item:hover { background: #fffdf9; }

.flow__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--accent);
}

.flow__item b { display: block; margin: 10px 0 6px; font-size: 15px; font-weight: 600; }
.flow__item small { font-size: 12.5px; color: var(--muted); line-height: 1.7; display: block; }

/* ------------------------------ steps ---------------------------------- */

.step { padding: 76px 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; padding-top: 24px; }

.step__head { display: flex; align-items: baseline; gap: 24px; margin-bottom: 14px; }

.step__no {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--accent);
  padding-top: 8px;
  min-width: 46px;
}

.step__head h2 {
  margin: 0;
  font-size: clamp(23px, 2.7vw, 31px);
  font-weight: 500;
  line-height: 1.4;
}

.step__lede {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 680px;
}

.step__wide { margin-top: 34px; }

.step__body {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 56px;
  align-items: start;
  margin-top: 22px;
}

.step__body--flip { grid-template-columns: 1.08fr .92fr; }
.step__body--flip .step__text { order: 2; }
.step__body--flip .step__media { order: 1; }

.step__text { padding-left: 70px; }
.step__body--flip .step__text { padding-left: 0; padding-right: 0; }

.step__text p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.step__text p:last-child { margin-bottom: 0; }

.step__text .hl { color: var(--ink); font-weight: 600; }

.step__list { margin: 18px 0 0; padding: 0; list-style: none; }
.step__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.step__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 6px; height: 1px;
  background: var(--accent);
}
.step__list b { color: var(--ink); font-weight: 600; }

/* figures */
.figs { display: grid; gap: 16px; align-items: start; }
.figs--2 { grid-template-columns: 1fr 1fr; }
.figs--3 { grid-template-columns: repeat(3, 1fr); }
.figs--4 { grid-template-columns: repeat(2, 1fr); }
.figs--wide { grid-template-columns: 1fr; }

figure { margin: 0; }

.fig--fit { aspect-ratio: 4 / 5; background: #fffdf9; }
.fig--fit img { width: 100%; height: 100%; object-fit: contain; }

.fig {
  overflow: hidden;
  background: #ebe5db;
  border: 1px solid var(--line-soft);
}

.fig img { width: 100%; height: auto; display: block; }

figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: .01em;
}

figcaption b { color: var(--ink-2); font-weight: 600; }

.fig--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fig--pair img { width: 100%; }

/* --------------------------- findings ---------------------------------- */

.findings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(234, 228, 217, .14);
  border: 1px solid rgba(234, 228, 217, .14);
}

.finding { background: var(--dark); padding: 34px 34px 32px; }

.finding__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: #c39a7a;
}

.finding h3 {
  margin: 14px 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: #f2ebdf;
  letter-spacing: .01em;
}

.finding p { margin: 0; font-size: 14px; line-height: 1.9; color: #b3a89a; }

/* ---------------------------- design rows ------------------------------ */

.design {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 46px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.design:first-of-type { border-top: 0; padding-top: 0; }

.design--flip .design__media { order: 2; }
.design--flip .design__text { order: 1; }

.design__media .fig { max-height: 620px; overflow: hidden; }
.design__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.design__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--accent);
  margin: 0 0 10px;
}

.design h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: .03em;
}

.design__text p:not(.design__tag) {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 540px;
}

/* ---------------------------- gallery ---------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.filter {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .06em;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .22s;
}

.filter:hover { border-color: var(--ink-2); color: var(--ink); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: #f5f2ec; }

.grid {
  columns: 3;
  column-gap: 20px;
}

.grid__item {
  break-inside: avoid;
  margin: 0 0 20px;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  text-align: left;
}

.grid__item.is-hidden { display: none; }

.grid__item .fig { background: #fffdf9; }

.grid__item img { transition: transform .6s ease, opacity .3s; }
.grid__item:hover img { transform: scale(1.012); }

.grid__cap {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.grid__cap b { display: block; color: var(--ink-2); font-weight: 600; font-size: 13px; }

/* ---------------------------- lightbox --------------------------------- */

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  background: rgba(14, 12, 10, .94);
}

.lb.is-open { display: flex; }

.lb__img {
  max-width: min(1180px, 92vw);
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.lb__cap {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: min(880px, 90vw);
  text-align: center;
  color: #d9d1c4;
  font-size: 13.5px;
  line-height: 1.7;
}

.lb__close, .lb__prev, .lb__next {
  position: absolute;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #f1ece2;
  width: 46px;
  height: 46px;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.lb__close:hover, .lb__prev:hover, .lb__next:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
}

.lb__close { top: 22px; right: 22px; }
.lb__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------------------------- resume cta ------------------------------- */

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 54px 56px;
  background: #fffdf9;
  border: 1px solid var(--line);
}

.cta h3 { margin: 0 0 10px; font-size: 24px; font-weight: 500; letter-spacing: .02em; }
.cta p { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: 560px; line-height: 1.85; }

.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn--dark { background: var(--ink); border-color: var(--ink); color: #f5f2ec; }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { background: var(--paper-2); }

/* ------------------------------ footer --------------------------------- */

.footer {
  background: #0e0c0a;
  color: #9c9285;
  padding: 54px 0 40px;
  font-size: 13.5px;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.footer b { color: #e8e1d5; font-weight: 500; letter-spacing: .18em; font-size: 13px; }
.footer a { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.footer a:hover { color: #f0e9dd; border-color: #f0e9dd; }
.footer__note { margin-top: 26px; font-size: 12px; color: #6d645a; letter-spacing: .04em; }

/* --------------------------- reveal ------------------------------------ */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 没有 JS 时内容照常显示 */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* 截图 / 打印时强制展开 */
.flat .reveal, html.flat .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================== resume page ============================ */

.resume-body { background: #e8e3d9; }

.resume-toolbar {
  max-width: 820px;
  margin: 0 auto;
  padding: 104px 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.resume-toolbar p { margin: 0; font-size: 13px; color: #6b645b; }

.resume-toolbar__btns { display: flex; gap: 10px; }

.resume-toolbar .btn { border-color: #c9c1b4; color: #332e28; background: #faf7f1; }
.resume-toolbar .btn:hover { background: #fff; }
.resume-toolbar .btn--dark { background: #16130f; border-color: #16130f; color: #f5f2ec; }

.sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto 60px;
  background: #fff;
  color: #1b1815;
  padding: 11mm 16mm 9mm;
  box-shadow: 0 24px 70px rgba(30, 24, 18, .18);
  font-size: 9.7pt;
  line-height: 1.5;
}

.sheet a { color: inherit; }

.r-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: flex-end;
  padding-bottom: 10px;
  border-bottom: 2px solid #1b1815;
}

.r-head__main { min-width: 0; }

.r-photo {
  width: 25mm;
  height: 32mm;
  object-fit: cover;
  border: 1px solid #d8d0c3;
}

.r-head h1 {
  margin: 0 0 2px;
  font-size: 24pt;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.1;
}

.r-head .role {
  font-size: 10.5pt;
  color: #4a443c;
  letter-spacing: .04em;
}

.r-contact {
  text-align: right;
  font-size: 9.4pt;
  line-height: 1.9;
  color: #3a352e;
  white-space: nowrap;
}

.r-contact span { display: block; }

.r-sec { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding-top: 6px; }

.r-sec__title {
  font-size: 10pt;
  font-weight: 600;
  letter-spacing: .16em;
  color: #96402c;
  padding-top: 2px;
}

.r-sec__title small {
  display: block;
  font-weight: 400;
  font-size: 7.2pt;
  letter-spacing: .1em;
  color: #a9a196;
  margin-top: 2px;
  text-transform: uppercase;
}

.r-sec__body > *:first-child { margin-top: 0; }
.r-sec__body > *:last-child { margin-bottom: 0; }

.r-item { margin-bottom: 6px; }
.r-item:last-child { margin-bottom: 0; }

.r-item__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.r-item__head b { font-size: 10pt; font-weight: 600; }
.r-item__head em {
  font-style: normal;
  font-size: 9pt;
  color: #6f665b;
  white-space: nowrap;
}
.r-item__sub { font-size: 9pt; color: #5c554c; margin: 1px 0 4px; }

ul.r-list { margin: 4px 0 0; padding-left: 15px; }
ul.r-list li { margin-bottom: 1px; font-size: 9pt; line-height: 1.48; }
ul.r-list li b { font-weight: 600; }

.r-tags { display: flex; flex-wrap: wrap; gap: 5px 5px; margin: 0 0 6px; }
.r-tags span {
  border: 1px solid #ddd5c8;
  padding: 1.5px 7px;
  font-size: 8.7pt;
  color: #443e36;
  background: #faf8f3;
}

.r-skill { display: grid; grid-template-columns: 68px 1fr; gap: 6px; margin-bottom: 4px; font-size: 9.2pt; }
.r-skill dt { color: #6f665b; }
.r-skill dd { margin: 0; }

.r-note { font-size: 9pt; color: #5c554c; line-height:1.52; }

@media print {
  @page { size: A4; margin: 10mm 13mm; }
  html, body { background: #fff; }
  .nav, .footer, .resume-toolbar, .no-print { display: none !important; }
  .sheet {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    font-size: 9.6pt;
    line-height: 1.55;
  }
  .r-photo { width: 23mm; height: 29mm; }
  .r-sec { break-inside: avoid; }
  .r-item { break-inside: avoid; }
  a { text-decoration: none; }
}

/* ============================== responsive ============================= */

@media (max-width: 1080px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 30px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .step__body { grid-template-columns: 1fr; gap: 30px; }
  .step__body--flip .step__text { order: 1; }
  .step__body--flip .step__media { order: 2; }
  .step__text { padding-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .grid { columns: 2; }
  .cta { grid-template-columns: 1fr; padding: 40px 34px; gap: 26px; }
  .findings { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .nav { padding: 14px 20px; }
  .nav__links { gap: 18px; font-size: 13px; }
  .nav__brand { font-size: 13px; letter-spacing: .16em; }
  .hero { min-height: 88vh; padding: 120px 0 54px; }
  .hero__meta { gap: 8px 18px; font-size: 11.5px; }
  .section { padding: 62px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .grid { columns: 1; }
  .figs--2, .figs--3, .figs--4, .fig--pair { grid-template-columns: 1fr; }
  .step { padding: 52px 0; }
  .step__head { gap: 12px; }
  .lb__prev { left: 8px; }
  .lb__next { right: 8px; }
  .lb { padding: 60px 12px 80px; }
  .sheet { width: 100%; padding: 22px 18px; box-shadow: none; }
  .resume-body { background: #fff; }
  .resume-toolbar { padding: 92px 18px 18px; }
  .r-head {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px;
  }
  .r-head__main { grid-column: 1; }
  .r-photo { width: 23mm; height: 29mm; }
  .r-contact { grid-column: 1 / -1; text-align: left; }
  .design { grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
  .design--flip .design__media { order: 1; }
  .design--flip .design__text { order: 2; }
  .page-head { padding: 108px 0 44px; }
  .page-head__lede { font-size: 15.5px; }
  .r-sec { grid-template-columns: 1fr; gap: 6px; padding-top: 18px; }
  .r-sec__title { padding-top: 0; }
}

@media (max-width: 420px) {
  .nav__links { gap: 14px; font-size: 12px; }
  .hero h1 { letter-spacing: .02em; }
}
