:root {
  color-scheme: dark;
  --bg: #070706;
  --ink: #f4efe5;
  --muted: #a7a096;
  --soft: #6f6a61;
  --line: rgba(244, 239, 229, 0.16);
  --line-strong: rgba(244, 239, 229, 0.34);
  --cream: #f4efe5;
  --warm: #d5b77b;
  --blue: #9edcff;
  --max: min(1700px, calc(100vw - 64px));
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Geist", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 6%, rgba(158, 220, 255, 0.13), transparent 28%),
    radial-gradient(circle at 18% 10%, rgba(213, 183, 123, 0.12), transparent 26%),
    linear-gradient(180deg, #070706 0%, #0d0c0a 45%, #070706 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244,239,229,0.034) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244,239,229,0.026) 1px, transparent 1px);
  background-size: 74px 74px;
  mask: linear-gradient(180deg, black, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; font: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 40% 50%, rgba(255,255,255,0.1) 0 1px, transparent 1px 5px),
    linear-gradient(120deg, rgba(255,255,255,0.04), transparent 40%);
}

.splash-cursor {
  position: fixed;
  inset: 0;
  z-index: 76;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
}

body.splash-active .splash-cursor,
body:has(.lightbox[open]) .splash-cursor {
  opacity: 1;
}

.paw-layer {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  overflow: hidden;
}

.paw-print {
  position: fixed;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%) rotate(var(--paw-rot, 0deg));
  opacity: 0;
  animation: pawFade 1.35s ease forwards;
}

.paw-print::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 14px;
  height: 12px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(244, 239, 229, 0.82);
}

.paw-print i,
.paw-print i::before,
.paw-print i::after,
.paw-print::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 239, 229, 0.82);
}

.paw-print i { left: 4px; top: 8px; }
.paw-print i::before { left: 8px; top: -4px; }
.paw-print i::after { left: 18px; top: -1px; }
.paw-print::after { left: 24px; top: 11px; }

@keyframes pawFade {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--paw-rot, 0deg)) scale(0.55); }
  18% { opacity: 0.72; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--paw-rot, 0deg)) scale(1.08); }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a:hover { color: #fff; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 220ms ease;
}

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

.talk-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease;
}

.talk-button:hover { transform: scale(1.05); }

.logo-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.92);
  color: #030303;
  font-weight: 800;
  letter-spacing: 0;
}

.mobile-toggle {
  position: relative;
  z-index: 100;
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.09);
  transition: transform 180ms ease, background 180ms ease;
}

.mobile-toggle:active { transform: scale(0.9); }

.menu-icon,
.close-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 300ms ease, transform 300ms ease;
}

.menu-icon i,
.close-icon::before,
.close-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.menu-icon i:first-child { transform: translateY(-4px); }
.menu-icon i:last-child { transform: translateY(4px); }
.close-icon { opacity: 0; transform: rotate(-90deg) scale(0.72); }
.close-icon::before { transform: rotate(45deg); }
.close-icon::after { transform: rotate(-45deg); }

body.menu-open .menu-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.72);
}

body.menu-open .close-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 auto;
  z-index: 85;
  height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.98);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: height 500ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.menu-open .mobile-menu {
  height: 100vh;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 420ms ease 100ms, transform 420ms ease 100ms;
}

