/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:   #DC7FAB;
  --purple: #35222C;
  --yellow: #F2E97C;
  --cream:  #F4EFD9;
  --text:   #35222C;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --section-gap: 70px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; }

p { font-size: 1.05rem; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===========================
   UTILITIES
=========================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-gap) 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(220,127,171,0.12);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(53,34,44,0.15); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--purple);
  color: var(--cream);
}

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

.btn-outline:hover { background: var(--purple); color: var(--cream); }

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(244,239,217,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(53,34,44,0.08);
  transition: opacity 0.4s;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.highlight {
  color: var(--pink);
  font-style: italic;
}

.hero-logo {
  height: clamp(120px, 20vw, 220px);
  width: auto;
  margin-bottom: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--purple);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }


.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--purple);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: unset;
  display: flex;
  align-items: flex-start;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--purple);
}

.dot { color: var(--pink); }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-style: normal;
  font-weight: 800;
  color: var(--purple);
  opacity: 0.75;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

/* Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.hero-blob {
  width: 500px; height: 500px;
  background: var(--pink);
  top: -100px; right: -100px;
}

.hero-blob--2 {
  width: 350px; height: 350px;
  background: var(--yellow);
  bottom: -50px; right: 200px;
}

/* ===========================
   ABOUT
=========================== */
.about { background: var(--purple); color: var(--cream); }
.about--tight { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.about .section-label { color: var(--yellow); background: rgba(242,233,124,0.15); }
.about h2 { color: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.image-placeholder {
  aspect-ratio: 3/4;
  background: rgba(244,239,217,0.08);
  border: 2px dashed rgba(244,239,217,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244,239,217,0.4);
  font-size: 0.9rem;
}

.about-text p { opacity: 0.85; }

.about-lead {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 1 !important;
  color: var(--cream);
  line-height: 1.5;
}

.about-inline-quote {
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--purple);
  opacity: 0.75;
  font-size: 0.95rem;
  border-left: 2px solid var(--pink);
  padding-left: 1rem;
}

.about-divider {
  border: none;
  border-top: 1.5px solid var(--pink);
  opacity: 0.4;
  margin: 1.5rem 0;
  width: 60px;
}

/* ===========================
   QUOTE
=========================== */
.quote-section {
  background-color: var(--purple);
  padding: 4rem 2.5rem;
}

.pull-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.5;
  position: relative;
}

.pull-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 300;
  color: var(--pink);
  letter-spacing: 0.08em;
}

/* ===========================
   WORK
=========================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.work-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(53,34,44,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(53,34,44,0.12);
}

.work-card-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(53,34,44,0.4);
  overflow: hidden;
}

.work-card-image--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card-body { padding: 1.1rem 1.1rem 2.75rem; position: relative; }
.work-card { cursor: pointer; }

.work-card-arrow {
  position: absolute;
  bottom: 1.1rem;
  right: 1.25rem;
  font-size: 1.2rem;
  color: var(--pink);
  transition: transform 0.2s;
  line-height: 1;
}
.work-card:hover .work-card-arrow { transform: translate(3px, -3px); }

/* ===========================
   PROJECT MODAL
=========================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(53,34,44,0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  overflow-y: auto;
  padding: 2rem 1rem 4rem;
}
.project-modal.open {
  opacity: 1;
  pointer-events: all;
}
.project-modal-inner {
  background: var(--cream);
  border-radius: var(--radius);
  width: 100%;
  max-width: 780px;
  min-height: 60vh;
  padding: 2rem;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.35s;
}
.project-modal.open .project-modal-inner {
  transform: translateY(0);
}
.project-modal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple);
  padding: 0;
  margin-bottom: 1.75rem;
  transition: gap 0.2s;
}
.project-modal-back:hover { gap: 0.7rem; }
.project-modal-back-arrow { font-size: 1.1rem; }

/* ── Top gallery ──────────────────────────────── */
.project-modal-gallery {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.project-modal-gallery::-webkit-scrollbar { height: 4px; }
.project-modal-gallery::-webkit-scrollbar-thumb { background: rgba(220,127,171,0.4); border-radius: 2px; }
.project-modal-gallery--single { overflow: hidden; }

.project-modal-media-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  margin: 0;
  background: #e8ddd5;
  aspect-ratio: 4/3;
}
.project-modal-media-item--full {
  flex: 0 0 100%;
  aspect-ratio: 16/7;
}
.project-modal-media-item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/* ── Inline media ─────────────────────────────── */
.project-modal-media-item--right {
  float: right;
  flex: none;
  width: 220px;
  margin: 0 0 0.75rem 1.25rem;
  aspect-ratio: 4/3;
}
.project-modal-media-item--block {
  flex: none;
  width: 100%;
  margin: 0.75rem 0;
  aspect-ratio: 16/7;
  clear: both;
}

