:root {
  --ink: #111827;
  --muted: #5f6673;
  --line: #eceff3;
  --paper: #ffffff;
  --soft: #f7f8fb;
  --warm: #fff6e8;
  --orange: #ff7417;
  --orange-dark: #e85f08;
  --teal: #0f9f8f;
  --blue: #2f6fbd;
  --rose: #ee5c7a;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans SC",
    system-ui,
    sans-serif;
}

body.portfolio-page {
  background: #f7f8fb;
}

body.works-page {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 243, 0.92) 56%, rgba(244, 250, 255, 0.95)),
    repeating-linear-gradient(0deg, rgba(47, 111, 189, 0.05) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(238, 92, 122, 0.04) 0 1px, transparent 1px 36px),
    #fffaf4;
}

body.contact-page {
  background: #f7f8fb;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 clamp(24px, 6vw, 120px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(236, 239, 243, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  font-size: 20px;
  font-weight: 800;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  border-color: rgba(255, 116, 23, 0.45);
  color: var(--orange);
}

.site-nav .active {
  background: rgba(255, 116, 23, 0.1);
  border-color: rgba(255, 116, 23, 0.55);
  color: var(--orange);
}

.nav-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 34px;
  color: #fff;
  background: var(--orange);
  border-color: transparent;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(255, 116, 23, 0.28);
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.nav-button:hover,
.nav-button:active,
.nav-button:focus-visible,
.nav-button:visited,
.primary-button:hover {
  color: #fff;
  background: var(--orange-dark);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(255, 116, 23, 0.34);
  transform: translateY(-2px);
}

.nav-button:visited {
  background: var(--orange);
}

.nav-button.active {
  color: #fff;
}

.site-nav .nav-button.active,
.site-nav .nav-button:visited,
.site-nav .nav-button:hover,
.site-nav .nav-button:active,
.site-nav .nav-button:focus-visible {
  color: #fff;
  background: var(--orange);
  border-color: transparent;
}

.site-nav .nav-button:hover,
.site-nav .nav-button:active,
.site-nav .nav-button:focus-visible {
  background: var(--orange-dark);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 92px);
  overflow: hidden;
  padding: clamp(38px, 4vw, 56px) clamp(20px, 6vw, 120px) clamp(34px, 4vw, 52px);
  color: var(--ink);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 241, 0.9) 52%, rgba(246, 251, 255, 0.92)),
    repeating-linear-gradient(0deg, rgba(47, 111, 189, 0.06) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(238, 92, 122, 0.05) 0 1px, transparent 1px 36px),
    #fffaf4;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(255, 116, 23, 0.08) 64% 100%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(17, 24, 39, 0.045) 18px 19px);
  opacity: 0.74;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -90px;
  width: min(680px, 58vw);
  height: 240px;
  content: "";
  background: #ffe3bd;
  border: 1px solid rgba(184, 93, 42, 0.16);
  transform: rotate(-4deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-main {
  max-width: 720px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

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

.primary-button {
  min-width: 180px;
  min-height: 66px;
  padding: 0 42px;
  font-size: 22px;
  font-weight: 900;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 66px;
  padding: 0 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e5d5c1;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
  font-size: 21px;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.secondary-button:hover {
  border-color: rgba(255, 116, 23, 0.48);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.hero-composition {
  position: relative;
  min-height: 440px;
  isolation: isolate;
}

.hero-composition::before {
  position: absolute;
  inset: 28px 16px 42px 48px;
  z-index: -1;
  content: "";
  background:
    repeating-linear-gradient(135deg, rgba(47, 111, 189, 0.1) 0 1px, transparent 1px 14px),
    #eef6ff;
  border: 1px solid #d5e4f5;
  border-radius: 8px;
  transform: rotate(5deg);
}

.hero-composition::after {
  position: absolute;
  right: 20px;
  bottom: 10px;
  z-index: -1;
  width: 190px;
  height: 190px;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 50%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.5) 50%, transparent 50%),
    var(--orange);
  background-size: 18px 18px;
  clip-path: polygon(12% 0, 100% 18%, 84% 100%, 0 78%);
  opacity: 0.18;
}

.poster-sheet {
  position: absolute;
  top: 22px;
  left: 12px;
  width: min(330px, 76%);
  min-height: 360px;
  padding: 34px 30px;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.12);
  transform: rotate(-2deg);
}

.poster-sheet::before {
  position: absolute;
  top: 0;
  right: 32px;
  width: 42px;
  height: 128px;
  content: "";
  background: var(--orange);
}

.poster-sheet::after {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 118px;
  height: 118px;
  content: "";
  background:
    linear-gradient(#fff 0 0) padding-box,
    repeating-linear-gradient(90deg, var(--orange) 0 10px, var(--teal) 10px 20px, var(--blue) 20px 30px) border-box;
  border: 10px solid transparent;
  border-radius: 50%;
}

.poster-shape {
  display: block;
  border-radius: 8px;
}

.poster-shape-large {
  width: 170px;
  height: 96px;
  margin-bottom: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 36%, transparent 36%),
    var(--ink);
}

.poster-shape-small {
  width: 118px;
  height: 26px;
  margin-bottom: 24px;
  background: var(--blue);
  border-radius: 999px;
}

.poster-line {
  display: block;
  height: 12px;
  margin-bottom: 12px;
  background: #dbe2ec;
  border-radius: 999px;
}

.poster-line.wide {
  width: 72%;
}

.poster-line.short {
  width: 44%;
  background: var(--rose);
}

.poster-block {
  display: block;
  width: 92px;
  height: 92px;
  margin-top: 42px;
  background: #f1f7f2;
  border: 1px solid #cfe7d6;
  border-radius: 8px;
}

.layout-card {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 178px;
  min-height: 154px;
  padding: 22px;
  background: #111827;
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(17, 24, 39, 0.2);
}

.layout-card span {
  display: block;
  height: 12px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}

.layout-card span:nth-child(1) {
  width: 80%;
}

.layout-card span:nth-child(2) {
  width: 58%;
  background: var(--orange);
}

.layout-card span:nth-child(3) {
  width: 100%;
  height: 54px;
  margin-top: 26px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.36) 0 4px, transparent 4px 8px),
    var(--blue);
  border-radius: 6px;
}

