/* ============================================================
   LUZIA VERDASCA ANTUNES — Personal Website Stylesheet
   Design: Warm minimal · Scandinavian simplicity · Portuguese soul
   ============================================================ */

/* ────────────────────────────────────────────
   1. CUSTOM PROPERTIES
   ──────────────────────────────────────────── */
:root {
  /* Cool modern palette — slate blues, off-white, charcoal */
  --c-bg:        #F8F9FB;   /* cool off-white */
  --c-bg-alt:    #EDF0F5;   /* cool light gray */
  --c-surface:   #E2E7EF;   /* cool gray — cards */
  --c-border:    #C8D0DE;   /* blue-gray border */
  --c-text:      #1A1E26;   /* deep charcoal */
  --c-muted:     #56617A;   /* slate gray */
  --c-light:     #8A95AE;   /* light slate — captions */
  --c-accent:    #3B6B9E;   /* slate blue */
  --c-accent-dk: #2A4F7A;   /* dark slate blue — hover */
  --c-accent-lt: #AFC8E4;   /* light slate blue — tints */
  --c-sage:      #4E8080;   /* slate teal */
  --c-sage-lt:   #A2C4C4;   /* light slate teal */

  /* Typography */
  --f-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body:    'Jost', 'Helvetica Neue', Arial, system-ui, sans-serif;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w:  1160px;
  --pad-x:  2rem;

  /* Radius & shadow */
  --r-sm: 3px;
  --r-md: 6px;
  --sh-sm: 0 1px 4px rgba(26,30,38,0.08);
  --sh-md: 0 4px 20px rgba(26,30,38,0.11);

  /* Transition */
  --t: 0.22s ease;
}

/* ────────────────────────────────────────────
   2. RESET & BASE
   ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--t), text-decoration-color var(--t);
}

a:hover {
  color: var(--c-accent-dk);
  text-decoration-color: var(--c-accent-dk);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-text);
}

p + p { margin-top: var(--sp-4); }

ul, ol { list-style: none; }

/* ────────────────────────────────────────────
   3. LAYOUT
   ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section      { padding: var(--sp-20) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--sm  { padding: var(--sp-12) 0; }

/* ────────────────────────────────────────────
   4. NAVIGATION
   ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,249,251,0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: var(--sp-8);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--c-text);
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--c-text); text-decoration: none; }

.nav-brand-name {
  font-family: var(--f-heading);
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 400;
}

.nav-brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

@media (max-width: 640px) {
  .nav-container {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-4) var(--pad-x);
    gap: var(--sp-3);
  }
  .nav-links { gap: var(--sp-5); }
  .nav-links a { font-size: 0.75rem; }
}

/* ────────────────────────────────────────────
   5. FOOTER
   ──────────────────────────────────────────── */
.site-footer {
  background: var(--c-text);
  color: var(--c-bg-alt);
}

/* Azulejo-inspired tile bar */
.footer-tile-bar {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--c-accent)    0,      var(--c-accent)    16px,
    var(--c-accent-lt) 16px,   var(--c-accent-lt) 24px,
    var(--c-sage)      24px,   var(--c-sage)      40px,
    var(--c-sage-lt)   40px,   var(--c-sage-lt)   48px,
    var(--c-bg-alt)    48px,   var(--c-bg-alt)    56px
  );
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-10) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8);
  align-items: start;
}

.footer-brand {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  color: var(--c-bg);
  display: block;
  margin-bottom: var(--sp-2);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--c-surface);
  letter-spacing: 0.04em;
}

.footer-contact {
  font-size: 0.82rem;
  color: var(--c-surface);
  margin-top: var(--sp-4);
  line-height: 1.8;
}
.footer-contact a { color: var(--c-accent-lt); }
.footer-contact a:hover { color: var(--c-bg); text-decoration: none; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  text-align: right;
}
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-surface);
  text-decoration: none;
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--c-accent-lt); }

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-4);
  font-size: 0.78rem;
  color: var(--c-muted);
  letter-spacing: 0.03em;
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-top: var(--sp-4);
  }
}

