/* Calso Directory. The marketing site's tokens (src/app/globals.css), rewritten for plain HTML pages.
   Text colours are chosen for WCAG AA: muted text is #6B7280, links are the darker terracotta. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/directory-kit/fonts/dm-sans-latin-var.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/directory-kit/fonts/instrument-serif-latin.woff2) format("woff2"); }

:root {
  --bg: #FAFAF8; --bg-warm: #F7F5F2; --card: #FFFFFF; --line: rgba(0,0,0,.08); --line-soft: rgba(0,0,0,.05);
  --primary: #D4622B; --primary-dark: #B8521E; --primary-glow: rgba(212,98,43,.10); --accent: #1B6B4A; --accent-glow: rgba(27,107,74,.10);
  --text: #1A1A1A; --text-2: #4B5563; --muted: #6B7280;
  --serif: "Instrument Serif", Georgia, serif; --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dk { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
.dk a { color: var(--primary-dark); text-decoration: none; }
.dk a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dk a:focus-visible, .dk summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.dk-skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: #fff !important; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.dk-skip:focus { left: 16px; }
.dk-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: the marketing navbar's bar, logo and pill */
.dk-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-soft); }
.dk-nav-inner { max-width: 72rem; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }
.dk-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text) !important; font-weight: 600; font-size: 18px; letter-spacing: -.01em; text-decoration: none !important; }
.dk-logo img { display: block; height: 30px; width: auto; }
.dk-nav nav { margin-left: auto; }
.dk-nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.dk-nav-links a { color: var(--text-2); font-size: 13px; font-weight: 500; }
.dk-nav-links a:hover { color: var(--text); text-decoration: none; }
.dk-nav-cta { padding: 10px 20px; border-radius: 999px; background: var(--text); color: #fff !important; font-size: 14px; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.dk-nav-cta:hover { background: #333; text-decoration: none !important; }
.dk-menu { display: none; position: relative; }
.dk-menu summary { list-style: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-content: center; gap: 4px; cursor: pointer; }
.dk-menu summary::-webkit-details-marker { display: none; }
.dk-menu summary span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.dk-menu ul { position: absolute; right: 0; top: 48px; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.dk-menu li a { display: block; padding: 12px 14px; color: var(--text); font-weight: 500; border-radius: 10px; }
.dk-menu li a:hover { background: var(--bg-warm); text-decoration: none; }

.dk-main { max-width: 72rem; margin: 0 auto; padding: 24px 24px 64px; }

/* Breadcrumbs */
.dk-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; color: var(--muted); }
.dk-crumbs li + li::before { content: "/"; margin-right: 6px; color: #C5C5C5; }
.dk-crumbs a { color: var(--text-2); }

/* Hero */
.dk-hero { padding: 32px 0 8px; }
.dk-hero-sm { padding-top: 16px; }
.dk-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-dark); }
.dk h1 { font: 400 clamp(34px, 5vw, 56px)/1.05 var(--serif); letter-spacing: -.01em; margin: 0 0 16px; color: var(--text); }
.dk-hero-sm h1 { font-size: clamp(30px, 4.2vw, 46px); }
.dk h2 { font: 400 28px/1.15 var(--serif); margin: 0 0 16px; }
.dk-h2-icon { display: flex; align-items: center; gap: 10px; }
.dk-h2-icon svg { color: var(--primary); }
.dk-lead { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 46rem; margin: 0 0 20px; }
.dk-hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.dk-btn, .dk-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.dk-btn { background: var(--text); color: #fff !important; }
.dk-btn:hover { background: #333; text-decoration: none !important; }
.dk-btn-ghost { background: #fff; color: var(--text) !important; border: 1px solid var(--line); }
.dk-btn-ghost:hover { border-color: rgba(0,0,0,.18); text-decoration: none !important; }
.dk-btn-ghost svg, .dk-btn svg { flex: none; }

/* Stat chips */
.dk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 0; max-width: 52rem; }
.dk-stats div { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 16px; }
.dk-stats dt { font-size: 12px; color: var(--muted); }
.dk-stats dd { margin: 2px 0 0; font: 400 26px/1.1 var(--serif); color: var(--text); }

.dk-section { margin-top: 40px; }

/* Ranked list */
.dk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dk-row { display: grid; grid-template-columns: 34px 44px 1fr auto; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.dk-rank { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--primary-dark); background: var(--primary-glow); margin-top: 4px; }
.dk-row-main { min-width: 0; }
.dk-row-name { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.dk-row-name a { color: var(--text); }
.dk-row-meta { margin: 2px 0 6px; font-size: 13px; color: var(--muted); }
.dk-row-rating { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); }
.dk-row-rating strong { color: var(--text); }
.dk-rating-lg { font-size: 16px; margin-bottom: 12px; }
.dk-method { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--accent-glow); color: var(--accent); font-size: 12px; font-weight: 600; }
.dk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.dk-tags span { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--bg-warm); color: var(--text-2); border: 1px solid var(--line-soft); }
.dk-row-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.dk-row-actions .dk-btn-ghost { padding: 7px 12px; font-size: 13px; font-weight: 500; justify-content: flex-start; }

