/* The site's chrome in the sheets' own look (2026-11-14; the founder: "Let's talk이랑 모바일 사이드메뉴도 감도 맞춰라
   너무 따로놀아"). The header's "Let's talk" and the phone menu were the template's (a white rounded pill; a black
   screen of large white words) while every page around them stands in the spec-sheet composition: paper, ink, one
   orange, mono labels, ruled rows. Linked in the head of every page but the deck's
   (scripts/lib/head-tags.mjs), so the first paint has it. Four headers carry the two: the template's (Nuxt pages:
   .layout-header, .mobile-menu), the generated pages' (.hd), the research desk's (.r-head) and ium Season's (.s-head).
   Sizes in px: the pages set different roots. */

/* ---------- "Let's talk": an orange chip, as the sheets' chips are ---------- */
/* The template header is blended with difference (header-bar.js), which turns orange blue on the paper, so there
   the chip is its own element (.ium-talk, header-bar.js) laid over the header's button, which keeps its place
   unseen. The other headers stand on black, unblended, and their buttons take the chip's look directly. */
.ium-talk,
.hd__pill,
.r-cta,
.s-cta {
  /* no display here: each header shows or hides its own button by width */
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ee5a1b !important;
  color: #16120e !important;
  font: 700 11px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  opacity: 1 !important;
  transition: background-color .25s ease, color .25s ease !important;
}
.ium-talk:hover,
.hd__pill:hover,
.r-cta:hover,
.s-cta:hover {
  background: #f1ede4 !important;
  color: #16120e !important;
}
.ium-talk:focus-visible,
.hd__pill:focus-visible,
.r-cta:focus-visible,
.s-cta:focus-visible {
  outline: 2px solid #ee5a1b;
  outline-offset: 3px;
}
.ium-talk {
  display: inline-flex;
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  visibility: hidden;
}
html.ium-talk-on .ium-talk { visibility: visible; }
html.ium-talk-on .layout-header .book a.cta { visibility: hidden !important; }
@media (max-width: 1023px) { .ium-talk { display: none !important; } }

/* ---------- Menu / Close: a square mono button ---------- */
html .cta-menu[data-v-62f3805e],
.hd__menu,
.r-menu-btn,
.s-menu-btn {
  border: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  font: 700 11px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
}
.r-menu-btn,
.s-menu-btn { padding: 12px 14px !important; }