.color-strip {
  position: absolute;
  bottom: 34px;
  left: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 238px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
}

.color-strip span:nth-child(1) {
  background: #111827;
}

.color-strip span:nth-child(2) {
  background: var(--orange);
}

.color-strip span:nth-child(3) {
  background: var(--teal);
}

.color-strip span:nth-child(4) {
  background: var(--rose);
}

.vector-ring {
  position: absolute;
  top: 38px;
  right: 30px;
  width: 128px;
  height: 128px;
  border: 18px solid rgba(255, 116, 23, 0.22);
  border-right-color: rgba(47, 111, 189, 0.28);
  border-bottom-color: rgba(15, 159, 143, 0.26);
  border-radius: 50%;
}

.dot-field {
  position: absolute;
  right: 80px;
  bottom: 242px;
  display: grid;
  grid-template-columns: repeat(2, 14px);
  gap: 12px;
}

.dot-field span {
  width: 14px;
  height: 14px;
  background: #111827;
  border-radius: 50%;
  opacity: 0.2;
}

.category-section,
.works-section,
.contact-section {
  padding: clamp(72px, 8vw, 120px) clamp(20px, 6vw, 120px);
  scroll-margin-top: 108px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.contact-section h1,
.contact-section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.16;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
}

.category-card {
  min-height: 320px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--soft);
  border: 1px solid #f0f2f6;
  border-radius: 8px;
}

.category-card.warm {
  background: var(--warm);
}

.icon-box {
  display: grid;
  width: 112px;
  height: 112px;
  margin-bottom: 42px;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 28px;
}

.icon-box svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-box svg circle,
.icon-box svg rect {
  fill: none;
}

.category-card h3 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.category-card p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}

.works-section {
  background: #f7f8fb;
}

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

.work-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card div {
  padding: 24px;
}

.work-card span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.work-card h3 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.portfolio-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 126px) clamp(20px, 6vw, 120px) clamp(42px, 5vw, 66px);
  text-align: center;
}

