/* Portfolio theme base styles */
:root{
  /* page background: soft light gray to complement white content cards */
  --bg:#f5f6f8;
  --paper:#ffffff;
  --muted:#6b6b6b;
  --accent:#111111;
  --header-bg: #ffffff;
  --header-text: #111111;
  --header-muted: #6b6b6b;
  --max-width:1100px;
}

/* Button color theme: softened purple */
:root{
  --btn-bg: #7b5cc9;
  --btn-bg-hover: #684ab8;
  --btn-bg-active: #553aa1;
  --btn-text: #ffffff;
  --btn-border: #7b5cc9;
}

*{box-sizing:border-box}
html{font-size:18px}
body{height:100%;margin:0;font-family:Inter,Segoe UI,Roboto,system-ui,-apple-system,"Helvetica Neue",Arial;color:var(--accent);background:var(--bg)}

.portfolio-container{max-width:var(--max-width);margin:12px auto 28px;padding:28px 20px;background:var(--paper);border-radius:8px;box-shadow:0 8px 20px rgba(16,24,40,0.06)}

.home-page-shell{max-width:var(--max-width);margin:12px auto 28px;padding:28px 20px;background:transparent;border-radius:0;box-shadow:none}

.portfolio-logo img{height:54px;width:auto}
header.portfolio-header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:var(--header-bg);color:var(--header-text);border-bottom:1px solid #eee;position:relative;overflow:visible;z-index:40}
.portfolio-logo img{height:54px;width:auto}

/* Header-specific container: remove white card styling and keep full-width header with constrained inner content */
/* header inner layout */
header.portfolio-header > .portfolio-container.header-inner{
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  max-width:var(--max-width);
  margin:0 auto;
}

.header-left{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto}
.header-right{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto}
.portfolio-logo{display:flex;align-items:center;gap:12px}
.portfolio-logo img{height:74px;width:auto}
.portfolio-nav a{color:var(--header-muted);text-decoration:none;margin-left:20px;font-size:0.95rem}
.portfolio-nav a.active{color:var(--header-text);font-weight:600}
.portfolio-nav a:hover{color:var(--header-text)}

/* Responsive nav: hamburger on small, expanded on md+ */
.nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;width:40px;height:40px;background:transparent;border:0;cursor:pointer;padding:6px}
.nav-toggle .bar{display:block;height:3px;background:var(--header-text);border-radius:2px}
.nav-toggle{z-index:4000}

.portfolio-nav{position:absolute;top:calc(100% + 8px);right:20px;background:var(--paper);padding:12px;box-shadow:0 12px 30px rgba(16,24,40,0.08);border-radius:8px;display:none;flex-direction:column;min-width:180px;z-index:2000;pointer-events:auto}
.portfolio-nav.open{display:flex}
.portfolio-nav a{margin:8px 0}

/* Mobile: slide-down full-width accessible menu */
@media (max-width: 767px){
  .portfolio-nav{
    position:fixed;
    left:0;
    right:0;
    top:calc(var(--header-height,72px));
    height:calc(100vh - var(--header-height,72px));
    padding:20px 18px;
    border-radius:0;
    box-shadow:0 20px 40px rgba(16,24,40,0.12);
    transform:translateY(-8px);
    opacity:0;
    transition:transform .28s ease,opacity .28s ease;
    overflow:auto;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    background:var(--paper);
  }
  .portfolio-nav.open{transform:translateY(0);opacity:1}
  .portfolio-nav a{margin:12px 0;padding:12px;border-radius:6px}
  .nav-toggle{display:flex}
  /* ensure header stays above nav visually */
  header.portfolio-header{position:relative;z-index:3000}
}

@media (min-width: 768px){
  .nav-toggle{display:none}
  .portfolio-nav{position:static;display:flex;flex-direction:row;gap:20px;box-shadow:none;padding:0;background:transparent;min-width:auto;height:auto;transform:none;opacity:1}
  .portfolio-nav a{margin:0}
}

