@font-face {
  font-family: "Qican Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/noto-sans-sc-display-800.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --paper-deep: #ede9df;
  --surface: #fffefa;
  --surface-cool: #f4f8ff;
  --ink: #172033;
  --ink-soft: #314058;
  --muted: #5d6a7c;
  --line: #d8dee7;
  --line-strong: #bcc7d6;
  --blue: #2563eb;
  --blue-dark: #1746a2;
  --blue-soft: #dceaff;
  --blue-pale: #edf4ff;
  --white: #ffffff;
  --max-width: 1180px;
  --radius-small: 12px;
  --radius-medium: 18px;
  --radius-large: 32px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Qican Display", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

* {
  scrollbar-color: var(--blue) var(--paper-deep);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper-deep);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--paper-deep);
  border-radius: 999px;
  background: var(--blue);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(188, 199, 214, 0.72);
  background: rgba(246, 244, 238, 0.94);
}

.site-nav {
  width: min(var(--max-width), calc(100% - 44px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  min-height: 44px;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  border-radius: 999px;
  background: var(--blue);
  transition: transform 240ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 44px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 750;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}

.nav-cta:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue-dark);
}

.menu-toggle {
  display: none;
}

main,
.site-footer {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: clamp(72px, 9vw, 128px) 0 clamp(88px, 10vw, 148px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 11ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.45rem, 7.5vw, 5.75rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--blue);
}

.hero h1 .identity-line {
  color: var(--ink);
  font-size: 0.72em;
  white-space: nowrap;
}

.hero-lede {
  max-width: 38rem;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.8;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  transition: transform 180ms var(--ease-out), background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
}

.button--primary:hover {
  background: var(--blue-dark);
}

.button--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--blue);
  background: var(--surface);
}

.hero-facts {
  max-width: 36rem;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.hero-facts > div {
  padding: 18px 22px 0 0;
}

.hero-facts > div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.portrait-figure {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
}

.portrait-figure::before {
  position: absolute;
  z-index: -2;
  top: 11%;
  right: -8%;
  bottom: 8%;
  left: 14%;
  content: "";
  transform: rotate(4deg);
  border-radius: 26px;
  background: var(--blue-soft);
}

.portrait-figure::after {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: 14px;
  width: 78px;
  height: 78px;
  content: "";
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 50%;
}

.portrait-frame {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 28px 28px 10px 10px;
  background: var(--white);
  box-shadow: 0 28px 58px rgba(43, 63, 96, 0.16);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.portrait-figure figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 4px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.portrait-figure figcaption span:first-child {
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-weight: 800;
}

.section {
  padding: clamp(88px, 11vw, 150px) 0;
  border-top: 1px solid var(--line-strong);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  font-weight: 820;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-heading p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.now-card {
  min-width: 0;
  padding: 28px 28px 32px 0;
}

.now-card + .now-card {
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.now-card h3 {
  margin-top: 26px;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.now-card > p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.78;
}

.project-grid {
  border-bottom: 1px solid var(--line-strong);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding: clamp(38px, 5vw, 64px) 0;
  border-top: 1px solid var(--line-strong);
}

.project-card:nth-child(even) .project-image {
  order: 2;
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-cool);
  box-shadow: 0 18px 42px rgba(43, 63, 96, 0.1);
}

.project-card:nth-child(2) .project-image {
  aspect-ratio: 5 / 2;
}

.project-card:nth-child(3) .project-image {
  aspect-ratio: 1200 / 630;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease-out);
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-number {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.project-body h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.3vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.project-body > p {
  max-width: 62ch;
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.82;
}

.project-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.project-pricing li {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.project-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-evidence > div {
  min-width: 0;
  padding: 16px 14px 17px 0;
}

.project-evidence > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.project-evidence dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.05em;
}

.project-evidence dd {
  margin-top: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.55;
}

.project-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.79rem;
}

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

.text-link,
.writing-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue-dark);
  font-weight: 800;
}

.text-link:not(.is-muted):hover,
.writing-action:not(.is-muted):hover {
  text-decoration: underline;
}

.is-muted {
  color: var(--muted);
  cursor: default;
}

.writing-list {
  border-top: 1px solid var(--line-strong);
}

.writing-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 130px;
  align-items: center;
  gap: 28px;
  padding: 30px 20px;
  border-bottom: 1px solid var(--line-strong);
  transition: background 220ms ease, transform 220ms var(--ease-out);
}

.writing-row:hover {
  transform: translateX(6px);
  background: var(--surface);
}

.writing-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.writing-meta span {
  color: var(--blue-dark);
  font-weight: 800;
}

.writing-copy h3 {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.4;
  letter-spacing: -0.018em;
}