.portfolio-hero::before {
  position: absolute;
  top: 36px;
  left: clamp(20px, 7vw, 118px);
  width: min(210px, 28vw);
  height: min(210px, 28vw);
  content: "";
  background:
    linear-gradient(#fff 0 0) padding-box,
    repeating-linear-gradient(90deg, var(--orange) 0 10px, var(--teal) 10px 20px, var(--blue) 20px 30px) border-box;
  border: 12px solid transparent;
  border-radius: 50%;
  opacity: 0.16;
}

.portfolio-hero::after {
  position: absolute;
  right: clamp(18px, 7vw, 120px);
  bottom: 26px;
  width: min(300px, 34vw);
  height: 120px;
  content: "";
  background: repeating-linear-gradient(135deg, rgba(17, 24, 39, 0.09) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  transform: rotate(-4deg);
}

.portfolio-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #dce8f7;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.portfolio-hero p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 24px auto 0;
  color: #596170;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.55;
}

.portfolio-grid-section {
  padding: 0 clamp(20px, 4.6vw, 92px) clamp(80px, 8vw, 118px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(24px, 2.4vw, 48px);
}

.portfolio-card {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.portfolio-card:hover {
  border-color: rgba(255, 116, 23, 0.34);
  box-shadow: 0 26px 64px rgba(17, 24, 39, 0.14);
  transform: translateY(-4px);
}

.portfolio-preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(17, 24, 39, 0.05) 0 1px, transparent 1px 16px),
    #f8fafc;
}

.portfolio-preview img {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
}

.advertising-preview {
  background:
    linear-gradient(135deg, rgba(255, 116, 23, 0.13), rgba(47, 111, 189, 0.1)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.56) 0 1px, transparent 1px 24px),
    #fff6ec;
}

.portfolio-preview .preview-main {
  top: 42px;
  left: 34px;
  width: 58%;
  transform: rotate(-3deg);
}

.portfolio-preview .preview-small {
  width: 42%;
}

.portfolio-preview .preview-small-a {
  right: 28px;
  top: 34px;
  transform: rotate(4deg);
}

.portfolio-preview .preview-small-b {
  right: 54px;
  bottom: 28px;
  transform: rotate(-2deg);
}

.print-preview {
  background:
    linear-gradient(135deg, rgba(15, 159, 143, 0.13), rgba(255, 116, 23, 0.1)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.58) 0 1px, transparent 1px 24px),
    #f4fbf8;
}

.portfolio-preview .preview-print-main {
  top: 34px;
  left: 42px;
  width: 72%;
  object-fit: contain;
  transform: rotate(2deg);
}

.print-swatch {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
}

.swatch-orange {
  right: 44px;
  bottom: 48px;
  width: 92px;
  height: 126px;
  background: var(--orange);
}

.swatch-blue {
  right: 118px;
  bottom: 30px;
  width: 72px;
  height: 72px;
  background: var(--blue);
  opacity: 0.78;
}

.print-lines {
  position: absolute;
  left: 46px;
  bottom: 48px;
  width: 42%;
}

.print-lines span {
  display: block;
  height: 12px;
  margin-top: 12px;
  background: rgba(17, 24, 39, 0.18);
  border-radius: 999px;
}

.print-lines span:nth-child(2) {
  width: 76%;
  background: rgba(255, 116, 23, 0.58);
}

.print-lines span:nth-child(3) {
  width: 52%;
  background: rgba(47, 111, 189, 0.45);
}

.ai-preview {
  background:
    linear-gradient(135deg, rgba(12, 74, 80, 0.12), rgba(255, 116, 23, 0.12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.58) 0 1px, transparent 1px 22px),
    #f7f2eb;
}

.portfolio-preview .preview-ai-piece {
  object-fit: cover;
}

.portfolio-preview .preview-ai-piece-main {
  z-index: 2;
  top: 30px;
  left: 28%;
  width: 43%;
  height: calc(100% - 60px);
  transform: rotate(-1deg);
}

.portfolio-preview .preview-ai-piece-a {
  z-index: 1;
  top: 62px;
  left: 42px;
  width: 34%;
  height: 67%;
  transform: rotate(-5deg);
}

.portfolio-preview .preview-ai-piece-b {
  z-index: 3;
  right: 38px;
  bottom: 42px;
  width: 34%;
  height: 64%;
  transform: rotate(5deg);
}

.ai-grid-line,
.ai-dot {
  position: absolute;
  pointer-events: none;
}

.ai-grid-line {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}

