/*
Theme Name: Milan Rybovič
Theme URI: https://milanrybovic.sk
Author: Milan Rybovič
Description: Personal WordPress theme converted from the Milan Rybovič static site.
Version: 1.0.0
Text Domain: milanrybovic
*/

:root {
  --light-bg: #efefef;
  --light-panel: #f7f7f7;
  --line-light: #d5d5d5;
  --dark-bg: #070909;
  --dark-soft: #111516;
  --line-dark: #1b2220;
  --text-dark: #1b201f;
  --text-light: #f4f6f5;
  --muted-light: #616966;
  --muted-dark: #97a09b;
  --accent: #ccfe00;
  --accent-strong: #add800;
  --accent-rgb: 204 254 0;
  --anchor-scroll-offset: 132px;
  --header-height: 91px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  scroll-behavior: smooth;
}

body {
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

::selection {
  background: rgba(160, 160, 160, 0.3);
  color: #000;
}

::-moz-selection {
  background: rgba(160, 160, 160, 0.3);
  color: #000;
}

main[id],
section[id],
footer[id] {
  scroll-margin-top: var(--anchor-scroll-offset);
}

.bg-lines {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 12%, rgba(var(--accent-rgb) / 0.12), transparent 34%),
    repeating-radial-gradient(circle at 0 0, transparent 0 30px, rgba(0, 0, 0, 0.035) 30px 32px),
    linear-gradient(180deg, #f5f5f5 0%, #ececec 100%);
  opacity: 0.8;
}

.accent-picker {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 33;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  width: 220px;
  border: 1px solid #c8cfcb;
  border-radius: 15px;
  padding: 0.62rem;
  background: rgba(247, 247, 247, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.accent-picker-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #5a625e;
}

.accent-swatches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}

.accent-swatch {
  appearance: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.accent-swatch:hover,
.accent-swatch:focus-visible,
.accent-swatch.is-active {
  transform: translateY(-1px) scale(1.07);
  box-shadow: 0 0 0 2px var(--accent), inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.accent-input-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 34px;
  border-radius: 10px;
  border: 1px dashed #b7bfba;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.accent-color-input {
  width: calc(100% - 8px);
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.accent-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.accent-color-input::-webkit-color-swatch {
  border: 0;
  border-radius: 6px;
}

.accent-hex-input {
  width: 100%;
  height: 36px;
  border: 1px solid #cfd5d1;
  border-radius: 10px;
  background: #fff;
  color: var(--text-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0.7rem;
}

.accent-hex-input:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb) / 0.35);
  outline-offset: 1px;
  border-color: var(--accent);
}

.wrap {
  width: min(1460px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(239, 239, 239, 0.9);
  border-bottom: 1px solid var(--line-light);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header,
.marquee-section {
  transition: opacity 560ms ease, transform 620ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

body.intro-sequence-pending .site-header {
  opacity: 0;
  transform: translateY(-28px);
  pointer-events: none;
}

body.intro-sequence-pending .marquee-section {
  opacity: 0;
  transform: translateY(48px);
}

body.intro-sequence-header-in .site-header {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.intro-sequence-content-in .marquee-section {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 761px) {
  .site-header.is-sticky-dark {
    background: rgba(15, 19, 20, 0.9);
    border-bottom: 1px solid #2a3230;
  }

  .site-header.is-sticky-dark .brand {
    color: var(--text-light);
    opacity: 1;
  }

  .site-header.is-sticky-dark .main-nav a {
    color: var(--text-light);
    opacity: 0.5;
  }

  .site-header.is-sticky-dark .main-nav a:hover,
  .site-header.is-sticky-dark .main-nav a:focus-visible,
  .site-header.is-sticky-dark .main-nav a.active {
    color: var(--accent);
    opacity: 1;
  }

  .site-header.is-sticky-dark .lang-button {
    background: #161c1b;
    border-color: #2b3532;
    color: var(--text-light);
  }

  .site-header.is-sticky-dark .lang-button i {
    color: #bcc4c0;
  }

  .site-header.is-sticky-dark .contact-chip {
    background: var(--accent);
    color: #111816;
  }
}

.header-inner {
  min-height: 91px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: var(--text-dark);
}

.brand-photo {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.brand-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 320ms ease, transform 320ms ease;
}

.brand-img-base {
  opacity: 1;
  transform: scale(1.06);
  object-position: 50% 28%;
}

.brand-img-hover {
  opacity: 0;
  transform: scale(1.02);
  object-position: 50% 18%;
}

.brand:hover .brand-img-base,
.brand:focus-visible .brand-img-base {
  opacity: 0;
}

.brand:hover .brand-img-hover,
.brand:focus-visible .brand-img-hover {
  opacity: 1;
  transform: scale(1.06);
}

.brand-name {
  display: inline-block;
  min-width: 12ch;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.brand-name.is-handwritten {
  font-family: "Caveat", cursive;
  font-weight: 700;
  color: var(--text-dark);
  text-shadow: none;
  transform: rotate(-2deg) translateY(1px);
  transform-origin: left center;
}

.site-header.is-sticky-dark .brand-name.is-handwritten {
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(var(--accent-rgb) / 0.85), 0 2px 12px rgba(var(--accent-rgb) / 0.42);
}

.brand-name.is-typing-target::after {
  content: "|";
  display: inline-block;
  margin-left: 0.06em;
  animation: blinkCursor 900ms steps(1) infinite;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  position: relative;
  padding-bottom: 0;
  --nav-flow-dir: 1;
  --nav-outline-alpha: 0;
}

@media (min-width: 761px) {
  .main-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
  }

  .header-actions {
    justify-self: end;
  }
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  min-height: 54px;
  padding: 0 0.95rem;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 170ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  opacity: 1;
}

.main-nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -23px;
  width: var(--nav-indicator-w, 0px);
  height: 10px;
  background:
    linear-gradient(-45deg, transparent 40%, rgba(0, 0, 0, var(--nav-outline-alpha)) 42% 58%, transparent 60%) 0 0 / 16px 10px repeat-x,
    linear-gradient(45deg, transparent 40%, rgba(0, 0, 0, var(--nav-outline-alpha)) 42% 58%, transparent 60%) 8px 0 / 16px 10px repeat-x,
    linear-gradient(-45deg, transparent 43%, var(--accent) 45% 55%, transparent 57%) 0 0 / 16px 10px repeat-x,
    linear-gradient(45deg, transparent 43%, var(--accent) 45% 55%, transparent 57%) 8px 0 / 16px 10px repeat-x;
  transform: translateX(var(--nav-indicator-x, 0px));
  opacity: var(--nav-indicator-o, 0);
  pointer-events: none;
  transition:
    transform 620ms cubic-bezier(0.34, 0.04, 0.14, 1.24) 45ms,
    width 620ms cubic-bezier(0.34, 0.04, 0.14, 1.24) 45ms,
    opacity 180ms ease;
  animation: navZigzagFlow 850ms linear infinite;
}

@keyframes navZigzagFlow {
  from {
    background-position:
      calc(var(--nav-flow-dir) * 0px) 0,
      calc(var(--nav-flow-dir) * 8px) 0,
      calc(var(--nav-flow-dir) * 0px) 0,
      calc(var(--nav-flow-dir) * 8px) 0;
  }
  to {
    background-position:
      calc(var(--nav-flow-dir) * 16px) 0,
      calc(var(--nav-flow-dir) * 24px) 0,
      calc(var(--nav-flow-dir) * 16px) 0,
      calc(var(--nav-flow-dir) * 24px) 0;
  }
}

.site-header:not(.is-sticky-dark) .main-nav {
  --nav-outline-alpha: 1;
}

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

.contact-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background: #202524;
  border-radius: 999px;
  min-height: 54px;
  padding: 0.72rem 1.3rem;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 170ms ease, background-color 220ms ease, color 220ms ease;
}

.contact-chip:hover,
.contact-chip:focus-visible {
  transform: translateY(-1px);
  background: var(--accent);
  color: #111816;
}

.site-header.is-sticky-dark .contact-chip:hover,
.site-header.is-sticky-dark .contact-chip:focus-visible {
  background: #fff;
  color: #111816;
}

.lang-dropdown {
  position: relative;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 118px;
  min-height: 54px;
  border: 1px solid #d5d9d7;
  border-radius: 999px;
  background: #fff;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 170ms ease;
  position: relative;
  overflow: hidden;
}

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

.lang-button i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: #5f6662;
  transition: transform 170ms ease, opacity 170ms ease;
}

.lang-switch-slot {
  position: relative;
  width: 2.2em;
  height: 1.2em;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
}

.lang-emoji {
  position: absolute;
  inset: 0;
  display: inline-grid;
  place-items: center;
  transform: translateY(-120%);
  opacity: 0;
  transition: opacity 220ms ease, transform 260ms ease;
  pointer-events: none;
}

#language-current {
  position: absolute;
  inset: 0;
  display: inline-grid;
  place-items: center;
  transform: translateY(0);
  opacity: 1;
  transition: opacity 220ms ease, transform 260ms ease;
}

.lang-dropdown.open .lang-button i {
  transform: translateY(-50%) rotate(180deg);
}

@media (min-width: 761px) {
  .lang-button:hover .lang-emoji,
  .lang-button:focus-visible .lang-emoji {
    opacity: 1;
    transform: translateY(0);
  }

  .lang-button:hover #language-current,
  .lang-button:focus-visible #language-current {
    opacity: 0;
    transform: translateY(120%);
  }

  .lang-button:not(:hover):not(:focus-visible) .lang-emoji {
    opacity: 0;
    transform: translateY(-120%);
  }

  .lang-button:not(:hover):not(:focus-visible) #language-current {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  min-width: 238px;
  padding: 0.45rem;
  border: 1px solid #d5d9d7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-dark);
  padding: 0.82rem 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(0, 0, 0, 0.08);
}