.writing-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.writing-action {
  justify-self: end;
  padding: 8px 0;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(52px, 8vw, 108px);
  margin-top: clamp(60px, 8vw, 110px);
  margin-bottom: clamp(60px, 8vw, 110px);
  padding: clamp(54px, 7vw, 86px);
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-large);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.18);
}

.about::after {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.about-copy,
.principles {
  position: relative;
  z-index: 1;
}

.about h2 {
  max-width: 13ch;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.35rem);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-copy > p {
  max-width: 61ch;
  margin-top: 24px;
  color: #f0f5ff;
  font-size: 0.98rem;
  line-height: 1.85;
}

.principles {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.principle {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.principle > span {
  color: #f0f5ff;
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.principle h3 {
  color: var(--white);
  font-size: 1.04rem;
}

.principle p {
  margin-top: 6px;
  color: #f0f5ff;
  font-size: 0.88rem;
  line-height: 1.72;
}

.contact {
  padding-top: clamp(86px, 10vw, 132px);
  padding-bottom: clamp(86px, 10vw, 132px);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
}

.contact h2 {
  max-width: 18ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.2vw, 4.7rem);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.contact p {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--muted);
}

.contact-links {
  width: min(100%, 340px);
  display: grid;
  gap: 14px;
}

.contact-link {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 8px;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  color: var(--blue-dark);
  font-size: 1.15rem;
  font-weight: 820;
  overflow-wrap: anywhere;
  transition: color 180ms ease, transform 220ms var(--ease-out);
}

.contact-link:hover {
  transform: translateX(6px);
  color: var(--blue);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.78rem;
}

.noscript-note {
  position: fixed;
  z-index: 500;
  right: 16px;
  bottom: 16px;
  max-width: 360px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(43, 63, 96, 0.12);
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 22px;
}

.not-found {
  width: min(720px, 100%);
  padding: clamp(38px, 7vw, 76px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(23, 32, 51, 0.08);
}

.not-found-code {
  margin-top: 72px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.not-found h1 {
  max-width: 10ch;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.6rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.not-found > p:not(.not-found-code) {
  max-width: 36rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.not-found .button {
  margin-top: 38px;
}

@media (max-width: 1020px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    padding-bottom: 14px;
  }

  .nav-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 50px;
    padding-top: 86px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 4.8rem);
  }

  .project-card {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    background: var(--paper);
  }

  .site-nav,
  main,
  .site-footer {
    width: min(100% - 30px, var(--max-width));
  }

  .site-nav {
    position: relative;
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
  }

  .menu-toggle span {
    width: 17px;
    height: 1.5px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    z-index: 20;
    top: calc(100% + 1px);
    right: -15px;
    left: -15px;
    width: auto;
    justify-self: stretch;
    display: none;
    padding: 12px 24px 18px;
    border: 1px solid var(--line-strong);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: var(--surface);
    box-shadow: 0 14px 24px rgba(43, 63, 96, 0.12);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    min-width: 44px;
    min-height: 48px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 66px;
    padding: 72px 0 88px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.1rem, 14vw, 4.8rem);
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-facts {
    margin-top: 38px;
  }

  .hero-visual {
    padding: 0 22px;
  }

  .portrait-figure {
    width: min(100%, 390px);
  }

  .portrait-figure::before {
    right: -5%;
    left: 12%;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

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

  .now-card,
  .now-card + .now-card {
    padding: 28px 0;
    border-left: 0;
  }

  .now-card + .now-card {
    border-top: 1px solid var(--line-strong);
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 46px;
  }

  .project-card:nth-child(even) .project-image {
    order: 0;
  }

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

  .project-evidence > div,
  .project-evidence > div + div {
    padding: 13px 0;
    border-left: 0;
  }

  .project-evidence > div + div {
    border-top: 1px solid var(--line);
  }

  .project-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .writing-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 0;
  }

  .writing-row:hover {
    transform: none;
  }

  .writing-meta {
    grid-template-columns: auto 1fr;
  }

  .writing-action {
    justify-self: start;
    padding-right: 10px;
  }

  .about {
    margin-top: 54px;
    margin-bottom: 54px;
    padding: 44px 30px;
    border-radius: 24px;
  }

  .about h2 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 44px;
  }

  .contact h2 {
    font-size: clamp(2.3rem, 10.5vw, 3.7rem);
  }

  .contact-links,
  .contact-link {
    width: 100%;
    min-width: 0;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts > div {
    padding: 15px 0;
  }

  .hero-facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .portrait-figure figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .about {
    padding: 38px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}

@media print {
  .site-header,
  .hero-actions,
  .contact-link,
  .menu-toggle {
    display: none;
  }

  body {
    background: white;
  }

  main,
  .site-footer {
    width: 100%;
  }

  .section,
  .about {
    break-inside: avoid;
  }
}
