/* ============================================================
   PERSONAL WEBSITE — SHARED STYLES
   Font: Bebas Neue (display), Cormorant Garamond (headings), Jost (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400;500;600&display=swap');

/* ─── CSS Variables ─── */
:root {
  --bg:        #080808;
  --bg2:       #101010;
  --bg3:       #181818;
  --accent:    #c9a84c;
  --accent2:   #e6c96a;
  --white:     #ffffff;
  --grey:      #888888;
  --grey2:     #555555;
  --border:    rgba(255,255,255,0.07);
  --nav-h:     100px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ─── Cursor ─── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
}
body:hover .cursor { opacity: 1; }

/* ─── Navigation ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.nav.scrolled {
  background: rgba(8,8,8,0.97);
  box-shadow: 0 1px 0 var(--border);
  height: 80px;
  backdrop-filter: blur(12px);
}
/* ─── Card SVG icon (replaces emoji card-icon) ─── */
.card-svg-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card-svg-icon svg {
  width: 100%; height: 100%;
}
/* hide old emoji icon if any remain */
.card-icon { display: none; }
.pillar-icon { display: none; }
.nav-logo-img-link {
  display: flex; align-items: center;
  flex-shrink: 0;
  margin-left: 0;    /* flush with the nav's 5% padding — no extra offset */
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Tint the logo to the site's gold accent colour */
  filter: brightness(0) saturate(100%) invert(72%) sepia(40%) saturate(600%) hue-rotate(2deg) brightness(95%);
}
.nav-logo-img-footer {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(40%) saturate(600%) hue-rotate(2deg) brightness(95%);
}

/* keep the old .nav-logo class working in case anything else references it */
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 3px;
  color: var(--white);
  position: relative;
}
.nav-logo span { color: var(--accent); }
.nav-logo::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-logo:hover::after { transform: scaleX(1); }

.nav-menu {
  display: flex; gap: 0;
}
.nav-menu a {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 8px 18px;
  position: relative;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 1px; background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--white);
}
.nav-menu a:hover::after, .nav-menu a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer; z-index: 1001;
}
.hamburger span {
  display: block; height: 1.5px; background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem; letter-spacing: 5px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  transform: translateY(20px);
  opacity: 0;
  transition: color 0.3s, transform 0.4s, opacity 0.4s;
}
.mobile-menu.open a {
  opacity: 1; transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu a:hover { color: var(--accent); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 5% 100px;
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Subtle gold accent glow - sits above the image */
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Full-bleed home hero image */
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.92) saturate(0.95);
  opacity: 1;
  z-index: 0;
}
/* Remove hover scale — image stays static after fade-in */

/* Overlay — light tint so text remains legible */
.hero-img-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,8,0.65) 0%, rgba(8,8,8,0.15) 45%, rgba(8,8,8,0.0) 100%),
    linear-gradient(to right, rgba(8,8,8,0.3) 0%, transparent 50%);
  z-index: 2;
}
@keyframes heroGlow {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* One-shot banner fade-in — plays once, stays at full opacity permanently */
@keyframes bannerFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Decorative lines */
.hero-line {
  position: absolute; background: var(--border);
}
.hero-line-v {
  width: 1px; top: 0; bottom: 0;
  animation: lineFadeIn 1.5s ease forwards;
  opacity: 0;
}
.hero-line-v:nth-child(1) { left: 5%; animation-delay: 0.5s; }
.hero-line-v:nth-child(2) { left: 50%; animation-delay: 0.8s; }
.hero-line-v:nth-child(3) { right: 5%; animation-delay: 1.1s; }
@keyframes lineFadeIn { to { opacity: 1; } }

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

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  animation: heroUp 0.9s ease forwards 0.3s;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: var(--accent);
}

.hero-name {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(3.8rem, 9.5vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--white);
  opacity: 0; transform: translateY(30px);
  animation: heroUp 1s ease forwards 0.5s;
}
.hero-name .accent-word { color: var(--accent); }

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  letter-spacing: 1px;
  opacity: 0; transform: translateY(20px);
  animation: heroUp 1s ease forwards 0.8s;
}

.hero-ctas {
  display: flex; gap: 16px;
  margin-top: 44px;
  opacity: 0; transform: translateY(20px);
  animation: heroUp 1s ease forwards 1s;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 34px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent2);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition); z-index: 0;
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary span { position: relative; z-index: 1; }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: heroUp 1s ease forwards 1.4s;
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--grey);
  z-index: 3;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}
@keyframes heroUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Section base ─── */
section {
  padding: 120px 5%;
  position: relative;
}
.section-label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: ''; display: block;
  width: 30px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}
.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.45);
  max-width: 560px;
  margin-bottom: 60px;
  line-height: 1.8;
}

/* ─── Divider ─── */
.divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 0 5%;
  width: 90%;
}

