/*
Theme Name: Syren
Version: 1.0
*/

/* Variables */
:root {
  --collier: #A8030B;
	--claret: #660814;
	--wow: #FF1F29;
	--mahogany: #3A0A0F;
	--dark: #1A1A1A;
  --light: #ffffff;
  --whipped: #F8F4EF;
  --flare: #B6131B;
  --glimmer-silver: #CBCBD6;
  --glimmer: #A8A8BA;
  --dark: #1A1A1A;
  --heritage: #740B0F;
  --heading-font: "Recife Display", serif;
  --body-font: "PP Neue Montreal", sans-serif;
}

/* Backgrounds */
.claret-bg {
	background-color: var(--claret);
}
.wow-bg {
	background-color: var(--wow);
}
.mahogany-bg {
	background-color: var(--mahogany);
}
.whipped-bg {
  background-color: var(--whipped);
}
.flare-bg {
  background-color: var(--flare);
}
.dark-bg {
  background-color: var(--dark);
}

/* Color */
.collier, .collier a, a.collier  {
  color: var(--collier);
}
.claret, .claret a, a.claret  {
  color: var(--claret);
}
.wow, .wow a, a.wow {
  color: var(--wow);
}
.mahogany, .mahogany a, a.mahognay {
  color: var(--mahogany);
}
.whipped, .whipped a, a.whipped {
  color: var(--whipped);
}
.flare, .flare a, a.flare {
  color: var(--flare);
}
.dark, .dark a, a.dark {
  color: var(--dark);
}
.heritage, .heritage a, a.heritage {
  color: var(--heritage);
}

/* Lenis Scrolling */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Preloader */
#syren-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--heritage);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}
#syren-preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, var(--heritage) 30%, var(--wow) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 3px));
  animation: preloader-spin 0.8s linear infinite;
}
@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

/* Body */
body {
  font-family: var(--body-font);
	font-size: 16px;
}
.container {
  max-width: 100%;
  padding: 0 90px;
}

