:root {
  --ink: #100C06;
  --panel: #1D1609;
  --paper: #F5EEDD;
  --tan: #C9BC9E;
  --gold: #D9A441;
  --gold-deep: #8A6B26;
  --hair: #2E240F;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  background-color: #100C06;
  color: #F5EEDD;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #F5EEDD;
}

a {
  color: #D9A441;
}

::selection {
  background-color: #D9A441;
  color: #100C06;
}

:focus-visible {
  outline: 2px solid #D9A441;
  outline-offset: 2px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ CONTENT WRAP + RAIL NAV (RIGHT VERTICAL RAIL) ============ */

.content-wrap {
  margin-right: 92px;
}

.rail-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 500;
  width: 92px;
  height: 100vh;
  background-color: #100C06;
  border-left: 1px solid #2E240F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 22px;
}

.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.rail-letter {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #D9A441;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.rail-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.rail-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C9BC9E;
}

.rail-link:hover {
  color: #F5EEDD;
}

.rail-link.active {
  color: #D9A441;
}

.rail-link.active .rail-dot {
  background-color: #D9A441;
}

.rail-dot {
  width: 8px;
  height: 8px;
  display: block;
  background-color: #2E240F;
}

.rail-cta {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #D9A441;
  color: #100C06;
  text-decoration: none;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rail-cta:hover {
  background-color: #C48E33;
  color: #100C06;
}

.rail-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #2E240F;
  cursor: pointer;
}

.rail-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #D9A441;
}

/* ============ BUTTONS ============ */

.btn-gold {
  display: inline-block;
  background-color: #D9A441;
  color: #100C06;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 30px;
}

.btn-gold:hover {
  background-color: #C48E33;
  color: #100C06;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #D9A441;
  color: #D9A441;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 14px 29px;
}

.btn-outline:hover {
  background-color: #D9A441;
  color: #100C06;
}

.btn-ink {
  display: inline-block;
  background-color: #100C06;
  color: #F5EEDD;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 30px;
}

.btn-ink:hover {
  background-color: #000000;
  color: #F5EEDD;
}

/* ============ FULL-BLEED COLOR BLOCK HERO ============ */

.block-hero {
  background-color: #1D1609;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 104px 0 112px;
}

.hero-text {
  max-width: 620px;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #D9A441;
  color: #100C06;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 8px 16px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.08;
  margin-top: 26px;
  color: #F5EEDD;
}

.hero-sub {
  font-size: 18px;
  color: #C9BC9E;
  margin-top: 22px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ---- CSS JET GRAPHIC (solid colors only) ---- */

.jet {
  position: relative;
  width: 220px;
  height: 130px;
  flex: 0 0 auto;
}

.jet-wing-far {
  position: absolute;
  right: 32px;
  top: 50px;
  width: 46px;
  height: 30px;
  background-color: #8A6B26;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
}

.jet-fuselage {
  position: absolute;
  left: 20px;
  top: 40px;
  width: 150px;
  height: 34px;
  background-color: #F5EEDD;
  border-radius: 17px;
}

.jet-nose {
  position: absolute;
  right: -18px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 34px solid #F5EEDD;
}

.jet-window {
  position: absolute;
  top: 14px;
  width: 6px;
  height: 6px;
  background-color: #D9A441;
}

.jet-window.one { left: 30px; }
.jet-window.two { left: 42px; }
.jet-window.three { left: 54px; }

.jet-tail {
  position: absolute;
  left: 6px;
  top: -22px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 32px solid #D9A441;
}

.jet-wing-near {
  position: absolute;
  left: 55px;
  top: 34px;
  width: 74px;
  height: 50px;
  background-color: #D9A441;
  clip-path: polygon(0% 0%, 100% 0%, 8% 100%);
}

/* ============ LEDGER TABLE ============ */

.ledger-table {
  background-color: #100C06;
  padding: 96px 0 48px;
}

.section-kicker {
  display: block;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #D9A441;
}

.section-head h2 {
  font-size: 38px;
  margin-top: 14px;
  color: #F5EEDD;
}

.section-lead {
  font-size: 17px;
  color: #C9BC9E;
  margin-top: 18px;
  max-width: 780px;
}

.ledger-rows {
  margin-top: 48px;
  border-top: 1px solid #2E240F;
}

.ledger-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid #2E240F;
}

