/* SOFTXERA — standalone static stylesheet (mirrors the app design system) */

:root {
  --radius: 1rem;
  --background: oklch(0.985 0.002 247.9);
  --foreground: oklch(0.21 0.034 264.4);
  --card: oklch(1 0 0);
  --primary: oklch(0.546 0.245 262.9);
  --primary-foreground: oklch(1 0 0);
  --primary-hover: oklch(0.488 0.243 264);
  --secondary: oklch(0.968 0.005 247.9);
  --muted-foreground: oklch(0.551 0.023 264.4);
  --accent: oklch(0.955 0.02 262.9);
  --accent-foreground: oklch(0.488 0.243 264);
  --success: oklch(0.696 0.17 162.5);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.928 0.006 264.4);
  --ink: oklch(0.17 0.026 264.4);
  --ink-foreground: oklch(0.985 0.002 247.9);
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --shadow-soft: 0 1px 2px oklch(0.21 0.034 264 / 0.04), 0 8px 24px -12px oklch(0.21 0.034 264 / 0.1);
  --shadow-lift: 0 2px 4px oklch(0.21 0.034 264 / 0.03), 0 24px 60px -24px oklch(0.21 0.034 264 / 0.18);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0;
  font-weight: 800;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.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;
}

/* ---------- layout ---------- */

