/* Jilly International (Hong Kong) Limited — directors minute room */
/* Palette: BOARDROOM #E2DCEE wall, SEAL-WAX #923C3C accent, CUSTODY #181E26 welds,
   RESO-PANEL #E6E0D4 panels, STAMP-BRASS #8E7430 tertiary, LEDGER-GREY #606272 chips only. */

:root {
  --rail-wall: #E2DCEE;
  --rail-wall-deep: #D6CEE4;
  --rail-wall-edge: #C4BAD6;
  --wax: #923C3C;
  --wax-dark: #7A3030;
  --wax-deep: #632626;
  --custody: #181E26;
  --custody-soft: #232B36;
  --custody-line: #34404E;
  --panel: #E6E0D4;
  --panel-deep: #DAD2C1;
  --panel-line: #C9BFAC;
  --brass: #8E7430;
  --brass-light: #B79A4E;
  --brass-dark: #6E5A22;
  --minute: #242C34;
  --minute-soft: #3A444E;
  --chip: #606272;
  --paper: #F4EFE5;
  --paper-line: #D2C7B2;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 16px;
  font-family: var(--sans);
  background-color: var(--rail-wall);
  color: var(--minute);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--rail-wall);
}

a { color: var(--wax); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--minute);
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow-x: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- scroll reveal ---------- */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.is-shown {
  opacity: 1;
  transform: none;
}
.no-js .reveal-item { opacity: 1; transform: none; }

/* ---------- RESOLUTION NAV ---------- */
.resolutionrail {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--custody);
  border-bottom: 3px solid var(--wax);
  box-shadow: 0 2px 0 var(--brass-dark);
}

.resolutionrail-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}

.resolutionrail-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.resolutionrail-brand:hover { text-decoration: none; }

.resolutionrail-badge {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background-color: var(--wax);
  border: 2px solid var(--brass);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 3px var(--wax-dark);
}

.resolutionrail-name {
  color: var(--rail-wall);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  max-width: 210px;
}

.resolutionrail-tabs {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  gap: 6px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.resolutionrail-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--rail-wall);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--custody-line);
  border-top: 3px solid var(--brass);
  background-color: var(--custody-soft);
  transition: background-color 0.2s ease, color 0.2s ease, border-top-color 0.2s ease;
}
.resolutionrail-tab:hover {
  background-color: var(--wax);
  border-top-color: var(--brass-light);
  text-decoration: none;
}
.resolutionrail-tab.is-current {
  background-color: var(--wax);
  border-top-color: var(--paper);
}

.resolutionrail-tab--home { flex: 0 1 72px; }
.resolutionrail-tab--services { flex: 0 1 98px; }
.resolutionrail-tab--contact { flex: 0 1 90px; }
.resolutionrail-tab--privacy { flex: 0 1 108px; }
.resolutionrail-tab--terms { flex: 0 1 88px; }

.resolutionrail-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--brass);
  background-color: var(--custody-soft);
  color: var(--rail-wall);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.resolutionrail-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--brass-light);
}

/* ---------- MINUTE BOOK HERO ---------- */
.minutebook {
  padding: 44px 0 0;
  background-color: var(--rail-wall);
  position: relative;
}

.minutebook-head {
  max-width: 860px;
  padding-bottom: 30px;
}

.minutebook-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wax);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.minutebook-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  margin-bottom: 0.2em;
  color: var(--minute);
}

.minutebook-display {
  display: block;
  font-size: clamp(4rem, 13vw, 9.2rem);
  line-height: 0.86;
  color: var(--wax);
  letter-spacing: -0.02em;
  margin: 0.02em 0 0.16em;
  font-style: italic;
}

.minutebook-copy {
  max-width: 660px;
  font-size: 17px;
  color: var(--minute);
}

.minutebook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 700;
  color: var(--wax);
  border-bottom: 2px solid var(--wax);
  padding-bottom: 2px;
  letter-spacing: 0.01em;
}
.minutebook-link .arrow { font-size: 15px; }
.minutebook-link:hover { text-decoration: none; color: var(--wax-dark); }

/* room band */
.minutebook-room {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1fr;
  gap: 0;
  align-items: end;
  background-color: var(--panel);
  border: 1px solid var(--panel-line);
  border-bottom: none;
  box-shadow: 0 -4px 0 var(--rail-wall-edge);
  overflow-x: hidden;
}

