/* ============ 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: 1700px;
  --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: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  left: 0;
  padding: 6px max(clamp(20px, 4vw, 54px), calc((100vw - 1700px) / 2));
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  z-index: 80;
}

.site-header.scrolled {
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  background: rgba(5, 5, 5, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding-bottom: 4px;
  padding-top: 4px;
}

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

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

.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,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.is-active::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);
}

.publish-trigger {
  border-radius: 999px;
  gap: 7px;
  padding: 0 15px;
  width: auto;
}

.publish-trigger span {
  font-size: 0.78rem;
  font-weight: 900;
}

.publish-popover {
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  display: grid;
  gap: 6px;
  padding: 8px;
  position: fixed;
  right: clamp(20px, 4vw, 54px);
  top: 76px;
  width: min(330px, calc(100vw - 32px));
  z-index: 100;
}

.publish-popover[hidden] {
  display: none;
}

.publish-popover > button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 12px;
  text-align: left;
  transition: background 0.2s ease;
  width: 100%;
}

.publish-popover > button:hover {
  background: rgba(255, 255, 255, 0.07);
}

.publish-popover > button > span:last-child {
  display: grid;
  gap: 2px;
}

.publish-popover strong {
  font-size: 0.84rem;
  font-weight: 850;
}

.publish-popover small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
}

.publish-option-icon {
  align-items: center;
  background: var(--theme);
  border-radius: 50%;
  color: var(--black);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.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 picture {
  display: block;
  height: 100%;
  width: 100%;
}

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

.hero-banner-image img {
  display: block;
  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(1.85rem, 2.55vw, 2.9rem);
  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 {
  background:
    radial-gradient(circle at 8% -8%, rgba(227, 255, 4, 0.14), transparent 28rem),
    radial-gradient(circle at 96% 12%, rgba(72, 105, 75, 0.24), transparent 34rem),
    linear-gradient(180deg, #060806 0%, #0b100d 46%, #060706 100%);
  border-bottom: 0;
  border-top: 1px solid rgba(227, 255, 4, 0.07);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.work::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 88%);
  opacity: 0.8;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.work::after {
  display: none;
}

.work > * {
  position: relative;
  z-index: 1;
}

.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 {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  border-color: rgba(227, 255, 4, 0.28);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.project-link {
  display: block;
}

.project-media {
  background: #101010;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.project-media img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

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

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

.project-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.18) 42%,
    rgba(0, 0, 0, 0.72) 78%,
    rgba(0, 0, 0, 0.96) 100%
  );
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: flex-end;
  padding: clamp(24px, 3.4vw, 40px);
  position: absolute;
  z-index: 2;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  max-width: 92%;
  position: relative;
  z-index: 3;
}

.project-tags .project-tag {
  margin-bottom: 0;
}

.project-tag {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--white);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 90%;
  overflow: hidden;
  padding: 6px 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: fit-content;
  transition: border-color 0.25s ease, color 0.25s ease;
}

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

.project-title-row {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.project-overlay h3 {
  color: var(--white);
  font-size: clamp(1.25rem, 1.95vw, 1.75rem);
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
  max-width: 480px;
  transition: color 0.25s ease;
}

.project-card:hover .project-overlay h3 {
  color: var(--theme);
}

.project-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  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);
  color: var(--black);
}

/* ============ Daily ============ */
.daily {
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  background: #050505;
  border-top: 0;
  isolation: isolate;
  overflow: clip;
  position: relative;
}

.daily > * {
  position: relative;
  z-index: 1;
}

