
:root{

      --card:#121419;          /* card bg */
      --shadow: 0 8px 30px rgba(0,0,0,.25);
      --radius: 18px;
      --radius-2xl: 1.25rem;
      --maxw: 1120px;
      --gap: clamp(16px, 2vw, 28px);


  --bg: hsl(240, 20%, 97%);
  --stroke: hsl(240 8% 90% / .9);
  --muted: hsl(212, 10%, 64%);
  --accent: rgb(114, 227, 182);
  --accentdark: rgb(108, 208, 168);
  --accent-2: #c9adff;
  --accent-2dark: rgb(111, 108, 183);
}
[data-bs-theme="dark"]{
  --bg: hsl(240 6% 8%);
  --stroke: hsl(240 6% 20% / .85);
  --muted: hsl(240 5% 70%);
}


 :root{

      --radius: 18px;
      --maxw: 1120px;
      --gap: clamp(16px, 2vw, 28px);
    }
    @media (prefers-color-scheme: light){
      :root[data-theme="light"]{
        --bg:#ffffff; --fg:#0b0c0e; --muted:#5a6070; --card:#f8f9fb; --stroke:#e9edf2; --shadow: 0 8px 24px rgba(10,30,60,.08);
      }
    }
    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0; font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif; color:var(--fg); background:var(--bg);
      -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
      padding-top: 65px; /* justér fx til 64–80px alt efter hvor høj nav’en er */
    }
    a{color:inherit; text-decoration:none}
    .container{max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(16px, 4vw, 28px)}

.lead{color:var(--muted); font-size:clamp(16px, 2.1vw, 20px); max-width:46ch}
    .hero-cta{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap}
    .meta{display:flex; gap:18px; margin-top:36px; color:var(--muted); font-size:14px}





    .nav a{opacity:.9}
    .nav a:hover{opacity:1}
    .nav-links{display:flex; gap:22px; align-items:center}
    .btn{display:inline-flex; align-items:center; gap:10px; padding:10px 14px; border:1px solid var(--stroke); border-radius:999px; transition:transform .18s ease, background .18s ease, border-color .18s ease}
    .btn:hover{transform:translateY(-1px); border-color:color-mix(in hsl, var(--accent) 40%, var(--stroke))}
    .btn.pri{background:linear-gradient(120deg, color-mix(in hsl, var(--accent) 90%, transparent), color-mix(in hsl, var(--accent-2) 70%, transparent)); color:#0b0c0e; font-weight:600}
    .theme-toggle{cursor:pointer; font-size:14px; color:var(--muted)}

    

/* ---- Glassy navbar ---- */
.lily-nav{
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in hsl, var(--bg), transparent 70%);
  border-bottom: 1px solid var(--stroke) !important;
}
.nav-inner{ display:flex; align-items:center; width:100%; }
.brand{ display:flex; gap:10px; align-items:center; letter-spacing:.06em; }
.brand-dot{
  width:10px; height:10px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px color-mix(in hsl, var(--accent) 40%, transparent);

  .logo{
    display:flex; gap:10px; align-items:center; letter-spacing:.06em; 
  }
}

/* Link polish from your v1 */
.nav-links a.nav-link{ opacity:.9; }
.nav-links a.nav-link:hover{ opacity:1; }

/* Pills that match your gradient button vibe but play nice with Bootstrap */
.btn.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border:1px solid var(--stroke);
  border-radius:999px; transition:transform .18s ease; background: transform .18s ease, border-color .18s ease;
  backdrop-filter: saturate(140%) blur(2px);
}
.btn.pill:hover{
  transform: translateY(-1px);
  border-color: color-mix(in hsl, var(--accent) 40%, var(--stroke));
}
.btn.pill.pri{
  background: linear-gradient(120deg,
    color-mix(in hsl, var(--accent) 90%, transparent),
    color-mix(in hsl, var(--accent-2) 70%, transparent)
  );
  color:#0b0c0e; font-weight:600; border-color: transparent;
}

/* Theme label */
.theme-toggle{ cursor:pointer; font-size:14px; color:var(--muted); }


/* Make the default Bootstrap toggler icon adapt to theme */
.navbar-toggler{
  border:1px solid var(--stroke);
  background: color-mix(in hsl, var(--bg), transparent 65%);
}
.navbar-toggler:focus{ box-shadow:none; }


