/* ===================================== */
/*  Design Tokens — Academy Navy / Cyan  */
/* ===================================== */
:root {
  --color-primary: #1AA6D9;
  --color-primary-dark: #0B3D6E;
  --color-primary-light: #4EC4E8;
  --color-primary-glow: rgba(26, 166, 217, 0.28);

  --color-navy: #0a1628;
  --color-navy-dark: #050b14;
  --color-navy-soft: rgba(26, 166, 217, 0.08);
  --color-surface: rgba(26, 166, 217, 0.06);

  --color-x: #000000;

  --color-bg: #050b14;
  --color-bg-alt: #0a1628;
  --color-white: #0d1f36;

  --color-text: #ffffff;
  --color-text-muted: #c5d4e3;
  --color-text-light: #8fa3b8;
  --color-on-accent: #ffffff;

  --color-youtube: #ff0000;
  --color-facebook: #1877f2;
  --color-instagram: #e1306c;
  --color-tiktok: #010101;
  --color-whatsapp: #25d366;

  --font: "Cairo", system-ui, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.35);
  --shadow-dock: 0 8px 28px rgba(0, 0, 0, 0.4);

  --container: 42rem;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================================== */
/*  Base                                 */
/* ===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background:
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg) 40%, var(--color-bg-alt) 100%);
  min-height: 100dvh;
  line-height: 1.8;
  direction: rtl;
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.is-splash-active {
  overflow: hidden;
}

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

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

/* ===================================== */
/*  Splash — Logo Zoom Rush              */
/* ===================================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 46%, #0d2440 0%, var(--color-navy-dark) 58%, #02060c 100%);
  opacity: 1;
}

.splash__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 40% at 50% 46%,
      rgba(26, 166, 217, 0.22) 0%,
      rgba(26, 166, 217, 0.06) 42%,
      transparent 72%
    );
  pointer-events: none;
}

.splash__glow {
  position: absolute;
  z-index: 1;
  width: min(52vw, 22rem);
  height: min(52vw, 22rem);
  max-width: 90vw;
  max-height: 90vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 166, 217, 0.35) 0%,
    rgba(26, 166, 217, 0.1) 42%,
    transparent 70%
  );
  filter: blur(28px);
  opacity: 0;
  transform: scale(0.75);
  pointer-events: none;
}

.splash__ring {
  position: absolute;
  z-index: 1;
  width: min(58vw, 24rem);
  height: min(58vw, 24rem);
  max-width: 92vw;
  max-height: 92vw;
  border-radius: 50%;
  border: 1px solid rgba(26, 166, 217, 0.32);
  box-shadow:
    0 0 0 1px rgba(78, 196, 232, 0.06),
    0 0 28px rgba(26, 166, 217, 0.16);
  opacity: 0;
  transform: scale(0.85) rotate(-12deg);
  pointer-events: none;
  box-sizing: border-box;
}

.splash__mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.splash__logo {
  width: clamp(10rem, 48vw, 18rem);
  height: auto;
  mix-blend-mode: lighten;
  opacity: 0;
  filter: blur(24px);
  transform: translateZ(0) scale(0.82);
  backface-visibility: hidden;
}

.splash.is-ready .splash__logo {
  animation: splashLogoIn 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash.is-ready .splash__glow {
  animation: splashGlowIn 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash.is-ready .splash__ring {
  animation: splashRingIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.splash.is-settling .splash__logo {
  animation: splashLogoBreath 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash.is-settling .splash__glow {
  animation: splashGlowPulse 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash.is-settling .splash__ring {
  animation: splashRingSettle 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash.is-exiting {
  animation: splashLayerFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash.is-exiting .splash__logo {
  mix-blend-mode: normal;
  filter: none;
  will-change: transform, opacity;
  animation: splashLogoRush 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash.is-exiting .splash__glow,
.splash.is-exiting .splash__ring,
.splash.is-exiting .splash__veil {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash.is-done {
  visibility: hidden;
  pointer-events: none;
}

@keyframes splashLogoIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateZ(0) scale(1);
  }
}

@keyframes splashGlowIn {
  to {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes splashRingIn {
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes splashLogoBreath {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translateZ(0) scale(1);
  }
  50% {
    transform: translateZ(0) scale(1.035);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateZ(0) scale(1);
  }
}

@keyframes splashGlowPulse {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

@keyframes splashRingSettle {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0.85;
    transform: scale(1.08) rotate(8deg);
  }
}

@keyframes splashLogoRush {
  0% {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }
  60% {
    opacity: 1;
    transform: translateZ(0) scale(4);
  }
  100% {
    opacity: 0;
    transform: translateZ(0) scale(10);
  }
}

@keyframes splashLayerFade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Page stage */
.page-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* ===================================== */
/*  Atmosphere                            */
/* ===================================== */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.atmosphere__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.atmosphere__blob--accent {
  width: min(60vw, 460px);
  height: min(60vw, 460px);
  background: var(--color-primary);
  bottom: 5%;
  left: -12%;
  opacity: 0.14;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

.atmosphere__blob--navy {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: var(--color-primary-light);
  top: 18%;
  right: -14%;
  opacity: 0.1;
  animation: auroraDrift 22s ease-in-out infinite alternate-reverse;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: overlay;
}

@keyframes auroraDrift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(4%, -3%) scale(1.08);
  }
}

