/* ============ Foundation ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --panel: rgba(255, 255, 255, 0.055);
  --paper: #f2f0e9;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.075);
  --glass-border: rgba(255, 255, 255, 0.13);
  --theme: #e3ff04;
  --orange: #ff7425;
  --max: 1320px;
  --radius: 8px;
}

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

body {
  background: var(--black);
  margin: 0;
  color: var(--white);
  font-family: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.22));
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--theme);
  color: var(--black);
}

/* ============ Header ============ */
.site-header {
  align-items: center;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  background: rgba(5, 5, 5, 0.58);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  left: 0;
  padding: 20px clamp(20px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  z-index: 80;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding-bottom: 14px;
  padding-top: 14px;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
}

.brand-mark {
  display: block;
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 3px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(22px, 3.2vw, 46px);
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a::after {
  background: var(--theme);
  bottom: 2px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  width: 100%;
}

.site-nav a:hover {
  color: var(--white);
}

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

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 42px;
}

.icon-button:hover {
  transform: rotate(5deg);
}

.theme-button {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--black);
}

.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 42px;
  padding: 11px 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 5px 0;
  transition: transform 0.2s ease;
  width: 100%;
}

/* ============ Hero ============ */
.hero {
  background: var(--black);
  min-height: max(760px, 100svh);
  overflow: hidden;
  padding: 138px clamp(20px, 4vw, 54px) 72px;
  position: relative;
}

.hero.hero-banner {
  height: 100svh;
  min-height: 520px;
  padding: 0;
}

.hero.hero-banner::before {
  display: none;
}

.hero-banner-image {
  height: 100%;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.hero-banner-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero::before {
  background: var(--theme);
  border-radius: 50%;
  content: "";
  filter: blur(100px);
  height: 260px;
  opacity: 0.11;
  position: absolute;
  right: -60px;
  top: 15%;
  width: 260px;
}

.hero-grid-lines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
  position: absolute;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(50px, 5vw, 90px);
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100svh - 210px);
  position: relative;
  z-index: 2;
}

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

.eyebrow,
.section-label {
  color: var(--theme);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.7rem, 6.8vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 22px 0 0;
  max-width: 900px;
}

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

.hero-lead {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.9;
  margin: 30px 0 0;
  max-width: 620px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button-primary {
  background: var(--theme);
  border: 1px solid var(--theme);
  color: var(--black);
}

.button-primary:hover {
  background: var(--white);
  border-color: var(--white);
}

.button-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
}

.hero-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 48px 0 0;
  max-width: 600px;
  padding-top: 24px;
}

.hero-stats div {
  margin: 0;
}

.hero-stats dt {
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  margin: 5px 0 0;
}

.hero-showcase {
  min-height: 610px;
  position: relative;
}

.showcase-main,
.showcase-phone {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
  margin: 0;
  overflow: hidden;
  position: absolute;
}

.showcase-main {
  border: 1px solid rgba(255, 255, 255, 0.16);
  left: 0;
  top: 44px;
  width: 84%;
}

.showcase-main img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.showcase-phone {
  border: 4px solid var(--white);
  bottom: 0;
  right: 0;
  width: 42%;
  z-index: 2;
}

.showcase-phone img {
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: 10% top;
  width: 100%;
}

.showcase-badge {
  align-items: center;
  background: var(--orange);
  color: var(--black);
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  font-weight: 900;
  height: 106px;
  justify-content: center;
  left: -18px;
  letter-spacing: 0.06em;
  line-height: 1.15;
  position: absolute;
  text-align: center;
  top: -14px;
  transform: rotate(-7deg);
  width: 106px;
  z-index: 3;
}

.showcase-badge span {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  margin-top: 5px;
}

.showcase-note {
  bottom: 10px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.62rem;
  font-weight: 800;
  left: -16px;
  letter-spacing: 0.12em;
  line-height: 1.65;
  margin: 0;
  position: absolute;
}

.scroll-cue {
  align-items: center;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  font-size: 0.6rem;
  font-weight: 800;
  gap: 14px;
  left: clamp(20px, 4vw, 54px);
  letter-spacing: 0.12em;
  position: absolute;
}

