/* =========================================
   RESET
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family: 'Montserrat', sans-serif;

  color: #111;
  background: #fff;
}


/* =========================================
   NAVIGATION
========================================= */

.site-header {

  height: 56px;

  padding: 0 7.5%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(
    90deg,
    #8c6a88,
    #bf657c
  );

  color: white;
}


/* Brand */

.site-brand {
  text-decoration: none;
  color: white;

  display: flex;
  flex-direction: column;
}

.brand-name {

  font-family: 'Playfair Display', serif;

  font-size: 16px;
  font-weight: 700;

  line-height: 16px;
}

.brand-title {

  font-size: 7px;
  line-height: 9px;

  letter-spacing: 0.1px;
}


/* Navigation */

.main-nav {

  display: flex;
  gap: 12px;

  align-items: center;
}

.main-nav a {

  color: white;

  text-decoration: none;

  font-size: 11px;
  font-weight: 600;

  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.65;
}

.main-nav a.active {
  font-weight: 700;
}



/* =========================================
   INTRO
========================================= */

.intro {

  width: 85%;

  max-width: 760px;

  margin: 35px auto 0;

  display: grid;

  grid-template-columns: 245px 1fr;

  gap: 55px;

  align-items: center;
}


/* Photo */

.intro-photo {

  width: 215px;
  height: 215px;

  border-radius: 50%;

  overflow: hidden;

  background: #cba0f5;
}

.intro-photo img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


/* If there is no image yet */

.intro-photo:has(img[src="images/about-photo.jpg"]) {
  background: #cba0f5;
}


/* Intro text */

.intro-copy h1 {

  font-size: 31px;

  line-height: 1.1;

  margin-bottom: 4px;

  font-weight: 700;
}

.intro-copy p {

  max-width: 490px;

  font-size: 15px;

  line-height: 1.23;

  margin-bottom: 17px;
}

.outside-design {
  margin-top: 13px;
}


/* =========================================
   EDUCATION
========================================= */

.education {

  width: 85%;

  max-width: 760px;

  margin: 35px auto 0;

  position: relative;

  min-height: 130px;

  padding-left: 22px;
}


/* Vertical line */

.education-line {

  position: absolute;

  left: 35px;

  top: 15px;

  width: 3px;

  height: 63px;

  background: #8af1f1;

  border-radius: 10px;
}


/* Individual education */

.education-item {

  display: flex;

  align-items: center;

  gap: 20px;

  margin-bottom: 20px;
}

.education-dot {

  width: 29px;
  height: 29px;

  border-radius: 50%;

  background: #8af1f1;

  flex-shrink: 0;
}

.education-item h3 {

  font-size: 15px;

  font-weight: 500;

  line-height: 1.2;
}

.education-item p {

  font-size: 15px;

  line-height: 1.2;
}


/* =========================================
   SPACES
========================================= */

.spaces {

  width: 85%;

  max-width: 760px;

  margin: 75px auto 0;
}

.spaces h2,
.life h2 {

  font-size: 29px;

  line-height: 1.15;

  font-weight: 700;
}


/* =========================================
   NETWORK GRAPHIC
========================================= */

.network {

  width: 700px;
  max-width: 100%;

  height: 470px;

  position: relative;

  margin: 15px auto 0;
}


/* SVG lines */

.network-lines {

  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;
}

.line {

  fill: none;

  stroke-width: 2;

  opacity: 0.8;
}

.cyan-line {
  stroke: #8fd8e8;
}

.pink-line {
  stroke: #d891c5;
}

.purple-line {
  stroke: #b16be8;
}

.green-line {
  stroke: #a7df5c;
}

.red-line {
  stroke: #ff7777;
}

.orange-line {
  stroke: #dca05a;
}


/* =========================================
   NETWORK NODES
========================================= */

.network-main,
.network-node {

  position: absolute;

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;
}


/* Main nodes */

.network-main {

  width: 66px;
  height: 66px;

  z-index: 2;

  font-size: 8px;

  text-align: center;

  color: white;

  font-weight: 700;
}


/* Small nodes */

.network-node {

  width: 45px;
  height: 45px;

  z-index: 2;
}


/* CYAN */

.cyan-main {

  left: 145px;
  top: 210px;

  background: #54e7e7;
}

.cyan-node {
  background: #92f1f1;
}

.node-c1 {
  left: 55px;
  top: 190px;
}

.node-c2 {
  left: 95px;
  top: 160px;
}

.node-c3 {
  left: 95px;
  top: 230px;
}


/* PINK */

.pink-main {

  left: 280px;
  top: 130px;

  background: #f05cae;
}

.pink-node {
  background: #f494c5;
}

.node-p1 {
  left: 245px;
  top: 65px;
}

