/* Pinnacott Moving and Cleaning (a made-up company, redesigned by Undefault).
   Traffic-cone orange as one block, slate type and buttons, calendar paper; Gabarito and Albert Sans. */

@font-face { font-family: "Gabarito"; src: url("/demos/pinnacott/after/fonts/gabarito-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/demos/pinnacott/after/fonts/albert-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/demos/pinnacott/after/fonts/albert-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/demos/pinnacott/after/fonts/albert-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #ff5a1f;
  --slate: #1c2230;
  --slate2: #2a3242;
  --paper: #f6f4ee;
  --hatch: #ffe4d8;
  --white: #ffffff;
  --muted: #565d6b;
  --soft: #a3abbb;
  --line: rgba(28, 34, 48, 0.16);
  --head: "Gabarito", "Albert Sans", system-ui, sans-serif;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--slate); font: 400 1rem/1.55 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--slate); color: var(--paper); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.small { font-size: 0.88rem; color: var(--muted); }
.demo { font-size: 0.8rem; font-weight: 600; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 8px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button.slate { background: var(--slate); color: var(--paper); }
.button.slate:hover { background: #000; }
.button.paper { background: var(--paper); color: var(--slate); }
.button.big { min-height: 54px; font-size: 1.08rem; padding: 12px 26px; }

/* ---- Header ---- */
.top { position: absolute; top: 0; left: 42%; right: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(24px, 4vw, 56px); }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem var(--head); }
.top nav { display: flex; align-items: center; gap: 22px; }
.nav-link, .nav-phone { text-decoration: none; font-weight: 600; }
.nav-link:hover, .nav-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { min-height: 40px; padding: 8px 16px; }
.quote-page .top { position: static; background: var(--orange); }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: 42% 1fr; min-height: max(100svh, 860px); background: var(--orange); }
.lift { position: relative; margin: 0; overflow: hidden; background: #d9d4cb; }
.lift img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.lift figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; width: fit-content; background: var(--slate); color: var(--paper); font-size: 0.85rem; font-weight: 600; padding: 7px 12px; border-radius: 6px; }

.panel { display: flex; flex-direction: column; gap: 12px; padding: 74px clamp(24px, 4vw, 56px) 24px; min-width: 0; }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.panel h1 { font-size: clamp(2.1rem, 3vw, 2.9rem); }
.panel h1 span { display: block; }