body.menu-open .mobile-menu-inner {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-inner a {
  width: fit-content;
  color: rgba(255,255,255,0.9);
  font-size: 32px;
  font-weight: 500;
}

.mobile-menu-inner a:hover { color: #fff; }

.mobile-talk {
  margin-top: 24px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #fff;
  color: #000 !important;
  font-size: 16px !important;
  transition: transform 180ms ease;
}

.mobile-talk:hover { transform: scale(1.05); }

@media (min-width: 768px) {
  .site-header { padding-right: 48px; padding-left: 48px; }
}

@media (min-width: 1024px) {
  .site-header { padding-right: 64px; padding-left: 64px; }
}

.hero,
.statement,
.featured,
.works,
.skillset,
.site-footer {
  position: relative;
  z-index: 1;
  width: var(--max);
  margin: 0 auto;
}

.hero {
  width: 100%;
  max-width: none;
  height: 100vh;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.hero-video,
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video { width: 100%; }
.hero-video video {
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.82;
  filter: contrast(1.08) saturate(0.92) brightness(0.72);
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.74), rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.18)),
    linear-gradient(180deg, rgba(0,0,0,0.35), transparent 34%, rgba(0,0,0,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: calc(100vh - 80px);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--max);
  margin: 80px auto 0;
  padding: 48px 24px 40px;
}

.hero-top { max-width: 980px; }

.hero-badge {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

.hero-badge {
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease 0.2s both;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  animation: fadeSlideUp 0.8s ease 0.4s both;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-bottom p {
  max-width: 540px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  line-height: 1.7;
  animation: fadeSlideUp 0.8s ease 0.7s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease;
  animation: fadeSlideUp 0.8s ease 0.9s both;
}

.hero-cta:hover { transform: scale(1.05); }

.hero-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-label {
  margin: 0;
  color: var(--warm);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.statement {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 70px;
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.statement h2,
.feature-heading h2,
.skillset h2 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 110px);
  line-height: 0.96;
}

.statement p,
.feature-heading p {
  max-width: 820px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.stats-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stats-row article {
  min-height: 150px;
  padding: 22px;
  background: #0a0908;
}

.stats-row strong { display: block; font-size: clamp(38px, 4vw, 72px); line-height: 1; }
.stats-row span { display: block; margin-top: 14px; color: var(--muted); }

.featured,
.works,
.skillset { padding: 104px 0 88px; }

.feature-heading,
.works-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: end;
  margin: 28px 0;
}

.feature-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.feature-card,
.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0a0908;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 240ms ease, border-color 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
  --spec-x: 50%;
  --spec-y: 50%;
  --spec-opacity: 0;
}

.feature-card { grid-column: span 2; min-height: 520px; }
.project-card { min-height: 360px; }
.project-card.large { grid-column: span 2; grid-row: span 2; min-height: 650px; }
.project-card.wide, .project-card.video-card { grid-column: span 2; min-height: 360px; }
.project-card.is-hidden { display: none; }

.feature-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(168, 85, 247, 0.34), transparent 18%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(180deg, transparent 42%, rgba(0,0,0,0.86));
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card .specular-shine,
.project-card .specular-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: var(--spec-opacity);
  background:
    radial-gradient(circle at var(--spec-x) var(--spec-y), rgba(255, 255, 255, 0.95) 0 8px, rgba(255, 255, 255, 0.42) 9px 24px, transparent 66px),
    conic-gradient(from 0deg at var(--spec-x) var(--spec-y), transparent 0deg, rgba(255,255,255,0.75) 18deg, transparent 46deg, transparent 360deg);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 160ms ease;
}

.feature-card .specular-glow,
.project-card .specular-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: calc(var(--spec-opacity) * 0.85);
  background:
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.12) 42%, transparent 62%),
    radial-gradient(circle at var(--spec-x) var(--spec-y), rgba(168, 85, 247, 0.28), transparent 30%);
  transform: translateX(calc((var(--spec-x-num, 50) - 50) * 0.18%));
  transition: opacity 180ms ease;
}

.feature-card::after,
.project-card::after {
  content: "VIEW";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  padding: 10px 14px;
  border: 1px solid rgba(244,239,229,0.32);
  border-radius: 999px;
  background: rgba(7,7,6,0.62);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.feature-card:hover,
.project-card:hover {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 26px 80px rgba(168, 85, 247, 0.14);
}
.feature-card:hover::before,
.feature-card:hover::after,
.project-card:hover::before,
.project-card:hover::after { opacity: 1; }
.feature-card:hover::after,
.project-card:hover::after { transform: translateY(0); }

.feature-card img,
.project-card img,
.project-card video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.95);
  transition: transform 620ms ease, filter 620ms ease;
}

.feature-card:hover img,
.project-card:hover img,
.project-card:hover video {
  transform: scale(1.055);
  filter: contrast(1.1) saturate(1.08);
}

.project-card[data-category="amazon"] img {
  object-fit: contain;
  padding: 14px;
  background: #f4f2ee;
}

.project-card[data-category="amazon"]:hover img {
  transform: scale(1.025);
}

.feature-card > div,
.project-card > div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
}

.feature-card span,
.num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  color: rgba(244,239,229,0.68);
  font-size: 12px;
}

.feature-card div span { position: static; color: var(--warm); letter-spacing: 0.16em; }
.feature-card h3 { margin: 10px 0 8px; font-size: clamp(28px, 3vw, 48px); line-height: 1; }
.project-card h3 { margin: 8px 0 6px; font-size: clamp(22px, 2vw, 34px); line-height: 1.06; }
.feature-card p,
.project-card p { margin: 0; color: var(--warm); font-size: 11px; letter-spacing: 0.18em; }
.feature-card div p:last-child { color: rgba(244,239,229,0.72); font-size: 16px; letter-spacing: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244,239,229,0.03);
  color: var(--muted);
  transition: background 180ms ease, color 180ms ease;
}