/* ===================================== */
/*  Hero — cinematic full-bleed          */
/* ===================================== */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: min(72dvh, 640px);
  overflow: hidden;
  background: var(--color-bg);
}

.hero--logo {
  height: min(58dvh, 480px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, #0d2a4a 0%, var(--color-bg) 68%, var(--color-navy-dark) 100%);
}

.hero__glow {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  filter: blur(52px);
}

.hero__glow--rim {
  left: 50%;
  top: 42%;
  width: min(65vw, 26rem);
  height: min(50%, 20rem);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(26, 166, 217, 0.32) 0%,
    rgba(26, 166, 217, 0.1) 45%,
    transparent 72%
  );
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 75% at 50% 38%, transparent 42%, rgba(5, 11, 20, 0.4) 100%),
    linear-gradient(90deg, rgba(5, 11, 20, 0.22) 0%, transparent 22%, transparent 78%, rgba(5, 11, 20, 0.22) 100%);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero--logo .hero__media {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 6vw, 3rem);
  padding-bottom: clamp(2.5rem, 8vw, 4rem);
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1);
  position: relative;
  z-index: 1;
}

.hero--logo .hero__img {
  width: min(78vw, 20rem);
  height: auto;
  max-height: min(42dvh, 20rem);
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 1.5rem;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(26, 166, 217, 0.18);
  background: #e8e8e8;
}

body.is-motion-ready .hero__img {
  animation: kenBurns 18s ease-out forwards;
  will-change: transform;
}

body.is-motion-ready .hero--logo .hero__img {
  animation: logoFloat 14s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

@keyframes logoFloat {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-6px) scale(1.03);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 55%,
    rgba(5, 11, 20, 0.25) 75%,
    rgba(5, 11, 20, 0.78) 90%,
    var(--color-bg) 100%
  );
  pointer-events: none;
}

.hero--logo .hero__veil {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 48%,
    rgba(5, 11, 20, 0.35) 72%,
    rgba(5, 11, 20, 0.88) 90%,
    var(--color-bg) 100%
  );
}

.hero::after {
  display: none;
}

/* ===================================== */
/*  Profile identity — editorial         */
/* ===================================== */
.profile {
  position: relative;
  z-index: 2;
  margin-top: -2.25rem;
  padding: 0 var(--space-5) var(--space-9);
}

.profile__inner {
  max-width: var(--container);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile__name {
  font-size: clamp(2.35rem, 7vw, 3.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 24px rgba(5, 11, 20, 0.45);
}

.profile__subject {
  margin-bottom: var(--space-4);
}

.profile__subject-text {
  display: inline-block;
  max-width: 22rem;
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: var(--color-primary);
}

.profile__rule {
  width: min(5.5rem, 28vw);
  height: 1px;
  margin-bottom: var(--space-5);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(26, 166, 217, 0.7),
    transparent
  );
}

.profile__lead {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.85;
  max-width: 32rem;
  width: 100%;
  margin-inline: auto;
  margin-bottom: var(--space-3);
  text-align: center;
  text-wrap: balance;
}

.profile__motto {
  position: relative;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 26rem;
  width: 100%;
  margin: 0 auto var(--space-6);
  padding: 0.35rem 0 0;
  border: none;
  text-align: center;
  text-wrap: balance;
}

.profile__motto::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1px;
  margin: 0 auto 0.85rem;
  background: var(--color-primary);
  opacity: 0.55;
}

