@font-face {
    font-family: "Satoshi";
    src: url(assets/font/Satoshi-Medium.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Satoshi";
    src: url(assets/font/Satoshi-Bold.otf) format("opentype");
    font-weight: 700;
    font-style: bold;
}

@font-face {
    font-family: "Satoshi";
    src: url(assets/font/Satoshi-Black.otf) format("opentype");
    font-weight: 1000;
    font-style: bolder;
}

* {
    font-family: "Satoshi", Helvetica;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #ffc0cb transparent;
}

html, body {
    background-color: #eeff00;
    margin: 0;
    overflow-y: scroll;
    scrollbar-width: none;
    scroll-behavior: auto !important; 
}

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

header.nav-header {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.navbar {
    width: clamp(300px, 90%, 1000px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0.75rem 2rem;
    outline: 3px solid black;
    border-radius: 100px;
    box-shadow: 6px 6px 0 black;
    background-color: #edf507;
    pointer-events: auto;
    background-color: rgba(237, 245, 7, 0.4);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(5px);
}

#nav-links {
    display: flex;  
    gap: clamp(25px, 30px, 35px);
    justify-content: center;
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.125rem;
}

div#logo {
    margin: 0;
}

img#proton-logo {
    height: clamp(24px, 4vw, 32px);
    width: auto;
    display: block;          
    max-width: 600px;   
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

img#proton-logo:hover {
    transform: translateY(-5px);
}

.button {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.6em 1.6em;
    line-height: 1;
    outline: 3px solid black !important;
    border: none;
    border-radius: 50px;
    background-color: #ffc0cb;
    color: black;
    cursor: pointer;
    transition: all 0.3s; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#get-started:hover {
    background-color: black;
    color: #ffc0cb;
    outline: 3px solid #ffc0cb !important;
}

button#submit {
    background-color: #eeff00;
    outline: 3px solid black !important;
}

button#submit:hover {
    background-color: #000000 !important;
    color: #eeff00;
    outline: 3px solid #eeff00 !important;
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section {
    display: grid;
    justify-items: center;
    padding-inline: clamp(2rem, 10vw, 15rem);
    overflow: visible;
}

.reveal-sink {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the content-wrappers below */
    will-change: transform, opacity, filter;
    transform-origin: left center; /* Makes the skew feel like a swing */
}

.hero {
    margin-top: clamp(15rem, 16vh, 20rem);
    scroll-margin-top: 18vh;
}

.text-box {
    outline: 3px solid black;
    padding: 0.8rem;
    border-radius: 14px;
    display: inline-block;
    max-width: clamp(22em, 80vw, 65em);
    will-change: transform, opacity; 
}

.text-box h1 {
    font-size: clamp(2rem, 5vw + 1rem, 4.2rem);
    font-weight: 1000;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    word-break: normal;
}

.content-wrap,
#about-wrap-aligner,
.approach-wrap,
.form-wrap {
    width: min(100%, 1100px);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Ensures all text starts at the same X point */
}

.content-wrap {
    padding-bottom: clamp(2rem, 6vh, 10rem);
    row-gap: clamp(2rem, 8vh, 13vh);
}

.text-box--pink-black {
    background-color: #ffc0cb;
    box-shadow: 7px 7px 0 black;
}

.text-box--pink-yellow {
    background-color: #ffc0cb;
    box-shadow: 7px 7px 0 yellow;
}

.text-box--green-pink {
    background-color: #eeff00;
    box-shadow: 7px 7px 0 #ffc0cb;
}

.content-wrap p {
    font-size: clamp(1.05rem, 1.5vw + 0.6rem, 1.8rem);
    line-height: 1.55;
    font-weight: 1000;
    max-width: clamp(23em, 40em, 80em);
}

.content-wrap p strong {
    background-color: #ffc0cb;
}

