:root {
  color-scheme: light;
  --ink: #10192b;
  --ink-soft: #46546a;
  --paper: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #edf3ff;
  --line: #dce4f1;
  --brand: #0a5ee8;
  --brand-deep: #0648b8;
  --brand-soft: #dce9ff;
  --accent: #ffb647;
  --success: #087a55;
  --danger: #b42318;
  --shadow-sm: 0 12px 30px rgba(16, 25, 43, 0.08);
  --shadow-lg: 0 28px 80px rgba(16, 25, 43, 0.16);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --container: 1180px;
  --header-height: 76px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f6f8ff;
  --ink-soft: #aebbd0;
  --paper: #08101e;
  --surface: #101a2c;
  --surface-2: #14233d;
  --line: #263650;
  --brand: #6ca4ff;
  --brand-deep: #8db8ff;
  --brand-soft: #183767;
  --accent: #ffc96f;
  --success: #56d6a7;
  --danger: #ff8c82;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.38);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-deep);
}

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

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
}

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

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

.narrow {
  width: min(calc(100% - 2rem), 820px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.surface-section {
  background: var(--surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8em;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.9rem, 7vw, 6.4rem);
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.25rem;
}

.lead {
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(18px) saturate(145%);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 1.1rem;
}

.brand {
  display: inline-flex;
  width: min(265px, 40vw);
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-brand img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--ink-soft);
  padding: 0.65rem 0.82rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle,
.nav-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle:hover,
.nav-toggle:hover {
  border-color: var(--brand);
}

.theme-toggle .sun,
html[data-theme="dark"] .theme-toggle .moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .sun {
  display: block;
}

.nav-toggle {
  display: none;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 0.78rem 1.25rem;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 28%, transparent);
  transform: translateY(-2px);
}

.button::after {
  content: "→";
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
}

.section-link {
  margin-top: 1.5rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(4rem, 9vw, 8.5rem);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  content: "";
}

.hero::before {
  width: min(60vw, 760px);
  aspect-ratio: 1;
  top: -40%;
  right: -20%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 68%);
}

.hero::after {
  width: 430px;
  aspect-ratio: 1;
  bottom: -45%;
  left: -10%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.hero-copy .lead {
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-note {
  display: flex;
  margin-top: 1.35rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero-note::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 16%, transparent);
  content: "";
}

.owner-card {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  transform: rotate(1.25deg);
}

.owner-card::before {
  position: absolute;
  z-index: -1;
  inset: 12% -7% -7% 12%;
  border-radius: inherit;
  background: var(--brand);
  content: "";
  opacity: 0.12;
  transform: rotate(-4deg);
}

.owner-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: calc(var(--radius-lg) - 0.45rem);
  object-fit: cover;
}

.owner-stage {
  position: relative;
  isolation: isolate;
  max-width: 470px;
  margin-inline: auto;
}

.owner-card-professional {
  max-width: 440px;
  transform: rotate(-1deg);
}

.owner-card-professional img {
  object-position: center 24%;
}

.floating-skill {
  position: absolute;
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
}

.floating-skill::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 15%, transparent);
  content: "";
}

.floating-skill-one { top: 10%; left: -12%; }
.floating-skill-two { right: -14%; bottom: 30%; }
.floating-skill-three { bottom: 4%; left: -7%; }

.keyword-rail {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.keyword-track {
  display: flex;
  width: max-content;
  animation: keyword-scroll 34s linear infinite;
}

.keyword-track span {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 1rem;
  padding-inline: 1.25rem;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.keyword-track span::after {
  color: var(--accent);
  content: "✦";
}

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

.system-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 34%, color-mix(in srgb, var(--brand) 15%, transparent), transparent 31%),
    var(--paper);
}

.system-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.diagnostic-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #29405f;
  border-radius: var(--radius-lg);
  background: #081221;
  box-shadow: 0 32px 90px rgba(2, 10, 23, 0.36);
  color: #dfe9fa;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.diagnostic-panel::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(108, 164, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 164, 255, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  pointer-events: none;
}