/* Typo */
@font-face {
  font-family: "PP Neue Montreal";
  src: url("fonts/PPNeueMontreal-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("fonts/PPNeueMontreal-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Recife Display";
  src: url("fonts/RecifeDisplay-Light.woff2") format("woff2"),
       url("fonts/RecifeDisplay-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Recife Display";
  src: url("fonts/RecifeDisplay-LightItalic.woff2") format("woff2"),
       url("fonts/RecifeDisplay-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

h1 {
  font-family: var(--heading-font);
	font-size: 6rem;
  line-height: 1;
}
h2 {
  font-family: var(--heading-font);
	font-size: 3rem;
}
h3 {
  font-family: var(--heading-font);
	font-size: 2.5rem;
}
h4 {
  font-family: var(--body-font);
	font-size: 2rem;
  font-weight: 400;
}
.cc-display-0 {
  font-family: var(--heading-font);
  font-size: 110px;
  line-height: 110px;
  letter-spacing: -1.5px;
  font-weight: 400;
}
.cc-display-1, .h1-lrg {
  font-family: var(--heading-font);
  font-size: 70px;
  line-height: 74px;
  letter-spacing: -1.5px;
  font-weight: 400;
}
.h1-sml {
  font-family: var(--body-font);
  font-size: 30px;
  line-height: 34px;
  font-weight: 400;
}
.cta-lrg {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 20px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.cta-lrg a {
   text-decoration: underline;
}
ol, ul {
  padding-left: 0;
}
li {
  list-style: none;
  margin-bottom: 7px;
  line-height: 18px;
}
blockquote {
  font-family: var(--heading-font);
  font-size: 30px;
  line-height: 38px;
}

/* Spacing */
.py-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
.py-12 {
  padding-top: 12rem !important;
  padding-bottom: 12rem !important;
}
.pt-6 {
  padding-top: 6rem !important;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  width: 100%;
  background: var(--mahogany);
  margin: 0 auto;
  transition: width 0.5s ease, border-radius 0.5s ease, margin-top 0.5s ease;
}
.main-header.header-scrolled .header-inner {
  width: 90%;
  border-radius: 50px;
  margin-top: 12px;
}
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 80px;
}
.main-logo {
  width: 200px;
  transition: opacity 0.3s ease;
  opacity: 1;
}
.main-logo.is-switching {
  opacity: 0;
}

/* Desktop inline nav */
.desktop-nav {
  display: none;
}
.desktop-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}
.desktop-nav-links li { margin: 0; }
.desktop-nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}
.desktop-nav-links li a:hover {
  opacity: 0.7;
}
@media (min-width: 1000px) {
  .desktop-nav { display: block; }
}
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.header-dark .menu-toggle span {
  background: var(--collier)
}
.header-wow .menu-toggle span {
  background: var(--wow)
}
.single .main-header .menu-toggle span {
  background: var(--collier)
}
.header-light .menu-toggle span {
  background: var(--light)
}
.menu-toggle.active span {
  background: #fff !important;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
@media (min-width: 1000px) {
  .menu-toggle { display: none; }
}

/* --- Fullscreen Menu --- */
.fullscreen-menu {
  position: fixed;
  top: 100px;
  right: 0;
  width: 100%;
  height: auto;
  background: var(--mahogany);
  z-index: 1000;
  transform: translateX(100%);
  transition: all .5s ease;
  display: flex;
  align-items: start;
  justify-content: center;
  border-radius: 20px;
}
.fullscreen-menu.open {
  transform: translateX(0);
}
.site-main {
  position: relative; 
}
.site-main::after {
  content: '';
  background: rgba(0, 0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 10;
}
.site-main.menu-opened::after {
  opacity: 1;
  pointer-events: auto;
}
.menu-content {
  width: 90%;
  text-align: left;
  margin-top: 30px;
}
.main-nav-links {
  list-style: none;
  padding: 0;
  margin-bottom: 120px;
}
.main-nav-links li {
  border-bottom: 1px solid var(--wow);
  margin-bottom: 15px;
  transition: border-bottom .2s ease;
}
.main-nav-links li:hover {
  border-bottom: 1px solid #fff;
  transition: border-bottom .2s ease;
}
.main-nav-links li a {
  text-decoration: none;
  font-size: 30px;
  display: block;
  padding: 20px 0 0;
  color: var(--wow);
  transition: color .2s ease;
}
.main-nav-links li a:hover,
.main-nav-links li.current-menu-item a {
  color: #fff;
  transition: color .2s ease;
}
.menu-footer {
  font-size: 14px;
  color: var(--wow);
  margin-bottom: 50px;
}
.menu-footer a {
  color: var(--wow);
  font-size: 14px;
  margin-left: 10px;
  transition: color .2s ease;
}
.menu-footer a:hover {
  color: #fff;
  transition: color .2s ease;
}
.menu-text {
  font-family: var(--heading-font);
  font-size: 30px;
  line-height: 36px;
  width: 80%;
  margin-bottom: 15px;
}

/* Content Blocks */
.unity-feature-outer, .post-feed {
  position: relative;
  z-index: 2;
}

/* Home Banner */
.home-banner-scroll-wrap {
  height: 200vh;
  position: relative;
}
.home-banner {
  height: 200vh;
  position: sticky;
  top: 0;
  background: var(--mahogany);
  overflow: hidden;
  z-index: 0;
}
.home-banner-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.home-banner-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center top;
}
.home-banner-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.home-banner-intro-text {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.home-banner-content {
  position: absolute;
  bottom: 0;
  left: 100px;
  right: 100px;
  z-index: 2;
  background: var(--mahogany);
  border-radius: 50px 50px 0 0;
  padding: 2rem 0;
  text-align: center;
  will-change: top, left, right, background-color;
}
.banner-heading {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition: all 0.3s ease;
  padding: 100px 0 70px 0;
}
.banner-heading h1 {
  font-family: var(--heading-font);
  font-size: clamp(3rem, 7vw, 10rem);
  line-height: 1.1;
  color: white;
  text-align: center;
}
.banner-intro-video {
  width: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  will-change: width, height, border-radius;
}
.banner-intro-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-heading h3 {
  font-size: clamp(1rem, 4vw, 3.5rem);
  color: #fff;
  padding-top: 30px;
  text-align: center;
  margin-bottom: 50px;
}


/* Scrolling Text */
.scrolling-text-wrap {
  height: calc((var(--st-count) + 1) * 100vh);
  position: relative;
}
.scrolling-text {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.st-left {
  width: 50%;
  padding: 4rem;
}
.st-intro {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  color: var(--mahogany);
  line-height: 1.15;
  text-align: right;
}
.st-right {
  width: 50%;
  padding: 4rem;
  position: relative;
  min-height: 300px;
}
.st-item {
  position: absolute;
  top: 4rem;
  transform: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  width: calc(100% - 8rem);
}
.st-item.is-active {
  opacity: 1;
  pointer-events: auto;
}
.st-heading {
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 3.5rem);
  color: var(--wow);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.st-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mahogany);
  margin-bottom: 1.5rem;
  max-width: 420px;
}
.st-cta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mahogany);
  text-decoration: none;
  border-bottom: 1px solid var(--mahogany);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.st-cta:hover {
  opacity: 0.6;
}

/* Fading Text */
.fading-text {
  display: flex;
  align-items: flex-start;
  padding: 10rem 0;
  overflow: hidden;
}
.ft-left {
  width: 50%;
  padding: 4rem 16px 4rem 4rem;
}
.ft-intro {
  font-family: var(--heading-font);
  font-size: 4rem;
  color: var(--mahogany);
  line-height: 1.15;
  text-align: right;
  max-width: 15ch;
  margin-left: auto;
}
.ft-right {
  width: 50%;
  padding: 4rem 4rem 4rem 16px;
}
.ft-heading {
  font-family: var(--heading-font);
  font-size: 4rem;
  color: var(--wow);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.ft-ends {
  display: inline-grid;
}
.ft-end {
  grid-area: 1 / 1;
  opacity: 0;
  animation: ft-fade 9s infinite;
}
.ft-end-1 {
  opacity: 1;
  animation-name: ft-fade-first;
  animation-delay: 0s;
}
.ft-end-2 { animation-delay: 3s; }
.ft-end-3 { animation-delay: 6s; }

@keyframes ft-fade-first {
  0%, 27%  { opacity: 1; }
  33%, 100% { opacity: 0; }
}
@keyframes ft-fade {
  0%        { opacity: 0; }
  5%, 27%   { opacity: 1; }
  33%, 100% { opacity: 0; }
}

.ft-beneath {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mahogany);
  margin-bottom: 1.5rem;
  max-width: 420px;
}
.ft-cta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mahogany);
  text-decoration: none;
  border-bottom: 1px solid var(--mahogany);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.ft-cta:hover {
  opacity: 0.6;
}

/* Discover CTA */
.discover-cta {
  padding: 6rem 0;
}
.discover-cta-text {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  line-height: 1.15;
  max-width: 1000px;
  margin-bottom: 2rem;
  color: var(--heritage);
}
.discover-cta-text p {
  margin: 0;
}
.discover-cta-link {
  font-size: 1rem;
  color: var(--heritage);
}
.discover-cta-link a {
  color: var(--heritage);
  text-decoration: underline;
}

/* Home Intro */
.home-intro-outer {
  z-index: 1;
  position: inherit;
}
.home-intro-description {
  font-size: 24px;
  line-height: 28px;
  color: #fff;
}
.home-intro-outer a {
  text-decoration: underline;
  color: var(--wow);
}
.home-intro-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-intro-link-sep {
  color: #ff1a2d;
  padding: 0 12px;
  opacity: 0.9;
}



/* Unity Feature */
.unity-feature .unity-list p {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

/* Post Feed */
.post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card-media {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}
.post-card-media.is-square {
  aspect-ratio: 1 / 1;
}
.post-card-media.is-wide {
  aspect-ratio: 16 / 9;
}
.post-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.post-card-meta, .post-card-meta a {
  font-size: 16px;
  line-height: 22px;
  padding-top: 8px;
  color: var(--mahogany);
}
.post-card-title {
  font-weight: 600;
  margin-top: 2px;
}
.post-card-tags {
  margin-top: 2px;
}
.post-card-tags a,
.post-card-tags span {
  margin-right: 8px;
  font-size: 13px;
  text-decoration: none;
}
.post-feed {
  padding-top: 120px;
  padding-bottom: 120px;
}

.post-feed > .container + .post-feed-wide-wrap,
.post-feed > .post-feed-wide-wrap + .container {
  margin-top: 120px;
}

.post-feed-wide-wrap {
  width: 100%;
  overflow: hidden;
}
.post-feed-wide-inner {
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}
.post-feed-wide-inner .col-12 {
  padding: 0 !important;
}
.post-feed-cta {
  display: inline-block;
  text-decoration: underline;
  color: var(--mahogany);
}
.post-feed-spacing {
  margin-top: 0 !important;
}

/* Message CTA */
.message-cta {
  z-index: 1;
  position: inherit;
  color: var(--mahogany);
}

/* Full Bleed Image */
.full-bleed-image {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.full-bleed-mobile-img {
  display: none;
}

/* Related Projects */
.related-projects {
  padding: 60px 0 80px;
}
.related-projects-title {
  margin-bottom: 16px;
  font-size: 80px;
  color: var(--heritage);
}
.related-projects-divider {
  border-top: 1px solid var(--collier);
  margin-bottom: 40px;
}
.related-projects-cta a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}
.related-projects-cta a:hover {
  opacity: 0.6;
}

/* Work Feed */
.work-grid .col-md-4 {
  margin-top: 40px;
}
.work-feed .row,
.post-feed .row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0;
  row-gap: 2rem;
}

/* Feed fade-up */
.work-feed .post-card,
.post-feed .post-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--fade-delay, 0ms);
}
.work-feed .post-card.is-visible,
.post-feed .post-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-filter-row {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.work-filter-btn,
.tabbed-layout-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #5F5F71;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.work-filter-btn:hover,
.tabbed-layout-tab:hover {
  opacity: 0.7;
}

.work-filter-btn.is-active,
.tabbed-layout-tab.is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--collier);
}
.work-filter-row.work-filter-tags {
  gap: 18px;
}
.work-grid {
  margin-top: 20px;
}

