/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

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

/* FADEIN */
@keyframes fadein {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

:root {
    /* COLORS */
	--dark-1: #101412;
    --dark-2: #3D403E;
	--light: #FFFFFF;
	--accent-1: #C7D3CC;
    --accent-1-md: #95A6A2;
    --accent-1-dk: #506465;
    --accent-2: #E4EDE0;
    --accent-3: #E9F2F0;
    --accent-4: #FFDCD4;
    --gray-lt: #D4D9D6;
    --gray-md: #737574;
	--gray-dk: #585958;

    /* FONTS */
    --font-display-condensed: 'Roslindale Display Condensed';
    --font-display-narrow: 'Roslindale Display Narrow';
    --font-display-light: 'Roslindale Display Condensed Light';
    --font-text: 'Figtree';

    /* SPACING */
    --gap-row: 2.5rem;
    --gap-col: 1.5rem;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul, li {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

body {
	font-family: var(--font-text), sans-serif;
    font-size: 1rem;
	line-height: 1.5;
}

ol, ul {
  list-style: none;
}

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

a {
	color: currentColor;
}

h1, h3 {
	font-family: var(--font-display-condensed);
	font-weight: 600;
	color: var(--dark-1);
}

h1 {
	font-size: 3rem;
	line-height: 1;
	margin-bottom: .1em;
}

h2 {
	font-family: var(--font-display-narrow);
	font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.25;
	color: var(--dark-1);
}

.emphasis {
    font-weight: 600;
}

.divider {
    color: var(--gray-lt);
    margin: 0 .25em;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

main {
	width: 100%;
	min-height: 100vh;
	padding: 3rem 2.5rem 4rem;
	background-color: var(--light);
	box-shadow: inset 0 0 0 8px var(--accent-1), 0 0 12px var(--dark-1);
	position: relative;
	z-index: 1;
    overflow: hidden;
}

@media screen and (min-width: 800px) {
	main {
		padding: 4rem 4rem 5rem;
		box-shadow: inset 0 0 0 12px var(--accent-1), 0 0 18px var(--dark-1);
	}
}

@media screen and (min-width: 1024px) {
	main {
		padding: 4.5rem 6rem 6rem;
		box-shadow: inset 0 0 0 16px var(--accent-1), 0 0 24px var(--dark-1);
	}
}

header {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
    column-gap: var(--gap-col);
	margin-bottom: 4rem;
}

header a.masthead {
    font-family: var(--font-display-condensed);
    font-weight: 600;
    font-size: 2rem;
    line-height: 1;
    color: var(--dark-1);
    text-decoration: none;
    transition: color .15s ease;
}

header a.masthead:hover {
    color: var(--accent-1-dk);
}

header nav {
    font-family: var(--font-display-condensed);
    font-size: 1.25rem;
    color: var(--gray-md);
}

header nav a {
    display: inline-block;
    vertical-align: text-top;
    text-decoration: none;
    color: inherit;
}

header nav a:hover,
header nav a.active {
    font-weight: 600;
    color: var(--dark-1);
}

header nav a:active:hover {
    color: var(--accent-1-dk);
}

header nav span {
    vertical-align: bottom;
    margin-left: .5em;
    display: none;
}

@media screen and (min-width: 600px) {
	header {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
    }

	header nav {
        font-size: 1.5rem;
        grid-column: 3 / -1;
        width: auto;
    }

	header nav span {
        display: inline;
    }
}

@media screen and (min-width: 800px) {
    header a.masthead {
        font-size: 2.5rem;
    }

    header nav a {
        vertical-align: sub;
    }
}

@media screen and (min-width: 1024px) {
	header {
		grid-template-columns: repeat(4, 1fr);
		margin-bottom: 6rem;
	}

    header a.masthead {
        font-size: 3rem;
    }

    header nav {
        font-size: 1.75rem;
    }
}

.project-card {
    margin-bottom: 2rem;
}

.project-card:last-of-type {
    margin-bottom: 0;
}

.project-card-title {
    display: block;
    text-decoration: none;
    color: var(--dark-1);
    font-family: var(--font-display-narrow);
    font-weight: 500;
    font-size: 1.75rem;
    margin: .75rem 0 .25rem;
}

.project-card-tag {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 5%;
    color: var(--gray-md);
}

.project-card a {
    text-decoration: none;
}

.project-card:not(.inactive):hover h2 {
    color: var(--accent-1-dk);
}

.project-card:not(.inactive):hover img {
    opacity: .85 !important;
}

.work-intro h2 {
    color: var(--accent-1);
}

.work-intro p {
    margin: 2em 0;
}

.work-intro p:nth-of-type(2) {
    margin-top: -.5em;
}

.intro a,
.work-intro a {
    font-weight: 600;
    text-decoration: none;
}

.intro a:hover,
.work-intro a:hover {
    text-decoration: underline;
}

.tags {
	font-family: var(--font-text);
    font-size: .95em;
    text-transform: uppercase;
    letter-spacing: 5%;
	color: var(--gray-md);
	margin-top: 1.5em;
}

.caption {
    font-family: var(--font-text);
    line-height: 1.3;
	text-align: center;
    letter-spacing: 5%;
    text-transform: uppercase;
    color: var(--gray-md);
	margin: 1.5em auto 0;
	max-width: 80%;
}

.caption h2 {
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: .25em;
}

.caption a {
    text-decoration: none;
    font-weight: 600;
}

.caption a:hover {
    text-decoration: underline;
}

nav.project-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 4rem;
}

nav.project-nav a {
    display: block;
    font-family: var(--font-text);
    color: var(--gray-md);
    letter-spacing: 8%;
    text-transform: uppercase;
    text-decoration: none;
}

nav.project-nav a:hover {
    color: var(--gray-dk);
    font-weight: 500;
}

.slides {
    background-color: var(--gray-lt);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.slides img {
    box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.25);
}

.slides img:first-child {
    grid-column: span 2;
}

.aumni-gray-1 {
    background-color: #F0F2F5;
}

.aumni-gray-2 {
    background-color: #E1E4EA;
}

.carta-gray {
    background-color: #efefef;
}

.carta-brand-illos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media screen and (min-width: 600px) {
    .carta-brand-illos {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (min-width: 800px) {
    .carta-brand-illos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 600px) {
	.grid div:not(.slides) {
		margin-bottom: 2.5rem;
	}
	.modern-template .slides img:nth-child(8) {
		grid-column: span 2;
	}
	.fest-lockups img:first-child,
	.fest-photos img:first-child {
		width: 100%;
		margin-bottom: 2rem;
	}
}

.infographics .covid img:first-child,
.infographics .linkedin-01 img:first-child,
.stacked-imgs img {
    margin-bottom: 1.5em;
}

.stacked-imgs img:last-of-type {
    margin-bottom: 0;
}

.cocktails img:first-of-type {
    margin-bottom: 1.5em;
}

@media screen and (max-width: 599px) {
    .two-up img:first-of-type {
        margin-bottom: 1.5em;
    }
}

@media screen and (min-width: 600px) {
	.grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: var(--gap-row) var(--gap-col);
	}

    .grid .full-width {
        grid-column: 1/-1;
    }

    .grid .two-up {
        display: grid;
        grid-template-columns: subgrid;
    }

    .grid .two-up img {
        grid-column: span 2;
    }

    .grid .caption {
        grid-column: 1/-1;
    }

	.project-card {
		grid-column: span 2;
		margin-bottom: 0;
	}

	.intro,
    .work-intro {
		grid-column: 3/-1;
	}

    .intro {
        margin-bottom: 2rem;
    }

	.schireson-swag {
		grid-column: span 2;
	}

	.schireson .caption a {
		color: currentColor;
	}

	.slides {
		grid-template-columns: repeat(3, 1fr);
	}

    .slides img:first-child {
        grid-column: span 1;
    }

	.fest-lockups {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-column-gap: var(--gap-col);
	}

    .fest-lockups img {
        grid-column: span 1;
    }

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

    .fest-styles img {
        grid-column: span 1;
    }

	.fest-photos {
		grid-column: 1/-1;
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		grid-column-gap: var(--gap-col);
	}

    .fest-photos img {
        object-fit: cover;
    }

    .fest-photos .lobby {
        grid-column: span 5;
    }

    .fest-photos .swag {
        grid-column: span 7;
    }
}

@media screen and (min-width: 800px) {
    .project-card .project-card-title {
		font-size: 2rem;
	}

	h1 {
		font-size: 3.5rem;
	}
	h2 {
		font-size: 1.75rem;
	}
}

@media screen and (min-width: 1024px) {
	.project-card .project-card-title {
		font-size: 2.5rem;
	}

	h1 {
		font-size: 4rem;
	}
	h2 {
		font-size: 2rem;
	}
}

.info .grid a {
    text-decoration: none;
    font-weight: 600;
}

.info .grid a:hover {
    text-decoration: underline;
}

.info .grid h2 {
    margin-bottom: .75em;
}

.info p {
    margin-bottom: 1em;
}

.info-content ul li {
    margin-bottom: .25rem;
}

.info .capabilities,
.info .contact {
    width: calc(50% - .75rem);
    float: left;
}

.info .capabilities {
    margin-right: 1.5rem;
}

.info .clients {
    float: none;
    clear: both;
}

.info .clients ul {
    column-count: 2;
    column-gap: var(--gap-col);
}

.info-img svg path {
    stroke-width: 5;
    fill: none;
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: 1.5s draw linear forwards;

}
.info-img svg .eyebrow {
    stroke: var(--dark-1);
    stroke-width:6;
    animation-delay: .85s;
}
.info-img svg .ear, .head, .face, .neck {
    stroke: var(--accent-1-md);
}
.info-img svg .ear {
    animation-delay: .75s;
}
.info-img svg .head {
    animation-duration: 1s;
}
.info-img svg .face {
    animation-delay: .45s;
}
.info-img svg .shirt {
    stroke: var(--dark-1);
    animation-duration: 2.1s;
}
.info-img svg .shirt.collar-right {
    animation-duration: 1s;
}
.info-img svg .beard {
    stroke: var(--gray-md);
    stroke-width:3;
}
.info-img svg .beard-group {
    opacity: 0;
    animation: .25s fadein .9s linear forwards;
}
.info-img svg .eye {
    fill: #000;
    opacity: 0;
    animation: .4s fadein .4s linear forwards;
}

@media screen and (min-width: 600px) {
	.info header,
	.info .grid {
		grid-template-columns: repeat(8, 1fr);
	}
	.info header a.masthead {
		grid-column: span 2;
	}
	.info header nav {
		grid-column: 5/-1;
	}
	.info-img {
		grid-column: span 3;
	}
    .info-img img {
        max-height: 500px;
    }
	.info-content {
		grid-column: 5/-1;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: var(--gap-row) var(--gap-col);
	}
	.info-intro {
		grid-column: 1/-1;
	}
	.info .capabilities,
	.info .contact {
		width: 100%;
		margin-right: 0;
		grid-column: span 2;	}
	.clients {
		grid-column: 1/-1;
	}
}

@media screen and (min-width: 700px) and (max-width: 800px) {
	.info .capabilities,
	.info .contact ul {
        column-count: 2;
        column-gap: var(--gap-col);
	}
}

@media screen and (max-width: 400px) {
	.info .capabilities,
	.info .contact {
		width: 100%;
		margin-right: 0;
	}
    .info .contact ul {
        column-count: 1;
    }
}

@media screen and (min-width: 800px) {
	.info .capabilities,
	.info .contact {
		grid-column: span 1;
	}
}

footer {
	position: sticky;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 3rem 3rem 4rem;
	background-color: var(--dark-1);
	color: var(--light);
}

.footer-monogram img {
	height: 40px;
	margin-bottom: 2em;
}

.footer-info {
    font-family: var(--font-display-condensed);
    font-size: 1rem;
}

.footer-info a {
    color: var(--light);
    text-decoration: none;
    font-family: var(--font-display-narrow);
}

.footer-info a:hover {
    color: var(--accent-1);
}

.footer-info ul {
    margin-bottom: .75em;
}

.footer-info ul li {
    display: inline-block;
    margin-right: .5em;
}

.footer-info ul li::after {
    content: "|";
    margin-left: .5em;
}

.footer-info ul li:last-of-type::after {
    display: none;
}

.footer-info p {
    font-family: var(--font-display-condensed);
    font-weight: 300;
}

.fest .footer-info a:hover {
	color: var(--accent-secondary);
}

.schireson .footer-info a:hover {
	color: var(--accent-tertiary);
}

@media screen and (min-width: 600px) {
	.footer-content {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		grid-gap: var(--gap-col);
	}
	.footer-monogram {
		grid-column: span 2;

		img {
			height: 48px;
			margin-bottom: 0;
		}
	}
    .footer-monogram {
        grid-column: span 2;
    }
    .footer-monogram img {
        height: 48px;
        margin-bottom: 0;
    }
	.footer-info {
		grid-column: 3 / -1;
	}
    .footer-info ul li {
        margin-right: .75em;
    }
    .footer-info ul li::after {
        margin-left: .75em;
    }
}

@media screen and (min-width: 800px) {
	footer {
		padding: 4.5rem 4rem;
	}
	.footer-info {
		font-size: 1.25rem;
	}
	.footer-monogram img {
        height: 56px;
	}
}

@media screen and (min-width: 1024px) {
	footer {
		padding: 4rem 6rem;
	}
	.footer-monogram img {
        height: 72px;
	}
	.footer-info {
		font-size: 1.5rem;
	}
}

/* .appear {
    opacity: 0;
} */