/* OIYI chrome: the one rail list, the one footer, the one phone menu, on every page.
   Loaded after oiyi-fonts.css and oiyi-depth.css. Paper, ink, rule: nothing here glows.
   Scale: 12px mono for labels, 15px text, 16px inputs. Critique round 2026-11-03 applied (typographer, art director). */
:root{
  --oc-paper:#FAF7F3; --oc-ink:#222322; --oc-soft:#5E5B5D; --oc-mute:#6B6660; --oc-edge:#77726C; --oc-field:#FDFBF8;
  --oc-hair:rgba(34,35,34,0.08); --oc-rule:rgba(34,35,34,0.14); --oc-accent:#8F530F;
  --oc-sans:'Suisse Intl','Switzer',system-ui,sans-serif; --oc-mono:'Sometype Mono',ui-monospace,monospace;
  --oc-ease:cubic-bezier(0.16,1,0.3,1);
}

/* ---- rail list: one list, one size; MUSIC is a folder that opens and closes ---- */
.oiyi-nav{display:flex;flex-direction:column;gap:2px;font-family:var(--oc-sans);font-synthesis:none}
.oiyi-nav a,.oiyi-nav .on-group{
  display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;
  margin:0 -14px;padding:6px 14px;min-height:34px;line-height:1.25;text-wrap:balance;border:0;border-radius:3px;background:none;
  font:400 15px/1.2 var(--oc-sans);color:var(--oc-soft);text-decoration:none;text-align:left;cursor:pointer;
  transition:color 160ms ease-out;
}
.oiyi-nav a:hover,.oiyi-nav .on-group:hover{color:var(--oc-ink)}
.oiyi-nav a[aria-current]{color:var(--oc-ink);font-weight:500}
.oiyi-nav a:focus-visible,.oiyi-nav .on-group:focus-visible{outline:2px solid var(--oc-ink);outline-offset:-2px}
.oiyi-nav .on-group svg{width:10px;height:10px;flex:none;color:var(--oc-edge);transition:transform 160ms var(--oc-ease)}
.oiyi-nav .on-group[aria-expanded="true"] svg{transform:rotate(90deg)}
.oiyi-nav .on-sub{display:flex;flex-direction:column;gap:2px}
.oiyi-nav .on-sub[hidden]{display:none}
.oiyi-nav .on-sub a{padding-left:26px}
.oiyi-nav .on-rule{display:block;height:1px;margin:10px 0;background:var(--oc-rule)}

/* ---- rail utilities (SIGN IN / CART / SEARCH / MAP / the address): the same pitch and size on every page ---- */
aside[data-rail]>div:last-child{font-size:12px!important;letter-spacing:0.10em!important}
aside[data-rail]>div:last-child>a{min-height:34px!important;padding:0!important;box-sizing:border-box;align-items:center}
aside[data-rail]>div:last-child>a[href^="mailto:"]{text-transform:lowercase;font-size:11px!important;letter-spacing:0!important;white-space:nowrap}
@media (max-width:640px){
  aside[data-rail] a[data-acct] span[aria-hidden]{display:none}
  aside[data-rail]>div:has(>a[href$="account.html"]){gap:20px!important}
  body[data-oiyi-menu-open] aside[data-rail]>div:last-child{visibility:hidden}
}

