/* ==========================================================================
   predragstojanovic.me — styles
   Order: fonts → tokens → base → layout → components → sections → motion
   ========================================================================== */

/* ---------- Fonts (self-hosted Archivo variable, 400–700) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  /* color */
  --c-bg: #070B12;
  --c-bg-deep: #090F18;
  --c-bg-raised: #0B1522;
  --c-bg-panel: #0B111B;
  --c-bg-glow: #101E30;
  --c-text: #EEF3F8;
  --c-text-strong: #D5DDE5;
  --c-text-2: #B4C0CC;
  --c-text-3: #93A0AE;
  --c-text-4: #8593A2;
  --c-accent: #35D0EE;
  --c-accent-soft: #9BEBFA;
  --c-line: rgba(138, 186, 214, 0.13);
  --c-line-2: rgba(138, 186, 214, 0.16);
  --c-line-3: rgba(138, 186, 214, 0.18);
  --c-line-4: rgba(138, 186, 214, 0.28);
  --c-accent-a08: rgba(53, 208, 238, 0.08);
  --c-accent-a14: rgba(53, 208, 238, 0.14);
  --c-accent-a50: rgba(53, 208, 238, 0.5);
  --c-accent-a60: rgba(53, 208, 238, 0.6);

  /* type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 17px;
  --fs-label: 11px;
  --fs-h1: clamp(38px, 8.6vw, 118px);
  --fs-h2: clamp(28px, 4.2vw, 54px);
  --fs-h2-xl: clamp(30px, 6vw, 82px);
  --fs-lead: clamp(16px, 1.25vw, 19px);

  /* layout */
  --maxw: 1440px;
  --gutter: clamp(18px, 5vw, 72px);
  --section-y: clamp(54px, 9vw, 130px);
  --header-h: 74px;

  /* shape */
  --r-pill: 999px;
  --r-card: 16px;
  --r-control: 14px;

  /* motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 200ms;
  --t-med: 250ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1100px 680px at 72% -12%, var(--c-bg-glow) 0%, var(--c-bg) 58%) var(--c-bg) no-repeat;
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Decorative glows and canvases bleed past the edges on purpose; clip them
   horizontally without creating a scroll container. */
main {
  display: block;
  overflow-x: clip;
}

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

h1, h2, h3, p, figure, ul, ol { margin: 0; }

a { color: var(--c-accent); }
a:hover { color: var(--c-accent-soft); }

::selection { background: var(--c-accent); color: var(--c-bg); }

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

main:focus { outline: none; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--c-accent);
  color: var(--c-bg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-pill);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; color: var(--c-bg); }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  border-top: 1px solid var(--c-line);
  padding-block: var(--section-y);
}

/* Label column + content column; wraps to one column on small screens */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 80px);
  align-items: flex-start;
}
.split__aside { flex: 1 1 min(100%, 220px); }
.split__main { flex: 3 1 min(100%, 460px); min-width: 0; }

.section-head { margin-bottom: clamp(40px, 5vw, 68px); }

/* ---------- Typography components ---------- */
.eyebrow {
  font-size: var(--fs-label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.lead {
  margin-top: 16px;
  max-width: 56ch;
  font-size: var(--fs-lead);
  color: var(--c-text-3);
  text-wrap: pretty;
}

.meta {
  margin-bottom: 10px;
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--t-fast) ease, filter var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-bg);
  font-weight: 600;
}
.btn--primary:hover {
  color: var(--c-bg);
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--c-line-4);
  color: var(--c-text);
}
.btn--ghost:hover {
  color: var(--c-text);
  border-color: rgba(53, 208, 238, 0.7);
  background: var(--c-accent-a08);
}
.btn--light {
  min-height: 44px;
  padding: 11px 20px;
  background: var(--c-text);
  color: var(--c-bg);
  font-size: 14px;
}
.btn--light:hover { background: var(--c-accent); color: var(--c-bg); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding-block: 13px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-accent-a60);
  transition: color var(--t-fast) ease;
}
.text-link:hover { color: var(--c-accent); }

.arrow {
  display: inline-block;
  transition: transform var(--t-med) ease;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.82);
  border-bottom: 1px solid var(--c-line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: background 300ms ease, border-color 300ms ease;
}
/* With JS, header is transparent until the page scrolls */
.js .site-header:not(.is-scrolled):not(.menu-open) {
  background: rgba(7, 11, 18, 0);
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 40px);
  padding-block: 14px;
}