.shell {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.shell--narrow {
  max-width: 780px;
}

.section {
  padding-block: 5rem;
}

.section--tight {
  padding-block: 3rem 5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .section {
    padding-block: 7rem;
  }
}

/* ---------- type ---------- */

.display-xl {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
}

.display-lg {
  font-size: clamp(2.05rem, 4vw, 3.1rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.muted {
  color: var(--muted-foreground);
}

.text-gradient {
  background: linear-gradient(100deg, var(--foreground) 15%, var(--primary) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.btn--outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn--outline:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.btn--ghost-inverted {
  background: transparent;
  color: var(--ink-foreground);
  border-color: oklch(1 0 0 / 0.2);
}

.btn--ghost-inverted:hover {
  background: oklch(1 0 0 / 0.1);
  color: var(--ink-foreground);
}

/* ---------- surfaces ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  height: 100%;
}

a.card:hover,
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: oklch(0.546 0.245 262.9 / 0.35);
}

.pill {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hairline-grid {
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at top, black, transparent 72%);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: oklch(0.985 0.002 247.9 / 0.82);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 0.7rem;
  background: var(--foreground);
  display: grid;
  place-items: center;
  transition: transform 0.5s ease;
}

.logo:hover .logo__mark {
  transform: rotate(10deg);
}

.logo__mark span {
  width: 10px;
  height: 10px;
  border-radius: 0.25rem;
  background: var(--primary);
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.22em;
  display: block;
}

.logo__sub {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-top: 3px;
}

.logo--inverted .logo__mark {
  background: var(--ink-foreground);
}
.logo--inverted .logo__name {
  color: var(--ink-foreground);
}
.logo--inverted .logo__sub {
  color: oklch(1 0 0 / 0.6);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav a:hover {
  color: var(--foreground);
  background: var(--secondary);
}

.nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--accent);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
}

@media (min-width: 1040px) {
  .nav,
  .header-cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1rem 0 1.5rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 9rem 4rem;
}

.hero__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(120px);
}

.hero__glow--a {
  top: -8rem;
  right: -6rem;
  width: 34rem;
  height: 34rem;
  background: oklch(0.546 0.245 262.9 / 0.18);
}

.hero__glow--b {
  bottom: -10rem;
  left: -6rem;
  width: 26rem;
  height: 26rem;
  background: oklch(0.696 0.17 162.5 / 0.14);
}

.hero__grid {
  position: absolute;
  inset: 0 0 auto 0;
  height: 30rem;
  opacity: 0.5;
  pointer-events: none;
}

.hero__layout {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero {
    padding-block: 11rem 6rem;
  }
  .hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}
/* =========================================================
   SOFTXERA CREATIVE TECHNOLOGY HERO
   ========================================================= */

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}


/* ---------- ambient glow ---------- */

.visual-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(70px);
  z-index: -2;
}

.visual-glow--one {
  width: 260px;
  height: 260px;
  background: oklch(0.546 0.245 262.9 / 0.20);
  animation: visualGlowOne 7s ease-in-out infinite;
}

.visual-glow--two {
  width: 180px;
  height: 180px;
  background: oklch(0.696 0.17 162.5 / 0.12);
  transform: translate(100px, 100px);
  animation: visualGlowTwo 8s ease-in-out infinite;
}


/* ---------- orbit rings ---------- */

.orbit {
  position: absolute;
  border: 1px solid oklch(0.546 0.245 262.9 / 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.orbit--one {
  width: 330px;
  height: 330px;
  animation: orbitRotate 18s linear infinite;
}

.orbit--two {
  width: 440px;
  height: 440px;
  transform: rotate(65deg);
  border-color: oklch(0.21 0.034 264.4 / 0.09);
  animation: orbitRotateReverse 24s linear infinite;
}

.orbit--three {
  width: 550px;
  height: 550px;
  transform: rotate(-30deg);
  border-color: oklch(0.546 0.245 262.9 / 0.08);
  animation: orbitRotate 32s linear infinite;
}


/* ---------- central core ---------- */

.creative-core {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at 35% 30%,
      oklch(1 0 0 / 0.95),
      oklch(0.96 0.01 264.4 / 0.92) 45%,
      oklch(0.92 0.02 264.4 / 0.88)
    );

  border: 1px solid oklch(0.546 0.245 262.9 / 0.22);

  box-shadow:
    0 0 0 12px oklch(0.546 0.245 262.9 / 0.04),
    0 0 0 30px oklch(0.546 0.245 262.9 / 0.025),
    0 25px 70px -20px oklch(0.21 0.034 264.4 / 0.22);

  z-index: 5;

  animation: coreFloat 5s ease-in-out infinite;
}

.core-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid oklch(0.546 0.245 262.9 / 0.3);
  animation: corePulse 3s ease-in-out infinite;
}

.core-logo {
  display: flex;
  align-items: center;
  gap: 8px;

  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--foreground);
}

.core-square {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--primary);
  box-shadow: 0 0 20px oklch(0.546 0.245 262.9 / 0.55);
  animation: coreSquare 2.5s ease-in-out infinite;
}

.creative-core small {
  margin-top: 8px;
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}


/* ---------- service nodes ---------- */

.service-node {
  position: absolute;

  display: flex;
  align-items: center;
  gap: 0.7rem;

  padding: 0.8rem 1rem;

  background: oklch(1 0 0 / 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid var(--border);
  border-radius: 1rem;

  box-shadow:
    0 12px 35px -18px oklch(0.21 0.034 264.4 / 0.25);

  z-index: 8;

  white-space: nowrap;
}

.service-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.service-node span {
  display: block;
  margin-top: 2px;
  color: var(--muted-foreground);
  font-size: 0.62rem;
  line-height: 1.3;
}

.node-icon {
  width: 36px;
  height: 36px;

  flex: none;

  display: grid;
  place-items: center;

  border-radius: 0.7rem;

  background: var(--accent);
  color: var(--primary);

  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}


/* ---------- node positions ---------- */

.service-node--dev {
  top: 12%;
  left: 5%;
  animation: nodeFloatOne 5s ease-in-out infinite;
}

.service-node--creative {
  top: 7%;
  right: 4%;
  animation: nodeFloatTwo 6s ease-in-out infinite;
}

.service-node--marketing {
  right: 2%;
  bottom: 15%;
  animation: nodeFloatThree 5.5s ease-in-out infinite;
}

.service-node--ai {
  left: 4%;
  bottom: 10%;
  animation: nodeFloatFour 6.5s ease-in-out infinite;
}


/* ---------- particles ---------- */

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);

  box-shadow:
    0 0 12px oklch(0.546 0.245 262.9 / 0.6);

  animation: particleFloat 4s ease-in-out infinite;
}

.particle--1 {
  top: 18%;
  left: 42%;
  animation-delay: -1s;
}

.particle--2 {
  top: 32%;
  right: 18%;
  animation-delay: -2.5s;
}

.particle--3 {
  bottom: 26%;
  left: 28%;
  animation-delay: -0.5s;
}

