/* ==========================================================================
   WAV Architects - style.css
   --------------------------------------------------------------------------
   HOW TO EDIT: sections are marked with big comment banners like this one.
   Use Ctrl+F and search for a section name (e.g. "HEADER" or "FOOTER").
   Colors live in the VARIABLES block right below - change them there once
   and the whole site updates. Responsive (mobile) rules are in the
   "RESPONSIVE" sections further down.
   ========================================================================== */

/* ==========================================================================
   VARIABLES (colors) - change the brand colors here
   ========================================================================== */
:root {
  --dark: #1a1a1a;
  --panel: #2a2a2a;
  --body: #606060;
  --muted: #9f9e9e;
  --light: #f4f4f4;
  --line: rgba(0, 0, 0, 0.08);
  --line-light: rgba(255, 255, 255, 0.3);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   BASE / RESET - html, body, images, headings, links
   ========================================================================== */
html {
  scroll-behavior: smooth;
}
body {
  font:
    400 16px/1.85 Raleway,
    sans-serif;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
.menu,
.octf-btn {
  font-family: "Titillium Web", sans-serif;
  color: var(--dark);
}
h2 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}
h5 {
  font-size: 24px;
  font-weight: 400;
}
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--dark);
}

/* ==========================================================================
   LAYOUT - container and section spacing
   ========================================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
section {
  padding: 110px 0;
  position: relative;
}

/* ==========================================================================
   BACKGROUND VERTICAL LINES (decorative)
   ========================================================================== */
.vlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.vlines i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.vlines i:nth-child(1) {
  left: 5%;
}
.vlines i:nth-child(2) {
  left: 50%;
}
.vlines i:nth-child(3) {
  left: 95%;
}

/* ==========================================================================
   SECTION HEADINGS - small label + title with dotted line
   ========================================================================== */
.sub {
  font:
    600 14px "Josefin Sans",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.sub:before {
  content: "[ ";
}
.sub:after {
  content: " ]";
}
.heading h2:after {
  content: "";
  display: block;
  width: 60px;
  border-top: 2px dotted var(--dark);
  margin-top: 20px;
}
.heading.center {
  text-align: center;
}
.heading.center h2:after {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS (.octf-btn)
   ========================================================================== */
.octf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 38px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 0;
  cursor: pointer;
  margin: 0 10px 10px 0;
}
.octf-btn:before {
  content: "";
  position: absolute;
  left: 10px;
  right: -10px;
  bottom: -10px;
  height: 1px;
  background: var(--dark);
  transition: 0.3s;
}
.octf-btn:after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: -10px;
  right: -10px;
  width: 1px;
  background: var(--dark);
  transition: 0.3s;
}
.octf-btn:hover:before {
  left: 0;
  right: 0;
  bottom: 0;
}
.octf-btn:hover:after {
  top: 0;
  bottom: 0;
  right: 0;
}
.octf-btn.white {
  background: #fff;
  color: var(--dark);
}
.octf-btn.white:before,
.octf-btn.white:after {
  background: #fff;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(#3a3a3a, var(--panel) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.6s;
}
#preloader .bar {
  width: 60%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
#preloader .bar b {
  display: block;
  height: 1px;
  width: 0;
  background: #fff;
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
}

/* ==========================================================================
   HEADER (sticky bar, logo, menu, dropdowns, icons)
   ========================================================================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;
  z-index: 100;
  border-bottom: 1px solid var(--line-light);
  color: #fff;
}
header.stick {
  position: fixed;
  background: var(--dark);
  animation: down 0.4s;
}
@keyframes down {
  from {
    transform: translateY(-100%);
  }
}
header .container {
  max-width: 1500px;
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}
.logo {
  border: 1px solid #fff;
  padding: 6px 14px;
  text-align: center;
  color: #fff;
  line-height: 1.1;
}
.logo b {
  display: block;
  font: 600 16px "Titillium Web";
  letter-spacing: 3px;
}
.logo small {
  font-size: 8px;
  letter-spacing: 1px;
}
.menu {
  display: flex;
  gap: 34px;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
}
.menu > li {
  position: relative;
  line-height: 85px;
}
.menu > li.active > a:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  border: 6px solid transparent;
  border-bottom-color: #fff;
  transform: translateX(-50%);
}
.menu ul {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 230px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.3s;
  padding: 12px 0;
}
.menu li:hover > ul,
.menu li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.menu ul a {
  display: block;
  padding: 6px 24px;
  line-height: 1.8;
  color: var(--dark);
  font-size: 13px;
}
.menu ul a:hover {
  background: var(--light);
}
.hright {
  display: flex;
  align-items: center;
  height: 100%;
}
.hright button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  height: 100%;
  padding: 0 28px;
}
.hright .burger {
  border-left: 1px solid var(--line-light);
  width: 85px;
  padding: 0;
}
.mtoggle {
  display: none;
}

/* ==========================================================================
   HERO SLIDER (home page)
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 620px;
  padding: 0;
  color: #fff;
  background: #111;
}
.hero .swiper,
.hero .swiper-slide {
  height: 100%;
}
.slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s linear;
}
.swiper-slide-active .bg {
  transform: scale(1.12);
}
.slide:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.ghost {
  position: absolute;
  top: -70px;
  left: 0;
  font: 300 200px/1 "Titillium Web";
  letter-spacing: 30px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}
.slide h1 {
  font-size: 80px;
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 24px;
  position: relative;
}
.slide p {
  max-width: 560px;
  margin-bottom: 36px;
  color: #ddd;
  position: relative;
}
.slide .ghost,
.slide h1,
.slide p,
.slide .octf-btn {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}
.swiper-slide-active .ghost,
.swiper-slide-active h1,
.swiper-slide-active p,
.swiper-slide-active .octf-btn {
  opacity: 1;
  transform: none;
}
.swiper-slide-active h1 {
  transition-delay: 0.3s;
}
.swiper-slide-active p {
  transition-delay: 0.5s;
}
.swiper-slide-active .octf-btn {
  transition-delay: 0.7s;
}
.social-v {
  position: absolute;
  left: 30px;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  display: flex;
  gap: 30px;
  font-size: 12px;
  letter-spacing: 2px;
  margin-top: 120px;
}
.hnav {
  position: absolute;
  right: 5%;
  bottom: 40px;
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hnav button {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.hnav button:hover {
  background: #fff;
  color: var(--dark);
}
.hline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 90px;
  height: 1px;
  background: var(--line-light);
  z-index: 4;
}

/* ==========================================================================
   ABOUT SECTION (home page circle images)
   ========================================================================== */
