/* Hancon Mining Division Inc. — site stylesheet
   Brand Guidelines v1.0 (November 2026): coal, silver and gold; COMPANY display + Barlow body.
   Hand-written static build (Liquid Media Studios). No framework. */

@font-face {
  font-family: "COMPANY";
  src: url("../fonts/company.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* brand colours */
  --coal: #111111; --silver: #D3D5D3; --gold: #C9A15B;
  --bronze: #84571C; --brass: #9C7D49; --earth: #6D5936; --umber: #3F3524;
  --stone: #575044; --dust: #8F8575; --sand: #B9B2A5; --light: #F5F4F1;
  /* roles (Dark is the primary theme) */
  --surface: var(--coal); --raised: #1D1A16; --text: var(--silver); --text-muted: var(--sand);
  --accent: var(--gold); --accent-fill: var(--gold); --on-accent: var(--coal);
  --border: var(--dust); --divider: var(--umber); --focus: var(--gold);
  /* legacy names used by markup */
  --ink: var(--coal); --ink-2: var(--silver);
  /* type, space, shape */
  --f-display: "COMPANY", Impact, "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-ui: var(--f-body);
  --space-1: 4px; --space-2: 8px; --space-4: 16px; --space-8: 32px;
  --radius-sm: 2px; --radius-md: 6px;
  --wrap: 1200px; --gutter: 16px; --header-h: 112px;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.5; color: var(--text); background: var(--surface); }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-weight: 400; line-height: 1.2; }
strong, b { font-weight: 600; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--gold); color: var(--coal); }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--gold); color: var(--coal); padding: .75rem 1rem; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- type: COMPANY for display (capitals only), Barlow for everything people read */
.title, .card__title, .contact-form h2, .site-footer__h {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
}
.title strong, .card__title strong, .contact-form h2 strong { font-weight: 400; }
.t1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem); line-height: .95; }
.t2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; }
.t5 { font-size: 1.25rem; line-height: 1.4; }
.card__title.t5, .contact-form h2.t5 { font-size: 1.5rem; line-height: 1.15; }
.t7 { font-size: 1.0625rem; line-height: 1.55; }
.t4 { font-size: 1rem; line-height: 1.5; }
.subtitle { font-family: var(--f-body); text-transform: none; }
.tc { text-align: center; }
.tr { text-align: right; }
.c-white { color: var(--silver); }
.c-gold { color: var(--gold); }
.c-ink { color: var(--coal); }
.w100 { width: 100%; }
.mb0 { margin-bottom: 0 !important; } .mb1 { margin-bottom: .25rem; } .mb2 { margin-bottom: .5rem; }
.mb3 { margin-bottom: 1rem; } .mb4 { margin-bottom: 1.5rem; } .mb5 { margin-bottom: 3rem; }
.mt0 { margin-top: 0; } .mt1 { margin-top: .25rem; } .mt2 { margin-top: .5rem; } .mt3 { margin-top: 1rem; }
.mt4 { margin-top: 1.5rem; } .mt5 { margin-top: 3rem; }

/* ---------- layout grid */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--gutter) * 1.5); }
.wrap--wide { max-width: 1440px; }
.row { display: flex; flex-wrap: wrap; margin: 0 calc(var(--gutter) * -1); }
.row > * { width: 100%; padding: 0 var(--gutter); }
.jc-c { justify-content: center; }
@media (min-width: 768px) {
  .md-6 { width: 50%; } .md-8 { width: 66.666%; } .md-10 { width: 83.333%; }
  .col-half { width: 50%; }
}
@media (min-width: 992px) {
  .lg-3 { width: 25%; } .lg-4 { width: 33.333%; } .lg-5 { width: 41.666%; } .lg-6 { width: 50%; }
  .lg-7 { width: 58.333%; } .lg-8 { width: 66.666%; } .lg-10 { width: 83.333%; }
  .row > .lg-fill { flex: 1 1 0; width: auto; min-width: 0; }
}

