/* ==========================================================================
   Zung Sing Engineering Limited — Style Sheet
   Homepage and secondary pages (services, contact).
   LIGHT BUILDING SERVICES ENGINEERING WORKS theme.
   Palette: site-hut #F7F5F1 · hut-paper #FFFDF9 · rig-maroon #8A4038
            schematic-cream #F4EFE4 · blueprint-line #5D7A96
            safety-lime #C8CC4E · rig-ink #2E2C28 · dust-grey #94908A
            hairline #E3DFD6 · deep-ink #26241F
   ========================================================================== */

/* ---- Base reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.home-page,
.site-page {
  background-color: #F7F5F1;
  color: #2E2C28;
}

/* Body rule MUST carry an explicit font-size of 16px (literal px, not rem/em). */
body {
  font-family: Georgia, Times New Roman, Times, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2E2C28;
  background-color: #F7F5F1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.15;
  font-weight: 700;
  color: #2E2C28;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Reset lists / buttons ---- */
ul {
  list-style: none;
}

/* ---- ============ SCAFFOLD-BAY NAV ============ 
     A full-width sticky top bar. At the top a STANDARDS strip; beneath the
     brand + link row. Do NOT select with a bare nav element selector. */
nav.scaffoldbay-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: #FFFDF9;
  border-bottom: 2px solid #E3DFD6;
  box-shadow: 0 6px 18px rgba(43, 40, 34, 0.06);
}

nav.scaffoldbay-nav .standards-strip {
  display: flex;
  align-items: center;
  height: 14px;
  background-color: #F4EFE4;
  overflow: hidden;
}

nav.scaffoldbay-nav .standards-strip .standard {
  position: relative;
  width: 9px;
  height: 200%;
  left: -6px;
  margin: -6px 0;
  background-color: #8A4038;
  border-radius: 2px;
}

nav.scaffoldbay-nav .standards-strip .ledger-rail {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  margin: -4px -8px 0 -6px;
  background-color: #5D7A96;
}

nav.scaffoldbay-nav .standards-strip .ledger-rail .coupler-dot {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5D7A96;
}

nav.scaffoldbay-nav .standards-strip .coupler-dot.c1 { left: 10%; }
nav.scaffoldbay-nav .standards-strip .coupler-dot.c2 { left: 26%; }
nav.scaffoldbay-nav .standards-strip .coupler-dot.c3 { left: 44%; }
nav.scaffoldbay-nav .standards-strip .coupler-dot.c4 { left: 66%; }
nav.scaffoldbay-nav .standards-strip .coupler-dot.c5 { left: 84%; }

nav.scaffoldbay-nav .standards-strip .hi-vis {
  position: relative;
  width: 34px;
  height: 100%;
  margin-left: auto;
  margin-right: 10px;
  background-color: #C8CC4E;
  border-left: 2px solid #FFFDF9;
  border-right: 2px solid #FFFDF9;
}

nav.scaffoldbay-nav .standards-strip .hi-vis::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background-color: #FFFDF9;
}

nav.scaffoldbay-nav .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 12px 0;
}

nav.scaffoldbay-nav .brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2E2C28;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

nav.scaffoldbay-nav .coupler-glyph {
  width: 15px;
  height: 15px;
  background-color: #FFFDF9;
  border: 2px solid #8A4038;
  border-radius: 3px;
  position: relative;
  flex: 0 0 auto;
}

nav.scaffoldbay-nav .coupler-glyph::before,
nav.scaffoldbay-nav .coupler-glyph::after {
  content: "";
  position: absolute;
  background-color: #5D7A96;
  border-radius: 2px;
}

nav.scaffoldbay-nav .coupler-glyph::before {
  left: -2px;
  right: -2px;
  top: 5px;
  height: 2px;
}

nav.scaffoldbay-nav .coupler-glyph::after {
  top: -2px;
  bottom: -2px;
  left: 5px;
  width: 2px;
}