.particle--4 {
  bottom: 18%;
  right: 32%;
  animation-delay: -3s;
}

.particle--5 {
  top: 43%;
  left: 13%;
  width: 3px;
  height: 3px;
  animation-delay: -1.8s;
}

.particle--6 {
  top: 62%;
  right: 13%;
  width: 4px;
  height: 4px;
  animation-delay: -3.5s;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitRotateReverse {
  from {
    transform: rotate(65deg);
  }

  to {
    transform: rotate(-295deg);
  }
}

@keyframes coreFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes corePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes coreSquare {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(45deg);
  }
}

@keyframes visualGlowOne {
  0%,
  100% {
    transform: translate(-20px, -10px) scale(1);
  }

  50% {
    transform: translate(20px, 15px) scale(1.2);
  }
}

@keyframes visualGlowTwo {
  0%,
  100% {
    transform: translate(80px, 80px) scale(1);
  }

  50% {
    transform: translate(120px, 40px) scale(1.25);
  }
}

@keyframes nodeFloatOne {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(8px, -12px);
  }
}

@keyframes nodeFloatTwo {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-8px, 10px);
  }
}

@keyframes nodeFloatThree {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-10px, -8px);
  }
}

@keyframes nodeFloatFour {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(8px, 9px);
  }
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.35;
  }

  50% {
    transform: translate(10px, -15px);
    opacity: 1;
  }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 979px) {

  .hero-visual {
    min-height: 480px;
    margin-top: 1rem;
  }

  .orbit--three {
    width: 480px;
    height: 480px;
  }

}

@media (max-width: 600px) {

  .hero-visual {
    min-height: 430px;
    transform: scale(0.92);
    margin-inline: -1rem;
  }

  .orbit--one {
    width: 270px;
    height: 270px;
  }

  .orbit--two {
    width: 350px;
    height: 350px;
  }

  .orbit--three {
    width: 430px;
    height: 430px;
  }

  .creative-core {
    width: 155px;
    height: 155px;
  }

  .service-node {
    padding: 0.65rem 0.75rem;
  }

  .service-node strong {
    font-size: 0.7rem;
  }

  .service-node span {
    font-size: 0.55rem;
  }

  .node-icon {
    width: 30px;
    height: 30px;
  }

  .service-node--dev {
    left: 0;
  }

  .service-node--creative {
    right: 0;
  }

  .service-node--marketing {
    right: 0;
  }

  .service-node--ai {
    left: 0;
  }

}

@media (prefers-reduced-motion: reduce) {

  .orbit,
  .creative-core,
  .core-ring,
  .core-square,
  .visual-glow,
  .service-node,
  .particle {
    animation: none;
  }

}
/* .hero__media {
  border-radius: calc(var(--radius) + 20px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
}



.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* ---------- stats & marquee ---------- */

.stats {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stats > div {
  background: var(--card);
  padding: 2rem 1.5rem;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat__label {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 1.5rem;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- lists / process / timeline ---------- */

.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  padding-block: 0.3rem;
}

.check-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  margin-top: 0.6rem;
}

.steps {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);
  overflow: hidden;

  /* Remove browser's default OL numbering */
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.steps > li {
  background: var(--card);
  padding: 2rem;
}

.steps .step__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.timeline {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
  display: grid;
  gap: 2.5rem;
}

.timeline > li {
  position: relative;
}

.timeline > li::before {
  content: "";
  position: absolute;
  left: -2.375rem;
  top: 0.55rem;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--primary);
  border: 2px solid var(--background);
}

/* ---------- quote / dark banner ---------- */

.quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.stars {
  color: var(--primary);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 32px);
  background: var(--ink);
  color: var(--ink-foreground);
  padding: 4rem 1.75rem;
}

@media (min-width: 720px) {
  .banner {
    padding: 6rem 4rem;
  }
}

.banner__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(130px);
  top: -8rem;
  right: -6rem;
  width: 34rem;
  height: 34rem;
  background: oklch(0.546 0.245 262.9 / 0.3);
}

.banner h2,
.banner .eyebrow {
  color: var(--ink-foreground);
}

.banner .eyebrow {
  color: oklch(1 0 0 / 0.55);
}