.navbar-toggler-icon{
  /* Light mode icon */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

[data-bs-theme="dark"] .navbar-toggler-icon{
  /* Dark mode icon */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}



/*LOGO*/
.navbar-brand img {
  height: 40px;   /* prøv fx 24px–36px afhængigt af hvad der ser bedst ud */
  width: auto;
  margin-right: 6px; /* giver lidt luft til teksten */
  vertical-align: middle;
}
@media (max-width: 768px) {
  .navbar-brand img {
    height: 22px;
  }
}




/*CTA CONTACT BUTTON PRETTIFY*/
.btn.pill.pri {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--accent), var(--accent));
  color: #0b0c0e;
  font-weight: 600;
  border: none;
}

.btn.pill.pri::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg);
}

.btn.pill.pri:hover::before {
  animation: shimmer 0.9s forwards;
}

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}


.btn.pill.pri {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color:#0b0c0e;
  font-weight:600;
  animation: pulseBorder 3s ease-in-out infinite;
}

@keyframes pulseBorder {
  0%,100% { box-shadow: 0 0 0 0 rgba(114, 227, 182, 0.6); }
  50% { box-shadow: 0 0 14px 4px rgba(114, 227, 182, 0.4); }
}




    
    /* --- Hero --- */
    .hero{padding-block:clamp(60px, 12vh, 140px)}
    .hero-grid{display:grid; grid-template-columns: 1.3fr .7fr; gap:var(--gap); align-items:end}
    @media (max-width: 900px){.hero-grid{grid-template-columns:1fr;}}
    .eyebrow{display:inline-flex; gap:10px; align-items:center; font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--muted)}
    .eyebrow i{width:4px; height:4px; border-radius:50%; background:var(--muted)}
    
    .display{
      font-size:clamp(40px, 8vw, 88px); line-height:0.95; font-weight:800; margin:12px 0 20px;
    }


/* Hero */
.hero {
  padding-block: clamp(3rem, 6vw, 6rem);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(99,102,241,.10), transparent 60%),
    linear-gradient(180deg, rgba(99,102,241,.06), transparent 40%);
}
[data-bs-theme="dark"] .hero {
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(99,102,241,.20), transparent 60%),
    linear-gradient(180deg, rgba(99,102,241,.14), transparent 40%);
}
.eyebrow { text-transform: uppercase; letter-spacing:.14em; font-size:.84rem; color: var(--bs-secondary-color); }
.tight { letter-spacing:-.01em; }
.leading-95 { line-height: .95; }
.hero-cta { margin-top: 1.25rem; display:flex; gap:.75rem; flex-wrap:wrap; }

/*Hero text*/
.hero-texta{
  width: 80%;
}

/*HERO image*/

/* Hero media (right side image) */
.hero-media{
  align-self:end;                 /* lines up with your text baseline */
  justify-self:end;               /* hugs the right edge on wide screens */
  max-height: min(640px, 100%);    /* keeps it contained */
  margin: 0;
}

.hero-media img{
  display:block;
  width:100%;
  height:auto;                    /* keeps aspect ratio */
  object-fit: cover;              /* looks good even if the crop changes */
}

/* Stack nicely on mobile */
@media (max-width: 900px){
  .hero-media{
    justify-self: center;
    align-self: start;
    max-width: 520px;
    margin-top: 12px;
  }
}

.pri-work{
  background: linear-gradient(120deg,
    color-mix(in hsl, var(--accent-2) 50%, transparent),
    color-mix(in hsl, var(--accent-2) 50%, transparent)
  );
  color:#0b0c0e; font-weight:600; border-color: transparent;
}






.a-text{
  font-size: 3.2rem;
}


/*ANimation*/


.inner-headings {
border:0px solid #ddd;
height: 50px;
line-height: 50px;
font-size: 50px;
text-transform: uppercase;
overflow: hidden;
}
.inner-headings span {
  position: relative;
  color: var(--accent);
  animation: animation1 10s ease infinite;
}

@keyframes animation1 {
  0%,
  100%{top:0;}
  20% {top:0;}
  25%{top:-50px;}
  45%{top: -50px;}
  50%{top: -100px;}
  70%{top: -100px;}
  75%{top: -150px;}
  95%{top: -150px;}
}
@media (max-width: 420px){
  .inner-headings{ font-size: 2rem; }  /* skaler kun ord-stakken */
  .a-text{font-size: 2rem;}
}







