@font-face {
    font-family: 'Archivo';
    src: url('fonts/archivo.woff2') format('woff2');
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalam';
    src: url('fonts/kalam.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --galv: #e4e7e8;
    --galv-dark: #d5dadc;
    --plate: #f1f3f4;
    --rule: #b9c0c4;
    --graphite: #22282c;
    --graphite-2: #2e353a;
    --graphite-soft: #4b555b;
    --manila: #ecd28f;
    --manila-rule: #b99b54;
    --manila-light: #f4e3b4;
    --ink: #2f6fd1;
    --red: #c3192f;
    --red-dark: #9e1324;
    --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --hand: 'Kalam', 'Comic Sans MS', cursive;
    --wide: 116%;
    --max-width: 1200px;
    --gutter: clamp(20px, 4vw, 48px);
    --nav-h: 68px;
    --header-h: var(--nav-h);
    --radius: 4px;
    --section: clamp(80px, 10vw, 136px);
}

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

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

html.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    margin: 0;
    background: var(--galv);
    color: var(--graphite);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, p, ul, blockquote, fieldset, legend, figure {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

fieldset {
    border: 0;
    min-width: 0;
}

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

a {
    color: inherit;
}

button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

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

h1, h2, h3 {
    font-stretch: var(--wide);
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 720;
    line-height: 1.04;
}

.wrap {
    width: min(100% - var(--gutter) * 2, var(--max-width));
    margin-inline: auto;
}

.section-intro {
    max-width: 30rem;
    margin-top: 16px;
    color: var(--graphite-soft);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--graphite);
    color: var(--galv);
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* buttons and links */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    font-stretch: var(--wide);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.button:disabled {
    opacity: 0.6;
    cursor: default;
}

.button-red {
    background: var(--red);
    color: #fff;
}

.button-red:hover:not(:disabled) {
    background: var(--red-dark);
}

.button-ink {
    background: var(--graphite);
    color: var(--manila);
}

.button-ink:hover:not(:disabled) {
    background: #000;
}

.text-link {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: var(--ink);
}

/* header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: var(--galv);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
    border-bottom-color: var(--rule);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(100% - var(--gutter) * 2, var(--max-width));
    height: var(--nav-h);
    margin-inline: auto;
}

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

.brand-mark {
    width: 44px;
    height: auto;
}

.brand-name {
    display: grid;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    font-stretch: 125%;
    letter-spacing: 0.14em;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-name small {
    color: var(--red);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-footer .brand-name {
    color: #fff;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav a:not(.nav-call):hover,
.site-nav a.is-active {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
}

.site-nav .nav-call {
    padding: 9px 16px;
    border-radius: var(--radius);
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-stretch: var(--wide);
}

.site-nav .nav-call:hover {
    background: var(--red-dark);
}

.nav-toggle {
    display: none;
    flex-shrink: 0;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--graphite);
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--galv);
    transition: transform 0.2s ease;
}

.nav-toggle span:first-child {
    top: 18px;
}

.nav-toggle span:last-child {
    top: 25px;
}

.nav-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* hero: copy on the galvanized side, Fernie on the other, the tag hanging off the photo */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    min-height: min(100svh, 980px);
    padding-top: var(--header-h);
}

.hero-copy {
    align-self: center;
    width: min(100%, 600px);
    margin-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2));
    padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) 0;
}

.hero-title {
    max-width: 12ch;
    font-size: clamp(2.6rem, 5.4vw, 4.8rem);
    font-weight: 780;
    line-height: 0.98;
    letter-spacing: -0.028em;
}

.hero-lede {
    max-width: 34rem;
    margin-top: 28px;
    color: var(--graphite-soft);
    font-size: clamp(1.08rem, 1.5vw, 1.2rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 36px;
}

.hero-cred {
    max-width: 34rem;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    color: var(--graphite-soft);
    font-size: 0.92rem;
}

.hero-scene {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 5vw, 64px);
}

