/* ============================================================
   KAMILAH MIRZA, LLC — Cartographer Drawing Desk
   LIGHT chart-room theme
   ============================================================ */

:root {
  --atlas-paper: #F1EEE3;
  --ink-well: #2A2C33;
  --rose-copper: #B36A3A;
  --drawer-deep: #26271E;
  --chart-cream: #EDE8D8;
  --linen-fold: #DCD5BE;
  --survey-slate: #56616A;
  --border-red: #9E4432;
  --rule-soft: #C9C0A8;
  --rule-dark: #3B3323;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #F1EEE3;
  color: #2A2C33;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #2A2C33;
  line-height: 1.25;
  margin: 0 0 0.6em 0;
}

p {
  margin: 0 0 1em 0;
}

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

a:hover {
  text-decoration: underline;
}

.sheetwrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------
   MAP CASE HEADER (.mapcase)
   ------------------------------------------------------------ */
.mapcase {
  background-color: #26271E;
  border-bottom: 4px solid #B36A3A;
}

.mapcase-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mapcase-plate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px 18px 0;
}

.mapcase-petal {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #B36A3A;
  border: 3px solid #EDE8D8;
  flex: none;
  position: relative;
}

.mapcase-petal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 34px;
  background-color: #EDE8D8;
  transform: translate(-50%, -50%) rotate(45deg);
}

.mapcase-brand {
  color: #EDE8D8;
  font-size: 19px;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
}

.mapcase-sub {
  display: block;
  color: #B36A3A;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: Verdana, Geneva, sans-serif;
  margin-top: 3px;
}

.mapcase-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.mapcase-tab {
  display: block;
  background-color: #EDE8D8;
  color: #26271E;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 3px solid transparent;
  border-radius: 6px 6px 0 0;
}

.mapcase-tab:hover {
  text-decoration: none;
  border-bottom-color: #B36A3A;
  color: #B36A3A;
}

.mapcase-tab.t-tall {
  padding-top: 15px;
  padding-bottom: 13px;
}

.mapcase-tab.t-mid {
  padding-top: 12px;
  padding-bottom: 11px;
}

.mapcase-tab.t-low {
  padding-top: 9px;
  padding-bottom: 9px;
}

.mapcase-tab.t-xtall {
  padding-top: 17px;
  padding-bottom: 14px;
}

.mapcase-tab.t-short {
  padding-top: 8px;
  padding-bottom: 8px;
}

.mapcase-toggle {
  display: none;
  background-color: #B36A3A;
  color: #EDE8D8;
  border: none;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
}

.mapcase-mobile {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 16px;
}

.mapcase-mobile.open {
  display: flex;
}

.mapcase-mlink {
  background-color: #EDE8D8;
  color: #26271E;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 18px;
  border-radius: 4px;
}

.mapcase-mlink:hover {
  text-decoration: none;
  color: #B36A3A;
}

/* ------------------------------------------------------------
   HERO: CHART DRAWER BAY (.cartouche)
   ------------------------------------------------------------ */
.cartouche {
  padding: 62px 0 0 0;
  background-color: #F1EEE3;
}

.cartouche-head {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px 24px;
}

.cartouche-kicker {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #56616A;
  margin-bottom: 22px;
  border-left: 4px solid #B36A3A;
  padding-left: 12px;
}

.cartouche-title {
  font-size: 54px;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  max-width: 900px;
}

.cartouche-title .beat-red {
  display: block;
  color: #9E4432;
}

.cartouche-bigword {
  display: block;
  font-size: 104px;
  line-height: 0.9;
  color: #9E4432;
  letter-spacing: 0.02em;
  margin: 6px 0 18px 0;
}

.cartouche-subline {
  font-size: 20px;
  color: #56616A;
  font-style: italic;
  max-width: 720px;
  margin-bottom: 26px;
}

.cartouche-lead {
  font-size: 17px;
  max-width: 760px;
  color: #2A2C33;
}

.cartouche-link {
  display: inline-block;
  margin-top: 6px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B36A3A;
  border-bottom: 2px solid #B36A3A;
  padding-bottom: 2px;
}

.cartouche-link:hover {
  text-decoration: none;
  color: #9E4432;
  border-bottom-color: #9E4432;
}

/* full-width chart band */
.cartouche-band {
  background-color: #EDE8D8;
  border-top: 3px solid #B36A3A;
  border-bottom: 3px solid #B36A3A;
}

.cartouche-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 34px;
  align-items: end;
}

/* --- flat chart drawer pulled open --- */
.chartdrawer {
  position: relative;
  padding-bottom: 26px;
}

.chartdrawer-box {
  background-color: #DCD5BE;
  border: 3px solid #26271E;
  height: 176px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 0 #C9C0A8;
}

.chartdrawer-box::before,
.chartdrawer-box::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 8px;
  background-color: #B36A3A;
  border-radius: 4px;
}

.chartdrawer-box::before { left: 14px; }
.chartdrawer-box::after { right: 14px; }

