/* ============================================================
   Sad Ghost Ink Inc. — site stylesheet
   Light theme: mist-bone + ghost-violet + spook-cyan
   ============================================================ */

:root {
  --mist: #F2F0EA;
  --ink: #1D1B22;
  --ink-black: #15131A;
  --violet: #6C5B9E;
  --cyan: #3E8FA8;
  --smoke: #6E6A76;
  --white: #FFFFFF;
  --spectre: #E7E4EE;
  --hairline: #C9C3D6;
  --violet-light: #E4E0F0;
  --footer-text: #A9A5B2;
  --footer-rule: #2A2731;
  --footer-legal: #8A8694;
}

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

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #F2F0EA;
  color: #1D1B22;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: #6C5B9E;
}

h1, h2, h3, h4 {
  color: #15131A;
  line-height: 1.2;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Scroll reveal (safe without JS)
   ============================================================ */

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

.js .fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .js .fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
}

/* ============================================================
   Two-row navigation
   ============================================================ */

.two-row-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #FFFFFF;
  padding: 16px 40px;
}

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

.wordmark {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.16em;
  color: #15131A;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-btn {
  display: inline-block;
  background: #6C5B9E;
  color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 12px 22px;
}

.cta-btn:hover {
  background: #5A4C86;
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #6C5B9E;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #15131A;
  margin: 4px 0;
}

/* Ghost glyph (CSS sheet-fed ghost) */
.ghost-glyph {
  --glyph-color: #6C5B9E;
  --glyph-eye: #F2F0EA;
  position: relative;
  width: 26px;
  height: 30px;
  background: var(--glyph-color);
  border-radius: 14px 14px 4px 4px;
  flex: 0 0 auto;
}

.ghost-glyph::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 12px;
  background: radial-gradient(circle at 6px 0, var(--glyph-color) 5px, transparent 6px);
  background-size: 12px 12px;
  background-repeat: repeat-x;
}

.ghost-glyph .glyph-eye {
  position: absolute;
  top: 11px;
  width: 5px;
  height: 6px;
  border-radius: 50%;
  background: var(--glyph-eye);
}

.ghost-glyph .glyph-eye.left {
  left: 6px;
}

.ghost-glyph .glyph-eye.right {
  right: 6px;
}

/* Second-row link bar */
.link-bar {
  background: #E7E4EE;
}

.link-bar ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 40px;
  list-style: none;
}

.link-bar a {
  display: inline-block;
  color: #1D1B22;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 13px 4px 11px;
}

.link-bar a:hover,
.link-bar a.is-current {
  color: #6C5B9E;
  box-shadow: inset 0 -3px 0 #6C5B9E;
}

.reg-dot {
  width: 5px;
  height: 5px;
  background: #3E8FA8;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* ============================================================
   Mirror hero
   ============================================================ */

.mirror-hero {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 0;
}

.ghost-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  background: #FFFFFF;
  border-right: 1px solid #E7E4EE;
  padding: 48px 32px;
}

.reg-cross {
  position: absolute;
  width: 24px;
  height: 24px;
}

.reg-cross::before,
.reg-cross::after {
  content: "";
  position: absolute;
  background: #3E8FA8;
}

.reg-cross::before {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}

.reg-cross::after {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.reg-cross .ring {
  position: absolute;
  inset: 4px;
  border: 1.5px solid #3E8FA8;
  border-radius: 50%;
}

.reg-cross.tl {
  top: 14px;
  left: 14px;
}

.reg-cross.tr {
  top: 14px;
  right: 14px;
}

.reg-cross.bl {
  bottom: 14px;
  left: 14px;
}

.reg-cross.br {
  bottom: 14px;
  right: 14px;
}

.ghost-scene {
  position: relative;
  width: 300px;
  height: 340px;
}

.sheet-ghost {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 168px;
  height: 208px;
  background: #6C5B9E;
  border-radius: 84px 84px 14px 14px;
}

.sheet-ghost::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 16px;
  background: radial-gradient(circle at 12px 0, #6C5B9E 11px, transparent 12px);
  background-size: 24px 16px;
  background-repeat: repeat-x;
}

.sheet-ghost .eye {
  position: absolute;
  top: 78px;
  width: 16px;
  height: 22px;
  border-radius: 50%;
  background: #F2F0EA;
}

.sheet-ghost .eye.left {
  left: 46px;
}

.sheet-ghost .eye.right {
  right: 46px;
}

.sheet-ghost .mouth {
  position: absolute;
  top: 132px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  border-radius: 0 0 12px 12px;
  background: #3E8FA8;
}

.paper-sheet {
  position: absolute;
  width: 92px;
  height: 122px;
  background: #FFFFFF;
  border: 1px solid #E7E4EE;
  box-shadow: 2px 3px 0 #C9C3D6;
}

.paper-sheet::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent #C9C3D6 #C9C3D6 transparent;
}

