/* STR family look for the shared account pages: brass scheme on a stone ground.
   Tokens follow the shared Durand brand contract. str-site.css stays vendored
   unchanged; its variables and hard-coded chrome are themed from here. */
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/_strworks-account/BigShoulders-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/_strworks-account/BigShoulders-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/_strworks-account/AtkinsonHyperlegibleNext-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/_strworks-account/AtkinsonHyperlegibleNext-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/_strworks-account/AtkinsonHyperlegibleMono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/_strworks-account/AtkinsonHyperlegibleMono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --petricite: #F5F5F0;
  --d-ground: #1D1B21;
  --d-ground-glass: rgb(29 27 33 / 88%);
  --d-plate: #26232B;
  --d-plate-2: #2F2B35;
  --d-plate-3: #3A3541;
  --d-line: #3D3846;
  --d-line-strong: #655E70;
  --d-ink: #F5F5F0;
  --d-muted: #ADA7B6;
  --d-accent: #D6AE64;
  --d-accent-hover: #E2BF7C;
  --d-accent-pressed: #BF9950;
  --d-accent-ink: #D6AE64;
  --d-accent-ink-hover: #E8CB90;
  --d-on-accent: #1D1B21;
  --d-ok: #2B8A57;
  --d-ok-ink: #7FD3A3;
  --d-warn: #F4B81C;
  --d-warn-ink: #F8CF63;
  --d-danger: #C9353D;
  --d-danger-ink: #FF9A9E;
  --d-info-ink: #9DB7D6;
  --d-vein-opacity: .035;

  --d-font-display: "Big Shoulders", "Arial Narrow", system-ui, sans-serif;
  --d-font-text: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --d-font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", monospace;
  --d-radius-control: 5px;
  --d-radius-plate: 10px;
  --d-ease: cubic-bezier(.2, .7, .2, 1);

  /* Shared website system variables from the vendored str-site.css. */
  --str-canvas: var(--d-ground);
  --str-panel: var(--d-plate);
  --str-raised: var(--d-plate-2);
  --str-ink: var(--d-ink);
  --str-muted: var(--d-muted);
  --str-blue: var(--d-accent-ink);
  --str-rule: var(--d-line);
  color-scheme: dark;
  scrollbar-color: var(--d-line-strong) var(--d-ground);
}
@media (prefers-color-scheme: light) {
  :root {
    --petricite: #F6F4F0;
    --d-ground: #F6F4F0;
    --d-ground-glass: rgb(246 244 240 / 88%);
    --d-plate: #FCFBF8;
    --d-plate-2: #EEEBE5;
    --d-plate-3: #E3DFD7;
    --d-line: #DAD5CB;
    --d-line-strong: #A39C8F;
    --d-ink: #1D1B21;
    --d-muted: #5F5966;
    --d-accent: #8A6A2E;
    --d-accent-hover: #7A5D27;
    --d-accent-pressed: #6A5021;
    --d-accent-ink: #7A5C22;
    --d-accent-ink-hover: #5E4619;
    --d-on-accent: #FFFFFF;
    --d-ok: #2B8A57;
    --d-ok-ink: #1F6B43;
    --d-warn: #B88300;
    --d-warn-ink: #7A5800;
    --d-danger: #C9353D;
    --d-danger-ink: #A82A31;
    --d-info-ink: #2F5C8F;
    --d-vein-opacity: .05;
    color-scheme: light;
  }
}

