/* -----------------------------
-------------------------------- 
 
RESETS 
 
--------------------------------
----------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, main, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
hr { 
    margin: 1rem 0;
    height: 0px;
    border: none;
    border-bottom: 1px solid #000;
}


/* -----------------------------
-------------------------------- 
 
TYPOGRAPHY 
 
--------------------------------
----------------------------- */

@font-face {
    font-family: 'Josefin Sans';
    src: url('josefin-sans.ttf') format("truetype-variations");
    font-weight: 1 999;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('josefin-sans-italic.ttf') format("truetype-variations");
    font-style: italic;
    font-weight: 1 999;
}

html {
    font-size: 16px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 350;
}

html, body {
    height: 100%;
    width: 100%;
}

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


p, a, h4 { 
    line-height: 1rem;
    font-size: 1rem;            /* 16px */
    line-height: 1.5rem;        /* 24px */
}

p:not(body.licensing p), a {
    text-transform:lowercase;
}

small, .small {
    text-transform:lowercase;
    display: inline-block;
    margin-top: 0.875rem;       /* 14px spacing to match vertical rhythm on grid*/ 
    font-size: 0.75rem;         /* 12px */
    line-height: 1rem;          /* 16px */
}

h3 {
    font-weight:700;
    margin-top: 0.125rem;       /* 2px for josefine sans, to maintain vertical rhythm on grid */
    font-size: 1.325rem;        /* 16px for josefine sans, to maintain vertical rhythm on grid */
    line-height: 2rem;          /* 36px */
    letter-spacing: 0.125rem;   /*  2px */
    text-transform: uppercase;
}

h2 {
    font-weight: 700;
    margin-top: -0.5rem;
    font-size: 2rem;            /* 32px */
    line-height: 3rem;          /* 48px */
    letter-spacing: 0.25rem;    /*  4px  */
    text-transform: uppercase;
}

h1 {
    font-weight: 700;
    font-size: 3rem;            /* 48px */
    line-height: 4.5rem;        /* 72px */
    letter-spacing: 0.5rem;     /* 8px  */
    color: #222;
    text-transform: uppercase;
}

h1, h2, h3, strong, .bold {
    font-weight: 700;
}

h3 + hr { 
    margin-bottom: 1.5rem;
}

/* -----------------------------
-------------------------------- 
 
LANDING 
 
--------------------------------
----------------------------- */

body {
    display: grid;
    height: 100%;
    grid-template-columns: minmax(1rem, 1fr) minmax(288px, 1024px) minmax(1rem, 1fr);
}

body.landing {
    grid-template-rows: minmax(1rem, 1fr) minmax(288px, 496px) minmax(1rem, 1fr);
}

body.landing main {
    grid-column: 2/3;
    grid-row: 2/3;
}

body .hero {
    background-color: #f5f5f5;
    margin-bottom: 4.5rem;
    color: transparent;
    display: block;
    
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: bottom;
    object-position: bottom;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

body.landing .hero {
    height: calc(100% - 8rem);
}

body a.landing-image[href="/"] {
    pointer-events: none;
}

/* -----------------------------
-------------------------------- 
 
NAV / MENU 
 
--------------------------------
----------------------------- */

nav {
    display: grid;
    grid-template-columns: minmax(3rem, 1fr) 8rem 8rem;
}

nav a {
    display: block;
    text-align: right;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#logo {
    width: 4rem;
    height: 2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    text-align: left;
}

#logo img {
    width: auto;
    height: 100%;
}

body[page="music"]      nav a[href="/music"]      { font-weight: 600; pointer-events: none; }
body[page="tech"]       nav a[href="/tech"]       { font-weight: 600; pointer-events: none; }
body[page="bio"]        nav a[href="/bio"]        { font-weight: 600; pointer-events: none; }
body[page="now"]        nav a[href="/now"]        { font-weight: 600; pointer-events: none; }
body[page="press-kit"]  nav a[href="/press-kit"]  { font-weight: 600; pointer-events: none; }
body[page="contact"]    nav a[href="/contact"]    { font-weight: 600; pointer-events: none; }
body[page="media"]      nav a[href="/media"]      { font-weight: 600; pointer-events: none; }

body:not(.landing) nav {
    margin: 4rem 0;
}

