/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #000;
  background-color: #fafbff;
  font-size: 1em;
  line-height: 1.4;
}

a { color: #977547; transition: color 0.3s ease; }

strong { font-weight: 500; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
	background-color: #fafbff;
	font-family: "Graphik Web", "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: 'LrshNSmbld';
	src: url('data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAeUAAwAAAAACZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAAHfAAAABYAAAAWABMADE9TLzIAAAXMAAAARQAAAGB4Cm8vY21hcAAABhQAAABPAAAAdAG5AnBnYXNwAAAHdAAAAAgAAAAI//8AA2dseWYAAAEcAAAD8AAABEiwR+A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z/mofRMxKk4E+fSZyT5WDwRT2XO2XFOv9wfNquyXTdVWbfbxa6p/Pw/83/hhagozt/iWbLnwIYVJS1rGqqgOnjLgl1398wv1vmzyuuqirCv+O8vD2BF03jaY2BiAIP/DAxpDNgADxAzMjAxMDOoMRgxuDB4MHgx+DD4M4QCAFXKA5gAAAAAAf//AAIAAQAAAAwAAAAAAAAAAgABAAMACwABAAA=') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: block;
}

.page-wrapper {
  /*max-width: 1200px;*/
  margin-left: auto;
  margin-right: auto;
}

header {
  margin: 0 16px;
}

header .logo {
  margin: 16px 0 12px 0;
}

header .logo-main {
  font-family: "LrshNSmbld";
  font-size: 1.8em;
}

header .logo-sub {
  font-size: 0.9em;
  text-transform: lowercase;
}

header .logo {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

header .page-menu {
  display: flex;
  flex-direction: row;
  margin-bottom: 16px;
}

header .logo div {
    flex: 50%;
}

header .page-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 50%;
  font-size: 0.9em;
  line-height: 1.6;
  text-transform: lowercase;
}

header .page-menu .active {
  font-weight: 500;
}

header a {
	color: #000;
	text-decoration: none;
	transition: color 0.3s ease;
}

header a:hover {
	color: #977547;
}

main {
  margin-bottom: 12px;
}

main h2 { font-weight: 500; }

.work-list ul.work-thumbs, .project-single ul.project-stills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  grid-gap: 4px;
}

.work-list .work-thumbs .work-thumb  {
  flex-basis: calc(50% - 2px);
  overflow: hidden;
}

.project-single ul.project-stills .project-still img {
  width: 100%;
}

.work-list ul.work-1up { grid-gap: 12px; }

.work-list ul.work-1up .work-thumb, .project-single ul.project-stills .project-still {
  flex-basis: 100%;
  overflow: hidden;
}

.work-thumb figure, .project-single figure {
  margin: 0;
}

.work-thumb figcaption {
  display: none;
}

.work-thumb figure img {
  max-width: 100%;
	height: auto;
	transition: .5s ease;
}

.project-info {
  padding: 12px 24px;
}

.project-info h2 {
	font-weight: 500;
	font-size: 1em;
}

.project-info dl {
	padding: 4px 0 12px 0;
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 8px 0;
}

.project-info dl dt {
	font-weight: 500;
	font-size: 0.8em;
	padding-top: 4px;
}

.project-info dl dd {
  font-size: 0.9em;
}

.project-info p {
  font-size: 0.9em;
  line-height: 1.4em;
}

.project-info p.format {
  font-size: 0.7em;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (height ÷ width × 100) */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-single .video-100 {
	padding-bottom: 100%;
}

.project-single .video-75 {
	padding-bottom: 75%;
}


/*.project-single .video-wrapper {
	position: relative;
	height: 0;
}

.project-single .video-4x3 {
	padding-bottom: 75%;
}

.project-single .video-56.25 {
	padding-bottom: 56.25%;
}

.project-single .video-9x16 {
	padding-bottom: 178%;
}

.project-single .video-100 {
	padding-bottom: 100%;
}

.project-single .video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}*/

.project-poster img {
  width: 100%;
  margin: 0;
}

.about-image {
  width: 100%;
  margin: 0;
}

.about-text {
  font-size: 0.9em;
  padding: 12px 42px;
  line-height: 1.4em;
}

.sushki {
  position: fixed;
  bottom: 0px;
  right: 0px;
}

.sushki img {
  width: 100px;
}

.contact-info ul {
  margin: 0 12px 36px 12px;
  padding: 20vh 0 0 0;
  line-height: 2.4em;
  list-style: none;
  text-align: center;
}

.contact-info a {
  color: #977547;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover, .project-info a:hover {
  color: #000;
  text-decoration: underline;
}


.lazyload,
.lazyloading {
	opacity: 0;
}
.lazyloaded {
	opacity: 1;
	transition: opacity 300ms;
}

@media only screen and (hover: hover) {

  .work-list figure {
    position: relative;
  }

	.work-list figure:hover img {
		filter: grayscale(100%) brightness(80%) blur(4px);
		transform: scale(1.05);
	}

	.work-list figure figcaption {
  	display: block;
		opacity: 0;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		transition: .5s ease;
		padding: 0;
		color: #fff;
		font-weight: 500;
		font-size: 1.2em;
		text-align: center;
		margin: 0;
	}

	.work-list figure:hover figcaption {
		opacity: 1;
	}

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 64em) {
  /* Style adjustments for viewports that meet the condition */
  
  .page-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  
  header {
    position: sticky;
    top: 0;
    padding: 12px 8px 12px 12px;
  }
  
  header .logo {
    display: block;
    margin-bottom: 40px;
  }
  
  header .logo .logo-sub {
    line-height: 1em;
  }
  
  header .page-menu {
    display: block;
    width: 260px;
  }
  
  header .page-menu .menu-work {
    margin-bottom: 20px;
  }
  
  main {
    flex-grow: 1;
    margin: 20px 8px 20px 0;
  }
  
  .about {
    display: flex;
    flex: column wrap;
  }
  
  .about .about-image {
    flex: 50%;
  }
  
  .about .about-image img {
    width: 100%;
    height: auto;
  }
  
  .about .about-text {
    flex: 50%;
  }
  
  .contact-info ul {
    padding-top: 0;
    font-size: 1.4em;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .video-wrapper, .project-info { margin-right: 12px; }
  
  .video-wrapper { width: calc(100% - 12px); }
  
  .project-poster { padding-right: 12px; }
  
  .work-list ul.work-thumbs {
    grid-gap: 12px;
  }
  
  .work-list ul.work-1up, .work-list ul.work-2up, .project-single ul.project-stills { grid-gap: 12px; }

  .work-list ul.work-1up .work-thumb, .work-list ul.work-2up .work-thumb, .project-single ul.project-stills .project-still {
    flex-basis: calc(50% - 12px);
    overflow: hidden;
  }
  
  .sushki img {
    width: 180px;
  }
}

}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

