:root {
  --text: #0f172a;
  --muted: #42526b;
  --line: rgba(78, 113, 160, 0.18);
  --line-strong: rgba(37, 99, 235, 0.28);
  --white: #ffffff;
  --blue-950: #061120;
  --blue-900: #0b1f3a;
  --blue-800: #123153;
  --blue-700: #1d4f91;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --sky-50: #f4f8ff;
  --sky-100: #eaf2ff;
  --sky-200: #dce9ff;
  --sky-300: #cfdef7;
  --shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 12px 28px rgba(37, 99, 235, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #edf3fb;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.overlay-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
textarea:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

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

.brand-mini-shell {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(255,255,255,0.98), rgba(219,234,254,0.92));
  border: 2px solid rgba(11, 31, 58, 0.76);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.brand-mini-logo {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.26);
}

.brand-mini-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1.15rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--blue-700);
}

.hero-section,
.section {
  padding: 4.2rem 0;
}

.tone-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}

.tone-services-intro {
  background: linear-gradient(180deg, #edf4ff 0%, #e3eeff 100%);
}

.tone-services {
  background: linear-gradient(180deg, #e3eeff 0%, #d9e8ff 100%);
}

.tone-projects {
  background: linear-gradient(180deg, #d8e1f3 0%, #e8eef9 100%);
}

.tone-about {
  background: linear-gradient(180deg, #edf5ff 0%, #e4eefb 100%);
}

.tone-contact {
  background: linear-gradient(180deg, #e4eefb 0%, #dce8f7 100%);
}

.site-footer {
  background: linear-gradient(180deg, #0f2039 0%, #091427 100%);
  color: #dbe7f8;
  padding: 1.75rem 0 1.05rem;
  border-top: 1px solid rgba(125, 211, 252, 0.1);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(120px, auto) minmax(220px, auto);
  gap: 1.6rem;
  align-items: start;
}

.footer-brand {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fbff;
}

.footer-copy,
.footer-meta p,
.footer-meta a,
.footer-links a {
  margin: 0;
  color: #dbe7f8;
  font-size: 0.95rem;
  line-height: 1.7;
  text-decoration: none;
}

.footer-copy {
  max-width: 340px;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-meta {
  align-items: center;
  text-align: center;
}

.footer-signature {
  margin-top: 0.45rem;
  width: min(200px, 100%);
  height: 44px;
  object-fit: cover;
  object-position: center;
  opacity: 0.84;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.08));
  align-self: center;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: #ffffff;
}

.footer-legal {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(125, 211, 252, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  justify-content: space-between;
}

.footer-legal p {
  margin: 0;
  color: rgba(219, 231, 248, 0.78);
  font-size: 0.78rem;
  line-height: 1.6;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1.16fr);
  gap: 2.1rem;
  align-items: center;
}

.hero-mark {
  display: flex;
  justify-content: center;
}

.hero-logo-shell {
  width: min(100%, 316px);
  aspect-ratio: 1;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(255,255,255,0.98), rgba(219,234,254,0.94));
  border: 4px solid rgba(11, 31, 58, 0.9);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.1), 0 10px 22px rgba(15, 23, 42, 0.08);
  padding: 1rem;
  overflow: hidden;
}

.floating-logo {
  animation: floatPulse 7s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  max-width: 316px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.3);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-700);
}

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

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 6vw, 5rem);
  color: var(--blue-900);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.95rem, 3.7vw, 3rem);
  color: var(--blue-900);
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.18rem;
  color: var(--blue-900);
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--blue-700);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-lead,
.hero-sublead,
.section-heading p,
.bio-card p,
.contact-card p,
.about-intro p,
.founder-panel-preview,
.founder-dialog-body p,
.founder-dialog-lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-lead {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 0.45rem;
  max-width: 43rem;
  line-height: 1.62;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-sublead {
  max-width: 43rem;
  margin-bottom: 0;
  line-height: 1.72;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  opacity: 0.98;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.btn-primary:hover {
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  color: var(--blue-800);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(255,255,255,0.68);
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-heading-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading-centered p {
  max-width: 760px;
}

.center-heading {
  text-align: center;
}

.narrow-heading {
  max-width: 760px;
}

.center-heading.narrow-heading {
  margin-left: auto;
  margin-right: auto;
}

.service-grid,
.bio-grid,
.contact-layout,
.about-grid,
.project-grid {
  display: grid;
  gap: 1.1rem;
}

.founder-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.45rem;
}

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

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

.about-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

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

.founder-panel {
  width: min(820px, 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(28, 46, 76, 0.96), rgba(20, 36, 60, 0.96));
  box-shadow: 0 22px 54px rgba(37, 99, 235, 0.12);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.founder-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.32);
}

.founder-panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #7dd3fc;
}