.pickers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { float: left; margin-right: 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0; }
.chips input, .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 2px solid var(--slate); border-radius: 999px; font-weight: 700; cursor: pointer; user-select: none; }
.chips label:hover { background: rgba(28, 34, 48, 0.08); }
.chips input:checked + label { background: var(--slate); color: var(--orange); }
.chips input:focus-visible + label { outline: 3px solid var(--slate); outline-offset: 2px; }
.crewline { font-weight: 600; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
#dist { flex-basis: 100%; }

.ask-row { display: flex; align-items: center; gap: 8px; }
.ask-row label { flex: none; font-weight: 700; margin-right: 4px; }
.ask input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; background: var(--hatch); }
.ask input::placeholder { color: #5a4136; }
.tries { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 4px 0 0; }
.tries .demo { margin-left: auto; }
.tries button { background: none; border: 0; padding: 4px 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.answer { margin-top: 8px; padding: 12px 14px; background: var(--paper); border-radius: 8px; display: grid; gap: 4px; }
.a-head { font-weight: 700; }
.a-read, .a-more { font-size: 0.92rem; }
.a-tip { font-size: 0.92rem; font-weight: 600; }

/* ---- The calendar ---- */
.cal { background: var(--paper); border-radius: 12px; padding: 14px 16px 12px; box-shadow: 0 18px 40px rgba(28, 34, 48, 0.18); display: grid; gap: 8px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.cal-head h2 { font-size: 1.3rem; }
.cal-key { font-size: 0.8rem; color: var(--muted); }
#cal-note { color: var(--slate); font-weight: 600; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.cal-grid li { min-width: 0; }
.cal-fallback { grid-column: 1 / -1; font-size: 0.92rem; }
.day { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 48px; height: 100%; padding: 4px 8px 5px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--slate); text-decoration: none; }
.day .w { display: none; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.day .n { font-size: 0.8rem; font-weight: 600; }
.day .p { font: 800 1.08rem/1.1 var(--head); font-variant-numeric: tabular-nums; perspective: 300px; white-space: nowrap; }
.day .full { font-size: 0.72rem; font-weight: 700; }
.day.is-peak { background: repeating-linear-gradient(135deg, var(--hatch) 0 6px, var(--white) 6px 12px); }
.day.is-full { color: var(--muted); background: transparent; }
.day.is-full .p { text-decoration: line-through; text-decoration-thickness: 2px; }
.day.is-full.is-peak { background: repeating-linear-gradient(135deg, rgba(255, 228, 216, 0.55) 0 6px, transparent 6px 12px); }
.day.is-past { background: transparent; border-style: dashed; color: var(--muted); }
a.day:hover { border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); }
a.day.is-pick { background: var(--slate); border-color: var(--slate); color: var(--paper); }
a.day.is-pick .p { color: var(--orange); }
.ch { display: inline-block; }
.ch.flip { animation: flip 0.34s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--k) * 28ms); }
@keyframes flip { from { transform: rotateX(90deg) translateY(-30%); opacity: 0; } to { transform: none; opacity: 1; } }
.day.glow { animation: glow 0.9s ease-out; }
@keyframes glow { 0% { box-shadow: 0 0 0 3px var(--orange); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }

.cal-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 2px; }
.hold-note { font-size: 0.86rem; font-weight: 600; }
.hero-call { font-size: 0.9rem; font-weight: 600; }
.cal-opts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 8px; }
.cal > .demo { font-size: 0.76rem; color: var(--muted); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.switch em { font-style: normal; font-weight: 600; color: var(--muted); }
.track { flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--white); border: 2px solid var(--slate); position: relative; transition: background 0.2s; }
.track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--slate); transition: transform 0.2s; }
.switch input:checked + .track { background: var(--slate); }
.switch input:checked + .track::after { background: var(--orange); transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 3px solid var(--slate); outline-offset: 2px; }
.more summary { cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 2px 0; }
.more-in { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; margin-top: 10px; }
.more-in select { min-height: 38px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.more-in .tick { grid-column: 1 / -1; }
.tick { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.tick input { width: 18px; height: 18px; accent-color: var(--slate); flex: none; }

/* ---- Sections ---- */
.section { padding: 76px 0; }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lede { margin-top: 12px; max-width: 62ch; font-size: 1.08rem; }

.rates-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; margin: 32px 0 20px; align-items: start; }
.rate-table, .clean-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rate-table th, .rate-table td, .clean-table th, .clean-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate-table thead th, .clean-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0; }
.rate-table tbody th { font-weight: 700; }
.rate-table tbody th span { display: block; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.rate-table td { font: 800 1.15rem var(--head); white-space: nowrap; }
.rate-table td:last-child { background: repeating-linear-gradient(135deg, var(--hatch) 0 6px, transparent 6px 12px); }
.rules { margin: 0; display: grid; gap: 0; }
.rules div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rules dt { font-weight: 700; }
.rules dd { margin: 0; }

.cleaning { background: var(--slate); color: var(--paper); }
.cleaning .lede { color: var(--paper); }
.wipe { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin: 32px 0 36px; align-items: start; }
.w-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #3a4150; touch-action: pan-y; cursor: ew-resize; user-select: none; }
.w-stage figure { position: absolute; inset: 0; margin: 0; }
.w-stage img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.w-dusty { clip-path: inset(0 0 0 var(--at, 0%)); }
.w-stage figcaption { position: absolute; top: 12px; background: var(--slate); color: var(--paper); font-size: 0.8rem; font-weight: 700; padding: 5px 10px; border-radius: 5px; }
.w-clean figcaption { left: 12px; }
.w-dusty figcaption { right: 12px; }
.w-handle { position: absolute; top: 0; bottom: 0; left: var(--at, 0%); width: 4px; margin-left: -2px; background: var(--orange); }
.w-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--orange); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.w-handle::before { content: ""; position: absolute; top: 50%; left: 50%; z-index: 1; width: 16px; height: 12px; margin: -6px 0 0 -8px; border-left: 3px solid var(--slate); border-right: 3px solid var(--slate); }
.w-handle:focus-visible { outline: 3px solid var(--paper); outline-offset: 0; }
.w-side { display: grid; gap: 18px; }
.w-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.w-list li { position: relative; padding-left: 30px; color: var(--soft); transition: color 0.25s; }
.w-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border: 2px solid var(--soft); border-radius: 50%; }
.w-list li.is-done { color: var(--paper); }
.w-list li.is-done::before { background: var(--orange); border-color: var(--orange); }
.w-list li.is-done::after { content: ""; position: absolute; left: 6px; top: 6px; width: 5px; height: 9px; border: solid var(--slate); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.w-side .button.slate { background: var(--orange); color: var(--slate); justify-self: start; }
.wipe.still .w-stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; cursor: auto; background: none; }
.wipe.still .w-stage figure { position: relative; inset: auto; }
.wipe.still .w-dusty { clip-path: none; order: -1; }
.wipe.still .w-handle, .wipe.still #clean-it { display: none; }
.clean-table caption { text-align: left; font: 800 1.25rem var(--head); margin-bottom: 12px; }
.clean-table th, .clean-table td { border-color: rgba(246, 244, 238, 0.18); }
.clean-table td { font-weight: 700; }

.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.contact { margin: 0; }
.contact div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; }

.dock { display: none; }
.foot { background: var(--slate); color: var(--paper); padding: 40px 0 56px; }
.foot-name { font: 800 1.2rem var(--head); margin-bottom: 8px; }
.foot-demo { max-width: 70ch; color: var(--soft); }

