/* =================================================================== 
 *  Ethos Main Stylesheet
 *  Template Ver. 1.0.0
 *  11-05-2019
 *  ------------------------------------------------------------------
 *
 *  TOC:
 *  # custom block grid STACK breakpoints
 *  # base style overrides
 *    ## links
 *  # typography & general theme styles
 *    ## Lists
 *    ## responsive video container
 *    ## floated image 
 *    ## tables
 *    ## Spacing
 *  # preloader
 *  # forms
 *    ## Style Placeholder Text
 *    ## Change Autocomplete styles in Chrome
 *  # buttons
 *  # additional components
 *    ## additional typo styles 
 *    ## skillbars
 *    ## alert box 
 *  # Common and Reusable Styles
 *  # site header
 *    ## header logo
 *    ## main navigation
 *    ## mobile menu toggle
 *    ## download resume button
 *  # hero
 *    ## hero social
 *    ## hero scroll
 *    ## animate intro content
 *    ## animations
 *  # about section
 *    ## career position
 *  # services section
 *    ## services list
 *  # portfolio
 *    ## portfolio list
 *  # testimonials
 *  # CTA
 *  # footer
 *    ## contact block
 *    ## copyright
 *    ## go top
 *
 * =================================================================== */




/* ===================================================================
 * # custom block grid STACK breakpoints
 *
 * ------------------------------------------------------------------- */
@media screen and (max-width:1000px) {
  .block-1000-full > .column {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }

}

@media screen and (max-width:900px) {
  .block-900-full > .column {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }

}



/* ===================================================================
 * # base style overrides
 *
 * ------------------------------------------------------------------- */
html {
  font-size: 10px;
}

@media screen and (max-width:400px) {
  html {
    font-size: 9.444444444444444px;
  }

}

html,
body {
  height: 100%;
}

body {
  background: #0b0a15;
  font-family: "Martel", serif;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.778;
  color: #000000;
  margin: 0;
  padding: 0;
  position: relative;
}

/* ------------------------------------------------------------------- 
 * ## links
 * ------------------------------------------------------------------- */
a {
  color: #f9861a;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a:hover,
a:focus,
a:active {
  color: #544d9d;
}

a:hover,
a:active {
  outline: 0;
}



/* ===================================================================
 * # typography & general theme styles
 * 
 * ------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Gothic A1", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #000000;
  -webkit-font-variant-ligatures: common-ligatures;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  margin-top: 6rem;
  margin-bottom: 1.6rem;
}

@media screen and (max-width:600px) {
  h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    margin-top: 5.6rem;
  }

}

h5, .h5, h6, .h6 {
  margin-top: 4.8rem;
  margin-bottom: 1.2rem;
}

@media screen and (max-width:600px) {
  h5, .h5, h6, .h6 {
    margin-top: 4.4rem;
    margin-bottom: 0.8rem;
  }

}

h1, .h1 {
  font-size: 3.6rem;
  line-height: 1.222;
}

@media screen and (max-width:600px) {
  h1, .h1 {
    font-size: 3.3rem;
  }

}

h2, .h2 {
  font-size: 3.2rem;
  line-height: 1.25;
}

h3, .h3 {
  font-size: 2.4rem;
  line-height: 1.167;
}

h4, .h4 {
  font-size: 2.1rem;
  line-height: 1.333;
}

h5, .h5 {
  font-size: 1.8rem;
  line-height: 1.333;
}

h6, .h6 {
  font-size: 1.6rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .3rem;
}

p img {
  margin: 0;
}

p.lead {
  font-family: "Gothic A1", sans-serif;
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1.833;
  margin-bottom: 3.6rem;
  color: #000000;
}

@media screen and (max-width:1200px) {
  p.lead {
    font-size: 2.2rem;
  }

}

@media screen and (max-width:600px) {
  p.lead {
    font-size: 2.1rem;
  }

}

em,
i,
strong,
b {
  font-size: inherit;
  line-height: inherit;
}

em,
i {
  font-family: "Martel", serif;
  font-style: italic;
}

strong,
b {
  font-family: "Martel", serif;
  font-weight: 700;
}

small {
  font-size: 1.2rem;
  line-height: inherit;
}

blockquote {
  margin: 4rem 0;
  padding: 4rem 4rem;
  border-left: 4px solid black;
  position: relative;
}

@media screen and (max-width:600px) {
  blockquote {
    padding: 3.2rem 3.2rem;
  }

}

@media screen and (max-width:400px) {
  blockquote {
    padding: 2.8rem 2.8rem;
  }

}

blockquote p {
  font-family: "Martel", serif;
  font-weight: 400;
  padding: 0;
  font-size: 2.8rem;
  line-height: 1.857;
  color: #000000;
}

@media screen and (max-width:1200px) {
  blockquote p {
    font-size: 2.6rem;
  }

}

@media screen and (max-width:600px) {
  blockquote p {
    font-size: 2.2rem;
  }

}

blockquote cite {
  display: block;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.333;
}

blockquote cite:before {
  content: "\2014 \0020";
}

blockquote cite,
blockquote cite a,
blockquote cite a:visited {
  color: #7e7e7e;
  border: none;
}

abbr {
  font-family: "Martel", serif;
  font-weight: 700;
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: .05rem;
  color: #7e7e7e;
}

var,
kbd,
samp,
code,
pre {
  font-family: Consolas, "Andale Mono", Courier, "Courier New", monospace;
}

pre {
  padding: 2.4rem 3.2rem 3.2rem;
  background: #efefef;
  overflow-x: auto;
}

code {
  font-size: 1.4rem;
  margin: 0 .2rem;
  padding: .4rem .8rem;
  white-space: nowrap;
  background: #efefef;
  border: 1px solid #d3d3d3;
  color: #000000;
  border-radius: 3px;
}

pre > code {
  display: block;
  white-space: pre;
  line-height: 2;
  padding: 0;
  margin: 0;
}

pre.prettyprint > code {
  border: none;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
  text-decoration: none;
}

mark {
  background: #fff099;
  color: #000000;
}

hr {
  border: solid #e0e0e0;
  border-width: 1px 0 0;
  clear: both;
  margin: 8rem 0 9.6rem;
  height: 0;
}

/* ------------------------------------------------------------------- 
 * ## Lists
 * ------------------------------------------------------------------- */
ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

li {
  display: list-item;
}

ol,
ul {
  margin-left: 1.6rem;
}

ul li {
  padding-left: .4rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: .8rem 0 .8rem 1.6rem;
}

ul.disc li {
  display: list-item;
  list-style: none;
  padding: 0 0 0 .8rem;
  position: relative;
}

ul.disc li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f9861a;
  position: absolute;
  left: -16px;
  top: 11px;
  vertical-align: middle;
}

dt {
  margin: 0;
  color: #f9861a;
}

dd {
  margin: 0 0 0 2rem;
}

/* ------------------------------------------------------------------- 
 * ## responsive video container
 * ------------------------------------------------------------------- */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------------- 
 * ## floated image 
 * ------------------------------------------------------------------- */
img.h-pull-right {
  margin: 1.2rem 0 1.2rem 2.8rem;
}

img.h-pull-left {
  margin: 1.2rem 2.8rem 1.2rem 0;
}

/* ------------------------------------------------------------------- 
 * ## tables
 * ------------------------------------------------------------------- */
table {
  border-width: 0;
  width: 100%;
  max-width: 100%;
  font-family: "Gothic A1", sans-serif;
  border-collapse: collapse;
}

th,
td {
  padding: 1.5rem 3.2rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  color: #000000;
  font-family: "Gothic A1", sans-serif;
  font-weight: 700;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------------- 
 * ## Spacing
 * ------------------------------------------------------------------- */
button,
.btn {
  margin-bottom: 1.6rem;
}

fieldset {
  margin-bottom: 1.6rem;
}

input,
textarea,
select,
pre,
blockquote,
figure,
table,
p,
ul,
ol,
dl,
form,
.video-container,
.ss-custom-select {
  margin-bottom: 3.2rem;
}



/* ===================================================================
 * # preloader
 *
 * ------------------------------------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0b0a15;
  z-index: 500;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.no-js #preloader,
.oldie #preloader {
  display: none;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  padding: 0;
  display: inline-block;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}

#loader > div {
  content: "";
  background: #ffffff;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
}

#loader > div:nth-of-type(1) {
  left: 15px;
}

#loader > div:nth-of-type(3) {
  left: -15px;
}

/* dots jump */
.dots-jump > div {
  -webkit-animation: dots-jump 1.2s infinite ease;
  animation: dots-jump 1.2s infinite ease;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.dots-jump > div:nth-of-type(1) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.dots-jump > div:nth-of-type(3) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

@-webkit-keyframes dots-jump {
  0% {
    top: 0;
  }

  40% {
    top: -6px;
  }

  80% {
    top: 0;
  }

}

@keyframes dots-jump {
  0% {
    top: 0;
  }

  40% {
    top: -6px;
  }

  80% {
    top: 0;
  }

}

/* dots fade */
.dots-fade > div {
  -webkit-animation: dots-fade 1.6s infinite ease;
  animation: dots-fade 1.6s infinite ease;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.dots-fade > div:nth-of-type(1) {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.dots-fade > div:nth-of-type(3) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

@-webkit-keyframes dots-fade {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 0.2;
  }

  80% {
    opacity: 1;
  }

}

@keyframes dots-fade {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 0.2;
  }

  80% {
    opacity: 1;
  }

}

/* dots pulse */
.dots-pulse > div {
  -webkit-animation: dots-pulse 1.2s infinite ease;
  animation: dots-pulse 1.2s infinite ease;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.dots-pulse > div:nth-of-type(1) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.dots-pulse > div:nth-of-type(3) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

@-webkit-keyframes dots-pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  40% {
    -webkit-transform: scale(1.1);
    transform: scale(1.3);
  }

  80% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

}

@keyframes dots-pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  40% {
    -webkit-transform: scale(1.1);
    transform: scale(1.3);
  }

  80% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

}



/* ===================================================================
 * # forms
 *
 * ------------------------------------------------------------------- */
fieldset {
  border: none;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  display: block;
  height: 6.8rem;
  padding: 1.8rem 0 1.5rem;
  border: 0;
  outline: none;
  color: #000000;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.6rem;
  line-height: 3.2rem;
  max-width: 100%;
  background: transparent;
  border-bottom: 1px solid #d3d3d3;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.ss-custom-select {
  position: relative;
  padding: 0;
}

.ss-custom-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  margin: 0;
  line-height: 3rem;
  vertical-align: middle;
}

