/* ============================================================
   FENGJUN — Harbor Freight and Coastal Trade Theme
   Palette: harbor-navy #0E1319 / dock-slate #1A2230 /
   deeper-dock #232D40 / warm off-white #F5F7F8 /
   cool-mist #CBD3D9 / channel-orange #F2802E / hairline #2A3548
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-size: 16px;
  background-color: #0E1319;
  color: #E4E7EA;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background-color: #F2802E; color: #0E1319; }

img { max-width: 100%; display: block; }

a { color: #F2802E; }

/* ---------- BEACON-STACK NAV ---------- */

.beacon-stack-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #0E1319;
  border-bottom: 1px solid #2A3548;
}

.beacon-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 40px 18px;
  position: relative;
}

.lighthouse-chip {
  width: 30px;
  height: 30px;
  background-color: #F2802E;
  position: relative;
  margin-bottom: 12px;
}

.lighthouse-chip::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -12px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #F5F7F8;
}

.lighthouse-chip::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 8px;
  width: 14px;
  height: 8px;
  background-color: #0E1319;
}

.wordmark {
  display: inline-block;
  color: #F5F7F8;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 7px;
  text-decoration: none;
  margin-bottom: 10px;
}

.wordmark:hover { color: #F2802E; }

.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.strip-link {
  color: #CBD3D9;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.strip-link:hover,
.strip-link:focus { color: #F2802E; border-bottom-color: #F2802E; }

.strip-link.current { color: #F2802E; border-bottom-color: #F2802E; }

.nav-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 40px;
  background-color: #0E1319;
  border: 1px solid #2A3548;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #F2802E;
}

/* ---------- DRY-DOCK HERO ---------- */

.dry-dock-hero { background-color: #0E1319; }

.instrument-strip {
  background-color: #1A2230;
  border-bottom: 1px solid #2A3548;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 10px 40px;
}

.readout {
  color: #F2802E;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  border: 1px solid #2A3548;
  background-color: #0E1319;
  padding: 6px 14px;
}

.dock-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 40px 72px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.dock-scene { min-width: 0; }

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

.crane {
  width: 104px;
  height: 236px;
  position: relative;
  flex-shrink: 0;
}

.crane-mast {
  position: absolute;
  left: 6px;
  bottom: 0;
  width: 10px;
  height: 210px;
  background-color: #F2802E;
}

.crane-jib {
  position: absolute;
  left: 6px;
  top: 22px;
  width: 92px;
  height: 8px;
  background-color: #F2802E;
}

.crane-counter {
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 16px;
  background-color: #1A2230;
  border: 1px solid #2A3548;
}

.crane-cable {
  position: absolute;
  right: 10px;
  top: 30px;
  width: 2px;
  height: 130px;
  background-color: #CBD3D9;
}

.crane-load {
  position: absolute;
  right: 1px;
  top: 160px;
  width: 20px;
  height: 12px;
  background-color: #1A2230;
  border: 1px solid #F2802E;
}

.ship-stack {
  flex: 1;
  min-width: 0;
  padding-top: 30px;
}

.bridge-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.bridge-tower {
  width: 46px;
  height: 66px;
  background-color: #1A2230;
  border: 1px solid #2A3548;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bridge-window {
  width: 18px;
  height: 11px;
  background-color: #F2802E;
}

.container-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  padding: 0 12px;
}

.box { height: 42px; }

.box-a { background-color: #F2802E; }

.box-b {
  background-color: #1A2230;
  border: 1px solid #2A3548;
}

.hull {
  height: 74px;
  background-color: #1A2230;
  border: 1px solid #2A3548;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waterline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 9px;
  background-color: #F2802E;
}

.hull-name {
  color: #F2802E;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 4px;
  font-weight: 700;
  margin-top: 8px;
}

.wave-line {
  height: 20px;
  margin-top: 12px;
  background-image: radial-gradient(circle at 10px 0, #232D40 9px, #0E1319 10px);
  background-size: 20px 20px;
  background-repeat: repeat-x;
}

.dock-copy { min-width: 0; }

.eyebrow-chip {
  display: inline-block;
  background-color: #F2802E;
  color: #0E1319;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 9px 16px;
  margin-bottom: 24px;
}

.dock-title {
  color: #F5F7F8;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  font-weight: 800;
  margin-bottom: 24px;
}

.accent { color: #F2802E; }

.dock-sub {
  color: #CBD3D9;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.dock-note {
  color: #CBD3D9;
  font-size: 13.5px;
  margin-top: 18px;
  border-left: 3px solid #F2802E;
  padding-left: 12px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
  border: 2px solid #F2802E;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background-color: #F2802E;
  color: #0E1319;
}

.btn-primary:hover {
  background-color: #F5F7F8;
  border-color: #F5F7F8;
  color: #0E1319;
}

.btn-outline {
  background-color: transparent;
  color: #F5F7F8;
  border-color: #F5F7F8;
}

.btn-outline:hover {
  color: #F2802E;
  border-color: #F2802E;
}

.btn-large { padding: 16px 34px; }

/* ---------- SECTION TAG ---------- */

.section-tag {
  display: block;
  color: #F2802E;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- MANIFEST ROWS ---------- */

.manifest-rows {
  background-color: #1A2230;
  border-top: 1px solid #2A3548;
  padding: 76px 40px 64px;
}

.manifest-head {
  max-width: 1180px;
  margin: 0 auto 42px;
}

.manifest-head h2 {
  color: #F5F7F8;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}

.manifest-head p {
  color: #CBD3D9;
  max-width: 820px;
}

.manifest-list { max-width: 1180px; margin: 0 auto; }

.manifest-row {
  display: grid;
  grid-template-columns: 44px 1fr 110px;
  gap: 26px;
  padding: 32px 0;
  border-top: 1px solid #2A3548;
  align-items: start;
}

.manifest-row:last-child { border-bottom: 1px solid #2A3548; }

.checkbox-chip {
  width: 24px;
  height: 24px;
  background-color: #F2802E;
  position: relative;
  margin-top: 6px;
}

.checkbox-chip::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 8px;
  height: 12px;
  border-right: 3px solid #0E1319;
  border-bottom: 3px solid #0E1319;
  transform: rotate(40deg);
}

.manifest-body h3 {
  color: #F5F7F8;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.manifest-body p { color: #CBD3D9; }

.manifest-code {
  color: #F2802E;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: right;
  padding-top: 8px;
}

/* ---------- METRIC BAND ---------- */

.metric-band {
  background-color: #F2802E;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 54px 40px;
}

.metric {
  text-align: center;
  border-left: 1px solid #0E1319;
  padding: 0 12px;
}

.metric:first-child { border-left: none; }

.metric-num {
  display: block;
  color: #0E1319;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  display: block;
  color: #0E1319;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- STATEMENT BAND ---------- */

.statement-band {
  background-color: #1A2230;
  border-top: 1px solid #2A3548;
  padding: 76px 40px;
}

.statement-inner {
  max-width: 860px;
  margin: 0 auto;
  border-left: 4px solid #F2802E;
  padding-left: 36px;
}

.statement-text {
  color: #F5F7F8;
  font-size: 25px;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 20px;
}

.statement-attr {
  color: #CBD3D9;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  letter-spacing: 1px;
}

/* ---------- CTA BAND ---------- */

.cta-band {
  background-color: #0E1319;
  text-align: center;
  padding: 84px 40px;
}

.cta-band h2 {
  color: #F5F7F8;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-band p {
  color: #CBD3D9;
  max-width: 700px;
  margin: 0 auto 32px;
}

/* ---------- LINK-ROW FOOTER ---------- */

.link-row-footer {
  background-color: #232D40;
  border-top: 1px solid #2A3548;
  padding: 42px 40px 36px;
  position: relative;
  z-index: 1;
}

.footer-inner { max-width: 1180px; margin: 0 auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.footer-links a {
  color: #CBD3D9;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

.footer-links a:hover { color: #F2802E; }

.footer-hairline {
  height: 1px;
  background-color: #2A3548;
  margin: 22px 0 18px;
}

.footer-legal {
  color: #CBD3D9;
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-legal a {
  color: #F2802E;
  text-decoration: none;
}

.footer-legal a:hover { text-decoration: underline; }

/* ---------- PAGE HEAD (secondary pages) ---------- */

.page-head {
  background-color: #1A2230;
  border-bottom: 1px solid #2A3548;
  padding: 64px 40px;
}

.page-head-inner { max-width: 1180px; margin: 0 auto; }

.page-head h1 {
  color: #F5F7F8;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-head .lede {
  color: #CBD3D9;
  max-width: 820px;
  font-size: 17px;
}

/* ---------- SERVICES PAGE ---------- */

.service-sections {
  background-color: #0E1319;
  padding: 64px 40px 40px;
}

.service-block {
  max-width: 1180px;
  margin: 0 auto 28px;
  background-color: #1A2230;
  border: 1px solid #2A3548;
  border-top: 4px solid #F2802E;
  padding: 34px 38px;
}

.service-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.service-code {
  color: #F2802E;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  border: 1px solid #F2802E;
  padding: 3px 10px;
}

.service-block h3 {
  color: #F5F7F8;
  font-size: 23px;
  font-weight: 800;
}

.service-block p { color: #CBD3D9; }

.process-band {
  background-color: #1A2230;
  border-top: 1px solid #2A3548;
  padding: 68px 40px 72px;
}

.process-head {
  max-width: 1180px;
  margin: 0 auto 40px;
}

.process-head h2 {
  color: #F5F7F8;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
}

.process-head p {
  color: #CBD3D9;
  max-width: 820px;
}

.process-steps {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  border-top: 3px solid #F2802E;
  padding-top: 20px;
  background-color: #0E1319;
  padding-left: 22px;
  padding-right: 22px;
  padding-bottom: 22px;
  border-left: 1px solid #2A3548;
  border-right: 1px solid #2A3548;
  border-bottom: 1px solid #2A3548;
}

.step-num {
  display: block;
  color: #F2802E;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.process-step h3 {
  color: #F5F7F8;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.process-step p {
  color: #CBD3D9;
  font-size: 14.5px;
}

/* ---------- CONTACT PAGE ---------- */

.contact-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.contact-form-card {
  background-color: #1A2230;
  border: 1px solid #2A3548;
  border-top: 4px solid #F2802E;
  padding: 36px 38px;
}

.panel-title {
  color: #F5F7F8;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.form-lede {
  color: #CBD3D9;
  font-size: 14.5px;
  margin-bottom: 22px;
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  color: #F5F7F8;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: #0E1319;
  border: 1px solid #2A3548;
  color: #E4E7EA;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #F2802E;
  border-color: #F2802E;
}

.form-status {
  display: block;
  color: #F2802E;
  font-size: 14px;
  margin-top: 14px;
  min-height: 22px;
  font-weight: 600;
}

.contact-info {
  background-color: #1A2230;
  border: 1px solid #2A3548;
  padding: 36px 38px;
}

.info-block {
  border-bottom: 1px solid #2A3548;
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-block h3 {
  color: #F2802E;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.info-block p { color: #CBD3D9; }

.info-block a {
  color: #F2802E;
  text-decoration: none;
  font-weight: 700;
}

.info-block a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */

.faq-band {
  background-color: #0E1319;
  padding: 20px 40px 84px;
}

.faq-head {
  max-width: 860px;
  margin: 0 auto 30px;
}

.faq-head h2 {
  color: #F5F7F8;
  font-size: 32px;
  font-weight: 800;
}

.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
  background-color: #1A2230;
  border: 1px solid #2A3548;
  margin-bottom: 14px;
}

.faq-q {
  width: 100%;
  text-align: left;
  background-color: #1A2230;
  border: none;
  color: #F5F7F8;
  font-size: 17px;
  font-weight: 700;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-q:hover { color: #F2802E; }

.faq-mark {
  color: #F2802E;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
}

.faq-mark::before { content: "+"; }

.faq-item.open .faq-mark::before { content: "-"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-a p {
  color: #CBD3D9;
  padding-bottom: 20px;
}

.faq-item.open .faq-a { padding-bottom: 2px; }

/* ---------- SCROLL REVEAL ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1020px) {
  .dock-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dock-copy { order: 1; }
  .dock-scene { order: 2; max-width: 560px; margin: 0 auto; width: 100%; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .metric-band { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .metric:nth-child(3) { border-left: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .beacon-inner { padding: 18px 24px 16px; }
  .nav-toggle { display: flex; }
  .link-strip {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
  }
  .link-strip.open { display: flex; }
  .instrument-strip { padding: 10px 24px; }
  .dock-grid,
  .manifest-rows,
  .statement-band,
  .cta-band,
  .page-head,
  .service-sections,
  .process-band,
  .contact-grid,
  .faq-band { padding-left: 24px; padding-right: 24px; }
  .dock-title { font-size: 36px; }
  .page-head h1 { font-size: 34px; }
  .manifest-head h2 { font-size: 28px; }
  .manifest-row { grid-template-columns: 44px 1fr; }
  .manifest-code {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
  }
  .statement-text { font-size: 20px; }
  .cta-band h2 { font-size: 30px; }
  .footer-links { gap: 18px; }
}

@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; }
  .metric-band { grid-template-columns: 1fr; }
  .metric { border-left: none; }
  .crane { display: none; }
  .dock-title { font-size: 31px; }
  .service-block { padding: 26px 22px; }
  .contact-form-card,
  .contact-info { padding: 26px 22px; }
}