.node-p2 {
  left: 330px;
  top: 65px;
}

.node-p3 {
  left: 285px;
  top: 5px;
}


/* PURPLE */

.purple-main {

  left: 435px;
  top: 155px;

  background: #a25de5;
}

.purple-node {
  background: #c999f0;
}

.node-pr1 {
  left: 500px;
  top: 105px;
}

.node-pr2 {
  left: 550px;
  top: 135px;
}

.node-pr3 {
  left: 510px;
  top: 205px;
}

.node-pr4 {
  left: 455px;
  top: 215px;
}


/* GREEN */

.green-main {

  left: 210px;
  top: 285px;

  background: #99f15e;
}

.green-node {
  background: #c5fa9b;
}

.node-g1 {
  left: 130px;
  top: 300px;
}

.node-g2 {
  left: 220px;
  top: 340px;
}

.node-g3 {
  left: 285px;
  top: 305px;
}


/* RED */

.red-main {

  left: 395px;
  top: 300px;

  background: #ff6969;
}

.red-node {
  background: #ff9d9d;
}

.node-r1 {
  left: 470px;
  top: 285px;
}

.node-r2 {
  left: 510px;
  top: 330px;
}

.node-r3 {
  left: 430px;
  top: 360px;
}

.node-r4 {
  left: 490px;
  top: 390px;
}



/* =========================================
   LIFE / PHOTO COLLAGE
========================================= */

.life {

  width: 85%;

  max-width: 760px;

  margin: 40px auto 80px;
}

.life h2 {
  margin-bottom: 24px;
}


/* Masonry-ish layout */

.life-grid {

  display: grid;

  grid-template-columns:
    1fr
    1fr
    0.48fr;

  grid-template-rows:
    68px
    130px
    145px;

  gap: 12px;
}


/* Cards */

.life-card {

  overflow: hidden;

  border-radius: 18px;

  background: #ddd;
}

.life-card img {

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.life-card:hover img {
  transform: scale(1.04);
}


/* First column */

.life-card-wide {
  grid-column: 1;
  grid-row: 1;
}

.life-card:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}


/* Second column */

.life-card-large {
  grid-column: 2;
  grid-row: 1 / span 2;
}


/* Third column */

.life-card-tall {
  grid-column: 3;
  grid-row: 1 / span 2;
}


/* Bottom row */

.life-card:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
}

.life-card:nth-child(6) {
  grid-column: 2;
  grid-row: 3;
}

.life-card:nth-child(7) {
  grid-column: 3;
  grid-row: 3;
}


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

footer {

  padding: 25px;

  text-align: center;

  font-size: 10px;

  background: #252422;

  color: #f6f4d2;
}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .site-header {

    height: auto;

    padding: 15px 6%;

    gap: 15px;

    flex-direction: column;

    align-items: flex-start;
  }

  .main-nav {
    gap: 10px;

    flex-wrap: wrap;
  }


  .intro {

    width: 88%;

    grid-template-columns: 1fr;

    gap: 25px;

    margin-top: 35px;
  }

  .intro-photo {

    width: 180px;
    height: 180px;

    margin: auto;
  }

  .intro-copy h1 {
    font-size: 28px;
  }

  .intro-copy p {
    font-size: 14px;
  }


  .education {

    width: 88%;

    margin-top: 40px;
  }


  .spaces {

    width: 88%;

    margin-top: 55px;
  }

  .spaces h2,
  .life h2 {

    font-size: 24px;
  }


  .network {

    height: 390px;

    transform-origin: top center;

    transform: scale(0.8);

    width: 125%;
    margin-left: -12.5%;
  }


  .life {

    width: 88%;

    margin-top: 20px;
  }


  .life-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    grid-template-rows: repeat(4, 120px);

    gap: 10px;
  }

  .life-card,
  .life-card-wide,
  .life-card-large,
  .life-card-tall,
  .life-card:nth-child(4),
  .life-card:nth-child(5),
  .life-card:nth-child(6),
  .life-card:nth-child(7) {

    grid-column: auto;
    grid-row: auto;
  }

}






















/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: 'Montserrat', sans-serif;

    background: #f8f7f4;
    color: #573b53;

    line-height: 1.5;
}


/* =========================================================
   COLORS
========================================================= */

:root {
    --purple: #573b53;
    --purple-light: #d9c8d5;
    --purple-mid: #9a718f;

    --pink: #c65c7a;

    --cream: #f8f7f4;
    --white: #ffffff;

    --max-width: 1100px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    width: 100%;

    min-height: 70px;

    padding: 12px 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(
        100deg,
        #856b86,
        #c35d7b
    );

    color: white;
}


/* Brand */