.ss-custom-select select option {
  padding-left: 2rem;
  padding-right: 2rem;
}

.ss-custom-select select::-ms-expand {
  display: none;
}

.ss-custom-select::after {
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
  content: '';
  display: block;
  height: 8px;
  width: 8px;
  margin-top: -7px;
  pointer-events: none;
  position: absolute;
  right: 2.4rem;
  top: 50%;
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  -webkit-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

textarea {
  min-height: 25.6rem;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  color: #000000;
  border-bottom: 1px solid #000000;
}

label,
legend {
  font-family: "Gothic A1", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: .8rem;
  line-height: 1.714;
  color: #000000;
  display: block;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline;
}

label > .label-text {
  display: inline-block;
  margin-left: 1rem;
  font-family: "Gothic A1", sans-serif;
  line-height: inherit;
}

label > input[type="checkbox"],
label > input[type="radio"] {
  margin: 0;
  position: relative;
  top: .2rem;
}

/* ------------------------------------------------------------------- 
 * ## Style Placeholder Text
 * ------------------------------------------------------------------- */
::-webkit-input-placeholder {

  /* WebKit, Blink, Edge */
  color: #8c8c8c;
}

:-ms-input-placeholder {

  /* Internet Explorer 10-11 */
  color: #8c8c8c;
}

::-ms-input-placeholder {

  /* Microsoft Edge */
  color: #8c8c8c;
}

::placeholder {

  /* Most modern browsers support this now. */
  color: #8c8c8c;
}

.placeholder {
  color: #8c8c8c !important;
}

/* ------------------------------------------------------------------- 
 * ## Change Autocomplete styles in Chrome
 * ------------------------------------------------------------------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus
input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #f9861a;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}



/* ===================================================================
 * # buttons
 *
 * ------------------------------------------------------------------- */
.btn,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .6rem;
  height: 6rem;
  line-height: 5.6rem;
  padding: 0 3.2rem;
  margin: 0 .4rem 1.6rem 0;
  color: #000000;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-transition: all .3s;
  transition: all .3s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #d3d3d3;
  border: 0.2rem solid #d3d3d3;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.btn:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  outline: 0;
}

/* button primary
 * ------------------------------------------------- */
.btn.btn--primary,
button.btn--primary,
input[type="submit"].btn--primary,
input[type="reset"].btn--primary,
input[type="button"].btn--primary {
  background: #f9861a;
  border-color: #f9861a;
  color: #ffffff;
}

.btn.btn--primary:hover,
button.btn--primary:hover,
input[type="submit"].btn--primary:hover,
input[type="reset"].btn--primary:hover,
input[type="button"].btn--primary:hover,
.btn.btn--primary:focus,
button.btn--primary:focus,
input[type="submit"].btn--primary:focus,
input[type="reset"].btn--primary:focus,
input[type="button"].btn--primary:focus {
  background: #000000;
  border-color: #000000;
}

/* button modifiers
 * ------------------------------------------------- */
.btn.h-full-width,
button.h-full-width {
  width: 100%;
  margin-right: 0;
}

.btn--small,
button.btn--small {
  height: 5.6rem !important;
  line-height: 5.2rem !important;
}

.btn--medium,
button.btn--medium {
  height: 6.4rem !important;
  line-height: 6rem !important;
}

.btn--large,
button.btn--large {
  height: 6.8rem !important;
  line-height: 6.4rem !important;
}

.btn--stroke,
button.btn--stroke {
  background: transparent !important;
  border: 0.2rem solid #000000;
  color: #000000;
}

.btn--stroke:hover,
button.btn--stroke:hover {
  background: #000000 !important;
  border: 0.2rem solid #000000;
  color: #ffffff;
}

.btn--pill,
button.btn--pill {
  padding-left: 3.2rem !important;
  padding-right: 3.2rem !important;
  border-radius: 1000px !important;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}



/* =================================================================== 
 * # additional components
 *
 * ------------------------------------------------------------------- */

/* ------------------------------------------------------------------- 
 * ## additional typo styles 
 * ------------------------------------------------------------------- */
.drop-cap:first-letter {
  float: left;
  font-family: "Gothic A1", sans-serif;
  font-weight: 700;
  font-size: 5.334em;
  line-height: 1;
  padding: 0 0.125em 0 0;
  text-transform: uppercase;
  background: transparent;
  color: #000000;
}

/* line definition style 
 * ----------------------------------------------- */
.lining dt,
.lining dd {
  display: inline;
  margin: 0;
}

.lining dt + dt:before,
.lining dd + dt:before {
  content: "\A";
  white-space: pre;
}

.lining dd + dd:before {
  content: ", ";
}

.lining dd + dd:before {
  content: ", ";
}

.lining dd:before {
  content: ": ";
  margin-left: -0.2em;
}

/* dictionary definition style 
 * ----------------------------------------------- */
.dictionary-style dt {
  display: inline;
  counter-reset: definitions;
}

.dictionary-style dt + dt:before {
  content: ", ";
  margin-left: -0.2em;
}

.dictionary-style dd {
  display: block;
  counter-increment: definitions;
}

.dictionary-style dd:before {
  content: counter(definitions, decimal) ". ";
}

/** 
 * Pull Quotes
 * -----------
 * markup:
 *
 * <aside class="pull-quote">
 *    <blockquote>
 *      <p></p>
 *    </blockquote>
 *  </aside>
 *
 * --------------------------------------------------------------------- */
.pull-quote {
  position: relative;
  padding: 2.4rem 0;
}

.pull-quote blockquote {
  background-color: #efefef;
  border: none;
  margin: 0;
  padding-top: 9.6rem;
  position: relative;
}

.pull-quote blockquote:before {
  content: "";
  display: block;
  height: 3.2rem;
  width: 3.2rem;
  background-repeat: no-repeat;
  background: center center;
  background-size: contain;
  background-image: url(../images/icons/icon-quote.svg);
  position: absolute;
  top: 4rem;
  left: 4rem;
}

/** 
 * Stats Tab
 * ---------
 * markup:
 *
 * <ul class="stats-tabs">
 *    <li><a href="#">[value]<em>[name]</em></a></li>
 *  </ul>
 *
 * Extend this object into your markup.
 *
 * --------------------------------------------------------------------- */
.stats-tabs {
  padding: 0;
  margin: 3.2rem 0;
}

.stats-tabs li {
  display: inline-block;
  margin: 0 1.6rem 3.2rem 0;
  padding: 0 1.5rem 0 0;
  border-right: 1px solid #e0e0e0;
}

.stats-tabs li:last-child {
  margin: 0;
  padding: 0;
  border: none;
}

.stats-tabs li a {
  display: inline-block;
  font-size: 2.5rem;
  font-family: "Gothic A1", sans-serif;
  font-weight: 700;
  border: none;
  color: #000000;
}

.stats-tabs li a:hover {
  color: #f9861a;
}

.stats-tabs li a em {
  display: block;
  margin: .8rem 0 0 0;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
  font-style: normal;
  color: #7e7e7e;
}

/* ------------------------------------------------------------------- 
 * ## skillbars
 * ------------------------------------------------------------------- */
.skill-bars {
  list-style: none;
  margin: 6.8rem 0 3.2rem;
}

.skill-bars li {
  height: .4rem;
  background: #c3c3c3;
  width: 100%;
  margin-bottom: 6.8rem;
  padding: 0;
  position: relative;
}

.skill-bars li strong {
  position: absolute;
  left: 0;
  top: -4rem;
  font-family: "Gothic A1", sans-serif;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: .2rem;
  font-size: 1.4rem;
  line-height: 2.4rem;
}

.skill-bars li .progress {
  background: #000000;
  position: relative;
  height: 100%;
}

.skill-bars li .progress span {
  position: absolute;
  right: 0;
  top: -3.6rem;
  display: block;
  font-family: "Gothic A1", sans-serif;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
  background: #000000;
  padding: .8rem .8rem;
  border-radius: 3px;
}

.skill-bars li .progress span::after {
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -5px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: #000000;
  content: "";
}

.skill-bars li .percent5 {
  width: 5%;
}

.skill-bars li .percent10 {
  width: 10%;
}

.skill-bars li .percent15 {
  width: 15%;
}

.skill-bars li .percent20 {
  width: 20%;
}

.skill-bars li .percent25 {
  width: 25%;
}

.skill-bars li .percent30 {
  width: 30%;
}

.skill-bars li .percent35 {
  width: 35%;
}

.skill-bars li .percent40 {
  width: 40%;
}

.skill-bars li .percent45 {
  width: 45%;
}

.skill-bars li .percent50 {
  width: 50%;
}