.ai-grid-line-a {
  top: 74px;
  right: 30px;
  left: 42px;
  height: 2px;
}

.ai-grid-line-b {
  top: 42px;
  bottom: 40px;
  left: 72px;
  width: 2px;
}

.ai-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(255, 116, 23, 0.22);
}

.ai-dot-a {
  right: 54px;
  top: 62px;
}

.ai-dot-b {
  left: 48px;
  bottom: 58px;
  background: #2f6fbd;
}

.virtual-preview {
  background:
    radial-gradient(circle at 80% 24%, rgba(186, 204, 143, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(96, 131, 84, 0.18), rgba(255, 246, 232, 0.95)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.52) 0 1px, transparent 1px 22px),
    #f7f5e8;
}

.portfolio-preview .preview-virtual-bag {
  z-index: 2;
  top: 28px;
  left: 22%;
  width: 52%;
  transform: rotate(1.5deg);
}

.portfolio-preview .preview-virtual-label {
  z-index: 1;
  right: 30px;
  bottom: 28px;
  width: 42%;
  transform: rotate(7deg);
}

.portfolio-preview .preview-virtual-character {
  z-index: 3;
  left: 34px;
  bottom: 34px;
  width: 32%;
  object-fit: contain;
  background: #fffdf3;
  transform: rotate(-5deg);
}

.virtual-stem,
.virtual-leaf {
  position: absolute;
  pointer-events: none;
}

.virtual-stem {
  top: 58px;
  left: 50px;
  width: 16px;
  height: 94px;
  background: #39463f;
  border-radius: 999px;
  transform: rotate(-16deg);
}

.virtual-leaf {
  width: 76px;
  height: 42px;
  background: #8ba47b;
  border: 7px solid #39463f;
  border-radius: 90% 0 90% 0;
  opacity: 0.95;
}

.virtual-leaf-a {
  top: 54px;
  left: 76px;
  transform: rotate(-8deg);
}

.virtual-leaf-b {
  right: 56px;
  top: 70px;
  width: 54px;
  height: 30px;
  border-width: 6px;
  opacity: 0.68;
  transform: rotate(22deg);
}

.portfolio-card-body {
  padding: 32px 34px 34px;
}

.portfolio-label {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.08;
}

.portfolio-card-body p {
  margin: 18px 0 22px;
  color: #596170;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.portfolio-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #324052;
  background: #f7f8fb;
  border: 1px solid #e6eaf0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.portfolio-link::after {
  margin-left: 10px;
  content: "→";
  transition: transform 180ms ease;
}

.portfolio-card:hover .portfolio-link::after {
  transform: translateX(4px);
}

.portfolio-card-with-tags {
  padding-bottom: 28px;
  cursor: pointer;
}

.portfolio-card-with-tags h2 {
  padding-bottom: 20px;
}

.portfolio-title-link {
  display: block;
}

.portfolio-title-link:hover h2 {
  color: var(--orange-dark);
}