.hero-photo {
    position: absolute;
    inset: 0 0 clamp(120px, 16vw, 220px) 0;
    overflow: hidden;
    background: var(--graphite-2);
}

.hero-photo img {
    width: 100%;
    height: 118%;
    object-fit: cover;
    object-position: 50% 40%;
}

.hero-photo figcaption {
    position: absolute;
    right: 14px;
    top: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* the service tag */
.tag-rig {
    position: relative;
    z-index: 2;
    width: min(100%, 440px);
    padding-top: 92px;
    filter: drop-shadow(0 22px 26px rgba(20, 24, 26, 0.32)) drop-shadow(0 2px 3px rgba(20, 24, 26, 0.25));
}

.tag-wire {
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 150px;
    margin-left: -60px;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
}

.tag-wire path {
    fill: none;
    stroke: #eef0f1;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.tag {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 64px clamp(22px, 3vw, 34px) 30px;
    background: var(--manila);
    clip-path: polygon(16% 0, 84% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
    overflow: hidden;
    transform: rotate(-2deg);
    transform-origin: 50% 30px;
}

.tag-hole {
    position: absolute;
    top: 26px;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-left: -15px;
    border-radius: 50%;
    background: var(--graphite-2);
    box-shadow: 0 0 0 7px var(--manila-light), 0 0 0 8px var(--manila-rule);
}

.tag-company {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.tag-title {
    margin-top: -6px;
    font-size: 1.9rem;
    font-weight: 820;
    text-align: center;
    line-height: 1;
}

.tag-sub {
    margin-bottom: 4px;
    font-size: 0.9rem;
    text-align: center;
}

.tag-field {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: end;
    gap: 10px;
}

.tag-field label,
.tag-checks legend {
    padding-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-field input,
.tag-field textarea {
    width: 100%;
    padding: 2px 2px 3px;
    border: 0;
    border-bottom: 1.5px solid var(--manila-rule);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--hand);
    font-size: 1.35rem;
    line-height: 1.3;
}

.tag-field textarea {
    resize: none;
    padding-top: 0;
    border-bottom: 0;
    background-image: repeating-linear-gradient(to bottom, transparent 0 calc(1.75rem - 1.5px), var(--manila-rule) calc(1.75rem - 1.5px) 1.75rem);
    line-height: 1.75rem;
}

.tag-field-notes {
    grid-template-columns: 1fr;
    gap: 4px;
}

.tag-field-notes label {
    padding-bottom: 0;
}

.tag-field input::placeholder {
    color: rgba(47, 111, 209, 0.4);
    font-size: 1.1rem;
}

.tag-field input:focus,
.tag-field textarea:focus {
    outline: none;
    border-bottom-color: var(--ink);
}

.tag-field textarea:focus {
    box-shadow: 0 2px 0 var(--ink);
}

.tag-field input[aria-invalid='true'] {
    border-bottom: 2px solid var(--red);
}

.tag-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 4px;
}

.tag-checks legend {
    float: left;
    width: 100%;
}

.tag-checks label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-size: 0.92rem;
    cursor: pointer;
}

.tag-checks input {
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 0;
}

.tag-checks span::before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    vertical-align: -3px;
    border: 1.5px solid var(--graphite);
    background: var(--manila-light);
}

