:root {
  --ink: #111;
  --body: #444;
  --muted: #aaa;
  --line: #e6e6e6;
  --content-width: 1100px;
  --font-body: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "League Spartan", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--body);
  background: #fff;
  font: 400 15px/1.6 var(--font-body);
}

.page-home {
  display: flex;
  flex-direction: column;
}

.page-home .site-header {
  margin-top: auto;
}

.page-home .site-footer {
  margin-bottom: auto;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #777;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

h1,
h2 {
  margin: 0 0 1em;
  font-size: 20px;
}

h3 {
  font-size: 15px;
}

p {
  margin: 0 0 1.25em;
}

.site-header {
  position: relative;
  z-index: 5;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(calc(100% - 60px), var(--content-width));
  margin: 0 auto;
  padding: 30px 0;
}

.site-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-title:hover,
.site-title:focus-visible {
  color: var(--ink);
}

.site-nav {
  position: relative;
  top: 10px;
  display: flex;
  gap: 40px;
  align-items: center;
  font-size: 14px;
  line-height: 28px;
}

.site-nav a {
  padding: 5.2px 0;
  color: #9c9c9c;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #111;
}

.menu-toggle {
  display: none;
}

.page-shell {
  width: min(calc(100% - 60px), var(--content-width));
  margin: 0 auto;
  padding: 75px 0;
}

.site-footer {
  padding: 30px 0;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(calc(100% - 60px), var(--content-width));
  margin: 0 auto;
}

.social-links {
  display: flex;
  flex: 0 0 50%;
  gap: 8.84px;
  align-items: flex-start;
}

.social-links a {
  display: block;
  width: 15px;
  height: 15px;
  color: #aaa;
}

.social-links svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.site-footer address {
  flex: 0 0 50%;
  color: #222;
  font-style: normal;
  line-height: 1.6;
  text-align: right;
}

.site-footer address a {
  color: #111;
}

/* Home gallery */
.page-home .header-inner {
  min-height: 0;
  padding: 30px 0;
}

.gallery {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #111;
}

.gallery-track,
.gallery-slide {
  height: 100%;
}

.gallery-track {
  display: flex;
  width: max-content;
  transition: transform 250ms ease;
}

.gallery-slide {
  position: relative;
  flex: 0 0 auto;
  width: calc(600px * var(--slide-aspect));
  margin: 0;
}

.gallery-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-slide img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  font: 24px/1 Arial, sans-serif;
  transform: translate(-50%, -50%);
}

.gallery-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 20px 15px;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(transparent, rgba(31, 31, 31, 0.5));
}

.gallery-control {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 60px;
  margin-top: -30px;
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
  font: 300 34px/60px Arial, sans-serif;
  cursor: pointer;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: rgba(0, 0, 0, 0.2);
}

.gallery-previous {
  left: 0;
}

.gallery-next {
  right: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: left top;
}

.about-copy h1 {
  margin-top: 0;
  margin-bottom: 21px;
  font-size: 21px;
  line-height: 1.4;
}

.about-copy h2 {
  margin: 16.8px 0;
  font-size: 16.8px;
  line-height: 1.4;
}

.about-copy p {
  margin: 0 0 15px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* Booking */
.booking > h1 {
  margin: 0 0 21px;
  font-size: 21px;
  line-height: 1.4;
}

.booking > p {
  margin: 0;
}

.booking {
  padding-bottom: 17px;
}

.booking .calendly-inline-widget {
  width: 65.6364%;
  margin: 17px auto 0;
}

/* Blog */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 755fr) minmax(240px, 270fr);
  gap: 75px;
}

.post-header h1,
.post-header h2 {
  margin: 0 0 5px;
  font-size: 21px;
  line-height: 1.4;
}

.post-header time {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.post-content {
  margin: 1em 0;
}

.post-content p {
  margin-bottom: 15px;
}

.post-content img {
  width: 100%;
  margin: 35px 0 20px;
}

.post-content .media-frame {
  position: relative;
  width: 100%;
  margin: 20px 0;
  overflow: hidden;
}

.post-content .media-frame::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.post-content .media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-content .slideshare::before {
  padding-top: 95.184%;
}

.post-content .slideshare {
  margin: 17px 0 0;
}

.post-content .slideshare iframe {
  top: 17px;
  width: calc(100% + 2px);
  height: calc(100% - 32px);
}

.slideshare-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 15px;
  overflow: hidden;
  font-size: 11px;
  line-height: 15px;
  white-space: nowrap;
}

.post-preview {
  margin-bottom: 80px;
}

.post-preview:last-child {
  margin-bottom: 0;
}

.read-more {
  display: inline-block;
  margin-top: 5px;
}

.engagement {
  margin-top: 39px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.post-single .engagement {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 24px;
}

.post-single {
  min-width: 0;
}

.post-column {
  min-width: 0;
}

.post-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
  line-height: 24px;
}

.post-pagination a {
  display: block;
  color: #000;
}

.post-pagination .next-post {
  margin-left: auto;
  text-align: right;
}

.blog-sidebar h2 {
  margin: 0 0 21px;
  font-size: 21px;
  line-height: 1.4;
}

.blog-sidebar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.blog-sidebar hr {
  margin: 48.5px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.blog-sidebar .featured-heading {
  margin-bottom: 35px;
  font-style: italic;
}

.featured-post p {
  font-size: 13.5px;
  line-height: 1.6;
}

.featured-post {
  margin-bottom: 24px;
}

.featured-post > a:first-child {
  display: block;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.featured-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.featured-post h3 {
  margin: 17px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.featured-post time {
  display: block;
  color: #777;
  font-size: 12px;
  line-height: 24px;
  text-transform: uppercase;
}

.featured-post p {
  margin: 11.25px 0 13.5px;
}

.not-found {
  min-height: 400px;
}

@media (max-width: 800px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: auto;
    margin: 0;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }

  .page-home .header-inner {
    min-height: 0;
    padding: 0;
  }

  .site-title {
    display: block;
    order: 2;
    width: 100%;
    padding: 30px 20px;
    font-size: 32px;
    text-align: center;
  }

  .menu-toggle {
    display: grid;
    order: 1;
    place-items: center;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #111;
    background: #f7f7f7;
    font: 400 14px/1.5 var(--font-body);
    text-transform: uppercase;
    cursor: pointer;
  }

  .site-nav {
    top: 0;
    display: none;
    order: 3;
    width: 100%;
    padding: 1.5em 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav a {
    display: block;
    padding: 0.7em;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
  }

  .page-shell {
    padding: 30px 20px 0;
  }

  .footer-inner {
    display: block;
    padding: 0 20px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
    margin-bottom: 25px;
  }

  .site-footer address {
    text-align: center;
  }

  .gallery {
    height: auto;
    overflow: visible;
    background: transparent;
  }

  .gallery-track {
    display: block;
    width: 100%;
    transform: none !important;
  }

  .gallery-slide,
  .gallery-slide.is-active {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
  }

  .gallery-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .gallery-slide figcaption {
    position: static;
    padding: 20px;
    color: var(--body);
    background: none;
  }

  .gallery-control {
    display: none;
  }

  .about-grid,
  .blog-layout {
    display: block;
  }

  .portrait {
    margin-bottom: 34px;
  }

  .booking .calendly-inline-widget {
    width: 100%;
  }

  .blog-sidebar {
    display: none;
  }

  .post-preview {
    margin-bottom: 45px;
  }
}