/* Marquee */
.marquee { overflow: hidden; border-top:1px solid var(--bs-border-color); border-bottom:1px solid var(--bs-border-color); background: var(--bs-body-bg); }
.marquee-track { display:inline-block; white-space: nowrap; padding-block:.6rem; animation: scroll 22s linear infinite; }
.marquee span { margin-inline: 1.25rem; color: var(--bs-secondary-color); font-size:.95rem; letter-spacing:.12em; text-transform: uppercase; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }











/*===WORK====*/
.card-raise { transition: transform .2s ease, box-shadow .2s ease; border-radius: var(--radius-2xl) !important; }
.card-raise:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }


/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform: none; }
.delay-1{ transition-delay: .12s; } .delay-2{ transition-delay: .24s; } .delay-3{ transition-delay: .36s; }

/* Cases */
.case { border:1px solid var(--bs-border-color); border-radius: var(--radius-2xl); overflow:hidden; background: var(--bs-body-bg); }
.case-media { position: relative; display:block; overflow:hidden; }
.case-media img { width:100%; height:auto; display:block; transform: scale(1.001); transition: transform .5s ease; }
.case-hover { position:absolute; inset:auto 0 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); padding:.75rem 1rem; transform: translateY(104%); transition: transform .4s ease; }
.case-hover-line { color:#fff; text-transform: uppercase; letter-spacing:.18em; font-size:.75rem; }
.case:hover .case-media img { transform: scale(1.05); }
.case:hover .case-hover { transform: translateY(0%); }
.case-meta { display:flex; align-items:center; justify-content:space-between; padding:1rem 1rem; gap:1rem; }


/* --- WORK GRID: unified tint over thumbnails --- */
#projectGrid .case-media{ 
  position: relative; 
  isolation: isolate;            /* own stacking context so z-index works */
}
#projectGrid .case-media img{
  position: relative; 
  z-index: 0;
}

/* Overlay sits ABOVE the image but BELOW your .case-hover strip */
#projectGrid .case-media::before{
  content:"";
  position:absolute; inset:0;
  z-index: 1;                    /* above <img> */
  background:
    linear-gradient(0deg,
      color-mix(in hsl, var(--accent-2) 100%, transparent),
      color-mix(in hsl, var(--accent-2) 100%, transparent));
  mix-blend-mode: multiply;
  opacity:.55;
  pointer-events:none;
  transition:opacity .35s ease;
}
#projectGrid .case-hover{ position:absolute; inset:auto 0 0 0; z-index:2; }

[data-bs-theme="dark"] #projectGrid .case-media::before{ opacity:.38; }
#projectGrid .case:hover .case-media::before{ opacity:.12; }

/* Gentle global harmonizer (optional) */
#projectGrid .case .case-media img{
  filter: saturate(.9) contrast(1.04) brightness(.99) !important; /* beats earlier img rules */
  transition: transform .5s ease, filter .35s ease;
}
#projectGrid .case:hover .case-media img{ filter:none !important; }

/* Bevar dit nuværende udtryk – men gør baren swipebar på mobil */
#filterBar {
  display: flex;
  gap: 0rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: .25rem;
  /* diskret fade i kanterne så det stadig ser clean ud */
  mask-image: linear-gradient(to right, transparent 0, black 16px, black calc(100% - 16px), transparent 100%);
}
#filterBar .btn {
  white-space: nowrap;
  scroll-snap-align: start;
}



/*Images in MODAL*/

.brainimage{
  height: auto;
  width: 30%;
}







/* Steps */
.step { transition: transform .2s ease, box-shadow .2s ease; border-radius: var(--radius-2xl)!important; }
.step:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }

/* Reveal on scroll (reuse your pattern) */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
.delay-1{ transition-delay:.12s; } .delay-2{ transition-delay:.24s; } .delay-3{ transition-delay:.36s; }

/* Buttons */
.btn { border-radius:.8rem; }

/* Utilities */
.rounded-4 { border-radius: var(--radius-2xl) !important; }
.section-eyebrow { text-transform: uppercase; letter-spacing:.12em; font-size:.8rem; color: var(--bs-secondary-color); }

/* Sticky CTA */
.sticky-cta {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 1050;
  border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.15);
  background: linear-gradient(120deg,
    color-mix(in hsl, var(--accent) 90%, transparent),
    color-mix(in hsl, var(--accent-2) 70%, transparent)
  );
  color:#0b0c0e; font-weight:600; border-color: transparent;
}

