/* #region RESET & TOKENS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #F0B429;
  --gold-dk: #C99210;
  --black:   #0D0D0D;
  --off-blk: #141414;
  --charcoal:#1E1E1E;
  --mid:     #3A3A3A;
  --stone:   #8A8A8A;
  --mist:    #F2F0EC;
  --white:   #FFFFFF;
  --max:     1400px;
  --nav-h:   10rem;
  --ease:    cubic-bezier(.25,.46,.45,.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) { .wrap { padding: 0 1.25rem; } }
/* #endregion */

/* #region TYPOGRAPHY SCALE */
.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.0;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.25rem, 7vw, 6rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { line-height: 1.75; color: var(--mid); font-weight: 300; }
/* #endregion */

/* #region NAV */
@keyframes navFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  animation: navFadeIn 0.5s 0.1s ease both;
}

#nav.scrolled {
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  height: 5rem;
}

#nav.scrolled .nav-logo img {
  height: 5rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@keyframes logoAppear {
  from {
    opacity: 0;
    transform: scale(0.55) rotate(-25deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.nav-logo img {
  height: 9rem;
  width: auto;
  object-fit: contain;
  transition: height 0.35s var(--ease);
  animation: logoAppear 0.75s 0.4s var(--ease) both;
}

.nav-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.nav-wordmark span {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

@keyframes navLinkIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links li {
  animation: navLinkIn 0.4s var(--ease) both;
}
.nav-links li:nth-child(1) { animation-delay: 0.65s; }
.nav-links li:nth-child(2) { animation-delay: 0.75s; }
.nav-links li:nth-child(3) { animation-delay: 0.85s; }
.nav-links li:nth-child(4) { animation-delay: 0.95s; }
.nav-links li:nth-child(5) { animation-delay: 1.05s; }

.nav-links a:not(.nav-cta) {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 0.125rem;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -0.125rem; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 0.125rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-dk); color: var(--black); }
/* #endregion */

/* #region HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  cursor: pointer;
  padding: 0.25rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); }
/* #endregion */

/* #region MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
/* #endregion */

/* #region HERO */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  min-height: 37.5rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #1a1a14;
  background-image:
    linear-gradient(160deg, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.3) 60%, rgba(13,13,13,0.75) 100%);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.75s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  animation: kenBurns 9s ease-in-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(1.75rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label { animation: heroFadeUp 0.85s 0.7s var(--ease) both; }
.hero-title  { animation: heroFadeUp 0.85s 0.9s var(--ease) both; }
.hero-body   { animation: heroFadeUp 0.85s 1.05s var(--ease) both; }
.hero-cta    { animation: heroFadeUp 0.85s 1.2s var(--ease) both; }
.hero-scroll-hint { animation: heroFadeUp 0.85s 1.5s var(--ease) both; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.4) 55%, rgba(13,13,13,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-label {
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--white);
  max-width: 43.75rem;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  color: var(--gold);
  font-style: normal;
}

.hero-body {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  font-weight: 300;
  max-width: 30rem;
  line-height: 1.7;
  margin-bottom: 2.75rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 0.125rem;
  transition: background 0.2s, gap 0.2s;
}
.hero-cta:hover { background: var(--gold-dk); gap: 1.125rem; }
.hero-cta svg { width: 1rem; height: 1rem; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}
.hero-scroll-hint span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-scroll-hint svg {
  color: var(--white);
  width: 1.25rem;
  height: 1.25rem;
  animation: bobble 2s 2.4s ease-in-out infinite;
}

@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.375rem); }
}
/* #endregion */

/* #region SECTION COMMONS */
section { position: relative; }

.section-header {
  margin-bottom: 3.75rem;
}

.section-header .label {
  display: block;
  margin-bottom: 0.875rem;
}

.section-header h2 { color: var(--black); }
.section-header h2.light { color: var(--white); }

.section-header p {
  margin-top: 1.125rem;
  max-width: 32.5rem;
  font-size: 1.0625rem;
}

.section-header p.light { color: rgba(255,255,255,0.6); }

.divider {
  width: 3rem;
  height: 0.1875rem;
  background: var(--gold);
  margin-top: 1.25rem;
}
/* #endregion */

/* #region ABOUT */
#about {
  padding: 7.5rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-block {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  border-radius: 0.125rem;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8.75rem;
  height: 8.75rem;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.125rem;
}

.about-badge strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--black);
}

.about-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-blk);
}

.about-text { padding-left: 1.25rem; }

.about-text h2 { margin-bottom: 1.5rem; }

.about-text p { margin-bottom: 1.25rem; font-size: 1rem; }

.about-pillars {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar {
  padding: 1.25rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid var(--gold);
  background: var(--mist);
}

.pillar h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.pillar p { font-size: 0.875rem; margin: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3.75rem; }
  .about-text { padding-left: 0; }
  .about-badge { right: 1.25rem; }
}
/* #endregion */

