/* Pine Creek Mining: site styles. No frameworks, no external requests. */

@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  --char: #1b1f22;
  --char-2: #24292d;
  --char-3: #30373c;
  --ink: #1e2326;
  --text: #34393d;
  --muted: #5d6468;
  --paper: #fbf8f2;
  --sand: #f2eadb;
  --sand-2: #e6d8bf;
  --copper: #c8843a;       /* accent on dark backgrounds */
  --copper-light: #e0a35f;
  --copper-text: #96561c;  /* text-safe copper on light backgrounds (AA) */
  --line: #e2d6c1;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(27, 31, 34, .06), 0 10px 30px rgba(27, 31, 34, .10);
  --container: 1180px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(32px, 4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
address { font-style: normal; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--copper); color: var(--char); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
.kicker, .eyebrow { font: 600 13px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 14px; }
.eyebrow { color: var(--copper-light); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: var(--radius); font: 600 15px/1 var(--sans); letter-spacing: .03em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-copper { background: var(--copper); color: var(--char); }
.btn-copper:hover { background: var(--copper-light); color: var(--char); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: var(--copper-light); color: var(--copper-light); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(27, 31, 34, .97); border-bottom: 1px solid rgba(200, 132, 58, .28); backdrop-filter: saturate(140%) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 26px/1 var(--display); color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.brand-tag { font: 600 11px/1 var(--sans); color: var(--copper); letter-spacing: .3em; text-transform: uppercase; margin-top: 5px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 14px; color: rgba(255, 255, 255, .84); font: 500 15px/1 var(--sans); text-decoration: none; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: var(--radius); padding: 6px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--char); border-bottom: 1px solid rgba(200, 132, 58, .3); transform: translateY(-110%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; padding: 8px 20px 20px; }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--copper-light); }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--char); }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 60% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(27, 31, 34, .15) 0%, rgba(27, 31, 34, .25) 40%, rgba(27, 31, 34, .88) 100%), linear-gradient(90deg, rgba(27, 31, 34, .82) 0%, rgba(27, 31, 34, .55) 40%, rgba(27, 31, 34, 0) 72%); }
.hero-inner { position: relative; z-index: 1; padding: 120px 0 72px; }
.hero h1 { color: #fff; font-size: clamp(46px, 7.4vw, 88px); font-weight: 700; text-transform: uppercase; letter-spacing: .015em; max-width: 15ch; margin-bottom: 20px; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- facts band ---------- */
.facts { background: var(--char); color: #fff; padding: 44px 0 28px; border-top: 3px solid var(--copper); }
.facts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 4px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { font: 700 54px/1 var(--display); color: var(--copper-light); }
.fact-unit { font-size: 24px; margin-left: 6px; color: #fff; font-weight: 600; letter-spacing: .02em; }
.fact-label { font-size: 15px; color: rgba(255, 255, 255, .75); line-height: 1.4; }
.facts-note { margin: 26px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .55); max-width: 860px; }
@media (max-width: 860px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) { .fact { padding: 4px 14px; } .fact-value { font-size: 44px; } .fact-unit { font-size: 20px; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sand { background: var(--sand); }
.section-title { margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-media figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks .icon { color: var(--copper-text); flex: none; margin-top: 4px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
}

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 40px; }
.step-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--sand-2); }
.timeline .is-done .step-dot { background: var(--copper); border-color: var(--copper); }
.timeline .is-current .step-dot { border-color: var(--copper); box-shadow: 0 0 0 5px rgba(200, 132, 58, .2); }
.timeline .is-current h3::after { content: "In progress"; display: inline-block; margin-left: 10px; padding: 3px 8px; vertical-align: middle; font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--copper-text); background: rgba(200, 132, 58, .14); border-radius: 3px; }
.timeline p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 10px; bottom: 10px; left: 9px; right: auto; width: 2px; height: auto; }
  .timeline li { padding: 0 0 28px 44px; }
}

/* ---------- gallery ---------- */
.gallery { background: var(--char); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 0.75fr 1fr; gap: 4px; }
.gallery-item { overflow: hidden; aspect-ratio: 4 / 3.4; }
.gallery-item picture { display: block; }
.gallery-item img, .gallery-item picture { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; } .gallery-item { aspect-ratio: 1; } }

