/* ==========================================================================
   KIMYOU ENTERPRISE LIMITED - Enterprise Seal Theme
   Dark oxblood-wine system: deep #17121A body, ivory-cream text, oxblood-crimson
   accent, ebony bands, antique-gold micro-accents. Solid colors only.
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", "Palatino Linotype", serif;
  line-height: 1.75;
  color: #F2ECE2;
  background-color: #17121A;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a:hover {
  color: #F2ECE2;
}

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

/* ==========================================================================
   LEFT SIDEBAR NAVIGATION
   ========================================================================== */

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: 100vh;
  background-color: #0F0C12;
  border-right: 1px solid #C9A24B;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 28px;
  z-index: 60;
  overflow-y: auto;
}

.side-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 40px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.seal {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background-color: #8E2F3F;
  border: 2px solid #C9A24B;
  box-shadow: 0 0 0 3px #17121A inset, 0 0 0 4px #C9A24B inset;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  color: #F2ECE2;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #F2ECE2;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A24B;
}

.side-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-nav .nav-link {
  display: block;
  padding: 9px 4px;
  color: #F2ECE2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.side-nav .nav-link:hover,
.side-nav .nav-link.is-active {
  color: #F2ECE2;
  border-bottom-color: #8E2F3F;
  padding-left: 10px;
}

.side-cta {
  margin-top: auto;
  padding-top: 28px;
}

.side-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
}

.nav-toggle {
  display: none;
}

.nav-overlay {
  display: none;
}

/* ==========================================================================
   MAIN CONTENT WRAPPER (offset right of the sidebar)
   ========================================================================== */

.main-wrap {
  margin-left: 230px;
  min-height: 100vh;
}

/* ==========================================================================
   CENTERED STACK HERO
   ========================================================================== */

.center-stack-hero {
  background-color: #17121A;
  padding: 96px 48px 88px;
  text-align: center;
}

.center-stack-hero .container {
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #17121A;
  background-color: #C9A24B;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #F2ECE2;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 18px;
  line-height: 1.85;
  color: #BDB2A6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #8E2F3F;
  color: #F2ECE2;
  border: 2px solid #8E2F3F;
}

.btn-primary:hover {
  background-color: #A83A50;
  border-color: #A83A50;
  color: #F2ECE2;
}

.btn-outline {
  background-color: transparent;
  color: #F2ECE2;
  border: 2px solid #F2ECE2;
}

.btn-outline:hover {
  background-color: #F2ECE2;
  color: #17121A;
}

/* ----- CSS WAX-SEAL GRAPHIC ----- */

.seal-graphic {
  margin: 0 auto 56px;
  width: 160px;
  height: 160px;
}

.seal-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: #8E2F3F;
  border: 3px dashed #C9A24B;
  box-shadow: 0 0 0 8px #17121A inset, 0 0 0 11px #C9A24B inset, 0 0 0 16px #8E2F3F inset;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  font-weight: 700;
  color: #F2ECE2;
  line-height: 1;
}

.seal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #C9A24B;
  margin: 0 10px;
  vertical-align: middle;
}

/* ----- STAT LINE ----- */

.stat-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  max-width: 720px;
}

.stat-item {
  padding: 0 34px;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid #C9A24B;
}

.stat-num {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: #F2ECE2;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #BDB2A6;
  margin-top: 6px;
}

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

.home-page .ledger-section {
  background-color: #17121A;
  padding: 90px 48px;
}

.ledger-section .container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-title {
  font-size: 38px;
  line-height: 1.2;
  color: #F2ECE2;
  margin-bottom: 16px;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  color: #BDB2A6;
}

.ledger-table {
  background-color: #2A1B22;
  border: 1px solid #C9A24B;
}

.ledger-row {
  display: grid;
  grid-template-columns: 300px 1fr;
}

.ledger-row + .ledger-row {
  border-top: 1px solid #C9A24B;
}

.ledger-title {
  padding: 30px 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #F2ECE2;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.ledger-title .seal-dot {
  margin: 8px 0 0;
  flex: 0 0 8px;
}

.ledger-copy {
  padding: 30px 32px;
  border-left: 1px solid #C9A24B;
  color: #BDB2A6;
  font-size: 16px;
}

.ledger-copy p + p {
  margin-top: 12px;
}

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

.metric-band {
  background-color: #8E2F3F;
  padding: 70px 48px;
}

.metric-band .container {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  text-align: center;
  padding: 0 24px;
}

.metric-item + .metric-item {
  border-left: 1px solid #F2ECE2;
}

.metric-num {
  display: block;
  font-size: 52px;
  font-weight: 700;
  color: #F2ECE2;
  line-height: 1.05;
}

.metric-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F2ECE2;
}

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

.statement-band {
  background-color: #0F0C12;
  padding: 96px 48px;
  text-align: center;
}

.statement-band .container {
  max-width: 860px;
  margin: 0 auto;
}

.statement-band .seal {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  font-size: 34px;
  margin: 0 auto 30px;
}

.statement-text {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  color: #F2ECE2;
}

.statement-text .gold {
  color: #C9A24B;
}

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

.cta-band {
  background-color: #2A1B22;
  padding: 90px 48px;
  text-align: center;
}

.cta-band .container {
  max-width: 780px;
  margin: 0 auto;
}

.cta-band .section-title {
  margin-bottom: 18px;
}

.cta-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: #BDB2A6;
}

/* ==========================================================================
   SINGLE-ROW FOOTER
   ========================================================================== */

.single-row-footer {
  background-color: #0F0C12;
  border-top: 1px solid #C9A24B;
  padding: 28px 48px;
  text-align: center;
}