/* Modal visuals */
.modal-content { border-radius: var(--radius-2xl); }

/* ---- CASE MODAL polish ---- */
.case-modal .modal-content { border-radius: var(--radius-2xl); overflow: hidden; }
.modal-close.top-right { position:absolute; right:.8rem; top:.8rem; z-index:3; }

.modal-hero { aspect-ratio: 16/7; margin:0; background: color-mix(in hsl, var(--bg), #000 6%); }
.modal-hero img { width:100%; height:100%; object-fit: cover; display:block; }

.modal-head { display:flex; flex-direction:column; gap:.5rem; margin-bottom: .75rem; }
.chip-row { display:flex; flex-wrap:wrap; gap:.5rem; }

/* Sidebar: sticky on lg+ */
.case-aside { position: sticky; top: 16px; background: var(--bs-body-bg); }

/* CTA accent */
.btn-cta { font-weight: 600; }

/* Mobile action bar (only on phones) */
.case-actionbar {
  position: sticky; bottom: 0; inset-inline: 0;
  padding: .75rem; background: color-mix(in hsl, var(--bg), #000 6%);
  border-top: 1px solid var(--bs-border-color); z-index: 2;
}

/* Carousel borders inherit your style */
.carousel { box-shadow: 0 8px 24px rgba(0,0,0,.06); background: var(--bs-body-bg); }
.carousel .carousel-control-prev-icon,
.carousel .carousel-control-next-icon { filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }



/* Make columns stretch and cards fill */
#projectGrid > [class^="col"] { display:flex; }
#projectGrid .case { display:flex; flex-direction:column; width:100%; height:100%;  }

/* Consistent media height across cards */
.case-media{
  position: relative;
  display:block;
  overflow:hidden;
  aspect-ratio: 16 / 10;     /* same visual height */
  background: color-mix(in hsl, var(--bg), #000 4%);
}
.case-media img{
  width:100%; height:100%;
  object-fit: cover; transform: scale(1.001);
  transition: transform .5s ease;
}

/* Meta area stays tidy and aligned */
.case-meta{
  margin-top:auto;                 /* pushes meta to bottom if content grows */
  display:flex; justify-content:space-between; gap:1rem;
  padding:1rem 1rem;
}

/* Title spacing + clamped description so rows line up */
.case-meta h3{ margin:0 0 .25rem 0; }
.case-desc{
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  max-width: 48ch;
}

/* Hover polish unchanged, just smoother lift */
.case{ border:1px solid var(--bs-border-color); border-radius: var(--radius-2xl); background: var(--bs-body-bg); overflow:hidden; transition: transform .28s ease, box-shadow .28s ease; }
.case:hover{ transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.14); }

/* Filter pills: clearer "active" */
.btn-group [data-filter].active{
  background: color-mix(in hsl, var(--accent-2dark) 40%, transparent);
  border-color: color-mix(in hsl, var(--accent-2) 55%, var(--stroke));
}









/*====SERVICES===*/

.services{
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(122, 234, 196, 0.1), transparent 60%),
    linear-gradient(180deg, hsla(242, 51%, 75%, 0.102), transparent 60%);
}

.service-card {
  background: color-mix(in hsl, var(--accent-2) 10%, var(--bs-body-bg));
  border: 1px solid var(--bs-border-color);
  transition: all .3s ease;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.02);
}
.icon-wrap {
  font-size: 2rem;
  color: var(--accent);
  background: color-mix(in hsl, var(--accent) 12%, var(--bs-body-bg));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
}

/* ===== Stacked section spacing ===== */
.section-stack { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-stack .container { max-width: var(--maxw); }

.stack-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:1rem;
  margin-bottom: .75rem;
}
@media (max-width:720px){ .stack-head{ flex-direction:column; gap:.25rem; } }

.soft-accent{
  color: var(--accent);
  background: linear-gradient(120deg,
    color-mix(in hsl, var(--accent) 70%, transparent),
    color-mix(in hsl, var(--accent-2) 50%, transparent));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Make services feel tighter, airy and consistent */
.service-card{
  background: var(--bs-body-bg);
  border:1px solid var(--bs-border-color);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
  border-color: color-mix(in hsl, var(--accent-2) 50%, var(--bs-border-color));
}
.icon-wrap{
  font-size: 1.9rem; line-height: 1; color: var(--accent);
  background: color-mix(in hsl, var(--accent) 12%, var(--bs-body-bg));
  display:inline-flex; align-items:center; justify-content:center;
  width:56px; height:56px; border-radius:14px;
}

/* Divider that visually ties Services -> Process */
.stack-divider{
  height: 1px;
  margin: clamp(1rem, 3vw, 1.75rem) 0 clamp(.5rem, 2vw, 1rem);
  background: linear-gradient(90deg, transparent,
    color-mix(in hsl, var(--accent-2) 55%, var(--bs-border-color)),
    transparent);
  border-radius: 2px;
}

/* Subhead between groups */
.stack-subhead .eyebrow{ color: var(--bs-secondary-color); }

/* Process cards align with services */
.process-step{
  border:1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.process-step i{ font-size: 1.6rem; color: var(--accent); display:block; margin-bottom:.5rem; }
.process-step:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  border-color: color-mix(in hsl, var(--accent) 40%, var(--bs-border-color));
}

/* Horizontal connector on md+ */
@media (min-width: 768px){
  .process-line::before{
    content:""; position:absolute; left: 8%; right: 8%; top: 50%;
    height:2px; transform: translateY(-50%);
    background: color-mix(in hsl, var(--accent) 45%, var(--bs-border-color));
    z-index:0;
  }
  .process-step{ position:relative; z-index:1; }
}

/* Make the two rows read as one section by tightening vertical rhythm */
.section-stack .row.g-3, .section-stack .row.g-4{ --bs-gutter-y: 1rem; }









/*====ABOUT====*/
.about-section {
  background:
    radial-gradient(900px 600px at 10% 20%, color-mix(in hsl, var(--accent-2) 14%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in hsl, var(--accent) 8%, transparent), transparent);
}

.about-facts {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: var(--bs-secondary-color);
  font-size: .95rem;
}

.text-accent {
  color: var(--accent);
}

.about-section img {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-2xl);
  transition: transform .3s ease, box-shadow .3s ease;
  max-height: 30rem;
}

.about-section img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
}