nav.scaffoldbay-nav .links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav.scaffoldbay-nav .links a {
  color: #2E2C28;
  padding: 8px 6px;
  position: relative;
  transition: color 0.2s ease;
}

nav.scaffoldbay-nav .links a:hover {
  color: #8A4038;
}

nav.scaffoldbay-nav .links a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 1px;
  height: 2px;
  background-color: #8A4038;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

nav.scaffoldbay-nav .links a:hover::after {
  transform: scaleX(1);
}

nav.scaffoldbay-nav .links .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #5D7A96;
  margin: 0 5px;
}

nav.scaffoldbay-nav .toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: 2px solid #8A4038;
  border-radius: 4px;
}

nav.scaffoldbay-nav .toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #8A4038;
}

@media (max-width: 760px) {
  nav.scaffoldbay-nav .toggle {
    display: flex;
  }

  nav.scaffoldbay-nav .links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 0 12px;
    border-top: 1px solid #E3DFD6;
  }

  nav.scaffoldbay-nav .links.open {
    display: flex;
  }

  nav.scaffoldbay-nav .links .dot {
    display: none;
  }
}

/* ---- ============ RISER-DIAGRAM HERO ============ */
section.riserhero {
  background-color: #F7F5F1;
  overflow: hidden;
}

section.riserhero .hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 30px;
  padding: 60px 24px 70px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  section.riserhero .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 50px;
  }
}

section.riserhero .hero-copy {
  position: relative;
  z-index: 2;
}

section.riserhero .eyebrow {
  display: inline-block;
  background-color: #8A4038;
  color: #FFFDF9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  margin: 0 0 20px;
}

section.riserhero h1 {
  font-size: 46px;
  line-height: 1.06;
  color: #2E2C28;
  margin: 0 0 20px;
}

section.riserhero h1 .sys {
  color: #8A4038;
}

section.riserhero .hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: #403D37;
  max-width: 620px;
  margin: 0 0 24px;
}

section.riserhero .hero-sub strong {
  color: #2E2C28;
}

section.riserhero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