.effect-button {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2em;
    margin-top: 6em;
    padding: 0.5em 0em 0.5em 1em;
    background-color: yellow;
    cursor: pointer;
    box-shadow: 4px 6px 0px black;
    border: 4px solid;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    z-index: 100;
    transition: box-shadow 250ms, transform 250ms, filter 50ms;
    font-size: 1.05em;
}

.effect-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 3px 0px black;
}

.effect-button:active {
    filter: saturate(0.75);
}

.effect-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: pink;
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 250ms;
}

.effect-button:hover::after {
    transform: translateX(0);
}

.bgContainer {
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    overflow: hidden;
    max-width: calc(70% + 1em);
    font-size: 1.4em;
    font-weight: 1000;
    white-space: nowrap; 
}

.bgContainer span {
    position: relative;
    transition: all 250ms;
    white-space: nowrap;
    flex-shrink: 0;
}

.bgContainer span:first-child {
    transform: translateX(0);
}

.bgContainer span:nth-child(2) {
    position: absolute;
    left: 0;
    transform: translateX(-100%);
}

.effect-button:hover .bgContainer > span:first-child {
    transform: translateX(100%);
}

.effect-button:hover .bgContainer > span:nth-child(2) {
    transform: translateX(0);
}

.arrowContainer {
    padding: 0.6em;
    margin-inline-end: 1em;
    border: 4px solid;
    border-radius: 50%;
    background-color: pink;
    position: relative;
    overflow: hidden;
    transition: transform 250ms, background-color 250ms;
    z-index: 100;
}

.arrowContainer::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: yellow;
    transform: translateX(-100%);
    z-index: -1;
    transition: transform 250ms ease-in-out;
}

.effect-button:hover .arrowContainer::after {
    transform: translateX(0);
}

.effect-button:hover .arrowContainer {
    transform: translateX(5px);
}

.effect-button:active .arrowContainer {
    transform: translateX(8px);
}

.arrowContainer svg {
    vertical-align: middle;
}

.about {
    margin-top: clamp(8rem, 20vh, 26rem);
    padding-inline: clamp(2rem, 10vw, 15rem);
    padding-block: clamp(8rem, 20vh, 12rem);
    position: relative;
    isolation: isolate;
    scroll-margin-top: -7vh;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    height: 100%;
    background: #111;
    border-radius: 50% / 10%;
    z-index: -1;
}

.about-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: clamp(1em, 4vh, 8vh);
}

#about-wrap-aligner {
    row-gap: clamp(5em, 16vh, 26vh)
}

.text-box--pink-yellow h2 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 4.5rem);
    font-weight: 1000;
    margin: 0;
}

.text-box--header {
    padding: 0px 10px 0px 10px !important;
}

#about-wraper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1vh;
}

#about-wraper h3 {
    font-size: clamp(1rem, 1vw + 1rem, 3.4rem);
    font-weight: 1000;
    margin: 0;
}

#about-wraper p {
    font-size: clamp(1em, 1vw + 0.6em, 1.6rem);
    line-height: 1.3;
    font-weight: 700;
    max-width: clamp(18em, 23em, 38em);
}

#about-wraper p strong {
    background-color:#eeff00
}

.text-box--green-pink h2 {
    font-size: clamp(2rem, 3.5vw + 1.2rem, 5.8rem);
    font-weight: 1000;
    margin: 0;
}

.text-box--green-pink p {
    font-size: clamp(1em, 1vw + 0.6em, 1.6rem);
    line-height: 1.3;
    font-weight: 1000;
    max-width: clamp(18em, 23em, 38em);
}

.approach {
    margin-top: clamp(10rem, 25vh, 32rem);
    scroll-margin-top: 15vh;
}

.approach-wrap {
    row-gap: clamp(1em, 4vh, 8vh);
}

#approach-wrapper h2 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 4.5rem);
    font-weight: 1000;
    margin: 0;
}

.what-we-do p {
    font-size: clamp(1em, 1vw + 0.6em, 1.6rem);
    line-height: 1.3;
    font-weight: 1000;
    max-width: clamp(18em, 23em, 38em);
}