.scroll-cue i {
  background: var(--theme);
  display: block;
  height: 1px;
  position: relative;
  width: 58px;
}

.scroll-cue i::after {
  border-bottom: 1px solid var(--theme);
  border-right: 1px solid var(--theme);
  content: "";
  height: 5px;
  position: absolute;
  right: 0;
  top: -2px;
  transform: rotate(-45deg);
  width: 5px;
}

.reveal {
  animation: reveal-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .reveal:nth-child(2) { animation-delay: 0.08s; }
.hero .reveal:nth-child(3) { animation-delay: 0.16s; }
.hero .reveal:nth-child(4) { animation-delay: 0.24s; }
.hero .reveal:nth-child(5) { animation-delay: 0.32s; }
.hero-showcase { animation-delay: 0.18s; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Marquee ============ */
.marquee {
  background: var(--theme);
  color: var(--black);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  align-items: center;
  animation: marquee 25s linear infinite;
  display: flex;
  gap: 26px;
  min-width: max-content;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.marquee-track i {
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ Section shell ============ */
.section {
  padding: clamp(86px, 10vw, 150px) clamp(20px, 5vw, 72px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  margin: 0 auto 62px;
  max-width: var(--max);
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2.05rem, 3vw, 3.45rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 14px 0 0;
}

.section-description {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.96rem;
  line-height: 1.9;
  margin: 0 0 4px;
  max-width: 440px;
}

/* ============ Work ============ */
.work {
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--white);
}

.work .section-label {
  color: var(--theme);
}

.work-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 34px;
  max-width: var(--max);
}

.filter-bar {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
}

.filter-btn {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-btn span {
  font-size: 0.62rem;
  margin-left: 3px;
  opacity: 0.58;
}

.filter-btn.is-active {
  background: var(--theme);
  color: var(--black);
}

.work-count {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
}

.project-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
}

.project-card {
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  background: rgba(255, 255, 255, 0.048);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.072);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}

.project-link {
  display: block;
}

.project-media {
  background: #101010;
  overflow: hidden;
  position: relative;
}

.project-media img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.project-card:hover .project-media img {
  transform: scale(1.035);
}

.project-number,
.project-category {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  position: absolute;
  text-transform: uppercase;
  top: 16px;
}

.project-number {
  background: var(--black);
  border-radius: 50%;
  color: var(--white);
  height: 38px;
  left: 16px;
  line-height: 38px;
  text-align: center;
  width: 38px;
}

.project-category {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--black);
  padding: 7px 12px;
  right: 16px;
}

.project-info {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 24px 24px 26px;
}

.project-info h3 {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.project-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin: 0;
}

.project-arrow {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  height: 42px;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  width: 42px;
}

.project-card:hover .project-arrow {
  background: var(--theme);
  border-color: var(--theme);
}

/* ============ Daily ============ */
.daily {
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.daily-layout {
  align-items: start;
  display: grid;
  gap: clamp(44px, 7vw, 92px);
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.daily-sidebar {
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
  background: rgba(255, 255, 255, 0.048);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 110px;
}

.daily-profile {
  align-items: center;
  display: flex;
  gap: 13px;
  margin-top: 22px;
}

.daily-profile img {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.daily-profile div {
  display: grid;
  gap: 3px;
}

.daily-profile strong {
  font-size: 1rem;
  font-weight: 850;
}

.daily-profile span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
}

.daily-bio {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  line-height: 1.75;
  margin: 20px 0 0;
}

.daily-publish {
  margin-top: 22px;
  width: 100%;
}

.daily-data-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
}

.daily-data-actions .button {
  min-height: 40px;
  padding: 9px 12px;
  width: 100%;
}

.import-button {
  cursor: pointer;
}

.daily-data-note {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.64rem;
  line-height: 1.6;
  margin: 10px 0 0;
}

.daily-sidebar-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 15px;
  margin: 24px 0 0;
  padding-top: 20px;
}

.daily-sidebar-meta div {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.daily-sidebar-meta dt {
  font-size: 0.82rem;
  font-weight: 850;
}

.daily-sidebar-meta dd {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  margin: 0;
}

.daily-stream {
  justify-self: end;
  max-width: 820px;
  width: 100%;
}

.daily-stream-head {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 22px;
}

.daily-stream-head h2 {
  font-size: clamp(1.85rem, 2.75vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 8px 0 0;
}

.daily-stream-head > p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  margin: 0 0 5px;
}

.daily-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  max-width: none;
}

.daily-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  padding: 28px 0 30px;
}

