/* =========================================================
   Merrill Service Co — Newburyport coastal heritage
   Weathered driftwood paper · maritime navy ink · old brass
   Serif headline (Cormorant Garamond / Georgia) · clean sans body
   ========================================================= */

:root {
  /* Paper & ink palette — driftwood off-white, navy ink, brass */
  --paper:        #F4ECDC;   /* warm driftwood/paper base */
  --paper-deep:   #E9DEC6;   /* shaded paper for alt sections */
  --paper-soft:   #FAF4E6;   /* lightest paper for cards */
  --rule:         #2A3A4C;   /* deep navy rule */
  --ink:          #1B2A3A;   /* maritime navy — primary text */
  --ink-soft:     #3E4E5F;   /* secondary text */
  --ink-mute:     #6E7884;   /* tertiary / metadata */
  --brass:        #9C7A3E;   /* old brass — accent only, never gold */
  --brass-deep:   #7E6230;
  --brass-soft:   #C8A45D;

  /* Type */
  --serif: 'Cormorant Garamond', 'EB Garamond', 'Adobe Caslon Pro',
           'Times New Roman', Georgia, serif;
  --sans:  'Inter', 'Helvetica Neue', -apple-system, BlinkMacSystemFont,
           'Segoe UI', Roboto, sans-serif;

  /* Geometry */
  --maxw: 1180px;
  --pad-x: clamp(20px, 5vw, 56px);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "onum", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* very faint paper texture — vertical fibres + warm wash */
  background-image:
    radial-gradient(ellipse at top left, rgba(156,122,62,0.06), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(27,42,58,0.05), transparent 55%),
    repeating-linear-gradient(180deg, rgba(27,42,58,0.012) 0 1px, transparent 1px 4px);
  background-attachment: fixed;
}

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(27,42,58,0.35); transition: color .18s var(--ease), text-decoration-color .18s var(--ease); }
a:hover { color: var(--brass-deep); text-decoration-color: var(--brass); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* =========================================================
   Mobile call bar — bottom, sticky
   ========================================================= */
.phonebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none;
  align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 -1px 0 var(--brass), 0 -10px 30px rgba(0,0,0,0.18);
}
.phonebar__rule { width: 36px; height: 1px; background: var(--brass); display: inline-block; }
.phonebar__label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-soft); }
.phonebar__num { font-weight: 500; }

/* =========================================================
   Masthead
   ========================================================= */
.masthead {
  padding: 22px var(--pad-x) 0;
  position: relative;
}
.masthead__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.masthead__left, .masthead__right {
  display: flex; align-items: center; gap: 22px;
}
.masthead__right { justify-content: flex-end; }
.masthead__est {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.masthead__brand {
  text-decoration: none;
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 4px;
  text-align: center;
}
.masthead__brand-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--brass-deep);
}
.masthead__brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
}
.masthead__nav {
  display: flex; gap: 22px;
}
.masthead__nav a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.masthead__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.masthead__nav a:hover { color: var(--ink); }
.masthead__nav a:hover::after { transform: scaleX(1); }
.masthead__phone {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.masthead__phone:hover { background: var(--ink); color: var(--paper); }
.masthead__rule {
  max-width: var(--maxw);
  margin: 22px auto 0;
  display: flex; flex-direction: column; gap: 3px;
}
.masthead__rule span {
  display: block; height: 1px; background: var(--rule);
}
.masthead__rule span:last-child { height: 2px; }

/* =========================================================
   PLATE — broadsheet hero with chart background
   ========================================================= */
.plate {
  position: relative;
  padding: clamp(48px, 9vw, 96px) var(--pad-x) clamp(56px, 9vw, 100px);
  overflow: hidden;
}
.plate__chart {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}
.plate__chart svg { width: 100%; height: 100%; }

.plate__inner {
  position: relative; z-index: 2;
  max-width: 980px; margin: 0 auto;
  text-align: center;
}
.plate__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px;
  margin: 0 0 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.plate__dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brass);
}

.plate__h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 9vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.plate__h1-local {
  display: inline-block;
  font-style: italic;
  color: var(--brass-deep);
  position: relative;
  padding: 0 0.08em;
}
.plate__h1-local::after {
  content: ""; position: absolute;
  left: 6%; right: 6%; bottom: 0.12em;
  height: 0.04em;
  background: var(--brass);
  opacity: 0.6;
}

