*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-x-0 {
  left: 0px;
  right: 0px;
}

.-left-\[32px\] {
  left: -32px;
}

.-left-\[5000px\] {
  left: -5000px;
}

.left-2 {
  left: 0.5rem;
}

.right-2 {
  right: 0.5rem;
}

.right-5 {
  right: 1.25rem;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-\[3px\] {
  top: 3px;
}

.z-10 {
  z-index: 10;
}

.z-30 {
  z-index: 30;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-0\.5 {
  height: 0.125rem;
}

.h-4 {
  height: 1rem;
}

.h-40 {
  height: 10rem;
}

.h-full {
  height: 100%;
}

.h-px {
  height: 1px;
}

.min-h-screen {
  min-height: 100vh;
}

.w-4 {
  width: 1rem;
}

.w-6 {
  width: 1.5rem;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.cursor-default {
  cursor: default;
}

.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.resize-none {
  resize: none;
}

.scroll-mt-20 {
  scroll-margin-top: 5rem;
}

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

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-2\.5 {
  gap: 0.625rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.space-y-7 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.75rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l {
  border-left-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-primary {
  --tw-border-opacity: 1;
  border-color: rgb(235 48 0 / var(--tw-border-opacity, 1));
}

.border-primary\/40 {
  border-color: rgb(235 48 0 / 0.4);
}

.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}

.border-white\/15 {
  border-color: rgb(255 255 255 / 0.15);
}

.border-white\/5 {
  border-color: rgb(255 255 255 / 0.05);
}

.bg-accent {
  --tw-bg-opacity: 1;
  background-color: rgb(158 189 184 / var(--tw-bg-opacity, 1));
}

.bg-background\/60 {
  background-color: rgb(24 24 27 / 0.6);
}

.bg-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(235 48 0 / var(--tw-bg-opacity, 1));
}

.bg-primary\/10 {
  background-color: rgb(235 48 0 / 0.1);
}

.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}

.bg-white\/80 {
  background-color: rgb(255 255 255 / 0.8);
}

.bg-zinc-950 {
  --tw-bg-opacity: 1;
  background-color: rgb(9 9 11 / var(--tw-bg-opacity, 1));
}

.bg-zinc-950\/90 {
  background-color: rgb(9 9 11 / 0.9);
}

.bg-zinc-950\/95 {
  background-color: rgb(9 9 11 / 0.95);
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-primary\/60 {
  --tw-gradient-from: rgb(235 48 0 / 0.6) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(235 48 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-accent\/40 {
  --tw-gradient-to: rgb(158 189 184 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(158 189 184 / 0.4) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-2 {
  padding: 0.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.text-center {
  text-align: center;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}

.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-accent {
  --tw-text-opacity: 1;
  color: rgb(158 189 184 / var(--tw-text-opacity, 1));
}

.text-primary {
  --tw-text-opacity: 1;
  color: rgb(235 48 0 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-white\/30 {
  color: rgb(255 255 255 / 0.3);
}

.text-white\/35 {
  color: rgb(255 255 255 / 0.35);
}

.text-white\/50 {
  color: rgb(255 255 255 / 0.5);
}

.text-white\/55 {
  color: rgb(255 255 255 / 0.55);
}

.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}

.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.opacity-60 {
  opacity: 0.6;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-accent\/30 {
  --tw-shadow-color: rgb(158 189 184 / 0.3);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-primary\/30 {
  --tw-shadow-color: rgb(235 48 0 / 0.3);
  --tw-shadow: var(--tw-shadow-colored);
}

.shadow-primary\/40 {
  --tw-shadow-color: rgb(235 48 0 / 0.4);
  --tw-shadow: var(--tw-shadow-colored);
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.ring-4 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-primary\/10 {
  --tw-ring-color: rgb(235 48 0 / 0.1);
}

.backdrop-blur {
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Variables thème ── */

:root {
  --bg-950: #09090b;
  --bg-900: #18181b;
  --bg-800: #27272a;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.65);
  --text-faint: rgba(255,255,255,0.35);
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --header-bg: rgba(9,9,11,0.90);
  --input-bg: rgba(255,255,255,0.04);
}

html.light {
  --bg-950: #f8fafc;
  --bg-900: #f1f5f9;
  --bg-800: #e2e8f0;
  --text: #0f172a;
  --text-muted: #334155;
  --text-faint: #64748b;
  --border: rgba(15,23,42,0.15);
  --card-bg: rgba(255,255,255,0.85);
  --header-bg: rgba(248,250,252,0.95);
  --input-bg: #ffffff;
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  background: var(--bg-950);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

a, button, [role="button"], input, textarea, select, label {
  cursor: none;
}

/* ── Sections ── */

.section-dark-1 {
  background: var(--bg-900);
}

.section-dark-2 {
  background: var(--bg-800);
}

/* ── Header ── */

header {
  background: var(--header-bg) !important;
  border-color: var(--border) !important;
  transition: background 0.3s;
}

/* ── Textes en mode light ── */

html.light .text-white\/70,
html.light .text-white\/60,
html.light .text-white\/55,
html.light .text-white\/50,
html.light .text-white\/40,
html.light .text-white\/35,
html.light .text-white\/30,
html.light .text-white\/75 {
  color: var(--text-muted) !important;
}

html.light .text-white {
  color: var(--text) !important;
}

html.light nav a:not(.btn):not([class*="bg-primary"]) {
  color: var(--text-muted);
}

html.light #mobile-menu a:not([class*="bg-primary"]) {
  color: var(--text-muted);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #EB3000;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #EB3000 !important;
  font-weight: 600;
}

html.light .nav-link:hover {
  color: #EB3000;
}

/* ── Tags savoir-être ── */

html.light .rounded-xl.border {
  border-color: var(--border) !important;
  background: var(--card-bg) !important;
  color: var(--text-muted) !important;
}

html.light .rounded-xl.border:hover {
  border-color: rgba(158,189,184,0.5) !important;
  background: rgba(158,189,184,0.12) !important;
  color: var(--text) !important;
}

/* ── Labels de section ── */

.section-label {
  color: rgba(255,255,255,0.85);
}

html.light .section-label {
  color: #1e293b;
}

/* ── Timeline ── */

html.light ol li p {
  color: var(--text-muted);
}

html.light ol li p.font-semibold {
  color: var(--text);
}

html.light ol.border-l {
  border-color: rgba(15,23,42,0.2) !important;
}

.timeline-dot {
  background: var(--bg-900);
}

/* ── Cards projets (article) ── */

html.light article {
  background: var(--card-bg) !important;
  border-color: var(--border) !important;
}

html.light article h3 {
  color: var(--text) !important;
}

html.light article p  {
  color: var(--text-muted) !important;
}

/* ── Boutons primaires (rouges) ── */

html.light .bg-primary {
  color: #fff !important;
}

/* ── Inputs contact ── */

html.light input, html.light textarea {
  background: var(--input-bg) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

html.light input::-moz-placeholder, html.light textarea::-moz-placeholder {
  color: var(--text-faint) !important;
}

html.light input::placeholder, html.light textarea::placeholder {
  color: var(--text-faint) !important;
}

html.light label {
  color: var(--text-faint) !important;
}

/* ── Skill cards (mode light) ── */

html.light .skill-card-front {
  background: rgba(235,48,0,0.12);
}

html.light .skill-card-back  {
  background: linear-gradient(135deg, rgba(158,189,184,0.12) 0%, #fff 60%);
}

html.light .skill-card-title {
  color: var(--text);
}

html.light .skill-card-desc  {
  color: var(--text-muted);
}

html.light .skill-card-hint,
html.light .skill-card-hint::after {
  color: rgba(255,255,255,0.7) !important;
}

html.light .skill-nav-btn {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--text-muted);
}

html.light .skill-dot {
  background: var(--border);
}

html.light .skill-dot.active {
  background: #EB3000;
}

/* ── Footer ── */

html.light footer {
  background: var(--bg-900) !important;
  color: var(--text-faint) !important;
  border-color: var(--border) !important;
}

/* ── Theme toggle ── */

#theme-toggle,
#lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;
}

#theme-toggle:hover,
#lang-toggle:hover {
  border-color: #EB3000;
  color: #EB3000;
}

html.light #theme-toggle:hover,
html.light #lang-toggle:hover {
  border-color: #9EBDB8;
  color: #9EBDB8;
}

/* ── Lang menu dropdown ── */

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

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

.lang-menu-item {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.lang-menu-item:hover {
  background: transparent;
  color: #EB3000;
  font-weight: 600;
}

.lang-menu-item.active {
  color: #EB3000;
  font-weight: 600;
  background: rgba(235,48,0,0.1);
}

html.light .lang-menu {
  background: #fff;
}

html.light .lang-menu-item:hover {
  background: transparent;
}

/* ── Menu mobile ── */

#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu a {
  text-align: center;
}

html.light #mobile-menu {
  background: var(--header-bg) !important;
  border-color: var(--border) !important;
}

html.light #burger span {
  background: var(--text) !important;
}

/* ── Icônes outils ── */

.tool-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
}

.tool-icon .icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #9EBDB8;
  border: 1px solid rgba(158,189,184,0.5);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.tool-icon img, .tool-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.tool-icon > span {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  letter-spacing: 0.02em;
}

.tool-icon:hover .icon-box {
  background: #EB3000;
  border-color: rgba(235,48,0,0.6);
  transform: translateY(-3px);
}

.tool-icon:hover span {
  color: rgba(255,255,255,0.9);
}

html.light .tool-icon > span {
  color: var(--text-faint);
}

html.light .tool-icon img, html.light .tool-icon svg {
  filter: brightness(0) !important;
  opacity: 0.75 !important;
}

/* ── Blobs keyframes ── */

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

  33%     {
    transform: translate(80px,60px) scale(1.1);
  }

  66%     {
    transform: translate(-50px,80px) scale(0.95);
  }
}

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

  33%     {
    transform: translate(-90px,-70px) scale(1.08);
  }

  66%     {
    transform: translate(60px,-40px) scale(0.92);
  }
}

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

  50%     {
    transform: translate(-70px,90px) scale(1.12);
  }
}

/* ── Hero typewriter ── */

.hero-cursor {
  display: inline-block;
  color: #EB3000;
  font-weight: 300;
  margin-left: 2px;
  animation: cursor-blink 0.75s step-end infinite;
}

.hero-cursor.hidden {
  opacity: 0;
}

@keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  color: var(--text);
  transform: translateY(18px);
  animation: letter-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes letter-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Hero thème ── */

.hero-section {
  background: var(--bg-950);
  transition: background 0.3s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,9,11,0.45);
  transition: background 0.3s;
}

html.light .hero-overlay {
  background: rgba(248,250,252,0.45);
}

html.light .hero-text {
  color: var(--text-muted);
}

html.light .hero-social {
  color: var(--text-muted) !important;
}

html.light .hero-social:hover {
  color: #EB3000 !important;
}

html.light .hero-cv-btn {
  color: var(--text) !important;
  border-color: var(--border) !important;
  background: var(--card-bg) !important;
}

html.light .hero-cv-btn:hover {
  border-color: #EB3000 !important;
  background: rgba(235,48,0,0.1) !important;
}

/* ── Contact ── */

html.light #contact .hero-btn-ghost {
  color: #1e293b !important;
  border-color: rgba(15,23,42,0.25) !important;
  background: rgba(15,23,42,0.05) !important;
}

html.light #contact .hero-btn-ghost svg {
  color: #1e293b;
}

html.light #contact form {
  background: var(--card-bg);
  border-color: var(--border);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.contact-card:hover {
  border-color: rgba(235,48,0,0.3);
  background: rgba(235,48,0,0.05);
  transform: translateY(-2px);
}

.contact-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 1px;
}

.contact-card-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Skill cards flip ── */

#skill-cards {
  position: relative;
  min-height: 280px;
}

