:root {
    --bg: #000;
    --fg: #f5f3ee;
    --muted: rgba(245, 243, 238, 0.64);
    --subtle: rgba(245, 243, 238, 0.42);
    --line: rgba(245, 243, 238, 0.16);
    --panel: rgba(245, 243, 238, 0.045);
    --error: #ff6a58;
    --max: 1220px;
    --chrome-max: 1600px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--fg);
    background:
        radial-gradient(circle at 73% 43%, rgba(255, 255, 255, 0.105), transparent 22rem),
        radial-gradient(circle at 18% 32%, rgba(255, 255, 255, 0.04), transparent 18rem),
        linear-gradient(180deg, #020202 0%, #000 58%, #050505 100%);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    z-index: 10;
    width: min(100%, var(--chrome-max));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 3.5vw, 3rem);
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
}

.mark-link {
    display: inline-flex;
    width: clamp(3.4rem, 5vw, 4.4rem);
}

.drop-code {
    min-width: 0;
    color: var(--subtle);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.mobile-collab {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
    align-items: center;
    width: 100%;
    max-width: var(--max);
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(5.8rem, 8vw, 7.5rem) clamp(1rem, 3.5vw, 3rem) clamp(2.25rem, 5vw, 4rem);
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 43rem);
    padding-top: clamp(2rem, 4.6vw, 4rem);
}

.kicker {
    margin: 0 0 0.7rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-weight: 900;
}

h1 {
    max-width: 11ch;
    font-size: clamp(3.7rem, 7.4vw, 7.3rem);
    line-height: 0.84;
    text-transform: uppercase;
}

h2 {
    max-width: min(20ch, 100%);
    font-size: clamp(1.65rem, 2.8vw, 3rem);
    line-height: 1;
}

.intro {
    max-width: 31rem;
    margin: clamp(1.1rem, 2vw, 1.6rem) 0 0;
    color: rgba(245, 243, 238, 0.78);
    font-size: clamp(0.95rem, 1.08vw, 1.08rem);
    line-height: 1.55;
}

    .intro + .intro {
    margin-top: 0.25rem;
}

.vinyl-stage {
    position: absolute;
    top: 50%;
    right: clamp(-12rem, -9vw, -5rem);
    z-index: 1;
    width: min(76vw, 56.5rem);
    aspect-ratio: 1;
    margin: 0;
    opacity: 1;
    transform: translateY(-48%) perspective(1200px) rotateX(58deg) rotateZ(-18deg);
    transform-origin: 52% 54%;
    filter: none;
}

.vinyl-record {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url("../img/vinyl-base.svg") center / cover no-repeat;
    box-shadow: none;
    backface-visibility: hidden;
}

.vinyl-record::before {
    position: absolute;
    z-index: 1;
    inset: 2.8%;
    content: "";
    border-radius: 50%;
    background: linear-gradient(116deg, transparent 0 31%, rgba(255, 255, 255, 0.075) 45%, transparent 58%);
    opacity: 0.28;
    mix-blend-mode: screen;
}

.record-label {
    position: absolute;
    z-index: 2;
    inset: 31%;
    border-radius: 50%;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)),
        url("../img/es-vedra-sbavato.png") center center / auto 112% no-repeat,
        #050505;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.38),
        0 0 2.6rem rgba(255, 255, 255, 0.24);
}

.record-label::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16%;
    aspect-ratio: 1;
    content: "";
    border-radius: 50%;
    background: #020202;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.38),
        inset 0 0 1rem rgba(255, 255, 255, 0.08);
    transform: translate(-50%, -50%);
}

.brand-section,
.join-section {
    display: grid;
    width: 100%;
    gap: clamp(1.4rem, 5vw, 5rem);
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2.25rem, 6vw, 5rem) clamp(1rem, 3.5vw, 3rem);
    border-top: 1px solid var(--line);
}

.brand-section {
    grid-template-columns: minmax(15rem, 0.46fr) minmax(0, 0.54fr);
    align-items: center;
}

.brand-logo img {
    width: min(18rem, 100%);
}