.row-num {
  flex: 0 0 48px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #D9A441;
}

.row-body {
  flex: 1 1 auto;
}

.row-body h3 {
  font-size: 22px;
  color: #F5EEDD;
}

.row-body p {
  color: #C9BC9E;
  margin-top: 8px;
  max-width: 720px;
}

.row-tag {
  flex: 0 0 auto;
  background-color: #D9A441;
  color: #100C06;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
}

/* ============ METRIC BAND ============ */

.metric-band {
  display: flex;
  background-color: #D9A441;
  margin-top: 64px;
}

.metric {
  flex: 1 1 0;
  text-align: center;
  padding: 44px 16px;
  border-left: 1px solid #100C06;
}

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

.metric-num {
  display: block;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #100C06;
}

.metric-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #100C06;
}

/* ============ STATEMENT BAND ============ */

.statement-band {
  background-color: #100C06;
  padding: 96px 0;
}

.statement-line {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 28px;
  line-height: 1.3;
  color: #F5EEDD;
  max-width: 820px;
}

.statement-sub {
  color: #C9BC9E;
  margin-top: 18px;
  max-width: 700px;
}

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

.cta-band {
  background-color: #D9A441;
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: 34px;
  color: #100C06;
  max-width: 640px;
}

/* ============ TWO-COLUMN WIDE FOOTER ============ */

.two-col-footer {
  background-color: #100C06;
  border-top: 1px solid #2E240F;
  padding: 64px 0 40px;
}

.footer-cols {
  display: flex;
}

.footer-brand {
  flex: 0 0 60%;
  padding-right: 56px;
}

.footer-name {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #F5EEDD;
}

.footer-blurb {
  color: #C9BC9E;
  margin-top: 14px;
  max-width: 460px;
}

.footer-copyright {
  color: #C9BC9E;
  margin-top: 20px;
  font-size: 14px;
}

.footer-links-col {
  flex: 1 1 auto;
  border-left: 1px solid #2E240F;
  padding-left: 56px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #F5EEDD;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

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

.footer-contact {
  color: #C9BC9E;
  margin-top: 22px;
  font-size: 15px;
}

.footer-legal {
  margin-top: 48px;
  border-top: 1px solid #2E240F;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #C9BC9E;
}

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

.footer-legal a:hover {
  color: #D9A441;
}

/* ============ SECONDARY PAGES (SERVICES / CONTACT) ============ */

.page-hero {
  background-color: #1D1609;
}

.page-hero .hero-inner {
  padding: 88px 0 96px;
  max-width: 800px;
}

.page-hero h1 {
  font-size: 46px;
  margin-top: 22px;
  color: #F5EEDD;
}

.page-intro {
  font-size: 18px;
  color: #C9BC9E;
  margin-top: 20px;
  max-width: 680px;
}

.services-list {
  padding: 72px 0 40px;
}

.service-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid #2E240F;
}

.service-item:last-child {
  border-bottom: 1px solid #2E240F;
}

.service-num {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #D9A441;
}

.service-item h2 {
  font-size: 26px;
  color: #F5EEDD;
}

.service-item p {
  color: #C9BC9E;
  margin-top: 12px;
  max-width: 760px;
}

.process-band {
  background-color: #1D1609;
  padding: 80px 0 88px;
}

.process-lead {
  color: #C9BC9E;
  margin-top: 16px;
  max-width: 760px;
}

.process-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.process-step {
  padding: 0 22px;
  border-left: 1px solid #2E240F;
}

.process-step:first-child {
  border-left: 0;
  padding-left: 0;
}

.step-num {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  color: #D9A441;
}

