:root {
  --ink: #1b241f;
  --muted: #68736d;
  --paper: #f7f7f1;
  --surface: #fdfdf9;
  --soft: #edf1e9;
  --line: #d8ded6;
  --accent: #d9f56f;
  --accent-deep: #c6e657;
  --sage: #789264;
  --sage-deep: #587047;
  --dark: #1b241f;
  --dark-soft: #29332c;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 24px 80px rgba(24, 33, 28, 0.11);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html.site-intro-active,
body.site-intro-active {
  overflow: hidden;
  overscroll-behavior: none;
}

body.site-intro-active .site-page,
body.site-intro-active .site-page * {
  transition: none !important;
  animation: none !important;
}

.site-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  min-height: 100svh;
  transform: translateY(0);
  transition: transform .42s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.site-intro-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.site-intro-mark {
  display: none;
  position: relative;
  z-index: 2;
  width: clamp(112px, 18vw, 180px);
  height: auto;
  opacity: 0;
  animation: intro-mark-in 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-intro.is-static .site-intro-video {
  display: none;
}

.site-intro.is-static .site-intro-mark {
  display: block;
}

.site-page {
  min-height: 100svh;
  opacity: 0;
  transform: translateY(16px);
}

body.site-ready .site-page {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.site-intro-active) #main-content {
  opacity: 0;
  transform: translateY(16px);
}

body.site-ready #main-content {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 460ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.site-intro-revealing .site-intro {
  transform: translateY(-100%);
}

body.menu-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
  scroll-margin-top: 112px;
}

#main-content {
  display: flex;
  position: relative;
  isolation: isolate;
  flex-direction: column;
  background:
    radial-gradient(circle at 96% 8%, rgba(217, 245, 111, 0.13), transparent 15%),
    radial-gradient(circle at 4% 23%, rgba(143, 171, 124, 0.11), transparent 16%),
    radial-gradient(circle at 94% 46%, rgba(217, 245, 111, 0.1), transparent 15%),
    radial-gradient(circle at 5% 69%, rgba(143, 171, 124, 0.09), transparent 17%),
    radial-gradient(circle at 92% 90%, rgba(217, 245, 111, 0.08), transparent 14%),
    linear-gradient(
      180deg,
      #f7f7f1 0%,
      #f4f6ef 22%,
      #eef2ea 42%,
      #f3f5ef 62%,
      #edf1e9 82%,
      #f7f7f1 100%
    );
}

#main-content > .section {
  z-index: 1;
  background: transparent;
}

#main-content > .section + .section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--container));
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(112, 132, 105, 0.16) 18%,
    rgba(112, 132, 105, 0.16) 82%,
    transparent
  );
  content: "";
  transform: translateX(-50%);
}

#home {
  order: 0;
}

.theme-title-small .hero h1,
.theme-title-small .section-heading h2 {
  font-size: clamp(34px, 3.25vw, 48px);
}

.theme-title-large .hero h1 {
  font-size: clamp(76px, 8.6vw, 128px);
}

.theme-title-large .section-heading h2 {
  font-size: clamp(42px, 4.3vw, 64px);
}

.theme-spacing-compact .section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.theme-spacing-wide .section {
  padding-top: 150px;
  padding-bottom: 150px;
}

.theme-radius-soft {
  --radius-lg: 22px;
  --radius-md: 16px;
}

.theme-radius-large {
  --radius-lg: 38px;
  --radius-md: 26px;
}

.theme-shadow-none .service-card,
.theme-shadow-none .admin-card,
.theme-shadow-none .portrait-card {
  box-shadow: none;
}

.theme-shadow-medium {
  --shadow: 0 30px 96px rgba(24, 33, 28, 0.15);
}

.theme-no-glow .hero-glow {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(24, 33, 28, 0.08);
  background: rgba(247, 247, 242, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 80px), var(--container));
  min-height: 116px;
  padding-top: 10px;
}

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

.brand-logo {
  display: block;
  width: 92px;
  height: auto;
  opacity: 0;
  transform: translateY(-7px) scale(0.98);
  transform-origin: left center;
  transition:
    filter 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.site-ready .brand-logo {
  animation: brand-mark-in 620ms 80ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 0 8px rgba(217, 245, 111, 0.42));
  transform: translateX(3px) scale(1.025);
}

