@charset "UTF-8";
/*
Theme Name: GMCE
Theme URI: https://gmce.com.au
Author: Stackwell Studio
Author URI: https://stackwellstudio.com.au
Description: Custom website for Guthrie McGoldrick Consulting Engineers. The page designs live in the pages/ folder as HTML.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gmce
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
/* ================= VARIABLES ================= */
:root {
  --yellow: #f5bf23;
  --brown: #9a4750;
  --black: #111;
  --white: #fff;
  --light-color: #666;
  --light-bg: #eee;
  --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  --border: .1rem solid rgba(0, 0, 0, .3);
}

/* ================= GLOBAL RESET ================= */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

/* ================= MIXINS ================= */
/* ================= HTML BASE ================= */
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}
html::-webkit-scrollbar {
  width: 1rem;
}
html::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb {
  background: var(--brown);
  border-radius: 0.5rem;
}

@keyframes fadeIn {
  0% {
    top: 50%;
    opacity: 0;
  }
}
/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 10%;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: #eee3d6;
}
.header .logo {
  max-width: 250px;
  height: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.header .logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(154, 71, 80, 0.35));
}
@media (max-width: 768px) {
  .header .logo {
    max-width: 110px;
  }
}
.header .navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header .navbar a {
  font-size: 1.6rem;
  color: var(--black);
  text-transform: capitalize;
  font-weight: 500;
  margin: 0 3rem;
  text-transform: uppercase;
  position: relative;
  /* grey line between links */
}
.header .navbar a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -2.55rem;
  top: 50%;
  transform: translateY(-50%);
  height: 17px;
  width: 2px;
  background: rgba(0, 0, 0, 0.18);
}
.header .navbar a:hover {
  color: var(--brown);
}
.header .navbar a {
  /* current page: brown text */
}
.header .navbar a.active {
  color: var(--brown);
  font-weight: 700;
}
@media (max-width: 991px) {
  .header .navbar {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translate(-50%);
    width: 92%;
    max-width: 720px;
    padding: 2rem 0;
    background: #eee3d6;
    border-top: 3px solid var(--brown);
    box-shadow: var(--box-shadow);
    border-radius: 0.6rem;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    max-height: none;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease;
    z-index: 2000;
  }
  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .header .navbar a {
    display: block;
    padding: 1.8rem 3rem;
    margin: 0;
    border-bottom: 1px solid #eee;
    text-align: left;
  }
  .header .navbar a:last-child {
    border-bottom: none;
  }
}
.header .search-form {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: 70rem;
  background: var(--white);
  box-shadow: var(--box-shadow);
  padding: 1rem;
  display: none;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.2s linear;
}
.header .search-form.active {
  display: flex;
}
.header .search-form input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: var(--light-bg);
  font-size: 1.6rem;
  color: var(--light-color);
}
.header .search-form label {
  font-size: 2.5rem;
  -moz-columns: var(--black);
       columns: var(--black);
  cursor: pointer;
  margin: 0 1rem;
}
.header .search-form label:hover {
  color: var(--brown);
}
.header .icons div {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  background: var(--brown);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  border-radius: 0.8rem;
}
.header .icons div:hover {
  background: var(--light-bg);
  color: var(--black);
}
.header .icons div {
  margin-left: 0.3rem;
}
.header #menu-btn {
  display: none;
  cursor: pointer;
}
@media (max-width: 991px) {
  .header #menu-btn {
    display: inline-block;
  }
}

section {
  padding: 5rem 10%;
}

.contact-info {
  position: fixed;
  top: 0;
  right: -35rem;
  width: 34rem;
  height: 100%;
  background: #eee3d6;
  padding: 5rem 2rem 2rem;
  text-align: center;
  z-index: 1100;
  transition: right 0.4s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.08);
}
.contact-info.active {
  right: 0;
  box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.6);
}
.contact-info #close-contact-info {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.3s ease;
}
.contact-info #close-contact-info:hover {
  color: var(--brown);
  transform: rotate(90deg);
}
.contact-info .info {
  padding: 2.5rem 0;
}
.contact-info .info i {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  background: var(--brown);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  border-radius: 0.8rem;
}
.contact-info .info i:hover {
  background: var(--light-bg);
  color: var(--black);
}
.contact-info .info i {
  margin-bottom: 1rem;
}
.contact-info .info h3 {
  font-size: 1.9rem;
  color: var(--black);
  text-transform: capitalize;
  margin-bottom: 0.8rem;
}
.contact-info .info a {
  font-size: 1.5rem;
  color: var(--light-color);
  line-height: 2;
  display: inline-block;
  transition: 0.3s ease;
  position: relative;
}
.contact-info .info a:hover {
  color: var(--brown);
  transform: translateY(-2px);
}
.contact-info .divider {
  width: 60%;
  height: 1px;
  background: #e5e5e5;
  margin: 3rem auto 2.5rem;
}
.contact-info .share {
  margin-top: 2rem;
}
.contact-info .share a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  background: var(--brown);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  border-radius: 0.8rem;
}
.contact-info .share a:hover {
  background: var(--light-bg);
  color: var(--black);
}
.contact-info .share a {
  margin: 0 0.4rem;
  transition: 0.3s ease;
}
.contact-info .share a:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

@keyframes underlineSlide {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.btn {
  padding: 1.2rem 3.5rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--brown);
  color: var(--white);
}

.btn.primary:hover {
  background: #7d3840;
}

.btn.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.secondary:hover {
  background: #fff;
  color: #000;
}

.home {
  padding: 0 !important;
}
.home .slide {
  height: 88vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* LEFT ALIGN */
  padding: 0 12%;
  /* safe spacing */
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.home .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.2) 75%, transparent 100%);
}
.home .slide .content {
  position: relative;
  z-index: 5;
  max-width: 620px;
  color: var(--white);
  border-left: 4px solid var(--brown);
  padding-left: 2.5rem;
}
.home .slide .content h1 {
  font-size: 4.4rem;
  font-weight: 600;
  /* lighter = architectural */
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}
.home .slide .content span {
  color: var(--brown);
  font-weight: 700;
  position: relative;
}
.home .slide .content p {
  font-size: 1.8rem;
  color: #d5d5d5;
  max-width: 90%;
  margin: 2rem 0 3rem;
}
.home .slide .content .btn {
  display: inline-block;
  margin-top: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
  width: 4rem;
  height: 4rem;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
  color: white !important;
}

/* Push further out */
.swiper-button-prev {
  left: 2rem;
}

.swiper-button-next {
  right: 2rem;
}

/* Arrow */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--brown);
}

.swiper-pagination-progressbar {
  background: rgba(0, 0, 0, 0.1);
  height: 3px;
}

.swiper-pagination-progressbar-fill {
  background: var(--brown) !important;
}

.swiper-slide-active .content {
  animation: slideFade 1s ease forwards;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= MEDIA QUERIES ================= */
@media (max-width: 1200px) {
  .header {
    padding: 1.5rem 2rem;
  }
  section {
    padding: 3rem 5%;
  }
}
@media (max-width: 768px) {
  .header .search-form {
    width: 90%;
  }
  .home .slide {
    justify-content: center;
  }
  .home .slide .content {
    text-align: center;
  }
  .home .slide .content h1 {
    font-size: 2.8rem;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 3rem;
    height: 3rem;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.2rem;
  }
  .swiper-button-prev {
    left: 1rem;
  }
  .swiper-button-next {
    right: 1rem;
  }
}
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  section {
    padding: 3rem 2rem;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 3.5rem;
    height: 3.5rem;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.4rem;
  }
  .swiper-button-prev {
    left: 1.5rem;
  }
  .swiper-button-next {
    right: 1.5rem;
  }
}
@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
/* ================= WHAT WE DO (REFINED PREMIUM) ================= */
.what-we-do {
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0% 100%);
  padding: 12rem 9%;
  position: relative;
  background: #1c1c1c;
}

/* ===== Section Header ===== */
.what-we-do .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 7rem;
}

.what-we-do .section-header h2 {
  font-size: 3.5rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.what-we-do .section-header h2::after {
  content: "";
  width: 60px;
  height: 2px;
  background: var(--brown);
  display: block;
  margin: 1.5rem auto 0;
}

.what-we-do .section-header p {
  font-size: 1.6rem;
  color: #bdbdbd;
  line-height: 1.9;
}

/* ===== Grid ===== */
/* ================================================================
   HOME PAGE ADDITIONS — paste ALL of this at the END of style.scss
   The What We Do card styles are included below, so you don't need
   any .services-grid / .service-card rules elsewhere in style.scss
   (delete them if they're still there, to avoid duplicates).
   Keep .what-we-do and the .what-we-do .section-header rules.
   ================================================================ */
/* =========================================================
   WHAT WE DO — service cards (your original design)
   + Drafting card, centred bottom row, rise-in on scroll
   ========================================================= */
/* 3 per row; the last row is centred so 5 cards sit as 3 + 2 */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
}

.service-card {
  flex: 0 1 calc((100% - 8rem) / 3);
  background: #262626;
  padding: 4rem 3rem;
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(154, 71, 80, 0.4);
}

/* thin brown accent line on the left */
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 0%;
  width: 3px;
  background: var(--brown);
  transition: height 0.4s ease;
}

.service-card:hover::before {
  height: 100%;
}

/* icon */
.service-card .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
}

.service-card .icon svg {
  width: 100%;
  height: 100%;
  fill: var(--brown);
  transition: transform 0.3s ease, fill 0.3s ease;
}

.service-card:hover .icon svg {
  transform: scale(1.08);
  fill: var(--white);
}

/* Font Awesome icon (Drafting card) — sized to match the SVG icons */
.service-card .icon i {
  font-size: 4.6rem;
  color: var(--brown);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .icon i {
  transform: scale(1.08);
  color: var(--white);
}

/* text */
.service-card h3 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.service-card p {
  font-size: 1.5rem;
  color: #bdbdbd;
  line-height: 1.8;
}

/* ---------- rise in on scroll ----------
   Cards are only hidden once the script has started (.svc-armed),
   so they can never get stuck invisible. Uses "translate" so the
   hover lift (transform) still works afterwards. */
.services-grid.svc-armed:not(.is-in) .service-card {
  opacity: 0;
}

.services-grid.is-in .service-card {
  animation: svcRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.services-grid.is-in .service-card:nth-child(2) {
  animation-delay: 0.12s;
}

.services-grid.is-in .service-card:nth-child(3) {
  animation-delay: 0.24s;
}

.services-grid.is-in .service-card:nth-child(4) {
  animation-delay: 0.36s;
}

.services-grid.is-in .service-card:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes svcRise {
  from {
    opacity: 0;
    translate: 0 40px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
/* ---------- tablet & phone ---------- */
@media (max-width: 991px) {
  .services-grid {
    gap: 2.4rem;
  }
  .service-card {
    flex-basis: calc((100% - 2.4rem) / 2);
  }
}
@media (max-width: 600px) {
  .service-card {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-grid.is-in .service-card {
    animation: none;
  }
  .services-grid.svc-armed:not(.is-in) .service-card {
    opacity: 1;
  }
}
/* =========================================================
   SITE FOOTER — same on every page
   ========================================================= */
.site-footer {
  position: relative;
  background: #17191c;
  color: #b9bcc0;
  border-top: 3px solid var(--brown);
  overflow: hidden;
}

/* faint drafting grid, same motif as the rest of the site */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 5rem;
  padding: 8rem 9% 6rem;
}

/* brand column */
.footer-logo img {
  display: block;
  width: 22rem;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1); /* white version of the logo */
  opacity: 0.92;
}

.footer-brand p {
  margin: 2.4rem 0 2.8rem;
  max-width: 34rem;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #9da1a6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  font-size: 1.6rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-3px);
}

/* link columns */
.footer-col h4 {
  position: relative;
  margin-bottom: 2.4rem;
  padding-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  background: var(--brown);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
  line-height: 1.6;
}

.footer-col a {
  position: relative;
  color: #b9bcc0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 0.6rem;
}

/* contact column: icon + text */
.footer-contact li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: start;
  gap: 1rem;
}

.footer-contact i {
  margin-top: 0.4rem;
  font-size: 1.4rem;
  color: var(--brown);
}

.footer-contact a:hover {
  padding-left: 0;
}

/* bottom bar */
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  padding: 2.4rem 9%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
  color: #868a8f;
}

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.35rem;
  color: #b9bcc0;
  transition: color 0.3s ease;
}

