@charset "utf-8";

:root {
    --purple: #6257B3;
    --purple-d: #4A4096;
    --purple-l: #6F63C4;
    --orange: #FF4B0A;
    --orange-l: #FF6D3A;
    --slate: #3D3D50;
    --muted: #6B6B80;
    --surface: #F5F4F8;
    --border: #E8E6F0;
    --white: #FFFFFF;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(62, 57, 107, 0.06);
    --shadow-md: 0 8px 30px rgba(62, 57, 107, 0.08);
    --shadow-lg: 0 20px 60px rgba(62, 57, 107, 0.12);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== NAVIGATION ===== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--purple);
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo span {
    color: var(--orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    padding: 0.45rem 1rem;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--purple);
    background: var(--surface);
}

.nav-cta {
    background: var(--purple) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 0.45rem 1.3rem !important;
}

.nav-cta:hover {
    background: var(--purple-d) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(74, 64, 150, 0.55) 0%,
        rgba(62, 57, 107, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 2rem;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.2rem;
    animation: fadeUp 0.8s ease 0.15s both;
}

.hero-cycle-wrap {
    position: relative;
    height: 2.2em;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.8s ease 0.3s both;
}

.hero-cycle-text {
    position: absolute;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 0.3px;
    opacity: 0;
    animation: textCycle 12s ease-in-out infinite;
}

.hero-cycle-text:nth-child(1) { animation-delay: 0s; }
.hero-cycle-text:nth-child(2) { animation-delay: 4s; }
.hero-cycle-text:nth-child(3) { animation-delay: 8s; }

.hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    animation: fadeUp 0.8s ease 0.5s both, bounceDown 2.5s ease-in-out 1.5s infinite;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ===== ANIMATIONS ===== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

@keyframes textCycle {
    0%, 100% { opacity: 0; transform: translateY(14px); }
    8%, 25%  { opacity: 1; transform: translateY(0); }
    33%      { opacity: 0; transform: translateY(-14px); }
}

/* Scroll-reveal: elements start hidden, JS adds .revealed */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTIONS (shared) ===== */

section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.6rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--purple-d);
}

.section-intro {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

/* ===== TEAM GRID ===== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.member-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.member-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-img {
    transform: scale(1.05);
}

.member-body {
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: center;
}

.member-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--purple);
    margin-bottom: 0.3rem;
}

.member-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(255, 75, 10, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 0.7rem;
}

.member-body p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ===== VALUES ===== */

.values-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.values-photo-wrap {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.values-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-list {
    padding: 2.5rem 2.5rem 2.5rem 0;
}

.values-list h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
}

.value-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.value-row:last-child {
    border-bottom: none;
}

.value-icon-wrap {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 75, 10, 0.08);
    border-radius: 8px;
    margin-top: 2px;
}

.value-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.value-row h4 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.25rem;
}

.value-row p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== SPRINT SECTION ===== */

.sprint-section {
    background: var(--white);
}

.sprint-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.sprint-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    transition: box-shadow var(--transition);
}

.sprint-card:hover {
    box-shadow: var(--shadow-md);
}

.sprint-card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--border);
    line-height: 1;
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}

.sprint-card:hover .sprint-card-number {
    color: var(--orange);
}

.sprint-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.sprint-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== QUOTE BAND ===== */

.quote-band {
    background: var(--purple);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal texture */
.quote-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.015) 40px,
        rgba(255, 255, 255, 0.015) 80px
    );
}

.quote-band-inner {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    color: var(--white);
    margin-bottom: 1rem;
}

.quote-band blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    line-height: 1.65;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.quote-band cite {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SITUATIE ===== */

.situatie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem 3rem;
    align-items: start;
}

.situatie-text h3 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.situatie-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #000;
    margin-bottom: 0.8rem;
    max-width: 520px;
}

.situatie-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.situatie-image img {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
}


/* ===== CONCLUSION ===== */

.conclusion-section {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.conclusion-card {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
}

.conclusion-card h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--purple);
    margin-bottom: 1.2rem;
}

.conclusion-card p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

/* ===== PERSONA'S ===== */

.persona-img {
    cursor: pointer;
}

.persona-img:hover {
    border: 1px solid #777;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0.1)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 75px;
  right: 55px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive Columns */
@media only screen and (max-width: 700px){
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
  .modal-content {
    width: 100%;
  }
}

@media only screen and (max-width: 500px){
  .responsive {
    width: 100%;
  }
}

/* Clear Floats */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* ===== INSIGHT CARDS ===== */

.insight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.insight-grid > :last-child:nth-child(odd) {
    grid-column: 2;
    width: 50%;
}

.insight-grid-last {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.insight-img {
    cursor: pointer;
}

.insight-img:hover {
    border: 3px solid rgb(112, 106, 202);
    border-radius: 28px;
}


/* ===== FOOTER ===== */

footer {
    background: var(--purple-d);
    color: var(--white);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.footer-brand span {
    color: var(--orange);
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-section {
        grid-template-columns: 1fr;
    }

    .values-photo-wrap {
        min-height: 280px;
    }

    .values-list {
        padding: 2rem;
    }

    .sprint-cards {
        grid-template-columns: 1fr;
    }

    .situation-pair {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .situation-divider {
        width: 100%;
        height: 1px;
        margin: 1.5rem 0;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 1.25rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 2rem 2rem;
        gap: 0.25rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.35s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .member-card {
        display: grid;
        grid-template-columns: 100px 1fr;
    }

    .member-img-wrap {
        aspect-ratio: 1;
        height: 100%;
    }

    .member-body {
        text-align: left;
        padding: 1rem 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .sprint-card {
        padding: 1.75rem;
    }

    .sprint-card-number {
        font-size: 2.2rem;
    }

    .conclusion-card {
        padding: 2rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}