.paper-sheet.one {
  left: 26px;
  bottom: 56px;
  transform: rotate(-6deg);
}

.paper-sheet.two {
  right: 26px;
  bottom: 44px;
  transform: rotate(5deg);
}

.ghost-shadow {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 224px;
  height: 7px;
  border-radius: 50%;
  background: #C9C3D6;
}

.hero-copy {
  background: #F2F0EA;
  padding: 72px 56px 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #6C5B9E;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #3E8FA8;
  border-radius: 50%;
  flex: 0 0 auto;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: 54px;
  font-weight: 700;
  color: #15131A;
}

.hero-copy h1 .accent {
  color: #6C5B9E;
}

.hero-lead {
  margin: 0 0 30px;
  font-size: 18px;
  color: #6E6A76;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.cta-primary {
  display: inline-block;
  background: #6C5B9E;
  color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 16px 30px;
}

.cta-primary:hover {
  background: #5A4C86;
  color: #FFFFFF;
}

.cta-outline {
  display: inline-block;
  background: transparent;
  color: #15131A;
  border: 2px solid #15131A;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 14px 30px;
}

.cta-outline:hover {
  border-color: #6C5B9E;
  color: #6C5B9E;
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #33303B;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.stat strong {
  color: #15131A;
  font-size: 20px;
  font-weight: 700;
}

.stat .tick {
  width: 8px;
  height: 8px;
  background: #3E8FA8;
  flex: 0 0 auto;
}

/* ============================================================
   Shared section helpers
   ============================================================ */

.section-eyebrow {
  margin: 0 0 10px;
  color: #6C5B9E;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-intro {
  margin: 0 0 40px;
  max-width: 760px;
  font-size: 18px;
  color: #6E6A76;
}

/* ============================================================
   Proof-to-press rail
   ============================================================ */

.proof-rail {
  background: #FFFFFF;
  padding: 88px 0 96px;
}

.proof-rail h2 {
  margin: 0 0 16px;
  font-size: 38px;
}

.rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  margin-top: 52px;
}

.rail::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: #6C5B9E;
}

.rail-node {
  position: relative;
  padding-top: 46px;
}

.rail-node .node-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: #3E8FA8;
}

.rail-node h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #15131A;
}

.rail-node p {
  margin: 0;
  color: #1D1B22;
  font-size: 16px;
}

/* ============================================================
   Swatch proof strip
   ============================================================ */

.swatch-strip {
  background: #E7E4EE;
  padding: 76px 0;
}

.swatch-strip h2 {
  margin: 0 0 16px;
  font-size: 34px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 44px 0 0;
}

.swatch {
  width: 108px;
}

.swatch .tile {
  display: block;
  height: 72px;
  border: 1px solid #C9C3D6;
}

.swatch .tile.violet {
  background: #6C5B9E;
}

.swatch .tile.cyan {
  background: #3E8FA8;
}

.swatch .tile.ink {
  background: #15131A;
}

.swatch .tile.grey {
  background: #6E6A76;
}

.swatch .tile.metallic,
.swatch .tile.glow {
  background: #FFFFFF;
}

.swatch .label {
  display: block;
  margin-top: 12px;
  color: #33303B;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.swatch-note {
  margin: 36px 0 0;
  max-width: 820px;
  color: #33303B;
  font-size: 16px;
}

/* ============================================================
   Metric band
   ============================================================ */

.metric-band {
  background: #6C5B9E;
  padding: 72px 0;
}

.metric-eyebrow {
  margin: 0 0 36px;
  color: #E4E0F0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.metric-intro {
  margin: -18px 0 36px;
  color: #E4E0F0;
  font-size: 16px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid #E4E0F0;
}

.metric:last-child {
  border-right: none;
}

.metric .num {
  display: block;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}