.daily-layout {
  align-items: start;
  display: grid;
  gap: clamp(40px, 4.5vw, 76px);
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.daily-sidebar {
  align-self: start;
  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: 120px;
}

.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 {
  box-sizing: border-box;
  display: flex;
  margin-left: 0;
  margin-right: 0;
  margin-top: 22px;
  transform-origin: center center;
  width: 100%;
}

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

.daily-contact > p {
  color: var(--theme);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0 0 2px;
}

.daily-contact > a,
.daily-contact > div {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0;
}

.daily-contact span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.daily-contact strong {
  font-size: 0.72rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

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

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

.daily-stream {
  justify-self: stretch;
  max-width: none;
  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: 60px;
  padding-top: 0;
  padding-bottom: 22px;
}

.daily-stream-head h2 {
  font-size: clamp(1.6rem, 2.15vw, 2.35rem);
  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: grid;
  gap: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: none;
}

.daily-card {
  min-width: 0;
  transition: transform 0.25s ease;
}

.daily-card:hover {
  transform: translateY(-4px);
}

.daily-note-link {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
}

.daily-note-cover {
  aspect-ratio: 4 / 5;
  max-height: 520px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.daily-note-cover > img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.daily-card:hover .daily-note-cover > img {
  transform: scale(1.045);
}

.daily-note-cover.is-text-only {
  align-items: center;
  background: linear-gradient(145deg, rgba(227, 255, 4, 0.11), rgba(255, 255, 255, 0.035));
  display: flex;
  padding: 26px;
}

.daily-note-cover.is-text-only p {
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.daily-note-count {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  bottom: 12px;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 5px 9px;
  position: absolute;
  right: 12px;
}

.daily-note-body {
  padding: 13px 3px 0;
}

.daily-note-body h3 {
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.65;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.daily-note-author {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.daily-note-author img {
  border-radius: 50%;
  height: 26px;
  object-fit: cover;
  width: 26px;
}

.daily-note-author span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 750;
}

.daily-note-author time {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.65rem;
  margin-left: auto;
}

.post-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 180;
}

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

.post-modal-backdrop {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.78);
  inset: 0;
  position: absolute;
}

.post-modal-panel {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  height: min(760px, 84svh);
  max-width: 1280px;
  overflow: hidden;
  position: relative;
  width: min(94vw, 1280px);
  z-index: 2;
}

.post-modal-close {
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  z-index: 4;
}

.post-modal-media {
  background: #050505;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.post-modal-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-modal-track figure,
.post-modal-text-cover {
  align-items: center;
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  margin: 0;
  min-width: 0;
  padding: 28px;
}

.post-modal-track img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.post-modal-text-cover {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.3rem, 2.7vw, 2.6rem);
  font-weight: 750;
  line-height: 1.7;
  white-space: pre-wrap;
}

.post-modal-nav {
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 1.6rem;
  height: 42px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
}

.post-modal-prev { left: 14px; }
.post-modal-next { right: 14px; }

.post-modal-counter {
  background: rgba(0, 0, 0, 0.66);
  border-radius: 999px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  left: 50%;
  padding: 6px 10px;
  position: absolute;
  transform: translateX(-50%);
}

.post-modal-copy {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  overflow-y: auto;
  padding: 34px;
}

.post-modal-author {
  align-items: center;
  display: flex;
  gap: 12px;
}

.post-modal-author img {
  border-radius: 50%;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.post-modal-author div {
  display: grid;
  gap: 2px;
}

.post-modal-author strong { font-size: 0.88rem; }
.post-modal-author span { color: rgba(255, 255, 255, 0.42); font-size: 0.68rem; }

.post-modal-copy > time {
  color: rgba(255, 255, 255, 0.38);
  display: block;
  font-size: 0.7rem;
  margin-top: 22px;
}

.post-modal-copy > p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.95;
  margin: 24px 0 0;
  white-space: pre-wrap;
}

.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: 260;
}

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

.lightbox-figure {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  max-width: 1700px;
  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: 0;
  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(2rem, 2.65vw, 3.05rem);
  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;
}

.about-banner-bg {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.about-banner-bg::after {
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.72) 48%, rgba(5, 5, 5, 0.9) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.about-banner-bg img {
  filter: grayscale(0.35) contrast(1.08);
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  width: 100%;
}

.about-banner-layout {
  margin: 0 auto;
  max-width: var(--max);
  padding: 24px 0;
  position: relative;
  z-index: 2;
}

.about-hero-row {
  align-items: center;
  display: grid;
  gap: clamp(42px, 6vw, 96px);
  grid-template-columns: minmax(0, 1fr) auto;
}

.about-name-block {
  border-left: 2px solid var(--theme);
  padding-left: clamp(22px, 3vw, 38px);
}

.about-name-block h2 {
  font-size: clamp(3.4rem, 6vw, 6.3rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
  margin: 20px 0 0;
  text-transform: uppercase;
}

.about-name-block h2 span {
  display: block;
  font-size: 0.18em;
  letter-spacing: 0.12em;
  margin: 18px 0 0 0.2em;
}

.about-role-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
}

.about-role-line span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  font-weight: 750;
  position: relative;
}

.about-role-line span:not(:last-child)::after {
  background: var(--theme);
  content: "";
  height: 3px;
  position: absolute;
  right: -13px;
  top: 50%;
  width: 3px;
}

.about-social-rail {
  background: transparent;
  border: 0;
  display: grid;
  min-width: 190px;
}

.about-social-rail a {
  align-items: center;
  display: flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  justify-content: space-between;
  padding: 11px 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-social-rail a + a {
  border-top: 0;
}

.about-social-rail a:hover {
  background: transparent;
  color: var(--theme);
}

.about-social-rail span {
  color: var(--theme);
  font-size: 0.62rem;
}

.about-social-rail a:hover span {
  color: var(--theme);
}

.about-achievements {
  align-items: start;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1fr);
  margin-top: 58px;
  padding: 26px 0;
}

.about-block-head {
  align-items: center;
  display: flex;
  gap: 16px;
}

.about-block-head span {
  color: var(--theme);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.about-block-head b {
  font-size: 0.78rem;
}

.about-achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-achievement-grid li {
  border-left: 0;
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding-left: 20px;
}

.about-achievement-grid strong {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.about-achievement-grid span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
}

.about-bottom-grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  margin-top: 18px;
  padding-top: 0;
}

.about-evaluation {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px clamp(34px, 5vw, 72px) 0 0;
  position: relative;
}

.about-quote-mark {
  color: var(--theme);
  font-family: Georgia, serif;
  font-size: 4.6rem;
  line-height: 0.7;
  opacity: 0.8;
}

.about-evaluation p {
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  font-weight: 600;
  line-height: 1.85;
  margin: 10px 0 0;
}

.about-evaluation small {
  color: rgba(255, 255, 255, 0.42);
  display: block;
  font-size: 0.72rem;
  margin-top: 18px;
}

.about-resume {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 28px 0 0 clamp(34px, 5vw, 72px);
}

.about-resume-list {
  margin-top: 24px;
}

.about-banner-head {
  align-items: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 30px;
}

.about-banner-head h2 {
  font-size: clamp(2.4rem, 4.2vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 12px 0 0;
}

.about-banner-head h2 span {
  color: var(--theme);
  font-size: 0.42em;
  letter-spacing: 0;
  margin-left: 10px;
}

.about-banner-head > div > p:last-child {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
  margin: 14px 0 0;
}

.about-social-links {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.about-social-links a {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 10px 15px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.about-social-links a:hover {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--black);
}

.about-banner-content {
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  margin-top: 46px;
}

.about-banner-content h3 {
  color: var(--theme);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.about-achievements ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-achievements li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.7;
  padding: 0 0 12px 16px;
  position: relative;
}

.about-achievements li::before {
  color: var(--theme);
  content: "◆";
  font-size: 0.55rem;
  left: 0;
  position: absolute;
  top: 0.42em;
}

.about-evaluation,
.about-resume {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 24px;
}

.about-evaluation p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.95;
  margin: 0;
}

.about-resume {
  margin-top: 34px;
}

.about-resume-list {
  display: grid;
  gap: 16px;
}

.about-resume-list div {
  display: grid;
  gap: 18px;
  grid-template-columns: 118px minmax(0, 1fr);
}

.about-resume-list time {
  color: var(--theme);
  font-size: 0.72rem;
  font-weight: 850;
}

.about-resume-list p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.75;
  margin: 0;
}

/* Figma-style 02 profile screen */
.about::before {
  display: none;
}

.figma-about-frame {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: clamp(42px, 6vw, 96px);
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: 660px;
  overflow: hidden;
  padding: 96px 0 58px;
  position: relative;
}

.figma-about-number {
  color: transparent;
  font-size: clamp(11rem, 20vw, 20rem);
  font-weight: 900;
  left: -0.08em;
  letter-spacing: -0.1em;
  line-height: 0.8;
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
  top: -0.2em;
  -webkit-text-stroke: 1px rgba(227, 255, 4, 0.13);
}

.figma-about-side {
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.6;
  position: absolute;
  right: 0;
  text-align: right;
  top: 68px;
}

.figma-about-portrait {
  aspect-ratio: 4 / 5;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.13);
  clip-path: polygon(0 0, 100% 0, 100% 91%, 86% 100%, 0 100%);
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.figma-about-portrait img {
  filter: grayscale(1) contrast(1.08);
  height: 100%;
  object-fit: cover;
  object-position: 52% 38%;
  width: 100%;
}

.figma-about-portrait figcaption {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  font-size: 0.6rem;
  font-weight: 800;
  gap: 7px;
  left: 16px;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  position: absolute;
}

.figma-about-portrait figcaption i {
  background: var(--theme);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.figma-about-copy {
  max-width: 920px;
  position: relative;
  z-index: 2;
}

.figma-about-copy h2 {
  font-size: clamp(3.2rem, 5.4vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 18px 0 0;
}

.figma-about-copy h2 span {
  color: var(--theme);
  font-size: 0.34em;
  letter-spacing: 0.02em;
}

.figma-about-copy > p:not(.section-label) {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.96rem;
  line-height: 1.9;
  max-width: 650px;
}

.figma-about-copy .about-lead {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-top: 28px;
}

.figma-about-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.figma-about-services span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 7px 12px;
}

.figma-about-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 34px;
  padding-top: 22px;
}

.figma-about-strip span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ============ Contact ============ */
.contact {
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  background: rgba(255, 255, 255, 0.025);
  border-top: 0;
  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;
}

.work-composer-panel {
  border: 0;
  border-radius: 0;
  height: 100svh;
  max-height: none;
  max-width: none;
  padding: clamp(28px, 4vw, 58px);
  width: 100%;
}

.work-modal {
  padding: 0;
}

.work-modal .work-composer-panel {
  overflow-y: auto;
}

.work-modal .composer-header,
.work-modal #workForm {
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
}

.work-upload-row {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.work-detail-upload {
  margin-top: 18px;
}

.work-gallery-preview {
  margin-top: 12px;
}

.work-tags-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
  min-height: 24px;
}

.work-tag-input-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.work-tag-input-row input {
  flex: 1;
}

.work-tag-input-row .button {
  flex: 0 0 auto;
  min-height: 52px;
}

.work-tags-preview button {
  background: rgba(227, 255, 4, 0.05);
  border: 1px solid rgba(227, 255, 4, 0.38);
  border-radius: 999px;
  color: var(--theme);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 750;
  padding: 4px 9px;
}

.work-cover-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.work-cover-preview img {
  height: 100%;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}

.work-cover-preview button {
  background: rgba(5, 5, 5, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 10px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 7px 11px;
  position: absolute;
  right: 10px;
}

.work-gallery-sortable {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-gallery-sortable figure {
  cursor: grab;
  touch-action: none;
  transition: border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.work-gallery-sortable figure:active {
  cursor: grabbing;
}

.work-gallery-sortable figure.is-fallback-preview {
  cursor: default;
  opacity: 0.84;
}

.work-gallery-sortable figure.is-fallback-preview .work-image-drag {
  border-color: rgba(227, 255, 4, 0.34);
  color: var(--theme);
}

.work-gallery-sortable figure.is-dragging {
  opacity: 0.35;
  transform: scale(0.97);
}

.work-gallery-sortable figure.is-drag-over {
  border-color: var(--theme);
  transform: translateY(-3px);
}

.work-image-drag {
  background: rgba(5, 5, 5, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  font-weight: 800;
  left: 8px;
  padding: 5px 8px;
  position: absolute;
  top: 8px;
}

.work-gallery-hint {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  margin: 9px 0 0;
}

.work-gallery-hint[hidden] {
  display: none;
}

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

.work-field-wide {
  grid-column: 1 / -1;
}

.field small {
  color: rgba(255, 255, 255, 0.4);
  display: block;
  font-size: 0.65rem;
  margin-top: 6px;
}

.field select {
  appearance: none;
  background: rgba(255, 255, 255, 0.055);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 13px center;
  background-repeat: no-repeat;
  background-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--white);
  color-scheme: dark;
  height: 52px;
  outline: 0;
  padding: 10px 42px 10px 12px;
  width: 100%;
}

.field select option {
  background: #181818;
  color: var(--white);
}

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

.admin-datetime-field {
  min-width: 0;
  position: relative;
}

.admin-datetime-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.82rem;
  gap: 12px;
  height: 48px;
  justify-content: space-between;
  outline: 0;
  padding: 0 14px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.admin-datetime-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-datetime-trigger svg {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.admin-datetime-trigger:hover,
.admin-datetime-trigger[aria-expanded="true"] {
  border-color: rgba(227, 255, 4, 0.5);
}

.admin-datetime-trigger:focus-visible,
.admin-datetime-trigger[aria-expanded="true"] {
  box-shadow: 0 0 0 3px rgba(227, 255, 4, 0.12);
}

.admin-datetime-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.admin-datetime-picker {
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 255, 4, 0.08), transparent 34%),
    #111111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.56);
  left: 0;
  margin-top: 8px;
  padding: 15px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 40;
}

.admin-datetime-picker[hidden] {
  display: none;
}

.admin-datetime-picker-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 13px;
}

.admin-datetime-picker-head small {
  color: rgba(255, 255, 255, 0.42);
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.admin-datetime-picker-head strong {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-datetime-picker-head strong span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 0.2s ease;
}

.admin-datetime-picker-head strong span.is-active {
  color: var(--theme);
}

.admin-datetime-picker-head button,
.admin-datetime-picker-foot button {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 6px 10px;
}

.admin-datetime-picker-head button:hover:not(:disabled),
.admin-datetime-picker-foot button:hover {
  border-color: rgba(227, 255, 4, 0.48);
  color: var(--theme);
}

.admin-datetime-picker-head button:disabled {
  cursor: not-allowed;
  opacity: 0.32;
}

.admin-datetime-options {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 226px;
  overflow-y: auto;
  padding: 2px 4px 2px 1px;
  scrollbar-color: rgba(227, 255, 4, 0.42) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

.admin-datetime-picker[data-step="month"] .admin-datetime-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-datetime-picker[data-step="day"] .admin-datetime-options {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.admin-datetime-picker[data-step="hour"] .admin-datetime-options,
.admin-datetime-picker[data-step="minute"] .admin-datetime-options {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-datetime-option {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  min-height: 35px;
  outline: 0;
  padding: 7px 5px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.admin-datetime-option:hover,
.admin-datetime-option:focus-visible,
.admin-datetime-option.is-selected {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--black);
}

.admin-datetime-picker-foot {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 11px;
}

.admin-datetime-picker-foot > span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.62rem;
}

.admin-post-image-item {
  cursor: grab;
  transition: box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.admin-post-image-item.is-dragging {
  cursor: grabbing;
  opacity: 0.42;
  transform: scale(0.97);
}

.admin-post-image-item.is-drag-over {
  box-shadow: inset 0 0 0 2px var(--theme);
}

.post-image-order,
.post-image-drag {
  background: rgba(5, 5, 5, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.58rem;
  font-weight: 850;
  line-height: 1;
  padding: 5px 7px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.post-image-order {
  left: 8px;
  top: 8px;
}

.post-image-drag {
  bottom: 8px;
  left: 8px;
}

.image-upload-state {
  background: rgba(5, 5, 5, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  bottom: 8px;
  display: grid;
  gap: 5px;
  min-width: 76px;
  padding: 6px 7px;
  position: absolute;
  right: 8px;
  z-index: 3;
}

.image-upload-state > span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.56rem;
  font-weight: 850;
  text-align: center;
}

.image-upload-state > i {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: block;
  height: 3px;
  overflow: hidden;
}

.image-upload-state > i > b {
  background: var(--theme);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.15s linear;
  width: 100%;
}

.image-upload-state[data-status="ready"] {
  border-color: rgba(227, 255, 4, 0.34);
}

.image-upload-state[data-status="error"] {
  border-color: rgba(255, 116, 37, 0.58);
  cursor: pointer;
}

.image-upload-state[data-status="error"] > span {
  color: var(--orange);
}

.work-cover-upload {
  background: rgba(5, 5, 5, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  display: grid;
  gap: 6px;
  left: 50%;
  min-width: 130px;
  padding: 9px 10px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.work-cover-upload[hidden] {
  display: none;
}

.work-cover-upload > span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.64rem;
  font-weight: 850;
  text-align: center;
}

.work-cover-upload > i {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: block;
  height: 4px;
  overflow: hidden;
}

.work-cover-upload > i > b {
  background: var(--theme);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.15s linear;
  width: 100%;
}

.work-cover-upload[data-status="error"] {
  border-color: rgba(255, 116, 37, 0.58);
  cursor: pointer;
}

.work-form-grid textarea {
  min-height: 110px;
}

.work-form-grid input,
.work-form-grid select,
.work-form-grid textarea {
  min-height: 52px;
}

.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(30px, 2.75vw, 41px) clamp(20px, 5vw, 72px) 48px;
}

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

.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.05rem, 3vw, 3.2rem);
  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;
  gap: 0;
  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: 1700px;
  overflow: hidden;
}

.case-gallery-empty {
  align-items: center;
  color: rgba(255, 255, 255, 0.44);
  display: flex;
  font-size: 0.84rem;
  justify-content: center;
  min-height: 280px;
  padding: 48px 20px;
  text-align: center;
}

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

.case-gallery-item img {
  display: block;
  height: auto;
  opacity: 0;
  transition: opacity 0.45s ease;
  width: 100%;
}

.case-gallery-item.is-loaded img {
  opacity: 1;
}

.case-gallery-item.is-loading::before {
  animation: gallery-loading 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, #111111 0%, #1d1d1d 50%, #111111 100%);
  background-size: 220% 100%;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.case-gallery-item.is-loaded::before {
  display: none;
}

@keyframes gallery-loading {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.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%; }

/* ============ Admin ============ */
.post-story-main {
  padding-top: 86px;
}

.post-story-hero {
  background: #090909;
  margin: 0 auto;
  max-width: 1700px;
  overflow: hidden;
}

.post-story-hero figure {
  margin: 0;
}

.post-story-hero img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.post-story-hero blockquote {
  align-items: center;
  background: linear-gradient(145deg, rgba(227, 255, 4, 0.09), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  font-size: clamp(1.5rem, 3.5vw, 3.6rem);
  font-weight: 750;
  line-height: 1.6;
  margin: 0;
  min-height: 520px;
  padding: clamp(36px, 7vw, 110px);
}

.post-story-article {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(50px, 7vw, 90px) 20px 100px;
}

.post-story-header h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.18;
  margin: 16px 0 0;
  max-width: 1000px;
}

.post-story-author {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 24px;
}

.post-story-author img {
  border-radius: 50%;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.post-story-author div {
  display: grid;
  gap: 2px;
}

.post-story-author strong {
  font-size: 0.86rem;
}

.post-story-author span,
.post-story-author time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
}

.post-story-author time {
  margin-left: auto;
}

.post-story-body {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 2;
  margin: 36px 0 0;
  max-width: 860px;
  white-space: pre-wrap;
}

.post-story-gallery {
  display: grid;
  gap: 24px;
  margin-top: 52px;
}

.post-story-gallery figure {
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.post-story-gallery figure:nth-child(even) {
  margin-left: auto;
  width: 86%;
}

.post-story-gallery img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: block;
  width: 100%;
}

.post-story-back {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--theme);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 54px;
  padding-top: 24px;
}

.post-detail-main {
  padding: 132px clamp(20px, 4vw, 54px) 80px;
}

.post-detail-layout {
  align-items: start;
  display: grid;
  gap: clamp(36px, 5vw, 74px);
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.62fr);
  margin: 0 auto;
  max-width: 1700px;
}

.post-detail-media {
  background: #0d0d0d;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  min-height: 520px;
  overflow: hidden;
  position: sticky;
  top: 104px;
}

.post-detail-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-detail-slide,
.post-detail-text-cover {
  align-items: center;
  background: #0d0d0d;
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  margin: 0;
  min-height: min(78svh, 920px);
  padding: 18px;
}

.post-detail-slide img {
  max-height: min(78svh, 920px);
  max-width: 100%;
  object-fit: contain;
}

.post-detail-text-cover {
  padding: clamp(34px, 7vw, 90px);
}

.post-detail-text-cover p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
  font-weight: 750;
  line-height: 1.7;
  margin: 0;
  max-width: 900px;
  white-space: pre-wrap;
}

.post-gallery-nav {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 1.7rem;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
}

.post-gallery-prev { left: 14px; }
.post-gallery-next { right: 14px; }

.post-gallery-count {
  background: rgba(0, 0, 0, 0.62);
  border-radius: 999px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  left: 50%;
  padding: 6px 10px;
  position: absolute;
  transform: translateX(-50%);
}

.post-detail-copy {
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 104px;
}

.post-detail-author {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.post-detail-author img {
  border-radius: 50%;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.post-detail-author div {
  display: grid;
  gap: 2px;
}

.post-detail-author strong { font-size: 0.9rem; }
.post-detail-author span { color: rgba(255, 255, 255, 0.42); font-size: 0.68rem; }

.post-detail-copy time {
  color: rgba(255, 255, 255, 0.38);
  display: block;
  font-size: 0.7rem;
  margin-bottom: 20px;
}

.post-detail-copy > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.95;
  margin: 0;
  white-space: pre-wrap;
}

.post-detail-back-link {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--theme);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 28px;
  padding-top: 20px;
}

.admin-body {
  background: var(--black);
}

.admin-main {
  min-height: 100svh;
  padding: 138px clamp(20px, 4vw, 54px) 80px;
}

.glass-panel,
.admin-post-card,
.admin-editor-panel {
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.admin-login {
  margin: 7vh auto 0;
  max-width: 520px;
  padding: clamp(28px, 5vw, 48px);
}

.admin-login h1,
.admin-dashboard-head h1 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 12px 0 0;
}

.admin-login-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  line-height: 1.75;
  margin: 18px 0 0;
}

.admin-form {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.admin-submit {
  border: 0;
  margin-top: 2px;
  width: 100%;
}

.admin-dashboard {
  margin: 0 auto;
  max-width: 1700px;
}

.admin-dashboard-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.admin-tabs {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.admin-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 9px 16px;
}

.admin-tabs button.is-active {
  background: var(--theme);
  color: var(--black);
}

.admin-panel-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.admin-panel-head h2 {
  font-size: 1.25rem;
  margin: 0;
}

.admin-panel-note {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  margin: 7px 0 0;
}

.admin-site-form {
  display: grid;
  gap: 18px;
}

.admin-site-section {
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
}

.admin-site-section-head {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.admin-site-section-head > span {
  color: var(--theme);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding-top: 4px;
}

.admin-site-section-head h3 {
  font-size: 1.05rem;
  margin: 0;
}

.admin-site-section-head p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  margin: 6px 0 0;
}

.admin-site-section .work-form-grid {
  margin-top: 0;
}

.site-asset-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.site-asset-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 16px;
}

.site-asset-preview {
  align-items: center;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  display: flex;
  justify-content: center;
  margin-top: 14px;
  min-height: 170px;
  overflow: hidden;
  padding: 14px;
}

.site-asset-preview img {
  display: block;
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
}

.site-asset-preview.is-profile img {
  border-radius: 50%;
  height: 142px;
  object-fit: cover;
  width: 142px;
}

@media (max-width: 760px) {
  .site-asset-grid {
    grid-template-columns: 1fr;
  }
}

.admin-post-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-work-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-work-card {
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-work-cover {
  aspect-ratio: 4 / 3;
  background: #111111;
  overflow: hidden;
}

.admin-work-cover img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.admin-work-info {
  padding: 18px;
}

.admin-work-info h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.admin-work-info p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  margin: 0;
}

.admin-work-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
}

.admin-work-actions button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0.68rem;
  padding: 6px 10px;
}

.admin-work-actions button.danger {
  border-color: rgba(255, 116, 37, 0.38);
  color: var(--orange);
}

.admin-work-editor-panel {
  max-width: none;
}

.admin-post-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(12, 12, 12, 0.92);
  display: grid;
  grid-template-columns: minmax(170px, 34%) minmax(0, 1fr);
  min-height: 214px;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.admin-post-card:hover {
  border-color: rgba(227, 255, 4, 0.3);
  transform: translateY(-2px);
}

.admin-post-card.is-text-only {
  background:
    radial-gradient(circle at 92% 12%, rgba(227, 255, 4, 0.11), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(12, 12, 12, 0.92);
  grid-template-columns: 1fr;
}

.admin-post-cover {
  background: #111111;
  min-height: 214px;
  overflow: hidden;
  position: relative;
}

.admin-post-cover::after {
  background: linear-gradient(90deg, transparent 58%, rgba(0, 0, 0, 0.38));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.admin-post-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.admin-post-card:hover .admin-post-cover img {
  transform: scale(1.035);
}

.admin-post-cover-label {
  background: rgba(5, 5, 5, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 14px;
  color: var(--theme);
  font-size: 0.58rem;
  font-weight: 900;
  left: 14px;
  letter-spacing: 0.14em;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
}

.admin-post-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px;
}

.admin-post-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-post-card-head time {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.admin-post-card-head > div {
  display: flex;
  gap: 8px;
}

.admin-post-card-head button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.68rem;
  padding: 6px 10px;
}

.admin-post-card-head button:hover {
  border-color: var(--theme);
  color: var(--theme);
}

.admin-post-card-head button.danger:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.admin-post-excerpt {
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
  overflow: hidden;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.admin-empty {
  color: rgba(255, 255, 255, 0.45);
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
}

.admin-editor-panel {
  max-width: 900px;
}

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

.admin-existing-images,
.admin-post-images {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.admin-existing-images figure {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.admin-existing-images img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.admin-existing-images button {
  background: rgba(0, 0, 0, 0.75);
  border: 0;
  border-radius: 999px;
  bottom: 8px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.66rem;
  padding: 5px 9px;
  position: absolute;
  right: 8px;
}


/* ============ Border Glow ============ */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --glow-padding: 18px;
  --cone-spread: 25;
  isolation: isolate;
  position: relative;
}

.daily-sidebar.border-glow-card {
  align-self: start;
  position: sticky;
  top: 120px;
}

.daily-layout > .daily-stream {
  margin-top: 0;
}

.daily-sidebar,
.daily-sidebar.border-glow-card {
  margin-top: 0;
  top: 120px;
}

.daily-stream-head {
  margin-top: 0;
}

.border-glow-card > .edge-light {
  border-radius: inherit;
  content: "";
  inset: calc(var(--glow-padding) * -1);
  mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  pointer-events: none;
  position: absolute;
  transition: opacity 0.25s ease-out;
  z-index: 5;
}

.border-glow-card:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.border-glow-card > .edge-light::before {
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 4px 0 var(--glow-color-40),
    inset 0 0 10px 0 var(--glow-color-20),
    0 0 3px 0 var(--glow-color-50),
    0 0 10px 0 var(--glow-color-30),
    0 0 22px 1px var(--glow-color-10);
  content: "";
  inset: var(--glow-padding);
  position: absolute;
}

/* ============ 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) {
  .about-hero-row,
  .about-bottom-grid {
    grid-template-columns: 1fr;
  }

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

  .about-evaluation {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
    padding: 28px 0;
  }

  .about-resume {
    padding: 28px 0 0;
  }

  .about-social-rail {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .about-social-rail a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 0;
  }

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

  .about-banner-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .post-modal-panel {
    grid-template-columns: 1fr;
    height: min(860px, 92svh);
    overflow-y: auto;
  }

  .post-modal-media {
    min-height: 48svh;
  }

  .post-modal-copy {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    overflow: visible;
  }

  .post-story-gallery figure:nth-child(even) {
    margin-left: 0;
    width: 100%;
  }

  .figma-about-frame {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 96px;
  }

  .figma-about-side {
    left: 0;
    right: auto;
    text-align: left;
  }

  .figma-about-portrait {
    max-width: 560px;
  }

  .figma-about-copy {
    max-width: none;
  }

  .figma-about-strip {
    flex-wrap: wrap;
  }

  .admin-work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .post-detail-media,
  .post-detail-copy {
    position: static;
  }

  .admin-post-list {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .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,
  .daily-sidebar.border-glow-card {
    position: static;
    top: auto;
  }

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

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

  .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 (min-width: 761px) {
  .site-header {
    display: flex !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .site-header > * {
    visibility: visible !important;
  }

  .home-header .header-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-nav a.is-active {
    color: rgba(255, 255, 255, 0.72);
  }

  .site-nav a.is-active::after {
    transform: scaleX(0);
  }

  .about-name-block h2 {
    font-size: clamp(3.4rem, 18vw, 5.5rem);
  }

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

  .about-social-rail a + a {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about-achievement-grid li {
    min-height: 72px;
    padding-left: 14px;
  }

  .about-social-links {
    flex-wrap: wrap;
  }

  .about-resume-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .post-story-main {
    padding-top: 68px;
  }

  .post-story-author {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .post-story-author time {
    margin-left: 56px;
    width: 100%;
  }

  .figma-about-frame {
    gap: 34px;
    padding-bottom: 42px;
    padding-top: 86px;
  }

  .figma-about-number {
    font-size: 9rem;
  }

  .figma-about-copy h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .figma-about-strip {
    gap: 14px 22px;
  }

  .admin-work-list {
    grid-template-columns: 1fr;
  }

  .admin-post-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .admin-post-cover {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .admin-post-content {
    padding: 18px;
  }

  .admin-post-card-head {
    align-items: flex-start;
    gap: 12px;
  }

  .admin-post-card-head > div {
    flex: 0 0 auto;
  }

  .admin-post-excerpt {
    -webkit-line-clamp: 5;
  }

  .post-detail-main {
    padding-top: 108px;
  }

  .post-detail-media {
    min-height: 0;
  }

  .post-detail-slide,
  .post-detail-text-cover {
    min-height: 62svh;
  }

  .admin-main {
    padding-top: 116px;
  }

  .admin-header-actions {
    gap: 8px;
  }

  .admin-header-actions .button {
    font-size: 0.7rem;
    min-height: 40px;
    padding: 8px 12px;
  }

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

  .admin-datetime-picker {
    bottom: 18px;
    left: 18px;
    margin-top: 0;
    position: fixed;
    right: 18px;
    top: auto;
  }

  .admin-datetime-options {
    max-height: min(42svh, 260px);
  }

  .site-header {
    gap: 14px;
    padding: 6px 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: calc(100% - 4px);
    z-index: 4;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open,
  .motion-enabled .site-header > .site-nav.open {
    opacity: 1 !important;
    pointer-events: auto;
    transform: translateY(0) !important;
  }

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

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

  .header-actions {
    position: relative;
    z-index: 5;
  }

  .nav-toggle {
    align-items: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: block;
    height: 48px;
    padding: 0;
    position: relative;
    width: 48px;
    z-index: 6;
  }

  .nav-toggle span {
    left: 14px;
    margin: 0;
    position: absolute;
    right: 14px;
    top: 18px;
    transform-origin: center;
    transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
    width: auto;
  }

  .nav-toggle span + span {
    top: 28px;
  }

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

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

  .theme-button {
    border-radius: 50%;
    padding: 0;
    width: 42px;
  }

  .publish-trigger span {
    display: none;
  }

  .publish-popover {
    left: 16px;
    right: 16px;
    top: 68px;
    width: auto;
  }

  .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.7rem, 6.6vw, 2.35rem);
  }

  .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;
  }

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

  .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;
  }

  .work-form-grid,
  .work-upload-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: 26px;
  }

  .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) {
  .post-modal {
    padding: 10px;
  }

  .post-modal-panel {
    width: 100%;
  }

  .post-modal-copy {
    padding: 24px 20px;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

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

  .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;
  }
}

/* ============ 02 About / Editorial rewrite ============ */
.about.about-rework {
  background: #050505;
  height: 100svh;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(96px, 9vh, 126px) clamp(22px, 5vw, 72px) clamp(38px, 5vh, 58px);
}

.about.about-rework::before {
  display: none;
}

.about-atmosphere {
  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;
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12) 82%);
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.about-background {
  inset: -64px;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.about-background img {
  filter: blur(40px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  transform: scale(1.1);
  width: 100%;
}

.about-background::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.76) 0%, rgba(5, 5, 5, 0.46) 50%, rgba(5, 5, 5, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.42) 0%, rgba(5, 5, 5, 0.2) 50%, rgba(5, 5, 5, 0.52) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.about-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
}

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

.about-topline .section-label {
  margin: 0;
}

.about-availability {
  align-items: center;
  color: rgba(255, 255, 255, 0.44);
  display: flex;
  font-size: 0.62rem;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.13em;
  margin: 0;
}

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

.about-main {
  align-items: center;
  display: grid;
  flex: 1 1 auto;
  gap: clamp(54px, 7vw, 112px);
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  margin-top: clamp(24px, 3.5vh, 42px);
  min-height: 0;
}

.about-portrait-card {
  align-self: center;
  height: 100%;
  margin: 0;
  max-height: 560px;
  min-width: 0;
  position: relative;
}

.about-portrait-media {
  background: #0d0f0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 54px), calc(100% - 54px) 100%, 0 100%);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.about-portrait-media::after {
  background:
    linear-gradient(to top, rgba(4, 5, 4, 0.94), rgba(4, 5, 4, 0.03) 64%),
    linear-gradient(120deg, rgba(227, 255, 4, 0.08), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.about-portrait-media img {
  filter: saturate(1.12) contrast(1.03);
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  transform: scale(1.015);
  transition: filter 0.45s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.about-portrait-card:hover .about-portrait-media img {
  filter: saturate(1.18) contrast(1.05) brightness(1.02);
  transform: scale(1.035);
}

.about-portrait-card figcaption {
  bottom: 25px;
  display: grid;
  gap: 1px;
  left: 26px;
  position: absolute;
  right: 64px;
  z-index: 1;
}

.about-portrait-card figcaption span {
  color: var(--theme);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 5px;
}

.about-portrait-card figcaption strong {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.about-portrait-card figcaption small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  margin-top: 2px;
}

.about-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1700px;
  min-height: 0;
  width: 100%;
}

.about-overline {
  color: var(--theme);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin: 0;
}

.about-intro h2 {
  font-size: clamp(2.55rem, 4.1vw, 5.05rem);
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.05;
  margin: clamp(16px, 2.2vh, 26px) 0 0;
  max-width: 1700px;
}

.about-intro h2 em {
  color: var(--theme);
  font-style: normal;
}

.about-intro .about-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 650;
  line-height: 1.7;
  margin: clamp(18px, 2.4vh, 30px) 0 0;
}

.about-intro > p:not(.about-overline):not(.about-lead) {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.78;
  margin: 10px 0 0;
  max-width: 1700px;
}

.about-focus-grid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(20px, 2.6vh, 30px);
}

.about-focus-grid article {
  align-items: start;
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 13px 16px 13px 0;
}

.about-focus-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 16px;
}

.about-focus-grid article > span {
  color: var(--theme);
  flex: 0 0 auto;
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.about-focus-grid article > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.about-focus-grid strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.35;
}

.about-focus-grid small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  line-height: 1.55;
}

.about-contact-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.about-link-button {
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 850;
  justify-content: center;
  min-width: 124px;
  padding: 11px 15px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}


.about-link-button:hover {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--black);
  transform: translateY(-2px);
}


.about-numbers {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(16px, 2.4vh, 28px);
}

.about-numbers article {
  align-items: center;
  display: flex;
  gap: clamp(13px, 1.5vw, 22px);
  min-height: clamp(84px, 11vh, 108px);
  padding: 12px clamp(18px, 2.1vw, 34px);
}

.about-numbers article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.about-numbers strong {
  flex: 0 0 auto;
  font-size: clamp(1.8rem, 2.65vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1;
}

.about-numbers sup {
  color: var(--theme);
  font-size: 0.38em;
  letter-spacing: 0;
  vertical-align: top;
}

.about-numbers article > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.about-numbers span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
}

.about-numbers small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.58rem;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .about-main {
    gap: clamp(40px, 5vw, 68px);
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  }

  .about-intro h2 {
    font-size: clamp(2.45rem, 4.7vw, 4.65rem);
    letter-spacing: 0.04em;
  }

  .about-numbers article {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 142px;
  }
}

