/* ==========================================================================
   柒屿星合 · Stellar Press
   编辑感印刷 × 星图签名 × 内容商业的特刊气质
   ========================================================================== */

:root {
  --ink: #0a0e1b;
  --ink-soft: #131a2c;
  --ink-deep: #060912;
  --paper: #f5efe6;
  --paper-warm: #ece4d3;
  --paper-line: #d8cdb6;
  --ember: #e86a33;
  --ember-deep: #c14a1a;
  --honey: #f0c75e;
  --mist: #6b7591;
  --line: rgba(245, 239, 230, 0.18);
  --line-paper: rgba(10, 14, 27, 0.16);

  --serif: "Fraunces", "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: "Manrope", "PingFang SC", "HarmonyOS Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  --radius: 4px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --grain-opacity: 0.45;

  --shadow-press: 0 30px 60px -30px rgba(6, 9, 18, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* 纸面噪点：贯穿整站的物质感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ============ 通用排版 ============ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(48px, 7.4vw, 124px); line-height: 0.96; font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; font-weight: 500; }
h3 { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.25; font-weight: 600; }

p { margin: 0; }

.section-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}

.section-head { max-width: 880px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { color: var(--mist); margin-top: 22px; max-width: 60ch; font-size: 17px; line-height: 1.65; }
.section-head.split-head {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
}
.section-head.split-head p { margin-top: 0; max-width: 38ch; }

#workflow h2 {
  white-space: nowrap;
  font-size: clamp(18px, 5.3vw, 60px);
}

.text-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.text-link::after { content: "→"; transition: transform 0.3s; }
.text-link:hover { color: var(--ember); border-color: var(--ember); }
.text-link:hover::after { transform: translateX(6px); }

/* ============ 按钮 ============ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.35s, color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.button::after {
  content: "↗";
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0;
  transition: transform 0.35s;
}
.button:hover { transform: translateY(-2px); }
.button:hover::after { transform: translate(2px, -2px); }

.button-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.button-primary:hover {
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 14px 30px -12px rgba(232, 106, 51, 0.55);
}
.button-secondary {
  color: var(--ink);
  border-color: var(--ink);
}
.button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============ 顶部刊头 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px var(--gutter);
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-paper);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: var(--line-paper);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-paper);
  background: var(--paper-warm);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.brand-copy small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  gap: 4px;
  justify-self: center;
  border: 1px solid var(--line-paper);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 252, 245, 0.6);
}
.site-nav a {
  padding: 9px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.site-nav a:hover { color: var(--ember); }
.site-nav a.active {
  background: var(--ink);
  color: var(--paper);
}

.site-header .header-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.site-header .header-meta .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(232, 106, 51, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 106, 51, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(232, 106, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 106, 51, 0); }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-paper);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, top 0.3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============ HERO · 头版 ============ */
.hero {
  position: relative;
  padding: clamp(66px, 7vw, 104px) var(--gutter) clamp(86px, 9vw, 126px);
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
  gap: clamp(76px, 8.5vw, 132px);
  align-items: center;
}
.hero-issue {
  position: absolute;
  top: 24px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero-issue .rule {
  flex: 1;
  height: 1px;
  background: var(--line-paper);
  margin: 0 24px;
}

.hero-copy {
  position: relative;
  max-width: 620px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(56px, 7.2vw, 118px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 18px 0 28px;
}
.hero-title-line { display: block; }
.hero-title-line:nth-child(2) {
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
  margin-left: clamp(22px, 4vw, 60px);
}
.hero-title-line .ampersand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--honey);
}

.hero-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-lede span { display: block; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-paper);
  padding-top: 28px;
}
.hero-stats > div {
  padding-right: 16px;
  position: relative;
}
.hero-stats > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line-paper);
}
.hero-stats dt {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ============ 星座照片墙（重做） ============ */
.constellation-gallery {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  aspect-ratio: 1 / 1.05;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(240, 199, 94, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 70%, rgba(232, 106, 51, 0.1) 0%, transparent 50%),
    var(--ink);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-press);
}
.constellation-gallery::before {
  content: "VOL.04 · CREATOR ATLAS";
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(245, 239, 230, 0.55);
  z-index: 5;
}
.constellation-gallery::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(245, 239, 230, 0.08);
  border-radius: 4px;
  pointer-events: none;
  z-index: 5;
}
.constellation-lines, .starfield, .constellation-stage {
  position: absolute; inset: 0;
}
.starfield { z-index: 1; }
.constellation-lines { z-index: 2; pointer-events: none; }
.constellation-stage { z-index: 3; }

