/* ============================================================
   life-or.dev — custom-style.css
   Design: Technisch · Futuristisch · Circuit Board Aesthetic
   Methodik: Mobile-First · CSS Custom Properties · WCAG AA
   Author: Tjard Steinhoff
============================================================ */

/* =========================
   0. GOOGLE FONTS
========================= */

@import url('https://fonts.googleapis.com/css2?family=Tomorrow:wght@300;400;500;600;700&family=Martian+Mono:wght@400;500;600;700&display=swap');

/* =========================
   1. DESIGN TOKENS
========================= */

:root {
  /* Brand Colors */
  --primary:       #75448C;
  --primary-dark:  #5a3369;
  --primary-light: #9567af;
  --accent:        #AFE8A3;
  --accent-dark:   #8dc77e;
  
  /* Neutrals */
  --white:         #FEFEFE;
  --bg-light:      #F5F5F5;
  --gray-light:    #D2D2D2;
  --gray-mid:      #585858;
  --black:         #1A1A1A;
  --black-pure:    #000000;
  
  /* Typography */
  --font-head:     'Tomorrow', 'Arial Narrow', Arial, sans-serif;
  --font-mono:     'Martian Mono', 'Courier New', monospace;
  --font-body:     'Tomorrow', system-ui, -apple-system, sans-serif;
  
  /* Fluid Typography Scale (Mobile-First) */
  --text-xs:       clamp(0.75rem,  1.5vw, 0.875rem);
  --text-sm:       clamp(0.875rem, 1.8vw, 1rem);
  --text-base:     clamp(1rem,     2vw,   1.125rem);
  --text-lg:       clamp(1.125rem, 2.2vw, 1.25rem);
  --text-xl:       clamp(1.25rem,  2.5vw, 1.5rem);
  --text-2xl:      clamp(1.5rem,   3vw,   2rem);
  --text-3xl:      clamp(1.875rem, 4vw,   2.5rem);
  --text-4xl:      clamp(2.25rem,  5vw,   3rem);
  --text-hero:     clamp(2.5rem,   7vw,   4.5rem);
  
  /* Spacing Scale */
  --sp-1:  0.25rem;   /* 4px */
  --sp-2:  0.5rem;    /* 8px */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */
  --sp-32: 8rem;      /* 128px */
  
  /* Section Rhythm */
  --section-py:    clamp(3rem, 8vw, 6rem);
  
  /* Container Widths */
  --max-width:     1200px;
  --max-prose:     720px;
  --max-narrow:    900px;
  
  /* Border Radius */
  --radius-sm:     4px;
  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  
  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.24);
  
  /* Glow Effects (Circuit Board) */
  --glow-accent:   0 0 12px rgba(175, 232, 163, 0.6);
  --glow-primary:  0 0 12px rgba(117, 68, 140, 0.6);
  
  /* Transitions */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --duration:      0.3s;
  --duration-slow: 0.6s;
  
  /* Z-Index Scale */
  --z-dropdown:    1000;
  --z-sticky:      1020;
  --z-fixed:       1030;
  --z-modal:       1050;
  --z-popover:     1060;
  --z-tooltip:     1070;
}

/* =========================
   2. BASE STYLES
========================= */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: var(--sp-4);
}

h1 { font-size: var(--text-hero); font-weight: 700; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--sp-4);
}

a {
  color: var(--primary);
  transition: color var(--duration) var(--ease);
}

a:hover,
a:focus {
  color: var(--accent);
}

strong, b {
  font-weight: 600;
}

code,
pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  padding: var(--sp-1) var(--sp-2);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

pre {
  padding: var(--sp-4);
  background: var(--black);
  color: var(--accent);
  border-radius: var(--radius);
  overflow-x: auto;
}

/* =========================
   3. LAYOUT CONTAINERS
========================= */

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-py) var(--sp-4);
}

.section-inner--narrow {
  max-width: var(--max-narrow);
}

.section-inner--prose {
  max-width: var(--max-prose);
}