.daily-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.daily-author {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.daily-avatar {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.daily-author-info {
  display: grid;
  gap: 2px;
}

.daily-author-info strong {
  font-size: 0.9rem;
  font-weight: 850;
}

.daily-author-info span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
}

.daily-content {
  padding-left: 0;
}

.daily-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.85;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.daily-image {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.daily-image-1 {
  grid-template-columns: minmax(0, 520px);
}

.daily-image-2,
.daily-image-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-image-button {
  background: #101010;
  border: 0;
  border-radius: 6px;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
}

.daily-image-button img {
  aspect-ratio: 1;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
  width: 100%;
}

.daily-image-1 .daily-image-button img {
  aspect-ratio: 16 / 10;
}

.daily-image-button:hover img {
  opacity: 0.9;
  transform: scale(1.025);
}

.daily-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  margin: 17px 0 0;
  padding-top: 12px;
}

.daily-footer span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.65rem;
}

.delete-post {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  font-size: 0.65rem;
  padding: 4px 0;
}

.delete-post:hover {
  color: var(--orange);
}

.daily-empty {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding: 32px 0;
  text-align: center;
}

/* ============ Image lightbox ============ */
.image-lightbox {
  align-items: center;
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 74px clamp(58px, 7vw, 118px);
  position: fixed;
  z-index: 170;
}

.image-lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  max-width: 1400px;
  width: 100%;
}

.lightbox-figure img {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
  max-height: calc(100svh - 148px);
  max-width: 100%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  position: absolute;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  width: 48px;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--black);
}

.lightbox-close {
  right: 24px;
  top: 24px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-counter {
  bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  left: 50%;
  letter-spacing: 0.08em;
  margin: 0;
  position: absolute;
  transform: translateX(-50%);
}

/* ============ About ============ */
.about {
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  background: rgba(255, 255, 255, 0.028);
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.about::before {
  color: transparent;
  content: "ABOUT";
  font-size: clamp(8rem, 18vw, 17rem);
  font-weight: 900;
  left: 50%;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
  position: absolute;
  top: 38px;
  transform: translateX(-50%);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  white-space: nowrap;
}

.about-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(56px, 8vw, 120px);
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.about-visual {
  min-height: 650px;
  position: relative;
}

.portrait-panel {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  height: 100%;
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.portrait-panel img {
  filter: grayscale(1) contrast(1.05);
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  width: 100%;
}

.portrait-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.05) 58%);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: space-between;
  padding: 22px;
  position: absolute;
}

.portrait-status {
  align-items: center;
  align-self: flex-start;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 850;
  gap: 7px;
  letter-spacing: 0.08em;
  padding: 8px 11px;
}

.portrait-status i {
  background: var(--theme);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(227, 255, 4, 0.12);
  height: 6px;
  width: 6px;
}

.portrait-identity {
  display: grid;
  gap: 2px;
}

.portrait-identity strong {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.portrait-identity span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.about-years {
  align-items: center;
  background: var(--theme);
  bottom: -18px;
  color: var(--black);
  display: flex;
  height: 112px;
  justify-content: center;
  left: -18px;
  position: absolute;
  width: 112px;
  z-index: 3;
}

.about-years strong {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.about-years span {
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-left: 7px;
}

.about .section-label {
  color: var(--theme);
}

.about-kicker {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}

.about-kicker > span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about-copy h2 {
  font-size: clamp(2.2rem, 3.1vw, 3.65rem);
  line-height: 1.02;
  margin-top: 30px;
  max-width: 760px;
}

.about-copy > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.9;
  max-width: 760px;
}

.about-copy .about-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  font-weight: 650;
  margin-top: 28px;
}

.about-story-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
  padding-top: 28px;
}

.about-story-grid > p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
  line-height: 1.85;
  margin: 0;
}