.mobile-header-controls {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.mobile-icon-btn {
  border: 1px solid #cfd4d1;
  background: #fff;
  border-radius: 14px;
  min-width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}

.mobile-menu-trigger {
  min-width: auto;
  height: 48px;
  border-radius: 999px;
  padding: 0 1rem;
  gap: 0.5rem;
  background: #0f1314;
  border-color: #0f1314;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-menu-label {
  line-height: 1;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 34;
  background: rgba(5, 7, 7, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-lang-greeting {
  position: fixed;
  top: 16dvh;
  left: 50%;
  z-index: 36;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(3.1rem, 13.5vw, 5.2rem);
  color: #f4f7f6;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -12px) rotate(-5deg) scale(0.96);
  transition: opacity 220ms ease, transform 260ms ease;
}

.mobile-lang-greeting.show {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-5deg) scale(1);
}

.mobile-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  height: calc(78svh + 37px);
  max-height: calc(78svh + 37px);
  border-radius: 22px 22px 0 0;
  background: #f3f3f3;
  border-top: 1px solid #d5d5d5;
  padding: 0.7rem 1rem max(5.5rem, calc(env(safe-area-inset-bottom) + 3.5rem));
  transform: translateY(110%);
  transition: transform 240ms ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.mobile-sheet-handle {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: #c7ccca;
  margin: 0 auto 0.1rem;
}

.mobile-sheet-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #c9cecb;
  background: #fff;
  color: #151b1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px) rotate(-12deg) scale(0.92);
  transition: transform 230ms ease, opacity 200ms ease, background 160ms ease;
}

.mobile-sheet-close:hover {
  background: #f1f3f2;
}

.mobile-nav {
  display: grid;
  gap: 0.4rem;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.22rem;
  padding: 0.5rem 0.2rem;
  opacity: 0.7;
}

.mobile-nav a.active {
  opacity: 1;
}

.mobile-language-list {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-language-list .lang-option {
  background: #fff;
  border: 1px solid #d5d9d7;
  border-radius: 12px;
  padding: 0.7rem 0.7rem;
  font-size: 1.1rem;
}

.mobile-contact-chip {
  margin-top: auto;
  justify-content: center;
}

.mobile-contact-block {
  margin-top: auto;
  display: grid;
  gap: 0.7rem;
}

.mobile-phone-btn {
  justify-content: center;
  gap: 0.55rem;
}

.mobile-phone-btn i,
.mobile-mail-btn i {
  font-size: 0.95rem;
}

.mobile-mail-btn {
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid #cfd4d1;
  background: #ecefed;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.58rem 1.05rem;
}

.mobile-mail-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-social-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.mobile-social-btn {
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid #cfd4d1;
  background: #fff;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
}

@keyframes mobileIconSequence {
  0%, 100% { transform: translateY(0) scale(1); }
  4% { transform: translateY(-4px) scale(1.18); }
  8% { transform: translateY(0) scale(1); }
}

body.mobile-sheet-open .mobile-social-btn i,
body.mobile-sheet-open .mobile-mail-btn i,
body.mobile-sheet-open .mobile-phone-btn i {
  animation: mobileIconSequence 5.5s ease-in-out infinite;
}

body.mobile-sheet-open .mobile-social-btn:nth-child(1) i { animation-delay: 0s; }
body.mobile-sheet-open .mobile-social-btn:nth-child(2) i { animation-delay: 0.35s; }
body.mobile-sheet-open .mobile-social-btn:nth-child(3) i { animation-delay: 0.7s; }
body.mobile-sheet-open .mobile-mail-btn i { animation-delay: 1.05s; }
body.mobile-sheet-open .mobile-phone-btn i { animation-delay: 1.4s; }

@media (prefers-reduced-motion: reduce) {
  body.mobile-sheet-open .mobile-phone-btn i,
  body.mobile-sheet-open .mobile-mail-btn i,
  body.mobile-sheet-open .mobile-social-btn i {
    animation: none;
  }
}

body.mobile-sheet-open {
  overflow: hidden;
}

body.mobile-sheet-open .mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-sheet-open .mobile-sheet {
  transform: translateY(0);
}

body.mobile-lang-switching {
  overflow: hidden;
}

body.mobile-lang-switching .mobile-overlay {
  opacity: 1;
  pointer-events: none;
}

body.mobile-sheet-open .mobile-sheet-close {
  opacity: 1;
  transform: translateY(0) rotate(0deg) scale(1);
}

@media (min-width: 761px) {
  .mobile-overlay,
  .mobile-sheet {
    display: none;
  }
}

.full-section { width: 100%; }

.hero {
  padding: 2rem 0 1.4rem;
  min-height: calc(93vh - var(--header-height));
  display: grid;
  align-items: center;
}

.hero-inner,
.content-inner,
.footer-top,
.footer-bottom {
  display: grid;
}

.hero-inner {
  grid-template-columns: 270px 1fr;
  gap: 4rem;
  align-items: start;
}

.profile-side {
  background: #0f1314;
  border: 1px solid #212927;
  border-radius: 18px;
  padding: 1rem;
  color: var(--text-light);
}

.profile-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 380ms ease, box-shadow 380ms ease, outline-color 380ms ease;
  outline: 1px solid transparent;
  transform-origin: 52% 52%;
}

.profile-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 380ms ease, transform 380ms ease;
}