/* ─── Cards ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.card {
  background: var(--bg);
  padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { background: var(--bg2); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  font-size: 2rem; margin-bottom: 24px;
  color: var(--accent); display: block;
}
.card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem; letter-spacing: 2px;
  color: rgba(255,255,255,0.04);
  position: absolute; top: 10px; right: 20px;
  line-height: 1;
}
.card h3 {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px; color: var(--white);
}
.card p {
  font-size: 0.9rem; color: var(--grey);
  line-height: 1.8;
}

/* ─── About / Two-col layout ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.portrait-wrap {
  position: relative;
}
.portrait-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg3);
  position: relative; overflow: hidden;
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition), transform 0.8s ease;
}
.portrait-frame:hover img { filter: grayscale(0%); transform: scale(1.03); }
.portrait-frame::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(8,8,8,0.5));
  z-index: 1;
}
.portrait-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 70%; aspect-ratio: 1;
  border: 1px solid rgba(201,168,76,0.25);
  z-index: -1;
}
.portrait-tag {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--accent);
  color: var(--bg);
  padding: 20px 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 3px;
}

/* Stats row */
.stats-row {
  display: flex; gap: 40px; margin-top: 44px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
  flex-wrap: wrap;
}
.stat-item {}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem; letter-spacing: 2px;
  color: var(--accent); line-height: 1;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--grey);
  margin-top: 6px;
}

/* ─── Page Hero — full bleed background image ─── */
.page-hero {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 5% 60px;
  position: relative;
  overflow: hidden;
}

/* Full-bleed background image */
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.92) saturate(0.95);
  opacity: 0;
  animation: bannerFadeIn 1.8s ease 0.2s forwards;
  z-index: 0;
}
/* Remove hover scale — image stays static after fade-in */

/* Gradient overlay — light tint so text stays legible */
.page-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,8,0.65) 0%, rgba(8,8,8,0.15) 45%, rgba(8,8,8,0.0) 100%),
    linear-gradient(to right, rgba(8,8,8,0.3) 0%, transparent 50%);
  z-index: 1;
}

/* Subtle gold accent glow (keeps brand feel) */
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 30% 80%, rgba(201,168,76,0.08) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 3;
}

.page-hero-content .hero-eyebrow { animation: none; opacity: 1; transform: none; }
.page-hero-content .hero-name {
  animation: none; opacity: 1; transform: none;
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(3rem, 7.5vw, 8rem);
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 700;
}
.page-hero-content .hero-tagline { animation: none; opacity: 1; transform: none; }

/* ─── Service Hero Banner (coloured stripe) ─── */
.page-stripe {
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
}

/* ─── Testimonial / Quote block ─── */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 24px 36px;
  background: var(--bg2);
  margin: 60px 0;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-style: italic;
  color: rgba(255,255,255,0.8); line-height: 1.7;
}
.quote-author {
  font-size: 0.72rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-top: 20px;
}

/* ─── Process steps ─── */
.process-list {
  counter-reset: step;
  display: flex; flex-direction: column; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.process-item {
  background: var(--bg);
  display: grid; grid-template-columns: 80px 1fr;
  align-items: center;
  transition: background var(--transition);
}
.process-item:hover { background: var(--bg2); }
.process-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem; letter-spacing: 2px;
  color: rgba(255,255,255,0.06);
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  text-align: center; line-height: 1;
}
.process-body {
  padding: 28px 36px;
}
.process-body h3 {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 8px;
}
.process-body p { font-size: 0.9rem; color: var(--grey); }

/* ─── Contact form ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contact-info-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { border-top: 1px solid var(--border); }
.ci-label {
  font-size: 0.65rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
}
.ci-value { font-size: 0.95rem; color: rgba(255,255,255,0.7); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-size: 0.65rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--grey);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  transition: border-color var(--transition), background var(--transition);
  resize: none; appearance: none;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--bg3);
}
.form-group select option { background: var(--bg2); }
.form-group textarea { min-height: 160px; }

/* ─── Footer ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px; padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { font-size: 1.5rem; display: block; margin-bottom: 20px; }
.footer-brand p { font-size: 0.85rem; color: var(--grey); max-width: 280px; line-height: 1.8; }
.footer-col h4 {
  font-size: 0.65rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.85rem; color: var(--grey);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a::before {
  content: ''; display: block;
  width: 0; height: 1px; background: var(--accent);
  transition: width var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a:hover::before { width: 20px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.75rem; color: var(--grey2); letter-spacing: 1px; }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--grey);
  transition: all var(--transition);
}
.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Page transition ─── */
.page-transition {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}
.page-transition.active { transform: translateY(0); }

/* ─── Misc utilities ─── */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.section-dark { background: var(--bg2); }
.full-width { width: 100%; }
.tag {
  display: inline-block;
  font-size: 0.65rem; letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin: 4px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  margin: 4px;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Nav Logo Subtitle ─── */
.nav-logo-wrap { display:flex; flex-direction:column; gap:0; }
.nav-logo-wrap .nav-logo { margin-bottom:0; line-height:1; }
.nav-logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.52rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); opacity: 0.7;
  margin-top: 2px; padding-left: 2px;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-sub::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--accent); opacity: 0.6;
}