.work-filter-tags .work-filter-btn {
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  color: var(--heritage);
}
.work-filter-tags .work-filter-btn::after {
  display: none;
}

.work-tag-clear{
  display:none;
  width:18px;
  height:18px;
  border:1px solid currentColor;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  line-height:1;
  transform: translate(3px);
}

.work-filter-btn.is-active .work-tag-clear{
  display:inline-flex;
}


.post-card-media.is-wide { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.post-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.post-card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

.work-loadmore-btn {
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: var(--mahogany);
  font-size: 22px;
}

/* Testimonials */

.testimonials {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(min-content, max-content);
  display: grid;
  width: 100%;
}

.testimonial {
  grid-column: 1 / 13;
  transition: height .5s ease;
  overflow: hidden;
  border-top: 1px solid var(--collier);
  background: var(--whipped);
}

.testimonial:last-child {
  border-bottom: 1px solid var(--collier);
}

.testimonial-card {
  width: 100%;
  height: auto;
  max-height: 110px;
  padding: 0;
  padding-top: 10px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(min-content, max-content);
  column-gap: 32px;
  display: grid;
  overflow: hidden;
  align-items: start;
  transition: max-height .5s ease;
  position: relative;
}

.testimonial-card::after {
  content: "";
  width: 100%;
  height: 10px;
  background: var(--whipped);
  bottom: 0;
  position: absolute;
  left: 0;
}

.t-col-left {
  grid-column: 1 / 5;
}

.t-col-mid {
  grid-column: 5 / 9;
}

.t-col-right {
  grid-column: 9 / 13;
}

.t-col-left,
.t-col-mid,
.t-col-right {
  padding-bottom: var(--Pm);
}

.quote {
  font-size: 22px;
  line-height: 1.35;
  max-width: 42ch;
  margin: 0 0 16px 0;
  color: var(--claret);
}

.namepos {
  font-size: 14px;
  color: var(--heritage);
}

.image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d8d2d0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.biz {
  margin-top: 12px;
  padding-bottom: 10px;
}

.biz strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--claret);
}

