/* ============================================================================
   ArianEditory — Global Foundation
   Hand-written, dependency-free CSS. No Framer runtime, no generated markup.
   This file owns: font-face, reset, design tokens, base elements, layout
   utilities and the shared button / badge primitives.
   Component-specific styling lives in components.css, breakpoints in
   responsive.css.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Fonts — local woff2 only (unicode-range subsets collapsed to their
      Latin faces, which cover every glyph used on the page).
   -------------------------------------------------------------------------- */
/* Zalando Sans Expanded — display / headings */
@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("../fonts/JTU6jJci8Cy470GaeFwsix1hi3aTmrgRwU-ZoGTKmeLvpK-4OJaPl4hhcxm2zLI.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("../fonts/JTU6jJci8Cy470GaeFwsix1hi3aTmrgRwU-ZoGTKmeLvpK-4ONiPl4hhcxm2zLI.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("../fonts/JTU4jJci8Cy470GaeFwsix1hi3aTmrgRwU-zqVY1QYuEPgG_LbnLmMlrcjuz3LKaMA.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("../fonts/JTU4jJci8Cy470GaeFwsix1hi3aTmrgRwU-zqVY1QYuEPgG_LbnL1slrcjuz3LKaMA.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Poppins — body / UI */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/JMWNCAGBH3TLANIVQPVABVAVNV5QERTH.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/UCDYLFFGLZRGCFY5GYDYM5LDB52BAR5M.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/FYG6OCH7XOLUUSZTIZE65ATBZWF623O4.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/SSNNTU67MMJH4CSWT443B4KJ7OB4WFHF.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Inter — numeric / misc */
@font-face {
  font-family: "Inter";
  src: url("../fonts/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Switzer — chip labels */
@font-face {
  font-family: "Switzer";
  src: url("../fonts/YS3VPNVO4B3TOJMEXDGFZQ4TLZGGSRZC.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --bg: #040102;              /* rgb(4,1,2) — page background */
  --rose: #f43f5e;           /* rgb(244,63,94) — Rose 500, primary accent */
  --rose-950: #380112;       /* rgb(56,1,18) — Rose 950, gradient end */
  --gray-800: #262626;       /* rgb(38,38,38) — hairline borders / dividers */
  --gray-500: #808080;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;       /* rgb(212,212,212) — muted body copy */
  --white: #ffffff;

  /* Gradients */
  --grad-rose: linear-gradient(180deg, var(--rose) 0%, var(--rose-950) 100%);
  --grad-monitor: linear-gradient(179deg, #040102 48.18%, #380112 100%);
  --grad-progress: linear-gradient(90deg, rgba(56, 1, 18, 0.1) 0%, var(--rose) 100%);

  /* Shadows */
  --shadow-btn: inset 0 4px 8px 1px rgba(244, 63, 94, 0.6), 0 8px 10px 1px rgba(4, 1, 2, 0.14);
  --shadow-soft: 0 8px 10px 1px rgba(0, 0, 0, 0.14);

  /* Typography */
  --font-display: "Zalando Sans Expanded", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-inter: "Inter", system-ui, sans-serif;
  --font-chip: "Switzer", var(--font-body);

  --fs-hero: 56px;   --lh-hero: 66px;
  --fs-h1: 40px;     --lh-h1: 48px;
  --fs-h2: 24px;     --lh-h2: 28px;
  --fs-h3: 20px;     --lh-h3: 24px;
  --fs-stat: 24px;   --lh-stat: 28px;
  --fs-body: 16px;   --lh-body: 24px;
  --fs-small: 14px;  --lh-small: 21px;
  --fs-chip: 12px;   --lh-chip: 18px;
  --fs-micro: 9px;   --lh-micro: 11px;

  /* Layout */
  --shell-max: 1200px;
  --gutter: 60px;
  --radius-btn: 32px;
  --radius-card: 16px;
  --radius-pill: 40px;
}

/* ----------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

/* ----------------------------------------------------------------------------
   4. Layout utilities
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------------------------
   5. Shared primitives — buttons & dashed badge pills
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--white);
  box-shadow: var(--shadow-btn);
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn--primary { background-image: var(--grad-rose); }
.btn--ghost {
  background-color: var(--bg);
  background-image: linear-gradient(var(--bg), var(--bg));
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 24px; height: 24px; flex: none; }

/* Dashed pill badge used as a section eyebrow ("Featured", "Services", …) */
.badge-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-inter);
  font-size: var(--fs-chip);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose);
}
.badge-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed var(--rose);
  border-radius: var(--radius-pill);
  pointer-events: none;
}

/* Hairline bordered surface (cards, rows) — mirrors Framer's data-border ::after */
.hairline {
  position: relative;
  border-radius: var(--radius-card);
}
.hairline::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gray-800);
  border-radius: inherit;
  pointer-events: none;
}

/* ----------------------------------------------------------------------------
   6. Fixed background effects (rose glow blob + blur gradient)
   -------------------------------------------------------------------------- */
.bg-fx { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bg-fx__glow {
  position: absolute;
  top: -140px;
  left: -60px;
  width: 26vw;
  min-width: 320px;
  height: 640px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(244, 63, 94, 0.2) 0%, rgba(244, 63, 94, 0) 70%);
  filter: blur(100px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Premium scrollbar — light and airy */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(232, 80, 107, .28); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(232, 80, 107, .5); }
::-webkit-scrollbar-corner { background: transparent; }
html { scrollbar-width: thin; scrollbar-color: rgba(232, 80, 107, .35) transparent; }