.profile-photo-base {
  opacity: 1;
  transform: scale(1);
}

.profile-photo-hover {
  opacity: 0;
  transform: scale(1.015);
}

.profile-side.is-name-hovered .profile-photo {
  transform: translateY(-12px) rotate(-5deg) scale(1.005);
  outline-color: rgba(var(--accent-rgb) / 0.95);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb) / 0.82), 0 18px 28px rgba(0, 0, 0, 0.28);
}

.profile-side.is-name-hovered .profile-photo-base {
  opacity: 0;
  transform: scale(1.03);
}

.profile-side.is-name-hovered .profile-photo-hover {
  opacity: 1;
  transform: scale(1);
}

.photo-signature {
  height: 2.2rem;
  min-height: 2.2rem;
  max-height: 2.2rem;
  margin: 0.45rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  color: #ccfe00;
  -webkit-text-fill-color: #ccfe00;
  font-family: "Caveat", cursive;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 12px rgba(var(--accent-rgb) / 0.55);
  opacity: 0;
  transform: translateY(-2px);
  transform-origin: center;
  transition: opacity 130ms ease, transform 130ms ease;
}

.photo-signature.show {
  color: #ccfe00;
  -webkit-text-fill-color: #ccfe00;
  opacity: 1;
  transform: translateY(0);
}

.profile-side.is-name-hovered .photo-signature.show {
  transform: translateY(0) rotate(-5deg);
}

.profile-side h2 {
  margin: 0.75rem 0 0;
  font-size: 1.42rem;
  font-family: "Outfit", sans-serif;
}

.profile-side p {
  margin: 0.25rem 0 0;
  color: var(--muted-dark);
  line-height: 1.5;
}

.profile-socials {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.58rem;
}

.profile-socials a {
  width: 37px;
  height: 37px;
  border-radius: 999px;
  border: 1px solid #2d3734;
  color: var(--text-light);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.profile-socials a:hover {
  background: var(--accent);
  color: #0f1412;
  transform: translateY(-3px) scale(1.08) rotate(-7deg);
}

.hero-copy h1 {
  margin: 1rem 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 4vw, 7.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 24ch;
  text-wrap: balance;
}

.hero-copy h1 .hero-line {
  display: block;
}

.hero-copy h1 .hero-line-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.1em;
}

.hero-copy h1 .pill {
  margin-right: 0.06em;
  margin-bottom: 0.1em;
}

.hero-copy h1 .hero-line-top .pill.light {
  padding-left: 0.22em;
  padding-right: 0.24em;
  margin-bottom: 0;
  line-height: 1;
  transform: translateY(0.01em);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.04em 0.35em;
  border-radius: 999px;
}

.pill.light {
  background: #fff;
  border: 1px solid var(--line-light);
}

.pill.dark {
  background: var(--accent);
  color: #0f1412;
}