.single-row-footer .footer-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  font-size: 14px;
  color: #F2ECE2;
}

.single-row-footer .footer-dot {
  color: #C9A24B;
  font-size: 12px;
}

.single-row-footer a {
  color: #F2ECE2;
  border-bottom: 1px solid #8E2F3F;
}

.single-row-footer a:hover {
  color: #C9A24B;
  border-bottom-color: #C9A24B;
}

/* ==========================================================================
   PAGE BANNER (secondary pages: services / contact)
   ========================================================================== */

.page-banner {
  background-color: #17121A;
  padding: 84px 48px 72px;
  text-align: center;
}

.page-banner .container {
  max-width: 820px;
  margin: 0 auto;
}

.page-banner h1 {
  font-size: 46px;
  line-height: 1.15;
  color: #F2ECE2;
  margin-bottom: 18px;
}

.page-banner .page-lede {
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  color: #BDB2A6;
}

/* ==========================================================================
   SERVICE LIST SECTION (services page)
   ========================================================================== */

.services-section {
  background-color: #17121A;
  padding: 72px 48px;
}

.services-section .container {
  max-width: 980px;
  margin: 0 auto;
}

.service-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background-color: #2A1B22;
  border: 1px solid #C9A24B;
}

.service-block + .service-block {
  margin-top: 28px;
}

.service-block-header {
  padding: 30px 26px;
  background-color: #1F1620;
  border-right: 1px solid #C9A24B;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-block-header h2 {
  font-size: 22px;
  line-height: 1.3;
  color: #F2ECE2;
}

.service-block-tag {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A24B;
  font-weight: 700;
}

.service-block-body {
  padding: 30px 32px;
}

.service-block-body p {
  color: #BDB2A6;
  font-size: 16px;
}

.service-block-body p + p {
  margin-top: 12px;
}

/* ----- Process overview ----- */

.process-section {
  background-color: #0F0C12;
  padding: 80px 48px;
}

.process-section .container {
  max-width: 980px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.process-step {
  border-top: 3px solid #8E2F3F;
  padding-top: 20px;
}

.process-step .step-num {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  color: #C9A24B;
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 18px;
  color: #F2ECE2;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
  color: #BDB2A6;
}

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

.contact-section {
  background-color: #17121A;
  padding: 72px 48px 90px;
}

.contact-section .container {
  max-width: 1080px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background-color: #2A1B22;
  border: 1px solid #C9A24B;
  padding: 36px;
}

.contact-card h2 {
  font-size: 24px;
  color: #F2ECE2;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C9A24B;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #17121A;
  border: 1px solid #8E2F3F;
  border-radius: 2px;
  color: #F2ECE2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

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

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

.contact-form .btn {
  cursor: pointer;
  border: 2px solid #8E2F3F;
}

.form-notice {
  margin-top: 14px;
  font-size: 15px;
  color: #F2ECE2;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #8E2F3F;
}

.contact-detail .seal-dot {
  margin-top: 8px;
}

.contact-detail h3 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A24B;
  margin-bottom: 6px;
}

.contact-detail p,
.contact-detail a {
  font-size: 16px;
  color: #F2ECE2;
  line-height: 1.6;
}

.contact-detail a:hover {
  color: #C9A24B;
}

.business-hours {
  margin-top: 28px;
}

.business-hours h3 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A24B;
  margin-bottom: 12px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 15px;
  color: #F2ECE2;
  border-bottom: 1px solid #8E2F3F;
}

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

.faq-section {
  background-color: #0F0C12;
  padding: 80px 48px;
}

.faq-section .container {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #8E2F3F;
  background-color: #17121A;
  margin-bottom: 16px;
}

.faq-item + .faq-item {
  margin-top: 16px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: #F2ECE2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question .seal-dot {
  flex: 0 0 8px;
}

.faq-answer {
  padding: 0 24px 20px;
  color: #BDB2A6;
  font-size: 16px;
}

/* ==========================================================================
   SCROLL REVEAL (safe without JavaScript)
   ========================================================================== */

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

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

@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

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

@media (max-width: 1020px) {
  .ledger-row {
    grid-template-columns: 1fr;
  }

  .ledger-copy {
    border-left: none;
    border-top: 1px solid #C9A24B;
  }

  .metric-band .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .metric-item:nth-child(3) {
    border-left: none;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block-header {
    border-right: none;
    border-bottom: 1px solid #C9A24B;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .side-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 260px;
  }

  body.nav-open .side-nav {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
    background-color: #8E2F3F;
    border: 1px solid #C9A24B;
    border-radius: 2px;
    color: #F2ECE2;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 70;
  }

  .nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #F2ECE2;
    margin: 3px 0;
  }

  body.nav-open .nav-toggle .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  body.nav-open .nav-toggle .bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle .bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: #0F0C12;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .main-wrap {
    margin-left: 0;
  }

  .center-stack-hero {
    padding: 104px 24px 72px;
  }

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

  .stat-line {
    flex-direction: column;
    gap: 18px;
  }

  .stat-item {
    padding: 0 0 18px;
    border-bottom: 1px solid #C9A24B;
    width: 100%;
  }

  .stat-item + .stat-item {
    border-left: none;
    padding-top: 18px;
  }

  .home-page .ledger-section,
  .metric-band,
  .statement-band,
  .cta-band,
  .services-section,
  .process-section,
  .faq-section,
  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }

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

  .section-title {
    font-size: 30px;
  }

  .single-row-footer .footer-row {
    font-size: 13px;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .metric-band .container {
    grid-template-columns: 1fr;
  }

  .metric-item + .metric-item {
    border-left: none;
    border-top: 1px solid #F2ECE2;
    padding-top: 24px;
  }
}