.brand {
    display: flex;
    flex-direction: column;

    text-decoration: none;
    color: white;
}

.brand-name {
    font-family: 'Playfair Display', serif;

    font-size: 1.15rem;
    font-weight: 700;

    line-height: 1;
}

.brand-subtitle {
    margin-top: 3px;

    font-size: 0.55rem;
    font-weight: 500;

    opacity: 0.9;
}


/* Navigation */

.main-nav {
    display: flex;
    gap: 22px;
}

.main-nav a {
    color: white;

    text-decoration: none;

    font-size: 0.75rem;
    font-weight: 600;

    position: relative;

    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.7;
}

.main-nav a.active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -6px;

    height: 2px;

    background: white;
}


/* =========================================================
   MAIN
========================================================= */

.about-page {

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding: 55px 0 100px;
}


/* =========================================================
   INTRO
========================================================= */

.intro {

    display: grid;

    grid-template-columns:
        minmax(220px, 300px)
        minmax(350px, 1fr);

    gap: 55px;

    align-items: center;

    max-width: 900px;

    margin: 0 auto 30px;
}


/* Portrait */

.portrait {

    width: 100%;
    aspect-ratio: 1 / 1;

    border-radius: 50%;

    overflow: hidden;

    background: var(--purple-light);
}

.portrait img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* Intro card */