@media (max-width: 900px) {
  .about.about-rework {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
    padding-top: 108px;
  }

  .about-shell {
    height: auto;
  }

  .about-main {
    align-items: start;
    flex: none;
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .about-portrait-card {
    height: auto;
    max-width: 560px;
  }

  .about-portrait-media {
    aspect-ratio: 6 / 5;
  }

  .about-portrait-media img {
    object-position: 50% 30%;
  }

  .about-intro h2 {
    font-size: clamp(2.8rem, 7.2vw, 4.6rem);
    letter-spacing: 0.045em;
  }

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

  .about-numbers article {
    flex-direction: row;
  }

  .about-numbers article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .about-numbers article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }
}

@media (max-width: 620px) {
  .about.about-rework {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-topline {
    align-items: flex-start;
    gap: 16px;
  }

  .about-availability {
    font-size: 0.54rem;
    letter-spacing: 0.09em;
    max-width: 150px;
    text-align: right;
  }

  .about-main {
    gap: 42px;
  }

  .about-portrait-media {
    aspect-ratio: 1 / 1;
  }

  .about-intro h2 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
    letter-spacing: 0.04em;
  }

  .about-intro .about-lead {
    font-size: 1rem;
  }

  .about-contact-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .about-numbers {
    margin-top: 54px;
  }

  .about-numbers article {
    align-items: flex-start;
    flex-direction: column;
    min-height: 138px;
    padding: 20px 14px;
  }

  .about-numbers strong {
    font-size: 2.05rem;
  }
}


