/* KOSAL NOVIREN INC - Gateway Outpost styles */

:root {
  --port-steel: #C8D2E8;
  --pass-deep: #263E46;
  --banner-blue: #3E5C88;
  --draw-brown: #8A6048;
  --moat-grey: #96A0AA;
  --toll-card: #E4E8F0;
  --chain-gold: #C0A058;
  --pass-deep-soft: #344F58;
  --toll-edge: #B4BFD4;
  --plank-plate: #DCE3EF;
  --blue-deep: #2E4A72;
  --brown-deep: #6B4633;
  --gold-deep: #9A7C38;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, 'Times New Roman', serif;
  background-color: #C8D2E8;
  color: #263E46;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  color: #263E46;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.15em;
}

a {
  color: #3E5C88;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: #2E4A72;
}

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- BRIDGE LINE PLANKS NAV ---------------- */

.bridgeline {
  background-color: #263E46;
  padding: 14px 0 22px;
  border-bottom: 3px solid #C0A058;
}

.bridgeline-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.bridgeline-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  color: #C8D2E8;
  text-decoration: none;
  white-space: nowrap;
}

.bridgeline-brand:hover {
  color: #E4E8F0;
}

.bridgeline-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #C0A058;
  border: 2px solid #C0A058;
  box-shadow: 0 0 0 3px #344F58;
}

.bridgeline-rail {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-width: 280px;
}

.bridgeline-plank {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  background-color: #E4E8F0;
  color: #263E46;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 3px;
  border-top: 2px solid #DCE3EF;
  border-bottom: 2px solid #B4BFD4;
  box-shadow: 0 3px 0 #1B2D33;
}

.bridgeline-plank::before,
.bridgeline-plank::after {
  content: '';
  position: absolute;
  top: -7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #8A6048;
  border: 2px solid #6B4633;
}

.bridgeline-plank::before {
  left: -4px;
}

.bridgeline-plank::after {
  right: -4px;
}

.bridgeline-plank:hover {
  background-color: #C0A058;
  color: #263E46;
}

.bridgeline-plank.is-current {
  background-color: #C0A058;
  color: #263E46;
  box-shadow: 0 3px 0 #9A7C38;
}

.bridgeline-toggle {
  display: none;
  margin-left: auto;
  background-color: #E4E8F0;
  color: #263E46;
  border: 2px solid #C0A058;
  border-radius: 3px;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  cursor: pointer;
}

/* ---------------- CREST GATE HERO ---------------- */

.crestgate {
  background-color: #C8D2E8;
  padding: 64px 0 60px;
  border-bottom: 2px solid #96A0AA;
}

.crestgate-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 52px;
  align-items: center;
}

.crestgate-copy {
  max-width: 620px;
}

.crestgate-eyebrow {
  display: inline-block;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3E5C88;
  border-bottom: 2px solid #C0A058;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.crestgate-title {
  margin: 0 0 22px;
  font-size: 2.95rem;
  font-weight: 700;
  color: #263E46;
}

.crestgate-title span {
  display: block;
}

.crestgate-display {
  display: block;
  font-size: 4.1rem;
  font-style: italic;
  font-weight: 700;
  color: #3E5C88;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.crestgate-lede {
  font-size: 1.06rem;
  color: #263E46;
  max-width: 560px;
}

.crestgate-lede a {
  font-weight: 700;
  white-space: nowrap;
}

.crestgate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  background-color: #3E5C88;
  color: #E4E8F0;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 15px 26px;
  width: 100%;
  max-width: 340px;
  border-radius: 3px;
  border-bottom: 4px solid #2E4A72;
}

.crestgate-cta:hover {
  background-color: #2E4A72;
  color: #E4E8F0;
}

.crestgate-cta-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* Crest gate scene */

.crestgate-scene {
  position: relative;
  padding: 14px;
}

.crestgate-panel {
  position: relative;
  background-color: #E4E8F0;
  border: 3px solid #96A0AA;
  border-radius: 4px;
  padding: 74px 26px 30px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crestgate-lintel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  background-color: #8A6048;
  border-bottom: 4px solid #6B4633;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.crestgate-lintel::before,
.crestgate-lintel::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #C0A058;
}

.crestgate-lattice {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 15px;
  height: 230px;
  width: 100%;
}

.crestgate-lattice span {
  display: block;
  width: 3px;
  background-color: #96A0AA;
  border-radius: 2px;
}

.crestgate-lattice span:nth-child(3n) {
  background-color: #7E8892;
}

.crestgate-shield {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -34%);
  width: 76px;
  height: 88px;
  background-color: #C0A058;
  border: 4px solid #9A7C38;
  border-radius: 6px 6px 38px 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crestgate-shield::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #263E46;
  border: 3px solid #E4E8F0;
}

.crestgate-sill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16px;
  background-color: #8A6048;
  border-top: 3px solid #6B4633;
}