.intro-card {

    background: var(--purple-light);

    border-radius: 24px;

    padding: 28px 32px;

    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-card h1 {

    font-size: 2rem;

    line-height: 1.1;

    margin-bottom: 8px;

    color: var(--purple);
}

.intro-card p {

    font-size: 0.88rem;

    line-height: 1.45;

    color: #674b62;

    max-width: 600px;
}

.intro-card p + p {
    margin-top: 6px;
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.info-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    max-width: 900px;

    margin: 0 auto;
}

.info-card {

    background: var(--purple-light);

    border-radius: 24px;

    padding: 25px 28px;

    min-height: 250px;
}

.info-card h2 {

    font-size: 1rem;

    text-transform: uppercase;

    letter-spacing: 0.02em;

    margin-bottom: 25px;

    color: var(--purple);
}


/* Individual entries */

.entry {
    margin-bottom: 20px;
}

.entry:last-child {
    margin-bottom: 0;
}

.entry h3 {

    font-size: 0.83rem;

    font-weight: 700;

    color: var(--purple);

    margin-bottom: 1px;
}

.entry p {

    font-size: 0.76rem;

    line-height: 1.4;

    color: #674b62;
}

.entry span {

    display: block;

    margin-top: 1px;

    font-size: 0.72rem;

    font-style: italic;

    color: #74596f;
}


/* Experience list */

.entry ul {

    padding-left: 17px;

    margin-top: 5px;
}

.entry li {

    font-size: 0.74rem;

    line-height: 1.4;

    margin-bottom: 3px;

    color: #674b62;
}


/* =========================================================
   WHAT I MAKE
========================================================= */

.what-i-make {

    max-width: 900px;

    margin: 60px auto 0;
}


/* Heading */

.section-heading {

    display: flex;

    align-items: baseline;

    gap: 15px;

    margin-bottom: 25px;
}

.section-heading span {

    font-size: 0.7rem;

    font-weight: 700;

    color: var(--pink);
}

.section-heading h2 {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    color: var(--purple);
}


/* Discipline cards */

.discipline-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.discipline-card {

    position: relative;

    display: block;

    min-height: 190px;

    padding: 25px;

    border-radius: 20px;

    background: white;

    border: 1px solid #e4d9e1;

    color: var(--purple);

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.discipline-card:hover {

    transform: translateY(-6px);

    background: var(--purple);

    color: white;

    box-shadow:
        0 15px 35px rgba(87, 59, 83, 0.15);
}

.discipline-number {

    font-size: 0.65rem;

    font-weight: 700;

    color: var(--pink);
}

.discipline-card h3 {

    margin-top: 40px;

    font-size: 1rem;

    line-height: 1.2;
}

.discipline-card p {

    margin-top: 7px;

    font-size: 0.7rem;

    line-height: 1.4;

    opacity: 0.75;
}


/* =========================================================
   CLOSING
========================================================= */

.about-closing {

    max-width: 900px;

    margin: 60px auto 0;

    padding: 65px 40px;

    text-align: center;

    background: var(--purple);

    border-radius: 28px;

    color: white;
}

.about-closing h3 {

    max-width: 650px;

    margin: 0 auto 30px;

    font-family: 'Montserrat';

    font-weight: 400;

    
    line-height: 1.15;
}

.about-closing em {
    color: #e6cddd;
}


/* Button */

.button {

    display: inline-block;

    padding: 12px 22px;

    border-radius: 100px;

    background: white;

    color: var(--purple);

    text-decoration: none;

    font-size: 0.75rem;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {

    transform: translateY(-2px);

    background: #f1e5ed;
}


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

.site-footer {

    padding: 30px 5vw;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: var(--purple);

    color: white;

    font-size: 0.7rem;
}

.site-footer div {

    display: flex;

    gap: 20px;
}

.site-footer a {

    color: white;

    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .intro {

        grid-template-columns:
            200px
            1fr;

        gap: 30px;
    }

    .intro-card {
        padding: 24px;
    }

    .intro-card h1 {
        font-size: 1.6rem;
    }

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

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-header {

        padding: 15px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .main-nav {

        width: 100%;

        justify-content: space-between;

        gap: 8px;
    }

    .main-nav a {
        font-size: 0.65rem;
    }


    .about-page {

        width: calc(100% - 30px);

        padding-top: 35px;
    }


    /* Intro becomes vertical */

    .intro {

        display: flex;

        flex-direction: column;

        gap: 20px;

        align-items: center;
    }

    .portrait {

        width: 190px;
    }

    .intro-card {

        width: 100%;

        min-height: auto;

        padding: 25px;
    }


    /* Cards stack */

    .info-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .info-card {
        min-height: auto;
    }


    .what-i-make {
        margin-top: 70px;
    }


    .about-closing {

        margin-top: 60px;

        padding: 45px 25px;
    }


    .site-footer {

        flex-direction: column;

        gap: 15px;
    }

}

/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {

    max-width: 900px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    grid-template-rows:
        300px
        270px
        auto;

    gap: 24px;
}


/* =========================================================
   SHARED CARD STYLING
========================================================= */

.about-hero > div {

    border-radius: 26px;

    overflow: hidden;
}


/* =========================================================
   PHOTO
========================================================= */

.hero-photo {

    position: relative;

    background: #d9c8d5;

    min-height: 300px;
}

.hero-photo img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* Optional soft overlay */

.hero-photo::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(87, 59, 83, 0.12)
        );

    pointer-events: none;
}


/* =========================================================
   MAIN INTRO CARD
========================================================= */

.hero-intro {

    position: relative;

    padding: 35px;

    background: #573b53;

    color: white;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


/* Number */

.card-number {

    display: block;

    margin-bottom: 30px;

    font-size: 0.72rem;

    font-weight: 700;

    color: #d85f7c;

    letter-spacing: 0.04em;
}


/* Heading */

.hero-intro h1 {

    margin: 0;

    font-family: 'Playfair Display', serif;

    font-size: clamp(
        2.5rem,
        5vw,
        4rem
    );

    line-height: 0.95;

    letter-spacing: -0.04em;
}

.hero-intro h1 em {

    color: #d9c8d5;

    font-style: italic;
}


/* Description */

.hero-intro p {

    max-width: 440px;

    margin-top: 22px;

    font-size: 0.85rem;

    line-height: 1.55;

    color: #eadfe8;
}


/* =========================================================
   TAGS
========================================================= */

.hero-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}

.hero-tags span {

    padding: 6px 10px;

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 100px;

    font-size: 0.62rem;

    color: #f4eaf1;
}


/* =========================================================
   EDUCATION + EXPERIENCE CARDS
========================================================= */

.about-card {

    padding: 28px 32px;

    background: #d9c8d5;

    color: #573b53;
}


/* Different color for experience */

.experience-card {

    background: #ffffff;

    border: 1px solid #e4d9e1;

    box-shadow:
        0 12px 35px rgba(87, 59, 83, 0.06);
}


/* Card heading */

.about-card h2 {

    margin-bottom: 25px;

    font-size: 1.15rem;

    font-weight: 700;

    letter-spacing: -0.02em;

}


/* Entries */

.about-entry {

    margin-bottom: 20px;
}

.about-entry:last-child {
    margin-bottom: 0;
}

.about-entry h3 {

    margin-bottom: 2px;

    font-size: 0.78rem;

    font-weight: 700;
}

.about-entry p {

    font-size: 0.73rem;

    line-height: 1.4;

    color: #765f72;
}

.about-entry > span {

    display: block;

    margin-top: 2px;

    font-size: 0.68rem;

    font-style: italic;

    color: #876f82;
}


/* Experience bullets */

.about-entry ul {

    padding-left: 16px;

    margin-top: 8px;
}

.about-entry li {

    margin-bottom: 4px;

    font-size: 0.7rem;

    line-height: 1.35;

    color: #765f72;
}


/* =========================================================
   BIG STATEMENT
========================================================= */

.hero-statement {

    grid-column: 1 / -1;

    margin-top: 15px;

    padding: 60px 70px;

    background: #573b53;

    color: white;

    text-align: center;

    border-radius: 30px;

    position: relative;

    overflow: hidden;
}


/* subtle decorative circle */

.hero-statement::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.08);

    left: -100px;
    bottom: -150px;
}