.pill.dark.typewriter {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.pill.light.spray-pending {
  background: transparent;
  border-color: transparent;
}

.pill.dark.typewriter.spray-pending {
  background: transparent;
  color: var(--text-dark);
}

.pill.light.spray-reveal,
.pill.dark.typewriter.spray-reveal {
  animation: sprayReveal 520ms ease forwards;
}

.hero-copy h1 .is-typing-target::after {
  content: "|";
  display: inline-block;
  margin-left: 0.08em;
  animation: blinkCursor 900ms steps(1) infinite;
}

.pill.dark.typewriter.is-neutral {
  background: transparent;
  color: var(--text-dark);
  padding: 0;
  border-radius: 0;
}

.hero-seq-hidden {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.hero-seq-left-hidden {
  opacity: 0;
  transform: translateX(-44px) rotate(-5deg) scale(0.97);
  pointer-events: none;
}

.hero-seq-muted {
  opacity: 0.3;
  pointer-events: none;
}

.hero-text,
.hero-actions,
.profile-side {
  transition: opacity 560ms ease, transform 560ms ease;
}

@keyframes blinkCursor {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes sprayReveal {
  0% {
    opacity: 0.08;
    filter: blur(7px) saturate(1.3);
    transform: scale(0.985);
  }
  45% {
    opacity: 0.76;
    filter: blur(3px) saturate(1.16);
  }
  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: scale(1);
  }
}

.hero-text {
  margin: 1.65rem 0 0;
  max-width: 68ch;
  color: var(--muted-light);
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.94rem 1.42rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-accent {
  color: #101513;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(var(--accent-rgb) / 0.33);
}

.btn-accent:hover { background: var(--accent-strong); }

.btn-ghost {
  color: var(--text-dark);
  border: 1px solid var(--line-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.hero-scroll-btn {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.hero-scroll-btn::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: -6px;
  height: 10px;
  background:
    linear-gradient(-45deg, transparent 43%, var(--accent) 45% 55%, transparent 57%) 0 0 / 16px 10px repeat-x,
    linear-gradient(45deg, transparent 43%, var(--accent) 45% 55%, transparent 57%) 8px 0 / 16px 10px repeat-x;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 220ms ease, clip-path 300ms ease;
  pointer-events: none;
}

.hero-scroll-btn:hover::after,
.hero-scroll-btn:focus-visible::after {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: none;
}

.hero-scroll-btn {
  transition: border-color 220ms ease;
}

.hero-scroll-btn:hover,
.hero-scroll-btn:focus-visible {
  border-color: #0f1314;
  color: var(--text-dark);
}

.hero-scroll-btn:hover .scroll-icon-track i,
.hero-scroll-btn:focus-visible .scroll-icon-track i {
  color: var(--text-dark);
}

.hero-scroll-btn .btn-outline-trace {
  display: none;
}

.hero-scroll-btn .scroll-icon-clip {
  width: 0.95em;
  height: 1.05em;
  display: inline-flex;
  overflow: hidden;
  align-items: flex-start;
  opacity: 1;
}

.hero-scroll-btn .scroll-icon-track {
  position: relative;
  width: 0.95em;
  height: 1.05em;
}

.hero-scroll-btn .scroll-icon-track i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1em;
  line-height: 1;
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateY(-70%);
  animation: arrowLoop 2800ms linear infinite;
}

.hero-scroll-btn .scroll-icon-track i:nth-child(2) {
  animation-delay: 1400ms;
}

@keyframes arrowLoop {
  0% {
    transform: translateY(-78%);
    opacity: 0;
  }
  12% {
    transform: translateY(-50%);
    opacity: 0.28;
  }
  24% {
    transform: translateY(-18%);
    opacity: 1;
  }
  40% {
    transform: translateY(14%);
    opacity: 0.84;
  }
  52% {
    transform: translateY(48%);
    opacity: 0;
  }
  100% {
    transform: translateY(74%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-btn .scroll-icon-track i {
    animation: none;
    transform: translateY(0);
    opacity: 1;
  }

  .hero-scroll-btn .scroll-icon-track i:nth-child(2) {
    display: none;
  }
}

.marquee-section {
  overflow: hidden;
  background: #05100b;
  border-top: 1px solid #1a241f;
  border-bottom: 1px solid #1a241f;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLoop 22s linear infinite;
  background: #05100b;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: max-content;
  padding: 0.95rem 0;
  background: #05100b;
}

.marquee-item {
  color: var(--accent);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  font-weight: 800;
  white-space: nowrap;
  transition: color 240ms ease;
}

.marquee-item:hover {
  color: #ffffff;
}

.marquee-sep {
  color: #2a3530;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1;
  padding-inline: 0.4rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 10px rgba(0, 0, 0, 0.32);
  opacity: 0.96;
  user-select: none;
}

@keyframes marqueeLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.light {
  background: var(--light-panel);
}

.about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 6.6rem) 0;
  background: var(--accent);
  color: var(--text-dark);
}

.about::before {
  content: none;
}

.about::after {
  content: none;
}

.about-noise-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.about .content-inner {
  position: relative;
  z-index: 1;
  max-width: min(980px, 100%);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.section-kicker {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
}

.dark-kicker { color: #55605b; }

.about .section-kicker {
  color: rgba(0, 0, 0, 0.78);
}

.about h2,
.process h2,
.contact h2,
.footer-left h2 {
  margin: 0.55rem 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.14;
  max-width: 16ch;
  letter-spacing: -0.01em;
}

.about p,
.process p,
.footer-left p {
  max-width: 74ch;
  color: var(--muted-dark);
  font-size: 1.08rem;
  line-height: 1.85;
}

.footer-left p {
  max-width: 58ch;
  font-size: 1.16rem;
}

.footer-left h2,
.footer-left p {
  transition: color 240ms ease, text-shadow 240ms ease;
}

.footer-headline-highlight,
.footer-sub-highlight {
  transition: color 240ms ease, font-weight 240ms ease, text-shadow 240ms ease;
}

.mega-footer.cta-hover .footer-headline-highlight,
.mega-footer.cta-hover .footer-sub-highlight {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(var(--accent-rgb) / 0.22);
}

.mega-footer.cta-hover .footer-sub-highlight {
  font-weight: 700;
}

.about h2,
.about p {
  color: #060808;
}

.about p {
  max-width: 62ch;
  margin-inline: auto;
}


.focus {
  padding: 4.6rem 0 4rem;
  background: linear-gradient(180deg, #07090d 0%, #05070b 100%);
  color: #f4f7f6;
}

.focus-shell {
  width: min(1500px, calc(100% - 120px));
}

.focus-kicker {
  margin: 0.8rem 0 0;
  color: var(--muted-dark);
  font-size: 1.08rem;
  line-height: 1.85;
}

.focus-heading {
  margin: 0.9rem 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.focus-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.4rem;
}

.focus-row {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: 1.8rem 1.55rem 1.9rem;
  background: rgba(8, 11, 14, 0.72);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.focus-row:hover {
  background: linear-gradient(90deg, rgba(177, 241, 0, 0.06), rgba(8, 11, 14, 0.72) 42%);
  border-color: rgba(177, 241, 0, 0.28);
}

.focus-chip {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.35rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-size: 0.98rem;
  color: rgba(243, 249, 247, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 16, 19, 0.86);
  transition: border-color 220ms ease, transform 220ms ease;
}

.focus-row:hover .focus-chip {
  border-color: rgba(177, 241, 0, 0.45);
  transform: translateX(5px);
}

.focus-row-main {
  display: grid;
  grid-template-columns: minmax(92px, 118px) 1fr;
  align-items: start;
  gap: 1.45rem;
}

.focus-row-index {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(2.05rem, 3.8vw, 3.35rem);
  letter-spacing: -0.02em;
  color: #f8fbfa;
}

.focus-row-index span {
  color: var(--accent);
  margin-right: 0.08em;
  display: inline-block;
  transition: transform 220ms ease;
}

.focus-row:hover .focus-row-index span {
  transform: translateX(-4px);
}

.focus-row-content h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.25rem, 2vw, 2.05rem);
  line-height: 1.2;
  color: #f6faf8;
  max-width: 34ch;
}

.focus-row-content ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.focus-row-content li {
  position: relative;
  padding-left: 1.45rem;
  color: rgba(230, 238, 236, 0.74);
  font-size: 1.15rem;
  line-height: 1.66;
  transition: transform 220ms ease, color 220ms ease;
}

.focus-row-content li::before {
  content: "*";
  position: absolute;
  left: 0;
  top: -0.06em;
  color: var(--accent);
  font-size: 1.4em;
  line-height: 1;
  transform: rotate(-8deg);
  transition: transform 220ms ease;
}

.focus-row:hover .focus-row-content li {
  color: rgba(241, 247, 245, 0.95);
}

.focus-row:hover .focus-row-content li::before {
  transform: rotate(0deg) scale(1.05);
}

.focus-row:hover .focus-row-content li:nth-child(1) {
  transform: translateX(6px);
}

.focus-row:hover .focus-row-content li:nth-child(2) {
  transform: translateX(12px);
}

.focus-row:hover .focus-row-content li:nth-child(3) {
  transform: translateX(18px);
}

.process {
  padding: 4rem 0 calc(3rem + 40px);
}

.process .wrap {
  width: min(1360px, calc(100% - 120px));
}

.process .section-kicker {
  margin-top: 0.8rem;
}

.process h2 {
  margin-top: 0.9rem;
}

.process-layout {
  margin: 0.55rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.process-left {
  display: flex;
  flex-direction: column;
}

.process-steps {
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.process-step {
  position: relative;
  border-radius: 0;
  padding: 0.5rem 0 0.95rem;
  border-bottom: 1px solid #1f2926;
  opacity: 0.5;
  transition: opacity 260ms ease, border-color 260ms ease;
}

.process-step.is-active {
  opacity: 1;
  border-bottom-color: transparent;
}

.process-step-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.process-step-title {
  display: block;
  margin: 0;
  font-size: 1.24rem;
  font-family: "Outfit", sans-serif;
}

.process-step-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 380ms ease, opacity 260ms ease;
}

.process-step.is-active .process-step-content {
  max-height: 220px;
  opacity: 1;
}

.process-step-content p {
  margin: 0.42rem 0 0;
  font-size: 1rem;
  color: var(--muted-dark);
  max-width: 70ch;
}

.process-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  margin-top: 0;
  background: transparent;
  border-radius: 999px;
  overflow: hidden;
}

.process-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.process-step:not(.is-active) .process-progress {
  opacity: 0;
}

.process-media-placeholder {
  min-height: 100%;
  align-self: stretch;
  margin-top: 0;
}

.process-media-stage {
  position: relative;
  min-height: 100%;
  height: 100%;
}

.process-media-frame {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px dashed #2a3532;
  background:
    radial-gradient(circle at 18% 18%, rgba(179, 255, 142, 0.18), transparent 42%),
    radial-gradient(circle at 84% 84%, rgba(179, 255, 142, 0.1), transparent 40%),
    #0f1514;
  padding: 1.5rem;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
  color: var(--muted-dark);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms ease, transform 520ms ease;
  pointer-events: none;
}

.process-media-frame.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.process-media-frame[data-visual="0"] {
  background:
    radial-gradient(circle at 16% 18%, rgba(179, 255, 142, 0.2), transparent 42%),
    radial-gradient(circle at 82% 82%, rgba(179, 255, 142, 0.09), transparent 40%),
    #0f1514;
}

.process-media-frame[data-visual="1"] {
  background:
    radial-gradient(circle at 82% 20%, rgba(110, 202, 255, 0.2), transparent 44%),
    radial-gradient(circle at 24% 84%, rgba(179, 255, 142, 0.12), transparent 40%),
    #0e1418;
}

.process-media-frame[data-visual="2"] {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 196, 110, 0.2), transparent 46%),
    radial-gradient(circle at 82% 82%, rgba(110, 202, 255, 0.14), transparent 42%),
    #131412;
}

.process-media-frame[data-visual="3"] {
  background:
    radial-gradient(circle at 84% 20%, rgba(211, 135, 255, 0.2), transparent 45%),
    radial-gradient(circle at 16% 82%, rgba(179, 255, 142, 0.12), transparent 42%),
    #131019;
}

.process-media-tag {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  height: 1.7rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  border: 1px solid #2e3a36;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.process-media-placeholder p {
  max-width: 32ch;
  margin: 0;
  color: #cad1ce;
  font-size: 1rem;
  line-height: 1.5;
}

.process-media-title {
  margin: 0.1rem 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  color: #f4f6f5;
}

.process-media-copy {
  margin: 0.2rem 0 0;
}

@keyframes processProgress {
  from { width: 0; }
  to { width: 100%; }
}

.contact {
  padding: calc(2.8rem + 30px) 0 calc(2.2rem + 30px);
}

.contact-title-online {
  display: inline-block;
  color: inherit;
}

.contact-title-online.is-blinking {
  animation: contactOnlineBlink 2.6s ease-in-out 1;
}

@keyframes contactOnlineBlink {
  0%,
  100% {
    color: inherit;
  }
  1%,
  38.46% {
    color: var(--accent);
  }
  38.47%,
  50% {
    color: inherit;
  }
  50.01%,
  88.46% {
    color: var(--accent);
  }
  88.47%,
  99% {
    color: inherit;
  }
}

.social-cards {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.social-card {
  min-height: 130px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line-light);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.social-card-content {
  display: inline-grid;
  gap: 0.2rem;
}

.social-card-note,
.social-card-content small {
  margin: 0;
  display: block;
  color: #5f6662;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

.accent-card .social-card-content small {
  color: rgba(17, 24, 22, 0.78);
}

.social-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.social-card i {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--accent);
  color: #111816;
  display: inline-grid;
  place-items: center;
  font-size: 1.08rem;
  transition: transform 200ms ease;
}

.social-card:hover i {
  animation: hop 0.5s ease;
}

@keyframes hop {
  0% { transform: scale(1) translateY(0); }
  40% { transform: scale(1.18) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}

.accent-card {
  position: relative;
  overflow: visible;
  background: var(--accent);
  border-color: var(--accent);
}

.accent-card i {
  background: #111816;
  color: #fff;
}

.social-signature {
  min-height: 1.8rem;
  position: absolute;
  bottom: 12px;
  right: 62px;
  top: auto;
  text-align: right;
  white-space: nowrap;
  color: #111816;
  font-family: "Caveat", cursive;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1;
  text-shadow: 0 2px 9px rgba(var(--accent-rgb) / 0.3);
  opacity: 0;
  transform: translateY(-2px) rotate(-3.5deg);
  transition: opacity 130ms ease, transform 130ms ease;
  pointer-events: none;
}

.social-card.is-signature-hovered .social-signature {
  opacity: 1;
  transform: translateY(0) rotate(-3.5deg);
}

@media (prefers-reduced-motion: reduce) {
  .contact-title-online.is-blinking {
    animation: none;
  }
}

.mega-footer {
  border-top: 1px solid #1c2421;
  padding-top: 1.4rem;
}

.footer-top {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: start;
  padding: 4.8rem 0 3.8rem;
  min-height: 540px;
}

.footer-right {
  padding: 0.4rem 0 0;
  display: grid;
  gap: 1rem;
}

.footer-profile {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.footer-profile img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
}

.footer-profile strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
}

.footer-profile p {
  margin: 0.2rem 0 0;
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.footer-email {
  color: var(--text-light);
  text-decoration: none;
  font-size: clamp(1.2rem, 3vw, 2.35rem);
  font-family: "Outfit", sans-serif;
  width: fit-content;
  position: relative;
}

.footer-email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb) / 0.9), transparent);
  opacity: 0.2;
  animation: footerEmailShimmer 6s ease-in-out infinite;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  padding-left: 0;
  animation: footerCtaHeartbeat 3.8s ease-in-out infinite;
}

.footer-cta i {
  font-size: 0.98rem;
  flex: 0 0 auto;
  order: 0;
  animation: footerIconHeartbeat 3.8s ease-in-out infinite;
}

.footer-cta span {
  order: 1;
}

.footer-bottom {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #1c2421;
  padding: 1.4rem 0 1.6rem;
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.footer-copyright {
  margin: 0;
  justify-self: start;
  opacity: 0.3;
}

.footer-signature {
  margin: 0;
  justify-self: center;
  color: var(--muted-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 260ms ease, text-shadow 260ms ease;
}

.footer-signature:hover,
.footer-old-link:hover {
  color: var(--text-light);
  text-shadow: 0 0 12px rgba(var(--accent-rgb) / 0.18);
}

.footer-old-link {
  justify-self: end;
  color: var(--muted-dark);
  text-decoration: none;
  opacity: 0.3;
  transition: color 260ms ease, text-shadow 260ms ease;
}

.footer-heart {
  color: var(--accent);
  font-size: 0.96em;
  line-height: 1;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.4em;
  height: 1em;
  vertical-align: -0.03em;
  white-space: nowrap;
  transform-origin: center;
  transition: transform 320ms ease;
}

.footer-heart-base,
.footer-heart-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  pointer-events: none;
}

.footer-heart-base {
  opacity: 1;
  transform: scale(1);
  transition: opacity 260ms ease, transform 320ms ease;
}

.footer-heart-hover {
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 360ms ease, transform 420ms ease;
}

.footer-signature:hover .footer-heart-base {
  opacity: 0;
  transform: scale(0.82);
}

.footer-signature:hover .footer-heart-hover {
  opacity: 1;
  transform: scale(1);
  animation: footerHeartBeatHoverEmoji 1.35s ease-in-out infinite;
}

.footer-ai {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 800;
  transform: translateX(-0.3rem);
  transition: max-width 320ms ease, opacity 220ms ease, transform 320ms ease;
}

.footer-signature:hover .footer-ai {
  max-width: 3.4rem;
  opacity: 1;
  transform: translateX(0);
}

@keyframes footerCtaHeartbeat {
  0%,
  58%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 28px rgba(var(--accent-rgb) / 0.28);
  }
  62% {
    transform: scale(1.02);
    box-shadow: 0 16px 34px rgba(var(--accent-rgb) / 0.44);
  }
  68% {
    transform: scale(0.995);
  }
  74% {
    transform: scale(1.016);
    box-shadow: 0 18px 40px rgba(var(--accent-rgb) / 0.48);
  }
  80% {
    transform: scale(1);
  }
}

@keyframes footerIconHeartbeat {
  0%,
  58%,
  100% {
    transform: scale(1);
  }
  62% {
    transform: scale(1.08);
  }
  68% {
    transform: scale(0.96);
  }
  74% {
    transform: scale(1.06);
  }
  80% {
    transform: scale(1);
  }
}

@keyframes footerEmailShimmer {
  0%,
  65%,
  100% {
    opacity: 0.2;
    filter: blur(0);
  }
  78% {
    opacity: 0.95;
    filter: blur(0.35px);
  }
}

@keyframes footerHeartBeatHoverEmoji {
  0%,
  40%,
  100% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.16);
  }
  28% {
    transform: scale(0.94);
  }
  34% {
    transform: scale(1.11);
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.985);
  filter: blur(6px);
  will-change: opacity, transform, filter;
  transition:
    opacity 680ms cubic-bezier(0.2, 0.65, 0.2, 1),
    transform 680ms cubic-bezier(0.2, 0.65, 0.2, 1),
    filter 680ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .footer-cta,
  .footer-cta i,
  .footer-heart,
  .footer-email::after {
    animation: none;
  }

  .footer-heart-base,
  .footer-heart-hover {
    transition: none;
  }

  .focus-row,
  .focus-chip,
  .focus-row-index span,
  .focus-row-content li,
  .focus-row-content li::before {
    transition: none;
  }
}