.banner p {
  color: oklch(1 0 0 / 0.7);
}

/* ---------- accordion / faq ---------- */

details.faq {
  border-bottom: 1px solid var(--border);
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.4rem 2.5rem 1.4rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 1.15rem;
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1;
}

details.faq[open] summary::after {
  content: "–";
}

details.faq .faq__body {
  padding-bottom: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* ---------- filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filters button {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  padding: 0.5rem 1.1rem;
}

.filters button[aria-pressed="true"] {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--ink-foreground);
}

/* ---------- forms ---------- */

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.field .error {
  font-size: 0.8rem;
  color: var(--destructive);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.form-success {
  border: 1px solid oklch(0.696 0.17 162.5 / 0.4);
  background: oklch(0.696 0.17 162.5 / 0.1);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--ink-foreground);
  padding-block: 4rem 2rem;
}

.site-footer a {
  color: oklch(1 0 0 / 0.7);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--ink-foreground);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.5);
  margin-bottom: 1rem;
}

.footer-list li {
  padding-block: 0.3rem;
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: oklch(1 0 0 / 0.55);
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.15);
  background: oklch(1 0 0 / 0.05);
  border-radius: 999px;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
}

.newsletter input {
  font: inherit;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ink-foreground);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.newsletter input::placeholder {
  color: oklch(1 0 0 / 0.4);
}

.newsletter button {
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
}

/* ---------- floating actions ---------- */

.floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  gap: 0.6rem;
  justify-items: end;
}

.floating a {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--success);
  color: white;
  box-shadow: var(--shadow-lift);
}

.floating a.to-top {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-6 {
  margin-top: 3rem;
}
.stack > * + * {
  margin-top: 1.5rem;
}



/* =========================================================
   PORTFOLIO
   ========================================================= */

.portfolio-section {
  position: relative;
  overflow: hidden;
}

.portfolio-heading {
  max-width: 700px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* ---------- portfolio card ---------- */

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 2rem;

  background:
    linear-gradient(
      145deg,
      oklch(1 0 0 / 0.98),
      oklch(0.98 0.005 264.4 / 0.96)
    );

  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 12px);

  box-shadow: var(--shadow-soft);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}


/* subtle background glow */

.portfolio-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;

  top: -90px;
  right: -70px;

  border-radius: 999px;

  background: oklch(0.546 0.245 262.9 / 0.08);

  filter: blur(35px);

  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}


/* hover */

.portfolio-card:hover {
  transform: translateY(-7px);

  border-color:
    oklch(0.546 0.245 262.9 / 0.35);

  box-shadow: var(--shadow-lift);
}

.portfolio-card:hover::before {
  transform: scale(1.4);
  opacity: 1.5;
}


/* ---------- icon / number ---------- */

.portfolio-card__icon {
  position: relative;
  z-index: 1;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 1rem;

  background: var(--accent);
  color: var(--primary);

  border: 1px solid
    oklch(0.546 0.245 262.9 / 0.12);

  margin-bottom: 2rem;

  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}

.portfolio-card:hover .portfolio-card__icon {
  transform: rotate(-4deg) scale(1.05);
  background: oklch(0.546 0.245 262.9 / 0.12);
}

.portfolio-card__icon span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* ---------- content ---------- */

.portfolio-card__content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;

  height: 100%;
}

.portfolio-card .tag {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.portfolio-card p {
  margin-top: 0.8rem;

  color: var(--muted-foreground);

  font-size: 0.92rem;
  line-height: 1.7;

  max-width: 32rem;
}


/* ---------- link ---------- */

.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  margin-top: auto;
  padding-top: 2rem;

  color: var(--primary);

  font-size: 0.9rem;
  font-weight: 700;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.portfolio-card:hover .portfolio-card__link {
  gap: 0.8rem;
}

.portfolio-card__link span {
  font-size: 1.1rem;
  line-height: 1;
}


/* ---------- mobile ---------- */

@media (max-width: 600px) {
  .portfolio-card {
    min-height: 300px;
    padding: 1.5rem;
  }

  .portfolio-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1.5rem;
  }

  .portfolio-card h3 {
    font-size: 1.3rem;
  }

  .portfolio-card p {
    font-size: 0.88rem;
  }
}