html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: #FFFFFF;
}

#header_div {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero {
    position: relative;
    min-height: 100vh;
    
    display: flex;
}

.hero canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    padding: 120px 24px 120px;
    color: #0A0A0A;
}

.hero-eyebrow {
    margin: 0 0 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #7A6420;
    margin-left: 15px;
}

.hero h1 {
    margin: 0;
    font-family: Archivo, sans-serif;
    font-weight: 900;
    font-size: clamp(56px, 11vw, 180px);
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-outline {
    color: #FFFFFF;
    -webkit-text-stroke: 4px #0A0A0A;
}

.hero-side {
    max-width: 180px;
    padding-bottom: 6px;
}

.hero-side p {
    margin: 0 0 16px;
    font-family: Archivo, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #3A3A3A;
}

.hero-cta {
    display: inline-block;
    padding: 10px 18px;
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: Archivo, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.hero-cta:hover {
    background: #7A6420;
}

@media (max-width: 700px) {
    .hero {
        min-height: auto;
    }
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding: calc(104px + 95vw) 16px 48px;
    }
    .hero h1 {
        font-size: 10vw;
    }
    .hero-outline {
        -webkit-text-stroke: 2px #0A0A0A;
    }
    .hero-eyebrow {
        font-size: 14px;
        margin-left: 0;
    }
}
.mission{
    height: 500px;
    
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;  
    text-align: right;          
    padding: 0 24px; 
}
.mission_text{
    
    font-family: 'JetBrains Mono', monospace;
    font-size: 30px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #0A0A0A;
    margin-right: 100px;
}
@media (max-width: 700px) {
    .mission {
        height: 300px;
        padding: 0 16px;
    }
    .mission_text {
        font-size: 20px;
        letter-spacing: 0.15em;
        margin-right: 0;
    }
}
.who_are_we{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 120px 24px 0;
    padding: 40px 0 80px;
    border-top: 1px solid #E6E6E6;
    
    
}
.who-eyebrow{
    margin: 0 0 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #7A6420;
}
.who_text{
    margin: 0;
    font-family: Archivo, sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 8vw, 120px);
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #0A0A0A;
}
.who-outline{
    color: transparent;
    -webkit-text-stroke: 3px #0A0A0A;
    
}
.who-body{
    padding-top: 24px;
   margin-right: 200px;
}
.who-lede{
    margin: 0 0 32px;
    font-family: Archivo, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #3A3A3A;
}
.who-link{
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 1px solid #7A6420;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #0A0A0A;
    text-decoration: none;
}
.who-heading{
    container-type: inline-size;
    text-align: center;
}
.who-heading .who_text{
    display: inline-block;
    position: relative;
}
/* vertical line halfway between the heading text and the body text:
   (empty space right of the heading + 48px grid gap) / 2 */
.who-heading .who_text::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(100% + (100cqw - 100%) / 4 + 24px);
    width: 1px;
    background: #7A6420;
}
.who-link:hover{
    color: #7A6420;
}
@media (max-width: 800px){
    .who_are_we{
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 80px 16px 0;
        padding: 32px 0 56px;
    }
    .who-heading .who_text::after{
        display: none;
    }
    .who-body{
        padding-top: 0;
        margin-right: 0;
    }
    .who-lede{
        font-size: 16px;
    }
}

.photo-section{
    padding: clamp(24px, 3vw, 48px) 24px 0;
}
.photo-frame{
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(8px, 1vw, 14px);
    border: 1px solid #CFCFCF;
}
.photo-frame::before,
.photo-frame::after{
    content: "+";
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1;
    color: #7A6420;
}
.photo-frame::before{
    top: -6px;
    left: -4px;
}
.photo-frame::after{
    bottom: -6px;
    right: -4px;
}
.photo-frame img,
.photo-placeholder{
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}
.photo-placeholder{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F3F2F0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0 14px,
        #E6E5E2 14px 15px
    );
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(10px, 1vw, 13px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7A7A7A;
}
@media (max-width: 700px){
    .photo-section{
        padding-inline: 16px;
    }
    .photo-frame img,
    .photo-placeholder{
        aspect-ratio: 4 / 3;
    }
}

.ticker{
    margin-top: 150px;
    overflow: hidden;
    background-color: #0A0A0A;
    border-bottom: 1px solid #2A2A2A;
}
.ticker + .project{
    margin-top: 0;
}
.ticker-track{
    display: flex;
    width: max-content;
}
.ticker-item{
    padding: clamp(18px, 2vw, 26px) clamp(20px, 2.5vw, 40px);
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(11px, 1vw, 15px);
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #C9A95C;
}
@media (max-width: 900px){
    .ticker{
        margin-top: 80px;
    }
}

.project{
    min-height: 700px;
    border-bottom: 1px solid #E6E6E6;
    padding: 70px 120px;
    margin-top: 150px;
    background-color: #0A0A0A;
    overflow-x: clip;
}

.project-tag_up {
    position: absolute;
    top: 20px;
    left: 20px;
    margin: 0;
    padding: 6px 12px;
    background: #0A0A0A;
    border: 1px solid #2A2A2A;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C9A95C;
}
.project_text{
    margin: 0;
    font-family: Archivo, sans-serif;
    font-weight: 900;
    font-size: clamp(36px, 6vw, 80px);
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-left: 10px;
    margin-top: 40px;
}
.project_text .letter{
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 0.06s);
}
.project_text.is-visible .letter{
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce){
    .project_text .letter{
        opacity: 1;
        transform: none;
        transition: none;
    }
}
.project-disclaimer{
    margin: 20px 0 0 10px;
    max-width: 640px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #8A8A8A;
}
.our_projects{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 100px;
    padding: 10px;
}