/* ────────────────────────────────────────────
   6. BUTTONS
   ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.65rem 1.5rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover {
  background-color: var(--c-accent-dk);
  border-color: var(--c-accent-dk);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--sh-sm);
}
.btn-outline {
  background: transparent;
  color: var(--c-accent);
  border-color: var(--c-accent);
}
.btn-outline:hover {
  background-color: var(--c-accent);
  color: #fff;
  text-decoration: none;
}
.btn-dark {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
  font-size: 0.9rem;
  padding: 0.8rem 2rem;
}
.btn-dark:hover {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  text-decoration: none;
}
.btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 0.9rem;
}

/* ────────────────────────────────────────────
   7. SECTION HEADERS
   ──────────────────────────────────────────── */
.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--f-heading);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 400;
  margin-bottom: var(--sp-6);
}

.section-rule {
  width: 44px;
  height: 2px;
  background: var(--c-accent);
  margin-bottom: var(--sp-8);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 620px;
  line-height: 1.8;
}

/* ────────────────────────────────────────────
   8. PAGE HERO (inner pages)
   ──────────────────────────────────────────── */
.page-hero {
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-16) 0 var(--sp-12);
}

.page-hero-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}

.page-hero-title {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: var(--sp-4);
}

.page-hero-text {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 580px;
  line-height: 1.8;
}

/* ────────────────────────────────────────────
   9. HOME — HERO
   ──────────────────────────────────────────── */
.home-hero {
  padding: var(--sp-20) 0 var(--sp-16);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-16);
  align-items: center;
}

.hero-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}

.hero-name {
  font-family: var(--f-heading);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--sp-3);
}

.hero-title {
  font-family: var(--f-heading);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-style: italic;
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
}

.hero-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-muted);
  margin-bottom: var(--sp-8);
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--c-light);
  letter-spacing: 0.06em;
  margin-top: var(--sp-5);
}

/* Photo frame with decorative border offset */
.photo-frame {
  position: relative;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-md);
  display: block;
  position: relative;
  z-index: 1;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--c-surface);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-3);
  color: var(--c-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 1.5px solid var(--c-accent-lt);
  border-radius: var(--r-md);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 700px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .photo-frame {
    order: -1;
    max-width: 240px;
    margin: 0 auto;
  }
  .photo-frame::after { display: none; }
  .hero-bio { max-width: 100%; }
}

/* ────────────────────────────────────────────
   10. HOME — DUAL CAREER CARDS
   ──────────────────────────────────────────── */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.career-card {
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-accent);
  transition: box-shadow var(--t), transform var(--t);
}
.career-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.career-card--sage { border-top-color: var(--c-sage); }
.career-card--sage .career-card-icon { background: var(--c-sage-lt); color: var(--c-sage); }

.career-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--c-accent-lt);
  color: var(--c-accent-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.career-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.career-card h3 {
  font-family: var(--f-heading);
  font-size: 1.2rem;
  margin-bottom: var(--sp-3);
}

.career-card p {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.7;
}

.more-link {
  display: inline-block;
  margin-top: var(--sp-5);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--c-accent-lt);
  padding-bottom: 1px;
  transition: border-color var(--t), color var(--t);
}
.more-link:hover {
  color: var(--c-accent-dk);
  border-color: var(--c-accent-dk);
  text-decoration: none;
}

@media (max-width: 600px) {
  .dual-grid { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────
   11. QUOTE BLOCK
   ──────────────────────────────────────────── */
.quote-block {
  background: var(--c-text);
  padding: var(--sp-16) 0;
}

.quote-block blockquote {
  max-width: 680px;
  position: relative;
}

.quote-block blockquote::before {
  content: '\201C';
  font-family: var(--f-heading);
  font-size: 7rem;
  line-height: 0.7;
  color: var(--c-accent);
  opacity: 0.25;
  display: block;
  margin-bottom: 0.5rem;
  pointer-events: none;
}

.quote-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent-lt);
  margin-bottom: var(--sp-5);
}

.quote-block p {
  font-family: var(--f-heading);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--c-bg);
  margin-bottom: var(--sp-5);
}

.quote-block cite {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  color: var(--c-surface);
  font-style: normal;
}

/* ────────────────────────────────────────────
   12. TIMELINE (About page)
   ──────────────────────────────────────────── */