.about-role {
  border-left: 2px solid var(--theme);
  display: grid;
  gap: 7px;
  padding-left: 18px;
}

.about-role > span,
.about-capabilities > p {
  color: var(--theme);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0;
}

.about-role strong {
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-role small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  line-height: 1.6;
}

.about-capabilities {
  margin-top: 32px;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.capability-list span {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 7px 13px;
}

.social-links {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
  padding-top: 22px;
}

.social-links a {
  font-size: 0.82rem;
  font-weight: 800;
}

.social-links a span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.social-links a:hover span {
  transform: translate(2px, -2px);
}

.about-location {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-left: auto;
}

/* ============ Contact ============ */
.contact {
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(56px, 8vw, 120px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.contact-kicker {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.contact-kicker .section-label {
  color: var(--theme);
}

.contact-availability {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  display: inline-flex;
  font-size: 0.6rem;
  font-weight: 850;
  gap: 7px;
  letter-spacing: 0.08em;
  padding: 7px 10px;
}

.contact-availability i {
  background: var(--theme);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(227, 255, 4, 0.1);
  height: 5px;
  width: 5px;
}

.contact-copy h2 {
  margin-top: 30px;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.9;
  margin: 24px 0 0;
  max-width: 650px;
}

.contact-main-action {
  align-items: center;
  background: var(--theme);
  border: 1px solid var(--theme);
  border-radius: 999px;
  color: var(--black);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 12px;
  justify-content: space-between;
  margin-top: 32px;
  min-width: 240px;
  padding: 14px 20px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-main-action:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.contact-main-action svg {
  transition: transform 0.2s ease;
}

.contact-main-action:hover svg {
  transform: translateX(4px);
}

.contact-panel {
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  background: rgba(255, 255, 255, 0.052);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 26px;
}

.contact-panel-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.38);
  display: flex;
  font-size: 0.62rem;
  font-weight: 850;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding-bottom: 16px;
}

.contact-list {
  margin: 0;
}

.contact-list div {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
  grid-template-columns: 86px 1fr;
  margin: 0;
  padding: 18px 0;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list dd {
  font-size: 0.88rem;
  font-weight: 750;
  margin: 0;
  text-align: right;
}

.contact-list a {
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--theme);
}

.contact-response {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  margin: 16px 0 0;
  text-align: right;
}

/* ============ Footer ============ */
.site-footer {
  align-items: center;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(5, 5, 5, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  font-size: 0.72rem;
  gap: 28px;
  justify-content: space-between;
  padding: 26px clamp(20px, 4vw, 54px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--theme);
  font-weight: 800;
}

/* ============ Composer ============ */
.composer-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 120;
}

.composer-modal[hidden] {
  display: none;
}

.composer-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.68);
  inset: 0;
  position: absolute;
}

.composer-panel {
  backdrop-filter: blur(34px) saturate(145%);
  -webkit-backdrop-filter: blur(34px) saturate(145%);
  background: rgba(18, 18, 18, 0.78);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--white);
  max-height: calc(100svh - 40px);
  max-width: 680px;
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
  width: 100%;
  z-index: 2;
}

.composer-header {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 22px;
}

.composer-header .section-label {
  color: var(--theme);
}

.composer-header h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 8px 0 0;
}

.close-button {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  flex: 0 0 auto;
}

.field,
.upload-field {
  display: block;
  position: relative;
}

.field > span,
.upload-field > span:first-child {
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  margin-bottom: 9px;
}

.field textarea,
.field input {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--white);
  color-scheme: dark;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field textarea:focus,
.field input:focus {
  border-color: rgba(227, 255, 4, 0.72);
  box-shadow: 0 0 0 3px rgba(227, 255, 4, 0.12);
}

.field textarea::placeholder,
.field input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.field textarea {
  line-height: 1.75;
  min-height: 140px;
  padding: 14px 15px;
  resize: vertical;
}

.field small {
  bottom: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
  position: absolute;
  right: 12px;
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.05fr 1fr 1fr;
  margin-top: 22px;
}

.upload-field input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.upload-trigger {
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 9px;
  height: 48px;
  justify-content: center;
}