.star-dot {
  position: absolute;
  background: rgba(245, 239, 230, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(245, 239, 230, 0.45);
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.talent-star {
  position: absolute;
  background-size: cover;
  background-position: center 24%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--slot-scale, 1));
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow:
    0 0 0 1px rgba(245, 239, 230, 0.18),
    0 0 22px -4px var(--glow, var(--ember)),
    0 18px 30px -12px rgba(0, 0, 0, 0.55);
  filter: saturate(0.94) contrast(1.04);
  animation: starPulse 4.2s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}
.talent-star.active {
  box-shadow:
    0 0 0 2px rgba(245, 239, 230, 0.32),
    0 0 38px -2px var(--glow, var(--ember)),
    0 26px 50px -14px rgba(0, 0, 0, 0.65);
}
.talent-star.is-hidden { opacity: 0 !important; pointer-events: none; }
@keyframes starPulse {
  0%, 100% { filter: saturate(0.94) contrast(1.04) brightness(1); }
  50% { filter: saturate(1.05) contrast(1.08) brightness(1.05); }
}

/* ============ 业务三栏 · 编号大牌 ============ */
.business-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.business-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(232, 106, 51, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(240, 199, 94, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.business-section .section-shell { position: relative; z-index: 1; }
.business-section .eyebrow { color: var(--honey); }
.business-section h2 {
  color: var(--paper);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  max-width: 16em;
  white-space: nowrap;
}
.business-section .section-head {
  max-width: 1040px;
  margin-bottom: clamp(44px, 5vw, 76px);
}
.business-section .section-head p {
  color: rgba(245, 239, 230, 0.7);
  max-width: 96ch;
  white-space: nowrap;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.business-card {
  position: relative;
  display: block;
  padding: 28px;
  background: rgba(6, 9, 18, 0.76);
  border: 1px solid rgba(245, 239, 230, 0.16);
  border-radius: 4px;
  transition: background 0.4s ease;
  overflow: hidden;
  isolation: isolate;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.business-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(232, 106, 51, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.business-card:hover::before { opacity: 1; }
.business-card:hover { background: var(--ink-soft); }

.business-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--honey);
  margin-bottom: 24px;
}
.business-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 26px;
  filter: saturate(0.95);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.business-card:hover img { transform: scale(1.04); }

.business-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
}
.business-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245, 239, 230, 0.7);
  margin-bottom: 24px;
}
.business-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  margin-top: auto;
}
.business-card .arrow::after {
  content: "→";
  transition: transform 0.3s;
}
.business-card:hover .arrow::after { transform: translateX(8px); }

/* ============ Growth Loop · 杂志四栏 ============ */
.loop-section { background: var(--paper-warm); }
.loop-section .section-head {
  max-width: 1120px;
}
.loop-section h2 {
  white-space: nowrap;
  font-size: clamp(36px, 4vw, 56px);
}
.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.loop-grid article {
  padding: 34px 26px 36px;
  border-top: 2px solid var(--ink);
  border-right: 1px solid rgba(3, 8, 23, 0.08);
  border-bottom: 1px solid rgba(3, 8, 23, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 252, 245, 0.3);
  min-height: 300px;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.loop-grid article + article { border-left: 1px solid rgba(3, 8, 23, 0.08); }
.loop-grid article span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--ember);
  white-space: nowrap;
}
.loop-grid article h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 600;
}
.loop-grid article p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.loop-grid article:hover {
  transform: translateY(-8px);
  background: rgba(255, 252, 245, 0.58);
  border-color: rgba(232, 106, 51, 0.26);
  box-shadow: 0 22px 48px rgba(3, 8, 23, 0.09);
}
.loop-grid article:hover h3 { color: var(--ember); }
.loop-grid article:hover::before { background: var(--ember); }
.loop-grid article::before {
  content: counter(loop, decimal-leading-zero);
  counter-increment: loop;
  position: absolute;
  top: -2px;
  right: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  transition: background 0.35s ease, transform 0.35s ease;
}
.loop-grid { counter-reset: loop; }
.loop-grid article:last-child { padding-right: 26px; }