.project-modal-img-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-modal-embed {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.project-modal-caption {
  font-size: 0.75rem;
  color: var(--purple);
  opacity: 0.5;
  padding: 0.35rem 0.5rem 0;
  font-style: italic;
}
.project-modal-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}
.project-modal-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1rem;
}
.project-modal-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--purple);
  opacity: 0.85;
  margin-bottom: 0.4rem;
}
.project-modal-subheader {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pink);
  margin: 1.4rem 0 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clear: both;
  border-bottom: 1px solid rgba(220,127,171,0.3);
  padding-bottom: 0.35rem;
}
.project-modal-subheader--sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  padding-bottom: 0;
  margin: 1rem 0 0.3rem;
}
.project-modal-subheader--sub::before {
  content: '·';
  color: var(--pink);
  margin-right: 0.45rem;
  font-size: 1.2rem;
  line-height: 0;
  vertical-align: middle;
}
.project-modal-box {
  float: right;
  width: 190px;
  margin: 0 0 1rem 1.5rem;
  background: var(--pink);
  color: var(--purple);
  padding: 1rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
}
.project-modal-box--wide {
  float: none;
  width: 100%;
  margin: 0 0 1.2rem 0;
}
.project-modal-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 1rem 0;
  clear: both;
}

.project-modal-strip img {
  flex: 1 1 0;
  min-width: 0;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-modal-strip img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(53,34,44,0.2);
}

/* Lightbox */
.strip-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(53,34,44,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.strip-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.strip-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.project-modal-list {
  margin: 0.2rem 0 0.5rem 1.1rem;
  padding: 0;
  color: var(--purple);
  opacity: 0.85;
  line-height: 1.6;
  font-size: 0.95rem;
}
.project-modal-list li { margin-bottom: 0.2rem; }
.project-modal-list--cols {
  columns: 2;
  column-gap: 1.5rem;
  list-style-position: outside;
  padding-left: 1.1rem;
  margin-left: 0;
}
.project-modal-list--highlight {
  background: rgba(220,127,171,0.1);
  border-left: 3px solid var(--pink);
  border-radius: 4px;
  padding: 0.6rem 0.75rem 0.6rem 1rem;
  margin-left: 0;
  list-style-position: inside;
}
.project-modal-content::after {
  content: '';
  display: table;
  clear: both;
}

.work-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.6rem;
}

/* ===========================
   EXPERIENCE (TIMELINE)
=========================== */
.experience { background: var(--yellow); }
.experience .section-label { color: var(--purple); background: rgba(53,34,44,0.08); }

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: rgba(53,34,44,0.2);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.45rem;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--yellow);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.3rem;
}

/* ===========================
   BRANDS
=========================== */
.brands-section {
  background: var(--purple);
  padding: 1.5rem 0;
  overflow: hidden;
}

.brands-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scroll-brands 20s linear infinite;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  opacity: 0.5;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes scroll-brands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cv-linkedin {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cv-linkedin p {
  font-size: 0.95rem;
  opacity: 0.6;
  margin: 0;
}

.cv-linkedin a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cv-linkedin a:hover {
  opacity: 0.75;
}

.timeline-company {
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.timeline-impact {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.7;
  line-height: 1.5;
}

.timeline-highlights {
  margin: 0.6rem 0 0 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--purple);
  opacity: 0.65;
  line-height: 1.7;
}
.timeline-highlights li { margin-bottom: 0.15rem; }

.timeline-footnote {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--purple);
  opacity: 0.5;
  font-style: italic;
  line-height: 1.5;
}