.hero-statement::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.08);

    right: -60px;
    top: -100px;
}


/* Label */

.statement-label {

    display: block;

    margin-bottom: 20px;

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color: #d85f7c;
}


/* Statement */

.hero-statement h2 {

    max-width: 750px;

    margin: 0 auto;

    font-family: 'Playfair Display', serif;

    font-size: clamp(
        2rem,
        4vw,
        3.3rem
    );

    line-height: 1.05;

    letter-spacing: -0.03em;
}

.hero-statement h2 em {

    color: #d9c8d5;

    font-style: italic;
}


/* Description */

.hero-statement p {

    max-width: 570px;

    margin: 25px auto 0;

    font-size: 0.78rem;

    line-height: 1.6;

    color: #d9cbd7;
}


/* =========================================================
   WHAT I MAKE SPACING
========================================================= */

.what-i-make {

    margin-top: 110px;
}


/* =========================================================
   DECORATIVE CARD PHOTOS
========================================================= */

.about-card {
    position: relative;
    overflow: hidden;
}


/* Base image */

.card-photo {

    position: absolute;

    object-fit: cover;

    z-index: 0;

    display: block;

    box-shadow:
        0 8px 18px rgba(87, 59, 83, 0.15);
}


/* Keep text above image */

.about-card .card-number,
.about-card h2,
.about-card .about-entry {
    position: relative;
    z-index: 2;
}


/* =========================================================
   EDUCATION PHOTO
========================================================= */

.education-photo {

    width: 105px;
    height: 70px;

    right: 15px;
    top: 15px;

    transform: rotate(8deg);
}


/* =========================================================
   EXPERIENCE PHOTO
========================================================= */

.experience-photo {

    width: 150px;
    height: 100px;

    right: 15px;
    top: 20px;

    transform: rotate(-13deg);
}

.card-photo {
    border: 5px solid #f8f7f4;
    box-shadow:
        0 8px 18px rgba(87, 59, 83, 0.18);
}

.experience-photo {
    border-color: #ffffff;
}


.education-card:hover .education-photo {
    transform: rotate(3deg) scale(1.05);
}

.experience-card:hover .experience-photo {
    transform: rotate(-6deg) scale(1.05);
}

.card-photo {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   IMAGE SHOWCASE
========================================================= */

.image-showcase {
    max-width: 900px;
    margin: 110px auto 0;
}


/* Heading */

.showcase-heading {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 28px;
}

.showcase-heading span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #d85f7c;
}

.showcase-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #573b53;
}


/* =========================================================
   PERFECT THREE-COLUMN GRID
========================================================= */

.image-row {

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    gap: 18px;

    align-items: stretch;
}


/* =========================================================
   IMAGE BOXES
========================================================= */

.showcase-image {

    width: 100%;
    height: 300px;

    overflow: hidden;

    border-radius: 22px;

    background: #d9c8d5;
}


/* All images fill their identical boxes */

.showcase-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


/* =========================================================
   HOVER
========================================================= */

.showcase-image:hover img {
    transform: scale(1.04);
}

/* =========================================
   LIFE / PHOTO GRID
========================================= */

.gallery {

    width: 85%;

    max-width: 760px;

    margin: 40px auto 80px;
}

.gallery h2 {

    margin-bottom: 24px;
}


/* Three equal columns */

.gallery-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr;

    gap: 12px;
}


/* Cards */

.gallery-card {

    height: 220px;

    overflow: hidden;

    border-radius: 18px;

    background: #ddd;
}


/* Images */

.gallery-card img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


/* Hover */

.gallery-card:hover img {

    transform: scale(1.04);
}

/* =========================================
   CURSOR TOOLTIP
========================================= */

.life-card,
.gallery-card {
    position: relative;
}

.cursor-tooltip {

    position: fixed;

    left: 0;
    top: 0;

    z-index: 9999;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    max-width: 240px;

    background: #ffffff;

    color: #573b53;

    border-radius: 7px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.18);

    font-family: 'Montserrat', sans-serif;

    font-size: 0.68rem;
    line-height: 1.35;

    pointer-events: none;

    opacity: 0;

    transform: translate(15px, 15px);

    transition: opacity 0.15s ease;
}


.cursor-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;

  padding: 9px 13px;
  max-width: 240px;

  background: #ffffff;
  color: #573b53;

  /* 3 rounded corners + 1 pointy corner */
  border-radius: 2px 12px 12px 12px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);

  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  line-height: 1.4;

  pointer-events: none;
  opacity: 0;

  transform: translate(12px, 12px);
  transition: opacity 0.15s ease;
}

