/* Soft holographic volumes: feathered shells, translucent light and rounded type. */
.header {
  width: min(1330px, calc(100% - 32px)); margin: 16px auto 0;
  border: 1px solid #b0e5ff16; border-radius: 60px;
  background: linear-gradient(115deg, #79c6ff0e, #0c1f3326 65%, #7c9fff0a);
  backdrop-filter: blur(25px) saturate(140%);
  -webkit-backdrop-filter: blur(25px) saturate(140%);
  box-shadow: 0 0 35px #50baff08, inset 0 1px 9px #c0eeff0b;
}
.header-inner { width: calc(100% - 64px); }
.brand > span { text-shadow: 0 0 13px #79d5ff70, 1px 0 #c5baff40; }
.brand small { color: #9ed4e7; text-shadow: 0 0 9px #81dfff60; }
.header nav > a { color: #b7d9e8; text-shadow: 0 0 12px #76d4ff38; }

/* Letterforms stay sharp; the glow around them is soft and chromatic. */
h1, h2, h3 {
  font-family: "Segoe UI Light", "Segoe UI", sans-serif; font-weight: 300;
  color: #d9f7ff;
  text-shadow: 0 0 14px #8ce7ff55, 0 0 44px #368bff3d, 1px 1px #8d75ff32;
}
.hero h1, .company h2, .section-heading h2, .project-grid .project-card h3, .contact-section h2 {
  background-image: linear-gradient(112deg, #e9fdff 8%, #a4edff 26%, #d7d0ff 45%, #efffff 57%, #85ceff 74%, #e9fdff 95%);
  background-size: 230% 100%; background-clip: text; -webkit-background-clip: text;
  color: transparent; font-weight: 300;
  text-shadow: 0 0 20px #89e8ff3b, 0 0 55px #3e9fff35;
  animation: holo-letter-light 16s ease-in-out infinite alternate;
}
.hero h1 span, h2 span { color: inherit; text-shadow: inherit; }
.eyebrow, .project-category, .dialog-brand {
  color: #a9daeb; text-shadow: 0 0 9px #7bd7ff70, 0 0 26px #408fff42;
}
.hero-description { color: #b0cbdc; }
.fine-line { border-radius: 50%; box-shadow: 0 0 9px #83dfff; }
.button, .nav-contact, .motion-toggle, .hero .button {
  border: 1px solid #b6eaff38; border-radius: 999px;
  background: linear-gradient(120deg, #a5eaff15, #6cb8ff08 55%, #b3aaff0e);
  box-shadow: 0 0 24px #56baff13, inset 0 0 15px #9edfff0a;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  color: #d1f2ff; text-shadow: 0 0 12px #80dfff55;
}
.button:hover, .nav-contact:hover, .motion-toggle:hover, .hero .button:hover {
  background: linear-gradient(120deg, #9de7ff26, #91aaff13);
  border-color: #b3e8ff75; box-shadow: 0 0 35px #66caff28, inset 0 0 20px #9bdfff13;
}
.motion-toggle { padding: 8px 14px; }
.hologram-scene canvas { filter: drop-shadow(0 0 19px #48c4ff30); }
.orbital { box-shadow: 0 0 28px #37aaff25, inset 0 0 30px #8addff1a; }
.orbital::after { border: 1px solid #80d9ff18; filter: blur(2px); }
.holo-floor {
  background: repeating-radial-gradient(ellipse, transparent 0 35px, #8adfff20 36px 37px, transparent 39px 58px);
  filter: blur(.5px); box-shadow: none;
}
.scene-label { border: 0; border-radius: 50%; text-shadow: 0 0 10px #5abdff88; }
.scene-node { width: 6px; height: 6px; background: #cceaff; border: 0; border-radius: 50%; box-shadow: 0 0 15px 4px #67bbff66; }

.company { isolation: isolate; }
.company::before {
  content: ""; position: absolute; inset: 10% -3%; z-index: -1; pointer-events: none;
  border-radius: 46% 54% 40% 60% / 60% 42% 58% 40%;
  background: radial-gradient(ellipse at 30% 50%, #67caff12, #6f9fff08 45%, transparent 72%);
  filter: blur(24px); transform: rotate(-4deg);
}
.company > div:first-child { border: 0; box-shadow: none; padding-left: 18px; }
.company-copy { border: 0; }
.company-copy::before { display: none; }
.company-copy p { color: #adc4d6; }
.projects-section { background: transparent; isolation: isolate; }
.projects-section::before {
  content: ""; position: absolute; inset: 5% -10%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 23% 35%, #167baa1a, transparent 38%), radial-gradient(ellipse at 75% 67%, #4a58b91c, transparent 38%);
  filter: blur(50px);
}
.section-heading { margin-bottom: 65px; }
.project-grid { row-gap: 95px; }
.universe-lines { opacity: .55; }
.universe-lines svg { stroke: #82d3ff40; stroke-dasharray: none; filter: drop-shadow(0 0 8px #6ad4ff99); }
.universe-lines circle { fill: #b8edff; }

/* No rectangular surface: two organic light shells define each project. */
.project-grid .project-card {
  --holo-color: 105, 214, 255;
  --shape: 46% 54% 44% 56% / 38% 43% 57% 62%;
  min-width: 0; padding: 30px 44px 38px;
  border: 0; border-radius: var(--shape); background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  text-align: center; align-items: center; transition: transform .35s ease-out;
}
.project-grid .project-card:nth-of-type(2) { --holo-color: 132, 175, 255; --shape: 54% 46% 58% 42% / 46% 56% 44% 54%; }
.project-grid .project-card:nth-of-type(3) { --holo-color: 101, 231, 239; --shape: 55% 45% 41% 59% / 40% 47% 53% 60%; }
.project-grid .project-card:nth-of-type(4) { --holo-color: 169, 174, 255; --shape: 43% 57% 56% 44% / 50% 40% 60% 50%; }
.project-grid .project-card::before {
  content: ""; position: absolute; inset: -8px -13px -12px; height: auto; z-index: -1; pointer-events: none;
  border: 1px solid rgba(var(--holo-color), .16); border-radius: var(--shape);
  background: radial-gradient(ellipse at 30% 14%, rgba(var(--holo-color), .12), transparent 48%), linear-gradient(145deg, rgba(var(--holo-color), .025), #0c1f341f 65%, rgba(var(--holo-color), .07));
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 0 32px rgba(var(--holo-color), .06), inset 3px 2px 7px rgba(var(--holo-color), .09), 0 0 32px rgba(var(--holo-color), .07), 0 25px 70px #00000015;
  filter: blur(1.4px); transform: translateZ(-8px); transition: box-shadow .4s, filter .4s;
}
.project-grid .project-card::after {
  content: ""; position: absolute; inset: -25px -24px -28px; z-index: -2; pointer-events: none;
  border-radius: var(--shape); border: 1px solid rgba(var(--holo-color), .12);
  background: radial-gradient(ellipse at 65% 90%, rgba(var(--holo-color), .08), transparent 65%);
  filter: blur(7px); transform: translateZ(-35px) rotate(-4deg); box-shadow: 0 0 55px rgba(var(--holo-color), .07);
}
.project-grid .project-card:hover, .project-grid .project-card:focus-visible { background: transparent; box-shadow: none; }
.project-grid .project-card:hover::before, .project-grid .project-card:focus-visible::before {
  filter: blur(.8px); transform: translateZ(-8px);
  box-shadow: inset 0 0 40px rgba(var(--holo-color), .1), inset 3px 2px 9px rgba(var(--holo-color), .2), 0 0 60px rgba(var(--holo-color), .17), 0 30px 90px #00000022;
}
.project-grid .project-visual { filter: drop-shadow(0 0 18px rgba(var(--holo-color), .2)); }
.project-visual svg { stroke: rgb(var(--holo-color)); filter: drop-shadow(0 0 9px rgba(var(--holo-color), .5)); }
.project-grid .project-card h3 { font-size: 38px; }
.project-grid .project-card p { color: #b6cedf; }
.project-link { border: 0; padding-top: 8px; gap: 18px; text-shadow: 0 0 12px #82d8ff55; }
.project-link > span { border-radius: 50%; border-color: #b7edff38; background: #9edaff0a; box-shadow: 0 0 20px #4fcbff20; }

.contact-section { isolation: isolate; }
.contact-section::before {
  content: ""; position: absolute; inset: 9% 9%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse, #63caff13, #647aff07 52%, transparent 72%);
  box-shadow: 0 0 70px #479dff09; filter: blur(25px); transform: rotate(-7deg);
}
.contact-decoration { filter: drop-shadow(0 0 13px #70dfff66); }
.contact-decoration span { border-radius: 50%; border-color: #a6eaff88; }
.footer { border-top-color: #a8dbff10; }
.dialog {
  background: radial-gradient(ellipse at 15% 0%, #6bbfff20, transparent 60%), linear-gradient(130deg, #10293bd9, #071626ed);
  border: 1px solid #a0dfff38; border-radius: 38px;
  backdrop-filter: blur(32px) saturate(145%); -webkit-backdrop-filter: blur(32px) saturate(145%);
  box-shadow: 0 0 75px #46b7ff20, inset 0 1px 18px #c9f4ff12, 0 45px 130px #0007;
  scrollbar-width: thin; scrollbar-color: #5a8fac66 transparent;
}
.dialog::backdrop { background: #010812aa; backdrop-filter: blur(15px); }
.dialog-bar { background: #0d243ad9; border-bottom: 1px solid #9ed7ff0e; backdrop-filter: blur(20px); }
.close-dialog { border-radius: 50%; background: #b6e5ff0a; }
.detail-grid { border: 0; padding: 0; gap: 15px; }
.detail-grid > div { background: radial-gradient(ellipse at top left, #86dfff0e, #89aaff04); padding: 23px; border-radius: 28px; }
input, select, textarea { border-radius: 20px; background-color: #b0dcff06; border-color: #9edcff28; box-shadow: inset 0 0 18px #00132622; }
textarea { border-radius: 24px; }
input:focus, select:focus, textarea:focus { border-color: #a4e4ff80; }
select option { background: #0b1c2c; }
.direct-contact { border-top-color: #afdfff19; }
.motion-paused h1, .motion-paused h2, .motion-paused h3 { animation-play-state: paused !important; }
@keyframes holo-letter-light { to { background-position: 100% 50%; } }

@media (max-width: 1100px) {
  .project-grid .project-card { padding: 22px 32px 34px; }
  .project-grid .project-card h3 { font-size: 34px; }
}
@media (max-width: 800px) {
  .header { width: calc(100% - 24px); }
  .header-inner { width: calc(100% - 40px); }
  .header nav { gap: 18px; }
  .company > div:first-child { padding-left: 12px; }
  .project-grid { row-gap: 80px; }
  .project-grid .project-card { padding-inline: 20px; }
  .project-grid .project-card h3 { font-size: 29px; }
}
@media (max-width: 580px) {
  .header { height: 72px; margin-top: 12px; border-radius: 40px; }
  .header-inner { width: calc(100% - 36px); }
  .header nav { top: 82px; border: 1px solid #a4ddff22; border-radius: 30px; background: #0d2337ec; backdrop-filter: blur(25px); }
  .nav-contact { padding-inline: 18px; }
  .section-heading { margin-bottom: 40px; }
  .project-grid { padding: 15px 24px 35px; gap: 80px; }
  .project-grid .project-card { padding: 23px 24px 30px; border: 0; }
  .project-grid .project-card:nth-of-type(1), .project-grid .project-card:nth-of-type(3) { margin-right: 4px; margin-left: -3px; }
  .project-grid .project-card:nth-of-type(2), .project-grid .project-card:nth-of-type(4) { margin-left: 4px; margin-right: -3px; }
  .project-grid .project-card h3 { font-size: 34px; }
  .project-link { padding-top: 8px; }
  .contact-section::before { inset: 5% -10%; }
  .dialog { border-radius: 28px; }
  .detail-grid > div { border-radius: 24px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { h1, h2, h3 { animation: none !important; } }
@media (forced-colors: active) {
  .hero h1, .company h2, .section-heading h2, .project-grid .project-card h3, .contact-section h2 { color: CanvasText; background: none; }
  .project-grid .project-card { border: 1px solid ButtonText; }
}