/* ============ Marquee 走马灯 ============ */
.marquee-gallery {
  display: flex;
  gap: 18px;
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  animation: marquee 72s linear infinite;
  flex-shrink: 0;
}
.marquee-gallery img {
  width: 196px;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.95) contrast(1.02);
  flex-shrink: 0;
  transition: transform 0.4s, filter 0.4s;
}
.marquee-gallery img:hover { transform: translateY(-4px); filter: saturate(1.1) contrast(1.05); }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 9px)); }
}

/* ============ Contact Strip · 收口 ============ */
.contact-strip {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(232, 106, 51, 0.18) 0%, transparent 55%);
}
.contact-strip .section-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 56px;
  align-items: center;
}
.contact-strip .eyebrow { color: var(--honey); }
.contact-strip h2 {
  color: var(--paper);
  font-size: clamp(30px, 3.6vw, 52px);
  max-width: 22ch;
}
.contact-strip .button-primary {
  background: var(--ember);
  border-color: var(--ember);
}
.contact-strip .button-primary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.contact-strip .button-secondary { color: var(--paper); border-color: rgba(245, 239, 230, 0.6); }
.contact-strip .button-secondary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ 页脚 ============ */
.site-footer {
  background: var(--ink-deep);
  color: rgba(245, 239, 230, 0.7);
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(245, 239, 230, 0.1);
}
.site-footer .col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 16px;
}
.site-footer .col p, .site-footer .col a { display: block; color: rgba(245, 239, 230, 0.7); margin-bottom: 8px; }
.site-footer .col a:hover { color: var(--ember); }
.footer-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(245, 239, 230, 0.12);
  margin: 32px 0 0;
}
.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ 内页 hero · 编辑感大标题 ============ */
.detail-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(60px, 7vw, 100px) var(--gutter) clamp(60px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  position: relative;
}
.detail-hero h1 {
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 18px 0 24px;
}
.detail-hero p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 28px;
}
.detail-hero img, .detail-logo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-press);
}
.detail-logo-card {
  background: var(--ink);
  padding: 64px;
  border-radius: 4px;
  box-shadow: var(--shadow-press);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-logo-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(232, 106, 51, 0.35);
}
.detail-hero .hero-actions { margin-bottom: 0; }

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-paper);
  padding-top: 24px;
  margin-top: 8px;
}
.detail-stats > div { padding-right: 16px; }
.detail-stats > div + div { padding-left: 22px; border-left: 1px solid var(--line-paper); }
.detail-stats dt {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.detail-stats dd {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0;
}

/* feature & process grid 统一 */
.feature-grid {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-paper);
}
.feature-grid.three-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid.four-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid article {
  padding: 32px 24px 32px 0;
  border-right: 1px dashed var(--line-paper);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.feature-grid article:last-child { border-right: none; }
.feature-grid article + article { padding-left: 24px; }
.feature-grid article span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember);
}
.feature-grid article h3 { font-size: 22px; font-family: var(--serif); font-weight: 600; line-height: 1.2; }
.feature-grid article p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-paper);
  border: 1px solid var(--line-paper);
}
.process-grid article {
  background: var(--paper);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.3s;
}
.process-grid article:hover { background: var(--paper-warm); }
.process-grid article span {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ember);
  font-weight: 700;
}
.process-grid article h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; }
.process-grid article p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gallery-grid img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  filter: saturate(0.95);
  transition: transform 0.5s, filter 0.5s;
}
.gallery-grid img:hover { transform: translateY(-4px); filter: saturate(1.08); }