/* left: resolution rail with seal tags */
.minutebook-railzone {
  position: relative;
  padding: 26px 22px 30px;
  background-color: var(--rail-wall-deep);
  border-right: 1px solid var(--panel-line);
  min-height: 300px;
}

.minutebook-railhead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--minute-soft);
  margin-bottom: 18px;
}
.minutebook-railhead::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--brass);
}

.minutebook-railbar {
  position: relative;
  height: 12px;
  background-color: var(--custody);
  border: 1px solid var(--custody-line);
  margin-bottom: 14px;
}

.minutebook-seals {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.minutebook-seal {
  position: relative;
  width: 58px;
  height: 76px;
  background-color: var(--paper);
  border: 1px solid var(--panel-line);
  border-top: 5px solid var(--wax);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 8px;
}
.minutebook-seal::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  margin-left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--wax);
  border: 3px solid var(--wax-deep);
}
.minutebook-seal span {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--minute);
}
.minutebook-seal--b { transform: translateY(22px); height: 66px; }
.minutebook-seal--c { transform: translateY(8px); width: 50px; }
.minutebook-seal--d { transform: translateY(30px); height: 70px; width: 54px; }

/* center: minute book stand */
.minutebook-standzone {
  position: relative;
  padding: 24px 22px 0;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.minutebook-stand {
  width: 230px;
  position: relative;
  padding-bottom: 4px;
}

.minutebook-bookleft,
.minutebook-bookright {
  position: absolute;
  bottom: 34px;
  width: 112px;
  height: 150px;
  background-color: var(--paper);
  border: 1px solid var(--panel-line);
  box-shadow: 0 2px 0 var(--panel-line);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 19px,
    var(--paper-line) 19px,
    var(--paper-line) 20px
  );
}
.minutebook-bookleft {
  left: 2px;
  transform: skewY(6deg);
  border-left: 4px solid var(--wax);
}
.minutebook-bookright {
  right: 2px;
  transform: skewY(-6deg);
  border-right: 4px solid var(--wax);
}
.minutebook-bookleft::after,
.minutebook-bookright::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 24px;
  height: 2px;
  background-color: var(--minute-soft);
  box-shadow: 0 20px 0 var(--minute-soft), 0 40px 0 var(--minute-soft);
}

.minutebook-standfoot {
  position: relative;
  height: 34px;
  background-color: var(--custody);
  border: 1px solid var(--custody-line);
  border-top: 4px solid var(--brass);
}
.minutebook-standfoot::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -12px;
  height: 10px;
  background-color: var(--custody-soft);
}
.minutebook-standbase {
  position: absolute;
  left: 50%;
  margin-left: -70px;
  bottom: -22px;
  width: 140px;
  height: 10px;
  background-color: var(--brass-dark);
}

/* right: brass stamp tray */
.minutebook-trayzone {
  position: relative;
  padding: 26px 22px 34px;
  background-color: var(--panel-deep);
  border-left: 1px solid var(--panel-line);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.minutebook-trayhead {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--minute-soft);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brass);
}

.minutebook-tray {
  position: relative;
  height: 96px;
  border: 2px solid var(--brass-dark);
  background-color: var(--brass);
  box-shadow: inset 0 6px 0 var(--brass-light), inset 0 -6px 0 var(--brass-dark);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 0 14px 10px;
}

.minutebook-stamp {
  width: 44px;
  height: 52px;
  background-color: var(--custody);
  border: 1px solid var(--custody-line);
  position: relative;
}
.minutebook-stamp::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  margin-left: -9px;
  width: 18px;
  height: 14px;
  border-radius: 4px 4px 0 0;
  background-color: var(--custody-soft);
}
.minutebook-stamp::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 2px;
  background-color: var(--brass-light);
  box-shadow: 0 -8px 0 var(--brass-light);
}
.minutebook-stamp--tall { height: 62px; width: 40px; }

/* primary CTA bar */
.minutebook-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: var(--wax);
  color: var(--paper);
  padding: 20px 28px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  border-top: 3px solid var(--wax-deep);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.minutebook-cta:hover {
  background-color: var(--wax-dark);
  text-decoration: none;
  color: var(--paper);
}
.minutebook-cta .arrow {
  font-size: 22px;
  line-height: 1;
}

/* ---------- RESO ROWS ---------- */
.resorow {
  padding: 84px 0 70px;
  background-color: var(--rail-wall);
  position: relative;
}

.resorow-head {
  max-width: 620px;
  margin-bottom: 44px;
}
.resorow-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wax);
  margin-bottom: 12px;
}
.resorow-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--minute);
  margin-bottom: 14px;
}
.resorow-intro {
  color: var(--minute-soft);
  font-size: 16.5px;
}

