/* ==========================================================================
   WTJ Consulting LLC — Seismograph Observatory Theme
   Palette: observatory-paper #F4F2EB / ink-seism #26241F
            trace-crimson #B3372E / drum-deep #37474B
            baseplate #FBFAF4 / gain-sage #5E7A5A / rule-hair #D8D3C4
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-size: 16px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  background-color: #F4F2EB;
  color: #26241F;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

a:hover,
a:focus {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ *
 * Instrument rack header (.pierboard)
 * ------------------------------------------------------------------ */

.pierboard {
  background-color: #F4F2EB;
  border-bottom: 1px solid #D8D3C4;
  padding: 0 0 10px;
  position: relative;
}

.pierboard-rail {
  height: 6px;
  background-color: #37474B;
  border-top: 1px solid #26241F;
  border-bottom: 1px solid #26241F;
}

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

.pierboard-platewrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.nameplate {
  background-color: #FBFAF4;
  border: 1px solid #26241F;
  border-radius: 3px;
  padding: 12px 22px 12px 18px;
  position: relative;
  box-shadow: inset 0 0 0 1px #D8D3C4;
}

.nameplate-brand {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #26241F;
  text-transform: uppercase;
}

.nameplate-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5E7A5A;
  margin-top: 3px;
  font-family: "Courier New", Courier, monospace;
}

.mountscrew {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #37474B;
  border: 1px solid #26241F;
}

.mountscrew-left {
  left: 6px;
  top: 50%;
  margin-top: -4px;
}

.mountscrew-right {
  right: 6px;
  top: 50%;
  margin-top: -4px;
}

.plate-nav {
  list-style: none;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.plate-item {
  display: block;
}

.plate-link {
  display: block;
  background-color: #37474B;
  color: #F4F2EB;
  border: 1px solid #26241F;
  border-radius: 3px;
  padding: 10px 14px 12px;
  position: relative;
  text-align: center;
  min-width: 92px;
}

.plate-link:hover,
.plate-link:focus {
  background-color: #26241F;
  text-decoration: none;
}

.plate-channel {
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #5E7A5A;
  margin-bottom: 4px;
}

.plate-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #FBFAF4;
}

.plate-tick {
  display: block;
  height: 3px;
  width: 34px;
  margin: 7px auto 0;
  background-color: #B3372E;
}

.plate-item-a .plate-link {
  transform: skewX(-1deg);
  width: 108px;
}

.plate-item-b .plate-link {
  transform: skewX(1deg);
  width: 96px;
}

.plate-item-c .plate-link {
  transform: skewX(-1deg);
  width: 102px;
}

.plate-item-d .plate-link {
  transform: skewX(1deg);
  width: 94px;
}

.plate-item-e .plate-link {
  transform: skewX(-1deg);
  width: 90px;
}

.plate-toggle {
  display: none;
  background-color: #37474B;
  color: #FBFAF4;
  border: 1px solid #26241F;
  border-radius: 3px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 10px 16px;
  cursor: pointer;
  margin-top: 12px;
}

.plate-toggle:hover {
  background-color: #B3372E;
}

/* ------------------------------------------------------------------ *
 * Hero — drum observation bay (.drumbay)
 * ------------------------------------------------------------------ */

.drumbay {
  position: relative;
  background-color: #F4F2EB;
  border-bottom: 1px solid #D8D3C4;
  padding: 0 0 56px;
}

.roofline-strip {
  position: relative;
  height: 74px;
  background-color: #37474B;
  overflow: hidden;
}

.roofline-gable {
  position: absolute;
  bottom: 0;
  left: 6%;
  width: 0;
  height: 0;
  border-left: 190px solid transparent;
  border-right: 190px solid transparent;
  border-bottom: 66px solid #26241F;
}

.roofline-gable-inner {
  position: absolute;
  bottom: 0;
  left: 6%;
  margin-left: 44px;
  width: 0;
  height: 0;
  border-left: 146px solid transparent;
  border-right: 146px solid transparent;
  border-bottom: 52px solid #FBFAF4;
}

.roofline-cupola {
  position: absolute;
  bottom: 0;
  left: 40%;
  width: 84px;
  height: 42px;
  background-color: #FBFAF4;
  border: 3px solid #26241F;
  border-bottom: none;
  border-radius: 42px 42px 0 0;
}