.impact-label {
  display: inline-block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 100px;
  padding: 0.1rem 0.55rem;
  margin-right: 0.4rem;
  vertical-align: middle;
  opacity: 1;
}

/* ===========================
   SKILLS & EDUCATION
=========================== */
.skills-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.skills-col {
  min-width: 0;
}

.skills-col h2 {
  white-space: nowrap;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.tool-logos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.tool-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.tool-logo--monday {
  height: 80px;
  max-width: 220px;
}

.skill-tags {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.skill-tag {
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 0.7rem;
}

.skill-tag:last-child { margin-bottom: 0; }
.skill-tag:hover { background: var(--purple); color: var(--cream); }

.cert-row {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(53,34,44,0.12);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.cert-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.cert-item p  { font-size: 0.85rem; opacity: 0.65; margin: 0; }

.tools-edu-divider {
  border-top: 1px solid rgba(53,34,44,0.12);
  margin: 2.5rem 0;
}

.edu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.edu-item {
  display: flex;
  align-items: flex-start;
}

.edu-item h4 { margin-bottom: 0.2rem; font-size: 0.95rem; }
.edu-item p { font-size: 0.85rem; opacity: 0.65; margin: 0; }

.edu-outcome {
  font-style: italic;
  opacity: 0.5 !important;
  margin-top: 0.2rem !important;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials { background: var(--purple); color: var(--cream); }
.testimonials .section-label { color: var(--yellow); background: rgba(242,233,124,0.15); }
.testimonials h2 { color: var(--cream); }

.testimonial-carousel { overflow: hidden; margin-top: 1rem; }

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
  min-width: 100%;
  background: rgba(244,239,217,0.07);
  border: 1px solid rgba(244,239,217,0.12);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-person strong { display: block; font-size: 1rem; }
.testimonial-person span { font-size: 0.85rem; opacity: 0.6; }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  background: rgba(244,239,217,0.1);
  border: 1px solid rgba(244,239,217,0.2);
  color: var(--cream);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-btn:hover { background: var(--pink); border-color: var(--pink); }

.carousel-dots { display: flex; gap: 6px; }

.dot-btn {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(244,239,217,0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.dot-btn.active { background: var(--pink); transform: scale(1.3); }

/* ===========================
   CONTACT
=========================== */
/* ===========================
   PICTURE & PERSONAL QUOTE
=========================== */
.lou-photo-section {
  overflow: hidden;
  max-height: 600px;
}

.lou-photo-full {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.personal-quote-section {
  background: var(--cream);
  padding: 5rem 2.5rem;
  text-align: center;
}

.personal-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto 1.5rem !important;
}

.personal-quote-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--pink);
  letter-spacing: 0.08em;
  display: block;
}

.contact { background: var(--pink); }
.contact .section-label { color: var(--purple); background: rgba(53,34,44,0.1); }
.contact h2 { color: var(--purple); }
.contact p { color: var(--purple); opacity: 0.85; font-size: 1.15rem; margin-bottom: 2.5rem; }

.contact-inner { text-align: center; }

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact .btn-primary { background: var(--purple); color: var(--cream); }
.contact .btn-outline { border-color: var(--purple); color: var(--purple); }
.contact .btn-outline:hover { background: var(--purple); color: var(--cream); }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--purple);
  color: rgba(244,239,217,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
}

.print-contact-footer { display: none; }

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  :root { --section-gap: 80px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(53,34,44,0.1);
  }
  .nav-toggle { display: block; }

  .hero { padding: 7rem 1.5rem 4rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { max-width: 300px; margin: 0 auto; width: 100%; }

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

  .skills-split { grid-template-columns: 1fr; gap: 2.5rem; }

  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-left: 1.5rem; }
  .timeline-dot { left: -1.95rem; }
}

/* ===========================
   PAGE SLIDING
=========================== */
.page-wrapper {
  display: flex;
  align-items: flex-start;
  width: 200vw;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.page-wrapper.bagom-active {
  transform: translateX(-50%);
}

.page-wrapper.bagom-active .page--main {
  height: 0;
  min-height: 0;
  overflow: hidden;
}

.page--main,
.page--bagom {
  width: 100vw;
  flex-shrink: 0;
}

/* ===========================
   BAGOM BUTTON IN MAIN NAV
=========================== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.print-cv-btn {
  background: transparent;
  border: 1.5px solid var(--pink);
  color: var(--pink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
}

.print-cv-btn:hover {
  background: var(--pink);
  color: var(--purple);
  transform: translateY(-2px);
}

.bagom-btn {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
}

.bagom-btn:hover {
  background: var(--purple);
  color: var(--cream);
  transform: translateX(3px);
}

/* ===========================
   BAGOM NAV
=========================== */
.bagom-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
}

.bagom-nav.visible {
  display: flex;
}

.bagom-back-btn {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.bagom-back-btn:hover {
  background: var(--purple);
  color: var(--cream);
  transform: translateX(-3px);
}

.bagom-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.bagom-nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--purple);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.bagom-nav-links a:hover { opacity: 1; }

/* ===========================
   BAGOM HERO
=========================== */
.bagom-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 5rem;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

.bagom-hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.bagom-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 800;
  color: var(--purple);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.bagom-hero-sub {
  font-size: 1.2rem;
  max-width: 780px;
  opacity: 0.75;
  margin-bottom: 0;
}

/* ===========================
   COLLAGE
=========================== */
.collage-grid {
  columns: 6;
  column-gap: 0.4rem;
  margin-top: 2rem;
}

.collage-item {
  break-inside: avoid;
  margin-bottom: 0.4rem;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: block;
}

.collage-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.collage-item {
  position: relative;
}
.face-cover {
  position: absolute;
  font-size: 2.2rem;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}

.collage-item--placeholder {
  border: 2px dashed rgba(53,34,44,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(53,34,44,0.4);
}

/* ===========================
   FUN FACTS — FLIP CARDS
=========================== */
.bagom-facts {
  background: var(--purple);
  color: var(--cream);
}

.bagom-facts h2 { color: var(--cream); }

.bagom-label {
  color: var(--pink) !important;
  background: rgba(220,127,171,0.15) !important;
}

.bagom-facts-sub {
  opacity: 0.6;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.flip-card {
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.flip-card-front {
  background: rgba(244,239,217,0.07);
  border: 1px solid rgba(244,239,217,0.15);
  gap: 0.75rem;
}

.flip-card-front p {
  color: var(--cream);
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0;
  line-height: 1.4;
}

.flip-card-back {
  background: var(--pink);
  transform: rotateY(180deg);
}

.flip-card-back p {
  color: var(--purple);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

.flip-q-mark {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
}

/* ===========================
   MANIFEST
=========================== */
.bagom-manifest {
  background: var(--yellow);
}

.bagom-label-yellow {
  color: var(--purple) !important;
  background: rgba(53,34,44,0.08) !important;
}

.manifest-stage {
  margin-top: 2.5rem;
  text-align: center;
}

.manifest-cards {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifest-card {
  display: none;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--purple);
  line-height: 1.3;
  max-width: 780px;
  margin: 0 auto;
  animation: manifestIn 0.4s ease forwards;
}

.manifest-card.active {
  display: block;
}

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

.manifest-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.manifest-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  background: transparent;
  color: var(--purple);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.manifest-btn:hover {
  background: var(--purple);
  color: var(--yellow);
}

.manifest-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple);
  opacity: 0.6;
  min-width: 40px;
  text-align: center;
}

/* ===========================
   ANBEFALINGER
=========================== */
.bagom-anbefalinger {
  background: var(--cream);
}

.reco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.reco-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(53,34,44,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.reco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(53,34,44,0.1);
}

.reco-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.reco-card h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.4rem;
}

.reco-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--purple);
}

.reco-why {
  font-size: 0.875rem;
  opacity: 0.6;
  margin: 0;
}

/* ===========================
   WORLD MAP
=========================== */
.bagom-verden {
  background: var(--purple);
  color: var(--cream);
}

.bagom-verden h2 { color: var(--cream); }

.world-map-wrap {
  margin: 2rem 0 1rem;
}

.world-map {
  position: relative;
  width: 100%;
  aspect-ratio: 950 / 620;
  border-radius: var(--radius);
  overflow: hidden;
}

.world-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.28;
  filter: brightness(0) invert(1);
}