.talent-gallery-section {
  position: relative;
  overflow: hidden;
}
.talent-gallery-section::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 160px;
  height: 520px;
  background:
    radial-gradient(circle at 18% 30%, rgba(232, 106, 51, 0.1), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(3, 8, 23, 0.08), transparent 34%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.46) 46%, transparent 58%);
  filter: blur(24px);
  opacity: 0.8;
  pointer-events: none;
  animation: galleryGlow 12s ease-in-out infinite alternate;
}
.kinetic-photo-wall {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 92px;
  grid-auto-flow: dense;
  gap: 16px;
  perspective: 1200px;
}
.kinetic-photo-wall img {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  box-shadow: 0 16px 34px rgba(3, 8, 23, 0.1);
  transform: translate3d(0, 0, 0) rotate(var(--photo-tilt, 0deg));
  animation: photoFloat 7.5s ease-in-out infinite;
  animation-delay: var(--photo-delay, 0s);
  will-change: transform;
}
.kinetic-photo-wall img:nth-child(6n + 1) {
  grid-row: span 3;
  --photo-tilt: -1.2deg;
  --photo-delay: -0.8s;
}
.kinetic-photo-wall img:nth-child(6n + 2) {
  grid-row: span 2;
  --photo-tilt: 1deg;
  --photo-delay: -2.2s;
}
.kinetic-photo-wall img:nth-child(6n + 3) {
  grid-row: span 3;
  --photo-tilt: 0.8deg;
  --photo-delay: -3.6s;
}
.kinetic-photo-wall img:nth-child(6n + 4) {
  grid-column: span 2;
  grid-row: span 3;
  --photo-tilt: -0.6deg;
  --photo-delay: -1.4s;
}
.kinetic-photo-wall img:nth-child(6n + 5) {
  grid-row: span 2;
  --photo-tilt: 1.3deg;
  --photo-delay: -4.4s;
}
.kinetic-photo-wall img:nth-child(6n) {
  grid-row: span 3;
  --photo-tilt: -0.9deg;
  --photo-delay: -5.2s;
}
.kinetic-photo-wall:hover img {
  animation-play-state: paused;
  opacity: 0.72;
}
.kinetic-photo-wall img:hover {
  opacity: 1;
  z-index: 3;
  filter: saturate(1.12) contrast(1.06);
  transform: translate3d(0, -12px, 80px) scale(1.045) rotate(0deg);
  box-shadow: 0 28px 68px rgba(3, 8, 23, 0.22);
}
@keyframes photoFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--photo-tilt, 0deg)); }
  50% { transform: translate3d(0, -10px, 24px) rotate(calc(var(--photo-tilt, 0deg) * -1)); }
}
@keyframes galleryGlow {
  from { transform: translateX(-5%) scale(1); opacity: 0.55; }
  to { transform: translateX(5%) scale(1.05); opacity: 0.9; }
}

/* value-grid */
.capability-band { background: var(--paper-warm); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.value-grid article {
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line-paper);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.value-grid article::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 4px;
  background: var(--ember);
}
.value-grid article h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.value-grid article p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

/* story cards */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.story-card {
  background: var(--paper);
  border: 1px solid var(--line-paper);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s, box-shadow 0.4s;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-press); }
.story-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.95);
}
.story-card > div { padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 12px; }
.story-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember);
}
.story-card h3 { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.story-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* AI Lab DQ block */
.dq-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(36px, 4vw, 56px);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.dq-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(232, 106, 51, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(240, 199, 94, 0.12) 0%, transparent 50%);
}
.dq-detail > * { position: relative; z-index: 1; }
.dq-detail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 230, 0.2);
  box-shadow: 0 0 80px rgba(232, 106, 51, 0.35);
  filter: saturate(1.05);
}
.dq-detail h2 { color: var(--paper); font-size: clamp(30px, 3.4vw, 48px); }
.dq-detail p { color: rgba(245, 239, 230, 0.78); font-family: var(--serif); font-size: 18px; line-height: 1.6; margin: 18px 0 24px; }
.song-links { display: flex; flex-wrap: wrap; gap: 12px; }
.song-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(245, 239, 230, 0.4);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--paper);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.song-links a::before {
  content: "♫";
  font-family: var(--serif);
  font-size: 14px;
  color: var(--honey);
}
.song-links a:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--paper);
  transform: translateY(-2px);
}
.song-links a:hover::before { color: var(--paper); }