.roofline-cupola-slit {
  position: absolute;
  bottom: 0;
  left: 40%;
  margin-left: 34px;
  width: 16px;
  height: 30px;
  background-color: #B3372E;
}

.roofline-scale {
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  height: 12px;
  background-image: repeating-linear-gradient(90deg, #5E7A5A 0, #5E7A5A 1px, transparent 1px, transparent 26px);
}

.drumbay-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.drumbay-copy {
  flex: 1 1 520px;
  max-width: 55%;
}

.drumbay-eyebrow {
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5E7A5A;
  border: 1px solid #D8D3C4;
  background-color: #FBFAF4;
  padding: 6px 12px;
  margin-bottom: 20px;
}

.drumbay-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #26241F;
  margin-bottom: 20px;
  font-weight: 700;
}

.drumbay-title-crimson {
  color: #B3372E;
}

.drumbay-lede {
  font-size: 18px;
  color: #37474B;
  max-width: 60ch;
  margin-bottom: 22px;
}

.drumbay-body {
  font-size: 16px;
  color: #26241F;
  max-width: 62ch;
  margin-bottom: 30px;
}

.drumbay-chips {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stampchip {
  display: inline-block;
  background-color: #B3372E;
  color: #FBFAF4;
  border: 1px solid #26241F;
  border-radius: 2px;
  padding: 13px 22px;
  text-align: left;
  min-width: 176px;
}

.stampchip:hover,
.stampchip:focus {
  background-color: #26241F;
  text-decoration: none;
}

.stampchip-label {
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: #F4F2EB;
  margin-bottom: 4px;
}

.stampchip-text {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #FBFAF4;
}

.drumbay-instrument {
  flex: 1 1 400px;
  max-width: 45%;
  position: relative;
  min-height: 430px;
  padding-top: 16px;
}

.drumbody {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 24px auto 0;
  border-radius: 50%;
  background-color: #37474B;
  border: 6px solid #26241F;
  overflow: hidden;
  box-shadow: 0 0 0 10px #FBFAF4, 0 0 0 12px #26241F;
}

.drumbody-rules {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    #D8D3C4 0,
    #D8D3C4 1px,
    transparent 1px,
    transparent 22px
  );
}

.drumbody-timescale {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: repeating-linear-gradient(
    90deg,
    #5E7A5A 0,
    #5E7A5A 1px,
    transparent 1px,
    transparent 44px
  );
}

.drumbody-trace {
  position: absolute;
  inset: 0;
  background-color: #B3372E;
  clip-path: polygon(
    0% 62%, 4% 62%, 4% 40%, 8% 40%, 8% 62%, 12% 62%, 12% 20%, 14% 20%,
    14% 78%, 17% 78%, 17% 48%, 21% 48%, 21% 58%, 25% 58%, 25% 30%, 28% 30%,
    28% 70%, 32% 70%, 32% 44%, 36% 44%, 36% 52%, 40% 52%, 40% 16%, 43% 16%,
    43% 68%, 47% 68%, 47% 38%, 51% 38%, 51% 60%, 55% 60%, 55% 26%, 58% 26%,
    58% 74%, 62% 74%, 62% 46%, 66% 46%, 66% 54%, 70% 54%, 70% 22%, 73% 22%,
    73% 66%, 77% 66%, 77% 40%, 81% 40%, 81% 56%, 85% 56%, 85% 32%, 88% 32%,
    88% 68%, 92% 68%, 92% 48%, 96% 48%, 96% 58%, 100% 58%, 100% 62%,
    100% 100%, 0% 100%
  );
}

.drumbody-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background-color: #FBFAF4;
  border: 3px solid #26241F;
}

.stylus-arm {
  position: absolute;
  top: 22px;
  right: 0;
  width: 150px;
  height: 10px;
  background-color: #26241F;
  border-radius: 4px;
}

.stylus-pivot {
  position: absolute;
  top: 12px;
  right: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #FBFAF4;
  border: 4px solid #26241F;
}

.stylus-tip {
  position: absolute;
  top: 26px;
  right: 138px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 14px solid #B3372E;
}

.pier-block {
  position: relative;
  width: 190px;
  height: 58px;
  margin: 34px auto 0;
  background-color: #37474B;
  border: 1px solid #26241F;
  border-bottom-width: 6px;
}

