/* ==========================================================================
   QuestMore — pen plotter studio theme
   Palette: chart paper, ink slate, plot azure, deep bed, carriage cream
   ========================================================================== */

:root {
  --chart-paper: #F4F2E8;
  --ink-slate: #26303A;
  --plot-azure: #2B6CB8;
  --deep-bed: #1E2830;
  --carriage-cream: #FAF7EE;
  --grid-line: #D9D6C8;
  --rivet-slate: #4E5A66;
  --pen-azure: #2B6CB8;
  --pen-olive: #66724A;
  --pen-ochre: #B8862E;
  --pen-plum: #7A4E5E;
  --pen-slate: #4E5A66;
  --shell-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.7;
  color: var(--ink-slate);
  background-color: var(--chart-paper);
  overflow-x: hidden;
}

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

a {
  color: var(--plot-azure);
}

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- scroll reveal (safe without JS) ---------- */
.js .revealable {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms ease-out, transform 640ms ease-out;
}

.js .revealable.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   NAVIGATION — pen rail head
   ========================================================================== */

.penrail {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--ink-slate);
  border-bottom: 3px solid var(--deep-bed);
}

.penrail-rail {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 18px;
  position: relative;
}

.penrail-rail::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  height: 3px;
  background-color: var(--carriage-cream);
  z-index: 0;
  pointer-events: none;
}

.penrail-brandplate {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background-color: var(--carriage-cream);
  color: var(--ink-slate);
  border: 2px solid var(--rivet-slate);
  border-top: none;
}

.penrail-brandplate .gantry-glyph {
  width: 26px;
  height: 26px;
  position: relative;
  flex: 0 0 auto;
}

.gantry-glyph::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 3px;
  background-color: var(--plot-azure);
}

.gantry-glyph::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 2px;
  width: 3px;
  background-color: var(--plot-azure);
  box-shadow: 15px 0 0 0 var(--plot-azure), 7px 14px 0 0 var(--plot-azure);
}

.penrail-brandtext {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.penrail-carriages {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  padding: 6px 0;
}

.pen-carriage {
  display: block;
  text-decoration: none;
  background-color: var(--carriage-cream);
  color: var(--ink-slate);
  border: 2px solid var(--rivet-slate);
  border-radius: 3px;
  padding: 22px 12px 8px;
  min-width: 76px;
  text-align: center;
  position: relative;
  transition: transform 200ms ease-out, background-color 200ms ease-out;
}

.pen-carriage .pen-cap {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--rivet-slate);
  border-top: none;
}

.pen-carriage .pen-station {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--rivet-slate);
}

.pen-carriage .pen-label {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.pen-carriage:hover,
.pen-carriage:focus {
  transform: translateY(-4px);
  background-color: #FFFFFF;
}

.cap-azure .pen-cap { background-color: var(--pen-azure); height: 14px; }
.cap-olive .pen-cap { background-color: var(--pen-olive); height: 20px; }
.cap-ochre .pen-cap { background-color: var(--pen-ochre); height: 17px; }
.cap-plum .pen-cap  { background-color: var(--pen-plum); height: 23px; }
.cap-slate .pen-cap { background-color: var(--pen-slate); height: 12px; }

.penrail-navtoggle {
  display: none;
  position: relative;
  z-index: 3;
  margin: 12px 24px 12px auto;
  background-color: var(--carriage-cream);
  color: var(--ink-slate);
  border: 2px solid var(--rivet-slate);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 16px;
  cursor: pointer;
}

/* ==========================================================================
   HERO — plot bed scene
   ========================================================================== */

.plotbed {
  background-color: var(--chart-paper);
}

.plotbed-bed {
  background-color: var(--deep-bed);
  background-image:
    linear-gradient(to right, var(--rivet-slate) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rivet-slate) 1px, transparent 1px);
  background-size: 46px 46px;
  padding: 0 0 46px;
  position: relative;
  overflow-x: hidden;
}

.gantrybar {
  height: 18px;
  background-color: var(--carriage-cream);
  border-bottom: 4px solid var(--plot-azure);
  position: relative;
}

.gantrybar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  left: 0;
  background-color: var(--grid-line);
}