.about .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.circle {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
}
.circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.sw {
  position: absolute;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #ddd, #aaa);
}
.sw.a {
  top: 0;
  right: -10px;
}
.sw.b {
  bottom: 20px;
  left: -30px;
  width: 60px;
  background: #666;
}

/* ==========================================================================
   CLIENT LOGOS
   ========================================================================== */
.logos {
  background: var(--light);
  padding: 50px 0;
}
.lbox {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 16px "Titillium Web";
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  padding: 0 10px;
}

/* ==========================================================================
   CATEGORY TILES
   ========================================================================== */
.tiles {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tile {
  position: relative;
  height: 290px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.6s;
}
.tile:hover img {
  transform: scale(1.1);
}
.tile h3 {
  position: relative;
  color: #fff;
  font: 400 44px/1.1 "Titillium Web";
}
.tile:after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

/* ==========================================================================
   3-COLUMN GRID
   ========================================================================== */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.card {
  background: var(--light)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40H40M40 0V40' stroke='%23000' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E");
  padding: 40px;
  text-align: center;
}
.card svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}
.card h5 {
  margin-bottom: 10px;
}
.more {
  font: 600 13px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(#ddd, #ddd) 0 100%/20px 20px no-repeat;
}

/* ==========================================================================
   COUNTERS
   ========================================================================== */
.counters {
  padding: 70px 0;
}
.counters .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.num {
  font: 300 60px/1.2 "Titillium Web";
  color: var(--muted);
}
.num:before {
  content: "[";
}
.num:after {
  content: "]";
}
.counters h6 {
  font: 600 18px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
}

/* ==========================================================================
   CALL TO ACTION (CTA)
   ========================================================================== */
.cta {
  background: var(--dark)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60H60M60 0V60' stroke='%23fff' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E");
  padding: 80px 0;
}
.cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta h2 {
  color: #fff;
  max-width: 600px;
}
.cta p {
  color: #bbb;
  margin-top: 14px;
  max-width: 600px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--dark);
  color: #bbb;
  padding-top: 80px;
  position: relative;
  z-index: 1;
}
footer .cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}
footer h6 {
  color: #fff;
  font: 600 18px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
footer li {
  margin-bottom: 8px;
}
footer a:hover {
  color: #fff;
}
.soc {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.soc a {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
}
.nl {
  display: flex;
  margin-top: 14px;
}
.nl input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  color: #fff;
  padding: 8px 0;
}
.nl button {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 14px;
}
.copy .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   OVERLAY, SIDE PANEL AND SEARCH BOX
   ========================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 998;
}
.overlay.on {
  opacity: 1;
  visibility: visible;
}
#side {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 385px;
  max-width: 90%;
  background: var(--panel);
  color: #bbb;
  z-index: 999;
  padding: 40px 35px;
  transform: translateX(100%);
  transition: 0.4s;
  overflow: auto;
}
#side.on {
  transform: none;
}
#side h6 {
  color: #fff;
  font: 600 18px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 30px 0 14px;
}
#side .gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
#side .gal img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
.xbtn {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
#search {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
#search.on {
  opacity: 1;
  visibility: visible;
}
#search input {
  width: 70%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  color: #fff;
  font: 300 48px "Titillium Web";
  padding: 10px 0;
}
#top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background: rgba(159, 158, 158, 0.8);
  color: #fff;
  border: 0;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
