:root {
  --ink: #141a20;
  --ink-soft: #303943;
  --midnight: #10151b;
  --midnight-soft: #1b242d;
  --gold: #d3ad53;
  --gold-light: #f2d68d;
  --paper: #f7f6f2;
  --white: #ffffff;
  --muted: #69717a;
  --line: #dedbd1;
  --content-width: 1160px;
  --shadow: 0 18px 46px rgba(0, 0, 0, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body, button, input, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { max-width: 100%; display: block; }
a { color: #765510; text-underline-offset: .19em; }
a:hover { color: #4f390b; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #2478c5; outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(var(--content-width), calc(100% - 48px)); 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; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); background: var(--white); color: var(--ink); border: 2px solid var(--gold); border-radius: 4px; padding: 9px 14px; }
.skip-link:focus { transform: translateY(0); }

/* Header / navigation */
.site-header { background: var(--midnight); color: var(--white); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(211,173,83,.32); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: .01em; line-height: 1.2; }
.brand:hover { color: var(--gold-light); }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font: 700 .78rem/1 Georgia, "Times New Roman", serif; letter-spacing: -.04em; flex: 0 0 auto; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { color: #f2f0e8; text-decoration: none; padding: 10px 14px; border-radius: 4px; font-size: .96rem; font-weight: 600; transition: background .18s ease, color .18s ease; }
.nav-link:hover, .nav-link:focus-visible { color: var(--gold-light); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--gold); }
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(211,173,83,.65); border-radius: 4px; color: var(--gold); width: 46px; height: 42px; align-items: center; justify-content: center; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

/* Hero */
.hero { min-height: 510px; background: #182029 url("https://thumb.wikimedia.org/wikipedia/commons/thumb/7/75/PumpJack.jpg/1280px-PumpJack.jpg") center 46% / cover no-repeat; color: var(--white); position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,15,.92) 0%, rgba(7,11,15,.77) 47%, rgba(7,11,15,.28) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 74px 70px; max-width: var(--content-width); }
.hero h1, .page-hero h1 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; font-weight: 600; letter-spacing: -.025em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); max-width: 760px; margin: 13px 0 20px; }
.eyebrow { color: var(--gold-light); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .72rem; line-height: 1.5; margin: 0 0 10px; }
.dark-eyebrow { color: #8a671b; }
.hero-copy { color: #e3e4e5; max-width: 625px; font-size: clamp(1.05rem, 1.6vw, 1.26rem); margin: 0 0 28px; }
.hero-note { color: #c6cbd0; font-size: .8rem; max-width: 720px; margin: 15px 0 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 4px; font-size: .94rem; font-weight: 800; line-height: 1.4; text-decoration: none; border: 1px solid transparent; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold); color: #15191d; border-color: var(--gold); box-shadow: 0 6px 18px rgba(0,0,0,.13); }
.button-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #15191d; }
.hero-cta { max-width: 100%; }
.button-outline { color: var(--ink); background: transparent; border-color: #9b854d; }
.button-outline:hover { color: var(--ink); background: #fbf4e3; }

/* Photography and sections */
.image-section { padding-block: 42px 30px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photo-card { margin: 0; overflow: hidden; background: #f3f1eb; border: 1px solid #e7e2d5; }
.photo-card img { width: 100%; height: 260px; object-fit: cover; transition: transform .35s ease; }
.photo-card:hover img { transform: scale(1.025); }
.photo-card figcaption { color: #5e6267; font-size: .88rem; padding: 10px 14px 12px; }
.section-rule { border: 0; height: 3px; background: #101010; margin: 18px 0 0; }
.content-section { padding-block: 60px 66px; }
.content-section h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.85rem, 4vw, 2.8rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 22px; }
.intro-section { max-width: 1020px; }
.intro-section h2:first-of-type { max-width: 900px; }
.intro-section .lead-heading { font-family: inherit; font-size: clamp(1.05rem, 2vw, 1.34rem); font-weight: 500; line-height: 1.75; letter-spacing: 0; margin-top: 20px; }
.section-link { margin-top: 26px; }
.text-link { font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.shale-section { max-width: 1030px; padding-top: 50px; }
.shale-section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.shale-section p { max-width: 890px; color: #3c444c; font-size: 1.08rem; }
.shale-section .button { margin-top: 16px; }
.source-note { font-size: .82rem !important; line-height: 1.65; color: #646a70 !important; border-left: 3px solid var(--gold); padding-left: 14px; margin-top: 30px; }
.contact-band { background: var(--midnight-soft); color: var(--white); padding-block: 38px; }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.contact-band h2 { font: 600 clamp(1.7rem, 3.2vw, 2.3rem)/1.2 Georgia, "Times New Roman", serif; margin: 0 0 8px; }
.contact-band p:not(.eyebrow) { color: #d0d4d7; margin: 0; }
.contact-band .eyebrow { margin-bottom: 8px; }

/* Interior pages */
.page-hero { background: radial-gradient(ellipse at 80% 20%, #34404a 0%, #1a222a 40%, #10151b 100%); color: var(--white); padding-block: 76px 70px; border-bottom: 3px solid var(--gold); }
.page-hero-inner { max-width: var(--content-width); }
.page-hero h1 { font-size: clamp(2.45rem, 5vw, 4rem); margin: 8px 0 16px; }
.page-hero p:last-child { color: #d2d6d9; font-size: 1.12rem; margin: 0; }
.about-grid-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(30px, 6vw, 80px); align-items: center; padding-block: 68px; }
.about-copy h2 { font: 600 clamp(2rem, 3.3vw, 2.7rem)/1.18 Georgia, "Times New Roman", serif; margin: 0 0 20px; }
.about-copy p:not(.eyebrow) { color: #434a51; }
.about-copy .button { margin-top: 12px; }
.about-image { margin: 0; }
.about-image img { width: 100%; height: 365px; object-fit: cover; box-shadow: var(--shadow); }
.about-image figcaption { color: #6a7075; font-size: .82rem; padding-top: 8px; }
.facts-band { background: #f4f1e8; border-block: 1px solid #e7dfca; padding-block: 38px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fact-card { padding: 22px 24px; border-left: 3px solid var(--gold); }
.fact-number { font: 700 clamp(1.55rem, 2.6vw, 2.1rem)/1.2 Georgia, "Times New Roman", serif; color: #73530e; }
.fact-card h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 9px 0 6px; }
.fact-card p { color: #62676b; font-size: .9rem; margin: 0; }
.disclaimer-section { max-width: 980px; }
.disclaimer-section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.disclaimer-section p { color: #485057; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 305px; align-items: start; gap: clamp(34px, 5vw, 70px); padding-block: 58px 72px; }
.article-main { min-width: 0; }
.article-intro { font-size: 1.15rem; line-height: 1.85; color: #303941; margin: 0 0 34px; }
.article-section { padding-block: 23px 20px; border-top: 1px solid var(--line); }
.article-section h2, .source-panel h2 { font: 600 clamp(1.5rem, 2.5vw, 2rem)/1.25 Georgia, "Times New Roman", serif; margin: 0 0 18px; }
.detail-list { padding-left: 23px; margin: 0; }
.detail-list li { padding-left: 5px; margin-bottom: 15px; color: #3b444d; }
.detail-list li::marker { color: #a78227; }
.detail-list strong { color: #1c242b; }
.article-sidebar { position: sticky; top: 112px; }
.article-sidebar > img { width: 100%; height: 220px; object-fit: cover; }
.sidebar-card { background: #f6f2e8; padding: 23px; border-bottom: 3px solid var(--gold); }
.sidebar-card h2 { font: 600 1.65rem/1.2 Georgia, "Times New Roman", serif; margin: 8px 0 12px; }
.sidebar-card p:not(.eyebrow) { color: #535a5e; font-size: .92rem; }
.sidebar-card a { font-weight: 800; text-decoration: none; }
.source-panel { padding: 24px 26px; background: #f7f6f2; border: 1px solid #e8e3d7; margin-top: 35px; }
.source-panel h2 { font-size: 1.55rem; }
.source-panel p { color: #4d555c; }
.source-panel li { margin-bottom: 9px; }
.legal-note { margin-top: 30px; color: #6e747a; font-size: .84rem; border-top: 1px solid var(--line); padding-top: 18px; }

/* Footer */
.site-footer { background: #0d1116; color: #e9eaeb; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .9fr) minmax(150px, .55fr); gap: 38px; padding-block: 46px 36px; }
.footer-brand { font-size: 1.25rem; }
.footer-brand-block > p { color: #aeb4b9; font-size: .9rem; max-width: 330px; margin: 18px 0 0; }
.footer-contact h2, .footer-links h2 { font-family: inherit; font-size: .93rem; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .13em; color: var(--gold); margin: 0 0 14px; }
.footer-contact address, .footer-contact p { font-style: normal; color: #cbd0d3; margin: 0 0 10px; font-size: .92rem; }
.footer-contact a, .footer-links a { color: #e6e8e9; text-decoration: none; }
.footer-contact a:hover, .footer-links a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links h2 { margin-bottom: 3px; }
.footer-links a { font-size: .92rem; }
.image-credits { padding-bottom: 25px; }
.image-credits p { border-top: 1px solid #343b42; margin: 0; padding-top: 18px; color: #9ea5ab; font-size: .75rem; line-height: 1.65; }
.image-credits a { color: #e4c778; }
.footer-bottom { border-top: 1px solid #293039; background: #080b0f; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px; color: #929aa0; font-size: .76rem; }

/* Accessibility options */
.accessibility-widget { position: fixed; z-index: 500; left: 18px; bottom: 18px; }
.accessibility-launch { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid #fff; background: #175da8; color: #fff; border-radius: 50%; box-shadow: 0 4px 18px rgba(0,0,0,.26); }
.accessibility-launch svg { width: 32px; height: 32px; }
.accessibility-launch:hover { background: #0c457e; }
.accessibility-panel { position: absolute; bottom: 64px; left: 0; width: 260px; padding: 15px; background: #fff; color: #141a20; border: 1px solid #9ba3aa; border-radius: 8px; box-shadow: var(--shadow); }
.widget-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .95rem; margin-bottom: 11px; }
.widget-close { display: inline-grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 50%; background: rgba(255,255,255,.13); color: inherit; font-size: 1.45rem; line-height: 1; }
.accessibility-panel .widget-close { background: #eceff2; color: #111; }
.accessibility-panel > button:not(.widget-close) { width: 100%; margin-block: 4px; text-align: left; border: 1px solid #c8cdd2; background: #f8f9fa; color: #10151b; border-radius: 4px; padding: 8px 10px; font-weight: 650; font-size: .86rem; }
.accessibility-panel > button:not(.widget-close):hover { background: #e9f2fc; }
.widget-small { font-size: .73rem; line-height: 1.45; color: #5d6368; margin: 11px 0 0; }
body.high-contrast { background: #000 !important; color: #fff !important; }
body.high-contrast main, body.high-contrast .content-section, body.high-contrast .photo-card, body.high-contrast .facts-band, body.high-contrast .fact-card, body.high-contrast .sidebar-card, body.high-contrast .source-panel { background: #000 !important; color: #fff !important; border-color: #ffeb3b !important; }
body.high-contrast p, body.high-contrast li, body.high-contrast figcaption, body.high-contrast h1, body.high-contrast h2, body.high-contrast h3, body.high-contrast label { color: #fff !important; }
body.high-contrast a { color: #ffeb3b !important; }
body.high-contrast .site-header, body.high-contrast .site-footer, body.high-contrast .page-hero, body.high-contrast .contact-band { background: #000 !important; color: #fff !important; }
body.high-contrast .button-gold { background: #ffeb3b !important; color: #000 !important; border-color: #ffeb3b !important; }

/* Chat widget */
.chat-widget { position: fixed; z-index: 510; right: 22px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launch { display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: #10151b; border: 2px solid #fff; border-radius: 28px; box-shadow: 0 5px 22px rgba(0,0,0,.28); padding: 11px 18px; font-size: .92rem; font-weight: 850; }
.chat-launch:hover { background: var(--gold-light); }
.chat-bubble-icon { display: inline-grid; place-items: center; width: 25px; height: 21px; border: 2px solid currentColor; border-radius: 6px; font-size: 0; position: relative; }
.chat-bubble-icon::after { content: ""; position: absolute; bottom: -5px; left: 4px; width: 7px; height: 7px; border-left: 2px solid currentColor; transform: skewY(-36deg); background: var(--gold); }
.chat-panel { width: min(365px, calc(100vw - 36px)); max-height: min(620px, calc(100vh - 120px)); overflow: hidden; display: flex; flex-direction: column; background: #fff; color: #17202a; border-radius: 12px; border: 1px solid #cbd0d6; box-shadow: 0 18px 54px rgba(0,0,0,.3); }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; background: var(--midnight); color: #fff; border-bottom: 3px solid var(--gold); }
.chat-header strong, .chat-header span { display: block; }
.chat-header strong { font-size: .94rem; }
.chat-header span { color: #c1c8ce; font-size: .76rem; margin-top: 2px; }
.chat-body { padding: 17px; overflow-y: auto; }
.chat-welcome { margin: 0 0 15px; font-size: .87rem; color: #3c454d; }
.chat-body form { display: grid; gap: 6px; }
.chat-body label { font-size: .8rem; font-weight: 800; color: #202830; }
.chat-body input, .chat-body textarea { width: 100%; border: 1px solid #bbc2c9; border-radius: 4px; padding: 8px 9px; background: #fff; color: #111820; }
.chat-body textarea { resize: vertical; }
.chat-submit { width: 100%; margin-top: 8px; }
.chat-disclaimer { color: #6e757b; font-size: .7rem; line-height: 1.45; margin: 5px 0 0; }

@media (max-width: 900px) {
  .header-inner { min-height: 74px; }
  .menu-toggle { display: inline-flex; flex: 0 0 auto; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 16px; background: #10151b; border-top: 1px solid #383d42; border-bottom: 2px solid var(--gold); }
  .primary-nav.open { display: flex; }
  .nav-link { padding: 13px 10px; }
  .photo-card img { height: 220px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 2; }
}
@media (max-width: 680px) {
  .container { width: min(var(--content-width), calc(100% - 34px)); }
  .brand { font-size: 1.08rem; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: .7rem; }
  .hero { min-height: 535px; background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,11,15,.91), rgba(7,11,15,.64)); }
  .hero-content { padding-block: 64px 62px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .hero-cta { text-align: center; font-size: .88rem; padding: 12px 13px; }
  .image-section { padding-block: 26px 20px; }
  .photo-grid { grid-template-columns: 1fr; gap: 15px; }
  .photo-card img { height: 245px; }
  .section-rule { margin-top: 12px; }
  .content-section { padding-block: 42px 46px; }
  .content-section h2 { font-size: 1.85rem; }
  .intro-section .lead-heading { font-size: 1.05rem; }
  .shale-section h2 { font-size: 1.55rem; }
  .contact-band-inner { align-items: flex-start; flex-direction: column; }
  .contact-band .button { width: 100%; }
  .page-hero { padding-block: 52px; }
  .about-grid-section { grid-template-columns: 1fr; padding-block: 45px; }
  .about-image img { height: 270px; }
  .facts-grid { grid-template-columns: 1fr; gap: 12px; }
  .fact-card { padding: 15px 20px; }
  .article-layout { grid-template-columns: 1fr; padding-block: 38px 50px; }
  .article-sidebar { position: static; display: grid; grid-template-columns: 1fr; gap: 0; }
  .article-sidebar > img { height: 220px; }
  .article-intro { font-size: 1.04rem; }
  .source-panel { padding: 18px; }
  .footer-main { grid-template-columns: 1fr; gap: 27px; padding-block: 36px 26px; }
  .footer-links { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; }
  .accessibility-widget { left: 12px; bottom: 12px; }
  .accessibility-launch { width: 46px; height: 46px; }
  .accessibility-launch svg { width: 28px; height: 28px; }
  .chat-widget { right: 12px; bottom: 12px; }
  .chat-launch { padding: 10px 13px; font-size: .83rem; }
  .chat-panel { max-height: calc(100vh - 90px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