/* ---------- contact card ---------- */
.contact-card { background: var(--char); color: rgba(255, 255, 255, .88); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--copper); }
.card-title { color: #fff; font-size: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list .icon { color: var(--copper); flex: none; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--copper-light); }

/* ---------- footer ---------- */
.site-footer { background: #141719; color: rgba(255, 255, 255, .72); font-size: 15px; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.25fr 1.35fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand img { width: 56px; height: 56px; margin-bottom: 14px; }
.footer-name { font: 700 22px/1.1 var(--display); color: #fff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.footer-sub { color: rgba(255, 255, 255, .6); }
.footer-heading { font: 600 12.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.footer-line { margin: 0 0 6px; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--copper-light); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-base p { margin: 0; }
.footer-nav { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.footer-note { font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .45); padding-bottom: 28px; margin: 0; max-width: 900px; }
.footer-note a { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--char); color: #fff; padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 3px solid var(--copper); }
.page-hero-bg, .page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.page-hero-bg img { object-fit: cover; object-position: center 55%; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27, 31, 34, .92) 0%, rgba(27, 31, 34, .75) 45%, rgba(27, 31, 34, .35) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 72px); font-weight: 700; text-transform: uppercase; margin-bottom: .25em; }
.page-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); max-width: 640px; margin: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3.2vw, 36px); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--copper-text); }
.prose .updated { font-size: 14px; color: var(--muted); }

.lede { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.6; color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(27, 31, 34, .04); }
.card h3 { margin-bottom: .35em; }
.card p { font-size: 15.5px; color: var(--muted); margin: 0; }
.card-num { font: 700 15px/1 var(--display); letter-spacing: .14em; color: var(--copper-text); margin-bottom: 14px; display: block; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.team-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.team-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 15px; }

.profile { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.profile-badge { aspect-ratio: 1; background: var(--char); border-radius: var(--radius); display: grid; place-items: center; border-bottom: 3px solid var(--copper); }
.profile-badge span { font: 700 72px/1 var(--display); color: var(--copper-light); letter-spacing: .04em; }
.profile-role { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 18px; }
@media (max-width: 700px) { .profile { grid-template-columns: 1fr; gap: 24px; } .profile-badge { width: 140px; } .profile-badge span { font-size: 52px; } }

.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 36%; font-weight: 600; color: var(--ink); padding-right: 20px; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.note { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.route { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: route; }
.route li { position: relative; padding: 0 0 22px 52px; counter-increment: route; }
.route li::before { content: counter(route); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--char); color: var(--copper-light); font: 700 18px/34px var(--display); text-align: center; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 2px; background: var(--sand-2); }
.route strong { color: var(--ink); }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid figure { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-grid picture { display: block; aspect-ratio: 4 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid figcaption { font-size: 14px; color: var(--muted); padding: 12px 16px; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }

.btn-dark { background: var(--char); color: #fff; }
.btn-dark:hover { background: var(--char-3); color: #fff; }
.map { position: relative; aspect-ratio: 16 / 10; background: var(--sand); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #efe5d3 14px 28px); }
.map-placeholder p { font-size: 13px; color: var(--muted); margin: 10px auto 0; max-width: 320px; }

.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.office h2 { font-size: 32px; margin-bottom: 8px; }
.office .map { margin-top: 18px; }
.row { display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; }
.row .icon { color: var(--copper-text); flex: none; margin-top: 3px; }
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reach-item { background: var(--char); color: rgba(255, 255, 255, .8); border-radius: var(--radius); padding: 28px; border-top: 3px solid var(--copper); }
.reach-item .icon { color: var(--copper); margin-bottom: 14px; }
.reach-item h2 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.reach-item a { color: #fff; font-size: 19px; text-decoration: none; font-weight: 500; word-break: break-word; }
.reach-item a:hover { color: var(--copper-light); }
.reach-item p { margin: 0 0 4px; }
@media (max-width: 900px) { .reach { grid-template-columns: 1fr; } }

.notfound { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.notfound img { margin: 0 auto 24px; }
.notfound h1 { font-size: clamp(38px, 5vw, 56px); text-transform: uppercase; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn-outline { border-color: var(--copper-text); color: var(--ink); }
.btn-outline:hover { background: var(--char); border-color: var(--char); color: #fff; }
.cta { background: var(--char); color: rgba(255, 255, 255, .8); padding: clamp(48px, 6vw, 72px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta h2 { color: #fff; margin-bottom: .2em; }
.cta p { margin: 0; }
.reach-big { color: #fff; font-size: 19px; font-weight: 500; }