.footer-top-btn i {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.2rem;
  color: #fff;
  background: var(--brown);
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.footer-top-btn:hover {
  color: #fff;
}

.footer-top-btn:hover i {
  transform: translateY(-3px);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 5rem 4rem;
  }
}
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 6rem 6% 4rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.4rem 6%;
  }
}
/* =========================================================
   HOME — RESPONSIVE FIXES
   ========================================================= */
/* hero: on phones the text is centred, so drop the left bar */
@media (max-width: 768px) {
  .home .slide .content {
    border-left: none;
    padding-left: 0;
  }
  .home .slide .content p {
    max-width: 100%;
  }
}
/* philosophy timeline: text was running into the screen edge */
.philosophy-section .container {
  padding: 0 5%;
}

@media (max-width: 768px) {
  .philosophy-section {
    padding: 7rem 0;
  }
  .about-firm-modern {
    padding: 8rem 6%;
  }
  .about-text {
    padding: 3.2rem 2.4rem;
  }
  .about-text h2 {
    font-size: 2.8rem;
  }
  .what-we-do {
    padding: 10rem 5% 8rem;
  }
  .engineering-arch {
    padding: 8rem 0;
  }
  .arch-header {
    margin-bottom: 5rem;
  }
  .arch-box {
    padding: 5rem 6%;
  }
}
/*vision section/*

/* ================= PHILOSOPHY SECTION ================= */
.philosophy-section {
  position: relative;
  padding: 10rem 0;
  color: #fff;
  overflow: hidden;
}

/* Background image */
.bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Dark overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 32, 32, 0.88);
  z-index: 1;
}

/* Container for timeline content */
.philosophy-section .container {
  position: relative;
  z-index: 2;
}

/* ================= TIMELINE ================= */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding-left: 6rem; /* space for numbers and line */
}

/* Vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 3rem; /* line position relative to numbers */
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #b25a64, #7f3741, #b25a64);
}

/* Timeline item */
.timeline-item {
  display: flex;
  align-items: flex-start; /* aligns number to top of content */
  gap: 2rem;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Timeline numbers */
.timeline-number {
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  min-width: 80px;
  text-align: center;
}

/* Timeline content */
.timeline-content {
  flex: 1;
}

/* Timeline headings and text */
.timeline-content h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--brown);
}

.timeline-content p,
.timeline-content li {
  font-size: 1.6rem;
  line-height: 1.9;
  color: #ccc;
}

.timeline-content ul {
  padding-left: 1.5rem;
}

/* Scroll reveal animation */
.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 991px) {
  .timeline {
    padding-left: 4rem;
  }
  .timeline::before {
    left: 2rem;
  }
  .timeline-number {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  .timeline {
    padding-left: 3rem;
  }
  .timeline::before {
    left: 1.5rem;
  }
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
    padding-left: 2rem;
  }
  .timeline-number {
    font-size: 3rem;
  }
  .timeline-content {
    padding-left: 0;
  }
  .timeline-content h3 {
    font-size: 2rem;
  }
  .timeline-content p,
  .timeline-content li {
    font-size: 1.4rem;
  }
}
@media (max-width: 450px) {
  .timeline-number {
    font-size: 2.5rem;
  }
  .timeline-content h3 {
    font-size: 1.8rem;
  }
  .timeline-content p,
  .timeline-content li {
    font-size: 1.3rem;
  }
}
.about-firm-modern {
  position: relative;
  padding: 14rem 9%;
  background: linear-gradient(135deg, #f6f2ed 50%, #ffffff 50%);
  overflow: hidden;
}

/* Subtle engineering grid background */
.about-firm-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.about-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 6rem;
  z-index: 2;
}

/* ================= TEXT PANEL ================= */
.about-text {
  background: #1c1c1c;
  padding: 6rem;
  color: #fff;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-text::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px; /* mirror floating border from image */
  width: 100%;
  height: 100%;
  border: 3px solid var(--brown);
  z-index: -1;
}

.about-text .tag {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
  display: inline-block;
  position: relative;
  padding-bottom: 0.8rem; /* space for underline */
}

.about-text .tag::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 30%; /* dynamically matches text width */
  height: 2px; /* thickness of the underline */
  background-color: var(--brown);
  border-radius: 2px; /* slightly rounded ends */
  transform: translateX(-50%);
}

.about-text h2 {
  font-size: 3.5rem; /* increased from 4.5rem */
  line-height: 1.2;
  margin: 2.5rem 0;
  font-weight: 600;
  color: var(--brown);
}

.about-text h2 span {
  color: var(--white);
}

.about-text p {
  font-size: 1.6rem;
  line-height: 1.9;
  color: #cfcfcf;
  margin-bottom: 2rem;
}

/* ================= IMAGE PANEL ================= */
.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  transform: translateY(40px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80%;
  height: 80%;
  border: 3px solid var(--brown);
  z-index: -1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-text {
    padding: 4rem;
  }
  .about-text h2 {
    font-size: 3.5rem; /* scale down for smaller screens */
  }
  .about-text::after {
    display: none; /* optional: hide floating border on mobile */
  }
  .about-image img {
    transform: none;
  }
  .about-image::after {
    display: none;
  }
}
/*civil and structural*/
/* ================= PREMIUM ENGINEERING SECTION ================= */
.engineering-arch {
  padding: 12rem 0;
  background: linear-gradient(to bottom, #1a1b1f, #15161a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* subtle grid & blueprint drafting marks */
.engineering-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(45deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px); /* diagonal */
  background-size: 60px 60px, 60px 60px, 120px 120px, 120px 120px;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.arch-header {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 8rem auto;
  text-align: center;
}

.arch-header h2 {
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.arch-line {
  width: 70px;
  height: 2px;
  background: #9a4750;
  margin: 0 auto;
}

/* Wrapper */
.arch-wrapper {
  display: flex;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  gap: 2rem;
}

/* Boxes */
.arch-box {
  padding: 8rem 8%;
  position: relative;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

/* ================= Measurement Ticks for Blueprint Look ================= */
.arch-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 10px), repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 10px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5; /* subtle effect */
}

/* Split 45% / 55% */
.arch-box.structural {
  flex: 0 0 45%;
  background: rgba(255, 255, 255, 0.02);
}

.arch-box.civil {
  flex: 0 0 55%;
  background: rgba(255, 255, 255, 0.04);
}

/* vertical divider glow */
.arch-box.structural::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, #9a4750, transparent);
  opacity: 0.9;
  box-shadow: 0 0 6px rgba(154, 71, 80, 0.5); /* subtle glow */
}

/* hover lift */
.arch-box:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
}

/* Background Text */
.arch-bg-text {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-size: 7rem;
  font-weight: 800;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
}

/* Content */
.arch-content {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.arch-content h3 {
  font-size: 2.6rem;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 20px;
}

/* vertical accent line */
.arch-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 3px;
  height: 22px;
  background: #9a4750;
}

.arch-content p {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #c8c8c8;
  margin-bottom: 3rem;
}

.arch-content ul {
  list-style: none;
  padding: 0;
}

.arch-content ul li {
  margin-bottom: 1.3rem;
  font-size: 1.45rem;
  color: #aaa;
  padding-left: 2rem;
  position: relative;
}

.arch-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #9a4750;
}

/* Responsive */
@media (max-width: 992px) {
  .arch-wrapper {
    flex-direction: column;
  }
  .arch-box.structural::after {
    display: none;
  }
  .arch-box {
    padding: 6rem 8%;
    flex: 1 1 100%;
  }
  .arch-bg-text {
    font-size: 4rem;
    right: 20px;
  }
}
/* ================= RESOURCES SECTION ================= */
.resources-section {
  position: relative;
  padding: 12rem 9%;
  background: #fdf6ec; /* soft cream background for brightness */
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.resources-section .resources-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.resources-section .resources-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(0.85) blur(1px) grayscale(20%); /* slightly muted image */
  transition: transform 0.6s ease;
}
.resources-section .resources-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55); /* light overlay */
  z-index: 1;
}
.resources-section .resources-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  text-align: center;
}
.resources-section .resources-content h1 {
  font-size: 3.2rem;
  color: #9a4750; /* matches your brown accent */
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}
.resources-section .resources-content h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: #9a4750;
  margin: 0.8rem auto 0;
}
.resources-section .resources-content p {
  font-size: 1.6rem;
  color: #080808;
  line-height: 2;
  margin-bottom: 3rem;
}
.resources-section .resources-content .btn.resources-btn {
  background: #9a4750;
  color: #fff;
  padding: 1.2rem 3.5rem;
  font-size: 1.5rem;
  border-radius: 0.6rem;
  transition: all 0.3s ease;
}
.resources-section .resources-content .btn.resources-btn:hover {
  background: #7d3840;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 991px) {
  .resources-section {
    padding: 10rem 5%;
  }
  .resources-content h1 {
    font-size: 3rem;
  }
  .resources-content p {
    font-size: 1.4rem;
  }
}
@media (max-width: 450px) {
  .resources-section {
    padding: 8rem 3%;
  }
  .resources-content h1 {
    font-size: 2.4rem;
  }
  .resources-content p {
    font-size: 1.2rem;
  }
}
/* ================= PROJECTS SECTION – BLACK + TEXTURE LINES ================= */
.projects-section {
  position: relative;
  padding: 8rem 0 12rem 0;
  overflow: hidden;
  /* solid black background + white line texture on top */
  background-color: #1c1c1c; /* base black */
  background-image: url("images/backk.png"); /* your white-line texture */
  background-repeat: repeat; /* tile if texture is small */
  background-position: center;
  background-size: cover; /* or contain if you want full image */
}

/* Header content */
.projects-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.projects-header h2 {
  font-size: 3.4rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.projects-header h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--brown);
  display: block;
  margin: 1.5rem auto 0;
}

.projects-header p {
  margin-top: 2rem;
  font-size: 1.6rem;
  color: #c7c3c3;
  line-height: 1.8;
}

