
/* =========================================
   01. GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000000;
    color: #E8E5DE;
    font-family: 'DM Mono', monospace;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}


/* =========================================
   02. NAVIGATION
========================================= */

.navigation {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 30px;

    border-bottom: 1px solid rgba(232, 229, 222, 0.35);
    background: rgba(10, 11, 10, 0.15);
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-wave {
    font-size: 32px;
    color: #E8E5DE;
}

.logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 10px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #C5A46D;
}

/* ACTIVE PAGE — subtle text highlight */
.nav-links a[aria-current="page"] {
    color: #E8E5DE;
    opacity: 1;
    text-decoration: none;
}



/* =========================================
   03. SOUND MENU BUTTON
========================================= */

.sound-toggle {
    width: 24px;
    height: 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: transparent;
    border: none;
    cursor: pointer;
}

.sound-circle {
    width: 10px;
    height: 10px;

    border: 2px solid #E8E5DE;
    border-radius: 50%;

    transition: all 0.3s ease;
}

.sound-toggle:hover .sound-circle {
    width: 16px;
    height: 16px;
    border-color: #C5A46D;
}

.sound-circle.active {
    background: #C5A46D;
    border-color: #C5A46D;
    box-shadow: 0 0 12px rgba(197, 164, 109, 0.6);
}


/* =========================================
   04. SOUND MENU PANEL
========================================= */

.sound-panel {
    position: fixed;
    top: 70px;
    right: 30px;
    z-index: 100;

    width: 350px;
    padding: 24px;

    background: rgba(12, 13, 12, 0.97);
    border: 1px solid #777;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-10px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.sound-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.sound-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 18px;
    border-bottom: 1px solid #454642;

    font-size: 11px;
    letter-spacing: 2px;
}

.sound-close {
    background: none;
    border: none;
    color: #E8E5DE;
    font-size: 24px;
    cursor: pointer;
}

.sound-section {
    padding: 20px 0;
    border-bottom: 1px solid #454642;
}

.sound-section-label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: #A6A7A1;
    margin-bottom: 18px;
}

.sound-control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.sound-control-row label {
    font-size: 12px;
    cursor: pointer;
}

.sound-control-row small {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    color: #92938E;
}

.sound-control-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 36px;
    height: 19px;

    background: #444;
    border-radius: 20px;

    position: relative;
    cursor: pointer;

    transition: background 0.3s ease;
}

.sound-control-row input[type="checkbox"]::before {
    content: "";

    position: absolute;
    top: 3px;
    left: 3px;

    width: 13px;
    height: 13px;

    background: #E8E5DE;
    border-radius: 50%;

    transition: transform 0.3s ease;
}

.sound-control-row input[type="checkbox"]:checked {
    background: #A77C50;
}

.sound-control-row input[type="checkbox"]:checked::before {
    transform: translateX(17px);
}

.ambience-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.ambience-selector button {
    background: none;
    border: none;
    color: #C5A46D;
    font-size: 25px;
    cursor: pointer;
}

.ambience-selector select {
    flex: 1;
    background: transparent;
    border: none;
    color: #B0B0AA;
    font-family: inherit;
    font-size: 11px;
    text-align: center;
    cursor: pointer;
}

.ambience-selector option {
    background: #171918;
    color: #E8E5DE;
}

.volume-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.volume-label output {
    color: #C5A46D;
}

.sound-section input[type="range"] {
    width: 100%;
    accent-color: #C5A46D;
    cursor: pointer;
}

.mute-button {
    margin-top: 18px;
    padding: 10px 15px;

    background: transparent;
    border: 1px solid #454642;

    color: #B0B0AA;
    font-size: 9px;
    letter-spacing: 2px;
    cursor: pointer;
}

.mute-button:hover {
    color: #E8E5DE;
    border-color: #C5A46D;
}


/* =========================================
   05. HERO
========================================= */

.hero {
    position: relative;

    width: 100%;
    height: 650px;
    min-height: 600px;

    display: flex;
    align-items: center;

    overflow: hidden;
    border-bottom: 1px solid #454642;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.48) 40%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        url("images/home/ash_mountain.jpg");

    background-size: cover;
    background-position: center 55%;

    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;

    width: 430px;
    padding: 0 0 0 65px;
    margin-top: 45px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -1px;
    margin: 15px 0 25px;
}

