@font-face {
  font-family: "Chelsea";
  src: url("../fonts/Chelsea.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2"),
       url("../fonts/fontawesome-webfont.woff") format("woff"),
       url("../fonts/fontawesome-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #ffcc00;
  --black: #000000;
  --ink: #050505;
  --line: #111111;
  --muted: #e4e0db;
  --white: #ffffff;
  --wrap: 1260px;
  --font-display: "Chelsea", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
  padding-top: 104px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 36px)); margin: 0 auto; }

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
}

.fa-envelope::before { content: "\f0e0"; }
.fa-phone::before { content: "\f095"; }
.fa-home::before { content: "\f015"; }
.fa-caret-square-o-right::before { content: "\f152"; }
.fa-yelp::before { content: "\f1e9"; }
.fa-picture-o::before { content: "\f03e"; }
.fa-arrow-circle-o-right::before { content: "\f18e"; }
.fa-info-circle::before { content: "\f05a"; }
.fa-users::before { content: "\f0c0"; }
.fa-cogs::before { content: "\f085"; }
.fa-angle-up::before { content: "\f106"; }
.fa-clock-o::before { content: "\f017"; }
.fa-map-marker::before { content: "\f041"; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--yellow);
  border-top: 8px solid #242424;
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 385px;
  height: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 10px;
  color: var(--black);
  font-size: 22px;
  white-space: nowrap;
}

.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.header-contact i {
  font-size: 24px;
  line-height: 1;
}

.home-menu {
  position: fixed;
  left: 0;
  top: 25%;
  z-index: 80;
  display: block;
}

.scroll-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: opacity 0.3s ease;
}

.scroll-menu.is-hidden {
  display: none;
}

.scroll-menu a {
  position: relative;
  width: 40px;
  min-height: 29px;
  padding: 2px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 5px;
  font-size: 20px;
  line-height: 1;
  transition: all 0.3s ease-out;
}

.scroll-menu a:hover,
.scroll-menu a:focus {
  width: 60px;
  height: 40px;
  font-size: 24px;
  outline: none;
}

.scroll-menu a span {
  position: absolute;
  left: 46px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
  padding: 3px 6px;
  font: 13px/1.2 Arial, Helvetica, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}

.scroll-menu a:hover span,
.scroll-menu a:focus span {
  display: block;
}

.scroll-toggle {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: -57px 0 5px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 50px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.6s ease-out;
}

.scroll-toggle.is-closed {
  transform: rotate(180deg);
}

.flash {
  width: min(920px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  position: relative;
  z-index: 20;
}

.flash-error { background: #ffe6df; }
.flash-success { background: #e6ffd7; }

.contact-flash {
  width: 100%;
  margin: 0 0 2px;
}

.hero-slider {
  position: relative;
  height: 642px;
  overflow: hidden;
  background: var(--black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center center;
  transition: opacity 700ms ease;
}

.hero-slide.is-active { opacity: 1; z-index: 1; }

.hero-copy {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: 4;
  width: min(1200px, 62vw);
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-title-band {
  background: rgba(0, 0, 0, 0.74);
  color: var(--yellow);
  padding: 10px 20px 12px;
}

.hero-title-band h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.1;
}

.hero-subtitle-band {
  min-height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 204, 0, 0.86);
  color: var(--black);
  padding: 8px 20px;
}

.hero-subtitle-band p {
  margin: 0;
  font-size: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  margin-top: 16px;
  padding: 8px 24px;
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 0;
  font-size: 22px;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--black);
  color: var(--yellow);
  outline: none;
}

.slider-controls button {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 58px;
  height: 70px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 76px;
  line-height: 1;
  cursor: pointer;
}

.slider-controls [data-slide-prev] { left: 120px; }
.slider-controls [data-slide-next] { right: 120px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 8;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dots button.is-active { background: var(--yellow); }

.section-band {
  padding: 90px 0;
  background: var(--yellow);
}

#services,
#works,
#contact {
  scroll-margin-top: 110px;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h1,
.section-title h2 {
  display: inline-block;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 5px solid var(--black);
  color: var(--black);
  font-size: clamp(36px, 3vw, 48px);
  line-height: 1.1;
}

.section-title p {
  margin: 20px 0 0;
  font-size: 19px;
}

.service-section {
  padding-top: 100px;
  padding-bottom: 70px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
  align-items: start;
}

.service-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  align-items: start;
}

.service-icon {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border: 4px solid var(--black);
  border-radius: 50%;
  color: var(--black);
  background-color: var(--black);
  background-image: linear-gradient(to bottom, var(--yellow) 50%, var(--black) 50%);
  background-size: 100% 200%;
  background-position: 0 0;
  position: relative;
  transition: all 0.8s ease;
}

.service-icon i {
  color: var(--black);
  font-size: 50px;
  line-height: 90px;
  transition: color 0.25s linear;
}

.service-item:hover .service-icon {
  background-position: 0 -100%;
}

.service-item:hover .service-icon i {
  color: var(--yellow);
}

.service-item h3 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: 32px;
  line-height: 1.05;
}

.service-copy {
  color: var(--black);
  font-size: 23px;
  line-height: 1.55;
}

.service-copy p { margin: 0 0 13px; }
.service-copy strong { font-weight: 700; }

.dark-band {
  background: var(--black);
  color: var(--yellow);
}

.section-title.light h2 {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.portfolio-section {
  min-height: 645px;
  padding-top: 74px;
  padding-bottom: 80px;
}

.portfolio-section .section-title { margin-bottom: 66px; }

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  overflow: visible;
  scroll-behavior: smooth;
}

.portfolio-card {
  min-width: 0;
}

.portfolio-card a {
  display: grid;
  grid-template-rows: 112px 112px;
  color: var(--yellow);
}

.portfolio-image {
  border: 1px solid #777;
  background: var(--black);
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-caption {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 112px;
  border-left: 1px solid #777;
  border-right: 1px solid #777;
  border-bottom: 5px solid var(--yellow);
  background: var(--black);
  text-align: center;
}

.portfolio-caption strong {
  font-size: 25px;
  line-height: 1.15;
}

.portfolio-caption small {
  margin-top: 4px;
  font-size: 18px;
}

.works-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 64px;
}

.works-controls button {
  width: 57px;
  height: 42px;
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--yellow);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.contact-section {
  padding-top: 86px;
  padding-bottom: 0;
}

.contact-section .section-title {
  margin-bottom: 92px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px;
  gap: 46px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 17px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--black);
  color: var(--yellow);
  padding: 12px 16px;
  outline: none;
}