.gantrybar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  right: 0;
  background-color: var(--grid-line);
}

.gantryhead {
  position: absolute;
  top: 18px;
  left: 46%;
  width: 26px;
  height: 40px;
  background-color: var(--plot-azure);
  border: 3px solid var(--carriage-cream);
  border-top: none;
  z-index: 3;
}

.gantryhead::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 4px;
  height: 12px;
  background-color: var(--carriage-cream);
}

.plotbed-inner {
  display: flex;
  gap: 26px;
  align-items: stretch;
  padding-top: 70px;
}

.plotbed-sheet {
  flex: 1 1 auto;
  padding: 22px 8px 4px;
}

.plot-line {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--carriage-cream);
  font-size: 52px;
  font-weight: 700;
}

.plot-line-two {
  color: var(--carriage-cream);
}

.plot-line-incomplete {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.plot-dash {
  display: inline-block;
  width: 190px;
  height: 7px;
  background-image: linear-gradient(to right, var(--plot-azure) 0 16px, transparent 16px 30px);
  background-size: 30px 100%;
  background-repeat: repeat-x;
  border-bottom: none;
  margin-top: 12px;
}

.plot-lede {
  margin: 20px 0 0;
  max-width: 720px;
  color: var(--grid-line);
  font-size: 17px;
  line-height: 1.75;
}

.plotbed-ctas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-plotted {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  padding: 14px 24px;
  border: 3px solid var(--plot-azure);
  background-color: var(--plot-azure);
  color: var(--carriage-cream);
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.btn-plotted:hover,
.btn-plotted:focus {
  background-color: var(--carriage-cream);
  color: var(--deep-bed);
  border-color: var(--carriage-cream);
}

.btn-plotted-outline {
  background-color: transparent;
  color: var(--carriage-cream);
  border-color: var(--carriage-cream);
}

.btn-plotted-outline:hover,
.btn-plotted-outline:focus {
  background-color: var(--carriage-cream);
  color: var(--deep-bed);
}

.pen-glyph {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--plot-azure);
  border: 2px solid var(--carriage-cream);
}

.btn-plotted-outline .pen-glyph {
  background-color: var(--pen-ochre);
}

.cartridge-rack {
  flex: 0 0 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 34px;
}

.cartridge {
  width: 42px;
  height: 74px;
  border: 3px solid var(--carriage-cream);
  border-radius: 0 0 6px 6px;
  margin-left: 8px;
}

.cartridge-azure { background-color: var(--pen-azure); margin-top: 0; }
.cartridge-olive { background-color: var(--pen-olive); margin-top: 22px; }
.cartridge-ochre { background-color: var(--pen-ochre); margin-top: 44px; }
.cartridge-plum  { background-color: var(--pen-plum); margin-top: 66px; }

.plotbed-plinth {
  background-color: var(--carriage-cream);
  border-top: 4px solid var(--plot-azure);
  padding: 30px 0 34px;
}

.plotbed-plinth p {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-size: 18px;
  color: var(--ink-slate);
}

.plotbed-plinth strong {
  color: var(--plot-azure);
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.section {
  padding: 62px 0;
}

.section-cream {
  background-color: var(--carriage-cream);
}

.section-bed {
  background-color: var(--deep-bed);
  color: var(--carriage-cream);
}

.section-title {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin: 0 0 8px;
  color: var(--ink-slate);
}

.section-bed .section-title {
  color: var(--carriage-cream);
}

.section-kicker {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--plot-azure);
  margin: 0 0 10px;
}

.section-bed .section-kicker {
  color: var(--grid-line);
}

.section-intro {
  max-width: 820px;
  margin: 0 0 34px;
  font-size: 17px;
}

.section-bed .section-intro {
  color: var(--grid-line);
}

.prose-block p {
  margin: 0 0 18px;
  font-size: 17px;
}

.prose-block a {
  color: var(--plot-azure);
  font-weight: 700;
}

.section-bed .prose-block a {
  color: var(--carriage-cream);
}

/* ==========================================================================
   PROGRAM SHEET STACK
   ========================================================================== */

.progsheet-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 8px 0 4px;
}