@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .profile-side {
    max-width: 350px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 930px) {
  .process-layout,
  .social-cards {
    grid-template-columns: 1fr;
  }

  .focus-shell {
    width: min(1460px, calc(100% - 56px));
  }

  .focus-rows {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .focus-row-main {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .focus-row-index {
    font-size: clamp(1.85rem, 8vw, 2.85rem);
  }

  .focus-row-content li {
    font-size: 1.04rem;
    line-height: 1.58;
  }

  .process-media-placeholder {
    min-height: 260px;
    margin-top: 0;
  }

  .process-media-stage {
    min-height: 260px;
    height: auto;
  }

  .process-steps {
    margin-top: 1.2rem;
  }

  .footer-left p {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.5rem, 7.8vw, 3.8rem);
    text-wrap: pretty;
  }

  .hero-text {
    font-size: 1rem;
  }

  .social-signature {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --anchor-scroll-offset: 108px;
    --header-height: 85px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 85px;
    gap: 0.7rem;
  }

  .brand-photo {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1.28rem;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-header-controls {
    display: inline-flex;
  }

  .wrap {
    width: min(1460px, calc(100% - 28px));
  }

  .process .wrap {
    width: min(1360px, calc(100% - 40px));
  }

  .about,
  .process,
  .hero,
  .contact,
  .focus {
    padding: 2rem 0;
  }

  .focus-shell {
    width: min(1460px, calc(100% - 28px));
  }

  .focus-kicker {
    margin: 0.8rem 0 0;
  }

  .focus-rows {
    margin-top: 2rem;
  }

  .focus-row {
    padding: 1.4rem 1rem 1.55rem;
    border-radius: 16px;
  }

  .focus-chip {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding: 0.38rem 0.9rem;
  }

  .focus-row-content h3 {
    font-size: 1.32rem;
  }

  .focus-row-content ul {
    margin-top: 0.72rem;
    gap: 0.45rem;
  }

  .focus-row-content li {
    font-size: 0.98rem;
    padding-left: 1.2rem;
  }

  .focus-row-content li::before {
    font-size: 1.25em;
  }

  .hero {
    padding: 0.9rem 0 1.5rem;
    min-height: 0;
    align-items: start;
  }

  .hero-inner {
    gap: 1rem;
    align-items: start;
  }

  .hero .profile-side {
    display: none;
  }

  .profile-side {
    max-width: 100%;
    padding: 0.78rem;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr 114px;
    grid-template-areas:
      "name photo"
      "role photo"
      "social photo";
    align-items: center;
    column-gap: 0.8rem;
    row-gap: 0.45rem;
  }

  .profile-photo {
    grid-area: photo;
    width: 114px;
    height: 114px;
    border-radius: 10px;
    justify-self: end;
  }

  .profile-side h2 {
    grid-area: name;
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.1;
  }

  .profile-side > p[data-i18n="profileRole"] {
    grid-area: role;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.35;
    max-width: 24ch;
  }

  .profile-socials {
    grid-area: social;
    margin-top: 0.15rem;
    gap: 0.45rem;
  }

  .profile-socials a {
    width: 34px;
    height: 34px;
  }

  .photo-signature {
    display: none;
  }

  .hero-seq-hidden,
  .hero-seq-left-hidden {
    opacity: 0.3;
    transform: none;
    pointer-events: none;
  }

  .accent-picker {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: 204px;
  }
}


/* WordPress blog layer */
.blog-page-main,
.article-page-main {
  background: #171817;
  color: var(--text-light);
  min-height: 70vh;
  padding: clamp(7rem, 10vw, 10rem) 0 clamp(5rem, 8vw, 8rem);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(244, 246, 245, 0.34);
}

.blog-hero h1,
.blog-newsletter h2,
.related-news h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: #fffdf8;
  font-weight: 500;
  letter-spacing: 0;
}

.blog-hero h1 {
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 0.78;
}

.blog-hero p {
  margin: 0 0 0.45rem;
  max-width: 620px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.55;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.4rem, 5vw, 4.5rem) clamp(1.4rem, 3vw, 3rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.blog-card {
  min-width: 0;
}

.blog-card-link,
.related-card a {
  display: grid;
  gap: 1.25rem;
  color: var(--text-light);
  text-decoration: none;
}

.blog-card-media,
.related-media,
.article-featured {
  display: block;
  overflow: hidden;
  background: #232523;
}

.blog-card-media {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.blog-card-media img,
.related-media img,
.article-featured img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 320ms ease;
}

.blog-card-link:hover .blog-card-media img,
.blog-card-link:focus-visible .blog-card-media img,
.related-card a:hover .related-media img,
.related-card a:focus-visible .related-media img {
  transform: scale(1.035);
}

.blog-card-meta {
  display: inline-flex;
  flex-wrap: wrap;
  color: rgba(255, 253, 248, 0.88);
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  gap: 0.55rem;
}

.blog-card-meta-divider {
  color: rgba(255, 253, 248, 0.38);
}

.blog-card h2,
.related-card h3 {
  margin: -0.35rem 0 0;
  font-family: "Outfit", sans-serif;
  color: #fffdf8;
  font-weight: 500;
  letter-spacing: 0;
}

.blog-card h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.08;
}

.blog-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 1.1rem;
}

