:root {
  --bg: #06060d;
  --bg-soft: #0b0f20;
  --panel: #0a0c16;
  --panel-soft: #111527;
  --ink: #f4f6ff;
  --ink-soft: #a7b0cc;
  --line: rgba(171, 184, 230, 0.22);
  --brand-a: #6c7cff;
  --brand-b: #b05bff;
  --brand-c: #4cc4ff;
  --brand-grad: linear-gradient(130deg, var(--brand-a), var(--brand-b));
  --radius: 18px;
  --shadow-deep: 0 30px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 15px 28px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 460px at 75% -10%, rgba(130, 70, 255, 0.28), transparent 72%),
    radial-gradient(820px 420px at -10% 10%, rgba(56, 88, 255, 0.2), transparent 70%),
    radial-gradient(740px 320px at 20% 100%, rgba(116, 51, 255, 0.17), transparent 70%),
    linear-gradient(165deg, #05060c 0%, #0a1020 50%, #06070f 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(800px 500px at 0% 100%, rgba(0, 0, 0, 0.35), transparent 70%),
    radial-gradient(1000px 580px at 100% 0%, rgba(0, 0, 0, 0.34), transparent 72%);
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.18;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(101, 126, 255, 0.18), transparent 72%),
    radial-gradient(700px 300px at 80% 100%, rgba(176, 91, 255, 0.2), transparent 72%),
    rgba(6, 7, 15, 0.96);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-shell {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(151, 167, 219, 0.35);
  background: linear-gradient(180deg, #12172c, #0c1121);
  box-shadow: var(--shadow-soft);
}

.loader-logo {
  width: 105px;
  border-radius: 9px;
}

.loader-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(169, 182, 230, 0.3);
  border-top-color: var(--brand-a);
  border-right-color: var(--brand-b);
  animation: spin 0.95s linear infinite;
}

.loader-shell p {
  color: #d0d8f7;
  font-weight: 600;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(176, 190, 238, 0.14);
  backdrop-filter: blur(10px);
  background: rgba(8, 10, 20, 0.72);
}

.header-shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.brand-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #fefeff, #859dff 34%, #bc73ff 72%, #fefeff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(164, 177, 225, 0.3);
  background: rgba(19, 26, 47, 0.9);
  color: #e6ecff;
  border-radius: 9px;
  padding: 0.4rem 0.7rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: #cad3ef;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.hero-shell {
  padding: 2rem 0 1.1rem;
}

.screen-frame {
  border-radius: 24px;
  border: 1px solid rgba(170, 182, 230, 0.22);
  background: linear-gradient(180deg, #080b14, #060810 58%, #080b14 100%);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(180, 194, 236, 0.12);
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.9), rgba(8, 12, 24, 0.82));
}

.screen-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #fefeff, #899eff 32%, #c17cff 75%, #fefeff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.screen-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.screen-nav {
  display: flex;
  gap: 1rem;
}

.screen-nav a {
  color: #b6c1e4;
  text-decoration: none;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.screen-nav a:hover,
.screen-nav a:focus-visible {
  color: #ffffff;
}

.screen-main {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1rem;
  padding: 1.6rem 1.15rem 1.45rem;
}

.screen-copy h1 {
  max-width: 13ch;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 0.7rem;
}

.screen-copy h1 span {
  background: linear-gradient(120deg, #7f8eff, #d277ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.screen-copy p {
  max-width: 45ch;
  color: #bac4e1;
  font-size: 1.01rem;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.62rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--brand-grad);
  box-shadow: 0 12px 24px rgba(125, 102, 255, 0.36);
}

.btn-secondary {
  background: rgba(18, 24, 41, 0.85);
  border-color: rgba(177, 192, 235, 0.3);
  color: #e8eeff;
}

.screen-widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  align-content: start;
}

.metric-card {
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(155, 168, 219, 0.28);
  background: linear-gradient(180deg, rgba(30, 35, 61, 0.84), rgba(17, 22, 39, 0.9));
  box-shadow: var(--shadow-soft);
}

