/* Showflat viewing book - section 01 palette and base */

:root {
  --livenhs: #EEECD8;
  --listing: #303C30;
  --doorplate: #144520;
  --kingyip: #202A20;
  --panel: #C2CEC6;
  --brass: #BA6055;
  --plaster: #96B298;
  --sheet-ink: #5A675A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  background-color: #EEECD8;
  color: #303C30;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #144520;
}

p {
  margin: 0 0 1em;
}

/* ---- floor index nav ---- */

.floorindexnav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 224px;
  background-color: #202A20;
  padding: 26px 18px 26px 22px;
  z-index: 40;
}

.floorindexnav-stack {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.floorindexnav-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: #C2CEC6;
  color: #202A20;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 0 14px;
  border-left: 6px solid #5A675A;
  transition: transform 160ms ease, border-color 160ms ease;
}

.floorindexnav-tab--a { height: 62px; }
.floorindexnav-tab--b { height: 78px; }
.floorindexnav-tab--c { height: 54px; }
.floorindexnav-tab--d { height: 70px; }
.floorindexnav-tab--e { height: 58px; }

.floorindexnav-tab:hover,
.floorindexnav-tab:focus {
  transform: translateX(6px);
  border-left-color: #144520;
}

.floorindexnav-tab.is-active {
  border-left-color: #144520;
  background-color: #EEECD8;
  transform: translateX(10px);
}

.floorindexnav-num {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: #5A675A;
  letter-spacing: 0.12em;
}