.resorow-rail {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--rail-wall-edge);
}

.resorow-item {
  position: relative;
  background-color: var(--paper);
  border: 1px solid var(--panel-line);
  border-left: 5px solid var(--wax);
  padding: 24px 26px 22px;
  margin-bottom: 22px;
  box-shadow: 3px 3px 0 var(--panel-deep);
  max-width: 680px;
}
.resorow-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 30px;
  width: 14px;
  height: 14px;
  background-color: var(--wax);
  border: 3px solid var(--rail-wall);
  border-radius: 50%;
}

.resorow-item--a { margin-left: 0; max-width: 640px; }
.resorow-item--b { margin-left: 46px; max-width: 610px; }
.resorow-item--c { margin-left: 14px; max-width: 700px; }
.resorow-item--d { margin-left: 84px; max-width: 590px; }
.resorow-item--e { margin-left: 24px; max-width: 660px; }
.resorow-item--f { margin-left: 62px; max-width: 620px; }

.resorow-mark {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chip);
  border: 1px solid var(--chip);
  padding: 1px 7px;
  margin-bottom: 12px;
}

.resorow-name {
  font-size: 1.32rem;
  margin-bottom: 8px;
  color: var(--minute);
}
.resorow-name a { color: var(--minute); }
.resorow-name a:hover { color: var(--wax); text-decoration: none; }

.resorow-text {
  margin: 0;
  color: var(--minute-soft);
  font-size: 15.5px;
}

.resorow-stamp {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid var(--wax);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  color: var(--wax);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--paper);
}
.resorow-stamp--one {
  right: 18px;
  top: -16px;
  width: 54px;
  height: 54px;
  transform: rotate(-8deg);
}
.resorow-stamp--two {
  right: 30px;
  bottom: -14px;
  width: 38px;
  height: 38px;
  border-style: double;
  transform: rotate(11deg);
}

.resorow-more {
  margin-top: 20px;
  padding-left: 30px;
}
.resorow-more a {
  font-weight: 700;
  color: var(--wax);
  border-bottom: 2px solid var(--wax);
  padding-bottom: 2px;
}

/* ---------- prose block on homepage ---------- */
.resorow-prose {
  margin-top: 64px;
  padding: 40px 42px;
  background-color: var(--panel);
  border: 1px solid var(--panel-line);
  border-top: 4px solid var(--custody);
  columns: 1;
}
.resorow-prose h3 {
  font-size: 1.5rem;
  color: var(--minute);
  margin-bottom: 12px;
}
.resorow-prose p {
  color: var(--minute-soft);
  font-size: 16px;
}
.resorow-prose a { color: var(--wax); font-weight: 700; }

/* ---------- STAMP TRAY BAND ---------- */
.stamptray {
  background-color: var(--custody);
  color: var(--rail-wall);
  border-top: 4px solid var(--brass);
  border-bottom: 4px solid var(--brass-dark);
}
.stamptray-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}
.stamptray-edge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stamptray-edge i {
  display: block;
  width: 14px;
  height: 34px;
  background-color: var(--brass);
  border: 1px solid var(--brass-light);
  transform: skewX(-12deg);
}
.stamptray-line {
  font-family: var(--serif);
  font-size: 15.5px;
  color: var(--rail-wall);
  margin: 0;
  padding: 16px 0;
}
.stamptray-line a {
  color: var(--brass-light);
  text-decoration: underline;
}

/* ---------- home content sections ---------- */
.minutebook-extra {
  padding: 76px 0 64px;
  background-color: var(--rail-wall);
}
.minutebook-extra h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 760px;
}
.minutebook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
}
.minutebook-grid p {
  color: var(--minute-soft);
  font-size: 16px;
}
.minutebook-note {
  margin-top: 32px;
  padding: 22px 26px;
  background-color: var(--paper);
  border-left: 5px solid var(--brass);
  border-top: 1px solid var(--panel-line);
  border-right: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}
.minutebook-note p { margin: 0; color: var(--minute); font-size: 15.5px; }

/* accordion */
.minutebook-faq {
  margin-top: 28px;
  border-top: 1px solid var(--panel-line);
}
.minutebook-faq-item {
  border-bottom: 1px solid var(--panel-line);
}
.minutebook-faq-btn {
  width: 100%;
  text-align: left;
  background-color: var(--paper);
  border: none;
  border-left: 4px solid var(--wax);
  padding: 16px 18px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--minute);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.minutebook-faq-btn:hover { background-color: var(--panel); }