.metric-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.metric-card p {
  color: #b7c3e5;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.mini-chart {
  height: 44px;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(84, 116, 255, 0.75), rgba(176, 90, 255, 0.65)) bottom 4px left 6px / 86% 2px no-repeat,
    linear-gradient(132deg, rgba(84, 116, 255, 0.2), rgba(176, 90, 255, 0.2));
  position: relative;
}

.mini-chart::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7092ff, #be7dff, transparent);
  filter: drop-shadow(0 0 8px rgba(132, 118, 255, 0.6));
  animation: shimmerLine 2.7s linear infinite;
}

.mini-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(185, 196, 232, 0.18);
  overflow: hidden;
}

.mini-progress span {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, #7087ff, #c173ff);
}

.preview-card {
  grid-column: span 2;
  min-height: 210px;
  border-radius: 16px;
  border: 1px solid rgba(161, 174, 227, 0.24);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(10, 14, 28, 0.24), rgba(10, 12, 24, 0.8)),
    radial-gradient(420px 220px at 20% 0%, rgba(152, 118, 255, 0.4), transparent 72%),
    linear-gradient(160deg, #2d2447, #211b35 55%, #1a132a);
}

.preview-card p {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.preview-card span {
  width: fit-content;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(107, 124, 255, 0.34);
  border: 1px solid rgba(168, 184, 241, 0.38);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.trusted-strip {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: #f2f3f8;
  color: #0f1320;
  padding: 0.95rem 1rem;
}

.trusted-strip p {
  font-weight: 700;
  max-width: 24ch;
}

.trusted-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 700;
}

.value-row {
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(167, 179, 227, 0.2);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 16, 30, 0.9), rgba(8, 11, 21, 0.95));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-row article {
  text-align: center;
  padding: 1.1rem 0.6rem;
  border-right: 1px solid rgba(167, 179, 227, 0.16);
}

.value-row article:last-child {
  border-right: 0;
}

.value-row span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(176, 189, 235, 0.45);
  color: #c7d2ff;
  background: rgba(115, 131, 255, 0.16);
}

.value-row svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-row h3 {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section {
  padding: 2.2rem 0;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9fafef;
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-card,
.work-card,
.booking-form,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid rgba(164, 178, 224, 0.28);
  background: linear-gradient(180deg, rgba(18, 23, 41, 0.92), rgba(11, 15, 28, 0.95));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.service-card::before,
.work-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(110, 129, 255, 0.7), rgba(186, 110, 255, 0.72), rgba(85, 195, 255, 0.65));
}

.service-card:hover,
.service-card:focus-within,
.work-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 195, 238, 0.5);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.45);
}

.service-card,
.work-card {
  padding: 1.15rem;
}

.service-card h3,
.work-card h3 {
  margin-bottom: 0.45rem;
}

.service-card p,
.work-card p {
  color: #b8c4e7;
}

.plan-select {
  margin-top: 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(161, 177, 229, 0.4);
  background: rgba(26, 34, 62, 0.9);
  color: #f0f4ff;
  padding: 0.55rem 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.plan-select:hover,
.plan-select:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(190, 202, 240, 0.55);
  background: linear-gradient(120deg, rgba(92, 113, 247, 0.86), rgba(171, 89, 241, 0.82));
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.work-grid .section-head {
  grid-column: 1 / -1;
}

.work-link-btn {
  grid-column: 1 / -1;
  width: fit-content;
  justify-self: center;
  text-decoration: none;
  padding: 0.72rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(171, 187, 237, 0.4);
  color: #eef3ff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(22, 29, 55, 0.86);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.work-link-btn:hover,
.work-link-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(195, 207, 244, 0.62);
  background: linear-gradient(120deg, rgba(96, 114, 245, 0.9), rgba(170, 92, 241, 0.86));
}

.book-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.booking-form,
.contact-card {
  padding: 1.15rem;
}

.booking-form label,
.booking-form legend {
  display: block;
  margin: 0.72rem 0 0.32rem;
  font-weight: 600;
  color: #dfe5ff;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(146, 162, 214, 0.38);
  background: rgba(8, 12, 24, 0.85);
  color: #e9eeff;
  font: inherit;
  padding: 0.62rem 0.72rem;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: rgba(163, 179, 236, 0.7);
  box-shadow: 0 0 0 3px rgba(106, 127, 241, 0.22);
}

.booking-form fieldset {
  margin: 0.7rem 0;
  padding: 0;
  border: 0;
}

.booking-form .inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  color: #c2cdea;
}