.map-dots-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-dot-pin {
  fill: var(--pink);
  cursor: pointer;
  transition: r 0.2s;
}

.map-dot-pin:hover {
  fill: #fff;
  r: 7;
}

.map-dot-home {
  fill: var(--yellow);
  stroke: var(--pink);
  stroke-width: 2;
  cursor: default;
}

.map-note {
  color: rgba(244,239,217,0.5);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* ===========================
   NOTEBOOK CONTACT
=========================== */
.bagom-kontakt {
  background: var(--pink);
}

.bagom-kontakt .section-label {
  color: var(--purple);
  background: rgba(53,34,44,0.1);
}

.bagom-kontakt h2 { color: var(--purple); }

.notebook-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.notebook {
  background: #fffef7;
  border-radius: 4px 16px 16px 4px;
  box-shadow:
    -6px 0 0 var(--purple),
    4px 4px 20px rgba(53,34,44,0.15);
  width: 100%;
  max-width: 600px;
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(53,34,44,0.08) 31px,
    rgba(53,34,44,0.08) 32px
  );
  line-height: 32px;
}

.notebook-to {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1.5rem;
}

.notebook-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notebook-field input,
.notebook-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(53,34,44,0.2);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--purple);
  padding: 0.4rem 0;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.notebook-field input:focus,