.biz span {
  display: block;
  color: var(--heritage);
  font-size: 14px;
}

.testimonials-title {
  font-size: clamp(42px, 5vw, 80px);
  font-weight: 500;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.testimonial:hover .testimonial-card {
  max-height: 350px;
}

.testimonial:first-child .testimonial-card {
  max-height: 350px;
}

.testimonials.is-out .testimonial:first-child .testimonial-card {
  max-height: 110px;
}

.testimonials.is-out .testimonial:first-child:hover .testimonial-card {
  max-height: 350px;
}

/* Work */
.work-single-hero {
  width: 100%;
  height: 100vh;
  position: relative;
}

.work-single-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.work-single-hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-25-wrap {
  width: 50%;
}
.work-media-ratio {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.work-media-full .work-media-ratio {
  aspect-ratio: 16 / 9;
}

.work-media-50 .work-media-ratio,
.work-media-25 .work-media-ratio {
  aspect-ratio: 1 / 1;
}

.work-media-ratio lottie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-media-embed iframe {
  width: 100%;
  height: 100%;
}

.work-media-ratio img,
.work-media-ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-single button, .btn-link:hover {
  color: var(--collier);
}

.work-more-icon {
  font-size: 24px;
}

/* Sliding Images */
.sliding-gallery {
  width: 100%;
  overflow: hidden;
}

.sliding-gallery-viewport {
  width: 100%;
  overflow: hidden;
}

.sliding-gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: sliding-gallery-marquee 40s linear infinite;
}

.sliding-gallery-group {
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  margin-right: 1.6vw;
}

.sliding-gallery-item {
  flex: 0 0 auto;
  width: calc(100vw / 2);
}

.sliding-gallery-item img {
  width: 100%;
  aspect-ratio: 9 / 6;
  height: auto;
  display: block;
  object-fit: cover;
}

@keyframes sliding-gallery-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* Tabbed Layout */
.tabbed-layout-title {
  margin-bottom: 32px;
  font-size: 100px;
  line-height: 108px;
}

.tabbed-layout-nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--collier);
  padding-bottom: 10px;
  margin-bottom: 28px;
}