#top.on {
  opacity: 1;
  visibility: visible;
}
main,

/* ==========================================================================
   STACKING ORDER (keeps content above the background lines)
   ========================================================================== */
footer,
section {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   RESPONSIVE: screens up to 1200px wide (tablet / mobile rules)
   ========================================================================== */
@media (max-width: 1200px) {
  .slide h1 {
    font-size: 60px;
  }
  .ghost {
    font-size: 140px;
  }
  .menu {
    gap: 22px;
  }
}
/* Responsive rules: (max-width: 992px) */
@media (max-width: 992px) {
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: var(--panel);
    flex-direction: column;
    gap: 0;
    padding: 70px 25px;
    transform: translateX(-100%);
    transition: 0.4s;
    z-index: 999;
    overflow: auto;
  }
  .menu.on {
    transform: none;
  }
  .menu > li {
    line-height: 2.4;
  }
  .menu ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    padding: 0 0 0 14px;
  }
  .menu li.open > ul {
    display: block;
  }
  .menu ul a {
    color: #ccc;
  }
  .mtoggle {
    display: block;
  }
  .about .row,
  .grid3,
  .cta .container {
    grid-template-columns: 1fr;
    display: grid;
  }
  .tiles,
  footer .cols,
  .counters .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .social-v {
    display: none;
  }
  h2 {
    font-size: 38px;
  }
}
/* Responsive rules: (max-width: 768px) */
@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  .slide h1 {
    font-size: 44px;
  }
  .ghost {
    font-size: 80px;
    top: -40px;
  }
  #search input {
    font-size: 28px;
  }
  .tile h3 {
    font-size: 30px;
  }
}
/* Responsive rules: (max-width: 576px) */
@media (max-width: 576px) {
  .tiles,
  footer .cols,
  .counters .container {
    grid-template-columns: 1fr;
  }
  .hright button:not(.burger) {
    padding: 0 14px;
  }
}

/* ==========================================================================
   ACCESSIBILITY: reduced-motion preference
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   PAGE BANNER + BREADCRUMB (inner pages)
   ========================================================================== */
