/* LOCK THIS */
@font-face {
    font-family: 'terminal_grotesque';
    src: url('/assets/TerminalGrotesque/terminal-grotesque-webfont.eot');
    src: url('/assets/TerminalGrotesque/terminal-grotesque-webfont.eot?#iefix') format('embedded-opentype'),
        url('/assets/TerminalGrotesque/terminal-grotesque-webfont.woff2') format('woff2'),
        url('/assets/TerminalGrotesque/terminal-grotesque-webfont.woff') format('woff'),
        url('/assets/TerminalGrotesque/terminal-grotesque-webfont.ttf') format('truetype'),
        url('/assets/TerminalGrotesque/terminal-grotesque-webfont.svg#terminal_grotesqueregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root {
    --columns: 12;
    --gutter: 16px;
    --margin: 80px;
}

* {
    box-sizing: border-box;
}

html,
body {
    background-image: none;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

main {
    margin: 0;
}

.content {
    grid-column: 2 / 12;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gutter);
    margin: 0 var(--margin);
    position: relative;
    height: 100vh;
}

.title {
    position: absolute;
    top: calc(var(--baseline) * 3);
    left: 120px;
    font-size: clamp(5rem, 9vw, 9rem);
    /* ✅ Responsive font size */
    line-height: 80%;
    font-family: "terminal_grotesque";
}

@media (max-width: 767px) {
    .content {
        grid-column: 1 / 5;
    }
    .grid {
        margin:0px;
    }
    .title {
        /* font-size: 25vw; */
        position: fixed;
        /* top: calc(var(--baseline) * 1); */
        margin: auto;
        padding-left: 0%;
        left:24px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .title {
        font-size: 7rem;
        position: absolute;
        left:48px;
    }
}

.title .black {
    color: var(--black);
}

.title .red {
    color: var(--tomato);
    display: block;
}

.indented-1 {
    margin-left: 176px;
    margin-top: 0px;
}

@media (max-width: 767px) {
    .indented-1 {
        margin-left: 60px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .indented-1 {
        margin-left: 132px;
    }
}

.indented-2 {
    margin-left: 338px;
    margin-top: -16px;

}

@media (max-width: 767px) {
    .indented-2 {
        margin-left: 130px;
        margin-top: -9px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .indented-2 {
        margin-left: 260px;
    }
}

.indented-3 {
    margin-left: 264px;
    margin-top: -16px;
}

@media (max-width: 767px) {
    .indented-3 {
        margin-left: 90px;
        margin-top: -9px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .indented-3 {
        margin-left: 194px;
    }
}

.callout {
    grid-column: 10 / 13;
    position: absolute;
    bottom: calc(var(--baseline) * 2);
    left: 16px;
    /*font-size: calc(var(--baseline) * 1.25);*/
    font-size: 32px;
    line-height: 98%;
    letter-spacing: -2%;
    color: #000000;
    font-family: "Manrope";
    font-weight: 400 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .callout {
        grid-column: 1;
        position: absolute;
        font-size: 6vw;
        bottom: calc(var(--baseline) * 4);
        margin: auto;
        font-weight: 450 !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .callout {
        grid-column: 7 / 13;
        position: absolute;
        font-size: 4vw;
        bottom: calc(var(--baseline) * 4);
        font-weight: 450 !important;
    }
}

.callout .red {
    color: var(--tomato);
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: var(--margin);
    right: var(--margin);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gutter);
    pointer-events: none;
    z-index: 999;
    height: 100%;
}

@media (max-width: 767px) {
    .grid-overlay {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grid-overlay::before {
    content: '';
    grid-column: 1 / -1;
    display: block;
    height: 100%;
    background-image: repeating-linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05) 0,
            rgba(0, 0, 0, 0.05) var(--baseline),
            transparent var(--baseline),
            transparent calc(var(--baseline) * 2));
}

.grid-overlay div {
    background: rgba(255, 64, 39, 0.1);
}

canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  position: fixed;
  background: none;
  top: 0;
  left: 0;
}


.carousel-section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* or however tall you want the carousel */
  overflow: hidden;
}

canvas#carouselCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  background: transparent;
  pointer-events: none;
  /* Important: allows scrolling to continue */
}