.brand {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--c-text);
  text-decoration: none;
}
.brand:hover { color: var(--c-text); }
.brand__mark { flex: 0 0 auto; width: auto; height: 34px; }
.brand__text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.brand__name { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.brand__role {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

.site-nav {
  flex: 0 0 auto;
  display: none;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}
.site-nav a {
  font-size: 14px;
  color: var(--c-text-3);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
.site-nav a:hover { color: var(--c-text); }
.site-nav a.is-active { color: var(--c-accent); }

.site-header__actions {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-cta { display: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--c-line-3);
  border-radius: var(--r-pill);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-text-3);
  text-decoration: none;
}
.lang-switch a:hover { color: var(--c-text); }
.lang-switch a[aria-current="page"] {
  background: var(--c-accent-a14);
  color: var(--c-text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(138, 186, 214, 0.2);
  border-radius: var(--r-control);
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
}
.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform var(--t-fast) ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  background: var(--c-bg-panel);
  border-top: 1px solid var(--c-line);
  padding: 14px var(--gutter) 26px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a:not(.btn) {
  padding: 14px 0;
  font-size: 20px;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 186, 214, 0.1);
}
.mobile-menu a:not(.btn):last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 18px; }

/* Burger only exists when JS can operate it; without JS the page is one scroll */
.js .menu-toggle { display: flex; }

@media (min-width: 760px) {
  .brand__text { display: flex; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1060px) {
  .site-nav { display: flex; }
  .js .menu-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(96px, 13vh, 168px);
  padding-bottom: clamp(52px, 8vw, 96px);
}

.hero__deco {
  position: absolute;
  pointer-events: none;
}
.hero__glow {
  top: -8%;
  right: -6%;
  width: min(760px, 78vw);
  height: min(760px, 78vw);
  background: radial-gradient(circle at 50% 50%, rgba(53, 208, 238, 0.16), rgba(53, 208, 238, 0) 62%);
}
.hero__net {
  top: -4%;
  left: -6%;
  width: 112%;
  height: 108%;
  -webkit-mask-image: radial-gradient(ellipse 78% 74% at 52% 44%, #000 28%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0) 94%);
  mask-image: radial-gradient(ellipse 78% 74% at 52% 44%, #000 28%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0) 94%);
}
.hero__drift-a {
  top: -16%;
  left: -12%;
  width: min(720px, 74vw);
  height: min(720px, 74vw);
  background: radial-gradient(circle at 50% 50%, rgba(53, 208, 238, 0.11), rgba(53, 208, 238, 0) 66%);
  animation: ps-drift-a 96s ease-in-out infinite;
}
.hero__drift-b {
  bottom: -22%;
  left: 22%;
  width: min(620px, 64vw);
  height: min(620px, 64vw);
  background: radial-gradient(circle at 50% 50%, rgba(138, 186, 214, 0.09), rgba(138, 186, 214, 0) 66%);
  animation: ps-drift-b 124s ease-in-out infinite;
}

.hero__grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}
.hero__copy { flex: 1.1 1 min(100%, 420px); max-width: 640px; min-width: 0; }
.hero__media { flex: 1 1 min(100%, 360px); max-width: 620px; min-width: 0; position: relative; }

.hero__role {
  margin-bottom: clamp(16px, 2.4vw, 26px);
  font-size: clamp(13px, 1.7vw, 18px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.hero__title-line { display: block; }
.hero__title-line--metal {
  background: linear-gradient(178deg, #FFFFFF 0%, #E4EDF4 34%, #9FB2C1 66%, #F4F9FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__title-line--metal em { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.hero__title-line--accent {
  color: var(--c-accent);
  text-shadow: 0 0 38px rgba(53, 208, 238, 0.3);
}

.hero__statement {
  margin-top: clamp(24px, 3.4vw, 40px);
  max-width: 54ch;
  font-size: clamp(16px, 1.35vw, 20px);
  color: var(--c-text-2);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 46px);
}

.portrait { position: relative; }
.portrait__net {
  position: absolute;
  top: -8%;
  left: -12%;
  width: 124%;
  height: 116%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 58% 56% at 50% 46%, #000 20%, rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0) 86%);
  mask-image: radial-gradient(ellipse 58% 56% at 50% 46%, #000 20%, rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0) 86%);
}
.portrait__float {
  position: relative;
  animation: ps-float 30s ease-in-out infinite;
}
.portrait__aura {
  position: absolute;
  inset: 2% 0 4% 0;
  background: radial-gradient(ellipse at 52% 46%, rgba(53, 208, 238, 0.2), rgba(53, 208, 238, 0) 66%);
  filter: blur(28px);
  animation: ps-aura 38s ease-in-out infinite;
  pointer-events: none;
}
.portrait__img {
  position: relative;
  width: 100%;
  height: auto;
  filter: saturate(0.94) contrast(1.04) drop-shadow(0 28px 52px rgba(3, 8, 16, 0.62));
  -webkit-mask-image: linear-gradient(180deg, #000 80%, rgba(0, 0, 0, 0.5) 93%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 80%, rgba(0, 0, 0, 0.5) 93%, rgba(0, 0, 0, 0) 100%);
}
.portrait__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: clamp(14px, 1.6vw, 22px);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.portrait__name { color: var(--c-text); font-size: clamp(14px, 1.2vw, 16px); }
.portrait__role { color: var(--c-text-2); font-size: clamp(12px, 1vw, 13px); }

/* ---------- About ---------- */
.about__title { max-width: 26ch; }
.about__p1 {
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 62ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--c-text-strong);
  text-wrap: pretty;
}
.about__p2 {
  margin-top: 18px;
  max-width: 62ch;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--c-text-3);
  text-wrap: pretty;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(28px, 3.6vw, 44px);
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 8px 12px;
  border: 1px solid var(--c-line-3);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-2);
}

.about .text-link { margin-top: clamp(28px, 3.4vw, 40px); }

/* ---------- Work ---------- */
.work-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.work-card:hover { color: inherit; }

.work-card__preview {
  --scale: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-line-2);
  transition: border-color var(--t-med) ease;
}
.work-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-4);
  background: radial-gradient(120% 120% at 20% 0%, rgba(53, 208, 238, 0.08), rgba(7, 11, 18, 0) 60%);
}
.work-card__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 900px;
  border: 0;
  pointer-events: none;
  opacity: 0;
  transform: scale(var(--scale));
  transform-origin: 0 0;
  transition: opacity 600ms ease, transform 700ms var(--ease-out);
}
.work-card__frame.is-loaded { opacity: 1; }
.work-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0) 60%, rgba(7, 11, 18, 0.6) 100%);
  pointer-events: none;
}
.work-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  background: var(--c-accent);
  color: var(--c-bg);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-card__body {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line-2);
}
.work-card__title {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  transition: color var(--t-med) ease;
}
.work-card__desc {
  font-size: 16px;
  color: var(--c-text-3);
  text-wrap: pretty;
}
.work-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
}

