/* ============================================================
   michaljireh.com — Global Stylesheet
   Design: Modern/Minimal, Pink accent, Fraunces + Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,600&family=Inter:wght@400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:        #D4527F;
  --pink-light:  #FAE0EC;
  --pink-dark:   #B03068;
  --bg:          #FAFAF8;
  --bg-alt:      #F4F3F1;
  --bg-pink:     #FDF4F8;
  --dark:        #1E1B2E;
  --text:        #18181B;
  --text-muted:  #5E5E66;
  --border:      #EDE8F0;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-pill: 999px;
  --nav-h:       64px;
  --max-w:       1100px;
  --transition:  0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Custom Cursor ────────────────────────────────────────── */
@media (pointer: fine) {
  body, a, button { cursor: none !important; }
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .2s, transform .15s;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--pink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .2s, width .25s ease, height .25s ease;
}
.cursor-ring.hovering {
  width: 52px;
  height: 52px;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
/* Pre-hide before JS runs (js class added by inline script in <head>) */
.js .tool-card, .js .skill-card, .js .portfolio-card,
.js .testimonial-card, .js .about-card, .js .exp-row,
.js .about-main, .js .contact-layout { opacity: 0; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal.visible {
  animation: reveal-up .9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .js .tool-card, .js .skill-card, .js .portfolio-card,
  .js .testimonial-card, .js .about-card, .js .exp-row,
  .js .about-main, .js .contact-layout { opacity: 1 !important; }
  .reveal.visible { animation: none; }
}

/* ── Accessibility ────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--dark);
  color: var(--white);
  padding: .5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--pink); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible { border-radius: var(--radius-sm); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ───────────────────────────────────────────── */
.display {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.1;
}
.display-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

h1, h2, h3 { line-height: 1.2; }

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: .75rem;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}
.nav-brand span { color: var(--pink); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover,
.nav-links a.active { color: var(--pink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-news-pill {
  display: inline-block;
  background: transparent;
  color: var(--dark) !important;
  border: 1.5px solid var(--dark);
  font-family: 'Fraunces', serif;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
  padding: .25rem .7rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-news-pill::after { display: none !important; }
.nav-news-pill:hover { background: var(--dark); color: #fff !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,82,127,.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--pink);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { gap: .75rem; }

.btn-white {
  background: var(--white);
  color: var(--pink);
}
.btn-white:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
}

/* ── Tags / Badges ────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.tag-pink   { background: var(--pink-light); color: var(--pink-dark); }
.tag-gray   { background: var(--bg-alt); color: var(--text-muted); }
.tag-dark   { background: var(--dark); color: var(--white); }
.tag-blue   { background: #E8E7F2; color: #2D2A52; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Section spacing ──────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer .nav-brand { color: rgba(255,255,255,.9); }
footer .nav-brand span { color: var(--pink); }
footer p { font-size: .85rem; }
.footer-social {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  line-height: 1;
}
.footer-social:hover { color: var(--pink); }
.footer-social:hover .footer-li-icon { background: var(--pink); }
.footer-li-icon {
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,.9);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
  color: var(--dark);
}

/* ── Home: Hero ───────────────────────────────────────────── */
.hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-badge-pink   { background: #FAE0EC; color: #B03068; }
.hero-badge-pink::before   { background: #D4527F; }

.hero-badge-teal   { background: #E8E7F2; color: #2D2A52; }
.hero-badge-teal::before   { background: #3D3870; }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.hero h1 em {
  font-style: italic;
  color: var(--pink);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Home: Hero photo ─────────────────────────────────────── */
.hero {
  padding: 5rem 0 0;
  overflow: visible;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 2rem;
  align-items: end;
}
.hero-text { min-width: 0; padding-bottom: 4rem; }

.hero-photo-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.hero-photo {
  width: 440px;
  margin-bottom: -1px;
}
.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr 340px;
  }
  .hero-photo { width: 340px; }
}

@media (max-width: 860px) {
  .hero {
    padding: 4rem 0 0;
  }
  .hero-split {
    grid-template-columns: 1fr;
    align-items: center;
  }
  .hero-text { padding-bottom: 2rem; }
  .hero-photo-wrap { order: -1; justify-content: center; }
  .hero-photo {
    width: 260px;
    margin-bottom: 0;
  }
}

/* ── Home: Tools ──────────────────────────────────────────── */
.tools-section {
  background: var(--dark);
  padding: 4rem 0;
}
.tools-section .section-label {
  color: var(--pink);
}
.tools-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: .75rem;
  color: var(--white);
}
.tools-section p {
  color: rgba(255,255,255,.55);
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .85rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.tool-card:hover {
  border-color: var(--pink-light);
  box-shadow: var(--shadow-sm);
}
.tool-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}
.tool-card-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.tool-card strong {
  font-size: .88rem;
  font-weight: 600;
}
.tool-card span {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Home: Testimonials ───────────────────────────────────── */
.testimonials-section {
  padding: 5rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.testimonials-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: .5rem;
}
.testimonials-section .section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card blockquote {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.testimonial-card blockquote::before {
  content: '\201C';
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: var(--pink-light);
  line-height: .5;
  display: block;
  margin-bottom: .5rem;
}
.testimonial-meta strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
}
.testimonial-meta span {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Home: CTA Banner ─────────────────────────────────────── */
/* ── Decorative Circles ──────────────────────────────────────── */
.deco { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.deco-ring { background: transparent; }
.deco-fill { }

/* ── Experience ──────────────────────────────────────────────── */
.experience-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.exp-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.exp-row-featured {
  background: var(--dark);
  border-color: var(--dark);
}
.exp-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.exp-row:not(.exp-row-featured) .exp-num {
  background: var(--bg-alt);
  color: var(--text-muted);
}
.exp-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.exp-role {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
}
.exp-row:not(.exp-row-featured) .exp-role { color: var(--text); }
.exp-company {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.exp-row:not(.exp-row-featured) .exp-company { color: var(--text-muted); }
.exp-duration {
  font-size: .8rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  text-align: right;
  min-width: 0;
}
.exp-row:not(.exp-row-featured) .exp-duration {
  border-left-color: var(--border);
  color: var(--text-muted);
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: .75rem;
}
.cta-banner p {
  color: rgba(255,255,255,.65);
  margin-bottom: 2rem;
  font-size: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── About page ───────────────────────────────────────────── */
.about-hero {
  padding: 5rem 0 0;
}
.about-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  margin-bottom: .5rem;
}
.about-hero .subtitle {
  color: var(--pink);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.about-main {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
  padding: 3rem 0 5rem;
}
.about-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--pink);
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-content p strong { color: var(--text); }
.about-content .btn { margin-top: 1.5rem; }

.about-photo-block {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  z-index: 1;
}
.outside-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  margin-top: 1.5rem;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.photo-caption {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 4rem 0;
}
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.about-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.about-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.about-card p + p { margin-top: .75rem; }
.about-card p strong { color: var(--text); }

/* ── Portfolio page ───────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-light);
}
.portfolio-card.hidden { display: none; }

.card-thumb {
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.portfolio-card:hover .card-thumb img {
  transform: scale(1.03);
}
.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-pink), var(--pink-light));
  color: var(--pink);
  font-size: 2rem;
}
/* Gallery carousel */
.card-gallery .gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}
.card-gallery .gallery-img.active { opacity: 1; }
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  z-index: 2;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s;
}
.card-thumb:hover .gallery-btn { opacity: 1; }
.gallery-btn.prev { left: 8px; }
.gallery-btn.next { right: 8px; }
.gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .2s;
}
.gallery-dot.active { background: #fff; }

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-type {
  margin-bottom: .6rem;
}
.card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.card-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.card-tool {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Skills page ──────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 5rem;
}
.skill-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.skill-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--pink-light);
  color: var(--pink);
}
.skill-card-icon svg { display: block; }
.skill-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--pink-light);
  text-align: center;
}
.skill-list { display: flex; flex-direction: column; gap: .75rem; }
.skill-list-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 3rem;
}
@media (max-width: 768px) {
  .skill-list-cols { grid-template-columns: 1fr; }
}
.skill-item {
  position: relative;
  padding-left: 1.1rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.skill-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
}
.skill-item b { color: var(--text); font-weight: 600; }

/* ── Contact page ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  padding-bottom: 5rem;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.75;
  font-size: .95rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--pink);
  font-size: .9rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: .75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.contact-detail-text a { color: var(--text); font-weight: 500; }
.contact-detail-text a:hover { color: var(--pink); }

.contact-form {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.75rem;
  color: var(--white);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  background: rgba(255,255,255,.06);
  color: var(--white) !important;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  background: rgba(255,255,255,.06);
  color: var(--white);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.3);
}
.form-group select option {
  background: var(--dark);
  color: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--pink);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav { position: sticky; }

  .hero h1 { font-size: 2.5rem; }

  .about-main { grid-template-columns: 1fr; }
  .about-photo-block { position: static; order: -1; }
  .about-photo { aspect-ratio: 3/2; max-height: 320px; }
  .about-cards-grid { grid-template-columns: 1fr; }
  .outside-grid { grid-template-columns: 1fr; }
  .outside-grid img { width: 160px; margin: 0 auto; }

  .exp-row { flex-wrap: wrap; }
  .exp-duration { border-left: none; border-top: 1px solid rgba(255,255,255,.15); padding-left: 0; padding-top: .5rem; margin-top: .25rem; width: 100%; text-align: center; }
  .exp-row:not(.exp-row-featured) .exp-duration { border-top-color: var(--border); }

  .skills-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions .btn { font-size: .85rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