section.riserhero .btn {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

section.riserhero .btn-primary {
  background-color: #8A4038;
  color: #FFFDF9;
  border: 1px solid #8A4038;
}

section.riserhero .btn-primary:hover {
  background-color: #6E3B33;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(138, 64, 56, 0.2);
}

section.riserhero .btn-outline {
  background-color: transparent;
  color: #8A4038;
  border: 1px solid #8A4038;
}

section.riserhero .btn-outline:hover {
  background-color: #8A4038;
  color: #FFFDF9;
  transform: translateY(-2px);
}

/* Engineering board (right visual) */
.engineering-board {
  position: relative;
  height: 480px;
  background-color: #F4EFE4;
  border: 1px solid #E3DFD6;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 8px 10px 0 rgba(138, 64, 56, 0.12);
}

.riser-sheet {
  position: relative;
  background-color: #FFFDF9;
  border: 1px solid #D9D3C6;
  height: 250px;
  border-radius: 3px;
  padding: 14px;
}

.riser-sheet .level {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, #5D7A96 0 8px, transparent 8px 13px);
}

.riser-sheet .level.l1 { top: 40px; }
.riser-sheet .level.l2 { top: 80px; }
.riser-sheet .level.l3 { top: 120px; }
.riser-sheet .level.l4 { top: 160px; }
.riser-sheet .level.l5 { top: 200px; }

.riser-sheet .level-tag {
  position: absolute;
  right: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  color: #5D7A96;
  letter-spacing: 0.1em;
  transform: translateY(-100%);
}

.riser-sheet .riser-pipe {
  position: absolute;
  top: 18px;
  bottom: 12px;
  left: 40px;
  width: 14px;
  background-color: #5D7A96;
  border-radius: 2px;
}

.riser-sheet .riser-pipe.fire {
  left: 74px;
  width: 12px;
  background-color: #8A4038;
}

.riser-sheet .footer-riser {
  position: absolute;
  bottom: 10px;
  left: 74px;
  width: 12px;
  height: 22px;
  background-color: #8A4038;
}

.riser-sheet .footer-riser .valve {
  position: absolute;
  right: -9px;
  width: 10px;
  height: 5px;
  background-color: #C8CC4E;
}

.valve-sym {
  position: absolute;
  background-color: #FFFDF9;
  border: 2px solid #5D7A96;
  width: 11px;
  height: 7px;
  border-radius: 2px;
}

.valve-sym.v1 { left: 42px; top: 62px; }
.valve-sym.v2 { left: 46px; top: 106px; }
.valve-sym.v3 { left: 42px; top: 148px; }

.sheet-label {
  position: absolute;
  left: 6px;
  top: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2E2C28;
  font-weight: 700;
}

.sheet-rule {
  position: absolute;
  top: 16px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: #8A4038;
}

.fuseboard {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 108px;
  background-color: #C9C4BA;
  border: 3px solid #94908A;
  padding: 8px 7px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fuseboard .fb-row {
  height: 10px;
  background-color: #FFFDF9;
  border: 1px solid #94908A;
  position: relative;
}

.fuseboard .fb-row .on {
  position: absolute;
  top: 0;
  left: 4px;
  height: 4px;
  width: 3px;
  background-color: #2E2C28;
}

.fuseboard .fb-row.hl {
  background-color: #C8CC4E;
}

.pipe-spool {
  position: absolute;
  left: 18px;
  bottom: 12px;
  width: 120px;
  height: 34px;
  background-color: #5D7A96;
  border-radius: 17px;
}

.pipe-spool .flange {
  position: absolute;
  top: -5px;
  height: 44px;
  width: 22px;
  background-color: #94908A;
  border-radius: 6px;
}

.pipe-spool .flange.f1 { left: -6px; }
.pipe-spool .flange.f2 { right: -6px; }

.pipe-spool .bolt {
  position: absolute;
  top: -5px;
  width: 8px;
  height: 8px;
  background-color: #2E2C28;
  border-radius: 50%;
}

.pipe-spool .bolt.b1 { left: -9px; }
.pipe-spool .bolt.b2 { left: -9px; top: 31px; }
.pipe-spool .bolt.b3 { right: -12px; }
.pipe-spool .bolt.b4 { right: -12px; top: 31px; }

.torque-wrench {
  position: absolute;
  right: 30px;
  bottom: 10px;
  width: 90px;
  height: 14px;
  background-color: #2E2C28;
  border-radius: 3px;
  transform: rotate(-6deg);
}

.torque-wrench .scale {
  position: absolute;
  left: 12px;
  top: -8px;
  width: 34px;
  height: 16px;
  background-color: #FFFDF9;
  border: 2px solid #8A4038;
  border-radius: 2px;
}

.notice-board {
  position: absolute;
  left: -6px;
  bottom: -6px;
  right: -6px;
  height: 92px;
  background-color: #EFE4D1;
  border: 2px solid #D5C7AE;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
}

.notice-board .permit-card {
  flex: 1 1 0;
  background-color: #FFFDF9;
  border-top: 8px solid #8A4038;
  border-radius: 2px;
  position: relative;
  padding-top: 4px;
  box-shadow: 2px 2px 0 rgba(73, 60, 44, 0.18);
}

.notice-board .permit-card .tc {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 9px;
  height: 9px;
  background-color: #C8CC4E;
}

.permit-lines {
  margin: 14px 4px 4px;
}

.permit-lines .pl {
  height: 4px;
  background-color: #E3DFD6;
  margin-bottom: 4px;
  border-radius: 2px;
}

.permit-lines .pl.fill {
  background-color: #C8CC4E;
}

.hard-hat {
  position: absolute;
  bottom: 92px;
  left: 34px;
  width: 44px;
  height: 34px;
  background-color: #8A4038;
  border-radius: 50% 50% 0 0;
}

.hard-hat::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0;
  height: 8px;
  background-color: #8A4038;
  border-radius: 2px;
}

@media (max-width: 520px) {
  section.riserhero h1 {
    font-size: 34px;
  }
  .engineering-board {
    height: 480px;
  }
  .notice-board {
    gap: 5px;
  }
}

/* ---- ============ SECTION HEADINGS ============ */
.section-title {
  font-size: 34px;
  color: #8A4038;
  margin-bottom: 18px;
}

.sec-intro {
  font-size: 17px;
  color: #403D37;
  max-width: 820px;
  line-height: 1.75;
}

.newsign {
  display: flex;
  flex-direction: column;
}

/* ---- ============ PERMIT-CARD ROWS ============ */
section.permitrows {
  background-color: #F7F5F1;
  padding: 70px 0 76px;
}

section.permitrows .container > p {
  margin-bottom: 34px;
}

.permit-row {
  display: grid;
  grid-template-columns: 190px 1fr 120px;
  align-items: center;
  gap: 24px;
  background-color: #FFFDF9;
  border: 1px solid #E3DFD6;
  border-radius: 4px;
  padding: 22px 24px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.permit-row:hover {
  box-shadow: 0 10px 22px rgba(43, 40, 34, 0.08);
  border-color: #D5CCBE;
}

@media (max-width: 820px) {
  .permit-row {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 14px;
  }
  .permit-tab {
    max-width: 220px;
  }
  .permit-gauge {
    justify-self: start;
  }
}

.permit-tab {
  position: relative;
  background-color: #F4EFE4;
  border: 1px solid #E3DFD6;
  border-radius: 3px;
  overflow: hidden;
  padding: 8px 10px 12px;
}

.permit-tab .pm-head {
  background-color: #8A4038;
  color: #FFFDF9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin: -8px -10px 10px;
  padding: 6px 8px;
}

.permit-tab .fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 18px solid #C8CC4E;
  border-left: 18px solid transparent;
}

.permit-tab .card-no {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #8A4038;
  letter-spacing: 0.08em;
}

.permit-tab .dash {
  height: 3px;
  width: 70%;
  background-color: #E3DFD6;
  margin: 6px 0;
}

.permit-tab .stamp {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #8A4038;
  border: 1px solid #8A4038;
  border-radius: 2px;
  padding: 1px 5px;
  text-transform: uppercase;
}

.permit-row h3 {
  font-size: 20px;
  color: #2E2C28;
  margin-bottom: 8px;
}

.permit-row .row-copy {
  color: #403D37;
  line-height: 1.7;
  font-size: 15.5px;
}

.permit-gauge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 7px solid #8A4038;
  background-color: #FFFDF9;
  position: relative;
}