.minutebook-faq-btn .sign {
  flex: 0 0 auto;
  color: var(--wax);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
}
.minutebook-faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
  background-color: var(--paper);
}
.minutebook-faq-panel p {
  margin: 0;
  padding: 4px 20px 20px;
  color: var(--minute-soft);
  font-size: 15.5px;
  border-left: 4px solid var(--wax);
}

/* counters */
.minutebook-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}
.minutebook-mark {
  flex: 1 1 160px;
  border-left: 3px solid var(--brass);
  padding-left: 16px;
}
.minutebook-mark strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--wax);
  line-height: 1;
}
.minutebook-mark span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--minute-soft);
}

/* ---------- CUSTODY FOOTER ---------- */
.custodydesk {
  background-color: var(--custody);
  color: var(--rail-wall);
  padding: 52px 0 0;
  border-top: 6px solid var(--brass);
  position: relative;
}
.custodydesk::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background-color: var(--wax);
}
.custodydesk-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 34px 0 42px;
  position: relative;
}
.custodydesk-top::before {
  content: "";
  position: absolute;
  right: 0;
  top: -20px;
  width: 150px;
  height: 12px;
  background-color: var(--custody-soft);
  border: 1px solid var(--custody-line);
  box-shadow: 0 22px 0 var(--custody-soft), 0 44px 0 var(--custody-soft);
}
.custodydesk-press {
  position: absolute;
  left: -10px;
  top: 6px;
  width: 46px;
  height: 66px;
  border: 2px solid var(--brass);
  border-top-width: 12px;
  background-color: var(--custody-soft);
}
.custodydesk-press::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -14px;
  height: 10px;
  background-color: var(--wax);
}
.custodydesk-brand {
  padding-left: 54px;
  position: relative;
}
.custodydesk-brand h2 {
  color: var(--paper);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.custodydesk-brand p {
  color: var(--rail-wall-edge);
  font-size: 14.5px;
  max-width: 380px;
}
.custodydesk-colhead {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.custodydesk-colhead::after {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid var(--wax);
  border-radius: 50%;
  flex: 0 0 auto;
}
.custodydesk-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.custodydesk-links li { margin-bottom: 9px; }
.custodydesk-links a {
  color: var(--rail-wall);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--custody-line);
  padding-bottom: 1px;
}
.custodydesk-links a:hover {
  color: var(--paper);
  border-bottom-color: var(--brass-light);
}
.custodydesk-strip {
  border-top: 1px solid var(--custody-line);
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  align-items: center;
  font-size: 13.5px;
  color: var(--rail-wall-edge);
}
.custodydesk-strip a { color: var(--rail-wall); }
.custodydesk-strip a:hover { color: var(--paper); }
.custodydesk-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--wax);
  border-radius: 50%;
  color: var(--wax);
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: -3px;
}
.custodydesk-copy {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- SERVICES PAGE ---------- */
.servicesheet {
  padding: 64px 0 40px;
  background-color: var(--rail-wall);
}
.servicesheet-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 780px;
}
.servicesheet-head p {
  max-width: 720px;
  color: var(--minute-soft);
  font-size: 17px;
}
.servicesheet-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.servicesheet-item {
  background-color: var(--paper);
  border: 1px solid var(--panel-line);
  border-top: 5px solid var(--wax);
  padding: 28px 32px;
  box-shadow: 4px 4px 0 var(--panel-deep);
  position: relative;
}
.servicesheet-num {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chip);
  border: 1px solid var(--chip);
  padding: 1px 7px;
  margin-bottom: 12px;
}
.servicesheet-item h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.servicesheet-item p {
  color: var(--minute-soft);
  font-size: 16px;
}
.servicesheet-item p:last-child { margin-bottom: 0; }

.servicesheet-process {
  margin-top: 56px;
  padding: 38px 40px;
  background-color: var(--panel);
  border: 1px solid var(--panel-line);
  border-left: 6px solid var(--custody);
}
.servicesheet-process h2 { font-size: 1.7rem; }
.servicesheet-process ol {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--minute-soft);
}
.servicesheet-process li { margin-bottom: 12px; }
.servicesheet-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background-color: var(--wax);
  color: var(--paper);
  text-decoration: none;
  padding: 22px 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 14px;
  border-top: 3px solid var(--wax-deep);
}
.servicesheet-cta:hover { background-color: var(--wax-dark); color: var(--paper); text-decoration: none; }
.servicesheet-cta .arrow { font-size: 22px; }

