/* Meow Star cat magazine stylesheet
   Palette: WUHUA riverfront wall, NANCHANGRIVERBLUE gate blue,
   XZDEEP deep well, RIVER-PANEL panel, YOUBIMIST chips only. */

:root {
  --wuhua: #F2F8FA;
  --nanchangriverblue: #2E6E8E;
  --xzdeep: #202830;
  --river-panel: #E0ECEF;
  --youbimist: #A4BCC8;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

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

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

img {
  max-width: 100%;
}

a {
  color: #2E6E8E;
}

/* ---------- MASTHEAD NAV (.masthead) ---------- */

.masthead {
  background-color: #F2F8FA;
  padding: 34px 24px 0;
  text-align: center;
  border-bottom: 1px solid #C9DBE1;
}

.masthead-wordmark {
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #202830;
  font-weight: 700;
  max-width: 1100px;
}

.masthead-wordmark em {
  font-style: normal;
  color: #2E6E8E;
}

.masthead-base {
  margin: 12px auto 0;
  max-width: 1100px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4A5C66;
}

.masthead-rule {
  max-width: 1100px;
  margin: 20px auto 0;
  border: 0;
  border-top: 1px solid #C9DBE1;
}

.masthead-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.masthead-link {
  position: relative;
  display: inline-block;
  padding: 6px 18px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: #202830;
  text-decoration: none;
  text-transform: uppercase;
}

.masthead-link:nth-child(1) { letter-spacing: 0.34em; }
.masthead-link:nth-child(2) { letter-spacing: 0.10em; }
.masthead-link:nth-child(3) { letter-spacing: 0.26em; }
.masthead-link:nth-child(4) { letter-spacing: 0.06em; }
.masthead-link:nth-child(5) { letter-spacing: 0.30em; }
.masthead-link:nth-child(6) { letter-spacing: 0.16em; }

.masthead-link:hover,
.masthead-link:focus {
  color: #2E6E8E;
}

.masthead-link.is-active {
  color: #2E6E8E;
}

.masthead-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 16px;
  height: 12px;
  transform: translateX(-50%);
  background-color: #2E6E8E;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}

.masthead-toggle {
  display: none;
  margin: 0 auto 14px;
  border: 1px solid #202830;
  background-color: #F2F8FA;
  color: #202830;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 22px;
  cursor: pointer;
}

/* ---------- Shared layout ---------- */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sectionpad {
  padding: 72px 0;
}

.eyebrow {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #2E6E8E;
  margin: 0 0 18px;
}

h2.headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1.2;
  color: #202830;
  margin: 0 0 20px;
  font-weight: 700;
}

p.lead {
  font-size: 18px;
  line-height: 1.75;
  color: #1B2530;
  margin: 0 0 18px;
}

p.bodycopy {
  font-size: 16px;
  line-height: 1.8;
  color: #26323D;
  margin: 0 0 16px;
}

/* ---------- COVER SPREAD HERO (.coverspread) ---------- */

.coverspread {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 620px;
  border-bottom: 1px solid #C9DBE1;
  background-color: #F2F8FA;
}

.coverspread-text {
  padding: 76px 60px 76px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.coverspread-words {
  display: flex;
  align-items: center;
  gap: 26px;
}

.coverspread-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: #2E6E8E;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.coverspread-head {
  flex: 1;
}

.coverspread-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1.04;
  color: #202830;
  margin: 0;
  font-weight: 700;
}

.coverspread-title em {
  font-style: normal;
  color: #2E6E8E;
}

.coverspread-copy {
  margin: 26px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: #26323D;
  max-width: 560px;
}

.coverspread-inline {
  color: #2E6E8E;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.coverspread-inline:hover,
.coverspread-inline:focus {
  color: #1F5067;
}

.coverspread-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 34px 0 0;
  padding: 18px 26px;
  background-color: #2E6E8E;
  color: #F2F8FA;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.coverspread-cta:hover,
.coverspread-cta:focus {
  background-color: #202830;
}

.coverspread-cta-arrow {
  font-size: 20px;
  line-height: 1;
}

/* sunroom corner scene */

.coverspread-scene {
  position: relative;
  background-color: #E0ECEF;
  border-left: 1px solid #C9DBE1;
  overflow: hidden;
  min-height: 560px;
}

.scene-window {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 240px;
  background-color: #D3E3E8;
  border-bottom: 12px solid #202830;
}

.scene-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 6px;
  margin-left: -3px;
  background-color: #202830;
}