/* ---------- buttons: square-ish, Barlow 600 labels in sentence case, no icons */
.btns { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.5rem; }
.tc .btns, .btns.tc { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.75rem; border: 2px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--f-body); font-size: .9375rem; font-weight: 600; letter-spacing: .04em; line-height: 1.2; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--coal); }
.btn--gold:hover { background: var(--silver); border-color: var(--silver); }
.btn--dark, .btn--ink { background: var(--raised); border-color: var(--border); color: var(--silver); }
.btn--dark:hover, .btn--ink:hover { border-color: var(--gold); color: var(--gold); }
.btn--gold-line, .is-dark .btn--gold-line { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--gold-line:hover { background: var(--gold); color: var(--coal); }
.btn--white-line { border-color: var(--silver); color: var(--silver); background: transparent; }
.btn--white-line:hover { background: var(--silver); color: var(--coal); }
.btn--dark-line, .btn--ink-line, .is-dark .btn--dark-line, .is-dark .btn--ink-line { border-color: var(--border); color: var(--silver); background: transparent; }
.btn--dark-line:hover, .btn--ink-line:hover { border-color: var(--gold); color: var(--gold); }
.ico { width: 1.5em; height: 1.5em; flex: none; }

/* ---------- brand icons (80px files, used at 64px) */
.hm-icon { width: 64px; height: 64px; }

/* ---------- header: coal bar, primary logo (hard hat and picks), no shadow */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: var(--coal); border-bottom: 1px solid var(--divider); }
.site-header__bar { display: flex; align-items: center; gap: 1rem; height: var(--header-h); max-width: 1440px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 92px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 1rem; font-weight: 600; color: var(--silver); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav ul a:hover { color: var(--gold); }
.site-nav ul a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.site-nav__social { display: flex; gap: .25rem; }
.site-nav__social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--gold); }
.site-nav__social a:hover { color: var(--silver); }
.site-nav__social .ico { width: 24px; height: 24px; }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav-toggle span { position: absolute; left: 10px; width: 28px; height: 2px; background: var(--silver); transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 23px; } .nav-toggle span:nth-child(3) { top: 31px; }
.nav-open .nav-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
@media (max-width: 991px) {
  :root { --header-h: 88px; }
  .brand img { height: 72px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.5rem 1rem; background: var(--coal); border-bottom: 2px solid var(--gold);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; display: none; }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .85rem .5rem; border-bottom: 1px solid var(--divider); }
  .site-nav__social { padding-top: .75rem; }
}

/* ---------- section shell: full-bleed coal bands */
main { display: block; }
.blk { position: relative; padding: var(--pt, 5rem) 0 var(--pb, 5rem); background-color: var(--bg, var(--coal)); color: var(--text); }
.blk.has-img { background-size: cover; background-position: center; }
@media (min-width: 992px) and (hover: hover) { .blk.is-parallax.has-img { background-attachment: fixed; } }
.blk.has-ov::before { content: ""; position: absolute; inset: 0; background: var(--ov-c, #000); opacity: var(--ov, .5); pointer-events: none; }
.blk > .wrap { position: relative; }
.blk.is-dark { color: var(--silver); }
.blk .title { color: var(--c-title, var(--silver)); }
.blk .subtitle { color: var(--c-sub, var(--silver)); }
.blk p, .blk .list { color: var(--c-text, var(--silver)); }
.blk .card__title { color: var(--c-ctitle, var(--silver)); }
.blk a:not(.btn) { color: var(--gold); }
.blk .head { margin-bottom: 3rem; }
.blk .head .title { margin-bottom: 0; }
.blk .head .subtitle { margin: 1.5rem auto 0; max-width: 60rem; }
@media (max-width: 767px) { .blk { padding-top: min(var(--pt, 5rem), 4rem); padding-bottom: min(var(--pb, 5rem), 4rem); } }

/* ---------- hero */
.blk--hero { display: flex; align-items: center; padding: calc(var(--header-h) + 7rem) 0 6rem; text-align: center; border-bottom: 4px solid var(--gold); }
.blk--hero.hero--full { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 3rem) 0 4rem; }
.blk--hero > .wrap { z-index: 1; }
.blk--hero .row { justify-content: center; }
.hero__inner { padding: 1rem 3rem; }
.blk--hero .title { color: var(--silver); margin-bottom: 1.5rem; }
.blk--hero p { color: var(--silver); }
.blk--hero .btns { justify-content: center; }
@media (max-width: 767px) { .hero__inner { padding: 1rem; } .blk--hero { padding: calc(var(--header-h) + 4rem) 0 4rem; } }

/* ---------- quote band */
.blk--quote { padding: var(--pt, 12rem) 0 var(--pb, 12rem); }
.blk--quote .hero__inner { padding: 3rem; }
.blk--quote .title { color: var(--silver); margin: 0; }
.blk--quote .title strong { color: var(--gold); }
@media (max-width: 767px) { .blk--quote .hero__inner { padding: 1rem; } }

/* ---------- split (image + text) & person */
.blk--split .row, .blk--person .row { align-items: center; row-gap: 2rem; }
.blk--split .media { padding: 1rem calc(var(--gutter) + 1rem); }
.blk--split .text { padding: 0 1rem; }
.blk--person .media img { padding: 0 2rem; }
.blk--person .subtitle { color: var(--c-sub, var(--gold)); font-weight: 600; letter-spacing: .04em; margin-bottom: .5rem; }
.blk--person .title { margin-bottom: 1.5rem; }
@media (min-width: 992px) { .blk--person .media img { padding: 0 4rem; } }

/* ---------- cards with image */
.blk--cards-img .row:not(.jc-c) { row-gap: 2rem; }
.blk--cards-img .card { display: flex; flex-direction: column; height: 100%; background: var(--c-card, var(--raised)); color: var(--silver); border-radius: var(--radius-md); overflow: hidden; }
.blk--cards-img .card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.blk--cards-img .card__body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem 1.75rem 0; border-top: 4px solid var(--gold); }
.blk--cards-img .card__body p { color: var(--silver); }
.blk--cards-img .card__title { color: var(--silver); margin-bottom: 1rem; }
.blk--cards-img .card__foot { margin-top: auto; padding: 1.5rem 0 1.75rem; }

