/* ===================================================================
 *  Adriaan De Bolle — Personal Website
 *  2026
 * =================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --linen:    #F7F3EE;
  --linen2:   #EDE7DC;
  --linen3:   #DDD5C8;
  --ink:      #1C1917;
  --ink2:     #44403C;
  --muted:    #78716C;
  --terra:    #C2410C;
  --terra-l:  #EA580C;

  --sw:  #C2410C;
  --ar:  #334E68;
  --pr:  #4D7C6F;
  --pm:  #92400E;
}

html { scroll-behavior: smooth; }

/* Scroll Progress Indicator */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--terra), var(--terra-l));
  width: 0%;
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.2);
}

/* Image loading animation */
img {
  animation: imageLoad 0.6s ease-out;
}

@keyframes imageLoad {
  from {
    opacity: 0;
    filter: blur(2px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 0px rgba(194, 65, 12, 0); }
  50% { text-shadow: 0 0 10px rgba(194, 65, 12, 0.3); }
}

body {
  background: var(--linen);
  color: var(--ink);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===================================================================
 * # NAV
 * =================================================================== */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(247,243,238,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linen3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  opacity: 1;
  transition: opacity 0.2s;
  background-color: white;
  padding: 4px;
  border-radius: 4px;
}

.nav-logo:hover .nav-logo-img {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover { 
  color: var(--ink);
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--linen) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 2px;
  transition: all 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 16px rgba(28, 25, 23, 0.15) !important;
}

.nav-cv {
  background: var(--terra) !important;
  color: var(--linen) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 2px;
  font-weight: 500;
  transition: all 0.25s ease !important;
}

.nav-cv:hover {
  background: var(--terra-l) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 16px rgba(194, 65, 12, 0.2) !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===================================================================
 * # HERO
 * =================================================================== */

#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 7rem;
  gap: 5rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: slideInLeft 0.8s ease-out;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 26px;
  height: 1px;
  background: var(--terra);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
  animation: slideInLeft 0.8s ease-out 0.1s backwards;
}

h1 em { font-style: italic; color: var(--terra); }

.hero-bio {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 430px;
  line-height: 1.85;
  margin-bottom: 2.2rem;
  animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.hero-bio strong { color: var(--ink2); font-weight: 400; }

.hero-actions { 
  display: flex; 
  gap: 0.8rem; 
  flex-wrap: wrap;
  animation: slideInLeft 0.8s ease-out 0.3s backwards;
}

.btn-primary {
  background: var(--ink);
  color: var(--linen);
  padding: 0.78rem 1.7rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary:hover { 
  background: var(--ink2);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(28, 25, 23, 0.15);
}

.btn-ghost {
  color: var(--ink2);
  padding: 0.78rem 1.7rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid var(--linen3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-ghost:hover { 
  border-color: var(--ink2);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(28, 25, 23, 0.1);
}

/* Hero portrait + stats column */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: slideInRight 0.8s ease-out 0.2s backwards;
}

.hero-portrait {
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--linen3);
  transition: transform 0.3s ease;
}

.hero-portrait:hover {
  transform: scale(1.02);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s ease;
}

.hero-portrait:hover .hero-img {
  transform: scale(1.05);
}

/* Hero stats grid */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--linen3);
  border: 1px solid var(--linen3);
}

.stat-cell {
  background: var(--linen);
  padding: 1.8rem 1.6rem;
  transition: all 0.3s ease;
}

.stat-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(28, 25, 23, 0.1);
}

.stat-cell:first-child { background: var(--ink); }
.stat-cell:first-child .stat-n,
.stat-cell:first-child .stat-l { color: var(--linen); }
.stat-cell:first-child .stat-l { opacity: 0.45; }

.stat-cell:first-child:hover {
  box-shadow: 0 8px 16px rgba(28, 25, 23, 0.25);
}

.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.stat-l {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 4px;
}

/* ===================================================================
 * # SECTIONS — shared
 * =================================================================== */

section { 
  padding: 7rem 4rem;
  opacity: 1;
  animation: fadeIn 0.6s ease-out;
}

.section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terra);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: slideInLeft 0.6s ease-out;
}

.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--terra);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 3rem;
  animation: slideInLeft 0.6s ease-out 0.1s backwards;
}

h2 em { font-style: italic; color: var(--terra); }

/* ===================================================================
 * # EXPERTISE MAP
 * =================================================================== */

#skills { background: var(--linen2); }

.expertise-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.expertise-header p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
}

/* The 4-quadrant map */
.qmap {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  grid-template-rows: auto 160px auto;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.qmap-hline {
  grid-column: 1/-1;
  grid-row: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.qmap-hline::before,
.qmap-hline::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--linen3);
}