.scene-window::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  margin-top: -3px;
  background-color: #202830;
}

.scene-sun {
  position: absolute;
  top: 34px;
  left: 40px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: #2E6E8E;
}

.scene-desk {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 96px;
  height: 20px;
  background-color: #202830;
}

.scene-desk-leg {
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 88px;
  background-color: #202830;
}

.scene-desk-leg.left { left: 48px; }
.scene-desk-leg.right { right: 48px; }

.scene-lamp {
  position: absolute;
  left: 70px;
  bottom: 116px;
  width: 8px;
  height: 64px;
  background-color: #2E6E8E;
}

.scene-lamp-head {
  position: absolute;
  left: -26px;
  top: -18px;
  width: 60px;
  height: 30px;
  background-color: #2E6E8E;
  clip-path: polygon(30% 100%, 70% 100%, 100% 0, 0 0);
}

.scene-ring {
  position: absolute;
  right: 62px;
  bottom: 104px;
  width: 70px;
  height: 70px;
  border: 10px solid #2E6E8E;
  border-radius: 50%;
}

.scene-gatesheet {
  position: absolute;
  left: 148px;
  top: 128px;
  width: 150px;
  height: 170px;
  background-color: #2E6E8E;
  transform: rotate(-4deg);
  box-shadow: 6px 6px 0 #202830;
}

.scene-gatesheet::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 3px;
  background-color: #F2F8FA;
}

.scene-gatesheet::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 18px;
  right: 40px;
  height: 3px;
  background-color: #F2F8FA;
}

.scene-gatesheet-rules {
  position: absolute;
  top: 62px;
  left: 18px;
  right: 24px;
  height: 70px;
  background-color: #F2F8FA;
}

.scene-letter {
  position: absolute;
  left: 58px;
  bottom: 128px;
  width: 132px;
  height: 168px;
  background-color: #F2F8FA;
  transform: rotate(5deg);
  border: 2px solid #202830;
}

.scene-letter::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: #A4BCC8;
}

.scene-letter::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 16px;
  right: 40px;
  height: 2px;
  background-color: #A4BCC8;
}

.scene-stake {
  position: absolute;
  left: 176px;
  bottom: 116px;
  width: 10px;
  height: 120px;
  background-color: #A4BCC8;
}

.scene-stake::after {
  content: "";
  position: absolute;
  top: -26px;
  left: -18px;
  width: 46px;
  height: 26px;
  background-color: #A4BCC8;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.scene-model {
  position: absolute;
  right: 40px;
  bottom: 116px;
  width: 108px;
  height: 60px;
  border-top: 8px solid #202830;
  border-left: 8px solid #202830;
  border-right: 8px solid #202830;
}

.scene-model::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -3px;
  width: 6px;
  height: 52px;
  background-color: #202830;
}

.scene-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background-color: #C9DBE1;
  border-top: 1px solid #202830;
}

/* ---------- Stat-free intro strip ---------- */

.introstrip {
  background-color: #E0ECEF;
  border-bottom: 1px solid #C9DBE1;
}

.introstrip-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.introstrip p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #1B2530;
}

.introstrip p strong {
  color: #1F5067;
}

/* ---------- FEATURE WELL ROWS (.featurewell) ---------- */

.featurewell {
  background-color: #F2F8FA;
  padding: 84px 0 88px;
}

.featurewell-head {
  max-width: 1120px;
  margin: 0 auto 10px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.featurewell-head .headline {
  margin: 0;
  max-width: 620px;
}

.featurewell-head-note {
  max-width: 320px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #4A5C66;
  margin: 0;
}

.ferryrail {
  max-width: 1120px;
  margin: 34px auto 0;
  padding: 0 24px;
  position: relative;
}

.ferryrail-bar {
  height: 14px;
  background-color: #202830;
  position: relative;
}

.ferryrail-bar::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 6px;
  height: 2px;
  background-color: #2E6E8E;
}

.ferryrail-clip {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 26px;
  height: 30px;
  margin-left: -13px;
  background-color: #202830;
}