/* ---------- the phone menu: a sheet of paper ---------- */
html .mobile-menu,
.hd__nav,
.r-menu,
.s-menu {
  --paper: #f1ede4;
  --ink: #16120e;
  --or: #ee5a1b;
  --hair: rgba(22, 18, 14, .075);
  --rule: rgba(22, 18, 14, .92);
  --mono: 700 11px/1.3 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (max-width: 1023px) {
  html .mobile-menu,
  .hd__nav,
  .r-menu,
  .s-menu {
    background-color: var(--paper) !important;
    background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    color: var(--ink) !important;
    counter-reset: ium-menu;
  }
  .hd__nav,
  .r-menu,
  .s-menu { position: fixed !important; }

  /* the pages as ruled rows: a mono number, the name; the page you are on in orange */
  html .mobile-menu .links-container { display: flex !important; flex-direction: column; border-top: 1px solid var(--rule); }
  html .mobile-menu .link-wrapper { border-bottom: 1px solid var(--rule); }
  html .mobile-menu .link-wrapper .link,
  .hd__nav > a:not([lang]):not([href$="project-records"]),
  .r-menu > a,
  .s-menu > a {
    counter-increment: ium-menu;
    display: flex !important;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0 11px !important;
    color: var(--ink) !important;
    font: 300 38px/1 SuisseIntl, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", Helvetica, Arial, sans-serif !important;
    letter-spacing: -.04em !important;
    text-decoration: none !important;
    opacity: 1 !important;
  }
  .hd__nav > a:not([lang]):not([href$="project-records"]),
  .r-menu > a,
  .s-menu > a { align-self: stretch !important; border-bottom: 1px solid var(--rule); }
  .hd__nav > a:not([lang]):not([href$="project-records"]):first-of-type,
  .r-menu > a:first-child,
  .s-menu > a:first-child { border-top: 1px solid var(--rule); }
  html .mobile-menu .link-wrapper .link::before,
  .hd__nav > a:not([lang]):not([href$="project-records"])::before,
  .r-menu > a::before,
  .s-menu > a::before {
    content: counter(ium-menu, decimal-leading-zero);
    flex: none;
    width: 28px;
    font: var(--mono);
    letter-spacing: .16em;
    color: rgba(22, 18, 14, .62);
    transform: translateY(-2px);
  }
  html .mobile-menu .link-wrapper .link[aria-current],
  .hd__nav > a[aria-current]:not([lang]):not([href$="project-records"]),
  .r-menu > a[aria-current][href],
  .s-menu > a[aria-current][href] { color: var(--or) !important; }
  html .mobile-menu .link-wrapper .link[aria-current]::before,
  .hd__nav > a[aria-current]:not([lang]):not([href$="project-records"])::before,
  .r-menu > a[aria-current][href]::before,
  .s-menu > a[aria-current][href]::before { color: var(--or); }
  /* focus: the menus move it to their first link as they open; a ring inside the chip and under the row, never
     cut by the menu's own sliding boxes */
  html .mobile-menu a:focus-visible,
  .hd__nav a:focus-visible,
  .is-menu .hd__pill:focus-visible,
  .r-menu a:focus-visible,
  .s-menu a:focus-visible { outline: none !important; box-shadow: inset 0 -3px 0 #ee5a1b; }
  html .mobile-menu .button-wrapper a.b-arrow:focus-visible,
  .is-menu .hd__pill:focus-visible { box-shadow: inset 0 0 0 2px #16120e; }
  /* the generated pages' smaller links (the other language, all project records) as mono lines */
  .hd__nav > a[lang],
  .hd__nav > a[href$="project-records"] {
    align-self: flex-start;
    margin-top: 14px !important;
    font: var(--mono) !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    color: var(--ink) !important;
  }
  .hd__nav > a[lang] + a[lang],
  .hd__nav > a[href$="project-records"] + a { margin-top: 6px !important; }

  /* "Let's talk" in the menu: the same orange chip */
  html .mobile-menu .button-wrapper a.b-arrow,
  .is-menu .hd__pill {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px !important;
    border-radius: 0 !important;
    background: #ee5a1b !important;
    color: #16120e !important;
    font: 700 12px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
  }
  html .mobile-menu .button-wrapper a.b-arrow .icon-b { display: none !important; }
  html .mobile-menu .button-wrapper a.b-arrow .content,
  html .mobile-menu .button-wrapper a.b-arrow .icon-a { color: var(--ink) !important; opacity: 1 !important; transform: none !important; }
  html .mobile-menu .button-wrapper { margin-bottom: 22px; }

  /* the channels as mono lines over the stripe */
  html .mobile-menu .networks-container { margin-bottom: 26px; }
  html .mobile-menu .network-link {
    font: var(--mono) !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    color: var(--ink) !important;
  }
  html .mobile-menu .network-link::after { content: " \2197"; }

  /* the generated header on the paper: its mark and button turn ink */
  .is-menu .hd { color: var(--ink, #16120e); }
  .is-menu .hd__logo svg path { fill: #16120e !important; }
  .is-menu .hd__menu { color: #16120e !important; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  html .mobile-menu::after, .hd__nav::after, .r-menu::after, .s-menu::after { animation: none; }
}

/* ---------- no play sign on a film, ever (the founder, 11-14: "재생버튼은 절대 들어가면 안된다") ----------
   A phone that will not start a muted film by itself (iOS in Low Power Mode, a data saver) draws its own play sign
   over it; the films start on their own or on the first touch instead. Films with controls keep them. */
video:not([controls])::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video:not([controls])::-webkit-media-controls-overlay-play-button { display: none !important; }
video:not([controls])::-webkit-media-controls { display: none !important; }