/* ─── Hero sub-headline ─── */
.hero-subline {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 580px;
  margin-top: 20px;
  letter-spacing: 0.3px;
  opacity: 0; transform: translateY(20px);
  animation: heroUp 1s ease forwards 1.1s;
}

/* ─── Expertise Pillars 4-col ─── */
.pillars-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media(max-width: 1024px) { .pillars-4 { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px)  { .pillars-4 { grid-template-columns: 1fr; } }

.pillar-item {
  background: var(--bg);
  padding: 44px 32px 40px;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.pillar-item::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.pillar-item:hover { background: var(--bg2); }
.pillar-item:hover::after { transform: scaleX(1); }

.pillar-svg {
  width: 40px; height: 40px;
  color: var(--accent);
  margin-bottom: 24px;
  flex-shrink: 0;
}
.pillar-svg svg { width: 100%; height: 100%; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.pillar-heading {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px; line-height: 1.4;
}
.pillar-sub {
  font-size: 0.85rem; color: var(--grey);
  line-height: 1.75; flex: 1;
  margin-bottom: 28px;
}
.pillar-item .btn {
  padding: 10px 22px; font-size: 0.67rem; margin-top: auto;
}

/* ─── Article Carousel ─── */
/* carousel defined below */

/* ─── Articles page grid ─── */
.articles-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.articles-page-grid .article-card { min-width: unset; }

/* ─── Articles filter bar ─── */
.articles-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 8px 18px;
  border: 1px solid var(--border); color: rgba(255,255,255,0.4);
  background: none; cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--accent); color: var(--accent);
}

@media (max-width: 768px) {
  :root { --nav-h: 65px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  section { padding: 80px 5%; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; }
  .pillars-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .two-col.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pillars-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Hero name: italic treatment ─── */
.hero-first {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -2px;
}
.hero-last {
  font-style: italic;
  font-weight: 700;
  letter-spacing: -3px;
  text-transform: uppercase;
}

/* ─── Article Carousel ─── */
.art-carousel {
  position: relative;
  /* arrows live outside the cards, so we pad inward */
  padding: 0 44px;
}

/* The clipping window — cards slide inside here */
.art-viewport {
  overflow: hidden;
  border: 1px solid var(--border);
}

/* The sliding strip */
.art-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Each card = exactly 1/3 of the viewport */
.art-card {
  flex: 0 0 33.333%;
  min-width: 0;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
  outline: none;
}
.art-card:last-child { border-right: none; }
.art-card:hover, .art-card:focus-visible { background: var(--bg2); }
.art-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.art-card:hover::after { transform: scaleX(1); }

/* Card image */
.art-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.art-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.7s ease, filter 0.5s ease;
}
.art-card:hover .art-img { transform: scale(1.05); filter: brightness(1); }
.art-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.55) 0%, transparent 55%);
}
.art-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--bg);
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 5px 12px;
}

/* Card body */
.art-body {
  padding: 26px 28px 30px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.art-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.68rem; letter-spacing: 1.5px;
  text-transform: uppercase;
}
.art-date { color: rgba(255,255,255,0.45); }
.art-sep  { color: var(--grey2); }
.art-read { color: var(--grey2); }
.art-title {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  line-height: 1.4; color: var(--white);
  transition: color var(--transition);
}
.art-card:hover .art-title { color: var(--accent); }
.art-excerpt {
  font-size: 0.86rem; color: rgba(255,255,255,0.4);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.67rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
}

/* Prev / Next arrows — absolutely centred alongside the card track */
.art-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: none; border: none;
  color: var(--accent);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.55;
  transition: opacity var(--transition);
  padding: 0; z-index: 2;
}
.art-arrow:hover:not(:disabled) { opacity: 1; }
.art-arrow:disabled { opacity: 0.1; cursor: default; }
.art-arrow-prev { left: 0; }
.art-arrow-next { right: 0; }

@media(max-width: 900px) { .art-card { flex: 0 0 50%; } }
@media(max-width: 580px) { .art-card { flex: 0 0 100%; } }

/* ─── Brand logos marquee ─── */
.brands-marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 32px;
}
.brands-track {
  display: flex;
  width: max-content;
  animation: brandScroll 40s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }
.brands-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}
@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-logo-item {
  flex-shrink: 0;
  width: 120px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.55;
  transition: opacity var(--transition);
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(2deg) brightness(0.85);
  /* Renders all images in gold accent colour */
}
.brand-logo-item:hover { opacity: 1; }
.brand-logo-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  /* CSS filter stacks to produce gold #c9a84c from any source image */
  filter: brightness(0) saturate(100%) invert(72%) sepia(40%) saturate(600%) hue-rotate(2deg) brightness(95%);
}

/* ─── Footer 5-col (brand + 3 nav cols + contact) ─── */
.footer-inner-5col {
  grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
}
@media(max-width: 1024px) {
  .footer-inner-5col { grid-template-columns: 1fr 1fr !important; }
}
@media(max-width: 600px) {
  .footer-inner-5col { grid-template-columns: 1fr !important; }
}

/* Instagram icon alignment in social links */
.social-ig {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.social-ig svg {
  display: block;
}


