﻿* {
  box-sizing: border-box;
}

:root {
  --paper: #050407;
  --paper-soft: #08050b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: #0f0b11;
  --ink: #f7f4f8;
  --muted: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #ff6892;
  --gold-dark: #b53f6b;
  --gold-soft: rgba(255, 104, 146, 0.12);
  --shadow: rgba(0, 0, 0, 0.14);
}

html {
  background: #050407;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #050407;
  color: #f7f4f8;
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: #ff6892;
  color: #fff;
}

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

.site-shell {
  position: relative;
}

.noise-layer {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
  mix-blend-mode: overlay;
}

.hero-section::after,
.section-wrap::after {
  content: "";
  position: absolute;
  inset-x: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 104, 146, 0.5), transparent);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 38%, black, transparent 72%);
}

.hero-stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.78);
  text-shadow: 0 0 34px rgba(255, 104, 146, 0.25);
}

.header-brand-logo {
  display: block;
  height: 20px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 104, 146, 0.16));
}

.mobile-menu-button {
  position: fixed;
  right: 28px;
  top: 24px;
  display: grid;
  flex: 0 0 auto;
  margin-left: auto;
  height: 42px;
  width: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 7, 11, 0.86);
  color: #fff;
  overflow: hidden;
  z-index: 3;
}

.mobile-menu-button::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 104, 146, 0.42), transparent 55%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-menu-button span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 260ms ease, opacity 180ms ease, top 260ms ease, background 220ms ease;
}

.mobile-menu-button span:nth-child(1) {
  top: 14px;
}

.mobile-menu-button span:nth-child(2) {
  top: 20px;
}

.mobile-menu-button span:nth-child(3) {
  top: 26px;
}

.mobile-menu-button--open {
  border-color: rgba(255, 104, 146, 0.55);
  box-shadow: 0 0 30px rgba(255, 104, 146, 0.2);
}

.mobile-menu-button--open::before {
  opacity: 1;
}

.mobile-menu-button--open span {
  background: #ff6892;
}

.mobile-menu-button--open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.mobile-menu-button--open span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.mobile-menu-button--open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu-panel {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.mobile-menu-surface {
  position: relative;
  min-height: 100svh;
  padding: 108px 24px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 104, 146, 0.22), transparent 30%),
    radial-gradient(circle at 10% 74%, rgba(116, 44, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(11, 7, 13, 0.98), rgba(5, 4, 7, 0.98));
  border-bottom: 1px solid rgba(255, 104, 146, 0.24);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 104, 146, 0.16);
}

.mobile-menu-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 76%);
  pointer-events: none;
}

.mobile-menu-glow {
  position: absolute;
  right: -80px;
  top: 88px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 104, 146, 0.32);
  border-radius: 999px;
  box-shadow: 0 0 70px rgba(255, 104, 146, 0.22);
  animation: mobile-orbit 7s linear infinite;
}

.mobile-menu-nav {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 16px;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 11vw, 3.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.mobile-menu-link span {
  color: #ff6892;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.mobile-menu-caption {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-experience-card {
  border-radius: 10px;
}

.mobile-experience-card p {
  color: rgba(255, 255, 255, 0.68);
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

@keyframes mobile-orbit {
  to {
    transform: rotate(1turn);
  }
}

.hero-plate,
.about-visual,
.skill-card,
.software-card,
.mini-panel,
.contact-btn,
.contact-form,
.contact-info-card,
.contact-submit {
  border-radius: 8px;
}

.hero-plate::before,
.about-visual::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 104, 146, 0.5), transparent 35%, rgba(255, 255, 255, 0.14));
  opacity: 0.48;
  pointer-events: none;
}

.hero-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 35%, rgba(255, 255, 255, 0.44) 42%, transparent 49%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-logo-stage .kromm-lockup {
  width: 100%;
  min-height: 100%;
  padding: 0;
}

.hero-logo-stage .kromm-logo-img {
  width: min(94%, 620px);
  transform: translateY(-1%);
}