body:not(.landing) {
    padding-bottom: 4rem;
}



/* -----------------------------
-------------------------------- 
 
GENERAL CONTENT 
 
--------------------------------
----------------------------- */

.twocol {
    display: grid;
    grid-template-columns: repeat(2, minmax(288px, 1fr));
    -moz-column-gap: 4rem;
    column-gap: 4rem;
    row-gap: 4rem;
}

.twocol p {
    text-align: justify;
}

.twocol p:not(:last-child) {
    margin-bottom: 1rem;
}

.twocol img {
    grid-column: span 2;
    margin-bottom: 0;
}

article a {
    text-decoration: underline;
}


/* -----------------------------
-------------------------------- 
 
NOW PAGE 
 
--------------------------------
----------------------------- */
/* #region NOW PAGE */

body.now .hero {
    max-height: 24rem;
}



/* #endregion NOW PAGE */


/* -----------------------------
-------------------------------- 
 
MUSIC
 
--------------------------------
----------------------------- */

body.music .album {
    display: grid;
    grid-template-columns: 16rem 1fr;
}

body.music .album:not(:last-child) {
    margin-bottom: 4rem;
}

body.music .album img {
    width: 16rem;
    height: 16rem;
    -o-object-fit: cover;
    object-fit: cover;
    box-shadow: 0 0rem 2rem rgba(0,0,0,0);
    transition: 0.15s box-shadow linear;
    background-color: #f5f5f5;
}

body.music header {
    height: 100%;
    position: relative;
    margin-left: 4rem;
}

body.music time {
    writing-mode: vertical-lr;
    position: absolute;
    bottom: 0;
    left: 0;
}

body.music main a:last-child {
    margin-bottom: 4rem;
}


/* -----------------------------
-------------------------------- 
 
ALBUM DETAIL PAGE 
 
--------------------------------
----------------------------- */

body.album article {
    display: grid;
    grid-template-columns: 16rem 4rem 1fr 8rem;
}

body.album article img {
    width: 100%;
    height: auto;
}

body.album header {
    height: 100%;
    position: relative;
}

body.album header h2 {
    position: absolute;
    bottom: 5.25rem;
}

body.album header time {
    position: absolute;
    bottom: 3.75rem;
}

body.album header + b {
    border-left: 1px solid #000;
    height: 4rem;
    margin-top: 16rem;
}

body.album article p {
    grid-column: span 2;
    text-align: justify;
    padding: 4rem 0;
    border-bottom: 1px solid #000;
}

body.album article p + b {
    border-top: 1px solid #000;
    margin-left: 4rem;
}

body.album article aside {
    border-top: 1px solid #000;
    border-left: 1px solid #000;
}

body.album article aside a {
    display: block;
    text-align: center;
}

body.album article aside a img {
    margin-top: 3rem;
    height: 2rem;
    width: auto;
}

body.album footer { 
    padding: 4rem 0; 
    grid-column: 1/-2;
}

body.album footer a { 
    display: block; 
}

body.album footer img {
    height: 2rem;
    width: auto;
}

body.album footer img.sm {
    height: 1.5rem;
    margin-top: 0.25rem;
} 

body.album footer h4 {
    margin-bottom: 3.5rem;
}

body.album footer ul { list-style: none; }
body.album footer li a { 
    display: flex; 
    padding: 2rem 0;
    border-top: 1px solid #000;
}

body.album footer li a img {
    height: 2rem;
    width: auto;
}

body.album footer li a img.sm {
    height: 1.5rem;
    margin-top: 0.25rem;
}

body.album footer li a time {
    flex-grow: 1;
    text-align: right;
    line-height: 2rem;
    display: inline-block;
}

body.album footer li a {
    text-decoration: none;
}


/* -----------------------------
-------------------------------- 
 
TECH (PROJECT LISTINGS)
 
--------------------------------
----------------------------- */

body.tech .project {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    position: relative;
    margin-bottom: 8rem;
}

body.tech .project img {
    width: 100%;
    height: 18rem;
    -o-object-fit: cover;
    object-fit: cover;
    background-color: #f5f5f5;
}

body.tech .project img.tall {
    height: 28rem;
}


body.tech .project time {
    writing-mode: vertical-lr;
    position: absolute;
    bottom: 0;
    left: 0;
}

