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

:root {
  --navy:   #0b1628;
  --deep:   #0d1c35;
  --panel:  #101d33;
  --steel:  #192b42;
  --accent: #2979ff;
  --gold:   #c8a96e;
  --muted:  #7a94b0;
  --text:   #c4d3e8;
  --white:  #edf1f8;
  --line:   rgba(200, 169, 110, 0.15);
  --line2:  rgba(255, 255, 255, 0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 4px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(11, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.nav-logo { width: 41px;
  height: 41px;
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: 3px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.947);
}
.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 500;
  color: var(--white); letter-spacing: .03em;
}
.nav-name span { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 28px; }

.nav-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-back:hover { color: var(--gold); }
.nav-back svg { transition: transform .2s; }
.nav-back:hover svg { transform: translateX(-3px); }

.nav-cta {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(200, 169, 110, .4);
  padding: 7px 20px; border-radius: 3px; text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh; min-height: 600px; max-height: 800px;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 56px 64px;
  background: linear-gradient(105deg, var(--navy) 60%, transparent 100%);
}

.hero-right { position: relative; overflow: hidden; }

.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 50%);
  z-index: 1; pointer-events: none;
}

/* Bitumen hero image — dark asphalt/road construction */
.hero-img {
  position: absolute; inset: 0;
  background: url('/assets/images/commodities/pexels-jonathanborba-36346021.jpg') center/cover no-repeat;
  filter: brightness(.38) saturate(.65);
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-img.loaded { transform: scale(1); }

.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb a, .breadcrumb span {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--steel); }
.breadcrumb .cur { color: var(--gold); }

.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hero-eyebrow-line { width: 32px; height: 1px; background: var(--gold); }
.hero-eyebrow span {
  font-size: 10.5px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 300; color: var(--white);
  line-height: 1.0; margin-bottom: 20px; letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 14px; color: var(--muted);
  max-width: 420px; line-height: 1.8; margin-bottom: 32px;
}

.hero-meta { display: flex; gap: 0; border: 1px solid var(--line); width: fit-content; }
.hero-meta-item {
  padding: 12px 22px; border-right: 1px solid var(--line); text-align: center;
}
.hero-meta-item:last-child { border-right: none; }
.hero-meta-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; color: var(--white); line-height: 1; margin-bottom: 3px;
}
.hero-meta-label { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ── BODY ── */
.page-wrap { max-width: 1320px; margin: 0 auto; padding: 0 48px; }

.overview-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; border-bottom: 1px solid var(--line2);
}
.overview-col { padding: 36px 36px; border-right: 1px solid var(--line2); }
.overview-col:last-child { border-right: none; }
.ov-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.ov-text { font-size: 13.5px; color: var(--text); line-height: 1.75; }

.main-grid { display: grid; grid-template-columns: 1fr 288px; gap: 0; border-top: 1px solid var(--line2); }
.main-col { border-right: 1px solid var(--line2); }

.sec { padding: 40px 36px; border-bottom: 1px solid var(--line2); }
.sec:last-child { border-bottom: none; }

.sec-header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.sec-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; letter-spacing: .15em; color: var(--gold); opacity: .5;
}
.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; color: var(--white); letter-spacing: -.01em;
}

/* ── SPECS ── */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line2); }
.spec-cell {
  padding: 14px 18px;
  border-right: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  transition: background .2s;
}
.spec-cell:nth-child(even) { border-right: none; }
.spec-cell:nth-last-child(-n+2) { border-bottom: none; }
.spec-cell:hover { background: rgba(255, 255, 255, .025); }
.spec-k { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: .75; margin-bottom: 4px; }
.spec-v { font-size: 13px; color: var(--white); font-weight: 400; }

/* ── IMAGE PANEL ── */
.img-panel { position: relative; height: 240px; overflow: hidden; border-bottom: 1px solid var(--line2); }
.img-panel img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.45) saturate(.75);
  transition: transform 6s ease, filter .4s ease;
}
.img-panel:hover img { transform: scale(1.03); filter: brightness(.55) saturate(.9); }
.img-panel-label {
  position: absolute; bottom: 14px; left: 20px;
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(200, 169, 110, .65);
}