.floorindexnav-word {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.floorindexnav-tab.is-active .floorindexnav-num {
  color: #144520;
}

.floorindexnav-brand {
  margin-top: auto;
  background-color: #303C30;
  color: #C2CEC6;
  border: 1px solid #5A675A;
  padding: 14px 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.floorindexnav-main {
  margin-left: 224px;
  display: block;
}

/* ---- showflat window hero ---- */

.showflatwindow {
  display: flex;
  align-items: stretch;
  min-height: 620px;
  border-bottom: 3px solid #303C30;
}

.showflatwindow-text {
  width: 54%;
  padding: 64px 56px 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showflatwindow-eyebrow {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #144520;
  margin-bottom: 18px;
}

.showflatwindow-title {
  margin: 0 0 22px;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 700;
  color: #303C30;
}

.showflatwindow-line {
  display: block;
}

.showflatwindow-display {
  display: block;
  font-size: 118px;
  line-height: 0.86;
  color: #144520;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.showflatwindow-lede {
  font-size: 17px;
  max-width: 560px;
  color: #303C30;
}

.showflatwindow-inline {
  color: #144520;
  text-decoration: underline;
  font-weight: 700;
  white-space: nowrap;
}

.showflatwindow-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  background-color: #144520;
  color: #EEECD8;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 22px;
  max-width: 560px;
}

.showflatwindow-bar:hover,
.showflatwindow-bar:focus {
  background-color: #0E3217;
}

.showflatwindow-window {
  width: 46%;
  background-color: #202A20;
  padding: 34px 34px 0;
  display: flex;
  flex-direction: column;
}

.showflatwindow-frame {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 10px;
  border: 12px solid #C2CEC6;
  background-color: #C2CEC6;
  border-top-width: 14px;
}

.showflatwindow-pane {
  background-color: #EEECD8;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.showflatwindow-sky {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 6px;
}

.showflatwindow-tower {
  position: relative;
  background-color: #303C30;
  width: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 4px;
  border-top: 4px solid #5A675A;
}

.showflatwindow-tower--t1 { height: 58%; width: 30px; }
.showflatwindow-tower--t2 { height: 76%; width: 24px; }
.showflatwindow-tower--t3 { height: 90%; width: 34px; }
.showflatwindow-tower--t4 { height: 66%; width: 28px; }
.showflatwindow-tower--t5 { height: 84%; width: 32px; }
.showflatwindow-tower--t6 { height: 70%; width: 26px; }
.showflatwindow-tower--t7 { height: 92%; width: 34px; }
.showflatwindow-tower--t8 { height: 80%; width: 30px; }

.showflatwindow-lit {
  display: block;
  height: 6px;
  width: 100%;
  background-color: #BA6055;
}

.showflatwindow-sold {
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -19px;
  background-color: #144520;
  color: #EEECD8;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 3px 5px;
  transform: rotate(-6deg);
  z-index: 3;
}

.showflatwindow-sill {
  height: 22px;
  background-color: #C2CEC6;
  border-top: 4px solid #303C30;
}

/* ---- plan sheet rows ---- */

.plansheetrow {
  padding: 70px 64px 74px;
  background-color: #EEECD8;
}

.plansheetrow--prose {
  background-color: #C2CEC6;
  border-top: 3px solid #303C30;
}

.plansheetrow-head {
  max-width: 780px;
  margin-bottom: 40px;
}

.plansheetrow-h2 {
  font-size: 34px;
  margin: 0 0 18px;
  color: #144520;
  border-bottom: 3px solid #144520;
  display: inline-block;
  padding-bottom: 6px;
}

.plansheetrow-intro {
  font-size: 16px;
  color: #303C30;
}

.plansheetrow-run {
  display: flex;
  gap: 0;
  align-items: flex-start;
  margin-bottom: -26px;
}

.plansheetrow-run--one {
  padding-left: 12px;
}

.plansheetrow-run--two {
  padding-left: 54px;
  margin-top: 18px;
}

.plansheetrow-sheet {
  position: relative;
  width: 33.33%;
  background-color: #EFEDDC;
  border: 1px solid #5A675A;
  padding: 30px 26px 32px;
  margin: 0 -14px 26px 0;
  box-shadow: 6px 6px 0 #C2CEC6;
}

.plansheetrow-sheet--left { transform: rotate(-0.7deg); z-index: 1; }
.plansheetrow-sheet--mid { transform: rotate(0.5deg); z-index: 2; }
.plansheetrow-sheet--right { transform: rotate(-0.3deg); z-index: 3; }

.plansheetrow-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent #144520 transparent transparent;
}

.plansheetrow-mark {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #96B298;
  border: 1px solid #96B298;
  padding: 1px 6px;
  margin-bottom: 12px;
}

.plansheetrow-h3 {
  font-size: 21px;
  margin: 0 0 10px;
  color: #303C30;
}

.plansheetrow-h3 a {
  color: #144520;
  text-decoration: none;
}

.plansheetrow-h3 a:hover {
  text-decoration: underline;
}

.plansheetrow-p {
  font-size: 15px;
  color: #303C30;
  margin-bottom: 14px;
}

.plansheetrow-plan {
  height: 60px;
  border: 1px solid #303C30;
  background-color: #EEECD8;
  position: relative;
  margin-top: 8px;
}

.plansheetrow-plan::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 14px;
  width: 38%;
  height: 34px;
  border: 1px solid #5A675A;
}

.plansheetrow-plan::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60%;
  width: 1px;
  background-color: #5A675A;
}

/* ---- key tag band ---- */

.keytagband {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #202A20;
  padding: 30px 64px;
  border-top: 3px solid #144520;
  border-bottom: 3px solid #144520;
}

.keytagband-fob {
  flex: 0 0 auto;
}

.keytagband-ring {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 5px solid #BA6055;
  border-radius: 22px;
  padding: 8px 10px;
}

.keytagband-tag {
  display: block;
  width: 20px;
  height: 52px;
  background-color: #C2CEC6;
  border-radius: 0 0 8px 8px;
  position: relative;
}

.keytagband-tag::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 7px;
  width: 6px;
  height: 6px;
  border: 1px solid #202A20;
  border-radius: 50%;
}