body.tech .project h4 {
    position: absolute;
    bottom: -2.5rem;
    left: 2.5rem;
}

/* -----------------------------
-------------------------------- 
 
PROJECT DETAIL PAGE
 
--------------------------------
----------------------------- */


body.project article {
    display: grid;
    grid-template-columns: 8rem 1fr 8rem;
}

body.project article p {
    text-align: justify;
}

body.project article img {
    grid-column: span 3;
    width: 100%;
    height: auto;
}

body.project article iframe, 
body.project article video {
    grid-column: span 3;
    width: 100%;
    height: 36rem;
    margin: 4rem 0;
}

body.project article img:not(:first-child) {
    margin: 4rem 0;
}

body.project article header {
    grid-column: span 3;
    margin-top: 4.5rem;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 8rem 1fr 8rem;
}

body.project article header .small,
body.project article header small {
    margin-top: 0;
}

body.project article header small,
body.project article .imgcredit {
    text-align: right;
}

body.project article .imgcredit {
    margin-top: -3rem;
}

body.project article header small:not(:empty)::before {
    content: "for: ";
}

body.project .double {
    grid-column: span 2;
}

body.project footer {
    margin: 4rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #000;
    grid-column: span 3;
}

body.project footer img {
    height: 1.5rem;
    width: auto;
}




/* -----------------------------
-------------------------------- 
 
CONTACT, MEDIA & CATALOG
 
--------------------------------
----------------------------- */

body.licensing article {
    display: grid;
    grid-template-columns: 4rem minmax(42rem, 1fr) 4rem;
    row-gap: 4rem;
}

body.contact article,
body.media article {
    display: grid;
    grid-template-columns: 8rem 1fr 8rem;
    row-gap: 4rem;
}

body.contact article img,
body.licensing article img {
    grid-column: span 3;
    width: 100%;
    height: 100%;
    max-height: 18rem;
    -o-object-fit: cover;
    object-fit: cover;
}

body.contact article p,
body.licensing article p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
}

body.contact article p strong,
body.licensing article p strong {
    max-width: 12rem;
}

body.contact article p > *,
body.licensing article p > * {
    flex-grow: 1;
    padding: 1rem 0;
    border-bottom: 1px solid #000;
}

body.contact article p span:last-child,
body.licensing article p span:last-child {
    text-align: right;
}

body.media article ul { list-style: none; }
body.media article li a { 
    display: grid; 
    grid-template-columns: 1fr 3rem 8rem;
    padding: 2rem 0;
    border-top: 1px solid #000;
}

body.media article li a img {
    height: 2rem;
    width: auto;
}

body.media article li a img.sm {
    height: 1.5rem;
    margin-top: 0.25rem;
}

body.media article li a img.lg {
    height: 3.25rem;
    margin: -0.625rem 0;
}


body.media article li a time {
    text-align: right;
    line-height: 2rem;
    display: inline-block;
}

body.media article li a abbr {
    text-transform: uppercase;
    text-align: right;
    line-height: 2rem;
    display: inline-block;
}

body.media article li a {
    text-decoration: none;
}

body.licensing nav {
    grid-template-columns: minmax(3rem, 1fr);
}

body.licensing nav h3 span:first-child {
    color: #999;
}

body.licensing main {
    padding-bottom: 8rem;
}

body.licensing article #heading {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 900;
}

body.licensing article div {
    display: flex;
    flex-direction: column;
}

body.licensing name {
    flex-grow: 1;
    min-width: 16rem;
}

body.licensing isrc {
    max-width: 7rem;
    min-width: 7rem;
    text-align: right;
    text-transform: uppercase;
}

body.licensing iswc {
    max-width: 9rem;
    min-width: 9rem;
    text-align: right;
    text-transform: uppercase;
}

body.licensing year,
body.licensing file,
body.licensing length {
    max-width: 4rem;
}

body.licensing file {
    text-align: right;
    max-width: 3rem;
    min-width: 3rem;
}

body.licensing article p,
body.licensing article p a {
    font-family: monospace;
    font-size: 0.85rem;
    text-decoration: none;
}

body.licensing p:target {
    background: #000;
    color: #FFF;
    padding: 0 1rem;
    width: 100%;
    margin-left: -1rem;
    order: -1;
    margin-bottom: 6rem;
    scroll-margin-top: 100vh;
}

