:root {
  --bg: #ffffff;
  --ink: #050505;
  --soft-ink: #3a3a3a;
  --muted: #777777;
  --line: #dedede;
  --panel: rgba(255, 255, 255, 0.82);
  --accent: #2563eb;
  --accent-2: #0f9f6e;
  --star: #f5c451;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  animation: pageIn 520ms ease both;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 0, 0, 0.10), transparent 24%),
    radial-gradient(circle at 90% 28%, rgba(0, 0, 0, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.96));
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button:disabled {
  cursor: progress;
  opacity: 0.72;
}

#universe {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.34;
  pointer-events: none;
}

.cursor-dot,
.cursor-ring {
  display: none;
}

.site-header {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #050505;
  font-weight: 900;
}

.brand strong {
  max-width: 132px;
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nav {
  display: none;
}

.header-cta {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

main {
  overflow: hidden;
}

.hero,
.section,
.page-shell {
  width: min(100% - 24px, 1180px);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  gap: 34px;
  align-items: center;
  padding: 112px 0 64px;
}

.hero-copy {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(3.7rem, 18vw, 9.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-title {
  max-width: 820px;
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 5vw, 2rem);
  font-weight: 850;
  line-height: 1.12;
}

.hero-text {
  max-width: 780px;
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 4.4vw, 1.35rem);
  line-height: 1.65;
}

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

.btn,
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 900;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn {
  padding: 0 18px;
  border: 1px solid var(--ink);
}

.btn::after {
  display: none;
}

.text-link::after {
  content: "";
  position: absolute;
  inset: auto 20px 10px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
}

.btn-primary {
  color: #fff;
  background: #050505;
}

.btn-secondary,
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.text-link {
  width: fit-content;
  min-height: auto;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.profile-frame {
  position: relative;
  width: min(82vw, 360px);
  aspect-ratio: 4 / 5;
  padding: 10px;
  border: 1px solid var(--ink);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 44px;
  transform: rotate(7deg);
  background: rgba(255, 255, 255, 0.6);
}

.profile-frame img,
.profile-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.profile-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent),
    #050505;
}

.profile-placeholder span {
  font-size: clamp(4rem, 22vw, 8rem);
  font-weight: 950;
}

.orbit-card {
  position: absolute;
  width: 154px;
  padding: 14px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  animation: floatClean 4.5s ease-in-out infinite;
}

.orbit-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.15rem;
}

.orbit-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.top-card {
  top: 24px;
  right: 0;
}

.bottom-card {
  left: 0;
  bottom: 18px;
  animation-delay: -1.8s;
}

.section {
  padding: 76px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.3rem, 11vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.manifesto-grid,
.skill-groups,
.project-grid,
.service-grid,
.blog-grid,
.blog-list {
  display: grid;
  gap: 14px;
}

.review-list {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 4px 18px 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.review-list::-webkit-scrollbar {
  display: none;
}
.client-reviews .review-card {
  flex: 0 0 min(86vw, 360px);
  min-height: 284px;
  padding: 24px;
  scroll-snap-align: center;
  border-radius: 24px;
  background: #ffffff;
  color: #050505;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.34);
}
.client-reviews .review-card strong {
  display: block;
  margin-top: 18px;
  color: #050505;
}
.client-reviews .review-card p {
  color: #333333;
  font-size: 1rem;
  line-height: 1.72;
}
.client-reviews .review-card .stars {
  color: #f5c451;
  font-size: 1.08rem;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.manifesto-grid article,
.skill-card,
.project-card,
.service-grid article,
.review-card,
.review-form,
.blog-card,
.blog-post,
.empty-state,
.contact-form,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
}

.manifesto-grid article,
.skill-card,
.service-grid article,
.review-card,
.blog-card,
.blog-post,
.empty-state {
  padding: 22px;
}

.skill-card,
.service-grid article,
.review-card,
.blog-card,
.blog-post-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.skill-card:hover,
.service-grid article:hover,
.blog-card:hover,
.blog-post-card:hover {
  border-color: var(--ink);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.manifesto-grid span,
.service-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.manifesto-grid h3,
.skill-card h3,
.project-card h3,
.service-grid h3,
.blog-grid h3,
.blog-post h2 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.manifesto-grid p,
.skill-card p,
.project-card p,
.service-grid p,
.review-card p,
.blog-grid p,
.blog-post p,
.empty-state p {
  margin-bottom: 0;
  color: var(--soft-ink);
  line-height: 1.65;
}

.skills-layout {
  display: grid;
  gap: 16px;
}

.constellation {
  position: relative;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: #050505;
  box-shadow: var(--shadow);
}

.constellation canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.constellation p {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  color: #fff;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.progress {
  height: 6px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e5e5;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #050505;
  transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-visible .progress span {
  width: var(--level);
}

.project-card {
  min-height: 390px;
  padding: 14px;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  border-color: var(--ink);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16);
}

.project-visual {
  position: relative;
  height: 190px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    #050505;
  background-size: 24px 24px;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  transform: perspective(430px) rotateX(58deg) rotateZ(-18deg);
}

.project-visual span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 74px;
  height: 74px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.12);
  animation: pulseDot 2.8s ease-in-out infinite;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: sweepLight 5.8s ease-in-out infinite;
}

.project-card > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-card > div:last-child span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft-ink);
  background: #fff;
  font: 800 0.72rem ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.client-reviews {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 86px max(12px, calc((100vw - 1180px) / 2));
  background: #050505;
  color: #fff;
}