.skill-bars li .percent55 {
  width: 55%;
}

.skill-bars li .percent60 {
  width: 60%;
}

.skill-bars li .percent65 {
  width: 65%;
}

.skill-bars li .percent70 {
  width: 70%;
}

.skill-bars li .percent75 {
  width: 75%;
}

.skill-bars li .percent80 {
  width: 80%;
}

.skill-bars li .percent85 {
  width: 85%;
}

.skill-bars li .percent90 {
  width: 90%;
}

.skill-bars li .percent95 {
  width: 95%;
}

.skill-bars li .percent100 {
  width: 100%;
}

/* ------------------------------------------------------------------- 
 * ## alert box 
 * ------------------------------------------------------------------- */
.alert-box {
  padding: 2.4rem 4rem 2.4rem 3.2rem;
  position: relative;
  margin-bottom: 3.2rem;
  border-radius: 3px;
  font-family: "Gothic A1", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.6;
}

.alert-box__close {
  position: absolute;
  display: block;
  right: 1.6rem;
  top: 1.6rem;
  cursor: pointer;
  width: 12px;
  height: 12px;
}

.alert-box__close::before,
.alert-box__close::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 2px;
  height: 12px;
  top: 0;
  left: 5px;
}

.alert-box__close::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.alert-box__close::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.alert-box--error {
  background-color: #ffd1d2;
  color: #dd4043;
}

.alert-box--error .alert-box__close::before,
.alert-box--error .alert-box__close::after {
  background-color: #dd4043;
}

.alert-box--success {
  background-color: #c8e675;
  color: #637533;
}

.alert-box--success .alert-box__close::before,
.alert-box--success .alert-box__close::after {
  background-color: #637533;
}

.alert-box--info {
  background-color: #d5ebfb;
  color: #387fb2;
}

.alert-box--info .alert-box__close::before,
.alert-box--info .alert-box__close::after {
  background-color: #387fb2;
}

.alert-box--notice {
  background-color: #fff099;
  color: #827217;
}

.alert-box--notice .alert-box__close::before,
.alert-box--notice .alert-box__close::after {
  background-color: #827217;
}



/* ===================================================================
 * # Common and Reusable Styles
 *
 * ------------------------------------------------------------------- */
.wide {
  max-width: 1400px;
}

.wider {
  max-width: 1600px;
}

.narrow {
  max-width: 1000px;
}

.subhead {
  font-size: 1.4rem;
  line-height: 1.286;
  text-transform: uppercase;
  letter-spacing: .4em;
  margin-top: 0;
  margin-bottom: 6rem;
  color: #f9861a;
}

.display-1 {
  font-size: 4.8rem;
  line-height: 1.333;
}

.section-intro {
  position: relative;
  margin-bottom: 12rem;
}

.section-intro .display-1 {
  margin-top: 0;
}

.section-intro .subhead,
.section-intro .display-1 {
  position: relative;
}

.section-intro::before {
  content: attr(data-num);
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 30rem;
  line-height: 1;
  letter-spacing: -.045em;
  color: rgba(0, 0, 0, 0.12);
  position: absolute;
  top: -.25em;
  left: 4.4rem;
}

.h-dark-bg {
  color: #ffffff;
}

.h-dark-bg .section-intro .display-1 {
  color: #ffffff;
}

.h-dark-bg .section-intro::before {
  color: rgba(255, 255, 255, 0.08);
}

.h-dark-bg p.lead {
  color: #ffffff;
}