.sub-tag {
  display: grid;
  gap: 14px;
  margin: 0 28px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.sub-tag:hover {
  border-color: rgba(255, 116, 23, 0.36);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.sub-tag img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.sub-tag strong {
  display: block;
  padding: 0 18px 18px;
  font-size: 20px;
  line-height: 1.25;
}

.project-hero {
  padding: clamp(70px, 9vw, 128px) clamp(20px, 6vw, 120px) clamp(42px, 5vw, 68px);
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px 20px;
  color: var(--orange);
  background: #fff7ed;
  border: 1px solid rgba(255, 116, 23, 0.34);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 116, 23, 0.12);
  font-size: 18px;
  font-weight: 900;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.back-link::before {
  content: "←";
  font-size: 20px;
  line-height: 1;
}

.back-link:hover {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(255, 116, 23, 0.24);
  transform: translateY(-2px);
}

.project-hero h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.project-hero p {
  margin: 28px auto 0;
  max-width: 780px;
  color: #596170;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.5vw, 40px);
  padding: 0 clamp(20px, 4.6vw, 92px) clamp(76px, 8vw, 116px);
}

.project-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.ai-concept-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.project-grid img.ai-concept-image {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.project-card {
  display: block;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.project-card:hover {
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
  transform: translateY(-4px);
}

.project-card img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.project-card-contain img {
  aspect-ratio: auto;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.project-card div {
  padding: 26px 28px 30px;
}

.project-card span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.project-card h2 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.25;
}

.print-work-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.print-work-link::after {
  content: " →";
  color: var(--orange);
}

.loading-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #596170;
  font-size: 20px;
  font-weight: 800;
}

.ai-work-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.project-card img.ai-work-thumb {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #fff;
}

.ai-work-card-body {
  display: grid;
  gap: 10px;
  min-height: 218px;
}

.project-card .ai-work-card-body p {
  margin: 0;
  color: #5f6673;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.ai-work-link {
  align-self: end;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.ai-work-link::after {
  content: " →";
  color: var(--orange);
}

.virtual-project-grid {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.virtual-work-card img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 42%;
  background: #f7f5e8;
}

.virtual-work-card p {
  margin: 14px 0 0;
  color: #5f6673;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.green-apple-page {
  background:
    linear-gradient(180deg, #f8f6eb 0, #f7f8fb 54%),
    #f7f8fb;
}

.green-apple-hero {
  padding: clamp(42px, 5vw, 70px) clamp(20px, 4.6vw, 92px) clamp(34px, 5vw, 66px);
}

.green-apple-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.green-apple-copy {
  display: grid;
  gap: 22px;
}

.green-apple-kicker {
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  color: #43543c;
  background: rgba(139, 164, 123, 0.16);
  border: 1px solid rgba(67, 84, 60, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.green-apple-copy h1 {
  margin: 0;
  color: #24312b;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.green-apple-copy > p {
  margin: 0;
  color: #4b5563;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.55;
}

.green-apple-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.green-apple-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #24312b;
  background: #fffdf4;
  border: 1px solid rgba(67, 84, 60, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.green-apple-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(231, 239, 207, 0.72)),
    repeating-linear-gradient(135deg, rgba(67, 84, 60, 0.08) 0 1px, transparent 1px 18px);
  border: 1px solid rgba(67, 84, 60, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 68px rgba(36, 49, 43, 0.12);
}

.green-apple-hero-media::before {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  content: "";
  background: rgba(139, 164, 123, 0.22);
  border: 22px solid rgba(57, 70, 63, 0.1);
  border-radius: 50%;
}

.green-apple-hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: min(78vh, 780px);
  object-fit: contain;
  filter: drop-shadow(0 30px 32px rgba(36, 49, 43, 0.14));
}

.green-apple-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.6vw, 92px) clamp(40px, 5vw, 70px);
}

.green-apple-story article {
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.green-apple-story span,
.green-apple-gallery figcaption span {
  color: #759064;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.green-apple-story h2 {
  margin: 12px 0 10px;
  color: #24312b;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.16;
}

.green-apple-story p {
  margin: 0;
  color: #5f6673;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.green-apple-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.5vw, 40px);
  padding: 0 clamp(20px, 4.6vw, 92px) clamp(44px, 6vw, 74px);
}

.green-apple-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
}

.green-apple-gallery-large {
  grid-column: 1 / -1;
}

.green-apple-gallery img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #f8f6eb;
}

.green-apple-gallery figcaption {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 30px);
}

.green-apple-gallery figcaption strong {
  color: #24312b;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.green-apple-gallery figcaption p {
  margin: 0;
  color: #5f6673;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.green-apple-extension {
  padding: 0 clamp(20px, 4.6vw, 92px) clamp(76px, 8vw, 116px);
}

.green-apple-section-heading {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto clamp(26px, 4vw, 46px);
  text-align: center;
  justify-items: center;
}

.green-apple-section-heading h2 {
  margin: 0;
  color: #24312b;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.green-apple-section-heading p:last-child {
  margin: 0;
  color: #4b5563;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.6;
}

.green-apple-extension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.5vw, 40px);
}

.green-apple-extension-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(67, 84, 60, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
}

.green-apple-extension-large {
  grid-column: 1 / -1;
}

.green-apple-extension-grid img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #f8f6eb;
}

.green-apple-extension-grid figcaption {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 30px);
}

.green-apple-extension-grid figcaption span {
  color: #759064;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.green-apple-extension-grid figcaption strong {
  color: #24312b;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.12;
}

.green-apple-extension-grid figcaption p {
  margin: 0;
  color: #5f6673;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.ai-detail-page {
  padding: clamp(42px, 6vw, 82px) clamp(20px, 5vw, 92px) clamp(76px, 8vw, 116px);
}

