@font-face {
    font-family: "TAN Memories";
    src: url("/fonts/TAN-Memories.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TAN Memories";
    src: url("/fonts/TAN-Memories-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --bg: #ffffff;
    --card: #f8f7f6;
    --warm: #f2ede5;
    --ink: #1a1a1a;
    --ink-mid: #4a4a4a;
    --ink-soft: #888888;
    --rule: #ececec;
    --accent: #fcff9f;
    --terracotta: #b87f6a;
    --footer-bg: #1a1a1a;
    --footer-fg: #c9c5be;
    --footer-fg-strong: #ffffff;
    --serif: "TAN Memories", "Cormorant Garamond", "Libre Baskerville", "Times New Roman", serif;
    --sans: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --max: 1200px;
    --gut: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

figure,
p,
h1,
h2,
h3,
h4 {
    margin: 0;
}

::selection {
    background: var(--accent);
    color: var(--ink);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid transparent;
    padding: 24px var(--gut) 18px;
    backdrop-filter: blur(14px);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
    border-color: var(--rule);
    box-shadow: 0 14px 34px -30px rgba(0, 0, 0, 0.45);
}

.site-header__inner {
    align-items: center;
    display: flex;
    gap: 32px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--max);
}

.logo {
    display: inline-block;
    flex: 0 0 auto;
    line-height: 0;
}

.logo img {
    height: 44px;
    width: auto;
}

.site-nav {
    align-items: center;
    color: var(--ink-soft);
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: flex-end;
    text-transform: uppercase;
}

.site-nav__link {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    transition: color 0.2s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--ink);
}

.site-nav__link.is-active {
    font-weight: 700;
}

.site-main {
    min-height: 60vh;
}

.hero {
    margin: 0 auto;
    max-width: 1280px;
    padding: 78px var(--gut) 72px;
    text-align: center;
}

.hero h1 {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 auto 28px;
    max-width: 1100px;
}

.hero .lede {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 auto 40px;
    max-width: 650px;
}

.hero--conseil {
    padding-bottom: 50px;
}

.hero--contact {
    padding-bottom: 40px;
}

.hero--contact .lede {
    margin-bottom: 32px;
}

.hero__ctas,
.episodes__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn {
    align-items: center;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.2;
    min-height: 48px;
    padding: 15px 34px;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
    transform: translateY(-1px);
}

.btn--accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

.btn--accent:hover,
.btn--ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
}

.btn--ghost {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.section {
    padding: 70px var(--gut);
}

.section__head {
    margin: 0 auto 48px;
    max-width: 880px;
    text-align: center;
}

.section__head h2,
.shine__head h2,
.socials__head h2,
.last-video__title,
.cta-final h2 {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.16;
}

.section__head p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.72;
    margin: 18px auto 0;
    max-width: 660px;
}

.section__cta {
    display: flex;
    justify-content: center;
    margin: 44px auto 0;
}

.section-image {
    aspect-ratio: 16 / 7;
    background: var(--warm);
    margin: 0 auto 52px;
    max-width: var(--max);
    overflow: hidden;
}

.section-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.promise--compact {
    padding: 0 0 30px;
    text-align: center;
}

.promise__body {
    margin: 0 auto;
    max-width: 720px;
}

.promise__body p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.85;
}

.team__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: var(--max);
}

.member {
    background: var(--card);
    display: flex;
    flex-direction: column;
}

.member__photo {
    aspect-ratio: 4 / 3;
    background: #1f1814;
    overflow: hidden;
}

.member__photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.member__caption {
    background: var(--card);
    padding: 32px 26px;
}

.member__name {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 14px;
}

.member__role {
    color: var(--ink-soft);
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 10px;
    line-height: 1.6;
}

.member__role-title {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}

.member__role-skills {
    border-top: 1px solid var(--rule);
    margin-top: 4px;
    padding-top: 14px;
}

.team__beyond {
    margin: 52px auto 0;
    max-width: 640px;
    text-align: center;
}

.team__beyond p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.75;
}

.territories__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: var(--max);
}

.territory {
    align-content: center;
    background: var(--card);
    display: grid;
    gap: 20px;
    min-height: 300px;
    padding: 42px 26px;
    text-align: center;
}

.territory__title {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.08;
}

.territory__eyebrow {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.55;
}

.offers__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    max-width: var(--max);
}