.skill-card {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(10px);
  transition: opacity 0.35s cubic-bezier(0.215, 0.610, 0.355, 1), transform 0.35s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.skill-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.skill-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-radius: 20px;
}

.skill-card.flipped .skill-card-inner {
  transform: rotateY(180deg);
}

.skill-card-front,
.skill-card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
}

.skill-card-front {
  background: rgba(235,48,0,0.18);
  border: 1px solid rgba(235,48,0,0.25);
}

.skill-card-back  {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(158,189,184,0.1) 0%, var(--card-bg) 60%);
  border: 1px solid rgba(158,189,184,0.25);
  justify-content: center;
}

.skill-card-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.skill-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #EB3000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(235,48,0,0.35);
}

.skill-card-icon svg, .skill-card-icon i {
  font-size: 30px;
  width: 30px;
  height: 30px;
  color: #ffffff;
  line-height: 1;
}

.skill-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

.skill-card-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: hint-pulse 2s ease-in-out infinite;
}

.skill-card-hint::after {
  content: '→';
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  animation: hint-arrow 2s ease-in-out infinite;
}

.skill-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

@keyframes hint-pulse {
  0%, 100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes hint-arrow {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

.skill-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
}

.skill-nav-btn:focus, .skill-nav-btn:focus-visible, .skill-nav-btn:active {
  outline: none;
  border-color: var(--border);
  color: var(--text-muted);
}

.skill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.skill-dot.active {
  background: #EB3000;
  transform: scale(1.4);
}

/* ── Animations au scroll ── */

.anim-left  {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-icon  {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-left.visible, .anim-right.visible, .anim-icon.visible {
  opacity: 1;
  transform: translate(0);
}

/* ── Animation de contenu stagged ── */

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Flèches scroll hero ── */

.scroll-arrows {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 16px) + clamp(16px, 4vh, 40px));
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  animation: arrow-bounce 2s ease-in-out infinite;
  transition: color 0.2s;
}

.scroll-arrows:hover {
  color: #EB3000;
}

.scroll-arrows svg {
  display: block;
}

.scroll-arrow--lg {
  font-size: clamp(28px, 7vw, 52px);
}

.scroll-arrow--md {
  font-size: clamp(24px, 6vw, 44px);
  margin-top: clamp(-16px, -2.2vw, -12px);
}

.scroll-arrow--sm {
  font-size: clamp(20px, 5vw, 36px);
  margin-top: clamp(-14px, -2vw, -10px);
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  50%       {
    transform: translateX(-50%) translateY(8px);
  }
}

html.light .scroll-arrows {
  color: rgba(15,23,42,0.35);
}

html.light .scroll-arrows:hover {
  color: #EB3000;
}

/* ── Filtres projets ── */

.project-filter {
  padding: 6px 16px;
  border-radius: 500px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.project-filter:hover {
  border-color: rgba(235,48,0,0.4);
  color: var(--text);
}

.project-filter.active {
  background: #EB3000;
  border-color: #EB3000;
  color: #fff;
}

/* ── Cards projets ── */

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  padding: 16px;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s, border-color 0.25s, background 0.25s, opacity 0.3s;
}

.project-card:hover {
  background: rgba(255,255,255,0.08);
}

.project-card.hidden {
  display: none;
}

html.light .project-card {
  background: var(--card-bg);
  border-color: var(--border);
}

@media (max-width: 639px) {
  .project-card {
    width: 80vw;
    max-width: 320px;
    flex-shrink: 0;
    height: auto;
    /* Permet aux cartes de s'étirer */
  }
}

#project-grid {
  align-items: stretch;
}

