/* Floorwalk: page text for the service landing page and the project pages.
   Uses the tokens, .btn and .topbar from app.css. */

.topbar.solid { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.topbar nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.topbar nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 13px; }
.topbar nav a:not(.btn):hover { color: var(--ink); }
.topbar nav + .btn, .topbar nav .btn { margin-left: 0; }
.topbar a.btn { text-decoration: none; }
@media (max-width: 640px) { .topbar nav a:not(.btn) { display: none; } }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.prose { max-width: 700px; }

.page { padding: 88px 0 0; line-height: 1.6; font-size: 16px; }
.page h1, .page h2, .page h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.page h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 600; }
.page h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 600; margin-bottom: 14px; }
.page h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.page p { margin: 0 0 14px; }
.page a:not(.btn) { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.page section { padding: 56px 0; border-top: 1px solid var(--line); }
.page .lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 720px; margin-top: 16px; }
.kicker { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.kicker b { color: var(--accent); font-weight: 500; }
.muted { color: var(--ink-2); }
.small { font-size: 13.5px; }

.crumbs { font: 400 12px var(--mono); letter-spacing: .04em; color: var(--ink-2); margin-bottom: 26px; }
.page .crumbs a { color: var(--ink-2); }

/* Title-block style fact sheet */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); margin: 34px 0 0; }
.facts > div { padding: 12px 14px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div:nth-child(4n) { border-right: 0; }
.facts > div:nth-last-child(-n+4) { border-bottom: 0; }
.facts dt { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.35; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .facts > div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Room schedule */
.table-scroll { overflow-x: auto; margin: 6px 0 12px; }
table.rooms { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
table.rooms th { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: left; padding: 8px 12px 8px 0; border-bottom: 1.5px solid var(--ink); }
table.rooms td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.rooms td:nth-child(2) { font: 500 14px var(--mono); white-space: nowrap; }
table.rooms td:first-child { font-weight: 500; white-space: nowrap; }
@media (max-width: 640px) {
  table.rooms { min-width: 0; font-size: 14px; }
  table.rooms td:first-child { white-space: normal; }
}

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
figure { margin: 0; }
figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: #e9e4da; }
figcaption { font: 400 12px var(--mono); color: var(--ink-2); margin-top: 8px; letter-spacing: .02em; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 14px; }
ul.ticks li { padding-left: 22px; position: relative; margin-bottom: 7px; }
ul.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border: 1.5px solid var(--accent); border-radius: 50%; }

/* Call to action band */
.cta { background: var(--ink); color: var(--paper); padding: 40px; border-radius: 6px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta h2 { color: var(--paper); }
.cta p { color: #cfcabd; margin: 0; }
.cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); text-decoration: none; display: inline-block; }
.cta .btn.ghost { background: transparent; color: var(--paper); border-color: #6d6a62; }
.cta .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 28px 22px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font: 400 22px var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 2px; color: var(--ink-2); }

.note-box { font-size: 13.5px; color: var(--ink-2); border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; margin: 18px 0 0; }

.btn.lg { padding: 12px 20px; font-size: 14px; }
a.btn { text-decoration: none; display: inline-block; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Footer */
.site-foot { border-top: 1.5px solid var(--ink); margin-top: 56px; padding: 26px 0 40px; font-size: 13.5px; color: var(--ink-2); }
.site-foot .wrap { display: flex; gap: 20px 32px; flex-wrap: wrap; justify-content: space-between; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.page .site-foot a { color: var(--ink-2); }
.page .site-foot .brand { color: var(--ink); text-decoration: none; }

/* Landing page */
.hero { padding: 120px 0 40px; }
.hero h1 { max-width: 880px; }
.hero .row { margin-top: 26px; }
.hero-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.hero-shots figure { position: relative; }
.hero-shots .step { position: absolute; left: 10px; top: 10px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--ink); padding: 3px 7px; }
@media (max-width: 760px) {
  .hero { padding-top: 96px; }
  .hero-shots { grid-template-columns: 1fr; }
  .hero-shots figure:not(:first-child) { display: none; }
}
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 24px; }
.steps > div { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.steps > div::before { counter-increment: s; content: '0' counter(s); display: block; font: 500 12px var(--mono); color: var(--accent); margin-bottom: 8px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.cards > div { border: 1px solid var(--line); background: #faf8f3; border-radius: 6px; padding: 20px 22px; }
.cards p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .steps, .cards { grid-template-columns: 1fr; } }
.page a.project { text-decoration: none; }
.project { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border: 1.5px solid var(--ink); text-decoration: none; color: inherit; background: #faf8f3; }
.project img { width: 100%; height: 100%; object-fit: cover; display: block; border-right: 1.5px solid var(--ink); }
.project .body { padding: 24px; }
.project:hover .go { color: var(--accent); }
@media (max-width: 760px) { .project { grid-template-columns: 1fr; } .project img { border-right: 0; border-bottom: 1.5px solid var(--ink); aspect-ratio: 1.6; } }

/* Smaller project cards: the landing page's project list and "more projects" on project pages */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.page a.tile { display: flex; flex-direction: column; border: 1px solid var(--ink); background: #faf8f3; color: inherit; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 1.6; object-fit: cover; display: block; border-bottom: 1px solid var(--ink); }
.tile .body { padding: 14px 16px 16px; }
.tile h3 { font-size: 16px; }
.tile p { margin: 0; font-size: 14px; }
.tile:hover h3 { color: var(--accent); }
.project + .project-grid, .project + h2 { margin-top: 28px; }
@media (max-width: 860px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } }
.nw { white-space: nowrap; }