.booking-form .inline input {
  width: auto;
}

.form-note {
  margin-top: 0.7rem;
  color: #b4c0e2;
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.2rem;
  margin-top: 0.42rem;
  font-size: 0.92rem;
  color: #bfd2ff;
}

.contact-card h3 {
  margin-bottom: 0.42rem;
}

.contact-card p {
  color: #bdc9ea;
}

.contact-card a {
  display: block;
  width: 100%;
  margin: 0.55rem 0;
  text-decoration: none;
  color: #e4ecff;
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.45;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: #ffffff;
}

.contact-card a.external-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.contact-card a.external-link .link-icon {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(173, 187, 233, 0.45);
  background: rgba(93, 111, 240, 0.16);
  font-size: 0.72rem;
  line-height: 1;
}

.contact-card a.external-link .link-arrow {
  margin-left: 0.1rem;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-card a.external-link:hover .link-arrow,
.contact-card a.external-link:focus-visible .link-arrow {
  opacity: 1;
  transform: translate(2px, -1px);
}

.contact-card .small {
  margin-top: 0.8rem;
  font-size: 0.88rem;
}

.site-footer {
  width: min(1180px, 92vw);
  margin: 1.6rem auto 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(171, 184, 227, 0.24);
  color: #b4c0e3;
  text-align: center;
}

.comments-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.comment-form,
.comment-list-wrap {
  border-radius: var(--radius);
  border: 1px solid rgba(164, 178, 224, 0.28);
  background: linear-gradient(180deg, rgba(18, 23, 41, 0.92), rgba(11, 15, 28, 0.95));
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.comment-form label {
  display: block;
  margin: 0.72rem 0 0.32rem;
  font-weight: 600;
  color: #dfe5ff;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(146, 162, 214, 0.38);
  background: rgba(8, 12, 24, 0.85);
  color: #e9eeff;
  font: inherit;
  padding: 0.62rem 0.72rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: rgba(163, 179, 236, 0.7);
  box-shadow: 0 0 0 3px rgba(106, 127, 241, 0.22);
}

.comment-form .btn {
  margin-top: 0.9rem;
}

.comment-status {
  min-height: 1.2rem;
  margin-top: 0.5rem;
  color: #bfd2ff;
  font-size: 0.92rem;
}

.comment-list-wrap h3 {
  margin-bottom: 0.7rem;
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.comment-list li {
  border-radius: 12px;
  border: 1px solid rgba(154, 170, 220, 0.3);
  background: rgba(13, 18, 33, 0.82);
  padding: 0.72rem 0.78rem;
}

.comment-list .comment-empty {
  color: #b5c1e4;
  text-align: center;
  border-style: dashed;
}

.comment-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.comment-list .meta {
  color: #aab7db;
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.comment-action {
  border: 1px solid rgba(152, 169, 221, 0.35);
  border-radius: 999px;
  background: rgba(20, 29, 54, 0.85);
  color: #dce5ff;
  padding: 0.34rem 0.62rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.comment-action:hover,
.comment-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(194, 207, 244, 0.65);
  background: rgba(33, 45, 80, 0.92);
}

.comment-action span {
  margin-left: 0.2rem;
}

.comment-delete {
  border-color: rgba(232, 148, 167, 0.45);
  color: #ffd6df;
  background: rgba(59, 24, 36, 0.75);
}

.comment-delete:hover,
.comment-delete:focus-visible {
  border-color: rgba(248, 180, 197, 0.78);
  background: rgba(82, 32, 50, 0.92);
}

.pw-main {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.pw-hero {
  padding-top: 2.4rem;
}

.pw-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin: 0.35rem 0 0.7rem;
}

.pw-hero p {
  max-width: 64ch;
  color: #bcc8ea;
  margin-bottom: 1rem;
}

.pw-content {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 0.95rem;
  align-items: start;
}

.pw-gallery {
  display: grid;
  gap: 0.8rem;
}

.pw-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(166, 178, 226, 0.3);
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.95), rgba(11, 15, 28, 0.95));
  box-shadow: var(--shadow-soft);
}

.pw-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pw-shot figcaption {
  padding: 0.58rem 0.72rem 0.72rem;
  color: #c2cdeb;
  font-size: 0.9rem;
}

.pw-features {
  border-radius: 16px;
  border: 1px solid rgba(166, 178, 226, 0.3);
  background: linear-gradient(180deg, rgba(18, 23, 41, 0.95), rgba(11, 15, 28, 0.95));
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.pw-features h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin-bottom: 0.7rem;
}

.pw-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.pw-features li {
  border-radius: 10px;
  border: 1px solid rgba(146, 162, 213, 0.3);
  background: rgba(12, 17, 32, 0.85);
  color: #dbe4ff;
  padding: 0.52rem 0.65rem;
}

.reveal {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 18px, 0) scale(0.99);
  transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
}