.progsheet {
  background-color: var(--carriage-cream);
  color: var(--ink-slate);
  border: 2px solid var(--rivet-slate);
  padding: 46px 30px 26px;
  position: relative;
  box-shadow: 6px 6px 0 0 var(--grid-line);
}

.progsheet::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 14px;
  background-image: radial-gradient(circle, var(--rivet-slate) 3px, transparent 3.5px);
  background-size: 26px 14px;
  background-repeat: repeat-x;
  background-position: 13px 0;
}

.progsheet-w92 { width: 92%; margin-left: 0; }
.progsheet-w86 { width: 86%; margin-left: 14%; }
.progsheet-w90 { width: 90%; margin-left: 0; }
.progsheet-w84 { width: 84%; margin-left: 16%; }
.progsheet-w94 { width: 94%; margin-left: 0; }
.progsheet-w88 { width: 88%; margin-left: 12%; }

.progsheet-inverted {
  background-color: var(--ink-slate);
  color: var(--carriage-cream);
  border-color: var(--deep-bed);
  box-shadow: 6px 6px 0 0 var(--deep-bed);
}

.progsheet-inverted::before {
  background-image: radial-gradient(circle, var(--carriage-cream) 3px, transparent 3.5px);
}

.progsheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.progsheet h3 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink-slate);
}

.progsheet-inverted h3 {
  color: var(--carriage-cream);
}

.progsheet p {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
}

.progsheet a {
  color: var(--plot-azure);
  font-weight: 700;
}

.progsheet-inverted a {
  color: var(--carriage-cream);
}

.progsheet-ptag {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--rivet-slate);
}

.progsheet-inverted .progsheet-ptag {
  color: var(--grid-line);
}

.plotted-glyph {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  position: relative;
}

.glyph-saw::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 4px;
  background-color: var(--plot-azure);
  clip-path: polygon(0 60%, 12% 0, 24% 60%, 36% 0, 48% 60%, 60% 0, 72% 60%, 84% 0, 100% 60%, 100% 100%, 0 100%);
}

.glyph-nodetree::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 40px;
  height: 3px;
  background-color: var(--plot-azure);
  box-shadow: 0 22px 0 0 var(--plot-azure), 0 44px 0 0 var(--plot-azure);
}

.glyph-nodetree::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 4px;
  width: 3px;
  height: 44px;
  background-color: var(--plot-azure);
}

.glyph-valve::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--plot-azure);
  border-radius: 50%;
}

.glyph-valve::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 26px;
  width: 26px;
  height: 4px;
  background-color: var(--plot-azure);
  transform: rotate(28deg);
  transform-origin: left center;
}

.glyph-gauge::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 44px;
  height: 44px;
  border: 4px solid var(--plot-azure);
  border-radius: 50%;
  border-bottom-color: transparent;
}

.glyph-gauge::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 28px;
  width: 20px;
  height: 4px;
  background-color: var(--plot-azure);
  transform: rotate(-52deg);
  transform-origin: left center;
}

.glyph-swap::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 48px;
  height: 4px;
  background-color: var(--plot-azure);
}

.glyph-swap::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 34px;
  width: 48px;
  height: 4px;
  background-color: var(--plot-azure);
  box-shadow: 4px -8px 0 -1px var(--plot-azure);
}

.glyph-check::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  width: 20px;
  height: 5px;
  background-color: var(--plot-azure);
}

.glyph-check::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 14px;
  width: 30px;
  height: 5px;
  background-color: var(--plot-azure);
  transform: rotate(-58deg);
  transform-origin: left center;
}

.progsheet-inverted .glyph-saw::before,
.progsheet-inverted .glyph-nodetree::before,
.progsheet-inverted .glyph-nodetree::after,
.progsheet-inverted .glyph-valve::after,
.progsheet-inverted .glyph-gauge::after,
.progsheet-inverted .glyph-swap::before,
.progsheet-inverted .glyph-swap::after,
.progsheet-inverted .glyph-check::after {
  background-color: var(--carriage-cream);
}

.progsheet-inverted .glyph-valve::before,
.progsheet-inverted .glyph-check::before {
  background-color: transparent;
  border-color: var(--carriage-cream);
}