body.licensing:has(p:target) #heading::before {
    content: "Other Tracks";
    min-width: 100%;
    font-family: 'Josefin Sans', sans-serif !important;
    font-size: 2rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-weight: 999;
    text-align: center;
}

body.licensing:not(:has(p:target)) #shared-label {
    display: none;
}

body.licensing #shared-label {
    text-transform: uppercase;
    font-weight: 999;
    font-family: 'Josefin Sans', sans-serif !important;
    font-size: 2rem;
}

body.licensing #info {
    grid-column: 1/-1;
    margin-top: -3rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.licensing #info b {
    height: 6rem;
}

body.licensing #info p:nth-child(1) {
    text-align: left;
    margin-right: auto;
}

body.licensing #info p:nth-child(2) {
    text-align: right;
    margin-left: auto;
}

body.licensing #info p:last-child {
    width: 100%;
    text-align: center;
}

#download-all {
    border-top: 1px solid #000;
    margin-bottom: 4rem;
}

#download-all-wav, 
#download-all-mp3 {
    cursor: pointer;
}

/* -----------------------------
-------------------------------- 
 
PRESS KIT 
 
--------------------------------
----------------------------- */

body.press-kit article {
    display: grid;
    grid-template-columns: 1fr 1fr minmax(288px, 1fr);
    row-gap: 4rem;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
}

body.press-kit article img {
    grid-column: span 3;
    width: 100%;
    height: 100%;
    max-height: 18rem;
    -o-object-fit: cover;
    object-fit: cover;
}

body.press-kit article .bio {
    grid-column: span 2;
    text-align: justify;
    padding-right: 4rem;
    border-right: 1px solid #000;
}

body.press-kit article .other {
    padding: 4rem 0;
    border-top: 1px solid #000;
    text-align: justify;
}

body.press-kit article .copyright {
    text-align: justify;
}

body.press-kit article .discography li {
   list-style: none;
}

body.press-kit article .discography li * {
    display: inline-block;
}

body.press-kit article .discography li time {
    width: 4rem;
}

body.press-kit article .discography li .mp3 {
    float: right;
}

body.press-kit .press-photo {
    grid-column: span 1;
    background-color: #f5f5f5;
    width: 100%;
    height: 18rem;
    -o-object-fit: cover;
    object-fit: cover;  
    cursor: pointer;
}

body.press-kit .press-photo.wide {
    grid-column: 1 / -1;
}

/* -----------------------------
-------------------------------- 
 
HOVERS 
 
--------------------------------
----------------------------- */



@media (-moz-touch-enabled: 0), (pointer:fine) { 
    nav a:hover {
        text-decoration: underline;
    }

    body.music .album:hover img {
        box-shadow: 0 0rem 2rem rgba(0,0,0,0.4);
    }
}



/* -----------------------------
-------------------------------- 
 
FOR PRESS KIT ONLY 
 
--------------------------------
----------------------------- */

