/* ==========================================================================
   Barnwell Industries — shared styles for brninc.com + ir.brninc.com
   Same brand (Montserrat / Poppins, #fdc716 yellow, #292929 charcoal, #01305e navy)
   with the Limegoat IR v3 touches used on Southland: caption-box heroes,
   square corners, sticky bars, accent underlines and quiet motion.
   ========================================================================== */


:root {
  --yellow: #fdc716;
  --yellow-600: #eab308;
  --yellow-rgb: 253, 199, 22;
  --accent-dark: #8f6c00;        /* yellow family, readable on white */
  --ink: #292929;
  --dark: #1f1f1f;
  --navy: #01305e;
  --text: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --soft: #f5f5f5;
  --white: #ffffff;
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 0px;
  --shadow: 0 10px 28px rgba(0, 0, 0, .08);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, .18);
  --head: "Montserrat", Helvetica, Arial, sans-serif;
  --body: "Poppins", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--body); font-size: 15px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Shared icon sizing */
.ico { width: 1em; height: 1em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  background: var(--yellow); color: var(--ink); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .ico { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover { background: var(--ink); color: #fff; }
.btn:hover .ico { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--yellow); }
.btn-dark .ico { color: var(--yellow); }
.btn-dark:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-dark:hover .ico { color: var(--ink); }
.btn-ghost-light { background: rgba(0, 0, 0, .18); color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.more .ico { width: 14px; height: 14px; color: var(--accent-dark); transition: transform .25s var(--ease); }
.more:hover { color: var(--ink); }
.more:hover .ico { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: #fff; position: relative; z-index: 70; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 100px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 300px; height: auto; }
.top-contact { display: flex; gap: 52px; }
.top-contact .item { display: flex; gap: 14px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--muted); font-weight: 500; }
.top-contact .item svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--yellow-600); margin-top: 1px; }
.top-contact strong { color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; margin-right: 6px; }
.top-contact a:hover { color: var(--ink); }

.navbar { background: var(--ink); position: sticky; top: 0; z-index: 60; transition: box-shadow .3s; }
.navbar.is-static { position: relative; }
.navbar.is-stuck { box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.navbar .wrap { display: flex; align-items: stretch; justify-content: space-between; min-height: 64px; }
.nav-panel { display: contents; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; display: flex; }
.menu > li + li > a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 20px; transform: translateY(-50%); background: rgba(255, 255, 255, .12); }
.menu > li > a {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 0 21px; color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase;
}
.menu > li:first-child > a { padding-left: 0; }
.menu > li > a::after {
  content: ""; position: absolute; left: 21px; right: 21px; bottom: 16px; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu > li:first-child > a::after { left: 0; }
.menu > li > a:hover, .menu > li.is-active > a { color: var(--yellow); }
.menu > li:hover > a::after, .menu > li.is-active > a::after { transform: scaleX(1); }
.menu .caret { width: 10px; height: 10px; opacity: .8; transition: transform .25s; }
.menu > li:hover .caret { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 8px 0; list-style: none;
  background: var(--dark); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.menu > li:first-child .submenu { left: -21px; }
.menu > li:hover > .submenu, .menu > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block; padding: 11px 22px; color: #fff; border-left: 3px solid transparent;
  font-family: var(--head); font-weight: 500; font-size: 14px; letter-spacing: .02em;
  transition: border-color .2s, background-color .2s, color .2s;
}
.submenu a:hover, .submenu li.is-active a { background: rgba(255, 255, 255, .06); border-left-color: var(--yellow); color: var(--yellow); }
.nav-cta { display: flex; }
.nav-cta a {
  display: flex; align-items: center; padding: 0 34px; background: var(--yellow); color: var(--ink);
  font-family: var(--head); font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .25s, color .25s;
}
.nav-cta a:hover { background: #fff; }
.nav-toggle { display: none; }

/* ==========================================================================
   Heroes — photo band with the title in a caption box (Southland pattern)
   ========================================================================== */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; isolation: isolate; background: #141414; color: #fff; min-height: 320px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-out both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .42) 50%, rgba(0, 0, 0, .1) 100%); }
.hero-inner { padding-top: 56px; padding-bottom: 84px; }
.hero-box { position: relative; max-width: 660px; padding: 4px 0 4px 26px; border-left: 6px solid var(--yellow); animation: rise .9s var(--ease) .1s both; }
.hero-eyebrow { margin: 0 0 8px; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.hero-title { margin: 0; font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; letter-spacing: -.005em; line-height: 1.12; color: #fff; }
.hero-text { margin: 16px 0 0; font-size: 17.5px; line-height: 1.65; color: rgba(255, 255, 255, .9); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-home { min-height: clamp(460px, 62vh, 600px); }
.hero-home .hero-box { max-width: 640px; padding: 36px 40px 38px; border-left-width: 8px; background: rgba(20, 20, 20, .78); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.hero-home .hero-title { font-size: clamp(38px, 4.6vw, 58px); }
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Sections + headings
   ========================================================================== */
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
/* Barnwell's label + navy rule heading (kept from the current site) */
.heading { border-left: 3px solid var(--navy); padding: 4px 0 4px 22px; margin-bottom: 46px; }
.heading .label { display: block; color: var(--navy); font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.heading h2 { margin: 0; font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.heading.is-center { border: 0; padding: 0; text-align: center; }
.heading.is-center .label { color: #fff; }
.heading.is-center h2 { color: var(--yellow); }
/* Content heading with a short yellow rule (Southland pattern) */
.h2u { position: relative; font-size: clamp(25px, 2.5vw, 31px); font-weight: 700; letter-spacing: -.005em; margin: 0 0 30px; padding-bottom: 16px; }
.h2u::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--yellow); }

/* Activities (single segment) */
.activity {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--yellow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.activity:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0, 0, 0, .1); }
.activity-media { position: relative; overflow: hidden; min-height: 320px; }
.activity-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.activity:hover .activity-media img { transform: scale(1.04); }
.activity-body { padding: 52px 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.activity-body h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 14px; }
.activity-body h3 a:hover { color: var(--accent-dark); }
.activity-body p { color: #6f6f6f; font-size: 15.5px; margin: 0; }

/* Subscribe band */
.band-subscribe { position: relative; isolation: isolate; background: var(--navy) center/cover no-repeat; color: #fff; text-align: center; padding: 80px 0 88px; }
.band-subscribe p.lead { color: rgba(255, 255, 255, .88); margin: 0 auto 34px; max-width: 620px; }
.subscribe-form { display: flex; gap: 0; max-width: 640px; margin: 0 auto; }
.subscribe-form input { flex: 1; border-color: transparent !important; }
.subscribe-form .btn { flex: 0 0 auto; min-width: 170px; min-height: 52px; }
.subscribe-form .btn:hover { background: #fff; color: var(--ink); }

/* Team teaser */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 52px; }
.team-card { border-top: 1px solid var(--line); padding-top: 28px; }
.tag { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1; padding: 7px 10px; margin-bottom: 14px; }
.team-card h3 { font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.team-card p { color: #707070; font-size: 14.5px; margin: 0; }
.center-cta { text-align: center; margin-top: 52px; }

/* Contact band (home) */
.band-contact { position: relative; isolation: isolate; background: #20313a center/cover no-repeat; padding: 64px 0; }
.contact-card { background: #fff; max-width: 600px; padding: 46px 44px 44px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--yellow); }
.contact-card .heading { margin-bottom: 30px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: 400 14.5px/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1px solid #cfcfcf; border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23292929' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8d8d8d; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--yellow-rgb), .35); }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 13.5px; color: #3f7a23; display: none; margin: 0; }
.form-note.is-visible { display: block; }
.band-subscribe .form-note { color: #fff; margin-top: 14px; }
.check-group h4 { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.check { display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 15px; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }

/* ==========================================================================
   Content pages
   ========================================================================== */
.prose { max-width: 900px; }
.prose.is-wide { max-width: none; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 12px; font-size: 16px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--yellow); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(var(--yellow-rgb), .9); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--accent-dark); }
.prose p { font-size: 16px; }
.prose > p:first-of-type { font-size: 17px; color: #333; }
.legal h1 { display: none; }
.legal p, .legal > p:first-of-type { font-size: 15px; color: var(--text); }
.legal p.legal-subhead { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 18px; margin-top: 2.2em; margin-bottom: .6em; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-info .org { display: block; color: var(--accent-dark); font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.contact-info address { font-style: normal; font-family: var(--head); font-weight: 600; font-size: 26px; line-height: 1.35; color: var(--ink); margin-bottom: 26px; }
.contact-lines { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-lines .row { display: flex; gap: 14px; align-items: center; font-size: 15.5px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-lines .row svg { width: 22px; height: 22px; color: var(--accent-dark); flex: 0 0 22px; }
.contact-lines strong { color: var(--ink); font-weight: 600; margin-right: 6px; }
.contact-lines a:hover { color: var(--accent-dark); }
.contact-form-card { background: #fff; padding: 36px; border-top: 4px solid var(--yellow); box-shadow: var(--shadow); }
.map-embed { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.4); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #d9d9d9; }
.footer-main { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 60px; }
.footer-main .about img { width: 280px; margin-bottom: 26px; }
.footer-main .about p { color: #e6e6e6; font-size: 14.5px; line-height: 1.7; max-width: 380px; margin: 0; }
.footer-main h4 { color: #fff; font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 24px; padding-bottom: 16px; position: relative; }
.footer-main h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: var(--yellow); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: #e6e6e6; font-size: 14.5px; display: inline-block; transition: color .2s, transform .2s; }
.footer-links a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-contact { display: grid; gap: 20px; }
.footer-contact .row { display: flex; gap: 16px; font-size: 14.5px; line-height: 1.6; color: #a9a9a9; }
.footer-contact .row svg { width: 22px; height: 22px; color: var(--yellow); flex: 0 0 22px; margin-top: 1px; }
.footer-contact strong { color: #fff; font-weight: 600; margin-right: 6px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { background: #1f1f1f; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 6px 24px; min-height: 64px; font-size: 13.5px; color: #bdbdbd; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom nav { display: flex; }
.footer-bottom nav a { color: #bdbdbd; }
.footer-bottom nav a + a { margin-left: 14px; padding-left: 14px; border-left: 1px solid #4a4a4a; }
.footer-bottom a:hover { color: #fff; }
.footer-credit { width: 100%; font-size: 11px; order: 3; }
.footer-credit a { color: #777; }
.footer-credit a:hover { color: #bdbdbd; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 48px; height: 48px; border: 0;
  background: var(--ink); color: var(--yellow); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background-color .2s, color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--yellow); color: var(--ink); }
.to-top svg { width: 20px; height: 20px; }

/* Reveal on scroll (with a safety net if scripts never run) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal:not(.is-in) { animation: reveal-fallback .6s ease-out 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .top-contact { gap: 32px; }
  .menu > li > a { padding: 0 14px; font-size: 13px; }
  .menu > li > a::after { left: 14px; right: 14px; }
  .nav-cta a { padding: 0 22px; }
}
@media (max-width: 980px) {
  .topbar .wrap { min-height: 78px; }
  .brand img { width: 230px; }
  .top-contact { display: none; }
  .navbar .wrap { min-height: 0; flex-wrap: wrap; padding: 0; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 var(--gutter);
    background: none; border: 0; color: #fff; cursor: pointer;
    font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  }
  .nav-toggle .bars { position: relative; width: 22px; height: 14px; }
  .nav-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: all .25s var(--ease); }
  .nav-toggle .bars span:nth-child(1) { top: 0; }
  .nav-toggle .bars span:nth-child(2) { top: 6px; }
  .nav-toggle .bars span:nth-child(3) { top: 12px; }
  .nav-open .nav-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
  .nav-panel { display: none; width: 100%; padding: 6px 0 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .nav-open .nav-panel { display: block; }
  .menu { flex-direction: column; }
  .menu > li { flex-direction: column; }
  .menu > li > a, .menu > li:first-child > a { padding: 14px var(--gutter); }
  .menu > li + li > a::before, .menu > li > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .04); padding: 4px 0; display: none; }
  .menu > li.is-open > .submenu { display: block; }
  .submenu a { padding: 10px calc(var(--gutter) + 16px); }
  .menu > li:hover .caret { transform: none; }
  .menu > li.is-open .caret { transform: rotate(180deg); }
  .menu .caret { margin-left: auto; width: 12px; height: 12px; color: var(--yellow); }
  .nav-cta { padding: 12px var(--gutter) 0; }
  .nav-cta a { width: 100%; justify-content: center; min-height: 50px; }

  .section { padding: 68px 0; }
  .activity { grid-template-columns: 1fr; }
  .activity-media { min-height: 0; width: 100%; aspect-ratio: 16 / 9; }
  .activity-body { padding: 34px 26px 38px; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main .about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }
  .brand img { width: 200px; }
  .hero { min-height: 240px; }
  .hero-inner { padding-top: 44px; padding-bottom: 64px; }
  .hero-box { padding-left: 18px; }
  .hero-home { min-height: 440px; }
  .hero-home .hero-box { padding: 26px 22px 28px; }
  .hero-text { font-size: 16px; }
  .section { padding: 54px 0; }
  .heading { margin-bottom: 30px; padding-left: 16px; }
  .subscribe-form { flex-direction: column; gap: 10px; }
  .band-contact { padding: 0; }
  .band-contact .wrap { padding: 0; }
  .contact-card { box-shadow: none; max-width: none; padding: 34px 20px; }
  .contact-form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-info address { font-size: 21px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; padding-top: 54px; padding-bottom: 38px; }
  .footer-bottom .wrap { flex-direction: column; align-items: flex-start; justify-content: center; }
  .map-embed { height: 320px; }
}

@media print {
  .topbar .top-contact, .navbar, .ir-bar, .hero, .site-footer, .to-top, .article-tools, .article-aside { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* Corporate home hero: the photo is a wide strip, so keep the band close to the original height */
.hero-home.hero-corp { min-height: 520px; }
@media (max-width: 640px) { .hero-home.hero-corp { min-height: 440px; } }

/* ==========================================================================
   v3 — single-business layout
   ========================================================================== */
.hero-corp .hero-title { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; }
.hero-corp .hero-inner { padding-bottom: 110px; }

/* Company facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--yellow); margin: 40px 0; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 24px 26px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-value { font-family: var(--head); font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.fact-label { font-size: 13px; color: var(--muted); }
.facts-wrap { position: relative; z-index: 3; }
.facts-overlap { margin: -56px 0 0; box-shadow: var(--shadow); }

/* Our Business feature */
.business { padding-top: 84px; }
.business-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.business-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.business-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.business-media:hover img { transform: scale(1.04); }
.business-media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 6px; background: var(--yellow); }
.business-body .heading { margin-bottom: 26px; }
.business-body p { font-size: 15.5px; }
.lead-text { font-size: 18px; line-height: 1.65; color: var(--ink); font-weight: 500; }

/* About: where to go next */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 56px 26px 26px; background: var(--soft); border-top: 4px solid transparent; transition: border-color .25s, background-color .25s, transform .3s var(--ease); }
.tile:hover { border-top-color: var(--yellow); background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.tile-title { font-family: var(--head); font-size: 18px; font-weight: 700; color: var(--ink); }
.tile-text { font-size: 14px; color: var(--muted); }
.tile-go { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--accent-dark); }
.tile-go .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.tile:hover .tile-go .ico { transform: translateX(4px); }

/* Oil & Natural Gas: copy + key facts */
.oil-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.key-facts { background: var(--soft); border-top: 4px solid var(--yellow); padding: 28px 28px 10px; position: sticky; top: 96px; }
.key-facts h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.key-facts dl { margin: 0; }
.key-facts dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.key-facts dl > div:last-child { border-bottom: 0; }
.key-facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.key-facts dd { margin: 2px 0 0; font-family: var(--head); font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* Home contact: heading sits with the details */
.contact-info .heading { margin-bottom: 30px; }

@media (max-width: 980px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .business-grid, .oil-grid { grid-template-columns: 1fr; }
  .key-facts { position: static; }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts-overlap { margin-top: -40px; }
  .fact { padding: 18px 16px; }
  .fact-value { font-size: 18px; }
  .business { padding-top: 60px; }
  .hero-corp .hero-inner { padding-bottom: 80px; }
}

/* Announcement panel inside the home banner (test home pages: index-sale-qa.html) */
.hero-notice { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-notice-label { display: inline-block; margin: 0 0 10px; padding: 5px 9px; background: var(--yellow); color: var(--ink); font: 700 11.5px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.hero-notice-title { margin: 0; font-family: var(--head); font-size: 19px; font-weight: 600; line-height: 1.35; color: #fff; }
.hero-notice .hero-actions { margin-top: 18px; }
@media (max-width: 640px) { .hero-notice-title { font-size: 17px; } }

/* ==========================================================================
   Typography system (matches the current Barnwell sites)
   Headings, titles, names, labels and buttons: Montserrat, ALL CAPS.
   Body copy, descriptions and sentence-length headings (FAQ / Q&A questions,
   press-release headlines): Poppins / sentence case, as on the current site.
   ========================================================================== */
.hero .hero-title, .hero-home .hero-title, .hero-corp .hero-title {
  font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase;
}
.hero-home .hero-box { max-width: 720px; }
.heading h2, .h2u { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
.hero-notice-title { font-size: 17px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.tile-title { font-size: 16px; letter-spacing: .03em; text-transform: uppercase; }
.legal p.legal-subhead { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.key-facts h3, .check-group h4, .hero-eyebrow, .contact-info .org { font-size: 13px; letter-spacing: .12em; }