.founder-panel-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #f8fbff;
  letter-spacing: -0.03em;
}

.founder-panel-preview {
  max-width: 700px;
  margin: 0;
  color: #ffffff;
}

.founder-panel-gallery {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.founder-panel-photo {
  width: min(120px, 100%);
  display: block;
  border-radius: 18px;
  border: 2px solid rgba(0, 0, 0, 0.9);
}

.founder-panel-icon {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 211, 252, 0.1);
  color: #f8fbff;
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  align-items: start;
}

.centered-grid {
  justify-content: center;
}

.service-panel-centered-last {
  grid-column: 2;
}

.service-panel,
.project-panel,
.bio-card,
.contact-card {
  position: relative;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

.service-panel,
.project-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  color: #eef5ff;
  cursor: pointer;
  overflow: hidden;
}

.service-panel {
  min-height: 164px;
  padding: 1.35rem 1.2rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--blue-600)) 62%, #d9e7ff 38%);
  background: linear-gradient(180deg, #24344d 0%, #263754 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 10px 24px rgba(15, 23, 42, 0.12),
    0 0 24px color-mix(in srgb, var(--card-accent, var(--blue-600)) 26%, transparent 74%);
}

.project-panel {
  min-height: 154px;
  padding: 1.18rem 1.1rem 1rem;
  border: 1px solid color-mix(in srgb, var(--card-accent, #38bdf8) 62%, #d9e7ff 38%);
  background: linear-gradient(180deg, #2d3f5e 0%, #314667 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 10px 24px rgba(15, 23, 42, 0.12),
    0 0 24px color-mix(in srgb, var(--card-accent, #38bdf8) 26%, transparent 74%);
}

.service-panel::before,
.project-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent, var(--blue-600)) 90%, white 10%), rgba(255,255,255,0.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.95;
  pointer-events: none;
}

.service-panel::after,
.project-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -48% -20%;
  height: 120px;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent, var(--blue-600)) 32%, transparent 68%) 0%, transparent 68%);
  opacity: 0.55;
  pointer-events: none;
}

.service-panel:hover,
.project-panel:hover,
.bio-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 16px 34px rgba(15, 23, 42, 0.16),
    0 0 34px color-mix(in srgb, var(--card-accent, var(--blue-600)) 34%, transparent 66%);
}

.service-panel:focus-visible,
.project-panel:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--card-accent, var(--blue-600)) 74%, white 26%);
  outline-offset: 3px;
}

.service-panel-top,
.project-panel-top {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.service-panel-kicker,
.project-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--card-accent, var(--blue-500)) 76%, white 24%);
}

.service-panel-title,
.project-panel-title {
  display: block;
  color: #f8fbff;
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.service-panel-title {
  font-size: 1.42rem;
  line-height: 1.05;
  white-space: nowrap;
  max-width: none;
  margin-inline: auto;
}

.project-panel-title {
  font-size: 1.2rem;
  line-height: 1.1;
  max-width: 22ch;
  margin-inline: auto;
}

.service-panel-preview,
.project-panel-preview {
  display: block;
  margin-inline: auto;
}

.service-panel-preview {
  margin-top: 0.72rem;
  max-width: 29ch;
  color: #d9e6f5;
  font-size: 0.88rem;
  line-height: 1.46;
}

.project-panel-preview {
  margin-top: 0.64rem;
  max-width: 31ch;
  color: #dbe7f8;
  font-size: 0.86rem;
  line-height: 1.46;
}

.service-panel-icon,
.project-panel-icon {
  width: 36px;
  height: 36px;
  margin-top: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--blue-600)) 60%, rgba(255,255,255,0.18) 40%);
  color: #f8fbff;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 0 24px color-mix(in srgb, var(--card-accent, var(--blue-600)) 30%, transparent 70%);
}

.project-house {
  --card-accent: #38bdf8;
}

.project-data {
  --card-accent: #60a5fa;
}

.project-platform {
  --card-accent: #8b5cf6;
}

.project-web {
  --card-accent: #14b8a6;
}

.bio-card,
.contact-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 1.4rem;
}

.bio-card {
  min-height: 100%;
}

.accent-blue {
  --card-accent: #2563eb;
}

.accent-cyan {
  --card-accent: #06b6d4;
}

.accent-indigo {
  --card-accent: #4f46e5;
}