.right-vert-line {
  width: 2px;
  height: 20rem;
  background-color: #302c59;
  -webkit-transform: translate3d(50%, 0, 0);
  transform: translate3d(50%, 0, 0);
  position: absolute;
  top: 0;
  right: 11.2rem;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * common and reusable styles
 * ------------------------------------------------------------------- */
@media screen and (max-width:1200px) {
  .right-vert-line {
    right: 9rem;
  }

}

@media screen and (max-width:800px) {
  .section-intro::before {
    font-size: 24rem;
  }

  .right-vert-line {
    height: 16rem;
    right: 6.2rem;
  }

}

@media screen and (max-width:600px) {
  .subhead {
    font-size: 1.3rem;
  }

  .display-1 {
    font-size: 4.2rem;
  }

  .section-intro::before {
    font-size: 22rem;
  }

  .right-vert-line {
    height: 12rem;
    right: 5rem;
  }

}

@media screen and (max-width:500px) {
  .display-1 {
    font-size: 4rem;
  }

}

@media screen and (max-width:400px) {
  .section-intro {
    margin-bottom: 9.6rem;
  }

  .section-intro::before {
    font-size: 20rem;
  }

}

@media screen and (max-width:360px) {
  .display-1 {
    font-size: 3.6rem;
  }

  .section-intro::before {
    font-size: 18rem;
  }

}



/* ===================================================================
 * # site header
 *
 * ------------------------------------------------------------------- */
.s-header {
  z-index: 100;
  width: 100%;
  height: 8.8rem;
  position: absolute;
  top: 4rem;
  left: 0;
}

.s-header.offset {
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
  -webkit-transition: all .5s;
  transition: all .5s;
}

.s-header.scrolling {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.s-header.sticky {
  background-color: #050505;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
}

.s-header.sticky .header-logo img {
  width: 35px;
  height: 38px;
}

.s-header.sticky .header-content .btn {
  height: 4.8rem !important;
  line-height: 4.4rem !important;
}

.s-header.sticky .header-nav a {
  color: rgba(255, 255, 255, 0.6);
}

.s-header.sticky.scrolling {
  opacity: 1;
  visibility: visible;
}

.header-content {
  height: 8.8rem;
  position: relative;
}

/* -------------------------------------------------------------------
 * ## header logo
 * ------------------------------------------------------------------- */
.header-logo {
  z-index: 101;
  display: inline-block;
  margin: 0;
  padding: 0;
  -webkit-transition: all .5s;
  transition: all .5s;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  position: absolute;
  left: 8rem;
  top: 50%;
}

.header-logo a {
  display: block;
  border: none;
  padding: 0;
  outline: 0;
}

.header-logo img {
  width: 41px;
  height: 44px;
  vertical-align: bottom;
}

/* -------------------------------------------------------------------
 * ## main navigation
 * ------------------------------------------------------------------- */
.header-nav-wrap {
  max-width: 1400px;
  padding-left: 10px;
}

.header-nav {
  list-style: none;
  font-family: "Gothic A1", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 6rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  margin: 0;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.4);
}

.header-nav a:hover,
.header-nav a:focus {
  color: #ffffff !important;
}

.header-nav li {
  display: inline-block;
  padding-left: 0;
  margin: 0 1rem;
}

/* ------------------------------------------------------------------- 
 * ## mobile menu toggle
 * ------------------------------------------------------------------- */
.header-menu-toggle {
  z-index: 101;
  display: none;
  height: 4.2rem;
  width: 4.2rem;
  line-height: 4.2rem;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .2rem;
  color: #ffffff;
  outline: none;
  -webkit-transition: all .3s;
  transition: all .3s;
  position: absolute;
  right: 5.2rem;
  top: 1.6rem;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
  color: #ffffff;
}

.header-menu-toggle span {
  display: block;
  width: 2.4rem;
  height: 2px;
  background-color: #ffffff;
  -webkit-transition: all .5s;
  transition: all .5s;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
  margin-top: -1px;
  position: absolute;
  top: 50%;
  left: .9rem;
  right: auto;
  bottom: auto;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: inherit;
  -webkit-transition: all .5s;
  transition: all .5s;
  position: absolute;
  left: 0;
}

.header-menu-toggle span::before {
  top: -.9rem;
}

.header-menu-toggle span::after {
  bottom: -.9rem;
}

.header-menu-toggle.is-clicked span {
  background-color: rgba(255, 255, 255, 0);
  -webkit-transition: all .1s;
  transition: all .1s;
}

.header-menu-toggle.is-clicked span::before,
.header-menu-toggle.is-clicked span::after {
  background-color: white;
}

.header-menu-toggle.is-clicked span::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.header-menu-toggle.is-clicked span::after {
  bottom: 0;
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}

/* ------------------------------------------------------------------- 
 * ## download resume button
 * ------------------------------------------------------------------- */
.header-content .btn {
  border-color: #ffffff;
  color: #ffffff;
  margin: 0;
  padding: 0 4rem;
  font-size: 1.1rem;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  position: absolute;
  top: 50%;
  right: 8rem;
}

.header-content .btn:hover,
.header-content .btn:focus {
  background-color: #f9861a !important;
  border-color: #f9861a !important;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * header
 * ------------------------------------------------------------------- */
@media screen and (max-width:1700px) {
  .header-logo {
    left: 6rem;
  }

  .header-nav-wrap {
    max-width: none;
    width: 100%;
    padding-left: 13.2rem;
  }

  .header-content .btn {
    right: 6rem;
  }

}

@media screen and (max-width:1000px) {
  .header-content .btn {
    height: 4.8rem !important;
    line-height: 4.4rem !important;
  }

}

@media screen and (max-width:900px) {
  .s-header {
    top: 2rem;
    height: 8rem;
  }

  .header-logo img {
    width: 37px;
    height: 40px;
  }

  .header-content {
    display: block;
    background-color: #050505;
    height: auto;
    width: 100%;
    padding: 16rem 6rem 8rem;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    position: absolute;
    top: -2rem;
    left: 0;
  }

  .header-content .btn {
    margin-top: 4.8rem;
    -webkit-transform: translate3d(0, -2rem, 0);
    transform: translate3d(0, -2rem, 0);
    opacity: 0;
    visibility: hidden;
    position: static;
  }

  .header-nav-wrap {
    padding: 0;
    -webkit-transform: translate3d(0, -2rem, 0);
    transform: translate3d(0, -2rem, 0);
    opacity: 0;
    visibility: hidden;
  }

  .header-nav {
    display: block;
    width: 100%;
    padding: 0;
  }

  .header-nav a {
    display: block;
  }

  .header-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
    margin: 0;
  }

  .header-nav li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header-menu-toggle {
    display: block;
  }

  .menu-is-open .header-content {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: -webkit-transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .menu-is-open .header-content .btn {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    transition-property: transform, opacity;
    transition-property: transform, opacity, -webkit-transform;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transition-delay: .7s;
    transition-delay: .7s;
  }

  .menu-is-open .header-nav-wrap {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    -webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
  }

}

@media screen and (max-width:600px) {
  .header-logo {
    left: 4rem;
  }

  .header-menu-toggle {
    right: 3.2rem;
  }

  .header-content {
    padding: 16rem 4rem 8rem;
  }

  .header-content .btn {
    display: block;
  }

}



/* ===================================================================
 * # hero
 *
 * ------------------------------------------------------------------- */
.s-hero {
  width: 100%;
  height: 100vh;
  min-height: 82rem;
  overflow: hidden;
  background-image: url('../background_adib.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0b0a15;
  position: relative;
}

.no-js .s-hero {
  background-color: #0b0a15;

}

.hero-content {
  height: 100%;
  max-width: 1400px;
  -ms-flex-align: end;
  -webkit-box-align: end;
  align-items: flex-end;
  padding-top: 20vh;
  padding-bottom: 14vh;
  position: relative;
}

/* Add new flex container for centering */
.s-hero .hero-text {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  font-size: 7rem;
  font-weight: 400;
  line-height: 1.257;
  padding-right: 3.2rem;
  margin-top: 0;
  color: #ffffff;
  position: relative;
}

.hero-content h1::before {
  content: "";
  display: block;
  height: 2px;
  width: 8rem;
  background-color: #f9861a;
  position: absolute;
  left: -10.8rem;
  top: .55em;
}

/* -------------------------------------------------------------------
 * ## hero social
 * ------------------------------------------------------------------- */
.hero-social {
  list-style: none;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-flow: row wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-flow: row wrap;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 3.2rem;
  text-transform: uppercase;
  letter-spacing: .5em;
  margin-top: 8rem;
  margin-left: .4rem;
  margin-bottom: 0;
  position: relative;
}

.hero-social a {
  color: #ffffff;
}

.hero-social a:hover,
.hero-social a:focus,
.hero-social a:active {
  color: #f9861a;
}

.hero-social li {
  padding-left: 0;
}

.hero-social li::after {
  content: '/';
  color: rgba(255, 255, 255, 0.1);
  margin-left: 0rem;
  margin-right: 1rem;
}

.hero-social li:last-child::after {
  display: none;
}

/* -------------------------------------------------------------------
 * ## hero scroll
 * ------------------------------------------------------------------- */
.hero-scroll {
  position: absolute;
  right: 8rem;
  bottom: 10rem;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 2px;
  height: 7rem;
  background-color: white;
  -webkit-transform: translate3d(50%, 0, 0);
  transform: translate3d(50%, 0, 0);
  position: absolute;
  right: 50%;
  bottom: -10rem;
}

.hero-scroll .scroll-link,
.hero-scroll .scroll-link svg path {
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.hero-scroll .scroll-link {
  text-decoration: none;
  border: 0 none;
  display: block;
  height: 6.4rem;
  width: 6.4rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  margin: 0;
  position: relative;
}

.hero-scroll .scroll-link svg {
  height: 1.2rem;
  width: 1.2rem;
  position: absolute;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  left: 50%;
  top: 50%;
}

.hero-scroll .scroll-link svg path {
  fill: #ffffff;
}

.hero-scroll .scroll-link:hover,
.hero-scroll .scroll-link:focus {
  background-color: #f9861a;
}

/* -------------------------------------------------------------------
 * ## animate intro content
 * ------------------------------------------------------------------- */
html.ss-preload .hero-content {
  opacity: 0;
}

html.ss-loaded .hero-content {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

html.no-csstransitions .hero-content {
  opacity: 1;
}

/* ------------------------------------------------------------------- 
 * ## animations
 * ------------------------------------------------------------------- */

/* fade in */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

}

@keyframes fadeIn {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

}

/* fade in left */
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

}

/* fade out */
@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

}

@keyframes fadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

}

/* ------------------------------------------------------------------- 
 * responsive:
 * hero
 * ------------------------------------------------------------------- */
@media screen and (max-width:1800px) {
  .hero-content h1 {
    font-size: 6.3rem;
  }

  .hero-content h1::before {
    width: 6rem;
    left: -8.8rem;
  }

}

@media screen and (max-width:1700px) {
  .hero-content {
    max-width: 1200px;
  }

}

@media screen and (max-width:1500px) {
  .hero-content {
    max-width: 1000px;
  }

}

@media screen and (max-width:1300px) {
  .hero-content {
    max-width: 1200px;
  }

  .hero-content h1 {
    font-size: 6rem;
    padding-top: 3.2rem;
  }

  .hero-content h1::before {
    width: 6rem;
    top: 0;
    left: 0;
  }

}

@media screen and (max-width:1200px) {
  .hero-scroll {
    right: 6rem;
  }

  .hero-scroll::after {
    height: 8rem;
  }

  .hero-scroll .scroll-link {
    height: 6rem;
    width: 6rem;
  }

}

@media screen and (max-width:1000px) {
  .hero-content h1 {
    font-size: 5.6rem;
  }

  .hero-social {
    font-size: 1.1rem;
  }

}

@media screen and (max-width:800px) {
  .hero-content h1 {
    font-size: 4.8rem;
  }

  .hero-social {
    padding-right: 7.2rem;
  }

  .hero-scroll {
    right: 3.6rem;
  }

  .hero-scroll .scroll-link {
    height: 5.2rem;
    width: 5.2rem;
  }

}

@media screen and (max-width:600px) {
  .hero-content h1 {
    font-size: 4.6rem;
  }

  .hero-content h1 br {
    display: none;
  }

  .hero-social {
    font-size: 1rem;
  }

  .hero-scroll {
    right: 2.4rem;
  }

}

@media screen and (max-width:500px) {
  .hero-content h1 {
    font-size: 4.4rem;
    padding-right: 0;
  }

}

@media screen and (max-width:400px) {
  .hero-content h1 {
    font-size: 4rem;
  }

}

@media screen and (max-width:360px) {
  .hero-content h1 {
    font-size: 3.8rem;
  }

}



/* ===================================================================
 * # about section
 *
 * ------------------------------------------------------------------- */
.s-about {
  padding-bottom: 16rem;
  background-color: #ffffff;
  position: relative;
}

.s-about .right-vert-line {
  background-color: #302c59;
}

.s-about__section--profile {
  padding-top: 28rem;
  padding-bottom: 4rem;
  min-height: 108rem;
  position: relative;
}

.s-about__section--profile::before {
  content: "";
  display: block;
  background-color: #b3c2c1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: calc(50% + 12vw);
}

.s-about__section--profile .row {
  position: relative;
}

.s-about__section--profile .profile-pic {
  width: 24vw;
  position: absolute;
  top: 8rem;
  left: calc(50% + 80px);
}

/* ------------------------------------------------------------------- 
 * ## career position
 * ------------------------------------------------------------------- */
.work-positions {
  margin-top: 2rem;
}

.work-positions .column:nth-child(2n + 1) {
  padding-right: 40px;
}

.work-positions .column:nth-child(2n + 2) {
  padding-left: 40px;
}

.position {
  padding-top: 3.6rem;
  padding-bottom: 3.2rem;
  border-top: 1px solid #b3c2c1;
}

.position__header {
  margin-bottom: 4rem;
}

.position__header h6 {
  font-family: "Martel", serif;
  line-height: 2.8rem;
  margin-top: 0;
  margin-bottom: .4rem;
}

.position__header h6 .position__co {
  margin-right: 2rem;
}

.position__header h6 .position__pos {
  display: inline-block;
  font-size: 1.8rem;
  text-transform: none;
  letter-spacing: 0;
}

.position__timeframe {
  font-family: "Gothic A1", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
  text-transform: uppercase;
  letter-spacing: .3rem;
  color: #7e7e7e;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * about
 * ------------------------------------------------------------------- */
@media screen and (max-width:1200px) {
  .s-about__section--profile::before {
    left: 75%;
  }

  .s-about__section--profile .profile-pic {
    width: 26vw;
    right: 0;
    left: auto;
  }

  .work-positions .column:nth-child(2n + 1) {
    padding-right: 30px;
  }

  .work-positions .column:nth-child(2n + 2) {
    padding-left: 30px;
  }

}

@media screen and (max-width:900px) {
  .work-positions .column:nth-child(n) {
    padding: 0 16px;
  }

  .position {
    padding-right: 8rem;
  }

}

@media screen and (max-width:800px) {
  .s-about__section--profile {
    padding-top: 20rem;
    padding-bottom: 0;
    min-height: 0;
  }

  .s-about__section--profile::before,
  .s-about__section--profile .profile-pic {
    display: none;
  }

  .position {
    padding-right: 0;
  }

}

@media screen and (max-width:600px) {
  .work-positions .column:nth-child(n) {
    padding: 0 10px;
  }

}

@media screen and (max-width:400px) {
  .work-positions .column:nth-child(n) {
    padding: 0;
  }

}



/* ===================================================================
 * # services section
 *
 * ------------------------------------------------------------------- */
.s-services {
  padding-top: 24rem;
  padding-bottom: 20rem;
  background-color: #1d1b37;
  position: relative;
}

.s-services__content {
  position: relative;
}

.s-services__leftcol {
  padding-bottom: 12rem;
}

.s-services__leftcol p.lead {
  max-width: 90%;
}

.s-services .vert-line {
  width: 2px;
  height: 20rem;
  background-color: #f9861a;
  -webkit-transform: translate3d(50%, 0, 0);
  transform: translate3d(50%, 0, 0);
  position: absolute;
  bottom: -20rem;
  left: 20px;
}

/* ------------------------------------------------------------------- 
 * ## services list
 * ------------------------------------------------------------------- */
.services-list {
  list-style: none;
  padding-left: 20px;
  margin: 8.8rem 0 0 0;
  counter-reset: ctr;
}

.services-list h5 {
  color: #ffffff;
}

.services-list__item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 0;
}

.services-list__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-list__item-header {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  padding-right: 6rem;
  cursor: pointer;
  position: relative;
}

.services-list__item-header h5 {
  font-family: "Gothic A1", sans-serif;
  font-weight: 400;
  font-size: 3.6rem;
  padding-left: 1.111em;
  margin: 0;
  position: relative;
}

.services-list__item-header h5::before {
  content: counter(ctr, decimal-leading-zero) ".";
  counter-increment: ctr;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: .5em;
  line-height: 1;
  color: #f9861a;
  position: absolute;
  top: .5em;
  left: 0;
}

.services-list__item-header::after {
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  content: '';
  display: block;
  height: 6px;
  width: 6px;
  margin-top: -6px;
  pointer-events: none;
  position: absolute;
  right: 2.4rem;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transition: all, .3s;
  transition: all, .3s;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.services-list__item-body {
  padding-top: 1.2rem;
  padding-left: 4rem;
  padding-right: 4rem;
  display: none;
}

.is-active .services-list__item-header::after {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}

.is-active .services-list__item-body {
  display: block;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * services
 * ------------------------------------------------------------------- */
@media screen and (max-width:1200px) {
  .services-list {
    padding-left: 10px;
  }

}

@media screen and (max-width:1040px) {
  .s-services .vert-line {
    height: 12rem;
    left: 16px;
  }

  .s-services__content .column {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .s-services__content .s-services__leftcol {
    -ms-flex: 0 0 75%;
    -webkit-box-flex: 0;
    flex: 0 0 75%;
    max-width: 75%;
    padding-bottom: 0;
  }

  .s-services__content .s-services__leftcol p.lead {
    max-width: none;
  }

  .services-list {
    padding-left: 0;
    margin: 0;
  }

}

@media screen and (max-width:800px) {
  .s-services {
    padding-top: 20rem;
  }

  .s-services__content .s-services__leftcol {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }

}

@media screen and (max-width:600px) {
  .s-services .vert-line {
    left: 34px;
  }

  .services-list__item-header h5 {
    font-size: 3.2rem;
  }

}

@media screen and (max-width:500px) {
  .services-list__item-header h5 {
    font-size: 3rem;
  }

}

@media screen and (max-width:400px) {
  .s-services .vert-line {
    left: 24px;
  }

  .services-list__item-header h5 {
    font-size: 2.8rem;
  }

}



/* ===================================================================
 * # portfolio
 *
 * ------------------------------------------------------------------- */
.s-portfolio {
  padding-top: 24rem;
  padding-bottom: 0;
  background-color: #ffffff;
  position: relative;
}

.s-portfolio::before {
  content: "";
  display: block;
  background-color: #b3c2c1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
}

/* ------------------------------------------------------------------- 
 * ## portfolio list
 * ------------------------------------------------------------------- */
.s-portfolio__list {
  max-width: 1240px;
}

.folio-item {
  position: relative;
  overflow: hidden;
}

.folio-item__caption {
  display: none;
}

/* thumbnail
 *---------------------------------------------- */
.folio-item__thumb a {
  display: block;
}

.folio-item__thumb a::before {
  z-index: 1;
  content: "";
  display: block;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all, .5s;
  transition: all, .5s;
}

.folio-item__thumb a::after {
  z-index: 1;
  content: "+";
  font-family: "Gothic A1", sans-serif;
  font-weight: 300;
  font-size: 3rem;
  color: #ffffff;
  display: block;
  height: 32px;
  width: 32px;
  line-height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-transition: all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: absolute;
  left: 50%;
  top: 50%;
}

.folio-item__thumb img {
  vertical-align: bottom;
}

/* portfolio info
 *---------------------------------------------- */
.folio-item__info {
  z-index: 2;
  padding: 0 3rem;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: absolute;
  left: 0;
  top: 3.6rem;
}

.folio-item__title {
  color: #ffffff;
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.333;
  margin: 0;
}

.folio-item__cat {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Gothic A1", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.folio-item__project-link {
  z-index: 2;
  display: block;
  font-family: "Gothic A1", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 2rem;
  color: #000000;
  background-color: #ffffff;
  padding: .6rem 1.2rem;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  -webkit-transition: all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all, 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: absolute;
  bottom: 3.9rem;
  left: 3rem;
}

.folio-item__project-link::before {
  display: block;
  content: "";
  height: 1px;
  width: 3rem;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 50%;
  left: -3rem;
}

.folio-item__project-link:hover,
.folio-item__project-link:focus,
.folio-item__project-link:active {
  background-color: #f9861a;
  color: #ffffff;
}

/* on hover
 *---------------------------------------------- */
.folio-item:hover .folio-item__thumb a::before {
  opacity: 1;
  visibility: visible;
}

.folio-item:hover .folio-item__thumb a::after {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.folio-item:hover .folio-item__project-link {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.folio-item:hover .folio-item__info {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * portfolio
 * ------------------------------------------------------------------- */
@media screen and (max-width:1200px) {
  .s-portfolio::before {
    display: none;
  }

  .folio-item__thumb a::after {
    font-size: 2rem;
  }

  .folio-item__title {
    font-size: 1.8rem;
  }

  .folio-item__cat {
    font-size: 1.2rem;
  }

}

@media screen and (max-width:800px) {
  .s-portfolio {
    padding-top: 20rem;
  }

  .folio-item__thumb a::after {
    font-size: 3rem;
  }

  .folio-item__title {
    font-size: 2.1rem;
  }

  .folio-item__cat {
    font-size: 1.4rem;
  }

}

@media screen and (max-width:600px) {
  .folio-item__thumb a::after {
    font-size: 2rem;
  }

  .folio-item__title {
    font-size: 1.8rem;
  }

  .folio-item__cat {
    font-size: 1.2rem;
  }

}



/* ===================================================================
 * # testimonials
 *
 * ------------------------------------------------------------------- */
.s-testimonials {
  padding-top: 14.4rem;
  padding-bottom: 16rem;
  background-color: #ffffff;
}

.testimonial-slider {
  position: relative;
}

.testimonial-slider p {
  font-family: "Gothic A1", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.882;
  color: #000000;
}

.testimonial-slider .slick-slide {
  outline: none;
}

.testimonial-slider .slick-dots {
  display: block;
  list-style: none;
  padding: 0;
  margin: 5.6rem 0 0 0;
  text-align: center;
}

.testimonial-slider .slick-dots li {
  display: inline-block;
  width: 27px;
  height: 27px;
  margin: 0;
  padding: 9px;
  cursor: pointer;
}

.testimonial-slider .slick-dots li button {
  display: block;
  width: 10px;
  height: 10px;
  line-height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

.testimonial-slider .slick-dots li button:hover,
.testimonial-slider .slick-dots li button:focus {
  outline: none;
}

.testimonial-slider .slick-dots li.slick-active button,
.testimonial-slider .slick-dots li:hover button {
  background: #000000;
}

.testimonial-slider__slide {
  position: relative;
  padding: 0 20px;
}

.testimonial-slider__author {
  min-height: 7.2rem;
  margin-top: 4rem;
  padding-left: 8.8rem;
  position: relative;
}

.testimonial-slider__avatar {
  width: 6.8rem;
  height: 6.8rem;
  border-radius: 100%;
  outline: none;
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial-slider__cite {
  display: block;
}

.testimonial-slider__cite strong,
.testimonial-slider__cite span {
  font-family: "Gothic A1", sans-serif;
  font-style: normal;
}

.testimonial-slider__cite strong {
  font-size: 1.6rem;
  line-height: 1.75;
}

.testimonial-slider__cite span {
  display: block;
  font-size: 1.5rem;
  line-height: 1.333;
  color: rgba(0, 0, 0, 0.7);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * testimonials
 * ------------------------------------------------------------------- */
@media screen and (max-width:800px) {
  .testimonial-slider__slide {
    text-align: center;
  }

  .testimonial-slider__author {
    display: inline-block;
  }

}

@media screen and (max-width:400px) {
  .testimonial-slider__author {
    margin: 0;
    padding: 0;
  }

  .testimonial-slider__avatar {
    position: static;
    margin-bottom: 2.4rem;
  }

}



/* ===================================================================
 * # CTA
 *
 * ------------------------------------------------------------------- */
.s-cta {
  padding-top: 12rem;
  background-color: #ffffff;
  font-size: 2.2rem;
  line-height: 1.818;
  text-align: center;
}

.s-cta h2 {
  margin-top: 0;
}

.cta-content {
  max-width: 800px;
}

.cta-content .btn {
  max-width: 600px;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * cta
 * ------------------------------------------------------------------- */
@media screen and (max-width:800px) {
  .s-cta {
    font-size: 2rem;
  }

  .cta-content {
    max-width: 600px;
  }

}

@media screen and (max-width:600px) {
  .s-cta {
    font-size: 1.8rem;
  }

}



/* ===================================================================
 * # footer
 *
 * ------------------------------------------------------------------- */
.s-footer {
  padding-top: 24rem;
  padding-bottom: 8rem;
  background-color: #0b0a15;
  position: relative;
}

.s-footer .right-vert-line {
  background-color: #f9861a;
}

.s-footer__bottom {
  font-family: "Gothic A1", sans-serif;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8rem;
}

.s-footer .footer-email-us .btn:hover,
.s-footer .footer-email-us .btn:focus {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.s-footer .footer-contacts {
  margin-top: 7.2rem;
  margin-left: 8.33333%;
}

/* ------------------------------------------------------------------- 
 * ## contact block
 * ------------------------------------------------------------------- */
.footer-contact-block {
  font-family: "Gothic A1", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.2;
}

.footer-contact-block a {
  color: #ffffff;
}

.footer-contact-block a:hover,
.footer-contact-block a:focus {
  color: #f9861a;
}

.footer-contact-block__content,
.footer-contact-block__list li {
  padding: .8rem 0;
}

.footer-contact-block__list {
  list-style: none;
  margin-top: .4rem;
  margin-left: 0;
}

.footer-contact-block__list li {
  padding-left: 0;
}

.footer-contact-block__header {
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ------------------------------------------------------------------- 
 * ## copyright
 * ------------------------------------------------------------------- */
.ss-copyright {
  z-index: 2;
  position: relative;
}

.ss-copyright a {
  color: #ffffff;
}

.ss-copyright a:hover,
.ss-copyright a:focus {
  color: #f9861a;
}

.ss-copyright span {
  font-size: 1.5rem;
  display: inline-block;
}

.ss-copyright span::after {
  content: "|";
  display: inline-block;
  padding: 0 .8rem 0 1rem;
  color: rgba(255, 255, 255, 0.1);
}

.ss-copyright span:last-child::after {
  display: none;
}

/* ------------------------------------------------------------------- 
 * ## go top
 * ------------------------------------------------------------------- */
.ss-go-top {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate3d(0, 200%, 0);
  transform: translate3d(0, 200%, 0);
  -webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: fixed;
  bottom: 8.4rem;
  right: 8rem;
}

.ss-go-top a {
  text-decoration: none;
  border: 0 none;
  display: block;
  height: 6.4rem;
  width: 6.4rem;
  border-radius: 50%;
  background-color: #000000;
  -webkit-transition: all .3s;
  transition: all .3s;
  position: relative;
}

.ss-go-top a:hover,
.ss-go-top a:focus {
  background-color: #f9861a;
}

.ss-go-top svg {
  height: 1.2rem;
  width: 1.2rem;
  position: absolute;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  left: 50%;
  top: 50%;
}

.ss-go-top svg path {
  fill: #ffffff;
}

.ss-go-top.link-is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * footer
 * ------------------------------------------------------------------- */
@media screen and (max-width:1200px) {
  .ss-go-top {
    right: 6rem;
  }

  .ss-go-top a {
    height: 6rem;
    width: 6rem;
  }

}

@media screen and (max-width:900px) {
  .s-footer .footer-contacts {
    margin-left: 0;
  }

  .s-footer__main .column {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }
	
/* ===================================================================
 * # recent works — marquee + modal
 * ------------------------------------------------------------------- */

.works-marquee {
  margin-top: 6rem;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.works-marquee__track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: works-scroll 45s linear infinite;
}

.works-marquee:hover .works-marquee__track,
.works-marquee:focus-within .works-marquee__track {
  animation-play-state: paused;
}

@keyframes works-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .works-marquee__track { animation: none; }
  .works-marquee { overflow-x: auto; }
}

/* --- cards ---------------------------------------------------------- */

.work-card {
  flex: 0 0 auto;
  width: 34rem;
  height: 40rem;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 2.4rem 2.4rem 0 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--clr-track, #e9eff1);
  position: relative;
  transition: transform .4s cubic-bezier(.215,.61,.355,1);
}

.work-card:hover,
.work-card:focus-visible { transform: translateY(-1.2rem); }

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4rem 2.4rem 2rem;
  text-align: left;
  color: #fff;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}

/* --- modal ---------------------------------------------------------- */

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}

.work-modal.is-open { opacity: 1; visibility: visible; }

.work-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 21, .72);
}

.work-modal__panel {
  position: relative;
  width: 100%;
  max-width: 96rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 1.6rem;
  transform: translateY(2rem);
  transition: transform .35s cubic-bezier(.215,.61,.355,1);
}

.work-modal.is-open .work-modal__panel { transform: translateY(0); }

.work-modal__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 2;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 3.2rem;
  color: #fff;
  background: rgba(0,0,0,.35);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.work-modal__close:hover { background: var(--clr-accent, #173DED); }

.work-modal__media {
  position: relative;
  background: #dfe9e8;
}

.work-modal__img {
  width: 100%;
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  display: block;
}

.work-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;
  margin: 0;
  font-size: 3.2rem;
  line-height: 1;
  color: #fff;
  background: rgba(0,0,0,.25);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.work-modal__nav:hover { background: var(--clr-accent, #173DED); }
.work-modal__nav--prev { left: 1.6rem; }
.work-modal__nav--next { right: 1.6rem; }

.work-modal__dots {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: .8rem;
}

.work-modal__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.work-modal__dots button.is-active { background: var(--clr-accent, #173DED); }

.work-modal__body { padding: 3.2rem 4rem 4rem; }

.work-modal__title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 1.6rem;
}

.work-modal__desc {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 2rem;
}

.work-modal__tools {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.6rem;
  color: var(--clr-accent, #173DED);
  margin: 0;
}

.work-modal__tools svg { fill: currentColor; flex-shrink: 0; }

body.modal-is-open { overflow: hidden; }

@media screen and (max-width: 600px) {
  .work-card { width: 26rem; height: 32rem; }
  .work-modal__body { padding: 2.4rem; }
  .work-modal__title { font-size: 2.4rem; }
  .work-modal__nav { width: 4rem; height: 4rem; font-size: 2.4rem; }
}

}

@media screen and (max-width:800px) {
  .s-footer {
    padding-top: 20rem;
  }

  .ss-copyright {
    padding-right: 10rem;
  }

  .ss-go-top {
    right: 3.6rem;
  }

  .ss-go-top a {
    height: 5.2rem;
    width: 5.2rem;
  }

}

@media screen and (max-width:600px) {
  .ss-copyright {
    padding-right: 8rem;
  }

  .ss-copyright span {
    display: block;
  }

  .ss-copyright span::after {
    display: none;
  }

  .ss-go-top {
    right: 2.4rem;
    bottom: 4rem;
  }

}

/* ===================================================================
 * About - orange portfolio restyle
 * ------------------------------------------------------------------- */
:root {
    --clr-orange: #173DED;
}

/* label : 01 --- About me */
.about-label {
    display: flex;
    align-items: center;
    margin-bottom: 3.2rem;
}
.about-label__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background-color: var(--clr-orange);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.about-label__line {
    width: 8rem;
    height: 2px;
    background-color: var(--clr-orange);
    margin: 0 1.6rem;
}
.about-label__pill {
    display: inline-block;
    padding: 0.6rem 2.4rem;
    border: 2px solid var(--clr-orange);
    border-radius: 999px;
    color: var(--clr-orange);
    background: #fff;
    font-weight: 600;
    font-size: 1.6rem;
    white-space: nowrap;
}

.about-heading {
    margin-top: 0;
}
.about-desc {
    color: #767676;
    font-size: 1.8rem;
    line-height: 1.7;
    max-width: 64rem;
}

/* column headers : EXPERIENCE / SOFTWARE SKILLS */
.about-colhead {
    color: var(--clr-orange);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    margin-bottom: 3.2rem;
}

/* orange timeline line + dot */
.timeline {
    position: relative;
    padding-left: 3.2rem;
    border-left: 3px solid var(--clr-orange);
}
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -0.85rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background-color: var(--clr-orange);
}

/* experience entries */
.timeline .position {
    margin-bottom: 4.8rem;
}
.timeline .position__pos {
    color: var(--clr-orange);
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
}
.timeline .position__co {
    color: var(--clr-orange);
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}
.timeline .position__timeframe {
    color: var(--clr-orange);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.6rem;
}
.timeline .position p {
    color: var(--clr-orange);
    margin-bottom: 1.6rem;
}

/* skill bars */
.skill-bar {
    margin-bottom: 2.8rem;
}
.skill-bar__name {
    display: block;
    color: #333333;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.skill-bar__track {
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #e9eff1;
}
.skill-bar__fill {
    height: 100%;
    border-radius: 4px;
    background-color: var(--clr-orange);
}

/* breathing room above the About section */
.s-about {
    padding-top: 12rem;
}

/* space between intro and the experience/skills row */
.s-about__section {
    margin-bottom: 8rem;
}
.about-intro-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.about-heading {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}
.about-desc {
    font-size: 1.4rem;
    line-height: 1.55;
    margin-bottom: 0;
}
/* ===================================================================
 * About intro - final overrides
 * ------------------------------------------------------------------- */

/* kill the old top padding that pushed the label down */
.about-intro-label {
    position: relative;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* vertically centre both columns against each other */
.about-intro-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
}

/* heading : bigger + bolder */
.about-heading {
    font-size: 3.4rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 1.2rem !important;
}

/* body text */
.about-desc {
    font-size: 1.4rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0 !important;
    color: #767676;
}

/* fine-tune : nudge text block up or down to sit dead centre on the 01 */
.about-intro-row .column.large-7 {
    position: relative;
    top: 2rem;
}
.subhead {
    color: #173DED;
}
.about-heading--accent {
    color: #173DED;
}
.s-services {
    background-color: #ffffff;
}
.s-services .subhead {
    color: #173DED;
}
.s-services h1,
.s-services h5,
.s-services .lead,
.s-services p {
    color: #333333;
}
.s-services .vert-line {
    background-color: #e9eff1;
}

/* --- centred header nav --------------------------------------------- */

@media screen and (min-width: 901px) {
  .header-nav-wrap {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .header-nav {
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1;
  }
}

@media screen and (max-width: 900px) {
  .header-nav-wrap {
    position: static;
    transform: none;
    width: 100%;
    padding: 0;
  }
  .header-nav { text-align: center; }
  .header-content .btn { margin-left: auto; margin-right: auto; }
}
/* --- marquee -------------------------------------------------------- */

.works-marquee {
  margin-top: 6rem;
  overflow: hidden;
  position: relative;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.works-marquee.is-dragging { cursor: grabbing; }

.works-marquee__track {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 3.2rem;
  width: max-content;
  margin: 0;
  padding: 0;
  will-change: transform;
}

/* --- cards ---------------------------------------------------------- */
/* these cancel the template's global button styles: grey background,
   uppercase, letter-spacing, fixed 6rem height, nowrap */

.works-marquee .work-card,
.works-marquee button.work-card {
  flex: 0 0 auto;
  display: block;
  width: 34rem;
  height: auto !important;
  line-height: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: inherit;
  text-align: left;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: normal !important;
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: none;
}

.works-marquee .work-card:hover,
.works-marquee .work-card:focus {
  background: transparent !important;
  border: 0 !important;
  color: inherit;
}

.works-marquee .work-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: .8rem;
  overflow: hidden;
  background: #e4e6e8;
}

.works-marquee .work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  transition: transform .5s cubic-bezier(.215,.61,.355,1);
}

.works-marquee .work-card:hover .work-card__thumb img { transform: scale(1.04); }

.works-marquee .work-card__title {
  display: block;
  font-family: "Gothic A1", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #26333f;
  margin: 2.4rem 0 1.6rem;
  text-transform: none;
  letter-spacing: normal;
}

.works-marquee .work-card__cat {
  display: inline-block;
  padding: .7rem 1.8rem;
  border: 1px solid #cfd6db;
  border-radius: 999px;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  color: #55636e;
  text-transform: none;
  letter-spacing: normal;
  transition: all .3s ease;
}

.works-marquee .work-card:hover .work-card__cat {
  border-color: var(--clr-accent, #173DED);
  color: var(--clr-accent, #173DED);
}

@media screen and (max-width: 600px) {
  .works-marquee .work-card { width: 26rem; }
  .works-marquee .work-card__title { font-size: 2.2rem; }
}
/* --- tighten the about → works gap ---------------------------------- */

.s-about { padding-bottom: 8rem; }

/* the last block doesn't need a bottom margin — the section
   padding below it already provides the separation */
.s-about__section:last-child { margin-bottom: 0; }

.s-services { padding-top: 10rem; }

/* the section-intro's 12rem bottom margin plus the marquee's 6rem top
   margin left a second large gap between the heading and the cards */
.s-services .section-intro { margin-bottom: 6rem; }

.works-marquee { margin-top: 2rem; }

@media screen and (max-width: 800px) {
  .s-about { padding-bottom: 6rem; }
  .s-services { padding-top: 8rem; }
  .s-services .section-intro { margin-bottom: 4rem; }
}
body,
p,
.about-desc,
.timeline .position p {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}
/* ===================================================================
 * # contact footer
 * ------------------------------------------------------------------- */

:root {
  --contact-bg:      #1c1b1a;   /* PLACEHOLDER : footer background   */
  --contact-numeral: #4c7a63;   /* PLACEHOLDER : big 03 green        */
  --contact-accent:  #e8552a;   /* PLACEHOLDER : orange italic word  */
  --contact-star:    #7fc9a0;   /* PLACEHOLDER : asterisk green      */
  --contact-muted:   #8e8d8b;   /* PLACEHOLDER : link grey           */
}

.s-footer {
  background-color: var(--contact-bg);
  padding-top: 14rem;
  padding-bottom: 6rem;
}

/* --- heading -------------------------------------------------------- */

.contact-head {
  position: relative;
  margin-bottom: 10rem;
  padding-top: 4rem;
}

.contact-head::before {
  content: attr(data-num);
  font-family: "Martel", Georgia, serif;
  font-weight: 700;
  font-size: 22rem;
  line-height: .8;
  color: var(--contact-numeral);
  position: absolute;
  top: 0;
  left: -1rem;
  z-index: 0;
}

.contact-title {
  position: relative;
  z-index: 1;
  font-family: "Martel", Georgia, serif;
  font-weight: 400;
  font-size: 7rem;
  line-height: 1;
  color: #ffffff;
  margin: 0;
  padding-top: 6rem;
}

.contact-title em {
  font-style: italic;
  color: var(--contact-accent);
}

.contact-title__dot { color: #ffffff; }

/* --- lede + link columns -------------------------------------------- */

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 8rem;
}

.contact-lede {
  flex: 1 1 44rem;
  max-width: 56rem;
}

.contact-lede p {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.9;
  color: #ffffff;
  margin: 0;
}

.contact-star {
  color: var(--contact-star);
  margin-left: .6rem;
}

.contact-col { flex: 0 1 26rem; }

.contact-col__head {
  font-family: "Martel", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.3;
  color: #ffffff;
  text-transform: none;
  letter-spacing: normal;
  margin: 0 0 1.6rem;
}

.contact-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-col__list li {
  padding: 0;
  margin-bottom: .6rem;
}

.contact-col__list a {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1.8;
  color: var(--contact-muted);
}

.contact-col__list a:hover,
.contact-col__list a:focus { color: #ffffff; }

/* --- pill buttons ---------------------------------------------------- */

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem;
  margin-bottom: 6rem;
}

.contact-actions .contact-btn {
  flex: 1 1 36rem;
  display: block;
  height: 7.6rem;
  line-height: 7.2rem;
  padding: 0 3.2rem;
  margin: 0;
  border-radius: 999px;
  font-family: "Gothic A1", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .1rem;
  text-align: center;
  text-transform: none;
  transition: all .3s ease;
}

.contact-btn--solid {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: var(--contact-accent);
}

.contact-btn--solid:hover,
.contact-btn--solid:focus {
  background-color: var(--contact-accent);
  border-color: var(--contact-accent);
  color: #ffffff;
}

.contact-btn--ghost {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.contact-btn--ghost:hover,
.contact-btn--ghost:focus {
  background-color: #ffffff;
  color: var(--contact-bg);
}

/* --- responsive ------------------------------------------------------ */

@media screen and (max-width: 900px) {
  .contact-head::before { font-size: 16rem; }
  .contact-title { font-size: 5rem; padding-top: 4rem; }
  .contact-grid { gap: 3.2rem; }
}

@media screen and (max-width: 600px) {
  .s-footer { padding-top: 10rem; }
  .contact-head::before { font-size: 12rem; }
  .contact-title { font-size: 3.8rem; }
  .contact-actions .contact-btn { flex: 1 1 100%; }
}
/* --- works section : spacing + card sizing --------------------------- */

/* the big 02 is 30rem tall and overflows the short label column,
   so it bleeds down into the marquee */
.s-services .section-intro::before { font-size: 20rem; }

.s-services .about-intro-row { margin-bottom: 10rem; }

.s-services .about-desc { max-width: 52rem; }

/* cards were rendering oversized — cap the thumb height so the
   4/3 ratio can't stretch on wide screens */
.works-marquee .work-card { width: 30rem; }

.works-marquee .work-card__thumb {
  aspect-ratio: 4 / 3;
  max-height: 24rem;
}

.works-marquee .work-card__title {
  font-size: 2.4rem;
  margin: 1.8rem 0 1.2rem;
}

/* hide the alt text that shows while an image is missing or loading —
   the grey placeholder box reads better than broken-image text */
.works-marquee .work-card__thumb img {
  color: transparent;
  font-size: 0;
}
/* --- tighten the experience entries ---------------------------------- */

.timeline .position {
  padding-top: 2.4rem;
  padding-bottom: 0;
  margin-bottom: 3.2rem;
}

.timeline .position:last-child {
  margin-bottom: 0;
}

.timeline .position__pos {
  font-size: 2.4rem;
  margin-bottom: .4rem;
}

.timeline .position__co {
  margin-bottom: .2rem;
}

.timeline .position__timeframe {
  margin-bottom: .8rem;
}

.timeline .position p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 0;
}
/* --- contact buttons : smaller, left-aligned ------------------------- */

.contact-actions {
  justify-content: flex-start;
  gap: 2rem;
  max-width: 56rem;
}

.contact-actions .contact-btn {
  flex: 0 1 auto;
  width: auto;
  min-width: 22rem;
  height: 5.6rem;
  line-height: 5.2rem;
  padding: 0 4rem;
  font-size: 1.3rem;
  letter-spacing: .05rem;
}

@media screen and (max-width: 600px) {
  .contact-actions .contact-btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}
/* --- footer header : identical treatment to section 02 --------------- */

.s-footer .about-intro-row {
  margin-bottom: 10rem;
  align-items: center;
}

.s-footer .section-intro { margin-bottom: 0; }

/* same size and indent as 02 */
.s-footer .section-intro::before {
  font-size: 20rem;
  left: 4.4rem;
  top: -.25em;
  color: rgba(255, 255, 255, .06);
}

.s-footer .subhead { color: var(--clr-accent) !important; }

.s-footer .about-heading {
  color: #ffffff;
  text-align: left;
}

.s-footer .about-desc {
  color: rgba(255, 255, 255, .55);
  text-align: left;
  max-width: 52rem;
}

/* the h-dark-bg wrapper centres inherited text — force left like 02 */
.s-footer .about-intro-row .column { text-align: left; }

/* stop the link columns colliding with the header above them */
.s-footer .contact-grid { margin-top: 4rem; }

@media screen and (max-width: 800px) {
  .s-footer .about-intro-row { margin-bottom: 6rem; }
  .s-footer .section-intro::before { font-size: 14rem; }
}
/* --- footer : align link columns with the buttons -------------------- */

.s-footer .contact-grid,
.s-footer .contact-actions {
  max-width: 46rem;      /* 22rem + 22rem + 2rem gap = the button row */
  margin-left: 0;
  padding-left: 0;
  gap: 2rem;
}

/* each column now sits directly above its matching button */
.s-footer .contact-col {
  flex: 1 1 22rem;
  min-width: 22rem;
}

.s-footer .contact-lede {
  flex: 1 1 100%;
  max-width: 46rem;
  margin-bottom: 2.4rem;
}

@media screen and (max-width: 600px) {
  .s-footer .contact-grid,
  .s-footer .contact-actions { max-width: 100%; }
  .s-footer .contact-col { flex: 1 1 100%; min-width: 0; }
}
.s-footer .about-intro-row { margin-bottom: 14rem; }

.s-footer .contact-grid { margin-top: 6rem; }

@media screen and (max-width: 800px) {
  .s-footer .about-intro-row { margin-bottom: 8rem; }
  .s-footer .contact-grid { margin-top: 4rem; }
}
/* --- override: right-aligned header nav ------------------------------ */

@media screen and (min-width: 901px) {
  .s-header .header-content .header-nav-wrap {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: auto;
    right: 8rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .s-header .header-content .header-nav {
    margin: 0;
    padding: 0;
    text-align: right;
    line-height: 1;
  }

  .s-header .header-content .header-nav li:last-child {
    margin-right: 0;
  }
}

@media screen and (min-width: 901px) and (max-width: 1700px) {
  .s-header .header-content .header-nav-wrap { right: 6rem; }
}

@media screen and (max-width: 900px) {
  .s-header .header-content .header-nav-wrap {
    position: static;
    transform: none;
    width: 100%;
    padding: 0;
  }
  .s-header .header-content .header-nav { text-align: center; }
}
/* --- switch the accent from orange to blue --------------------------- */

:root {
  --contact-accent: #173DED;
}

/* --- Get Started : full button styling ------------------------------- */

.s-hero .hero-content .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  height: 5.6rem;
  min-width: 22rem;
  padding: 0 4rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--contact-accent);
  font-family: "Gothic A1", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .05rem;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition: all .3s ease;
}

.s-hero .hero-content .hero-cta:hover,
.s-hero .hero-content .hero-cta:focus {
  background-color: var(--contact-accent);
  border-color: var(--contact-accent);
  color: #ffffff;
}

.s-hero .hero-content .hero-cta__arrow {
  font-size: 1.6rem;
  line-height: 1;
  transition: transform .3s ease;
}

.s-hero .hero-content .hero-cta:hover .hero-cta__arrow {
  transform: translateX(4px);
}

/* Mail Me */
.s-footer .contact-btn--solid {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--contact-accent);
}

.s-footer .contact-btn--solid:hover,
.s-footer .contact-btn--solid:focus {
  background-color: var(--contact-accent);
  border-color: var(--contact-accent);
  color: #ffffff;
}
/* --- override: footer spacing ---------------------------------------- */

footer.s-footer .about-intro-row { margin-bottom: 6rem; }

footer.s-footer .contact-grid { margin-top: 10rem; }

footer.s-footer .contact-actions { margin-top: 6rem; margin-bottom: 4rem; }

@media screen and (max-width: 800px) {
  footer.s-footer .contact-grid { margin-top: 6rem; }
  footer.s-footer .contact-actions { margin-top: 4rem; }
}
footer.s-footer .contact-col__head {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .02em;
  color: #ffffff;
  margin: 0 0 1.6rem;
}
/* --- override: hero heading ------------------------------------------ */

.s-hero .hero-content h1.hero-title {
  font-family: "Gothic A1", sans-serif !important;
  font-size: 5.6rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #2b2b2b !important;
  margin: 0 0 1.6rem !important;
  padding: 0 !important;
}

.s-hero .hero-content h1.hero-title::before {
  display: none !important;
}

.s-hero .hero-content .hero-title__name {
  display: block;
  font-style: italic;
  font-weight: 800;
  color: var(--hero-accent, #173DED);
}

.s-hero .hero-content .hero-lede {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #6f6f6f;
  margin: 0 auto 3.2rem auto;
  max-width: 60rem;
}

.s-hero .hero-content .hero-lede strong {
  font-family: inherit !important;
  font-weight: 700;
  color: var(--hero-accent, #173DED);
}
.s-hero .hero-content h1.hero-title {
  color: #ffffff !important;
}

.s-hero .hero-content .hero-lede {
  color: rgba(255, 255, 255, .65);
}

/* ==========================================================================
   Works carousel — append to css/main.css
   ========================================================================== */

.works-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 6rem;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.works-marquee.is-dragging { cursor: grabbing; }

/* soft fade on both edges (remove if you want hard cut-off) */
.works-marquee::before,
.works-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 2;
  pointer-events: none;
}
.works-marquee::before { left: 0;  background: linear-gradient(to right, #fff, rgba(255,255,255,0)); }
.works-marquee::after  { right: 0; background: linear-gradient(to left,  #fff, rgba(255,255,255,0)); }

.works-marquee__track {
  display: flex;
  gap: 3.2rem;
  will-change: transform;
}

/* ---- card ---------------------------------------------------------- */
.work-card {
  flex: 0 0 auto;
  width: 38rem;
}

.work-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #f2f2f4;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.work-card:hover .work-card__media img { transform: scale(1.05); }

.work-card__title {
  margin: 2rem 0 1.2rem;
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 700;
  color: #1c1c1c;
}

.work-card__tag {
  display: inline-block;
  padding: .7rem 1.8rem;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 5rem;
  font-size: 1.4rem;
  line-height: 1;
  color: #4b4b4b;
  white-space: nowrap;
}

/* ---- modal --------------------------------------------------------- */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.work-modal.is-open { display: flex; }

.work-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}

.work-modal__panel {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 900px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  text-align: left;
  padding: 0; 
}

/* Updated: Standalone cross with no white bubble */
.work-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent; 
  border: none;
  font-size: 38px;
  line-height: 1;
  color: #000;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: color 0.2s ease;
}

.work-modal__close:hover,
.work-modal__close:focus,
.work-modal__close:active {
  color: #555555;
  background-color: transparent !important;
  border: none;
  outline: none;
  box-shadow: none;
}

/* Image Carousel Area */
.work-modal__hero {
  position: relative;
  width: 100%;
  height: 450px;
  flex-shrink: 0;
  background-color: #f5f5f5;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0; 
  margin: 0;
}

/* 3 Black Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25); /* Faded gray for inactive dots */
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel-dots .dot.active {
  background: #000000; /* Solid black for the active dot */
}

/* Text Container */
.work-modal__info {
  padding: 40px 48px;
  overflow-y: auto;
}

.work-modal__info h2 {
  margin: 0 0 16px 0;
  font-size: 3.2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.work-modal__desc {
  margin: 0 0 24px 0;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555555;
}

/* ---- responsive tweaks for smaller screens ---- */
@media screen and (max-width: 900px) {
  .works-marquee__track { gap: 2.4rem; }
  .work-card { width: 28rem; }
  .work-card__title { font-size: 2.4rem; }
  .works-marquee::before, .works-marquee::after { width: 4rem; }
}

@media screen and (max-width: 600px) {
  .work-modal__hero { height: 250px; }
  .work-modal__info { padding: 24px; }
  .work-modal__info h2 { font-size: 2.4rem; }
}

/* ---- responsive tweaks for smaller screens ---- */
@media screen and (max-width: 900px) {
  .works-marquee__track { gap: 2.4rem; }
  .work-card { width: 28rem; }
  .work-card__title { font-size: 2.4rem; }
  .works-marquee::before, .works-marquee::after { width: 4rem; }
}

@media screen and (max-width: 600px) {
  .work-modal__hero { height: 250px; }
  .work-modal__info { padding: 24px; }
  .work-modal__info h2 { font-size: 2.4rem; }
}

.s-hero {
    position: relative; 
}

.hero-badge-img {
    position: absolute;
    top: 0;      /* Attaches directly to the top ceiling of the hero section */
    right: 5%;   /* Pushes it slightly away from the right edge. Adjust if needed. */
    width: 100%;
    max-width: 480px; 
    z-index: 99; /* Higher z-index to ensure it sits over everything */
    pointer-events: none; 
}

/* Mobile responsive adjustments */
@media screen and (max-width: 900px) {
    .hero-badge-img {
        position: relative;
        top: 0;
        right: auto;
        margin-top: 3rem;
        max-width: 300px; 
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    /* Hide the empty column on mobile to save space */
    .s-hero .hero-figure {
        display: none;
    }
}
