html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--color-bg); color: var(--color-text); text-wrap: pretty; overflow-x: hidden; transition: background-color 0.6s ease; }
    a { color: inherit; text-decoration: none; }
    a:hover { color: var(--color-accent); }
    .arc-sticky { padding: 16px 16px 20px; font-size: 15px; line-height: 1.4; color: #2a2621; box-shadow: 0 6px 14px rgba(40,30,20,0.14), 0 1px 2px rgba(40,30,20,0.12); transition: transform 0.35s cubic-bezier(.2,.7,0,1); }
    .arc-sticky:hover { transform: rotate(0deg) scale(1.04) !important; }
    .arc-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 22px; }
    .arc-journey { display: grid; grid-template-columns: 120px repeat(5, minmax(130px, 1fr)); gap: 12px; min-width: 760px; align-items: start; }
    .arc-journey .arc-sticky { font-size: 13px; padding: 12px 12px 14px; }
    .arc-jhead { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 22px; padding-bottom: 8px; border-bottom: 2px solid var(--color-text); }
    .arc-jrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-neutral-700); padding-top: 12px; }
    .arc-blank { display: inline-block; min-width: 4.5em; border-bottom: 3px solid currentColor; font-size: 0.5em; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; vertical-align: baseline; opacity: 0.9; padding: 0 0.3em; }
    .arc-viewer { display: grid; grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(240px, 320px); gap: 28px; align-items: start; }
    .arc-tabs { display: flex; flex-direction: column; gap: 4px; }
    .arc-tab { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-left: 4px solid transparent; transition: background 0.2s, border-color 0.2s; }
    .arc-tab:hover { background: color-mix(in srgb, var(--color-text) 6%, transparent); }
    .arc-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
    .arc-browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(30,20,20,0.35), 0 2px 6px rgba(30,20,20,0.12); }
    .arc-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ecebea; border-bottom: 1px solid #ddd; }
    .arc-chrome > span { width: 10px; height: 10px; border-radius: 50%; background: #cfcac6; }
    .arc-chrome > span:first-child { background: #ec3013; }
    .arc-url { margin-left: 12px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 12px; color: #6b6767; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .arc-screen { height: clamp(420px, 62vh, 640px); overflow-y: auto; scrollbar-width: thin; }
    .arc-notes { display: flex; flex-direction: column; gap: 12px; }
    .arc-zooms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
    .arc-zoom { margin: 0; }
    .arc-zoom-img { overflow: hidden; background: #fff; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; }
    .arc-zoom-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(.2,.7,0,1); }
    .arc-zoom:hover .arc-zoom-img img { transform: scale(1.08); }
    @media (max-width: 980px) { .arc-viewer { grid-template-columns: minmax(0, 1fr); } .arc-tabs { flex-direction: row; overflow-x: auto; } .arc-tab { border-left: 0; border-bottom: 4px solid transparent; min-width: 150px; } .arc-zooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .arc-zoom { grid-column: span 2 !important; } }

/* lifted from style-hover / style-focus attributes */
.x-h1:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -4px; }
.x-h2:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -4px; }
.x-h3:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -4px; }
.x-h4:hover { background-size: 100% 100%; color: var(--color-bg); }
.x-h5:hover { background-size: 100% 100%; color: var(--color-bg); }
.x-h6:hover { background-size: 100% 100%; color: var(--color-bg); }
.x-h7:hover { background-size: 100% 100%; color: var(--color-bg); }
.x-h8:hover { color: var(--color-accent); }