.discipline-list {
    list-style: none;
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.discipline-list li::before {
    content: "□";
    margin-right: 12px;
    color: #A6A7A1;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    padding: 10px 25px;
    border: 1px solid #D4D0C8;

    font-size: 11px;
    letter-spacing: 1.5px;

    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #E8E5DE;
    color: #0B0C0B;
}

.hero-button span {
    font-size: 18px;
}

.hero-corner {
    position: absolute;
    z-index: 2;

    width: 18px;
    height: 18px;

    border-color: rgba(232, 229, 222, 0.65);
    border-style: solid;
}

.hero-corner-top {
    top: 80px;
    right: 30px;
    border-width: 1px 1px 0 0;
}

.hero-corner-bottom {
    bottom: 25px;
    left: 30px;
    border-width: 0 0 1px 1px;
}


/* =========================================
   06. SOUND REEL - YOUTUBE VIDEO
========================================= */

.sound-reel {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 30px;
    min-height: 220px;

    border-bottom: 1px solid #454642;
}

/* VIDEO CONTAINER */

.reel-visual {
    position: relative;
    width: 46%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
    border: 1px solid #777;
    background: #000;
}

.reel-visual iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    border: none;
}

/* VIDEO INFORMATION */

.reel-information {
    flex: 1;
}

.section-label {
    font-size: 10px;
    letter-spacing: 2px;
}

.reel-information h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    letter-spacing: 2px;
    margin: 12px 0;
}

.reel-information p {
    font-size: 11px;
    line-height: 1.7;
    color: #B0B0AA;
    max-width: 500px;
}

/* WATCH BUTTON */

.reel-listen {
    display: inline-block;

    margin-top: 18px;
    padding: 10px 15px;

    background: transparent;
    border: 1px solid #E8E5DE;
    color: #E8E5DE;

    font-size: 11px;
    letter-spacing: 1px;

    transition: all 0.3s ease;
}

.reel-listen:hover {
    background: #E8E5DE;
    color: #0B0C0B;
}


/* =========================================
   07. SECTION HEADINGS
========================================= */

.projects,
.background-section,
.journal {
    padding: 25px 30px;
    border-bottom: 1px solid #454642;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 15px;
    border-bottom: 1px solid #454642;

    font-size: 11px;
    letter-spacing: 1.5px;
}

.heading-description {
    font-size: 9px;
    color: #B0B0AA;
}


/* =========================================
   08. SELECTED WORKS / HOVER GALLERY
========================================= */

.project-gallery {
    position: relative;
    padding-top: 15px;
}

/* Horizontal project row */

.project-grid {
    display: flex;
    gap: 20px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 20px;

    scrollbar-width: none;
    scroll-behavior: auto;
}

.project-grid::-webkit-scrollbar {
    display: none;
}

/* Project cards */

.project-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 260px;
}

.project-image {
    position: relative;
    height: 190px;

    overflow: hidden;
    border: 1px solid #353735;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    filter: brightness(0.8);

    transition: transform 0.5s ease, filter 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

.image-play {
    position: absolute;
    left: 12px;
    bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: rgba(0, 0, 0, 0.65);
    border: 1px solid #E8E5DE;

    font-size: 14px;
}

.project-title {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.project-title h3 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
}

.project-title span {
    font-size: 17px;
}

.project-card p {
    margin-top: 5px;
    color: #A6A7A1;
    font-size: 9px;
    letter-spacing: 0.5px;
}

/* Hover arrows: centered on the thumbnails */

.gallery-arrow {
    position: absolute;
    top: 15px;

    height: 190px;
    width: 75px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #E8E5DE;
    font-size: 30px;

    opacity: 0;
    cursor: pointer;
    pointer-events: auto;

    transition: opacity 0.3s ease;
}

.gallery-arrow-left {
    left: 0;

    background: linear-gradient(
        90deg,
        rgba(11, 12, 11, 0.85),
        transparent
    );
}

.gallery-arrow-right {
    right: 0;

    background: linear-gradient(
        270deg,
        rgba(11, 12, 11, 0.85),
        transparent
    );
}

.gallery-arrow:hover {
    opacity: 1;
}


/* =========================================
   09. BACKGROUND
========================================= */

.background-content {
    display: grid;

    grid-template-columns: 1.1fr 1fr 1fr 0.8fr;

    align-items: center;
    gap: 25px;

    padding-top: 20px;
}

.background-image {
    height: 150px;
    overflow: hidden;
}

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

.background-column {
    min-height: 130px;
    padding-right: 15px;
    border-right: 1px solid #454642;
}

.column-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.column-icon {
    font-size: 23px;
}

.column-heading h3 {
    font-size: 11px;
    font-weight: 400;
}

.background-column p {
    font-size: 10px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.resume-column {
    display: flex;
    justify-content: center;
}

.resume-button {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px;
    border: 1px solid #E8E5DE;

    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.5px;

    transition: all 0.3s ease;
}

.resume-button:hover {
    background: #E8E5DE;
    color: #0B0C0B;
}

.resume-button span:first-child {
    font-size: 20px;
}


/* =========================================
   10. JOURNAL
========================================= */

.journal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
    padding-top: 15px;
}

.journal-image {
    width: 100%;
    height: 145px;

    overflow: hidden;
    border: 1px solid #353735;
}

.journal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    transition: transform 0.5s ease;
}