.progsheet-inverted .glyph-gauge::before {
  background-color: transparent;
  border-color: var(--carriage-cream);
  border-bottom-color: transparent;
}

/* ==========================================================================
   ACCENT — pen cap tick strip
   ========================================================================== */

.pencapstrip {
  background-color: var(--ink-slate);
  border-top: 4px solid var(--deep-bed);
  border-bottom: 4px solid var(--deep-bed);
}

.pencapstrip-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.pencap-rack {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.pencap {
  width: 14px;
  border: 2px solid var(--carriage-cream);
}

.pencap-a { height: 22px; background-color: var(--pen-azure); }
.pencap-b { height: 32px; background-color: var(--pen-olive); }
.pencap-c { height: 26px; background-color: var(--pen-ochre); }
.pencap-d { height: 38px; background-color: var(--pen-plum); }
.pencap-e { height: 18px; background-color: var(--pen-slate); }

.pencapstrip-text {
  color: var(--carriage-cream);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 15px;
  letter-spacing: 0.4px;
  margin: 0;
}

.pencapstrip-text a {
  color: var(--carriage-cream);
  font-weight: 700;
}

/* ==========================================================================
   FOOTER — plotter base
   ========================================================================== */

.plotbase {
  background-color: var(--deep-bed);
  color: var(--carriage-cream);
}

.plotbase-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 40px 24px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.plotbase-hatch {
  flex: 0 0 96px;
  height: 96px;
  border: 3px solid var(--carriage-cream);
  position: relative;
  background-image:
    linear-gradient(to right, var(--rivet-slate) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rivet-slate) 1px, transparent 1px);
  background-size: 16px 16px;
}

.plotbase-hatch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 3px solid var(--plot-azure);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.plotbase-brand {
  flex: 1 1 auto;
}

.plotbase-brand .plotbase-name {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin: 0 0 8px;
  color: var(--carriage-cream);
}

.plotbase-brand p {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  color: var(--grid-line);
}

.plotbase-cable {
  flex: 0 0 120px;
  height: 6px;
  background-image: linear-gradient(to right, var(--rivet-slate) 0 10px, transparent 10px 18px);
  background-size: 18px 100%;
  background-repeat: repeat-x;
  align-self: center;
}

.plotbase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.plotbase-chip {
  display: inline-block;
  text-decoration: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--ink-slate);
  background-color: var(--carriage-cream);
  border: 2px solid var(--rivet-slate);
  padding: 7px 14px;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.plotbase-chip:hover,
.plotbase-chip:focus {
  background-color: var(--plot-azure);
  color: var(--carriage-cream);
}

.plotbase-plinth {
  background-color: var(--ink-slate);
  border-top: 3px solid var(--deep-bed);
}

.plotbase-plinth-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 18px 24px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  font-size: 14px;
  color: var(--grid-line);
}

.plotbase-plinth-inner a {
  color: var(--carriage-cream);
}

.plotbase-glyph {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--pen-ochre);
  border: 2px solid var(--carriage-cream);
  margin-right: 6px;
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */

.pagehead {
  background-color: var(--deep-bed);
  background-image:
    linear-gradient(to right, var(--rivet-slate) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rivet-slate) 1px, transparent 1px);
  background-size: 46px 46px;
  color: var(--carriage-cream);
  padding: 54px 0 48px;
}

.pagehead h1 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 40px;
  margin: 0 0 12px;
  color: var(--carriage-cream);
  letter-spacing: 0.4px;
}

.pagehead p {
  margin: 0;
  max-width: 780px;
  font-size: 17px;
  color: var(--grid-line);
}

.svc-detail {
  background-color: var(--carriage-cream);
  border: 2px solid var(--rivet-slate);
  padding: 32px 30px;
  margin: 0 0 26px;
  box-shadow: 6px 6px 0 0 var(--grid-line);
}

.svc-detail h2 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--ink-slate);
}

.svc-detail p {
  margin: 0 0 14px;
  font-size: 16px;
}

.svc-detail p:last-child {
  margin-bottom: 0;
}

.svc-tag {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--plot-azure);
}

.steprow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}