/* Swiper Slides */
.projects-slider {
  position: relative;
  width: 100%;
  padding-bottom: 6rem;
  z-index: 2; /* above background */
}

.project-slide {
  position: relative;
  height: 620px;
  border-radius: 12px;
  overflow: hidden;
}

.project-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(1.15) contrast(1.1) saturate(1.05);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.project-slide:hover img {
  transform: scale(1.08);
  filter: brightness(1.3) contrast(1.15) saturate(1.1);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  background: linear-gradient(to top, rgba(36, 35, 38, 0.8), rgba(36, 35, 38, 0.4), transparent);
  z-index: 1;
}

.slide-content h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Swiper scaling */
.projects-slider .swiper-slide {
  transform: scale(0.85);
  opacity: 0.55;
  transition: 0.6s ease;
}

.projects-slider .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

/* Navigation arrows */
.projects-section .swiper-button-next,
.projects-section .swiper-button-prev {
  color: var(--brown);
  z-index: 3;
}

/* Projects button */
.projects-btn {
  text-align: center;
  margin-top: 5rem;
  position: relative;
  z-index: 2;
}

.projects-btn .btn {
  background: var(--brown);
  color: #fff;
  padding: 1.2rem 3.5rem;
  font-size: 1.5rem;
  border-radius: 0.6rem;
  transition: all 0.3s ease;
}

.projects-btn .btn:hover {
  background: #7d3840;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .project-slide {
    height: 500px;
  }
  .projects-header h2 {
    font-size: 3rem;
  }
  .projects-header p {
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  .project-slide {
    height: 420px;
  }
}
@media (max-width: 450px) {
  .project-slide {
    height: 340px;
  }
  .projects-slider .swiper-slide {
    transform: scale(1);
    opacity: 1;
  }
  .projects-header h2 {
    font-size: 2.4rem;
  }
  .projects-header p {
    font-size: 1.2rem;
  }
}
/* ================= OUR CLIENTS =================
   Replace your whole clients CSS block with this
   (from "// clients" down to the end of its
   @media (max-width: 768px) rule).
   The scrolling animation and logo hover are unchanged. */
.clients-section {
  position: relative;
  padding: 9rem 0;
  background: #f6f2ed; /* warm cream, same as About Our Firm */
  overflow: hidden;
}

/* faint drafting grid in the background */
.clients-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* centred heading with brown line, like the other sections */
.clients-header {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5.5rem;
  padding: 0 5%;
}

.clients-header h2 {
  display: inline-block;
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
}

.clients-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brown);
  margin: 1.5rem auto 0;
}

.clients-header p {
  margin-top: 2rem;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #666;
}

/* SLIDER */
.clients-slider {
  position: relative;
  overflow: hidden;
}

/* soft fade at both edges */
.clients-slider::before,
.clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-slider::before {
  left: 0;
  background: linear-gradient(to right, #f6f2ed, transparent);
}

.clients-slider::after {
  right: 0;
  background: linear-gradient(to left, #f6f2ed, transparent);
}

/* TRACK — same scrolling animation as before */
.clients-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: -moz-max-content;
  width: max-content;
  padding: 1rem 0;
  animation: scroll 55s linear infinite;
}

/* each logo sits on a clean white tile */
.client-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20rem;
  height: 10rem;
  padding: 1rem 2rem;
}

.clients-track img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 7rem;
  -o-object-fit: contain;
     object-fit: contain;
  transition: all 0.4s ease;
  mix-blend-mode: multiply;
}

/* hover → grey (same as before) */
.clients-track img:hover {
  filter: grayscale(100%);
  transform: scale(1.05);
}

/* Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* Responsive */
@media (max-width: 991px) {
  .clients-section {
    padding: 7rem 0;
  }
  .clients-header h2 {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .clients-track {
    gap: 1.6rem;
  }
  .client-logo {
    width: 17rem;
    height: 9.5rem;
    padding: 1.6rem 2rem;
  }
  .clients-track img {
    max-height: 5.4rem;
  }
}
@media (max-width: 450px) {
  .clients-header h2 {
    font-size: 2.4rem;
    letter-spacing: 3px;
  }
}
/* Hero About Section */
/* ================= ABOUT HERO (FINAL CLEAN VERSION) ================= */
/* =========================================================
   GMCE — ABOUT PAGE  (scoped)

   Paste this at the END of style.scss.
   Everything is nested inside .page-about, so none of it can
   reach index.html.

   REQUIRED in about.html:
       <body class="page-about">

   Also delete any earlier About-page rules still sitting in
   style.scss — especially the old block containing
   `animation: fadeUp 1s ease forwards;`
   ========================================================= */
.hero-about {
  padding: 0 !important;
}

/* HERO SLIDE (same as home style) */
.hero-slide {
  height: 48vh; /* your preferred height */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12%;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  transition: background-size 0.6s ease;
}

/* Premium overlay (same as home) */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.66) 45%, rgba(0, 0, 0, 0.63) 75%, transparent 100%);
  z-index: 1;
}

/* CONTENT (reuse home slider style) */
.hero-slide .content {
  position: relative;
  z-index: 5;
  max-width: 620px;
  color: var(--white);
  border-left: 4px solid var(--brown);
  padding-left: 2.5rem;
  animation: slideFade 1s ease forwards;
}

/* TITLE */
.hero-slide .content h1 {
  font-size: 4.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

/* TAGLINE (Option 3 applied) */
.hero-slide .content p {
  font-size: 2.2rem;
  margin-top: 2rem;
  color: #d5d5d5;
}

/* Highlight ONLY "Over 25 Years" */
.hero-slide .content p span {
  color: var(--brown);
  font-weight: 700;
}

/* Hover zoom (same feel as home slider) */
.hero-slide:hover {
  background-size: 110%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero-slide {
    height: 40vh;
    justify-content: center;
    text-align: center;
  }
  .hero-slide .content {
    border-left: none;
    padding-left: 0;
  }
  .hero-slide .content h1 {
    font-size: 2.8rem;
  }
  .hero-slide .content p {
    font-size: 1.6rem;
  }
}
/* ================= PREMIUM ABOUT SECTION ================= */
.about-engineering.premium {
  position: relative;
  padding: 9rem 9%;
  color: #fff;
  overflow: hidden;
  background: #191c20; /* changed */
}

/* subtle texture */
.about-engineering::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* BACKGROUND IMAGE */
.about-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
  z-index: 0; /* added */
  background: url("images/picture (6).jpg") no-repeat center/cover;
  opacity: 0.14;
  filter: grayscale(100%); /* added */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%);
  mask-image: linear-gradient(to right, transparent, #000 45%);
}

/* WRAPPER */
.about-wrapper {
  position: relative;
  z-index: 1; /* added */
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6rem;
}

/* LEFT CONTENT */
.about-main {
  position: relative;
  padding-left: 2rem;
}

/* elegant vertical line */
.about-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 2px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, var(--brown), transparent);
}

/* TAG */
.section-tag {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
}

.about-main h2,
.design-main h2,
.services-header h2,
.process-head h2 {
  font-size: 4.4rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

/* HEADING */
.about-main h2 {
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 1rem 0 2rem;
}

.about-main h2 span {
  color: var(--brown);
}

/* TEXT */
.about-main .lead {
  font-size: 1.9rem;
  color: #ddd;
  line-height: 1.6;
}

.about-main p {
  font-size: 1.6rem;
  color: #aaa;
  line-height: 1.8;
}

/* divider */
.about-line {
  width: 60px;
  height: 2px;
  background: var(--brown);
  margin: 2rem 0;
}

/* RIGHT PANEL (GLASS EFFECT) */
.about-highlight {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1); /* changed */
  border-left: 2px solid var(--brown);
  transition: transform 0.4s ease, background 0.4s ease;
}

.about-highlight:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07); /* changed */
}

.highlight-inner {
  padding: 3rem;
}

.about-highlight h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* LIST */
.about-highlight ul li {
  margin-bottom: 1.5rem;
  color: #ccc;
  font-size: 1.7rem;
  padding-left: 1.8rem;
  position: relative;
  transition: all 0.3s ease;
}

.about-highlight ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--brown);
}

.about-highlight ul li:hover {
  color: #fff;
  transform: translateX(6px);
}

/* ================= STATS ================= */
.about-stats {
  position: relative;
  z-index: 3;
  margin-top: 5rem; /* was 10rem */
  padding-top: 3.5rem; /* was 5rem */
  display: grid; /* was flex */
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: center;
  position: relative;
}

/* vertical separators */
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat h4 {
  font-size: 3.5rem;
  color: var(--brown);
  letter-spacing: 1px;
}

.stat p {
  font-size: 1.4rem;
  color: #aaa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .about-bg {
    width: 100%;
    opacity: 0.1;
  }
  .about-stats {
    flex-direction: column;
    gap: 3rem;
  }
  .stat:not(:last-child)::after {
    display: none;
  }
}
/* ================= HOW WE WORK ================= */
.process {
  position: relative;
  padding: 9rem 9%;
  background: #15181b; /* one step deeper than Who We Are */
  color: #fff;
  overflow: hidden;
}

/* ghost watermark */
.process-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(9rem, 18vw, 20rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.022);
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* header — left aligned, matching Who We Are */
.process-head {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-bottom: 5rem;
}

.process-head h2 {
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 1rem 0 0;
}

.process-head h2 span {
  color: var(--brown);
}

.process-head p {
  font-size: 1.6rem;
  line-height: 1.75;
  color: #a8adb3;
}

/* the row */
.process-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  list-style: none;
}

/* hairline running behind the cards, tying the stages together */
.process-list::before {
  content: "";
  position: absolute;
  top: 4.6rem;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.process-step {
  position: relative;
  padding: 3rem 2.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid transparent;
  transition: transform 0.4s ease, background 0.4s ease, border-top-color 0.4s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-top-color: var(--brown);
}

.step-no {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brown);
  margin-bottom: 1.6rem;
}

.process-step h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 1.45rem;
  line-height: 1.7;
  color: #a8adb3;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-list::before {
    display: none;
  }
}
@media (max-width: 768px) {
  .process {
    padding: 7rem 6%;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .process-head h2 {
    font-size: 2.8rem;
  }
}
/* ================= OTHER SERVICES STRIP ================= */
/* ================= OTHER SERVICES STRIP ================= */
.services-strip {
  position: relative;
  padding: 9rem 9%;
  background: #15181b url("images/picture (14).jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

/* DARK OVERLAY — tinted to the section colours, not pure black */
.services-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21, 24, 27, 0.94) 0%, rgba(21, 24, 27, 0.8) 55%, rgba(21, 24, 27, 0.62) 100%);
}

/* CONTENT */
.services-content {
  position: relative;
  z-index: 2;
}

/* HEADER */
.services-header {
  max-width: 620px;
  margin-bottom: 5rem;
}

.services-header h2 {
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 1rem 0 0;
}

.services-header h2 span {
  color: var(--brown);
}

.services-header .lead {
  font-size: 1.6rem;
  line-height: 1.75;
  color: #a8adb3;
}

/* CARDS GRID */
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1040px;
}