/* ---- Hold a day (quote.html) ---- */
.pick-view { background: var(--orange); }
.panel-flat { max-width: 1040px; margin: 0 auto; padding: 36px 24px 48px; }
.panel-flat h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.hold-view, .held { padding-top: 40px; padding-bottom: 80px; }
.back a { font-weight: 600; }
.page-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 10px; }
.h-small { color: var(--orange); }
.hold-what { margin-top: 8px; font-weight: 600; }
.hold-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; margin-top: 28px; align-items: start; }
.hold-form { display: grid; gap: 22px; }
.hold-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.hold-form legend { font: 800 1.35rem var(--head); margin-bottom: 12px; padding: 0; }
.hold-form legend span { font: 600 0.9rem var(--body); color: var(--muted); }
.ex-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select { min-height: 46px; padding: 8px 12px; border: 1px solid #8a909c; border-radius: 8px; background: var(--white); }
.error { color: #a32a00; font-weight: 700; }
.hold-form .button { justify-self: start; }
.receipt { position: sticky; top: 20px; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 10px; padding: 20px; display: grid; gap: 14px; }
.receipt h2 { font-size: 1.3rem; }
.receipt-lines { margin: 0; display: grid; gap: 10px; }
.receipt-lines div { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: 0.94rem; }
.receipt-lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--slate); padding-top: 10px; font-weight: 700; }
.receipt-total b { font: 800 2rem var(--head); font-variant-numeric: tabular-nums; }
.held:focus { outline: none; }
.held-tag { display: inline-block; background: var(--orange); font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.held-sub { margin-top: 10px; font-size: 1.1rem; max-width: 60ch; }
.held-who { margin-top: 8px; }
.day-card { margin: 28px 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.day-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.ruler { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--slate); padding-bottom: 4px; }
.day-list { list-style: none; margin: 0; padding: 0; }
.day-list li { position: relative; display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 26px 0 12px; border-bottom: 1px solid var(--line); }
.day-list li::before { content: ""; position: absolute; top: 9px; height: 10px; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); min-width: 10px; border-radius: 5px; background: var(--orange); }
.day-list .t-clean::before { background: var(--slate); }
.day-list .t-keys::before, .day-list .t-done::before { width: 14px; height: 14px; top: 7px; border-radius: 50%; background: var(--slate); box-shadow: 0 0 0 3px var(--orange); }
.day-list b { font-variant-numeric: tabular-nums; }

/* ---- Narrow screens ---- */
@media (max-width: 899px) {
  .wrap { padding: 0 16px; }
  .top { position: static; background: var(--orange); }
  .top-in { padding: 10px 16px; }
  .nav-link, .nav-cta { display: none; }
  .nav-phone { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 2px solid var(--slate); border-radius: 8px; font-weight: 700; }
  .hero { display: block; min-height: 0; }
  .lift { height: 230px; }
  .lift img { object-position: 50% 45%; }
  .lift figcaption { left: 12px; bottom: 10px; font-size: 0.76rem; padding: 5px 9px; }
  .panel, .panel-flat { padding: 14px 16px 22px; gap: 10px; }
  .kicker { display: none; }
  .panel h1 { font-size: 1.95rem; }
  .pickers { display: grid; gap: 8px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips legend { flex: none; width: 3.4em; margin-right: 4px; line-height: 1.15; }
  .chips label { flex: none; min-height: 38px; padding: 5px 12px; }
  .crewline { font-size: 0.92rem; order: 3; }
  .ask { order: 6; }
  .ask-row { flex-wrap: wrap; }
  .ask-row label { flex-basis: 100%; }
  .tries .demo { margin-left: 0; }
  .cal { order: 4; padding: 12px; gap: 8px; border-radius: 10px; }
  .cal-key { font-size: 0.78rem; }
  .cal-head .switch { font-size: 0.9rem; }
  .cal-head h2 { font-size: 1.08rem; }
  .cal-week { display: none; }
  .cal-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 6px; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: thin; }
  .cal-grid li { flex: 0 0 74px; scroll-snap-align: start; }
  .cal-grid li:has(.is-past) { display: none; }
  .day { min-height: 74px; }
  .day .w { display: block; }
  .cal-foot { gap: 6px 12px; }
  .cal-foot .button { flex: 1 1 100%; }
  .hero-call { display: none; }
  .section { padding: 56px 0; }
  .rates-grid, .wipe, .area-grid, .hold-grid { grid-template-columns: minmax(0, 1fr); }
  .rate-table td { white-space: normal; font-size: 1rem; }
  .rules div, .contact div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wipe.still .w-stage { grid-template-columns: minmax(0, 1fr); }
  .ex-row { grid-template-columns: minmax(0, 1fr); }
  .receipt { position: static; order: -1; }
  .day-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hold-view, .held { padding-top: 24px; padding-bottom: 56px; }
  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--slate); transform: translateY(110%); transition: transform 0.25s; }
  .dock.is-on { transform: none; }
  .dock .button { flex: 1; }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