.client-reviews .eyebrow,
.client-reviews p {
  color: #cfcfcf;
}

.client-reviews .section-heading,
.client-reviews .reviews-shell {
  width: min(100%, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.swipe-indicator {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #a0a0a0;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.swipe-indicator span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.reviews-shell {
  display: grid;
  gap: 18px;
}

.review-form {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.review-card {
  min-height: 230px;
}

.stars {
  margin-bottom: 22px;
  color: var(--star);
  font-size: 1rem;
  letter-spacing: 0;
}

.review-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
}

.review-form h3 {
  margin: 0;
  color: #fff;
}

.review-form label {
  color: #ededed;
}

.review-form input,
.review-form textarea,
.review-form select {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.review-form input::placeholder,
.review-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.review-form option {
  color: #050505;
}

.review-form .btn-primary {
  color: #050505;
  border-color: #fff;
  background: #fff;
}

.blog-grid time,
.blog-post time {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-card,
.blog-post-card {
  color: inherit;
}

.blog-image,
.blog-hero-image,
.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.22), transparent 46%),
    linear-gradient(315deg, rgba(15, 159, 110, 0.18), transparent 42%),
    #050505;
  object-fit: cover;
}

.blog-image-placeholder {
  position: relative;
  overflow: hidden;
}

.blog-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  transform: skewY(-7deg);
}

.blog-image-placeholder::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.article-hero-image {
  aspect-ratio: 21 / 9;
  border-radius: 22px;
}

.contact-form-wrapper {
  perspective: 1200px;
  min-height: 600px;
}

.contact-form-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.contact-form-wrapper.flipped .contact-form-flipper {
  transform: rotateY(180deg);
}

