/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0; }

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }

/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.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: #222;
  font-size: 1em;
  line-height: 1.6; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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; }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.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
*/
.sr-only {
  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 .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/
.sr-only.focusable:active,
.sr-only.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
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. 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: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.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: 35em) {
  /* Style adjustments for viewports that meet the condition */ }

@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: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    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; }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group; }
  tr,
  img {
    page-break-inside: avoid; }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3; }
  h2,
  h3 {
    page-break-after: avoid; } }

/* COLOURS */
/* TYPOGRAPHY */
html, body {
  font-family: 'Domine', serif;
  font-size: 16px; }

a {
  text-decoration: none;
  transition: .2s color, .2s opacity;
  color: #000; }

.main-col a {
  border-bottom: 1px solid #000; }

.contact .main-col a {
  border-bottom: none; }

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
  padding: 0 0;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }
  .hamburger:hover {
    opacity: 0.7; }
  .hamburger.is-active:hover {
    opacity: 0.7; }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: #fff; }

.hamburger-box {
  width: 30px;
  height: 18px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 0px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -8px; }
  .hamburger-inner::after {
    bottom: -8px; }

/*
   * Spin
   */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }
  .hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
  .hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }

header.page-header {
  position: relative;
  overflow: hidden;
  padding: 0 2em;
  background: #000;
  color: #fff;
  line-height: 1.3em;
  font-size: 15px; }
  @media (min-width: 800px) {
    header.page-header .container {
      display: flex;
      align-items: center; } }
  header.page-header a {
    color: #fff; }
    header.page-header a:hover {
      opacity: .75; }
  header.page-header ul a:hover {
    opacity: 1; }
  header.page-header ul a.work:hover {
    color: #0095d4; }
  header.page-header ul a.work.active {
    color: #0095d4; }
  header.page-header ul a.about:hover {
    color: #d81631; }
  header.page-header ul a.about.active {
    color: #d81631; }
  header.page-header ul a.square-peg:hover {
    color: #2a9348; }
  header.page-header ul a.square-peg.active {
    color: #2a9348; }
  header.page-header ul a.cymraeg:hover {
    color: #464ae2; }
  header.page-header ul a.cymraeg.active {
    color: #464ae2; }
  header.page-header ul a.contact:hover {
    color: #f1db3c; }
  header.page-header ul a.contact.active {
    color: #f1db3c; }
  header.page-header .logo {
    float: left;
    display: block;
    position: relative;
    padding: 1.5em 0;
    z-index: 9999; }
    header.page-header .logo img {
      display: block;
      max-width: 100px; }
      @media (min-width: 800px) {
        header.page-header .logo img {
          max-width: 130px;
          margin-top: -20px; } }
  header.page-header nav, header.page-header .description {
    padding: 3em 0; }
  header.page-header nav.menu {
    display: inline-block;
    float: left; }
    header.page-header nav.menu ul {
      float: left;
      display: none;
      border-left: 1px solid #0095d4;
      border-right: 1px solid #f1db3c;
      padding: 0 1.5em;
      margin: 0 2em 0 3.5em; }
      @media (min-width: 800px) {
        header.page-header nav.menu ul {
          display: inline-block; } }
  header.page-header ul {
    list-style: none;
    margin: 0;
    padding: 0; }
  header.page-header .description {
    position: relative;
    z-index: 102;
    max-width: 490px;
    display: none; }
    @media (min-width: 800px) {
      header.page-header .description {
        display: inline-block; } }
    header.page-header .description p {
      margin: 0;
      padding: 0; }
  header.page-header .social {
    display: none;
    position: absolute;
    right: 0;
    bottom: 1em;
    font-size: 16px;
    z-index: 102; }
    header.page-header .social a {
      margin-left: .5em; }
    @media (min-width: 800px) {
      header.page-header .social {
        display: block; } }
  header.page-header .logo-symbol {
    position: absolute;
    opacity: .4;
    bottom: 0;
    right: -50px;
    width: 190px;
    z-index: 101; }
  header.page-header .hamburger {
    position: relative;
    float: right;
    outline: none;
    padding: 3.2em 0;
    z-index: 9999; }
    @media (min-width: 800px) {
      header.page-header .hamburger {
        display: none; } }
nav.menu-mob {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  text-align: center;
  z-index: 100;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(0, -100%);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1); }
  nav.menu-mob ul {
    list-style: none;
    margin: 2em 0 0 0;
    padding: 0; }
  nav.menu-mob a {
    display: block;
    padding: 1em;
    color: #fff;
    font-size: 1.4em; }
  nav.menu-mob.is-active {
    transform: translate(0, 0); }
    @media (min-width: 800px) {
      nav.menu-mob.is-active {
        display: none; } }
  nav.menu-mob .social {
    margin-top: 3em; }
    nav.menu-mob .social a {
      display: inline-block; }

/* LAYOUT */
.container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: auto;
  overflow: hidden; }

div.content {
  position: relative;
  padding: 2em; }
  div.content p.intro {
    display: block; }
    @media (min-width: 800px) {
      div.content p.intro {
        display: none; } }
  div.content .logo-symbol {
    position: absolute;
    opacity: .4;
    bottom: -70px;
    left: -70px;
    width: 270px;
    z-index: 0; }
  div.content.dark {
    background: #000;
    color: #fff; }
  div.content.home {
    border-top: 6px solid #f1db3c;
    min-height: 180px;
    overflow: hidden; }
  div.content.work-grid {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; }
    div.content.work-grid .project {
      margin-bottom: 2em; }
      div.content.work-grid .project a {
        display: block;
        color: #000; }
        div.content.work-grid .project a p {
          margin: .5em 0 0 1em;
          line-height: 1.3em; }
        div.content.work-grid .project a:hover {
          color: #0095d4; }
          div.content.work-grid .project a:hover img {
            opacity: .75; }
      div.content.work-grid .project img {
        width: 100%;
        transition: .2s opacity; }
      @media (min-width: 600px) {
        div.content.work-grid .project {
          width: 48%;
          margin-right: 4%; }
          div.content.work-grid .project:nth-child(2n) {
            margin-right: 0; } }
      @media (min-width: 800px) {
        div.content.work-grid .project {
          width: 32%;
          margin-right: 2%; }
          div.content.work-grid .project:nth-child(2n) {
            margin-right: 2%; }
          div.content.work-grid .project:nth-child(3n) {
            margin-right: 0; }
          div.content.work-grid .project p {
            font-size: 1.1em; } }
      @media (min-width: 1200px) {
        div.content.work-grid .project p {
          font-size: 1.3em; } }
  div.content.contact ul {
    list-style: none;
    margin: 2em 0 0 0;
    padding: 0; }
  div.content.contact li {
    margin-bottom: 1.5em; }
  div.content.contact i {
    margin-right: .5em; }
  div.content.contact a:hover {
    color: #d3bd1e; }
  @media (min-width: 800px) {
    div.content.work .container {
      display: flex; } }
  div.content.work .main-col {
    margin-left: 0; }
    div.content.work .main-col .stats {
      display: block; }
      @media (min-width: 800px) {
        div.content.work .main-col .stats {
          display: none; } }
  div.content .main-col {
    float: left;
    position: relative;
    width: auto;
    z-index: 1;
    max-width: 670px; }
    div.content .main-col.about {
      max-width: 600px; }
    @media (min-width: 800px) {
      div.content .main-col {
        margin-left: 339px; } }
    div.content .main-col img {
      width: 100%; }

.sidebar {
  float: left;
  position: relative; }
  @media (min-width: 800px) {
    .sidebar {
      text-align: right;
      padding-right: 3em;
      box-sizing: border-box;
      min-width: 339px;
      width: 339px; } }
  .sidebar img {
    border-radius: 50%;
    width: 50%;
    margin-bottom: 1em; }
    @media (min-width: 800px) {
      .sidebar img {
        width: 100%; } }
  .sidebar .stats {
    display: none; }
    @media (min-width: 800px) {
      .sidebar .stats {
        display: block; } }
    .sidebar .stats a:hover {
      border-bottom: 1px solid #000; }
  .sidebar p {
    font-size: 13px; }

h1 {
  font-weight: 700;
  font-size: 1.4em; }

p.quote {
  color: #a50117; }

.slider {
  overflow: hidden; }
  .slider.slick-dotted.slick-slider {
    margin: 0; }
  .slider img {
    width: 100%; }
  .slider ul.slick-dots {
    bottom: 0; }
  .slider a {
    outline: 0; }

.logo-symbol-page {
  position: fixed;
  display: none;
  bottom: -70px;
  left: -70px;
  width: 370px;
  z-index: -1; }
  @media (min-width: 800px) {
    .logo-symbol-page {
      display: block; } }
.person {
  padding: 1em 0 1em; }
  .person p {
    margin: 0 0 2em; }
  .person p.name {
    margin: 0 0 .1em;
    padding: 0;
    font-weight: 700; }
    .person p.name span {
      color: #a50117; }
  .person img {
    padding-bottom: 2em; }