.hero-plate {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 104, 146, 0.23), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)) !important;
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.48), 0 0 64px rgba(255, 104, 146, 0.18) !important;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff6892;
  box-shadow: 0 0 26px rgba(255, 104, 146, 0.9);
  transform: translate(-50%, -50%) translateX(88px);
}

.kromm-lockup {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 28px 18px;
}

.kromm-lockup--compact {
  min-height: 270px;
}

.kromm-logo-img {
  width: min(100%, 620px);
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(255, 104, 146, 0.28))
    drop-shadow(0 0 58px rgba(255, 104, 146, 0.14));
  transform: translateY(-4%);
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  min-height: 54px;
}

.btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #ff6892, #b53f6b 48%, #fff 170%);
  box-shadow: 0 0 34px rgba(255, 104, 146, 0.34);
  color: #f7f4f8;
}

.btn-ghost {
  border: 1px solid rgba(255, 104, 146, 0.36);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #f7f4f8;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ff6892;
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  background: #ff6892;
  box-shadow: 0 0 18px rgba(255, 104, 146, 0.72);
}

.section-kicker--solo {
  gap: 0;
}

.section-kicker--solo::before {
  display: none;
}

.section-title {
  max-width: 960px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 9vw, 8.2rem);
  line-height: 0.9;
  color: #f7f4f8;
  letter-spacing: 0;
}

.site-shell [class~="text-white"] {
  color: var(--ink) !important;
}

.site-shell [class~="text-white/[0.76]"] {
  color: rgba(255, 255, 255, 0.76) !important;
}

.site-shell [class~="text-white/[0.72]"],
.site-shell [class~="text-white/[0.68]"],
.site-shell [class~="text-white/[0.66]"],
.site-shell [class~="text-white/60"],
.site-shell [class~="text-white/[0.62]"] {
  color: rgba(255, 255, 255, 0.64) !important;
}

.site-shell [class~="text-white/[0.58]"],
.site-shell [class~="text-white/[0.45]"],
.site-shell [class~="text-white/40"] {
  color: rgba(255, 255, 255, 0.5) !important;
}

.site-shell [class~="border-white/10"],
.site-shell [class~="border-white/[0.11]"],
.site-shell [class~="border-white/[0.12]"],
.site-shell [class~="border-white/[0.15]"] {
  border-color: var(--line) !important;
}

.site-shell [class~="bg-white/[0.035]"],
.site-shell [class~="bg-white/[0.04]"],
.site-shell [class~="bg-white/5"],
.site-shell [class~="bg-black/[0.35]"],
.site-shell [class~="bg-black/[0.42]"] {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

.about-visual {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  overflow: visible;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.16), 0 0 48px rgba(255, 104, 146, 0.08);
}

.about-photo-wrap {
  width: 100%;
  height: clamp(300px, 32vw, 430px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 104, 146, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.16);
}

.about-photo {
  object-position: center center;
  filter: saturate(0.98) contrast(1.04);
}

.about-tags {
  width: 100%;
}

.about-skill-tile {
  display: flex;
  position: relative;
  isolation: isolate;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.about-skill-tile::before,
.mini-panel::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 104, 146, 0.15) 68deg,
    #ff6892 115deg,
    #ffd3df 160deg,
    #b53f6b 220deg,
    rgba(255, 104, 146, 0.18) 285deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity 220ms ease;
}