.tabbed-layout-panel[hidden] {
  display: none;
}

.tabbed-layout-panels h5 {
  color: var(--collier);
}
.tabbed-layout-col-right h3 {
    color: var(--collier);
}
.tabbed-layout-col h3:not(:first-child) {
  position: relative;
  padding-top: 10px;
}
.tabbed-layout-col h3:not(:first-child)::before{
  content: '';
  width: 100%;
  background: var(--collier);
  height: 1px;
  position: absolute;
  top: 0;
}

/* Row Layout */
.row-layout-title {
  margin-bottom: 32px;
  font-size: 100px;
  line-height: 108px;
}

.row-layout-item {
  padding: 36px 0;
  border-top: 1px solid var(--collier);
}

.row-layout-item-title {
  margin: 0 0 18px;
  color: var(--heritage);
}

.row-layout-icon img {
  width: 90px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.row-layout-col *:last-child {
  margin-bottom: 0;
}


/* Team */
.team-section {
  position: relative; 
}
.team-title {
  font-family: var(--heading-font);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
  color: #fff;
}

@media (min-width: 992px) {
  .team-top-row {
    margin-bottom: 50px;
  }
}

.team-divider {
  height: 1px;
  background: #fff;
  opacity: 0.6;
  width: 100%;
}

.team-section .team-top-row h4 {
  color: #fff;
  font-family: var(--heading-font);
}

.team-desc, .team-caption, .team-role, .team-bio, .team-linkedin {
  color: var(--whipped);
}

.team-name {
  color: var(--wow);
}

.team-role {
  font-size: .8rem;
}

.team-image-stage {
  position: relative;
  width: 100%;
  min-height: 380px;
  border-radius: 0;
  overflow: hidden;
}

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

.team-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.85);
}