.offer,
.shine__card {
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 56px 48px 48px;
}

.offer__title,
.shine__card-title {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.15;
}

.offer__hint,
.shine__label,
.project__type,
.episodes__outro-label,
.social-link__cap {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.offer__body {
    display: grid;
    gap: 16px;
}

.offer__body p,
.shine__desc {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.72;
}

.offer__cta {
    margin-top: auto;
    padding-top: 16px;
}

.projects__grid {
    background: var(--rule);
    border: 1px solid var(--rule);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(6, 1fr);
    margin: 0 auto;
    max-width: var(--max);
}

.project {
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 18px;
    grid-column: span 2;
    min-height: 240px;
    padding: 46px 34px;
}

.project:nth-child(4),
.project:nth-child(5) {
    grid-column: span 3;
}

.project__index {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
}

.project__title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.22;
}

.project__location {
    align-self: flex-start;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 8px 12px;
    text-transform: uppercase;
}

.project__status {
    align-items: center;
    color: var(--ink-soft);
    display: inline-flex;
    font-size: 11px;
    gap: 8px;
    margin-top: auto;
    text-transform: uppercase;
}

.project__status::before {
    background: var(--accent);
    border-radius: 50%;
    content: "";
    height: 7px;
    width: 7px;
}

.projects__note {
    color: var(--ink-soft);
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
    margin: 50px auto 0;
    max-width: 720px;
    text-align: center;
}

.cta-final {
    padding: 26px var(--gut) 90px;
    text-align: center;
}

.cta-final p {
    color: var(--ink-soft);
    font-size: 16px;
    margin: 16px auto 34px;
    max-width: 540px;
}

.hero--media {
    padding-bottom: 20px;
}

.marquee {
    margin: 48px auto 36px;
    max-width: var(--max);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.marquee__track {
    align-items: center;
    animation: marquee 72s linear infinite;
    display: flex;
    gap: 40px;
    width: max-content;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__logo {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    height: 80px;
    opacity: 0.74;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.shine {
    padding: 50px var(--gut) 58px;
}

.shine__head {
    margin: 0 auto 48px;
    max-width: 760px;
    text-align: center;
}

.shine__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    max-width: var(--max);
}

.posts {
    padding: 54px var(--gut) 90px;
}

.posts__inner {
    margin: 0 auto;
    max-width: 1280px;
}

.posts__head {
    text-align: center;
}

.posts__title {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.12;
}

.posts__stage {
    margin: 80px 0 12px;
    perspective: 1800px;
}

.posts__rail {
    align-items: center;
    display: flex;
    gap: 22px;
    justify-content: center;
    transform-style: preserve-3d;
}

.post {
    flex: 0 0 auto;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    width: 210px;
}

.post--edge-l2 {
    transform: rotateY(24deg) translateZ(-70px) scale(0.9);
}

.post--edge-l1 {
    transform: rotateY(13deg) translateZ(-24px) scale(0.97);
}

.post--center {
    transform: translateZ(30px) scale(1.05);
    z-index: 3;
}

.post--edge-r1 {
    transform: rotateY(-13deg) translateZ(-24px) scale(0.97);
}

.post--edge-r2 {
    transform: rotateY(-24deg) translateZ(-70px) scale(0.9);
}

.posts__rail:hover .post {
    transform: rotateY(0) translateZ(0) scale(0.98);
}

.posts__rail .post:hover {
    transform: rotateY(0) translateZ(60px) scale(1.06);
    z-index: 5;
}

.post__frame {
    aspect-ratio: 4 / 5;
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
}

.post__frame img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.post__cat {
    background: var(--accent);
    border-radius: 999px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    left: 12px;
    padding: 5px 9px;
    position: absolute;
    text-transform: uppercase;
    top: 12px;
    z-index: 2;
}

.post__scrim {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.32) 42%, transparent 70%);
    inset: 0;
    position: absolute;
    z-index: 1;
}

.post__cap {
    bottom: 14px;
    color: #ffffff;
    font-family: var(--serif);
    font-size: 15px;
    left: 14px;
    line-height: 1.25;
    position: absolute;
    right: 14px;
    z-index: 2;
}

.hero__platforms {
    border-top: 1px solid var(--rule);
    margin: 56px auto 0;
    max-width: 1240px;
    padding-top: 56px;
}