.permit-gauge .needle {
  position: absolute;
  left: 50%;
  bottom: 42%;
  width: 3px;
  height: 34px;
  background-color: #5D7A96;
  transform-origin: 50% 100%;
}

.permit-row.p1 .needle { transform: rotate(-70deg) translateX(-1px); }
.permit-row.p2 .needle { transform: rotate(-20deg) translateX(-1px); }
.permit-row.p3 .needle { transform: rotate(30deg) translateX(-1px); }
.permit-row.p4 .needle { transform: rotate(75deg) translateX(-1px); }
.permit-row.p5 .needle { transform: rotate(120deg) translateX(-1px); }

.permit-gauge .hub {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2E2C28;
}

.permit-gauge .imark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #94908A;
  left: 50%;
  top: 50%;
  transform: translate(-1px, -1px);
}

/* mark ring points */
.permit-gauge .tic { position: absolute; background-color: #E3DFD6; }
.permit-gauge .tic.t1 { left: 12px; top: 20px; width: 3px; height: 8px; }
.permit-gauge .tic.t2 { right: 12px; top: 20px; width: 3px; height: 8px; }
.permit-gauge .tic.t3 { left: 6px; top: 50%; width: 8px; height: 3px; }
.permit-gauge .tic.t4 { right: 6px; top: 50%; width: 8px; height: 3px; }

/* ---- ============ METRIC BAND ============ */
section.metric-band {
  background-color: #F4EFE4;
  padding: 46px 0;
  border-top: 3px solid #E3DFD6;
  border-bottom: 3px solid #E3DFD6;
}

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

@media (max-width: 760px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 0;
  }
}