/* CARD */
.service-card {
  position: relative;
  padding: 3rem 2.8rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s ease, background 0.4s ease;
}

.service-card i {
  display: block;
  font-size: 2rem;
  margin-bottom: 1.6rem;
  color: var(--brown);
}

.service-card h3 {
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1.45rem;
  line-height: 1.7;
  color: #a8adb3;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

/* wine line sweeps in on hover */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width 0.4s ease;
}

.service-card:hover::after {
  width: 100%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .services-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .services-strip {
    padding: 7rem 6%;
  }
  .services-header h2 {
    font-size: 2.8rem;
  }
  .services-cards {
    grid-template-columns: 1fr;
  }
}
/* ================= DIRECTOR + PEOPLE PREMIUM ================= */
/* ================= TEAM PREMIUM (MERGED SECTION) ================= */
.team-premium {
  padding: 9rem 9%;
  color: #fff;
  background: #121417;
}

/* ================= DIRECTOR ================= */
.director-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr; /* was 1fr 1.2fr */
  gap: 6rem;
  align-items: center;
  margin-bottom: 8rem;
}

.director-content {
  position: relative;
  padding-left: 2.5rem;
}

.director-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 1px;
  height: 72%;
  background: linear-gradient(to bottom, var(--brown), transparent);
}

.director-content h2 {
  font-size: 4.4rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin: 1rem 0 0.6rem;
}

.role {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--brown);
}

.credentials {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a9099;
}

.director-content p {
  font-size: 1.6rem;
  color: #a8adb3;
  line-height: 1.75;
}

/* QUOTE */
.director-quote {
  margin-top: 2.4rem;
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.6;
  color: #dfe3e7;
}

/* IMAGE */
.director-image {
  position: relative;
}

.director-image img {
  display: block;
  width: 100%;
  max-width: 340px; /* hard cap */
  aspect-ratio: 1/1; /* was 4/5 */
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  border-radius: 4px;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.director-image:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}

/* offset wine frame behind the photo */
.director-image::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--brown);
  pointer-events: none;
}

/* ================= PEOPLE ================= */
.people-header {
  position: relative;
  max-width: 560px;
  margin-bottom: 4rem;
  padding-top: 6rem;
}

.people-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.14) 60%, transparent 100%);
}

.people-header h2 {
  font-size: 4.4rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin: 1rem 0 1.4rem;
}

.people-header p {
  font-size: 1.6rem;
  color: #a8adb3;
  line-height: 1.75;
}

/* ================= CARDS ================= */
.person-card {
  position: relative;
  height: 420px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1d21;
  transition: transform 0.4s ease;
}

.person-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  filter: none;
  transition: transform 0.5s ease;
}

.person-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 17, 20, 0.92), transparent 58%);
  pointer-events: none;
}

/* wine line sweeps in on hover */
.person-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 0;
  height: 3px;
  background: var(--brown);
  transition: width 0.45s ease;
}

.person-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 2.2rem;
}

.person-content h4 {
  font-size: 1.8rem;
  font-weight: 500;
}

.person-content span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
}

/* HOVER */
.person-card:hover {
  transform: translateY(-10px);
}

.person-card:hover img {
  transform: scale(1.06);
}

.person-card:hover::before {
  width: 100%;
}

/* touch devices have no hover — show everyone in colour */
@media (hover: none) {
  .director-image img,
  .person-card img {
    filter: grayscale(0%);
  }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .director-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .director-image::before {
    inset: 14px -14px -14px 14px;
  }
}
@media (max-width: 700px) {
  .team-premium {
    padding: 7rem 6%;
  }
  .director-content h2,
  .people-header h2 {
    font-size: 2.8rem;
  }
}
/* CLEAN PREMIUM BAND (NO IMAGE) */
/* ================= OUR APPROACH ================= */
/* ================= OUR APPROACH ================= */
.highlight-clean {
  position: relative;
  padding: 6rem 9%; /* was 10rem */
  background: #f2f1ee;
  color: #16181b;
  text-align: center;
  overflow: hidden;
  border-top: 3px solid var(--brown); /* the line, at the section edge */
}

.approach-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0; /* was 5rem 0 */
}

.highlight-clean h2 {
  font-size: 4.4rem;
  font-weight: 400;
  line-height: 1.15;
  margin: 1.4rem 0 2.4rem;
}

.highlight-clean h2 span {
  color: var(--brown);
}

.highlight-clean p {
  font-size: 1.7rem;
  color: #56606b;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* the four words */
.approach-marks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.5rem;
  margin-top: 4rem;
}

.approach-marks span {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
}

/* small wine dot between the words */
.approach-marks span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--black);
}

/* divider: fading rule with a wine diamond centred on it */
.approach-divider {
  position: relative;
  width: 200px;
  height: 1px;
  margin: 2.6rem auto;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0.25) 75%, transparent);
}

.approach-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--brown);
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 700px) {
  .highlight-clean {
    padding: 7rem 6%;
  }
  .highlight-clean h2 {
    font-size: 2.8rem;
  }
  .approach-marks {
    gap: 2.4rem;
  }
  .approach-marks span:not(:last-child)::after {
    right: -1.4rem;
  }
}
/* ================= SCROLL REVEAL ================= */
/* ================= PAGE LOAD REVEAL ================= */
/* ================= SCROLL REVEAL ================= */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.d1 {
  transition-delay: 0.12s;
}

.js .reveal.d2 {
  transition-delay: 0.24s;
}

.js .reveal.d3 {
  transition-delay: 0.36s;
}

.js .reveal.d4 {
  transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.active {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* =========================================================
   GMCE — PROJECTS PAGE  (scoped)

   1. DELETE the previous projects CSS you pasted into style.scss
   2. Paste this at the END of style.scss and recompile.

   Everything sits under .page-projects, so it can't affect
   other pages.  Requires: <body class="page-projects">
   Uses your existing :root variables (--brown, --white).
   ========================================================= */
.page-projects {
  /* warm, natural palette: charcoal, sand, clay, eucalypt */
  --prj-dark: #1b1c1a; /* warm charcoal */
  --prj-cream: #f4efe7; /* light sand (viewer panel) */
  --prj-sand: #ece5da; /* gallery background, ties to header */
  --prj-ink: #1b1c1a; /* main text on light */
  --prj-text: #5d5850; /* body text on light */
  --prj-muted: #857f76;
  --prj-line: rgba(27, 28, 26, 0.12);
  --prj-olive: #6e7b5c; /* eucalypt accent */
  --prj-on-dark: #ece5da; /* main text on dark */
  --prj-dark-text: #a9a196; /* body text on dark */
  background: var(--prj-sand);
}

/* ================= HERO SLIDER ================= */
.page-projects .prj-hero {
  padding: 0;
  height: 62vh;
  min-height: 42rem;
  background: var(--prj-dark);
}

.page-projects .prjHeroSwiper,
.page-projects .prjHeroSwiper .swiper-wrapper,
.page-projects .prj-hero-slide {
  height: 100%;
}

.page-projects .prj-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12%;
  overflow: hidden;
  background: var(--prj-dark);
}

.page-projects .prj-hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* same overlay as your home / about hero */
.page-projects .prj-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.2) 75%, transparent 100%);
}

.page-projects .prj-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: var(--white);
  border-left: 4px solid var(--brown);
  padding-left: 2.5rem;
}

.page-projects .swiper-slide-active .prj-hero-content {
  animation: prjSlideUp 1s ease both;
}

@keyframes prjSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.page-projects .prj-hero-content p {
  font-size: 1.8rem;
  color: #d5d5d5;
  margin-bottom: 1rem;
}

.page-projects .prj-hero-content h2 {
  font-size: 4.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-projects .prjHeroSwiper .swiper-pagination {
  bottom: 3rem;
  left: 12%;
  width: auto;
  text-align: left;
}

.page-projects .prjHeroSwiper .swiper-pagination-bullet {
  width: 3.6rem;
  height: 3px;
  border-radius: 0;
  background: var(--white);
  opacity: 0.4;
  margin: 0 0.6rem 0 0 !important;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.page-projects .prjHeroSwiper .swiper-pagination-bullet-active {
  width: 6.4rem;
  opacity: 1;
  background: var(--brown);
}

/* ================= SHARED LABEL ================= */
.page-projects .prj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
}

.page-projects .prj-eyebrow::before {
  content: "";
  width: 4rem;
  height: 1px;
  background: currentColor;
}

/* ================= PROJECTS INTRO (dark) ================= */
.page-projects .prj-intro {
  position: relative;
  padding: 11rem 9% 9rem;
  background: var(--prj-dark);
  color: var(--prj-on-dark);
  overflow: hidden;
}

/* faint drafting grid */
.page-projects .prj-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-projects .prj-intro-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 4rem 8rem;
  align-items: end;
}

.page-projects .prj-intro .prj-eyebrow {
  color: var(--brown);
}

.page-projects .prj-intro h1 {
  margin-top: 2.6rem;
  font-size: clamp(3.4rem, 4.2vw, 5.8rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #f4efe7;
}

.page-projects .prj-intro h1 span {
  color: var(--brown);
}

.page-projects .prj-intro-copy .lead {
  font-size: 1.8rem;
  line-height: 1.75;
  color: #d8d0c4;
  margin-bottom: 1.8rem;
}

.page-projects .prj-intro-copy p {
  font-size: 1.55rem;
  line-height: 1.8;
  color: var(--prj-dark-text);
}

/* sectors as a ruled, numbered row */
.page-projects .prj-sectors {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 7rem;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-projects .prj-sectors li {
  padding: 2.4rem 2rem 0;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--prj-on-dark);
}

.page-projects .prj-sectors li:first-child {
  padding-left: 0;
}

.page-projects .prj-sectors li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.page-projects .prj-sectors li span {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brown);
}

/* ================= OUR PROJECTS — GALLERY ================= */
.page-projects .prj-list {
  padding: 9rem 0 0;
  background: var(--prj-sand);
  color: var(--prj-ink);
}

.page-projects .prj-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0 4rem;
  padding: 0 9%;
  margin-bottom: 4rem;
}

.page-projects .prj-list-head h2 {
  margin-top: 1.8rem;
  font-size: clamp(3.6rem, 4.4vw, 5.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--prj-ink);
}

.page-projects .prj-count {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--prj-muted);
  padding-bottom: 0.8rem;
}

/* filter as underline tabs on a hairline */
.page-projects .prj-filter {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 0 3.4rem;
  margin-top: 3.6rem;
  border-bottom: 1px solid var(--prj-line);
}

.page-projects .prj-filter button {
  position: relative;
  padding: 1.4rem 0;
  font-size: 1.45rem;
  color: var(--brown);
  background: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.page-projects .prj-filter button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width 0.35s ease;
}

.page-projects .prj-filter button:hover {
  color: var(--prj-ink);
}

.page-projects .prj-filter button[aria-pressed=true] {
  color: var(--prj-ink);
  font-weight: 500;
}

.page-projects .prj-filter button[aria-pressed=true]::after {
  width: 100%;
}

/* full-width mosaic, hairline gaps */
.page-projects .prj-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(24rem, 25vw, 42rem);
  gap: 6px;
  padding: 0 6px 6px;
}