.team-person {
  cursor: default;
}

.team-person:last-child {
  margin-bottom: 0 !important;
}

.team-person--staff:hover .team-name,
.team-person--partner:hover .team-name {
  text-decoration: underline;
}

.team-float-img {
  position: absolute;
  width: 140px;
  height: 170px;
  object-fit: cover;
  left: 0;
  top: 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none; /* don’t block hover */
  z-index: 50;
  margin: 0 !important;
  padding: 0 !important;
  transition: opacity .2s ease;
}

.team-float-img.is-active {
  opacity: 1;
  transition: opacity .2s ease;
}

.clients-title{
  font-family: var(--heading-font);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
}

.clients-row{
  border-top: 1px solid rgba(0,0,0,0.0);
  padding: 30px 0;
  border-bottom: 1px solid var(--collier);
}

.clients-row:first-child{
  border-top: 1px solid var(--collier);
}

.clients-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 28px 48px;
  align-items: center;
}

.clients-item{
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.clients-logo{
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transform: rotateX(0deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 500ms ease; /* total flip speed */
  will-change: transform;
}

.clients-logo.is-flipped-out{
  transform: rotateX(90deg);
}

/* Optional: slightly dim while flipping */
.clients-logo.is-flipping-out,
.clients-logo.is-flipping-in {
  filter: none;
}

/* Optional: disable click when no URL */
.clients-link.is-disabled,
.clients-link[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
}

.clients-logo-placeholder {
  display: block;
  width: 100%;
  height: 42px;
}

/* subtle hover (optional) */
.clients-link:hover .clients-logo{
  opacity: 1;
}

/* Insights */
.insight-feature-img,
.insight-card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insight-title {
  border-bottom: 1px solid var(--collier);
  padding-bottom: 20px;
  margin-bottom: 40px !important;
}

.insight-sidebar .insight-cat{
  color: var(--mahogany);
  text-decoration: none;
}

.insight-share{
  margin-top: 12px;
  background: none;
  border: 0;
  padding-top: 6px;
  color: var(--mahogany);
  width: 40px;
}

.insight-card-title{
  color: var(--mahogany);
}

.insight-card-placeholder{
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.08);
}

.insight-single {
  padding-top: 200px !important;
}



/* Responsive */
@media (max-width: 1199px){
  .clients-grid{ grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 767px){
  .clients-grid{ grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }
  .clients-logo{ height: 34px; }
}






@media (max-width: 1000px) {
  .t-col-left {
    grid-column: 1 / 13;
  }

  .t-col-mid {
    grid-column: 1 / 7;
  }

  .t-col-right {
    grid-column: 7 / 13;
  }
}

@media (max-width: 640px) {
  .t-col-mid,
  .t-col-right {
    grid-column: 1 / 13;
  }

  .testimonial-card {
    max-height: 190px;
  }

  .testimonial:hover .testimonial-card {
    max-height: 1400px;
  }

  .testimonial:first-child .testimonial-card {
    max-height: 1400px;
  }

  .testimonials.is-out .testimonial:first-child .testimonial-card {
    max-height: 190px;
  }

  .testimonials.is-out .testimonial:first-child:hover .testimonial-card {
    max-height: 1400px;
  }

  .image {
    height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-logo {
    transition: none;
  }
}

/* Forms */
#nf-form-3-cont {
  width: 100%;
}

#nf-form-3-cont .nf-field-label {
  display: none;
}

#nf-field-17 {
  border-bottom: 1px solid #EDECE8 !important;
  border: none;
  color: #EDECE8;
  padding: 9px 0 !important;
}

#nf-field-17:focus {
  outline: none !important;
  box-shadow: none !important;
}