.crestgate-caption {
  margin: 14px 0 0;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #344F58;
  text-align: center;
}

/* ---------------- INTRO BLOCK ---------------- */

.outpost-intro {
  background-color: #E4E8F0;
  padding: 62px 0;
  border-bottom: 2px solid #B4BFD4;
}

.outpost-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.outpost-intro-label {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3E5C88;
  margin: 0;
  border-top: 3px solid #C0A058;
  padding-top: 12px;
}

.outpost-intro-body h2 {
  font-size: 2rem;
  margin: 0 0 18px;
}

.outpost-intro-body p {
  font-size: 1.02rem;
  color: #344F58;
  margin-bottom: 1.1em;
}

/* ---------------- TOLL ROW RUN ---------------- */

.tollrow {
  background-color: #C8D2E8;
  padding: 64px 0 58px;
  border-bottom: 2px solid #96A0AA;
}

.tollrow-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.tollrow-head h2 {
  font-size: 2.1rem;
  margin: 0 0 10px;
}

.tollrow-head p {
  color: #344F58;
  margin: 0;
}

.tollrow-list {
  border-top: 2px solid #96A0AA;
}

.tollrow-item {
  display: grid;
  grid-template-columns: 44px 250px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid #96A0AA;
}

.tollrow-link-glyph {
  position: relative;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 3px solid #C0A058;
  border-radius: 50%;
  background-color: transparent;
}

.tollrow-link-glyph::after {
  content: '';
  position: absolute;
  bottom: -9px;
  right: -4px;
  width: 14px;
  height: 3px;
  background-color: #C0A058;
  transform: rotate(38deg);
  transform-origin: left center;
}

.tollrow-title {
  font-size: 1.22rem;
  margin: 0;
  font-weight: 700;
}

.tollrow-title a {
  color: #263E46;
  text-decoration: none;
}

.tollrow-title a:hover {
  color: #3E5C88;
  text-decoration: underline;
}

.tollrow-text {
  position: relative;
  color: #263E46;
  margin: 0;
  padding-right: 34px;
}

.tollrow-item:nth-child(even) .tollrow-text::after {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  width: 0;
  height: 0;
  border-left: 9px solid #3E5C88;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.tollrow-toggle {
  display: none;
}

/* ---------------- GATE ARCH BAND ---------------- */

.gatearch {
  position: relative;
  background-color: #3E5C88;
  color: #E4E8F0;
  padding: 74px 0 42px;
  margin-top: 0;
  overflow-x: hidden;
}

.gatearch-arch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 120px;
  border: 3px solid #E4E8F0;
  border-bottom: none;
  border-radius: 120px 120px 0 0;
  box-sizing: border-box;
}

.gatearch-arch-inner {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 96px;
  border: 2px solid #C0A058;
  border-bottom: none;
  border-radius: 105px 105px 0 0;
  box-sizing: border-box;
}

.gatearch-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.gatearch-sentence {
  font-size: 1.16rem;
  color: #E4E8F0;
  margin: 0;
  line-height: 1.7;
}

.gatearch-sentence strong {
  color: #C0A058;
}

/* ---------------- BASTION FOOTER ---------------- */

.bastion {
  background-color: #C8D2E8;
  padding: 0 0 34px;
}

.bastion-rule {
  position: relative;
  height: 4px;
  background-color: #263E46;
  margin-bottom: 30px;
}

.bastion-corbel {
  position: absolute;
  top: -8px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid #C0A058;
}

.bastion-corbel.is-left {
  left: 0;
}

.bastion-corbel.is-right {
  right: 0;
}

.bastion-links {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  margin: 0 0 26px;
  color: #263E46;
}

.bastion-links a {
  color: #263E46;
  text-decoration: none;
}

.bastion-links a:hover {
  color: #3E5C88;
  text-decoration: underline;
}

.bastion-sep {
  margin: 0 10px;
  color: #8A6048;
}

.bastion-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.bastion-brand {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
  color: #263E46;
}

.bastion-blurb {
  color: #344F58;
  margin: 0;
  font-size: 0.96rem;
  max-width: 480px;
}

.bastion-contact {
  font-size: 0.94rem;
  color: #263E46;
  margin: 0;
}

.bastion-contact a {
  color: #263E46;
}

.bastion-baseline {
  margin: 30px 0 0;
  padding-top: 16px;
  border-top: 1px solid #96A0AA;
  font-size: 0.86rem;
  color: #344F58;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bastion-chain {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #8A6048;
  background-color: #C8D2E8;
}

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

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

.reveal.is-shown {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

.page-banner {
  background-color: #263E46;
  color: #C8D2E8;
  padding: 46px 0;
}

.page-banner h1 {
  color: #E4E8F0;
  font-size: 2.4rem;
  margin: 0 0 10px;
}

.page-banner p {
  margin: 0;
  color: #E4E8F0;
  max-width: 720px;
  font-size: 1.03rem;
}

.svc-list {
  background-color: #C8D2E8;
  padding: 58px 0;
}

.svc-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid #96A0AA;
}

