/* Deswood Accounting LLC - ledger desk skeleton */

:root {
  --page-milk: #FAECE0;
  --night-ink: #1E223C;
  --ink-blue: #30365C;
  --seal-red: #CC5244;
  --entry-card: #FEF2F2;
  --figure-green: #3C8058;
  --rule-grey: #A4A092;
  --clip-silver: #8C8A7E;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.ledgerframe-top {
  background-color: #1E223C;
  padding: 0;
}

.ledgerframe-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ledgerframe-brand {
  color: #FAECE0;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ledgerframe-seal {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #CC5244;
  box-shadow: 0 0 0 2px #FAECE0 inset;
}

.ledgerframe-nav {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 0;
}

.ledgerframe-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #FEF2F2;
  color: #1E223C;
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-top: 1px solid #30365C;
  border-bottom: 3px double #30365C;
  min-width: 74px;
}

.ledgerframe-link::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 5px;
  background-color: #3C8058;
}

.ledgerframe-link:hover,
.ledgerframe-link:focus {
  background-color: #30365C;
  color: #FAECE0;
}

.ledgerframe-link:hover::before {
  background-color: #FAECE0;
}

.ledgerframe-toggle {
  display: none;
  margin-left: auto;
  background-color: #FEF2F2;
  color: #1E223C;
  border: 1px solid #30365C;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 1rem;
  padding: 6px 12px;
  cursor: pointer;
}

.deskbay {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}

.deskbay-left {
  padding-right: 8px;
}

.deskbay-eyebrow {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3C8058;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #A4A092;
}

.deskbay-headline {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  color: #1E223C;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.deskbay-headline .deskbay-display {
  display: block;
  font-style: italic;
  font-size: 1.32em;
  color: #30365C;
  letter-spacing: -0.02em;
}

.deskbay-lede {
  font-size: 1.05rem;
  color: #1E223C;
  margin: 0 0 26px;
  max-width: 44ch;
}

.deskbay-lede a {
  color: #30365C;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #A4A092;
  text-underline-offset: 3px;
}

.deskbay-lede a:hover {
  text-decoration-color: #30365C;
}

.deskbay-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background-color: #30365C;
  color: #FAECE0;
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 30px;
}

.deskbay-cta span.deskbay-arrow {
  font-size: 1.15rem;
}

.deskbay-cta:hover,
.deskbay-cta:focus {
  background-color: #1E223C;
  color: #FEF2F2;
}

/* Adding machine right column */
.deskbay-machine {
  background-color: #FEF2F2;
  border: 1px solid #30365C;
  border-bottom: 6px solid #30365C;
  padding: 0 0 18px;
  box-shadow: 10px 10px 0 #1E223C;
  max-width: 360px;
  justify-self: center;
  width: 100%;
}

.deskbay-roll {
  background-color: #FAECE0;
  border: 1px solid #A4A092;
  margin: 16px 16px 12px;
  padding: 14px 14px 10px;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  color: #1E223C;
  line-height: 1.9;
}

.deskbay-roll-line {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #A4A092;
  padding-bottom: 2px;
}

.deskbay-roll-line span:last-child {
  color: #3C8058;
  font-weight: bold;
}

.deskbay-roll-total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 2px solid #1E223C;
  font-weight: bold;
}

.deskbay-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px;
}

.deskbay-key {
  background-color: #30365C;
  color: #FAECE0;
  font-family: "Courier New", monospace;
  font-size: 0.92rem;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
  border: 1px solid #1E223C;
}

.deskbay-machine-bar {
  margin: 14px 16px 0;
  background-color: #CC5244;
  color: #FEF2F2;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 0;
}

.depositbay {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.depositbay-heading {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.9rem;
  color: #1E223C;
  margin: 0 0 8px;
}

.depositbay-subheading {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3C8058;
  margin: 0 0 30px;
}

.depositbay-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid #A4A092;
}

.depositbay-row:first-of-type {
  border-top: 1px solid #A4A092;
}

.depositbay-row h3 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.25rem;
  color: #1E223C;
  margin: 0 0 6px;
}

.depositbay-row h3 a {
  color: #1E223C;
  text-decoration: none;
  border-bottom: 1px solid #A4A092;
}

.depositbay-row h3 a:hover {
  color: #30365C;
  border-bottom-color: #30365C;
}