.stepcard {
  flex: 1 1 220px;
  background-color: var(--carriage-cream);
  border: 2px solid var(--rivet-slate);
  border-top: 5px solid var(--plot-azure);
  padding: 22px 20px;
}

.stepcard h3 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--ink-slate);
}

.stepcard p {
  margin: 0;
  font-size: 15px;
}

.cta-panel {
  background-color: var(--plot-azure);
  color: var(--carriage-cream);
  padding: 40px 0;
}

.cta-panel-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-panel h2 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--carriage-cream);
}

.cta-panel p {
  margin: 0;
  max-width: 620px;
  color: var(--carriage-cream);
}

.cta-panel .btn-plotted {
  background-color: var(--carriage-cream);
  color: var(--deep-bed);
  border-color: var(--carriage-cream);
}

.cta-panel .btn-plotted:hover,
.cta-panel .btn-plotted:focus {
  background-color: var(--deep-bed);
  color: var(--carriage-cream);
  border-color: var(--deep-bed);
}

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

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-form-wrap {
  flex: 1 1 420px;
  background-color: var(--carriage-cream);
  border: 2px solid var(--rivet-slate);
  box-shadow: 6px 6px 0 0 var(--grid-line);
  padding: 30px 28px;
}

.contact-form-wrap h2 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--ink-slate);
}

.field-row {
  margin-bottom: 16px;
}

.field-row label {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  color: var(--ink-slate);
}

.field-row input,
.field-row textarea {
  width: 100%;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
  color: var(--ink-slate);
  background-color: #FFFFFF;
  border: 2px solid var(--rivet-slate);
  padding: 10px 12px;
}

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

.field-row input:focus,
.field-row textarea:focus {
  outline: 3px solid var(--plot-azure);
  outline-offset: 1px;
}

.form-note {
  font-size: 13px;
  color: var(--rivet-slate);
  margin: 12px 0 0;
}

.contact-info {
  flex: 1 1 320px;
}

.info-card {
  background-color: var(--deep-bed);
  color: var(--carriage-cream);
  border: 2px solid var(--rivet-slate);
  padding: 24px 22px;
  margin-bottom: 18px;
}

.info-card h3 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--carriage-cream);
}

.info-card p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--grid-line);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card a {
  color: var(--carriage-cream);
}

.faq-item {
  background-color: var(--carriage-cream);
  border: 2px solid var(--rivet-slate);
  margin-bottom: 16px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: var(--carriage-cream);
  border: none;
  border-left: 6px solid var(--plot-azure);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-slate);
  padding: 16px 18px;
  cursor: pointer;
}

.faq-question:hover,
.faq-question:focus {
  background-color: #FFFFFF;
}

.faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease-out;
}

.faq-item.is-open .faq-answer {
  max-height: 420px;
  padding: 14px 18px 18px;
}

.faq-answer p {
  margin: 0;
  font-size: 15px;
}

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

@media (max-width: 960px) {
  .plot-line {
    font-size: 40px;
  }
  .plotbed-inner {
    flex-direction: column;
  }
  .cartridge-rack {
    flex-direction: row;
    padding-top: 20px;
  }
  .cartridge {
    margin-left: 0;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .penrail-rail {
    flex-wrap: wrap;
    padding-bottom: 14px;
  }
  .penrail-railtoggle {
    display: inline-block;
  }
  .penrail-navtoggle {
    display: inline-block;
  }
  .penrail-carriages {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 14px;
  }
  .penrail-carriages.is-open {
    display: flex;
  }
  .pen-carriage {
    width: 100%;
    text-align: left;
    padding: 16px 18px 16px 22px;
  }
  .pen-carriage .pen-cap {
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    border-top: 2px solid var(--rivet-slate);
  }
  .progsheet-w92,
  .progsheet-w86,
  .progsheet-w90,
  .progsheet-w84,
  .progsheet-w94,
  .progsheet-w88 {
    width: 100%;
    margin-left: 0;
  }
  .plot-line {
    font-size: 32px;
  }
  .gantryhead {
    left: 30%;
  }
  .plotbase-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .plotbase-cable {
    display: none;
  }
}

@media (max-width: 520px) {
  .plot-line {
    font-size: 26px;
  }
  .pencapstrip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