.tag-checks span::after {
    content: '\2713';
    position: absolute;
    left: 1px;
    top: -1px;
    color: var(--ink);
    font-family: var(--hand);
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0;
    transform: scale(0.4) rotate(-12deg);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.tag-checks input:checked + span::after {
    opacity: 1;
    transform: rotate(-8deg);
}

.tag-checks input:focus-visible + span::before {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.tag .button {
    margin-top: 6px;
}

.form-note {
    color: var(--graphite-soft);
    font-size: 0.82rem;
}

.tag .form-note {
    color: #5a4c27;
}

.form-note a {
    color: inherit;
}

.form-status {
    color: var(--ink);
    font-family: var(--hand);
    font-size: 1.15rem;
    line-height: 1.35;
}

.form-status.is-error {
    color: var(--red);
}

.form-status:empty {
    display: none;
}

.tag-stamp {
    position: absolute;
    right: 20px;
    top: 196px;
    padding: 8px 12px;
    border: 3px solid var(--red);
    border-radius: 6px;
    color: var(--red);
    font-size: 1.05rem;
    font-weight: 850;
    font-stretch: 125%;
    line-height: 1.05;
    text-align: center;
    opacity: 0;
    transform: rotate(-14deg) scale(1.6);
    pointer-events: none;
    mix-blend-mode: multiply;
}

.tag.is-stamped .tag-stamp {
    opacity: 0.88;
    transform: rotate(-14deg) scale(1);
    transition: transform 0.22s cubic-bezier(0.3, 1.6, 0.6, 1), opacity 0.12s ease;
}

.turnstile-slot {
    min-height: 65px;
}

/* services: tall photo stays put while the list goes by */
.services {
    padding: var(--section) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: clamp(36px, 7vw, 112px);
    align-items: start;
}

.services-photo {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    aspect-ratio: 10 / 13;
    max-height: calc(100svh - var(--nav-h) - 64px);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--galv-dark);
}

.services-photo img {
    width: 100%;
    height: 116%;
    object-fit: cover;
}

.service-list {
    margin-top: clamp(32px, 5vw, 56px);
    border-top: 2px solid var(--graphite);
}

.service {
    display: grid;
    gap: 8px;
    padding: clamp(24px, 3vw, 36px) 0;
    border-bottom: 1px solid var(--rule);
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

.service h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 720;
    line-height: 1.15;
}

.service p {
    max-width: 36rem;
    color: var(--graphite-soft);
}

/* schedule: the board */
.schedule {
    padding: var(--section) 0;
    background: var(--galv-dark);
    scroll-margin-top: var(--nav-h);
}

.schedule-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: 20px clamp(32px, 6vw, 80px);
    align-items: start;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.schedule-intro {
    max-width: 34rem;
    margin-top: 14px;
    color: var(--graphite-soft);
}

.schedule-urgent {
    padding: 16px 18px;
    border-left: 4px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--plate);
    font-weight: 650;
}

.schedule-urgent a {
    color: var(--red);
    white-space: nowrap;
    text-underline-offset: 4px;
}

.board {
    border: 2px solid var(--graphite);
    border-radius: var(--radius);
    background: var(--plate);
    overflow: hidden;
}

.board-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding: 14px 20px;
    background: var(--graphite);
    color: #fff;
}

.board-range {
    font-size: 1.15rem;
    font-weight: 720;
}

.board-bar .board-key {
    padding: 0;
    color: #c7cdd0;
}

.board-bar .key-job {
    box-shadow: inset 0 0 0 1.5px #8d979d;
}

.board-bar .key-closed {
    background: repeating-linear-gradient(-45deg, transparent 0 4px, #c7cdd0 4px 5px);
    box-shadow: inset 0 0 0 1px #4b555b;
}

.board-days,
.board-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.board-days {
    border-bottom: 1px solid var(--rule);
    color: var(--graphite-soft);
    font-size: 0.8rem;
    font-weight: 600;
}

.board-days span {
    padding: 8px 12px;
}

.cell-date em {
    margin-right: 4px;
    font-style: normal;
    font-weight: 750;
}

.cell {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 6px;
    min-height: clamp(76px, 9vw, 104px);
    padding: 10px 12px 12px;
    border: 0;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    background: transparent;
    color: #9aa3a8;
    font-family: var(--font);
    text-align: left;
}

.cell:nth-child(7n) {
    border-right: 0;
}

.cell-date {
    font-size: 1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.cell-note {
    align-self: end;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
}

/* each work day is the 8 to 5 window as a bar: dark where there's a job */
.cell-bar {
    position: relative;
    height: 10px;
    border-radius: 2px;
    background: var(--manila);
    overflow: hidden;
}

.cell-bar span {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--graphite);
}

.cell.is-out {
    background: var(--galv-dark);
    opacity: 0.55;
}

.cell.is-closed .cell-bar {
    background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--rule) 4px 5px);
}