.platforms__grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(4, 1fr);
}

.platform {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 232px;
    padding: 24px 16px;
    text-align: center;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.platform:hover {
    background: #ffffff;
    border-color: var(--rule);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

.platform__head {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    order: 2;
}

.platform__name {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
}

.platform__handle {
    color: var(--ink-soft);
    font-size: 12px;
}

.platform__count {
    font-family: var(--serif);
    font-size: 46px;
    line-height: 1;
    order: 1;
}

.platform__desc {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.55;
    max-width: 220px;
    order: 3;
}

.platform__cta {
    align-items: center;
    display: inline-flex;
    margin-top: 12px;
    opacity: 0;
    order: 4;
    transform: translateY(4px);
    transition: opacity 0.25s, transform 0.25s;
}

.platform:hover .platform__cta {
    opacity: 1;
    transform: translateY(0);
}

.platform__cta-arrow {
    background: var(--accent);
    display: inline-grid;
    height: 24px;
    place-items: center;
    width: 42px;
}

.posts__cta {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.hero--podcast {
    padding-bottom: 30px;
}

.hero--podcast .episodes__outro-label {
    margin-top: 36px;
}

.episodes__platforms-list {
    color: var(--ink-soft);
    font-size: 16px;
    margin-top: 10px;
}

.episodes__platforms-list span {
    color: var(--ink-soft);
    display: inline-block;
    margin: 0 5px;
}

.section--last-video {
    padding-top: 48px;
}

.last-video {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

.last-video__title {
    margin-bottom: 34px;
}

.last-video__frame {
    aspect-ratio: 16 / 9;
    background: #111111;
    display: block;
    overflow: hidden;
    position: relative;
}

.last-video__frame img {
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    width: 100%;
}

.last-video__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.38));
    inset: 0;
    position: absolute;
}

.last-video__meta {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    left: 22px;
    position: absolute;
    right: 22px;
    text-align: left;
    top: 20px;
    z-index: 2;
}

.last-video__avatar {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    flex: 0 0 auto;
    height: 38px;
    width: 38px;
}

.last-video__caption h3 {
    color: #ffffff;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.last-video__caption p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.last-video__play {
    background: #ff0000;
    border-radius: 14px;
    color: #ffffff;
    display: grid;
    font-size: 28px;
    height: 58px;
    left: 50%;
    line-height: 1;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    z-index: 2;
}

.last-video__yt {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    bottom: 20px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    position: absolute;
    right: 20px;
    z-index: 2;
}

.section--episodes {
    padding-top: 20px;
}

.episodes__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: var(--max);
}

.episode {
    background: var(--card);
    border-top: 4px solid var(--accent);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

.episode:hover {
    box-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.episode__meta {
    display: none;
}

.episode__img {
    aspect-ratio: 4 / 3;
    background: #eceae6;
    overflow: hidden;
    position: relative;
}

.episode__img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.episode__name {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.12;
    padding: 24px 22px 0;
}

.episode__role {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    padding: 8px 22px 0;
}

.episode__hook {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    padding: 14px 22px 0;
}

.episode__duration {
    color: var(--ink-soft);
    display: none;
    font-size: 12px;
    padding: 10px 22px 0;
}

.episode__actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding: 22px;
}

.episode__listen {
    align-items: center;
    border-bottom: 1px solid transparent;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
    text-transform: uppercase;
    transition: border-color 0.2s, color 0.2s;
}

.episode__listen:hover {
    border-color: var(--ink);
}

.play {
    font-size: 9px;
}

.episodes__outro {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 72px auto 20px;
    text-align: center;
}

.coords {
    padding: 40px var(--gut) 90px;
}

.coords__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: 1040px;
}

.coords__card {
    align-items: flex-start;
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
    padding: 42px 36px 40px;
}

.eyebrow {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
    text-transform: uppercase;
}

.coords__card .eyebrow {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
}

.coords__card p,
.coords__card address {
    color: var(--ink);
    font-size: 16px;
    font-style: normal;
    line-height: 1.7;
}

.coords__card a {
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: border-color 0.2s, color 0.2s;
}

.coords__card a:hover {
    border-bottom-color: var(--terracotta);
    color: var(--terracotta);
}

.socials {
    padding: 18px var(--gut) 90px;
    text-align: center;
}

.socials__head {
    margin-bottom: 32px;
}