.reveal[data-reveal="left"] {
  transform: translate3d(-20px, 0, 0) scale(0.99);
}

.reveal[data-reveal="right"] {
  transform: translate3d(20px, 0, 0) scale(0.99);
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.stagger-group .reveal {
  transition-delay: calc(var(--stagger-index, 0) * 90ms);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes shimmerLine {
  0% {
    transform: translateX(-20px);
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(20px);
    opacity: 0.65;
  }
}

@media (max-width: 980px) {
  .screen-main,
  .card-grid,
  .work-grid,
  .book-layout,
  .value-row,
  .comments-layout,
  .pw-content {
    grid-template-columns: 1fr;
  }

  .trusted-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .value-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(168, 180, 230, 0.16);
  }

  .value-row article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.72rem;
    padding: 0.85rem 4vw 1rem;
    border-bottom: 1px solid rgba(171, 184, 226, 0.2);
    background: rgba(9, 12, 24, 0.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .screen-nav {
    display: none;
  }

  .screen-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================= */
/* PREVIOUS WORK STRUCTURE */
/* ========================= */

.pw-projects {
  padding: 2rem 0 4rem;
  display: grid;
  gap: 2rem;
}

.pw-project-card {
  border-radius: 24px;
  border: 1px solid rgba(166, 178, 226, 0.24);
  background:
    linear-gradient(
      180deg,
      rgba(16, 22, 38, 0.96),
      rgba(10, 14, 26, 0.96)
    );

  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.pw-project-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  padding: 1.4rem;
}

.pw-project-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.4rem 0 0.8rem;
}

.pw-description {
  color: #bcc8ea;
  max-width: 60ch;
  line-height: 1.7;
}

.pw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pw-tags span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(108, 124, 255, 0.14);
  border: 1px solid rgba(167, 181, 236, 0.22);
  color: #dfe7ff;
  font-size: 0.85rem;
  font-weight: 600;
}

.pw-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.pw-project-features {
  border-radius: 18px;
  border: 1px solid rgba(167, 181, 236, 0.18);
  background: rgba(15, 20, 34, 0.78);
  padding: 1rem;
}

.pw-project-features h3 {
  margin-bottom: 1rem;
}

.pw-project-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.pw-project-features li {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(22, 30, 52, 0.72);
  border: 1px solid rgba(158, 173, 224, 0.16);
  color: #dfe7ff;
}

/* IMAGES GRID */

.pw-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 1.4rem 1.4rem;
}

.pw-image-card {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(162, 177, 228, 0.2);
  background: rgba(12, 17, 31, 0.9);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.pw-image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(190, 202, 245, 0.45);
}

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

.pw-image-card figcaption {
  padding: 0.9rem;
  color: #dfe6ff;
  font-weight: 600;
  font-size: 0.92rem;
}

/* MOBILE */

@media (max-width: 980px) {

  .pw-project-top {
    grid-template-columns: 1fr;
  }

  .pw-images-grid {
    grid-template-columns: 1fr;
  }

}