/* ============================================================
   SAMAD — Luxury dark design system (vanilla CSS port)
   Colors: bg #000, accent gold #ad7d02, text #fff
   ============================================================ */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --gold: #ad7d02;
  --gold-soft: #d8a23a;
  --gold-deep: #facc15;
  --muted: rgba(255, 255, 255, 0.6);

  --gradient-gold: linear-gradient(135deg, #d8a23a, #facc15);
  --gradient-glow: radial-gradient(1200px 700px at 50% -10%,
      rgba(173, 125, 2, 0.28),
      transparent 60%);
  --shadow-gold: 0 20px 60px -20px rgba(173, 125, 2, 0.5);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  --border-gold: rgba(173, 125, 2, 0.18);

  --radius: 0.75rem;
  --container: 1280px;
}

/* ───── Reset ───── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

ul {
  list-style: none;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  font-weight: 400;
}

::selection {
  background: var(--gold);
  color: #000;
}

/* ───── Layout helpers ───── */
.container-x {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 3rem;
  }
}

.font-display {
  font-family: "Bebas Neue", "Impact", sans-serif;
}

.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--muted);
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient-gold {
  background: var(--gradient-gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ───── Glass surfaces ───── */
.glass {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* rotating gradient background layer */
.glass::before {
  content: "";
  position: absolute;
  inset: -50%; /* bigger so rotation doesn’t cut edges */
  background: linear-gradient(
    180deg,
    rgba(173, 125, 2, 0.15),
    rgba(255, 255, 255, 0.02)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* keep content above */
.glass > * {
  position: relative;
  z-index: 1;
}

/* hover animation */
.glass:hover::before {
  opacity: 1;
  animation: rotateBg 6s linear infinite;
}

@keyframes rotateBg {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* hover card lift */
.glass:hover {
  box-shadow: 0 20px 60px -20px rgba(173, 125, 2, 0.5);
  transform: translateY(-6px);
}

.glass-strong {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(173, 125, 2, 0.22);
  border-radius: 1.5rem;
}

.gold-border {
  border: 1px solid rgba(173, 125, 2, 0.35);
  border-radius: 1rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.hover-glow {
  transition: box-shadow .4s ease, transform .4s ease, border-color .4s ease;
}

.hover-glow:hover {
  box-shadow: var(--shadow-gold);
  border-color: rgba(173, 125, 2, 0.6);
  transform: translateY(-2px);
}

/* ───── Animated underline link ───── */
.story-link {
  position: relative;
  display: inline-block;
}

.story-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s ease;
}

.story-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ───── Background glow ───── */
.bg-glow {
  position: relative;
  isolation: isolate;
}

.bg-glow::before {
  content: "";
  position: fixed;
  inset: -20%;
  background: var(--gradient-glow);
  z-index: -2;
  animation: glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow-drift {
  0% {
    transform: translate(-3%, -2%) scale(1);
  }

  100% {
    transform: translate(3%, 4%) scale(1.1);
  }
}

/* ───── Grain ───── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.55  0 0 0 0 0.05  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ───── Scroll progress bar ───── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient-gold);
  z-index: 200;
  box-shadow: 0 0 12px rgba(173, 125, 2, 0.7);
}

/* ───── Custom cursor ───── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgb(253 194 40);
  transition: width .25s ease, height .25s ease, background .25s ease;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  background: rgba(173, 125, 2, 0.1);
}

@media (max-width: 768px) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ───── Float animation ───── */
@keyframes float-y {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.float {
  animation: float-y 6s ease-in-out infinite;
}

/* ───── Loader ───── */
.loader-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease;
}

.loader-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-bar {
  height: 1px;
  width: 160px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.loader-bar>div {
  height: 100%;
  background: var(--gradient-gold);
  animation: loader-bar 1.2s ease-out forwards;
}

@keyframes loader-bar {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

/* ───── Buttons ───── */
.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease, border-color .3s ease;
}

.btn-gold {
  background: var(--gradient-gold);
  color: #000;
  border: 1px solid rgba(216, 162, 58, 0.7);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  color: var(--fg);
  border: 1px solid rgba(173, 125, 2, 0.4);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ───── Header ───── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: padding .5s ease;
}

.header.scrolled {
  padding: 0.75rem 0;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .5s ease;
}

.header.scrolled .header-inner {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(173, 125, 2, 0.22);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
}

.brand {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: .5s ease;
  width: fit-content;
}
.brand:hover{
  transform: scale(1.1);
}


.nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.8);
  transition: color .3s ease;
  position: relative;
}

.nav a:hover {
  color: #fff;
}

.nav a.active {
  color: var(--gold);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.72rem;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
}

.menu-btn span {
  display: block;
  height: 1px;
  width: 28px;
  background: var(--gold);
  transition: transform .3s ease, opacity .3s ease;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  left: 1rem;
  right: 1rem;
  top: 5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(173, 125, 2, 0.22);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(-1rem);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
  z-index: 49;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 1.85rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-menu a.active {
  color: var(--gold);
}

.mobile-menu .btn-gold {
  justify-content: center;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* ───── Sticky CTA ───── */
.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  padding: 0.75rem 1.25rem;
  font-size: 0.72rem;
  box-shadow: var(--shadow-gold);
}

.sticky-cta .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6
  }

  50% {
    opacity: 1
  }
}

/* ───── Footer ───── */
.footer {
  border-top: 1px solid rgba(173, 125, 2, 0.15);
  margin-top: 5rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

.footer ul li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ───── Reveal animation (GSAP target) ───── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 1.5rem 8rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 10rem 1.5rem 8rem;
  }
}

.hero-orb {
  position: absolute;
  top: -5rem;
  right: -10%;
  height: 520px;
  width: 520px;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(60px);
  background: var(--gradient-gold);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(3.5rem, 15vw, 7.5rem);
  line-height: 0.9;
  z-index: 2;
  position: relative;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .word-wrap {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.5rem;
}

.hero h1 .word {
  display: inline-block;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 3.5rem;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-lead {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 56rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-lead {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero-lead p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  flex: 1;
  width: 600px;
}

.hero-lead .actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-media {
  width: min(100%, 30rem);
  margin-top: 0rem;
  margin-left: auto;
  min-height: 420px;
  aspect-ratio: 4 / 5;
}

/* .hero-media::before {
  content: "";
  position: absolute;
  inset: auto -8% -10% 20%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 125, 2, 0.45), transparent 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
} */

.hero-media img {
  position: relative;
  z-index: 1;
  object-position: center 18%;
}

.hero-stats {
  margin-top: 6rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(173, 125, 2, 0.2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stats .num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .hero-stats .num {
    font-size: 3rem;
  }
}

.hero-stats .label {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
}

/* ───── Page heading (interior pages) ───── */
.page-hero {
  padding: 11rem 1.5rem 5rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 13rem 1.5rem 5rem;
  }
}

.page-hero h1 {
  font-size: clamp(3.25rem, 12vw, 8rem);
  line-height: 0.9;
}

.intro-split {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .intro-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 3rem;
  }
}

/* ───── Generic grid utilities ───── */
.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ───── Service card ───── */
.service-card {
  padding: 2rem;
}

.service-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.service-card .num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.service-card .arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(173, 125, 2, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform .4s ease;
}

.service-card:hover .arrow {
  transform: rotate(45deg);
}

.service-card h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ───── Brand imagery ───── */

/* .hero .media-frame {
  position: absolute;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(173, 125, 2, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-soft);
  top: 0;
  right: 0;
  z-index: 1;
} */
.media-frame {
  position: absolute;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(173, 125, 2, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-soft);
  top: 0;
  right: 0;
  z-index: 1;
  width: min(100%, 30rem);
    margin-top: 0rem;
    margin-left: auto;
    min-height: 420px;
    aspect-ratio: 4 / 5;
}

.media-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(0deg, #ad7d02a6, transparent);
    z-index: 2;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.portrait-card {
  /* min-height: 100%; */
  aspect-ratio: 4 / 5;
}

.media-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.media-caption .kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.media-caption .label {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.08em;
}

.media-caption .meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 18rem;
}

.editorial-photo {
  min-height: 100%;
}

.editorial-photo img {
  object-position: center 12%;
}

.feature-photo {
  aspect-ratio: 4 / 5;
}

.feature-photo img {
  object-position: center 18%;
}

/* ───── Project card ───── */
.project-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
}

.project-bg {
  position: absolute;
  inset: 0;
  transition: transform .7s ease;
  background:
    radial-gradient(circle at 30% 30%, rgba(173, 125, 2, 0.4), transparent 60%),
    linear-gradient(135deg, #1a1a1a, #050505);
}

.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: screen;
  filter: grayscale(12%) saturate(85%) contrast(1.05);
  transition: transform .7s ease, opacity .7s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.75)),
    radial-gradient(circle at top right, rgba(216, 162, 58, 0.18), transparent 30%);
  pointer-events: none;
}

.project-card:hover .project-bg {
  transform: scale(1.05);
}

.project-card:hover .project-image {
  transform: scale(1.06);
  opacity: 0.5;
}

.project-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.project-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.project-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
}

.project-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .project-name {
    font-size: 3rem;
  }
}

.project-metric {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ───── Filters ───── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  border: 1px solid rgba(173, 125, 2, 0.3);
  color: rgba(255, 255, 255, 0.7);
  transition: all .3s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
}

.filter-btn.active {
  background: var(--gradient-gold);
  color: #000;
  border-color: transparent;
}

/* ───── Case study chart ───── */
.bars {
  margin-top: 2.5rem;
  height: 8rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}

.bars>div {
  flex: 1;
  border-radius: 2px;
}

/* ───── Form ───── */
.field {
  display: block;
}

.field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  margin-top: 0.75rem;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(173, 125, 2, 0.3);
  padding: 0.75rem 0;
  color: #fff;
  outline: none;
  transition: border-color .3s ease;
}

