/* The header, the footer and the next-step band every inner page ends on. */

/* Header: bone, sticky, a hairline once the page has moved. The one filled button is "Book a call". */
.head { position: sticky; top: 0; z-index: 30; background: var(--bone); transition: box-shadow .25s var(--ease); }
.head.is-moved { box-shadow: 0 1px 0 var(--hair); }
.head__in { display: flex; align-items: center; gap: var(--s3); width: min(var(--wrap), 100% - 2 * var(--gutter)); height: var(--head); margin-inline: auto; }
.head__mark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; color: var(--ink); text-decoration: none; font: 800 19px/1 var(--text); letter-spacing: -0.01em; }
.head__mark b { font-weight: 500; }
.mark { flex: none; }
.mark__body { fill: var(--ink); }
.mark__screen { fill: var(--signal); }
.head__nav { display: flex; align-items: center; gap: 4px; }
.head__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink); font: 600 16px/1 var(--text); text-decoration: none; transition: background-color .2s var(--ease); }
.head__nav a:hover { background: rgba(19, 17, 21, .07); }
.head__nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); border-radius: 0; }
.head__nav .head__book { margin-left: 10px; padding: 0 20px; background: var(--signal); }
.head__nav .head__book:hover { background: var(--ink); color: var(--on-dark); }
.head__nav .head__book[aria-current="page"] { border-radius: 999px; box-shadow: inset 0 0 0 2px var(--ink); }
.head__menu { display: none; }

@media (max-width: 899.98px) {
  .head__menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-dark); font: 700 16px/1 var(--text); text-decoration: none; cursor: pointer; }
  .head__nav { position: absolute; left: 0; right: 0; top: var(--head); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bone); box-shadow: 0 18px 30px -18px rgba(19, 17, 21, .35); }
  .head__nav.is-open { display: flex; }
  .head__nav a { min-height: 52px; padding: 0; border-bottom: 1px solid var(--hair); border-radius: 0; font-size: 19px; }
  .head__nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--signal); padding-left: 14px; }
  .head__nav .head__book { justify-content: center; margin: 16px 0 0; border: 0; border-radius: 999px; }
  .head__mark { font-size: 17px; }
}

/* Footer: the night, a site map in headed groups, the legal row, and the name set as big as the page allows. */
.foot { position: relative; z-index: 2; overflow: hidden; background: var(--night); color: var(--on-dark); padding-top: var(--s5); }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: var(--signal); }
.foot__top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s3) var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--hair-dark); }
.foot__mark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 800 20px/1 var(--text); }
.foot__mark b { font-weight: 500; }
.foot .mark__body { fill: var(--on-dark); }
.foot__say { max-width: 440px; color: var(--on-dark-soft); font-size: 16px; }
.foot__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 600 16px/1 var(--text); }
.foot__contact a, .foot__contact span { display: inline-flex; align-items: center; min-height: 44px; }
.foot__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4) var(--s3); padding: var(--s4) 0; }
.foot__group + .foot__group { margin-top: var(--s4); }
.foot__h { margin-bottom: 14px; font: 700 13px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.foot__list li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.foot__legal { display: grid; grid-template-columns: auto 1fr 1fr; gap: var(--s2) var(--s4); padding: var(--s3) 0 var(--s4); border-top: 1px solid var(--hair-dark); color: var(--on-dark-soft); font-size: 14px; }
.foot__word { margin: var(--s2) 0 -0.12em; font: 900 clamp(64px, 16.3vw, 300px)/.8 var(--display); text-transform: uppercase; letter-spacing: -0.015em; color: var(--signal); white-space: nowrap; text-align: center; user-select: none; }
[data-placeholder], .foot [data-placeholder] { text-decoration: underline dotted; text-underline-offset: 4px; }

@media (max-width: 1099.98px) {
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
  .foot__top { grid-template-columns: 1fr; }
  .foot__legal { grid-template-columns: 1fr; }
}
@media (max-width: 759.98px) {
  .foot { padding-top: var(--s5); }
  .foot__cols { grid-template-columns: 1fr; gap: 0; padding: var(--s3) 0; }
  .foot__col { display: contents; }
  .foot__group, .foot__group + .foot__group { margin: 0; border-bottom: 1px solid var(--hair-dark); }
  .foot__h { margin: 0; font-size: 15px; }
  .foot__h button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; padding: 0; border: 0; background: none; color: var(--on-dark); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
  .foot__h button::after { content: '+'; font: 500 24px/1 var(--text); }
  .foot__h button[aria-expanded="true"]::after { content: '–'; }
  .foot__list { padding-bottom: 14px; }
  .foot__list li a { min-height: 44px; }
}

/* Next step: vermilion, the ask on the left, the button, the number and two ways onward on the right. */
.next { position: relative; z-index: 2; background: var(--signal); color: var(--ink); padding: var(--s6) 0; }
.next__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s4) var(--s5); align-items: end; }
.next h2 { font-size: clamp(56px, 7.4vw, 120px); }
.next__price { margin-top: var(--s3); font: 700 20px/1.35 var(--text); max-width: 32ch; }
.next__what { max-width: 46ch; }
.next__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: var(--s3); }
.next__call { font-weight: 700; }
.next__call a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.next__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: var(--s4); }
@media (max-width: 899.98px) { .next__in { grid-template-columns: 1fr; } .next { padding: var(--s5) 0; } }