/* ---- footer: brand, three columns, the letters on the same tracks, the base line ---- */
.oiyi-foot{padding:88px clamp(24px,5vw,72px) 40px;font-family:var(--oc-sans);font-synthesis:none;color:var(--oc-ink)}
.wrap .oiyi-foot{padding-left:0!important;padding-right:0!important}   /* inside a padded page wrapper: the wrapper's edge is the edge */
.oiyi-foot *{box-sizing:border-box}
.oiyi-foot a{text-decoration:none;color:inherit}
.oiyi-foot .of-in{max-width:1180px;margin:0 auto;border-top:1px solid var(--oc-rule);padding-top:44px}
.oiyi-foot .of-top{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(130px,1fr));gap:36px 40px}
.oiyi-foot .of-mark{display:inline-flex;align-items:center;gap:14px;min-height:44px;color:var(--oc-ink)}
.oiyi-foot .of-mark img{width:auto;height:36px;display:block}
.oiyi-foot .of-mark span{font:500 12px/1 var(--oc-sans);letter-spacing:0.42em}
.oiyi-foot .of-line{margin:14px 0 0;max-width:34ch;font:400 15px/1.5 var(--oc-sans);color:var(--oc-soft);text-wrap:pretty}
.oiyi-foot .of-mail{display:inline-block;padding:6px 0;margin-top:6px;font:400 15px/1.3 var(--oc-sans);color:var(--oc-ink);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:0.22em;text-decoration-color:rgba(34,35,34,0.4);transition:color 160ms ease-out,text-decoration-color 160ms ease-out}
.oiyi-foot .of-col h2{margin:0 0 8px;font:400 12px/1.4 var(--oc-mono);letter-spacing:0.10em;color:var(--oc-soft);text-transform:uppercase}
.oiyi-foot .of-col a{display:flex;align-items:center;gap:6px;min-height:32px;font:400 15px/1.3 var(--oc-sans);color:var(--oc-soft);transition:color 160ms ease-out}
.oiyi-foot .of-col a[aria-current]{color:var(--oc-ink);font-weight:500}
.oiyi-foot .of-col a .ext{font-size:12px;color:var(--oc-edge)}
@media (hover:hover){
  .oiyi-foot .of-col a:hover{color:var(--oc-ink)}
  .oiyi-foot .of-mail:hover{color:var(--oc-accent);text-decoration-color:var(--oc-accent)}
}
/* the letters: on the column tracks, under OIYI (label) and across HELP + ELSEWHERE (field), no orphaned strip */
.oiyi-foot .of-news{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;column-gap:40px;row-gap:8px;align-items:start;margin:20px 0 0;padding:0;border:0;max-width:none}
.oiyi-foot .of-news label{grid-column:2;font:500 15px/1.3 var(--oc-sans);color:var(--oc-ink)}
.oiyi-foot .of-news .of-hint{grid-column:2;margin:0;font:400 15px/1.45 var(--oc-sans);color:var(--oc-soft);text-wrap:pretty}
.oiyi-foot .of-news .of-row{grid-column:3 / -1;grid-row:1 / span 2;display:flex;gap:8px;flex-wrap:wrap}
.oiyi-foot .of-news [data-nl-msg]{grid-column:2 / -1;margin:0;font:400 16px/1.45 var(--oc-sans);color:var(--oc-ink)}
.oiyi-foot .of-news input{flex:1 1 180px;min-width:0;height:48px;padding:0 14px;background:var(--oc-field);border:1px solid var(--oc-edge);border-radius:6px;font:400 16px/1.4 var(--oc-sans);color:var(--oc-ink)}
.oiyi-foot .of-news input::placeholder{color:var(--oc-mute)}
.oiyi-foot .of-news button{height:48px;padding:0 22px;border:1px solid var(--oc-ink);border-radius:6px;background:var(--oc-ink);color:var(--oc-paper);font:500 15px/1 var(--oc-sans);cursor:pointer}
.oiyi-foot .of-news button:hover{background:#000}
.oiyi-foot .of-news input:focus-visible,.oiyi-foot .of-news button:focus-visible{outline:2px solid var(--oc-ink);outline-offset:2px}
.oiyi-foot .of-base{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:56px;padding-top:22px;border-top:1px solid var(--oc-rule);font:400 12px/1.4 var(--oc-mono);letter-spacing:0.10em;color:var(--oc-soft);text-transform:uppercase}
.oiyi-foot .of-base button{all:unset;cursor:pointer;display:inline-flex;align-items:center;min-height:44px;font:inherit;letter-spacing:inherit;text-transform:inherit;color:var(--oc-soft);border-bottom:1px solid transparent;transition:color 160ms ease-out,border-color 160ms ease-out}
.oiyi-foot .of-base button:hover{color:var(--oc-ink);border-color:var(--oc-ink)}
.oiyi-foot .of-base button:focus-visible{outline:2px solid var(--oc-ink);outline-offset:2px}
@media (max-width:900px){
  .oiyi-foot .of-top{grid-template-columns:1fr 1fr;column-gap:24px}
  .oiyi-foot .of-brand{grid-column:1 / -1}
  .oiyi-foot .of-col:last-of-type{grid-column:1 / -1}
  .oiyi-foot .of-news{display:flex;flex-direction:column;gap:10px;max-width:560px;margin-top:28px}
}
@media (pointer:coarse){.oiyi-nav a,.oiyi-nav .on-group,.oiyi-foot .of-col a,.oiyi-foot .of-mail{min-height:44px}}
/* on the template pages the footer sits after <main data-main>, outside it: the same left margin as main */
main[data-main]+.oiyi-foot{margin-left:200px}
@media (max-width:920px){main[data-main]+.oiyi-foot{margin-left:170px}}
@media (max-width:640px){main[data-main]+.oiyi-foot{margin-left:0;padding-bottom:84px}}
@media (prefers-reduced-motion:reduce){.oiyi-nav *,.oiyi-foot *{transition:none!important}}

/* iPhone Safari zooms the whole page when a focused text field is under 16px: on phones every text field is 16px */
@media (max-width:640px){input[type=text],input[type=email],input[type=search],input[type=tel],input[type=password],input:not([type]),textarea{font-size:16px!important}}