.about-skill-tile::after,
.mini-panel::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 104, 146, 0.08), transparent 58%),
    linear-gradient(145deg, rgba(18, 12, 17, 0.98), #08070b 56%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.about-skill-tile > *,
.mini-panel > * {
  position: relative;
  z-index: 2;
}

.about-skill-tile span {
  display: block;
  width: 100%;
  line-height: 0.95;
  white-space: normal;
}

.about-skill-tile:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: transparent;
  background: rgba(255, 104, 146, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 28px rgba(255, 104, 146, 0.16);
}

.about-skill-tile:hover::before,
.mini-panel:hover::before {
  opacity: 1;
  animation: border-spin 2.3s linear infinite;
}

.about-skill-tile:hover::after,
.mini-panel:hover::after {
  opacity: 1;
}

.mini-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.mini-panel:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: transparent;
  background: rgba(255, 104, 146, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 28px rgba(255, 104, 146, 0.16);
}

@keyframes border-spin {
  to {
    transform: rotate(1turn);
  }
}

.skill-card {
  min-height: 430px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 82% 18%, rgba(255, 104, 146, 0.16), transparent 36%);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 104, 146, 0.2), transparent 42%, rgba(255, 255, 255, 0.06));
  opacity: 0;
  transition: opacity 220ms ease;
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card--open {
  border-color: rgba(255, 104, 146, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 104, 146, 0.09), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 82% 18%, rgba(255, 104, 146, 0.18), transparent 34%);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.14), 0 0 42px rgba(255, 104, 146, 0.11), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.skill-card--static {
  cursor: default;
}

.skill-pill {
  border-radius: 999px;
}

.skill-card-toggle {
  user-select: none;
}

.skill-example-tile {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    #2a2a2f;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  cursor: pointer;
  text-align: left;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  appearance: none;
}

.skill-example-tile:hover {
  transform: scale(1.045);
  border-color: rgba(255, 104, 146, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 104, 146, 0.14), rgba(255, 255, 255, 0.035)),
    #33333a;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16), 0 0 24px rgba(255, 104, 146, 0.12);
}

.skill-example-tile strong {
  font-family: "Bebas Neue", sans-serif;
  color: #f7f4f8;
  font-size: 1.7rem;
  line-height: 0.95;
}

.skill-open-hint {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 104, 146, 0.28);
  border-radius: 999px;
  background: rgba(255, 104, 146, 0.08);
  padding: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: gap 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, padding 220ms ease;
}

.skill-open-text {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 220ms ease, opacity 180ms ease;
}

.skill-example-tile:hover .skill-open-hint {
  gap: 5px;
  border-color: rgba(255, 104, 146, 0.55);
  background: rgba(255, 104, 146, 0.16);
  padding: 6px 8px;
  color: #f7f4f8;
}

.skill-example-tile:hover .skill-open-text {
  max-width: 60px;
  opacity: 1;
}

.example-modal-panel {
  border-radius: 8px;
}

.example-placeholder {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    #303036;
  padding: 18px;
}

.example-placeholder span {
  color: #ff6892;
  font-size: 0.8rem;
  font-weight: 900;
}

.example-placeholder strong {
  font-family: "Bebas Neue", sans-serif;
  color: #f7f4f8;
  font-size: 2rem;
  line-height: 0.95;
}

.example-image-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 104, 146, 0.12), transparent 54%),
    #151217;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  appearance: none;
  padding: 0;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.example-image-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(255, 104, 146, 0.46);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 104, 146, 0.16);
}

.example-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #050407;
  transform: scale(1.035);
  transition: transform 260ms ease;
}

.example-image-card:hover img {
  transform: scale(1.07);
}

.example-image-card--featured {
  max-width: 820px;
}

.example-image-card--featured img {
  aspect-ratio: 16 / 9;
}