.page-projects .prj-tile {
  grid-column: span 4;
}

.page-projects .prj-tile.is-feature {
  grid-column: span 8;
  grid-row: span 2;
}

.page-projects .prj-tile.is-feature-right {
  grid-column: 5/span 8;
}

.page-projects .prj-tile.is-half {
  grid-column: span 6;
}

.page-projects .prj-tile.is-full {
  grid-column: span 12;
}

/* tiles rise in gently as you scroll */
.page-projects .prj-tile.prj-rise {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-projects .prj-tile.prj-rise.is-in {
  opacity: 1;
  transform: none;
}

.page-projects .prj-card {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #d9d3ca;
}

.page-projects .prj-card:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: -3px;
}

/* the photo */
.page-projects .prj-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.page-projects .prj-photo.is-loaded {
  opacity: 1;
}

@media (hover: hover) {
  .page-projects .prj-card:hover .prj-photo {
    transform: scale(1.03);
  }
}
/* soft shade at the bottom so captions read on any photo */
.page-projects .prj-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 12, 0.86) 0%, rgba(10, 11, 12, 0.5) 32%, rgba(10, 11, 12, 0.1) 58%, transparent 70%);
  opacity: 0.9;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.page-projects .prj-card:hover::after {
  opacity: 1;
}

/* brown line sweeps in on hover — same motif as the rest of the site */
.page-projects .prj-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 0;
  height: 3px;
  background: var(--brown);
  transition: width 0.5s ease;
}

.page-projects .prj-card:hover::before,
.page-projects .prj-card:focus-visible::before {
  width: 100%;
}

/* caption */
.page-projects .prj-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: 2.6rem 2.8rem;
  color: var(--white);
}

.page-projects .prj-tag {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e9e1d6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.6rem;
}

.page-projects .prj-title {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
}

.page-projects .is-feature .prj-title {
  font-size: 2.8rem;
}

.page-projects .prj-view {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-projects .prj-card:hover .prj-view,
.page-projects .prj-card:focus-visible .prj-view {
  opacity: 1;
  transform: none;
}

/* image that couldn't be found: hide the broken icon */
.page-projects img.is-missing {
  visibility: hidden;
}

.page-projects .prj-empty {
  grid-column: 1/-1;
  font-size: 1.6rem;
  color: var(--prj-text);
  padding: 4rem 9%;
}

/* ================= CLOSING BAND ================= */
.page-projects .prj-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 9rem 9%;
  margin-top: 6px;
  background: var(--prj-dark);
  color: var(--white);
}

.page-projects .prj-cta-tag {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1.2rem;
}

.page-projects .prj-cta h2 {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.page-projects .prj-cta p {
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--prj-dark-text);
  max-width: 52ch;
}

.page-projects .prj-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

/* ================= PROJECT VIEWER (full-screen lightbox) ================= */
.page-projects .prj-dialog {
  border: 0;
  padding: 0;
  margin: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: #0e1012;
  color: var(--white);
  overflow: hidden;
}

.page-projects .prj-dialog::backdrop {
  background: #0e1012;
}

.page-projects .prj-dialog[open] {
  animation: prjFade 0.35s ease;
}

@keyframes prjFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.page-projects .prj-lb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42rem;
  height: 100%;
}

/* the photo, shown whole — never cropped */
.page-projects .prj-lb-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.page-projects .prj-lb-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 9rem 3rem;
  min-height: 0;
}

.page-projects .prj-lb-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-projects .prj-lb-stage img.is-loaded {
  opacity: 1;
}

.page-projects .prj-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5.2rem;
  height: 5.2rem;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.page-projects .prj-lb-arrow:hover {
  background: var(--brown);
  border-color: var(--brown);
}

.page-projects .prj-lb-arrow.prev {
  left: 2.4rem;
}

.page-projects .prj-lb-arrow.next {
  right: 2.4rem;
}

.page-projects .prj-lb-count {
  position: absolute;
  left: 9rem;
  bottom: 0.6rem;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: #8f959b;
}

/* single-photo projects: hide photo arrows and strip */
.page-projects .prj-dialog.is-single .prj-lb-arrow,
.page-projects .prj-dialog.is-single .prj-thumbs {
  display: none;
}

/* thumbnail strip */
.page-projects .prj-thumbs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.6rem 9rem 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-projects .prj-thumbs::-webkit-scrollbar {
  display: none;
}

.page-projects .prj-thumbs button {
  flex: 0 0 auto;
  position: relative;
  width: 9.6rem;
  height: 6.4rem;
  padding: 0;
  overflow: hidden;
  background: #24262a;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.page-projects .prj-thumbs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--brown);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-projects .prj-thumbs button:hover {
  opacity: 0.8;
}

.page-projects .prj-thumbs button[aria-current=true] {
  opacity: 1;
}

.page-projects .prj-thumbs button[aria-current=true]::after {
  transform: scaleX(1);
}

.page-projects .prj-thumbs img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.page-projects .prj-thumbs button:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

/* photo count badge on gallery tiles */
.page-projects .prj-badge {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.1rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(27, 28, 26, 0.6);
}

/* project-to-project buttons in the details panel */
.page-projects .prj-lb-info {
  display: flex;
  flex-direction: column;
}

.page-projects .prj-proj-nav {
  margin-top: auto;
  padding-top: 3.2rem;
  display: flex;
  gap: 0.8rem;
}

.page-projects .prj-proj-nav button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 1rem;
  font-size: 1.3rem;
  color: var(--prj-ink);
  background: transparent;
  border: 1px solid rgba(27, 28, 26, 0.2);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.page-projects .prj-proj-nav button:hover {
  border-color: var(--brown);
  color: var(--brown);
}

.page-projects .prj-proj-nav button:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

/* details panel */
.page-projects .prj-lb-info {
  background: var(--prj-cream);
  color: var(--prj-ink);
  padding: 8rem 4.4rem 4.4rem;
  overflow-y: auto;
}

/* client logos — one or more, side by side */
.page-projects .prj-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem; /* space between logos */
  margin-bottom: 3rem;
}

.page-projects .prj-logos:empty {
  display: none;
}

.page-projects .prj-logo {
  flex: 0 1 auto; /* slot is only as wide as the logo */
  min-width: 0;
  max-width: 16rem; /* very wide logos still stay in check */
  height: 7rem;
  display: flex;
  align-items: center;
}

.page-projects .prj-logo + .prj-logo {
  padding-left: 2rem;
  border-left: 1px solid rgba(27, 28, 26, 0.15);
}

.page-projects .prj-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left center;
     object-position: left center;
}

.page-projects .prj-lb-tag {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--prj-olive);
  margin-bottom: 1rem;
}

.page-projects .prj-lb-info h3 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2.4rem;
}

.page-projects .prj-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 2rem;
  padding: 1.6rem 0;
  margin-bottom: 2.4rem;
  border-top: 1px solid var(--prj-line);
  border-bottom: 1px solid var(--prj-line);
}

.page-projects .prj-facts dt {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  padding-top: 0.2rem;
}

.page-projects .prj-facts dd {
  font-size: 1.5rem;
  color: var(--prj-ink);
}

.page-projects .prj-desc {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--prj-text);
  white-space: pre-line; /* a blank line in the text starts a new paragraph */
}

.page-projects .prj-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 5;
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--white);
  background: var(--prj-ink);
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-projects .prj-close:hover {
  background: var(--brown);
}

