/* An ordered, print-minded layer for Mars Circus. */
:root {
  --paper: #f8f7f3;
  --white: #fcfbf7;
  --ink: #1c1b19;
  --muted: #56524e;
  --line: #aaa6a0;
  --soft: #efede7;
  --steel: #5b514b;
  --deep: #1c1b19;
}
body { background: var(--paper); color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { background: #d4cec3; }
.eyebrow, .folio-line, .section-marker, .content-type, .platform, .page-topline,
.page-bottomline, .kicker, .section-kicker, .video-index, .shop-no,
.cover-folio, .cover-art figcaption, .masthead-side, .footer-label, .footer-bottom {
  font-family: "Courier New", "Noto Sans CJK SC", "PingFang SC", monospace;
  letter-spacing: .035em;
}
.section-marker, .section-kicker, .page-topline, .page-bottomline { color: var(--muted); }
.section-marker { border-color: var(--ink); }
.signal-dot { background: var(--ink); }
.editorial-link, .text-actions a, .shop-action { border-color: var(--ink); }
.editorial-link:hover, .text-actions a:hover, .shop-action:hover { color: var(--ink); border-color: var(--ink); }
.button:hover { background: #4c4843; }

/* A masthead and ruled navigation, shared by every page. */
.site-header { position: relative; background: var(--paper); border: 0; backdrop-filter: none; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 105px;
  margin-top: 18px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  border-bottom: 0;
}
.masthead-side { font-size: 12px; line-height: 1.5; font-weight: 600; }
.masthead-side-right { text-align: right; }
.brand { justify-self: center; gap: 17px; }
.brand-orbit { position: relative; display: block; flex: none; width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; background: none; }
.brand-orbit:after { content: ""; display: block; position: absolute; top: 17px; left: -7px; width: 49px; height: 2px; background: var(--ink); transform: rotate(-25deg); }
.brand-orbit i { display: block; position: absolute; top: 12px; left: 13px; width: 8px; height: 8px; background: var(--ink); border-radius: 50%; }
.brand-text { align-items: center; gap: 4px; }
.brand-text b { font-size: clamp(28px, 2.8vw, 38px); font-weight: 750; line-height: 1.12; letter-spacing: .06em; }
.brand-text small { color: var(--ink); font: 700 12px/1.2 "Courier New", monospace; letter-spacing: .22em; }
.desktop-nav.wrap {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--ink);
  margin-bottom: 0;
  white-space: normal;
}
.desktop-nav a {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 10px 5px;
  border: 0;
  border-right: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 650;
  transition: background .2s;
}
.desktop-nav a:last-child { border-right: 0; }
.desktop-nav a:hover, .desktop-nav a[aria-current=page] { background: var(--soft); color: var(--ink); border-bottom: 0; }
.mobile-menu:not([hidden]) { top: 100%; background: var(--paper); border: 1px solid var(--ink); box-shadow: 5px 7px 0 #1c1b1920; }

/* Front page: one authored illustration, then a sequence of ruled editorial sections. */
.home-cover { padding-top: 24px; padding-bottom: 92px; }
.cover-folio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 11px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.cover-folio span:nth-child(2) { text-align: center; }
.cover-folio span:last-child { text-align: right; }
.cover-statement { display: grid; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); align-items: end; gap: 5%; padding: 50px 0 43px; }
.cover-statement .eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.cover-statement h1 { margin: 0; font-size: clamp(55px, 7vw, 106px); line-height: 1.11; letter-spacing: -.075em; font-weight: 700; }
.cover-intro { padding-bottom: 5px; }
.cover-intro > p { max-width: 540px; margin: 0; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.65; letter-spacing: -.02em; }
.cover-intro .text-actions { margin-top: 35px; }
.cover-art { margin: 0; border: 1px solid var(--ink); }
.cover-art-window { overflow: hidden; background: #d4d2ce; }
.cover-art img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.06); }
.cover-art figcaption { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); font-size: 12px; font-weight: 600; color: var(--muted); }
.cover-art figcaption span { padding: 10px 15px; }
.cover-art figcaption span + span { border-left: 1px solid var(--ink); text-align: right; }
.cover-art figcaption .mobile-art-hint { display: none; }