.work-card:hover .work-card__preview,
.work-card:focus-visible .work-card__preview { border-color: var(--c-accent-a50); }
.work-card:hover .work-card__title,
.work-card:focus-visible .work-card__title { color: var(--c-accent); }
.work-card:hover .arrow,
.work-card:focus-visible .arrow { transform: translateX(8px); }
.work-card:hover .work-card__frame,
.work-card:focus-visible .work-card__frame { transform: scale(calc(var(--scale) * 1.03)); }

/* Featured card: title and description side by side */
.work-card--featured .work-card__shade { background: linear-gradient(180deg, rgba(7, 11, 18, 0) 55%, rgba(7, 11, 18, 0.72) 100%); }
.work-card--featured .work-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(20px, 2.6vw, 30px);
  padding-top: clamp(20px, 2.6vw, 30px);
}
.work-card--featured .work-card__head { flex: 2 1 min(100%, 320px); min-width: 0; }
.work-card--featured .work-card__text { flex: 3 1 min(100%, 320px); min-width: 0; }
.work-card--featured .work-card__title {
  margin-bottom: 0;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.work-card--featured .work-card__desc {
  max-width: 60ch;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--c-text-2);
}
.work-card--featured .work-card__cta { margin-top: 18px; }

.work-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(48px, 6vw, 96px);
}
.work-grid > .work-card { flex: 1 1 min(100%, 340px); min-width: 0; }