.metric-item {
  position: relative;
  text-align: center;
  padding: 8px 16px;
}

.metric-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background-color: #CEC6B8;
}

@media (max-width: 760px) {
  .metric-item:nth-child(2)::after {
    display: none;
  }
}

.metric-item .num {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #8A4038;
  line-height: 1;
}

.metric-item .lbl {
  display: block;
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b564e;
}

/* ---- ============ STATEMENT BAND ============ */
section.statement-band {
  background-color: #FFFDF9;
  padding: 64px 0;
  border-top: 1px solid #E3DFD6;
}

.statement-box {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 20px;
  border-left: 4px solid #C8CC4E;
}

.statement-box p {
  font-size: 23px;
  line-height: 1.6;
  color: #2E2C28;
  font-family: Georgia, Times New Roman, Times, serif;
  margin-bottom: 16px;
}

.statement-box .attrib {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A4038;
  font-weight: 700;
}

/* ---- ============ CTA BAND ============ */
section.cta-band {
  background-color: #F7F5F1;
  padding: 70px 0;
  text-align: center;
}

section.cta-band h2 {
  font-size: 34px;
  color: #8A4038;
  margin-bottom: 14px;
}

section.cta-band p {
  font-size: 17px;
  color: #403D37;
  max-width: 640px;
  margin: 0 auto 26px;
}

section.cta-band .btn-big {
  display: inline-block;
  background-color: #8A4038;
  color: #FFFDF9;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 4px;
  border: 1px solid #8A4038;
  transition: background 0.2s ease, transform 0.16s ease;
}

section.cta-band .btn-big:hover {
  background-color: #6E3B33;
  transform: translateY(-2px);
}

/* ---- ============ NOTICE-BOARD FOOTER ============ */
footer.noticeboard-footer {
  background-color: #26241F;
  color: #E8E2D4;
  position: relative;
  z-index: 1;
  padding: 0;
}

footer.noticeboard-footer .cable-tray {
  position: relative;
  height: 16px;
  background-color: #20201C;
  border-top: 1px solid #8A4038;
  overflow: visible;
}

footer.noticeboard-footer .cable-tray .ch {
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 6px;
  background-color: #5D7A96;
  border-radius: 15px;
}

footer.noticeboard-footer .cable-tray .ch.a { left: 20%; }
footer.noticeboard-footer .cable-tray .ch.b { left: 24%; }
footer.noticeboard-footer .cable-tray .ch.c { left: 28%; }
footer.noticeboard-footer .cable-tray .u-shape {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 2px;
  right: 0;
  border: 4px solid #5D7A96;
  border-top-width: 0;
  border-right: none;
  filter: saturate(0.54);
}

footer.noticeboard-footer .cable-tray .bend {
  position: absolute;
  right: 0;
  bottom: 257px;
  width: 24px;
  height: 24px;
}

footer.noticeboard-footer .foot-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 24px 42px;
  text-align: center;
}

footer.noticeboard-footer .footword {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #F4EFE4;
  text-transform: uppercase;
  margin-bottom: 18px;
}

footer.noticeboard-footer .footword .coupler-glyph {
  width: 17px;
  height: 17px;
  background-color: #26241F;
  border: 2px solid #8A4038;
  border-radius: 3px;
  position: relative;
}