#nf-field-17::placeholder {
  color: rgba(237, 236, 232, .4);
}

.nf-form-cont .nf-form-title,
.nf-form-cont .nf-form-fields-required {
  display: none;
}

.nf-field-label label,
.nf-field-label.nf-field-label .ninja-forms-req-symbol,
.nf-field-label label .ninja-forms-req-symbol {
  color: var(--mahogany);
  font-weight: 300 !important;
}

.nf-form-cont input.nf-element,
.nf-form-cont select.nf-element,
.nf-form-cont textarea.nf-element {
  background: transparent;
  border: 1px solid var(--mahogany);
  color: var(--mahogany);
  box-shadow: none;
  padding: 10px;
}

.nf-form-cont select.nf-element {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  background-image: url("data:image/svg+xml,<svg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 1L7 7L13 1' stroke='%23A8030B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

input#nf-field-11 {
  background-color: var(--glimmer-silver) !important;
  background-image: url("data:image/svg+xml,<svg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 1L7 7L1 13' stroke='%23A8030B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  color: var(--collier) !important;
  width: 100% !important;
  font-weight: 500 !important;
  text-align: left !important;
  border: none !important;
  padding-right: 36px !important;
  transition: background-color 0.2s ease !important;
}

input#nf-field-11:hover {
  background-color: var(--glimmer-silver) !important;
}

input#nf-field-11:focus {
  outline: none !important;
  box-shadow: none !important;
}

#nf-field-18, #nf-field-27 {
  background: var(--glimmer-silver);
  color: var(--collier);
  background-image: url("data:image/svg+xml,<svg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 1L7 7L1 13' stroke='%23A8030B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  border: 0;
  font-weight: 500 !important;
  transition: background-color 0.2s ease !important;
  width: 100%;
  text-align: left;
}

#nf-field-18:hover, #nf-field-27:hover {
  background: var(--glimmer);
}

nf-errors {
  display: none;
}

.nf-form-cont input.nf-element::placeholder,
.nf-form-cont textarea.nf-element::placeholder {
  color: rgba(58, 10, 15, 0.4);
}

.nf-form-cont input.nf-element:focus,
.nf-form-cont select.nf-element:focus,
.nf-form-cont textarea.nf-element:focus {
  box-shadow: 0 0 0 2px rgba(128, 44, 44, 0.18);
}

.nf-form-cont input[type="button"].nf-element,
.nf-form-cont button.nf-element {
  background: var(--collier);
  border: 2px solid var(--collier);
  color: #ffffff;
}

.nf-form-cont input[type="button"].nf-element:hover,
.nf-form-cont button.nf-element:hover {
  opacity: 0.92;
}

.nf-error .nf-element {
  border-color: var(--collier);
}

.nf-error-msg,
.nf-error-field-errors {
  color: var(--collier);
}







/* Footer */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
  background: var(--claret);
  padding: 80px 90px;
}

.footer-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-tab {
  font-family: var(--heading-font);
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 1.1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--wow);
  transition: color 0.2s ease;
  text-align: left;
}

.footer-tab.is-active {
  color: #fff;
}

.footer-panels {
  align-self: end;
}

.footer-panel {
  display: none;
  color: #fff;
}

.footer-panel.is-active {
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  background: var(--mahogany);
  padding: 40px 90px;
}

.footer-bottom-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex-shrink: 0;
}

.footer-logo {
  width: 80px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.footer-bottom-right {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-bottom-ack {
  text-align: right;
}

.footer-bottom-ack p {
  margin: 0;
  color: var(--wow);
  line-height: 1.5;
}

.footer-bottom-legal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.footer-bottom-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
}

.footer-bottom-legal a:hover {
  color: #fff;
}



/* Breakpoints */
@media (max-width: 1500px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 24px;
  }

  .footer-bottom-right {
    align-items: flex-start;
    max-width: 100%;
  }

  .footer-bottom-ack {
    text-align: left;
  }

  .footer-bottom-legal {
    justify-content: flex-start;
  }
}

