/* ─── SELF-HOSTED FONTS ─── */
@font-face {
  font-family: 'Syne';
  src: url('fonts/Syne-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('fonts/Syne-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('fonts/Syne-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('fonts/Syne-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-LightItalic.ttf') format('truetype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --ink: #111111;
  --cream: #ffffff;
  --gold: #cc1122;
  --gold-light: #ff4455;
  --rust: #cc1122;
  --slate: #6b7280;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #ffffff;
  color: #111111;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Syne', sans-serif;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* ─── GRADIENT MESH ─── */
.mesh-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(204,17,34,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(204,17,34,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 60% 80%, rgba(204,17,34,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(204,17,34,0.1);
  background: rgba(255,255,255,0.9);
  transition: all 0.3s;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: #cc1122;
  text-decoration: none;
  padding: 1.5rem 1.25rem;
  margin: -1.5rem 0;
  display: flex;
  align-items: center;
}

.nav-logo span { color: #ffffff; }

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

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #cc1122; }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: #cc1122;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover { background: #ff4455; transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cc1122;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: #cc1122;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #111111;
  margin-bottom: 2rem;
}

.hero-title .accent {
  color: #cc1122;
  -webkit-text-stroke: 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(0,0,0,0.5);
  max-width: 34rem;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: #cc1122;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-primary:hover { background: #ff4455; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.6);
  border: 1px solid rgba(204,17,34,0.3);
  padding: 1rem 2rem;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-ghost:hover {
  color: #111111;
  border-color: #cc1122;
}

/* decorative vertical text */
.vert-text {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(204,17,34,0.3);
  white-space: nowrap;
}

/* hero stat cards */
.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(204,17,34,0.15);
}

.stat-item {}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #cc1122;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-top: 0.3rem;
}

/* large bg number */
.hero-bg-num {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  font-family: 'Syne', sans-serif;
  font-size: 28vw;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(204,17,34,0.04);
  pointer-events: none;
  user-select: none;
}

/* ─── SECTION STYLES ─── */
section { padding: 6rem 3rem; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cc1122;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: #cc1122;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111111;
}

/* ─── WHAT WE DO ─── */
#what { position: relative; overflow: hidden; }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(204,17,34,0.12);
  border: 1px solid rgba(204,17,34,0.12);
  margin-top: 4rem;
}

.service-card {
  background: #ffffff;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card:hover { background: #efefef; }

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: #cc1122;
  transition: height 0.4s ease;
}

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

.service-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(204,17,34,0.12);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(0,0,0,0.5);
}

/* ─── HOW IT WORKS ─── */
#how { background: #f5f5f5; position: relative; overflow: hidden; }

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,17,34,0.4), transparent);
}

.step-card {
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.step-num-wrapper {
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(204,17,34,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  background: #ffffff;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #cc1122;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(0,0,0,0.45);
}

/* ─── WHY US ─── */
#why { position: relative; overflow: hidden; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.why-card {
  padding: 2.5rem;
  border: 1px solid rgba(204,17,34,0.12);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.why-card:hover { border-color: rgba(204,17,34,0.4); }

.why-icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(204,17,34,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: #cc1122;
}

.why-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(0,0,0,0.45);
}

/* ─── CLIENTS ─── */
#clients { background: #f5f5f5; }

.clients-marquee-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

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

.clients-marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, white 10%, white 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, white 10%, white 90%, transparent 100%);
}

.client-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(204,17,34,0.2);
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.35);
  white-space: nowrap;
  transition: all 0.2s;
}

.client-pill:hover {
  color: rgba(0,0,0,0.7);
  border-color: rgba(204,17,34,0.5);
}

/* ─── CAREER ─── */
#career { position: relative; }

.job-accordion {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(204,17,34,0.1);
}

.job-item {
  background: #ffffff;
}

.job-header {
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s;
}

.job-header:hover { background: #efefef; }

.job-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111111;
}

.job-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: #cc1122;
  padding: 0.2rem 0.6rem;
  margin-left: 1rem;
}

/* hide radio inputs */
.job-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.job-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  overflow: hidden;
  max-height: 0;
  padding: 0 2.5rem;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease, padding 0.35s ease;
}

.job-toggle:checked ~ .job-body {
  max-height: 600px;
  padding: 0 2.5rem 2.5rem;
  opacity: 1;
}

.job-chevron {
  color: rgba(204,17,34,0.6);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}

.job-toggle:checked ~ .job-header .job-chevron {
  transform: rotate(180deg);
}

.job-header {
  cursor: pointer;
  user-select: none;
}

.job-body-section h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cc1122;
  margin-bottom: 0.75rem;
}

.job-body-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.job-body-section li {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(0,0,0,0.5);
  padding-left: 1rem;
  position: relative;
}

.job-body-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(204,17,34,0.4);
}

.job-apply {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.45);
  margin-top: 1.5rem;
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(204,17,34,0.1);
}

.job-apply a {
  color: #cc1122;
  text-decoration: none;
}

.job-apply a:hover { text-decoration: underline; }

/* ─── CONTACT ─── */
#contact { background: #f5f5f5; }

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(204,17,34,0.12);
  border: 1px solid rgba(204,17,34,0.12);
  margin-top: 4rem;
}

.office-card {
  background: #f5f5f5;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.office-card:hover { background: #e8e8e8; }

.office-city {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 0.5rem;
}

.office-country {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #cc1122;
  margin-bottom: 2rem;
}

.office-detail {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.office-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.office-row-icon {
  width: 1rem;
  height: 1rem;
  color: rgba(204,17,34,0.5);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.office-row-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(0,0,0,0.5);
  line-height: 1.5;
}

.office-row-text a {
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.office-row-text a:hover { color: #cc1122; }

/* ─── FOOTER ─── */
footer {
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(204,17,34,0.1);
  background: #ffffff;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  background: #cc1122;
  padding: 0.2rem 0.6rem;
}

.footer-logo span { color: #ffffff; }

.footer-copy {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(0,0,0,0.25);
  letter-spacing: 0.05em;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: rgba(204,17,34,0.15);
  border: 1px solid rgba(204,17,34,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cc1122;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  z-index: 50;
}

.back-to-top:hover {
  background: rgba(204,17,34,0.25);
  transform: translateY(-3px);
}

/* ─── DIVIDER ─── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,17,34,0.4), transparent);
  margin: 0 3rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeup {
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  #hero { padding: 7rem 1.5rem 3rem; }
  .service-grid { grid-template-columns: 1fr; }
  .steps-container { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .hero-bg-num { font-size: 45vw; }
  .stat-row { gap: 1.5rem; flex-wrap: wrap; }
  .steps-container::before { display: none; }
  .job-body { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .gold-divider { margin: 0 1.5rem; }
  .vert-text { display: none; }
}