.example-image-index {
  position: absolute;
  left: 14px;
  top: 12px;
  border-radius: 999px;
  background: rgba(5, 4, 7, 0.72);
  padding: 5px 9px;
  color: #ff6892;
  font-size: 0.72rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.example-download-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.example-download-btn--disabled {
  border-color: rgba(255, 104, 146, 0.28);
  background: rgba(255, 104, 146, 0.1);
  color: rgba(255, 255, 255, 0.72);
  cursor: not-allowed;
}

.example-lightbox-panel {
  border-radius: 10px;
  box-shadow: 0 0 90px rgba(255, 104, 146, 0.18);
}

.example-lightbox-image {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #050407;
}

.software-card {
  min-height: 174px;
  align-self: start;
  transform-origin: center;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.software-card:hover {
  border-color: rgba(255, 104, 146, 0.34);
  background: rgba(255, 104, 146, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16), 0 0 42px rgba(255, 104, 146, 0.12);
}

.software-logo {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
}

.software-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
}

.software-card:hover .software-details {
  max-height: 140px;
  opacity: 1;
  transform: translateY(0);
}

.software-detail-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-btn {
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.contact-btn:hover {
  border-color: rgba(255, 104, 146, 0.42);
  background: rgba(255, 104, 146, 0.08);
  box-shadow: 0 0 34px rgba(255, 104, 146, 0.18);
}

.contact-form,
.contact-info-card {
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.contact-field {
  display: block;
}

.contact-field span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: #f7f4f8;
  padding: 15px 16px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(255, 104, 146, 0.72);
  background: rgba(255, 104, 146, 0.055);
  box-shadow: 0 0 0 3px rgba(255, 104, 146, 0.13), 0 0 28px rgba(255, 104, 146, 0.12);
}

.contact-submit {
  color: #f7f4f8 !important;
  box-shadow: 0 0 34px rgba(255, 104, 146, 0.28);
}

.site-shell [class~="bg-white/[0.035]"] {
  background-color: rgba(255, 255, 255, 0.035) !important;
}

.site-shell [class~="bg-white/[0.04]"] {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

.site-shell [class~="bg-white/5"] {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.site-shell [class~="bg-black/[0.35]"] {
  background-color: rgba(0, 0, 0, 0.35) !important;
}

.site-shell [class~="bg-black/[0.42]"] {
  background-color: rgba(0, 0, 0, 0.42) !important;
}

.about-visual {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.48), 0 0 48px rgba(255, 104, 146, 0.1);
}

.about-photo-wrap {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 104, 146, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.55);
}

.skill-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 82% 18%, rgba(255, 104, 146, 0.15), transparent 34%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.skill-card--open {
  background:
    linear-gradient(145deg, rgba(255, 104, 146, 0.09), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 82% 18%, rgba(255, 104, 146, 0.18), transparent 34%);
  box-shadow: 0 0 42px rgba(255, 104, 146, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.skill-example-tile {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    #2a2a2f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.skill-example-tile:hover {
  background:
    linear-gradient(135deg, rgba(255, 104, 146, 0.14), rgba(255, 255, 255, 0.035)),
    #33333a;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32), 0 0 24px rgba(255, 104, 146, 0.12);
}

.example-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    #303036;
}

.software-logo {
  background: rgba(0, 0, 0, 0.34);
}

.software-detail-pill {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.32);
}

.contact-form,
.contact-info-card {
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-field input,
.contact-field textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
}

#about,
#skills,
#software,
#contact {
  scroll-margin-top: 92px;
}

@media (min-width: 768px) and (max-width: 1199px), (min-width: 768px) and (max-width: 1400px) and (max-height: 720px) {
  header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  header > div {
    padding-block: 10px !important;
  }

  #about,
  #skills,
  #software,
  #contact {
    scroll-margin-top: 76px;
  }

  .hero-section {
    min-height: auto !important;
    align-items: center;
    padding-top: 86px !important;
    padding-bottom: 30px !important;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr) !important;
    gap: 26px !important;
  }

  .hero-orbit {
    display: none !important;
  }

  .hero-badge {
    margin-bottom: 14px !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
  }

  .hero-heading {
    max-width: 540px;
    font-size: clamp(4.8rem, 8.8vw, 6.4rem) !important;
    line-height: 0.82 !important;
  }

  .hero-subtitle {
    max-width: 520px;
    margin-top: 16px !important;
    font-size: clamp(1.9rem, 3.6vw, 2.65rem) !important;
    line-height: 1.02 !important;
  }

  .hero-tagline {
    margin-top: 14px !important;
    font-size: 1rem !important;
  }

  .hero-actions {
    margin-top: 22px !important;
    gap: 12px !important;
  }

  .btn-primary,
  .btn-ghost {
    min-height: 46px;
    padding: 12px 18px !important;
    font-size: 0.86rem !important;
  }

  .hero-art,
  .hero-plate {
    min-height: 360px !important;
  }

  .hero-logo-stage .kromm-logo-img {
    width: min(84%, 430px);
  }

  .hero-cv-btn {
    padding: 11px 17px !important;
    font-size: 0.84rem !important;
  }

  .section-title {
    font-size: clamp(3.6rem, 7vw, 5.6rem);
  }

  #about {
    padding-top: 42px !important;
    padding-bottom: 62px !important;
  }

  #about > .mx-auto {
    gap: 28px !important;
  }

  #about .about-visual {
    gap: 12px;
    padding: 16px !important;
  }

  #about .about-photo-wrap {
    height: clamp(220px, 26vw, 300px);
  }

  #about .about-tags {
    gap: 10px !important;
  }

  #about .about-skill-tile {
    min-height: 58px;
    padding-inline: 8px !important;
  }

  #about .about-skill-tile span {
    font-size: clamp(1.05rem, 1.85vw, 1.35rem) !important;
    line-height: 0.95;
  }

  #about .section-title {
    font-size: clamp(3.3rem, 6.3vw, 5.05rem);
  }

  #about p.mt-7 {
    margin-top: 18px !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  #about .mt-10 {
    margin-top: 24px !important;
  }

  #about .mini-panel {
    padding: 14px !important;
  }

  #about .mini-panel h3 {
    font-size: 1.85rem !important;
  }

  #about .mini-panel p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  #skills,
  #software {
    padding-top: 58px !important;
    padding-bottom: 64px !important;
  }

  #skills .max-w-4xl,
  #software .flex {
    max-width: 860px;
  }

  #skills .section-title,
  #software .section-title {
    font-size: clamp(3.6rem, 7vw, 5.35rem);
  }

  #skills p.mt-5,
  #software p {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  #skills .mt-14,
  #software .mt-14 {
    margin-top: 34px !important;
  }

  .skill-card {
    min-height: 320px;
    padding: 20px !important;
  }

  .skill-card h3 {
    margin-top: 12px !important;
    font-size: clamp(2.6rem, 4.6vw, 3.25rem) !important;
  }

  .skill-card p {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
  }

  .skill-card .shrink-0 {
    width: 46px !important;
    height: 46px !important;
  }

  .skill-card .mt-8 {
    margin-top: 20px !important;
  }

  .skill-pill {
    padding: 7px 10px !important;
    font-size: 0.82rem !important;
  }

  .skill-card-toggle {
    margin-top: 20px !important;
    padding-top: 16px !important;
  }

  .software-card {
    min-height: 138px;
    padding: 16px !important;
  }

  .software-logo {
    width: 48px !important;
    height: 48px !important;
  }

  .software-card h3 {
    font-size: 0.98rem !important;
  }

  .software-card .font-impact {
    font-size: 2rem !important;
  }

  .software-card .mt-5 {
    margin-top: 16px !important;
  }

  #contact {
    padding-top: 62px !important;
    padding-bottom: 28px !important;
  }

  #contact h2 {
    margin-top: 14px !important;
    font-size: clamp(3.7rem, 8vw, 5.6rem) !important;
  }

  #contact p.mx-auto {
    margin-top: 18px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  #contact .mt-12 {
    margin-top: 30px !important;
  }

  #contact .max-w-5xl {
    gap: 16px !important;
  }

  .contact-form {
    padding: 18px !important;
  }

  .contact-field span {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  .contact-field input,
  .contact-field textarea {
    padding: 10px 12px;
  }

  .contact-field textarea {
    height: 88px;
  }

  .contact-submit {
    margin-top: 14px !important;
    padding: 12px 18px !important;
  }

  .contact-info-card {
    padding: 18px !important;
  }

  .contact-info-card .h-12 {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 14px !important;
  }

  #contact .mt-20 {
    margin-top: 32px !important;
  }
}