/* =====RESUME===== */
/* Timeline */
.timeline{ position: relative; padding-inline-start: 0; }
.timeline::before{ content:""; position:absolute; inset-block:0; inset-inline-start: 12px; width:2px; background: var(--bs-border-color); }
.timeline-item{ position: relative; padding-inline-start: 36px; margin-block: 1.25rem; }
.timeline-dot{ position:absolute; inline-size:10px; block-size:10px; border-radius:50%; background: var(--bs-primary); inset-inline-start:8px; inset-block-start:.5rem; }
.timeline-card{ background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 1rem; padding: .9rem 1rem; box-shadow: 0 4px 16px rgba(0,0,0,.05); }

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform: none; }
.delay-1{ transition-delay: .12s; } .delay-2{ transition-delay: .24s; } .delay-3{ transition-delay: .36s; }
.timeline::before {
  background: linear-gradient(var(--accent-2), var(--accent));
}
.timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in hsl, var(--accent) 30%, transparent);
}
.timeline-card {
  border-left: 3px solid var(--accent);
  transition: transform .3s ease, box-shadow .3s ease;
}
.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}





/* ===== Contact ===== */
.contact-section {
  background:
    radial-gradient(900px 500px at 0% 10%, color-mix(in hsl, var(--accent-2) 12%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in hsl, var(--accent) 6%, transparent), transparent 50%);
}
.contact-card { box-shadow: 0 8px 24px rgba(0,0,0,.06); }

.contact-badges { display:flex; flex-wrap:wrap; gap:.5rem; }
.socials li + li { margin-top:.35rem; }
.social-link { opacity:.9; }
.social-link:hover { opacity:1; text-decoration: underline; }

#contactForm .form-control,
#contactForm .form-select {
  border:1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}
#contactForm .form-control:focus {
  box-shadow: 0 0 0 .2rem color-mix(in hsl, var(--accent) 30%, transparent);
  border-color: color-mix(in hsl, var(--accent) 40%, var(--bs-border-color));
}






/* ==== Hero SVG (day/night + animation) ==== */
.hero-house{ width:100%; height:auto; display:block }

/* Default: show day, hide night */
.hero-house .day{ opacity:1; transition:opacity .5s ease }
.hero-house .night{ opacity:0; transition:opacity .5s ease }

/* Night when dark theme is active */
[data-bs-theme="dark"] .hero-house .day{ opacity:0 }
[data-bs-theme="dark"] .hero-house .night{ opacity:1 }

