/* =========================================================
   33LOOP — Core Stylesheet
   ========================================================= */

:root {
  /* Colors */
  --bg-primary: #070707;
  --bg-secondary: #0B0B0B;
  --bg-card: #111111;
  --bg-card-hover: #161616;

  --text-primary: #F5F5F5;
  --text-secondary: #A1A1A1;
  --text-muted: #666666;

  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --accent: #5B6CFF;
  --accent-soft: rgba(91,108,255,0.12);

  /* Typography */
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad-y: clamp(80px, 12vw, 180px);
  --gutter: clamp(20px, 5vw, 80px);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg-primary); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.loader.is-done { transform: translateY(-100%); opacity: 0; }
.loader__mark { position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.loader__ring circle {
  fill: none; stroke: var(--accent); stroke-width: 1.5;
  stroke-dasharray: 340; stroke-dashoffset: 340;
}
.loader__text {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  letter-spacing: 0.1em; text-align: center; line-height: 1.3; opacity: 0;
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; width: 0; height: 0; pointer-events: none; z-index: 9998;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}
.cursor__dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--text-primary); transform: translate(-50%, -50%);
  transition: width var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.cursor--active .cursor__dot { width: 64px; height: 64px; background: var(--accent); }
.cursor__label {
  position: absolute; transform: translate(-50%, -50%);
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: #000; opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.cursor--active .cursor__label { opacity: 1; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 20px 0;
  transition: padding var(--dur-med) var(--ease), background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  padding: 12px 0;
  background: rgba(7,7,7,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.site-nav__inner {
  max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { display: block; width: 28px; height: auto; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }

.site-nav__links { display: flex; align-items: center; gap: 32px; }
.site-nav__links a {
  font-size: 14px; color: var(--text-secondary); transition: color var(--dur-fast) var(--ease);
  position: relative;
}
.site-nav__links a:hover { color: var(--text-primary); }
.site-nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--accent);
  transition: width var(--dur-fast) var(--ease);
}
.site-nav__links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn svg { transition: transform var(--dur-fast) var(--ease); }
.btn--pill { background: var(--text-primary); color: #060606; }
.btn--pill:hover { transform: translateY(-2px); }
.btn--pill:hover svg { transform: translate(2px, -2px); }
.btn--solid { background: var(--text-primary); color: #060606; padding: 15px 26px; }
.btn--solid:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.btn--solid:hover svg { transform: translate(2px, -2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--text-primary); padding: 14px 24px; }
.btn--ghost:hover { background: var(--bg-card); border-color: var(--border-strong); }
.btn--lg { font-size: 15px; padding: 18px 32px; }

.menu-toggle {
  display: none; width: 40px; height: 40px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 1.5px; background: var(--text-primary); transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--bg-primary); z-index: 400;
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  transform: translateY(-100%); transition: transform 0.6s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.mobile-menu__links a {
  font-family: var(--font-display); font-size: clamp(32px, 10vw, 48px); font-weight: 700;
  opacity: 0; transform: translateY(20px);
}
.mobile-menu.is-open .mobile-menu__links a { animation: menuIn 0.6s var(--ease) forwards; animation-delay: calc(var(--i) * 0.06s); }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.mobile-menu__cta { align-self: flex-start; }
.mobile-menu__footer { margin-top: 40px; color: var(--text-muted); font-size: 13px; }

/* ---------- Section shared ---------- */
section { position: relative; padding: var(--section-pad-y) var(--gutter); }
.section-head { max-width: 1440px; margin: 0 auto 64px; }
.section-head__eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 0.15em; color: var(--accent);
  font-weight: 700; margin-bottom: 20px;
}
.section-head__title {
  font-size: clamp(32px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.02em;
}

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); }
.dot--live { background: var(--accent); box-shadow: 0 0 0 0 rgba(91,108,255,0.5); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91,108,255,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(91,108,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,108,255,0); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__glow {
  position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(91,108,255,0.18) 0%, rgba(91,108,255,0) 70%);
  filter: blur(20px);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
}

.hero__inner {
  position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero__content { max-width: 620px; }
.hero__label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary);
  border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(40px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line--accent { color: var(--accent); }
.hero__desc { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-secondary); max-width: 460px; margin-bottom: 36px; line-height: 1.6; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__device { position: relative; display: flex; justify-content: center; perspective: 1800px; }
.device { width: min(340px, 80vw); transform-style: preserve-3d; }
.device__frame {
  position: relative; aspect-ratio: 9/18.5; background: #050505; border-radius: 42px;
  border: 1px solid rgba(255,255,255,0.1); padding: 10px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.device__screen {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(165deg, #121214 0%, #0a0a0b 60%);
  padding: 22px 18px; display: flex; flex-direction: column; gap: 12px;
}
.device__topbar { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-secondary); margin-bottom: 8px; }
.device__panel {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 800; color: var(--text-primary); display: flex;
  align-items: flex-end; padding: 16px; letter-spacing: -0.02em;
}
.device__panel--big { height: 34%; font-size: clamp(30px, 8vw, 44px); }
.device__panel--mid { height: 20%; font-size: 22px; color: var(--text-secondary); }
.device__panel--small { height: 14%; font-size: 16px; color: var(--text-muted); }
.device__footer { margin-top: auto; font-size: 12px; line-height: 1.5; color: var(--text-secondary); font-weight: 600; }
.device__reflection {
  position: absolute; top: 0; left: 10%; width: 30%; height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none; border-radius: 32px;
}

.device__story-number { font-size: 64px; font-weight: 800; font-family: var(--font-display); color: var(--accent); margin-top: 24px; }
.device__story-title { font-size: 24px; font-weight: 700; font-family: var(--font-display); margin-top: 8px; }

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
}
.hero__scroll span { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); }
.hero__scroll p { font-size: 11px; letter-spacing: 0.1em; color: var(--text-muted); }

/* ---------- Statement ---------- */
.statement { padding: var(--section-pad-y) var(--gutter); }
.statement__text {
  max-width: 1200px; margin: 0 auto; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 5.5vw, 64px); line-height: 1.25; color: var(--text-muted); letter-spacing: -0.02em;
}
.statement__text .word { color: inherit; transition: color 0.4s var(--ease); }
.statement__text .word.is-active { color: var(--text-primary); }