@media (max-width: 639px) {
  #show-more-btn {
    display: none !important;
  }
}

/* ── Barre de progression ── */

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #EB3000, #9EBDB8);
  z-index: 100;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Curseur personnalisé ── */

#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #EB3000;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(235,48,0,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}

body.cursor-hover #cursor-dot {
  width: 12px;
  height: 12px;
  background: #9EBDB8;
}

body.cursor-hover #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(158,189,184,0.6);
  background: rgba(158,189,184,0.08);
}

/* ── Désactiver curseur custom sur mobile/tactile ── */

@media (hover: none), (pointer: coarse) {
  html {
    cursor: auto;
  }

  html, body {
    overflow-x: hidden;
  }

  body {
    touch-action: pan-y;
    overscroll-behavior-x: none;
  }

  main, section {
    overflow-x: clip;
  }

  a, button, [role="button"], input, textarea, select, label {
    cursor: auto;
  }

  #cursor-dot, #cursor-ring {
    display: none !important;
  }

  /* Stabilise les hauteurs sur mobile (évite les sauts liés à 100vh) */

  #hero.min-h-screen {
    min-height: 105svh;
  }

  /* Transition menu burger (tactile) */

  #mobile-menu {
    display: flex;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
    will-change: max-height, opacity, transform;
    align-items: center;
  }

  #mobile-menu a {
    text-align: center;
    width: 100%;
  }

  #mobile-menu.open {
    max-height: 60vh;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Compétences: cacher flèches (tactile) */

  #skill-prev, #skill-next {
    display: none !important;
  }

  /* Centrer les dots sous la card (tactile) */

  #competences .mt-4.justify-between,
  #skills .mt-4.justify-between {
    justify-content: center;
  }

  #competences #skill-dots,
  #skills #skill-dots {
    margin: 0 auto;
  }

  /* Compétences: éviter tout scroll horizontal (tactile) */

  #competences .overflow-x-auto {
    overflow-x: hidden !important;
    flex-wrap: wrap;
  }
}