.banner {
  height: 460px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.banner > div {
  position: relative;
  padding-top: 85px;
}
.banner h1 {
  font: 300 64px/1.2 "Titillium Web";
  color: #fff;
}
.crumb {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.crumb a:after {
  content: "••";
  margin: 0 10px;
}

/* ==========================================================================
   BLUEPRINT BACKGROUND / PROGRESS BARS / SKILLS
   ========================================================================== */
.bp {
  background: var(--light)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40H40M40 0V40' stroke='%23000' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E");
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pbar {
  margin-top: 26px;
}
.pbar div {
  display: flex;
  justify-content: space-between;
  font: 600 14px "Titillium Web";
  text-transform: uppercase;
  color: var(--dark);
}
.pbar i {
  display: block;
  height: 2px;
  background: var(--line);
  margin-top: 6px;
}
.pbar i b {
  display: block;
  height: 2px;
  width: 0;
  background: #000;
  transition: width 1.5s;
}
.dot {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 1px solid #000;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
}
.dot:after {
  content: "";
  position: absolute;
  inset: 8px;
  background: #000;
  border-radius: 50%;
}
.flab {
  position: absolute;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 16px;
  font: 600 13px "Titillium Web";
  text-transform: uppercase;
  color: var(--dark);
}

/* ==========================================================================
   CARDS: portfolio (.pcard), testimonial (.tcard), blog (.bcard)
   ========================================================================== */
.pcard {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcard div {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  opacity: 0;
  transition: 0.4s;
}
.pcard:hover div {
  opacity: 1;
}
.pcard h5 {
  color: #fff;
  transform: translateY(20px);
  transition: 0.4s;
}
.pcard:hover h5 {
  transform: none;
}
.tcard {
  background: #fff;
  border-radius: 0 0 60px 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 40px 20px 50px;
}
.tcard img {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
}
.tcard:after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #000;
  margin: 0 auto 14px;
  order: -1;
}
.tcard b {
  display: block;
  font: 600 18px Raleway;
  color: var(--dark);
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.bcard {
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
}
.bcard img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.bcard div {
  padding: 24px;
}
.bcard small {
  font: 600 12px "Josefin Sans";
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.bcard h4 {
  font: 400 24px/1.3 "Titillium Web";
  margin-top: 6px;
  color: var(--dark);
}

/* ==========================================================================
   BETWEEN-SECTIONS / TRIPLE IMAGE BLOCK (.tri)
   ========================================================================== */
.between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.collage {
  position: relative;
  padding-bottom: 80px;
}
.collage img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  border: 10px solid #fff;
}
.tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.tri a,
.tri div {
  position: relative;
  display: block;
  color: #fff;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
}
.tri img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.tri * {
  position: relative;
}
.tri h5,
.tri p {
  color: #fff;
}
.tri img {
  position: absolute;
}
.video {
  position: relative;
  padding: 0;
  height: 520px;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 2;
}

/* ==========================================================================
   QUOTE / ADVANTAGES (.quote, .adv)
   ========================================================================== */
.quote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 50px;
}
.quote i {
  font-size: 40px;
  color: var(--muted);
}
.quote p {
  font-size: 20px;
  margin: 16px 0;
}
.quote b {
  display: block;
  color: var(--dark);
  font: 600 18px Raleway;
}
.swiper-pagination-bullet-active {
  background: #000 !important;
}
.adv {
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}
.adv .circle {
  width: 420px;
}
.adv article {
  margin-bottom: 40px;
}
.adv .l {
  text-align: right;
}
.adv span {
  font: 300 24px "Titillium Web";
  color: var(--muted);
}
.adv h6 {
  font: 600 18px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin: 4px 0 8px;
}

/* ==========================================================================
   STEPS + TABS (our-process page)
   ========================================================================== */
.steps {
  background: var(--dark)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60H60M60 0V60' stroke='%23fff' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E");
  color: #bbb;
}
.steps h2 {
  color: #fff;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  text-align: center;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 30px;
  cursor: pointer;
  color: #fff;
  position: relative;
}
.tabs button.on {
  border-color: #fff;
}
.tabs em {
  display: block;
  font: 600 110px/1 "Titillium Web";
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
}
.tabs .ic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: -60px auto 20px;
  position: relative;
}
.tabs .on .ic {
  background: #fff;
  color: #000;
}
.tabs span {
  font: 400 22px "Titillium Web";
}
.pane {
  display: none;
  text-align: center;
  max-width: 760px;
  margin: 50px auto 0;
}
.pane.on {
  display: block;
  animation: fi 0.6s;
}

/* ==========================================================================
   ANIMATION: fade-in for tab panes
   ========================================================================== */
@keyframes fi {
  from {
    opacity: 0;
  }
}
/* Responsive rules: (max-width: 992px) */
@media (max-width: 992px) {
  .two,
  .tri,
  .blog,
  .adv {
    grid-template-columns: 1fr;
  }
  .tgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .adv .circle {
    width: 100%;
  }
  .adv .l {
    text-align: left;
  }
  .banner h1 {
    font-size: 44px;
  }
  .tabs em {
    font-size: 60px;
  }
  .tabs .ic {
    width: 80px;
    height: 80px;
    font-size: 26px;
    margin-top: -35px;
  }
  .tabs span {
    font-size: 14px;
  }
}
/* Responsive rules: (max-width: 576px) */
@media (max-width: 576px) {
  .tgrid {
    grid-template-columns: 1fr;
  }
}
/* ---- Phase 3 ---- */
.ben {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin-top: 50px;
}
.ben h6,

/* ==========================================================================
   PRICING / STRIP / FOOTER-STYLE TABS / TIMELINE / ICON BOXES
   ========================================================================== */
.pri h6 {
  font: 600 18px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
}
.badge {
  position: absolute;
  left: -20px;
  bottom: 30px;
  background: var(--dark);
  color: #fff;
  padding: 20px 28px;
  font: 400 20px/1.3 "Titillium Web";
}
.badge small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.pri {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.pri span {
  font: 300 60px/1 "Titillium Web";
  color: var(--muted);
}
.strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  text-align: center;
  gap: 10px;
}
.strip div {
  padding: 20px 0;
}
.strip i {
  display: flex;
  width: 80px;
  height: 80px;
  border: 1px solid #000;
  border-radius: 50%;
  margin: 0 auto 14px;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--dark);
}
.strip b {
  font: 600 14px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
}
.ftabs {
  display: flex;
  gap: 10px;
  margin: 40px 0 30px;
}
.ftabs button {
  background: var(--light);
  border: 0;
  padding: 12px 30px;
  font: 600 14px "Titillium Web";
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}
.ftabs button.on {
  background: var(--dark);
  color: #fff;
}
.fpane {
  display: none;
}
.fpane.on {
  display: block;
  animation: fi 0.6s;
}
.tl li {
  border-left: 2px solid var(--dark);
  padding: 0 0 26px 26px;
  position: relative;
}
.tl li:before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--dark);
}
.tl b {
  font: 600 20px "Titillium Web";
  color: var(--dark);
}
.tl span {
  display: block;
  color: var(--muted);
  font: 600 13px "Josefin Sans";
}
.ie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}
.ie div {
  position: relative;
  min-height: 420px;
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.ie img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.ie * {
  position: relative;
}
.ie img {
  position: absolute;
}
.ie h4 {
  font: 400 34px "Titillium Web";
  color: #fff;
}

/* ==========================================================================
   SERVICE PAGES (.svc slider, arrows, features)
   ========================================================================== */
.svc {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 50px;
}
.side a {
  display: block;
  background: var(--light);
  padding: 18px;
  font: 600 16px "Titillium Web";
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
  transition: 0.3s;
}
.side a:hover {
  background: #d8d8d8;
}
.side a.cur {
  background: #000;
  color: #fff;
}
.svc h2 {
  margin: 6px 0 30px;
  font-size: 40px;
}
.svc p {
  margin-bottom: 20px;
}
.svc .swiper {
  margin: 30px 0;
  position: relative;
}
.svc .swiper img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.sarr {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
}
.sarr.p {
  left: 0;
}
.sarr.n {
  right: 0;
}
.feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.feat div {
  background: var(--light);
  padding: 30px 24px;
}
.feat h6 {
  font: 600 16px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 8px;
}
.feat p {
  margin: 0;
  font-size: 15px;
}
/* Responsive rules: (max-width: 992px) */
@media (max-width: 992px) {
  .ben,
  .ie,
  .svc,
  .feat {
    grid-template-columns: 1fr;
  }
  .pri {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .badge {
    left: 0;
  }
}

/* ==========================================================================
   PORTFOLIO PAGE (filter buttons + grid)
   ========================================================================== */
.filters {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin: 50px 0 40px;
}
.filters button {
  background: none;
  border: 0;
  font: 600 15px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  padding: 4px 6px;
}
.filters button sup {
  font-size: 10px;
  color: var(--muted);
  margin-left: 2px;
}
.filters button.on:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: #ddd;
  z-index: -1;
}
.pgrid {
  margin: 0 -15px;
}
.pitem {
  width: 33.333%;
  padding: 15px;
}
.pitem a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.pitem.hid {
  display: none;
}
.pitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pitem a div {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: 0.4s;
}
.pitem a:hover div,
.pitem a:focus-visible div {
  opacity: 1;
}
.pitem h5 {
  color: #fff;
  transform: translateY(20px);
  transition: 0.4s;
}
.pitem a:hover h5 {
  transform: none;
}
.pitem small {
  color: #ccc;
  text-transform: uppercase;
  font: 600 12px "Josefin Sans";
  letter-spacing: 0.5px;
}
.center-btn {
  text-align: center;
  margin-top: 30px;
}
.pinfo {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}

/* ==========================================================================
   PORTFOLIO SINGLE (info box, gallery, prev/next, stats)
   ========================================================================== */
.ibox {
  background: var(--dark);
  color: #bbb;
  padding: 36px;
}
.ibox div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ibox b {
  font: 600 14px "Titillium Web";
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}
.pgal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 60px 0;
}
.pgal img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.pnav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 60px 0;
  font: 600 14px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
}
.pstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  margin: 50px 0;
}
.bl {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

/* ==========================================================================
   BLOG + BLOG POST (posts, sidebar, article, author, comment form)
   ========================================================================== */
.post {
  margin-bottom: 60px;
}
.post img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.post .meta {
  margin: 20px 0 6px;
  font: 600 13px "Josefin Sans";
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.post .meta b {
  background: var(--dark);
  color: #fff;
  padding: 3px 12px;
  margin-right: 12px;
  font-weight: 600;
}
.post h4,
.art h4 {
  font: 400 30px/1.25 "Titillium Web";
  margin-bottom: 10px;
  color: var(--dark);
}
.pager {
  display: flex;
  gap: 8px;
}
.pager a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  font: 600 15px "Titillium Web";
  color: var(--dark);
}
.pager a.on {
  background: var(--dark);
  color: #fff;
}
.sb section {
  padding: 0;
  margin-bottom: 46px;
}
.sb h6 {
  font: 600 18px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 16px;
}
.sb form {
  display: flex;
}
.sb input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.sb form button {
  background: var(--dark);
  color: #fff;
  border: 0;
  width: 50px;
}
.sb li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.sb .rp {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  align-items: center;
}
.sb .rp img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}
.sb .rp b {
  font: 400 17px/1.3 "Titillium Web";
  color: var(--dark);
}
.sb .tags a {
  display: inline-block;
  background: var(--light);
  padding: 4px 14px;
  margin: 0 6px 8px 0;
  font-size: 14px;
}
.art blockquote {
  border-left: 3px solid var(--dark);
  background: var(--light);
  padding: 30px 34px;
  margin: 34px 0;
  font: italic 300 24px/1.5 "Titillium Web";
  color: var(--dark);
}
.art p,
.art img {
  margin-bottom: 22px;
}
.art img {
  width: 100%;
}
.shr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.shr a.t {
  background: var(--light);
  padding: 3px 14px;
  margin-right: 6px;
  font-size: 14px;
}
.author {
  background: var(--dark);
  color: #bbb;
  padding: 36px;
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 40px 0;
}
.author img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.author h6 {
  color: #fff;
  font: 600 18px "Titillium Web";
}
.cform input,
.cform textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: 16px;
  font: inherit;
}
.cform label.c {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}
.cform label.c input {
  width: auto;
  margin: 5px 0 0;
}
/* Responsive rules: (max-width: 992px) */
@media (max-width: 992px) {
  .pinfo,
  .bl {
    grid-template-columns: 1fr;
  }
  .pitem {
    width: 50%;
  }
}
/* Responsive rules: (max-width: 576px) */
@media (max-width: 576px) {
  .pitem {
    width: 100%;
  }
  .pgal,
  .pstats {
    grid-template-columns: 1fr;
  }
}
/* ---- Phase 5 ---- */
.cwrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ==========================================================================
   CONTACT PAGE (form, status message, info box, map)
   ========================================================================== */
