/* about */
.about-section {
    min-height: 108vh;
}

.about-section .section-heading--split {
    align-items: start;
}

.about-intro > p {
    margin: 0;
    color: var(--soft-white);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.82;
}

.about-followup {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
    margin-top: 2.5rem;
}

.about-followup .event-guide-button {
    justify-self: start;
    margin: 0;
}

.about-fun-fact {
    max-width: 23rem;
    margin: .85rem 0 0;
    color: rgba(248, 251, 255, .76);
    font-size: .75rem;
    line-height: 1.6;
}

.facts-line {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(4rem, 8vw, 7rem);
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.facts-line div {
    display: grid;
    gap: 0.25rem;
    min-height: 9.5rem;
    padding: 1.8rem 1.4rem;
    border-left: 1px solid var(--line-light);
}

.facts-line div:first-child {
    border-left: 0;
}

.facts-line strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.075em;
}

.facts-line span {
    align-self: end;
    color: var(--soft-white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-statement {
    max-width: 39rem;
    margin: 0;
    color: rgba(248, 251, 255, 0.9);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.35rem, 2.7vw, 2.25rem);
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.open-source-note {
    display: grid;
    grid-template-columns: minmax(10rem, 0.45fr) 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
    max-width: 50rem;
    margin: clamp(3rem, 4vw, 4rem) 0 0 auto;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(248, 251, 255, 0.28);
}

.open-source-note p {
    margin: 0;
}

.open-source-note p:first-child {
    color: rgba(248, 251, 255, 0.56);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.open-source-note p:last-child {
    max-width: 31rem;
    color: rgba(248, 251, 255, 0.68);
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    line-height: 1.65;
}

.open-source-note a {
    color: rgba(248, 251, 255, 0.76);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(248, 251, 255, 0.42);
    text-underline-offset: 0.24em;
    transition: text-decoration-color 180ms ease;
}

.open-source-note a:hover,
.open-source-note a:focus-visible {
    text-decoration-color: currentColor;
}

/* questions */
.faq-section {
    align-items: flex-start;
    min-height: 150vh;
}

.faq-list {
    margin-top: clamp(4rem, 8vw, 7rem);
    border-top: 1px solid var(--line-dark);
}

.faq-list details {
    border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
    position: relative;
    display: grid;
    grid-template-columns: 3rem 1fr 1.5rem;
    gap: 0.8rem;
    align-items: center;
    padding: 1.45rem 0;
    list-style: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.15rem, 2.1vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    color: rgba(8, 24, 47, 0.44);
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.faq-list summary::before,
.faq-list summary::after {
    content: "";
    position: absolute;
    right: 0;
    width: 1rem;
    height: 1px;
    background: currentColor;
    transition: transform 220ms ease;
}

.faq-list summary::after {
    transform: rotate(90deg);
}

.faq-list details[open] summary::after {
    transform: rotate(0);
}

.faq-list details > p {
    max-width: 48rem;
    margin: -0.2rem 0 0;
    padding: 0 0 1.7rem 3.8rem;
    color: rgba(8, 24, 47, 0.8);
    line-height: 1.78;
}

.faq-list details > p a {
    border-bottom: 1px solid currentColor;
    font-weight: 700;
}

.inline-coming-soon {
    font-weight: 700;
    white-space: nowrap;
}

/* attendee waiver */
.attendee-waiver {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem 2rem;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border-left: 2px solid rgba(169, 225, 255, .65);
    scroll-margin-top: 7rem;
}

.attendee-waiver > div:first-child {
    flex: 1 1 22rem;
}

.attendee-waiver h3 {
    margin: 0 0 .35rem;
    color: var(--ice);
}

.attendee-waiver p:not(.section-number) {
    margin: 0;
    color: var(--soft-white);
    font-size: .85rem;
    line-height: 1.55;
}

.attendee-waiver__actions {
    display: grid;
    gap: .5rem;
    justify-items: start;
}

.attendee-waiver__links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    font-size: .75rem;
}

.attendee-waiver__links a {
    color: var(--soft-white);
    text-underline-offset: .25em;
}

/* sponsors */
.sponsors-section {
    min-height: 105vh;
    color: var(--white);
}

.sponsors-section .section-number {
    color: rgba(248, 251, 255, 0.76);
}

.sponsors-section .section-heading h2,
.sponsors-section .section-heading--split > p {
    text-shadow: 0 0.2rem 1.5rem rgba(3, 8, 20, 0.2);
}

@font-face {
    font-family: "Audiowide";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/https/hackphs.tech/assets/fonts/audiowide.ttf") format("truetype");
}

.sponsor-headliner {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--white);
    font: 400 clamp(2rem, 5vw, 4rem)/1.2 "Audiowide", "Space Grotesk", sans-serif;
    letter-spacing: -.025em;
    text-align: center;
}

.sponsor-featured {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: 3rem 0;
    border-top: 1px solid var(--line-light);
}

.sponsor-featured > a,
.sponsor-featured > div {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 14rem;
    transition: transform 180ms ease;
}

.sponsor-featured > .sponsor-headliners {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-height: 0;
    padding: 0 0 1rem;
}

.sponsor-headliners .sponsor-headliner {
    grid-column: auto;
    margin: 0;
    font-size: clamp(1rem, 3.4vw, 2.5rem);
    text-align: center;
}

.sponsor-featured > a:hover,
.sponsor-featured > a:focus-visible {
    transform: translateY(-0.25rem);
}

.sponsor-featured img {
    width: min(100%, 15.5rem);
    height: auto;
    max-height: 12rem;
    object-fit: contain;
}

.sponsor-featured__burgerrunn img,
.sponsor-featured__prea img,
.sponsor-featured__pto img {
    width: min(100%, 12rem);
}

.sponsor-featured__algoverse {
    align-content: center;
    gap: .65rem;
    color: #182c45;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.04em;
}

.sponsor-featured__algoverse img {
    width: min(100%, 6.5rem);
}

.sponsor-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2.4rem, 5.5vw, 5.5rem);
    margin-top: 0;
    padding: 3rem 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.sponsor-field > a,
.sponsor-field > div {
    display: grid;
    flex: 1 1 7.5rem;
    place-items: center;
    max-width: 7.5rem;
    min-height: 5.2rem;
    opacity: 0.84;
    transition: opacity 180ms ease, transform 180ms ease;
}

.sponsor-field > a:hover,
.sponsor-field > a:focus-visible {
    opacity: 1;
    transform: translateY(-0.25rem);
}

.sponsor-field img {
    width: 100%;
    height: auto;
    max-height: 3.5rem;
    object-fit: contain;
}

.attendee-waiver .event-guide-button {
    margin: 0;
    padding: .6rem .9rem;
    gap: 1rem;
    font-size: .8rem;
}

.sponsor-field__hrt img {
    width: 7rem;
    max-height: 5.5rem;
}

.sponsor-field__elevenlabs {
    max-width: 11rem;
}

.sponsor-field__elevenlabs img {
    width: 10.5rem;
    max-height: 3.6rem;
}

.sponsor-invite {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 60rem;
    margin: 2rem 0 0 auto;
    color: rgba(12, 32, 61, 0.82);
    font-size: clamp(0.98rem, 1.35vw, 1.1rem);
    line-height: 1.65;
}

.sponsor-invite__lead {
    color: #102a52;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sponsor-invite a {
    position: relative;
    color: #102a52;
    font-weight: 700;
}

.sponsor-invite a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.18rem;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.sponsor-invite a:hover::after,
.sponsor-invite a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* footer */
.site-footer {
    position: relative;
    color: rgba(39, 65, 82, 0.66);
    background:
        radial-gradient(ellipse at 14% 20%, rgba(255, 241, 190, 0.44), transparent 30%),
        radial-gradient(ellipse at 48% 55%, rgba(142, 211, 255, 0.3), transparent 40%),
        radial-gradient(ellipse at 86% 15%, rgba(255, 255, 255, 0.68), transparent 34%),
        rgba(239, 248, 251, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(193, 216, 225, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(255, 255, 255, 0.38),
        0 -8px 30px rgba(88, 121, 142, 0.08);
    backdrop-filter: blur(30px) saturate(1.45) brightness(1.04);
    -webkit-backdrop-filter: blur(30px) saturate(1.45) brightness(1.04);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 3.75rem;
    padding: 0.65rem 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.site-footer__inner > span {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-footer__contact,
.site-footer__contact a {
    display: inline-flex;
    align-items: center;
}

.site-footer__contact {
    gap: 1rem;
}

.site-footer__contact strong {
    color: rgba(31, 57, 75, 0.78);
}

.site-footer__contact a {
    gap: 0.35rem;
}

.site-footer__contact a span {
    position: relative;
}

.site-footer__contact a span::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.2rem;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-footer__contact a:hover span::after,
.site-footer__contact a:focus-visible span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #163653;
}

.copy-email {
    position: relative;
    cursor: copy;
}

.copy-email::before {
    content: attr(data-copy-message);
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    padding: 0.3rem 0.55rem;
    color: #f7fbff;
    background: rgba(8, 24, 47, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.4rem;
    box-shadow: 0 0.35rem 1rem rgba(8, 24, 47, 0.16);
    font-size: 0.66rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.3rem);
    transition: opacity 160ms ease, transform 200ms var(--ease);
}

.copy-email.is-copied::before,
.copy-email.copy-email--failed::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

.copy-email.copy-email--failed::before {
    background: rgba(104, 40, 48, 0.92);
}

.registration-note {
    max-width: 34rem;
    margin: 1.25rem 0;
    color: var(--sun);
}

.registration-note,
.attendee-waiver h3 {
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.7;
}

.event-guide-button {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin: .5rem 0 2rem;
    padding: 1rem 1.3rem;
    border: 1px solid currentColor;
    color: var(--ink);
    background: var(--ice);
    font-size: .9rem;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.event-guide-button > span {
    transition: transform 160ms ease;
}

.event-guide-button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

@media (hover: hover) {
    .event-guide-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 0 var(--ink);
    }

    .event-guide-button:hover > span {
        transform: translate(4px, -4px);
    }
}

.event-guide-button:active {
    transform: none;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .event-guide-button,
    .event-guide-button > span {
        transition: none;
    }

    .event-guide-button:hover,
    .event-guide-button:hover > span {
        transform: none;
    }
}

.sponsor-field__pjs img {
    max-height: 8.5rem;
}

.sponsor-field__andymark img {
    padding: .65rem;
    background: #192c3b;
}

.sponsor-field__chick-fil-a {
    gap: .5rem;
    color: #ad002a;
    font-weight: 800;
    font-size: .95rem;
}

.sponsor-field__chick-fil-a img {
    width: 3.5rem;
    max-height: 3.6rem;
}