.ferryrail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr;
  gap: 26px;
  margin-top: 30px;
}

.ferryrail-grid.second {
  grid-template-columns: 0.9fr 1.2fr 1.1fr;
}

.riversheet {
  background-color: #E0ECEF;
  border: 1px solid #202830;
  padding: 28px 26px 30px;
  position: relative;
}

.riversheet:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.riversheet:nth-child(even) {
  transform: rotate(0.5deg);
}

.riversheet-mark {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #202830;
  padding: 4px 10px;
  background-color: #A4BCC8;
  margin: 0 0 16px;
}

.riversheet h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.2;
  color: #202830;
  margin: 0 0 12px;
  font-weight: 700;
}

.riversheet p {
  font-size: 15px;
  line-height: 1.75;
  color: #26323D;
  margin: 0 0 12px;
}

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

.riversheet-link {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2E6E8E;
  text-decoration: none;
  border-bottom: 1px solid #2E6E8E;
  padding-bottom: 2px;
}

.riversheet-link:hover,
.riversheet-link:focus {
  color: #1F5067;
  border-bottom-color: #1F5067;
}

.riversheet-stamp {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 3px solid #2E6E8E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #2E6E8E;
}

/* ---------- Editorial split (about the work) ---------- */

.workpieces {
  background-color: #E0ECEF;
  border-top: 1px solid #C9DBE1;
  border-bottom: 1px solid #C9DBE1;
  padding: 84px 0;
}

.workpieces-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.workpieces-figure {
  background-color: #F2F8FA;
  border: 1px solid #202830;
  padding: 30px;
  position: relative;
}

.workpieces-mark {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 220px;
  margin: 0 auto 22px;
}

.workpieces-mark span {
  display: block;
  height: 46px;
  border-radius: 50%;
  background-color: #2E6E8E;
}

.workpieces-mark span:nth-child(4) {
  grid-column: 1 / -1;
  height: 62px;
  border-radius: 50% 50% 46% 46%;
  background-color: #2E6E8E;
}

.workpieces-figure p {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4A5C66;
  text-align: center;
  margin: 0;
}

.workpieces-copy h2 {
  margin-top: 0;
}

.piece-row {
  border-top: 1px solid #C9DBE1;
  padding: 20px 0;
}

.piece-row:last-child {
  border-bottom: 1px solid #C9DBE1;
}

.piece-row h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  color: #202830;
  margin: 0 0 6px;
}

.piece-row p {
  font-size: 15px;
  line-height: 1.75;
  color: #26323D;
  margin: 0;
}

.piece-row a {
  color: #2E6E8E;
  font-weight: 700;
}

/* ---------- PULL QUOTE BAND (.pullquoteband) ---------- */

.pullquoteband {
  background-color: #202830;
  padding: 78px 0;
}

.pullquoteband-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 56px;
}

.pullquoteband-quote {
  border-left: 8px solid #A4BCC8;
  padding: 6px 0 6px 34px;
  position: relative;
}

.pullquoteband-quote::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -4px;
  width: 16px;
  height: 12px;
  background-color: #2E6E8E;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}

.pullquoteband-quote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.4;
  color: #F2F8FA;
  margin: 0;
  font-style: italic;
}

.pullquoteband-side {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.pullquoteband-mark {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #2E6E8E;
  position: relative;
}

.pullquoteband-mark::before,
.pullquoteband-mark::after {
  content: "";
  position: absolute;
  background-color: #202830;
  border-radius: 50%;
}

.pullquoteband-mark::before {
  top: 16px;
  left: 14px;
  width: 12px;
  height: 14px;
  box-shadow: 16px 0 0 #202830;
}

.pullquoteband-mark::after {
  bottom: 14px;
  left: 12px;
  width: 32px;
  height: 18px;
  border-radius: 50%;
}

.pullquoteband-side p {
  font-size: 17px;
  line-height: 1.8;
  color: #F2F8FA;
  margin: 0;
}

.pullquoteband-side p strong {
  color: #A4BCC8;
}

/* ---------- Ledger / process list ---------- */

.processlist {
  background-color: #F2F8FA;
  padding: 84px 0;
}

.processlist-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.processlist-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ferry;
}