@media (max-width: 767px) {
  html,
  body,
  .site-shell {
    max-width: 100%;
    overflow-x: hidden;
  }

  .section-wrap {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  .hero-grid {
    background-size: 48px 48px;
  }

  .hero-section .btn-primary,
  .hero-section .btn-ghost {
    width: min(330px, calc(100vw - 60px)) !important;
    max-width: min(330px, calc(100vw - 60px));
    margin-inline: 0 auto;
    align-self: flex-start;
  }

  .hero-plate {
    width: min(330px, calc(100vw - 60px)) !important;
    max-width: min(330px, calc(100vw - 60px));
    min-height: 360px !important;
    margin-inline: 0 auto;
  }

  .hero-logo-stage {
    padding: 72px 18px 26px;
  }

  .hero-logo-stage .kromm-logo-img {
    width: min(100%, 286px);
  }

  .hero-plate a[aria-label="Télécharger mon CV"] {
    left: 18px;
    right: 18px;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.78rem;
  }

  .hero-art {
    display: none;
  }

  .kromm-lockup,
  .kromm-lockup--compact {
    min-height: 190px;
  }

  .kromm-logo-img {
    width: min(100%, 330px);
  }

  .about-visual {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
    padding: 12px !important;
    overflow: hidden;
  }

  .about-photo-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 320px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #about {
    padding-top: 34px !important;
    padding-bottom: 48px !important;
    overflow: hidden;
  }

  #about > .mx-auto {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #about > .mx-auto > * {
    min-width: 0;
    max-width: 100%;
  }

  #about .section-kicker {
    font-size: 0.72rem;
  }

  #about .section-title {
    margin-top: 10px !important;
    font-size: clamp(2.85rem, 13.5vw, 3.55rem) !important;
    line-height: 0.9 !important;
  }

  #about p.mt-7 {
    margin-top: 16px !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  .about-tags {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .about-skill-tile {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding-inline: 6px !important;
    border-radius: 7px;
    overflow: hidden;
  }

  .about-skill-tile span {
    max-width: 100%;
    font-size: clamp(0.72rem, 3.45vw, 0.9rem) !important;
    line-height: 0.92;
    white-space: nowrap;
  }

  .about-mini-panels {
    display: flex !important;
    gap: 12px !important;
    margin-top: 22px !important;
    margin-left: 0;
    margin-right: -20px;
    padding-left: 0;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .about-mini-panels::-webkit-scrollbar {
    display: none;
  }

  .about-mini-panels .mini-panel {
    min-width: 78%;
    scroll-snap-align: start;
    padding: 14px !important;
  }

  .about-mini-panels .mini-panel h3 {
    font-size: 1.85rem !important;
  }

  .about-mini-panels .mini-panel p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  #skills {
    padding-top: 44px !important;
    padding-bottom: 56px !important;
  }

  #skills .section-kicker {
    font-size: 0.72rem;
  }

  #skills .section-title {
    margin-top: 10px !important;
    font-size: clamp(2.85rem, 13.5vw, 3.55rem) !important;
    line-height: 0.9 !important;
  }

  #software .section-title {
    margin-top: 10px !important;
    font-size: clamp(2.85rem, 13.5vw, 3.55rem) !important;
    line-height: 0.9 !important;
  }

  #skills p.mt-5 {
    margin-top: 16px !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  .creative-slider-controls {
    display: none;
  }

  .creative-slider-controls button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 104, 146, 0.38);
    border-radius: 999px;
    background: rgba(255, 104, 146, 0.1);
    color: #fff;
    box-shadow: 0 0 24px rgba(255, 104, 146, 0.12);
  }

  .creative-slider-controls button:active {
    transform: scale(0.94);
  }

  .creative-cards {
    display: flex !important;
    align-items: flex-start;
    gap: 12px !important;
    margin-top: 28px !important;
    margin-left: 0;
    margin-right: -20px;
    padding-left: 0;
    padding-right: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .creative-cards::-webkit-scrollbar {
    display: none;
  }

  .creative-cards .skill-card {
    position: relative;
    display: flex;
    min-width: 70vw;
    width: 70vw;
    max-width: 260px;
    height: min(70vw, 260px);
    min-height: 0;
    flex: 0 0 70vw;
    flex-direction: column;
    scroll-snap-align: start;
    transform: none !important;
    overflow: hidden;
    padding: 16px !important;
  }

  .creative-cards .skill-card h3 {
    margin-top: 10px !important;
    font-size: clamp(2.05rem, 9vw, 2.45rem) !important;
    line-height: 0.92 !important;
  }

  .creative-cards .skill-card p {
    margin-top: 10px !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }

  .creative-cards .skill-card .shrink-0 {
    width: 42px !important;
    height: 42px !important;
  }

  .creative-cards .skill-card .mt-8 {
    display: none !important;
  }

  .creative-cards .skill-pill {
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
  }

  .creative-cards .skill-card-toggle {
    margin-top: auto !important;
    padding-top: 10px !important;
    font-size: 0.78rem !important;
    line-height: 1;
    min-height: 32px;
  }

  .creative-cards .skill-gallery {
    display: none !important;
  }

  .mobile-examples-panel {
    border-radius: 10px;
    text-align: center;
  }

  .mobile-examples-panel .grid {
    grid-template-columns: 1fr;
  }

  .mobile-example-tile {
    min-height: 138px;
    padding: 16px;
    text-align: left;
  }

  .mobile-example-tile strong {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .mobile-example-tile .skill-open-hint {
    padding: 6px;
  }

  #software .mt-14.grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 26px !important;
  }

  #software .software-card {
    min-height: 118px;
    padding: 14px !important;
  }

  #software .software-card > .flex {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 12px !important;
    position: relative;
  }

  #software .software-card > .flex > .flex {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0;
    grid-column: 1 / 3;
  }

  #software .software-card > .flex > .flex > div:last-child {
    min-width: 0;
  }

  #software .software-logo {
    width: 44px !important;
    height: 44px !important;
    font-size: 1rem !important;
  }

  #software .software-card h3 {
    max-width: none;
    font-size: 0.98rem !important;
    line-height: 1.12 !important;
    overflow-wrap: normal;
  }

  #software .software-card p {
    font-size: 0.68rem !important;
    line-height: 1.1 !important;
  }

  #software .software-card .font-impact {
    position: static;
    grid-column: 3;
    grid-row: 1;
    font-size: 1.9rem !important;
    line-height: 1 !important;
  }

  #software .software-card .mt-5 {
    margin-top: 18px !important;
  }

  #software .software-details {
    display: none;
  }

  .skill-card {
    min-height: auto;
  }

  #contact {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
  }

  #contact h2 {
    margin-top: 10px !important;
    font-size: clamp(2.85rem, 13.5vw, 3.55rem) !important;
    line-height: 0.9 !important;
  }

  #contact p.mx-auto {
    margin-top: 16px !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  #contact .mt-12 {
    margin-top: 24px !important;
  }

  .contact-form {
    padding: 14px !important;
  }

  .contact-field span {
    margin-bottom: 5px;
    font-size: 0.68rem;
  }

  .contact-field input,
  .contact-field textarea {
    padding: 9px 11px;
    font-size: 0.88rem;
  }

  .contact-field textarea {
    height: 76px;
  }

  .contact-submit {
    margin-top: 12px !important;
    padding: 11px 16px !important;
    font-size: 0.78rem;
  }

  .contact-info-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px !important;
    min-height: 92px;
  }

  .contact-info-card .h-12 {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 0 !important;
    grid-row: span 2;
  }

  .contact-info-card p {
    margin: 0 !important;
  }

  .contact-info-card p.text-sm {
    font-size: 0.68rem !important;
  }

  .contact-info-card p.text-lg {
    margin-top: 4px !important;
    font-size: clamp(0.82rem, 3.7vw, 0.95rem) !important;
    line-height: 1.25 !important;
  }

}

@media (min-width: 768px) {
  .creative-slider-controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}