/* Ground: the stone colour with a barely visible vein pattern. */
.str-site-body {
  background: var(--d-ground);
  color: var(--d-ink);
  font-family: var(--d-font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.str-site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--petricite);
  opacity: var(--d-vein-opacity);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath stroke-width='1.6' d='M-20 140C90 120 150 190 250 170s170-90 260-60 150 120 250 110 120-40 160-50'/%3E%3Cpath stroke-width='.9' d='M250 170c30 60 20 120 70 170s120 40 150 110'/%3E%3Cpath stroke-width='1.2' d='M-20 520c120-30 170 30 260 10s120-110 230-100 180 90 280 70 100-30 130-40'/%3E%3Cpath stroke-width='.8' d='M490 430c-10 70 40 110 20 180s-80 90-60 170'/%3E%3Cpath stroke-width='1' d='M120 920c40-90 130-120 170-200s10-160 60-200'/%3E%3Cpath stroke-width='.7' d='M640 -20c-20 80 30 130 10 210s-70 110-40 180 110 70 130 140'/%3E%3Cpath stroke-width='.6' d='M770 520c40 50 30 120 80 160s40 120 70 160'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 900px 900px repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath stroke-width='1.6' d='M-20 140C90 120 150 190 250 170s170-90 260-60 150 120 250 110 120-40 160-50'/%3E%3Cpath stroke-width='.9' d='M250 170c30 60 20 120 70 170s120 40 150 110'/%3E%3Cpath stroke-width='1.2' d='M-20 520c120-30 170 30 260 10s120-110 230-100 180 90 280 70 100-30 130-40'/%3E%3Cpath stroke-width='.8' d='M490 430c-10 70 40 110 20 180s-80 90-60 170'/%3E%3Cpath stroke-width='1' d='M120 920c40-90 130-120 170-200s10-160 60-200'/%3E%3Cpath stroke-width='.7' d='M640 -20c-20 80 30 130 10 210s-70 110-40 180 110 70 130 140'/%3E%3Cpath stroke-width='.6' d='M770 520c40 50 30 120 80 160s40 120 70 160'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 900px 900px repeat;
}
@media (prefers-color-scheme: light) {
  .str-site-body::before { background: #1D1B21; }
}

/* Vendored header chrome: same structure, family palette and type. */
html { scrollbar-color: var(--d-line-strong) var(--d-ground); }
*::-webkit-scrollbar-track { background: var(--d-ground); }
*::-webkit-scrollbar-thumb { background: var(--d-line-strong); border-color: var(--d-ground); }
*::-webkit-scrollbar-thumb:hover { background: var(--d-muted); }
.str-site-body .str-site-header { font-family: var(--d-font-text); font-size: 15px; background: var(--d-ground-glass); border-bottom-color: var(--d-line); }
.str-site-body .str-site-header-inner { min-height: 72px; padding-block: 14px; }
.str-site-body .str-site-brand { gap: 12px; font-family: var(--d-font-display); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: .01em; color: var(--d-ink); }
.str-site-body .str-site-brand > img { width: 36px; height: 36px; }
.str-site-body .str-site-nav a:not(.str-site-account), .str-site-body .str-site-menu > summary { color: var(--d-ink); font-size: 15px; font-weight: 500; border-radius: var(--d-radius-control); }
.str-site-body .str-site-nav a:not(.str-site-account):hover, .str-site-body .str-site-menu > summary:hover { color: var(--d-accent-ink-hover); background: var(--d-plate-2); }
.str-site-body .str-site-nav a[aria-current='page'] { color: var(--d-accent-ink); }
.str-site-body .str-site-nav select { color: var(--d-ink); background-color: var(--d-plate); background-image: linear-gradient(45deg, transparent 50%, var(--d-muted) 50%), linear-gradient(135deg, var(--d-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; border-color: var(--d-line-strong); border-radius: var(--d-radius-control); }
.str-site-body .str-site-account { background: var(--d-plate-2); border-color: var(--d-line-strong); color: var(--d-muted); }
.str-site-body .str-site-account:hover { border-color: var(--d-accent-ink); color: var(--d-ink); }
.str-site-body .str-site-header a:focus-visible, .str-site-body .str-site-header select:focus-visible, .str-site-body .str-site-menu > summary:focus-visible { outline: 2px solid var(--d-accent-ink); outline-offset: 3px; }
.str-site-body .str-site-menu-panel { background: var(--d-plate); border-color: var(--d-line); border-radius: var(--d-radius-plate); box-shadow: none; }
@media (max-width: 700px) {
  .str-site-body .str-site-header-inner { min-height: 60px; padding-block: 10px; }
  .str-site-body .str-site-brand { font-size: 22px; }
  .str-site-body .str-site-brand > img { width: 30px; height: 30px; }
}
@media (prefers-reduced-transparency: reduce) {
  .str-site-body .str-site-header { background: var(--d-ground); }
}

/* Header text waits (at most 3 s, set by a tiny head script) for its font, so a late font swap
   never shifts the header. Without JavaScript the class is never set. */
.fonts-pending .str-site-header-inner { visibility: hidden; }

/* Header brand: an icon and name, or a full lockup whose name stays for assistive technology.
   The img carries the logo's viewBox aspect as width/height, so its slot is reserved before the
   drawing loads and a logo swap never moves the header. */
.brand-picture { display: inline-flex; align-items: center; flex-shrink: 0; height: 36px; }
.brand-picture img { display: block; width: 36px; height: 36px; object-fit: contain; }
body[data-lockup=true] .brand-picture img { width: auto; height: 34px; max-width: 160px; }
body[data-lockup=true] #brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 700px) {
  .brand-picture { height: 30px; }
  .brand-picture img { width: 30px; height: 30px; }
  body[data-lockup=true] .brand-picture img { height: 28px; max-width: 120px; }
}

/* Shared type. */
.str-site-body h1, .str-site-body h2, .str-site-body h3 { font-family: var(--d-font-display); font-weight: 800; letter-spacing: .005em; color: var(--d-ink); }
.str-site-body h1 { line-height: 1.02; }
.str-site-body h2, .str-site-body h3 { line-height: 1.1; }
.str-site-body a { color: var(--d-accent-ink); text-underline-offset: .2em; }
.str-site-body a:hover { color: var(--d-accent-ink-hover); }
.str-site-body :focus-visible { outline: 2px solid var(--d-accent-ink); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--d-accent) 34%, transparent); }