footer.noticeboard-footer .footword .coupler-glyph::before,
footer.noticeboard-footer .footword .coupler-glyph::after {
  content: "";
  position: absolute;
  background-color: #C8CC4E;
  border-radius: 2px;
}

footer.noticeboard-footer .footword .coupler-glyph::before {
  left: -2px;
  right: -2px;
  top: 6px;
  height: 2px;
}

footer.noticeboard-footer .footword .coupler-glyph::after {
  top: -2px;
  bottom: -2px;
  left: 6px;
  width: 2px;
}

footer.noticeboard-footer .foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E8E2D4;
}

footer.noticeboard-footer .foot-links a {
  color: #E8E2D4;
  transition: color 0.2s ease;
}

footer.noticeboard-footer .foot-links a:hover {
  color: #C8CC4E;
}

footer.noticeboard-footer .hat-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

footer.noticeboard-footer .hat-divider .dotc {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #5D7A96;
}

footer.noticeboard-footer .hat-divider .hardhat {
  position: relative;
  width: 56px;
  height: 40px;
  background-color: #C8CC4E;
  border-radius: 50% 50% 0 0;
}

footer.noticeboard-footer .hat-divider .hardhat::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 0;
  height: 9px;
  background-color: #C8CC4E;
  border-radius: 3px;
}

footer.noticeboard-footer .hat-divider .hardhat .mstripe {
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 5px;
  background-color: #8A4038;
}

footer.noticeboard-footer .hat-divider .clip {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 8px;
  height: 8px;
  background-color: #5D7A96;
  transform: rotate(45deg);
}

footer.noticeboard-footer .foot-legal {
  font-size: 14px;
  color: #CDC7B9;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

footer.noticeboard-footer .foot-legal a {
  color: #E8E2D4;
  border-bottom: 1px solid #5D7A96;
}

footer.noticeboard-footer .foot-legal a:hover {
  color: #C8CC4E;
}

/* ---- ============ SECONDARY PAGE COMMON (services / contact) ============ */
.site-page main {
  background-color: #F7F5F1;
}

.page-hero {
  background-color: #F7F5F1;
  padding: 52px 0 44px;
  border-bottom: 2px solid #E3DFD6;
  position: relative;
}

.page-hero h1 {
  font-size: 40px;
  color: #2E2C28;
  margin-bottom: 14px;
}

.page-hero h1 .sys {
  color: #8A4038;
}

.page-hero .crumbs {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b564e;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-hero .crumbs a {
  color: #8A4038;
  font-weight: 700;
}

.page-hero .crumbs .cdot {
  color: #5D7A96;
}

.page-hero p.lede {
  font-size: 18px;
  color: #403D37;
  max-width: 820px;
  line-height: 1.7;
}

/* Primary content band used on services/contact */
.content-section {
  padding: 56px 0 20px;
}

.content-section h2 {
  font-size: 28px;
  color: #8A4038;
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 20px;
  color: #2E2C28;
  margin: 26px 0 10px;
}

.content-section p {
  color: #403D37;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ---- Services deep cards ---- */
.service-block {
  background-color: #FFFDF9;
  border: 1px solid #E3DFD6;
  border-radius: 5px;
  padding: 30px 32px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  border-left: 5px solid #8A4038;
}

@media (max-width: 700px) {
  .service-block {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }
}

.service-block .svc-glyph {
  width: 46px;
  height: 46px;
  border: 3px solid #5D7A96;
  border-radius: 4px;
  position: relative;
}

.service-block .svc-glyph::before {
  content: "";
  position: absolute;
  inset: 10px;
  background-color: #8A4038;
  border-radius: 2px;
  filter: saturate(0.14);
}

.service-block h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #2E2C28;
}

.service-block h3 span.no {
  color: #8A4038;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-family: Arial, Helvetica, sans-serif;
  margin-right: 8px;
}

.service-block ul {
  padding-left: 0;
}

.service-block ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: #403D37;
}

.service-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #8A4038;
}