.page-projects .prj-filter button:focus-visible,
.page-projects .prj-lb-arrow:focus-visible,
.page-projects .prj-close:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .page-projects .prj-intro-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
  }
  .page-projects .prj-sectors {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.4rem;
    margin-top: 5rem;
  }
  .page-projects .prj-sectors li:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
  .page-projects .prj-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(22rem, 38vw, 34rem);
  }
  .page-projects .prj-grid {
    grid-auto-flow: dense;
  }
  .page-projects .prj-tile,
  .page-projects .prj-tile.is-half {
    grid-column: auto/span 1;
  }
  .page-projects .prj-tile.is-feature,
  .page-projects .prj-tile.is-feature-right,
  .page-projects .prj-tile.is-full {
    grid-column: auto/span 2;
    grid-row: span 1;
  }
  /* no hover on touch screens: always show the caption */
  .page-projects .prj-view {
    opacity: 1;
    transform: none;
  }
  .page-projects .prj-dialog {
    overflow-y: auto;
  }
  .page-projects .prj-lb {
    grid-template-columns: 1fr;
    height: auto;
  }
  .page-projects .prj-lb-stage {
    flex: none;
    height: 56vh;
    padding: 6rem 1.6rem 5rem;
  }
  .page-projects .prj-thumbs {
    justify-content: flex-start;
    padding: 1.2rem 1.6rem 2rem;
  }
  .page-projects .prj-thumbs button {
    width: 7.2rem;
    height: 4.8rem;
  }
  .page-projects .prj-lb-arrow {
    top: auto;
    bottom: 1.2rem;
    transform: none;
    width: 4.4rem;
    height: 4.4rem;
  }
  .page-projects .prj-lb-arrow.prev {
    left: auto;
    right: 7.2rem;
  }
  .page-projects .prj-lb-arrow.next {
    right: 1.6rem;
  }
  .page-projects .prj-lb-count {
    left: 1.6rem;
    bottom: 2.4rem;
  }
  .page-projects .prj-lb-info {
    padding: 4rem 2.8rem 6rem;
  }
}
@media (max-width: 768px) {
  .page-projects .prj-hero-slide {
    justify-content: center;
    padding: 0 6%;
  }
  .page-projects .prj-hero-content h2 {
    font-size: 2.8rem;
  }
  .page-projects .prjHeroSwiper .swiper-pagination {
    left: 0;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .page-projects .prj-intro {
    padding: 7rem 6%;
  }
  .page-projects .prj-intro h1 {
    font-size: 3rem;
  }
  .page-projects .prj-sectors {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-projects .prj-sectors li,
  .page-projects .prj-sectors li + li {
    padding-left: 0;
    border-left: 0;
  }
  .page-projects .prj-list {
    padding-top: 7rem;
  }
  .page-projects .prj-list-head {
    padding: 0 6%;
    grid-template-columns: 1fr;
  }
  .page-projects .prj-list-head h2 {
    font-size: 3.2rem;
  }
  .page-projects .prj-count {
    padding: 1rem 0 0;
  }
  .page-projects .prj-filter {
    gap: 0 2.2rem;
  }
  .page-projects .prj-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 28rem;
  }
  .page-projects .prj-tile,
  .page-projects .prj-tile.is-half,
  .page-projects .prj-tile.is-feature,
  .page-projects .prj-tile.is-feature-right,
  .page-projects .prj-tile.is-full {
    grid-column: auto/span 1;
    grid-row: span 1;
  }
  .page-projects .prj-cta {
    padding: 7rem 6%;
  }
  .page-projects .prj-cta h2 {
    font-size: 2.8rem;
  }
  .page-projects .is-feature .prj-title {
    font-size: 2.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-projects .prj-photo,
  .page-projects .prj-view,
  .page-projects .prj-tile.prj-rise,
  .page-projects .prj-lb-stage img,
  .page-projects .swiper-slide-active .prj-hero-content,
  .page-projects .prj-dialog[open] {
    transition: none;
    animation: none;
  }
}
/* =========================================================
   SCROLL ANIMATIONS — About Our Firm + Engineering Expertise
   Paste at the END of style.scss and recompile.
   (Elements are only hidden once script.js is running, so
   nothing can get stuck invisible.)
   ========================================================= */
@keyframes rvUp {
  from {
    opacity: 0;
    translate: 0 40px;
  }
  to {
    opacity: 1;
    translate: none;
  }
}
@keyframes rvFromRight {
  from {
    opacity: 0;
    translate: 60px 0;
  }
  to {
    opacity: 1;
    translate: none;
  }
}
@keyframes rvLine {
  from {
    width: 0;
  }
  to {
    width: 70px;
  }
}
/* ---------- About Our Firm ----------
   text lines inside the dark panel rise in one by one,
   the photo (with its brown frame) slides in from the right */
.about-firm-modern.rv-armed:not(.is-in) .about-text > *,
.about-firm-modern.rv-armed:not(.is-in) .about-image {
  opacity: 0;
}

.about-firm-modern.is-in .about-text > * {
  animation: rvUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.about-firm-modern.is-in .about-text > :nth-child(1) {
  animation-delay: 0.1s;
}

.about-firm-modern.is-in .about-text > :nth-child(2) {
  animation-delay: 0.25s;
}

.about-firm-modern.is-in .about-text > :nth-child(3) {
  animation-delay: 0.4s;
}

.about-firm-modern.is-in .about-text > :nth-child(4) {
  animation-delay: 0.55s;
}

.about-firm-modern.is-in .about-text > :nth-child(5) {
  animation-delay: 0.7s;
}

.about-firm-modern.is-in .about-image {
  animation: rvFromRight 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
}

/* the Read More button is an inline link, so give it a box to move */
.about-text .btn {
  display: inline-block;
}

/* ---------- Engineering Expertise ----------
   heading rises, brown line draws out, then the two boxes rise in */
.engineering-arch.rv-armed:not(.is-in) .arch-header h2,
.engineering-arch.rv-armed:not(.is-in) .arch-box {
  opacity: 0;
}

.engineering-arch.rv-armed:not(.is-in) .arch-line {
  width: 0;
}

.engineering-arch.is-in .arch-header h2 {
  animation: rvUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.engineering-arch.is-in .arch-line {
  animation: rvLine 0.7s ease 0.3s both;
}

.engineering-arch.is-in .arch-box {
  animation: rvUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.engineering-arch.is-in .arch-box.structural {
  animation-delay: 0.35s;
}

.engineering-arch.is-in .arch-box.civil {
  animation-delay: 0.55s;
}

/* ---------- respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  .about-firm-modern.is-in .about-text > *,
  .about-firm-modern.is-in .about-image,
  .engineering-arch.is-in .arch-header h2,
  .engineering-arch.is-in .arch-line,
  .engineering-arch.is-in .arch-box {
    animation: none;
  }
  .about-firm-modern.rv-armed:not(.is-in) .about-text > *,
  .about-firm-modern.rv-armed:not(.is-in) .about-image,
  .engineering-arch.rv-armed:not(.is-in) .arch-header h2,
  .engineering-arch.rv-armed:not(.is-in) .arch-box {
    opacity: 1;
  }
  .engineering-arch.rv-armed:not(.is-in) .arch-line {
    width: 70px;
  }
}
/* =========================================================
   HOME — OUR CLIENTS + PROJECTS refresh
   Paste at the END of style.scss (after everything else)
   and recompile. These rules override the older ones.
   ========================================================= */
/* ---------- OUR CLIENTS: taller, centred heading like other sections ---------- */
.clients-section {
  padding: 9rem 5% 8rem;
}

/* remove the old thin top line — the heading has its own line now */
.clients-section::before {
  display: none;
}

.clients-header {
  text-align: center;
  margin-bottom: 5rem;
}

.clients-header h2 {
  display: inline-block;
  border-left: none;
  padding-left: 0;
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
}

/* brown line under the heading, same as What We Do / Projects */
.clients-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brown);
  margin: 1.5rem auto 0;
}

/* slightly larger logos with more breathing room */
.clients-track {
  gap: 8rem;
}

.clients-track img {
  height: 80px;
}

/* ---------- PROJECTS: clean square cards ---------- */
.project-slide {
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 4px;
  background: #262626;
}

.project-slide img {
  filter: none;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-slide:hover img {
  transform: scale(1.05);
  filter: none;
}

/* caption: softer shade, brown line above the title */
.slide-content {
  padding: 3rem 3rem 2.8rem;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.45) 55%, transparent 100%);
}

.slide-content h3 {
  position: relative;
  padding-top: 1.6rem;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.slide-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3.6rem;
  height: 2px;
  background: var(--brown);
  transition: width 0.5s ease;
}

.project-slide:hover .slide-content h3::before {
  width: 7rem;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .project-slide {
    height: auto;
  } /* override the old fixed heights */
  .clients-section {
    padding: 7rem 5% 6rem;
  }
  .clients-header h2 {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .project-slide {
    height: auto;
  }
  .clients-track {
    gap: 4rem;
  }
  .clients-track img {
    height: 56px;
  }
}
@media (max-width: 450px) {
  .project-slide {
    height: auto;
  }
  .clients-header h2 {
    font-size: 2.4rem;
    letter-spacing: 3px;
  }
}
/* =========================================================
   HOME HERO — auto-play fade with line indicators
   (same feel as the Projects page). Paste at the END of
   style.scss and recompile. Pictures and text unchanged.
   ========================================================= */
/* no arrows — the slides change by themselves */
.home .swiper-button-next,
.home .swiper-button-prev {
  display: none;
}

/* indicators: slim lines at the bottom-left, under the text */
.home .swiper-pagination {
  bottom: 4rem !important;
  left: 12% !important;
  width: auto !important;
  text-align: left;
  z-index: 10;
}

.home .swiper-pagination-bullet {
  width: 3.6rem;
  height: 3px;
  border-radius: 0;
  background: var(--white);
  opacity: 0.4;
  margin: 0 0.6rem 0 0 !important;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.home .swiper-pagination-bullet-active {
  width: 6.4rem;
  opacity: 1;
  background: var(--brown);
}

/* phones: centre the lines, like the text */
@media (max-width: 768px) {
  .home .swiper-pagination {
    left: 0 !important;
    width: 100% !important;
    text-align: center;
  }
  .home .swiper-pagination-bullet {
    margin: 0 0.3rem !important;
  }
}
/* ---------- slow zoom on the current photo ----------
   The photo starts slightly enlarged and eases back over the
   slide's 5.5 seconds; the text stays still. */
.home .slide {
  isolation: isolate;
  overflow: hidden;
}

.home .slide-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform;
}

.home .swiper-slide-active .slide-bg {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .home .slide-bg,
  .home .swiper-slide-active .slide-bg {
    transform: none;
    transition: none;
  }
}
/* =========================================================
   SITE SEARCH — results under the header search box
   Paste at the END of style.scss and compile.
   ========================================================= */
.header .search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 42rem;
  overflow-y: auto;
  background: var(--white);
  border-top: 3px solid var(--brown);
  border-radius: 0 0 0.6rem 0.6rem;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.14);
  padding: 0.6rem 0;
  z-index: 10;
}

.header .search-results[hidden] {
  display: none;
}

.header .search-result {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 2rem;
  color: var(--black);
  transition: background 0.2s ease;
}

.header .search-result + .search-result {
  border-top: 1px solid #f0ebe4;
}

.header .search-type {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
}

.header .search-title {
  font-size: 1.5rem;
  line-height: 1.45;
}

.header .search-result i {
  font-size: 1.2rem;
  color: #b8b0a6;
  transition: transform 0.2s ease, color 0.2s ease;
}

.header .search-result:hover,
.header .search-result[aria-selected=true] {
  background: #f6f2ed;
}

.header .search-result:hover i,
.header .search-result[aria-selected=true] i {
  color: var(--brown);
  transform: translateX(3px);
}

.header .search-empty {
  padding: 1.8rem 2rem;
  font-size: 1.4rem;
  color: var(--light-color);
}

@media (max-width: 600px) {
  .header .search-result {
    grid-template-columns: 1fr auto;
    gap: 0.4rem 1rem;
  }
  .header .search-type {
    grid-column: 1/-1;
  }
  .header .search-result i {
    grid-row: 2;
    grid-column: 2;
  }
}
/* =========================================================
   HEADER — shrinks smoothly once you scroll
   Paste at the END of style.scss and compile.
   (script.js adds .is-scrolled to the header)
   ========================================================= */
.header {
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header .logo {
  transition: max-width 0.3s ease, transform 0.35s ease, filter 0.35s ease;
}

.header .icons div {
  transition: background 0.3s ease, color 0.3s ease, height 0.3s ease, width 0.3s ease, line-height 0.3s ease;
}

.header.is-scrolled {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08);
}

.header.is-scrolled .logo {
  max-width: 190px;
}

.header.is-scrolled .icons div {
  height: 4.4rem;
  width: 4.4rem;
  line-height: 4.4rem;
}

@media (max-width: 768px) {
  .header.is-scrolled .logo {
    max-width: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header,
  .header .logo,
  .header .icons div {
    transition: none;
  }
}
/* =========================================================
   CAREERS PAGE  (scoped — only affects careers.html)
   Paste at the END of style.scss and compile.
   REQUIRED in careers.html:  <body class="page-careers">

   Uses the site palette only:
     wine      var(--brown) #9a4750   / hover #7d3840
     charcoal  #191c20  and #15181b   (same as About / footer)
     cream     #f6f2ed               (same as Our Clients)
     ink       #16181b   grey text #56606b   light text #a8adb3
   ========================================================= */
.page-careers {
  /* ================= HERO: drawing sheet ================= */
}
.page-careers .cr-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 7rem;
  align-items: center;
  padding: 10rem 9% 11rem;
  background: #f6f2ed;
  overflow: hidden;
}
.page-careers {
  /* faint drafting grid — the site's existing motif */
}
.page-careers .cr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-careers .cr-hero-text,
.page-careers .cr-sheet {
  position: relative;
}
.page-careers .cr-hero h1 {
  font-size: 5rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #16181b;
  max-width: 11ch;
}
.page-careers .cr-hero-lead {
  margin-top: 2.6rem;
  max-width: 52rem;
  font-size: 1.75rem;
  line-height: 1.8;
  color: #56606b;
}
.page-careers .cr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 3rem;
  margin-top: 4rem;
}
.page-careers .cr-hero-actions .btn {
  display: inline-block;
}
.page-careers .cr-link {
  font-size: 1.55rem;
  font-weight: 500;
  color: #16181b;
  border-bottom: 1px solid rgba(22, 24, 27, 0.3);
  padding-bottom: 0.3rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.page-careers .cr-link:hover {
  color: var(--brown);
  border-color: var(--brown);
}
.page-careers {
  /* ---- the sheet ---- */
}
.page-careers .cr-sheet {
  margin: 0;
  background: #fff;
  border: 2px solid #16181b;
  box-shadow: 1.6rem 1.6rem 0 rgba(154, 71, 80, 0.12);
}
.page-careers .cr-sheet-drawing {
  padding: 3rem 3rem 1rem;
  border-bottom: 2px solid #16181b;
}
.page-careers .cr-sheet-drawing svg {
  display: block;
  width: 100%;
  height: auto;
}
.page-careers .cr-draw path {
  stroke: #16181b;
}
.page-careers .cr-draw .ln-main {
  stroke-width: 3;
}
.page-careers .cr-draw .ln-brace {
  stroke-width: 1.5;
  stroke: var(--brown);
}
.page-careers .cr-draw .ln-ground {
  stroke-width: 2;
}
.page-careers .cr-draw .ln-hatch {
  stroke-width: 1;
  stroke: #8a9099;
}
.page-careers .cr-draw .ln-dim {
  stroke-width: 1;
  stroke: #8a9099;
}
.page-careers .cr-dim-text text {
  font-size: 11px;
  letter-spacing: 1px;
  fill: #8a9099;
}
.page-careers {
  /* title block cells */
}
.page-careers .cr-sheet-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.page-careers .cr-cell {
  padding: 1.4rem 2rem 1.6rem;
  border-top: 1px solid #16181b;
}
.page-careers .cr-cell:nth-child(even) {
  border-left: 1px solid #16181b;
}
.page-careers .cr-cell-wide {
  grid-column: 1/-1;
  border-top: none;
  border-left: none !important;
}
.page-careers {
  /* after the wide cell, the left column is the odd cells */
}
.page-careers .cr-cell-wide ~ .cr-cell:nth-child(even) {
  border-left: none;
}
.page-careers .cr-cell-wide ~ .cr-cell:nth-child(odd) {
  border-left: 1px solid #16181b;
}
.page-careers .cr-cell dt {
  font-size: 1.2rem;
  font-weight: 500;
  color: #8a9099;
  margin-bottom: 0.4rem;
}
.page-careers .cr-cell dd {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 500;
  color: #16181b;
}
.page-careers .cr-cell-wide dd {
  font-size: 1.8rem;
  color: var(--brown);
}
.page-careers {
  /* the one animated moment: the frame draws itself on load */
}
.page-careers .cr-draw path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: crDraw 2.2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s forwards;
}
.page-careers .cr-draw .ln-brace {
  animation-delay: 1.1s;
}
.page-careers .cr-draw .ln-dim,
.page-careers .cr-draw .ln-hatch {
  animation-delay: 1.5s;
}
.page-careers .cr-dim-text {
  opacity: 0;
  animation: crFade 0.6s ease 2.4s forwards;
}
.page-careers {
  /* ================= ROLES (project photo, dark overlay) ================= */
}
.page-careers .cr-roles {
  position: relative;
  padding: 11rem 9%;
  background: #15181b;
  color: #fff;
  overflow: hidden;
}
.page-careers .cr-roles-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(35%);
}
.page-careers {
  /* same tinted overlay as the Other Services strip */
}
.page-careers .cr-roles-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21, 24, 27, 0.95) 0%, rgba(21, 24, 27, 0.86) 55%, rgba(21, 24, 27, 0.72) 100%);
}
.page-careers .cr-roles-head,
.page-careers .cr-role-list {
  position: relative;
  z-index: 1;
}
.page-careers .cr-roles-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 6rem;
}
.page-careers .cr-roles-head h2,
.page-careers .cr-why-head h2 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.15;
  color: #16181b;
}
.page-careers .cr-roles-head h2 {
  color: #fff;
}
.page-careers .cr-roles-head p {
  max-width: 52rem;
  font-size: 1.65rem;
  line-height: 1.8;
  color: #c8ccd1;
}
.page-careers .cr-role-list {
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.page-careers .cr-role {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: baseline;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.page-careers .cr-role h3 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s ease;
}
.page-careers .cr-role p {
  max-width: 52rem;
  font-size: 1.55rem;
  line-height: 1.8;
  color: #b9bec4;
}
.page-careers .cr-role:hover h3 {
  color: #c46b75;
}
.page-careers {
  /* ================= WHY GMCE (light) ================= */
}
.page-careers .cr-why {
  padding: 11rem 9%;
  background: #f6f2ed;
}
.page-careers .cr-why-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8rem;
  align-items: start;
}
.page-careers .cr-why-head {
  position: sticky;
  top: 14rem;
}
.page-careers .cr-why-head p {
  margin-top: 2rem;
  max-width: 38rem;
  font-size: 1.65rem;
  line-height: 1.8;
  color: #56606b;
}
.page-careers .cr-why-item {
  position: relative;
  padding: 3.4rem 0 3.4rem 3rem;
  border-left: 1px solid rgba(22, 24, 27, 0.14);
}
.page-careers {
  /* wine tick where each item meets the line */
}
.page-careers .cr-why-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 3.9rem;
  width: 3px;
  height: 2.2rem;
  background: var(--brown);
}
.page-careers .cr-why-item h3 {
  font-size: 2.1rem;
  font-weight: 500;
  color: #16181b;
  margin-bottom: 1rem;
}
.page-careers .cr-why-item p {
  max-width: 56rem;
  font-size: 1.55rem;
  line-height: 1.8;
  color: #56606b;
}
.page-careers .cr-tools {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}
.page-careers .cr-tools li {
  padding: 0.7rem 1.4rem;
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  background: var(--brown);
  border-radius: 3px;
}
.page-careers {
  /* ================= GRADUATES (photo + beige panel) ================= */
}
.page-careers .cr-grad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  background: #eee3d6; /* same beige as the header */
}
.page-careers .cr-grad-photo {
  min-height: 56rem;
  background-size: cover;
  background-position: center;
}
.page-careers .cr-grad-text {
  padding: 10rem 9% 10rem 7rem;
  align-self: center;
}
.page-careers .cr-grad h2 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.15;
  color: #16181b;
  margin-bottom: 2.4rem;
}
.page-careers .cr-grad-text p {
  max-width: 54rem;
  font-size: 1.65rem;
  line-height: 1.8;
  color: #56606b;
}
.page-careers .cr-grad-text p + p {
  margin-top: 1.4rem;
}
.page-careers .cr-grad-list {
  list-style: none;
  margin: 3.6rem 0 4rem;
  border-top: 1px solid rgba(22, 24, 27, 0.14);
}
.page-careers .cr-grad-list li {
  display: flex;
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.6rem 0;
  font-size: 1.6rem;
  color: #16181b;
  border-bottom: 1px solid rgba(22, 24, 27, 0.14);
}
.page-careers .cr-grad-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.4rem;
  height: 2px;
  background: var(--brown);
  transform: translateY(-0.4rem);
}
.page-careers .cr-grad .btn {
  display: inline-block;
}
.page-careers {
  /* ================= QUOTE BAND (full-width photo) ================= */
}
.page-careers .cr-quote {
  position: relative;
  padding: 16rem 9%;
  background: #15181b;
  color: #fff;
  overflow: hidden;
}
.page-careers .cr-quote-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* gentle depth as you scroll */
}
.page-careers .cr-quote-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21, 24, 27, 0.9) 0%, rgba(21, 24, 27, 0.72) 50%, rgba(21, 24, 27, 0.45) 100%);
}
.page-careers .cr-quote-inner {
  position: relative;
  max-width: 80rem;
  margin: 0;
  padding-left: 3rem;
  border-left: 3px solid var(--brown);
}
.page-careers .cr-quote blockquote {
  margin: 0;
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1.35;
  color: #fff;
}
.page-careers .cr-quote figcaption {
  margin-top: 2.6rem;
  font-size: 1.5rem;
  color: #b9bec4;
}
.page-careers .cr-quote figcaption strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.3rem;
}
.page-careers .cr-quote-link {
  display: inline-block;
  margin-top: 3rem;
  padding-bottom: 0.3rem;
  font-size: 1.55rem;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid var(--brown);
  transition: color 0.3s ease;
}
.page-careers .cr-quote-link:hover {
  color: #d7a3a9;
}
.page-careers .cr-quote-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.page-careers {
  /* ================= APPLY (dark) ================= */
}
.page-careers .cr-apply {
  position: relative;
  padding: 11rem 9%;
  background: #15181b;
  color: #fff;
  overflow: hidden;
}
.page-careers {
  /* faded photo on the right, same treatment as the About page background */
}
.page-careers .cr-apply-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: grayscale(100%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%);
  mask-image: linear-gradient(to right, transparent, #000 55%);
  pointer-events: none;
}
.page-careers .cr-apply-inner {
  position: relative;
  max-width: 110rem;
}
.page-careers .cr-apply h2 {
  font-size: 4rem;
  font-weight: 500;
}
.page-careers .cr-apply-inner > p {
  margin-top: 1.6rem;
  max-width: 56rem;
  font-size: 1.65rem;
  line-height: 1.8;
  color: #a8adb3;
}
.page-careers .cr-email {
  display: inline-block;
  margin-top: 3.6rem;
  font-size: 3.2rem;
  font-weight: 400;
  color: #fff;
  border-bottom: 2px solid var(--brown);
  padding-bottom: 0.6rem;
  transition: color 0.3s ease;
  word-break: break-word;
}
.page-careers .cr-email:hover {
  color: #d7a3a9;
}
.page-careers .cr-apply-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 2rem 7rem;
  margin: 6rem 0 0;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.page-careers .cr-apply-meta dt {
  font-size: 1.25rem;
  color: #8a9099;
  margin-bottom: 0.4rem;
}
.page-careers .cr-apply-meta dd {
  margin: 0;
  font-size: 1.55rem;
  color: #dfe3e7;
}
.page-careers .cr-apply-meta a {
  color: #dfe3e7;
  transition: color 0.3s ease;
}
.page-careers .cr-apply-meta a:hover {
  color: #fff;
}
.page-careers {
  /* ================= HEADINGS: half wine + underline (matches other pages) ================= */
}
.page-careers .cr-hero h1 span,
.page-careers .cr-roles-head h2 span,
.page-careers .cr-why-head h2 span,
.page-careers .cr-grad h2 span,
.page-careers .cr-apply h2 span {
  color: var(--brown);
}
.page-careers {
  /* .about-line already exists in style.scss; only spacing is adjusted here */
}
.page-careers .cr-hero .about-line,
.page-careers .cr-roles-head .about-line,
.page-careers .cr-why-head .about-line,
.page-careers .cr-grad .about-line,
.page-careers .cr-apply .about-line {
  margin: 2rem 0 0;
}
.page-careers .cr-grad h2,
.page-careers .cr-apply h2 {
  margin-bottom: 0;
}
.page-careers .cr-grad .about-line {
  margin-bottom: 2.4rem;
}
.page-careers .cr-apply .about-line {
  margin-bottom: 0.4rem;
}
.page-careers {
  /* ================= FOCUS ================= */
}
.page-careers .cr-link:focus-visible,
.page-careers .cr-email:focus-visible,
.page-careers .cr-apply-meta a:focus-visible,
.page-careers .btn:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 4px;
}
.page-careers {
  /* ================= RESPONSIVE ================= */
}
@media (max-width: 1100px) {
  .page-careers .cr-hero {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
  .page-careers .cr-hero h1 {
    max-width: none;
  }
  .page-careers .cr-sheet {
    max-width: 64rem;
  }
}
@media (max-width: 991px) {
  .page-careers .cr-roles-head,
  .page-careers .cr-role,
  .page-careers .cr-why-inner,
  .page-careers .cr-grad {
    grid-template-columns: 1fr;
  }
  .page-careers .cr-roles-head {
    gap: 2rem;
  }
  .page-careers .cr-role {
    gap: 1rem;
  }
  .page-careers .cr-why-inner {
    gap: 5rem;
  }
  .page-careers .cr-grad-photo {
    min-height: 32rem;
  }
  .page-careers .cr-quote {
    padding: 12rem 6%;
  }
  .page-careers .cr-quote-bg {
    background-attachment: scroll;
  }
  .page-careers .cr-quote blockquote {
    font-size: 2.8rem;
  }
  .page-careers .cr-apply-bg {
    width: 100%;
    opacity: 0.12;
  }
  .page-careers .cr-grad-text {
    padding: 7rem 6%;
  }
  .page-careers .cr-why-head {
    position: static;
  }
  .page-careers .cr-email {
    font-size: 2.8rem;
  }
  .page-careers .cr-apply-meta {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .page-careers .cr-hero,
  .page-careers .cr-roles,
  .page-careers .cr-why,
  .page-careers .cr-apply {
    padding: 7rem 6%;
  }
  .page-careers .cr-hero h1 {
    font-size: 3.2rem;
  }
  .page-careers .cr-roles-head h2,
  .page-careers .cr-why-head h2,
  .page-careers .cr-grad h2,
  .page-careers .cr-apply h2 {
    font-size: 3rem;
  }
  .page-careers .cr-sheet {
    box-shadow: 1rem 1rem 0 rgba(154, 71, 80, 0.12);
  }
  .page-careers .cr-sheet-drawing {
    padding: 2rem 1.6rem 0.6rem;
  }
  .page-careers .cr-cell {
    padding: 1.2rem 1.4rem;
  }
  .page-careers .cr-email {
    font-size: 2.4rem;
  }
  .page-careers .cr-apply-meta {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-careers .cr-draw path,
  .page-careers .cr-dim-text {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* careers drawing animation (kept outside the block on purpose) */
@keyframes crDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes crFade {
  to {
    opacity: 1;
  }
}
/* =========================================================
   ABOUT — OUR PEOPLE: Engineers and Draftspersons as separate groups
   Paste at the END of style.scss and compile.
   Reuses your existing .person-card styles (photo, gradient,
   name, role, wine line on hover) — only the layout is new.
   ========================================================= */
/* underline sits after the intro sentence and keeps the default
   .about-line spacing (2rem), like the other headings;
   then extra space before the Engineers group */
.people-header {
  margin-bottom: 7rem;
}

.team-group + .team-group {
  margin-top: 8rem;
}

/* group title with a hairline running out to the right */
.team-group-head {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-bottom: 4.5rem;
}

.team-group-head h3 {
  flex: 0 0 auto;
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  padding-left: 1.4rem;
  border-left: 3px solid var(--brown);
  line-height: 1.1;
}

.team-group-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.14), transparent);
}

/* same 4-column grid for both groups, so every card is the same size */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.team-grid .person-card {
  height: 400px;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .team-grid .person-card {
    height: 320px;
  }
  .team-group + .team-group {
    margin-top: 6rem;
  }
  .team-group-head {
    margin-bottom: 3.2rem;
  }
  .people-header {
    margin-bottom: 5rem;
  }
}
@media (max-width: 450px) {
  .team-grid {
    gap: 1.4rem;
  }
  .team-grid .person-card {
    height: 250px;
  }
  .team-grid .person-content {
    padding: 1.4rem;
  }
  .team-grid .person-content h4 {
    font-size: 1.6rem;
  }
  .team-grid .person-content span {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }
}
/* ---------- "Join our team" tile (fills the empty 4th slot) ---------- */
.team-join {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 400px;
  padding: 2.6rem;
  border: 1px solid rgba(154, 71, 80, 0.55);
  border-radius: 4px;
  background: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px), #1a1d21;
  background-size: 30px 30px, 30px 30px, auto;
  color: #fff;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}

/* same wine line sweep as the person cards */
.team-join::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--brown);
  transition: width 0.45s ease;
}