.brand-copy p,
.join-text,
.instagram-note {
    max-width: 34rem;
    color: rgba(245, 243, 238, 0.78);
    font-size: clamp(0.95rem, 1.08vw, 1.08rem);
    line-height: 1.58;
}

.brand-copy p {
    margin: 1.2rem 0 0;
}

.join-section {
    grid-template-columns: minmax(0, 0.76fr) minmax(20rem, 0.5fr);
}

.join-text {
    margin: 1.2rem 0 0;
}

.signup {
    width: 100%;
}

.email-label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.email-row {
    display: grid;
    grid-template-columns: 1fr auto;
    border: 1px solid var(--line);
    background: var(--panel);
}

.email-row:focus-within {
    border-color: rgba(245, 243, 238, 0.55);
}

input,
button {
    min-width: 0;
    border: 0;
    border-radius: 0;
    color: var(--fg);
    font: inherit;
}

input[type="email"] {
    width: 100%;
    min-height: 3.5rem;
    padding: 0 1rem;
    background: transparent;
    outline: 0;
    font-size: 1rem;
}

input[type="email"]::placeholder {
    color: rgba(245, 243, 238, 0.36);
}

button {
    min-height: 3.5rem;
    padding: 0 1.35rem;
    color: #050505;
    background: var(--fg);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

button:hover,
button:focus-visible {
    background: #d8d6cf;
}

.privacy {
    display: grid;
    grid-template-columns: 1rem 1fr;
    align-items: start;
    gap: 0.7rem;
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.privacy input {
    width: 1rem;
    height: 1rem;
    margin: 0.1rem 0 0;
    accent-color: var(--fg);
}

.privacy a,
.text-link {
    color: var(--fg);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.instagram-note {
    margin: 1.25rem 0 0;
}

.instagram-note a {
    color: var(--fg);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.form-message {
    margin: 1rem 0 0;
    font-size: 0.86rem;
    font-weight: 800;
}

.is-success {
    color: var(--fg);
}

.is-error {
    color: var(--error);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--chrome-max);
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem clamp(1rem, 3.5vw, 3rem) 2rem;
    border-top: 1px solid var(--line);
    color: var(--subtle);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.site-footer .cookie-settings {
    all: unset;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.site-footer .cookie-settings:focus-visible {
    outline: 1px solid var(--fg);
    outline-offset: 0.25rem;
}

.legal-page {
    width: 100%;
    max-width: var(--max);
    min-height: 72svh;
    margin: 0 auto;
    padding: clamp(6.6rem, 10vw, 8.5rem) clamp(1rem, 3.5vw, 3rem) clamp(3rem, 7vw, 5rem);
    overflow-wrap: anywhere;
}

.legal-page h1 {
    max-width: none;
    margin-bottom: clamp(1.5rem, 3vw, 2.35rem);
    font-size: clamp(1.85rem, 3.6vw, 3rem);
    line-height: 0.96;
    text-transform: uppercase;
}

.legal-page p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.policy-placeholder {
    display: grid;
    gap: 1rem;
    min-width: 0;
    max-width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
}

.policy-placeholder p {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow-wrap: break-word;
}

.error-page p {
    max-width: 30rem;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 5.8rem;
        padding-bottom: 2.5rem;
    }

    .hero-copy {
        align-self: start;
        padding-top: 3rem;
    }

    .brand-section,
    .join-section {
        grid-template-columns: 1fr;
    }

    .vinyl-stage {
        position: relative;
        top: auto;
        right: auto;
        justify-self: end;
        width: min(98vw, 41.5rem);
        height: min(98vw, 41.5rem);
        margin: -3.5rem -7rem 0 0;
        transform: perspective(1000px) rotateX(58deg) rotateZ(-18deg);
        overflow: visible;
        mask-image: none;
        filter: none;
    }

    .vinyl-record {
        width: 100%;
        height: 100%;
    }

    .intro {
        max-width: 40rem;
    }
}

@media (max-width: 620px) {
    .drop-code {
        display: none;
    }

    .site-header::after {
        content: none;
    }

    .mobile-collab {
        position: fixed;
        top: 1.35rem;
        right: auto;
        left: 14rem;
        z-index: 11;
        display: block;
        width: 8rem;
        color: var(--subtle);
        font-size: 0.52rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: right;
        text-transform: uppercase;
        white-space: nowrap;
    }

    @media (max-width: 360px) {
        .mobile-collab {
            left: 11.8rem;
        }
    }

    .hero,
    .join-section,
    .legal-page,
    .site-footer {
        padding-left: 1rem;
        padding-right: 1.8rem;
    }

    .legal-page {
        max-width: none;
    }

    .policy-placeholder {
        width: 100%;
        max-width: none;
        white-space: normal;
    }

    .legal-page h1 {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
        line-height: 1;
    }

    .hero {
        min-height: auto;
        padding-top: 4.4rem;
        padding-bottom: 2rem;
    }

    .hero-copy {
        align-self: start;
        width: min(100%, 22rem);
        padding-top: 3.5rem;
    }

    h1 {
        max-width: 8ch;
        font-size: clamp(2.65rem, 13vw, 3.45rem);
        line-height: 0.84;
    }

    h2 {
        max-width: 16ch;
        font-size: clamp(1.5rem, 6.6vw, 2rem);
    }

    .kicker {
        font-size: 0.75rem;
    }

    .intro,
    .brand-copy p,
    .join-text,
    .instagram-note,
    .legal-page p {
        font-size: 1.02rem;
    }

    .email-label,
    button,
    .privacy,
    .form-message,
    .site-footer {
        font-size: 0.82rem;
    }

    input[type="email"] {
        font-size: 1.05rem;
    }

    .mobile-collab {
        font-size: 0.56rem;
    }

    .intro,
    .signup,
    .join-copy,
    .brand-copy {
        width: min(100%, 20rem);
        max-width: 20rem;
    }

    .brand-logo img {
        width: min(13rem, 74vw);
    }

    .vinyl-stage {
        position: relative;
        top: auto;
        right: auto;
        justify-self: end;
        width: 31rem;
        height: 31rem;
        margin: -6.4rem -5.8rem -9rem 0;
        transform: perspective(1000px) rotateX(58deg) rotateZ(-18deg);
        overflow: visible;
        mask-image: none;
        filter: none;
    }

    .vinyl-record {
        width: 100%;
        height: 100%;
    }

    .brand-section {
        border-top: 1px solid var(--line);
        padding-top: 1.25rem;
    }

    .join-section {
        padding-bottom: 4.25rem;
    }

    .site-footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .email-row {
        grid-template-columns: 1fr;
    }

    button {
        width: 100%;
    }
}

/** 
* Privacy Policy
**/
.bg-single-content,
.bg-page-content {
  width: min(100%, 64rem);
  color: rgba(245, 243, 238, 0.76);
  font-size: 1rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.bg-single-content p,
.bg-page-content p {
  max-width: 58rem;
  margin: 0 0 1rem;
}

.bg-single-content h2,
.bg-page-content h2 {
  max-width: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0.75rem;
  color: var(--fg);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.12;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.bg-single-content h3,
.bg-page-content h3 {
  margin: 1.8rem 0 0.65rem;
  color: rgba(245, 243, 238, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.2;
  overflow-wrap: normal;
}

.bg-single-content h4,
.bg-page-content h4 {
  margin: 0 0 0.7rem;
  color: rgba(245, 243, 238, 0.86);
  font-size: 0.96rem;
  line-height: 1.25;
}

.bg-single-content a,
.bg-page-content a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: rgba(245, 243, 238, 0.34);
  text-underline-offset: 0.2em;
}

.bg-single-content .privacy-services,
.bg-page-content .privacy-services {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.bg-single-content .privacy-services > h3,
.bg-page-content .privacy-services > h3 {
  margin: 0.5rem 0 0.1rem;
}

.bg-single-content .service-block,
.bg-page-content .service-block {
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.6vw, 1.5rem);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.35rem;
}

.bg-single-content .service-block h4,
.bg-page-content .service-block h4 {
  color: rgba(245, 243, 238, 0.9);
}

.bg-single-content .table-x-scroll,
.bg-page-content .table-x-scroll,
.bg-single-content .wp-block-table,
.bg-page-content .wp-block-table {
  width: 100%;
  margin: 1.25rem 0 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.025);
  scrollbar-color: rgba(255, 255, 255, 0.24) rgba(255, 255, 255, 0.04);
  overflow-wrap: normal;
}

.bg-single-content .table-x-scroll::-webkit-scrollbar,
.bg-page-content .table-x-scroll::-webkit-scrollbar,
.bg-single-content .wp-block-table::-webkit-scrollbar,
.bg-page-content .wp-block-table::-webkit-scrollbar {
  height: 0.55rem;
}

.bg-single-content .table-x-scroll::-webkit-scrollbar-track,
.bg-page-content .table-x-scroll::-webkit-scrollbar-track,
.bg-single-content .wp-block-table::-webkit-scrollbar-track,
.bg-page-content .wp-block-table::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.bg-single-content .table-x-scroll::-webkit-scrollbar-thumb,
.bg-page-content .table-x-scroll::-webkit-scrollbar-thumb,
.bg-single-content .wp-block-table::-webkit-scrollbar-thumb,
.bg-page-content .wp-block-table::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
}

.bg-single-content .table-x-scroll table,
.bg-page-content .table-x-scroll table,
.bg-single-content .wp-block-table table,
.bg-page-content .wp-block-table table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  margin: 0;
}

.bg-single-content .table-x-scroll th,
.bg-single-content .table-x-scroll td,
.bg-page-content .table-x-scroll th,
.bg-page-content .table-x-scroll td,
.bg-single-content .wp-block-table th,
.bg-single-content .wp-block-table td,
.bg-page-content .wp-block-table th,
.bg-page-content .wp-block-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bg-single-content .table-x-scroll th:last-child,
.bg-single-content .table-x-scroll td:last-child,
.bg-page-content .table-x-scroll th:last-child,
.bg-page-content .table-x-scroll td:last-child,
.bg-single-content .wp-block-table th:last-child,
.bg-single-content .wp-block-table td:last-child,
.bg-page-content .wp-block-table th:last-child,
.bg-page-content .wp-block-table td:last-child {
  border-right: 0;
}

.bg-single-content .table-x-scroll th,
.bg-page-content .table-x-scroll th,
.bg-single-content .wp-block-table th,
.bg-page-content .wp-block-table th {
  color: rgba(245, 243, 238, 0.62);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.bg-single-content .table-x-scroll td,
.bg-page-content .table-x-scroll td,
.bg-single-content .wp-block-table td,
.bg-page-content .wp-block-table td {
  color: rgba(245, 243, 238, 0.74);
  background: rgba(255, 255, 255, 0.014);
}

.bg-single-content .table-x-scroll tr:nth-child(even) td,
.bg-page-content .table-x-scroll tr:nth-child(even) td,
.bg-single-content .wp-block-table tr:nth-child(even) td,
.bg-page-content .wp-block-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.032);
}

@media (max-width: 620px) {
  .legal-page {
    width: auto;
    margin-right: 0;
    margin-left: 0;
    padding-right: 1rem;
  }

  .legal-page h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 8vw, 2.05rem);
    line-height: 1.03;
  }

  .bg-single-content,
  .bg-page-content {
    width: 100%;
    max-width: calc(100vw - 2rem);
    font-size: 1rem;
    line-height: 1.62;
  }

  .bg-single-content p,
  .bg-page-content p {
    max-width: 100%;
  }

  .bg-single-content h2,
  .bg-page-content h2 {
    font-size: clamp(1.05rem, 5.4vw, 1.35rem);
    line-height: 1.12;
  }

  .bg-single-content h3,
  .bg-page-content h3 {
    font-size: clamp(0.96rem, 4.8vw, 1.08rem);
  }
}