.contact-form input { min-height: 49px; }
.contact-form textarea { min-height: 126px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-field {
  padding: 10px 0;
}

.error {
  color: #7f0000;
  font-size: 15px;
}

.submit-button {
  justify-self: start;
  min-width: 205px;
  min-height: 65px;
  margin-top: 0;
  background: var(--yellow);
}

.contact-divider {
  width: 1px;
  min-height: 500px;
  background: var(--black);
}

.contact-info {
  grid-column: 1 / -1;
  margin-top: 30px;
  background: var(--black);
  color: var(--yellow);
  padding: 54px 24px 58px;
}

.contact-info ul {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.contact-info li {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 24px;
  align-items: start;
}

.info-symbol {
  grid-row: span 2;
  font-size: 52px;
  line-height: 1;
  color: var(--yellow);
}

.contact-info strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.contact-info li > span:last-child,
.contact-info li > a {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--yellow);
}

.phone-lines {
  display: grid !important;
  gap: 2px;
}

.phone-lines span {
  display: block;
}

.map-frame {
  height: 440px;
  background: #dfddd9;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2);
}

.site-footer {
  background: var(--black);
  color: var(--yellow);
}

.footer-bottom {
  width: min(var(--wrap), calc(100% - 36px));
  min-height: 78px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  font-size: 16px;
}

.scroll-top {
  position: fixed;
  right: 35px;
  bottom: 54px;
  z-index: 75;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(0, 0, 0, 0.45);
  background: var(--yellow);
  font-size: 38px;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.scroll-top:hover,
.scroll-top:focus {
  opacity: 0.85;
  outline: none;
}

.page-hero {
  background: var(--black);
  color: var(--yellow);
  padding: 74px 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
}

.page-hero p { margin: 16px auto 0; max-width: 680px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 17px;
}

.portfolio-detail {
  padding-top: 70px;
}

.portfolio-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.portfolio-intro h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.portfolio-intro p { margin: 0; max-width: 720px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.gallery-item {
  display: grid;
  grid-template-rows: 165px auto;
  background: var(--black);
  color: var(--yellow);
  border-bottom: 4px solid var(--black);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item span {
  padding: 10px;
  font-size: 15px;
}

.compact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.compact-links a {
  border: 2px solid var(--yellow);
  padding: 10px 16px;
}

.page-content {
  max-width: 900px;
  font-size: 19px;
}

body.has-lightbox {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 54px 24px 110px;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
}

.lightbox.is-open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: 90vw;
  max-height: 82vh;
}

.lightbox img {
  max-width: min(1100px, 90vw);
  max-height: 72vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 20px #000;
}

.lightbox-close {
  position: fixed;
  top: -2px;
  right: -2px;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 0 0 0 70px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font: bold 34px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 100, 100, 0.4);
}

.lightbox figcaption {
  color: var(--white);
  font: bold 15px/1.4 Arial, Helvetica, sans-serif;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  margin-top: 8px;
}

.lightbox figcaption span {
  opacity: 0.65;
  margin-left: 12px;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 35%;
  border: 0;
  background: transparent;
  color: var(--white);
  opacity: 0;
  cursor: pointer;
  text-shadow: 0 0 12px #000, 0 0 10px #fff;
  transition: opacity 0.2s ease-out;
}

.lightbox-prev { left: 0; text-align: left; }
.lightbox-next { right: 0; text-align: right; }

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-prev:focus,
.lightbox-next:focus {
  opacity: 0.5;
  outline: none;
}

.lightbox-prev b::before,
.lightbox-next b::after {
  display: inline-block;
  font: normal 18em/0.3 Arial, Helvetica, sans-serif;
}

.lightbox-prev b::before {
  content: "\2039";
  transform: scale(0.4) translateX(350px);
  transition: transform 0.2s ease-in;
}

.lightbox-next b::after {
  content: "\203A";
  transform: scale(0.4) translateX(-350px);
  transition: transform 0.2s ease-in;
}

.lightbox-prev:hover b::before,
.lightbox-prev:focus b::before {
  transform: scale(1) translateX(20px);
}

.lightbox-next:hover b::after,
.lightbox-next:focus b::after {
  transform: scale(1) translateX(-20px);
}

.lightbox-thumbs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  min-height: 86px;
  padding: 5px;
  overflow-x: auto;
}

.lightbox-thumbs button {
  height: 58px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  opacity: 0.6;
  transition: all 0.15s ease;
  cursor: pointer;
}

.lightbox-thumbs button:hover,
.lightbox-thumbs button.is-active {
  height: 80px;
  opacity: 1;
}

.lightbox-thumbs img {
  height: 96%;
  max-width: none;
  border: 2px solid var(--white);
  border-radius: 0;
  box-shadow: none;
}

.lightbox-thumbs button.is-active img {
  border-color: #d8ff16;
}

@media (max-width: 1180px) {
  .header-inner { align-items: center; }
  .brand img { width: 340px; }
  .header-contact { font-size: 19px; gap: 16px; }
  .slider-controls [data-slide-prev] { left: 48px; }
  .slider-controls [data-slide-next] { right: 48px; }
  .service-grid { gap: 34px; }
  .service-item { grid-template-columns: 86px 1fr; gap: 18px; }
  .service-icon { width: 82px; height: 82px; }
  .portfolio-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  body { font-size: 17px; padding-top: 132px; }
  .header-inner {
    min-height: 120px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .header-contact {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 0 10px;
  }
  .home-menu { top: 190px; }
  .hero-slider { height: 520px; }
  .hero-copy { width: min(760px, 78vw); top: 48%; }
  .service-grid,
  .contact-info ul {
    grid-template-columns: 1fr;
  }
  .portfolio-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-card a { grid-template-rows: 170px 108px; }
  .service-item { max-width: 620px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-divider { display: none; }
  .contact-info li { grid-template-columns: 46px 1fr; }
  .portfolio-intro { display: grid; }
}

@media (max-width: 600px) {
  body { padding-top: 132px; }
  .wrap { width: min(100% - 24px, var(--wrap)); }
  .brand img { width: 300px; }
  .header-contact { font-size: 15px; }
  .home-menu { display: none; }
  .hero-slider { height: 440px; }
  .hero-copy { width: calc(100% - 32px); }
  .hero-title-band h2 { font-size: 30px; }
  .hero-subtitle-band p { font-size: 17px; }
  .slider-controls button { font-size: 54px; }
  .slider-controls [data-slide-prev] { left: 8px; }
  .slider-controls [data-slide-next] { right: 8px; }
  .section-band { padding: 58px 0; }
  .section-title { margin-bottom: 40px; }
  .portfolio-strip {
    grid-template-columns: 1fr;
  }
  .service-item { grid-template-columns: 1fr; text-align: center; }
  .service-icon { margin: 0 auto; }
  .contact-section .section-title { margin-bottom: 45px; }
  .scroll-top { right: 14px; bottom: 18px; }
  .lightbox { padding: 44px 10px 74px; }
  .lightbox-thumbs { min-height: 52px; }
  .lightbox-thumbs button,
  .lightbox-thumbs button:hover,
  .lightbox-thumbs button.is-active { height: 48px; }
}
