/* ============================================================
   home.css — This is Human Made redesign
   ============================================================ */

/* Grain texture overlay */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

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

.hm-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
    overflow: hidden;
}

.hm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hm-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hm-hero-bg img.loaded {
    transform: scale(1);
}

.hm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.1) 30%,
        rgba(0,0,0,0.6) 70%,
        rgba(0,0,0,0.85) 100%
    );
}

.hm-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 80px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.hm-hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hm-hero-eyebrow.visible {
    opacity: 1;
    transform: translateY(0);
}

.hm-hero-title {
    font-family: "novecento-sans-condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(72px, 10vw, 160px);
    line-height: 0.88;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.reveal-line {
    display: block;
    overflow: hidden;
}

.reveal-line span {
    display: block;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-line.visible span {
    transform: translateY(0);
}

.accent-line {
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
}

.hm-hero-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.hm-hero-sub.visible {
    opacity: 1;
    transform: translateY(0);
}

.hm-hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.hm-hero-actions.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-hero-primary {
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    padding: 16px 36px 22px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    border-radius: 40px;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-hero-primary:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-hero-ghost {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.btn-hero-ghost:hover { color: var(--white); }

.hm-hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hm-hero-scroll-hint span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
    margin: 0 auto;
    animation: scrollHint 2s ease infinite;
}

@keyframes scrollHint {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

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

.hm-statement {
    padding: 140px 0;
    background: var(--white);
}

.hm-statement-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.hm-quote {
    font-family: "novecento-sans-condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 4vw, 62px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    border-left: 4px solid var(--green);
    padding-left: 40px;
}

.hm-statement-body p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 24px;
}

.hm-statement-body p:last-child { margin-bottom: 0; }

/* ============================================================
   MANIFESTO
   ============================================================ */

.hm-manifesto {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.hm-manifesto-bg {
    position: absolute;
    inset: 0;
}

.hm-manifesto-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-manifesto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
}

.hm-manifesto-content {
    position: relative;
    z-index: 10;
}

.hm-manifesto-lines {
    max-width: 700px;
}

.manifesto-line {
    font-family: "novecento-sans-condensed", sans-serif;
    font-size: clamp(32px, 4.5vw, 68px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    line-height: 1.1;
    transition: color 0.4s ease;
}

.manifesto-line em {
    font-style: normal;
    color: var(--white);
}

.manifesto-line.visible {
    color: rgba(255,255,255,0.85);
}

/* ============================================================
   THREE TRUTHS
   ============================================================ */

.hm-truths {
    padding: 140px 0;
    background: var(--black);
}

.hm-truths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.hm-truth {
    padding: 60px 50px;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    transition: background 0.3s;
}

.hm-truth:hover { background: #111; }

.hm-truth-number {
    font-family: "novecento-sans-condensed", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--green);
    display: block;
    margin-bottom: 24px;
}

.hm-truth h3 {
    font-family: "novecento-sans-condensed", sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1;
}

.hm-truth p {
    font-size: 14px;
    line-height: 1.8;
    color: #888;
}

/* ============================================================
   BADGE SECTION
   ============================================================ */

.hm-badge-section {
    padding: 140px 0;
    background: var(--cream);
}

.hm-badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.hm-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 20px;
}

.hm-section-label.light { color: rgba(255,255,255,0.5); }

.hm-section-title {
    font-family: "novecento-sans-condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(42px, 5vw, 72px);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 0.95;
    color: var(--black);
    margin-bottom: 30px;
}

.hm-badge-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
    max-width: 460px;
}

.hm-badge-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    border-radius: 40px;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.hm-badge-hashtag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #aaa;
    text-transform: uppercase;
}

.hm-badge-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hm-badge-preview-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    border-radius: 4px;
}

.hm-badge-preview-card.dark  { background: var(--black); }
.hm-badge-preview-card.light { background: var(--white); border: 1px solid #e5e5e5; }
.hm-badge-preview-card.beige { background: var(--beige); }

.hm-badge-preview-card img {
    height: 44px;
    width: auto;
}

.hm-badge-preview-card span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
}

.hm-badge-preview-card.dark span { color: #555; }

/* ============================================================
   COMMUNITY PREVIEW
   ============================================================ */

.hm-community-preview {
    padding: 140px 0;
    background: var(--white);
}

.hm-cp-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #000;
}

.hm-cp-header .hm-section-title {
    margin-bottom: 0;
}

.hm-cp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.hm-cp-card {
    background: var(--cream);
    padding: 32px;
    transition: background 0.2s;
    position: relative;
}

.hm-cp-card:hover { background: var(--beige); }

.hm-cp-card-discipline {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
}

.hm-cp-card-name {
    font-family: "novecento-sans-condensed", sans-serif;
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    line-height: 1;
    margin-bottom: 6px;
}

.hm-cp-card-project {
    font-size: 13px;
    color: #888;
}

.hm-cp-empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    font-size: 15px;
    color: #aaa;
}

/* ============================================================
   JOIN CTA
   ============================================================ */

.hm-join {
    position: relative;
    padding: 180px 0;
    overflow: hidden;
    background: var(--black);
}

.hm-join-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #000 70%);
}

.hm-join-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hm-join-title {
    font-family: "novecento-sans-condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 7vw, 100px);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 0.92;
    color: var(--white);
    margin-bottom: 32px;
}

.hm-join-sub {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto 48px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.75s; }

/* ============================================================
   NAV overrides for this page
   ============================================================ */

.nav-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

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

@media (max-width: 1200px) {
    .hm-cp-grid { grid-template-columns: repeat(3, 1fr); }
    .hm-truths-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .hm-statement-inner { grid-template-columns: 1fr; gap: 60px; }
    .hm-badge-grid { grid-template-columns: 1fr; gap: 60px; }
    .hm-cp-grid { grid-template-columns: repeat(2, 1fr); }
    .hm-truths-grid { grid-template-columns: 1fr 1fr; }
    .hm-hero-content { padding: 0 40px; }
}

@media (max-width: 768px) {
    .hm-hero { padding-bottom: 80px; }
    .hm-hero-content { padding: 0 24px; }
    .hm-hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hm-statement { padding: 80px 0; }
    .hm-manifesto { padding: 100px 0; }
    .hm-truths { padding: 80px 0; }
    .hm-truths-grid { grid-template-columns: 1fr; gap: 2px; }
    .hm-truth { padding: 40px 30px; }
    .hm-badge-section { padding: 80px 0; }
    .hm-community-preview { padding: 80px 0; }
    .hm-cp-grid { grid-template-columns: 1fr 1fr; }
    .hm-cp-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hm-join { padding: 100px 0; }
    .hm-quote { padding-left: 24px; }
}

@media (max-width: 480px) {
    .hm-cp-grid { grid-template-columns: 1fr; }
    .hm-badge-showcase { gap: 8px; }
    .hm-badge-preview-card { padding: 24px; }
}

/* Maker cards — klikbaar */
a.hm-cp-card,
a.pg-cm-card {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

a.hm-cp-card:hover,
a.pg-cm-card:hover {
    background: var(--beige);
}

.hm-cp-card-cta {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
}

.pg-cm-card-cta {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
}
