/* Lilac Way Dental Guide: Quadrant Chart design (prefix qc-). Mint Enamel and Coral. */
:root {
  --paper: oklch(97.5% 0.012 175);
  --paper-2: oklch(94% 0.025 175);
  --paper-3: oklch(89% 0.04 180);
  --ink: oklch(25% 0.04 235);
  --ink-2: oklch(42% 0.04 235);
  --line: oklch(83% 0.03 200);
  --coral: oklch(64% 0.17 28);
  --coral-ink: oklch(46% 0.15 28);
  --coral-soft: oklch(94% 0.04 30);
  --mint: oklch(55% 0.09 175);
  --night: oklch(24% 0.04 235);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Literata", Georgia, "Times New Roman", serif;
  --radius: 18px;
  --measure: 42rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; font-style: normal; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.6em; overflow-wrap: anywhere; min-width: 0; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.qc-wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-inline: 1.25rem; }
.qc-skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 100; }
.qc-skip:focus { left: 0.5rem; top: 0.5rem; }
.qc-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* top bar and mirror button */
.qc-bar { position: sticky; top: 0; z-index: 30; background: color-mix(in oklch, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.qc-bar-row { display: flex; align-items: center; gap: 1rem; padding-block: 0.6rem; }
.qc-mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.qc-mark svg { flex: none; }
.qc-mark span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; min-width: 0; }
.qc-mark small { font-family: var(--font-body); font-weight: 400; font-size: 0.74rem; color: var(--ink-2); display: none; }
.qc-bar-link { display: none; font-family: var(--font-display); font-weight: 600; color: var(--ink); text-decoration: none; padding: 0.4rem 0.2rem; white-space: nowrap; }
.qc-bar-link:hover { color: var(--coral-ink); text-decoration: underline; }
.qc-mirror { display: inline-flex; align-items: center; gap: 0.6rem; border: 0; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; padding: 0.35rem 1rem 0.35rem 0.4rem; border-radius: 999px; cursor: pointer; min-height: 2.75rem; white-space: nowrap; }
.qc-mirror:hover { background: var(--coral-ink); }
.qc-mirror-glass { width: 2rem; height: 2rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, oklch(99% 0.01 175), var(--paper-3)); border: 2px solid var(--coral); position: relative; flex: none; }
.qc-mirror-glass::before, .qc-mirror-glass::after { content: ""; position: absolute; background: var(--coral); }
.qc-mirror-glass::before { left: 50%; top: 18%; bottom: 18%; width: 2px; transform: translateX(-50%); }
.qc-mirror-glass::after { top: 50%; left: 18%; right: 18%; height: 2px; transform: translateY(-50%); }
@media (min-width: 40rem) { .qc-mark small { display: block; } .qc-bar-link { display: inline-block; } }

/* full-screen menu */
.qc-menu { position: fixed; inset: 0; z-index: 60; background: var(--night); overflow-y: auto; padding: 1rem; }
.qc-menu[hidden] { display: none; }
.qc-menu-card { max-width: 66rem; margin: 0 auto; color: var(--paper); }
.qc-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.qc-menu-home { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--paper); text-decoration: none; }
.qc-menu-close { background: var(--coral); color: var(--ink); border: 0; font-family: var(--font-display); font-weight: 700; padding: 0.6rem 1.2rem; border-radius: 999px; cursor: pointer; min-height: 2.75rem; }
.qc-menu-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid oklch(45% 0.04 235); border-radius: var(--radius); overflow: hidden; }
.qc-menu-q { padding: 1.2rem 1.3rem; border-bottom: 1px solid oklch(45% 0.04 235); position: relative; }
.qc-menu-q:last-child { border-bottom: 0; }
.qc-menu-n { position: absolute; right: 1rem; top: 0.3rem; font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: oklch(40% 0.05 235); margin: 0; }
.qc-menu-q h2, .qc-menu-foot h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.7rem; }
.qc-menu ul { list-style: none; padding: 0; margin: 0; }
.qc-menu li { margin: 0; }
.qc-menu a { color: var(--paper); text-decoration: none; display: block; padding: 0.4rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.qc-menu a:hover, .qc-menu a[aria-current] { color: var(--coral); }
.qc-menu-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; padding: 1.4rem 0.3rem 2rem; }
@media (min-width: 48rem) {
  .qc-menu { padding: 2rem; }
  .qc-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qc-menu-q:nth-child(odd) { border-right: 1px solid oklch(45% 0.04 235); }
  .qc-menu-q:nth-child(3), .qc-menu-q:nth-child(4) { border-bottom: 0; }
  .qc-menu-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* buttons, notices, shared bits */
.qc-btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; background: var(--ink); color: var(--paper); text-decoration: none; padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid var(--ink); cursor: pointer; min-height: 2.9rem; }
.qc-btn:hover { background: var(--coral-ink); border-color: var(--coral-ink); color: var(--paper); }
.qc-btn-ghost { background: transparent; color: var(--ink); }
.qc-btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qc-notice { background: var(--coral-soft); border: 1px solid oklch(85% 0.07 30); border-radius: 12px; padding: 0.8rem 1.1rem; font-size: 0.98rem; margin: 1.4rem 0; }
.qc-note { font-size: 0.92rem; color: var(--ink-2); }
.qc-crumbs { font-family: var(--font-display); font-size: 0.85rem; color: var(--ink-2); margin-bottom: 0.9rem; }
.qc-crumbs a { color: var(--ink-2); }
.qc-badge { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.9rem; color: var(--ink); }
.qc-badge b { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--coral); color: var(--ink); font-weight: 700; }
.qc-tag { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 0.8rem; }