.pier-block-cap {
  position: absolute;
  top: -10px;
  left: 14px;
  right: 14px;
  height: 10px;
  background-color: #FBFAF4;
  border: 1px solid #26241F;
}

.pier-block-gauge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  margin-left: -46px;
  width: 92px;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, #5E7A5A 0, #5E7A5A 1px, transparent 1px, transparent 9px);
}

.instrument-readout {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #5E7A5A;
  text-transform: uppercase;
}

.magnitude-edge {
  position: absolute;
  top: 74px;
  bottom: 0;
  right: 0;
  width: 22px;
  background-image: repeating-linear-gradient(0deg, #D8D3C4 0, #D8D3C4 1px, transparent 1px, transparent 14px);
  border-left: 1px solid #D8D3C4;
}

/* ------------------------------------------------------------------ *
 * Event ledger strata (.eventstrata)
 * ------------------------------------------------------------------ */

.eventstrata {
  background-color: #F4F2EB;
  padding: 64px 0 24px;
  border-bottom: 1px solid #D8D3C4;
}

.eventstrata-head {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.eventstrata-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  color: #26241F;
  letter-spacing: -0.01em;
}

.eventstrata-note {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5E7A5A;
}

.ledgersheet {
  display: flex;
  align-items: stretch;
  position: relative;
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 0 24px;
}

.ledgersheet-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  background-color: #FBFAF4;
  border: 1px solid #D8D3C4;
  border-left: 5px solid #B3372E;
}

.ledgersheet-skew-a .ledgersheet-inner {
  transform: skewX(-1deg);
}

.ledgersheet-skew-b .ledgersheet-inner {
  transform: skewX(1deg);
}

.ledgersheet-skew-a .ledgersheet-body,
.ledgersheet-skew-a .station-block,
.ledgersheet-skew-b .ledgersheet-body,
.ledgersheet-skew-b .station-block {
  transform: skewX(1deg);
}

.ledgersheet-invert .ledgersheet-inner {
  background-color: #37474B;
  border-color: #26241F;
  border-left-color: #B3372E;
}

.station-block {
  flex: 0 0 168px;
  background-color: #37474B;
  color: #F4F2EB;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #26241F;
}

.ledgersheet-invert .station-block {
  background-color: #26241F;
}

.station-id {
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: #FBFAF4;
}

.station-label {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D8D3C4;
  margin-top: 6px;
}

.station-chip {
  display: inline-block;
  align-self: flex-start;
  margin-top: 14px;
  background-color: #5E7A5A;
  color: #FBFAF4;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  padding: 4px 8px;
  border: 1px solid #26241F;
}

.ledgersheet-body {
  flex: 1 1 auto;
  padding: 26px 28px 30px;
  position: relative;
}

.ledgersheet-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  color: #26241F;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.ledgersheet-invert .ledgersheet-body h3 {
  color: #FBFAF4;
}

.ledgersheet-body p {
  color: #26241F;
  max-width: 82ch;
  margin-bottom: 12px;
}

.ledgersheet-invert .ledgersheet-body p {
  color: #F4F2EB;
}

.ledgersheet-body a {
  color: #B3372E;
  font-weight: 700;
}

.ledgersheet-invert .ledgersheet-body a {
  color: #FBFAF4;
  text-decoration: underline;
}