.metric .label {
  display: block;
  margin-top: 10px;
  color: #E4E0F0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   Statement band
   ============================================================ */

.statement-band {
  position: relative;
  background: #F2F0EA;
  padding: 96px 0;
}

.statement {
  position: relative;
  margin: 0;
  padding-left: 30px;
  border-left: 10px solid #6C5B9E;
  max-width: 900px;
  font-size: 30px;
  line-height: 1.4;
  color: #15131A;
}

.statement-band .reg-cross.end {
  position: absolute;
  right: 40px;
  bottom: 40px;
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  background: #FFFFFF;
  padding: 96px 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 18px;
  font-size: 42px;
  color: #15131A;
}

.cta-band p {
  margin: 0 auto 34px;
  max-width: 720px;
  color: #6E6A76;
  font-size: 18px;
}

/* ============================================================
   Four-column footer
   ============================================================ */

.four-col-footer {
  background: #15131A;
  color: #A9A5B2;
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #2A2731;
  padding-bottom: 44px;
}

.footer-col {
  padding: 0 32px;
  border-right: 1px solid #2A2731;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
  border-right: none;
}

.footer-col.brand {
  padding-right: 32px;
}

.footer-ghost {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-ghost .ghost-glyph {
  --glyph-color: #FFFFFF;
  --glyph-eye: #15131A;
}

.footer-ghost .wordmark {
  color: #FFFFFF;
  font-size: 19px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col p {
  margin: 0;
  font-size: 15px;
  color: #A9A5B2;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 15px;
}

.footer-col a:hover {
  color: #6C5B9E;
}

.footer-col address {
  margin: 8px 0 0;
  font-style: normal;
  font-size: 15px;
  color: #A9A5B2;
}

.footer-legal {
  padding-top: 26px;
  text-align: center;
  color: #8A8694;
  font-size: 14px;
}

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

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

.legal-sep {
  margin: 0 10px;
  color: #8A8694;
}

/* ============================================================
   Secondary pages (services, contact)
   ============================================================ */

.page-hero {
  background: #F2F0EA;
  padding: 72px 0 56px;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: 44px;
  color: #15131A;
}

.page-hero .hero-lead {
  margin: 0;
  font-size: 18px;
  color: #6E6A76;
  max-width: 800px;
}

/* Services page */
.service-list {
  background: #FFFFFF;
  padding: 72px 0 84px;
}

.service-item {
  border-top: 1px solid #E7E4EE;
  padding: 34px 0;
}

.service-item h2 {
  margin: 0 0 14px;
  font-size: 30px;
  color: #15131A;
}

.service-item p {
  margin: 0 0 14px;
  max-width: 860px;
  color: #1D1B22;
  font-size: 16px;
}

.service-item p:last-child {
  margin-bottom: 0;
}

.process-band {
  background: #E7E4EE;
  padding: 76px 0;
}

.process-band h2 {
  margin: 0 0 16px;
  font-size: 34px;
}

.process-steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-step {
  position: relative;
  border-top: 1px solid #C9C3D6;
  padding: 26px 0 26px 110px;
}

.step-num {
  position: absolute;
  top: 22px;
  left: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #6C5B9E;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #15131A;
}

.process-step p {
  margin: 0;
  max-width: 820px;
  color: #33303B;
  font-size: 16px;
}

/* Contact page */
.contact-grid {
  background: #FFFFFF;
  padding: 72px 0 84px;
}

.contact-grid .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
}

.contact-form-col h2,
.contact-info-col h2 {
  margin: 0 0 24px;
  font-size: 30px;
  color: #15131A;
}

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

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #15131A;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #C9C3D6;
  border-radius: 0;
  background: #F2F0EA;
  color: #1D1B22;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #6C5B9E;
  border-color: #6C5B9E;
}

.contact-form .cta-primary {
  border: none;
  cursor: pointer;
}

.form-note {
  margin: 18px 0 0;
  color: #6C5B9E;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.info-block {
  border-bottom: 1px solid #E7E4EE;
  padding: 18px 0;
}

.info-block h3 {
  margin: 0 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6C5B9E;
}

.info-block address,
.info-block p {
  margin: 0;
  font-style: normal;
  color: #1D1B22;
  font-size: 16px;
}

.info-block p + p {
  margin-top: 8px;
}

.info-note {
  margin: 22px 0 0;
  color: #6E6A76;
  font-size: 15px;
}

/* FAQ band */
.faq-band {
  background: #F2F0EA;
  padding: 72px 0 84px;
}

.faq-band h2 {
  margin: 0 0 30px;
  font-size: 34px;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 4px;
  font-size: 19px;
  font-weight: 700;
  color: #15131A;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
}

.faq-question::after {
  content: "+";
  float: right;
  color: #6C5B9E;
  font-weight: 700;
  font-size: 22px;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  margin: 0;
  padding: 0 4px 22px;
  color: #33303B;
  font-size: 16px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 920px) {
  .mirror-hero {
    grid-template-columns: 1fr;
  }

  .ghost-panel {
    border-right: none;
    border-bottom: 1px solid #E7E4EE;
    min-height: 460px;
  }

  .hero-copy {
    padding: 52px 32px 56px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

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

  .metric:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }

  .footer-col {
    padding: 0 24px;
    border-right: 1px solid #2A2731;
  }

  .footer-col:nth-child(2) {
    border-right: none;
  }

  .contact-grid .container {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 720px) {
  .utility-bar {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .utility-bar .cta-btn {
    display: none;
  }

  .link-bar ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px 16px;
    display: none;
  }

  .link-bar.open ul {
    display: flex;
  }

  .link-bar a {
    padding: 10px 0;
    width: 100%;
  }

  .link-bar .reg-dot {
    display: none;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

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

  .statement {
    font-size: 23px;
  }

  .cta-band h2 {
    font-size: 32px;
  }

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

  .metric {
    border-right: none;
  }

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

  .footer-col {
    border-right: none;
    padding: 0;
  }

  .swatches {
    gap: 20px;
  }
}