/* ---------- Services ---------- */
.services__list { max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--border); }
.service-row {
  display: grid; grid-template-columns: 60px 1fr 1fr 40px; align-items: center; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid var(--border); transition: background var(--dur-fast) var(--ease);
}
.service-row:hover { background: rgba(255,255,255,0.015); }
.service-row__number { font-family: var(--font-display); font-size: 14px; color: var(--text-muted); font-weight: 700; }
.service-row__title {
  font-size: clamp(20px, 2.6vw, 30px); transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.service-row:hover .service-row__title { transform: translateX(8px); color: var(--accent); }
.service-row__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 480px; }
.service-row__icon { display: flex; justify-content: flex-end; color: var(--text-muted); transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.service-row:hover .service-row__icon { transform: rotate(45deg); color: var(--accent); }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1440px; margin: 0 auto; padding: var(--section-pad-y) var(--gutter); }
.story__device { position: sticky; top: 120px; height: fit-content; display: flex; justify-content: center; }
.story__cards { display: flex; flex-direction: column; gap: 24px; }
.story-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; min-height: 260px; display: flex; flex-direction: column; justify-content: center;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.story-card__number { font-family: var(--font-display); font-size: 14px; color: var(--accent); font-weight: 700; }
.story-card__title { font-size: clamp(24px, 3vw, 32px); margin: 12px 0; }
.story-card__desc { color: var(--text-secondary); line-height: 1.6; max-width: 400px; }

/* ---------- Why ---------- */
.why__list { max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--border); }
.why-row {
  display: grid; grid-template-columns: 80px 48px 1fr; gap: 28px; align-items: flex-start;
  padding: 40px 0; border-bottom: 1px solid var(--border);
}
.why-row__number { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 800; color: var(--bg-card-hover); line-height: 1; }
.why-row__icon { color: var(--accent); padding-top: 6px; }
.why-row__body h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 10px; }
.why-row__body p { color: var(--text-secondary); line-height: 1.6; max-width: 560px; }