.ledgersheet-textlink {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.traceline {
  height: 3px;
  width: 100%;
  margin-top: 16px;
  background-color: #B3372E;
}

.traceline-flat {
  clip-path: polygon(0% 45%, 25% 45%, 25% 55%, 75% 55%, 75% 45%, 100% 45%, 100% 100%, 0% 100%);
}

.traceline-spiky {
  clip-path: polygon(
    0% 50%, 6% 50%, 6% 10%, 9% 10%, 9% 80%, 13% 80%, 13% 30%, 16% 30%,
    16% 70%, 20% 70%, 20% 5%, 23% 5%, 23% 85%, 27% 85%, 27% 40%, 31% 40%,
    31% 65%, 35% 65%, 35% 18%, 39% 18%, 39% 78%, 43% 78%, 43% 34%, 47% 34%,
    47% 58%, 52% 58%, 52% 12%, 56% 12%, 56% 82%, 60% 82%, 60% 28%, 64% 28%,
    64% 68%, 68% 68%, 68% 22%, 72% 22%, 72% 74%, 76% 74%, 76% 38%, 80% 38%,
    80% 60%, 84% 60%, 84% 15%, 88% 15%, 88% 80%, 92% 80%, 92% 44%, 96% 44%,
    96% 56%, 100% 56%, 100% 100%, 0% 100%
  );
}

.traceline-stepped {
  clip-path: polygon(
    0% 62%, 10% 62%, 10% 50%, 20% 50%, 20% 50%, 20% 38%, 30% 38%, 30% 38%,
    30% 26%, 40% 26%, 40% 26%, 40% 38%, 50% 38%, 50% 38%, 50% 50%, 60% 50%,
    60% 50%, 60% 62%, 70% 62%, 70% 62%, 70% 30%, 80% 30%, 80% 30%, 80% 44%,
    90% 44%, 90% 44%, 90% 58%, 100% 58%, 100% 100%, 0% 100%
  );
}

.traceline-double {
  clip-path: polygon(
    0% 60%, 8% 60%, 12% 20%, 16% 20%, 20% 60%, 26% 60%, 30% 30%, 34% 30%,
    38% 68%, 44% 68%, 48% 24%, 52% 24%, 56% 58%, 62% 58%, 66% 16%, 70% 16%,
    74% 64%, 80% 64%, 84% 34%, 88% 34%, 92% 62%, 96% 62%, 100% 42%, 100% 100%, 0% 100%
  );
}

.traceline-dense {
  clip-path: polygon(
    0% 50%, 3% 50%, 3% 34%, 6% 34%, 6% 66%, 9% 66%, 9% 28%, 12% 28%,
    12% 72%, 15% 72%, 15% 40%, 18% 40%, 18% 58%, 21% 58%, 21% 22%, 24% 22%,
    24% 78%, 27% 78%, 27% 46%, 30% 46%, 30% 54%, 33% 54%, 33% 30%, 36% 30%,
    36% 70%, 39% 70%, 39% 44%, 42% 44%, 42% 62%, 45% 62%, 45% 24%, 48% 24%,
    48% 76%, 51% 76%, 51% 38%, 54% 38%, 54% 60%, 57% 60%, 57% 32%, 60% 32%,
    60% 68%, 63% 68%, 63% 42%, 66% 42%, 66% 56%, 69% 56%, 69% 26%, 72% 26%,
    72% 74%, 75% 74%, 75% 48%, 78% 48%, 78% 52%, 81% 52%, 81% 36%, 84% 36%,
    84% 64%, 87% 64%, 87% 30%, 90% 30%, 90% 70%, 93% 70%, 93% 46%, 96% 46%,
    96% 58%, 100% 58%, 100% 100%, 0% 100%
  );
}

.traceline-quiet {
  clip-path: polygon(0% 50%, 20% 50%, 20% 48%, 40% 48%, 40% 52%, 60% 52%, 60% 49%, 80% 49%, 80% 51%, 100% 51%, 100% 100%, 0% 100%);
}

.eventchip {
  position: absolute;
  top: 14px;
  right: 16px;
  background-color: #B3372E;
  color: #FBFAF4;
  border: 1px solid #26241F;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 5px 10px;
}

.ledgersheet-invert .eventchip {
  background-color: #B3372E;
  color: #FBFAF4;
}

/* ------------------------------------------------------------------ *
 * Calibration strip
 * ------------------------------------------------------------------ */

.calibration-strip {
  background-color: #B3372E;
  color: #FBFAF4;
  border-top: 1px solid #26241F;
  border-bottom: 1px solid #26241F;
  padding: 30px 0;
}

.calibration-strip-rule {
  height: 2px;
  background-image: repeating-linear-gradient(90deg, #FBFAF4 0, #FBFAF4 2px, transparent 2px, transparent 12px);
  max-width: 1180px;
  margin: 0 auto;
}

.calibration-strip-inner {
  max-width: 1180px;
  margin: 14px auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.calibration-strip-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #FBFAF4;
  max-width: 74ch;
}

.calibration-strip-chip {
  display: inline-block;
  background-color: #26241F;
  color: #FBFAF4;
  border: 1px solid #FBFAF4;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 10px 16px;
}

.calibration-strip-chip:hover,
.calibration-strip-chip:focus {
  background-color: #FBFAF4;
  color: #26241F;
  text-decoration: none;
}

/* ------------------------------------------------------------------ *
 * Observatory pier base (.pierbase)
 * ------------------------------------------------------------------ */

.pierbase {
  background-color: #37474B;
  color: #F4F2EB;
  position: relative;
}

.pierbase-roofline {
  height: 22px;
  background-color: #F4F2EB;
  position: relative;
  border-bottom: 1px solid #D8D3C4;
}

.pierbase-roofline-peak {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: 0;
  height: 0;
  border-left: 90px solid transparent;
  border-right: 90px solid transparent;
  border-bottom: 22px solid #37474B;
}

.pierbase-roofline-peak-two {
  position: absolute;
  bottom: 0;
  right: 16%;
  width: 0;
  height: 0;
  border-left: 64px solid transparent;
  border-right: 64px solid transparent;
  border-bottom: 22px solid #37474B;
}

.pierbase-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 20px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.pierbase-brand {
  flex: 1 1 300px;
  max-width: 360px;
}

.pierbase-brand h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: #FBFAF4;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pierbase-brand p {
  color: #F4F2EB;
  font-size: 15px;
  max-width: 42ch;
}

.pierbase-mount {
  display: inline-block;
  margin-top: 16px;
  background-color: #FBFAF4;
  color: #26241F;
  border: 1px solid #D8D3C4;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 6px 10px;
}

.stationplates {
  flex: 1 1 560px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.stationplate {
  flex: 1 1 160px;
  border-top: 3px solid #B3372E;
  padding-top: 14px;
}

.stationplate h3 {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D8D3C4;
  margin-bottom: 12px;
}

.stationplate ul {
  list-style: none;
}

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

.stationplate a {
  color: #FBFAF4;
  font-size: 15px;
}

.stationplate a:hover,
.stationplate a:focus {
  color: #B3372E;
}

.pierbase-foundation {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 34px;
  border-top: 1px solid #26241F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pierbase-contact {
  padding-top: 18px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #D8D3C4;
  max-width: 70ch;
}

.pierbase-contact a {
  color: #FBFAF4;
}

.pendulum {
  position: relative;
  width: 120px;
  height: 46px;
  flex: 0 0 auto;
}

.pendulum-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #B3372E;
}

.pendulum-mass {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background-color: #FBFAF4;
  border: 3px solid #26241F;
}

.pendulum-scale {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, #5E7A5A 0, #5E7A5A 1px, transparent 1px, transparent 10px);
}

/* ------------------------------------------------------------------ *
 * Generic interior page pieces (services / contact)
 * ------------------------------------------------------------------ */

.interior-header {
  background-color: #F4F2EB;
  border-bottom: 1px solid #D8D3C4;
}

.interior-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 40px;
}