.qmap-vline {
  grid-column: 2;
  grid-row: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.qmap-vline::before,
.qmap-vline::after {
  content: '';
  display: block;
  flex: 1;
  width: 1px;
  background: var(--linen3);
}

/* Center circle */
.qmap-center {
  grid-column: 2;
  grid-row: 2;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  z-index: 4;
  position: relative;
}

.qmap-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quadrant panels */
.quad {
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.quad:hover {
  transform: translateY(-4px);
}

.quad-tl { grid-column: 1; grid-row: 1; text-align: right; padding-right: 2.2rem; padding-bottom: 2.2rem; animation: fadeInUp 0.6s ease-out 0.1s backwards; }
.quad-tr { grid-column: 3; grid-row: 1; text-align: left;  padding-left: 2.2rem;  padding-bottom: 2.2rem; animation: fadeInUp 0.6s ease-out 0.2s backwards; }
.quad-bl { grid-column: 1; grid-row: 3; text-align: right; padding-right: 2.2rem; padding-top: 2.2rem; animation: fadeInUp 0.6s ease-out 0.3s backwards; }
.quad-br { grid-column: 3; grid-row: 3; text-align: left;  padding-left: 2.2rem;  padding-top: 2.2rem; animation: fadeInUp 0.6s ease-out 0.4s backwards; }

/* Corner dots */
.quad::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 5;
  transition: all 0.3s ease;
}

.quad:hover::after {
  transform: scale(1.3);
}

.quad-tl::after { bottom: -4px; right: -4px; background: var(--sw); }
.quad-tr::after { bottom: -4px; left: -4px;  background: var(--ar); }
.quad-bl::after { top: -4px;   right: -4px; background: var(--pr); }
.quad-br::after { top: -4px;   left: -4px;  background: var(--pm); }

.quad-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.quad-tl .quad-title { color: var(--sw); }
.quad-tr .quad-title { color: var(--ar); }
.quad-bl .quad-title { color: var(--pr); }
.quad-br .quad-title { color: var(--pm); }

.quad-sub {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.quad-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.quad-tl .quad-tags,
.quad-bl .quad-tags { justify-content: flex-end; }

.quad-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  border: 1px solid var(--linen3);
  background: var(--linen);
  color: var(--ink2);
  transition: all 0.3s ease;
}

.quad-tag:hover {
  border-color: var(--terra);
  background: var(--linen2);
  transform: translateY(-1px);
}

/* Values row */
.values-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.value-pill {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--linen3);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.value-pill:nth-child(1) { animation-delay: 0.1s; }
.value-pill:nth-child(2) { animation-delay: 0.15s; }
.value-pill:nth-child(3) { animation-delay: 0.2s; }
.value-pill:nth-child(4) { animation-delay: 0.25s; }

.value-pill:hover {
  transform: translateY(-2px);
  border-color: var(--terra);
  color: var(--terra);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.15);
}

/* ===================================================================
 * # PROJECTS
 * =================================================================== */

#projects { background: var(--linen); }

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

.pcard {
  border: 1px solid var(--linen3);
  padding: 2rem;
  background: var(--linen2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.pcard::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.pcard:hover { 
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(28, 25, 23, 0.1);
}
.pcard:hover::after { transform: scaleX(1); }

.p-role {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terra);
  margin-bottom: 0.7rem;
}

.pcard h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.pcard p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.3rem;
}

.p-metrics {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--linen3);
}

.p-mv {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.p-mk {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 2px;
}

.p-stack { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.stack-chip {
  font-size: 0.63rem;
  padding: 0.16rem 0.48rem;
  border: 1px solid var(--linen3);
  border-radius: 2px;
  color: var(--muted);
  background: var(--linen);
}

/* ===================================================================
 * # EXPERIENCE / TIMELINE
 * =================================================================== */

#experience { background: var(--linen2); }

.timeline { max-width: 660px; }

.trow {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  animation: slideInLeft 0.6s ease-out forwards;
  opacity: 0;
}

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

.trow:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 110px;
  top: 0.4rem;
  bottom: 0;
  width: 1px;
  background: var(--linen3);
}

.t-date {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  padding-right: 2rem;
  padding-top: 0.2rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.tdot {
  position: absolute;
  left: 105px;
  top: 0.28rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terra);
  border: 2px solid var(--linen2);
  z-index: 2;
}

.tb h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.tb-org {
  font-size: 0.73rem;
  color: var(--terra);
  margin-bottom: 0.55rem;
  letter-spacing: 0.04em;
}

.tb p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ===================================================================
 * # ABOUT
 * =================================================================== */

#about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.about-portrait {
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--linen3);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  animation: slideInRight 0.6s ease-out 0.1s backwards;
}

.about-portrait:hover {
  transform: scale(1.02);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s ease;
}