/* hero */
.qc-hero { padding-block: clamp(2rem, 6vw, 4rem) 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.qc-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 38rem; }
.qc-hero-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.qc-lens { position: relative; width: min(100%, 28rem); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; border: 10px solid var(--paper-3); box-shadow: 0 0 0 2px var(--ink); overflow: hidden; }
.qc-lens .qc-photo, .qc-lens img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.qc-lens::before, .qc-lens::after { content: ""; position: absolute; background: color-mix(in oklch, var(--coral) 80%, transparent); z-index: 2; pointer-events: none; }
.qc-lens::before { left: 50%; top: 0; bottom: 0; width: 2px; }
.qc-lens::after { top: 50%; left: 0; right: 0; height: 2px; }
.qc-lens-dot { position: absolute; left: 50%; top: 50%; width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; border: 2px solid var(--coral); border-radius: 50%; z-index: 3; }
@media (min-width: 56rem) { .qc-hero-home { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } .qc-hero-guide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }

.qc-photo { margin: 0; }
.qc-photo img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.qc-photo-tab { position: relative; }
.qc-photo-tab::after { content: ""; position: absolute; right: -0.6rem; bottom: -0.6rem; width: 5rem; height: 5rem; border-right: 6px solid var(--coral); border-bottom: 6px solid var(--coral); border-radius: 0 0 var(--radius) 0; z-index: -1; }

/* quadrant chart on the home page */
.qc-section { padding-block: clamp(1.6rem, 4vw, 2.6rem); }
.qc-section-label { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 0.5rem; }
.qc-quad { display: grid; grid-template-columns: minmax(0, 1fr); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.qc-quad-tile { position: relative; padding: 1.4rem 1.4rem 1.6rem; border-bottom: 1px solid var(--ink); min-width: 0; }
.qc-quad-tile:last-child { border-bottom: 0; }
.qc-quad-n { position: absolute; right: 1rem; top: 0.4rem; font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--coral-soft); -webkit-text-stroke: 2px var(--coral); margin: 0; }
.qc-quad-tile h3 { font-size: 1.35rem; margin-bottom: 0.2rem; padding-right: 3.5rem; }
.qc-quad-tile > p { color: var(--ink-2); font-size: 0.97rem; padding-right: 3.5rem; }
.qc-quad-tile > p.qc-quad-n { font-size: 4.2rem; padding: 0; color: var(--coral-soft); }
.qc-quad-tile ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.6rem; }
.qc-quad-tile li a { display: block; text-decoration: none; background: var(--paper-2); border-radius: 12px; padding: 0.7rem 0.9rem; color: var(--ink); }
.qc-quad-tile li a:hover { background: var(--coral-soft); }
.qc-quad-tile li b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.qc-quad-tile li span { font-size: 0.92rem; color: var(--ink-2); }
@media (min-width: 48rem) {
  .qc-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qc-quad-tile:nth-child(odd) { border-right: 1px solid var(--ink); }
  .qc-quad-tile:nth-child(3), .qc-quad-tile:nth-child(4) { border-bottom: 0; }
  .qc-quad-tile:nth-child(1), .qc-quad-tile:nth-child(2) { border-bottom: 1px solid var(--ink); }
}

/* directory preview rows and cards */
.qc-rows { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.qc-rows li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.qc-rows .qc-no { font-family: var(--font-display); font-weight: 700; color: var(--coral-ink); }
.qc-rows a.qc-row-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.qc-rows a.qc-row-name:hover { color: var(--coral-ink); text-decoration: underline; }
.qc-rows .qc-row-meta { grid-column: 2; color: var(--ink-2); font-size: 0.96rem; overflow-wrap: anywhere; }
.qc-more { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 700; }
.qc-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.qc-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.2rem; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.qc-card .qc-no { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--coral-ink); }
.qc-card h2 { font-size: 1.2rem; margin: 0.1rem 0 0.4rem; }
.qc-card h2 a { color: var(--ink); text-decoration: none; }
.qc-card h2 a:hover { color: var(--coral-ink); text-decoration: underline; }
.qc-card p { margin: 0; font-size: 0.96rem; color: var(--ink-2); overflow-wrap: anywhere; }
.qc-card .qc-card-go { margin-top: 0.7rem; font-family: var(--font-display); font-weight: 700; }