/* #region TEAM */
#team {
  padding: 7.5rem 0;
  background: var(--mist);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3.75rem;
}

.team-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  overflow: hidden;
  border-radius: 0.5rem;
}

.team-card--flip {
  grid-template-columns: 3fr 2fr;
}

.team-card--flip .team-info {
  order: -1;
}

/* Photo */
.team-photo {
  position: relative;
  overflow: hidden;
  background: #2a2520;
  aspect-ratio: 3/4;
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-photo--bottom-right img {
  object-position: right bottom;
}

/* Info Panel */
.team-info {
  background: var(--white);
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 0.25rem solid var(--gold);
}

.team-card--flip .team-info {
  border-left: none;
  border-right: 0.25rem solid var(--gold);
}

.team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
}

.team-designation {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-top: 0.375rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--stone);
  margin-top: 0.25rem;
  font-style: italic;
}

.team-bio {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .team-card,
  .team-card--flip {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .team-photo {
    aspect-ratio: 4/3;
  }

  .team-info {
    padding: 2rem;
    border-left: none;
    border-top: 0.25rem solid var(--gold);
  }

  .team-card--flip .team-info {
    order: 0;
    border-right: none;
    border-top: 0.25rem solid var(--gold);
  }
}
/* #endregion */

/* #region SERVICES */
#services {
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
}

.services-parallax-bg {
  position: absolute;
  top: -75%;
  left: 0;
  right: 0;
  bottom: -75%;
  background: url(images/field-03.jpeg) 50% 50% / cover no-repeat;
  will-change: transform;
  z-index: 0;
}

#services::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.72);
  z-index: 1;
}

#services .wrap {
  position: relative;
  z-index: 2;
}

#services .section-header h2 { color: var(--white); }
#services .section-header p { color: rgba(255,255,255,0.5); }
#services .section-header .label { color: var(--gold); }
#services .divider { background: var(--gold); }
#services .section-header { margin-bottom: 0; }

.services-layout {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  justify-content: space-between;
}

.services-left {
  flex: 0 0 calc(50% - 2.5rem);
}

.services-right {
  flex: 0 0 calc(50% - 2.5rem);
  min-width: 0;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.service-cat {
  background: var(--off-blk);
  padding: 1.5rem 1.75rem;
  transition: background 0.25s;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.service-cat:hover { background: #1e1e1e; }

.service-cat-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background: var(--gold);
  border-radius: 0.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-cat-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--black);
}

.service-cat h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.service-list li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}

.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '';
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.service-cat:hover .service-list li { color: rgba(255,255,255,0.75); }

@media (max-width: 900px) {
  .services-layout {
    flex-direction: column;
    gap: 3rem;
  }
  .services-left {
    width: 100%;
  }
  .services-teaser-cta {
    justify-content: center;
  }
}
/* #endregion */

/* #region CLIENTS */
#clients {
  padding: 7.5rem 0;
  background: var(--white);
}

.clients-intro {
  font-size: 1.0625rem;
  max-width: 35rem;
  margin-bottom: 4rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
}

.client-tile {
  background: var(--white);
  aspect-ratio: 3/2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: background 0.2s;
  gap: 0.5rem;
}

.client-tile:hover { background: var(--mist); }

.client-tile-img {
  width: 100%;
  height: 3.25rem;
  background: var(--charcoal);
  border-radius: 0.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
}

.client-tile-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.client-tile-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
/* #endregion */

/* #region FOOTER */
#footer {
  background: var(--off-blk);
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.75rem;
}

.footer-logo {
  height: 7rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
  max-width: 18.75rem;
  line-height: 1.8;
  margin: 0;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.625rem;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-contact p svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1875rem;
}

.footer-bottom {
  margin-top: 3.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
/* #endregion */

/* #region MOBILE */
@media (max-width: 900px) {

  /* Nav */
  :root { --nav-h: 8rem; }

  .nav-logo img {
    height: 7rem;
  }

  #nav.scrolled .nav-logo img {
    height: 5rem;
  }

  /* Hero */
  #hero {
    padding-bottom: 3.5rem;
    align-items: flex-end;
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.75) 100%);
  }

  .hero-body {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }

  .hero-label {
    margin-bottom: 0.75rem;
  }

  .hero-title {
    margin-bottom: 1.25rem;
  }

  /* Sections */
  #about,
  #team,
  #services,
  #clients {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* About */
  .about-image-block {
    display: none;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Services */
  .services-parallax-bg {
    background-attachment: scroll;
  }

  #services .wrap {
    padding-top: 0;
  }

  /* Clients */
  .clients-intro {
    margin-bottom: 2rem;
  }

  /* Footer */
  #footer {
    padding: 3rem 0 0;
  }

  .footer-bottom {
    margin-top: 2.5rem;
  }
}

