/* OPJ INVESTMENTS LTD — Wind Farm Control motif
   Palette: storm-carbon #20262A | blade-ivory #EDEAE0 | citrine-vane #D9AE4A
            pylon-steel #2A3237 | grid-base #141A1E
   No rgba, no opacity decimals, no gradients on text, no semi-transparent text.
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #20262A;
  color: #EDEAE0;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 18px 0;
  color: #EDEAE0;
  letter-spacing: 0.4px;
}

h1 { font-size: 2.7rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 18px 0;
  color: #EDEAE0;
}

a {
  color: #D9AE4A;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  background-color: #D9AE4A;
  color: #20262A;
  padding: 10px 18px;
  z-index: 100;
}

.skip-to-content:focus {
  left: 12px;
  top: 12px;
}

/* ============================================================
   TURBINE LINE HEADER
   ============================================================ */

.turbineline {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #20262A;
  border-bottom: 1px solid #D9AE4A;
  clip-path: polygon(0 14px, 6% 0, 18% 14px, 34% 0, 50% 14px, 66% 0, 82% 14px, 94% 0, 100% 12px, 100% 100%, 0 100%);
  padding: 26px 26px 0 26px;
}

.turbineline-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.nacelleplate {
  position: relative;
  background-color: #2A3237;
  border: 1px solid #D9AE4A;
  border-radius: 4px;
  padding: 14px 22px 14px 54px;
  display: inline-block;
}

.nacelleplate::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 4px;
  margin-top: -2px;
  background-color: #D9AE4A;
  transform: rotate(-28deg);
}

.nacelleplate .brandname {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #EDEAE0;
  display: block;
}

.nacelleplate .brandsub {
  font-size: 0.72rem;
  letter-spacing: 2.4px;
  color: #D9AE4A;
  text-transform: uppercase;
  display: block;
}

.towernav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.towercol {
  position: relative;
  background-color: #2A3237;
  border: 1px solid #39434A;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  padding: 26px 16px 14px 16px;
  min-width: 108px;
  text-align: center;
  display: block;
  color: #EDEAE0;
  font-size: 0.86rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.towercol::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background-color: #D9AE4A;
}

.towercol::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px;
  height: 14px;
  margin-left: -9px;
  background-color: #D9AE4A;
  clip-path: polygon(50% 50%, 46% 0, 54% 0);
}

.towercol:hover,
.towercol.is-current {
  background-color: #D9AE4A;
  color: #20262A;
  text-decoration: none;
}

.towercol:hover::before,
.towercol.is-current::before {
  background-color: #20262A;
}

.towercol:hover::after,
.towercol.is-current::after {
  background-color: #20262A;
}

.slipline {
  height: 1px;
  background-color: #4A545B;
  margin-top: 10px;
}

.navtoggle {
  display: none;
  background-color: #2A3237;
  color: #EDEAE0;
  border: 1px solid #D9AE4A;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 0.86rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

/* ============================================================
   SHARED LAYOUT
   ============================================================ */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
}