.cf label {
  display: block;
  font: 600 13px "Titillium Web";
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
}
.cf input,
.cf textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bbb;
  background: transparent;
  padding: 10px 0;
  margin-bottom: 26px;
  font: inherit;
  border-radius: 0;
}
.cf input:focus,
.cf textarea:focus {
  outline: 0;
  border-color: #000;
}
.cf .err {
  color: #b3261e;
  font-size: 13px;
  display: block;
  margin: -20px 0 16px;
}
#fmsg {
  margin-top: 20px;
  font-weight: 600;
}
.ok {
  color: #2e7d32;
}
.bad {
  color: #b3261e;
}
.cbox {
  background: var(--dark)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60H60M60 0V60' stroke='%23fff' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E");
  color: #bbb;
  padding: 50px;
}
.cbox h2 {
  color: #fff;
  font-size: 40px;
}
.crow {
  display: flex;
  gap: 18px;
  margin-top: 26px;
}
.crow i {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
}
.crow b {
  display: block;
  color: #fff;
  font: 600 14px "Titillium Web";
  letter-spacing: 1px;
  text-transform: uppercase;
}
.map {
  padding: 0;
  line-height: 0;
}
.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
}
/* Responsive rules: (max-width: 992px) */
@media (max-width: 992px) {
  .cwrap {
    grid-template-columns: 1fr;
  }
  .cbox {
    padding: 34px;
  }
}