.project-card{
    position: relative;
    border: 3px solid #7A6420;
    background-color: #141414;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0 14px,
        #2A2A2A 14px 15px
    );
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card-big{
    grid-column: span 2;
}
.project-card.reveal-left{
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card.reveal-left.is-visible{
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce){
    .project-card.reveal-left{
        opacity: 1;
        transform: none;
        transition: none;
    }
}
.project-card-big .project-photo{
    
    aspect-ratio: 8 / 3;
}

@media (max-width: 900px){
    .project{
        padding: 60px 24px;
        margin-top: 80px;
    }
    .our_projects{
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 48px;
        padding: 0;
    }
}
@media (max-width: 560px){
    .project{
        padding: 48px 16px;
    }
    .our_projects{
        grid-template-columns: 1fr;
    }
    .project-card-big{
        grid-column: auto;
    }
    .project-card-big .project-photo{
        aspect-ratio: 4 / 3;
    }
}

.project-photo{
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: transparent;
    box-sizing: border-box;
    
    padding: 10px;

}
.project-tag{
    margin: 16px 16px 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #7A6420;
}
.project-title{
    margin: 0 16px 8px;
    font-family: Archivo, sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FFFFFF;
}
.project-title:hover{
    color: #7A6420;
}
.project-description{
    margin: 0 16px 16px;
    font-family: Archivo, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #FFFFFF;
}

.roles {
    padding: 80px 24px;
    min-height: 800px;
}
.roles_text {
    margin: 0 0 40px;
    font-family: Archivo, sans-serif;
    font-weight: 900;
    font-size: clamp(36px, 6vw, 80px);
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #0A0A0A;
}
.roles-outline {
    color: transparent;
    -webkit-text-stroke: 2px #0A0A0A;
}
.roles-table-wrap {
    overflow-x: auto;
}
.roles-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-family: Archivo, sans-serif;
    color: #0A0A0A;
    height: 80px;
}

.roles-table td {
    padding: 32px 24px 32px 0;
    border-bottom: 1px solid #E6E6E6;
    vertical-align: middle;
}
.roles-table tbody tr:hover {
    background-color: #0A0A0A;
    color: #FFFFFF;
}
.roles-table tbody tr:hover .role-description {
    color: #FFFFFF;
}
.roles-table td.role-position{
    font-size: 28px;
    font-weight: 800;
    color: #7A6420;
    padding-left: 10px;
}
.role-name {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}
.role-description {
    font-size: 18px;
    line-height: 1.5;
    color: #3A3A3A;
}
.roles-table td.role-number {
    font-size: 40px;
    font-weight: 900;
    padding-left: 20px;
}
.roles-table th {
    padding: 0 16px 12px 0;
    border-bottom: 2px solid #0A0A0A;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #3A3A3A;
}
@media (max-width: 800px) {
    .roles-table {
        min-width: 0;
    }
    .roles-table thead tr {
        display: flex;
        justify-content: flex-end;
        border-bottom: 2px solid #0A0A0A;
    }
    .roles-table th {
        border-bottom: none;
        padding-right: 10px;
    }
    .roles-table th:empty {
        display: none;
    }
    .roles-table tbody tr {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "pos  name num"
            "desc desc desc";
        align-items: center;
        column-gap: 16px;
        padding: 24px 10px;
        border-bottom: 1px solid #E6E6E6;
    }
    .roles-table td {
        padding: 0;
        border-bottom: none;
    }
    .roles-table td.role-position {
        grid-area: pos;
        padding-left: 0;
        font-size: 22px;
    }
    .role-name {
        grid-area: name;
        font-size: 22px;
        white-space: normal;
    }
    .roles-table td.role-number {
        grid-area: num;
        padding-left: 0;
        font-size: 32px;
    }
    .role-description {
        grid-area: desc;
        margin-top: 12px;
        font-size: 16px;
    }
}

.join{
    background-color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    padding: 100px 72px;
}
.join-content {
    max-width: 760px;
}
.join_text{
    margin: 0 0 40px;
    font-family: Archivo, sans-serif;
    font-weight: 900;
    font-size: clamp(56px, 11vw, 100px);
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.join-outline {
    color: transparent;
    -webkit-text-stroke: 2px #FFFFFF;
}

.join-fee {
    margin: 0 0 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #CFCFCF;
}
.join-fee strong {
    font-weight: 400;
    color: #C9A95C;
}
.join-button {
    display: inline-block;
    padding: 16px 24px;
    background: #C9A95C;
    color: #0A0A0A;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s;
    font-weight: bold;
}
.join-button:hover {
    background: #FFFFFF;
}
.join-qr-wrap {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.join-qr-frame {
    position: relative;
    padding: 16px;
    border: 1px solid #3A3A3A;
}
.join-qr-frame::before,
.join-qr-frame::after {
    content: "+";
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    line-height: 1;
    color: #C9A95C;
}
.join-qr-frame::before {
    top: -6px;
    left: -4px;
}
.join-qr-frame::after {
    bottom: -6px;
    right: -4px;
}
.join-qr{
    width: clamp(120px, 12vw, 150px);
    height: auto;
    display: block;
    background: #FFFFFF;
}
.join-qr-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #CFCFCF;
}
@media (max-width: 700px) {
    .join {
        padding: 72px 24px;
    }
}

.mission_text .untyped {
    visibility: hidden;
}
.mission_text .cursor {
    position: relative;
}
.mission_text .cursor::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.1em;
    width: 3px;
    height: 1em;
    background: #7A6420;
    animation: cursor-blink 1s steps(1) infinite;
}
@keyframes cursor-blink {
    50% { opacity: 0; }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