/* Override bootstrap primary button with portfolio primary */
.btn-primary{
  background-color:var(--btn-bg)!important;
  border-color:var(--btn-border)!important;
  color:var(--btn-text)!important;
}
.btn-primary:hover, .btn-primary:focus{
  background-color:var(--btn-bg-hover)!important;
  border-color:var(--btn-bg-hover)!important;
  color:var(--btn-text)!important;
}
.btn-primary:active, .btn-primary.active{
  background-color:var(--btn-bg-active)!important;
  border-color:var(--btn-bg-active)!important;
}

/* Outline primary style to match */
.btn-outline-primary{
  color:var(--btn-bg)!important;
  border-color:var(--btn-border)!important;
}
.btn-outline-primary:hover{
  background-color:rgba(179,56,106,0.08)!important;
  color:var(--btn-text)!important;
}

.hero{margin:40px 0 60px;background:transparent}
.hero .hero-image{width:100%;height:60vh;object-fit:cover;border-radius:6px;display:block}
.hero .hero-title{font-size:2.6rem;margin-top:18px;color:var(--accent);letter-spacing:0.6px}
.hero .hero-sub{color:var(--muted);margin-top:8px}

.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.gallery-item{position:relative;overflow:hidden;border-radius:6px;background:#111}
.gallery-item img{width:100%;height:260px;object-fit:cover;display:block;transition:transform .35s ease}
.gallery-item:hover img{transform:scale(1.03)}
.gallery-caption{position:absolute;left:12px;bottom:12px;color:var(--accent);background:linear-gradient(transparent,rgba(0,0,0,.5));padding:8px 12px;border-radius:4px;font-size:0.92rem}

main.content{padding:12px 0 30px}

.secondary-section{padding:28px 0;border-top:1px solid #f0f0f0}
.embed-responsive{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:6px}
.embed-responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}

.samples-grid .sample-card{display:flex;flex-direction:column;gap:12px;padding:14px;background:transparent;border:1px solid #f0f0f0;border-radius:6px}
.samples-grid .sample-card img{width:100%;height:160px;object-fit:cover;border-radius:4px}
.samples-grid .sample-card .sample-title{font-weight:600;color:var(--accent);margin-bottom:6px}

footer.portfolio-footer{padding:0 0 28px;color:var(--muted);font-size:0.9rem;text-align:center}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 auto !important}
.footer-socials{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}
.footer-socials-label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.linkedin-link{display:inline-flex;align-items:center;gap:10px;color:var(--btn-bg);text-decoration:none;font-weight:600}
.linkedin-link:hover{text-decoration:underline}
.linkedin-link-icon{width:20px;height:20px;display:block;flex:0 0 auto}
.page-social-row{margin-top:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.home-social-row{margin-top:12px}
.footer-copy{color:var(--muted)}

.project-detail-page{
  padding-top:36px;
}

.project-hero{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr);
  gap:32px;
  align-items:start;
}

.project-hero-images{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.project-hero-image{
  width:100%;
  border-radius:6px;
  display:block;
  object-fit:cover;
  max-height:250px;
}

.project-hero-image-secondary{
  opacity:.98;
}

.project-hero-copy{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.project-hero-meta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.project-hero-headline{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.project-hero-eyebrow{
  display:inline-block;
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.project-hero-title{
  font-size:2.7rem;
  line-height:1.08;
  margin:0;
}

.project-hero-date{
  color:var(--muted);
  white-space:nowrap;
  font-size:.95rem;
}

.project-hero-description,
.project-detail-body p{
  color:#343a40;
  font-size:1.02rem;
  line-height:1.8;
}

.project-detail-body p{
  font-weight:450;
  letter-spacing:.01em;
}

.project-detail-label{
  display:inline-block;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}

.project-hero-credits p{
  margin:0;
}

.project-media-section{
  margin-top:32px;
}

.project-media-shell{
  width:100%;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(16,24,40,0.12);
}

.project-media-frame{
  width:100%;
  aspect-ratio:16 / 9;
  border:0;
  display:block;
  background:#000;
}

.project-native-video{
  width:100%;
  display:block;
  background:#000;
}

.project-secondary-image-section{
  margin-top:24px;
}

.project-secondary-image{
  width:100%;
  height:auto;
  display:block;
  border-radius:8px;
  object-fit:contain;
  background:var(--paper);
  box-shadow:0 8px 20px rgba(16,24,40,0.08);
}

.project-media-section .audio-player{
  padding:20px;
  background:var(--paper);
}

.project-sample-pack{
  margin-top:6px;
  padding:22px;
  border:1px solid #ececf0;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfbfd 100%);
  box-shadow:0 14px 30px rgba(16,24,40,0.08);
}

.project-sample-pack-header{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:18px;
}

.project-sample-pack-eyebrow{
  display:inline-block;
  margin-bottom:8px;
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
}

.project-sample-pack h2{
  margin:0 0 8px;
  font-size:1.45rem;
  line-height:1.15;
}

.project-sample-pack p{
  margin:0;
  max-width:46rem;
  color:#4a4f57;
  line-height:1.65;
}

.project-sample-pack-header h2{
  color:#1f2430;
}

.project-sample-pack-header p{
  color:#4f5561;
}

.project-sample-pack-count{
  min-width:92px;
  text-align:right;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(123,92,201,0.08);
}

.project-sample-pack-count-label{
  display:block;
  margin-bottom:4px;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.project-sample-pack-count strong{
  font-size:1.6rem;
  line-height:1;
  color:var(--accent);
}

.project-audio-list{
  display:grid;
  gap:14px;
}

.project-audio-item{
  padding:14px 0;
  border-bottom:1px solid rgba(123,92,201,0.10);
  background:transparent;
}

.project-audio-item:last-child{
  border-bottom:0;
}

.project-audio-item-header{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:10px;
}

.project-audio-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(123,92,201,0.08);
  color:var(--btn-bg);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
}

.project-audio-caption{
  display:block;
  font-size:.98rem;
  font-weight:700;
  color:#242937;
  word-break:break-word;
}

.project-audio-controls{
  display:flex;
  align-items:center;
  gap:10px;
}

.project-audio-controls audio{
  width:100%;
  accent-color:var(--btn-bg);
  background:transparent;
}

.project-audio-play-spot{
  flex:0 0 auto;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(123,92,201,0.08);
  color:var(--btn-bg);
  font-size:.7rem;
  box-shadow:inset 0 0 0 1px rgba(123,92,201,0.08);
}

.project-audio-item audio{
  width:100%;
  display:block;
  flex:1 1 auto;
}

.project-detail-body{
  max-width:none;
  width:100%;
  margin-top:36px;
  margin-bottom:18px;
}

.project-detail-body p{
  margin:0;
}

.project-detail-body p + p{
  margin-top:22px;
}

.related-projects{
  margin-top:46px;
  padding-top:28px;
  border-top:1px solid #ececf0;
}

.related-projects h3{
  font-size:1.05rem;
  margin-bottom:18px;
}

.related-projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:18px;
}

.related-project-card{
  text-decoration:none;
  color:inherit;
}

.related-project-image{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border-radius:6px;
  display:block;
  margin-bottom:10px;
}

.related-project-copy{
  display:flex;
  flex-wrap:wrap;
  gap:6px 10px;
  font-size:.94rem;
}

.related-project-title{
  font-weight:600;
}

.related-project-date{
  color:var(--muted);
}

.home-feature-card{
  opacity:0;
  transform:translateY(22px) scale(.985);
  animation:home-feature-fade .85s cubic-bezier(.22,.9,.28,1) .18s forwards;
  box-shadow:0 14px 30px rgba(16,24,40,0.08);
}

.home-feature-card:hover{
  transform:translateY(-4px) scale(1);
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 18px 36px rgba(16,24,40,0.12);
}

.influences-page{
  padding-top:30px;
}

.influences-hero{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);
  gap:28px;
  align-items:start;
}

.influences-eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}

.influences-hero h1{
  margin:0 0 14px;
  font-size:2.4rem;
  line-height:1.1;
}

.influences-hero p{
  margin:0;
  color:#343a40;
  line-height:1.75;
}

.influences-hero-image{
  width:100%;
  max-height:320px;
  object-fit:cover;
  border-radius:8px;
  box-shadow:0 10px 24px rgba(16,24,40,0.1);
}

.influences-copy p + p{
  margin-top:14px;
}

.influences-samples{
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid #ececf0;
}

.influences-samples h2{
  margin:0 0 14px;
  font-size:1.25rem;
}

.influences-samples-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:start;
}

.influence-sample-card{
  position:relative;
  background:linear-gradient(180deg,#ffffff 0%, #fbfbfd 100%);
  border:1px solid #e7e4ee;
  border-radius:14px;
  padding:14px;
  box-shadow:0 14px 30px rgba(16,24,40,0.08);
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
}

.influence-sample-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,#5d5ff8 0%, #8b5cf6 50%, #d28aa6 100%);
}

.influence-sample-year{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#5b6270;
  padding-top:2px;
}

.influence-sample-video{
  width:100%;
  aspect-ratio:16 / 9;
  display:block;
  border-radius:10px;
  background:#000;
  object-fit:cover;
  box-shadow:0 10px 24px rgba(8,12,20,0.28);
  border:1px solid rgba(255,255,255,0.08);
}

.home-intro-panel{
  padding:28px 28px 28px 0;
}

.home-intro-eyebrow{
  display:inline-block;
  margin-bottom:12px;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.home-intro-copy{
  max-width:34rem;
}

.home-cta-group{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:10px 0 14px;
}

.home-cta-primary,
.home-cta-secondary{
  min-width:168px;
  padding:.72rem 1rem;
  font-weight:600;
}

.home-cta-primary,
.page-focus-cta{
  background:linear-gradient(135deg,var(--btn-bg) 0%, #9a476f 100%)!important;
  border-color:#9a476f!important;
  box-shadow:0 10px 22px rgba(154,71,111,0.16);
}

.home-cta-primary:hover,
.home-cta-primary:focus,
.page-focus-cta:hover,
.page-focus-cta:focus{
  background:linear-gradient(135deg,var(--btn-bg-hover) 0%, #873c63 100%)!important;
  border-color:#873c63!important;
  box-shadow:0 12px 24px rgba(135,60,99,0.18);
}

.home-cta-note{
  color:var(--muted);
  max-width:34rem;
  line-height:1.6;
}

.home-project-panel{
  display:flex;
  flex-direction:column;
  border-left:1px solid #ececf0;
  padding-left:24px;
}

.home-featured-card-shell{
  max-width:460px;
  margin-left:auto;
}

.home-project-label{
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}

.home-project-support{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.6;
}

.home-project-image{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:6px;
  margin-bottom:18px;
}

.home-project-content{
  display:flex;
  flex-direction:column;
  flex:1;
}

.home-pro-row{
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid #ececf0;
}

.home-pro-card{
  background:#fff;
  border:1px solid #ececf0;
  border-radius:8px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.home-pro-card h6{
  margin:0;
  font-weight:650;
}

.home-pro-label{
  display:inline-block;
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.home-pro-card ul{
  margin:0;
  padding-left:1.1rem;
}

.home-pro-card li + li{
  margin-top:4px;
}

.home-pro-card-cta{
  background:linear-gradient(180deg,#fff 0%,#f8f6ff 100%);
  border-color:rgba(123,92,201,0.16);
}

.home-pro-card-cta p{
  margin:0;
}

.portfolio-card-headline,
.home-featured-headline{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.portfolio-card-eyebrow,
.home-featured-eyebrow{
  display:inline-block;
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.portfolio-card-title,
.home-featured-title{
  line-height:1.2;
}

.portfolio-card-media-link,
.home-featured-media-link{
  display:block;
}

.portfolio-card-title-link,
.home-featured-title-link{
  color:inherit;
  text-decoration:none;
}

.portfolio-card-title-link:hover,
.home-featured-title-link:hover{
  text-decoration:underline;
}

@keyframes home-feature-fade{
  0%{
    opacity:0;
    transform:translateY(22px) scale(.985);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.project-deal-slot{
  perspective:1200px;
}

.project-deal-card{
  opacity:0;
  transform-origin:left center;
  transform:translateX(-28px) rotateY(-84deg) rotateZ(-2deg);
  animation:deal-card-flip .78s cubic-bezier(.22,.9,.28,1) forwards;
  animation-delay:calc(var(--card-index) * 220ms);
  backface-visibility:hidden;
  box-shadow:0 14px 28px rgba(16,24,40,0.10);
}

.project-deal-card:hover{
  transform:translateY(-4px);
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 18px 32px rgba(16,24,40,0.14);
}

@keyframes deal-card-flip{
  0%{
    opacity:0;
    transform:translateX(-28px) rotateY(-84deg) rotateZ(-2deg);
  }
  55%{
    opacity:1;
  }
  100%{
    opacity:1;
    transform:translateX(0) rotateY(0) rotateZ(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .home-feature-card,
  .project-deal-card{
    animation:none;
    opacity:1;
    transform:none;
  }
}

@media (max-width:1199px){
  .technical-hero{
    grid-template-columns:1fr;
  }

  .technical-hero-panel{
    padding:14px;
  }
}

@media (max-width:991px){
  .project-hero{
    grid-template-columns:1fr;
  }

  .project-detail-body{
    max-width:none;
  }

  .influences-hero{
    grid-template-columns:1fr;
  }

  .home-intro-panel{
    padding:0;
  }

  .home-project-panel{
    border-left:0;
    border-top:1px solid #ececf0;
    padding-left:0;
    padding-top:24px;
  }

  .home-featured-card-shell{
    max-width:none;
    margin-left:0;
  }
}

@media (max-width:900px){
  .influences-samples-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .technical-hero{
    grid-template-columns:1fr;
  }

  .project-sample-pack-header{
    flex-direction:column;
  }

  .project-sample-pack-count{
    text-align:left;
  }
}

@media (max-width:600px){
  .hero .hero-image{height:40vh}
  .portfolio-nav a{margin-left:12px;font-size:.9rem}
  .influences-samples-grid{
    grid-template-columns:1fr;
  }

  .project-sample-pack{
    padding:16px;
  }

  .project-sample-pack-header{
    margin-bottom:14px;
  }

  .project-sample-pack-count{
    min-width:auto;
  }

  .project-audio-item{
    padding:10px 0;
  }

  .project-audio-controls{
    gap:8px;
  }

  .project-audio-play-spot{
    width:26px;
    height:26px;
    font-size:.68rem;
  }
}

.about-bio{
  line-height:1.75;
}

.about-headshot{
  float:left;
  margin:0 18px 12px 0;
  border:1px solid #e6e8ec;
  border-radius:10px;
  box-shadow:0 10px 22px rgba(16,24,40,0.12);
  display:block;
}

.technical-page{
  padding-top:30px;
}

.technical-hero{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  gap:20px;
  align-items:start;
}

.technical-hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.technical-hero-points span{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(123,92,201,0.08);
  color:#513f86;
  font-size:.85rem;
  font-weight:600;
}

.technical-hero > *{
  min-width:0;
}

.technical-hero-panel{
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid #ececf0;
  border-radius:12px;
  background:linear-gradient(180deg,#ffffff 0%,#f8f9fb 100%);
  box-shadow:0 10px 24px rgba(16,24,40,0.06);
}

.technical-hero-stat{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.technical-hero-stat-label{
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.technical-hero-stat strong{
  font-size:.98rem;
  line-height:1.45;
}

.technical-eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}

.technical-hero h1{
  margin:0 0 12px;
  font-size:2.35rem;
  line-height:1.1;
}

.technical-hero p{
  margin:0;
  color:#343a40;
  line-height:1.75;
}

.technical-grid{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}

.technical-card{
  position:relative;
  background:linear-gradient(180deg,#ffffff 0%,#fcfcfd 100%);
  border:1px solid #ececf0;
  border-radius:12px;
  padding:18px;
  box-shadow:0 10px 24px rgba(16,24,40,0.07);
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
}

.technical-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,var(--btn-bg),#9a83dc);
}

.technical-card-label{
  display:inline-block;
  margin-bottom:10px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.technical-card h3{
  margin:0 0 8px;
  font-size:1.12rem;
  min-height:2.6em;
}

.technical-card p{
  margin:0 0 12px;
  color:#4a4f57;
}

.technical-card > .technical-tool{
  margin-top:14px;
}

.technical-card > p{
  min-height:3.6em;
}

.technical-logos{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom:12px;
}

.technical-logos img{
  height:42px;
  width:auto;
  object-fit:contain;
}

.technical-tool{
  padding:14px;
  border:1px solid #eef0f3;
  border-radius:10px;
  background:#fbfbfc;
  flex:1 1 auto;
}

.technical-tool + .technical-tool{
  margin-top:18px;
}

.technical-card > .technical-tool:last-of-type{
  margin-top:auto;
}

.technical-tool-header{
  margin-bottom:10px;
  min-height:48px;
}

.technical-tool-header span{
  font-weight:700;
  color:var(--accent);
  line-height:1.2;
}

.technical-card ul{
  margin:0;
  padding-left:1.05rem;
  min-height:4.2rem;
}

.technical-card li + li{
  margin-top:5px;
}

.technical-expand{
  margin-top:12px;
  min-height:42px;
}

.technical-sample-project{
  margin-top:14px;
  padding:12px 14px;
  border:1px solid rgba(123,92,201,0.14);
  border-radius:10px;
  background:linear-gradient(180deg, rgba(123,92,201,0.06) 0%, rgba(255,255,255,0.92) 100%);
}

.technical-sample-project::before{
  content:"Sample project";
  display:inline-block;
  margin-bottom:6px;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.technical-sample-label{
  display:inline-block;
  margin-bottom:6px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.technical-sample-link{
  display:flex;
  flex-direction:column;
  gap:2px;
  color:inherit;
  text-decoration:none;
}

.technical-sample-link strong{
  color:var(--accent);
  font-size:.98rem;
}

.technical-sample-link span{
  color:#4a4f57;
  font-size:.92rem;
}

.technical-expand summary{
  cursor:pointer;
  color:var(--btn-bg);
  font-weight:600;
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(123,92,201,0.08);
}

.technical-expand summary::-webkit-details-marker{
  display:none;
}

.technical-expand summary::after{
  content:" +";
}

.technical-expand[open] summary::after{
  content:" −";
}

.technical-expand p{
  margin:10px 0 0;
  color:#4a4f57;
  line-height:1.7;
}

.technical-footer-band{
  margin-top:28px;
  padding:18px 20px;
  border:1px solid #ececf0;
  border-radius:12px;
  background:linear-gradient(180deg,#ffffff 0%,#f8f9fb 100%);
  box-shadow:0 8px 20px rgba(16,24,40,0.05);
}

.technical-footer-label{
  display:inline-block;
  margin-bottom:12px;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.technical-skill-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.technical-skill-tags span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #ececf0;
  color:#343a40;
  box-shadow:0 4px 12px rgba(16,24,40,0.04);
}

@media (max-width:1199px){
  .technical-hero{
    grid-template-columns:1fr !important;
    gap:16px;
  }

  .technical-hero-panel{
    width:100%;
    padding:14px;
  }
}

/* Utility helpers */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