.process-step h3 {
  font-size: 17px;
  margin-top: 10px;
  color: #F5EEDD;
}

.process-step p {
  font-size: 14px;
  color: #C9BC9E;
  margin-top: 8px;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  padding: 72px 0;
}

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

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #F5EEDD;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: #1D1609;
  border: 1px solid #2E240F;
  color: #F5EEDD;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8A6B26;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #D9A441;
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-note {
  color: #C9BC9E;
  font-size: 14px;
  margin-top: 14px;
}

.form-success {
  color: #D9A441;
  font-weight: 600;
  margin-top: 16px;
}

.contact-info .info-block {
  padding: 22px 0;
  border-bottom: 1px solid #2E240F;
}

.contact-info .info-block:first-child {
  padding-top: 0;
}

.contact-info .info-label {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #D9A441;
}

.contact-info .info-value {
  color: #F5EEDD;
  margin-top: 8px;
}

.contact-info .info-value a {
  color: #F5EEDD;
  text-decoration: none;
}

.contact-info .info-value a:hover {
  color: #D9A441;
}

/* ============ FAQ ACCORDION ============ */

.faq-band {
  padding: 72px 0 88px;
}

.faq-list {
  margin-top: 32px;
  max-width: 860px;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #F5EEDD;
}

.faq-question:hover {
  color: #D9A441;
}

.faq-icon {
  color: #D9A441;
  font-size: 20px;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: #C9BC9E;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ SCROLL REVEAL (SAFE WITHOUT JS) ============ */

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

.fade-up.visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1100px) {
  .hero-title {
    font-size: 44px;
  }

  .jet {
    display: none;
  }
}

@media (max-width: 900px) {
  .content-wrap {
    margin-right: 0;
  }

  .rail-nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-left: 0;
    border-bottom: 1px solid #2E240F;
    padding: 14px 20px;
  }

  .rail-brand {
    flex-direction: row;
    gap: 0;
  }

  .rail-letter {
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .rail-links {
    flex-direction: row;
    gap: 16px;
  }

  .rail-link {
    flex-direction: row;
    gap: 0;
    font-size: 11px;
  }

  .rail-dot {
    display: none;
  }

  .rail-cta {
    display: none;
  }

  .rail-toggle {
    display: flex;
  }

  .rail-nav.open .rail-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background-color: #1D1609;
    border-bottom: 1px solid #2E240F;
  }

  .rail-nav.open .rail-link {
    flex-direction: row;
    gap: 10px;
    font-size: 14px;
  }

  .rail-nav.open .rail-dot {
    display: block;
  }

  .container {
    padding: 0 20px;
  }

  .hero-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding: 64px 0 72px;
  }

  .hero-title {
    font-size: 38px;
  }

  .ledger-table {
    padding: 64px 0 32px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .ledger-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .row-num {
    flex-basis: 40px;
  }

  .metric-band {
    flex-direction: column;
    margin-top: 48px;
  }

  .metric {
    border-left: 0;
    border-top: 1px solid #100C06;
    padding: 28px 16px;
  }

  .metric:first-child {
    border-top: 0;
  }

  .statement-band {
    padding: 64px 0;
  }

  .statement-line {
    font-size: 24px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner h2 {
    font-size: 28px;
  }

  .footer-cols {
    flex-direction: column;
  }

  .footer-brand {
    flex-basis: auto;
    padding-right: 0;
  }

  .footer-links-col {
    border-left: 0;
    border-top: 1px solid #2E240F;
    padding-left: 0;
    padding-top: 28px;
    margin-top: 28px;
  }

  .page-hero .hero-inner {
    padding: 64px 0 72px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-left: 0;
    border-top: 1px solid #2E240F;
    padding: 22px 0;
  }

  .process-step:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .rail-links {
    display: none;
  }

  .rail-nav.open .rail-links {
    display: flex;
  }

  .rail-nav {
    padding: 12px 16px;
  }

  .rail-letter {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    text-align: center;
  }
}