/* ---------- CONTACT PAGE ---------- */
.contactsheet {
  padding: 64px 0 40px;
  background-color: var(--rail-wall);
}
.contactsheet-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.contactsheet-head p {
  max-width: 720px;
  color: var(--minute-soft);
  font-size: 17px;
}
.contactsheet-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  margin-top: 44px;
  align-items: start;
}
.contactsheet-form {
  background-color: var(--paper);
  border: 1px solid var(--panel-line);
  border-top: 5px solid var(--wax);
  padding: 30px 32px;
  box-shadow: 4px 4px 0 var(--panel-deep);
}
.contactsheet-form h2 { font-size: 1.4rem; }
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--minute-soft);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--minute);
  background-color: var(--rail-wall);
  border: 1px solid var(--panel-line);
  border-left: 3px solid var(--brass);
  padding: 11px 13px;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--wax);
  outline-offset: 1px;
}
.field textarea { min-height: 130px; resize: vertical; }
.contactsheet-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--wax);
  color: var(--paper);
  border: none;
  border-top: 3px solid var(--wax-deep);
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.contactsheet-submit:hover { background-color: var(--wax-dark); }
.contactsheet-status {
  margin-top: 14px;
  font-size: 14px;
  color: var(--minute);
  min-height: 20px;
}
.contactsheet-aside {
  background-color: var(--panel);
  border: 1px solid var(--panel-line);
  border-top: 5px solid var(--custody);
  padding: 26px 28px;
}
.contactsheet-aside h2 { font-size: 1.3rem; }
.contactsheet-aside h3 {
  font-size: 1rem;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wax);
  margin: 22px 0 6px;
}
.contactsheet-aside p { color: var(--minute-soft); font-size: 15px; margin-bottom: 6px; }
.contactsheet-aside a { color: var(--wax); font-weight: 700; }
.contactsheet-hours {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--panel-line);
  font-size: 14.5px;
  color: var(--minute-soft);
}
.contactsheet-faq {
  margin-top: 54px;
  max-width: 820px;
}
.contactsheet-faq h2 { font-size: 1.7rem; margin-bottom: 18px; }
.contactsheet-faq .minutebook-faq { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .resolutionrail-tabs {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background-color: var(--custody);
    border-top: 3px solid var(--wax);
    padding: 12px 20px 18px;
    gap: 8px;
    box-shadow: 0 8px 0 var(--custody-soft);
  }
  .resolutionrail-tabs.is-open { display: flex; }
  .resolutionrail-tab {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
    border-left: 4px solid var(--brass);
  }
  .resolutionrail-toggle { display: flex; }
  .resolutionrail-name { max-width: 160px; font-size: 13.5px; }
  .minutebook-room { grid-template-columns: 1fr; }
  .minutebook-railzone,
  .minutebook-standzone,
  .minutebook-trayzone {
    min-height: 0;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--panel-line);
  }
  .minutebook-standzone { padding-bottom: 34px; min-height: 250px; }
  .minutebook-grid { grid-template-columns: 1fr; gap: 8px; }
  .custodydesk-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .custodydesk-brand { grid-column: 1 / -1; }
  .contactsheet-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .resolutionrail-inner { padding: 8px 16px; }
  .resolutionrail-tabs { padding: 10px 14px 16px; }
  .minutebook { padding-top: 30px; }
  .minutebook-railzone,
  .minutebook-standzone,
  .minutebook-trayzone { padding-left: 18px; padding-right: 18px; }
  .resorow { padding: 56px 0 48px; }
  .resorow-rail { padding-left: 20px; }
  .resorow-item--a,
  .resorow-item--b,
  .resorow-item--c,
  .resorow-item--d,
  .resorow-item--e,
  .resorow-item--f {
    margin-left: 0;
    max-width: 100%;
  }
  .resorow-item::before { left: -28px; }
  .resorow-prose { padding: 26px 22px; }
  .resorow-more { padding-left: 20px; }
  .stamptray-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 18px; }
  .stamptray-edge { display: none; }
  .custodydesk-top { grid-template-columns: 1fr; }
  .custodydesk-brand { padding-left: 48px; }
  .custodydesk-copy { padding: 0 18px; }
  .servicesheet-item,
  .contactsheet-form,
  .contactsheet-aside,
  .servicesheet-process { padding: 22px 20px; }
  .minutebook-faq-btn { font-size: 15.5px; }
}