.chartdrawer-roll {
  width: 74%;
  height: 96px;
  background-color: #F1EEE3;
  border: 2px solid #56616A;
  border-radius: 3px;
  position: relative;
}

.chartdrawer-roll::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #B36A3A;
}

.chartdrawer-label {
  text-align: center;
  margin-top: 12px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #56616A;
}

/* --- cartouche title panel + compass rose --- */
.cartouche-panel {
  text-align: center;
  padding-bottom: 26px;
}

.cartouche-plate {
  background-color: #F1EEE3;
  border-left: 6px double #B36A3A;
  border-right: 6px double #B36A3A;
  padding: 12px 18px;
  position: relative;
}

.cartouche-plate::before,
.cartouche-plate::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 26px;
  height: 12px;
  background-color: #B36A3A;
  border-radius: 6px;
}

.cartouche-plate::before { left: -14px; }
.cartouche-plate::after { right: -14px; }

.cartouche-plate-title {
  font-size: 26px;
  color: #26271E;
  margin: 0;
  letter-spacing: 0.02em;
}

.cartouche-plate-year {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #56616A;
  text-transform: uppercase;
}

.compass {
  width: 128px;
  height: 128px;
  margin: 20px auto 0 auto;
  border-radius: 50%;
  border: 3px solid #B36A3A;
  position: relative;
  background-color: #EDE8D8;
}

.compass::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 112px;
  background-color: #B36A3A;
  transform: translateX(-50%);
}

.compass::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  width: 112px;
  height: 4px;
  background-color: #B36A3A;
  transform: translateY(-50%);
}

.compass-n {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  color: #9E4432;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.compass-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background-color: #EDE8D8;
  border: 3px solid #26271E;
  z-index: 2;
}

/* --- folded atlas sheets + hatch panel + chain coil --- */
.cartouche-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 26px;
}

.atlas-stack {
  position: relative;
  height: 74px;
}

.atlas-leaf {
  position: absolute;
  height: 40px;
  background-color: #F1EEE3;
  border: 2px solid #56616A;
  border-radius: 2px;
}