.band-carbon { background-color: #20262A; }
.band-pylon { background-color: #2A3237; }
.band-base { background-color: #141A1E; }

.sectionpad {
  padding: 76px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D9AE4A;
  border-left: 4px solid #D9AE4A;
  padding-left: 12px;
  margin-bottom: 16px;
}

.leadtext {
  font-size: 1.08rem;
  max-width: 780px;
}

/* ============================================================
   FEEDER TAG BUTTONS
   ============================================================ */

.feedertag {
  display: inline-block;
  background-color: #D9AE4A;
  color: #20262A;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 14px 26px;
  margin: 6px 10px 6px 0;
  border: 1px solid #D9AE4A;
  border-radius: 3px;
  position: relative;
  padding-left: 38px;
}

.feedertag::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background-color: #20262A;
}

.feedertag:hover {
  background-color: #EDEAE0;
  border-color: #EDEAE0;
  text-decoration: none;
}

.feedertag-ghost {
  background-color: #2A3237;
  color: #EDEAE0;
  border: 1px solid #D9AE4A;
}

.feedertag-ghost::before {
  background-color: #D9AE4A;
}

.feedertag-ghost:hover {
  background-color: #39434A;
  border-color: #D9AE4A;
}

/* ============================================================
   WIND FARM HERO
   ============================================================ */

.windfarm {
  background-color: #20262A;
  padding: 70px 0 60px 0;
}

.windfarm-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.windfarm-copy {
  flex: 1 1 55%;
  min-width: 320px;
}

.windfarm-copy h1 {
  font-size: 3rem;
  margin-bottom: 22px;
}

.citrineword {
  color: #D9AE4A;
}

.windfarm-copy p {
  font-size: 1.06rem;
}

.windfarm-scene {
  flex: 1 1 40%;
  min-width: 320px;
  position: relative;
  height: 380px;
  background-color: #141A1E;
  border: 1px solid #2A3237;
  border-radius: 6px;
  overflow: hidden;
}

.horizonband {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  height: 120px;
  background-color: #2A3237;
  border-top-left-radius: 60% 40px;
  border-top-right-radius: 40% 30px;
}

.horizonband-two {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  height: 60px;
  background-color: #20262A;
  border-top-left-radius: 40% 26px;
  border-top-right-radius: 70% 34px;
}

.trenchslot {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  height: 16px;
  background-color: #141A1E;
  border: 2px dashed #4A545B;
  border-radius: 4px;
}

.trenchslot::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background-color: #D9AE4A;
}

/* turbines */
.turbine {
  position: absolute;
  bottom: 82px;
}

.turbine .mast {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 12px;
  margin-left: -6px;
  background-color: #EDEAE0;
  clip-path: polygon(24% 0, 76% 0, 62% 100%, 38% 100%);
}

.turbine .hub {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #D9AE4A;
  left: 50%;
  margin-left: -7px;
}

.rotorblade {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  background-color: #EDEAE0;
  transform-origin: 50% 0;
  margin-left: -2px;
}

.turbine-one { left: 14%; width: 90px; height: 220px; }
.turbine-one .mast { height: 220px; }
.turbine-one .hub { bottom: 214px; }
.turbine-one .rotorblade { height: 66px; }

.turbine-two { left: 46%; width: 64px; height: 150px; }
.turbine-two .mast { height: 150px; }
.turbine-two .hub { bottom: 144px; width: 11px; height: 11px; margin-left: -5px; }
.turbine-two .rotorblade { height: 46px; width: 3px; margin-left: -1px; }

.turbine-three { left: 74%; width: 48px; height: 112px; }
.turbine-three .mast { height: 112px; width: 9px; margin-left: -4px; }
.turbine-three .hub { bottom: 107px; width: 9px; height: 9px; margin-left: -4px; }
.turbine-three .rotorblade { height: 34px; width: 3px; margin-left: -1px; }

.windflow {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 74px;
  height: 60px;
  border-top: 3px dashed #D9AE4A;
  border-top-left-radius: 50% 40px;
  border-top-right-radius: 50% 40px;
}

.chevone,
.chevtwo,
.chevthree {
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 3px solid #D9AE4A;
  border-right: 3px solid #D9AE4A;
  transform: rotate(45deg);
}

.chevone { left: 20%; top: 92px; }
.chevtwo { left: 48%; top: 74px; }
.chevthree { left: 74%; top: 92px; }

.anemometer {
  position: absolute;
  left: 50%;
  margin-left: 96px;
  bottom: 82px;
  width: 40px;
  height: 78px;
}

.anemometer .anemast {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px;
  height: 78px;
  margin-left: -2px;
  background-color: #EDEAE0;
}

.anemometer .ancup {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #D9AE4A;
  background-color: #141A1E;
}

.ancup-one { left: 0; top: 0; }
.ancup-two { left: 14px; top: -8px; }
.ancup-three { left: 28px; top: 0; }

/* ============================================================
   BLADE CASCADE
   ============================================================ */

.bladecascade {
  background-color: #20262A;
  padding: 80px 0 60px 0;
}

.bladecascade-head {
  text-align: center;
  margin-bottom: 40px;
}

.spinewrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
}

.hubspine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background-color: #D9AE4A;
}

.hubpin {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  border: 4px solid #D9AE4A;
  background-color: #20262A;
}

.blade {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 46px;
}

.blade-left {
  flex-direction: row;
  padding-right: 50%;
}

.blade-right {
  flex-direction: row-reverse;
  padding-left: 50%;
}