@media (min-width: 768px) {
  .section-inner {
    padding-left: var(--sp-6);
    padding-right: var(--sp-6);
  }
}

@media (min-width: 1024px) {
  .section-inner {
    padding-left: var(--sp-8);
    padding-right: var(--sp-8);
  }
}

/* =========================
   4. HEADER
========================= */

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  transition: all var(--duration) var(--ease);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding img {
  height: 40px;
  width: auto;
}

.site-branding a {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.site-branding a:hover {
  color: var(--primary);
}

/* Navigation Desktop */
.main-navigation {
  display: none;
}

.main-navigation ul {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
}

.main-navigation a {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-mid);
  text-transform: lowercase;
  position: relative;
  padding: var(--sp-2) 0;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
  width: 100%;
}

@media (min-width: 768px) {
  .main-navigation {
    display: block;
  }
  
  .menu-toggle {
    display: none;
  }
}

/* Burger Menu */
.menu-toggle {
  position: relative;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: var(--z-fixed);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 767px) {
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    padding: var(--sp-24) var(--sp-6);
    transition: right var(--duration) var(--ease);
    z-index: var(--z-modal);
  }
  
  .main-navigation.active {
    right: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: var(--sp-4);
    align-items: flex-start;
  }
  
  .main-navigation a {
    color: var(--white);
    font-size: var(--text-lg);
  }
  
  .main-navigation a::after {
    background: var(--accent);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-modal) - 1);
  }
}

/* =========================
   5. FOOTER
========================= */

.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: var(--sp-12) 0 var(--sp-6);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  display: grid;
  gap: var(--sp-8);
}

.footer-branding {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  line-height: 1.7;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: var(--sp-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.footer-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    text-align: left;
    grid-column: 1 / -1;
  }
}

/* =========================
   6. BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Abgeschrägte Ecke rechts oben */
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    0 100%
  );
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--glow-primary);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: var(--glow-accent);
}

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

.btn--large {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-lg);
}

.btn--small {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
}

/* =========================
   7. CARDS & CONTAINERS
========================= */

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  /* Abgeschrägte Ecken */
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    0 100%
  );
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__content {
  padding: var(--sp-6);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

.card__text {
  color: var(--gray-mid);
  line-height: 1.6;
}

/* Dark Card Variant */
.card--dark {
  background: var(--black);
  border-color: var(--gray-mid);
  color: var(--white);
}

.card--dark .card__title {
  color: var(--white);
}

.card--dark .card__text {
  color: var(--gray-light);
}

/* Highlight Box (wie "Why Choose Us?" im Screenshot) */
.highlight-box {
  background: var(--black);
  color: var(--white);
  padding: var(--sp-8);
  position: relative;
  /* Abgeschrägte Ecken - unten rechts und oben links */
  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.highlight-box h3 {
  color: var(--white);
  margin-bottom: var(--sp-6);
}

.highlight-box ul {
  list-style: none;
  padding: 0;
}

.highlight-box li {
  position: relative;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
  color: rgba(255, 255, 255, 0.85);
}

/* Circuit Line Bullet */
.highlight-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 16px;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.highlight-box li::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 0.25em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

/* =========================
   8. HERO SECTION
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(117, 68, 140, 0.8) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-prose);
  padding: var(--sp-6);
}

.hero__headline {
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  color: var(--white);
}

.hero__headline strong {
  color: var(--accent);
  font-weight: 700;
}

.hero__subline {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-8);
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Circuit Line Decoration */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--glow-accent);
  z-index: 2;
}

/* =========================
   9. SERVICES SECTION
========================= */

.services {
  background: var(--bg-light);
}

.services__grid {
  display: grid;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: all var(--duration) var(--ease);
  clip-path: polygon(
    0 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% 100%,
    0 100%
  );
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius);
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    0 100%
  );
}

.service-card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-3);
}

.service-card__description {
  color: var(--gray-mid);
  line-height: 1.6;
}

/* =========================
   10. PORTFOLIO GRID
========================= */