.team-join-label {
  position: absolute;
  top: 2.6rem;
  left: 2.6rem;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
}

.team-join h4 {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.team-join p {
  margin-top: 1rem;
  font-size: 1.45rem;
  line-height: 1.7;
  color: #a8adb3;
}

.team-join-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
}

.team-join-link i {
  color: var(--brown);
  transition: transform 0.3s ease;
}

.team-join:hover {
  transform: translateY(-10px);
  border-color: var(--brown);
}

.team-join:hover::before {
  width: 100%;
}

.team-join:hover .team-join-link i {
  transform: translateX(4px);
}

.team-join:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .team-join {
    height: 320px;
  }
}
@media (max-width: 450px) {
  .team-join {
    height: 250px;
    padding: 1.6rem;
  }
  .team-join-label {
    top: 1.6rem;
    left: 1.6rem;
  }
  .team-join h4 {
    font-size: 1.8rem;
  }
  .team-join p {
    font-size: 1.2rem;
  }
  .team-join-link {
    margin-top: 1.2rem;
    font-size: 1.25rem;
  }
}
/* ================= FOOTER — designer credit ================= */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  color: #6f7378;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #b9bcc0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-credit-logo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-credit a span {
  position: relative;
}

/* violet underline draws in under the name on hover */
.footer-credit a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: #8b5cf6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.footer-credit a:hover {
  color: #a78bfa;
}