/* contact form */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 5vw, 72px);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(232, 106, 51, 0.22) 0%, transparent 50%);
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-copy h2 { color: var(--paper); font-size: clamp(28px, 3vw, 40px); }
.contact-copy p { color: rgba(245, 239, 230, 0.7); margin: 18px 0 28px; font-size: 16px; }
.contact-copy .eyebrow { color: var(--honey); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; border-top: 1px solid rgba(245, 239, 230, 0.18); padding-top: 24px; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(245, 239, 230, 0.85);
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(245, 239, 230, 0.15);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list li strong {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 500;
}

.contact-form { display: grid; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.65);
}
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  background: rgba(245, 239, 230, 0.05);
  border: 1px solid rgba(245, 239, 230, 0.2);
  border-radius: 4px;
  color: var(--paper);
  resize: vertical;
  transition: border-color 0.3s, background 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(245, 239, 230, 0.35); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: rgba(245, 239, 230, 0.08);
}
.contact-form select option { color: var(--ink); }
.contact-form button { margin-top: 8px; align-self: flex-start; }
.contact-form button.button-primary {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--paper);
}
.contact-form button.button-primary:hover { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.form-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(245, 239, 230, 0.55);
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .business-grid { grid-template-columns: 1fr; }
  .business-card { min-height: auto; }
  .business-section h2 {
    white-space: normal;
    max-width: 12em;
  }
  .business-section .section-head p {
    white-space: normal;
  }
  .loop-section h2 {
    white-space: normal;
    max-width: 12em;
  }
  .feature-grid.four-cols { grid-template-columns: repeat(2, 1fr); }
  .feature-grid article { border-right: none; border-bottom: 1px dashed var(--line-paper); padding-right: 0; padding-bottom: 28px; }
  .feature-grid article + article { padding-left: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .kinetic-photo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 88px;
  }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-grid article + article { padding-left: 24px; }
  .loop-grid article:nth-child(3) { padding-left: 0; border-left: none; }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-radius: 8px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line-paper);
    box-shadow: var(--shadow-press);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .site-nav a { padding: 14px 16px; text-align: left; }
  body.nav-open .site-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; justify-self: end; }
  .header-meta { display: none !important; }

  .hero, .detail-hero { grid-template-columns: 1fr; }
  .hero-issue { display: none; }
  .hero-title-line:nth-child(2) { margin-left: 0; }
  .hero-stats, .detail-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats > div + div, .detail-stats > div + div { padding-left: 14px; }
  .hero-stats > div, .detail-stats > div { padding-right: 8px; }

  .contact-strip .section-shell { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .dq-detail { grid-template-columns: 1fr; }

  .feature-grid.three-cols { grid-template-columns: 1fr; }
  .feature-grid.three-cols article { border-right: none; border-bottom: 1px dashed var(--line-paper); padding-right: 0; padding-bottom: 28px; }
  .feature-grid.three-cols article + article { padding-left: 0; }

  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .loop-grid { grid-template-columns: 1fr; }
  .loop-grid article, .loop-grid article + article { padding-left: 0; padding-right: 0; border-left: none; }

  .site-footer { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .hero-stats, .detail-stats { grid-template-columns: 1fr; gap: 18px; border-top: none; padding-top: 0; }
  .hero-stats > div, .detail-stats > div { border-left: none !important; border-top: 1px solid var(--line-paper); padding: 14px 0 0 !important; }
  .hero-stats > div + div, .detail-stats > div + div { border-top: 1px solid var(--line-paper); }
  .marquee-gallery img { width: 160px; height: 210px; }
}

.hero-title-line:nth-child(2) { white-space: nowrap; }

/* ============ 核心团队样式 ============ */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.team-card {
  background: var(--paper-warm);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-press);
}

.team-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.team-card-alex img {
  object-position: center top;
}

.team-body {
  padding: 28px 32px 36px;
}

.team-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.team-card h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}

.team-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .team-card img {
    height: 320px;
  }
  
  .team-body {
    padding: 24px 28px 32px;
  }
}