.time-field input {
  height: 48px;
  padding: 10px 12px;
}

.password-field input {
  height: 48px;
  padding: 10px 12px;
}

.image-preview {
  border-radius: 6px;
  margin-top: 16px;
}

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

.image-preview-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.image-preview-item img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.image-preview-item button {
  background: rgba(9, 9, 9, 0.78);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.7rem;
  padding: 7px 12px;
  position: absolute;
  right: 8px;
  top: 8px;
}

.composer-actions {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
}

.composer-actions p {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
  line-height: 1.6;
  margin: 0;
  max-width: 330px;
}

.submit-button {
  border: 0;
}

.delete-panel {
  max-width: 470px;
}

.delete-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0 0 22px;
}

.delete-panel .field input {
  height: 50px;
  padding: 10px 13px;
}

.form-error {
  color: #ff927f;
  font-size: 0.75rem;
  min-height: 21px;
  margin: 8px 0 0;
}

.delete-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.button-danger {
  background: #e04834;
  border: 1px solid #e04834;
  color: var(--white);
}

.button-danger:hover {
  background: #c93725;
  border-color: #c93725;
}

.toast {
  background: var(--theme);
  border-radius: 999px;
  bottom: 28px;
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 850;
  left: 50%;
  opacity: 0;
  padding: 11px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 140;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ Back to top ============ */
.back-to-top {
  align-items: center;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  bottom: 28px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 50px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: 28px;
  transform: translateY(12px) scale(0.94);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.25s ease, transform 0.25s ease;
  width: 50px;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--black);
}