/* ---------- Services ---------- */
.services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-line-2);
}
.service {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(12px, 3vw, 48px);
  padding: clamp(22px, 2.8vw, 34px) clamp(0px, 1vw, 16px);
  border-bottom: 1px solid var(--c-line-2);
}
.service__title {
  flex: 1 1 min(100%, 230px);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.service__desc {
  flex: 2 1 min(100%, 300px);
  max-width: 56ch;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--c-text-3);
  text-wrap: pretty;
}

/* ---------- Process ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--c-line-2);
  border: 1px solid var(--c-line-2);
}
.step {
  flex: 1 1 200px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--c-bg);
}
.step__num {
  display: block;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--c-accent);
}
.step__title {
  margin: 16px 0 10px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step__desc { font-size: 15px; color: var(--c-text-3); text-wrap: pretty; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--c-line);
}
.contact__glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  width: min(1000px, 120vw);
  height: min(700px, 90vw);
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(53, 208, 238, 0.13), rgba(53, 208, 238, 0) 62%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  padding-block: clamp(62px, 10vw, 150px);
}
.contact .eyebrow { margin-bottom: clamp(24px, 3vw, 36px); }
.contact__title {
  max-width: 20ch;
  font-size: var(--fs-h2-xl);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.contact__lead {
  margin-top: clamp(20px, 2.6vw, 30px);
  max-width: 44ch;
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--c-text-2);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: clamp(36px, 5vw, 60px) 0 0;
  padding: 0;
  list-style: none;
}
.contact-list > li { flex: 1 1 min(100%, 270px); min-width: 0; display: flex; }

.contact-card {
  --brand: var(--c-accent);
  --brand-a55: rgba(53, 208, 238, 0.55);
  --brand-a07: rgba(53, 208, 238, 0.07);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 18px 22px;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-line-3);
  border-radius: var(--r-card);
  color: var(--c-text);
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease;
}
.contact-card--whatsapp { --brand: #25D366; --brand-a55: rgba(37, 211, 102, 0.55); --brand-a07: rgba(37, 211, 102, 0.07); }
.contact-card--viber { --brand: #8F80F5; --brand-a55: rgba(115, 96, 242, 0.55); --brand-a07: rgba(115, 96, 242, 0.07); }

.contact-card__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--c-text-2);
  transition: color 220ms ease;
}
.contact-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-card__label { font-size: 16px; font-weight: 600; }
.contact-card__value {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-text-3);
  overflow-wrap: anywhere;
}
.contact-card .arrow { margin-left: auto; color: var(--c-text-3); }

.contact-card:hover,
.contact-card:focus-visible {
  color: var(--c-text);
  border-color: var(--brand-a55);
  background: var(--brand-a07);
}
.contact-card:hover .contact-card__icon,
.contact-card:focus-visible .contact-card__icon { color: var(--brand); }
.contact-card:hover .arrow,
.contact-card:focus-visible .arrow { transform: translateX(6px); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-deep);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: 28px;
}
.site-footer__brand { flex: 2 1 min(100%, 320px); min-width: 0; }
.site-footer__name { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.site-footer__role {
  margin: 6px 0 18px;
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.site-footer__slogan { font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.015em; }
.site-footer__slogan span { color: var(--c-accent); }

.site-footer__nav-wrap { flex: 1 1 min(100%, 260px); }
.site-footer__nav-label {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-4);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
}
.site-footer nav a {
  display: inline-block;
  padding-block: 6px;
  font-size: 15px;
  color: var(--c-text-2);
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--c-text); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(138, 186, 214, 0.1);
}
.site-footer__bottom p { font-size: var(--fs-label); letter-spacing: 0.08em; color: var(--c-text-4); }

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-block: 120px 80px;
}
.not-found .h2 { max-width: 18ch; }

/* ---------- Motion ---------- */
@keyframes ps-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -14px, 0) scale(1.015); }
}
@keyframes ps-drift-a {
  0%, 100% { transform: translate3d(-4%, -2%, 0) scale(1); }
  50% { transform: translate3d(7%, 6%, 0) scale(1.14); }
}
@keyframes ps-drift-b {
  0%, 100% { transform: translate3d(5%, 4%, 0) scale(1.08); }
  50% { transform: translate3d(-7%, -4%, 0) scale(0.94); }
}
@keyframes ps-aura {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

/* Scroll reveal: only armed by main.js, so content never stays hidden without JS */
.reveal-ready [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-ready [data-reveal] {
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__drift-a,
  .hero__drift-b,
  .portrait__float,
  .portrait__aura { animation: none; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; }
}