button.cell {
    color: var(--graphite);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

button.cell:hover {
    background: #fff;
}

button.cell.is-picked {
    background: var(--graphite);
    color: #fff;
}

button.cell.is-picked .cell-bar {
    box-shadow: 0 0 0 2px var(--graphite), 0 0 0 3px var(--manila);
}

button.cell:focus-visible {
    outline-offset: -4px;
}

.cell.is-today .cell-date::after {
    content: 'Today';
    margin-left: 8px;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 700;
}

button.cell.is-picked.is-today .cell-date::after {
    color: var(--manila);
}

.cell.is-booked .cell-note {
    color: var(--graphite);
    font-weight: 650;
}

.board-key {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 12px 16px;
    color: var(--graphite-soft);
    font-size: 0.85rem;
}

.board-key li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.key {
    width: 22px;
    height: 10px;
    border-radius: 2px;
}

.key-job {
    background: var(--graphite);
}

.key-open {
    background: var(--manila);
}

.key-closed {
    background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--graphite-soft) 4px 5px);
    box-shadow: inset 0 0 0 1px var(--rule);
}

.board-empty {
    grid-column: 1 / -1;
    padding: 32px 20px;
    color: var(--graphite-soft);
}

/* the picked day */
.day {
    margin-top: 24px;
    padding: clamp(20px, 3vw, 36px);
    border: 2px solid var(--graphite);
    border-radius: var(--radius);
    background: var(--plate);
    overflow: hidden;
}

.day-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 24px;
}

.day-title {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 720;
    line-height: 1.1;
}

.day-title:focus {
    outline: none;
}

.day-summary {
    color: var(--graphite-soft);
}

.strip {
    margin-top: 22px;
}

.strip-track {
    position: relative;
    height: 44px;
    border-radius: var(--radius);
    background: var(--manila);
    overflow: hidden;
}

.strip-job {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: var(--graphite);
    color: #c7cdd0;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    transform-origin: left center;
}

.strip-job + .strip-job {
    box-shadow: -1px 0 0 var(--graphite-soft);
}

.strip-pick {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--red);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.strip-ruler {
    position: relative;
    height: 22px;
    margin-top: 6px;
    color: var(--graphite-soft);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.strip-ruler span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.strip-ruler span::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -6px;
    width: 1px;
    height: 5px;
    background: var(--rule);
}

.strip-ruler span:first-child {
    transform: none;
}

.strip-ruler span:first-child::before {
    left: 0;
}

.strip-ruler span:last-child {
    transform: translateX(-100%);
}

.strip-ruler span:last-child::before {
    left: auto;
    right: 0;
}

.book-form {
    display: grid;
    gap: 32px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}

.book-step > legend,
.book-legend {
    display: block;
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 720;
    font-stretch: var(--wide);
}

.book-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice {
    position: relative;
    display: inline-grid;
    gap: 2px;
    min-height: 48px;
    padding: 10px 16px 10px 40px;
    border: 1.5px solid var(--graphite);
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.choice:hover {
    background: #fff;
}

.choice input {
    position: absolute;
    left: 14px;
    top: 15px;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--graphite);
}

.choice strong {
    font-weight: 650;
}

.choice small {
    color: var(--graphite-soft);
    font-size: 0.85rem;
}

.choice:has(input:checked) {
    background: var(--graphite);
    border-color: var(--graphite);
    color: #fff;
}

.choice:has(input:checked) small {
    color: #c7cdd0;
}