.notebook-field textarea:focus {
  border-bottom-color: var(--purple);
}

.notebook-field input::placeholder,
.notebook-field textarea::placeholder {
  color: rgba(53,34,44,0.35);
}

.notebook-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.bagom-footer {
  background: var(--purple);
  color: rgba(244,239,217,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
}

/* Responsive for bagom */
@media (max-width: 768px) {
  .flip-cards-grid { grid-template-columns: 1fr 1fr; }
  .reco-grid { grid-template-columns: 1fr 1fr; }
  .collage-grid { columns: 3; }
  .bagom-nav-links { display: none; }
}

/* ===========================
   FLIP CARD INLINE IMAGE
=========================== */
.flip-card-img {
  display: none;
  width: 100%;
  max-height: 90px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0.75rem;
}

.flip-card-img[src]:not([src=""]) {
  display: block;
}


/* ===========================
   PRINT / PDF
=========================== */
@media print {

  @page {
    size: A4;
    margin: 1.8cm 2cm;
  }

  /* ── Reset sliding page layout ── */
  .page-wrapper {
    display: block !important;
    width: 100% !important;
    transform: none !important;
    overflow: visible !important;
  }
  .page--main  { width: 100% !important; min-height: auto !important; }
  .page--bagom { display: none !important; }

  /* ── Hide everything not in the CV ── */
  .nav,
  .bagom-nav,
  .quote-section,
  #work,
  .brands-section,
  #testimonials,
  .lou-photo-section,
  .personal-quote-section,
  #contact,
  footer,
  .project-modal,
  .lightbox-overlay,
  .game-modal,
  .hero-blob,
  .hero .btn,
  .print-cv-btn,
  .bagom-btn,
  .nav-toggle { display: none !important; }

  /* ── Make all reveal-animated elements visible ── */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* ── Global print clean-up ── */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
    animation: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* ── Collapse all section padding globally ── */
  .section {
    padding: 1.2rem 0 !important;
  }

  /* ── HERO ── */
  .hero {
    min-height: auto !important;
    padding: 0.8rem 2rem 0.6rem !important;
    background: white !important;
    overflow: visible !important;
  }
  .hero-eyebrow {
    opacity: 1 !important;
    color: var(--pink) !important;
    margin-bottom: 0.4rem !important;
  }
  .hero-title {
    font-size: 3rem !important;
    opacity: 1 !important;
    margin-bottom: 0 !important;
    line-height: 1.15 !important;
  }
  .hero-title .highlight { color: var(--pink) !important; }
  .hero-content { max-width: 100% !important; }

  /* ── ABOUT ── */
  .about {
    background: white !important;
    color: var(--purple) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .about .section-label {
    color: var(--purple) !important;
    background: rgba(220,127,171,0.15) !important;
  }
  .about h2  { color: var(--purple) !important; margin-bottom: 0.6rem !important; }
  .about-lead { color: var(--purple) !important; opacity: 1 !important; font-size: 1.05rem !important; }
  .about-text p { color: var(--purple) !important; opacity: 0.85 !important; margin-bottom: 0.4rem !important; }
  .about-inline-quote { color: var(--purple) !important; margin-top: 0.6rem !important; }
  .about-divider { margin: 0.7rem 0 !important; }
  .about-photo {
    width: 100% !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: top !important;
  }
  .about-grid {
    grid-template-columns: 0.55fr 1.5fr !important;
    gap: 1.5rem !important;
    align-items: start !important;
  }

  /* ── CV / EXPERIENCE ── */
  .experience { background: white !important; }
  .experience h2 { margin-bottom: 0.8rem !important; }
  .timeline-item {
    padding-bottom: 1.2rem !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .timeline-item:last-child { padding-bottom: 0 !important; }
  .timeline-content h3 { margin-bottom: 0.15rem !important; font-size: 1rem !important; }
  .timeline-company { margin-bottom: 0.3rem !important; }
  .timeline-content p { margin-bottom: 0.3rem !important; font-size: 0.88rem !important; }
  .timeline-impact { margin-top: 0.3rem !important; font-size: 0.85rem !important; }
  .timeline-dot {
    background: var(--pink) !important;
    border-color: var(--pink) !important;
  }
  .timeline::before { background: var(--pink) !important; opacity: 0.2 !important; }
  .timeline-impact { border-left-color: var(--pink) !important; }
  .impact-label { background: var(--pink) !important; color: white !important; }
  .timeline-highlights { margin-top: 0.3rem !important; font-size: 0.82rem !important; }
  .timeline-footnote { margin-top: 0.3rem !important; font-size: 0.78rem !important; }

  /* ── SKILLS / KOMPETENCER / TOOLS / EDUCATION ── */
  .skills { background: white !important; }
  .skills-split { gap: 1.5rem !important; }
  .skills-col .section-label { margin-bottom: 0.5rem !important; }
  .skill-tags {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.3rem 0.8rem !important;
    margin-top: 0.4rem !important;
  }
  .skill-tag {
    border-color: var(--purple) !important;
    color: var(--purple) !important;
    font-size: 0.78rem !important;
    padding: 0.25rem 0.8rem !important;
  }
  .tool-logos { gap: 0.5rem !important; }
  .tool-row { gap: 0.75rem !important; }
  .tool-logo { max-height: 24px !important; opacity: 0.75 !important; }
  .tool-logo--monday { max-height: 48px !important; }
  .edu-list { margin-top: 0.4rem !important; }
  .edu-item { margin-bottom: 0.6rem !important; }
  .edu-item h4 { font-size: 0.88rem !important; margin-bottom: 0.1rem !important; }
  .edu-item p { font-size: 0.82rem !important; }

  /* ── KURSER / CERTIFICATES ── */
  .cert-row { margin-top: 1rem !important; padding-top: 0.8rem !important; }
  .cert-grid { gap: 0.6rem !important; }
  .cert-item h4 { font-size: 0.88rem !important; margin-bottom: 0.1rem !important; }
  .cert-item p { font-size: 0.82rem !important; margin-bottom: 0.1rem !important; }
  .edu-outcome { font-size: 0.78rem !important; }

  /* ── PAGE BREAK HINTS ── */
  #experience { page-break-before: always; break-before: page; }
  #skills     { page-break-before: auto; }
  .cert-row   { page-break-inside: avoid; break-inside: avoid; }
  .timeline-highlights { page-break-inside: avoid; break-inside: avoid; }

  /* ── PRINT CONTACT FOOTER ── */
  .print-contact-footer {
    display: flex !important;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    border-top: 1.5px solid var(--pink);
    margin-top: 1.5rem;
    padding-top: 0.9rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--purple);
    opacity: 0.85;
  }
}