.blog-pagination {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 3.2rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  border: 1px solid rgba(244, 246, 245, 0.28);
  border-radius: 999px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 800;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #101413;
}

.blog-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.42fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(3.2rem, 6vw, 5rem);
  padding-top: clamp(2.2rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(244, 246, 245, 0.34);
}

.blog-newsletter h2 {
  max-width: 700px;
  font-size: clamp(2.9rem, 5.8vw, 5.9rem);
  line-height: 0.98;
}

.blog-newsletter-form {
  display: grid;
  gap: clamp(1.2rem, 2.8vw, 2.4rem);
  margin-top: 0.2rem;
}

.blog-newsletter-form p {
  margin: 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.58;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 2px solid rgba(255, 253, 248, 0.82);
}

.newsletter-fields input,
.newsletter-fields button {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  font: inherit;
}

.newsletter-fields input {
  min-width: 0;
  padding: 0 1.25rem;
  background: #303130;
  color: #fffdf8;
}

.newsletter-fields input::placeholder {
  color: rgba(255, 253, 248, 0.55);
}

.newsletter-fields button {
  padding: 0 1.35rem;
  background: #fffdf8;
  color: #171817;
  cursor: pointer;
}

.newsletter-message {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.08);
}

.newsletter-message.is-success {
  border-color: rgba(204, 254, 0, 0.45);
  color: var(--accent);
}