.choice:has(input:focus-visible) {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.book-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot {
    min-width: 104px;
    min-height: 46px;
    padding: 8px 14px;
    border: 1.5px solid var(--graphite);
    border-radius: var(--radius);
    background: var(--manila);
    color: var(--graphite);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.slot:hover {
    background: var(--manila-light);
}

.slot[aria-pressed='true'] {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.book-none {
    max-width: 40rem;
    color: var(--graphite-soft);
}

.book-none a {
    color: var(--red);
    font-weight: 650;
    white-space: nowrap;
}

.book-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.book-field {
    display: grid;
    gap: 4px;
}

.book-wide {
    grid-column: 1 / -1;
}

.book-field label {
    font-size: 0.88rem;
    font-weight: 600;
}

.book-field input,
.book-field textarea,
.book-step > input {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--rule);
    border-radius: var(--radius);
    background: #fff;
    color: var(--graphite);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.4;
}

.book-step > input {
    max-width: 32rem;
}

.book-field textarea {
    resize: vertical;
}

.book-field input:focus,
.book-field textarea:focus,
.book-step > input:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
}

.book-field input[aria-invalid='true'],
.book-step > input[aria-invalid='true'] {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.book-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.book-submit .form-note {
    flex: 1 1 14rem;
}

.book-status {
    padding: 14px 18px;
    border-left: 4px solid var(--ink);
    background: #fff;
    font-weight: 600;
}

.book-status.is-error {
    border-left-color: var(--red);
    color: var(--red-dark);
}

.book-status:empty {
    display: none;
}

.book-done {
    margin-top: 32px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--manila);
}

.book-done:focus {
    outline: none;
}

.book-done h4 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 780;
    font-stretch: var(--wide);
}

.book-done p {
    margin: 10px 0 0;
}

.book-done .text-link {
    margin-top: 14px;
    padding: 0;
}

/* about */
.about {
    padding: var(--section) 0;
    background: var(--graphite);
    color: var(--galv);
}

.about-grid,
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: clamp(32px, 7vw, 112px);
    align-items: start;
}

.about-quote {
    padding-left: 24px;
    border-left: 4px solid var(--manila);
}

.about-quote p {
    max-width: 26ch;
    color: #fff;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    font-weight: 600;
    font-stretch: var(--wide);
    line-height: 1.2;
}

.about-copy > p {
    max-width: 38rem;
    margin-top: 36px;
    color: #c7cdd0;
    font-size: 1.12rem;
}

/* a Fernie year: its own light section after the dark about band */
.year-section {
    padding: var(--section) 0;
    background: var(--galv-dark);
}

.year {
    --h: clamp(240px, 30vw, 360px);
    --cold: var(--ink);
    --warm: #e2b448;
    --ink-on: #fff;
}

.year-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 16px clamp(32px, 7vw, 112px);
    align-items: baseline;
}

.year-intro {
    margin-top: 0.4rem;
}

.year-title {
    color: var(--graphite);
}

.year-intro {
    max-width: 38rem;
    color: var(--graphite-soft);
}

.year-chart {
    position: relative;
    margin-top: clamp(40px, 5vw, 64px);
    padding-left: 44px;
}

.year-scale {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--h);
    pointer-events: none;
}

.year-scale span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc((var(--t) + 12) / 40 * var(--h));
    transform: translateY(50%);
    color: var(--graphite-soft);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.year-scale span::after {
    content: '';
    position: absolute;
    left: 44px;
    right: 0;
    top: 50%;
    border-top: 1px dashed var(--rule);
}

.year-scale .year-zero {
    color: var(--cold);
    font-weight: 700;
}

.year-scale .year-zero::after {
    border-top: 1.5px solid var(--cold);
    opacity: 0.7;
}

.year-months {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    height: calc(var(--h) + 96px);
}

.year-month {
    --f: clamp(0, (0 - var(--lo)) / (var(--hi) - var(--lo)), 1);
    position: relative;
    cursor: default;
    outline: none;
}