.socials__list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin: 0 auto;
    max-width: 900px;
}

.social-card {
    background: #f2f1ee;
    padding: 26px 26px 22px;
}

.social-card__name {
    border-bottom: 1px solid var(--rule);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 18px;
    padding-bottom: 14px;
    text-align: left;
}

.social-card__links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.social-link__cap {
    color: var(--ink-mid);
    font-size: 10px;
}

.social-link__handle {
    border-bottom: 1px solid transparent;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    width: fit-content;
}

.social-link:hover .social-link__handle {
    border-color: var(--ink);
}

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-fg);
    font-size: 12px;
    padding: 72px var(--gut) 28px;
}

.footer-grid {
    display: grid;
    gap: 48px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    margin: 0 auto;
    max-width: var(--max);
}

.footer-col__title {
    color: var(--footer-fg-strong);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 22px;
    text-transform: uppercase;
}

.footer-col__title--empty {
    visibility: hidden;
}

.footer-col p {
    color: var(--footer-fg);
    font-size: 12px;
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 260px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    color: var(--footer-fg);
    font-size: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-col a:hover {
    color: var(--footer-fg-strong);
}

.footer-contact {
    line-height: 1.9;
}

.footer-rule {
    border: 0;
    border-top: 1px solid #2c2c2c;
    margin: 56px auto 18px;
    max-width: var(--max);
}

.footer-base {
    color: var(--footer-fg);
    font-size: 11px;
    text-align: center;
    text-transform: uppercase;
}

.to-top {
    background: var(--ink);
    border: 0;
    bottom: 18px;
    color: #ffffff;
    cursor: pointer;
    display: grid;
    font-size: 14px;
    height: 38px;
    opacity: 0;
    place-items: center;
    pointer-events: none;
    position: fixed;
    right: 18px;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s, background 0.2s;
    width: 38px;
    z-index: 150;
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.to-top:hover {
    background: #000000;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

@media (hover: none) {
    .platform__cta {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .territories__grid,
    .episodes__grid,
    .platforms__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .projects__grid,
    .offers__grid,
    .shine__grid {
        grid-template-columns: 1fr;
    }

    .project,
    .project:nth-child(4),
    .project:nth-child(5) {
        grid-column: span 1;
    }

    .posts__stage {
        perspective: none;
    }

    .posts__rail {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 6px 0 20px;
        scroll-snap-type: x mandatory;
    }

    .post,
    .post--edge-l2,
    .post--edge-l1,
    .post--center,
    .post--edge-r1,
    .post--edge-r2,
    .posts__rail:hover .post,
    .posts__rail .post:hover {
        max-width: 260px;
        scroll-snap-align: center;
        transform: none;
        width: 62vw;
    }

    .coords__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .footer-grid {
        gap: 40px 32px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding-top: 18px;
    }

    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .site-nav {
        gap: 14px 18px;
        justify-content: flex-start;
    }

    .site-nav__link {
        font-size: 13px;
    }

    .logo img {
        height: 38px;
    }

    .hero {
        padding: 56px var(--gut) 46px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .lede {
        font-size: 15px;
    }

    .section {
        padding: 56px var(--gut);
    }

    .section__head h2,
    .shine__head h2,
    .socials__head h2,
    .last-video__title,
    .cta-final h2,
    .posts__title {
        font-size: 38px;
    }

    .team__grid,
    .territories__grid,
    .episodes__grid,
    .platforms__grid {
        grid-template-columns: 1fr;
    }

    .section-image {
        aspect-ratio: 4 / 3;
        margin-bottom: 40px;
    }

    .offer,
    .shine__card {
        padding: 42px 30px;
    }

    .territory {
        min-height: 230px;
    }

    .territory__title,
    .offer__title {
        font-size: 32px;
    }

    .last-video__meta {
        left: 14px;
        right: 14px;
        top: 14px;
    }

    .last-video__caption h3 {
        font-size: 14px;
    }

    .last-video__yt {
        bottom: 12px;
        font-size: 12px;
        padding: 8px 12px;
        right: 12px;
    }

    .last-video__play {
        height: 46px;
        width: 64px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col__title--empty {
        display: none;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 36px;
    }

    .btn {
        width: 100%;
    }

    .hero__ctas,
    .episodes__cta-row {
        align-items: stretch;
        flex-direction: column;
    }
}