.community-feature { background: transparent; padding: 0 0 100px; }
.community-feature-grid { grid-template-columns: 1fr 1fr; gap: 7%; padding-top: 49px; }
.community-feature h2, .shop-editorial h2 { font-size: clamp(47px, 5vw, 74px); font-weight: 650; line-height: 1.2; }
.community-feature .eyebrow, .shop-editorial .eyebrow { color: var(--muted); }
.community-description > p { font-size: 18px; line-height: 1.78; }
.community-description li { border-color: var(--line); font-size: 14px; }
.community-description ul { margin-bottom: 25px; }
.home-current { padding-top: 0; padding-bottom: 100px; }
.section-heading { align-items: baseline; margin: 35px 0 28px; }
.section-heading h2 { font-weight: 650; }
.current-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.current-list { display: contents; border: 0; }
.current-feature, .current-list a {
  min-height: 290px;
  padding: 23px 26px 22px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .2s;
}
.current-feature { padding-left: 0; }
.current-list a:last-child { border-right: 0; }
.current-feature:hover, .current-list a:hover { background: var(--soft); padding-left: 26px; }
.current-feature .content-type, .current-feature .platform, .current-list span, .current-list small { color: var(--muted); }
.current-feature h3 { margin: 20px 0 10px; font-size: clamp(28px, 3vw, 42px); line-height: 1.25; font-weight: 600; }
.current-list h3 { margin: auto 0 12px; font-size: clamp(23px, 2.4vw, 33px); font-weight: 600; }
.current-feature p, .current-list p { color: var(--muted); font-size: 15px; }
.current-feature .platform, .current-list small { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }

.home-shop.wrap { width: min(calc(100% - 2*clamp(22px,5vw,72px)), var(--max)); max-width: var(--max); margin-inline: auto; padding: 0 0 100px; background: transparent; }
.shop-editorial { grid-template-columns: 43% 1fr; gap: 9%; align-items: center; padding-top: 42px; }
.shop-editorial-copy { padding: 0; }
.shop-editorial-copy > p:not(.eyebrow) { color: var(--muted); margin: 25px 0 30px; }
.shop-editorial img { height: 410px; object-position: center 75%; filter: grayscale(.8) contrast(1.03); border: 1px solid var(--ink); }
.shop-editorial figcaption { border-color: var(--ink); }
.home-w2i { background: var(--soft); padding: 76px 0 86px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.home-w2i-layout { grid-template-columns: 39% 1fr; gap: 10%; padding-top: 38px; }
.home-w2i-visual img { height: 390px; filter: grayscale(1) contrast(1.06); border: 1px solid var(--ink); }
.home-w2i-visual span { background: var(--paper); border: 1px solid var(--ink); border-left: 0; border-bottom: 0; }
.home-w2i-copy .eyebrow { color: var(--muted); }
.home-w2i-copy h2 { font-weight: 650; font-size: clamp(38px, 4vw, 57px); }
.home-w2i-copy > p:not(.eyebrow) { color: var(--muted); }
.home-branches { padding-top: 100px; padding-bottom: 95px; }
.branch-grid { border-color: var(--ink); }
.branch-grid a + a { border-color: var(--ink); }
.branch-grid a:hover, .branch-grid a + a:hover { background: var(--soft); }
.branch-grid span { color: var(--muted); font-family: "Courier New", "Noto Sans CJK SC", monospace; }
.branch-grid h2 { font-weight: 650; }
.branch-grid strong { border-color: var(--line); }
.home-note { border-color: var(--ink); }

/* The same paper and ink carry into the existing inner pages. */
.page-hero .kicker, .feature-grid article > span, .video-index, .video-card small,
.shop-no, .field-note span, .about-links span, .w2i-about .eyebrow { color: var(--muted); }
.hero-glyph { color: var(--muted); }
.page-hero p:not(.kicker), .section-intro p, .feature-grid p, .shop-stack p,
.about-story p, .w2i-about-copy p { color: var(--muted); }
.w2i-sheet { border: 1px solid var(--ink); box-shadow: 8px 9px 0 #1c1b1929; }
.w2i-carousel-controls button:hover { background: var(--soft); }
.site-footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  padding-top: 58px;
}
.footer-top p, .footer-label, .footer-bottom { color: var(--muted); }
.footer-logo { font-weight: 750; }
.footer-bottom { border-color: var(--ink); }
.site-footer a:hover { color: var(--muted); }

@media (max-width: 920px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 73px; margin-top: 0; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); }
  .masthead-side { display: none; }
  .brand { justify-self: start; gap: 10px; }
  .brand-orbit { width: 29px; height: 29px; }
  .brand-orbit:after { top: 12px; left: -5px; width: 37px; }
  .brand-orbit i { top: 8px; left: 9px; }
  .brand-text b { font-size: 20px; }
  .brand-text small { font-size: 9px; }
  .desktop-nav.wrap { display: none; }
  .menu-button { display: flex; grid-column: 2; grid-row: 1; width: 43px; height: 43px; border-color: var(--ink); }
  .mobile-menu:not([hidden]) { left: clamp(22px,5vw,72px); right: clamp(22px,5vw,72px); padding: 8px 18px 20px; }
  .mobile-menu a { border-color: var(--line); }
}
@media (max-width: 760px) {
  .home-cover { padding-top: 15px; padding-bottom: 66px; }
  .cover-folio { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
  .cover-folio span:nth-child(2) { display: none; }
  .cover-statement { display: block; padding: 34px 0 29px; }
  .cover-statement .eyebrow { margin-bottom: 17px; }
  .cover-statement h1 { font-size: clamp(54px, 12vw, 80px); }
  .cover-intro { margin-top: 25px; }
  .cover-intro > p { font-size: 17px; line-height: 1.7; }
  .cover-intro .text-actions { margin-top: 20px; gap: 25px; }
  .cover-art-window { overflow-x: auto; overscroll-behavior-x: contain; }
  .cover-art img { width: 780px; max-width: none; height: auto; }
  .cover-art figcaption { display: block; }
  .cover-art figcaption span + span { display: none; }
  .cover-art figcaption .mobile-art-hint { display: block; border-top: 1px solid var(--ink); border-left: 0; text-align: left; }
  .community-feature { padding-bottom: 70px; }
  .community-feature-grid { padding-top: 35px; }
  .community-feature h2, .shop-editorial h2 { font-size: clamp(44px, 10vw, 62px); }
  .community-description > p { font-size: 16px; }
  .home-current, .home-shop.wrap, .home-branches { padding-top: 0; padding-bottom: 75px; }
  .section-heading { display: block; margin: 32px 0 22px; }
  .section-heading .editorial-link { margin-top: 12px; }
  .current-layout { display: block; }
  .current-list { display: block; }
  .current-feature, .current-list a { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .current-feature h3 { font-size: 32px; margin: 22px 0 10px; }
  .current-list h3 { font-size: 25px; margin: 20px 0 10px; }
  .current-feature:hover, .current-list a:hover { padding-left: 0; }
  .current-list a:last-child { border-bottom: 0; }
  .shop-editorial { display: block; padding-top: 28px; }
  .shop-editorial img { height: auto; max-height: 490px; }
  .home-w2i { padding: 65px 0 72px; }
  .home-w2i-layout { display: block; padding-top: 30px; }
  .home-w2i-visual img { height: 330px; }
  .home-w2i-copy { margin-top: 34px; }
  .home-w2i-copy h2 { font-size: clamp(38px, 8vw, 55px); }
  .home-branches { padding-top: 75px; }
  .branch-grid a + a { border-color: var(--ink); }
  .site-footer { padding-top: 50px; }
}