.keytagband-tag--one { height: 44px; }
.keytagband-tag--two { height: 56px; }
.keytagband-tag--three {
  height: 50px;
  background-color: #144520;
  color: #EEECD8;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding-top: 20px;
}
.keytagband-tag--three::before {
  border-color: #C2CEC6;
}

.keytagband-note {
  color: #EEECD8;
  font-size: 18px;
  margin: 0;
  max-width: 640px;
}

/* ---- mailbox bank footer ---- */

.mailboxbank {
  background-color: #202A20;
  color: #EEECD8;
  padding: 0 64px 0;
}

.mailboxbank-row {
  display: flex;
  align-items: flex-end;
  gap: 0;
  border-bottom: 3px solid #303C30;
  padding-top: 34px;
}

.mailboxbank-box {
  position: relative;
  background-color: #C2CEC6;
  border: 3px solid #BA6055;
  border-bottom: none;
  height: 66px;
  margin-right: -3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
}

.mailboxbank-box--w1 { width: 15%; }
.mailboxbank-box--w2 { width: 22%; }
.mailboxbank-box--w3 { width: 12%; }
.mailboxbank-box--w4 { width: 19%; }
.mailboxbank-box--w5 { width: 16%; }

.mailboxbank-box--ajar {
  height: 72px;
  background-color: #96B298;
}

.mailboxbank-slot {
  display: block;
  height: 5px;
  width: 62%;
  background-color: #202A20;
}

.mailboxbank-key {
  display: block;
  width: 8px;
  height: 8px;
  border: 2px solid #202A20;
  border-radius: 50%;
  align-self: flex-end;
}

.mailboxbank-cols {
  display: flex;
  gap: 60px;
  padding: 40px 0 32px;
}

.mailboxbank-wide {
  width: 64%;
}

.mailboxbank-name {
  font-size: 22px;
  color: #EEECD8;
  margin: 0 0 12px;
  font-weight: 700;
}

.mailboxbank-blurb {
  color: #C2CEC6;
  max-width: 520px;
  margin-bottom: 18px;
}

.mailboxbank-line {
  color: #EEECD8;
  margin: 0 0 6px;
  font-size: 15px;
}

.mailboxbank-links {
  width: 36%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid #5A675A;
  padding-left: 40px;
}

.mailboxbank-links a {
  color: #C2CEC6;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  width: max-content;
}

.mailboxbank-links a:hover {
  color: #EEECD8;
  text-decoration: underline;
}

.mailboxbank-base {
  border-top: 1px solid #5A675A;
  padding: 16px 0 20px;
  color: #96B298;
  font-size: 13px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.mailboxbank-glyph {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 2px solid #96B298;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  top: 1px;
}

/* ---- reveal ---- */

.reveal {
  opacity: 1;
}

.reveal-ready {
  transform: translateY(16px);
}

.reveal-ready.is-on {
  transform: translateY(0);
  transition: transform 520ms ease;
}

/* ---- shared inner page head ---- */

.innerpage {
  padding: 64px;
  min-height: 100vh;
}

.innerpage-title {
  font-size: 46px;
  margin: 0 0 10px;
  color: #144520;
}

.innerpage-sub {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5A675A;
  margin-bottom: 30px;
}

.innerpage-lede {
  max-width: 780px;
  font-size: 17px;
  margin-bottom: 34px;
}

/* ---- services detail ---- */

.serviceblock {
  border-top: 2px solid #303C30;
  padding: 26px 0 22px;
  max-width: 860px;
}

.serviceblock-h3 {
  font-size: 26px;
  color: #144520;
  margin: 0 0 12px;
}

.serviceblock p {
  font-size: 16px;
  color: #303C30;
}

.processlist {
  max-width: 860px;
  background-color: #C2CEC6;
  border: 1px solid #5A675A;
  padding: 28px 30px;
  margin: 36px 0;
}

.processlist-h2 {
  font-size: 26px;
  color: #202A20;
  margin: 0 0 14px;
}

.processlist ol {
  margin: 0;
  padding-left: 22px;
  color: #303C30;
}

.processlist li {
  margin-bottom: 12px;
}

.ctaband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #144520;
  color: #EEECD8;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 20px 24px;
  max-width: 860px;
  margin-top: 10px;
}