/* ---------- icon cards */
.blk--cards-icon .row:not(.jc-c) { row-gap: 2.5rem; }
.blk--cards-icon .card__body { text-align: center; }
.blk--cards-icon .card__icon { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.blk--cards-icon .card__title { margin-bottom: .75rem; }

/* ---------- jobs */
.blk--jobs .row { row-gap: 2rem; }
.blk--jobs .card { height: 100%; background: var(--c-card, var(--raised)); padding: 2.25rem; border-radius: var(--radius-md); border-top: 4px solid var(--gold); }
.blk--jobs .card__body { display: flex; flex-direction: column; height: 100%; }
.blk--jobs .card__icon { margin-bottom: 1rem; }
.blk--jobs .card__foot { margin-top: auto; padding-top: 1rem; }
.blk--jobs p > br:first-child { display: none; }
@media (max-width: 767px) { .blk--jobs .card { padding: 2rem 1.5rem; } }

/* ---------- core values */
.blk--values .row { row-gap: 2rem; }
.blk--values .card { padding: 2rem; text-align: center; color: var(--silver); }
.blk--values .card__icon { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.blk--values .card__title { color: var(--silver); transition: color .3s; }
.blk--values .card:hover .card__title { color: var(--gold); }
.blk--values p { color: var(--silver); }

/* ---------- services */
.blk--services .row { row-gap: 20px; }
.blk--services .item { padding: 0 10px; }
.blk--services .card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; background: var(--c-card, var(--raised)); border-radius: var(--radius-md); overflow: hidden; }
.blk--services .card__body { padding: 25px 30px; }
.blk--services .card__body p > br:first-child { display: none; }
.blk--services .card__title { color: var(--c-ctitle, var(--silver)); }
.blk--services .card__img { display: flex; justify-content: flex-end; }
.blk--services .card__img img { width: 250px; height: 250px; object-fit: cover; border-top: 4px solid var(--gold); border-left: 4px solid var(--gold); }

/* ---------- prose / band / cta */
.blk--prose .title { margin-bottom: 1.5rem; }
.blk--band { background-color: var(--gold) !important; }
.blk--band .title, .blk--band p, .blk--band .subtitle { color: var(--coal) !important; }
.blk--band .title { margin: 0; }
.blk--band .btn--gold { background: var(--coal); border-color: var(--coal); color: var(--gold); }
.blk--cta-row .btns { margin-top: 0; }

/* ---------- careers */
.blk--careers .row { row-gap: 2rem; }
.blk--careers .subtitle { color: var(--c-sub, var(--silver)); }
.blk--careers .subtitle a { text-decoration: underline; text-underline-offset: 3px; }
.blk--careers .side > .card, .blk--careers .side > div { background: var(--raised); padding: 2.25rem 2.25rem 1rem; border-radius: var(--radius-md); }
.blk--careers .side ul { list-style: none; margin: 0; padding-left: 2.25rem; }
.blk--careers .side li { position: relative; margin-bottom: 1rem; color: var(--silver); }
.blk--careers .side li::before { content: ""; position: absolute; left: -1.5em; top: .5em; width: .5em; height: .5em; background: var(--gold); }

/* ---------- legal */
.blk--legal .card { padding: 0; }
.blk--legal .subtitle { margin-bottom: 1rem; }
.blk--legal .item { margin-bottom: 2rem; }

/* ---------- partner logos (light surface so partner marks read correctly) */
.blk--logos .head .title { text-align: center; }
.blk--logos .row:not(.jc-c) { row-gap: 2rem; }
.blk--logos .card { background: var(--light); padding: 2rem; height: 100%; display: grid; place-items: center; border-radius: var(--radius-md); }
.blk--logos .card__img img { max-height: 160px; width: auto; margin: 0 auto; }

/* ---------- news */
.blk--news .row.item { align-items: center; row-gap: 1.5rem; margin-bottom: 3rem; }
.blk--news .meta { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.blk--news .card__title { margin-bottom: .75rem; }

/* ---------- contact */
.blk--contact .row { row-gap: 2rem; }
.blk--contact .item { margin-bottom: 2rem; }
.blk--contact .card__title { margin-bottom: .5rem; }
.blk--contact .list { list-style: none; padding: 0; margin: 0; }
.blk--contact .list li { margin-bottom: .25rem; }
.blk--contact .list a { color: var(--gold); font-weight: 600; }
.contact-form { background: var(--raised); color: var(--silver); padding: 2.5rem; border-radius: var(--radius-md); border-top: 4px solid var(--gold); }
.contact-form h2 { margin-bottom: 1.5rem; color: var(--silver); }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .875rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .35rem; color: var(--silver); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 1rem; color: var(--silver); background: var(--coal); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--gold); }
.contact-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 1rem 1.25rem; margin-bottom: 1rem; font-weight: 600; border-radius: var(--radius-sm); }
.form-alert--ok { background: var(--gold); color: var(--coal); }
.form-alert--err { background: var(--light); color: var(--bronze); border: 1px solid var(--bronze); }
@media (max-width: 767px) { .contact-form { padding: 1.75rem 1.25rem; } }