/* ==========================================================================
   BLUEPRINT CORNERS (decorative corner lines)
   ========================================================================== */
.blueprint-corner {
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23555' stroke-width='1'%3E%3Crect x='40' y='40' width='300' height='240'/%3E%3Crect x='46' y='46' width='288' height='228'/%3E%3Cpath d='M200 46V160M206 46V160M46 160H200M46 166H206M200 220V274M206 220V274M206 220H334M206 226H334'/%3E%3Cpath d='M110 166V202M146 166A36 36 0 0 1 110 202'/%3E%3Cpath d='M206 170H242M206 206A36 36 0 0 0 242 170'/%3E%3Cpath d='M260 70h60v70h-60zM270 70v70M280 70v70M290 70v70M300 70v70M310 70v70'/%3E%3Cpath d='M40 310H340M40 302V318M340 302V318M20 40V280M12 40H28M12 280H28M90 316V356M190 316V356M290 316V356'/%3E%3Ccircle cx='90' cy='370' r='14'/%3E%3Ctext x='90' y='374' font-size='11' text-anchor='middle' fill='%23555' stroke='none' font-family='sans-serif'%3E1%3C/text%3E%3Ccircle cx='190' cy='370' r='14'/%3E%3Ctext x='190' y='374' font-size='11' text-anchor='middle' fill='%23555' stroke='none' font-family='sans-serif'%3E2%3C/text%3E%3Ccircle cx='290' cy='370' r='14'/%3E%3Ctext x='290' y='374' font-size='11' text-anchor='middle' fill='%23555' stroke='none' font-family='sans-serif'%3E3%3C/text%3E%3Ctext x='190' y='304' font-size='9' text-anchor='middle' fill='%23555' stroke='none' font-family='sans-serif'%3E6000%3C/text%3E%3C/g%3E%3C/svg%3E")
    center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.blueprint-corner--tl {
  top: 0;
  left: 0;
}
.blueprint-corner--tr {
  top: 0;
  right: 0;
}
.blueprint-corner--bl {
  bottom: 0;
  left: 0;
}
.blueprint-corner--br {
  bottom: 0;
  right: 0;
}
.blueprint-corner--light {
  filter: invert(1);
  opacity: 0.1;
}
.has-bp {
  position: relative;
  overflow: hidden;
}
.has-bp > *:not(.blueprint-corner) {
  position: relative;
  z-index: 1;
}
.card .blueprint-corner {
  width: 240px;
}
/* Responsive rules: (max-width: 768px) */
@media (max-width: 768px) {
  .blueprint-corner {
    display: none;
  }
}
/* about collage */
.about .circle {
  overflow: visible;
}
.sw.a {
  top: -2%;
  right: -3%;
  left: auto;
  bottom: auto;
  width: 19%;
  height: 19%;
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(0, 0, 0, 0.07) 14px 15px),
    linear-gradient(135deg, #f4f4f4, #c9c9c9);
}
.sw.b {
  bottom: 7%;
  right: -5%;
  left: auto;
  top: auto;
  width: 36%;
  height: 7%;
  background: linear-gradient(90deg, #222, #3b3b3b 60%, #252525);
}
.ring {
  position: absolute;
  left: -19%;
  top: 20%;
  width: 42%;
  height: auto;
  aspect-ratio: 1;
  z-index: 0;
  overflow: visible;
}
.about .circle img {
  position: relative;
  z-index: 1;
}
.sw {
  z-index: 2;
}
/* Responsive rules: (max-width: 576px) */
@media (max-width: 576px) {
  .ring {
    left: -6%;
  }
  .sw.b {
    right: -2%;
  }
  .sw.a {
    right: -1%;
  }
}
.chk li {
  padding-left: 26px;
  position: relative;
  margin: 6px 0;
  color: var(--dark);
  font-weight: 600;
}
.chk li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  background: var(--dark);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.nf {
  text-align: center;
}
.ghost404 {
  font: 300 clamp(130px, 28vw, 320px) / 1 "Titillium Web";
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 26, 26, 0.35);
  margin-bottom: 10px;
}
.s404 {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  border-bottom: 1px solid #bbb;
}
.s404 input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 0;
  font: inherit;
}
.s404 input:focus {
  outline: 0;
}
.s404 button {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--dark);
  padding: 0 6px;
}
.s404r {
  list-style: none;
  max-width: 440px;
  margin: 14px auto 0;
  text-align: left;
}
.s404r a {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--dark);
  font-weight: 600;
}
/* ---- Responsive audit fixes ---- */
html,
body {
  overflow-x: hidden;
}
html {
  scroll-padding-top: 85px;
}
img,
video {
  max-width: 100%;
}
img {
  height: auto;
}
iframe {
  max-width: 100%;
}
body.lock {
  overflow: hidden;
}
/* grid blow-out: let grid/flex children shrink below their content width */
.two > *,
.cwrap > *,
.pinfo > *,
.bl > *,