.timeline-section-label {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.timeline-section-label span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}

.timeline-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

.timeline { position: relative; }

.timeline-item {
  display: flex;
  gap: var(--sp-5);
  padding-bottom: var(--sp-10);
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-left {
  flex-shrink: 0;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0.15rem;
}

.timeline-year {
  font-family: var(--f-heading);
  font-size: 0.88rem;
  color: var(--c-accent);
  white-space: nowrap;
  text-align: right;
}

.timeline-country {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-light);
  margin-top: var(--sp-1);
}

.timeline-connector {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.3rem;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 2px solid var(--c-bg);
  box-shadow: 0 0 0 1.5px var(--c-accent);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, var(--c-accent-lt), var(--c-border));
  margin-top: 6px;
  min-height: 30px;
}
.timeline-item:last-child .timeline-line { display: none; }

.timeline-body { flex: 1; }

.timeline-role {
  font-family: var(--f-heading);
  font-size: 1.05rem;
  margin-bottom: var(--sp-1);
}

.timeline-place {
  font-size: 0.85rem;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.timeline-desc {
  font-size: 0.93rem;
  color: var(--c-muted);
  line-height: 1.7;
}

@media (max-width: 560px) {
  .timeline-left { width: 80px; }
  .timeline-year { font-size: 0.78rem; }
  .timeline-item { gap: var(--sp-3); }
}

/* ────────────────────────────────────────────
   13. SKILLS (About page)
   ──────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
}

.skill-group-title {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.skill-tag {
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 0.8rem;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 100px;
  border: 1px solid var(--c-border);
  letter-spacing: 0.02em;
}

.skill-tag--accent {
  background: var(--c-accent-lt);
  border-color: var(--c-accent-lt);
  color: var(--c-accent-dk);
}

/* Language bars */
.lang-list { display: flex; flex-direction: column; gap: var(--sp-5); }
.lang-item { display: flex; flex-direction: column; }

.lang-name {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: var(--sp-2);
}

.lang-level { color: var(--c-muted); font-size: 0.8rem; font-style: italic; }

.lang-bar {
  height: 3px;
  background: var(--c-border);
  border-radius: 3px;
}

.lang-bar-fill {
  height: 100%;
  background: var(--c-accent);
  border-radius: 3px;
}

/* ────────────────────────────────────────────
   14. CV PAGE
   ──────────────────────────────────────────── */
.cv-download-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-12) var(--sp-10);
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--sp-12);
}

.cv-download-box .cv-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--sp-5);
}

.cv-download-box h2 {
  font-family: var(--f-heading);
  font-size: 1.6rem;
  margin-bottom: var(--sp-3);
}

.cv-download-box p {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: var(--sp-6);
}

.cv-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--sp-5);
}

.cv-card {
  padding: var(--sp-6);
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}