.plate__lede {
  max-width: 640px;
  margin: 32px auto 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.plate__signatures {
  margin: 40px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
}

.plate__creds {
  margin: 56px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 28px;
  position: relative;
}
.plate__creds::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--rule); opacity: 0.4;
}
.plate__cred {
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid rgba(27,42,58,0.18);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.plate__cred:first-child { border-left: 0; }
.plate__cred dt {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
.plate__cred dd { margin: 0; }
.plate__cred-val {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
}
.plate__cred-star {
  display: inline-block;
  margin-left: 4px;
  color: var(--brass);
  font-size: 0.7em;
  vertical-align: 0.15em;
}
.plate__cred-note {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 180px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 2px;
  min-height: 48px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(244,236,220,0.06);
}
.btn--ink:hover {
  background: #0F1B27;
  color: var(--paper);
  border-color: #0F1B27;
}

.btn--paper {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--paper:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--block { width: 100%; }


/* =========================================================
   SIGNAL — full-width banner line
   ========================================================= */
.signal {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 6vw, 68px) var(--pad-x);
  position: relative;
}
.signal::before, .signal::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 1px; background: var(--brass); opacity: 0.6;
}
.signal::before { top: 14px; }
.signal::after { bottom: 14px; }
.signal__inner {
  max-width: 980px; margin: 0 auto; text-align: center;
}
.signal__line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.4;
  color: var(--paper);
}
.signal__big {
  font-style: normal;
  font-weight: 500;
  color: var(--brass-soft);
  letter-spacing: 0.005em;
}

/* =========================================================
   Section commons
   ========================================================= */
.section-eyebrow {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.section-h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.section-lede {
  margin: 18px 0 0;
  max-width: 620px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   WORK — the service list (broadsheet style)
   ========================================================= */
.work { padding: clamp(64px, 9vw, 110px) var(--pad-x); }
.work__inner { max-width: var(--maxw); margin: 0 auto; }
.work__head { max-width: 740px; margin-bottom: 56px; }

.work__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--rule);
}
.work__row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0 30px;
  border-bottom: 1px solid rgba(27,42,58,0.18);
  position: relative;
}
.work__row:last-child { border-bottom: 2px solid var(--rule); }
.work__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--brass-deep);
  letter-spacing: 0.04em;
}
.work__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  color: var(--ink);
}
.work__copy {
  margin: 0;
  max-width: 60ch;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.work__tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  padding-top: 6px;
}
.work__row:hover .work__title { color: var(--brass-deep); }
.work__row .work__title { transition: color .2s var(--ease); }

.work__foot {
  margin: 36px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
}

/* =========================================================
   TOWNS
   ========================================================= */
.towns {
  background: var(--paper-deep);
  padding: clamp(64px, 9vw, 110px) var(--pad-x);
  position: relative;
}
.towns::before, .towns::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 1px; background: rgba(27,42,58,0.25);
}
.towns::before { top: 0; }
.towns::after { bottom: 0; }
.towns__inner { max-width: var(--maxw); margin: 0 auto; }
.towns__head { max-width: 740px; margin-bottom: 56px; }

.towns__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(27,42,58,0.25);
  border-left: 1px solid rgba(27,42,58,0.25);
}
.town {
  padding: 32px 28px;
  border-right: 1px solid rgba(27,42,58,0.25);
  border-bottom: 1px solid rgba(27,42,58,0.25);
  background: transparent;
  transition: background .2s var(--ease);
}
.town:hover { background: var(--paper-soft); }
.town--anchor {
  background: var(--paper-soft);
  position: relative;
}
.town--anchor::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--brass);
}
.town__order {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--brass-deep);
  letter-spacing: 0.04em;
}
.town__name {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.1;
  color: var(--ink);
}
.town__note {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   SHOP
   ========================================================= */
.shop { padding: clamp(64px, 9vw, 110px) var(--pad-x); }
.shop__inner { max-width: var(--maxw); margin: 0 auto; }
.shop__head { max-width: 740px; margin-bottom: 48px; }

.shop__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.shop__prose {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink);
}
.shop__prose p { margin: 0 0 20px; }
.shop__lede { font-size: 1.05em; }
.shop__dropcap {
  float: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 4.6em;
  line-height: 0.85;
  padding: 4px 12px 0 0;
  color: var(--brass-deep);
  letter-spacing: -0.02em;
}
.shop__pull {
  font-style: italic;
  font-size: 1.18em;
  line-height: 1.4;
  color: var(--ink);
  padding: 18px 0 18px 24px;
  border-left: 2px solid var(--brass);
  margin: 28px 0 !important;
}

.shop__card {
  background: var(--paper-soft);
  border: 1px solid rgba(27,42,58,0.18);
  padding: 32px 30px;
  position: relative;
}
.shop__card::before {
  content: ""; position: absolute; left: -1px; top: -1px; right: -1px;
  height: 3px; background: var(--ink);
}
.shop__card-title {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.shop__card-list { margin: 0; }
.shop__card-list > div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(27,42,58,0.14);
}
.shop__card-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.shop__card-list dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 6px;
}
.shop__card-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}
.shop__card-list dd span:first-child {
  display: inline-block; min-width: 88px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
.shop__card-list dd span:nth-child(2) {
  font-family: var(--serif);
  color: var(--ink);
}

/* =========================================================
   CALL US
   ========================================================= */
.callus {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 9vw, 110px) var(--pad-x);
  position: relative;
}
.callus::before {
  content: ""; position: absolute; left: var(--pad-x); right: var(--pad-x); top: 0;
  height: 2px; background: var(--brass); opacity: 0.7;
}
.callus__inner { max-width: var(--maxw); margin: 0 auto; }
.callus__head { max-width: 740px; margin-bottom: 56px; }
.callus__head .section-eyebrow { color: var(--brass-soft); }
.callus__head .section-h2 { color: var(--paper); }
.callus__head .section-lede { color: rgba(244,236,220,0.78); }