.profile__address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-7);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.profile__address i {
  color: var(--color-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.profile__address:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

/* ===================================== */
/*  Social                               */
/* ===================================== */
.profile__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.social-link {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 166, 217, 0.06);
  border: 1px solid rgba(26, 166, 217, 0.22);
  color: var(--color-text-muted);
  font-size: 1rem;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
  color: var(--color-on-accent);
  background: var(--color-primary);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.social-link--youtube:hover {
  background: var(--color-youtube);
}

.social-link--facebook:hover {
  background: var(--color-facebook);
}

.social-link--instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-link--tiktok:hover {
  background: var(--color-tiktok);
}

.social-link--x:hover {
  background: var(--color-x);
}

/* ===================================== */
/*  Floating contact dock                */
/* ===================================== */
.contact-dock {
  position: fixed;
  z-index: 60;
  left: max(1rem, env(safe-area-inset-left));
  top: 10%;
  bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(5, 11, 20, 0.55);
  border: 1px solid rgba(26, 166, 217, 0.2);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: var(--shadow-dock);
  opacity: 0;
  transform: translateX(-1.5rem) scale(0.92);
}

body.is-motion-ready .contact-dock {
  animation: dockIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes dockIn {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.contact-dock__btn {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-accent);
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0.6);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-dock__btn--whatsapp {
  background: var(--color-whatsapp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

body.is-motion-ready .contact-dock__btn--whatsapp {
  animation:
    dockBtnIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards,
    whatsappPulse 3.2s ease-in-out 1.2s infinite;
}

.contact-dock__btn--phone {
  background: var(--color-primary);
  box-shadow: 0 4px 14px rgba(26, 166, 217, 0.3);
}

body.is-motion-ready .contact-dock__btn--phone {
  animation: dockBtnIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.52s forwards;
}

@keyframes dockBtnIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-dock__btn:hover {
  transform: translateY(-2px) scale(1.08);
  opacity: 1;
}

.contact-dock__btn--whatsapp:hover {
  animation: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.contact-dock__btn--phone:hover {
  animation: none;
  box-shadow: 0 8px 20px rgba(26, 166, 217, 0.42);
}

.contact-dock__btn:active {
  transform: scale(0.94);
  animation: none;
  opacity: 1;
}

.contact-dock__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

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

/* ===================================== */
/*  Footer                               */
/* ===================================== */
.site-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-navy-dark) 100%);
  padding: 2rem var(--space-5);
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(26, 166, 217, 0.45) 50%,
    transparent 100%
  );
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.2rem 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(26, 166, 217, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-footer__powered {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  white-space: nowrap;
}

.site-footer__logo {
  height: 3.5rem;
  width: auto;
  mix-blend-mode: lighten;
  filter: brightness(1.08) contrast(1.05);
}

/* ===================================== */
/*  Reveal animations                    */
/* ===================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(0.85rem);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__img,
  .hero__glow--rim,
  .atmosphere__blob--accent,
  .atmosphere__blob--navy,
  .contact-dock__btn--whatsapp,
  .contact-dock__btn--phone,
  .contact-dock,
  .splash__logo,
  .splash__glow,
  .splash__ring {
    animation: none !important;
  }

  .splash,
  .splash.is-exiting,
  .page-stage {
    transition: none !important;
  }

  body.is-splash-active .page-stage,
  body.is-intro-done .page-stage {
    transform: none;
  }

  body.is-motion-ready .hero__img {
    animation: none !important;
    will-change: auto;
  }

  .contact-dock {
    opacity: 1;
    transform: none;
  }

  .contact-dock__btn {
    opacity: 1;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ===================================== */
/*  Responsive                           */
/* ===================================== */
@media (max-width: 1023px) {
  .contact-dock {
    top: 10%;
    bottom: auto;
    left: max(0.75rem, env(safe-area-inset-left));
    transform: translateX(-1.25rem) scale(0.92);
  }

  body.is-motion-ready .contact-dock {
    animation-name: dockIn;
  }
}

@media (max-width: 640px) {
  .hero {
    height: min(68dvh, 540px);
  }

  .hero__img {
    object-fit: cover;
    object-position: center 12%;
  }

  .profile {
    margin-top: -1.75rem;
    padding: 0 1.25rem var(--space-8);
  }

  .profile__name {
    font-size: clamp(1.75rem, 7.5vw, 2.45rem);
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .profile__lead {
    font-size: 1rem;
    padding-inline: 0.15rem;
  }

  .profile__motto {
    font-size: 0.925rem;
  }

  .profile__address {
    font-size: 0.875rem;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile__social {
    gap: var(--space-3);
    max-width: 100%;
  }

  .contact-dock {
    padding: 0.45rem;
    gap: 0.5rem;
  }

  .contact-dock__btn {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
  }

  .social-link {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-footer {
    padding: 1.5rem 1rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .site-footer__logo {
    height: 2.25rem;
  }

  .site-footer__brand {
    padding: 0.45rem 0.9rem 0.45rem 1rem;
    gap: 0.5rem;
    max-width: calc(100vw - 2rem);
  }

  .site-footer__powered {
    font-size: 0.7rem;
  }

  .splash__logo {
    width: clamp(8.5rem, 62vw, 14rem);
  }
}

@media (max-width: 380px) {
  .profile {
    padding: 0 1rem var(--space-8);
  }

  .profile__name {
    font-size: 1.5rem;
  }

  .site-footer__brand {
    flex-direction: column;
    gap: 0.35rem;
    border-radius: var(--radius-lg);
    padding: 0.65rem 1rem;
  }
}

@media (min-width: 768px) {
  .hero {
    height: min(70dvh, 640px);
  }

  .hero__img {
    object-fit: cover;
    object-position: center 12%;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: min(75dvh, 720px);
  }

  .hero__img {
    object-fit: cover;
    object-position: center 10%;
  }

  .profile {
    margin-top: -2rem;
  }

  .contact-dock {
    left: max(1.5rem, env(safe-area-inset-left));
    top: 10%;
    bottom: auto;
    transform: translateX(-1.5rem) scale(0.92);
  }

  body.is-motion-ready .contact-dock {
    animation-name: dockIn;
  }

  @media (prefers-reduced-motion: reduce) {
    .contact-dock {
      transform: none;
    }
  }
}