@media (max-width: 480px) {

  /* Nav */
  :root { --nav-h: 8rem; }

  .nav-logo img {
    height: 7rem;
  }

  /* Hero */
  .hero-scroll-hint {
    display: none;
  }

  /* About */
  .about-pillars {
    grid-template-columns: 1fr;
  }

  /* Clients */
  .client-tile {
    padding: 0.75rem;
  }

  .client-tile-name {
    font-size: 0.5625rem;
  }

  /* Footer */
  .footer-logo {
    height: 5rem;
  }
}
/* #endregion */

/* #region INNER PAGE */
body.inner-page {
  padding-top: 5rem;
}

body.inner-page #nav {
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  height: 5rem;
}

body.inner-page #nav .nav-logo img { height: 4rem; }

section[id] { scroll-margin-top: 5rem; }

.nav-links a:not(.nav-cta).active { color: var(--white); }
.nav-links a:not(.nav-cta).active::after { width: 100%; }

@media (max-width: 900px) {
  body.inner-page { padding-top: 5rem; }
  body.inner-page #nav { height: 5rem; }
}
/* #endregion */

/* #region INNER HERO */
.inner-hero {
  position: relative;
  margin-top: -5rem;
  height: calc(38vh + 5rem);
  min-height: calc(20rem + 5rem);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.75rem;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.5) 60%, rgba(13,13,13,0.2) 100%);
  z-index: 1;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.inner-hero-content .label {
  display: block;
  margin-bottom: 0.75rem;
  animation: heroFadeUp 0.7s var(--ease) 0.2s both;
}

.inner-hero-content h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  animation: heroFadeUp 0.85s var(--ease) 0.38s both;
}

.inner-hero-content h1 em {
  color: var(--gold);
  font-style: normal;
}

@media (max-width: 900px) {
  .inner-hero {
    height: calc(30vh + 5rem);
    min-height: calc(14rem + 5rem);
    padding-bottom: 2.5rem;
  }
}
/* #endregion */

/* #region BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 0.125rem;
  transition: background 0.2s, gap 0.2s;
}

.btn-primary:hover { background: var(--gold-dk); gap: 1.125rem; color: var(--black); }
.btn-primary svg { width: 1rem; height: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 0.125rem;
  transition: border-color 0.2s, color 0.2s, gap 0.2s;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); gap: 1.125rem; }
.btn-outline svg { width: 1rem; height: 1rem; }
/* #endregion */

/* #region SECTION CTA */
.section-cta { margin-top: 2.5rem; }
/* #endregion */

/* #region SERVICE CARD DESC */
.service-cat-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 0.5rem;
}
/* #endregion */

/* #region SERVICES TEASER CTA */
.services-teaser-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}
/* #endregion */

/* #region SERVICES PAGE — CATEGORY BLOCKS */

#services-intro {
  padding: 5.5rem 0 4.5rem;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.svc-intro-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.svc-intro-inner h2 em {
  color: var(--gold);
  font-style: normal;
}

.svc-intro-inner .divider {
  margin: 1.25rem auto 0;
}

.svc-intro-inner p {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.svc-block {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* #region SVC CARDS WASH */
.svc-block::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--svc-bg);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  opacity: 0.1;
  /* gradient mask wipes photo to transparent towards the info/category side */
  -webkit-mask-image: linear-gradient(to right, transparent 35%, black 70%);
  mask-image: linear-gradient(to right, transparent 35%, black 70%);
}

/* Flipped layout (Project Management) — cards on left, info on right */
.svc-block--flip::before {
  -webkit-mask-image: linear-gradient(to left, transparent 35%, black 70%);
  mask-image: linear-gradient(to left, transparent 35%, black 70%);
}
/* #endregion */

.svc-block--light { background: var(--white); }
.svc-block--dark  { background: var(--off-blk); }
.svc-block--mist  { background: var(--mist); }

.svc-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.svc-block--flip .svc-layout {
  grid-template-columns: 7fr 5fr;
}

.svc-block--flip .svc-info  { order: 2; }
.svc-block--flip .svc-cards { order: 1; }

/* Info Panel */
.svc-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(0,0,0,0.05);
  margin-bottom: -1rem;
}

.svc-block--dark .svc-num {
  color: rgba(255,255,255,0.05);
}

.svc-info .label {
  display: block;
  margin-bottom: 0.75rem;
}