/* ── Submit btn ── */

#submit-btn.loading {
  opacity: 0.8;
  pointer-events: none;
}

#submit-btn.success {
  background: #16a34a !important;
  box-shadow: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 0.8s linear infinite;
}

/* ── Bouton retour en haut ── */

#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s, color 0.2s, bottom 0.2s;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#back-to-top:hover {
  border-color: #EB3000;
  color: #EB3000;
}

/* ── Skip link accessibilité ── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  background: #EB3000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.placeholder\:text-white\/30::-moz-placeholder {
  color: rgb(255 255 255 / 0.3);
}

.placeholder\:text-white\/30::placeholder {
  color: rgb(255 255 255 / 0.3);
}

.hover\:border-accent\/40:hover {
  border-color: rgb(158 189 184 / 0.4);
}

.hover\:border-primary:hover {
  --tw-border-opacity: 1;
  border-color: rgb(235 48 0 / var(--tw-border-opacity, 1));
}

.hover\:bg-accent\/10:hover {
  background-color: rgb(158 189 184 / 0.1);
}

.hover\:bg-accent\/90:hover {
  background-color: rgb(158 189 184 / 0.9);
}

.hover\:bg-primary\/10:hover {
  background-color: rgb(235 48 0 / 0.1);
}

.hover\:bg-primary\/90:hover {
  background-color: rgb(235 48 0 / 0.9);
}

.hover\:text-primary:hover {
  --tw-text-opacity: 1;
  color: rgb(235 48 0 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.focus\:border-primary:focus {
  --tw-border-opacity: 1;
  border-color: rgb(235 48 0 / var(--tw-border-opacity, 1));
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-primary\/30:focus {
  --tw-ring-color: rgb(235 48 0 / 0.3);
}

@media (min-width: 640px) {
  .sm\:grid {
    display: grid;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:flex-wrap {
    flex-wrap: wrap;
  }

  .sm\:overflow-visible {
    overflow: visible;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:pb-0 {
    padding-bottom: 0px;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .sm\:text-\[13px\] {
    font-size: 13px;
  }

  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .sm\:text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:inline-flex {
    display: inline-flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-\[1fr_1\.6fr\] {
    grid-template-columns: 1fr 1.6fr;
  }

  .md\:items-stretch {
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
}