/* ============ Project detail ============ */
.detail-header {
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  background: rgba(5, 5, 5, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-back {
  min-height: 42px;
  padding: 9px 17px;
}

.detail-main {
  padding-top: 86px;
}

.case-intro {
  background: var(--black);
  padding: clamp(118px, 11vw, 164px) clamp(20px, 5vw, 72px) 48px;
}

.case-intro-inner {
  margin: 0 auto;
  max-width: 1400px;
}

.case-intro-top {
  align-items: flex-end;
  display: flex;
  gap: 44px;
  justify-content: space-between;
}

.case-heading {
  max-width: 1060px;
}

.case-chip {
  align-items: center;
  border: 1px solid rgba(227, 255, 4, 0.42);
  border-radius: 999px;
  color: var(--theme);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 10px;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 9px 15px;
  text-transform: uppercase;
}

.case-heading h1 {
  font-size: clamp(2.35rem, 3.7vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 22px 0 0;
}

.detail-summary {
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.9;
  margin: 24px 0 0;
  max-width: 760px;
}

.case-switch {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--theme);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 9px;
  min-height: 48px;
  padding: 11px 18px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.case-switch:hover {
  background: rgba(227, 255, 4, 0.08);
  border-color: rgba(227, 255, 4, 0.45);
  transform: translateY(-2px);
}

.detail-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 52px 0 0;
  padding-top: 24px;
}

.detail-meta div {
  margin: 0;
}

.detail-meta dt {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-meta dd {
  font-size: 0.92rem;
  font-weight: 800;
  margin: 7px 0 0;
}

.case-gallery-wrap {
  background: #000000;
  padding: 28px clamp(20px, 5vw, 72px) clamp(76px, 9vw, 126px);
}

.case-gallery {
  background: #111111;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1400px;
  overflow: hidden;
}

.case-gallery-item {
  background: #111111;
  line-height: 0;
  margin: 0;
  overflow: hidden;
}

.case-gallery-item img {
  display: block;
  height: auto;
  width: 100%;
}

.case-image-crop img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.case-image-crop-1 img { object-position: 8% 8%; }
.case-image-crop-2 img { object-position: 92% 8%; }
.case-image-crop-3 img { object-position: 8% 50%; }
.case-image-crop-4 img { object-position: 92% 52%; }
.case-image-crop-5 img { object-position: 50% 94%; }

/* ============ Responsive ============ */
@media (max-width: 1120px) {
  .hero-inner {
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  }

  .hero-showcase {
    min-height: 540px;
  }

  .daily-layout {
    gap: 48px;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .hero {
    padding-bottom: 34px;
    padding-top: 102px;
  }

  .hero-inner {
    min-height: calc(100svh - 136px);
  }

  .hero h1 {
    font-size: clamp(3.6rem, 6.1vw, 5.6rem);
    margin-top: 14px;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-top: 18px;
  }

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

  .hero-stats {
    margin-top: 24px;
    padding-top: 17px;
  }

  .hero-stats dt {
    font-size: 1.35rem;
  }

  .hero-showcase {
    min-height: clamp(390px, calc(100svh - 190px), 510px);
  }

  .scroll-cue {
    bottom: 10px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

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

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .case-intro-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .section-description {
    max-width: 680px;
  }

  .daily-layout {
    grid-template-columns: 1fr;
  }

  .daily-sidebar {
    position: static;
  }

  .daily-stream {
    justify-self: stretch;
    max-width: none;
  }

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

  .about-visual {
    max-width: 620px;
    min-height: 560px;
  }

  .portrait-panel {
    max-width: 620px;
    min-height: 560px;
  }

  .contact-layout {
    gap: 42px;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 14px;
    padding: 14px 18px;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    align-items: stretch;
    backdrop-filter: blur(26px) saturate(145%);
    -webkit-backdrop-filter: blur(26px) saturate(145%);
    background: rgba(15, 15, 15, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 18px;
    opacity: 0;
    padding: 10px 16px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 68px;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 13px 0;
  }

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

  .nav-toggle {
    display: block;
  }

  .theme-button {
    display: none;
  }

  .detail-back {
    display: none;
  }

  .hero {
    padding: 104px 20px 52px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-top: 20px;
  }

  .hero-stats {
    margin-top: 28px;
    padding-top: 18px;
  }

  .hero-showcase {
    min-height: 300px;
  }

  .showcase-main {
    top: 36px;
    width: 92%;
  }

  .showcase-phone {
    width: 43%;
    border-width: 3px;
  }

  .showcase-badge {
    height: 84px;
    left: -6px;
    width: 84px;
  }

  .section {
    padding: 80px 20px;
  }

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

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.95rem, 8.2vw, 2.75rem);
  }

  .work-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .filter-btn {
    padding-left: 10px;
    padding-right: 10px;
  }

  .project-grid,
  .daily-feed {
    grid-template-columns: 1fr;
  }

  .project-info {
    padding: 20px;
  }

  .daily-card {
    min-height: 0;
    padding: 24px 0 26px;
  }

  .daily-content {
    padding-left: 0;
  }

  .daily-footer {
    margin-left: 0;
  }

  .daily-stream-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .about::before {
    font-size: clamp(6rem, 28vw, 10rem);
    top: 24px;
  }

  .about-years {
    bottom: -12px;
    height: 86px;
    left: -10px;
    width: 86px;
  }

  .about-years strong {
    font-size: 1.7rem;
  }

  .about-years span {
    font-size: 0.44rem;
    margin-left: 5px;
  }

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

  .about-location {
    margin-left: 0;
    width: 100%;
  }

  .social-links {
    gap: 18px;
  }

  .contact-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .contact-main-action {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .submit-button {
    width: 100%;
  }

  .detail-main {
    padding-top: 68px;
  }

  .case-intro {
    padding-top: 104px;
  }

  .detail-meta {
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .case-gallery {
    border-radius: 14px;
  }

  .case-gallery-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .image-lightbox {
    padding: 76px 14px 62px;
  }

  .lightbox-close {
    right: 14px;
    top: 14px;
  }

  .lightbox-nav {
    bottom: 14px;
    height: 42px;
    top: auto;
    transform: none;
    width: 42px;
  }

  .lightbox-nav:hover {
    transform: scale(1.04);
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .lightbox-counter {
    bottom: 26px;
  }

  .back-to-top {
    bottom: 18px;
    height: 46px;
    right: 16px;
    width: 46px;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    font-size: 0.82rem;
  }

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

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

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

  .hero-stats {
    gap: 12px;
  }

  .hero-stats dt {
    font-size: 1.3rem;
  }

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

  .showcase-note {
    display: none;
  }

  .contact h2 {
    font-size: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