/* Stars: grey outline row with the filled share laid over it */
.dk-stars { position: relative; display: inline-block; width: 80px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='15' viewBox='0 0 24 24'%3E%3Cpath fill='%23E5E1DB' d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") repeat-x; background-size: 16px 15px; }
.dk-stars-fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='15' viewBox='0 0 24 24'%3E%3Cpath fill='%23D4962B' d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") repeat-x; background-size: 16px 15px; }

/* Monogram tile: initials over the category's drawn icon */
.dk-mono { position: relative; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(140deg, #E07A45, #B8521E); font-weight: 700; letter-spacing: .02em; flex: none; }
.dk-mono-sm { width: 44px; height: 44px; font-size: 15px; }
.dk-mono-lg { width: 88px; height: 88px; font-size: 30px; border-radius: 22px; }
.dk-mono-icon { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--primary-dark); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.dk-mono-lg .dk-mono-icon { width: 32px; height: 32px; right: -6px; bottom: -6px; }

/* Pager */
.dk-pager ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; }
.dk-pager a, .dk-pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--text); }
.dk-pager [aria-current] { background: var(--text); color: #fff; border-color: var(--text); }
.dk-pager .dk-gap { border: 0; background: none; }

/* Link grids, category cards and groups */
.dk-linkgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.dk-linkgrid a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); color: var(--text); }
.dk-linkgrid a:hover { border-color: rgba(212,98,43,.35); text-decoration: none; }
.dk-linkgrid small { color: var(--muted); font-size: 12px; }
.dk-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.dk-card a { display: block; height: 100%; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow); color: var(--text); }
.dk-card a:hover { border-color: rgba(212,98,43,.35); text-decoration: none; }
.dk-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.dk-card-count { margin: 0; font-size: 13px; color: var(--muted); }
.dk-card-top { margin: 10px 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.dk-card-top svg { color: var(--primary); flex: none; }
.dk-card-top span { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-card-top small { color: var(--muted); white-space: nowrap; }
.dk-groups { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.dk-group { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.dk-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dk-group-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.dk-group-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-glow); color: var(--primary-dark); }
.dk-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dk-group li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.dk-group small { color: var(--muted); }
.dk-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; }

/* Profile */
.dk-profile-head { display: flex; gap: 24px; align-items: flex-start; padding: 16px 0 8px; }
.dk-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.dk-panel { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); margin-top: 16px; }
.dk-profile-grid .dk-panel { margin-top: 0; }
.dk-panel h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.dk-panel h2 svg { color: var(--primary); }
.dk-facts { margin: 12px 0 0; padding-left: 18px; color: var(--text-2); font-size: 15px; }
.dk-facts li + li { margin-top: 6px; }
.dk-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; margin: 0; }
.dk-details dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.dk-details dd { margin: 2px 0 0; font-size: 15px; }
.dk-hours { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.dk-hours th { text-align: left; font-weight: 500; color: var(--text-2); padding: 5px 0; width: 40%; }
.dk-hours td { padding: 5px 0; }
.dk-hours tr + tr { border-top: 1px solid var(--line-soft); }
.dk-small { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* Charts */
.dk-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.dk-chart-label, .dk-chart-tick { font: 500 11px var(--sans); fill: #6B7280; }
.dk-chart-track { fill: #F1EEE9; }
.dk-chart-bar { fill: var(--primary); }
.dk-grid { stroke: #EEEAE4; stroke-width: 1; }
.dk-dot { fill: #C9C3BA; opacity: .75; }
.dk-dot-me { fill: var(--primary); stroke: #fff; stroke-width: 2; }

/* Compare table */
.dk-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); background: #fff; box-shadow: var(--shadow); }
.dk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dk-table caption { text-align: left; padding: 14px 16px 4px; font-size: 13px; color: var(--muted); }
.dk-table th, .dk-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.dk-table thead th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--bg-warm); }
.dk-table tbody th { white-space: normal; min-width: 180px; }
.dk-table tbody th small { display: block; color: var(--muted); font-weight: 400; }
.dk-table-sm { width: auto; margin: 12px 0; }
.dk-yes { color: var(--accent); font-weight: 600; }
.dk-muted { color: var(--muted); }

.dk-prose { max-width: 48rem; }
.dk-prose h2 { margin-top: 28px; }
.dk-prose h2:first-child { margin-top: 0; }
.dk-prose p { color: var(--text-2); }
.dk-promo { margin-top: 32px; padding: 16px 20px; border-radius: var(--radius); background: var(--bg-warm); border: 1px solid rgba(212,98,43,.18); }
.dk-promo p { margin: 0; color: var(--text-2); }
.dk-note { margin-top: 40px; font-size: 13px; color: var(--muted); max-width: 48rem; }

/* Footer */
.dk-footer { background: #fff; border-top: 1px solid var(--line-soft); }
.dk-footer-inner { max-width: 72rem; margin: 0 auto; padding: 48px 24px 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.dk-footer-brand p { font-size: 14px; color: var(--muted); max-width: 22rem; }
.dk-footer-head { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.dk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.dk-footer ul a { color: var(--muted); }
.dk-footer ul a:hover { color: var(--text); }
.dk-footer-legal { max-width: 72rem; margin: 0 auto; padding: 16px 24px 32px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-soft); }

@media (max-width: 860px) {
  .dk-nav nav, .dk-nav-cta { display: none; }
  .dk-menu { display: block; margin-left: auto; }
  .dk-profile-grid { grid-template-columns: 1fr; }
  .dk-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dk-main { padding: 16px 16px 48px; }
  .dk-nav-inner { padding: 0 16px; }
  .dk-row { grid-template-columns: 30px 1fr; padding: 14px; gap: 10px 12px; }
  .dk-row .dk-mono { display: none; }
  .dk-rank { width: 30px; height: 30px; font-size: 13px; margin-top: 0; }
  .dk-row-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .dk-profile-head { flex-direction: column; gap: 16px; }
  .dk-mono-lg { width: 72px; height: 72px; font-size: 24px; }
  .dk-lead { font-size: 16px; }
  .dk-footer-inner { grid-template-columns: 1fr; padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (forced-colors: active) { .dk-stars-fill, .dk-stars { forced-color-adjust: none; } }
.dk-i { display: inline-block; vertical-align: -0.15em; flex: none; }
.dk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.dk-chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-soft); color: var(--text); font-size: 14px; }
.dk-chips a:hover { border-color: rgba(212,98,43,.35); text-decoration: none; }
.dk-chips small { color: var(--muted); font-size: 12px; }
/* Correction / removal request */
.dk-request { margin-top: 40px; max-width: 40rem; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 18px; }
.dk-request summary { cursor: pointer; font-weight: 600; color: var(--text); }
.dk-request form { display: grid; gap: 14px; margin-top: 14px; }
.dk-request fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.dk-request legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.dk-request fieldset label { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.dk-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.dk-field input, .dk-field textarea { font: 400 15px/1.4 var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); }
.dk-field input:focus, .dk-field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.dk-request button { justify-self: start; border: 0; cursor: pointer; font: 600 14px var(--sans); }
.dk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Links inside running text are underlined, not told apart by colour alone. */
.dk-lead a, .dk-note a, .dk-small a, .dk-prose p a, .dk-facts a { text-decoration: underline; text-underline-offset: 2px; }