/* ==========================================================================
   EXTRA PATCHES (spacing / overrides added later)
   ========================================================================== */
.svc > *,
.adv > *,
.ben > *,
.ie > *,
.about .row > *,
.grid3 > *,
.tgrid > *,
.blog > *,
.tri > *,
.pri > *,
.feat > *,
.pgal > *,
.cta .container > *,
.pstats > *,
.strip > * {
  min-width: 0;
}
.pgal a {
  display: block;
}
.pgal img {
  display: block;
}
/* fluid type */
h2 {
  font-size: clamp(30px, 4.2vw, 48px);
}
.svc h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.cbox h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}
.banner h1 {
  font-size: clamp(34px, 6vw, 64px);
}
.slide h1 {
  font-size: clamp(36px, 7vw, 80px);
}
.ghost {
  font-size: clamp(56px, 13vw, 200px);
  letter-spacing: 0.14em;
  top: -0.35em;
  max-width: 100%;
}
.tile h3 {
  font-size: clamp(24px, 3vw, 44px);
}
.num {
  font-size: clamp(40px, 6vw, 60px);
}
.banner {
  height: clamp(300px, 50vw, 460px);
}
.video {
  height: clamp(280px, 48vw, 520px);
}
.hero {
  height: 100vh;
  height: 100svh;
}
#search input {
  font-size: clamp(24px, 5vw, 48px);
  width: 86%;
}
.menu ul a,
.crumb a {
  display: inline-block;
}
.menu ul a {
  display: block;
}

/* ==========================================================================
   RESPONSIVE: 993px - 1100px
   ========================================================================== */