.interior-eyebrow {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5E7A5A;
  margin-bottom: 12px;
}

.interior-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.12;
  color: #26241F;
  margin-bottom: 16px;
  letter-spacing: -0.012em;
}

.interior-lede {
  font-size: 18px;
  color: #37474B;
  max-width: 74ch;
}

.interior-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 24px 12px;
}

.interior-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  color: #26241F;
  margin-bottom: 18px;
  letter-spacing: -0.008em;
}

.interior-section p {
  max-width: 84ch;
  margin-bottom: 14px;
  color: #26241F;
}

.interior-section h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  color: #37474B;
  margin: 22px 0 8px;
}

.service-ledger {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 12px;
}

.service-entry {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  background-color: #FBFAF4;
  border: 1px solid #D8D3C4;
  border-left: 5px solid #B3372E;
  padding: 26px 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.service-entry-alt {
  background-color: #37474B;
  border-color: #26241F;
}

.service-index {
  flex: 0 0 130px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5E7A5A;
}

.service-index strong {
  display: block;
  font-size: 24px;
  letter-spacing: 0.12em;
  color: #26241F;
  margin-bottom: 6px;
}

.service-entry-alt .service-index strong {
  color: #FBFAF4;
}

.service-copy {
  flex: 1 1 480px;
}

.service-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: #26241F;
  margin-bottom: 10px;
}

.service-entry-alt .service-copy h3 {
  color: #FBFAF4;
}

.service-copy p {
  color: #26241F;
  margin-bottom: 12px;
  max-width: 84ch;
}

.service-entry-alt .service-copy p {
  color: #F4F2EB;
}

.service-copy ul {
  margin: 0 0 10px 20px;
}

.service-copy li {
  margin-bottom: 6px;
}