.svc-block:first-of-type {
  border-top: 2px solid #96A0AA;
}

.svc-block h2 {
  font-size: 1.32rem;
  margin: 0;
  padding-top: 4px;
}

.svc-block h2 a {
  color: #263E46;
  text-decoration: none;
}

.svc-block h2 a:hover {
  color: #3E5C88;
  text-decoration: underline;
}

.svc-block p {
  color: #263E46;
  margin: 0 0 0.9em;
}

.svc-block p:last-child {
  margin-bottom: 0;
}

.svc-process {
  background-color: #E4E8F0;
  padding: 56px 0;
  border-top: 2px solid #B4BFD4;
}

.svc-process h2 {
  font-size: 1.9rem;
  margin: 0 0 14px;
}

.svc-process p {
  color: #344F58;
  max-width: 820px;
}

.svc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.svc-step {
  border-top: 3px solid #3E5C88;
  padding-top: 14px;
}

.svc-step h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.svc-step p {
  font-size: 0.95rem;
  margin: 0;
  color: #263E46;
}

.svc-cta {
  background-color: #3E5C88;
  padding: 46px 0;
}

.svc-cta p {
  color: #E4E8F0;
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 1.04rem;
}

.svc-cta a {
  display: inline-block;
  background-color: #E4E8F0;
  color: #263E46;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 3px;
  border-bottom: 4px solid #96A0AA;
}

.svc-cta a:hover {
  background-color: #C0A058;
  border-bottom-color: #9A7C38;
}

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

.contact-wrap {
  background-color: #C8D2E8;
  padding: 56px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: start;
}

.contact-form-card {
  background-color: #E4E8F0;
  border: 2px solid #96A0AA;
  border-top: 4px solid #8A6048;
  border-radius: 4px;
  padding: 30px 28px;
}

.contact-form-card h2 {
  font-size: 1.5rem;
  margin: 0 0 6px;
}

.contact-form-card .contact-lead {
  color: #344F58;
  margin: 0 0 20px;
  font-size: 0.96rem;
}

.contact-field {
  display: block;
  margin-bottom: 16px;
}

.contact-field span {
  display: block;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #344F58;
  margin-bottom: 6px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  color: #263E46;
  background-color: #C8D2E8;
  border: 2px solid #96A0AA;
  border-radius: 3px;
  padding: 11px 12px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #3E5C88;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit {
  background-color: #3E5C88;
  color: #E4E8F0;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.98rem;
  border: none;
  border-bottom: 4px solid #2E4A72;
  border-radius: 3px;
  padding: 13px 28px;
  cursor: pointer;
}

.contact-submit:hover {
  background-color: #2E4A72;
}

.contact-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: #344F58;
}

.contact-side h2 {
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.contact-info-block {
  border-top: 3px solid #C0A058;
  padding-top: 12px;
  margin-bottom: 24px;
}

.contact-info-block h3 {
  font-size: 0.86rem;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3E5C88;
  margin: 0 0 6px;
}

.contact-info-block p {
  margin: 0;
  color: #263E46;
}

.contact-faq {
  background-color: #E4E8F0;
  padding: 54px 0;
  border-top: 2px solid #B4BFD4;
}

.contact-faq h2 {
  font-size: 1.8rem;
  margin: 0 0 20px;
}

.contact-faq-item {
  border-bottom: 1px solid #96A0AA;
  padding: 18px 0;
}

.contact-faq-item h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.contact-faq-item p {
  margin: 0;
  color: #344F58;
}

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

@media (max-width: 900px) {
  .bridgeline-inner {
    gap: 12px;
  }

  .bridgeline-rail {
    display: none;
    width: 100%;
    min-width: 0;
  }

  .bridgeline.is-open .bridgeline-rail {
    display: flex;
  }

  .bridgeline-toggle {
    display: inline-block;
  }

  .bridgeline-plank {
    flex: 1 1 40%;
    padding: 9px 12px;
  }

  .crestgate-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .crestgate-title {
    font-size: 2.3rem;
  }

  .crestgate-display {
    font-size: 3.1rem;
  }

  .outpost-intro-grid,
  .bastion-body,
  .contact-grid,
  .svc-block {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tollrow-item {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .tollrow-title {
    grid-column: 2;
  }

  .tollrow-text {
    grid-column: 2;
    padding-right: 0;
  }

  .tollrow-item:nth-child(even) .tollrow-text::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .crestgate-title {
    font-size: 1.95rem;
  }

  .crestgate-display {
    font-size: 2.5rem;
  }

  .page-banner h1 {
    font-size: 1.9rem;
  }

  .gatearch-arch {
    width: 180px;
    height: 90px;
  }

  .gatearch-arch-inner {
    width: 156px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