.ai-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  max-width: 1280px;
  margin: 28px auto 0;
}

.ai-detail-media {
  position: sticky;
  top: 116px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ai-detail-media img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 152px);
  object-fit: contain;
  background: #fff;
}

.ai-detail-copy {
  display: grid;
  gap: 22px;
}

.ai-detail-kicker {
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.ai-detail-copy > p {
  margin: 0;
  color: #4b5563;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.5;
}

.ai-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #184b43;
  background: rgba(15, 159, 143, 0.1);
  border: 1px solid rgba(15, 159, 143, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.prompt-block {
  padding: clamp(22px, 3vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.prompt-block-soft {
  background: #fffaf4;
  border-color: rgba(255, 116, 23, 0.18);
}

.prompt-block h2 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.prompt-block p {
  margin: 0;
  color: #293241;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.ai-detail-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ai-detail-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.ai-detail-nav a:hover {
  color: var(--orange);
  border-color: rgba(255, 116, 23, 0.38);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.print-detail {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  padding: 0 clamp(20px, 4.6vw, 92px) clamp(76px, 8vw, 116px);
}

.print-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.5vw, 40px);
}

.print-plate {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.print-plate img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.print-plate figcaption {
  padding: 22px 26px;
  color: var(--orange);
  font-size: 20px;
  font-weight: 900;
}

.craft-page {
  padding: clamp(42px, 5vw, 70px) clamp(20px, 4.6vw, 92px) clamp(76px, 8vw, 116px);
}

.craft-page .back-link {
  margin-bottom: 28px;
}

.craft-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  align-items: stretch;
}

.craft-stage {
  display: grid;
  gap: 28px;
  min-height: 620px;
  overflow: hidden;
  padding: 34px;
  background: #fffaf2;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.11);
}

.craft-copy {
  z-index: 2;
}

.craft-copy h1 {
  margin: 0;
  color: #171411;
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.craft-note {
  max-width: 760px;
  margin: 14px 0 0;
  color: #5f6673;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.7;
}

.craft-image-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 8px 0 4px;
}

.craft-image {
  display: block;
  width: 100%;
  max-height: min(68vh, 760px);
  object-fit: contain;
  filter: drop-shadow(0 30px 32px rgba(17, 24, 39, 0.14));
  animation: craft-rise 420ms ease both;
}

@keyframes craft-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.craft-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.craft-btn {
  width: 100%;
  min-height: 68px;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dde2ea;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.craft-btn:hover {
  border-color: rgba(255, 116, 23, 0.46);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.craft-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #8a4512, var(--orange));
  border-color: #8a4512;
  box-shadow: 0 16px 34px rgba(255, 116, 23, 0.25);
}

.poster-grid {
  align-items: start;
}

.poster-grid img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
}

.poster-grid img.poster-landscape {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.poster-grid img.poster-banner {
  grid-column: 1 / -1;
  aspect-ratio: 8 / 1;
}

.contact-section {
  background: #f7f8fb;
  color: var(--ink);
}

.contact-page-section {
  min-height: calc(100vh - 92px);
  padding-top: clamp(88px, 9vw, 128px);
}

.contact-heading {
  text-align: center;
}

.contact-list {
  display: grid;
  width: min(760px, 100%);
  margin: 0 auto;
  gap: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(42px, 7vw, 72px) clamp(24px, 7vw, 80px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.contact-card-large {
  min-height: 720px;
}

.contact-icon {
  display: grid;
  width: 128px;
  height: 128px;
  margin-bottom: 34px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
}

.contact-icon svg {
  width: 58px;
  height: 58px;
  fill: currentColor;
}

.wechat-icon {
  background: #20c563;
}

.phone-icon {
  background: var(--orange);
}

.contact-card h2,
.contact-card h3 {
  margin: 0 0 22px;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.1;
}

.contact-card p {
  margin: 0;
  color: #4b5563;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.25;
}

.qr-image {
  display: block;
  width: min(430px, 100%);
  margin-top: 48px;
  aspect-ratio: 1;
  object-fit: contain;
}

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

  .site-header {
    min-height: 76px;
    padding: 0 22px;
  }

  .site-nav {
    gap: 16px;
    font-size: 16px;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 18px;
  }

  .nav-button {
    min-height: 46px;
    padding: 0 20px;
  }

  .hero {
    min-height: calc(100vh - 76px);
  }

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

  .hero-composition {
    width: min(560px, 100%);
  }

  .category-grid,
  .works-grid,
  .portfolio-grid,
  .project-grid,
  .print-process-grid,
  .craft-showcase,
  .ai-detail-shell,
  .green-apple-hero-grid,
  .green-apple-story,
  .green-apple-gallery,
  .green-apple-extension-grid {
    grid-template-columns: 1fr;
  }

  .ai-detail-media {
    position: static;
  }

  .craft-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px;
  }

  .craft-btn {
    min-height: 56px;
    padding: 0 10px;
    font-size: 15px;
  }

  .poster-grid img.poster-landscape,
  .poster-grid img.poster-banner,
  .green-apple-gallery-large,
  .green-apple-extension-large {
    grid-column: 1;
  }

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

  .contact-list {
    width: min(760px, 100%);
  }

  .contact-page-section {
    min-height: calc(100vh - 76px);
  }
}

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

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 18px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    justify-content: center;
    justify-items: center;
    gap: 10px;
  }

  .site-nav a {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    font-size: 16px;
  }

  .nav-button {
    padding: 0 10px;
  }

  .hero {
    min-height: calc(100vh - 134px);
    padding: 62px 20px 72px;
    text-align: left;
  }

  .hero::after {
    right: -220px;
    width: 520px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions a {
    width: 100%;
  }

  .secondary-button {
    min-height: 62px;
    font-size: 20px;
  }

  .hero-composition {
    min-height: 360px;
  }

  .poster-sheet {
    width: min(300px, 76%);
    min-height: 310px;
    padding: 28px 24px;
  }

  .layout-card {
    right: 0;
    bottom: 50px;
    width: 150px;
    min-height: 132px;
  }

  .vector-ring {
    right: 14px;
    width: 96px;
    height: 96px;
    border-width: 14px;
  }

  .color-strip {
    bottom: 24px;
    left: 28px;
    width: 210px;
  }

  .portfolio-hero {
    padding-top: 72px;
  }

  .portfolio-grid-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .portfolio-card {
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .portfolio-preview {
    min-height: 270px;
  }

  .portfolio-preview .preview-virtual-bag {
    width: 46%;
  }

  .portfolio-preview .preview-virtual-character {
    width: 28%;
  }

  .portfolio-card-body {
    padding: 26px 24px 28px;
  }

  .portfolio-card h2 {
    padding: 0;
  }

  .project-hero {
    padding-top: 64px;
  }

  .project-grid {
    padding-right: 20px;
    padding-left: 20px;
  }

  .project-card img.ai-work-thumb {
    min-height: 260px;
  }

  .ai-work-card-body {
    min-height: auto;
  }

  .ai-detail-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .ai-detail-copy h1 {
    font-size: 40px;
  }

  .ai-detail-nav {
    grid-template-columns: 1fr;
  }

  .craft-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .green-apple-hero,
  .green-apple-story,
  .green-apple-gallery,
  .green-apple-extension {
    padding-right: 18px;
    padding-left: 18px;
  }

  .craft-stage {
    min-height: auto;
    padding: 26px;
  }

  .craft-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-button {
    min-height: 62px;
    font-size: 20px;
  }

  .icon-box {
    width: 88px;
    height: 88px;
    margin-bottom: 30px;
    border-radius: 24px;
  }

  .icon-box svg {
    width: 46px;
    height: 46px;
  }

  .contact-section {
    padding-right: 0;
    padding-left: 0;
    scroll-margin-top: 134px;
  }

  .contact-heading {
    padding: 0 20px;
  }

  .contact-list {
    gap: 28px;
  }

  .contact-card {
    min-height: 330px;
    border-right: 0;
    border-left: 0;
  }

  .contact-card-large {
    min-height: 680px;
  }

  .contact-icon {
    width: 112px;
    height: 112px;
    margin-bottom: 30px;
  }

  .contact-icon svg {
    width: 52px;
    height: 52px;
  }

  .qr-image {
    width: min(390px, calc(100vw - 64px));
    margin-top: 46px;
  }
}