.year-bar {
    position: absolute;
    left: 50%;
    width: clamp(14px, 2.4vw, 30px);
    margin-left: calc(clamp(14px, 2.4vw, 30px) / -2);
    bottom: calc(96px + (var(--lo) + 12) / 40 * var(--h));
    height: calc((var(--hi) - var(--lo)) / 40 * var(--h));
    border-radius: 99px;
    background: linear-gradient(to top, var(--cold) 0 calc(var(--f) * 100%), var(--warm) calc(var(--f) * 100%) 100%);
    transform-origin: 50% calc(100% - var(--f) * 100%);
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.year-hi,
.year-lo {
    position: absolute;
    left: 0;
    right: 0;
    color: var(--graphite);
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
    line-height: 1;
}

.year-hi {
    bottom: calc(96px + (var(--hi) + 12) / 40 * var(--h) + 8px);
}

.year-lo {
    bottom: calc(96px + (var(--lo) + 12) / 40 * var(--h) - 20px);
    color: var(--cold);
}

.year-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    color: var(--graphite-soft);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    isolation: isolate;
}

.year-month.is-now .year-name {
    color: var(--manila);
}

.year-month.is-now .year-name::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 46px;
    height: 26px;
    margin: -13px 0 0 -23px;
    border-radius: 99px;
    background: var(--graphite);
}

.year-months:hover .year-month:not(.is-read) .year-bar,
.year-months:focus-within .year-month:not(.is-read) .year-bar {
    opacity: 0.45;
}

.year-month.is-read .year-bar {
    box-shadow: 0 0 0 3px var(--galv-dark), 0 0 0 5px var(--graphite);
}

.year-month:focus-visible .year-name {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

/* the two times of year to book service, pinned under their month */
.year-note {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    width: max-content;
    max-width: 15rem;
    padding: 8px 12px;
    border-radius: var(--radius);
    color: var(--graphite);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transform: translateX(-24px);
}

.year-note::before {
    content: '';
    position: absolute;
    left: 24px;
    bottom: 100%;
    width: 2px;
    height: 18px;
    background: currentColor;
}

.year-note-cool {
    background: var(--cold);
    color: #fff;
    transform: translateX(calc(-100% + 24px));
}

.year-note-cool::before {
    left: auto;
    right: 22px;
}

.note-short {
    display: none;
}

.year-note-cool::before {
    color: var(--cold);
}

.year-note-heat {
    background: var(--warm);
}

.year-note-heat::before {
    color: var(--warm);
}

.year-note:hover {
    background: var(--graphite);
    color: #fff;
}

.year-readout {
    min-height: 1.6em;
    margin-top: 28px;
    color: var(--graphite);
    font-size: 1.1rem;
    font-weight: 600;
    font-stretch: var(--wide);
}

.year-source {
    max-width: 44rem;
    margin-top: 8px;
    color: var(--graphite-soft);
    font-size: 0.8rem;
}

@media (max-width: 760px) {
    .year {
        --h: 220px;
    }

    .year-head {
        grid-template-columns: 1fr;
    }

    .year-chart {
        padding-left: 30px;
    }

    .year-scale span::after {
        left: 30px;
    }

    .year-hi,
    .year-lo {
        display: none;
    }

    .year-months {
        height: calc(var(--h) + 72px);
    }

    .year-bar {
        bottom: calc(72px + (var(--lo) + 12) / 40 * var(--h));
    }

    .year-name {
        bottom: 40px;
        font-size: 0.7rem;
    }

    .year-month.is-now .year-name::before {
        width: 34px;
        height: 22px;
        margin: -11px 0 0 -17px;
    }

    .year-note {
        padding: 6px 8px;
        font-size: 0.72rem;
    }

    .note-long {
        display: none;
    }

    .note-short {
        display: inline;
    }
}

/* reviews on Google */
.reviews {
    padding: var(--section) 0 calc(var(--section) * 0.8);
}

.reviews-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 32px clamp(32px, 7vw, 112px);
    align-items: start;
}

.reviews-head {
    display: grid;
    justify-items: start;
    gap: 20px;
}