.bladepanel {
  background-color: #2A3237;
  border: 1px solid #39434A;
  padding: 24px 26px;
  flex: 1 1 auto;
}

.blade-left .bladepanel {
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%);
  padding-right: 42px;
}

.blade-right .bladepanel {
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%);
  padding-left: 42px;
}

.blade-skew {
  transform: skewX(-1deg);
}

.nacelletag {
  display: inline-block;
  background-color: #141A1E;
  color: #EDEAE0;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-left: 4px solid #D9AE4A;
  margin-bottom: 12px;
}

.blade h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.bladecard {
  flex: 0 0 42%;
  background-color: #141A1E;
  border: 1px solid #2A3237;
  border-top: 4px solid #D9AE4A;
  padding: 22px 24px;
}

.blade-left .bladecard {
  margin-left: 22px;
}

.blade-right .bladecard {
  margin-right: 22px;
}

.bladecard p {
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.bladelink {
  font-size: 0.82rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   GRID ADVISORY STRIP
   ============================================================ */

.gridadvisory {
  background-color: #D9AE4A;
  color: #20262A;
  padding: 30px 0;
}

.gridadvisory-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.gridadvisory p {
  color: #20262A;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 820px;
}

.rotorglyph {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.rotorglyph::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #20262A;
}

.rotorglyph span {
  position: absolute;
  left: 12px;
  top: 11px;
  width: 3px;
  height: 11px;
  background-color: #20262A;
  transform-origin: 50% 0;
  display: block;
}

.rotorglyph span:nth-child(1) { transform: rotate(0deg); }
.rotorglyph span:nth-child(2) { transform: rotate(120deg); }
.rotorglyph span:nth-child(3) { transform: rotate(240deg); }

/* ============================================================
   PROSE BLOCKS
   ============================================================ */

.proseband {
  background-color: #141A1E;
  padding: 76px 0;
}

.proseband h2 { margin-bottom: 24px; }

.twocol {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.twocol > div {
  flex: 1 1 340px;
}

.pyloncard {
  background-color: #2A3237;
  border: 1px solid #39434A;
  border-left: 5px solid #D9AE4A;
  padding: 26px 28px;
  margin-bottom: 22px;
}

.pyloncard h3 { margin-bottom: 10px; }

.plateblock {
  background-color: #141A1E;
  border: 1px solid #2A3237;
  padding: 26px 28px;
}

.inlinelink {
  color: #D9AE4A;
  font-weight: 700;
  border-bottom: 2px solid #D9AE4A;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.ctaband {
  background-color: #2A3237;
  border-top: 4px solid #D9AE4A;
  border-bottom: 4px solid #D9AE4A;
  padding: 60px 0;
  text-align: center;
}

.ctaband h2 {
  margin-bottom: 16px;
}

.ctaband p {
  max-width: 760px;
  margin: 0 auto 22px auto;
}

/* ============================================================
   CABLE TRENCH FOOTER
   ============================================================ */

.cabletrench {
  background-color: #141A1E;
  padding: 62px 0 0 0;
}

.cabletrench-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.cabinetblock {
  flex: 1 1 300px;
  background-color: #2A3237;
  border: 1px solid #4A545B;
  border-radius: 5px;
  padding: 24px 26px;
  position: relative;
}

.cabinetblock h3 {
  font-size: 1.05rem;
  letter-spacing: 1.6px;
  margin-bottom: 6px;
}

.brandplate {
  background-color: #D9AE4A;
  color: #20262A;
  font-weight: 700;
  letter-spacing: 1.6px;
  font-size: 0.8rem;
  padding: 8px 12px;
  display: inline-block;
  margin-bottom: 14px;
}

.ventslits {
  height: 46px;
  margin: 16px 0 0 0;
  background-color: #141A1E;
  border: 1px solid #4A545B;
  border-radius: 3px;
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 6px;
  border-right-width: 6px;
  border-color: #4A545B;
  box-shadow: inset 0 8px 0 #2A3237, inset 0 16px 0 #141A1E, inset 0 24px 0 #2A3237, inset 0 32px 0 #141A1E;
}

.cableruns {
  flex: 1 1 260px;
  padding-top: 10px;
}

.cablerun {
  height: 6px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.run-citrine { background-color: #D9AE4A; width: 100%; }
.run-ivory { background-color: #EDEAE0; width: 86%; }
.run-steel { background-color: #4A545B; width: 70%; }

.cablerun-label {
  font-size: 0.75rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #EDEAE0;
  margin-bottom: 22px;
  display: block;
}

.feederlinks {
  flex: 1 1 260px;
  display: flex;
  gap: 30px;
}

.feederlinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feederlinks li {
  margin-bottom: 14px;
}

.feederlinks a {
  color: #EDEAE0;
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
}

.feederlinks a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #D9AE4A;
}

.feederlinks a:hover {
  color: #D9AE4A;
  text-decoration: none;
}

.trenchbase {
  margin-top: 46px;
  background-color: #20262A;
  border-top: 1px solid #4A545B;
  padding: 22px 0;
}

.trenchbase-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: space-between;
  font-size: 0.86rem;
}

.trenchbase-inner a { color: #D9AE4A; }

.chevrondecal {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #D9AE4A;
  border-right: 3px solid #D9AE4A;
  transform: rotate(45deg);
  margin-left: 8px;
}

/* ============================================================
   SERVICES PAGE EXTRAS
   ============================================================ */

.service-detail {
  background-color: #2A3237;
  border: 1px solid #39434A;
  border-left: 5px solid #D9AE4A;
  padding: 28px 30px;
  margin-bottom: 26px;
}

.service-detail h3 { margin-bottom: 10px; }

.processrail {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.processrail li {
  position: relative;
  background-color: #141A1E;
  border: 1px solid #2A3237;
  padding: 20px 22px 20px 74px;
  margin-bottom: 16px;
}

.processrail li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  color: #D9AE4A;
  font-weight: 700;
  letter-spacing: 1px;
}

.processrail h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* ============================================================
   CONTACT PAGE EXTRAS
   ============================================================ */

.contactgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contactform-wrap {
  flex: 1 1 460px;
}

.contactside {
  flex: 1 1 300px;
}

.fieldrow {
  margin-bottom: 18px;
}

.fieldrow label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #D9AE4A;
  margin-bottom: 7px;
}

.fieldrow input,
.fieldrow select,
.fieldrow textarea {
  width: 100%;
  background-color: #141A1E;
  color: #EDEAE0;
  border: 1px solid #4A545B;
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}

.fieldrow input:focus,
.fieldrow select:focus,
.fieldrow textarea:focus {
  outline: 2px solid #D9AE4A;
  border-color: #D9AE4A;
}

.formnote {
  font-size: 0.86rem;
  color: #C9C4B6;
}

.formstatus {
  margin-top: 14px;
  font-weight: 700;
  color: #D9AE4A;
}

.accordion {
  border: 1px solid #39434A;
  border-radius: 4px;
  margin-bottom: 12px;
  background-color: #141A1E;
}

.accordion-head {
  width: 100%;
  text-align: left;
  background-color: #2A3237;
  color: #EDEAE0;
  border: none;
  border-left: 5px solid #D9AE4A;
  padding: 16px 18px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
}

.accordion-head:hover {
  background-color: #39434A;
}

.accordion-body {
  padding: 16px 18px;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.hoursline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed #4A545B;
  padding: 10px 0;
  font-size: 0.94rem;
}

.hoursline span:first-child {
  color: #EDEAE0;
}

.hoursline span:last-child {
  color: #D9AE4A;
  font-weight: 600;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .blade-left,
  .blade-right {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
  .blade-left .bladepanel,
  .blade-right .bladepanel {
    clip-path: none;
    padding: 20px 22px;
  }
  .bladecard {
    flex: 1 1 auto;
  }
  .blade-left .bladecard,
  .blade-right .bladecard {
    margin: 0;
  }
  .hubspine,
  .hubpin {
    display: none;
  }
}

@media (max-width: 760px) {
  .navtoggle {
    display: inline-block;
  }
  .towernav {
    display: none;
    width: 100%;
  }
  .towernav.is-open {
    display: flex;
  }
  .towercol {
    flex: 1 1 46%;
    min-width: 0;
  }
  .windfarm-copy h1 {
    font-size: 2.2rem;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .gridadvisory-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .windfarm-scene {
    height: 300px;
  }
}

/* noscript safety: default visible when JS is unavailable */
.no-js .reveal {
  opacity: 1;
  transform: none;
}