/* Neon windows use your --accent (green) and glow */
.hero-house .win{
  fill: var(--accent);
  filter: url(#glow);
  opacity:.95;
  animation: pulse 2.8s ease-in-out infinite;
}
.hero-house .wins .win:nth-child(2){ animation-delay:.3s }
.hero-house .wins .win:nth-child(3){ animation-delay:.6s }
.hero-house .wins .win:nth-child(4){ animation-delay:.9s }
.hero-house .wins .win:nth-child(5){ animation-delay:1.2s }

/* Twinkle stars respect theme color */
.hero-house .stars .twinkle{
  fill: var(--accent);
  opacity:.8;
  animation: twinkle 3.2s linear infinite;
}
.hero-house .stars .twinkle:nth-child(2){ animation-delay: .6s }
.hero-house .stars .twinkle:nth-child(3){ animation-delay: 1.1s }

/* Subtle floating motion for the whole stack */
.hero-house .float{
  animation: floatY 7s ease-in-out infinite;
  transform-origin: 50% 90%;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  .hero-house .float, .hero-house .win, .hero-house .twinkle{
    animation: none !important;
  }
}

/* Keyframes */
@keyframes floatY{
  0%,100%{ transform: translateY(0) }
  50%{ transform: translateY(-6px) }
}
@keyframes pulse{
  0%,100%{ opacity:.9 }
  50%{ opacity:.5 }
}
@keyframes twinkle{
  0%,100%{ opacity:.2; transform: scale(.95) }
  50%{ opacity:1; transform: scale(1.15) }
}












/*MODAL 3 images*/
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--stroke);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  object-fit: cover;
}

.image-grid img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  filter: brightness(1.05);
}


.case-media video.case-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: inherit;
  transition: transform .5s ease;
}
.case:hover .case-media video.case-video {
  transform: scale(1.05);
}




.image-grid img,
.image-grid video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--stroke);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  object-fit: cover;
}

.image-grid img:hover,
.image-grid video:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  filter: brightness(1.05);
}


/* ==== LIGHTBOX WITH NAVIGATION ==== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 40px;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn .3s ease;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-2xl);
  box-shadow: 0 0 30px rgba(0,0,0,.6);
  transition: transform .3s ease, opacity .3s ease;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  transition: opacity .2s;
  z-index: 2001;
}
.lightbox-close:hover { opacity: .7; }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  color: white;
  background: rgba(0,0,0,0.3);
  border: none;
  padding: 10px 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2001;
  transition: background .2s, transform .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); transform: translateY(-50%) scale(1.1); }

.lightbox-nav.prev { left: 40px; }
.lightbox-nav.next { right: 40px; }

#lightbox-caption {
  color: #ccc;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 10px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
  .lightbox-nav.prev { left: 16px; }
  .lightbox-nav.next { right: 16px; }
  .lightbox-close { right: 20px; }
}




/* ==== Minimalist Contact Section ==== */
#contact {
  background:
    radial-gradient(900px 500px at 50% 0%, color-mix(in hsl, var(--accent-2) 12%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in hsl, var(--accent) 6%, transparent), transparent 60%);
  text-align: center;
  position: relative;
}

.contact-big-btn {
  position: relative;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  background: linear-gradient(120deg,
    color-mix(in hsl, var(--accent) 90%, transparent),
    color-mix(in hsl, var(--accent-2) 80%, transparent));
  color: #0b0c0e;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-big-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

/* Soft glow animation (subtle shimmer) */
.contact-big-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  opacity: 0;
}

.contact-big-btn:hover::before {
  opacity: 1;
  animation: contactShimmer 0.9s forwards;
}

@keyframes contactShimmer {
  0% { transform: translateX(0) skewX(-20deg); }
  100% { transform: translateX(260%) skewX(-20deg); }
}

/* Accent text + icons */
#contact .soft-accent {
  background: linear-gradient(120deg,
    color-mix(in hsl, var(--accent) 70%, transparent),
    color-mix(in hsl, var(--accent-2) 50%, transparent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#contact i {
  vertical-align: middle;
}

/* Responsive spacing */
@media (max-width: 768px) {
  #contact .lead {
    font-size: 1rem;
  }
  .contact-big-btn {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
  }
}







/* ==== Copy feedback notice ==== */
.copy-notice {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
  font-weight: 500;
  color: var(--accentdark);
}

.copy-notice.show {
  opacity: 1;
  transform: translateY(0);
}