.cv-card h3 {
  font-size: 0.9rem;
  font-family: var(--f-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}

.cv-card ul { display: flex; flex-direction: column; gap: var(--sp-2); }

.cv-card li {
  font-size: 0.88rem;
  color: var(--c-muted);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
  line-height: 1.5;
}
.cv-card li:last-child { border-bottom: none; padding-bottom: 0; }

.cv-card li strong {
  display: block;
  color: var(--c-text);
  font-size: 0.9rem;
}

/* ────────────────────────────────────────────
   15. CONNECT / SOCIAL PAGE
   ──────────────────────────────────────────── */

/* Channel cards — clean links without embed placeholders */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.channel-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.channel-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--c-accent-lt);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-icon--linkedin  { background: #0A66C2; }
.channel-icon--linkedin svg  { fill: #fff; stroke: none; }

.channel-icon--github    { background: #1b1f23; }
.channel-icon--github svg    { fill: #fff; stroke: none; }

.channel-icon--instagram { background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%); }
.channel-icon--instagram svg { fill: #fff; stroke: none; }

.channel-icon--pinterest { background: #E60023; }
.channel-icon--pinterest svg { fill: #fff; stroke: none; }

.channel-icon--email     { background: var(--c-accent); }
.channel-icon--email svg { stroke: #fff; fill: none; stroke-width: 1.5; }

.channel-text {
  flex: 1;
  min-width: 0;
}

.channel-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 2px;
}

.channel-value {
  display: block;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-arrow {
  flex-shrink: 0;
  color: var(--c-light);
  font-size: 1rem;
  transition: color 0.2s, transform 0.2s;
}

.channel-card:hover .channel-arrow {
  color: var(--c-accent);
  transform: translateX(3px);
}

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.contact-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
}

.contact-item-label {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: block;
  margin-bottom: var(--sp-2);
}

.contact-item-value {
  font-size: 0.93rem;
  color: var(--c-text);
}
.contact-item-value a { color: var(--c-accent); text-decoration: none; }
.contact-item-value a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ────────────────────────────────────────────
   16. UTILITIES
   ──────────────────────────────────────────── */
.section-cta { margin-top: var(--sp-8); }

/* Inline-style replacements */
.section-intro--spaced { margin-bottom: var(--sp-12); }

.container--center { text-align: center; }

.cta-tagline {
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
  font-size: 1.05rem;
}

.btn-row {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

.cv-note-text {
  color: var(--c-muted);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto var(--sp-6);
}

.lang-bar-fill--100 { width: 100%; }
.lang-bar-fill--95  { width: 95%;  }
.lang-bar-fill--90  { width: 90%;  }

.cv-card a { color: var(--c-accent); }


/* Hero entrance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow { animation: fadeUp 0.55s ease both; }
  .hero-name    { animation: fadeUp 0.55s 0.08s ease both; }
  .hero-title   { animation: fadeUp 0.55s 0.16s ease both; }
  .hero-bio     { animation: fadeUp 0.55s 0.24s ease both; }
  .hero-ctas    { animation: fadeUp 0.55s 0.32s ease both; }
  .hero-location{ animation: fadeUp 0.55s 0.38s ease both; }
  .photo-frame  { animation: fadeUp 0.65s 0.1s ease both; }
}


.divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--sp-12) 0;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-accent { color: var(--c-accent); }
.text-muted  { color: var(--c-muted); }

/* ────────────────────────────────────────────
   17. PROJECTS PAGE
   ──────────────────────────────────────────── */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-8);
  margin-top: var(--sp-10);
}

.project-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.project-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.project-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.project-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--c-bg-alt);
  flex-shrink: 0;
}

.project-card.featured .project-thumb {
  width: 240px;
  height: auto;
  min-height: 200px;
}

.project-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-accent);
}

.project-thumb-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.thumb-crosswalk {
  background-image:
    repeating-linear-gradient(0deg, var(--c-accent) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--c-accent) 0 1px, transparent 1px 24px);
}

.thumb-sql {
  background-image:
    repeating-linear-gradient(45deg, var(--c-sage) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(-45deg, var(--c-sage) 0 1px, transparent 1px 20px);
}

.thumb-placeholder {
  background-image:
    repeating-linear-gradient(0deg, var(--c-border) 0 1px, transparent 1px 32px);
}

.project-thumb-icon {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 28px;
  line-height: 1;
}

.project-body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.project-lang {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.project-status {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--c-muted);
}

.project-status::before {
  content: '·';
  margin-right: var(--sp-2);
}

.project-title {
  font-family: var(--f-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.25;
  margin: 0;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.65;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-2);
}

.project-tag {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-lt);
  opacity: 0.8;
  padding: 3px 8px;
  border-radius: 3px;
}

.project-links {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--c-accent-lt);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.project-link:hover {
  color: var(--c-accent-dk);
  border-color: var(--c-accent-dk);
}

.project-link svg {
  flex-shrink: 0;
}

.project-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  border: 2px dashed var(--c-border);
  border-radius: 8px;
  color: var(--c-light);
  margin-top: var(--sp-4);
}

.project-coming-soon p {
  font-size: 0.875rem;
  color: var(--c-light);
}

@media (max-width: 640px) {
  .project-card.featured {
    flex-direction: column;
  }
  .project-card.featured .project-thumb {
    width: 100%;
    height: 140px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ────────────────────────────────────────────
   18. PRINT
   ──────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .btn { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: none; }
}