.accent-steel {
  --card-accent: #64748b;
}

.accent-deep {
  --card-accent: #1d4ed8;
}

.accent-slate {
  --card-accent: #14b8a6;
}

.accent-gold {
  --card-accent: #f59e0b;
}

.accent-violet {
  --card-accent: #8b5cf6;
}

.accent-sky {
  --card-accent: #38bdf8;
}

.contact-card {
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(180deg, rgba(19,49,83,0.96), rgba(11,31,58,0.96));
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 18px 38px rgba(11, 31, 58, 0.18);
  padding: 1.15rem 1.2rem;
}

.contact-card p {
  margin: 0;
  line-height: 1.62;
}

.contact-card p,
.contact-card strong {
  color: #eff6ff;
}

.founder-overlay,
.service-overlay,
.project-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 60;
}

.founder-overlay.is-open,
.service-overlay.is-open,
.project-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.founder-overlay-backdrop,
.service-overlay-backdrop,
.project-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 42, 0.42);
  backdrop-filter: blur(4px);
}

.founder-dialog,
.service-dialog,
.project-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border-radius: 24px;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(28, 46, 76, 0.96), rgba(20, 36, 60, 0.96));
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.2), 0 0 30px rgba(59, 130, 246, 0.12);
  color: #eef5ff;
  z-index: 1;
}

.founder-dialog {
  padding: 1.75rem 1.1rem 1.75rem 1.75rem;
}

.founder-dialog-close,
.service-dialog-close,
.project-dialog-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #f8fbff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.founder-dialog-kicker,
.service-dialog-kicker,
.project-dialog-kicker {
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7dd3fc;
}

.founder-dialog h3,
.service-dialog h3,
.project-dialog h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #f8fbff;
}

.founder-dialog-lead,
.service-dialog-lead,
.service-dialog-list,
.project-dialog-lead,
.project-dialog-list {
  color: #d8e6fb;
}

.founder-dialog,
.founder-dialog-lead,
.founder-dialog-body p {
  color: #ffffff;
}

.founder-dialog-lead,
.service-dialog-lead,
.project-dialog-lead {
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 0.9rem;
}


.founder-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-dialog-body p {
  margin: 0;
  color: #ffffff;
}

.founder-dialog-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.founder-dialog-media {
  margin: 0;
  width: min(170px, 100%);
  border-radius: 20px;
  border: 2px solid rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.founder-dialog-media img {
  width: 100%;
  display: block;
  border-radius: 0;
}

.founder-dialog::-webkit-scrollbar {
  width: 5px;
}

.founder-dialog::-webkit-scrollbar-track {
  background: transparent;
  margin: 16px 0;
}

.founder-dialog::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 999px;
}

.founder-dialog {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.9) transparent;
}

.project-dialog-media {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(125, 211, 252, 0.14);
}

.project-dialog-media img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
}

.project-dialog-media figcaption {
  margin-top: 0.8rem;
  color: #bfd2ee;
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-dialog-list,
.project-dialog-list {
  margin: 0;
  padding-left: 1.2rem;
}

.service-dialog-list li,
.project-dialog-list li {
  margin-bottom: 0.74rem;
  line-height: 1.66;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.7s ease forwards;
}

.reveal-delay-1 {
  animation-delay: 0.08s;
}

.reveal-delay-2 {
  animation-delay: 0.16s;
}

.reveal-delay-3 {
  animation-delay: 0.24s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .service-grid,
  .project-grid,
  .about-grid,
  .bio-grid,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .founder-panel {
    padding: 1.6rem;
  }

  .founder-dialog-media {
    width: min(150px, 100%);
  }

  .service-panel-centered-last {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav {
    min-height: auto;
    padding: 0.85rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
  }

  .hero-section,
  .section {
    padding: 3.6rem 0;
  }

  .brand-mini-text {
    font-size: 0.92rem;
  }

  .hero-logo-shell {
    width: min(100%, 280px);
  }

  .service-grid,
  .project-grid,
  .footer-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .centered-grid {
    justify-content: stretch;
  }

  .founder-dialog,
  .service-dialog,
  .project-dialog {
    padding: 1.5rem;
  }

  .founder-panel-photo {
    width: min(96px, 100%);
  }

  .founder-dialog-gallery {
    gap: 0.65rem;
  }

  .founder-dialog-media {
    width: min(132px, 100%);
  }

  .service-panel,
  .project-panel {
    min-height: 136px;
  }

  .service-panel-title {
    white-space: normal;
  }

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}