.footer-credit a:hover span::after {
  transform: scaleX(1);
}

.footer-credit a:hover .footer-credit-logo {
  opacity: 1;
  transform: rotate(-6deg) scale(1.08);
}

/* =========================================================
   HOME HERO — service areas + what we do (first slide)
   Paste at the END of style.scss and compile.
   ========================================================= */
/* areas: SHEPPARTON · BENDIGO · ALBURY · ECHUCA */
.home .slide .content .hero-areas {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.2rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.home .slide .content .hero-areas li {
  display: inline-flex;
  align-items: center;
}

.home .slide .content .hero-areas i {
  margin-right: 1rem;
  color: var(--brown);
  font-size: 1.5rem;
}

/* small brown dot between towns */
.home .slide .content .hero-areas li + li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 1.2rem;
  border-radius: 50%;
  background: var(--brown);
}

/* what we do: three outlined tags */
.home .slide .content .hero-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.home .slide .content .hero-services li {
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.3rem;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* keep the sentence a little closer to the tags */
.home .slide .content .hero-services + p {
  margin-top: 2.2rem;
}

/* phones: hero text is centred, so centre these too */
@media (max-width: 768px) {
  .home .slide .content .hero-areas,
  .home .slide .content .hero-services {
    justify-content: center;
  }
  /* normal case on phones so all four towns fit on one line */
  .home .slide .content .hero-areas {
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .home .slide .content .hero-areas li + li::before {
    margin: 0 0.8rem;
  }
  .home .slide .content .hero-areas i {
    margin-right: 0.6rem;
  }
  .home .slide .content .hero-services li {
    font-size: 1.2rem;
    padding: 0.6rem 1.1rem;
  }
}
/* very small phones: let the towns wrap without stray dots */
@media (max-width: 360px) {
  .home .slide .content .hero-areas {
    gap: 0.4rem 1.2rem;
  }
  .home .slide .content .hero-areas li + li::before {
    display: none;
  }
}
/* =========================================================
   ABOUT — OUR PEOPLE: Management (Ben), Engineers, Draftspersons
   Paste at the END of style.scss and compile.
   (Overrides the earlier 4-column team grid.)
   ========================================================= */
/* ---------- Management: Ben's profile panel ---------- */
.leader-secondary {
  display: flex;
  align-items: stretch;
  gap: 3rem;
  max-width: 70rem;
  background: rgba(255, 255, 255, 0.05); /* the highlighted look, now shown all the time */
  border: 1px solid rgba(154, 71, 80, 0.5);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

/* hover: a touch brighter, with a small lift */
.leader-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--brown);
  transform: translateY(-4px);
}

/* bigger portrait, same grey-to-colour treatment as Jamie's photo */
.leader-secondary img {
  flex: 0 0 auto;
  width: 20rem;
  height: 24rem;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.6s ease;
}

.leader-secondary:hover img,
.team-group.active .leader-secondary img {
  filter: grayscale(0%) contrast(1);
}

.team-group.active .leader-secondary img {
  transition: filter 1.4s ease 0.6s;
}

.leader-secondary-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem 3rem 2.4rem 0;
  border-left: 0;
}

.leader-secondary-tag {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
}

.leader-secondary h3 {
  margin: 0.8rem 0 0.4rem;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

/* optional short bio line under the name */
.leader-secondary .leader-secondary-bio {
  margin-top: 1.2rem;
  font-size: 1.45rem;
  line-height: 1.7;
  color: #a8adb3;
}

/* brown accent bar on the left edge of the panel */
.leader-secondary {
  position: relative;
}

.leader-secondary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brown);
  z-index: 1;
}

/* ---------- team grid: 5 per row, wider cards, tighter gap ---------- */
.team-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

/* more breathing room between each group heading and its photos */
.team-group-head {
  margin-bottom: 6rem;
}

/* let the team rows use a little more of the page width on desktop */
@media (min-width: 1201px) {
  .team-group {
    margin-left: -4rem;
    margin-right: -4rem;
  }
  .team-group-head,
  .team-group > .leader-secondary {
    margin-left: 4rem;
  }
  .team-group-head {
    padding-left: 0;
  }
}
.team-grid .person-card {
  height: 340px;
}

/* names and roles a touch smaller to suit the narrower cards */
.team-grid .person-content {
  padding: 1.8rem;
}

.team-grid .person-content h4 {
  font-size: 1.7rem;
}

.team-grid .person-content span {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

/* "Join our team" card matches the narrower person cards */
.team-grid .team-join {
  height: 340px;
  padding: 2.2rem;
}

.team-grid .team-join h4 {
  font-size: 2.1rem;
}

.team-grid .team-join-label {
  top: 2.2rem;
  left: 2.2rem;
}

/* ---------- tablet ---------- */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-grid .person-card,
  .team-grid .team-join {
    height: 380px;
  }
}
/* ---------- phones ---------- */
@media (max-width: 768px) {
  .team-group-head {
    margin-bottom: 4rem;
  }
  .leader-secondary {
    gap: 1.8rem;
  }
  .leader-secondary img {
    width: 13rem;
    height: 16rem;
  }
  .leader-secondary-text {
    padding: 1.8rem 1.8rem 1.8rem 0;
  }
  .leader-secondary h3 {
    font-size: 2.2rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .team-grid .person-card,
  .team-grid .team-join {
    height: 320px;
  }
}
@media (max-width: 450px) {
  .team-grid {
    gap: 1.4rem;
  }
  .team-grid .person-card,
  .team-grid .team-join {
    height: 250px;
  }
}/*# sourceMappingURL=style.css.map */