/* ---------- Work ---------- */
.work__list { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.case-study {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 32px;
  background: var(--bg-card); transition: border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.case-study:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.case-study__media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(150deg, #161618, #0b0b0c); }
.case-study__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.case-study__placeholder span { font-family: var(--font-display); font-size: 120px; font-weight: 800; color: rgba(255,255,255,0.05); }
.case-study:hover .case-study__media { transform: scale(1.01); }
.case-study__category { font-size: 12px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.case-study__title { font-size: clamp(24px, 3vw, 34px); margin: 14px 0 10px; }
.case-study__desc { color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; max-width: 440px; }
.case-study__services { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.case-study__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.case-study__link svg { transition: transform var(--dur-fast) var(--ease); }
.case-study:hover .case-study__link svg { transform: translate(3px, -3px); }

/* ---------- Process ---------- */
.process__timeline { position: relative; max-width: 1440px; margin: 0 auto; padding-top: 40px; }
.process__path { width: 100%; height: 140px; }
.process__path path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 2000; stroke-dashoffset: 2000; opacity: 0.6; }
.process__steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: -40px; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.process-step__number { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 14px; }
.process-step__label { font-size: 14px; color: var(--text-secondary); }

/* ---------- Technology ---------- */
.tech__grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tech__col { border-top: 1px solid var(--border); padding-top: 20px; }
.tech__col h3 { font-size: 13px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.tech__col li { color: var(--text-secondary); padding: 6px 0; font-size: 15px; }

/* ---------- Metrics ---------- */
.metrics {
  max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.metric { padding: 48px 24px; text-align: center; border-left: 1px solid var(--border); }
.metric:first-child { border-left: none; }
.metric__value { display: block; font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--text-primary); }
.metric__label { display: block; margin-top: 8px; color: var(--text-secondary); font-size: 13px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1440px; margin: 0 auto; align-items: center; }
.about__title { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.15; margin: 20px 0 24px; letter-spacing: -0.02em; }
.about__desc { color: var(--text-secondary); line-height: 1.7; max-width: 480px; font-size: 16px; }
.about__loop { display: flex; justify-content: center; }
.orbit-svg { width: 100%; max-width: 400px; }
.orbit-svg__ring { fill: none; stroke: var(--border-strong); stroke-width: 1; }
.orbit-svg__label { fill: var(--text-secondary); font-size: 13px; font-family: var(--font-display); font-weight: 700; text-anchor: middle; }

/* ---------- Loop signature ---------- */
.loop-signature { max-width: 1440px; margin: 0 auto; text-align: center; }
.loop-signature__svg { width: 100%; max-width: 800px; height: auto; }
.loop-signature__svg path { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.loop-signature__svg circle { fill: var(--accent); }
.loop-signature__labels { display: flex; justify-content: center; gap: clamp(16px, 4vw, 48px); margin-top: 20px; flex-wrap: wrap; }
.loop-signature__labels span { font-size: 12px; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }

/* ---------- Primary CTA ---------- */
.cta-primary {
  position: relative; text-align: center; overflow: hidden; max-width: 1440px; margin: 0 auto;
  border-radius: var(--radius-lg); background: var(--bg-secondary); border: 1px solid var(--border);
}
.cta-primary__circle {
  position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); transform: translate(-50%, -50%); transition: width 0.6s var(--ease), height 0.6s var(--ease);
  pointer-events: none; filter: blur(40px);
}
.cta-primary:hover .cta-primary__circle { width: 600px; height: 600px; }
.cta-primary__inner { position: relative; z-index: 1; }
.cta-primary h2 { font-size: clamp(36px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.cta-primary p { color: var(--text-secondary); font-size: clamp(15px, 1.8vw, 18px); margin-bottom: 36px; }

/* ---------- Footer ---------- */
.site-footer { max-width: 1440px; margin: 0 auto; padding: var(--section-pad-y) var(--gutter) 40px; }
.site-footer__brand { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: clamp(48px, 10vw, 140px); letter-spacing: -0.03em; line-height: 1; }
.site-footer__mark { width: clamp(40px, 8vw, 100px); height: auto; flex-shrink: 0; }
.site-footer__tag { color: var(--text-secondary); font-size: clamp(16px, 2vw, 22px); margin-top: 16px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 80px 0 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.site-footer__col h3 { font-size: 13px; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 18px; }
.site-footer__col li { padding: 6px 0; }
.site-footer__col a { color: var(--text-secondary); font-size: 15px; transition: color var(--dur-fast) var(--ease); }
.site-footer__col a:hover { color: var(--text-primary); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.site-footer__legal { display: flex; gap: 20px; }
.site-footer__legal a { color: var(--text-muted); }
.site-footer__legal a:hover { color: var(--text-primary); }

/* ---------- Contact ---------- */
.contact-hero { padding-top: 160px; padding-bottom: 40px; }
.contact-form-section { padding-top: 0; }
.contact-form-wrap { max-width: 760px; margin: 0 auto; }

.form-feedback {
  border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 32px; border: 1px solid var(--border);
}
.form-feedback--success { background: rgba(91,108,255,0.08); border-color: var(--accent); }
.form-feedback--success h2 { font-size: 24px; margin-bottom: 8px; }
.form-feedback--success p { color: var(--text-secondary); }
.form-feedback--error { background: rgba(255,90,90,0.06); border-color: rgba(255,90,90,0.4); }
.form-feedback--error li { color: #ff8b8b; font-size: 14px; padding: 4px 0; }

.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; }

.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; color: var(--text-secondary); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--text-primary); font-family: var(--font-body); font-size: 15px;
  transition: border-color var(--dur-fast) var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); outline: none; }
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { align-self: flex-start; margin-top: 12px; }

/* ---------- Reveal animation base state ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); }
[data-reveal].is-visible,
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