.journal-card:hover img {
    transform: scale(1.05);
}

.journal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.journal-title span {
    font-size: 18px;
}

.journal-title h3 {
    flex: 1;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
}

.journal-card p {
    margin-top: 8px;

    color: #B0B0AA;
    font-size: 10px;
    line-height: 1.6;
}


/* =========================================
   11. CONTACT
========================================= */

.contact-section {
    border-bottom: 1px solid #454642;
}

.contact-heading {
    padding: 20px 30px;

    font-size: 11px;
    letter-spacing: 1.5px;

    border-bottom: 1px solid #454642;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;

    align-items: center;
    min-height: 220px;
}

.contact-title {
    padding: 25px 35px;
}

.contact-title h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 37px;
    line-height: 0.95;
    letter-spacing: -1px;
}

.contact-decoration {
    display: block;
    margin-top: 20px;

    color: #777;
    letter-spacing: 5px;
}

.contact-information {
    padding: 25px;

    border-left: 1px solid #454642;
    border-right: 1px solid #454642;
}

.contact-information p {
    font-size: 11px;
    line-height: 1.8;
    color: #C2C0B9;
}

.contact-button {
    display: inline-block;

    margin-top: 18px;
    padding: 10px 20px;

    border: 1px solid #E8E5DE;

    font-size: 10px;
    letter-spacing: 1px;

    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #E8E5DE;
    color: #0B0C0B;
}

.contact-image {
    height: 220px;
    overflow: hidden;
}

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


/* =========================================
   12. TABLET RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .navigation {
        padding: 0 20px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 8px;
    }

    .hero {
        height: 600px;
    }

    .hero-content {
        padding-left: 30px;
    }

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

    .sound-panel {
        top: 65px;
        right: 15px;
        width: min(350px, calc(100vw - 30px));
    }

    .sound-reel {
        flex-direction: column;
        align-items: stretch;
    }

    .reel-visual {
        width: 100%;
    }

    .project-card {
        flex: 0 0 65%;
    }

    /* Hide hover arrows on touch devices */

    .gallery-arrow {
        display: none;
    }

    .background-content {
        grid-template-columns: 1fr 1fr;
    }

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

    .contact-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-image {
        display: none;
    }
}


/* =========================================
   13. SMALL PHONE RESPONSIVE
========================================= */

@media (max-width: 480px) {

    .navigation {
        height: auto;
        min-height: 70px;

        flex-wrap: wrap;
        gap: 10px;

        padding: 12px 15px;
    }

    .brand {
        gap: 8px;
    }

    .brand-wave {
        font-size: 24px;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .nav-links {
        order: 3;
        width: 100%;

        justify-content: space-between;
        padding-bottom: 5px;
    }

    .nav-links a {
        font-size: 8px;
    }

    .hero {
        height: 600px;
        min-height: 600px;
    }

    .hero-background {
        background-position: 60% center;
    }

    .hero-content {
        width: 100%;
        padding: 20px;
        margin-top: 60px;
    }

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

    .discipline-list {
        font-size: 10px;
    }

    .sound-reel {
        padding: 20px;
    }

    .reel-information h2 {
        font-size: 23px;
    }

    .projects,
    .background-section,
    .journal {
        padding: 20px 15px;
    }

    .heading-description {
        font-size: 7px;
    }

    .project-card {
        flex: 0 0 85%;
    }

    .background-content {
        grid-template-columns: 1fr;
    }

    .background-image {
        height: 180px;
    }

    .background-column {
        border-right: none;
        border-bottom: 1px solid #454642;
        padding-bottom: 15px;
    }

    .journal-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .journal-image {
        height: 110px;
    }

    .journal-title h3 {
        font-size: 9px;
    }

    .journal-card p {
        font-size: 9px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-title {
        padding: 30px 20px;
    }

    .contact-information {
        border-left: none;
        border-right: none;
        border-top: 1px solid #454642;
    }
}


/* JOURNAL WORK-IN-PROGRESS OVERLAY
   Keep the original images and card layout visible beneath a dark overlay. */
.journal-grid-wip {
    position: relative;
    isolation: isolate;
}
.journal-wip-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.76);
    pointer-events: none;
}
.journal-wip-overlay span {
    display: inline-block;
    padding: 13px 20px;
    border: 1px solid rgba(232, 229, 222, 0.8);
    color: #E8E5DE;
    background: rgba(0, 0, 0, 0.55);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-align: center;
}