.newsletter-message.is-error {
  border-color: rgba(255, 130, 130, 0.45);
  color: #ffb3b3;
}

.newsletter-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.article-shell {
  display: grid;
  gap: clamp(2rem, 5vw, 3.8rem);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.article-heading {
  display: grid;
  gap: 1.1rem;
}

.article-heading h1 {
  margin: 0;
  max-width: 980px;
  color: #fffdf8;
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: 0;
}

.article-lead {
  margin: 0;
  max-width: 860px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  max-width: 860px;
  color: rgba(255, 253, 248, 0.52);
  font-family: "Sora", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.article-breadcrumbs a {
  color: rgba(255, 253, 248, 0.74);
  text-decoration: none;
}

.article-breadcrumbs a:hover,
.article-breadcrumbs a:focus-visible {
  color: var(--accent);
}

.article-breadcrumbs span:last-child {
  max-width: min(560px, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-facts {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0 0 0 2rem;
  border-left: 1px solid rgba(244, 246, 245, 0.36);
}

.article-facts div {
  display: grid;
  gap: 0.45rem;
}

.article-facts dt,
.article-side-kicker {
  color: rgba(255, 253, 248, 0.52);
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-facts dd {
  margin: 0;
  color: #fffdf8;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-featured {
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 12px;
}

.article-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.article-body {
  max-width: 900px;
  color: rgba(244, 246, 245, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.76;
}

.article-body :where(p, ul, ol, blockquote) {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

.article-body :where(h2, h3, h4) {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: #fffdf8;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.article-body h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.article-body a {
  color: var(--accent);
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-sidebar {
  display: grid;
  gap: 3rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.92rem;
  line-height: 1.65;
}

.article-sidebar h2 {
  margin: 0.4rem 0 0.55rem;
  color: #fffdf8;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0;
}

.article-sidebar p {
  margin: 0;
}

.article-share {
  display: flex;
  gap: 0.5rem;
}

.article-share a {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(244, 246, 245, 0.46);
  border-radius: 999px;
  color: #fffdf8;
  text-decoration: none;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.related-news {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(244, 246, 245, 0.18);
}

.related-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(244, 246, 245, 0.34);
}

.related-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  text-transform: uppercase;
}

.related-header a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 1rem;
  border: 1px solid rgba(244, 246, 245, 0.62);
  border-radius: 4px;
  color: #fffdf8;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2rem);
  max-width: 760px;
  margin-top: 2.4rem;
}

.related-media {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}

.related-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.article-newsletter {
  margin-top: clamp(3.4rem, 6vw, 5.6rem);
}

@media (max-width: 980px) {
  .blog-hero,
  .blog-newsletter,
  .article-hero,
  .article-content-grid {
    grid-template-columns: 1fr;
  }

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

  .article-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.2rem 0 0;
    border-top: 1px solid rgba(244, 246, 245, 0.3);
    border-left: 0;
  }

  .article-sidebar {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .blog-page-main,
  .article-page-main {
    padding-top: 6.6rem;
  }

  .blog-hero {
    gap: 1.4rem;
  }

  .blog-hero h1 {
    font-size: clamp(4.7rem, 26vw, 7.8rem);
  }

  .blog-hero p,
  .blog-newsletter-form p {
    font-size: 1.06rem;
    line-height: 1.55;
  }

  .blog-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-media {
    border-radius: 11px;
  }

  .blog-newsletter h2 {
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

  .newsletter-fields {
    grid-template-columns: 1fr;
  }

  .newsletter-fields input,
  .newsletter-fields button {
    width: 100%;
  }

  .article-heading h1 {
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  .article-facts {
    grid-template-columns: 1fr;
  }
}