.ctaband:hover {
  background-color: #0E3217;
}

/* ---- contact ---- */

.contactgrid {
  display: flex;
  gap: 50px;
  max-width: 1000px;
  margin-bottom: 34px;
}

.contactgrid-form {
  width: 58%;
}

.contactgrid-info {
  width: 42%;
  background-color: #C2CEC6;
  border: 1px solid #5A675A;
  padding: 26px 28px;
}

.contactgrid-label {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #202A20;
  margin: 0 0 6px;
}

.contactgrid-field {
  display: block;
  width: 100%;
  background-color: #EEECD8;
  border: 1px solid #303C30;
  color: #303C30;
  font-family: inherit;
  font-size: 16px;
  padding: 10px 12px;
  margin-bottom: 18px;
}

.contactgrid-submit {
  background-color: #144520;
  color: #EEECD8;
  border: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  padding: 16px 22px;
  width: 100%;
  cursor: pointer;
}

.contactgrid-submit:hover {
  background-color: #0E3217;
}

.contactgrid-status {
  margin-top: 12px;
  font-size: 14px;
  color: #144520;
}

.contactgrid-info h2 {
  font-size: 20px;
  margin: 0 0 14px;
  color: #202A20;
}

.contactgrid-info p {
  margin: 0 0 10px;
  font-size: 15px;
}

.faqblock {
  max-width: 860px;
  border-top: 2px solid #303C30;
  padding-top: 24px;
}

.faqblock h2 {
  font-size: 26px;
  color: #144520;
  margin: 0 0 16px;
}

.faqblock-item {
  border-bottom: 1px solid #5A675A;
  padding: 14px 0;
}

.faqblock-q {
  font-size: 17px;
  font-weight: 700;
  color: #303C30;
  margin: 0 0 6px;
}

.faqblock-a {
  margin: 0;
  color: #303C30;
}

/* ---- responsive ---- */

@media (max-width: 1040px) {
  .showflatwindow { flex-direction: column; }
  .showflatwindow-text { width: 100%; padding: 48px 40px; }
  .showflatwindow-window { width: 100%; min-height: 320px; }
  .plansheetrow-run { flex-wrap: wrap; }
  .plansheetrow-sheet { width: 48%; margin: 0 0 26px 0; }
  .mailboxbank-cols { flex-direction: column; gap: 30px; }
  .mailboxbank-wide,
  .mailboxbank-links { width: 100%; }
  .mailboxbank-links { border-left: none; padding-left: 0; }
  .contactgrid { flex-direction: column; }
  .contactgrid-form,
  .contactgrid-info { width: 100%; }
}

@media (max-width: 820px) {
  .floorindexnav {
    position: static;
    width: 100%;
    padding: 0;
  }
  .floorindexnav-stack {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 0;
  }
  .floorindexnav-tab {
    flex: 1 1 33%;
    height: auto;
    padding: 12px 10px;
    border-left: none;
    border-bottom: 3px solid #5A675A;
    transform: none;
  }
  .floorindexnav-tab.is-active {
    border-bottom-color: #EEECD8;
    transform: none;
  }
  .floorindexnav-tab:hover { transform: none; }
  .floorindexnav-brand {
    flex: 1 1 100%;
    margin-top: 0;
  }
  .floorindexnav-main { margin-left: 0; }
  .showflatwindow-title { font-size: 38px; }
  .showflatwindow-display { font-size: 78px; }
  .plansheetrow { padding: 48px 24px 54px; }
  .plansheetrow-run--two { padding-left: 12px; }
  .plansheetrow-sheet { width: 100%; }
  .keytagband { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .mailboxbank { padding: 0 24px; }
  .innerpage { padding: 40px 24px; }
  .innerpage-title { font-size: 34px; }
}