/* =========================================
   SPACES I LIKE TO WORK WITH
========================================= */

.spaces-section {
  width: 90%;
  max-width: 1000px;
  margin: 100px auto;
}

.spaces-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
}


/* =========================================
   NETWORK
========================================= */

.network-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 620;
  overflow: visible;
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}


/* =========================================
   CONNECTION LINES
========================================= */

.connection {
  fill: none;
  stroke-width: 2.5;
  opacity: 0.8;
}

.design-line {
  stroke: #ef62ad;
}

.people-line {
  stroke: #72dce0;
}

.interactivity-line {
  stroke: #a4ed63;
}

.lbe-line {
  stroke: #ae70ed;
}

.coding-line {
  stroke: #ff7275;
}


/* =========================================
   NODES
========================================= */

.network-node {
  position: absolute;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;

  transform: translate(-50%, -50%);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}


/* =========================================
   MAIN NODES
========================================= */

.node-design {
  left: 45%;
  top: 39.5%;

  width: 96px;
  height: 96px;

  background: #f05eaa;
}

.node-lbe {
  left: 66.5%;
  top: 44%;

  width: 82px;
  height: 82px;

  background: #a962e9;
}

.node-people {
  left: 27%;
  top: 56.5%;

  width: 82px;
  height: 82px;

  background: #50e6e6;
}

.node-interactivity {
  left: 36.5%;
  top: 70%;

  width: 82px;
  height: 82px;

  background: #9cf05b;
}

.node-coding {
  left: 60.5%;
  top: 71%;

  width: 82px;
  height: 82px;

  background: #ff676b;
}


/* =========================================
   SMALL NODES
========================================= */

.network-node.small {
  width: 58px;
  height: 58px;

  font-size: 10px;
}


/* =========================================
   DESIGN CHILDREN
========================================= */

.d-concept {
  left: 37.5%;
  top: 28%;

  background: #f39bc9;
}

.d-ui {
  left: 45%;
  top: 18%;

  background: #f39bc9;
}

.d-graphic {
  left: 51.5%;
  top: 28%;

  background: #ed94c3;
}


/* =========================================
   PEOPLE CHILDREN
========================================= */

.p-production {
  left: 19%;
  top: 50%;

  background: #72e9e9;
}

.p-client {
  left: 11.5%;
  top: 56.5%;

  background: #72e9e9;
}

.p-empty {
  left: 17.5%;
  top: 63%;

  background: #72e9e9;
}


/* =========================================
   INTERACTIVITY CHILDREN
========================================= */

.i-projection {
  left: 29.5%;
  top: 77.5%;

  background: #b9f58c;
}

.i-dmx {
  left: 35%;
  top: 88%;

  background: #b9f58c;
}

.i-touch {
  left: 45%;
  top: 79%;

  background: #b9f58c;
}


/* =========================================
   LBE CHILDREN
========================================= */

.l-museums {
  left: 73%;
  top: 32%;

  background: #c99af3;
}

.l-interactive {
  left: 81%;
  top: 40%;

  background: #c99af3;
}

.l-rides {
  left: 70.5%;
  top: 55.5%;

  background: #c99af3;
}

.l-games {
  left: 79.5%;
  top: 55.5%;

  background: #c99af3;
}


/* =========================================
   CREATIVE CODING CHILDREN
========================================= */

.c-websites {
  left: 69.5%;
  top: 70%;

  background: #ff9da0;
}

.c-arduino {
  left: 72.5%;
  top: 81%;

  background: #ff9da0;
}

.c-python {
  left: 58.5%;
  top: 82%;

  background: #ff9da0;
}

.c-unity {
  left: 66%;
  top: 91%;

  background: #ff9da0;
}


/* =========================================
   HOVER
========================================= */

.network-node:hover {
  transform: translate(-50%, -50%) scale(1.12);
  filter: brightness(1.03);
  z-index: 10;
}

.network-node {
  cursor: grab;
  touch-action: none;
}

.network-node:active {
  cursor: grabbing;
}

header, footer {
    position: relative;
    background: linear-gradient(90deg, #355070, #6d597a, #b56576, #e56b6f);
    background-size: 300% 300%;
    animation: gradientAnimation 8s ease infinite;
    color: #f6f4d2;
    padding: 20px;
    text-align: center;
    overflow: hidden; /* Prevents noise layer from overflowing */
}

/* Noise Overlay */
header::after, footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Assets/noise.png'); /* Add your noise image */
    opacity: 0.15; /* Adjust transparency */
    pointer-events: none; /* Ensures it doesn't interfere with clicks */
}