.contact-form-front,
.contact-form-success {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 32px 24px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 56px;
  padding: 16px;
  font-size: 16px;
  border-radius: 12px;
  transition: all 220ms ease;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form label {
  font-size: 1rem;
  gap: 12px;
}

.contact-form button {
  min-height: 60px;
  font-size: 1.1rem;
  margin-top: 10px;
  border-radius: 12px;
}

.contact-form-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 24px;
  text-align: center;
  transform: rotateY(180deg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.checkmark-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #10b981;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 #10b981;
}

.contact-form-wrapper.flipped .checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: #d1fae5;
  animation: checkmark-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.contact-form-wrapper.flipped .checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #10b981;
  animation: checkmark-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes checkmark-stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.contact-form-success h3 {
  margin: 0;
  color: #10b981;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  animation: fadeInUp 0.5s ease 0.8s both;
}

.contact-form-success p {
  max-width: 520px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.05rem;
  line-height: 1.7;
  animation: fadeInUp 0.5s ease 1s both;
}

.reset-form-btn {
  animation: fadeInUp 0.5s ease 1.2s both;
}

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

.contact-form[data-status]::after {
  grid-column: 1 / -1;
  content: attr(data-status);
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  background: #ef4444;
  font-weight: 800;
  text-align: center;
  animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-row {
  display: grid;
  gap: 14px;
}

.phone-row label span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.star-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 0 0;
  border: 0;
}

.star-field legend {
  flex: 0 0 100%;
  margin-bottom: 2px;
  color: #ededed;
  font-weight: 900;
}

.star-choice {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.star-choice:hover,
.star-choice.is-selected {
  color: var(--star);
  border-color: rgba(245, 196, 81, 0.7);
  background: rgba(245, 196, 81, 0.12);
}

.star-choice:hover {
  transform: translateY(-2px) scale(1.06);
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  padding: 12px 14px;
  outline: none;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

footer {
  padding: 38px 16px 48px;
  color: var(--muted);
  text-align: center;
}

.page-shell {
  padding-top: 86px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3.3rem, 16vw, 8rem);
}

.blog-list {
  padding-top: 0;
}

.blog-post {
  display: grid;
  gap: 10px;
}

.blog-post-featured h1 {
  max-width: 900px;
  margin-bottom: 8px;
  font-size: clamp(2.7rem, 10vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.post-excerpt {
  font-size: 1.12rem;
  font-weight: 800;
}

.admin-body {
  background: #f7f7f7;
  scroll-behavior: smooth;
}

.admin-shell {
  width: min(100% - 24px, 1280px);
  margin: 0 auto;
  padding: 40px 0 70px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.admin-sidebar {
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.admin-brand {
  margin-bottom: 32px;
}

.admin-brand h2 {
  font-size: 1.5rem;
  margin: 0 0 8px 0;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav a {
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--soft-ink);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  background: #f9fafb;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: #050505;
  color: #fff;
}

.admin-nav a.logout-link {
  margin-top: 16px;
  background: #fee2e2;
  color: #dc2626;
}

.admin-nav a.logout-link:hover {
  background: #dc2626;
  color: #fff;
}

.admin-panel {
  padding: 32px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  scroll-margin-top: 40px;
}

.admin-head,
.form-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-head h1 {
  font-size: clamp(2.5rem, 12vw, 5rem);
}

.admin-form {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.admin-form h2 {
  margin: 0;
}

.notice {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
}

.success {
  color: #fff;
  background: #050505;
}

.error {
  color: #fff;
  background: #8b0000;
}

.admin-preview {
  width: 160px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  object-fit: cover;
  filter: grayscale(1);
}

.admin-section {
  margin-bottom: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
}

.inquiry-count {
  padding: 6px 14px;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.empty-message {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

.inquiries-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.inquiry-card {
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: all 220ms ease;
}

.inquiry-card.new {
  border-left: 4px solid #3b82f6;
  background: #eff6ff;
}

.inquiry-card.reviewing {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
}

.inquiry-card.replied {
  border-left: 4px solid #10b981;
  background: #f0fdf4;
}

.inquiry-card.archived {
  border-left: 4px solid #6b7280;
  background: #f9fafb;
  opacity: 0.7;
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.inquiry-header h3 {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.inquiry-email {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.inquiry-status-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-new {
  background: #3b82f6;
  color: #fff;
}

.status-reviewing {
  background: #f59e0b;
  color: #fff;
}

.status-replied {
  background: #10b981;
  color: #fff;
}

.status-archived {
  background: #6b7280;
  color: #fff;
}

.inquiry-details {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.inquiry-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.admin-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #050505;
  margin: 0;
}

.inquiry-field {
  display: flex;
  gap: 8px;
  font-size: 0.95rem;
}

.inquiry-field strong {
  min-width: 120px;
  color: var(--soft-ink);
  font-weight: 800;
}

.inquiry-field span {
  color: var(--ink);
}

.inquiry-message {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #f9fafb;
}

.inquiry-message strong {
  display: block;
  margin-bottom: 8px;
  color: var(--soft-ink);
  font-weight: 800;
}

.inquiry-message p {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.inquiry-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.status-select {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.status-select:hover {
  border-color: var(--ink);
}

.btn-delete {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #dc2626;
  border-radius: 10px;
  background: #fff;
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 180ms ease;
}

.btn-delete:hover {
  background: #dc2626;
  color: #fff;
}

.post-editor {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.post-editors {
  display: grid;
  grid-column: 1 / -1;
  gap: 14px;
}

.post-remove {
  justify-self: start;
  min-height: 42px;
  padding: 0 16px;
}

.post-editor legend {
  padding: 0 8px;
  font-weight: 900;
}

.post-image-preview {
  width: min(100%, 320px);
  aspect-ratio: 16 / 9;
}

[data-reveal] {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    opacity 780ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="rise"] {
  transform: translateY(42px);
  filter: blur(8px);
}

[data-reveal="slide"] {
  transform: translateX(-34px);
  filter: blur(8px);
}

[data-reveal="scale"] {
  transform: scale(0.94) translateY(26px);
  filter: blur(8px);
}

[data-reveal="fade"] {
  transform: translateY(-14px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@keyframes floatClean {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

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

@keyframes sweepLight {
  0%, 52% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

@media (max-width: 699px) {
  .client-reviews {
    padding: 76px 0;
  }

  .client-reviews .section-heading {
    padding: 0 18px;
  }

  .client-reviews .reviews-shell {
    width: 100%;
  }

  .review-list {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 4px 18px 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .review-list::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 min(86vw, 360px);
    min-height: 284px;
    padding: 24px;
    scroll-snap-align: center;
    border-radius: 24px;
    background: #ffffff;
    color: #050505;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.34);
  }

  .review-card strong {
    color: #050505;
  }

  .review-card p {
    color: #333333;
    font-size: 1rem;
    line-height: 1.72;
  }

  .review-card .stars {
    color: #f5c451; /* Golden stars */
    font-size: 1.08rem;
    letter-spacing: 2px;
  }

  .review-form {
    width: calc(100% - 36px);
    margin: 0 auto;
  }
}

@media (min-width: 700px) {
  .hero-actions {
    grid-template-columns: repeat(3, max-content);
  }

  .hero {
    padding-top: 128px;
  }

  .contact-form,
  .admin-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form .wide,
  .contact-form .phone-row,
  .contact-form button,
  .admin-form h2,
  .admin-form .post-editor,
  .admin-form button,
  .admin-form .admin-preview {
    grid-column: 1 / -1;
  }

  .manifesto-grid,
  .project-grid,
  .service-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-form h3,
  .review-form .star-field,
  .review-form .wide,
  .review-form button {
    grid-column: 1 / -1;
  }

  .phone-row {
    grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
  }

  .inquiries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .site-header {
    top: 18px;
    left: 50%;
    right: auto;
    width: min(1180px, calc(100% - 36px));
    transform: translateX(-50%);
  }

  nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  nav a {
    padding: 10px 11px;
    border-radius: 999px;
    color: var(--soft-ink);
    font-size: 0.86rem;
    font-weight: 800;
  }

  nav a:hover {
    color: var(--ink);
    background: #f0f0f0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 64px;
    padding-top: 150px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .profile-frame {
    width: min(36vw, 430px);
  }

  .section {
    padding: 112px 0;
  }

  .section-heading h2 {
    max-width: 980px;
    font-size: clamp(3rem, 5.8vw, 5.7rem);
    line-height: 0.98;
  }

  .manifesto-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .skills-layout {
    grid-template-columns: minmax(360px, 0.9fr) 1.1fr;
    align-items: start;
  }

  .constellation {
    position: sticky;
    top: 112px;
    height: 620px;
  }

  .project-grid,
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-shell {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .blog-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  }

  .blog-list .empty-state {
    grid-column: 1 / -1;
  }

  .blog-post {
    padding: 34px;
  }

  .admin-layout {
    grid-template-columns: 280px 1fr;
  }
  .admin-sidebar {
    position: sticky;
    top: 40px;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    pointer-events: none;
    z-index: 40;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--ink);
  }

  .cursor-ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.55);
  }
}

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