.what-we-do {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: clamp(2em, 4vh, 8vh);    
}

#approach-wrapper-two {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 2.5vh;    
}

#approach-wrapper-two h2 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 4.5rem);
    font-weight: 1000;
    margin: 0;
}

#approach-wrapper-two p {
    font-size: clamp(1em, 1vw + 0.6em, 1.6rem);
    line-height: 1.3;
    font-weight: 1000;
    max-width: clamp(18em, 23em, 38em);
}

.contact {
    margin-top: clamp(6rem, 15vh, 15rem);
    scroll-margin-top: 12vh;
}

.form-wrap {
    row-gap: clamp(1em, 4vh, 8vh);
}

#form-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: clamp(1em, 2rem, 1.6em);
    padding: 1.8em;
    max-width: minmax(25vw, 65em);
}

input, textarea {
    font-size: 1.1rem;
    font-weight: 1000;
    padding: 0.7em 1.8em;
    line-height: 1;
    outline: 2px solid black;
    border-radius: 10px;
    background-color: #eeff00;
    text-align: left;
    padding-left: 10px;
}

textarea {
    outline: 3px solid black !important;
}

button#submit {
    background-color: #eeff00;
    outline: 2px solid black;
    border-radius: 10px;    
}

button#submit:hover {
    background-color:#ccda04;
}

.form-inner-wrap h2 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, 4.5rem);
    font-weight: 1000;
    margin: 0;    
}

.form-inner-wrap {
    display: grid;
    flex-direction: column;
    align-items: flex-start;
    row-gap: clamp(1em, 2rem, 1.6em);
}

#small {
    width: clamp(220px, 60%, 420px);
}

#medium {
    width: clamp(240px, 75%, 550px);
}

#long {
    width: clamp(260px, 100%, 100%);
    height: 6em;
}

.form-inner-wrap-two p {
    font-size: clamp(1em, 1vw + 0.6em, 1.6rem);
    line-height: 1.3;
    font-weight: 1000;
    max-width: clamp(18em, 23em, 38em);
}

#proton-email {
    padding: 0.4em;
    border-radius: 8px
}

.form-inner-wrap-two {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: clamp(0.5em, 0.7em, 1.5em);
}

section.proton-logo {
    margin-top: clamp(1rem, 16vh, 25rem);
    display: flex;
    justify-content: center;
    align-items: center;
    contain: layout; 
}

.proton-logo-text-wrapper {
    width: 100vw;
    overflow: visible;
    display: flex;
    justify-content: center;
}

.proton-logo-text {
    font-size: clamp(4rem, 25vw, 100%);
    white-space: nowrap;
    font-weight: 1000;
    text-shadow: 0.05em 0.05em 0 #ffc0cb;
}

.scroll-indicator {
    position: fixed;
    right: 8px;
    width: 6px;
    background: rgba(255, 192, 203, 1);
    border-radius: 10px;
    z-index: 9999;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, width 0.2s;
    touch-action: none;
}

.scroll-indicator:hover,
.scroll-indicator.dragging {
    opacity: 0.95;
    width: 10px;
    background: rgba(255, 192, 203, 1);
}

::selection {
    background-color: rgba(0, 0, 0, 0.2);
    color: white; 
}

::-moz-selection {
    background-color: #ffc0cb;
    color: #000000;
}

@media (max-width: 1024px) {
    section {
        justify-items: start;
    }   
    
    .content-wrap,
    #about-wrap-aligner,
    .approach-wrap,
    .form-wrap {
        align-items: flex-start;
    }
}
@media (max-width: 550px) {
    header.nav-header {
        display: none;
    }

    .hero {
        margin-top: clamp(6rem, 9vh, 8rem);
        scroll-margin-top: 5rem;
    }
}

.site-credit {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.site-credit a {
    color: black;
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.site-credit a:hover {
    opacity: 1;
}