/* ---------- embeds */
.blk--slides { padding: 0 0 4rem; }
.blk--slides .embed { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.blk--slides .embed__frame { position: relative; aspect-ratio: 16 / 9; }
.blk--slides iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blk--form { padding: 3rem 0; }

/* ---------- footer: gold band rule, coal ground */
.site-footer { background: var(--coal); color: var(--silver); padding: 6rem 0 4rem; border-top: 4px solid var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.site-footer__logo img { width: 220px; max-width: 100%; height: auto; }
.site-footer__h { font-size: .875rem; letter-spacing: .18em; color: var(--gold); margin: 0 0 1rem; }
.site-footer p { font-size: 1rem; margin-bottom: 1.5rem; color: var(--sand); }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--silver); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--coal); }
.social .ico { width: 20px; height: 20px; }
.arrow-list { list-style: none; padding: 0; margin: 0; }
.arrow-list li { margin-bottom: .5rem; color: var(--sand); }
.arrow-list a { color: var(--silver); }
.arrow-list a:hover, .copyright a:hover { color: var(--gold); }
.copyright { text-align: center; margin: 4rem 0 0; padding-top: 2rem; border-top: 1px solid var(--divider); font-size: .875rem; color: var(--sand); }
.copyright a { color: var(--gold); }
@media (max-width: 991px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .site-footer { padding: 4rem 0 3rem; } .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- team: alternate photo left / right on desktop */
@media (min-width: 992px) { .blk--person-flip .row { flex-direction: row-reverse; } }

/* ---------- links inside gold bands */
.blk--band a:not(.btn) { color: var(--coal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- gold bands: equal top and bottom space so the heading sits centred */
.blk--band { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.blk--band .title:last-child, .blk--band p:last-child { margin-bottom: 0; }
