:root {
  --navy: #031e5b;
  --navy-2: #0a2d78;
  --ink: #172033;
  --green: #3d5b11;
  --green-2: #4f7316;
  --lime: #e4efc4;
  --gold: #c4a15a;
  --gold-2: #e7d7a8;
  --sand: #f5f3ee;
  --paper: #ffffff;
  --line: #e3dfd4;
  --muted: #5c6573;
  --shadow: 0 18px 50px rgba(3, 30, 91, 0.12);
  --header: 78px;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 2.5rem)); margin: 0 auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker.dark { color: var(--green); }
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
}

.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: var(--green-2); }
.btn-navy { background: var(--navy); color: white; }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: white; color: var(--navy); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: white; }

.topbar {
  background: var(--green);
  color: white;
  font-size: 0.86rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  align-items: center;
  min-height: 38px;
  flex-wrap: wrap;
  padding: 0.3rem 0;
}
.topbar a { color: white; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.concept {
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 0;
}
.mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  position: relative;
  flex: none;
}
.mark::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 2px;
  background: var(--gold);
}
.brand strong { display: block; color: var(--navy); font-size: 1rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand span { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.menu { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button.navlink {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 0;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.menu > li > a:hover, .menu > li > button.navlink:hover,
.menu > li.is-active > a, .menu > li.is-active > button.navlink {
  background: #e7edf8;
}
.caret { font-size: 0.65rem; opacity: 0.7; }
.sub {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 250px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  display: grid;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.16s ease;
}
.menu > li:hover > .sub,
.menu > li:focus-within > .sub,
.menu > li.is-open > .sub {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.sub a {
  text-decoration: none;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
}
.sub a:hover, .sub a[aria-current="page"] { background: var(--lime); color: var(--navy); }
.sub .soon {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  color: var(--navy);
}

.hero {
  position: relative;
  color: white;
  min-height: calc(100vh - 116px);
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(100deg, rgba(2, 10, 32, 0.9) 0%, rgba(3, 30, 91, 0.55) 40%, rgba(3, 30, 91, 0.08) 72%),
    var(--hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-photos { background-image: none; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
}
.slide-arch {
  background-image: url("../assets/photos/pipeline-arch.png");
  background-position: 68% bottom;
  opacity: 1;
}
.hero-photos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 16, 42, 0.94) 0%, rgba(3, 30, 91, 0.86) 30%, rgba(3, 30, 91, 0.28) 52%, rgba(3, 30, 91, 0.12) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 4.5rem 0 3.5rem; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 2rem; align-items: end; }

.town {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--navy);
}
.town figure { margin: 0; position: relative; overflow: hidden; }
.town img { width: 100%; height: 168px; object-fit: cover; display: block; }
.town figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.7rem 0.45rem;
  background: linear-gradient(transparent, rgba(3, 30, 91, 0.94));
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.town .logo-tile { background: #fff; }
.town .logo-tile img { object-fit: contain; background: #fff; padding: 0.85rem 0.7rem 1.6rem; }
.town .logo-tile figcaption { background: linear-gradient(transparent, rgba(61, 91, 17, 0.94)); }
.hero h1 { font-size: clamp(3.2rem, 6.4vw, 6.1rem); max-width: 11ch; color: white; }
.hero .lede { color: rgba(255,255,255,0.86); margin-top: 1.2rem; font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 1.2rem;
  display: grid;
  gap: 0.85rem;
}
.hero-card div { display: grid; gap: 0.15rem; }
.hero-card strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.hero-card span { color: rgba(255,255,255,0.78); font-size: 0.92rem; }

.section { padding: 5rem 0; }
.section h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); max-width: 16ch; }
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head p { max-width: 34rem; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center; }
.panel {
  background: var(--navy);
  color: white;
  border-radius: 28px;
  padding: 2rem;
  min-height: 100%;
}
.panel h2, .panel h3 { color: white; }
.panel p { color: rgba(255,255,255,0.84); margin-top: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.card, .info, .person, .story, .prop {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem 1.3rem 1.35rem;
}
.card h3, .info h3, .person h3, .story h3, .prop h3 { font-size: 1.45rem; margin: 0.35rem 0 0.55rem; }
.card p, .info p, .person p, .story p, .prop p { color: var(--muted); }
.index-no { color: var(--green); font-weight: 700; letter-spacing: 0.12em; font-size: 0.78rem; }

.quote-band { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; max-width: 20ch; }
.quote-foot { margin-top: 1.2rem; color: var(--muted); }
.sample-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--green);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-wrap { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.marquee { display: flex; gap: 2.5rem; width: max-content; animation: slide 32s linear infinite; padding: 1.1rem 0; }
.marquee span { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); font-size: 0.92rem; white-space: nowrap; }
.marquee span::before { content: "●"; color: var(--gold); margin-right: 2.5rem; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.stats { background: var(--navy); color: white; }
.stats .grid-3 { gap: 0; }
.stat { padding: 1.4rem 1.2rem; border-left: 1px solid rgba(255,255,255,0.12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); font-weight: 600; letter-spacing: -0.02em; }
.stat span { color: rgba(255,255,255,0.75); }

.industry { display: grid; grid-template-columns: 160px 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.industry:last-child { border-bottom: 1px solid var(--line); }
.industry strong { font-size: 1.35rem; font-family: var(--serif); font-weight: 600; }
.industry em { font-style: normal; color: var(--green); font-weight: 600; }

.media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}
.media .copy { padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; }
.media .visual {
  background-image:
    linear-gradient(160deg, rgba(3,30,91,0.25), rgba(61,91,17,0.35)),
    var(--hero);
  background-size: cover;
  background-position: center;
}
.media .visual-tanks {
  background-image: linear-gradient(180deg, rgba(3, 30, 91, 0.05), rgba(3, 30, 91, 0.28)), url("../assets/photos/tank-farm.png");
  background-position: center;
}
.media .visual-downtown {
  background-image: linear-gradient(180deg, rgba(3, 30, 91, 0.05), rgba(61, 91, 17, 0.28)), url("../assets/photos/downtown.png");
  background-position: center 30%;
}
.media.flip { grid-template-columns: 0.9fr 1.1fr; }
.media.flip .visual { order: -1; }

.stories { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 1rem; }
.story time { color: var(--muted); font-size: 0.85rem; }
.story a { color: var(--navy); font-weight: 600; text-decoration: none; }
.story a:hover { text-decoration: underline; }

.cta {
  background-image:
    linear-gradient(120deg, rgba(3,30,91,0.92), rgba(61,91,17,0.88)),
    var(--hero);
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 30px;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.cta-cushing {
  background-image:
    linear-gradient(120deg, rgba(3, 30, 91, 0.9), rgba(61, 91, 17, 0.84)),
    url("../assets/photos/parade.png");
  background-position: center 40%;
}
.cta h2 { color: white; font-size: clamp(2rem, 4vw, 3.2rem); }

.page-hero { padding: 3.5rem 0 1rem; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 14ch; margin: 0.6rem 0 1rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); }
.crumbs a { color: var(--navy); text-decoration: none; font-weight: 600; }
.prose { display: grid; gap: 1rem; max-width: 46rem; }
.prose h2 { font-size: 2rem; margin-top: 0.6rem; }
.note {
  background: #fff8e8;
  border: 1px solid #ead7a4;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: #5c4814;
  font-size: 0.95rem;
}

.timeline { display: grid; gap: 0; }
.tl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.tl b { color: var(--navy); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.2rem; }
.filters button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
}
.filters button.is-on { background: var(--navy); color: white; border-color: var(--navy); }
#property-grid { transition: opacity 240ms ease; }
#property-grid.is-fading { opacity: 0; }
.prop { display: grid; gap: 0.4rem; text-decoration: none; color: inherit; }
.prop[hidden] { display: none; }
.prop:hover { border-color: var(--green); }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill { background: var(--sand); border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.8rem; font-weight: 600; color: var(--navy); }

form.stack { display: grid; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}
textarea { min-height: 140px; resize: vertical; }
.form-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 1.3rem; }
.success { display: none; background: var(--lime); border-radius: 14px; padding: 0.8rem 1rem; color: var(--green); font-weight: 600; }
.success.show { display: block; }

.map-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.2rem; align-items: start; }
.map-box { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 1rem; }
.map-box svg { width: 100%; height: auto; }
.city-dot { cursor: pointer; }
.city-dot.is-on circle { stroke: #c4a15a; stroke-width: 3; }
.side-list { display: grid; gap: 0.6rem; }
.side-list button {
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
}
.side-list button.is-on { border-color: var(--navy); background: #eef3ff; }

footer.site { background: #071433; color: rgba(255,255,255,0.82); padding: 3rem 0 1.4rem; margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.5rem; }
footer a { color: white; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer h3 { color: white; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.dialog {
  width: min(560px, calc(100% - 2rem));
  border: 0;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.dialog::backdrop { background: rgba(3, 20, 50, 0.55); }
.search-results { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.25rem; }
.search-results a { display: block; text-decoration: none; padding: 0.55rem 0.4rem; border-radius: 8px; }
.search-results a:hover { background: var(--sand); }

.phase-list { display: grid; gap: 1rem; }
.phase-group { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem 1.3rem; }
.phase-group h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.phase-group ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--muted); }

table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: white; font-weight: 600; }

@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
  body.nav-open .menu { display: flex; }
  .sub { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; display: none; border: 0; padding: 0 0 0.4rem 0.6rem; }
  .menu > li.is-open > .sub { display: grid; }
  .hero-inner, .split, .grid-2, .grid-3, .grid-4, .stories, .media, .media.flip, .map-layout, .foot-grid, .cta {
    grid-template-columns: 1fr;
  }
  .media.flip .visual { order: 0; }
  .stats .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .industry { grid-template-columns: 1fr; }
  .section-head, .cta { flex-direction: column; align-items: start; }
  .hero { min-height: auto; }
  .town { display: flex; overflow-x: auto; }
  .town figure { min-width: 210px; flex: none; }
  .hero h1 { max-width: none; }
  .visual { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .slide-arch { opacity: 1; }
  #property-grid { transition: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