/* FINAL IMAGE DIMENSIONS — NORMAL CARD PROPORTIONS */
@media (min-width: 769px) {
    .project-grid {
        align-items: flex-start;
    }
    .project-grid .project-card {
        flex: 0 0 clamp(280px, 30vw, 380px) !important;
        width: clamp(280px, 30vw, 380px) !important;
        min-width: 0 !important;
        max-width: 380px !important;
    }
    .project-grid .project-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        max-height: 214px;
    }
    .journal-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        align-items: start;
    }
    .journal-grid .journal-card {
        min-width: 0;
        width: 100%;
    }
    .journal-grid .journal-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        max-height: 180px;
    }
}
@media (max-width: 768px) {
    .project-grid .project-card {
        flex: 0 0 min(82vw, 360px) !important;
        width: min(82vw, 360px) !important;
        min-width: 0 !important;
    }
    .project-grid .project-image {
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
    .journal-grid .journal-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }
}

/* MOBILE-ONLY OPTIMIZATION — desktop rules above remain unchanged */
@media (max-width: 650px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .navigation {
    position: relative;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px 10px;
    padding: 13px 16px 10px;
  }
  .brand { min-width: 0; }
  .nav-links {
    grid-column: 1 / -1;
    order: initial;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 5px;
    padding: 5px 0 2px;
    overflow: visible;
  }
  .nav-links a {
    display: block;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(7px, 2vw, 9px);
    letter-spacing: .25px;
    padding: 5px 0;
  }
  .sound-toggle { justify-self: end; }
  .sound-panel {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
  .hero { min-height: min(690px, calc(100svh - 95px)); height: auto; }
  .hero-content { max-width: 100%; }
  .hero h1 { overflow-wrap: anywhere; }
  .project-grid { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
  .project-grid .project-card { scroll-snap-align: start; }
  .journal-grid { gap: 18px 12px; }
  .journal-card { min-width: 0; }
  .contact-content, .background-content { min-width: 0; }
}
@media (max-width: 380px) {
  .navigation { padding-inline: 11px; }
  .nav-links { column-gap: 2px; }
  .nav-links a { font-size: 6.8px; letter-spacing: 0; }
  .hero h1 { font-size: clamp(34px, 11vw, 43px); }
}


/* =====================================================
   SHARED MOBILE HEADER — CONSISTENT ACROSS ALL PAGES
   Mobile-only override. Desktop navigation is untouched.
===================================================== */
@media (max-width: 650px) {
  body .navigation {
    position: relative !important;
    z-index: 100 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-content: initial !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 16px 18px 13px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(232, 229, 222, .35) !important;
  }

  body .navigation > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  body .navigation > .brand .logo {
    display: block !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 3px !important;
    white-space: nowrap !important;
  }

  body .navigation > .nav-links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    order: initial !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-content: initial !important;
    justify-items: center !important;
    gap: 10px 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 2px 0 0 !important;
    overflow: visible !important;
  }

  body .navigation > .nav-links a {
    display: block !important;
    min-width: 0 !important;
    padding: 3px 0 !important;
    font-family: "DM Mono", monospace !important;
    font-size: clamp(7px, 2vw, 9px) !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: .25px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body .navigation > .sound-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  body .navigation > .sound-toggle .sound-circle {
    width: 12px !important;
    height: 12px !important;
  }

  body .sound-panel {
    top: 12px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 380px) {
  body .navigation {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  body .navigation > .nav-links {
    column-gap: 2px !important;
  }

  body .navigation > .nav-links a {
    font-size: 6.8px !important;
    letter-spacing: 0 !important;
  }
}
