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

  :root {
    --cream: #fdf8f2;
    --blush: #f5e6d8;
    --dusty-rose: #e8c4b0;
    --terracotta: #c4896a;
    --sage: #8fa98c;
    --sage-light: #d4e4d2;
    --warm-brown: #6b4c3b;
    --text-dark: #2d1f17;
    --text-mid: #7a5c4e;
    --text-light: #b8957f;
    --white: #fffdf9;
    --pastel-blue: #a2bffe;
    --orange: #d26151;
    --flag-green: #22a71e;
    --flag-red: #e3223e;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ─── PARALLAX ENGINE ─── */
  .parallax-section {
    position: relative;
    overflow: hidden;
  }

  .parallax-bg {
    position: absolute;
    inset: -20%;
    will-change: transform;
    pointer-events: none;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    color: var(--cream);
    backdrop-filter: blur(120px);
    border-bottom: 1px solid rgba(196, 137, 106, 0.15);
    transition: all 0.4s ease;
  }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--cream);
  }

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

  .nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.3s;
  }

  .nav-links a:hover { color: var(--cream); }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    background: var(--pastel-blue);
    position: relative;
  }

  .hero-text {
    position: relative;
    z-index: 2;
    max-width: 680px;
  }

  .hero-bg-shape {
    position: absolute;
    border-radius: 20%;
    pointer-events: none;
  }

  .shape-1 {
    width: 1800px; height: 1800px;
    background: radial-gradient(circle, #f5e6d8 0%, transparent 70%);
    right: -950px; top: -400px;
  }

  .hero-img {
    position: relative;
    background-position: center;
    background-size: cover;
    z-index: 2;
    top: 450px;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

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

  h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
  }

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

  .hero-tagline {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--white);
    max-width: 420px;
    margin-bottom: 2.5rem;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: var(--warm-brown);
    color: var(--cream);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .hero-cta:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(107, 76, 59, 0.2);
  }

  /* ─── SECTIONS ─── */
  section { padding: 7rem 3rem; }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
    font-weight: 500;
  }

  h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 3rem;
  }

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

  /* ─── ANGLED SECTION DIVIDERS ─── */
  /*
    Each section gets a clipped top/bottom edge to create a rotated transition.
    Alternating positive (+2deg tilt) and negative (-2deg tilt) angles.
    The overlap trick: negative margin-top pulls sections up so the angle fills the gap.
  */

  .angled {
    position: relative;
    z-index: 1;
  }

  /* #about: tilts DOWN from left → right (positive angle) */
  #about {
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
    margin-top: -40px;
    padding-top: calc(7rem + 40px);
    padding-bottom: calc(7rem + 40px);
    z-index: 2;
    background: var(--sage);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  /* #skills: tilts UP from left → right (negative angle) — now follows #about directly */
  #skills {
    clip-path: polygon(0 0, 100% 40px, 100% calc(100% - 40px), 0 100%);
    margin-top: -40px;
    padding-top: calc(7rem + 40px);
    padding-bottom: calc(7rem + 40px);
    z-index: 3;
  }

  /* #flags: tilts DOWN (positive angle) */
  #flags {
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
    margin-top: -40px;
    padding-top: calc(7rem + 40px);
    padding-bottom: calc(7rem + 40px);
    z-index: 4;
  }

  /* #contact: tilts UP (negative) */
  #contact {
    clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 100%);
    margin-top: -40px;
    padding-top: calc(7rem + 40px);
    z-index: 5;
  }

  footer {
    position: relative;
    z-index: 7;
  }

  /* ─── ABOUT BAND ─── */
  .big-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--sage-light);
    border-left: 3px solid var(--sage-light);
    padding-left: 2rem;
    margin-bottom: 2rem;
  }

  .about-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--sage-light);
    font-weight: 300;
  }

  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .stat-card {
    background: var(--sage-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(196, 137, 106, 0.15);
  }

  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--sage);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.05em;
  }

  .tag {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.85rem;
    background: var(--blush);
    color: var(--warm-brown);
    border-radius: 50px;
    border: 1px solid var(--dusty-rose);
  }

  /* ─── PHOTO A ─── */


    div.gallery {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      width: 100%;
    }

    div.gallery-item {
      margin: auto;
      overflow: hidden;
      border-radius: 50px;
    }

    div.gallery-item img {
      width: 100%;
      height: auto;
    }


  /* ─── SKILLS ─── */
  #skills { background: var(--sage-light); }

  .skills-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: start;
  }

  .skills-groups { display: flex; flex-direction: column; gap: 2.5rem; }

  .skill-group-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.25rem;
    font-weight: 500;
  }

  .skill-bars { display: flex; flex-direction: column; gap: 1.2rem; }

  .skill-bar-wrap { box-sizing: border-box; }

  .skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
  }

  .skill-name {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
  }

  .skill-pct {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-light);
  }

  .skill-track {
    height: 4px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--warm-brown), var(--terracotta));
  }

  /* ─── FLAGS & OBJECTIVES ─── */
  #flags { background: var(--pastel-blue); }

  .flags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
  }

  .flag-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
  }

  .flag-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .flag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(107, 76, 59, 0.1);
  }

  .flag-card.green { border-color: var(--flag-green); }
  .flag-card.red { border-color: var(--flag-red); }
  .flag-card.objective { border-color: var(--white); background: var(--warm-brown); }

  .flag-icon {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    width: 44px; height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }

  .flag-card.green .flag-icon { background-color: var(--flag-green); }
  .flag-card.red .flag-icon { background-color: var(--flag-red);  }
  .flag-card.objective .flag-icon { background: rgba(255, 255, 255, 0.15); }

  .flag-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }

  .flag-card.objective .flag-title { color: var(--cream); }

  .flag-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .flag-list li {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-mid);
    font-weight: 300;
    padding-left: 1.1rem;
    position: relative;
  }

  .flag-card.objective .flag-list li { color: rgba(253, 248, 242, 0.75); }

  .flag-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px; height: 5px;
    border-radius: 50%;
  }

  .flag-card.green .flag-list li::before { background: var(--sage); }
  .flag-card.red .flag-list li::before { background: var(--terracotta); }
  .flag-card.objective .flag-list li::before { background: var(--dusty-rose); }

  /* ─── CONTACT ─── */
  #contact {
    background: var(--warm-brown);
    text-align: center;
    padding: 7rem 3rem;
    position: relative;
    overflow: hidden;
  }

  #contact::before {
    content: 'au plaisir';
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20vw;
    font-weight: 300;
    color: rgba(255,255,255,0.04);
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  #contact .section-label { color: var(--dusty-rose); }

  #contact h2 {
    color: var(--cream);
    margin-bottom: 1.5rem;
  }

  #contact h2 em { color: var(--dusty-rose); }

  .contact-sub {
    font-size: 1rem;
    color: rgba(253, 248, 242, 0.6);
    font-weight: 300;
    margin-bottom: 3rem;
  }

  .contact-email {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--dusty-rose);
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 137, 106, 0.4);
    padding-bottom: 0.25rem;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
  }

  .contact-email:hover {
    color: var(--cream);
    border-color: var(--cream);
  }

  /* ─── SCROLL REVEAL ─── */
  .reveal {
    opacity: 50;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.25s; }
  .reveal-delay-3 { transition-delay: 0.4s; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--text-dark);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  footer p {
    font-size: 0.78rem;
    color: rgba(253, 248, 242, 0.35);
    font-weight: 300;
    letter-spacing: 0.05em;
  }

  @media (max-width: 768px) {
    #hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; }
    #about { grid-template-columns: 1fr; }
    .flags-grid { grid-template-columns: 1fr; }
    .skills-layout { grid-template-columns: 1fr; }
    .exp-entry { grid-template-columns: 1fr; gap: 1rem; }
    .exp-meta { text-align: left; padding-right: 0; }
    nav { padding: 1rem 1.5rem; }
    .nav-links { gap: 1.5rem; }
    #about, #skills, #flags, #contact {
      clip-path: none;
      margin-top: 0;
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
  }