@media (min-width: 993px) and (max-width: 1100px) {
  .menu {
    gap: 16px;
    font-size: 13px;
  }
  .logo b {
    letter-spacing: 2px;
    font-size: 15px;
  }
}
/* Responsive rules: (max-width: 1200px) */
@media (max-width: 1200px) {
  .circle .flab {
    left: 0 !important;
    right: auto !important;
  }
  .circle .flab:nth-of-type(2) {
    left: auto !important;
    right: 0 !important;
  }
}
/* Responsive rules: (max-width: 992px) */
@media (max-width: 992px) {
  .menu {
    max-width: 85vw;
  }
  .menu > li > a,
  .menu ul a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .menu > li {
    line-height: 1.4;
  }
  .menu > li.active > a:after {
    display: none;
  }
  .menu > li.active > a {
    border-left: 3px solid #fff;
    padding-left: 10px;
  }
  .menu .mclose {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .xbtn {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .more,
  .crumb a,
  .crumb span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  footer li {
    margin: 0;
  }
  footer li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .soc a {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .nl input {
    min-height: 44px;
  }
  .nl button {
    min-width: 44px;
    min-height: 44px;
  }
  #top {
    width: 44px;
    height: 44px;
  }
  .filters button {
    min-height: 44px;
    padding: 10px;
  }
  .sb .tags a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .sb li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .cf input,
  .cf textarea,
  .cform input {
    min-height: 44px;
  }
  .cform button,
  .sb form button {
    min-height: 44px;
  }
  .pager a {
    width: 44px;
    height: 44px;
  }
  .ftabs button {
    min-height: 44px;
  }
  .tabs button {
    min-height: 44px;
  }
  .pstats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ie div {
    min-height: 320px;
  }
  .badge {
    left: 0;
    bottom: 16px;
  }
  .hright button {
    padding: 0 18px;
  }
  .hright .burger {
    width: 70px;
  }
  .hnav button {
    width: 48px;
    height: 48px;
  }
  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 8px !important;
  }
}
/* Responsive rules: (min-width: 577px) and (max-width: 992px) */
@media (min-width: 577px) and (max-width: 992px) {
  .grid3,
  .blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog[style] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Responsive rules: (max-width: 768px) */
@media (max-width: 768px) {
  .play {
    width: 70px;
    height: 70px;
    font-size: 20px;
  }
  .pnav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .collage {
    padding-bottom: 50px;
  }
}
/* Responsive rules: (max-width: 576px) */
@media (max-width: 576px) {
  .logo {
    padding: 5px 10px;
  }
  .logo b {
    font-size: 13px;
    letter-spacing: 1.5px;
  }
  .logo small {
    font-size: 7px;
  }
  .hright button {
    padding: 0 13px;
  }
  .hright .burger {
    width: 56px;
  }
  .blog,
  .blog[style] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ben,
  .pri {
    grid-template-columns: minmax(0, 1fr);
  }
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ftabs {
    flex-wrap: wrap;
  }
  .ftabs button {
    padding: 10px 16px;
    flex: 1;
  }
  .author {
    flex-direction: column;
    text-align: center;
  }
  .tabs em {
    font-size: 44px;
  }
  .tabs .ic {
    width: 64px;
    height: 64px;
    font-size: 20px;
    margin-top: -28px;
  }
  .cbox {
    padding: 28px 20px;
  }
  .octf-btn {
    padding: 0 28px;
  }
  .slide p {
    font-size: 15px;
  }
  .hnav {
    right: 15px;
    bottom: 24px;
  }
  .hline {
    bottom: 70px;
  }
  .badge {
    font-size: 16px;
    padding: 14px 18px;
  }
}
.menu .mclose {
  display: none;
}
.menu .mclose {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE: screens up to 992px wide
   ========================================================================== */
@media (max-width: 992px) {
  .menu .mclose {
    display: flex;
  }
  header.stick,
  header {
    z-index: 100;
  }
  body.nav-open header {
    z-index: 1001;
  }
}
/* tracks must be able to shrink (images have intrinsic widths) */
.two,
.about .row,
.cwrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bl {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.pinfo {
  grid-template-columns: minmax(0, 1fr) 360px;
}
.svc {
  grid-template-columns: 25% minmax(0, 1fr);
}
/* Responsive rules: (max-width: 992px) */
@media (max-width: 992px) {
  .two,
  .about .row,
  .cwrap,
  .bl,
  .pinfo,
  .svc,
  .adv,
  .ie,
  .tri,
  .cta .container,
  .feat {
    grid-template-columns: minmax(0, 1fr);
  }
  .pnav a,
  .shr a.t {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .post h4 a {
    display: block;
    min-height: 44px;
  }
  .shr .soc a {
    width: 44px;
    height: 44px;
  }
}
/* ---- Logo image (assets/img/logo.png); falls back to the text logo if the file is missing ---- */
:root {
  --logo-filter: none;
} /* if logo.png is dark, set: --logo-filter:brightness(0) invert(1) */
.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  filter: var(--logo-filter);
}
.logo:not(.nologo) {
  border: 0;
  padding: 0;
}
.logo:not(.nologo) b,
.logo:not(.nologo) small {
  display: none;
}
footer .logo img {
  height: 60px;
}
/* Responsive rules: (max-width: 576px) */
@media (max-width: 576px) {
  .logo img {
    height: 40px;
    max-width: 150px;
  }
}
/* ---- Image-only logo + hero social links ---- */
.logo {
  border: 0;
  padding: 0;
  display: inline-block;
  line-height: 0;
}
.social-v {
  top: auto;
  bottom: 115px;
  left: 30px;
  margin: 0;
  transform: rotate(180deg);
  transform-origin: center;
  writing-mode: vertical-rl;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 1.5px;
  line-height: 1;
  max-height: calc(100% - 85px - 115px - 24px);
  overflow: hidden;
}
.social-v a {
  display: inline-block;
  padding: 2px 0;
}

/* ==========================================================================
   RESPONSIVE: short screens (max-height 540px)
   ========================================================================== */
@media (max-height: 540px) {
  .social-v {
    display: none;
  }
}
/* hero social links: centred vertically, kept clear of the topbar (85px) and bottom line (90px) */
.social-v {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(180deg);
  max-height: calc(100% - 200px);
}
/* hero vertical lines: two lines, 15% in from each edge (gaps 15% / 70% / 15%) */
.hv {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-light);
  z-index: 4;
  pointer-events: none;
}
.hv-l {
  left: 15%;
}
.hv-r {
  left: 85%;
}
/* mobile/tablet: only the navbar hamburger shows; the gallery/side-panel one is desktop-only */
@media (max-width: 992px) {
  .hright .burger {
    display: none;
  }
}