.process-strip {
  background-color: #F4EFE4;
  border: 1px solid #E3DFD6;
  border-radius: 5px;
  padding: 30px 32px;
  margin-bottom: 30px;
}

.process-strip ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: proc;
}

@media (max-width: 800px) {
  .process-strip ol {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 460px) {
  .process-strip ol {
    grid-template-columns: 1fr;
  }
}

.process-strip ol li {
  counter-increment: proc;
  position: relative;
  padding: 46px 4px 4px;
  text-align: center;
}

.process-strip ol li::before {
  content: counter(proc);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #8A4038;
  background-color: #FFFDF9;
  color: #8A4038;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.process-strip ol li strong {
  display: block;
  color: #2E2C28;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
}

.process-strip ol li span {
  font-size: 14px;
  color: #5b564e;
}

/* ---- Contact ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.info-panel {
  background-color: #F4EFE4;
  border: 1px solid #E3DFD6;
  border-radius: 5px;
  padding: 28px;
}

.info-panel h3 {
  font-size: 20px;
  color: #8A4038;
  margin-bottom: 10px;
}

.info-panel .irow {
  padding: 14px 0;
  border-bottom: 1px solid #DED6C7;
}

.info-panel .irow:last-child {
  border-bottom: 0;
}

.info-panel .lab {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6E3B33;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.info-panel .val {
  color: #2E2C28;
  font-size: 16px;
}

.info-panel .hour-strip {
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #8A4038 0 78%, #94908A 78% 100%);
}

.form-panel {
  background-color: #FFFDF9;
  border: 1px solid #E3DFD6;
  border-radius: 5px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(43, 40, 34, 0.06);
}

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

.form-field label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2E2C28;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #C9C2B3;
  background-color: #FFFFFf;
  border-radius: 3px;
  padding: 11px 12px;
  font-family: Georgia, Times New Roman, Times, serif;
  font-size: 15px;
  color: #2E2C28;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #8A4038;
  outline-offset: 0;
  border-color: #8A4038;
}

.form-note {
  font-size: 13px;
  color: #5b564e;
  margin-bottom: 18px;
}

.form-submit {
  background-color: #8A4038;
  color: #FFFDF9;
  border: 1px solid #8A4038;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 24px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.16s ease;
}

.form-submit:hover {
  background-color: #6E3B33;
  transform: translateY(-2px);
}

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 12px;
  border-radius: 3px;
  font-weight: 700;
}

.form-msg.ok {
  display: block;
  background-color: #C8CC4E;
  color: #26241F;
}

.form-msg.err {
  display: block;
  background-color: #8A4038;
  color: #FFFDF9;
}

/* contact FAQ */
.faq-panel {
  background-color: #F4EFE4;
  border: 1px solid #E3DFD6;
  border-radius: 5px;
  padding: 34px 32px;
  margin: 30px 0 0;
}

.faq-panel h2 {
  font-size: 26px;
  color: #8A4038;
  margin-bottom: 6px;
}

.faq-item {
  margin-bottom: 0;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #DED6C7;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #2E2C28;
  padding: 18px 4px;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #8A4038;
}

.faq-item.open .faq-q::after {
  content: "–";
}

.faq-a {
  display: none;
  padding: 4px 34px 18px 4px;
  color: #403D37;
  line-height: 1.7;
  border-bottom: 1px solid #DED6C7;
}

.faq-item.open .faq-a {
  display: block;
}

/* small helper text */
.smallprint {
  font-size: 13px;
  color: #5b564e;
}

/* ---- scroll reveal (JS enhanced, safe fallback) ----
   Elements are fully visible by default. The hidden starting state is only
   applied once the script has added the "js" class to <html>, so content is
   never invisible when JavaScript is disabled or fails to load. */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .fade-up.reveal-rs {
  opacity: 0;
  transform: translateY(16px);
}

html.js .fade-up.reveal-rs.visible {
  opacity: 1;
  transform: none;
}