.atlas-leaf.l1 { left: 0; right: 30px; top: 0; }
.atlas-leaf.l2 { left: 14px; right: 16px; top: 12px; background-color: #DCD5BE; }
.atlas-leaf.l3 { left: 28px; right: 0; top: 24px; }

.hatch-panel {
  height: 60px;
  background-color: #EDE8D8;
  border: 2px solid #26271E;
  background-image: repeating-linear-gradient(45deg, #9E4432 0, #9E4432 2px, #EDE8D8 2px, #EDE8D8 10px);
}

.chaincoil {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
}

.chaincoil span {
  width: 16px;
  height: 16px;
  border: 3px solid #B36A3A;
  border-radius: 50%;
  display: inline-block;
}

.chaincoil span:nth-child(even) { border-color: #56616A; }

/* primary CTA bar */
.cta-bar {
  display: block;
  background-color: #B36A3A;
  color: #FFFFFF;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 20px 24px;
  text-align: center;
  border-top: 3px solid #26271E;
}

.cta-bar:hover {
  text-decoration: none;
  background-color: #9E4432;
}

.cta-bar .arrow {
  display: inline-block;
  margin-left: 10px;
}

/* ------------------------------------------------------------
   SECTION SHELL
   ------------------------------------------------------------ */
.sect {
  padding: 62px 0;
}

.sect-rule {
  width: 100%;
  height: 3px;
  background-color: #C9C0A8;
  border: none;
  margin: 0;
}

.sect-head {
  margin-bottom: 34px;
}

.sect-kicker {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #56616A;
  margin-bottom: 10px;
}

.sect-title {
  font-size: 34px;
  margin-bottom: 10px;
}

.sect-intro {
  font-size: 17px;
  max-width: 780px;
  color: #2A2C33;
}

/* ------------------------------------------------------------
   LEGEND RAIL LADDER (.legendrail)
   ------------------------------------------------------------ */
.legendrail {
  background-color: #EDE8D8;
  border-top: 3px solid #26271E;
  border-bottom: 3px solid #26271E;
}

.legendrail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.leg-entry {
  position: relative;
  padding: 26px 24px 26px 60px;
  border-top: 1px solid #C9C0A8;
  background-color: #EDE8D8;
}

.leg-entry:first-child {
  border-top: none;
}

.leg-letter {
  position: absolute;
  left: 0;
  top: 28px;
  width: 42px;
  text-align: center;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #B36A3A;
  border-right: 2px solid #B36A3A;
}

.leg-entry h3 {
  font-size: 23px;
  margin-bottom: 6px;
}

.leg-entry p {
  margin-bottom: 8px;
  font-size: 16px;
}

.leg-more {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #56616A;
}

.leg-more:hover {
  color: #B36A3A;
}

/* deliberately different widths / offsets */
.leg-e1 { width: 100%; }
.leg-e2 { width: 92%; margin-left: 4%; }
.leg-e3 { width: 96%; margin-left: 1%; }
.leg-e4 { width: 88%; margin-left: 7%; }
.leg-e5 { width: 94%; margin-left: 3%; }
.leg-e6 { width: 100%; }

/* decorations — irregular distribution */
.leg-petal {
  position: absolute;
  right: 18px;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #B36A3A;
  border: 2px solid #26271E;
}

.leg-petal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 26px;
  background-color: #26271E;
  transform: translate(-50%, -50%) rotate(45deg);
}

.leg-foldcorner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 26px solid #DCD5BE;
  border-top: 26px solid #C9C0A8;
}

/* ------------------------------------------------------------
   SCALE BAND
   ------------------------------------------------------------ */
.scaleband {
  background-color: #26271E;
  padding: 20px 0;
}

.scaleband-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.scalebar {
  display: flex;
  flex: none;
  border: 2px solid #B36A3A;
}

.scalebar i {
  display: block;
  width: 22px;
  height: 16px;
}

.scalebar i:nth-child(odd) { background-color: #B36A3A; }
.scalebar i:nth-child(even) { background-color: #26271E; }

.scaleband-note {
  color: #EDE8D8;
  font-size: 15px;
  margin: 0;
  font-style: italic;
}

/* ------------------------------------------------------------
   GENERIC CONTENT PANELS
   ------------------------------------------------------------ */
.panel {
  background-color: #EDE8D8;
  border: 2px solid #C9C0A8;
  padding: 28px;
}

.panel-dark {
  background-color: #26271E;
  color: #EDE8D8;
  padding: 28px;
}

.panel-dark h3 {
  color: #EDE8D8;
}

.panel-dark p {
  color: #EDE8D8;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.chartnote {
  max-width: 820px;
}

.chartnote h2 {
  font-size: 30px;
  margin-top: 30px;
}

.chartnote h3 {
  font-size: 22px;
  margin-top: 22px;
}

.chartnote ul {
  padding-left: 22px;
}

.chartnote li {
  margin-bottom: 8px;
}

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

.factlist li {
  padding: 10px 0;
  border-bottom: 1px solid #C9C0A8;
}

.factlist li:last-child {
  border-bottom: none;
}

.factlist strong {
  color: #26271E;
}

/* service link inline */
.svc-link {
  color: #B36A3A;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #B36A3A;
}

.svc-link:hover {
  text-decoration: none;
  color: #9E4432;
  border-bottom-color: #9E4432;
}

/* ------------------------------------------------------------
   ATLAS WALL FOOTER (.platwall)
   ------------------------------------------------------------ */
.platwall {
  background-color: #26271E;
  color: #EDE8D8;
  padding: 54px 0 0 0;
}

.platwall-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.platwall-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.platwall-petal {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #B36A3A;
  border: 2px solid #EDE8D8;
  flex: none;
}

.platwall-name {
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EDE8D8;
  font-weight: 700;
}

.platwall-blurb {
  color: #DCD5BE;
  font-size: 15px;
  margin: 0;
}

.platwall-colhead {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B36A3A;
  margin-bottom: 12px;
}

.platwall-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platwall-links li {
  margin-bottom: 9px;
}

.platwall-links a {
  color: #EDE8D8;
  font-size: 15px;
}

.platwall-links a:hover {
  color: #B36A3A;
  text-decoration: underline;
}

.platwall-strip {
  background-color: #DCD5BE;
  color: #26271E;
}

.platwall-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.platwall-strip-inner strong {
  color: #26271E;
}

.platwall-pull {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #B36A3A;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* ------------------------------------------------------------
   REVEAL
   ------------------------------------------------------------ */
.reveal {
  opacity: 1;
  transform: none;
}

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

.js-on .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------
   CONTACT FORM
   ------------------------------------------------------------ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #56616A;
  margin-bottom: 7px;
}

.field input,
.field textarea {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: #2A2C33;
  background-color: #F1EEE3;
  border: 2px solid #C9C0A8;
  padding: 12px 14px;
  border-radius: 3px;
}

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

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

.form-submit {
  background-color: #B36A3A;
  color: #FFFFFF;
  border: none;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 6px;
}

.form-submit:hover {
  background-color: #9E4432;
}

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

/* ------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------ */
.faq-item {
  border: 2px solid #C9C0A8;
  background-color: #EDE8D8;
  margin-bottom: 12px;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #26271E;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-q .faq-mark {
  color: #B36A3A;
  font-weight: 700;
}

.faq-a {
  display: none;
  padding: 0 20px 18px 20px;
  color: #2A2C33;
  font-size: 16px;
}

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

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .cartouche-band-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .two-col,
  .three-col,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .platwall-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .cartouche-bigword {
    font-size: 62px;
  }
}

@media (max-width: 760px) {
  .mapcase-tabs {
    display: none;
  }

  .mapcase-toggle {
    display: block;
    margin-bottom: 14px;
  }

  .mapcase-inner {
    padding-bottom: 4px;
  }
}
