/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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: #585857;
  font-size: 16px;
  line-height: 1;
}

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

::-moz-selection {
  background: #994628;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #994628;
  color: #fff;
  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;
}

/* ==========================================================================
   The Sinclair Partnership
   ========================================================================== */

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

html {
  color: #000;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

html.with-fancybox {
  scroll-behavior: auto;
}

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

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

ul {
  list-style: none;
}

* {
  font-variant-ligatures: none;
}

body, input, textarea {
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400; /* 200, 300, 400, 500, 600, 700, 900 */
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong {
  font-weight: 600;
}

ul, li, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
}

ul {
  list-style: none;
}

.container {
  max-width: 1286px;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
}

.wrapper {
  min-height: calc(100vh - 220px);
  background-position: center top;
  background-repeat: no-repeat;
  background-image: url(/img/bg.jpg);
  background-size: cover;
  padding: 64px;
}

header {
  background-color: #fff;
  padding: 48px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header > div:first-of-type {
  width: 220px;
}

.header > div ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header > div ul li {
  font-size: 1.125rem;
  text-transform: uppercase;
  display: block;
  margin-right: 40px;
}

.header > div ul li:last-of-type {
  margin-right: 0;
}

.header > div ul li a {
  transition: all 0.25s;
  color: #000;
}

.header > div ul li a:hover {
  color: #994628;
}

.header > div:last-of-type > div {
  font-size: 1rem;
  line-height: 1.75;
  text-transform: uppercase;
}

.header > div:last-of-type > div strong {
  color: #994628;
}

.header > div:last-of-type > div strong a {
  color: #994628;
}

.banner {
  position: relative;
  margin-bottom: 48px;
}

.banner__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner__text h1 {
  font-size: 2.5rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  max-width: 560px;
  line-height: 1.375;
}

.text {
  padding: 0 48px 48px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.body h2 {
  font-size: 1.75rem;
  line-height: 1.5;
  margin-bottom: 28px;
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.body h3 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 24px;
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.body p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.body p strong {
  font-weight: 600;
}

.body p a {
  text-decoration: underline;
}

.body p a {
  text-decoration: none;
}

.body > :last-child {
  margin-bottom: 0;
}

.services {
  padding: 0 48px 48px;
  max-width: 1116px;
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-gap: 20px;
}

.services__grid__service {
  background-color: #e6e6e6;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.services__grid__service > div {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.services__grid__service > div h3 {
  font-size: 1rem;
  line-height: 1.375;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400;
}

.services__grid__service > div p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.services__grid__service > div > a {
  display: block;
  background-color: #998675;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 12px 16px;
  border-radius: 4px;
  transition: all 0.25s;
  font-weight: 600;
}

.services__grid__service > div > a:hover {
  background-color: #000;
}

.homeImage {
  padding-bottom: 96px;
}

blockquote {
  margin: 0;
  background-color: #994628;
  min-height: 360px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

blockquote.plain {
  background: #fff;
}

blockquote h3 {
  font-size: 1.875rem;
  color: #fff;
  font-family: minion-pro, serif;
  font-weight: 500;
  line-height: 1.5;
  max-width: 80%;
  margin: 0 auto;
}

blockquote.plain h3 {
  color: #000;
}

.services__list__service {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.services__list__service:nth-of-type(even) {
  flex-direction: row-reverse;
}

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

.services__list__service > div {
  width: 50%;
}

.services__list__service > div:first-of-type img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 400px;
}

.services__list__service > div:last-of-type {
  background-color: #e6e6e6;
  border-top-right-radius: 48px;
  border-bottom-right-radius: 48px;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.services__list__service:nth-of-type(even) > div:last-of-type {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 48px;
  border-bottom-left-radius: 48px;
}

.services__list__service > div:last-of-type h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 24px;
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400;
}

.services__list__service > div:last-of-type p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.services__list__service > div:last-of-type ul {
  list-style: disc;
  margin: 0 0 20px 24px;
}

.services__list__service > div:last-of-type ul li {
  font-size: 0.875rem;
  line-height: 1.75;
}

.services__list__service > div:last-of-type > :last-child {
  margin-bottom: 0;
}

.services__contact {
  padding: 64px 0 48px;
  text-align: center;
}

.services__contact h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
  line-height: 1.375;
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400;
}

.services__contact h3 a {
  color: #994628;
  font-weight: 600;
}

.pure-form label {
  margin: 0 0 12px;
  font-weight: normal;
  color: #fff;
  display: block;
}

.pure-form input[type="text"],
.pure-form input[type="password"],
.pure-form input[type="email"],
.pure-form input[type="url"],
.pure-form input[type="date"],
.pure-form input[type="month"],
.pure-form input[type="time"],
.pure-form input[type="datetime"],
.pure-form input[type="datetime-local"],
.pure-form input[type="week"],
.pure-form input[type="number"],
.pure-form input[type="search"],
.pure-form input[type="tel"],
.pure-form input[type="color"],
.pure-form select,
.pure-form textarea {
  padding: 12px 16px;
  display: block;
  margin-bottom: 20px;
  border: 1px solid #f6f6f6;
  background-color: #f6f6f6;
  box-shadow: none;
  border-radius: 0;
  vertical-align: middle;
  box-sizing: border-box;
  width: 100%;
}

.pure-form textarea {
  padding: 16px;
  height: 160px;
}

.pure-form button {
  font-weight: 600;
  font-size: 0.875rem;
  display: block;
  border: 0;
  border-radius: 0;
  transition: all 0.25s;
  padding: 20px 24px;
  border: 0;
  background-color: #009ee2;
  color: #fff;
}

.pure-form button:hover {
  background-color: #000;
}

.contactForm {
  min-height: 624px;
  background-color: #eaeaea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.contactForm > div {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

footer {
  background-color: #000;
  padding: 64px 48px;
}

footer .container {
  background-color: transparent;
}

.footer {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer > div {
  margin-right: 64px;
}

.footer > div p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #fff;
}

.footer > div p a {
  color: #fff;
}

.footer > div p strong {
  color: #994628;
  font-weight: 600;
}

.footer > div h4 {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #994628;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: canada-type-gibson, sans-serif;
}

.footer .socialMedia {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer .socialMedia a {
  display: block;
  margin-right: 12px;
}

.footer .socialMedia a:last-of-type {
  margin-right: 0;
}

.footer .socialMedia a img {
  width: auto;
  height: 24px;
}

/* ================
   Slick: .gallery-slider theme
   Tweak vars below to match your brand
   ================ */
.gallery-slider {
  padding-bottom: 60px;
  --gs-arrow-size: 44px;
  --gs-arrow-bg: #111;           /* button background */
  --gs-arrow-color: #fff;        /* arrow icon color */
  --gs-arrow-hover-bg: #0b0b0b;
  --gs-arrow-hover-color: #fff;
  --gs-arrow-disabled: 0.35;

  --gs-dot-size: 10px;
  --gs-dot-gap: 10px;
  --gs-dot-color: #cbd5e1;       /* slate-300 */
  --gs-dot-active: #111;
  --gs-dot-outline: 2px solid #333;
}

/* Position the arrows */
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

/* Place them just outside the frame; adjust as needed */
.gallery-slider .slick-prev { left: -56px; }
.gallery-slider .slick-next { right: -56px; }

/* Arrow button base */
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
  width: var(--gs-arrow-size);
  height: var(--gs-arrow-size);
  border: 0;
  border-radius: 999px;
  background: var(--gs-arrow-bg);
  color: var(--gs-arrow-color);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease, opacity .2s ease;
  outline: none;
}

/* Remove default slick glyphs */
.gallery-slider .slick-prev::before,
.gallery-slider .slick-next::before {
  content: "";
}

/* Arrow icons via mask (modern browsers) */
.gallery-slider .slick-prev::after,
.gallery-slider .slick-next::after {
  content: "";
  width: calc(var(--gs-arrow-size) * 0.45);
  height: calc(var(--gs-arrow-size) * 0.45);
  background: currentColor;
  display: block;
  /* Chevron mask (left) */
  -webkit-mask: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/></svg>") center / contain no-repeat;
}

/* Rotate for right arrow */
.gallery-slider .slick-next::after {
  transform: rotate(180deg);
}

/* Hover / focus states */
.gallery-slider .slick-prev:hover,
.gallery-slider .slick-next:hover {
  background: var(--gs-arrow-hover-bg);
  color: var(--gs-arrow-hover-color);
  transform: translateY(-50%) scale(1.04);
}

.gallery-slider .slick-prev:focus-visible,
.gallery-slider .slick-next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Disabled arrows */
.gallery-slider .slick-prev.slick-disabled,
.gallery-slider .slick-next.slick-disabled {
  opacity: var(--gs-arrow-disabled);
  pointer-events: none;
}

/* RTL support */
.gallery-slider[dir="rtl"] .slick-prev { right: -56px; left: auto; }
.gallery-slider[dir="rtl"] .slick-next { left: -56px; right: auto; }

/* ----------------
   Dots
   ---------------- */
.gallery-slider .slick-dots {
  list-style: none;
  display: flex !important;
  gap: var(--gs-dot-gap);
  justify-content: center;
  align-items: center;
  margin: 16px 0 0;
  padding: 0;
  position: static;       /* keep under slider; set absolute if you prefer */
}

.gallery-slider .slick-dots li {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.gallery-slider .slick-dots button {
  width: var(--gs-dot-size);
  height: var(--gs-dot-size);
  border-radius: 999px;
  background: var(--gs-dot-color);
  border: 0;
  padding: 0;
  display: inline-block;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
  outline: none;
  /* remove default slick dot content */
  font-size: 0;
}

.gallery-slider .slick-dots button:focus-visible {
  outline: var(--gs-dot-outline);
  outline-offset: 2px;
}

.gallery-slider .slick-dots li.slick-active button {
  background: var(--gs-dot-active);
  transform: scale(1.2);
}

/* ----------------
   Handy responsive tweaks
   ---------------- */
@media (max-width: 1024px) {
  .gallery-slider .slick-prev { left: 8px; }
  .gallery-slider .slick-next { right: 8px; }
}

@media (max-width: 640px) {
  .gallery-slider .slick-prev,
  .gallery-slider .slick-next {
    --gs-arrow-size: 38px;
  }
  .gallery-slider .slick-dots {
    margin-top: 12px;
  }
}

/* Hide the text nodes but keep Slick's pseudo icons */
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
  font-size: 0 !important;     /* hides "Previous"/"Next" text */
  line-height: 0 !important;
  color: transparent !important;
  text-shadow: none !important;
}

/* IMPORTANT: restore the default arrow glyphs */
.gallery-slider .slick-prev::before,
.gallery-slider .slick-next::before {
  /* Slick uses ::before for arrows — give it a visible font size/color */
  font-size: 26px !important;
  line-height: 1 !important;
  color: #fff !important;      /* set to your brand color */
  opacity: 1 !important;
  padding-top: 8px;
  /* remove any accidental resets */
  content: "" !important;      /* <-- temporarily empty so we can set actual arrows below */
}

/* Explicit arrow characters (avoids theme conflicts) */
.gallery-slider .slick-prev::before { content: "←" !important; }
.gallery-slider .slick-next::before { content: "→" !important; }

/* If any inner spans get injected, keep them hidden */
.gallery-slider .slick-prev > span,
.gallery-slider .slick-next > span { display: none !important; }

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  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),
     (-o-min-device-pixel-ratio: 5/4),
     (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

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

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                   http://www.sanbeiji.com/archives/953 */
    -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,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

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

  img {
    max-width: 100% !important;
  }

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

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