:root {
  --orange: #f5a623;
  --orange-dark: #e58b0b;
  --ink: #171717;
  --muted: #687078;
  --line: #ece8e0;
  --cream: #fffdf9;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(37, 29, 15, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 100px 0; position: relative; overflow: hidden; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(236,232,224,.8); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; background: transparent; }\n.brand img { display: block; width: 112px; height: auto; background: transparent; mix-blend-mode: normal; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-nav a { color: #555; transition: color .2s; }
.site-nav a:hover { color: var(--orange-dark); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; cursor: pointer; }

.hero { min-height: 690px; background: linear-gradient(135deg, #fff 0%, #fffdf9 58%, #fff8e9 100%); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 800; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.02; letter-spacing: -.055em; margin: 22px 0; font-weight: 800; }
h1 span { color: var(--orange-dark); }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.04em; margin: 18px 0; }
h3 { font-size: 21px; line-height: 1.2; margin-bottom: 12px; }
.hero-lead { max-width: 580px; font-size: 20px; line-height: 1.55; color: #353b3f; margin-bottom: 18px; }
.hero-copy { max-width: 540px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 21px; border-radius: 5px; font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0,0,0,.12); }
.button-primary { background: var(--orange); color: #171717; }
.button-light { background: #fff; color: #171717; }
.text-link { font-size: 14px; font-weight: 800; color: #555; }
.text-link span { color: var(--orange-dark); margin-left: 8px; }
.hero-visual { min-height: 480px; position: relative; display: grid; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid rgba(245,166,35,.35); border-radius: 50%; }
.orbit-large { width: 420px; height: 420px; }
.orbit-small { width: 300px; height: 300px; border-style: dashed; }
.visual-card { position: relative; z-index: 2; width: min(340px, 72%); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; align-content: center; border: 12px solid #fff7e6; }
.visual-card img { width: 75%; background: transparent; mix-blend-mode: normal; object-fit: contain; }
.visual-caption { margin-top: -10px; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; font-weight: 800; color: #777; }
.floating-card { position: absolute; z-index: 3; background: #fff; box-shadow: var(--shadow); padding: 13px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #4e5558; }
.floating-top { top: 52px; right: 2%; }
.floating-bottom { bottom: 42px; left: 3%; }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; margin-right: 8px; }
.hero-pattern { position: absolute; border: 1px solid rgba(245,166,35,.2); transform: rotate(30deg); }
.pattern-one { width: 190px; height: 190px; right: -75px; top: 70px; }
.pattern-two { width: 120px; height: 120px; left: -55px; bottom: 40px; }

.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.about-section { background: #fff; }
.about-copy { color: var(--muted); max-width: 600px; font-size: 17px; }
.about-copy p + p { margin-top: 20px; }
.services-section { background: var(--cream); }
.centered { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.centered .eyebrow { justify-content: center; }
.centered > p { color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px; min-height: 230px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #f7d18d; }
.service-number { color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-bottom: 35px; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.value-section { background: #fff; padding-top: 40px; }
.value-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: #171717; color: #fff; border-radius: 12px; padding: 55px 60px; position: relative; overflow: hidden; }
.value-panel::after { content: ''; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(245,166,35,.5); border-radius: 50%; right: -80px; bottom: -130px; }
.value-panel h2 { max-width: 500px; }
.value-list { display: grid; gap: 18px; align-content: center; color: #ddd; font-size: 15px; position: relative; z-index: 1; }
.value-list span { color: var(--orange); font-weight: 800; margin-right: 10px; }
.locations-section { background: var(--cream); }
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 850px; margin: auto; }
.location-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px; display: flex; align-items: center; gap: 20px; }
.location-icon { width: 55px; height: 55px; border-radius: 50%; background: #fff2d8; display: grid; place-items: center; color: var(--orange-dark); font-size: 23px; font-weight: 800; }
.location-label { color: var(--orange-dark); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; }
.location-card h3 { margin: 4px 0 0; font-size: 25px; }
.location-card p { color: var(--muted); margin: 0; }
.contact-section { padding-top: 70px; padding-bottom: 70px; }
.contact-panel { background: var(--orange); border-radius: 12px; padding: 50px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-panel .eyebrow { color: #5b3b09; }
.contact-panel h2 { max-width: 600px; margin-bottom: 10px; }
.contact-panel p { margin: 0; color: #684a18; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: #fff; }
.footer-wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; font-size: 12px; color: var(--muted); }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--ink); font-size: 16px; }
.footer-brand span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-details { text-align: center; }
.footer-details a { color: var(--orange-dark); font-weight: 700; }
.copyright { text-align: right; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .two-column, .value-panel { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 70px; }
  .hero-visual { min-height: 420px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .value-panel { padding: 40px; }
  .footer-wrap { grid-template-columns: 1fr; text-align: center; }
  .footer-details, .copyright { text-align: center; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 70px; }
  .brand img { width: 94px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 20px; flex-direction: column; gap: 18px; }
  .site-nav.open { display: flex; }
  .section { padding: 70px 0; }
  h1 { font-size: 49px; }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 340px; }
  .orbit-large { width: 300px; height: 300px; }
  .orbit-small { width: 220px; height: 220px; }
  .visual-card { width: 250px; border-width: 8px; }
  .floating-card { font-size: 10px; padding: 10px; }
  .floating-top { top: 10px; right: 0; }
  .floating-bottom { bottom: 5px; left: 0; }
  .services-grid, .locations-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 25px; }
  .service-number { margin-bottom: 22px; }
  .value-panel, .contact-panel { padding: 30px 25px; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
}


/* Final header/logo layout fix */
.site-header,
header {
    position: relative;
    z-index: 10;
}

.site-header .container,
header .container,
.navbar,
.nav-wrap,
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo,
.brand,
.site-logo {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 180px;
    height: auto;
    background: transparent !important;
}

.logo img,
.logo-img,
.brand img,
.site-logo img {
    display: block !important;
    width: auto !important;
    height: 76px !important;
    max-width: 180px !important;
    max-height: 76px !important;
    object-fit: contain !important;
    background: transparent !important;
    mix-blend-mode: normal !important;
}

nav,
.nav-menu,
.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .site-header .container,
    header .container,
    .navbar,
    .nav-wrap,
    .header-inner {
        gap: 16px;
    }

    .logo img,
    .logo-img,
    .brand img,
    .site-logo img {
        height: 62px !important;
        max-height: 62px !important;
        max-width: 150px !important;
    }

    nav,
    .nav-menu,
    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 650px) {
    .site-header .container,
    header .container,
    .navbar,
    .nav-wrap,
    .header-inner {
        flex-direction: column;
        align-items: center;
    }

    nav,
    .nav-menu,
    .nav-links {
        justify-content: center;
        gap: 12px 18px;
    }
}


/* Career card action buttons */
.career-card {
    display: flex;
    flex-direction: column;
}

.career-card .career-apply {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
}