.reviews-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    color: var(--graphite-soft);
}

.reviews-score strong {
    color: var(--graphite);
    font-size: 1.15rem;
    font-weight: 750;
    font-stretch: var(--wide);
}

.stars {
    display: inline-flex;
    gap: 3px;
    color: #e0a526;
}

.stars svg {
    fill: currentColor;
}

.stars-small svg {
    width: 15px;
    height: 15px;
}

.review-list {
    display: grid;
    gap: 16px;
}

.review {
    padding: clamp(20px, 3vw, 28px);
    border: 1.5px solid var(--graphite);
    border-radius: var(--radius);
    background: var(--plate);
}

.review-who {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-who > div {
    display: grid;
    gap: 4px;
}

.review-who strong {
    font-weight: 650;
}

.review-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--graphite);
    color: var(--manila);
    font-weight: 750;
    font-stretch: var(--wide);
}

.review-text {
    max-width: 40rem;
    margin-top: 16px;
    font-size: 1.1rem;
}

.review-text-none {
    color: var(--graphite-soft);
    font-size: 1rem;
}

.review-reply {
    margin-top: 16px;
    padding-left: 16px;
    border-left: 3px solid var(--rule);
}

.review-reply span {
    color: var(--graphite-soft);
    font-size: 0.82rem;
    font-weight: 600;
}

.review-ask {
    display: grid;
    justify-items: start;
    gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
}

.review-ask h3 {
    font-size: 1.3rem;
    font-weight: 720;
}

.review-ask p {
    max-width: 32rem;
    color: var(--graphite-soft);
}

.review-ask .button {
    margin-top: 6px;
}

/* rebates: the photo is the section, the list sits on a plate over its bottom edge */
.rebates {
    position: relative;
    padding-bottom: var(--section);
}

.rebates-photo {
    position: relative;
    height: clamp(320px, 52vw, 620px);
    overflow: hidden;
    background: var(--graphite-2);
}

.rebates-photo img {
    width: 100%;
    height: 124%;
    object-fit: cover;
    object-position: 50% 60%;
}

.rebates-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 32px clamp(32px, 6vw, 80px);
    margin-top: clamp(-180px, -14vw, -80px);
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--radius);
    background: var(--galv);
    box-shadow: 0 -1px 0 var(--rule);
}

.rebates-copy p {
    max-width: 28rem;
    margin-top: 18px;
    color: var(--graphite-soft);
}

.rebate-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    align-content: start;
}

.rebate-list a {
    display: grid;
    gap: 2px;
    padding: 20px 0;
    border-top: 2px solid var(--graphite);
    text-decoration: none;
}

.rebate-list strong {
    font-size: 1.15rem;
    font-weight: 720;
    font-stretch: var(--wide);
}

.rebate-list span {
    color: var(--graphite-soft);
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 4px;
}

.rebate-list a:hover span {
    color: var(--ink);
    text-decoration-color: currentColor;
}

/* faq */
.faq {
    padding: 0 0 var(--section);
}

.faq-list {
    border-top: 2px solid var(--graphite);
}

.faq-item {
    border-bottom: 1px solid var(--rule);
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 22px 52px 22px 0;
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before,
.faq-item summary::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease;
}

.faq-item summary::after {
    transform: rotate(90deg);
}

.faq-item.is-open summary::after {
    transform: rotate(0deg);
}

.faq-item.is-open summary {
    color: var(--ink);
}

.faq-answer {
    overflow: hidden;
    max-width: 40rem;
    padding-bottom: 24px;
    color: var(--graphite-soft);
}

/* footer */
.site-footer {
    padding: clamp(64px, 8vw, 100px) 0 28px;
    background: var(--graphite);
    color: #c7cdd0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: end;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    text-decoration: none;
}

.footer-call p {
    font-size: 1.1rem;
}