@media (max-width : 1056px) {
    body.press-kit article { grid-template-columns: 1fr 1fr; }
    body.press-kit article img { grid-column: span 2; }
    body.press-kit article .bio { border-right: none; padding-right: 0; }
    body.press-kit article .discography { border-top: 1px solid #000; padding-top: 4rem; }
    
    body.contact article aside,
    body.licensing article aside { display: none; }

    body.contact article div,
    body.licensing article div { grid-column: 1/-1;}
}


/* -----------------------------
-------------------------------- 
 
SMALLER SCREENS 
 
--------------------------------
----------------------------- */

@media (max-width : 719px) {
    body.album article     { 
        grid-template-columns: 12rem 4rem 1fr; 
        grid-template-rows: 12rem auto auto;
    }

    body.album article b   { display: none; }

    body.album article img { 
        grid-column: 1/2 !important; 
        grid-row: 1/2; 
    }

    body.album header { 
        grid-column: 3/4 !important; 
        grid-row: 1/2; 
    }

    body.album header time   { bottom: -0.25rem; }
    body.album header h2     { bottom: 1.25rem;  }
    
    body.album p { 
        grid-column: 3/4 !important; 
        grid-row: 2/3; 
    }

    body.album article aside { 
        grid-column: 1/2 !important; 
        grid-row: 2/3; 
        border-left: 0;
        border-right: 1px solid #000;
        margin-top: 4rem;
    }
    
    body.album footer { 
        grid-column: 3/4 !important; 
        grid-row: 3/4; 
    }

    body.project article { grid-template-columns: 1fr; }
    body.project article aside { display: none; }
    body.project article header,
    body.project article footer,
    body.project article img,
    body.project article iframe,
    body.project article video {
        grid-column: span 1;
    }

    body.project article iframe,
    body.project article video {
        height: 24rem;
    }

    body.project article header {
        grid-template-columns: 1fr;
        word-break: break-all;
    }

    body.project article header time {
        order: 1;
    }
    
    body.contact article, 
    /* body.licensing article,  */
    body.media article {
        grid-template-columns: 0 1fr 0; 
    }



}

@media (max-width : 672px) {
    .twocol {
        grid-template-columns: minmax(288px, 1fr);
    }

    .twocol img {
        grid-column: span 1;
    }

    body.press-kit article { grid-template-columns: 1fr; }
    body.press-kit article img, body.press-kit article .bio { grid-column: span 1; }
    body.press-kit article .other {padding-bottom: 0;}

    body.project article iframe,
    body.project article video {
        height: 18rem;
    }

    body.album footer { 
        grid-column: 1/4 !important; 
    }

    body.contact article p.double-line-on-mobile span:not(:last-child) {
        order: 1;
        max-width: 100%;
        min-width: 100%;
        padding-top: 0;
    }

    body.contact article p.double-line-on-mobile strong, 
    body.contact article p.double-line-on-mobile span:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

}

@media (max-width : 480px) {
    
    
    nav {
        grid-template-columns: minmax(3rem, 1fr) 6rem 6rem;
    }

    body:not(.landing) nav {
        margin: 1rem 0;
    }

    body:not(.landing) .hero {
        height: 16rem;
    }

    body.landing .hero {
        -o-object-position: bottom right;
        object-position: bottom right;
    }
 
    /* content */

    .twocol {
        row-gap: 1rem;
    }

    /* music */

    body.music .album { display: block; }
    body.music .album:nth-child(2) { margin-top: 4rem; }
    body.music header { margin: 1rem 0 0 0; }
    body.music time {
        writing-mode: lr;
        top: 0.25rem;
        right: 0;
        left: auto;
    }

    body.music .album img {
        width: calc(100vw - 2rem) !important;
        height: calc(100vw - 2rem) !important;
        -o-object-fit: cover;
        object-fit: cover;
    }

    body.album article { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto auto auto auto auto;
    }

    body.album header {
        margin: 2rem 0;
        grid-column: 1/2 !important;
        grid-row: 2/3;
    }

    body.album header time   { position: relative; bottom: initial; }
    body.album header h2     { position: relative; bottom: initial; }

    body.album article aside {
        margin-top: 0rem;
        grid-column: 1/2 !important;
        grid-row: 3/4;
        display: flex;
        padding-top: 1rem;
        border-right: none !important;
    }

    body.album article aside a {
        display: inline-block;
        flex-grow: 1;
        width: 2rem;
    }

    body.album article aside a img {
        margin: 1.5rem 0;
    }

    body.album article p {
        padding: 1rem 0 2rem 0;
    }
    
    body.album footer { 
        padding: 2rem 0;
    }

    body.album footer h4 {
        margin-bottom: 1.75rem;
    }

    body.album article p,
    body.album footer { 
        grid-column: 1/2 !important; 
        grid-row: span 1; 
    }

    /* tech */

    body.tech .project:nth-child(2) { margin-top: 4rem; }
    
    body.tech .project {
        margin-bottom: 4rem;
    }

    body.tech .project img {
        width: 100%;
        height: 8rem;
        -o-object-fit: cover;
        object-fit: cover;
    }

    body.tech .project img.tall {
        height: 12rem;
    }

    body.project article iframe,
    body.project article video {
        height: 12rem;
    }
    
    body.media article li a { 
        grid-template-columns: 1fr 3rem 6rem;
    }

    body.media article li a abbr,
    body.media article li a time {
        font-size: 0.9rem;
    }

}