/* map blocks */
.qc-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; align-items: start; }
@media (min-width: 56rem) { .qc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.qc-map { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.qc-map iframe { display: block; width: 100%; height: 20rem; border: 0; }
.qc-chips { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.qc-chips a { display: inline-block; text-decoration: none; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-family: var(--font-display); font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.qc-chips a:hover { background: var(--coral-soft); border-color: var(--coral); }

/* page body for guides and areas */
.qc-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-block: 1rem 2rem; }
.qc-glance { background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.3rem 0.6rem; align-self: start; }
.qc-glance h2 { font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-ink); }
.qc-checks { list-style: none; padding: 0; margin: 0; }
.qc-checks li { position: relative; padding: 0 0 0.8rem 1.7rem; }
.qc-checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 2px solid var(--coral); background: var(--coral-soft); }
.qc-main { min-width: 0; max-width: var(--measure); }
.qc-sec { margin-bottom: 2rem; }
.qc-sec h2 { padding-top: 0.4rem; border-top: 3px solid var(--coral); display: inline-block; padding-right: 1.2rem; }
.qc-faq h3 { margin-top: 1.4rem; }
.qc-refs { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; font-size: 0.95rem; }
.qc-refs h2 { font-size: 1rem; border: 0; padding: 0; }
.qc-refs ol { margin: 0; }
@media (min-width: 64rem) {
  .qc-page { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3rem; }
  .qc-glance { order: 2; position: sticky; top: 5.2rem; }
  .qc-main { order: 1; }
}
.qc-pager { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; padding-bottom: 3rem; }
.qc-pager a { display: block; text-decoration: none; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.qc-pager a:hover { border-color: var(--coral); background: var(--coral-soft); }
.qc-pager span { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-ink); }
.qc-next { text-align: right; }
@media (min-width: 40rem) { .qc-pager { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* profile chart sheet */
.qc-sheet { max-width: 48rem; padding-bottom: 2rem; }
.qc-facts { width: 100%; border-collapse: collapse; margin: 0 0 2rem; border-top: 2px solid var(--ink); }
.qc-facts th, .qc-facts td { text-align: left; padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.qc-facts th { width: 8rem; font-family: var(--font-display); font-weight: 700; color: var(--coral-ink); }
.qc-facts td { overflow-wrap: anywhere; }

/* forms */
.qc-contact { display: grid; gap: 1rem; background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.4rem; max-width: 36rem; }
.qc-contact h2 { margin: 0; }
.qc-contact label { display: grid; gap: 0.35rem; font-family: var(--font-display); font-weight: 600; }
.qc-contact input[type=text], .qc-contact input[type=email], .qc-contact textarea { font: inherit; font-family: var(--font-body); font-weight: 400; padding: 0.7rem 0.8rem; border: 2px solid var(--ink-2); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.qc-contact textarea { resize: vertical; }

/* footer */
.qc-foot { background: var(--night); color: var(--paper); margin-top: 3rem; padding: 2rem 0 2.5rem; }
.qc-foot a { color: var(--paper); text-decoration: none; }
.qc-foot a:hover { color: var(--coral); text-decoration: underline; }
.qc-strip { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid oklch(45% 0.04 235); border-radius: 12px; overflow: hidden; }
.qc-strip li { border-right: 1px solid oklch(45% 0.04 235); border-bottom: 1px solid oklch(45% 0.04 235); min-width: 0; }
.qc-strip a { display: block; padding: 0.7rem 0.5rem 0.8rem; text-align: center; height: 100%; }
.qc-strip b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--coral); line-height: 1; margin-bottom: 0.3rem; }
.qc-strip span { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; overflow-wrap: anywhere; }
@media (min-width: 40rem) { .qc-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .qc-strip { grid-template-columns: repeat(8, minmax(0, 1fr)); } .qc-strip li { border-bottom: 0; } .qc-strip li:last-child { border-right: 0; } }
.qc-foot-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
@media (min-width: 48rem) { .qc-foot-cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.qc-foot-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.4rem; }
.qc-foot h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.qc-foot ul { list-style: none; padding: 0; margin: 0; }
.qc-foot li { padding: 0.15rem 0; }
.qc-fine { margin: 2rem 0 0; font-size: 0.85rem; color: oklch(75% 0.02 235); }
.qc-prose { max-width: var(--measure); }
@media (prefers-reduced-motion: no-preference) { .qc-btn, .qc-mirror, .qc-chips a, .qc-quad-tile li a { transition: background 0.15s, color 0.15s, border-color 0.15s; } }