/* ============ Mobile polish ============ */
@media (max-width: 820px) {
  :root {
    --gutter: 18px;
    --grain-opacity: 0.32;
  }

  h1,
  h2,
  h3,
  .hero-title,
  .detail-hero h1 {
    letter-spacing: 0;
  }

  h2 {
    font-size: 36px;
    line-height: 1.08;
  }

  .site-header {
    padding: 12px var(--gutter);
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 17px;
    white-space: nowrap;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    top: 66px;
    left: var(--gutter);
    right: var(--gutter);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .section-shell {
    padding: 64px var(--gutter);
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head.split-head {
    display: block;
  }

  .section-head.split-head p,
  .section-head p {
    max-width: none;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .eyebrow {
    max-width: 100%;
    gap: 8px;
    letter-spacing: 0.18em;
    white-space: normal;
  }

  .eyebrow::before {
    width: 22px;
    flex: 0 0 22px;
  }

  .hero,
  .detail-hero {
    padding: 48px var(--gutter) 64px;
    gap: 34px;
  }

  .hero-title {
    font-size: 54px;
    line-height: 0.96;
    margin: 10px 0 20px;
  }

  .hero-title-line:nth-child(2) {
    white-space: normal;
  }

  .hero-lede {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 26px;
  }

  .hero-lede span {
    display: inline;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
    justify-content: space-between;
    padding: 14px 18px;
    letter-spacing: 0.12em;
  }

  .hero-stats,
  .detail-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    border-top: 1px solid var(--line-paper);
    padding-top: 20px;
  }

  .hero-stats > div,
  .detail-stats > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 12px;
    border-left: none !important;
    border-top: 1px solid var(--line-paper);
    padding: 14px 0 0 !important;
  }

  .hero-stats > div:first-child,
  .detail-stats > div:first-child {
    border-top: none;
    padding-top: 0 !important;
  }

  .hero-stats dt,
  .detail-stats dt {
    font-size: 42px;
    margin-bottom: 0;
  }

  .hero-stats dd,
  .detail-stats dd {
    letter-spacing: 0.16em;
    line-height: 1.45;
  }

  .constellation-gallery {
    aspect-ratio: 4 / 5;
    min-height: 420px;
  }

  .detail-hero h1 {
    font-size: 46px;
    line-height: 1.05;
    margin: 12px 0 18px;
  }

  .detail-hero p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .detail-hero img,
  .detail-logo-card img {
    aspect-ratio: 4 / 5;
  }

  .detail-logo-card {
    padding: 28px;
  }

  .detail-logo-card img {
    max-width: 260px;
    aspect-ratio: 1 / 1;
  }

  .business-card {
    min-height: auto;
    padding: 24px 20px 28px;
  }

  .business-card .num {
    margin-bottom: 18px;
    letter-spacing: 0.2em;
  }

  .business-card img {
    aspect-ratio: 16 / 10;
    margin-bottom: 20px;
  }

  .business-card strong {
    font-size: 32px;
  }

  .loop-grid article,
  .feature-grid article,
  .process-grid article,
  .value-grid article,
  .story-card {
    padding: 24px 0;
  }

  .process-grid article {
    padding: 24px 20px;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-grid img {
    aspect-ratio: 4 / 5;
  }

  .kinetic-photo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 82px;
    gap: 10px;
  }

  .kinetic-photo-wall img {
    aspect-ratio: auto;
  }

  .dq-detail {
    padding: 24px;
  }

  .dq-detail img {
    max-width: 280px;
    margin: 0 auto;
  }

  .contact-strip .section-shell {
    gap: 28px;
  }

  .site-footer {
    padding: 44px var(--gutter) 32px;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  h2 {
    font-size: 31px;
  }

  .section-shell {
    padding: 52px var(--gutter);
  }

  .hero,
  .detail-hero {
    padding: 38px var(--gutter) 54px;
  }

  .hero-title {
    font-size: 46px;
  }

  .detail-hero h1 {
    font-size: 38px;
  }

  #workflow h2 {
    white-space: normal;
    font-size: 31px;
  }

  .constellation-gallery {
    min-height: 360px;
  }

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

  .kinetic-photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 96px;
  }

  .kinetic-photo-wall img:nth-child(6n + 4) {
    grid-column: span 1;
  }

  .kinetic-photo-wall img {
    animation-duration: 9s;
  }

  .team-section {
    padding: 52px 0;
  }

  .team-grid {
    gap: 24px;
    margin-top: 32px;
  }

  .team-card img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .team-body {
    padding: 22px 20px 28px;
  }

  .team-role {
    letter-spacing: 0.18em;
    line-height: 1.5;
  }

  .team-card h3 {
    font-size: 27px;
    margin-bottom: 12px;
  }

  .team-card p {
    font-size: 14px;
    line-height: 1.75;
  }

  .contact-strip h2 {
    font-size: 30px;
  }
}

@media (max-width: 380px) {
  :root {
    --gutter: 14px;
  }

  .hero-title {
    font-size: 40px;
  }

  .detail-hero h1 {
    font-size: 34px;
  }

  h2,
  #workflow h2 {
    font-size: 28px;
  }

  .button {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kinetic-photo-wall img,
  .talent-gallery-section::before {
    animation: none;
  }
}