header a{
    text-decoration: none;
    color: inherit;
  }
header h1 {
    color: #f6f4d2;
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin: 0;
}

header p {
    font-size: 1.2em;
    margin: 5px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #f6f4d2;
    font-weight: bold;
}

/* Hover state */
nav ul li a:hover {
    color: #333; /* Blue color on hover */
}

/* Focus and active states */
nav ul li a:focus,
nav ul li a.active {
    color: #333; /* Blue color on active */
}

/* Optional underline effect */
nav ul li a:hover,
nav ul li a.active {
    text-decoration: underline;
}

  

  nav ul li a:hover {
    text-decoration: underline;
  }
  


  /* =========================================================
   ABOUT PAGE — RESPONSIVE MOBILE OVERRIDES
========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================================
   HEADER
========================================================= */

@media (max-width: 700px) {

    header {
        padding: 18px 18px 16px;
    }

    header h1 {
        font-size: 2rem;
        line-height: 1;
    }

    header p {
        font-size: 0.72rem;
        line-height: 1.3;
        margin-top: 5px;
    }

   
    nav::-webkit-scrollbar {
        display: none;
    }

    nav ul {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        gap: 18px;
        flex-wrap: nowrap;
    }

    nav ul li {
        flex-shrink: 0;
    }

    nav ul li a {
        font-size: 0.7rem;
        white-space: nowrap;
    }
}


/* =========================================================
   MAIN PAGE WIDTH
========================================================= */