.service-entry-alt .service-copy li {
  color: #F4F2EB;
}

.process-rail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  counter-reset: processstep;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #D8D3C4;
}

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

.process-step-num {
  flex: 0 0 96px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #B3372E;
}

.process-step-body {
  flex: 1 1 auto;
}

.process-step-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  color: #26241F;
  margin-bottom: 6px;
}

.process-step-body p {
  color: #37474B;
  max-width: 84ch;
}

/* Contact page */

.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: flex;
  gap: 34px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-form-panel {
  flex: 1 1 540px;
  background-color: #FBFAF4;
  border: 1px solid #D8D3C4;
  border-top: 5px solid #B3372E;
  padding: 30px 28px 34px;
}

.contact-form-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #26241F;
  margin-bottom: 8px;
}

.contact-form-panel p {
  color: #37474B;
  margin-bottom: 20px;
  max-width: 70ch;
}

.fieldrow {
  margin-bottom: 18px;
}

.fieldrow label {
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5E7A5A;
  margin-bottom: 6px;
}

.fieldrow input,
.fieldrow select,
.fieldrow textarea {
  width: 100%;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 16px;
  color: #26241F;
  background-color: #F4F2EB;
  border: 1px solid #26241F;
  border-radius: 2px;
  padding: 11px 12px;
}

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

.fieldrow input:focus,
.fieldrow select:focus,
.fieldrow textarea:focus {
  outline: 2px solid #B3372E;
  outline-offset: 1px;
}

.submit-chip {
  display: inline-block;
  background-color: #B3372E;
  color: #FBFAF4;
  border: 1px solid #26241F;
  border-radius: 2px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 26px;
  cursor: pointer;
}

.submit-chip:hover,
.submit-chip:focus {
  background-color: #26241F;
}

.form-feedback {
  margin-top: 14px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #5E7A5A;
}

.contact-detail-panel {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-plate {
  background-color: #37474B;
  color: #F4F2EB;
  border: 1px solid #26241F;
  border-left: 5px solid #B3372E;
  padding: 24px 24px 26px;
}

.detail-plate h3 {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #D8D3C4;
  margin-bottom: 12px;
}

.detail-plate p {
  color: #F4F2EB;
  margin-bottom: 8px;
}

.detail-plate a {
  color: #FBFAF4;
  text-decoration: underline;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #26241F;
  padding: 8px 0;
  color: #F4F2EB;
  font-size: 15px;
}

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

.faq-block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}

.faq-block h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  color: #26241F;
  margin-bottom: 20px;
}

.faq-item {
  background-color: #FBFAF4;
  border: 1px solid #D8D3C4;
  border-left: 5px solid #5E7A5A;
  margin-bottom: 14px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #26241F;
  padding: 18px 20px;
}

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

.faq-answer {
  padding: 0 20px 20px;
  color: #26241F;
  max-width: 84ch;
}

.faq-answer-hidden {
  display: none;
}

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

.revealwait {
  transform: translateY(14px);
}

.revealgo {
  transform: translateY(0);
  transition: transform 620ms ease;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 900px) {
  .drumbay-copy {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .drumbay-instrument {
    max-width: 100%;
    flex: 1 1 100%;
    min-height: 0;
  }

  .drumbay-title {
    font-size: 40px;
  }

  .ledgersheet-inner {
    flex-direction: column;
  }

  .station-block {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 1px solid #26241F;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .station-chip {
    margin-top: 0;
  }

  .eventchip {
    top: auto;
    bottom: 12px;
    right: 14px;
  }
}

@media (max-width: 720px) {
  .plate-nav {
    display: none;
    width: 100%;
  }

  .plate-nav-open {
    display: flex;
  }

  .plate-toggle {
    display: block;
  }

  .pierboard-inner {
    align-items: center;
  }

  .drumbay-title {
    font-size: 33px;
  }

  .drumbay-lede,
  .drumbay-body {
    font-size: 16px;
  }

  .drumbody {
    width: 270px;
    height: 270px;
  }

  .stylus-arm {
    width: 110px;
  }

  .stylus-tip {
    right: 98px;
  }

  .interior-title {
    font-size: 30px;
  }

  .eventstrata-title {
    font-size: 26px;
  }

  .calibration-strip-text {
    font-size: 17px;
  }

  .magnitude-edge {
    display: none;
  }
}