.processlist-steps li {
  position: relative;
  padding: 22px 0 22px 68px;
  border-top: 1px solid #C9DBE1;
  counter-increment: ferry;
}

.processlist-steps li:last-child {
  border-bottom: 1px solid #C9DBE1;
}

.processlist-steps li::before {
  content: counter(ferry, upper-alpha);
  position: absolute;
  left: 0;
  top: 22px;
  width: 44px;
  height: 44px;
  background-color: #2E6E8E;
  color: #F2F8FA;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processlist-steps h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  color: #202830;
  margin: 0 0 6px;
}

.processlist-steps p {
  font-size: 15px;
  line-height: 1.75;
  color: #26323D;
  margin: 0;
}

/* ---------- Closing CTA slab ---------- */

.closingcall {
  background-color: #2E6E8E;
  padding: 64px 0;
}

.closingcall-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.closingcall h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.25;
  color: #F2F8FA;
  margin: 0 0 12px;
}

.closingcall p {
  font-size: 16px;
  line-height: 1.75;
  color: #F2F8FA;
  margin: 0;
}

.closingcall-link {
  display: block;
  background-color: #F2F8FA;
  color: #202830;
  padding: 22px 28px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid #202830;
}

.closingcall-link:hover,
.closingcall-link:focus {
  background-color: #202830;
  color: #F2F8FA;
}

/* ---------- SUNBEAM FOOTER (.sunbeam) ---------- */

.sunbeam {
  background-color: #202830;
  color: #F2F8FA;
  padding: 0 0 26px;
}

.sunbeam-beams {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 0;
  height: 96px;
}

.sunbeam-beam {
  height: 8px;
  background-color: #A4BCC8;
}

.sunbeam-beam.b1 { width: 9%; }
.sunbeam-beam.b2 { width: 14%; }
.sunbeam-beam.b3 { width: 6%; }
.sunbeam-beam.b4 { width: 12%; }
.sunbeam-beam.b5 { width: 4%; }
.sunbeam-beam.rail { flex: 1; height: 3px; background-color: #3A4753; }

.sunbeam-rails {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 24px 26px;
  display: flex;
  gap: 10px;
}

.sunbeam-rails span {
  height: 2px;
  background-color: #3A4753;
}

.sunbeam-rails span:nth-child(1) { width: 30%; }
.sunbeam-rails span:nth-child(2) { width: 18%; }
.sunbeam-rails span:nth-child(3) { flex: 1; }

.sunbeam-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 0;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 60px;
  border-top: 1px solid #3A4753;
}

.sunbeam-brand h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: #F2F8FA;
  margin: 0 0 12px;
}

.sunbeam-brand p {
  font-size: 15px;
  line-height: 1.8;
  color: #C9DBE1;
  margin: 0 0 16px;
  max-width: 480px;
}

.sunbeam-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 2;
  color: #C9DBE1;
}

.sunbeam-contact a {
  color: #A4BCC8;
  text-decoration: none;
}

.sunbeam-contact a:hover,
.sunbeam-contact a:focus {
  color: #F2F8FA;
  text-decoration: underline;
}

.sunbeam-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.sunbeam-links a {
  color: #F2F8FA;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.9;
  padding: 2px 0;
}

.sunbeam-links a:hover,
.sunbeam-links a:focus {
  text-decoration: underline;
  color: #A4BCC8;
}

.sunbeam-base {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid #3A4753;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #A4BCC8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sunbeam-glyph {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #2E6E8E;
  display: inline-block;
  position: relative;
}

.sunbeam-glyph::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 4px;
  height: 5px;
  border-radius: 50%;
  background-color: #202830;
  box-shadow: 7px 0 0 #202830;
}

/* ---------- Inner-page headers ---------- */

.pagehead {
  background-color: #E0ECEF;
  border-bottom: 1px solid #C9DBE1;
  padding: 64px 0 56px;
}

.pagehead h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1.12;
  color: #202830;
  margin: 0 0 16px;
  max-width: 820px;
}

.pagehead p {
  font-size: 18px;
  line-height: 1.75;
  color: #26323D;
  margin: 0;
  max-width: 760px;
}

/* ---------- Services detail blocks ---------- */