@media (max-width: 700px) {

    main {
        width: 100%;
    }

    .about-hero,
    .what-i-make,
    .about-closing,
    .spaces,
    .life,
    .gallery {
        width: calc(100% - 30px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

}


/* =========================================================
   ABOUT HERO
========================================================= */

@media (max-width: 700px) {

    .about-hero {

        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows: auto;

        gap: 16px;

        margin-top: 15px;
    }


    /* Portrait */

    .hero-photo {

        min-height: 0;

        height: auto;

        aspect-ratio: 1 / 1;

        border-radius: 22px;
    }


    /* Intro */

    .hero-intro {

        min-height: 0;

        padding: 28px 24px;

        border-radius: 22px;

    }

    .hero-intro h1 {

        font-size: clamp(2.8rem, 14vw, 4rem);

        line-height: 0.9;
    }

    .hero-intro p {

        margin-top: 18px;

        font-size: 0.78rem;

        line-height: 1.55;
    }


    /* Tags */

    .hero-tags {

        gap: 6px;

        margin-top: 18px;
    }

    .hero-tags span {

        font-size: 0.58rem;

        padding: 6px 9px;
    }


    /* Education + Experience */

    .about-card {

        min-height: 0;

        padding: 24px;

        border-radius: 22px;
    }

    .about-card h2 {

        margin-bottom: 20px;

        font-size: 1.05rem;
    }

    .about-entry {

        margin-bottom: 18px;
    }

    .about-entry h3 {

        font-size: 0.75rem;

        padding-right: 80px;
    }

    .about-entry p {

        font-size: 0.7rem;

        line-height: 1.45;
    }

    .about-entry > span {

        font-size: 0.65rem;
    }


    /* Little decorative photos */

    .education-photo {

        width: 90px;
        height: 60px;

        right: 12px;
        top: 12px;
    }

    .experience-photo {

        width: 105px;
        height: 70px;

        right: 12px;
        top: 15px;
    }


    /* Big statement */

    .hero-statement {

        grid-column: auto;

        margin-top: 0;

        padding: 42px 24px;

        border-radius: 22px;
    }

    .statement-label {

        margin-bottom: 16px;

        font-size: 0.58rem;
    }

    .hero-statement h2 {

        font-size: clamp(1.8rem, 8vw, 2.5rem);

        line-height: 1.05;
    }

    .hero-statement p {

        margin-top: 20px;

        font-size: 0.72rem;

        line-height: 1.6;
    }

}


/* =========================================================
   WHAT I MAKE
========================================================= */

@media (max-width: 700px) {

    .what-i-make {

        margin-top: 65px;
    }

    .section-heading {

        margin-bottom: 18px;
    }

    .section-heading h2 {

        font-size: 1.75rem;
    }

    .discipline-grid {

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .discipline-card {

        min-height: 0;

        padding: 22px;

        border-radius: 18px;
    }

    .discipline-card h3 {

        margin-top: 25px;

        font-size: 0.95rem;
    }

    .discipline-card p {

        font-size: 0.68rem;

        line-height: 1.45;
    }

}


/* =========================================================
   DESIGN PHILOSOPHY / CLOSING
========================================================= */

@media (max-width: 700px) {

    .about-closing {

        margin-top: 55px;

        padding: 40px 23px;

        border-radius: 22px;
    }

    .about-closing h3 {

        font-size: 0.88rem;

        line-height: 1.55;

        margin-bottom: 25px;
    }

    .button {

        padding: 11px 18px;

        font-size: 0.7rem;
    }

}


/* =========================================================
   SPACES / FIGMA
========================================================= */

@media (max-width: 700px) {

    .spaces {

        margin-top: 75px;
    }

    .spaces h2 {

        font-size: 1.65rem;

        line-height: 1.15;

        margin-bottom: 20px;
    }


    /* Your iframe currently has width="800".
       This overrides that fixed width on phones. */

    .spaces iframe {

        display: block;

        width: 100% !important;

        height: 360px !important;

        max-width: 100%;

        border-radius: 14px;

    }
}


/* =========================================================
   OTHER VENTURES
========================================================= */

@media (max-width: 700px) {

    .life {

        margin-top: 70px;

        margin-bottom: 60px;
    }

    .life h2 {

        font-size: 1.65rem;

        margin-bottom: 18px;
    }


    .life-grid {

        grid-template-columns: 1fr 1fr;

        grid-template-rows: repeat(4, 125px);

        gap: 9px;
    }


    .life-card {

        min-width: 0;

        border-radius: 14px;
    }


    .life-card img,
    .life-card video {

        width: 100%;

        height: 100%;

        object-fit: cover;

        display: block;
    }

}


/* =========================================================
   LIFE OUTSIDE DESIGN
========================================================= */

@media (max-width: 700px) {

    .gallery {

        width: calc(100% - 30px);

        margin-top: 65px;

        margin-bottom: 60px;
    }

    .gallery h2 {

        font-size: 1.65rem;

        line-height: 1.15;

        margin-bottom: 18px;
    }


    /*
       On phones:
       ballet = full width
       theatre + baking = two columns
    */

    .gallery-grid {

        grid-template-columns: 1fr 1fr;

        grid-template-rows: 170px 150px;

        gap: 9px;
    }

    .gallery-card {

        height: auto;

        border-radius: 14px;
    }

    .gallery-landscape {

        grid-column: 1 / -1;
    }

    .gallery-portrait,
    .gallery-square {

        grid-column: auto;
    }

}


/* =========================================================
   TOUCH DEVICES
   Cursor tooltips don't make sense on phones.
   Hide them rather than having floating text stuck
   somewhere on the screen.
========================================================= */

@media (hover: none), (pointer: coarse) {

    .cursor-tooltip {

        display: none !important;
    }

    .life-card:hover img,
    .gallery-card:hover img {

        transform: none;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.65rem;
    }

    nav ul {
        gap: 15px;
    }

    .about-hero,
    .what-i-make,
    .about-closing,
    .spaces,
    .life,
    .gallery {
        width: calc(100% - 24px);
    }

    .hero-intro {
        padding: 24px 20px;
    }

    .about-card {
        padding: 21px;
    }

    .hero-statement {
        padding: 36px 20px;
    }

    .life-grid {
        grid-template-rows: repeat(4, 110px);
    }

    .gallery-grid {
        grid-template-rows: 150px 130px;
    }

}


.sticky-breadcrumbs {
  position: sticky;
  top: 0; /* Sticks to the top of the viewport */
  z-index: 100; /* Keeps it above other content */
  background-color: #ffffff; /* Solid background prevents text overlap */
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
    color: #555;
    padding: 10px 20px;
    background: #f9f9f9;
    border-radius: 5px;

    display: block;
    box-sizing: border-box;
    width: 100%;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sticky-breadcrumbs li + li::before {
  content: ">";
  margin: 0 8px;
  color: #666;
}

.sticky-breadcrumbs a{
    text-decoration: none;
    color: #0077cc;
    font-weight: 500;
}


.sticky-breadcrumbs a:hover {
    text-decoration: underline;
}

.sticky-breadcrumbs [aria-current="page"] {
    color: #333;
    font-weight: bold;
}



@media (max-width: 700px) {

    header {
        padding: 18px 18px 16px;
    }

    header h1 {
        font-size: 2rem;
        line-height: 1;
    }

    header p {
        font-size: 0.72rem;
        line-height: 1.3;
        margin-top: 5px;
    }


    nav::-webkit-scrollbar {
        display: none;
    }

    nav ul {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        gap: 18px;
        flex-wrap: nowrap;
    }

    nav ul li {
        flex-shrink: 0;
    }

    nav ul li a {
        font-size: 0.7rem;
        white-space: nowrap;
    }
}
header nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

header nav::-webkit-scrollbar {
    display: none;
}