.depositbay-row p {
  margin: 0;
  color: #1E223C;
  font-size: 1rem;
  max-width: 72ch;
}

.depositbay-clip {
  width: 18px;
  height: 26px;
  border: 2px solid #8C8A7E;
  border-radius: 3px 3px 6px 6px;
  position: relative;
  margin-top: 4px;
}

.depositbay-clip::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -6px;
  width: 6px;
  height: 8px;
  border: 2px solid #8C8A7E;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.depositbay-stamp {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #CC5244;
  border: 1px solid #CC5244;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-9deg);
  align-self: center;
}

.depositbay-stamp-empty {
  width: 40px;
  height: 40px;
}

.figureband {
  background-color: #30365C;
  position: relative;
  padding: 56px 24px 48px;
}

.figureband-wave {
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background-color: #FAECE0;
  border-top: 3px solid #30365C;
  border-bottom: 1px dotted #A4A092;
}

.figureband-wave-outer {
  position: absolute;
  top: -26px;
  left: 0;
  right: 0;
  height: 26px;
  background-color: #FAECE0;
  border-bottom: 2px dotted #A4A092;
}

.figureband-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #FAECE0;
  font-size: 1.18rem;
  line-height: 1.7;
}

.figureband-text strong {
  color: #FAECE0;
  border-bottom: 2px solid #CC5244;
  padding-bottom: 2px;
}

.figurepanel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.figurepanel h2 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.75rem;
  color: #1E223C;
  margin: 0 0 16px;
}

.figurepanel p {
  color: #1E223C;
  margin: 0 0 16px;
}

.figurepanel-card {
  background-color: #FEF2F2;
  border-left: 4px solid #3C8058;
  padding: 24px 26px;
}

.figurepanel-card h3 {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3C8058;
  margin: 0 0 10px;
}

.figurepanel-card p {
  margin: 0;
  font-size: 0.98rem;
}

.waxstamp {
  background-color: #FAECE0;
  padding: 0 24px 48px;
}

.waxstamp-rule {
  max-width: 1100px;
  margin: 0 auto 40px;
  position: relative;
  border-top: 2px solid #1E223C;
  height: 1px;
}

.waxstamp-disc {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #CC5244;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E223C;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 0 0 3px #FAECE0, 0 0 0 4px #CC5244;
}

.waxstamp-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.waxstamp-links {
  margin: 0 0 28px;
  font-size: 0.95rem;
  color: #1E223C;
}

.waxstamp-links a {
  color: #30365C;
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.waxstamp-links a:hover {
  text-decoration: underline;
  text-decoration-color: #A4A092;
  text-underline-offset: 3px;
}

.waxstamp-dot {
  color: #A4A092;
  padding: 0 8px;
}

.waxstamp-brand {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.35rem;
  color: #1E223C;
  margin: 0 0 8px;
}

.waxstamp-blurb {
  color: #1E223C;
  font-size: 0.95rem;
  max-width: 60ch;
  margin: 0 auto 22px;
}

.waxstamp-baseline {
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  color: #1E223C;
  padding-top: 20px;
  border-top: 1px solid #A4A092;
  max-width: 900px;
  margin: 0 auto;
}

.waxstamp-baseline span {
  padding: 0 6px;
  color: #A4A092;
}

.waxstamp-pen {
  color: #3C8058;
  padding-right: 6px;
}

/* Services page */
.page-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.page-intro h1 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: #1E223C;
  margin: 0 0 18px;
  line-height: 1.16;
}

.page-intro .page-eyebrow {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3C8058;
  margin: 0 0 14px;
}

.page-intro p {
  font-size: 1.06rem;
  color: #1E223C;
  margin: 0 0 16px;
}

.service-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.service-detail-art {
  padding: 32px 0 8px;
  border-top: 1px solid #A4A092;
}

.service-detail-art h2 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.5rem;
  color: #1E223C;
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.service-detail-art h2 .service-index {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  color: #CC5244;
  font-weight: bold;
  letter-spacing: 0.1em;
  border: 1px solid #CC5244;
  padding: 2px 6px;
}

.service-detail-art p {
  color: #1E223C;
  margin: 0 0 14px;
  max-width: 74ch;
}

.process-run {
  background-color: #FEF2F2;
  border-top: 2px solid #30365C;
  border-bottom: 2px solid #30365C;
  margin-top: 48px;
  padding: 48px 24px;
}