.footer-phone {
    display: block;
    margin: 8px 0 18px;
    color: #fff;
    font-size: clamp(2.1rem, 6.4vw, 4.4rem);
    font-weight: 800;
    white-space: nowrap;
    font-stretch: 125%;
    letter-spacing: -0.02em;
    line-height: 1;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.footer-phone:hover,
.text-link-light:hover {
    color: var(--manila);
}

.site-footer address {
    font-style: normal;
    line-height: 1.8;
}

.site-footer address strong {
    color: #fff;
}

.site-footer address a {
    text-decoration: none;
}

.site-footer address a:hover {
    color: #fff;
}

.footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid #3a4248;
    font-size: 0.85rem;
}

.footer-base a {
    text-underline-offset: 3px;
}

/* 404 + privacy */
.page-simple .site-header {
    position: static;
}

.not-found {
    padding: clamp(80px, 14vw, 160px) 0;
}

.not-found h1,
.policy-card h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 780;
    line-height: 1.02;
}

.not-found p {
    max-width: 32rem;
    margin-top: 16px;
    color: var(--graphite-soft);
}

.not-found .hero-actions {
    margin-top: 28px;
}

.policy-main {
    padding: clamp(40px, 7vw, 80px) 0 clamp(64px, 9vw, 110px);
}

.policy-card {
    max-width: 44rem;
}

.policy-card h2 {
    margin-top: 36px;
    font-size: 1.25rem;
}

.policy-card p {
    margin-top: 12px;
    color: var(--graphite-soft);
}

.policy-card a {
    color: var(--ink);
    text-underline-offset: 3px;
}

.policy-updated {
    font-size: 0.88rem;
}

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

    .hero-copy {
        width: auto;
        margin-inline: var(--gutter);
        padding: 48px 0 56px;
    }

    .hero-scene {
        padding-top: 0;
    }

    .hero-photo {
        inset: 0 0 45% 0;
    }

    .services-grid,
    .reviews-grid,
    .about-grid,
    .faq-grid,
    .rebates-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-photo {
        position: relative;
        top: 0;
        aspect-ratio: 16 / 10;
        max-height: none;
    }
}

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

@media (max-width: 760px) {
    .board-bar {
        padding: 12px 14px;
    }

    .cell-date em {
        display: block;
        margin: 0;
        font-size: 0.65rem;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4px 24px 24px;
        background: var(--galv);
        border-bottom: 1px solid var(--rule);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s;
    }

    .nav-open .site-nav {
        visibility: visible;
        opacity: 1;
    }

    .site-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--rule);
        font-size: 1.05rem;
    }

    .site-nav .nav-call {
        margin-top: 16px;
        border-bottom: 0;
        text-align: center;
    }

    .rebate-list,
    .book-details {
        grid-template-columns: 1fr;
    }

    /* on a phone the month is dots of colour, the day strip below has the detail */
    .board-days span {
        padding: 8px 0;
        text-align: center;
        font-size: 0.72rem;
    }

    .cell {
        min-height: 58px;
        padding: 8px 4px;
        gap: 6px;
        justify-items: center;
        text-align: center;
    }

    .cell-bar {
        width: 100%;
        height: 8px;
    }

    .cell-note {
        display: none;
    }

    .cell.is-today .cell-date::after {
        content: none;
    }

    .cell.is-today .cell-date {
        color: var(--red);
    }

    button.cell.is-picked.is-today .cell-date {
        color: var(--manila);
    }

    .slot {
        flex: 1 1 96px;
    }

    .strip-job {
        font-size: 0;
    }
}

@media (max-width: 520px) {
    .site-header .brand-name {
        font-size: 0.86rem;
        letter-spacing: 0.08em;
    }

    .site-header .brand-name small {
        display: none;
    }
}

@media (max-width: 420px) {
    .hero-actions .button {
        width: 100%;
    }

    .tag {
        padding-inline: 18px;
        transform: rotate(-1deg);
    }

    .tag-field {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tag-field label {
        padding-bottom: 0;
    }

    .book-services {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