.site-nav {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  justify-content: flex-end;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mobile-nav-head,
.mobile-nav-footer,
.site-nav-index,
.site-nav-link-icon {
  display: none;
}

.site-nav a {
  position: relative;
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover {
  opacity: 0.72;
  transform: translateY(-2px);
}

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

.site-nav a.is-active:not(.nav-cta) {
  opacity: 1;
}

.site-nav a.is-active:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-cta {
  padding: 11px 20px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  --hero-x: 78%;
  --hero-y: 24%;
  display: flex;
  min-height: 100svh;
  padding-top: 160px;
  padding-bottom: 72px;
  overflow: hidden;
  align-items: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(92, 111, 87, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 111, 87, 0.032) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent 4%, #000 28%, #000 78%, transparent 100%);
  opacity: 0.58;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(217, 245, 111, 0.12);
  content: "";
  filter: blur(8px);
  left: var(--hero-x);
  top: var(--hero-y);
  opacity: 0.72;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    left 700ms cubic-bezier(0.22, 1, 0.36, 1),
    top 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title-main,
.hero .gradient-text,
.hero-lead,
.hero-actions .button {
  opacity: 0;
  transform: translateY(16px);
}

.hero-title-main {
  display: block;
}

body.site-ready .hero-title-main {
  animation: archive-reveal 660ms 120ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.site-ready .hero .gradient-text {
  animation: archive-reveal 700ms 230ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.site-ready .hero-lead {
  animation: archive-reveal 620ms 350ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.site-ready .hero-actions .button:first-child {
  animation: archive-reveal 560ms 450ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.site-ready .hero-actions .button:last-child {
  animation: archive-reveal 560ms 530ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-grid {
  display: flex;
  min-height: calc(100svh - 232px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-copy {
  width: min(100%, 1040px);
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(76px, 8vw, 112px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.04;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

.gradient-text {
  display: block;
  color: transparent;
  background: linear-gradient(105deg, var(--sage-deep) 0%, #91ae63 58%, #607d50 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 720px;
  margin: 42px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  letter-spacing: -0.008em;
  line-height: 1.88;
}

.hero-lead strong {
  color: inherit;
  font-weight: inherit;
}

.hero-lead span {
  display: block;
}

.hero-lead span + span {
  margin-top: 8px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 46px;
  justify-content: center;
}

.button {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
  transform: translate(var(--magnetic-x), var(--magnetic-y));
}

.button:hover {
  box-shadow: 0 12px 30px rgba(24, 33, 28, 0.12);
  transform: translate(var(--magnetic-x), calc(var(--magnetic-y) - 3px));
}

.button > span[aria-hidden="true"] {
  transition: transform 200ms ease;
}

.button:hover > span[aria-hidden="true"] {
  transform: translateX(4px);
}

.button-primary {
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-deep);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.button-secondary:hover {
  border-color: rgba(88, 112, 71, 0.42);
  background: rgba(255, 255, 252, 0.82);
}

.button:active,
.project-filter:active,
.footer-tool-card button:active {
  transform: scale(0.98);
}

.button:focus-visible,
.project-filter:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid rgba(88, 112, 71, 0.72);
  outline-offset: 4px;
}

.button[aria-disabled="true"],
.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.hero-visual {
  --media-x: 0px;
  --media-y: 0px;
  --hero-radius: 34px;
  position: relative;
  transform: translate(var(--media-x), var(--media-y));
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-card {
  position: relative;
  z-index: 2;
  padding: 14px;
  border: 1px solid rgba(24, 33, 28, 0.08);
  border-radius: var(--hero-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 251, 0.92), rgba(242, 246, 237, 0.72));
  box-shadow: 0 24px 74px rgba(24, 33, 28, 0.11);
  transform: rotate(0.35deg);
  backdrop-filter: blur(18px);
  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 500ms ease;
}

.hero-shadow-none .portrait-card {
  box-shadow: none;
}

.hero-shadow-medium .portrait-card {
  box-shadow: 0 34px 96px rgba(24, 33, 28, 0.16);
}

.hero-visual:not(.has-border) .portrait-card,
.hero-visual:not(.has-border) .portrait-media {
  border-color: transparent;
}

.hero-visual:hover .portrait-card {
  box-shadow: 0 34px 90px rgba(24, 33, 28, 0.14);
  transform: rotate(0deg) translateY(-5px);
}

.hero-card-meta {
  display: flex;
  min-height: 42px;
  padding: 0 8px 10px;
  align-items: center;
  justify-content: space-between;
  color: rgba(88, 112, 71, 0.84);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card-meta i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(217, 245, 111, 0.22);
}

.hero-visual:not(.has-accent-dot) .hero-card-meta i {
  display: none;
}

.portrait-media {
  display: grid;
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border-radius: 25px;
  border: 1px solid rgba(24, 33, 28, 0.08);
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 245, 111, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 239, 0.78));
  place-items: center;
  overflow: hidden;
}

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

.hero-ratio-3-4 .portrait-media {
  aspect-ratio: 3 / 4;
}

.showreel-poster,
.showreel-video {
  display: block;
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center;
  transition:
    opacity 300ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-fit-cover .showreel-poster {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fit-natural .showreel-poster {
  width: min(80%, 360px);
  height: auto;
  max-height: 82%;
  object-fit: contain;
}

.hero-position-top .showreel-poster {
  object-position: center top;
}

.hero-position-bottom .showreel-poster {
  object-position: center bottom;
}

.hero-position-left .showreel-poster {
  object-position: left center;
}

.hero-position-right .showreel-poster {
  object-position: right center;
}

.showreel-video {
  z-index: 2;
  background: #fff;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.showreel-card.has-video .showreel-video {
  opacity: 1;
}

.showreel-card.has-video .showreel-poster {
  opacity: 0;
}

.hero-visual:hover .showreel-poster,
.hero-visual:hover .showreel-video {
  transform: scale(1.025);
}

.showreel-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(rgba(24, 33, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 28, 0.045) 1px, transparent 1px);
  background-size: 25% 25%;
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000);
  opacity: 0.7;
  pointer-events: none;
}

.hero-visual:not(.has-grid) .showreel-grid {
  display: none;
}

.hero-corner-mark {
  position: absolute;
  z-index: 4;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.hero-corner-mark::before,
.hero-corner-mark::after {
  content: "";
  position: absolute;
  background: rgba(24, 33, 28, 0.25);
}

.hero-corner-mark::before {
  width: 100%;
  height: 1px;
}

.hero-corner-mark::after {
  width: 1px;
  height: 100%;
}

.hero-corner-mark-one {
  top: 18px;
  left: 18px;
}

.hero-corner-mark-two {
  right: 18px;
  bottom: 18px;
  transform: rotate(180deg);
}

.hero-visual:not(.has-decorations) .hero-corner-mark,
.hero-visual:not(.has-decorations) .floating-note {
  display: none;
}

.portrait-caption {
  display: flex;
  padding: 16px 8px 4px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.portrait-caption strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 820;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 11px 15px;
  border: 1px solid rgba(24, 33, 28, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 251, 0.72);
  box-shadow: 0 12px 32px rgba(24, 33, 28, 0.09);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.note-top {
  top: 52px;
  right: -26px;
  transform: rotate(2deg);
}

.note-bottom {
  bottom: 72px;
  left: -28px;
  color: var(--ink);
  background: rgba(217, 245, 111, 0.82);
  transform: rotate(-2deg);
}

.hero-style-minimal .portrait-card {
  background: rgba(255, 255, 251, 0.72);
}

.hero-style-craft .portrait-card {
  transform: rotate(-0.45deg);
}

.hero-style-soft-glow .portrait-media {
  background:
    radial-gradient(circle at 50% 28%, rgba(217, 245, 111, 0.34), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 252, 0.96), rgba(239, 245, 235, 0.82));
}

.hero-glow {
  display: none;
}

.hero-glow-one {
  top: 140px;
  right: -170px;
  width: 500px;
  height: 500px;
  background: rgba(217, 245, 111, 0.18);
}

.hero-glow-two {
  bottom: -280px;
  left: -250px;
  width: 600px;
  height: 600px;
  background: rgba(143, 171, 124, 0.14);
}

.section-soft {
  border-top: 1px solid rgba(24, 33, 28, 0.06);
  border-bottom: 1px solid rgba(24, 33, 28, 0.06);
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 245, 111, 0.13), transparent 23%),
    var(--soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(72px, 9vw, 132px);
  align-items: start;
}

.section-kicker {
  margin: 0 0 24px;
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 1.16;
  text-wrap: balance;
  line-break: strict;
  overflow-wrap: normal;
  word-break: normal;
}

.section-heading h2 > span,
.contact-heading h2 > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.section-soft .section-heading h2 {
  max-width: 560px;
}

.about-left-panel {
  display: grid;
  width: min(100%, 430px);
  margin-top: 46px;
  gap: 16px;
}

.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.about-keywords span {
  padding: 8px 12px;
  border: 1px solid rgba(112, 132, 105, 0.2);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(255, 255, 252, 0.5);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.about-keywords span:hover {
  background: rgba(217, 245, 111, 0.32);
  transform: translateY(-2px);
}

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

.about-mini-grid div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 18%, rgba(217, 245, 111, 0.24), transparent 35%),
    rgba(255, 255, 252, 0.52);
}

.about-mini-grid strong {
  display: block;
  font-size: 40px;
  font-weight: 720;
  letter-spacing: -0.07em;
  line-height: 1;
}

.about-mini-grid span {
  display: block;
  max-width: 90px;
  margin-top: 12px;
  color: #7a877f;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.about-mini-grid em {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.about-signal-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 252, 0.74), rgba(239, 245, 235, 0.7)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(112, 132, 105, 0.06) 24px 25px);
  align-items: start;
  gap: 14px;
}

.about-signal-card i {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(112, 132, 105, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 5px, transparent 6px),
    rgba(255, 255, 252, 0.72);
}

.about-signal-card p {
  margin: 0;
  color: #59665e;
  font-size: 13px;
  line-height: 1.85;
}

.about-content {
  max-width: 700px;
  padding-top: 52px;
}

.about-content p {
  color: var(--muted);
}

.about-content strong,
.skill-card-content strong {
  color: var(--ink);
  font-weight: 740;
}

.about-content .large-copy {
  margin-top: 0;
  margin-bottom: 50px;
  color: var(--ink);
  font-size: clamp(24px, 2.25vw, 31px);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.62;
}

.about-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: clamp(40px, 6vw, 72px);
  padding-top: 42px;
  border-top: 1px solid rgba(24, 33, 28, 0.14);
}

.about-details > p {
  max-width: 430px;
  margin: 0;
  color: #59665e;
  font-size: 17px;
  line-height: 2.05;
}

.profile-list {
  display: grid;
  margin: 0;
  gap: 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 94px 1fr;
  min-height: 72px;
  padding: 0;
  border-bottom: 1px solid rgba(24, 33, 28, 0.1);
  align-items: center;
  gap: 14px;
}

.profile-list dt {
  color: #7a877f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.profile-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.heading-row {
  display: flex;
  margin-bottom: 64px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.heading-note {
  max-width: 380px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.skills-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 18%, rgba(217, 245, 111, 0.16), transparent 27%),
    radial-gradient(circle at 92% 80%, rgba(170, 194, 145, 0.18), transparent 30%),
    #eef2ea;
  overflow: hidden;
}

.skills-section .section-kicker {
  color: #668146;
}

.skills-section .heading-note {
  color: var(--muted);
}

.skills-section .heading-row {
  border-bottom-color: #ccd4c8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(5, 132px);
  gap: 20px;
  perspective: 1400px;
}

.skill-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  display: flex;
  position: relative;
  min-height: 0;
  padding: 32px;
  border: 1px solid #cdd6ca;
  border-radius: 30px;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(217, 245, 111, 0.12), transparent 32%),
    rgba(253, 253, 249, 0.78);
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  cursor: default;
  outline: none;
  transform:
    perspective(1000px)
    rotateX(var(--rotate-x))
    rotateY(var(--rotate-y));
  transform-style: preserve-3d;
  transition:
    color 380ms cubic-bezier(0.22, 1, 0.36, 1),
    background 380ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 380ms ease,
    opacity 260ms ease,
    transform 220ms ease;
}

.skill-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle 250px at var(--pointer-x) var(--pointer-y),
    rgba(255, 255, 255, 0.6),
    transparent 66%
  );
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.skill-card::after,
.footer-tool-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(88, 112, 71, 0.42);
  border-bottom: 1px solid rgba(88, 112, 71, 0.42);
  content: "";
  opacity: 0.45;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.skill-card:hover::after,
.skill-card.is-hovered::after,
.footer-tool-card:hover::after {
  opacity: 0.9;
  transform: translate(-3px, -3px);
}

.skill-card:hover,
.skill-card.is-hovered {
  border-color: #b9c6b6;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(217, 245, 111, 0.18), transparent 34%),
    rgba(255, 255, 252, 0.94);
  box-shadow:
    0 0 0 1px rgba(184, 207, 114, 0.08),
    0 24px 64px rgba(86, 112, 71, 0.12);
  transform:
    perspective(1000px)
    rotateX(var(--rotate-x))
    rotateY(var(--rotate-y))
    translateY(-4px)
    scale(1.002);
}

.skill-card:hover::before,
.skill-card.is-hovered::before {
  opacity: 0.24;
}

.skill-card-lead {
  grid-column: 1 / 8;
  grid-row: 1 / 4;
}

.skill-card-system {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
}

.skill-card-team {
  grid-column: 8 / 13;
  grid-row: 3 / 6;
}

.skill-card-tools {
  grid-column: 1 / 8;
  grid-row: 4 / 6;
}

.skill-card-top {
  display: flex;
  position: relative;
  z-index: 4;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.card-number {
  display: inline-flex;
  min-width: 52px;
  height: 28px;
  border: 1px solid #abb7a6;
  border-radius: 999px;
  color: #567236;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  transition:
    color 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease;
}

.skill-category {
  color: #78847b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  transition: color 260ms ease;
}

.skill-card:hover .card-number,
.skill-card.is-hovered .card-number {
  border-color: #aabd9f;
  color: var(--sage-deep);
  background: rgba(217, 245, 111, 0.34);
}

.skill-card:hover .skill-category,
.skill-card.is-hovered .skill-category {
  color: var(--sage-deep);
}

.skill-card-content {
  position: relative;
  z-index: 4;
  max-width: 480px;
  margin-top: auto;
}

.skill-card h3 {
  position: relative;
  z-index: 4;
  margin: 0 0 13px;
  font-size: clamp(25px, 2.25vw, 36px);
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.skill-card-content > p {
  position: relative;
  z-index: 4;
  max-width: 450px;
  margin: 0;
  color: #69756d;
  font-size: 13px;
  line-height: 1.8;
}

.skill-card-system .skill-card-content,
.skill-card-team .skill-card-content {
  max-width: 320px;
}

.skill-card-tools .skill-card-content {
  max-width: 330px;
}

.tag-list {
  display: flex;
  position: relative;
  z-index: 4;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  position: static;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid rgba(17, 23, 15, 0.12);
  border-radius: 999px;
  color: #11170f;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  font-size: 9px;
  font-weight: 720;
  text-align: center;
  opacity: 1;
  transform: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.skill-card:hover .tag-list span {
  background: rgba(217, 245, 111, 0.32);
  transform: translateY(-2px);
}

.skill-visual {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.skill-visual-image {
  overflow: hidden;
  border: 1px solid rgba(151, 169, 151, 0.28);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(54, 76, 59, 0.1);
  opacity: 0.78;
  transform: translateZ(8px);
  transition:
    opacity 320ms ease,
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-visual-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skill-card:hover .skill-visual-image,
.skill-card.is-hovered .skill-visual-image {
  opacity: 0.96;
}

.skill-visual-flow {
  top: 62px;
  right: 38px;
  width: 46%;
  height: 150px;
  transform: rotate(1.5deg) translateZ(8px);
}

.skill-card:hover .skill-visual-flow,
.skill-card.is-hovered .skill-visual-flow {
  transform: rotate(-0.5deg) translateY(-4px) translateZ(8px);
}

.skill-visual-system {
  top: 56px;
  right: 28px;
  width: 43%;
  height: 130px;
  transform: rotate(2deg) translateZ(8px);
}

.skill-card:hover .skill-visual-system,
.skill-card.is-hovered .skill-visual-system {
  transform: rotate(0deg) translateY(-3px) translateZ(8px);
}

.skill-visual-team {
  top: 66px;
  right: 34px;
  width: 49%;
  height: 154px;
  transform: rotate(-1.5deg) translateZ(8px);
}

.skill-card:hover .skill-visual-team,
.skill-card.is-hovered .skill-visual-team {
  transform: rotate(0.5deg) translateY(-4px) translateZ(8px);
}

.skill-tools-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.skill-card-tools:hover .skill-tools-backdrop,
.skill-card-tools.is-hovered .skill-tools-backdrop {
  opacity: 0.72;
}

.skill-visual-tools {
  top: 50%;
  right: 34px;
  display: grid;
  width: 240px;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  transform: translateY(-50%);
}

.skill-visual-tools span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-visual-tools img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill-card:hover .skill-visual-tools span {
  transform: translateY(-5px);
}

.skill-card:hover .skill-visual-tools span:nth-child(2) { transition-delay: 35ms; }
.skill-card:hover .skill-visual-tools span:nth-child(3) { transition-delay: 70ms; }
.skill-card:hover .skill-visual-tools span:nth-child(4) { transition-delay: 105ms; }

.section-dark {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 14%, rgba(217, 245, 111, 0.16), transparent 25%),
    linear-gradient(180deg, #f5f6f1, #e9eee5);
}

.section-dark .section-kicker {
  color: #668146;
}

.section-dark .heading-note {
  color: var(--muted);
}

.section-dark .heading-row {
  border-bottom-color: #cdd6ca;
}

.section-dark .heading-row > div {
  max-width: 720px;
}

.section-dark .section-heading h2 {
  max-width: 720px;
  font-size: clamp(38px, 3.8vw, 54px);
  text-wrap: balance;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 24px;
}

.project-card {
  position: relative;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms ease;
}

.project-card:hover {
  filter: drop-shadow(0 22px 34px rgba(24, 33, 28, 0.08));
  transform: translateY(-4px);
}

.project-featured {
  grid-column: 1 / -1;
}

.project-visual {
  display: grid;
  position: relative;
  min-height: clamp(280px, 30vw, 390px);
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: var(--radius-lg);
  place-items: center;
  overflow: hidden;
  color: var(--sage-deep);
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 245, 111, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 252, 0.92), rgba(233, 239, 229, 0.9));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 300ms ease;
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  content: "";
  opacity: 0.42;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.project-visual::before {
  top: 18px;
  left: 18px;
  border-top: 1px solid var(--sage-deep);
  border-left: 1px solid var(--sage-deep);
}

.project-visual::after {
  right: 18px;
  bottom: 18px;
  border-right: 1px solid var(--sage-deep);
  border-bottom: 1px solid var(--sage-deep);
}

.project-visual img {
  display: block;
  width: min(72%, 520px);
  height: min(72%, 320px);
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(24, 33, 28, 0.1));
  transition:
    filter 260ms ease,
    transform 320ms ease;
}

.project-featured .project-visual {
  min-height: clamp(360px, 38vw, 500px);
}

.project-featured .project-visual img {
  width: min(58%, 640px);
  height: min(62%, 360px);
}

.project-card:hover .project-visual {
  border-color: rgba(88, 112, 71, 0.34);
  box-shadow: 0 24px 64px rgba(24, 33, 28, 0.09);
}

.project-card:hover .project-visual::before,
.project-card:hover .project-visual::after {
  opacity: 0.8;
  transform: translate(2px, 2px);
}

.project-card:hover .project-visual img {
  filter: drop-shadow(0 22px 42px rgba(24, 33, 28, 0.14));
  transform: scale(1.025);
}

.project-video-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  padding: 9px 10px 9px 15px;
  border: 1px solid rgba(24, 33, 28, 0.12);
  border-radius: 999px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: rgba(247, 247, 241, 0.9);
  box-shadow: 0 18px 40px rgba(24, 33, 28, 0.16);
  font-style: normal;
  backdrop-filter: blur(14px);
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.project-video-badge span {
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.project-video-badge i {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  place-items: center;
  font-size: 12px;
  font-style: normal;
}

.project-card:hover .project-video-badge {
  background: rgba(255, 255, 252, 0.96);
  transform: translateY(-3px);
}

.visual-one {
  background:
    linear-gradient(120deg, transparent 40%, rgba(217, 255, 87, 0.55)),
    radial-gradient(circle at 30% 50%, #76856f 0, #2c382f 45%, #1c2420 100%);
}

.visual-two {
  background:
    radial-gradient(circle at 70% 25%, #f1c8a9, transparent 25%),
    linear-gradient(145deg, #7a4d3d, #2b1e1c);
}

.visual-three {
  background:
    radial-gradient(circle at 30% 30%, #abbcf7, transparent 28%),
    linear-gradient(130deg, #393d64, #1c2034);
}

.project-info {
  display: flex;
  padding: 25px 5px 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.project-info .project-type,
.project-info h3,
.project-info p {
  transition:
    color 220ms ease,
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-type {
  color: var(--sage-deep);
  transform: translateX(4px);
}

.project-card:hover .project-info h3,
.project-card:hover .project-info p {
  transform: translateY(-2px);
}

.project-type {
  margin: 0 0 8px;
  color: #78857b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.project-info p:last-child {
  max-width: 560px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.project-info > a {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border: 1px solid #b6c0b2;
  border-radius: 50%;
  place-items: center;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.project-info > a:hover {
  color: var(--dark);
  background: var(--accent);
}

.projects-empty {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  min-height: 420px;
  padding: clamp(44px, 5vw, 72px);
  border: 1px solid #c7d0c3;
  border-radius: 30px;
  align-items: center;
  gap: clamp(48px, 6vw, 86px);
  background:
    linear-gradient(rgba(92, 111, 87, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 111, 87, 0.055) 1px, transparent 1px),
    #eef2e9;
  background-size: 42px 42px;
  box-shadow: 0 24px 64px rgba(48, 66, 53, 0.08);
  color: var(--ink);
  overflow: hidden;
}

.empty-mark {
  display: flex;
  min-height: 230px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.construction-sign {
  position: relative;
  width: min(100%, 210px);
  height: 152px;
  transform: rotate(-2deg);
  transition: transform 260ms ease;
}

.projects-empty:hover .construction-sign {
  transform: rotate(1deg) translateY(-4px);
}

.construction-lights,
.construction-legs {
  position: absolute;
  inset-inline: 23px;
  display: flex;
  justify-content: space-between;
}

.construction-lights {
  top: 0;
}

.construction-lights i {
  width: 11px;
  height: 11px;
  border: 3px solid #536450;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(112, 132, 105, 0.12);
}

.construction-board {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  height: 76px;
  border: 5px solid #536450;
  border-radius: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 18px,
    var(--accent) 18px 25px,
    #71836c 25px 43px,
    #71836c 43px 50px
  );
  box-shadow: 0 13px 26px rgba(48, 66, 53, 0.14);
}

.construction-legs {
  top: 87px;
}

.construction-legs i {
  position: relative;
  width: 8px;
  height: 52px;
  border-radius: 0 0 3px 3px;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #536450;
}

.construction-legs i::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 44px;
  height: 8px;
  border: 3px solid #536450;
  border-radius: 4px;
  background: var(--accent);
  content: "";
  transform: translateX(-50%);
}

.construction-status {
  color: #71806f;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1;
}

.projects-empty-copy {
  position: relative;
  z-index: 1;
}

.empty-eyebrow {
  margin: 0 0 18px !important;
  color: #668146 !important;
  font-size: 10px !important;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.3 !important;
}

.projects-empty h3 {
  max-width: none;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.projects-empty-copy > p:not(.empty-eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.empty-link {
  display: inline-flex;
  margin-top: 32px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  align-items: center;
  gap: 24px;
  color: #f7f8f3;
  background: var(--ink);
  font-size: 13px;
  font-weight: 720;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.empty-link:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-2px);
}

.empty-link:focus-visible {
  outline: 2px solid #668146;
  outline-offset: 4px;
}

.experience-section {
  --experience-x: 22%;
  --experience-y: 38%;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle 340px at var(--experience-x) var(--experience-y), rgba(207, 232, 126, 0.14), transparent 68%),
    linear-gradient(180deg, var(--paper), #f0f3ec);
}

.experience-section .section-heading h2 {
  max-width: 540px;
  font-size: clamp(38px, 3.7vw, 52px);
}

.experience-section::after {
  position: absolute;
  top: 12%;
  right: -120px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(102, 129, 70, 0.1);
  border-radius: 50%;
  content: "";
}

.experience-visual {
  position: relative;
  width: min(100%, 340px);
  min-height: 195px;
  margin-top: 54px;
}

.experience-orbit {
  position: absolute;
  top: 4px;
  left: 0;
  width: 180px;
  height: 160px;
  opacity: 0.68;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-orbit span {
  position: absolute;
  border-radius: 50%;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-orbit span:nth-child(1) {
  top: 18px;
  left: 12px;
  width: 145px;
  height: 82px;
  background: linear-gradient(125deg, rgba(217, 245, 111, 0.78), rgba(142, 171, 116, 0.62));
  transform: rotate(28deg);
}

.experience-orbit span:nth-child(2) {
  right: 2px;
  bottom: 8px;
  width: 98px;
  height: 98px;
  border: 21px solid rgba(96, 124, 70, 0.4);
  background: rgba(255, 255, 255, 0.75);
}

.experience-orbit span:nth-child(3) {
  bottom: 16px;
  left: 22px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ink);
  transform: rotate(45deg);
}

.experience-section.has-focus .experience-orbit,
.experience-section:has(.timeline-item:hover) .experience-orbit,
.experience-section:has(.timeline-item:focus) .experience-orbit {
  transform: rotate(12deg) scale(1.06);
}

.experience-section.has-focus .experience-orbit span:nth-child(1),
.experience-section:has(.timeline-item:hover) .experience-orbit span:nth-child(1),
.experience-section:has(.timeline-item:focus) .experience-orbit span:nth-child(1) {
  transform: rotate(48deg) translateX(8px);
}

.experience-section.has-focus .experience-orbit span:nth-child(2),
.experience-section:has(.timeline-item:hover) .experience-orbit span:nth-child(2),
.experience-section:has(.timeline-item:focus) .experience-orbit span:nth-child(2) {
  transform: translate(8px, -8px) rotate(-20deg);
}

.experience-section.has-focus .experience-orbit span:nth-child(3),
.experience-section:has(.timeline-item:hover) .experience-orbit span:nth-child(3),
.experience-section:has(.timeline-item:focus) .experience-orbit span:nth-child(3) {
  transform: rotate(70deg) scale(0.9);
}

.experience-stat {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  padding: 16px 18px;
  border: 1px solid #c4cec0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(24, 33, 28, 0.08);
  align-items: flex-end;
  gap: 13px;
  backdrop-filter: blur(10px);
  transition:
    transform 300ms ease,
    background-color 300ms ease;
}

.experience-section.has-focus .experience-stat,
.experience-section:has(.timeline-item:hover) .experience-stat,
.experience-section:has(.timeline-item:focus) .experience-stat {
  background: #e3efb9;
  transform: translateY(-5px) rotate(-1deg);
}

.experience-stat strong {
  font-size: 44px;
  font-weight: 730;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.experience-stat span {
  color: #718074;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.experience-section.has-focus .experience-stat span,
.experience-section:has(.timeline-item:hover) .experience-stat span,
.experience-section:has(.timeline-item:focus) .experience-stat span {
  color: rgba(24, 33, 28, 0.68);
}

.timeline {
  position: relative;
  padding-top: 4px;
  border-top: 1px solid #aeb8af;
}

.timeline-item {
  display: grid;
  position: relative;
  grid-template-columns: 125px 1fr auto;
  gap: 34px;
  margin: 0 -18px;
  padding: 40px 18px;
  border-bottom: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.timeline-item:hover,
.timeline-item:focus-visible,
.timeline-item:focus {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(24, 33, 28, 0.07);
  transform: translateX(-4px);
}

.timeline-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleY(0.25);
  transition:
    opacity 220ms ease,
    transform 300ms ease;
}

.timeline-item:hover::before,
.timeline-item:focus-visible::before,
.timeline-item:focus::before {
  opacity: 1;
  transform: scaleY(0.68);
}

.timeline-date {
  padding-top: 5px;
  color: #77827b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.timeline-place {
  margin: 7px 0 16px;
  color: #668146;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.timeline-item p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.timeline-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid #c3ccc0;
  border-radius: 50%;
  color: #668146;
  place-items: center;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    background-color 220ms ease;
}

.timeline-item:hover .timeline-arrow,
.timeline-item:focus-visible .timeline-arrow,
.timeline-item:focus .timeline-arrow {
  background: var(--accent);
  opacity: 1;
  transform: translate(0);
}

.timeline-item-muted {
  opacity: 0.72;
}

.services-section {
  background:
    radial-gradient(circle at 12% 14%, rgba(217, 245, 111, 0.13), transparent 25%),
    linear-gradient(180deg, #f7f7f1, #eef2ea);
}

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

.service-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 245, 111, 0.2), transparent 28%),
    rgba(255, 255, 252, 0.68);
  box-shadow: 0 18px 56px rgba(24, 33, 28, 0.06);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.service-card:hover {
  box-shadow: 0 24px 70px rgba(24, 33, 28, 0.1);
  transform: translateY(-5px);
}

.service-card > span,
.process-steps span {
  display: inline-grid;
  min-width: 48px;
  height: 28px;
  margin-bottom: 70px;
  border: 1px solid rgba(112, 132, 105, 0.24);
  border-radius: 999px;
  color: var(--sage-deep);
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3,
.process-steps h3 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.service-card p,
.process-steps p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.process-section {
  background:
    linear-gradient(90deg, rgba(112, 132, 105, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f6f7f1, #f7f7f1);
  background-size: 42px 42px, auto;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(64px, 9vw, 118px);
  align-items: start;
}

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

.process-steps article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 252, 0.68);
  transition:
    border-color 200ms ease,
    transform 220ms ease;
}

.process-steps article:hover {
  border-color: rgba(112, 132, 105, 0.32);
  transform: translateY(-4px);
}

.process-steps span {
  margin-bottom: 42px;
  background: rgba(217, 245, 111, 0.18);
}

.faq-section {
  padding: 140px 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(217, 245, 111, 0.1), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(112, 132, 105, 0.08), transparent 24%),
    var(--paper);
}

.faq-section .container {
  width: min(calc(100% - 56px), 1320px);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(58px, 7vw, 112px);
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 150px;
}

.faq-layout .section-heading h2 {
  max-width: 520px;
}

.faq-topics {
  display: grid;
  margin-top: 0;
  border-top: 0;
  gap: 14px;
}

.faq-topics details {
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.64);
  box-shadow: 0 16px 54px rgba(24, 33, 28, 0.045);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background-color 220ms ease;
}

.faq-topics details:hover {
  border-color: rgba(112, 132, 105, 0.28);
  box-shadow: 0 24px 70px rgba(24, 33, 28, 0.075);
  transform: translateY(-2px);
}

.faq-topics details[open] {
  background:
    radial-gradient(circle at 94% 14%, rgba(217, 245, 111, 0.22), transparent 26%),
    rgba(255, 255, 252, 0.82);
}

.faq-topics summary {
  grid-template-columns: minmax(0, 1fr) 34px;
  min-height: 86px;
  padding: 26px 28px;
  font-size: 18px;
  letter-spacing: -0.02em;
  gap: 28px;
}

.faq-topics summary:hover {
  padding-left: 32px;
}

.faq-topics summary i {
  width: 34px;
  height: 34px;
  background: rgba(247, 247, 241, 0.72);
}

.faq-topics summary i::before,
.faq-topics summary i::after {
  width: 10px;
}

.faq-topics details > p {
  max-width: 720px;
  margin: -4px 74px 30px 28px;
  color: #65706a;
  font-size: 15px;
  line-height: 1.95;
}

.theme-faq-line .faq-topics {
  gap: 0;
  border-top: 1px solid #aeb8af;
}

.theme-faq-line .faq-topics details {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.theme-faq-card .faq-topics details {
  border-radius: 32px;
  background: rgba(255, 255, 252, 0.78);
}

.contact-section {
  padding: 132px 0 118px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 88%, rgba(217, 245, 111, 0.12), transparent 24%),
    var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(72px, 11vw, 150px);
  align-items: start;
}

.contact-heading {
  position: sticky;
  top: 156px;
}

.contact-heading h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.16;
  text-wrap: balance;
  line-break: strict;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-heading > p:last-child {
  max-width: 540px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.contact-content {
  padding-top: 8px;
}

.contact-intro {
  max-width: 570px;
  margin-bottom: 52px;
}

.contact-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.contact-topics {
  border-top: 1px solid #aeb8af;
}

.contact-topics details {
  border-bottom: 1px solid var(--line);
}

.contact-topics summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  min-height: 72px;
  padding: 22px 2px;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 690;
  transition:
    color 180ms ease,
    padding 220ms ease;
}

.contact-topics summary::-webkit-details-marker {
  display: none;
}

.contact-topics summary:hover {
  padding-left: 10px;
  color: var(--sage-deep);
}

.contact-topics summary i {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid #c8d0c6;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 220ms ease;
}

.contact-topics summary i::before,
.contact-topics summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.contact-topics summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 220ms ease;
}

.contact-topics details[open] summary i {
  border-color: #b6c879;
  background: var(--accent);
  transform: rotate(90deg);
}

.contact-topics details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.contact-topics details > p {
  max-width: 540px;
  margin: -4px 48px 24px 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-topics details > p {
  max-width: 720px;
  margin: -4px 74px 30px 28px;
  font-size: 15px;
}

.faq-topics.contact-topics {
  display: grid;
  border-top: 0;
  gap: 14px;
}

.faq-topics.contact-topics details {
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.64);
  box-shadow: 0 16px 54px rgba(24, 33, 28, 0.045);
  overflow: hidden;
}

.faq-topics.contact-topics details:hover {
  border-color: rgba(112, 132, 105, 0.28);
  box-shadow: 0 24px 70px rgba(24, 33, 28, 0.075);
  transform: translateY(-2px);
}

.faq-topics.contact-topics details[open] {
  background:
    radial-gradient(circle at 94% 14%, rgba(217, 245, 111, 0.22), transparent 26%),
    rgba(255, 255, 252, 0.82);
}

.faq-topics.contact-topics summary {
  grid-template-columns: minmax(0, 1fr) 34px;
  min-height: 86px;
  padding: 26px 28px;
  font-size: 18px;
  letter-spacing: -0.02em;
  gap: 28px;
}

.faq-topics.contact-topics summary:hover {
  padding-left: 32px;
}

.faq-topics.contact-topics summary i {
  width: 34px;
  height: 34px;
  background: rgba(247, 247, 241, 0.72);
}

.faq-topics.contact-topics details > p {
  max-width: 720px;
  margin: -4px 74px 30px 28px;
  color: #65706a;
  font-size: 15px;
  line-height: 1.95;
}

.theme-faq-line .faq-topics.contact-topics {
  gap: 0;
  border-top: 1px solid #aeb8af;
}

.theme-faq-line .faq-topics.contact-topics details {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.theme-faq-card .faq-topics.contact-topics details {
  border-radius: 32px;
  background: rgba(255, 255, 252, 0.78);
}

.contact-email {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 42px;
  margin-top: 58px;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 18px;
  transition:
    color 180ms ease,
    background-color 220ms ease;
}

.contact-email > span {
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-email strong {
  min-width: 0;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-email i {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid #b9ca79;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(217, 245, 111, 0.62);
  place-items: center;
  font-size: 15px;
  font-style: normal;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.contact-email:hover {
  color: var(--sage-deep);
  background: linear-gradient(90deg, transparent, rgba(217, 245, 111, 0.1));
}

.contact-email:hover i {
  border-color: var(--accent-deep);
  background: var(--accent);
  transform: translate(2px, -2px);
}

.project-filters {
  display: flex;
  margin: -24px 0 42px;
  flex-wrap: wrap;
  gap: 10px;
}

.project-filter {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #c4cec0;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.project-filter:hover,
.project-filter.is-active {
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-2px);
}

.project-card[hidden] {
  display: none;
}

.video-strip {
  margin-top: 92px;
  padding-top: 42px;
  border-top: 1px solid #cdd6ca;
}

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

.video-card {
  display: flex;
  min-height: 210px;
  padding: 26px;
  border: 1px solid #c4cec0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 20%, rgba(217, 245, 111, 0.32), transparent 32%),
    rgba(255, 255, 252, 0.75);
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.video-card:hover {
  box-shadow: 0 24px 60px rgba(24, 33, 28, 0.12);
  transform: translateY(-5px);
}

.video-card span,
.video-card i {
  color: var(--sage-deep);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-card strong {
  max-width: 320px;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.project-detail {
  padding-top: 132px;
  background:
    radial-gradient(circle at 15% 12%, rgba(217, 245, 111, 0.16), transparent 25%),
    radial-gradient(circle at 86% 22%, rgba(120, 146, 100, 0.09), transparent 28%),
    var(--paper);
  overflow: hidden;
}

.project-back {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.project-back:hover {
  color: var(--ink);
  transform: translateX(-4px);
}

.project-hero {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.76fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
}

.project-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.project-hero > p:not(.section-kicker) {
  display: none;
}

.project-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.9;
}

.project-quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  margin-top: 34px;
  border-top: 1px solid rgba(24, 33, 28, 0.12);
  border-bottom: 1px solid rgba(24, 33, 28, 0.12);
}

.project-quick-info span {
  display: grid;
  min-height: 82px;
  padding: 16px 18px 16px 0;
  align-content: center;
  gap: 5px;
}

.project-quick-info span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(24, 33, 28, 0.1);
}

.project-quick-info small {
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.project-quick-info strong {
  font-size: 15px;
  line-height: 1.35;
}

.project-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.project-tags {
  margin-top: 28px;
}

.project-hero-card {
  display: grid;
  position: relative;
  min-height: clamp(320px, 32vw, 440px);
  margin: 0;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid #cdd6ca;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 16%, rgba(217, 245, 111, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 252, 0.98), rgba(233, 240, 228, 0.9));
  place-items: center;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(24, 33, 28, 0.1);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.project-hero-card:hover {
  box-shadow: 0 34px 100px rgba(24, 33, 28, 0.14);
  transform: translateY(-5px);
}

.project-hero-card::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(24, 33, 28, 0.06);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.project-card-label {
  position: absolute;
  top: 28px;
  left: 30px;
  z-index: 2;
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 840;
  letter-spacing: 0.14em;
}

.project-hero-card img {
  display: block;
  z-index: 1;
  width: min(54%, 330px);
  height: min(54%, 230px);
  object-fit: contain;
  filter: drop-shadow(0 20px 38px rgba(24, 33, 28, 0.13));
  transition: transform 300ms ease;
}

.project-hero-card:hover img {
  transform: scale(1.035) rotate(-0.4deg);
}

.project-hero-card > strong {
  z-index: 1;
  max-width: 360px;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-align: center;
}

.project-play-chip {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  padding: 9px 15px 9px 9px;
  border: 1px solid rgba(24, 33, 28, 0.12);
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  background: rgba(247, 247, 241, 0.92);
  box-shadow: 0 18px 45px rgba(24, 33, 28, 0.13);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease;
}

.project-play-chip:hover {
  transform: translateY(-3px);
}

.project-play-chip i {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  place-items: center;
  font-size: 12px;
  font-style: normal;
}

.project-orbit {
  position: absolute;
  border: 1px solid rgba(88, 112, 71, 0.22);
  border-radius: 999px;
  pointer-events: none;
}

.project-orbit-one {
  right: -70px;
  top: 84px;
  width: 190px;
  height: 82px;
  transform: rotate(-22deg);
}

.project-orbit-two {
  left: -48px;
  bottom: 66px;
  width: 130px;
  height: 130px;
  background: rgba(217, 245, 111, 0.18);
}

.project-cover {
  display: grid;
  min-height: clamp(300px, 34vw, 480px);
  margin: 58px 0 0;
  border: 1px solid #cdd6ca;
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 245, 111, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 252, 0.95), rgba(235, 241, 231, 0.9));
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-cover img {
  display: block;
  width: min(62%, 720px);
  height: min(70%, 360px);
  object-fit: contain;
  filter: drop-shadow(0 22px 44px rgba(24, 33, 28, 0.12));
}

.gallery-grid img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.project-body {
  display: grid;
  margin-top: 72px;
  gap: 72px;
}

.project-description {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.project-description h2,
.project-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.project-description p {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.project-video,
.project-gallery {
  display: grid;
  gap: 30px;
}

.project-video {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid #cdd6ca;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 245, 111, 0.22), transparent 30%),
    rgba(255, 255, 252, 0.66);
  box-shadow: 0 24px 76px rgba(24, 33, 28, 0.07);
}

.project-video .project-section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: end;
}

.project-video .project-section-head h2 {
  margin-bottom: 0;
}

.project-section-head > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.video-embed {
  position: relative;
  width: min(100%, 1040px);
  margin-inline: auto;
  border: 1px solid #c4cec0;
  border-radius: 26px;
  background: #111914;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 70px rgba(24, 33, 28, 0.14);
}

.video-embed iframe,
.video-embed video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-study {
  display: grid;
  position: relative;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid #cdd6ca;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 14%, rgba(217, 245, 111, 0.16), transparent 28%),
    rgba(255, 255, 252, 0.72);
  gap: clamp(34px, 5vw, 58px);
  overflow: hidden;
  box-shadow: 0 24px 76px rgba(24, 33, 28, 0.06);
}

.case-study::before {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  top: clamp(24px, 5vw, 58px);
  width: clamp(110px, 16vw, 210px);
  height: clamp(110px, 16vw, 210px);
  border: 1px solid rgba(88, 112, 71, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 245, 111, 0.2), transparent 62%);
  content: "";
  pointer-events: none;
}

.case-study::after {
  position: absolute;
  right: clamp(70px, 15vw, 210px);
  top: clamp(86px, 12vw, 160px);
  width: clamp(96px, 12vw, 160px);
  height: 1px;
  background: rgba(88, 112, 71, 0.18);
  content: "";
  transform: rotate(-18deg);
  pointer-events: none;
}

.case-study-heading {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: end;
}

.case-study-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.case-study-heading > p:last-child {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.case-story-list {
  display: grid;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(24, 33, 28, 0.12);
}

.case-story-item {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 62px);
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid rgba(24, 33, 28, 0.1);
  transition:
    padding-left 220ms ease,
    background-color 220ms ease;
}

.case-story-item:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(217, 245, 111, 0.12), transparent 48%);
}

.case-story-item > span {
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.14em;
}

.case-story-item h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.case-story-item p {
  max-width: 620px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.case-story-item p:last-child {
  margin-bottom: 0;
}

.case-image-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-image-grid figure {
  margin: 0;
  border: 1px solid #cdd6ca;
  border-radius: 24px;
  background: rgba(247, 247, 241, 0.8);
  overflow: hidden;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.case-image-grid figure:hover {
  box-shadow: 0 24px 60px rgba(24, 33, 28, 0.11);
  transform: translateY(-4px);
}

.case-image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-image-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.case-process-placeholders {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.case-process-placeholders span {
  display: grid;
  min-height: 120px;
  border: 1px solid rgba(88, 112, 71, 0.2);
  border-radius: 22px;
  color: var(--sage-deep);
  background:
    radial-gradient(circle at 72% 26%, rgba(217, 245, 111, 0.22), transparent 34%),
    rgba(247, 247, 241, 0.72);
  place-items: center;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.case-process-placeholders span:nth-child(even) {
  margin-top: 28px;
}

.case-process-placeholders span:hover {
  background-color: rgba(217, 245, 111, 0.24);
  transform: translateY(-5px);
}

.video-fallback-link {
  display: grid;
  width: 100%;
  height: 100%;
  color: var(--paper);
  place-items: center;
  font-size: 18px;
  font-weight: 760;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid img {
  border: 1px solid #c4cec0;
  border-radius: 26px;
  background: var(--surface);
}

.project-neighbors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 96px;
  gap: 18px;
}

.project-neighbors a {
  display: grid;
  min-height: 150px;
  padding: 28px;
  border: 1px solid #c4cec0;
  border-radius: 26px;
  background: rgba(255, 255, 252, 0.72);
  align-content: space-between;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.project-neighbors a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.project-neighbors span {
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-neighbors strong {
  font-size: 24px;
  letter-spacing: -0.035em;
}

.admin-body {
  min-height: 100vh;
  background: #eef2ea;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  width: 250px;
  padding: 26px 22px;
  border-right: 1px solid #cdd6ca;
  background: rgba(247, 247, 241, 0.92);
  flex-direction: column;
  gap: 28px;
  backdrop-filter: blur(18px);
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 820;
}

.admin-logo img,
.admin-login-card img {
  width: 52px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-sidebar form button {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 16px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover,
.admin-sidebar form button:hover {
  color: var(--ink);
  background: rgba(217, 245, 111, 0.55);
}

.admin-sidebar nav a:hover,
.admin-sidebar form button:hover {
  transform: translateY(-1px);
}

.admin-sidebar nav a:active,
.admin-sidebar form button:active {
  transform: translateY(0) scale(0.985);
}

.admin-sidebar nav a:focus-visible,
.admin-sidebar form button:focus-visible {
  outline: 2px solid rgba(112, 132, 105, 0.48);
  outline-offset: 3px;
}

.admin-sidebar nav a.is-active {
  box-shadow: inset 0 0 0 1px rgba(112, 132, 105, 0.08);
}

.admin-sidebar form {
  margin-top: auto;
}

.admin-main {
  box-sizing: border-box;
  width: calc(100% - 250px);
  min-height: 100vh;
  margin-left: 250px;
  padding: 52px clamp(28px, 5vw, 88px) 88px;
}

.admin-main > * {
  box-sizing: border-box;
  width: min(100%, 1220px);
  margin-right: auto;
  margin-left: auto;
}

.admin-title {
  display: flex;
  margin-bottom: 32px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-title h1,
.admin-login h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.admin-card,
.admin-form,
.admin-table-wrap,
.admin-login-card {
  border: 1px solid #cdd6ca;
  border-radius: 28px;
  background: rgba(255, 255, 252, 0.78);
  box-shadow: 0 24px 70px rgba(24, 33, 28, 0.08);
}

.admin-card,
.admin-form {
  padding: 28px;
}

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

.admin-case-fields {
  display: grid;
  padding: 24px;
  border: 1px solid #cdd6ca;
  border-radius: 24px;
  background: rgba(247, 247, 241, 0.6);
  gap: 18px;
}

.admin-case-fields h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.admin-case-fields > div > p:last-child {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-settings-form {
  max-width: 820px;
}

.admin-settings-form h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.admin-settings-form > div:first-child p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-content-form {
  gap: 26px;
}

.admin-form-section {
  display: grid;
  padding: 24px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 245, 111, 0.14), transparent 32%),
    rgba(247, 249, 242, 0.58);
  gap: 18px;
}

.admin-form-section h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.038em;
}

.admin-form-section > div:first-child > p:last-child {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-upload-preview {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 252, 0.68);
}

.admin-upload-preview img {
  width: 110px;
  height: 86px;
  padding: 8px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 16px;
  background: var(--surface);
  object-fit: contain;
}

.admin-hero-preview img {
  height: 128px;
}

.admin-check-row {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.admin-check-row input,
.admin-check-grid input {
  width: auto;
  min-height: auto;
}

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

.admin-check-grid label {
  display: flex;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 252, 0.62);
  align-items: center;
  gap: 8px;
}

.admin-design-window {
  display: grid;
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 10%, rgba(217, 245, 111, 0.18), transparent 30%),
    rgba(255, 255, 252, 0.54);
  gap: 16px;
}

.admin-design-window h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.admin-design-window > div:first-child > p:last-child {
  max-width: 560px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

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

.admin-switch-card {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1fr) 42px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 252, 0.7);
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.admin-switch-card:hover {
  border-color: rgba(112, 132, 105, 0.32);
  box-shadow: 0 12px 34px rgba(24, 33, 28, 0.06);
  transform: translateY(-2px);
}

.admin-switch-card:active {
  transform: translateY(0) scale(0.99);
}

.admin-switch-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-switch-card input:focus-visible ~ i {
  outline: 2px solid rgba(112, 132, 105, 0.45);
  outline-offset: 3px;
}

.switch-copy {
  display: grid;
  gap: 5px;
}

.switch-copy strong {
  font-size: 14px;
  font-weight: 780;
}

.switch-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.admin-switch-card i {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  border: 1px solid rgba(112, 132, 105, 0.22);
  border-radius: 999px;
  background: #eef2ea;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.admin-switch-card i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(24, 33, 28, 0.13);
  content: "";
  transition: transform 180ms ease;
}

.admin-switch-card input:checked ~ i {
  border-color: rgba(156, 187, 63, 0.7);
  background: var(--accent);
}

.admin-switch-card input:checked ~ i::after {
  transform: translateX(18px);
}

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

.admin-inline-editor,
.admin-faq-editor {
  display: grid;
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 252, 0.54);
  gap: 14px;
}

.admin-inline-editor h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.admin-inline-editor > div:first-child > p:last-child {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-metric-editor {
  display: grid;
  gap: 12px;
}

.admin-metric-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.admin-faq-editor {
  background:
    radial-gradient(circle at 96% 8%, rgba(217, 245, 111, 0.15), transparent 28%),
    rgba(255, 255, 252, 0.5);
}

.admin-faq-row {
  display: grid;
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 18px;
  background: rgba(247, 249, 242, 0.58);
  gap: 12px;
}

.admin-faq-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-faq-row-head strong {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.admin-mini-check {
  display: inline-flex !important;
  width: auto;
  align-items: center;
  flex-direction: row !important;
  gap: 8px;
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 760;
}

.admin-mini-check input {
  width: auto;
  min-height: auto;
  accent-color: var(--accent-deep);
}

.admin-reset-form {
  margin-top: 18px;
  text-align: right;
}

.admin-reset-form button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.admin-reset-form button:hover {
  color: var(--ink);
  text-decoration: underline;
}

.admin-form.compact {
  margin-bottom: 28px;
}

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

.admin-form label,
.admin-login label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login input,
.admin-table input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #c4cec0;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 14px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-checks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table-wrap.inline {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: auto;
}

.admin-table th,
.admin-table td {
  padding: 18px;
  border-bottom: 1px solid #dde4da;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--sage-deep);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-actions button,
.admin-actions a {
  border: 0;
  color: var(--sage-deep);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.admin-notice,
.admin-error {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 720;
}

.admin-notice {
  color: #47643a;
  background: rgba(217, 245, 111, 0.38);
}

.admin-error {
  color: #8f2f2f;
  background: rgba(255, 205, 205, 0.55);
}

.admin-login {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
}

.admin-login-card {
  display: grid;
  width: min(100%, 430px);
  padding: 34px;
  gap: 18px;
}

.admin-remember-login {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.admin-remember-login input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
  padding: 0;
  accent-color: var(--accent-deep);
}

.admin-remember-login small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.45;
}

.analytics-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 24px;
  gap: 18px;
}

.analytics-cards article {
  padding: 26px;
  border: 1px solid #cdd6ca;
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.78);
}

.analytics-cards span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.analytics-cards strong {
  display: block;
  margin-top: 10px;
  font-size: 42px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
  gap: 18px;
}

.analytics-ip-bot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  width: min(100%, 1220px);
  margin: 0 auto 24px;
  gap: 18px;
  align-items: stretch;
}

.ip-ranking-card,
.bot-ranking-card {
  min-height: 352px;
}

.ip-ranking-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
}

.ip-ranking-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.ip-ranking-head .section-kicker {
  margin-bottom: 8px;
}

.ip-ranking-head h2 {
  margin-bottom: 0;
}

.ip-ranking-head > p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  text-align: right;
}

.ip-rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ip-ranking-card.is-loading .ip-rank-grid {
  opacity: 0.38;
  transform: translateY(3px);
}

.ip-rank-item {
  display: grid;
  min-height: 122px;
  padding: 15px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 18px;
  background: rgba(247, 249, 242, 0.7);
  align-content: start;
  gap: 6px;
}

.ip-rank-item-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.ip-rank-item-head strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.ip-rank-item-head span,
.pagination-page {
  display: inline-flex;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  align-items: center;
  color: #47643a;
  background: rgba(217, 245, 111, 0.45);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ip-rank-item p,
.ip-rank-item small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ip-rank-item small.is-human {
  color: #47643a;
}

.ip-rank-item small.is-bot {
  color: #79512d;
}

.analytics-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(112, 132, 105, 0.28);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.pagination-controls {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pagination-controls .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.pagination-controls .button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  transform: none;
}

.analytics-control {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.analytics-control p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.analytics-control p + p {
  margin-top: 10px;
}

.analytics-control strong {
  color: var(--ink);
}

.analytics-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.analytics-actions form {
  margin: 0;
}

.analytics-table {
  min-width: 1320px;
  table-layout: fixed;
}

.analytics-table th,
.analytics-table td {
  padding: 16px 14px;
}

.analytics-table th:nth-child(1),
.analytics-table td:nth-child(1) {
  width: 150px;
}

.analytics-table th:nth-child(2),
.analytics-table td:nth-child(2) {
  width: 110px;
}

.analytics-table th:nth-child(3),
.analytics-table td:nth-child(3) {
  width: 120px;
}

.analytics-table th:nth-child(4),
.analytics-table td:nth-child(4) {
  width: 150px;
}

.analytics-table th:nth-child(5),
.analytics-table td:nth-child(5) {
  width: 140px;
}

.analytics-table th:nth-child(6),
.analytics-table td:nth-child(6) {
  width: 140px;
}

.analytics-table th:nth-child(7),
.analytics-table td:nth-child(7),
.analytics-table th:nth-child(8),
.analytics-table td:nth-child(8),
.analytics-table th:nth-child(9),
.analytics-table td:nth-child(9) {
  width: 120px;
}

.analytics-table th:nth-child(10),
.analytics-table td:nth-child(10) {
  width: 210px;
}

.analytics-table td {
  overflow-wrap: anywhere;
}

.table-chip {
  display: inline-flex;
  max-width: 100%;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  align-items: center;
  color: var(--ink);
  background: rgba(237, 241, 233, 0.9);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

.analytics-danger-zone {
  display: flex;
  margin-top: 24px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  border-color: rgba(143, 47, 47, 0.22);
}

.analytics-danger-zone p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.analytics-danger-zone form {
  display: grid;
  min-width: min(100%, 360px);
  gap: 14px;
}

.danger-button {
  color: #8f2f2f;
  border-color: rgba(143, 47, 47, 0.22);
}

.admin-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

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

.rank-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.rank-list strong {
  color: var(--ink);
}

.rich-rank-list li {
  align-items: flex-start;
}

.rich-rank-list span {
  display: grid;
  gap: 4px;
}

.rich-rank-list span strong {
  font-size: 15px;
}

.rich-rank-list small,
.admin-table td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.visit-badge {
  display: inline-flex;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.visit-badge.is-human {
  color: #47643a;
  background: rgba(217, 245, 111, 0.36);
}

.visit-badge.is-bot {
  color: #79512d;
  background: rgba(255, 219, 155, 0.5);
}

.footer-tool-title p {
  margin: 0;
  color: var(--olive);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.footer-tool-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(112, 132, 105, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 12%, rgba(217, 245, 111, 0.26), transparent 34%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 60px rgba(34, 45, 36, 0.07);
  transition:
    border-color 200ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-tool-card:hover {
  border-color: rgba(112, 132, 105, 0.36);
  box-shadow: 0 30px 72px rgba(34, 45, 36, 0.1);
  transform: translateY(-2px);
}

.footer-tool-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-tool-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}

.footer-tool-desc {
  max-width: 460px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.footer-tool-form,
.memo-form {
  display: grid;
  gap: 12px;
}

.footer-tool-form label,
.memo-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.footer-tool-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.footer-tool-card input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(112, 132, 105, 0.28);
  border-radius: 16px;
  outline: 0;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  font: inherit;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.footer-tool-card input:focus {
  border-color: rgba(112, 132, 105, 0.62);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(217, 245, 111, 0.22);
}

.footer-tool-card button,
.memo-admin-gate a {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.footer-tool-card button:hover,
.memo-admin-gate a:hover {
  transform: translateY(-1px);
  background: #2e3a31;
}

.footer-tool-card button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.footer-tool-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-tool-status.is-error {
  color: #8a4b36;
}

.ip-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.ip-result[hidden] {
  display: none;
}

.ip-result div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 16px;
  background: rgba(247, 249, 242, 0.7);
}

.ip-result dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ip-result dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.memo-admin-gate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 20px;
  background: rgba(247, 249, 242, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.memo-admin-gate[hidden],
.memo-form[hidden],
.memo-actions[hidden] {
  display: none;
}

.memo-admin-gate a {
  min-height: 38px;
  padding: 0 15px;
  font-size: 12px;
  text-decoration: none;
}

.memo-form {
  margin: 20px 0 30px;
  padding: 20px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 22px;
  background: rgba(250, 251, 246, 0.66);
}

.memo-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.memo-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.memo-form-actions button[data-memo-cancel],
.memo-actions button,
.memo-action {
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.memo-form-actions button[data-memo-cancel]:hover,
.memo-actions button:hover,
.memo-action:hover {
  border-color: rgba(112, 132, 105, 0.34);
  background: rgba(217, 245, 111, 0.32);
  transform: translateY(-1px);
}

.memo-form-actions button[data-memo-cancel]:active,
.memo-actions button:active,
.memo-action:active {
  transform: translateY(0) scale(0.98);
}

.memo-form-actions button:focus-visible,
.memo-actions button:focus-visible,
.memo-action:focus-visible,
.memo-filter-group button:focus-visible,
.admin-memo-card .memo-form-actions button[type="submit"]:focus-visible {
  outline: 2px solid rgba(112, 132, 105, 0.48);
  outline-offset: 3px;
}

.memo-form-actions button:disabled,
.memo-actions button:disabled,
.memo-action:disabled,
.memo-filter-group button:disabled,
.admin-memo-card .memo-form-actions button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.memo-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.memo-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(112, 132, 105, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.memo-item.is-done {
  background: rgba(247, 249, 242, 0.58);
}

.memo-item.is-done .memo-text {
  color: rgba(106, 120, 113, 0.76);
  text-decoration: line-through;
}

.memo-text {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.55;
}

.memo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.memo-meta span {
  display: inline-flex;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(112, 132, 105, 0.14);
  border-radius: 999px;
  align-items: center;
  color: var(--muted);
  background: rgba(250, 251, 246, 0.72);
  font-size: 11px;
  font-weight: 760;
}

.memo-item-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.memo-action {
  min-width: 62px;
  font-size: 12px;
}

.memo-toast {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 16px;
  background: rgba(217, 245, 111, 0.24);
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.memo-toast[data-type="error"] {
  border-color: rgba(138, 75, 54, 0.25);
  background: rgba(255, 229, 218, 0.55);
  color: #8a4b36;
}

.memo-toast[hidden] {
  display: none;
}

.memo-reminder-box {
  display: grid;
  gap: 14px;
  margin: 4px 0;
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.17);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.memo-reminder-box legend {
  padding: 0 8px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.memo-reminder-toggle {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  width: fit-content;
  align-items: center;
  gap: 10px !important;
}

.memo-reminder-toggle input {
  width: 18px !important;
  min-height: 18px !important;
}

.memo-list-panel {
  padding-top: 24px;
  border-top: 1px solid rgba(112, 132, 105, 0.18);
}

.admin-memo-list-card {
  max-width: 1080px;
}

.memo-list-panel-standalone {
  padding-top: 0;
  border-top: 0;
}

.memo-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.memo-list-head h3 {
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.045em;
}

.memo-list-head p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.memo-filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.memo-filter-group button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(112, 132, 105, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.memo-filter-group button.is-active {
  border-color: transparent;
  background: var(--accent);
  color: var(--ink);
}

.memo-filter-group button:hover {
  border-color: rgba(112, 132, 105, 0.34);
  color: var(--ink);
  transform: translateY(-1px);
}

.memo-filter-group button.is-active:hover {
  background: #d7f25f;
}

.memo-filter-group button:active {
  transform: translateY(0) scale(0.98);
}

.memo-meta .memo-meta-error {
  color: #8a4b36;
  background: rgba(255, 229, 218, 0.58);
}

.memo-empty {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.memo-empty[hidden] {
  display: none;
}

.memo-actions {
  margin-top: 14px;
}

.site-footer {
  padding: 64px 0 38px;
  background:
    radial-gradient(circle at 84% 16%, rgba(217, 245, 111, 0.12), transparent 24%),
    var(--paper);
}

.footer-inner {
  display: grid;
  padding: 34px 36px 24px;
  border: 1px solid rgba(112, 132, 105, 0.2);
  border-radius: 28px;
  color: var(--muted);
  background:
    linear-gradient(rgba(92, 111, 87, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 111, 87, 0.025) 1px, transparent 1px),
    rgba(255, 255, 252, 0.66);
  background-size: 36px 36px;
  box-shadow: 0 18px 50px rgba(35, 48, 39, 0.05);
  gap: 28px;
}

.footer-main,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand img {
  width: clamp(108px, 10vw, 132px);
  height: auto;
}

.footer-brand-message {
  display: grid;
  gap: 5px;
}

.footer-brand-message span {
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.footer-brand-message strong {
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.footer-meta {
  padding-top: 20px;
  border-top: 1px solid rgba(112, 132, 105, 0.18);
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-brand p,
.footer-copy p {
  margin: 0;
}

.footer-copy p {
  color: #58645e;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4f5c55;
  font-size: 14px;
  font-weight: 620;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-underline-offset: 4px;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

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

.filing-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(112, 132, 105, 0.22);
  border-radius: 999px;
  color: #58645e;
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 620;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.filing-links a::before {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent-deep);
  content: "";
}

.filing-links a:hover {
  border-color: rgba(112, 132, 105, 0.42);
  color: var(--ink);
  background: rgba(217, 245, 111, 0.18);
}

.back-to-top {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.back-to-top i {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid #c4cec1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  place-items: center;
  font-size: 18px;
  font-style: normal;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top:hover i {
  border-color: #b6c879;
  background: var(--accent);
  transform: translateY(-4px);
}

.utility-page {
  padding-top: 154px;
}

.utility-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.utility-layout-single {
  grid-template-columns: minmax(0, 760px);
}

.utility-page-heading {
  position: sticky;
  top: 128px;
}

.utility-page-heading h1 {
  max-width: 680px;
  margin: 30px 0 22px;
  color: var(--ink);
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.utility-page-heading p:not(.section-kicker) {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.9;
}

.utility-card {
  min-height: 360px;
}

.admin-memo-card {
  max-width: 920px;
}

.admin-memo-card .memo-form input,
.admin-memo-card .memo-form select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #c4cec0;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 14px;
}

.admin-memo-card .memo-form-actions button[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(24, 33, 28, 0.16);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.admin-memo-card .memo-form-actions button[type="submit"]:hover {
  background: #2c372f;
  transform: translateY(-1px);
}

.admin-memo-card .memo-form-actions button[type="submit"]:active {
  transform: translateY(0) scale(0.98);
}

.reveal {
  opacity: 0;
  transition:
    opacity 650ms ease,
    transform 650ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal:not(.skill-card) {
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
}

.reveal.is-visible:not(.skill-card) {
  transform: translateY(0);
}

.reveal-item {
  transform: translateY(22px) scale(0.992);
}

.reveal-item.is-visible {
  transform: translateY(0) scale(1);
}

.section-heading.reveal {
  opacity: 1;
  transform: none;
}

.section-heading.reveal .section-kicker,
.section-heading.reveal h2,
.section-heading.reveal .heading-note {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 560ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-heading.reveal h2 {
  transition-delay: 90ms;
}

.section-heading.reveal .heading-note {
  transition-delay: 170ms;
}

.section-heading.reveal.is-visible .section-kicker,
.section-heading.reveal.is-visible h2,
.section-heading.reveal.is-visible .heading-note {
  opacity: 1;
  transform: translateY(0);
}

.heading-row {
  position: relative;
  border-bottom-color: transparent;
}

.heading-row::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 720ms 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.heading-row.is-visible::after {
  transform: scaleX(1);
}

#main-content > .section[data-archive-index]::after {
  position: absolute;
  top: clamp(72px, 7vw, 112px);
  right: max(24px, calc((100vw - var(--container)) / 2));
  z-index: -1;
  border: 0;
  color: rgba(88, 112, 71, 0.028);
  content: attr(data-archive-index);
  font-size: clamp(128px, 16vw, 230px);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.8;
  pointer-events: none;
}

@keyframes intro-mark-in {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes brand-mark-in {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .skill-card {
    --rotate-x: 0deg !important;
    --rotate-y: 0deg !important;
  }

  .site-page,
  .brand-logo,
  .hero-title-main,
  .hero .gradient-text,
  .hero-lead,
  .hero-actions .button,
  .reveal,
  .section-heading.reveal .section-kicker,
  .section-heading.reveal h2,
  .section-heading.reveal .heading-note {
    opacity: 1 !important;
    transform: none !important;
  }

  .heading-row::after {
    transform: scaleX(1) !important;
  }
}

@media (max-width: 1120px) {
  .projects-empty {
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
    gap: 48px;
  }

  .projects-empty h3 {
    font-size: 44px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .section-heading h2,
  .section-soft .section-heading h2,
  .experience-section .section-heading h2 {
    max-width: 640px;
  }

  .about-content {
    max-width: 860px;
    padding-top: 0;
  }

  .about-details {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  }

  .about-left-panel {
    width: min(100%, 680px);
  }

  .service-grid,
  .process-steps,
  .faq-layout,
  .process-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .service-card {
    min-height: 240px;
  }

  .service-card > span {
    margin-bottom: 48px;
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .heading-row > div,
  .section-dark .heading-row > div {
    max-width: 760px;
  }

  .heading-note {
    max-width: 620px;
    margin-bottom: 0;
  }

  .experience-visual {
    margin-top: 34px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .contact-heading {
    position: static;
  }

  .contact-heading h2 {
    max-width: 660px;
  }

  .contact-heading > p:last-child,
  .contact-content {
    max-width: 720px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 96px 0;
  }

  .menu-toggle {
    position: relative;
    z-index: 103;
    display: block;
  }

  .brand {
    position: relative;
    z-index: 103;
  }

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

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

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

  .site-header .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: calc(112px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    background:
      linear-gradient(rgba(92, 111, 87, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(92, 111, 87, 0.045) 1px, transparent 1px),
      var(--paper);
    background-size: 36px 36px;
    align-items: stretch;
    align-content: stretch;
    justify-content: stretch;
    gap: 20px;
    flex-direction: unset;
    flex-wrap: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

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

  body.menu-open .site-header {
    border-bottom-color: transparent;
    background: transparent;
    backdrop-filter: none;
  }

  .mobile-nav-head {
    display: flex;
    padding-bottom: 14px;
    border-bottom: 1px solid #cdd6ca;
    align-items: center;
    justify-content: space-between;
    color: var(--sage-deep);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: 0.12em;
  }

  .mobile-nav-head strong {
    color: var(--muted);
    font-size: inherit;
    font-weight: inherit;
  }

  .site-nav-links {
    display: grid;
    align-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: stretch;
  }

  .site-nav .site-nav-links > a,
  .site-nav .site-nav-links > .nav-cta {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    min-height: 72px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #cdd6ca;
    border-radius: 0;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    background: transparent;
    text-align: left;
    font-size: 34px;
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.12;
  }

  .site-nav .site-nav-links > a:first-child {
    border-top: 1px solid #cdd6ca;
  }

  .site-nav .site-nav-links > a::after {
    display: none;
  }

  .site-nav .site-nav-links > a:hover,
  .site-nav .site-nav-links > a:active {
    opacity: 1;
    transform: none;
  }

  .site-nav-index,
  .site-nav-link-icon {
    display: inline-grid;
  }

  .site-nav-index {
    color: var(--sage-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .site-nav-link-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #c4cec0;
    border-radius: 50%;
    place-items: center;
    font-size: 13px;
    font-style: normal;
    transition:
      background-color 180ms ease,
      transform 180ms ease;
  }

  .site-nav .site-nav-links > a:hover .site-nav-link-icon,
  .site-nav .site-nav-links > a:active .site-nav-link-icon,
  .site-nav .site-nav-links > a.is-active .site-nav-link-icon {
    border-color: #b9ca79;
    background: var(--accent);
    transform: translate(2px, -2px);
  }

  .site-nav .site-nav-links > a.is-active .site-nav-label {
    color: var(--sage-deep);
  }

  .mobile-nav-footer {
    display: flex;
    padding-top: 14px;
    border-top: 1px solid #cdd6ca;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
  }

  .mobile-nav-footer > span {
    color: var(--sage-deep);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: 0.1em;
  }

  .site-nav .mobile-nav-footer > a {
    padding: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    overflow-wrap: anywhere;
  }

  .hero {
    padding-top: 150px;
    padding-bottom: 72px;
  }

  .hero-grid {
    min-height: calc(100svh - 222px);
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(64px, 10vw, 82px);
  }

  .hero-copy {
    width: min(100%, 820px);
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .section-heading h2 {
    max-width: 680px;
  }

  .about-content {
    max-width: 760px;
    padding-top: 0;
  }

  .experience-visual {
    width: min(100%, 430px);
    margin-top: 20px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .skill-card,
  .skill-card-lead,
  .skill-card-system,
  .skill-card-team,
  .skill-card-tools {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .skill-card-lead,
  .skill-card-tools {
    grid-column: 1 / -1;
  }

  .skill-card,
  .skill-card:hover,
  .skill-card.is-hovered {
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    transform: none;
  }

  .skill-visual-flow {
    width: 42%;
  }

  .skill-visual-tools {
    width: 220px;
  }

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

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

  .project-featured {
    grid-column: auto;
  }

  .project-featured .project-visual,
  .project-visual {
    min-height: 420px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .contact-heading {
    position: static;
  }

  .contact-heading h2 {
    max-width: 680px;
  }

  .contact-heading > p:last-child {
    max-width: 620px;
  }

  .contact-content {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 78px 0;
    scroll-margin-top: 82px;
  }

  .header-inner {
    width: min(calc(100% - 40px), var(--container));
    min-height: 92px;
    padding-top: 8px;
  }

  .brand-logo {
    width: 78px;
  }

  .hero {
    min-height: auto;
    padding: 148px 0 84px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(45px, 12.8vw, 60px);
    letter-spacing: -0.048em;
    line-height: 1.12;
  }

  .hero-lead {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.85;
  }

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

  .portrait-media {
    min-height: 0;
  }

  .showreel-poster {
    height: 82%;
  }

  .showreel-video {
    height: 82%;
  }

  .note-top {
    right: -4px;
  }

  .note-bottom {
    left: -3px;
  }

  .mobile-hide-decorations .floating-note,
  .mobile-hide-decorations .hero-card-meta,
  .mobile-hide-decorations .hero-corner-mark {
    display: none;
  }

  .portrait-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .heading-row {
    margin-bottom: 40px;
    padding-bottom: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .section-heading h2 {
    max-width: 100%;
    font-size: clamp(31px, 9.2vw, 36px);
    letter-spacing: -0.035em;
    line-height: 1.22;
    text-wrap: pretty;
  }

  .section-heading h2 > span,
  .contact-heading h2 > span {
    max-width: 100%;
    white-space: nowrap;
  }

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

  .about-content .large-copy {
    margin-bottom: 34px;
    font-size: 21px;
    line-height: 1.62;
  }

  .about-left-panel {
    margin-top: 34px;
  }

  .about-mini-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .about-mini-grid div {
    min-height: 94px;
  }

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

  .about-details {
    grid-template-columns: 1fr;
    padding-top: 30px;
    gap: 32px;
  }

  .about-details > p {
    max-width: none;
    font-size: 14px;
  }

  .profile-list div {
    grid-template-columns: 88px 1fr;
  }

  .profile-list dt {
    font-size: 11px;
  }

  .profile-list dd {
    font-size: 15px;
  }

  .experience-visual {
    min-height: 185px;
    margin-top: 34px;
  }

  .experience-orbit {
    top: 0;
    left: -8px;
    transform: scale(0.86);
    transform-origin: top left;
  }

  .experience-section.has-focus .experience-orbit {
    transform: rotate(8deg) scale(0.82);
  }

  .experience-stat {
    right: 0;
    padding: 15px 17px;
  }

  .experience-stat strong {
    font-size: 42px;
  }

  .skill-card {
    grid-column: auto;
    min-height: 390px;
    padding: 28px;
    border-radius: 24px;
  }

  .skill-card h3 {
    margin-top: 0;
    font-size: 30px;
  }

  .skill-card-content > p {
    font-size: 13px;
  }

  .tag-list {
    margin-top: 18px;
  }

  .tag-list span {
    min-width: 0;
    padding: 7px 9px;
    font-size: 9px;
  }

  .skill-visual-flow {
    top: 72px;
    right: 24px;
    width: 52%;
    height: 128px;
  }

  .skill-visual-system,
  .skill-visual-team {
    top: 78px;
    right: 24px;
  }

  .skill-visual-system {
    height: 122px;
  }

  .skill-visual-team {
    height: 126px;
  }

  .skill-visual-tools {
    top: 82px;
    right: 24px;
    width: 210px;
    transform: none;
  }

  .project-featured .project-visual,
  .project-visual {
    min-height: 310px;
    border-radius: 22px;
  }

  .project-info {
    padding-top: 19px;
  }

  .projects-empty {
    grid-template-columns: 1fr;
    min-height: 560px;
    padding: 38px 24px;
    align-items: start;
    gap: 30px;
  }

  .empty-mark {
    min-height: 185px;
    align-items: center;
    flex-direction: column;
    gap: 18px;
  }

  .projects-empty h3 {
    max-width: 9em;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: 0;
    line-break: strict;
    overflow-wrap: normal;
    white-space: normal;
    word-break: normal;
  }

  .projects-empty-copy > p:not(.empty-eyebrow) {
    font-size: 13px;
    line-height: 1.8;
  }

  .empty-link {
    margin-top: 25px;
  }

  .timeline-item {
    grid-template-columns: 1fr auto;
    margin: 0;
    gap: 12px;
    padding: 34px 18px;
  }

  .timeline-date {
    grid-column: 1 / -1;
  }

  .timeline-item > div:nth-child(2) {
    grid-column: 1;
  }

  .timeline-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    opacity: 1;
    transform: none;
  }

  .timeline-item h3 {
    font-size: 22px;
  }

  .services-section,
  .process-section,
  .faq-section {
    padding: 82px 0;
  }

  .service-card,
  .process-steps article {
    min-height: auto;
    padding: 26px;
    border-radius: 24px;
  }

  .service-card > span,
  .process-steps span {
    margin-bottom: 32px;
  }

  .faq-layout {
    gap: 36px;
  }

  .faq-section .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .faq-topics.contact-topics summary {
    min-height: 72px;
    padding: 21px 18px;
    font-size: 15px;
    gap: 18px;
  }

  .faq-topics.contact-topics summary:hover {
    padding-left: 18px;
  }

  .faq-topics.contact-topics details > p {
    margin: -2px 50px 24px 18px;
    font-size: 14px;
  }

  .theme-mobile-hide-decor .about-signal-card {
    display: none;
  }

  .contact-section {
    padding: 84px 0 64px;
  }

  .contact-layout {
    gap: 58px;
  }

  .contact-heading h2 {
    max-width: 100%;
    font-size: clamp(31px, 9.2vw, 36px);
    line-height: 1.22;
  }

  .contact-heading > p:last-child {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.9;
  }

  .contact-intro {
    margin-bottom: 38px;
  }

  .contact-intro > p:last-child {
    font-size: 14px;
  }

  .contact-topics summary {
    min-height: 68px;
    padding: 20px 0;
    font-size: 13px;
  }

  .contact-topics details > p {
    margin-right: 36px;
    margin-bottom: 22px;
  }

  .contact-email {
    grid-template-columns: 1fr auto;
    margin-top: 48px;
    padding: 24px 0;
    gap: 14px;
  }

  .contact-email > span {
    grid-column: 1 / -1;
  }

  .contact-email strong {
    font-size: 16px;
  }

  .contact-email i {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .footer-inner {
    padding: 26px 20px 22px;
    border-radius: 24px;
    gap: 22px;
  }

  .footer-main,
  .footer-meta,
  .footer-copy {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    gap: 22px;
  }

  .footer-meta {
    padding-top: 18px;
    gap: 16px;
  }

  .footer-brand {
    align-items: flex-start;
    gap: 16px;
  }

  .footer-brand img {
    width: 96px;
  }

  .footer-brand-message strong {
    font-size: 17px;
  }

  .back-to-top {
    width: 100%;
    padding-top: 4px;
    justify-content: space-between;
  }

  .filing-links {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .video-strip-grid,
  .gallery-grid,
  .case-study-heading,
  .case-story-item,
  .case-image-grid,
  .case-process-placeholders,
  .project-description,
  .project-neighbors,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .analytics-ip-bot-grid {
    grid-template-columns: 1fr;
  }

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

  .project-detail {
    padding-top: 132px;
  }

  .utility-page {
    padding-top: 132px;
  }

  .utility-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .utility-page-heading {
    position: static;
  }

  .project-hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .project-back {
    margin-bottom: 34px;
  }

  .project-copy > p:not(.section-kicker) {
    max-width: 680px;
  }

  .project-quick-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .project-hero-card {
    min-height: 320px;
  }

  .project-hero-card img {
    width: min(52%, 300px);
    height: min(52%, 210px);
  }

  .project-cover {
    min-height: 300px;
    margin-top: 42px;
    border-radius: 24px;
  }

  .project-cover img {
    width: min(76%, 520px);
    height: min(72%, 260px);
  }

  .project-body {
    margin-top: 54px;
    gap: 54px;
  }

  .project-video .project-section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-video {
    padding: 24px;
    border-radius: 26px;
  }

  .analytics-control {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-danger-zone {
    flex-direction: column;
  }

  .analytics-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .case-study {
    padding: 30px;
    border-radius: 28px;
  }

  .case-study-heading {
    gap: 18px;
    align-items: start;
  }

  .case-story-item {
    gap: 12px;
  }

  .case-story-item:hover {
    padding-left: 0;
    background: transparent;
  }

  .case-process-placeholders span:nth-child(even) {
    margin-top: 0;
  }

  .admin-sidebar {
    position: static;
    width: auto;
    border-right: 0;
    border-bottom: 1px solid #cdd6ca;
  }

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

  .admin-main {
    width: 100%;
    margin: 0;
    padding: 34px 18px 70px;
  }

  .admin-title {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .admin-upload-preview,
  .admin-order-grid,
  .admin-check-grid,
  .admin-switch-grid,
  .admin-switch-grid-compact,
  .admin-metric-row {
    grid-template-columns: 1fr;
  }

  .admin-upload-preview {
    align-items: stretch;
  }

  .admin-upload-preview img {
    width: 100%;
    max-width: 220px;
    height: 130px;
  }
}

@media (max-width: 620px) {
  .admin-main {
    padding: 28px 16px 58px;
  }

  .admin-main > * {
    width: 100%;
  }

  .ip-ranking-card,
  .bot-ranking-card {
    min-height: 0;
  }

  .ip-ranking-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ip-ranking-head > p {
    text-align: left;
  }

  .ip-rank-grid {
    grid-template-columns: 1fr;
  }

  .pagination-controls {
    justify-content: flex-start;
  }

  .project-filters {
    margin-top: -10px;
    gap: 8px;
  }

  .project-filter {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .video-card {
    min-height: 170px;
  }

  .project-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .project-quick-info {
    grid-template-columns: 1fr;
  }

  .project-quick-info span {
    min-height: 66px;
    padding: 13px 0;
  }

  .project-quick-info span + span {
    padding-left: 0;
    border-top: 1px solid rgba(24, 33, 28, 0.1);
    border-left: 0;
  }

  .project-hero-card {
    min-height: 300px;
    padding: 26px;
    border-radius: 24px;
  }

  .project-card-label {
    top: 22px;
    left: 24px;
  }

  .project-hero-card img {
    width: min(58%, 230px);
    height: min(54%, 170px);
  }

  .project-play-chip {
    right: 20px;
    bottom: 20px;
  }

  .project-hero > p:not(.section-kicker),
  .project-description p {
    font-size: 15px;
  }

  .video-embed,
  .case-image-grid figure,
  .gallery-grid img {
    border-radius: 20px;
  }

  .case-study {
    padding: 24px;
  }

  .case-study-heading h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .case-story-item h3 {
    font-size: 24px;
  }

  .case-image-grid img {
    aspect-ratio: 4 / 3;
  }

  .case-process-placeholders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-process-placeholders span {
    min-height: 92px;
    border-radius: 18px;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .admin-card,
  .admin-form,
  .admin-login-card {
    padding: 22px;
  }

  .analytics-cards strong {
    font-size: 34px;
  }

  .analytics-cards {
    grid-template-columns: 1fr;
  }

  .analytics-actions,
  .analytics-actions form,
  .analytics-actions .button {
    width: 100%;
  }

  .footer-tool-title,
  .memo-admin-gate,
  .memo-item,
  .memo-list-head {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-tool-card {
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .footer-tool-input-row,
  .memo-form-row,
  .ip-result {
    grid-template-columns: 1fr;
  }

  .footer-tool-input-row button,
  .memo-admin-gate a,
  .memo-form-actions button,
  .memo-actions button {
    width: 100%;
  }

  .memo-item-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .memo-action {
    flex: 1 1 30%;
  }

  .memo-filter-group,
  .memo-filter-group button {
    width: 100%;
  }

  .memo-filter-group button {
    justify-content: center;
  }

  .footer-copy {
    gap: 12px;
  }

  .footer-links {
    gap: 10px 16px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .utility-page-heading h1 {
    margin-top: 28px;
  }
}

/* Refined admin system */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 5%, rgba(217, 245, 111, 0.18), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(112, 132, 105, 0.1), transparent 30%),
    #eef2ea;
  color: var(--ink);
}

.admin-auth-body {
  overflow-x: hidden;
  background: #f5f5ef;
}

.admin-auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1fr);
  min-height: 100vh;
}

.admin-auth-brand {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 100vh;
  padding: clamp(28px, 4vw, 56px);
  color: rgba(255, 255, 250, 0.9);
  background:
    radial-gradient(circle at 78% 28%, rgba(217, 245, 111, 0.18), transparent 26%),
    radial-gradient(circle at 20% 88%, rgba(112, 132, 105, 0.25), transparent 30%),
    #0b0e0c;
  align-content: space-between;
}

.admin-auth-brand::before {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 250, 0.08);
  border-radius: 34px;
  pointer-events: none;
  content: "";
}

.admin-auth-brand::after {
  position: absolute;
  right: -58px;
  bottom: 24%;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(217, 245, 111, 0.3);
  border-radius: 50%;
  background: rgba(217, 245, 111, 0.06);
  filter: blur(0.2px);
  content: "";
}

.admin-auth-mark,
.admin-logo {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 14px;
}

.admin-auth-mark img {
  width: 88px;
  filter: invert(1);
}

.admin-auth-mark span,
.admin-logo span {
  display: grid;
  gap: 2px;
}

.admin-auth-mark strong,
.admin-logo strong {
  font-size: 15px;
  font-weight: 860;
  letter-spacing: -0.02em;
}

.admin-auth-mark small,
.admin-logo small {
  color: currentColor;
  opacity: 0.58;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-auth-brand-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.admin-auth-brand-copy .section-kicker {
  color: rgba(217, 245, 111, 0.78);
  font-size: 13px;
  letter-spacing: 0.24em;
}

.admin-auth-brand-copy h1 {
  margin: 0;
  max-width: 500px;
  color: #fbfcf5;
  font-size: clamp(44px, 5.4vw, 78px);
  letter-spacing: -0.07em;
  line-height: 1.03;
  text-wrap: balance;
}

.admin-auth-brand-copy p:last-child {
  max-width: 430px;
  margin: 28px 0 0;
  color: rgba(255, 255, 250, 0.56);
  font-size: 16px;
  line-height: 1.85;
}

.admin-auth-brand-foot {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 250, 0.42);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.7;
}

.admin-auth-panel {
  display: grid;
  min-height: 100vh;
  padding: clamp(28px, 6vw, 92px);
  place-items: center;
}

.admin-login-card {
  display: grid;
  width: min(100%, 480px);
  padding: clamp(30px, 4.6vw, 58px);
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(217, 245, 111, 0.2), transparent 26%),
    rgba(255, 255, 252, 0.78);
  box-shadow: 0 34px 90px rgba(24, 33, 28, 0.1);
  gap: 18px;
}

.admin-login-heading {
  display: grid;
  margin-bottom: 8px;
  gap: 10px;
}

.admin-login-heading img {
  width: 68px;
  margin-bottom: 12px;
}

.admin-login-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.admin-login-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.admin-login-card label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.admin-login-card input:not([type="checkbox"]) {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid rgba(112, 132, 105, 0.24);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255, 255, 252, 0.82);
  font: inherit;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.admin-login-card input:not([type="checkbox"]):focus {
  outline: none;
  border-color: rgba(112, 132, 105, 0.6);
  background: rgba(255, 255, 252, 0.98);
  box-shadow: 0 0 0 4px rgba(217, 245, 111, 0.22);
}

.admin-sidebar {
  display: flex;
  width: 272px;
  padding: 28px 18px;
  border-right: 1px solid rgba(112, 132, 105, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.88), rgba(247, 249, 242, 0.74)),
    rgba(247, 247, 241, 0.92);
  box-shadow: 16px 0 44px rgba(24, 33, 28, 0.035);
  gap: 22px;
}

.admin-logo {
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 820;
}

.admin-logo img {
  width: 46px;
}

.admin-sidebar-meta {
  margin: 0 8px;
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 245, 111, 0.23), transparent 34%),
    rgba(255, 255, 252, 0.55);
}

.admin-sidebar-meta p {
  margin: 0 0 8px;
  color: var(--sage-deep);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.admin-sidebar-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.admin-sidebar nav {
  display: grid;
  gap: 7px;
}

.admin-sidebar nav a,
.admin-sidebar-bottom a,
.admin-sidebar form button {
  display: flex;
  width: 100%;
  min-height: 45px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  color: rgba(24, 33, 28, 0.66);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.admin-sidebar nav a:hover,
.admin-sidebar-bottom a:hover,
.admin-sidebar form button:hover {
  color: var(--ink);
  border-color: rgba(112, 132, 105, 0.16);
  background: rgba(255, 255, 252, 0.64);
  transform: translateY(-1px);
}

.admin-sidebar nav a:active,
.admin-sidebar-bottom a:active,
.admin-sidebar form button:active {
  transform: translateY(0) scale(0.985);
}

.admin-sidebar nav a.is-active {
  color: var(--ink);
  border-color: rgba(156, 187, 63, 0.22);
  background: rgba(217, 245, 111, 0.58);
  box-shadow: 0 10px 28px rgba(156, 187, 63, 0.14);
}

.admin-sidebar nav a::before,
.admin-sidebar-bottom a::before,
.admin-sidebar form button::before {
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(112, 132, 105, 0.24);
  content: "";
  transition: background-color 180ms ease, transform 180ms ease;
}

.admin-sidebar nav a.is-active::before,
.admin-sidebar nav a:hover::before,
.admin-sidebar-bottom a:hover::before,
.admin-sidebar form button:hover::before {
  background: var(--accent-deep);
  transform: scale(1.12);
}

.admin-sidebar-bottom {
  display: grid;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(112, 132, 105, 0.14);
  gap: 8px;
}

.admin-sidebar-bottom form {
  margin: 0;
}

.admin-main {
  width: calc(100% - 272px);
  min-height: 100vh;
  margin-left: 272px;
  padding: 56px clamp(28px, 5vw, 88px) 92px;
}

.admin-main > * {
  width: min(100%, 1240px);
}

.admin-title {
  display: flex;
  margin-bottom: 30px;
  padding: 4px 2px 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-title h1 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 72px);
  letter-spacing: -0.065em;
  line-height: 1.02;
  text-wrap: balance;
}

.admin-title p:not(.section-kicker) {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.admin-card,
.admin-form,
.admin-table-wrap,
.admin-login-card {
  border-color: rgba(112, 132, 105, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 95% 0%, rgba(217, 245, 111, 0.12), transparent 24%),
    rgba(255, 255, 252, 0.76);
  box-shadow: 0 24px 70px rgba(24, 33, 28, 0.075);
}

.admin-card,
.admin-form {
  padding: clamp(22px, 2.8vw, 34px);
}

.admin-form,
.admin-card {
  backdrop-filter: blur(10px);
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login input,
.admin-table input,
.pagination-jump input,
.page-size-select select {
  border-color: rgba(112, 132, 105, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 252, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-login input:focus,
.admin-table input:focus,
.pagination-jump input:focus,
.page-size-select select:focus {
  outline: none;
  border-color: rgba(112, 132, 105, 0.58);
  background: rgba(255, 255, 252, 0.96);
  box-shadow: 0 0 0 4px rgba(217, 245, 111, 0.22);
}

.admin-table-wrap {
  background: rgba(255, 255, 252, 0.72);
}

.admin-table th {
  color: var(--sage-deep);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.admin-table td {
  border-bottom-color: rgba(112, 132, 105, 0.13);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-notice,
.admin-error,
.admin-success {
  border-radius: 18px;
}

.button,
.admin-actions button,
.admin-actions a,
.memo-action,
.pagination-button,
.pagination-number {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.admin-actions button:hover,
.admin-actions a:hover,
.memo-action:hover,
.pagination-button:hover:not(:disabled),
.pagination-number:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active,
.admin-actions button:active,
.admin-actions a:active,
.memo-action:active,
.pagination-button:active:not(:disabled),
.pagination-number:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

@media (max-width: 980px) {
  .admin-auth-shell {
    grid-template-columns: 1fr;
  }

  .admin-auth-brand,
  .admin-auth-panel {
    min-height: auto;
  }

  .admin-auth-brand {
    padding: 30px 22px 42px;
    gap: 80px;
  }

  .admin-auth-brand::before {
    inset: 16px;
    border-radius: 26px;
  }

  .admin-auth-brand-copy h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .admin-auth-brand-foot {
    flex-direction: column;
  }

  .admin-auth-panel {
    padding: 28px 18px 48px;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(112, 132, 105, 0.16);
    box-shadow: 0 18px 38px rgba(24, 33, 28, 0.045);
  }

  .admin-sidebar-meta {
    display: none;
  }

  .admin-sidebar nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
  }

  .admin-sidebar nav a {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .admin-sidebar-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
    padding-top: 10px;
  }

  .admin-main {
    width: 100%;
    margin: 0;
    padding: 34px 18px 70px;
  }
}

@media (max-width: 620px) {
  .admin-login-card {
    padding: 24px;
    border-radius: 28px;
  }

  .admin-login-heading img {
    width: 54px;
  }

  .admin-sidebar {
    gap: 14px;
  }

  .admin-logo {
    padding: 2px 4px;
  }

  .admin-logo img {
    width: 38px;
  }

  .admin-sidebar-bottom {
    grid-template-columns: 1fr;
  }

  .admin-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-title h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .admin-card,
  .admin-form,
  .admin-table-wrap {
    border-radius: 24px;
  }
}

@media (max-width: 620px) {
  .admin-sidebar {
    padding: 14px;
    gap: 10px;
  }

  .admin-sidebar nav a,
  .admin-sidebar-bottom a,
  .admin-sidebar form button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .admin-sidebar-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

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

/* Analytics pagination and card lists */
.analytics-pagination {
  display: grid;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(112, 132, 105, 0.14);
  gap: 14px;
}

.pagination-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.page-size-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.page-size-select select {
  width: 76px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(112, 132, 105, 0.2);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 252, 0.76);
  font: inherit;
  cursor: pointer;
}

.pagination-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pagination-button,
.pagination-number {
  display: inline-flex;
  min-width: 38px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 252, 0.66);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.pagination-button:hover:not(:disabled),
.pagination-number:hover:not(:disabled) {
  border-color: rgba(112, 132, 105, 0.36);
  background: rgba(247, 249, 242, 0.95);
  box-shadow: 0 10px 26px rgba(24, 33, 28, 0.06);
}

.pagination-number.is-active {
  border-color: rgba(156, 187, 63, 0.24);
  background: rgba(217, 245, 111, 0.68);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(156, 187, 63, 0.14);
}

.pagination-button:disabled,
.pagination-number:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.pagination-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.pagination-jump label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.pagination-jump input {
  width: 78px;
  min-height: 36px;
  padding: 0 12px;
  text-align: center;
}

.pagination-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.pagination-status.is-error {
  color: #8a4b36;
}

.recent-visits-card {
  display: grid;
  gap: 18px;
}

.recent-visit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.recent-visits-card.is-loading .recent-visit-list,
.ip-ranking-card.is-loading .ip-rank-grid {
  opacity: 0.36;
  transform: translateY(3px);
}

.recent-visit-item {
  display: grid;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 95% 8%, rgba(217, 245, 111, 0.12), transparent 26%),
    rgba(247, 249, 242, 0.68);
  gap: 14px;
}

.recent-visit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.recent-visit-head > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.recent-visit-head span:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.recent-visit-head strong {
  font-size: 16px;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.recent-visit-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
}

.recent-visit-meta span {
  display: grid;
  min-width: 0;
  gap: 3px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.recent-visit-meta b {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .recent-visit-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .pagination-meta,
  .pagination-actions,
  .pagination-jump {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .pagination-meta {
    flex-direction: column;
  }

  .pagination-button,
  .pagination-number {
    min-height: 38px;
    padding: 0 12px;
  }

  .pagination-jump {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .pagination-jump label {
    min-width: 0;
  }

  .pagination-jump input {
    width: 100%;
  }

  .pagination-status {
    grid-column: 1 / -1;
  }

  .recent-visit-meta {
    grid-template-columns: 1fr;
  }
}

/* Refined memo dashboard */
.memo-page-title {
  position: relative;
  max-width: 1180px;
  margin-bottom: 26px;
}

.memo-page-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  width: min(280px, 34vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 132, 105, 0.28));
}

.memo-page-title h1 {
  letter-spacing: 0;
}

.memo-page-title .button {
  min-width: 128px;
  box-shadow: 0 16px 34px rgba(24, 33, 28, 0.14);
}

.memo-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
  align-items: start;
  max-width: 1180px;
}

.memo-dashboard .memo-toast {
  grid-column: 1 / -1;
  margin: 0;
}

.memo-board,
.memo-side-panel > section {
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.9), rgba(250, 251, 246, 0.72)),
    rgba(255, 255, 252, 0.78);
  box-shadow: 0 24px 70px rgba(24, 33, 28, 0.075);
  backdrop-filter: blur(10px);
}

.memo-board {
  min-height: 520px;
  padding: clamp(22px, 2.8vw, 34px);
}

.memo-board-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(112, 132, 105, 0.14);
}

.memo-board-head h3 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

.memo-board-head p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.memo-board-link {
  display: inline-flex;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(112, 132, 105, 0.18);
  border-radius: 999px;
  align-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.memo-board-link:hover {
  border-color: rgba(112, 132, 105, 0.34);
  background: rgba(217, 245, 111, 0.28);
  transform: translateY(-1px);
}

.memo-side-panel {
  display: grid;
  gap: 14px;
}

.memo-side-panel > section {
  padding: 20px;
}

.memo-side-panel h2 {
  margin: 7px 0 14px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.memo-stat-grid {
  display: grid;
  gap: 9px;
}

.memo-stat-card {
  display: flex;
  min-height: 76px;
  padding: 14px 15px;
  border: 1px solid rgba(112, 132, 105, 0.14);
  border-radius: 22px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.58);
}

.memo-stat-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.memo-stat-card strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.memo-stat-card.is-todo {
  background: rgba(217, 245, 111, 0.22);
}

.memo-stat-card.is-done {
  background: rgba(247, 249, 242, 0.78);
}

.memo-tool-card {
  display: grid;
  gap: 14px;
}

.memo-filter-group {
  display: grid;
  gap: 8px;
}

.memo-filter-group button {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 0 12px 0 15px;
  border: 1px solid rgba(112, 132, 105, 0.16);
  border-radius: 16px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.memo-filter-group button strong {
  display: inline-flex;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(247, 249, 242, 0.9);
  color: var(--ink);
  font-size: 12px;
}

.memo-filter-group button.is-active {
  border-color: rgba(24, 33, 28, 0.08);
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(217, 245, 111, 0.24);
}

.memo-filter-group button:hover {
  border-color: rgba(112, 132, 105, 0.32);
  color: var(--ink);
  transform: translateY(-1px);
}

.memo-filter-group button:focus-visible,
.memo-board-link:focus-visible,
.memo-create-button:focus-visible {
  outline: 2px solid rgba(112, 132, 105, 0.5);
  outline-offset: 3px;
}

.memo-create-button {
  width: 100%;
}

.memo-actions {
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(112, 132, 105, 0.12);
}

.memo-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.memo-actions button {
  width: 100%;
  min-height: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.memo-list {
  gap: 13px;
  margin-top: 20px;
}

.memo-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(112, 132, 105, 0.15);
  border-radius: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 38px rgba(24, 33, 28, 0.045);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.memo-item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.memo-item:hover {
  border-color: rgba(112, 132, 105, 0.26);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(24, 33, 28, 0.07);
  transform: translateY(-1px);
}

.memo-item.is-done {
  background: rgba(247, 249, 242, 0.64);
  box-shadow: none;
}

.memo-item.is-done::before {
  background: rgba(112, 132, 105, 0.28);
}

.memo-item-main {
  min-width: 0;
}

.memo-item-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
}

.memo-status-pill,
.memo-tag-pill,
.memo-meta span {
  display: inline-flex;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(112, 132, 105, 0.14);
  border-radius: 999px;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
}

.memo-status-todo {
  border-color: rgba(217, 245, 111, 0.68);
  background: rgba(217, 245, 111, 0.45);
  color: var(--ink);
}

.memo-status-done {
  background: rgba(247, 249, 242, 0.86);
  color: rgba(93, 108, 99, 0.84);
}

.memo-tag-pill {
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
}

.memo-text {
  color: var(--ink);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 850;
  line-height: 1.55;
}

.memo-item.is-done .memo-text {
  color: rgba(106, 120, 113, 0.74);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.memo-meta {
  gap: 7px;
  margin-top: 11px;
}

.memo-meta span {
  min-height: 25px;
  background: rgba(250, 251, 246, 0.82);
  color: var(--muted);
  font-weight: 760;
}

.memo-meta .memo-reminder-pending {
  color: #58613b;
  background: rgba(217, 245, 111, 0.22);
}

.memo-meta .memo-reminder-sent {
  color: rgba(93, 108, 99, 0.9);
}

.memo-meta .memo-reminder-failed,
.memo-meta .memo-meta-error {
  color: #8a4b36;
  background: rgba(255, 229, 218, 0.58);
}

.memo-item-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.memo-action {
  min-width: 78px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
}

.memo-action-toggle {
  border-color: rgba(217, 245, 111, 0.72);
  background: rgba(217, 245, 111, 0.34);
}

.memo-action-danger {
  color: #8a4b36;
}

.memo-action-danger:hover {
  border-color: rgba(138, 75, 54, 0.24);
  background: rgba(255, 229, 218, 0.54);
}

.memo-empty {
  display: grid;
  gap: 8px;
  min-height: 230px;
  margin: 20px 0 0;
  padding: 36px 24px;
  border: 1px dashed rgba(112, 132, 105, 0.24);
  border-radius: 26px;
  place-items: center;
  text-align: center;
  background: rgba(247, 249, 242, 0.58);
}

.memo-empty strong {
  color: var(--ink);
  font-size: 20px;
}

.memo-empty span {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.memo-empty[hidden],
.memo-actions[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .memo-dashboard {
    grid-template-columns: 1fr;
  }

  .memo-side-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .memo-overview-card {
    grid-column: 1 / -1;
  }

  .memo-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .memo-page-title::after {
    display: none;
  }

  .memo-page-title .button {
    width: 100%;
  }

  .memo-board,
  .memo-side-panel > section {
    border-radius: 24px;
  }

  .memo-board {
    min-height: 0;
    padding: 22px;
  }

  .memo-board-head {
    flex-direction: column;
  }

  .memo-board-link,
  .memo-create-button {
    width: 100%;
    justify-content: center;
  }

  .memo-side-panel,
  .memo-stat-grid {
    grid-template-columns: 1fr;
  }

  .memo-filter-group {
    grid-template-columns: 1fr;
  }

  .memo-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
  }

  .memo-item::before {
    top: 17px;
    bottom: auto;
    left: 17px;
    width: 38px;
    height: 3px;
  }

  .memo-item-topline {
    padding-top: 6px;
  }

  .memo-item-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .memo-action {
    min-width: 0;
    padding: 0 10px;
  }
}

/* Frontend motion system: shared, lightweight, and intentionally restrained. */
.hero {
  isolation: isolate;
}

.theme-no-glow .hero::after {
  display: none;
}

@media (max-width: 620px) {
  #main-content {
    background:
      radial-gradient(circle at 96% 10%, rgba(217, 245, 111, 0.09), transparent 13%),
      radial-gradient(circle at 4% 66%, rgba(143, 171, 124, 0.07), transparent 15%),
      linear-gradient(180deg, #f7f7f1 0%, #f0f3ec 48%, #f7f7f1 100%);
  }

  .site-intro {
    height: 100svh;
    min-height: 100svh;
    opacity: 1;
    transform: none;
    transition:
      opacity 360ms ease,
      visibility 360ms ease;
  }

  body.site-intro-revealing .site-intro {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .hero::before {
    background-size: 38px 38px;
    opacity: 0.38;
  }

  .hero::after {
    width: 280px;
    height: 280px;
    opacity: 0.5;
  }

  .theme-mobile-hide-decor #main-content > .section[data-archive-index]::after {
    display: none;
  }

  #main-content > .section[data-archive-index]::after {
    top: 54px;
    right: 16px;
    font-size: 104px;
    opacity: 0.72;
  }

  .reveal:not(.skill-card),
  .reveal-item {
    transform: translateY(12px);
  }

  .section-heading.reveal .section-kicker,
  .section-heading.reveal h2,
  .section-heading.reveal .heading-note {
    transform: translateY(10px);
  }
}

@media (hover: none), (pointer: coarse) {
  .project-card:hover {
    filter: none;
    transform: none;
  }

  .project-card:hover .project-visual {
    box-shadow: none;
  }
}