.process-run-inner {
  max-width: 900px;
  margin: 0 auto;
}

.process-run h2 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.6rem;
  color: #1E223C;
  margin: 0 0 24px;
}

.process-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #A4A092;
}

.process-step:last-child {
  border-bottom: none;
}

.process-num {
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: #30365C;
  font-size: 1.1rem;
}

.process-step h3 {
  margin: 0 0 4px;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.1rem;
  color: #1E223C;
}

.process-step p {
  margin: 0;
  color: #1E223C;
  font-size: 0.97rem;
}

.cta-slab {
  max-width: 1100px;
  margin: 56px auto;
  padding: 0 24px;
}

.cta-slab-inner {
  background-color: #30365C;
  color: #FAECE0;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-slab-inner h2 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: #FAECE0;
}

.cta-slab-inner p {
  margin: 0;
  color: #FAECE0;
  font-size: 0.98rem;
}

.cta-slab-inner a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #FAECE0;
  color: #30365C;
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 26px;
  white-space: nowrap;
}

.cta-slab-inner a:hover {
  background-color: #FEF2F2;
  color: #1E223C;
}

/* Contact page */
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.contact-form h2,
.contact-info h2 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.5rem;
  color: #1E223C;
  margin: 0 0 18px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3C8058;
  margin-bottom: 6px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #1E223C;
  background-color: #FEF2F2;
  border: 1px solid #A4A092;
  border-left: 4px solid #30365C;
  padding: 11px 13px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid #30365C;
  outline-offset: 1px;
}

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

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: #30365C;
  color: #FAECE0;
  border: none;
  font-family: "Courier New", monospace;
  font-size: 0.92rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 30px;
  cursor: pointer;
}

.contact-submit:hover {
  background-color: #1E223C;
}

.contact-note {
  font-size: 0.88rem;
  color: #1E223C;
  margin-top: 14px;
}

.contact-status {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  color: #3C8058;
  font-weight: bold;
  margin-top: 12px;
  min-height: 20px;
}

.contact-block {
  background-color: #FEF2F2;
  border-top: 3px solid #30365C;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.contact-block h3 {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3C8058;
  margin: 0 0 10px;
}

.contact-block p {
  margin: 0 0 4px;
  color: #1E223C;
  font-size: 0.98rem;
}

.contact-block a {
  color: #30365C;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #A4A092;
  text-underline-offset: 3px;
}

.contact-block a:hover {
  text-decoration-color: #30365C;
}

.faq-run {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.faq-run h2 {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.6rem;
  color: #1E223C;
  margin: 0 0 20px;
  padding-top: 32px;
  border-top: 2px solid #1E223C;
}

.faq-item {
  border-bottom: 1px solid #A4A092;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 1.08rem;
  color: #1E223C;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle:hover {
  color: #30365C;
}

.faq-toggle .faq-mark {
  font-family: "Courier New", monospace;
  color: #CC5244;
  font-weight: bold;
  font-size: 1.2rem;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
}

.faq-panel p {
  margin: 0 0 20px;
  color: #1E223C;
  max-width: 80ch;
}

.faq-item.is-open .faq-panel {
  max-height: 320px;
}

/* Scroll reveal */
.reveal {
  visibility: hidden;
  transform: translateY(18px);
  transition: transform 0.6s ease;
}

.reveal.is-revealed,
.reveal.is-revealed-fast {
  visibility: visible;
  transform: translateY(0);
}

.reveal.is-revealed-fast {
  transition: none;
}

.no-js .reveal {
  visibility: visible;
  transform: none;
}

@media (max-width: 860px) {
  .ledgerframe-inner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .ledgerframe-nav {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    gap: 6px;
  }
  .ledgerframe-toggle {
    display: inline-block;
  }
  .ledgerframe-nav {
    display: none;
  }
  .ledgerframe-nav.is-open {
    display: flex;
  }
  .deskbay {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 44px;
  }
  .deskbay-machine {
    box-shadow: 6px 6px 0 #1E223C;
  }
  .figurepanel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-slab-inner {
    grid-template-columns: 1fr;
    padding: 32px 26px;
  }
  .depositbay-row {
    grid-template-columns: 32px 1fr;
  }
  .depositbay-stamp,
  .depositbay-stamp-empty {
    display: none;
  }
}