.svc-info h3 {
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.svc-block--light .svc-info h3,
.svc-block--mist  .svc-info h3 { color: var(--black); }
.svc-block--dark  .svc-info h3  { color: var(--white); }

.svc-info .divider {
  margin-top: 1.25rem;
}

.svc-info p {
  margin-top: 1.25rem;
  font-size: 1rem;
  max-width: 22rem;
  line-height: 1.8;
}

.svc-block--dark .svc-info p {
  color: rgba(255,255,255,0.5);
}

/* Cards Grid */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.svc-card {
  padding: 1.5rem 1.25rem;
  background: var(--mist);
  border-top: 0.1875rem solid var(--gold);
  border-radius: 0.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.svc-card:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.08);
}

.svc-block--dark .svc-card {
  background: var(--charcoal);
}

.svc-block--mist .svc-card {
  background: var(--white);
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.04);
}

.svc-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gold);
  border-radius: 0.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-card-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--black);
}

.svc-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.2;
}

.svc-block--dark .svc-card-label {
  color: rgba(255,255,255,0.9);
}

/* 5th card — horizontal span */
.svc-card--span {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1100px) {
  .svc-layout {
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  #services-intro {
    padding: 4rem 0 3rem;
  }

  .svc-block {
    padding: 4rem 0;
  }

  .svc-layout,
  .svc-block--flip .svc-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .svc-block--flip .svc-info  { order: 0; }
  .svc-block--flip .svc-cards { order: 0; }

  .svc-num { font-size: 3.5rem; }

  .svc-info p { max-width: none; }
}

@media (max-width: 480px) {
  .svc-cards {
    grid-template-columns: 1fr;
  }

  .svc-card--span {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
  }
}
/* #endregion */

/* #region CONTACT CTA SECTION */
.contact-cta-section {
  background: var(--charcoal);
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-cta-inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.contact-cta-inner h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.contact-cta-inner p {
  color: rgba(255,255,255,0.5);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
}
/* #endregion */

/* #region CLIENT MARQUEE */
.client-marquee-wrap {
  background: var(--off-blk);
  padding: 1.75rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-inner { overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 5rem;
  animation: marqueeScroll 38s linear infinite;
  width: max-content;
  padding-left: 5rem;
}


.marquee-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  transition: opacity 0.25s;
  flex-shrink: 0;
}

.marquee-logo:hover { opacity: 0.7; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* #endregion */

/* #region PAGE TRANSITIONS */
#page-wipe {
  position: fixed;
  top: -5%;
  left: -15%;
  width: 130%;
  height: 110%;
  z-index: 9999;
  background: var(--off-blk);
  transform: skewX(-8deg) translate3d(-130%, 0, 0);
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

#page-wipe.wipe-covering {
  transform: skewX(-8deg) translate3d(0%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.2, 0, 0.4, 1);
}

#page-wipe.wipe-leaving {
  transform: skewX(-8deg) translate3d(130%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.8, 1);
}
/* #endregion */

/* #region CONTACT PAGE */
.contact-section {
  padding: 7.5rem 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 6rem;
  align-items: start;
}

.contact-info-col .label { display: block; margin-bottom: 0.875rem; }
.contact-info-col h2 { margin-bottom: 1.25rem; }

.contact-info-col > p {
  font-size: 1rem;
  max-width: 22rem;
  margin-bottom: 2.5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--mist);
  border-top: 0.1875rem solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gold);
}

.contact-info-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.6;
}

.contact-info-text a:hover { color: var(--gold); }

.contact-form-col { }

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--mist);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0.125rem;
  padding: 0.875rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.1);
}

.form-textarea {
  min-height: 9rem;
  resize: vertical;
}

/* #region CONTACT FORM — SUBMIT STATES & SPAM */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-submit { margin-top: 0.75rem; }

/* Spinner element inside the button */
.btn-spinner {
  display: none;
  width: 1.125rem;
  height: 1.125rem;
  animation: btn-spin 0.75s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

#contactSubmit.is-loading .btn-label { opacity: 0.6; }
#contactSubmit.is-loading .btn-icon  { display: none; }
#contactSubmit.is-loading .btn-spinner { display: block; }
#contactSubmit:disabled { opacity: 0.7; cursor: not-allowed; }

/* #endregion */

.form-status {
  padding: 1rem 1.25rem;
  border-radius: 0.125rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-status.success {
  background: rgba(34,197,94,0.08);
  border-left: 0.1875rem solid #22c55e;
  color: #166534;
}

.form-status.error {
  background: rgba(239,68,68,0.07);
  border-left: 0.1875rem solid #ef4444;
  color: #991b1b;
}

@media (max-width: 900px) {
  .contact-section { padding: 4rem 0; }
  .contact-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info-col > p { max-width: none; }
}
/* #endregion */

/* #region SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card-style pop-up reveal for pillar/grid cards */
.reveal-card {
  opacity: 0;
  transform: translateY(2.75rem) scale(0.96);
  transition: opacity 0.65s var(--ease), transform 0.75s var(--ease);
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Shared stagger delays — works for both .reveal and .reveal-card */
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
/* #endregion */