.portfolio-filter {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background: transparent;
  border: 2px solid var(--gray-light);
  color: var(--gray-mid);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    0 100%
  );
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.1);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(117, 68, 140, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__overlay-title {
  font-size: var(--text-2xl);
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.portfolio-card__overlay-link {
  color: var(--accent);
  font-family: var(--font-mono);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.portfolio-card__content {
  padding: var(--sp-6);
}

.portfolio-card__tags {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}

.tag {
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  background: var(--accent);
  color: var(--black);
  border-radius: var(--radius-sm);
}

.portfolio-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-2);
}

.portfolio-card__excerpt {
  color: var(--gray-mid);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* =========================
   11. PORTFOLIO SINGLE
========================= */

.portfolio-single-hero {
  padding: var(--sp-16) 0;
  background: var(--bg-light);
}

.portfolio-single-hero__inner {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .portfolio-single-hero__inner {
    grid-template-columns: 2fr 1fr;
  }
}

.portfolio-single-hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% 100%,
    0 100%
  );
}

.portfolio-single-hero__info {
  background: var(--white);
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
}

.portfolio-single-hero__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--sp-4);
}

.portfolio-single-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--gray-mid);
}

.portfolio-single-hero__techs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.portfolio-single-hero__links {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.portfolio-single-content {
  padding: var(--sp-16) 0;
}

.portfolio-single-content__prose {
  max-width: var(--max-prose);
  margin: 0 auto var(--sp-12);
  line-height: 1.8;
}

.portfolio-single-highlights {
  background: var(--black);
  color: var(--white);
  padding: var(--sp-12);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-12);
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
}

.portfolio-single-highlights h3 {
  color: var(--accent);
  margin-bottom: var(--sp-6);
}

.portfolio-single-highlights ul {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .portfolio-single-highlights ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-single-highlights li {
  position: relative;
  padding-left: var(--sp-8);
}

.portfolio-single-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 20px;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.portfolio-single-highlights li::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 0.25em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.portfolio-single-gallery {
  display: grid;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

@media (min-width: 768px) {
  .portfolio-single-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-single-gallery img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* =========================
   12. ABOUT PAGE
========================= */

.about-intro {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
  margin-bottom: var(--sp-16);
}

@media (min-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
  }
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% 100%,
    0 100%
  );
}

.about-intro__content h1 {
  margin-bottom: var(--sp-6);
}

.about-intro__tags {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.about-specializations {
  display: grid;
  gap: var(--sp-6);
  margin-bottom: var(--sp-16);
}

@media (min-width: 768px) {
  .about-specializations {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-specializations {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-card {
  background: var(--white);
  padding: var(--sp-6);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease);
}

.spec-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.spec-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--sp-4);
}

.spec-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

/* =========================
   13. CONTACT PAGE
========================= */

.contact-hero {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.contact-content {
  display: grid;
  gap: var(--sp-12);
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: var(--bg-light);
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
}

.contact-info h3 {
  margin-bottom: var(--sp-6);
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  padding: var(--sp-4);
  background: var(--white);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
}

.contact-info__item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-light);
}

.contact-form h3 {
  margin-bottom: var(--sp-6);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--duration) var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(175, 232, 163, 0.2);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

/* =========================
   14. CTA SECTION
========================= */

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--sp-20) var(--sp-4);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.cta-section__headline {
  font-size: var(--text-4xl);
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.cta-section__text {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin: 0 auto var(--sp-8);
}

/* =========================
   15. UTILITIES
========================= */

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-header__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}

.section-header h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--sp-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--gray-mid);
  max-width: 60ch;
  margin: 0 auto;
}

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

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-8 { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

.hidden { display: none; }

/* =========================
   16. ANIMATIONS
========================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease) forwards;
}

.fade-in.visible {
  opacity: 1;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

/* Circuit Line Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(175, 232, 163, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(175, 232, 163, 0.8);
  }
}

.circuit-line {
  animation: pulseGlow 2s ease-in-out infinite;
}