.filter-btn.active,
.filter-btn:hover { background: var(--cream); color: #080806; }

.skillset {
  border-top: 1px solid var(--line);
}

.skillset-grid {
  display: grid;
  grid-template-columns: 0.56fr 1fr;
  gap: 70px;
  margin-top: 28px;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.skill-list article {
  min-height: 260px;
  padding: 28px;
  background: #0a0908;
}

.skill-list span { color: var(--warm); }
.skill-list h3 { margin: 46px 0 16px; font-size: 28px; }
.skill-list p { margin: 0; color: var(--muted); line-height: 1.8; }

.site-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 42px;
  padding: 106px 0 44px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-intro {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 64px;
  align-items: end;
}

.footer-intro p {
  margin: 0;
  color: var(--warm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-intro a {
  font-size: clamp(38px, 7vw, 124px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.footer-info div {
  min-height: 170px;
  padding: 24px;
  background: #0a0908;
}

.footer-info span {
  display: block;
  margin-bottom: 22px;
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-info a,
.footer-info p {
  display: block;
  margin: 0 0 10px;
  color: rgba(244,239,229,0.78);
}

.static-paws {
  position: relative;
  height: 64px;
}

.static-paws i {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.26;
  transform: rotate(var(--r));
}

.static-paws i::before { content: ""; position: absolute; left: 8px; top: 14px; width: 12px; height: 10px; border-radius: 50%; background: var(--cream); }
.static-paws i::after { content: ""; position: absolute; left: 2px; top: 4px; width: 6px; height: 7px; border-radius: 50%; background: var(--cream); box-shadow: 8px -3px 0 var(--cream), 17px 0 0 var(--cream), 22px 6px 0 var(--cream); }
.static-paws i:nth-child(1) { left: 8%; top: 10px; --r: -18deg; }
.static-paws i:nth-child(2) { left: 18%; top: 28px; --r: 12deg; }
.static-paws i:nth-child(3) { left: 37%; top: 6px; --r: -8deg; }
.static-paws i:nth-child(4) { left: 52%; top: 30px; --r: 18deg; }
.static-paws i:nth-child(5) { left: 72%; top: 8px; --r: -12deg; }
.static-paws i:nth-child(6) { left: 86%; top: 28px; --r: 16deg; }

.site-footer > strong {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,239,229,0.45);
  font-size: clamp(58px, 13vw, 230px);
  line-height: 0.78;
  white-space: nowrap;
}

.lightbox {
  width: min(1480px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid rgba(244,239,229,0.22);
  color: var(--ink);
  background: rgba(8,8,7,0.98);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.lightbox::backdrop { background: rgba(0,0,0,0.78); }

.close-lightbox {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244,239,229,0.12);
  font-size: 28px;
  line-height: 1;
}

.lightbox-copy { padding: 34px 86px 20px 34px; }
.lightbox-copy p { margin: 0 0 10px; color: var(--warm); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.lightbox-copy h2 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 72px); line-height: 0.96; }
.lightbox-copy span { display: block; max-width: 820px; color: var(--muted); line-height: 1.75; }

.lightbox-stage {
  max-height: 58vh;
  overflow: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #030303;
  text-align: center;
}

.lightbox-stage img,
.lightbox-stage video {
  display: block;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-stage img { width: auto; max-width: 100%; }
.lightbox-stage img.detail-image { width: auto; max-width: min(100%, var(--natural-width, 790px)); }
.lightbox-stage video { width: 100%; max-height: 58vh; background: #000; }

.lightbox-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px;
  overflow-x: auto;
}

.thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 112px;
  padding: 0;
  border: 1px solid transparent;
  overflow: hidden;
  background: rgba(244,239,229,0.08);
}

.thumb.active { border-color: var(--warm); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1320px) {
  :root { --max: min(1160px, calc(100vw - 40px)); }
  .statement,
  .feature-heading,
  .works-head,
  .skillset-grid,
  .footer-intro { grid-template-columns: 1fr; }
  .stats-row,
  .project-grid,
  .footer-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row { grid-column: auto; }
}

@media (max-width: 820px) {
  .site-header {
    height: 72px;
    padding: 16px 20px;
  }

  .nav-left,
  .nav-right { gap: 14px; }

  .nav-links,
  .talk-button { display: none; }

  .mobile-toggle { display: block; }

  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    height: calc(100vh - 72px);
    min-height: 548px;
    margin-top: 72px;
    padding: 40px 20px 36px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 68px);
  }

  .hero-bottom p {
    max-width: 520px;
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  :root { --max: min(100vw - 28px, 100%); }
  .site-header { inset: 0 0 auto; }
  .feature-grid,
  .stats-row,
  .project-grid,
  .skill-list,
  .footer-info { grid-template-columns: 1fr; }
  .feature-card,
  .project-card,
  .project-card.large,
  .project-card.wide,
  .project-card.video-card { grid-column: auto; grid-row: auto; min-height: 540px; }
  .filter-bar { justify-content: flex-start; }
  .site-footer > strong { white-space: normal; }
}