.callus__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: stretch;
}

.callus__phonecard {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px 32px;
  background: transparent;
  border: 1px solid rgba(244,236,220,0.22);
  color: var(--paper);
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  position: relative;
  overflow: hidden;
}
.callus__phonecard::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 3px; height: 36px;
  background: var(--brass);
}
.callus__phonecard:hover {
  background: rgba(244,236,220,0.04);
  border-color: var(--brass);
}
.callus__phonecard:active { transform: translateY(1px); }
.callus__phonecard-eyebrow {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.callus__phonecard-num {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.callus__sep { color: var(--brass); margin: 0 0.05em; }
.callus__phonecard-hours {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(244,236,220,0.75);
}
.callus__phonecard-cta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.callus__form {
  background: var(--paper-soft);
  color: var(--ink);
  padding: 36px 32px;
  border-top: 3px solid var(--brass);
}
.callus__form-title {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}

.field {
  display: block;
  margin: 0 0 16px;
}
.field--wide { display: block; }
.field__label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field__opt {
  letter-spacing: 0.05em;
  text-transform: none;
  font-style: italic;
  color: var(--ink-mute);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(27,42,58,0.35);
  padding: 10px 0;
  border-radius: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  transition: border-color .2s var(--ease);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.field textarea {
  resize: vertical;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid rgba(27,42,58,0.35);
  padding: 12px;
  background: var(--paper);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass-deep);
}

.callus__form-note {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

/* =========================================================
   Colophon (footer)
   ========================================================= */
.colophon {
  background: var(--paper-deep);
  color: var(--ink);
  padding: clamp(56px, 7vw, 80px) var(--pad-x) 36px;
}
.colophon__inner { max-width: var(--maxw); margin: 0 auto; }
.colophon__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.colophon__col {}
.colophon__label {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.colophon__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.colophon address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.colophon address a { font-family: var(--serif); }
.colophon__hours {
  border-collapse: collapse;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.colophon__hours td { padding: 3px 0; }
.colophon__hours td:first-child { padding-right: 18px; color: var(--ink-soft); }
.colophon__note {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
.colophon__towns {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.colophon__license {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.colophon__rule {
  margin: 40px 0 24px;
  display: flex; flex-direction: column; gap: 3px;
}
.colophon__rule span {
  display: block; height: 1px; background: rgba(27,42,58,0.4);
}
.colophon__rule span:last-child { height: 1px; opacity: 0.5; }

.colophon__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.colophon__meta p { margin: 0; }


/* =========================================================
   RESPONSIVE — tablet & mobile
   ========================================================= */
@media (max-width: 980px) {
  .shop__columns { grid-template-columns: 1fr; gap: 40px; }
  .callus__columns { grid-template-columns: 1fr; gap: 28px; }
  .towns__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .masthead { padding-top: 18px; }
  .masthead__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .masthead__left, .masthead__right { justify-content: center; }
  .masthead__nav { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .masthead__phone { display: none; }
  .masthead__est { font-size: 10px; }

  .plate { padding-bottom: clamp(48px, 9vw, 80px); }
  .plate__creds {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 320px;
  }
  .plate__cred {
    border-left: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(27,42,58,0.18);
  }
  .plate__cred:first-child { border-top: 0; }
  .plate__signatures .btn { width: 100%; }
  .plate__signatures { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }

  .signal__line { font-size: 19px; }

  .work__row {
    grid-template-columns: 50px 1fr;
    gap: 14px 18px;
  }
  .work__no { font-size: 18px; }
  .work__tag {
    grid-column: 2 / -1;
    padding-top: 4px;
  }

  .towns__grid { grid-template-columns: 1fr; }

  .colophon__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .colophon__meta { flex-direction: column; align-items: flex-start; }

  body { padding-bottom: 76px; } /* reserve space for sticky phonebar */
  .phonebar { display: flex; }
}

@media (max-width: 420px) {
  .plate__h1 { font-size: 44px; line-height: 1; }
  .section-h2 { font-size: 32px; }
  .callus__phonecard-num { font-size: 38px; }
  .shop__dropcap { font-size: 3.8em; }
}


/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   Print
   ========================================================= */
@media print {
  .phonebar, .masthead__nav, .callus__form { display: none; }
  body { background: #fff; color: #000; }
}