.diagnostic-top,
.diagnostic-core,
.diagnostic-grid {
  position: relative;
  z-index: 1;
}

.diagnostic-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #243650;
  padding-bottom: 1rem;
  color: #8fa3bf;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-live { color: #7ce4b9; }
.system-live i { display: inline-block; width: 7px; height: 7px; margin-right: 0.45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }

.diagnostic-core {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 2.2rem;
}

.diagnostic-orbit {
  position: relative;
  display: grid;
  width: 150px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #274163;
  border-radius: 50%;
  background: radial-gradient(circle, #122a4f 0 31%, transparent 32%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.diagnostic-orbit::before,
.diagnostic-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.diagnostic-orbit::before {
  inset: 12px;
  border: 2px dashed #3c70bc;
  animation: orbit-spin 18s linear infinite;
}

.diagnostic-orbit::after {
  width: 14px;
  height: 14px;
  top: 18px;
  right: 26px;
  background: #6ca4ff;
  box-shadow: 0 0 22px #6ca4ff;
}

@keyframes orbit-spin { to { transform: rotate(360deg); } }

.diagnostic-label { margin: 0 0 0.7rem; color: #6ca4ff; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.13em; }
.diagnostic-core h3 { margin-bottom: 0.6rem; color: #fff; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.diagnostic-core p:last-child { margin: 0; color: #96a9c5; font-size: 0.9rem; }

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #243650;
  border-left: 1px solid #243650;
}

.diagnostic-grid div {
  display: grid;
  border-right: 1px solid #243650;
  border-bottom: 1px solid #243650;
  padding: 1rem;
}

.diagnostic-grid span { color: #6ca4ff; font-size: 0.67rem; font-weight: 850; }
.diagnostic-grid strong { margin-block: 0.2rem; color: #fff; }
.diagnostic-grid small { color: #8499b7; }

.personal-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.personal-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--line));
  border-radius: var(--radius-lg);
  background: #081221;
  box-shadow: var(--shadow-lg);
}

.personal-visual::after {
  position: absolute;
  inset: auto 1rem 1rem;
  border-radius: 999px;
  background: rgba(8, 18, 33, 0.82);
  color: #fff;
  padding: 0.7rem 1rem;
  content: "Web · Search · Data · Growth";
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.personal-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.owner-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.7rem 0.45rem;
}

.owner-caption strong,
.owner-caption span {
  display: block;
}

.owner-caption span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.availability-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 0.38rem 0.68rem;
  font-size: 0.73rem;
  font-weight: 800;
  white-space: nowrap;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 130px;
  padding: 1.75rem;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.proof-item span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  transition: border-color 180ms ease, transform 180ms ease;
}

.bento-card:hover {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  transform: translateY(-4px);
}

.bento-card:nth-child(1),
.bento-card:nth-child(4) {
  grid-column: span 7;
}

.bento-card:nth-child(2),
.bento-card:nth-child(3) {
  grid-column: span 5;
}

.bento-card:nth-child(1) {
  background: var(--ink);
}

.bento-card:nth-child(1) h3,
.bento-card:nth-child(1) p,
.bento-card:nth-child(1) .text-link,
.bento-card:nth-child(1) .card-number {
  color: var(--paper);
}

html[data-theme="dark"] .bento-card:nth-child(1) {
  background: #f0f4fc;
}

html[data-theme="dark"] .bento-card:nth-child(1) h3,
html[data-theme="dark"] .bento-card:nth-child(1) p,
html[data-theme="dark"] .bento-card:nth-child(1) .text-link,
html[data-theme="dark"] .bento-card:nth-child(1) .card-number {
  color: #10192b;
}

.card-number {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.bento-card h3 {
  max-width: 18ch;
}

.bento-card p {
  max-width: 52ch;
  color: var(--ink-soft);
}

.bento-card .text-link {
  margin-top: 0.65rem;
}

.signal-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 68%, transparent), transparent 70%),
    var(--surface);
}

.signal-bars {
  display: flex;
  height: 64px;
  margin-top: 1.5rem;
  align-items: end;
  gap: 0.38rem;
}