/* ── GRADES TABLE ── */
.gtable { border: 1px solid var(--line2); }
.gthead {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  background: var(--steel); padding: 10px 18px; gap: 12px;
}
.gthead span { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: .8; }
.gtrow {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  padding: 13px 18px; gap: 12px;
  border-top: 1px solid var(--line2); transition: background .2s;
}
.gtrow:hover { background: rgba(255, 255, 255, .025); }
.gtrow span { font-size: 13px; color: var(--text); }
.gtrow span:first-child { color: var(--white); font-weight: 400; }
.badge {
  display: inline-block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px; border: 1px solid rgba(200, 169, 110, .25); color: var(--gold);
}

/* ── TERMS ── */
.terms { display: flex; flex-direction: column; }
.term {
  display: grid; grid-template-columns: 20px 1fr;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line2); align-items: start;
}
.term:last-child { border-bottom: none; padding-bottom: 0; }
.term-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); opacity: .45; margin-top: 8px; justify-self: center;
}
.term-title { font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 2px; }
.term-desc { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ── SIDEBAR ── */
.sb-enquiry { padding: 28px 24px; border-bottom: 1px solid var(--line2); background: var(--panel); }
.sb-enquiry h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 400; color: var(--white); margin-bottom: 8px;
}
.sb-enquiry p { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }

.btn-fill {
  display: block; text-decoration: none; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 3px; text-align: center; margin-bottom: 7px;
  transition: background .2s, transform .2s;
}
.btn-fill:hover { background: #1c63d6; transform: translateY(-1px); }

.btn-outline {
  display: block; text-decoration: none;
  border: 1px solid rgba(200, 169, 110, .3); color: var(--gold);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 3px; text-align: center;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

.sb-refs-title, .sb-others-title {
  padding: 16px 24px 12px;
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--line2);
}
.sb-refs { border-bottom: 1px solid var(--line2); }
.sb-ref-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px; border-bottom: 1px solid rgba(255, 255, 255, .03);
}
.sb-ref-row:last-child { border-bottom: none; }
.sb-ref-k { font-size: 11.5px; color: var(--muted); }
.sb-ref-v { font-size: 11.5px; color: var(--white); font-weight: 400; text-align: right; max-width: 55%; }

.sb-other-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; border-bottom: 1px solid rgba(255, 255, 255, .03);
  text-decoration: none; transition: background .2s, padding-left .2s;
}
.sb-other-link:last-child { border-bottom: none; }
.sb-other-link:hover { background: rgba(255, 255, 255, .025); padding-left: 30px; }
.sb-other-name { font-size: 12.5px; color: var(--muted); transition: color .2s; }
.sb-other-link:hover .sb-other-name { color: var(--white); }
.sb-other-arrow { font-size: 12px; color: var(--steel); transition: color .2s; }
.sb-other-link:hover .sb-other-arrow { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--deep); border-top: 1px solid var(--line2);
  padding: 26px 48px; display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.footer-brand span { color: var(--gold); }
.footer-copy { font-size: 11px; color: var(--steel); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--muted); }

/* ── ANIMATIONS ── */
.fu { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.fu.vis { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; max-height: none; height: auto; min-height: 520px; }
  .hero-right { position: absolute; inset: 0; z-index: 0; }
  .hero-right::before { background: linear-gradient(to top, var(--navy) 40%, rgba(11, 22, 40, .7) 100%); }
  .hero-left { background: transparent; padding: 120px 28px 48px; z-index: 2; }
  .overview-strip { grid-template-columns: 1fr; }
  .overview-col { border-right: none; border-bottom: 1px solid var(--line2); padding: 24px 28px; }
  .overview-col:last-child { border-bottom: none; }
  .main-grid { grid-template-columns: 1fr; }
  .main-col { border-right: none; }
  .sec { padding: 32px 28px; }
  .img-panel { margin: 0; }
  .page-wrap { padding: 0 28px; }
  nav { padding: 0 20px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
}

@media (max-width: 640px) {
  .specs { grid-template-columns: 1fr; }
  .spec-cell:nth-child(even) { border-right: none; }
  .spec-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line2); }
  .spec-cell:last-child { border-bottom: none; }
  .gthead, .gtrow { grid-template-columns: 1fr; }
  .gthead span:not(:first-child), .gtrow span:not(:first-child) { display: none; }
  .hero-meta { flex-wrap: wrap; }
  .page-wrap { padding: 0 16px; }
}