/* Full-screen scrolling for the first two screens */
.hero.hero-banner,
.about.about-rework {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }
}


@media (max-width: 620px) {
  .about-focus-grid {
    grid-template-columns: 1fr;
  }

  .about-focus-grid article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
  }
}


/* Work section polish */
.work .section-heading,
.work-toolbar,
.project-grid {
  position: relative;
  z-index: 2;
}

.work .section-label {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.work .section-label::before {
  background: var(--theme);
  content: "";
  height: 1px;
  width: 28px;
}

.filter-bar {
  background: rgba(4, 6, 4, 0.6);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.work-count {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 12px;
}

.project-card {
  background: linear-gradient(180deg, #111511 0%, #090b09 100%);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.project-card:hover {
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(227, 255, 4, 0.08),
    0 18px 54px rgba(227, 255, 4, 0.055);
}

.project-media::after {
  border: 1px solid rgba(255, 255, 255, 0.055);
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

/* ============ GSAP opening + motion system ============ */
.opening-screen {
  background: #050505;
  clip-path: inset(0% 0% 0% 0%);
  display: none;
  inset: 0;
  overflow: hidden;
  position: fixed;
  z-index: 500;
}

.motion-enabled .opening-screen {
  display: grid;
}

.opening-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 96px 96px;
  inset: 0;
  mask-image: radial-gradient(circle at 50% 50%, #000 12%, transparent 78%);
  opacity: 0.42;
  position: absolute;
}

.opening-screen::before,
.opening-screen::after {
  border-radius: 50%;
  content: "";
  filter: blur(80px);
  pointer-events: none;
  position: absolute;
}

.opening-screen::before {
  background: rgba(227, 255, 4, 0.12);
  height: 34vw;
  left: -10vw;
  top: -14vw;
  width: 34vw;
}

.opening-screen::after {
  background: rgba(63, 106, 70, 0.18);
  bottom: -18vw;
  height: 42vw;
  right: -12vw;
  width: 42vw;
}

.motion-enabled .opening-meta span,
.motion-enabled .opening-foot span {
  opacity: 0;
  transform: translateY(120%);
}

.motion-enabled .opening-line i {
  opacity: 0;
  transform: translateY(125%) scaleY(0.72);
}

.motion-enabled .opening-progress i {
  transform: scaleX(0);
}

.motion-enabled .site-header > * {
  opacity: 0;
  transform: translateY(-30px);
}

.motion-enabled .hero-banner-image {
  clip-path: inset(10% 5% 10% 5% round 16px);
}

.motion-enabled .hero-banner-image img {
  transform: scale(1.2);
}

.opening-inner {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0 auto;
  max-width: 1700px;
  padding: clamp(82px, 8vh, 112px) clamp(22px, 5vw, 72px) clamp(42px, 6vh, 72px);
  position: relative;
  width: 100%;
  z-index: 1;
}

.opening-meta,
.opening-foot {
  align-items: center;
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  font-size: 0.62rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.14em;
  margin: 0;
}

.opening-meta span,
.opening-foot span {
  display: block;
  overflow: hidden;
}

.opening-title {
  align-self: center;
  display: grid;
  gap: 0;
  padding: 5vh 0;
  transform-origin: left center;
}

.opening-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.opening-line i {
  color: rgba(255, 255, 255, 0.94);
  display: block;
  font-size: clamp(4.3rem, 10.8vw, 11rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
  white-space: nowrap;
}

.opening-line-main i {
  color: var(--theme);
}

.opening-progress {
  background: rgba(255, 255, 255, 0.12);
  bottom: 0;
  height: 2px;
  left: clamp(22px, 5vw, 72px);
  overflow: hidden;
  position: absolute;
  right: clamp(22px, 5vw, 72px);
}

.opening-progress i {
  background: var(--theme);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
}


@media (max-width: 760px) {
  .opening-inner {
    padding-bottom: 48px;
    padding-top: 100px;
  }

  .opening-meta span:last-child,
  .opening-foot span:last-child {
    display: none;
  }

  .opening-line i {
    font-size: clamp(3.5rem, 18vw, 6rem);
    letter-spacing: -0.065em;
  }

  .opening-title {
    padding: 1vh 0 8vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-screen {
    display: none !important;
  }
}


@media (max-width: 760px) {
  .hero.hero-banner {
    height: auto;
    max-width: 100vw;
    min-height: 0;
    width: 100%;
  }

  .hero-banner-image,
  .hero-banner-image img {
    height: auto;
    max-width: 100%;
    width: 100%;
  }

  .hero-banner-image img {
    object-fit: contain;
  }
}


@media (min-width: 901px) {
  .work .section-description {
    justify-self: end;
    margin-left: auto;
    text-align: right;
  }
}

@media (max-width: 900px) {
  .work-gallery-sortable {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .work-gallery-sortable {
    grid-template-columns: 1fr;
  }

  .work-cover-preview button {
    right: 8px;
    bottom: 8px;
  }
}

/* Opening animation / editorial shutters */
.opening-shutters {
  display: flex;
  inset: 0;
  position: absolute;
  z-index: 1;
}

.opening-shutters span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 36%),
    #050505;
  flex: 1 1 20%;
  will-change: transform;
}

.motion-enabled .opening-shutters span {
  transform: translateY(-104%);
}

.motion-enabled .opening-shutters span:nth-child(even) {
  transform: translateY(104%);
}

.opening-frame {
  border: 1px solid rgba(255, 255, 255, 0.11);
  inset: clamp(24px, 4vw, 64px);
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.opening-frame::before,
.opening-frame::after {
  background: var(--theme);
  content: "";
  position: absolute;
}

.opening-frame::before {
  height: 1px;
  left: 0;
  top: 50%;
  width: 34px;
}

.opening-frame::after {
  bottom: 0;
  height: 34px;
  left: 50%;
  width: 1px;
}

.motion-enabled .opening-frame {
  opacity: 0;
  transform: scale(0.92);
}

.opening-core {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 68px 24px;
  position: absolute;
  text-align: center;
  z-index: 3;
}

.opening-logo-wrap {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  display: flex;
  height: clamp(118px, 12vw, 178px);
  justify-content: center;
  position: relative;
  width: clamp(118px, 12vw, 178px);
}

.motion-enabled .opening-logo-wrap {
  opacity: 0;
  transform: rotate(-8deg) scale(0.72);
}

.opening-logo-wrap img {
  filter: drop-shadow(0 0 30px rgba(227, 255, 4, 0.10));
  height: 52%;
  object-fit: contain;
  position: relative;
  width: 52%;
  z-index: 1;
}

.opening-orbit {
  border: 1px solid rgba(227, 255, 4, 0.28);
  border-left-color: transparent;
  border-radius: 50%;
  inset: -11px;
  position: absolute;
}

.opening-wordmark {
  display: grid;
  gap: 7px;
  margin-top: clamp(30px, 4vw, 52px);
}

.opening-wordmark span,
.opening-wordmark strong,
.opening-wordmark small {
  display: block;
}

.opening-wordmark span {
  color: var(--theme);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.24em;
}

.opening-wordmark strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(3.2rem, 7.4vw, 7.6rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.opening-wordmark small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.motion-enabled .opening-wordmark > * {
  opacity: 0;
  transform: translateY(58px);
}

@media (max-width: 760px) {
  .opening-frame {
    inset: 16px;
  }

  .opening-logo-wrap {
    height: 120px;
    width: 120px;
  }

  .opening-wordmark {
    margin-top: 30px;
  }

  .opening-wordmark strong {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .opening-wordmark span,
  .opening-wordmark small {
    font-size: 0.54rem;
  }
}

/* Slim global scrollbar */
html {
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(5, 5, 5, 0.25);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  height: 2px;
  width: 2px;
}

::-webkit-scrollbar-track {
  background: rgba(5, 5, 5, 0.35);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--theme);
}

/* Opening animation / typographic iris */
.opening-screen {
  clip-path: circle(150% at 50% 50%);
}

.opening-scanline {
  background: linear-gradient(90deg, transparent, rgba(227, 255, 4, 0.78), transparent);
  box-shadow: 0 0 24px rgba(227, 255, 4, 0.18);
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-180vh);
  z-index: 1;
}

.opening-display {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.opening-display span {
  color: transparent;
  font-size: clamp(8rem, 22vw, 27rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.8;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);
}

.motion-enabled .opening-display {
  clip-path: inset(0 100% 0 0);
}

.opening-lockup {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.opening-logo {
  filter: drop-shadow(0 0 34px rgba(227, 255, 4, 0.12));
  height: clamp(92px, 8vw, 136px);
  object-fit: contain;
  width: clamp(92px, 8vw, 136px);
}

.motion-enabled .opening-logo {
  opacity: 0;
  transform: rotate(-8deg) scale(0.7);
}

.opening-lockup .opening-wordmark {
  margin-top: 24px;
}

.opening-lockup .opening-wordmark span {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
}

.opening-lockup .opening-wordmark small {
  margin-top: 4px;
}

.opening-counter {
  align-items: baseline;
  bottom: clamp(34px, 6vh, 66px);
  display: flex;
  gap: 8px;
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  z-index: 4;
}

.opening-counter strong {
  color: var(--white);
  font-size: clamp(2.6rem, 4.8vw, 5.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.opening-counter span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.opening-location {
  bottom: clamp(38px, 6vh, 70px);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.6rem;
  font-weight: 800;
  left: clamp(24px, 5vw, 72px);
  letter-spacing: 0.16em;
  margin: 0;
  position: absolute;
  z-index: 4;
}

.motion-enabled .opening-counter,
.motion-enabled .opening-location {
  opacity: 0;
  transform: translateY(26px);
}

@media (max-width: 760px) {
  .opening-display span {
    font-size: clamp(6rem, 30vw, 10rem);
  }

  .opening-logo {
    height: 94px;
    width: 94px;
  }

  .opening-lockup .opening-wordmark {
    margin-top: 20px;
  }

  .opening-counter {
    bottom: 34px;
    right: 20px;
  }

  .opening-counter strong {
    font-size: 2.7rem;
  }

  .opening-location {
    bottom: 38px;
    left: 20px;
  }
}

/* Opening animation / minimal studio loader */
.opening-minimal {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 40px;
  position: absolute;
  text-align: center;
  z-index: 3;
}

.motion-enabled .opening-minimal {
  opacity: 0;
  transform: scale(0.94);
}

.opening-minimal .opening-logo {
  height: clamp(88px, 7vw, 124px);
  width: clamp(88px, 7vw, 124px);
}

.opening-minimal p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  margin: 22px 0 0;
}

.opening-minimal span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-top: 8px;
}

.opening-progress-wrap {
  align-items: center;
  bottom: clamp(34px, 6vh, 64px);
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(120px, 340px) 42px;
  left: clamp(24px, 5vw, 72px);
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  z-index: 4;
}

.opening-progress-wrap > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.opening-progress-track {
  background: rgba(255, 255, 255, 0.12);
  height: 1px;
  overflow: hidden;
}

.opening-progress-track i {
  background: var(--theme);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
}

.opening-progress-wrap strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-align: right;
}

.motion-enabled .opening-progress-wrap {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 760px) {
  .opening-minimal {
    padding: 28px;
  }

  .opening-minimal .opening-logo {
    height: 92px;
    width: 92px;
  }

  .opening-progress-wrap {
    bottom: 34px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 38px;
    left: 20px;
    right: 20px;
  }

  .opening-progress-wrap > span {
    display: none;
  }
}


/* Admin full-screen editors */
.composer-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(0, 0, 0, 0.84);
}

.admin-editor-panel,
.admin-work-editor-panel {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #0b0b0b;
  border: 0;
  box-shadow: none;
}

.admin-editor-panel > .edge-light,
.admin-work-editor-panel > .edge-light {
  display: none !important;
}

#adminEditor {
  padding: 0;
}

.admin-editor-panel {
  border-radius: 0;
  height: 100svh;
  max-height: none;
  max-width: none;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 58px);
  width: 100%;
}

.admin-editor-panel .composer-header,
.admin-editor-panel #adminPostForm {
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
}

.work-modal .composer-header > div {
  align-items: baseline;
  display: flex;
  flex: 1 1 auto;
  gap: 32px;
  justify-content: space-between;
  padding-right: 32px;
}

.work-modal .composer-header h2 {
  margin-top: 0;
  text-align: right;
}

@media (max-width: 760px) {
  .admin-editor-panel {
    padding: 24px 18px;
  }

  .work-modal .composer-header > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-right: 12px;
  }

  .work-modal .composer-header h2 {
    text-align: left;
  }
}

/* Admin work list density */
.admin-work-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-work-info {
  padding: 14px;
}

.admin-work-info h3 {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 6px;
}

@media (max-width: 1200px) {
  .admin-work-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .admin-work-list {
    grid-template-columns: 1fr;
  }
}

/* Home work grid density */
.project-grid {
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-overlay {
  padding: 20px;
}

.project-overlay h3 {
  font-size: clamp(1.08rem, 1.38vw, 1.34rem);
  line-height: 1.34;
  max-width: none;
}

.project-tags {
  gap: 6px;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 0.64rem;
  padding: 5px 9px;
}

.project-arrow {
  height: 34px;
  width: 34px;
}

@media (max-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* Home work tags / editorial metadata */
.project-tags {
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
  max-width: 100%;
}

.project-tags::before {
  background: var(--theme);
  content: "";
  flex: 0 0 auto;
  height: 1px;
  margin-right: 10px;
  width: 20px;
}

.project-tag {
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.68);
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  max-width: none;
  overflow: visible;
  padding: 0;
  text-overflow: clip;
  white-space: nowrap;
  width: auto;
}

.project-tag + .project-tag::before {
  color: var(--theme);
  content: "✦";
  font-size: 0.48rem;
  margin: 0 8px;
}

.project-card:hover .project-tag {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 620px) {
  .project-tags {
    flex-wrap: wrap;
    row-gap: 7px;
  }
}

/* Home work tags / compact glass meta */
.project-tags {
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  gap: 0;
  margin-bottom: 13px;
  max-width: 100%;
  padding: 6px 10px;
  width: fit-content;
}

.project-tags::before {
  display: none;
}

.project-tag {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.025em;
  line-height: 1.3;
}

.project-tag + .project-tag::before {
  background: var(--theme);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 3px;
  margin: 0 7px 1px 0;
  vertical-align: middle;
  width: 3px;
}

.project-card:hover .project-tags {
  border-color: rgba(227, 255, 4, 0.38);
}

.project-card:hover .project-tag {
  color: var(--white);
}

@media (max-width: 620px) {
  .project-tags {
    border-radius: 14px;
    flex-wrap: wrap;
    row-gap: 5px;
  }
}

/* Home work tags / minimal metadata */
.project-tags {
  align-items: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-bottom: 12px;
  max-width: 100%;
  padding: 0;
  width: auto;
}

.project-tag {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.project-tag:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.24);
  content: "/";
  margin: 0 8px;
}

.project-tag + .project-tag::before {
  display: none;
}

.project-card:hover .project-tag {
  color: rgba(255, 255, 255, 0.86);
}


.detail-top-tags {
  margin: 0 0 22px;
}

.detail-top-tags .project-tag {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}


.detail-top-tags + .case-title-row {
  margin-top: 20px;
}

.case-title-row {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}

.case-title-row h1 {
  margin-top: 0;
}

.case-title-row .case-switch {
  margin: 0;
}

.case-heading {
  max-width: none;
  width: 100%;
}

@media (max-width: 760px) {
  .case-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .case-title-row h1 {
    margin-top: 0;
  }
}

/* Case switch alignment */
.case-intro-inner {
  max-width: 1700px;
  width: 100%;
}

@media (min-width: 761px) {
  .case-title-row {
    max-width: 100%;
  }

  .case-title-row .case-switch {
    align-self: center;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  .case-title-row {
    align-items: flex-start;
  }

  .case-title-row .case-switch {
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .case-title-row > h1,
  .case-title-row > .case-switch {
    align-self: flex-start;
    margin-left: 0;
    width: fit-content;
  }

  .case-title-row > .case-switch {
    box-sizing: border-box;
    left: 0;
    margin-right: 0;
    position: relative;
    transform: translateX(-1px);
  }
}


/* Project detail intro alignment */
.case-heading {
  column-gap: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.case-heading .detail-top-tags {
  grid-column: 1 / -1;
  grid-row: 1;
}

.case-heading .case-title-row {
  display: block;
  grid-column: 1;
  grid-row: 2;
}

.case-heading .case-title-row h1 {
  margin: 0;
}

.case-heading .detail-summary {
  grid-column: 1 / -1;
  grid-row: 3;
}

.case-heading > .case-switch {
  align-self: center;
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

@media (max-width: 760px) {
  .case-heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  .case-heading .case-title-row {
    order: 1;
  }

  .case-heading .detail-summary {
    order: 2;
  }

  .case-heading > .case-switch {
    align-self: flex-start;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
    order: 3;
  }
}

@media (max-width: 760px) {
  .case-heading {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  }

  .case-heading .detail-top-tags {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .case-heading .case-title-row {
    grid-column: 1;
    grid-row: 2;
  }

  .case-heading .detail-summary {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .case-heading > .case-switch {
    align-self: start;
    grid-column: 1;
    grid-row: 4;
    justify-self: end;
    margin: 20px 0 0;
  }
}

@media (max-width: 760px) {
  .case-heading > .case-switch {
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  .case-heading > .case-switch {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 0;
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .case-heading > a.case-switch {
    grid-column: 1 / -1;
    justify-self: start;
    left: 0;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    transform: none;
  }
}

/* Project detail summary follows the 1700px content frame */
.case-heading .detail-summary {
  max-width: 1700px;
  width: 100%;
}

/* Tighten spacing between detail tags and project title */
.detail-top-tags {
  margin-bottom: 0;
}

.detail-top-tags + .case-title-row {
  margin-top: 15px;
}


@media (max-width: 760px) {
  .hero.hero-banner {
    height: 100svh;
    max-width: 100vw;
    min-height: 100svh;
    width: 100%;
  }

  .hero-banner-image,
  .hero-banner-image img {
    height: 100%;
    width: 100%;
  }

  .hero-banner-image img {
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 760px) {
  .daily-feed {
    column-gap: 10px;
    columns: 2;
    display: block;
  }

  .daily-card {
    break-inside: avoid;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
  }

  .daily-note-cover {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .daily-note-body {
    padding-left: 0;
    padding-right: 0;
  }

  .daily-note-body h3 {
    -webkit-line-clamp: 2;
    font-size: 0.78rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    text-align: justify;
    text-justify: inter-ideograph;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .daily-feed {
    column-gap: 13px;
  }

  .daily-card {
    margin-bottom: 24px;
  }
}

/* Remove image outline from daily cards */
.daily-note-cover {
  border: 0;
}

/* Daily section background opacity */
.daily .about-background img {
  opacity: 0.3;
}

/* About section background opacity */
.about.about-rework .about-background img {
  opacity: 0.5;
}


.post-story-hero img,
.post-story-gallery img {
  cursor: zoom-in;
}

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


.post-modal-track img {
  cursor: zoom-in;
}

/* Admin category management */
.admin-category-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-category-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

.admin-category-info h3 {
  font-size: 1rem;
  margin: 0;
}

.admin-category-info p {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  margin: 6px 0 0;
}

.admin-category-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.admin-category-actions button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0.68rem;
  padding: 6px 10px;
}

.admin-category-actions button.danger {
  border-color: rgba(255, 116, 37, 0.38);
  color: var(--orange);
}

.admin-category-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.admin-category-editor-panel {
  max-width: 520px;
}

@media (max-width: 1000px) {
  .admin-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .admin-category-list {
    grid-template-columns: 1fr;
  }
}

/* Project detail gallery: no image outline, pure black gaps */
.case-gallery {
  background: #000000;
  box-shadow: none;
}

.case-gallery-item {
  background: #000000;
}

.case-gallery-item img {
  border: 0;
}

.lightbox-figure img {
  border: 0;
  box-shadow: none;
}

@media (max-width: 760px) {
  .filter-bar {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 0;
    width: 100%;
  }

  .filter-btn {
    background: transparent;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.5);
    flex: 0 0 auto;
    font-size: 0.8rem;
    min-height: 44px;
    padding: 10px 0;
    position: relative;
  }

  .filter-btn.is-active {
    background: transparent;
    color: var(--white);
  }

  .filter-btn.is-active::after {
    background: var(--theme);
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
  }

  .filter-btn span,
  #workCount {
    display: none;
  }
}

/* Remove footer glass and visible scrollbars */
.site-footer {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  border-top: 0;
}

html {
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

@media (max-width: 760px) {
  .filter-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0;
    width: 100%;
  }

  .filter-btn {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.58);
    flex: 0 0 auto;
    font-size: 0.72rem;
    min-height: 38px;
    padding: 8px 14px;
    position: static;
  }

  .filter-btn.is-active {
    background: rgba(227, 255, 4, 0.07);
    border-color: var(--theme);
    color: var(--theme);
  }

  .filter-btn.is-active::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .filter-bar {
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    gap: 4px;
    padding: 4px;
  }

  .filter-btn {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.54);
    min-height: 38px;
    padding: 8px 14px;
  }

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

@media (max-width: 760px) {
  .filter-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 26px;
    padding: 0;
  }

  .filter-btn {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.4);
    min-height: 36px;
    padding: 12px 0 4px;
    position: relative;
  }

  .filter-btn::before {
    background: var(--theme);
    border-radius: 50%;
    content: "";
    height: 4px;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: translate(-50%, 4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 4px;
  }

  .filter-btn.is-active {
    background: transparent;
    border-color: transparent;
    color: var(--white);
  }

  .filter-btn.is-active::before {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 760px) {
  .filter-bar {
    counter-reset: work-filter;
    gap: 22px;
  }

  .filter-btn {
    counter-increment: work-filter;
    display: grid;
    gap: 2px;
    justify-items: start;
    min-height: 46px;
    padding: 2px 0 7px;
    position: relative;
  }

  .filter-btn::before {
    background: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.28);
    content: counter(work-filter, decimal-leading-zero);
    font-size: 0.5rem;
    font-weight: 850;
    height: auto;
    left: auto;
    letter-spacing: 0.08em;
    opacity: 1;
    position: static;
    top: auto;
    transform: none;
    width: auto;
  }

  .filter-btn.is-active {
    color: var(--white);
  }

  .filter-btn.is-active::before {
    color: var(--theme);
    opacity: 1;
    transform: none;
  }

  .filter-btn.is-active::after {
    background: var(--theme);
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .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;
    max-width: 100%;
    overflow-x: auto;
    padding: 5px;
    width: fit-content;
  }

  .filter-btn {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.62);
    display: block;
    flex: 0 0 auto;
    font-size: 0.76rem;
    min-height: 40px;
    padding: 8px 15px;
    position: static;
  }

  .filter-btn::before,
  .filter-btn::after {
    content: none;
    display: none;
  }

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

  .filter-btn span,
  #workCount {
    display: none;
  }
}

@media (max-width: 760px) {
  .filter-bar {
    border-radius: 18px;
    flex-wrap: wrap;
    overflow: visible;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .filter-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    width: 100%;
  }

  .filter-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.58);
    display: flex;
    font-size: 0.75rem;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px 10px 16px;
    position: relative;
    text-align: left;
    width: 100%;
  }

  .filter-btn::before {
    background: transparent;
    border-radius: 0;
    content: "";
    display: block;
    height: auto;
    inset: 0 auto 0 0;
    left: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    transform: none;
    width: 3px;
  }

  .filter-btn::after {
    display: none;
  }

  .filter-btn.is-active {
    background: rgba(227, 255, 4, 0.08);
    border-color: rgba(227, 255, 4, 0.34);
    color: var(--white);
  }

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

@media (max-width: 760px) {
  .filter-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-template-columns: none;
    padding: 0;
    width: 100%;
  }

  .filter-btn {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    min-height: 38px;
    padding: 8px 14px;
    width: auto;
  }

  .filter-btn::before,
  .filter-btn::after {
    content: none;
    display: none;
  }

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

@media (max-width: 760px) {
  .filter-bar {
    gap: 24px;
  }

  .filter-btn::before,
  .filter-btn::after {
    content: none;
    display: none;
  }

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

@media (max-width: 760px) {
  .filter-btn.is-active::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 760px) {
  .filter-bar {
    gap: 16px;
  }
}


/* Restore brand copy on every page */
.brand-copy {
  display: grid;
}

@media (max-width: 760px) {
  .brand-copy small {
    display: block;
  }
}


/* Project detail gallery corner radius */
.case-gallery {
  border-radius: 0;
}

.case-gallery.is-rounded {
  border-radius: 20px;
}

@media (max-width: 900px) {
  .case-gallery.is-rounded {
    border-radius: 14px;
  }
}

.work .section-label::before {
  content: none;
  display: none;
}

.daily-contact {
  gap: 16px;
}


@media (min-width: 901px) {
  .work .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(620px, 0.95fr);
  }

  .work .section-description {
    font-size: 0.88rem;
    line-height: 1.8;
    max-width: 620px;
  }
}


@media (max-width: 900px) {
  .work-description-break {
    display: none;
  }
}