.signal-bars span {
  width: 9px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.2;
}

.signal-bars span:nth-child(1) { height: 26%; }
.signal-bars span:nth-child(2) { height: 42%; }
.signal-bars span:nth-child(3) { height: 35%; }
.signal-bars span:nth-child(4) { height: 58%; }
.signal-bars span:nth-child(5) { height: 52%; }
.signal-bars span:nth-child(6) { height: 78%; }
.signal-bars span:nth-child(7) { height: 66%; }
.signal-bars span:nth-child(8) { height: 92%; opacity: 0.95; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
}

.sticky-panel {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.plain-list,
.check-list,
.footer-links,
.inline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
  content: "✓";
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 60px minmax(190px, 0.7fr) minmax(0, 1.25fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-block: 2rem;
}

.service-row .index {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.service-row h3,
.service-row p {
  margin-bottom: 0;
}

.service-row p {
  color: var(--ink-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: process;
  gap: 1rem;
}

.process-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.65rem;
  counter-increment: process;
}

.process-step::before {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  content: counter(process, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 900;
}

.process-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.client-logo {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 1rem;
}

.client-logo img {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  filter: saturate(0.65);
  transition: filter 180ms ease, transform 180ms ease;
}

.client-logo:hover img {
  filter: saturate(1);
  transform: scale(1.035);
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-showcase-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  transition: border-color 180ms ease, transform 180ms ease;
}

.project-showcase-card:hover {
  border-color: color-mix(in srgb, var(--brand) 44%, var(--line));
  transform: translateY(-4px);
}

.project-logo {
  display: grid;
  min-height: 170px;
  margin-bottom: 1.4rem;
  place-items: center;
  border-radius: calc(var(--radius) - 0.45rem);
  background: #fff;
  padding: 1.4rem;
}

.project-logo img {
  width: auto;
  max-width: 100%;
  max-height: 96px;
  height: auto;
}

.project-type {
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.project-showcase-card h3 {
  margin-bottom: 0.55rem;
}

.project-showcase-card p {
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.callout {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0c1830;
  color: #dce6fa;
  padding: clamp(2.25rem, 6vw, 5rem);
}

.callout::after {
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  right: -130px;
  bottom: -250px;
  border: 70px solid rgba(108, 164, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.callout h2 {
  max-width: 16ch;
  color: #fff;
}

.callout p {
  max-width: 60ch;
  color: #aebbd0;
}

.callout .button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
}

.page-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  width: 520px;
  aspect-ratio: 1;
  top: -300px;
  right: -120px;
  border: 80px solid color-mix(in srgb, var(--brand) 9%, transparent);
  border-radius: 50%;
  content: "";
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.7rem, 6.5vw, 5.7rem);
}

.page-hero .lead {
  max-width: 66ch;
}

.breadcrumbs {
  margin-bottom: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-inline: 0.55rem;
  content: "/";
}

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

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.content-card + .content-card {
  margin-top: 1rem;
}

.content-card p:last-child,
.content-card ul:last-child {
  margin-bottom: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  margin: 1.5rem 0 0;
  padding: 0;
  gap: 0.5rem;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 0.42rem 0.72rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.75rem;
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 20px 55px color-mix(in srgb, var(--brand) 14%, transparent);
}

.price-label {
  margin-bottom: 1.25rem;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price small {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
}

.price-card .check-list {
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-card .button {
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 1.2rem;
}

.faq-list summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--brand);
  content: "+";
  font-size: 1.2rem;
  line-height: 1.65rem;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-answer {
  max-width: 74ch;
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-detail {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.contact-detail span,
.contact-detail strong {
  display: block;
}

.contact-detail span {
  margin-bottom: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail a {
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 4vw, 2.75rem);
}

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

.field {
  display: grid;
  gap: 0.4rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.fieldset-label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.78rem 0.9rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  outline: 3px solid color-mix(in srgb, var(--brand) 18%, transparent);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-column: 1 / -1;
  gap: 0.7rem;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
}

.form-status.error {
  background: color-mix(in srgb, var(--danger) 13%, transparent);
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.article-header {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 19ch;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  gap: 0.5rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.article-body {
  width: min(calc(100% - 2rem), 780px);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.article-body h2 {
  margin-top: 2.3em;
  font-size: clamp(1.75rem, 3.7vw, 2.65rem);
}

.article-body h3 {
  margin-top: 2em;
}

.article-body p,
.article-body li {
  color: var(--ink-soft);
}

.article-body li + li {
  margin-top: 0.5rem;
}

.article-body blockquote {
  margin: 2rem 0;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-2);
  padding: 1.3rem 1.5rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 650;
}

.article-image {
  margin: 2rem 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.post-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.post-card-content {
  padding: 1.6rem;
}

.post-card-content p {
  color: var(--ink-soft);
}

.post-card-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 4rem 1.5rem;
}

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

.footer-brand {
  display: inline-block;
  width: min(280px, 100%);
  margin-bottom: 1.25rem;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-intro {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-column h2 {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  margin-top: 3rem;
  padding-top: 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--ink-soft);
  font-weight: 750;
  text-decoration: none;
}

.mobile-contact-bar {
  display: none;
}

.legal-copy h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-copy h3 {
  margin-top: 1.8em;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 1rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bento-card,
    .process-step,
    .content-card,
    .price-card,
    .post-card {
      animation: reveal linear both;
      animation-range: entry 8% cover 28%;
      animation-timeline: view();
    }

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

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    inset: var(--header-height) 1rem auto;
    display: none;
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .nav-toggle {
    display: inline-grid;
  }

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

  .hero-grid,
  .two-column,
  .contact-grid,
  .system-showcase,
  .personal-split {
    grid-template-columns: 1fr;
  }

  .owner-card {
    width: min(100%, 430px);
    margin-top: 1rem;
  }

  .sticky-panel {
    position: static;
  }

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

  .proof-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .process-grid,
  .pricing-grid,
  .project-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 68px;
  }

  .brand {
    width: min(220px, 52vw);
  }

  .theme-toggle,
  .nav-toggle {
    width: 41px;
    height: 41px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .floating-skill-one { top: 6%; left: -1%; }
  .floating-skill-two { right: -1%; bottom: 27%; }
  .floating-skill-three { bottom: 2%; left: 2%; }

  .owner-stage {
    width: min(100%, 310px);
    margin-top: 1.25rem;
  }

  .owner-card-professional {
    width: 100%;
    max-width: 300px;
  }

  .personal-visual {
    width: min(100%, 330px);
    margin-inline: auto;
  }

  .diagnostic-core {
    grid-template-columns: 1fr;
  }

  .diagnostic-orbit {
    width: 126px;
  }

  .bento-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bento-card:nth-child(n) {
    grid-column: 1;
  }

  .service-row {
    grid-template-columns: 42px 1fr;
    gap: 0.85rem 1rem;
  }

  .service-row p {
    grid-column: 2;
  }

  .process-grid,
  .pricing-grid,
  .post-grid,
  .project-showcase-grid {
    grid-template-columns: 1fr;
  }

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

  .client-logo {
    min-height: 92px;
    padding: 0.75rem;
  }

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

  .field-full,
  .checkbox-field {
    grid-column: 1;
  }

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

  .footer-column:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 900;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: 0 -12px 32px rgba(16, 25, 43, 0.12);
    padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
    gap: 0.55rem;
  }

  .mobile-contact-bar a {
    display: flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 820;
    text-decoration: none;
  }

  .mobile-contact-bar a:first-child {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
  }
}

@media (max-width: 480px) {
  .container,
  .narrow,
  .article-body {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

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

  .floating-skill {
    position: static;
    display: inline-block;
    margin: 0.5rem 0.25rem 0;
  }

  .owner-stage {
    width: min(100%, 260px);
  }

  .owner-card-professional {
    max-width: 250px;
  }

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

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

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

  .footer-column:first-child {
    grid-column: auto;
  }
}

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

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

  .keyword-track,
  .diagnostic-orbit::before {
    animation: none !important;
  }
}