.field textarea {
  resize: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}

.field select option {
  background: #000;
  color: #fff;
}

.form-stack>*+* {
  margin-top: 1.5rem;
}

/* ───── Testimonial slider (home) ───── */
.t-slider {
  position: relative;
  min-height: 280px;
  padding: 2.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .t-slider {
    padding: 4rem;
  }
}

.t-slide {
  position: absolute;
  inset: 2.5rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .7s ease, transform .7s ease;
  pointer-events: none;
}

@media (min-width: 768px) {
  .t-slide {
    inset: 4rem;
  }
}

.t-slide.active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.t-quote {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 56rem;
}

.t-author {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-gold);
}

.t-name {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.t-role {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.t-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
}

.t-dot {
  height: 6px;
  width: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: all .3s ease;
  cursor: pointer;
}

.t-dot.active {
  width: 40px;
  background: var(--gradient-gold);
}

/* ───── Timeline ───── */
.timeline {
  position: relative;
  max-width: 48rem;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: rgba(173, 125, 2, 0.3);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 0.5rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--gradient-gold);
  box-shadow: 0 0 0 4px #000;
}

.timeline-year {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.25rem;
  color: var(--gold);
}

.timeline-text {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ───── Service detail row ───── */
.service-row {
  padding: 2.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 1fr 2fr;
    padding: 3.5rem;
  }
}

.service-row h3 {
  font-size: 3rem;
}

@media (min-width: 768px) {
  .service-row h3 {
    font-size: 3.75rem;
  }
}

.service-row .body {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-row ul {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-row ul {
    grid-template-columns: 1fr 1fr;
  }
}

.service-row ul li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.service-row ul li::before {
  content: "";
  margin-top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-gold);
  flex-shrink: 0;
}