.about-portrait:hover .about-img {
  transform: scale(1.05);
}

.about-text p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1rem;
  animation: slideInLeft 0.6s ease-out 0.1s backwards;
}

.about-text p strong { color: var(--ink2); font-weight: 400; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.badge {
  font-size: 0.67rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--linen3);
  border-radius: 2px;
  color: var(--ink2);
  background: var(--linen2);
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.badge:nth-child(1) { animation-delay: 0.1s; }
.badge:nth-child(2) { animation-delay: 0.15s; }
.badge:nth-child(3) { animation-delay: 0.2s; }
.badge:nth-child(4) { animation-delay: 0.25s; }
.badge:nth-child(5) { animation-delay: 0.3s; }
.badge:nth-child(6) { animation-delay: 0.35s; }

.badge:hover {
  transform: translateY(-2px);
  border-color: var(--terra);
  box-shadow: 0 4px 8px rgba(194, 65, 12, 0.1);
}

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.5;
  border-left: 2px solid var(--terra);
  padding-left: 1.4rem;
  margin-bottom: 2rem;
  animation: slideInLeft 0.6s ease-out 0.1s backwards;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.lang-cell {
  background: var(--linen2);
  border: 1px solid var(--linen3);
  padding: 0.65rem 0.75rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.lang-cell:nth-child(1) { animation-delay: 0.1s; }
.lang-cell:nth-child(2) { animation-delay: 0.15s; }
.lang-cell:nth-child(3) { animation-delay: 0.2s; }
.lang-cell:nth-child(4) { animation-delay: 0.15s; }
.lang-cell:nth-child(5) { animation-delay: 0.2s; }
.lang-cell:nth-child(6) { animation-delay: 0.25s; }

.lang-cell:hover {
  transform: translateY(-2px);
  border-color: var(--terra);
  box-shadow: 0 4px 8px rgba(194, 65, 12, 0.1);
}

.lang-n { font-size: 0.8rem; color: var(--ink); font-weight: 400; }

.lang-l {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ===================================================================
 * # CONTACT
 * =================================================================== */

#contact {
  background: var(--ink);
  color: var(--linen);
  text-align: center;
}

#contact .section-label { color: var(--terra-l); justify-content: center; }
#contact .section-label::before { background: var(--terra-l); }
#contact h2 { color: var(--linen); margin-bottom: 0.8rem; }

.c-sub {
  color: rgba(247,243,238,0.45);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.c-email {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--linen);
  text-decoration: none;
  border-bottom: 1px solid rgba(247,243,238,0.25);
  padding-bottom: 0.2rem;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
}

.c-email:hover { 
  border-color: var(--terra-l);
  transform: translateY(-2px);
}

.c-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.c-link {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,243,238,0.35);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.c-link:hover {
  color: var(--terra-l);
  transform: translateY(-2px);
}

.c-link:hover { color: var(--linen); }

/* ===================================================================
 * # FOOTER
 * =================================================================== */

footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.4rem 4rem;
  display: flex;
  justify-content: space-between;
  animation: fadeIn 0.6s ease-out 0.3s backwards;
}

footer p {
  font-size: 0.7rem;
  color: rgba(247,243,238,0.22);
  transition: color 0.3s ease;
}

footer p:hover {
  color: rgba(247,243,238,0.45);
}

/* ===================================================================
 * # RESPONSIVE
 * =================================================================== */

@media (max-width: 800px) {
  nav { padding: 1rem 1.5rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247,243,238,0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--linen3);
  }

  .nav-toggle { display: block; }

  section,
  #hero { padding: 5rem 1.5rem 3rem; }

  #hero { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .hero-portrait { max-width: 400px; }

  #about { grid-template-columns: 1fr; gap: 2.5rem; }

  .expertise-header { grid-template-columns: 1fr; gap: 1.2rem; }

  .qmap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .qmap-hline,
  .qmap-vline { display: none; }

  .qmap-center {
    width: 120px;
    height: 120px;
    order: -1;
  }

  .quad {
    text-align: center !important;
    padding: 1.5rem 0 !important;
    border-bottom: 1px solid var(--linen3);
    width: 100%;
  }

  .quad:last-child { border-bottom: none; }

  .quad::after { display: none; }

  .quad-tags { justify-content: center !important; }

  .values-row { gap: 0.8rem; }

  .trow { grid-template-columns: 1fr; }
  .t-date { text-align: left; padding-right: 0; }
  .tdot,
  .trow::after { display: none; }

  footer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

/* ===================================================================
 * # ACCESSIBILITY — Reduced Motion
 * =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .cursor-tail {
    display: none;
  }
}

/* Hide motion toggle if system prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .motion-toggle {
    opacity: 0.5;
  }
}