.servicesrun {
  background-color: #F2F8FA;
  padding: 72px 0 40px;
}

.servicerow {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid #C9DBE1;
}

.servicerow:last-child {
  border-bottom: 1px solid #C9DBE1;
}

.servicerow-index {
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #202830;
}

.servicerow-index span {
  display: inline-block;
  background-color: #A4BCC8;
  padding: 4px 10px;
}

.servicerow h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: #202830;
  margin: 0 0 14px;
}

.servicerow p {
  font-size: 16px;
  line-height: 1.8;
  color: #26323D;
  margin: 0 0 14px;
}

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

.servicerow ul {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: #26323D;
}

/* ---------- Contact page ---------- */

.contactlayout {
  background-color: #F2F8FA;
  padding: 72px 0;
}

.contactlayout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.contactform {
  background-color: #E0ECEF;
  border: 1px solid #202830;
  padding: 36px 34px 40px;
}

.contactform h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #202830;
  margin: 0 0 8px;
}

.contactform p.intro {
  font-size: 15px;
  line-height: 1.7;
  color: #26323D;
  margin: 0 0 24px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #202830;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: #202830;
  background-color: #F2F8FA;
  border: 1px solid #202830;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid #2E6E8E;
  outline-offset: 0;
}

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

.contactform-submit {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background-color: #2E6E8E;
  color: #F2F8FA;
  border: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.contactform-submit:hover,
.contactform-submit:focus {
  background-color: #202830;
}

.contactform-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #4A5C66;
}

.contactform-note a {
  color: #2E6E8E;
  font-weight: 700;
}

.contactdetails h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #202830;
  margin: 0 0 18px;
}

.contactdetails dl {
  margin: 0 0 28px;
}

.contactdetails dt {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2E6E8E;
  margin: 18px 0 4px;
}

.contactdetails dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #26323D;
}

.contactdetails dd a {
  color: #2E6E8E;
  font-weight: 700;
}

.hoursbox {
  background-color: #E0ECEF;
  border-left: 6px solid #2E6E8E;
  padding: 20px 24px;
}

.hoursbox h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #202830;
  margin: 0 0 8px;
}

.hoursbox p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #26323D;
}

/* ---------- FAQ accordion ---------- */

.faqsection {
  background-color: #E0ECEF;
  border-top: 1px solid #C9DBE1;
  padding: 72px 0 84px;
}

.faqsection h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  color: #202830;
  margin: 0 0 28px;
}

.faqitem {
  border-top: 1px solid #202830;
  background-color: #F2F8FA;
}

.faqitem:last-child {
  border-bottom: 1px solid #202830;
}

.faqitem-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  background-color: #F2F8FA;
  border: 0;
  text-align: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  color: #202830;
  cursor: pointer;
}

.faqitem-toggle:hover,
.faqitem-toggle:focus {
  color: #2E6E8E;
}

.faqitem-toggle .mark {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  color: #2E6E8E;
}

.faqitem-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faqitem-body p {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 16px;
  line-height: 1.8;
  color: #26323D;
}

.faqitem.is-open .faqitem-body {
  max-height: 400px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 960px) {
  .coverspread {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .coverspread-text {
    padding: 56px 24px;
  }

  .coverspread-scene {
    min-height: 440px;
    border-left: 0;
    border-top: 1px solid #C9DBE1;
  }

  .masthead-wordmark {
    font-size: 36px;
  }

  .ferryrail-grid,
  .ferryrail-grid.second {
    grid-template-columns: 1fr;
  }

  .workpieces-grid,
  .pullquoteband-inner,
  .processlist-grid,
  .closingcall-inner,
  .introstrip-inner,
  .sunbeam-body,
  .contactlayout-grid,
  .servicerow {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featurewell-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .masthead-toggle {
    display: inline-block;
  }

  .masthead-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
  }

  .masthead-nav.is-open {
    display: flex;
  }

  .masthead-link {
    padding: 10px 18px;
  }

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

  .coverspread-words {
    gap: 14px;
  }

  h2.headline {
    font-size: 28px;
  }

  .pullquoteband-quote p {
    font-size: 23px;
  }

  .pagehead h1 {
    font-size: 32px;
  }

  .sunbeam-beams {
    height: 80px;
  }
}
